/* ============================================================
   RIKO BJJ — style.css
   Palette:  Cream #EDE6D6 · Black #0B0B0B · Gold #CBA86A
   Fonts:    Cinzel (display) · Inter (body)
   Sections: 1–8 (the 8 spikes of the sea-urchin star)
   ============================================================ */


/* ----------------------------------------------------------------
   1. RESET & TOKENS
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #EDE6D6;
  --black:       #0B0B0B;
  --gold:        #CBA86A;
  --gold-dim:    rgba(203, 168, 106, 0.12);
  --gold-line:   rgba(203, 168, 106, 0.22);   /* section dividers */

  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w:        1120px;
  --pad-x:        clamp(1.25rem, 5vw, 2.75rem);
  --nav-h:        64px;
  --section-pad:  clamp(3.75rem, 7.5vw, 6.25rem);

  --text:  #1a1917;   /* solid dark on cream */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }


/* ----------------------------------------------------------------
   2. UTILITIES
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* Gold eyebrow kicker */
.label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.label--gold { color: var(--gold); }
.label--pale { color: rgba(237, 230, 214, 0.5); }
.label--named {
  text-transform: none;
  letter-spacing: 0.1em;
}

.kicker-kanji {
  font-family: var(--font-display);
  letter-spacing: 0;
  display: inline;
}

/* Section title */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.045em;
  color: var(--black);
}
.section-title--light { color: var(--cream); }

.section-header        { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-header--light { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Dark sections — no phantom border that bleeds body cream background */
.section--dark {
  background: var(--black);
  color: var(--cream);
  border-top: none !important;
}
.section--dark .section-title { color: var(--cream); }
.section--dark .label         { color: var(--gold); }


/* ----------------------------------------------------------------
   3. BUTTONS
   ---------------------------------------------------------------- */
/* One button everywhere: transparent fill, thin gold outline, gold text.
   Hover fills gold with black text. Variant classes (--gold/--dark/
   --outline-dark/--book) stay in the markup but carry no unique styling. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 2.1rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s,
              box-shadow 0.22s, transform 0.18s;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* Nav "Book your trial" button — compact on phones so it doesn't dominate the header row.
   Sized in px/vw (not rem) so it stays small even if the user's root font size is scaled up. */
@media (max-width: 639px) {
  .btn--book {
    height: 30px;
    padding: 0 10px;
    font-size: clamp(9px, 2.6vw, 10.5px);
    letter-spacing: 0.04em;
    /* explicit shrink-to-fit — no stretching to fill the nav row */
    width: fit-content;
    flex-grow: 0;
    flex-shrink: 0;
  }
}


/* ----------------------------------------------------------------
   4. NAVIGATION — wordmark + book button only
   ---------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  background: rgba(237, 230, 214, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 11, 11, 0.07);
  transition: box-shadow 0.3s, background 0.3s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  transition: height 0.3s ease;
}

.nav--scrolled .nav__inner { height: 50px; }
.nav--scrolled { background: rgba(237, 230, 214, 0.97); }

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* RIKO in nav — light weight, wide tracking */
.nav__wordmark {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.45em;
  color: var(--black);
  text-transform: uppercase;
  display: block;
  line-height: 1;
  transition: color 0.2s;
}
.nav__wordmark:hover { color: var(--gold); }

/* RIKO in footer */
.footer__riko {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.45em;
  color: rgba(237, 230, 214, 0.7);
  text-transform: uppercase;
  display: block;
  line-height: 1;
  margin-bottom: 0.875rem;
}


/* ----------------------------------------------------------------
   5. HERO  (stays centered — top padding tightened to near-touch header)
   ---------------------------------------------------------------- */
.hero {
  padding-top: var(--nav-h);
  background: var(--cream);
}

/* Hero text is one tight cluster, vertically centered in the first viewport */
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 0 var(--pad-x) clamp(0.75rem, 2vw, 1.25rem);
  max-width: var(--max-w);
  margin-inline: auto;
}

/* Sea-urchin star — transparent PNG, element ~180–240px */
.hero__star { margin-bottom: 0.15rem; }
.hero__star-img {
  width: clamp(280px, 50vw, 560px);
  height: clamp(280px, 50vw, 560px);
  object-fit: contain;
  margin-inline: auto;
  animation: starPulse 7s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% {
    opacity: 0.85;
    filter: drop-shadow(0 0 0px transparent);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(203, 168, 106, 0.5));
  }
}

.hero__kanji {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.4vw, 1.05rem);
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-right: -0.2em;   /* cancels the trailing letter-spacing gap so the glyphs — not the box — sit on the centered axis */
  margin-bottom: 0.6rem;
}

/* Thin gold rule — sits close under the kanji, closes the gap to the location line */
.hero__divider {
  width: 90px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 0 auto clamp(1rem, 2vw, 1.5rem);
}

.hero__location {
  font-family: var(--font-display);
  font-size: clamp(0.5rem, 0.8vw, 0.56rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: clamp(1.1rem, 2.2vw, 1.5rem);
}

/* Headline — one font, one weight, two sizes only */
.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--black);
  max-width: 900px;
  margin-bottom: 1.25rem;
}

.hero__hl-large {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .hero__hl-large { white-space: normal; }
}

.hero__hl-small {
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  line-height: 1.3;
  letter-spacing: 0.035em;
}

.hero__subline {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 400;
  color: var(--black);
  max-width: 400px;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

.hero__image-wrap {
  width: 100%;
  background: #1c1a17;
  line-height: 0;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 160px;
}


/* ----------------------------------------------------------------
   6. 1 · THE PROMISE
   Gold divider — first major section after hero.
   ---------------------------------------------------------------- */
.promise {
  padding: clamp(4rem, 9.5vw, 7.5rem) var(--pad-x);
  border-top: 1px solid var(--gold-line);   /* gold — first major break */
}

.promise__inner {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.promise__statement {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.02em;
  color: var(--black);
}


/* ----------------------------------------------------------------
   7. 2 · THE CLASSES  (dark section — horizontal list rows)
   Hover = gold outline ring, no color changes.
   ---------------------------------------------------------------- */
.classes {
  padding: var(--section-pad) var(--pad-x);
}

.classes__list {
  border-top: 1px solid rgba(237, 230, 214, 0.1);
}

/* Row: icon | info(name+foot) | description | tag — tag has its own column */
.class-row {
  display: grid;
  position: relative;
  grid-template-columns: 80px 220px 1fr auto;
  align-items: start;
  gap: 0 1.75rem;
  padding: 1.75rem 1rem 1.75rem 0;
  border-bottom: 1px solid rgba(237, 230, 214, 0.08);
  transition: box-shadow 0.2s;
  overflow-wrap: anywhere;   /* safety net: a long unbreakable word can't push text past the padding under extreme font scaling */
}
.class-row:hover {
  box-shadow: inset 0 0 0 1px rgba(203, 168, 106, 0.35);
}

.class-row__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Info column: title + foot only (tag moved to right column) */
.class-row__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.class-row__title {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
  line-height: 1.2;
}

.class-row__foot {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(203, 168, 106, 0.65);
}

.class-row__desc {
  font-size: 0.84rem;
  color: rgba(237, 230, 214, 0.82);
  line-height: 1.72;
}

/* Status tag — its own grid column, right-aligned, top-aligned with the title */
.class-row__tag {
  grid-column: 4;
  justify-self: end;
  text-align: right;
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* Mobile: 2-col, desc spans below, tag hidden */
@media (max-width: 639px) {
  .class-row {
    /* minmax(0, 1fr), not plain 1fr — otherwise a long unbreakable word
       (e.g. "Fundamentals") sets the track's auto-minimum to its min-content
       width, blowing the grid past the row's padding box instead of wrapping */
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.5rem 1rem;
    /* 20px flat (not rem) — guarantees the minimum gutter regardless of
       root font-size; 1rem was landing at 16px, under the 20px floor */
    padding: 1.4rem 20px;
  }
  .class-row__desc {
    grid-column: 1 / -1;
  }
  .class-row__tag { display: none; }
}

/* Mid: 4-col, tag keeps its own gutter */
@media (min-width: 640px) and (max-width: 1099px) {
  .class-row {
    grid-template-columns: 72px 200px 1fr auto;
    gap: 0 1.75rem;
  }
}


/* ----------------------------------------------------------------
   8. 3 · HOW A CLASS WORKS  (vertical list rows)
   Hover = dark outline ring (gold already does work in the numbers).
   ---------------------------------------------------------------- */
.how {
  padding: var(--section-pad) var(--pad-x);
  border-top: 1px solid rgba(11, 11, 11, 0.07);
}

.how__list {
  border-top: 1px solid rgba(11, 11, 11, 0.07);
}

.how__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 3rem;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(11, 11, 11, 0.07);
  transition: box-shadow 0.2s;
  overflow-wrap: anywhere;   /* safety net: a long unbreakable word can't push text past the padding under extreme font scaling */
}
.how__row:hover {
  box-shadow: inset 0 0 0 1px rgba(11, 11, 11, 0.18);
}

.how__row-head {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;   /* tighter — number reads as paired with its label */
  padding-top: 0.15rem;
}

.how__num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  flex-shrink: 0;
}

.how__row-title {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
  line-height: 1.25;
}

/* Full contrast — no grey */
.how__step-desc {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.78;
  align-self: center;
}

@media (max-width: 639px) {
  .how__row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    /* 20px flat (not rem) — guarantees the minimum gutter regardless of
       root font-size; 1rem was landing at 16px, under the 20px floor */
    padding: 1.25rem 20px;
  }
}


/* ----------------------------------------------------------------
   9. 4 · WEEKLY SCHEDULE  (black section)
   ---------------------------------------------------------------- */
.schedule {
  background: var(--black);
  color: var(--cream);
  padding: var(--section-pad) var(--pad-x);
}

.schedule__image-wrap {
  margin-block: clamp(2rem, 4vw, 3.5rem);
}

.schedule__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Symbol legend — ONE line, items start from left with responsive gap.
   space-evenly causes off-center overflow that clips the last item;
   flex-start + gap keeps all items reachable when scrolling is needed. */
.schedule__legend {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.25rem, 4.5vw, 3.5rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding: 1.25rem 0.5rem;   /* small horizontal pad so last item breathes from edge */
  border-top: 1px solid rgba(237, 230, 214, 0.1);
  border-bottom: 1px solid rgba(237, 230, 214, 0.1);
}
.schedule__legend::-webkit-scrollbar { display: none; }

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Bigger icons for readability */
.legend-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.legend-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(237, 230, 214, 0.88);
  white-space: nowrap;
}

.schedule__caption {
  font-size: 0.75rem;
  color: rgba(237, 230, 214, 0.55);
  letter-spacing: 0.07em;
  margin-bottom: 2rem;
}

.schedule__caption a {
  color: var(--gold);
  border-bottom: 1px solid rgba(203, 168, 106, 0.3);
  transition: border-color 0.2s;
}
.schedule__caption a:hover { border-color: var(--gold); }


/* ----------------------------------------------------------------
   10. 5 · WHO TEACHES YOU
   Gold divider — cream section after dark schedule.
   ---------------------------------------------------------------- */
.instructor {
  padding: var(--section-pad) var(--pad-x);
  border-top: 1px solid var(--gold-line);   /* gold — major dark→cream break */
}

/* Single stacked column — exact top-to-bottom order set in markup, same on all breakpoints */
.instructor__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.instructor__image-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #d8d0c0;
}

.instructor__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: rgba(11, 11, 11, 0.25);
  pointer-events: none;
}

.instructor__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.instructor__content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Full contrast — no grey */
.instructor__content p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.78;
}

.instructor__note {
  font-size: 0.8rem;
  color: var(--text);
  font-style: italic;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(11, 11, 11, 0.08);
  line-height: 1.65;
}

/* Lineage */
.lineage {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(11, 11, 11, 0.08);
}

.lineage__chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.025em;
  color: var(--text);
  margin-top: 0.4rem;
}

.lineage__sep {
  color: var(--gold);
  font-size: 0.7rem;
}

.lineage__end {
  color: var(--black);
  font-weight: 600;
}

/* Mobile: explicit stacking order — header, photo, lineage, heading, bio,
   guest note. Desktop rule (.instructor__grid, above) is untouched. */
@media (max-width: 639px) {
  .instructor__grid {
    display: flex;
    flex-direction: column;
  }
  .instructor__grid > .label            { order: 1; }
  .instructor__grid > .instructor__image-wrap { order: 2; }
  .instructor__grid > .lineage           { order: 3; }
  .instructor__grid > .section-title     { order: 4; }
  .instructor__grid > .instructor__content { order: 5; }
  .instructor__grid > .instructor__note  { order: 6; }
}


/* ----------------------------------------------------------------
   11. 6 · PRICING  (dark section — cream cards on black)
   ---------------------------------------------------------------- */
.pricing {
  padding: var(--section-pad) var(--pad-x);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 600px)  { .pricing__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pricing__grid { grid-template-columns: repeat(3, 1fr); } }

/* Pull pricing bottom closer to trial above the gold divider */
.pricing {
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}

/* Base card — cream on black */
.pricing__card {
  padding: 2.25rem 2rem;
  border: 1px solid rgba(11, 11, 11, 0.1);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.pricing__card:hover {
  border-color: rgba(203, 168, 106, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Founders card — inverted */
.pricing__card--founders {
  background: var(--black);
  border: 1.5px solid var(--gold);
  color: var(--cream);
}
.pricing__card--founders:hover {
  border-color: #d4aa6e;
  box-shadow: 0 8px 32px rgba(203, 168, 106, 0.2);
}

.pricing__price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

/* Period — full contrast on cream, visible on founders */
.pricing__period {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.pricing__card--founders .pricing__period {
  color: rgba(237, 230, 214, 0.65);
}

.pricing__tier {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 11, 11, 0.09);
}
.pricing__card--founders .pricing__tier {
  color: var(--gold);
  border-color: rgba(203, 168, 106, 0.3);
}

.pricing__note {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: rgba(237, 230, 214, 0.7);
  letter-spacing: 0.08em;
  text-align: center;
}

.pricing__cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: flex-start;
}

/* Mobile: center the CTA under the (single-column) pricing grid */
@media (max-width: 639px) {
  .pricing__cta {
    justify-content: center;
  }
}


/* ----------------------------------------------------------------
   12. 7 · FIRST BJJ CLASS?  (black CTA — tight against pricing)
   Gold divider separates the two dark sections; top padding reduced
   to eliminate the large empty gap between them.
   ---------------------------------------------------------------- */
.trial {
  background: var(--black);
  color: var(--cream);
  padding: clamp(2rem, 3.5vw, 3rem) var(--pad-x) var(--section-pad);
  border-top: 1px solid var(--gold-line);
}

.trial__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 680px;
}

/* images/riko-new-black-star.png */
.trial__star {
  width: clamp(64px, 9vw, 108px);
  height: clamp(64px, 9vw, 108px);
  object-fit: contain;
  margin-bottom: 0.75rem;
  display: block;
}

.trial__line {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  color: var(--cream);
  letter-spacing: 0.02em;
  line-height: 1.55;
  margin-top: 0.25rem;
}

.trial__sub {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: rgba(237, 230, 214, 0.6);
  font-style: italic;
  margin-bottom: 0.5rem;
}


/* ----------------------------------------------------------------
   13. 8 · FIND US
   Gold divider — cream section after dark trial.
   ---------------------------------------------------------------- */
.find {
  padding: var(--section-pad) var(--pad-x);
  border-top: 1px solid var(--gold-line);   /* gold — major dark→cream break */
}

.find__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

@media (min-width: 768px) {
  .find__grid { grid-template-columns: 1fr 1fr; }
}

.find__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.find__address {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.8;
}

.find__address-link {
  border-bottom: 1px solid rgba(11, 11, 11, 0.2);
  transition: border-color 0.2s, color 0.2s;
}
.find__address-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Full contrast — no grey */
.find__metro-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.find__metro-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.find__metro-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

/* Metro line badges — Barcelona-accurate */
.metro-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.1rem 0.28rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.metro-badge--l1 { background: #E3000B; color: #fff; }
.metro-badge--l4 { background: #FEDB00; color: #000; }

.find__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(11, 11, 11, 0.07);
}

.find__link {
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid rgba(11, 11, 11, 0.15);
  padding-bottom: 1px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.find__link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.find__map-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);   /* fallback only — brand-safe, no grey */
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.find__map-cta {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 3;
  background: var(--black);
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.find__map-wrap:hover .find__map-cta {
  opacity: 1;
  transform: none;
}
.find__map-wrap:hover .find__map {
  transform: scale(1.12);   /* stays above the base 1.1 crop-safety scale */
}

.find__map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: rgba(11, 11, 11, 0.22);
  pointer-events: none;
}

.find__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The source file has a transparent letterbox margin baked in (top/bottom);
     object-fit: cover alone doesn't crop enough of it to fully clear that
     margin, letting the wrapper background show through as a line at the
     top. Scale past cover's own crop so the transparent edge is cropped
     away entirely, regardless of the exact source image used here. */
  transform: scale(1.1);
  z-index: 1;
  transition: transform 0.35s ease;
}

/* Mobile: extra crop margin + explicit brand-safe fallback — belt-and-braces
   against the source file's transparent top/bottom letterbox ever showing
   through as a line, independent of viewport width. */
@media (max-width: 639px) {
  .find__map-wrap {
    background: var(--cream);
  }
  .find__map {
    transform: scale(1.18);
  }
  .find__map-wrap:hover .find__map {
    transform: scale(1.2);   /* stays above the mobile base 1.18 crop-safety scale */
  }
}


/* ----------------------------------------------------------------
   14. FOOTER  (black)
   ---------------------------------------------------------------- */
.footer {
  background: var(--black);
  color: var(--cream);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid rgba(237, 230, 214, 0.1);
}

@media (min-width: 640px)  { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 2fr 1fr 1fr; } }

.footer__logo {
  margin-bottom: 0.875rem;
}

/* Readable — increased from 0.5 */
.footer__tagline {
  font-size: 0.84rem;
  color: rgba(237, 230, 214, 0.75);
  line-height: 1.65;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Readable — increased from 0.45 */
.footer__nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237, 230, 214, 0.7);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--cream); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer__contact-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(237, 230, 214, 0.35);
}

.footer__email {
  font-size: 0.9rem;
  color: rgba(237, 230, 214, 0.85);
  transition: color 0.2s;
  word-break: break-all;
}
.footer__email:hover { color: var(--cream); }

/* Readable — increased from 0.45 */
.footer__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(237, 230, 214, 0.7);
  transition: color 0.2s;
}
.footer__social:hover { color: var(--cream); }

.footer__contact .btn { margin-top: 0.25rem; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 0;
}

.footer__bottom p {
  font-size: 0.7rem;
  color: rgba(237, 230, 214, 0.28);
  letter-spacing: 0.06em;
}


/* ----------------------------------------------------------------
   15. SCROLL FADE-IN ANIMATION
   ---------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* Stagger class rows */
.classes__list .class-row:nth-child(2) { transition-delay: 0.07s; }
.classes__list .class-row:nth-child(3) { transition-delay: 0.14s; }
.classes__list .class-row:nth-child(4) { transition-delay: 0.21s; }
.classes__list .class-row:nth-child(5) { transition-delay: 0.28s; }

/* Stagger pricing cards */
.pricing__grid .pricing__card:nth-child(2) { transition-delay: 0.07s; }
.pricing__grid .pricing__card:nth-child(3) { transition-delay: 0.14s; }
.pricing__grid .pricing__card:nth-child(4) { transition-delay: 0.21s; }
.pricing__grid .pricing__card:nth-child(5) { transition-delay: 0.28s; }
.pricing__grid .pricing__card:nth-child(6) { transition-delay: 0.35s; }


/* ----------------------------------------------------------------
   16. SCHEDULE IMAGE — clickable affordance
   ---------------------------------------------------------------- */
.schedule__image-wrap {
  cursor: pointer;
}
.schedule__image-wrap:hover .schedule__img {
  opacity: 0.88;
  transition: opacity 0.2s;
}

/* "Tap to enlarge" inline button — looks like caption text but is clickable */
.schedule__enlarge-cta {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: rgba(237, 230, 214, 0.75);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(237, 230, 214, 0.25);
}
.schedule__enlarge-cta:hover {
  color: var(--cream);
  text-decoration-color: rgba(237, 230, 214, 0.55);
}


/* ----------------------------------------------------------------
   17. LIGHTBOX  (schedule fullscreen overlay)
   ---------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.93);
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237, 230, 214, 0.08);
  border: 1px solid rgba(237, 230, 214, 0.2);
  color: var(--cream);
  font-size: 1.4rem;
  font-family: var(--font-body);
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s, border-color 0.18s;
}
.lightbox__close:hover {
  background: rgba(237, 230, 214, 0.18);
  border-color: rgba(237, 230, 214, 0.45);
}

/* Scrollable/pannable inner — allows mobile pinch-zoom and pan */
.lightbox__scroll {
  position: relative;
  z-index: 5;
  max-width: 96vw;
  max-height: 92vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  cursor: default;
}

.lightbox__img {
  display: block;
  max-height: 90vh;
  width: auto;
  max-width: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
