/* ============================================================================
   NYC SALSA DANCE — stylesheet
   ----------------------------------------------------------------------------
   Direction: Brooklyn print shop, not wellness marketplace.
   Ink-black grounds, ivory paper, oxblood house colour, slab-serif display.

   ONE RULE HELD THROUGHOUT: red (--red) only ever means "book".
   If something is red, it is a booking action. Nothing decorative uses it.
   Sage (--sage) is reserved for real availability and confirmed status only.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  /* ground */
  --ink:        #16100E;   /* near-black, warmed toward red */
  --ink-soft:   #241A17;   /* raised surfaces on ink */
  --ivory:      #F1E9DC;   /* the paper */
  --paper:      #FBF7F0;   /* lighter paper, cards */
  --white:      #FFFFFF;

  /* colour */
  --oxblood:    #6B121F;   /* house colour */
  --oxblood-dk: #530D18;
  --red:        #C0202E;   /* BOOKING ONLY */
  --red-dk:     #A11826;
  --gold:       #B9902E;   /* hairlines, eyebrows, ratings */
  --gold-lt:    #E8B84B;   /* gold that reads on ink */
  --sage:       #47765C;   /* real availability / confirmed only */

  /* text */
  --fg:         #2E2320;
  --fg-mid:     #4E3D38;
  --fg-soft:    #6A5751;
  --on-ink:     #F1E9DC;
  --on-ink-mid: rgba(241, 233, 220, 0.78);
  --on-ink-soft:rgba(241, 233, 220, 0.56);

  /* lines */
  --rule:       rgba(22, 16, 14, 0.14);
  --rule-soft:  rgba(22, 16, 14, 0.08);
  --rule-ink:   rgba(241, 233, 220, 0.16);
  --rule-ink-soft: rgba(241, 233, 220, 0.09);

  /* type */
  --font-display: 'Bitter', 'SuperClarendon', 'Superclarendon', 'Bookman Old Style', Rockwell, Georgia, serif;
  --font-body:    'DM Sans', 'Avenir Next', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  --font-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* metrics */
  --wrap:      1140px;
  --wrap-tight: 760px;
  --gutter:    clamp(20px, 4vw, 40px);
  --band-y:    clamp(56px, 7vw, 104px);
  --radius:    3px;
  --tap:       44px;                 /* minimum touch target */
  --stickybar: 0px;                  /* becomes 74px on mobile, see below */

  --shadow-card: 0 1px 2px rgba(22,16,14,.05), 0 10px 26px -16px rgba(22,16,14,.28);
  --shadow-lift: 0 2px 5px rgba(22,16,14,.07), 0 18px 40px -20px rgba(22,16,14,.38);

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ------------------------------------------------------------------ base -- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* keeps the sticky mobile bar from ever covering the end of the page */
  padding-bottom: var(--stickybar);
}

img, video { max-width: 100%; display: block; }
svg { display: block; }

a { color: inherit; }

/* Focus: always visible, always the same, never removed. */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
.site-header :focus-visible,
.nav-drawer :focus-visible,
.site-footer :focus-visible,
.stickybar :focus-visible,
.hero :focus-visible,
.band--ink :focus-visible,
.cta-final :focus-visible { outline-color: var(--gold-lt); }

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--on-ink);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------ typography -- */
h1, h2, h3, h4, h5, h6 { margin: 0; text-wrap: balance; }

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.028em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h3, .h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.012em;
}
h4, .h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
}

p { margin: 0; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 14px;
  display: block;
}
.band--ink .eyebrow, .page-head .eyebrow, .hero .eyebrow,
.cta-final .eyebrow { color: var(--gold-lt); }

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--fg-mid);
  max-width: 62ch;
}
.band--ink .lede, .page-head .lede, .hero .lede,
.cta-final .lede { color: var(--on-ink-mid); }

.note { font-size: 15px; line-height: 1.55; color: var(--fg-soft); }
.band--ink .note { color: var(--on-ink-soft); }

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- layout -- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--tight { max-width: var(--wrap-tight); }

.band { padding: var(--band-y) 0; }
.band--paper { background: var(--paper); }
.band--ivory { background: var(--ivory); }
.band--ink   { background: var(--ink); color: var(--on-ink); }
.band--ink h1, .band--ink h2, .band--ink h3, .band--ink h4 { color: var(--on-ink); }
.band--tight { padding: clamp(36px, 4vw, 56px) 0; }

.grid { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.section-head { margin-bottom: clamp(26px, 3vw, 44px); }
.section-head .lede { margin-top: 14px; }

.head-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.4vw, 32px);
}

/* position:relative matters — without a containing block here, absolutely
   positioned descendants (the visually-hidden labels inside table headers)
   escape the clip and scroll the whole page sideways on a phone. */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--tap);
  padding: 14px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s var(--ease), background-color .16s var(--ease),
              border-color .16s var(--ease), color .16s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* red = book. nothing else. */
.btn--book { background: var(--red); color: var(--white); }
.btn--book:hover { background: var(--red-dk); }

.btn--ghost { border-color: var(--rule); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(22,16,14,.04); }

.hero .btn--ghost, .band--ink .btn--ghost,
.cta-final .btn--ghost, .stickybar .btn--ghost, .nav-drawer .btn--ghost {
  border-color: rgba(241,233,220,.42); color: var(--on-ink); background: transparent;
}
.hero .btn--ghost:hover, .band--ink .btn--ghost:hover,
.cta-final .btn--ghost:hover, .stickybar .btn--ghost:hover, .nav-drawer .btn--ghost:hover {
  border-color: var(--on-ink); background: rgba(241,233,220,.1);
}

.btn--small { padding: 10px 16px; font-size: 14.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15.5px; color: var(--oxblood);
  text-decoration: none; min-height: var(--tap); padding: 6px 0;
}
.link-arrow::after { content: "\2192"; transition: transform .16s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.band--ink .link-arrow, .cta-final .link-arrow { color: var(--gold-lt); }

/* ---------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid var(--rule-ink);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 14px;
  min-height: 66px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--on-ink);
  padding: 6px 0; flex-shrink: 0;
}
.brand-mark {
  border: 1.5px solid currentColor; border-radius: 2px;
  padding: 6px 7px; text-align: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: 11.5px; line-height: 1.05; letter-spacing: -0.02em;
}
.brand-name {
  display: none;
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; letter-spacing: -0.012em; line-height: 1.1;
}

/* The real logo, once BUSINESS.logo is set. Height-constrained so any aspect
   ratio drops in without touching the header layout. */
.brand--logo { gap: 0; }
.brand-logo {
  height: 52px; width: auto; max-width: 190px; object-fit: contain;
}
@media (max-width: 620px) { .brand-logo { height: 44px; } }

.footer-logo {
  height: 40px; width: auto; max-width: 200px; object-fit: contain;
  margin-bottom: 16px; opacity: .9;
}

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-flex; align-items: center;
  min-height: var(--tap); padding: 6px 10px;
  white-space: nowrap;                       /* a wrapped nav label looks broken */
  font-size: 15px; font-weight: 500; color: var(--on-ink-mid);
  text-decoration: none; border-radius: var(--radius);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav-list a:hover { color: var(--on-ink); background: rgba(241,233,220,.07); }
.nav-list a[aria-current="page"] { color: var(--on-ink); box-shadow: inset 0 -2px 0 var(--gold); }

.header-book { margin-left: auto; display: none; white-space: nowrap; }

.nav-toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-width: var(--tap); min-height: var(--tap);
  padding: 0 14px;
  background: transparent; color: var(--on-ink);
  border: 1.5px solid var(--rule-ink); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  cursor: pointer;
}
.nav-toggle-bars { display: flex; flex-direction: column; gap: 4px; width: 17px; }
.nav-toggle-bars i {
  display: block; height: 1.75px; background: currentColor; border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(5.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5.75px) rotate(-45deg); }

/* mobile drawer */
.nav-drawer {
  position: fixed; inset: 66px 0 0; z-index: 89;
  background: var(--ink);
  padding: 12px var(--gutter) calc(34px + var(--stickybar));
  overflow-y: auto;
  display: none;
}
.nav-drawer[data-open="true"] { display: block; }
.nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer li + li { border-top: 1px solid var(--rule-ink-soft); }
.nav-drawer a {
  display: flex; align-items: center;
  min-height: 56px; padding: 8px 2px;
  font-size: 19px; font-weight: 500; color: var(--on-ink); text-decoration: none;
}
.nav-drawer a[aria-current="page"] { color: var(--gold-lt); }
.nav-drawer .btn { margin-top: 22px; }

@media (min-width: 1080px) {
  .nav { display: block; margin-left: 10px; }
  .nav-toggle { display: none; }
  .header-book { display: inline-flex; }
  .brand-name { display: inline-block; }
  .nav-drawer { display: none !important; }
}

/* --------------------------------------------------- sticky mobile CTA bar -- */
@media (max-width: 1079px) {
  :root { --stickybar: 74px; }
}
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: flex; gap: 10px;
  padding: 11px var(--gutter) calc(11px + env(safe-area-inset-bottom, 0px));
  background: rgba(22, 16, 14, 0.97);
  border-top: 1px solid var(--rule-ink);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
}
.stickybar .btn { flex: 1; padding-left: 10px; padding-right: 10px; font-size: 15px; }
@media (min-width: 1080px) { .stickybar { display: none; } }

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  isolation: isolate;
}
/* ---- HERO SCRIM BRIGHTNESS -------------------------------------------------
   Brightened ~15% on 2026-08-07. To revert, restore these three values:

     .hero-video          opacity: .66
     .hero::before        180deg  rgba(…,.86) 0%, rgba(…,.79) 55%, rgba(…,.73) 100%
                          radial  rgba(107,18,31,.26)
     @media 760px         100deg  .95 0%, .93 38%, .86 56%, .46 76%, .26 100%
                          radial  rgba(107,18,31,.28)

   The foot gradient is unchanged — it protects the fact strip, which measured
   4.29:1 without it. Do not lighten that one without re-measuring.
   -------------------------------------------------------------------------- */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: -2; opacity: .70;
}

/* The scrim, not the video opacity, is what controls legibility. Text sits in
   the left column, so the right side can open up and actually show the class.

   MOBILE FIRST: copy spans the full width on a phone, so the scrim stays even
   and heavy — there is no empty side to reveal. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    /* The fact strip runs the full width along the bottom, so it would sit in
       the bright zone the reveal opens up. This foot darkens that band only —
       measured at 4.29:1 without it, which fails AA. */
    linear-gradient(180deg, transparent 0%, transparent 58%, rgba(22,16,14,.30) 78%, rgba(22,16,14,.46) 100%),
    linear-gradient(180deg, rgba(22,16,14,.85) 0%, rgba(22,16,14,.77) 55%, rgba(22,16,14,.71) 100%),
    radial-gradient(ellipse 80% 70% at 74% 24%, rgba(107,18,31,.24), transparent 70%);
}

/* From tablet up the copy occupies roughly the left half, so the scrim ramps
   off after it. The stops are placed deliberately: the lede runs to about 56%
   of the width, so the reveal only begins past that point — every line of text
   stays well clear of WCAG AA against even the brightest frame in the loop. */
@media (min-width: 760px) {
  .hero::before {
    background:
      linear-gradient(180deg, transparent 0%, transparent 58%, rgba(22,16,14,.30) 78%, rgba(22,16,14,.46) 100%),
      linear-gradient(100deg,
        rgba(22,16,14,.95) 0%,
        rgba(22,16,14,.92) 38%,
        rgba(22,16,14,.85) 56%,
        rgba(22,16,14,.41) 76%,
        rgba(22,16,14,.20) 100%),
      radial-gradient(ellipse 62% 85% at 92% 26%, rgba(107,18,31,.26), transparent 68%);
  }
}
/* padding-top only — a shorthand here would cancel .wrap's horizontal gutter */
.hero-inner { padding-top: clamp(40px, 6vw, 84px); }
/* max-width in ch on the h1 itself, so it scales with the display size and
   breaks into three lines at every width instead of one word per line */
.hero h1 { color: var(--on-ink); max-width: 19ch; }
.hero .lede { margin-top: 22px; max-width: 46ch; }
.hero-address {
  display: flex; align-items: center; gap: 9px;
  /* --on-ink-soft measured at only 4.74:1 against the brightest frame once the
     scrim was lightened. It is also the studio address, which is not something
     that should be the faintest text on the page. */
  margin-top: 18px; font-size: 15.5px; color: var(--on-ink-mid);
}
.hero-address svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .85; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-claims {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0;
  font-size: 15px; color: var(--on-ink-mid); list-style: none; padding: 0;
}
.hero-claims li { display: flex; align-items: center; gap: 8px; }
.hero-claims li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-lt); flex-shrink: 0;
}

/* fact strip — the four things people open a tab to check */
.factbar {
  display: flex; flex-wrap: wrap;
  margin: clamp(32px, 4vw, 48px) 0 0;
  border-top: 1px solid var(--rule-ink);
  position: relative;
}
.factbar > div {
  flex: 1 1 190px;
  padding: 17px 22px 19px 0;
  border-right: 1px solid var(--rule-ink-soft);
}
.factbar > div:last-child { border-right: 0; }
.factbar dt {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--on-ink-soft); margin: 0;
}
.factbar dd {
  margin: 6px 0 0; font-size: 16px; font-weight: 700; color: var(--on-ink);
}
.factbar .rating { color: var(--gold-lt); }

/* ---- mobile hero -------------------------------------------------------
   Most visitors arrive from Instagram on a phone. At the default scale the
   hero ran 880px on an 844px screen, which pushed the fact strip — next class,
   entry price, rating — entirely below the fold. Everything here exists to get
   the primary CTA and those four facts onto the first screen. */
@media (max-width: 620px) {
  .factbar > div { flex-basis: 50%; padding: 12px 12px 13px 0; }
  .factbar dt { font-size: 10.5px; letter-spacing: 0.14em; }
  .factbar dd { font-size: 14.5px; margin-top: 4px; }
  .factbar { margin-top: 22px; }

  .hero-inner { padding-top: 26px; }
  .hero h1 { font-size: 30px; letter-spacing: -0.022em; }
  .hero .lede { font-size: 16px; line-height: 1.45; margin-top: 14px; }
  .hero-address { margin-top: 13px; font-size: 14px; }
  .hero-claims { margin: 14px 0 0; gap: 5px 16px; font-size: 14px; }
  .hero-cta { margin-top: 18px; gap: 9px; }
  .hero-cta .btn { flex: 1; padding-left: 14px; padding-right: 14px; }

  /* The sticky bar already carries "View Schedule" — showing it twice on one
     screen costs ~60px of the fold for nothing. */
  .hero .hero-cta .btn--ghost { display: none; }
}

/* --------------------------------------------------------------- pathways -- */
.pathways { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.pathway {
  display: flex; flex-direction: column; gap: 9px;
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none; color: var(--fg);
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.pathway:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--oxblood);
}
.pathway-q {
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--oxblood);
}
.pathway-a { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.pathway-why { font-size: 14.5px; color: var(--fg-soft); line-height: 1.5; flex: 1; }
.pathway-go { font-size: 14.5px; font-weight: 700; color: var(--red); display: flex; align-items: center; gap: 6px; }
.pathway-go::after { content: "\2192"; }

/* ------------------------------------------------------------ class cards -- */
.class-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); }

.class-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.class-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

.class-media {
  position: relative;
  aspect-ratio: 16 / 8;
  background: var(--ink);
  display: grid; place-items: center;
  overflow: hidden;
}
.class-media img { width: 100%; height: 100%; object-fit: cover; }
/* branded placeholder — deliberately does not pretend to be a photograph */
.class-media--placeholder::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 78% 30%, rgba(107,18,31,.85), transparent 65%),
    repeating-linear-gradient(135deg, rgba(241,233,220,.05) 0 2px, transparent 2px 10px);
}
.class-media-note {
  position: relative;
  font-size: 11px; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--on-ink-soft);
  border: 1px dashed rgba(241,233,220,.32);
  padding: 7px 12px; border-radius: 2px;
}

.level-flag {
  position: absolute; top: 0; left: 0; z-index: 2;
  padding: 6px 12px; border-radius: 0 0 var(--radius) 0;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white);
}
.level-flag[data-level="beginner"]     { background: var(--sage); }
.level-flag[data-level="intermediate"] { background: var(--oxblood); }
.level-flag[data-level="styling"]      { background: var(--gold); color: var(--ink); }

.class-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 19px 19px; flex: 1; }
.class-name { font-size: 19px; font-weight: 700; line-height: 1.22; letter-spacing: -0.012em; }
.class-name a { text-decoration: none; }
.class-name a:hover { color: var(--oxblood); }

.class-when {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px;
  font-size: 15px; font-weight: 700;
}
.class-when .next-date { color: var(--oxblood); }
.class-when .dur { font-weight: 400; color: var(--fg-soft); font-size: 14px; }

.class-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--fg-soft); }
.class-meta b { color: var(--fg); font-weight: 700; }

.class-practice {
  font-size: 14px; line-height: 1.5; color: var(--fg-soft);
  border-left: 2px solid var(--gold); padding-left: 12px;
}
.class-practice b { color: var(--fg); font-weight: 700; }

.class-foot {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule-soft);
}
.price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 17px; font-weight: 600; }
.price small { font-family: var(--font-body); font-size: 12.5px; color: var(--fg-soft); font-weight: 400; }
.class-foot .btn { margin-left: auto; }

/* availability — only rendered when the number is real */
.availability {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--sage);
}
.availability::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ------------------------------------------------------------- schedule -- */
.schedule-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.schedule-table caption { text-align: left; color: var(--fg-soft); font-size: 15px; padding-bottom: 14px; }
.schedule-table th {
  text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--fg-soft);
  padding: 0 16px 11px 0; border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.schedule-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; }
.schedule-table tbody tr:hover { background: rgba(107,18,31,.03); }
.schedule-day { font-weight: 700; white-space: nowrap; }
.schedule-time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.schedule-table .schedule-name { font-weight: 700; min-width: 210px; }
.schedule-table .schedule-name a { text-decoration: none; }
.schedule-table .schedule-name a:hover { color: var(--oxblood); }

.level-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  margin-right: 9px; flex-shrink: 0;
}
.level-dot[data-level="beginner"]     { background: var(--sage); }
.level-dot[data-level="intermediate"] { background: var(--oxblood); }
.level-dot[data-level="styling"]      { background: var(--gold); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; font-size: 14.5px; color: var(--fg-soft); list-style: none; padding: 0; }
.legend li { display: flex; align-items: center; }

/* ------------------------------------------------------------- packages -- */
.pkg-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); }

.pkg {
  position: relative;
  display: flex; flex-direction: column; gap: 13px;
  padding: 26px 21px 21px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.pkg--featured { border: 2px solid var(--oxblood); }

.pkg-rec {
  position: absolute; top: 0; right: 16px; transform: translateY(-50%);
  padding: 5px 12px; border-radius: 2px;
  background: var(--oxblood); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  white-space: nowrap;
}
.pkg-rec--alt { background: var(--gold); color: var(--ink); }

.pkg-name { font-size: 17px; font-weight: 700; line-height: 1.25; }
.pkg-sub { font-size: 13.5px; color: var(--fg-soft); margin-top: -8px; }
.pkg-for { font-size: 14.5px; color: var(--fg-soft); line-height: 1.5; }
.pkg-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 33px; font-weight: 600; letter-spacing: -0.022em; line-height: 1; }
.pkg-per { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: var(--oxblood); margin-top: -8px; }

.pkg-terms { margin: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; padding-top: 13px; border-top: 1px solid var(--rule-soft); }
.pkg-terms > div { display: flex; justify-content: space-between; gap: 12px; }
.pkg-terms dt { color: var(--fg-soft); }
.pkg-terms dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.pkg-terms .is-saving { color: var(--sage); }
.pkg-terms .is-autopay { color: var(--oxblood); }
.pkg .btn { margin-top: auto; }

.disclosure {
  margin-top: clamp(22px, 3vw, 34px);
  padding: 20px 22px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px; line-height: 1.55; color: var(--fg-mid);
  max-width: 74ch;
}
.disclosure strong { color: var(--fg); }
.band--ink .disclosure { background: rgba(241,233,220,.06); color: var(--on-ink-mid); }
.band--ink .disclosure strong { color: var(--on-ink); }

/* ------------------------------------------------------- pending / verify -- */
/* Renders wherever an answer is genuinely not yet confirmed. It is better to
   visibly not know than to quietly invent. */
.pending {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 15px;
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  background: rgba(185,144,46,.08);
  font-size: 14.5px; color: var(--fg-mid); line-height: 1.45;
}
.pending::before { content: "?"; font-weight: 800; color: var(--gold); flex-shrink: 0; }
.band--ink .pending, .hero .pending { color: var(--on-ink-mid); background: rgba(232,184,75,.1); border-color: var(--gold-lt); }
.band--ink .pending::before, .hero .pending::before { color: var(--gold-lt); }

/* ------------------------------------------------------------- curriculum -- */
.learn-grid { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); background: var(--rule); border: 1px solid var(--rule); }
.learn-item { background: var(--paper); padding: 26px 24px; display: flex; flex-direction: column; gap: 9px; }
.band--ink .learn-grid { background: var(--rule-ink-soft); border-color: var(--rule-ink-soft); }
.band--ink .learn-item { background: var(--ink); }
.learn-item h3 { font-family: var(--font-display); font-size: 23px; font-weight: 700; letter-spacing: -0.015em; }
.learn-item p { font-size: 15px; color: var(--fg-soft); line-height: 1.55; }
.band--ink .learn-item p { color: var(--on-ink-mid); }

/* --------------------------------------------------------------- reviews -- */
.rating-block { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rating-score { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.rating-stars { color: var(--gold); font-size: 20px; letter-spacing: 2px; }
.band--ink .rating-stars { color: var(--gold-lt); }
.rating-count { font-size: 15px; color: var(--fg-soft); }
.band--ink .rating-count { color: var(--on-ink-soft); }

.quote {
  margin: 0;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--oxblood);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex; flex-direction: column; gap: 12px;
}
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.4; letter-spacing: -0.012em; }
.quote figcaption { font-size: 14px; color: var(--fg-soft); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quote-excerpt-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold); border: 1px solid currentColor; padding: 3px 7px; border-radius: 2px;
}

/* ------------------------------------------------------------------- FAQ -- */
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 0; min-height: var(--tap);
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 17.5px; font-weight: 700; line-height: 1.35;
  color: var(--fg); text-align: left;
}
.faq-q:hover { color: var(--oxblood); }
.faq-icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--oxblood); border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 0 22px; max-width: 68ch; color: var(--fg-mid); font-size: 16px; line-height: 1.6; }
.faq-a[hidden] { display: none; }

/* -------------------------------------------------------------- location -- */
.location-grid { display: grid; gap: clamp(22px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.address-block { font-size: 19px; line-height: 1.5; font-style: normal; }
.address-block strong { display: block; font-size: 23px; font-weight: 700; }

/* ------------------------------------------------------------ instructors -- */
.instructor-list { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.instructor {
  display: grid; gap: clamp(20px, 3vw, 36px);
  grid-template-columns: minmax(240px, 380px) 1fr;
  align-items: start;
}
.instructor-media { position: relative; }
.instructor-portrait {
  /* height:auto is load-bearing. The width/height HTML attributes map to
     presentational hints, and that height wins over aspect-ratio unless an
     author rule overrides it — which rendered this as a 380×563 portrait
     instead of the intended 16:10. */
  width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: center 30%;
  border-radius: var(--radius); background: var(--ink);
}
.instructor-portrait--empty {
  display: grid; place-items: center;
  border: 1px dashed var(--rule);
}
.instructor-portrait--empty span {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--on-ink-soft);
}
.instructor-body { display: flex; flex-direction: column; gap: 14px; }
.instructor-body h2 { font-size: clamp(26px, 3vw, 38px); margin-top: -6px; }
.instructor-body h3 { font-size: 16px; margin-bottom: -6px; }
.instructor-teaches a { font-weight: 700; text-decoration: none; color: var(--oxblood); }
.instructor-teaches a:hover { text-decoration: underline; }
.instructor-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 720px) {
  .instructor { grid-template-columns: 1fr; }
  .instructor-portrait { aspect-ratio: 3 / 2; }
}

/* ------------------------------------------------------------ page photo -- */
/* A full-bleed band of real photography. Height is capped so a wide photo
   never pushes the content below it off the first screen. */
.page-photo { margin: 0; background: var(--ink); }
.page-photo img {
  width: 100%; height: clamp(220px, 42vw, 460px);
  object-fit: cover; object-position: center 35%;
}

/* ------------------------------------------------------------------ video -- */
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--ink); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--rule-ink);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-poster {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: 100%; padding: 20px;
  background: var(--ink); color: var(--on-ink);
  border: 0; cursor: pointer; font-family: var(--font-body);
  overflow: hidden;
}
.video-poster::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 45%, rgba(107,18,31,.7), transparent 68%);
}
.video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.video-play {
  position: relative; z-index: 1;
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: grid; place-items: center;
  transition: transform .18s var(--ease);
}
.video-poster:hover .video-play { transform: scale(1.07); }
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-poster span { position: relative; z-index: 1; font-size: 15px; font-weight: 700; }
.video-caption { margin-top: 12px; font-size: 14px; color: var(--fg-soft); }
.band--ink .video-caption { color: var(--on-ink-soft); }

/* ------------------------------------------------------------------ steps -- */
/* Numbered only where the content genuinely is a sequence. */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  display: flex; gap: 20px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--rule-soft);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 13px; color: var(--gold);
  flex-shrink: 0; width: 28px; font-variant-numeric: tabular-nums;
}
.steps h3, .steps h4 { margin-bottom: 4px; font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.steps p { font-size: 15px; color: var(--fg-soft); line-height: 1.5; }
.band--ink .steps li { border-color: var(--rule-ink-soft); }
.band--ink .steps p { color: var(--on-ink-mid); }

/* ------------------------------------------------------------------- CTA -- */
.cta-final {
  position: relative; overflow: hidden;
  background: var(--oxblood); color: var(--on-ink);
  padding: clamp(52px, 7vw, 96px) 0;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 20% 10%, rgba(232,184,75,.16), transparent 60%);
}
.cta-final .wrap { position: relative; }
.cta-final h2 { color: var(--on-ink); max-width: 17ch; }
.cta-final .lede { margin-top: 16px; }
.cta-final .hero-cta { margin-top: 28px; }

/* ---------------------------------------------------------------- footer -- */
.site-footer { background: var(--ink); color: var(--on-ink-mid); padding: clamp(44px, 5vw, 68px) 0 34px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.site-footer h2 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-soft); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.site-footer a { color: var(--on-ink-mid); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); font-size: 15px; }
.site-footer a:hover { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; font-size: 15px; line-height: 1.6; }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--rule-ink-soft);
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: 14px; color: var(--on-ink-soft);
}

/* ------------------------------------------------------------------ misc -- */
.page-head { background: var(--ink); color: var(--on-ink); padding: clamp(36px, 5vw, 72px) 0 clamp(32px, 4vw, 56px); }
.page-head h1 { color: var(--on-ink); font-size: clamp(34px, 5vw, 60px); }
.page-head .lede { margin-top: 18px; }

.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--on-ink-soft); margin: 0 0 18px; list-style: none; padding: 0; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.empty-state {
  padding: 40px 24px; text-align: center;
  border: 1px dashed var(--rule); border-radius: var(--radius);
  color: var(--fg-soft); background: var(--ivory);
}


.event-row {
  display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap;
  padding: 20px 0; border-bottom: 1px solid var(--rule-soft);
}
.event-date {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 14px; font-weight: 600; color: var(--oxblood); min-width: 120px;
}
.event-row--past { opacity: .62; }
.event-row--past .event-date { color: var(--fg-soft); }

/* ----------------------------------------------------------- contact form -- */
.contact-form { display: flex; flex-direction: column; gap: 18px; max-width: 620px; margin-top: 22px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-field { display: flex; flex-direction: column; gap: 7px; }

.form-field label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--fg-mid);
}
.form-field .optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--fg-soft); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;                    /* 16px stops iOS zooming the page on focus */
  line-height: 1.45;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field select { cursor: pointer; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: var(--fg-soft); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--oxblood); }

/* Invalid state: colour is never the only signal — the message says what to do */
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,32,46,.1);
}
.form-error {
  font-size: 14px; font-weight: 600; color: var(--red);
  display: flex; align-items: flex-start; gap: 6px; line-height: 1.4;
}
.form-error::before { content: "!"; font-weight: 800; flex-shrink: 0; }
.form-error[hidden] { display: none; }

/* honeypot — off-screen, never announced, never tabbable */
.form-honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.contact-form .btn { align-self: flex-start; }
.contact-form[data-busy="true"] .btn { opacity: .6; pointer-events: none; }

.form-status { font-size: 15.5px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status[data-state="success"] {
  padding: 16px 18px; border-radius: var(--radius);
  background: rgba(71,118,92,.1); border-left: 3px solid var(--sage); color: var(--fg);
}
.form-status[data-state="preview"] {
  padding: 16px 18px; border-radius: var(--radius);
  background: rgba(185,144,46,.1); border-left: 3px solid var(--gold); color: var(--fg);
}
.form-status[data-state="error"] {
  padding: 16px 18px; border-radius: var(--radius);
  background: rgba(192,32,46,.09); border-left: 3px solid var(--red); color: var(--fg);
}
.form-status b { display: block; margin-bottom: 4px; }

.form-notice { max-width: 620px; margin-bottom: 4px; }

/* ----------------------------------------------------------------- motion -- */
/* One idea: content enters on a slight horizontal offset — a weight shift,
   the way a dancer steps into the one. */
/* Scoped to .js — set by an inline script in <head>. Without JavaScript the
   class never lands, the rule never applies, and the content is simply visible.
   Content must never depend on a script to be readable. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateX(-14px); }
  .js .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  /* Reduce Motion gets the poster, not a hole.

     The video element is removed rather than paused: CSS alone cannot stop
     playback, and the autoplay attribute would still animate for anyone
     browsing with JavaScript off — precisely the user who asked for stillness.
     So we drop the element and repaint its own first frame as a static layer
     at the same opacity, behind the same scrim. The hero then reads as a
     deliberate photograph instead of an empty gradient. */
  .hero-video { display: none; }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background: url("/assets/hero-poster.jpg") center / cover no-repeat;
    opacity: .70;
  }
}

@media print {
  .site-header, .stickybar, .nav-drawer, .hero-video, .video-poster { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
}
