
:root {
  --mat: #1f7a6b;
  --mat-dark: #13574c;
  --mat-deep: #0c3a33;
  --gi: #f4f1ea;
  --gi-shade: #e6e0d3;
  --ink: #161a19;
  --ink-soft: #3d4542;
  --night: #0f1312;
  --night-2: #171d1b;
  --belt-white: #f7f6f0;
  --belt-blue: #1f4fa3;
  --belt-purple: #5b2a86;
  --belt-brown: #6b4226;
  --belt-black: #121212;
  --belt-red: #b3202a;
  --belt-pink: #e48aae;
  --gold: #f2c230;
  --hh: 72px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--gi);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

main, .site-footer { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--ink);
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); font-weight: 700;
  padding: .6em 1em; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }

.gi {
  background-color: var(--gi);
  background-image:
    repeating-linear-gradient(0deg, rgba(60, 50, 30, .045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(60, 50, 30, .04) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .5) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .018) 0 2px, transparent 2px 7px);
}
.tatami {
  background-color: var(--mat);
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px),
    linear-gradient(0deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px);
  background-size: auto, 50% 100%, 100% 50%;
}
.stitched {
  position: relative;
  outline: 2px dashed rgba(22, 26, 25, .28);
  outline-offset: -9px;
}

.beltbar {
  --c: var(--belt-white);
  position: relative;
  height: 20px;
  width: 100%;
  max-width: 340px;
  background-color: var(--c);
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .16) 3px 4px);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), 0 2px 0 rgba(0, 0, 0, .15);
}
.beltbar__rank {
  position: absolute; top: 0; bottom: 0; right: 10%;
  width: 26%;
  background: var(--belt-black);
  display: flex; gap: 5px; justify-content: flex-end; align-items: stretch;
  padding: 0 6px;
}
.beltbar__rank i { display: block; width: 5px; background: #fff; }
.beltbar--white { --c: var(--belt-white); }
.beltbar--blue { --c: var(--belt-blue); }
.beltbar--purple { --c: var(--belt-purple); }
.beltbar--brown { --c: var(--belt-brown); }
.beltbar--pink { --c: var(--belt-pink); }
.beltbar--black { --c: var(--belt-black); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 2px 0 rgba(0, 0, 0, .2); }
.beltbar--black .beltbar__rank { background: var(--belt-red); }
.beltbar--coral {
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .16) 3px 4px),
    repeating-linear-gradient(90deg, var(--belt-red) 0 34px, var(--belt-black) 34px 68px);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7em 1.4em;
  font-family: var(--display); font-weight: 500; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  border: 2px solid transparent; border-radius: 2px;
  transition: background-color .2s ease;
}

.btn:hover { transform: translateY(-2px); transition: transform .2s ease, background-color .2s ease; }
.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: #ffd44d; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--ghost-light { color: #fff; border-color: #fff; }
.btn--small { min-height: 40px; padding: .4em 1em; font-size: .95rem; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 8px 16px;
  color: var(--ink);
  border-bottom: 2px dashed rgba(22, 26, 25, .25);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  box-sizing: border-box; max-width: 100vw; overflow: hidden;
}
.site-header__logo img { height: 52px; width: auto; }
.site-nav { flex: 1; min-width: 0; max-width: 100%; }
.site-nav ul { max-width: 100%; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; justify-content: center;
  overflow-x: auto; scrollbar-width: none;
}
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav a {
  display: block; padding: .5em .75em; white-space: nowrap;
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; font-size: .92rem; text-decoration: none;
  color: var(--ink);
}
.site-nav a:hover { color: var(--mat-dark); }
.site-header__cta { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.site-header__cta:hover { background: #ffd44d; }

html.is-locked, html.is-locked body { overflow: hidden; }

.site-header__icon {
  display: none; place-items: center;
  width: 44px; height: 44px; padding: 0; flex: none;
  color: var(--ink); background: transparent; border: 2px solid rgba(22, 26, 25, .3); border-radius: 2px;
  cursor: pointer; text-decoration: none;
}
.burger { position: relative; width: 22px; height: 16px; display: block; }
.burger i {
  position: absolute; left: 0; right: 0; height: 3px; background: currentColor; border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6.5px; }
.burger i:nth-child(3) { top: 13px; }
.site-header.is-open .burger i:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
.site-header.is-open .burger i:nth-child(2) { opacity: 0; }
.site-header.is-open .burger i:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }
.site-nav__extra { display: none; }

@media (max-width: 900px) {
  :root { --hh: 64px; }
  .site-header { padding: 8px 12px; gap: 8px; overflow: visible; }
  .site-header__logo { margin-right: auto; }
  .site-header__logo img { height: 44px; }
  .site-header__icon { display: grid; }
  .site-header__cta { min-height: 44px; padding: .3em .8em; font-size: .9rem; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--hh); bottom: 0; z-index: 49;
    max-width: none; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--gi); border-top: 2px dashed rgba(22, 26, 25, .25);
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .site-nav ul { display: block; overflow: visible; }
  .site-nav li { border-bottom: 1px solid rgba(22, 26, 25, .12); }
  .site-nav a { padding: 16px 4px; font-size: 1.35rem; letter-spacing: .06em; }
  .site-nav__extra { display: grid; gap: 10px; margin-top: 20px; }
  .site-nav .site-nav__extra a.btn { display: flex; justify-content: center; width: 100%; padding: .7em 1em; font-size: 1.05rem; letter-spacing: .06em; }
  .site-nav__extra address { font-style: normal; text-align: center; color: var(--ink-soft); margin-top: 6px; }
}
@media (max-width: 380px) {
  .site-header__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav, .burger i { transition: none !important; }
}
.btn--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--outline:hover { background: rgba(22, 26, 25, .06); }

.belt-meter {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 250px;
  padding: 10px 14px 12px;
  background: var(--gi);
  color: var(--ink);
  border-radius: 3px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
  outline: 2px dashed rgba(22, 26, 25, .3); outline-offset: -5px;
  pointer-events: none;
}
.belt-meter__label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
  font-size: .82rem; margin-bottom: 6px;
}
.belt-meter__name { font-weight: 700; font-size: .95rem; }
.belt-meter__belt {
  position: relative; height: 22px; overflow: hidden;
  background-color: var(--belt-white);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3);
}
.belt-meter__belt::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .18) 3px 4px);
}
.belt-meter__dye {
  position: absolute; inset: 0; z-index: 1;
  background: var(--dye);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s ease;
}
.belt-meter__dye.is-on { transform: scaleX(1); }
.belt-meter__rank {
  position: absolute; z-index: 4; top: 0; bottom: 0; right: 12%;
  width: 30%;
  background: var(--belt-black);
  display: flex; gap: 6px; justify-content: flex-end; padding: 0 7px;
  transition: background-color .4s ease;
}
.belt-meter.is-black .belt-meter__rank { background: var(--belt-red); }
.belt-meter__rank i {
  width: 5px; background: #fff;
  transform: scaleY(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.belt-meter__rank i.on { transform: scaleY(1); }
@media (max-width: 760px) {

  .belt-meter { top: var(--hh); bottom: auto; left: 0; right: 0; width: auto; padding: 0; border-radius: 0; outline: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); background: transparent; }
  .belt-meter__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .belt-meter__belt { height: 8px; border-radius: 0; }
  .belt-meter__rank { gap: 3px; padding: 0 4px; }
  .belt-meter__rank i { width: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .belt-meter__dye, .belt-meter__rank i, .btn { transition: none; }
}

.chapter { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.chapter--cont { padding-top: 0; }
.chapter-tag {
  display: inline-flex; gap: .6em; align-items: center;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .16em;
  font-size: .9rem; font-weight: 500; margin-bottom: 14px;
}
.chapter-tag span { padding: .15em .55em; background: var(--ink); color: #fff; }
.chapter-head { margin-bottom: clamp(36px, 6vw, 72px); max-width: 820px; }
.chapter-head__belt { margin-bottom: 22px; transform-origin: left center; }
.display {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  text-transform: uppercase; letter-spacing: -.005em;
}
.display--md { font-size: clamp(2.1rem, 6vw, 3.8rem); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 62ch; }
.chapter-head--light, .chapter-head--light .lead { color: #fff; }
.chapter-head--light .chapter-tag span { background: #fff; color: var(--ink); }

.hero {
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--hh) + 48px) 0 clamp(120px, 16vh, 170px);
  color: #fff;
  background: var(--mat-deep);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .45;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12, 58, 51, .55) 0%, rgba(10, 30, 27, .9) 75%, var(--night) 100%);
}
.hero__inner { position: relative; z-index: 2; width: min(1180px, 100% - 32px); margin-inline: auto; }
.hero .chapter-tag span { background: #fff; color: var(--ink); }
.hero__title {
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); text-transform: uppercase; letter-spacing: .2em;
  font-weight: 500; margin-bottom: 18px;
}
.hero__title span { color: var(--gold); }
.hero__belt { max-width: 420px; margin-bottom: 28px; transform-origin: left center; }
.hero__quote { margin: 0 0 32px; }
.hero__quote blockquote { margin: 0; }
.hero__quote p {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.1rem, min(6vw, 8.5vh), 4.8rem); line-height: 1.02; margin: 0 0 .25em;
  max-width: 17ch;
}
.hero__quote figcaption { font-size: 1.15rem; font-style: italic; color: #d9e6e2; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.w__i { display: inline-block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero__video a { color: #fff; font-weight: 600; text-underline-offset: 4px; }

.chapter--blue .chapter-tag span { background: var(--belt-blue); }
.pillars {
  list-style: none; margin: 0 0 clamp(48px, 7vw, 88px); padding: 0;
  display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.pillar { background: #fff; padding: 36px 30px 28px; box-shadow: 0 1px 0 var(--gi-shade), 0 12px 30px rgba(0, 0, 0, .06); border-top: 8px solid var(--belt-blue); }
.pillar__num { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--belt-blue); display: block; margin-bottom: 8px; }
.pillar h3 { font-size: 1.7rem; text-transform: uppercase; }
details summary { cursor: pointer; font-weight: 700; }
.pillar details summary, .coach details summary { color: var(--mat-dark); text-decoration: underline; text-underline-offset: 3px; }
.pillar details p { margin-top: .75em; }
.mat-strip { display: grid; gap: 16px; grid-template-columns: 1.4fr 1fr 1fr; }
.mat-strip figure { margin: 0; overflow: hidden; border: 6px solid #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.mat-strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 700px) { .mat-strip { grid-template-columns: 1fr 1fr; } .mat-strip figure:first-child { grid-column: 1 / -1; } }

.chapter--purple { color: #fff; padding-bottom: clamp(72px, 10vw, 120px); }
.chapter--purple .chapter-tag span { background: var(--belt-purple); color: #fff; }
.chapter--purple .chapter-head { margin-bottom: 40px; }
.programs__inner { display: grid; gap: 28px; grid-template-columns: 260px 1fr; align-items: start; }
.programs__nav ol { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.programs__nav li { counter-increment: p; }
.programs__nav a {
  display: block; padding: 12px 12px 12px 54px; position: relative;
  text-decoration: none; font-family: var(--display); font-weight: 500;
  text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; color: #fff;
  border-left: 4px solid rgba(255, 255, 255, .25);
  transition: background-color .25s, border-color .25s;
}
.programs__nav a::before {
  content: counter(p, decimal-leading-zero); position: absolute; left: 14px; top: 12px;
  color: rgba(255, 255, 255, .75);
}
.programs__nav small { display: block; font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: .9rem; color: #dbe9e5; }
.programs__nav a:hover, .programs__nav a.is-active { background: rgba(0, 0, 0, .25); border-left-color: var(--gold); }
.programs__progress { display: none; height: 14px; margin-top: 18px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.programs__progress span { display: block; height: 100%; background: var(--belt-purple); transform-origin: left; transform: scaleX(0);
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .2) 3px 4px); }
.programs__stage { display: grid; gap: 24px; }
.program {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  background: var(--night-2); color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  outline: 2px dashed rgba(255, 255, 255, .22); outline-offset: -9px;
  overflow: hidden;
}
.program__img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.program__body { padding: 32px 32px 34px; }
.program__kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--gold); margin-bottom: 8px; }
.program h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; }
.badge { display: inline-block; padding: .1em .5em; margin-right: .4em; background: var(--gold); color: var(--ink); letter-spacing: .08em; }
.chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .3em .7em; background: var(--mat-dark); border-left: 4px solid var(--gold); font-size: .95rem; }
.pink-award { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 12px 14px; background: rgba(228, 138, 174, .14); flex-wrap: wrap; }
.pink-award .beltbar { max-width: 140px; flex: 0 0 140px; }
.pink-award p { margin: 0; flex: 1 1 160px; }
@media (max-width: 899px) {
  .programs__inner { grid-template-columns: 1fr; }
  .programs__nav { display: none; }
  .program { grid-template-columns: 1fr; }
  .program__img { min-height: 0; aspect-ratio: 16 / 10; }
  .program__body { padding: 24px 22px 28px; }
}

.programs.is-stepping .programs__inner { height: calc(100vh - var(--hh)); align-items: center; padding-block: 24px; }
.programs.is-stepping .programs__progress { display: block; }
.programs.is-stepping .programs__stage { grid-template-areas: "stack"; height: 100%; max-height: 640px; }
.programs.is-stepping .program { grid-area: stack; height: 100%; }
.programs.is-stepping .program__body { overflow: auto; }

.chapter--brown .chapter-tag span { background: var(--belt-brown); }
.lineage { display: grid; gap: 40px; grid-template-columns: minmax(280px, 400px) 1fr; align-items: start; }
.lineage__tree { position: sticky; top: calc(var(--hh) + 24px); }
.lineage__tree svg { width: 100%; height: auto; max-height: calc(100vh - var(--hh) - 48px); overflow: visible; }
.t-name { font-family: var(--display); font-weight: 700; font-size: 21px; fill: var(--ink); text-transform: uppercase; }
.t-rank { font-family: var(--body); font-size: 16px; fill: var(--ink-soft); }
.coaches { display: grid; gap: 22px; }
.coach { display: grid; grid-template-columns: 150px 1fr; gap: 22px; background: #fff; padding: 22px; box-shadow: 0 10px 26px rgba(0, 0, 0, .07); }
.coach img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.coach__role { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--mat-dark); margin-bottom: 4px; }
.coach h3 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 10px; }
.coach .beltbar { max-width: 260px; margin-bottom: 10px; }
.coach__rank { font-weight: 700; margin-bottom: .6em; }
.coach details ul { margin: .6em 0 0; padding-left: 1.2em; }
@media (max-width: 899px) {
  .lineage { grid-template-columns: 1fr; }
  .lineage__tree { position: static; max-width: 420px; }
  .lineage__tree svg { max-height: none; }
}
@media (max-width: 560px) {
  .coach { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .coach h3 { font-size: 1.45rem; }
}

.chapter--black { background: var(--night); color: #eef1ef; }
.chapter--black#schedule { padding-bottom: clamp(56px, 8vw, 96px); }
.chapter--black .chapter-tag span { background: var(--belt-black); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.timetable {
  display: grid; gap: 4px; padding: 4px;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  border: 10px solid #222a27;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  background-size: auto, 20% 100%, 100% 50%;
}
.mat-day { padding: 16px 12px 20px; background: rgba(0, 0, 0, .12); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.mat-day h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; border-bottom: 2px dashed rgba(255, 255, 255, .45); padding-bottom: 8px; margin-bottom: 12px; }
.mat-day ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mat-tile { background: var(--gi); color: var(--ink); padding: 10px 12px 12px; font-weight: 700; line-height: 1.25; border-left: 8px solid var(--belt-white); box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.mat-tile small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.mat-tile__time { display: block; font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: var(--mat-dark); letter-spacing: .02em; }
.mat-tile--adults { border-left-color: var(--belt-black); }
.mat-tile--kids { border-left-color: var(--gold); }
.mat-tile--women { border-left-color: var(--belt-pink); }
.timetable__note { margin-top: 18px; color: #cfd8d4; }
@media (max-width: 420px) { .timetable { border-width: 6px; } }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--night-2); border-left: 6px solid var(--belt-red); outline: 1px dashed rgba(255, 255, 255, .2); outline-offset: -6px; }
.faq summary { padding: 18px 20px; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: #d4dcd8; }
#faq { padding-bottom: clamp(64px, 9vw, 110px); }

.contact { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
.contact__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; font-size: 1.15rem; }
.contact__list li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; }
.contact__list span { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-size: .95rem; padding-top: .15em; }
.contact__list a { color: #fff; font-weight: 700; }
.contact__list address { font-style: normal; }
.membership { background: var(--night-2); padding: 22px 24px; margin-bottom: 24px; outline-color: rgba(255, 255, 255, .25); }
.membership h3 { font-size: 1.3rem; text-transform: uppercase; color: #fff; }
.membership p { margin: 0; color: #d4dcd8; }
.contact__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid var(--gi); }
.contact__formwrap { background: var(--gi); color: var(--ink); padding: clamp(24px, 4vw, 40px); }
.contact__formwrap h3 { font-size: 2rem; text-transform: uppercase; }
.contact__form { display: grid; gap: 14px; position: relative; }
.contact__form label { display: grid; gap: 4px; font-weight: 700; }
.contact__form input, .contact__form textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink);
  padding: .65em .75em; background: #fff;
  border: 2px solid #8a948f; border-radius: 2px;
}
.contact__form input:focus-visible, .contact__form textarea:focus-visible { border-color: var(--mat); }
.contact__form button {
  justify-self: start; min-height: 50px; padding: .7em 84px .7em 1.6em; cursor: pointer;
  font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em;
  background: var(--belt-black); color: #fff; border: 0; border-radius: 2px;
  box-shadow: inset -60px 0 0 var(--belt-red);
}
.contact__form button:hover { background: #2a2a2a; }
.contact__msg { padding: 12px 14px; background: #fff7d6; border-left: 6px solid var(--gold); font-weight: 600; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }

.site-footer { background: #000; color: #c9d1cd; padding: 48px 0 120px; font-size: .95rem; }
.site-footer__belt { max-width: none; margin-bottom: 28px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .4em; }

.gallery-chapter { padding-bottom: clamp(72px, 10vw, 140px); }
.gallery {
  list-style: none; margin: 0; padding: 0;
  columns: 4 220px; column-gap: 14px;
}
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.gallery a, .mat-strip a { display: block; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery a { border: 5px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .1); }
.gallery img { width: 100%; height: auto; transition: transform .4s ease; }
.gallery a:hover img, .mat-strip a:hover img { transform: scale(1.04); }
.mat-strip a { height: 100%; }
.mat-strip img { transition: transform .4s ease; }
@media (max-width: 560px) { .gallery { columns: 2; column-gap: 10px; } .gallery li { margin-bottom: 10px; } .gallery a { border-width: 3px; } }

.lightbox, .video-modal {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(8, 10, 10, .94); color: #fff;
  overflow: hidden;
}
.lightbox[open], .video-modal[open] { display: grid; place-items: center; }
.lightbox::backdrop, .video-modal::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 56px 72px 72px; max-width: 100%; max-height: 100%; }
.lightbox__img {
  max-width: min(1400px, calc(100vw - 144px)); max-height: calc(100dvh - 150px);
  width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .25s ease; user-select: none; -webkit-user-drag: none;
}
.lightbox__img.is-ready { opacity: 1; }
.lightbox__cap { text-align: center; color: #d4dcd8; max-width: 70ch; font-size: 1rem; }
.lightbox__count { position: absolute; top: 18px; left: 20px; margin: 0; font-family: var(--display); letter-spacing: .12em; color: #d4dcd8; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; padding: 0; cursor: pointer;
  font: 400 2.2rem/1 var(--display); color: #fff;
  background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .35); border-radius: 2px;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 10px; right: 12px; font-size: 2rem; }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next, .lightbox.is-single .lightbox__count { display: none; }
@media (max-width: 700px) {
  .lightbox__figure { padding: 60px 8px 96px; }
  .lightbox__img { max-width: calc(100vw - 16px); max-height: calc(100dvh - 190px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}
.video-modal__frame { width: min(1200px, calc(100vw - 32px), calc((100dvh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.hero__video a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.hero__play {
  display: grid; place-items: center; width: 46px; height: 46px; padding-left: 3px;
  border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 1rem;
  box-shadow: 0 0 0 0 rgba(242, 194, 48, .6); animation: playpulse 2.4s ease-out infinite;
}
.hero__video a:hover .hero__play { background: #ffd44d; }
@keyframes playpulse { 0% { box-shadow: 0 0 0 0 rgba(242, 194, 48, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(242, 194, 48, 0); } }
@media (prefers-reduced-motion: reduce) { .hero__play { animation: none; } .lightbox__img, .gallery img, .mat-strip img { transition: none; } }

.contact__area { color: #d4dcd8; margin-bottom: 20px; }
.map-facade { margin-bottom: 24px; aspect-ratio: 16 / 9; border: 6px solid var(--gi); background: var(--mat-deep); }
.map-facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-facade__btn {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px;
  cursor: pointer; border: 0; color: #fff; font: 700 1.2rem var(--display); text-transform: uppercase; letter-spacing: .1em;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 28px),
    var(--mat-deep);
}
.map-facade__btn small { font: 400 .85rem var(--body); text-transform: none; letter-spacing: 0; color: #c9d1cd; }
.map-facade__pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--belt-red); box-shadow: inset 0 0 0 7px var(--belt-red), inset 0 0 0 13px #fff; margin-bottom: 6px; }
.map-facade__btn:hover { background-color: var(--mat-dark); }

.site-footer__nap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px dashed rgba(255, 255, 255, .2); }
.site-footer__nap p { margin: 0; line-height: 1.7; }
.site-footer__nap nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: flex-start; }
.site-footer__nap nav a { text-decoration: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; }

.contact__msg.is-error { background: #fde8e8; border-left-color: var(--belt-red); }
.contact__form button[disabled] { opacity: .7; cursor: wait; }
