/* ==========================================================================
   VRL Workshops — stylesheet
   Sections: tokens · base · layout · buttons · header · hero · countdown ·
             filters · cards · props · membership · faq · footer · motion
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */

:root {
  --paper:        #F5F1EA;
  --surface:      #FFFFFF;
  --surface-sunk: #EFEAE1;
  --ink:          #1B2B33;
  --muted:        #5C6E77;
  --brand:        #205878;
  --brand-deep:   #16405A;
  --brand-soft:   rgba(32, 88, 120, .08);
  --accent:       #E8452B;  /* decorative + large text only */
  --accent-text:  #C3341C;  /* AA-safe for small text and filled pills */
  --line:         rgba(32, 88, 120, .16);
  --line-strong:  rgba(32, 88, 120, .30);
  --shadow:       0 1px 2px rgba(22, 64, 90, .06), 0 12px 28px -14px rgba(22, 64, 90, .28);
  --shadow-lift:  0 2px 6px rgba(22, 64, 90, .08), 0 26px 44px -20px rgba(22, 64, 90, .34);
  --on-brand:     #FFFFFF;

  --radius:    18px;
  --radius-sm: 10px;
  --shell:     1280px;
  --ease:      cubic-bezier(.22, .61, .36, 1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper:        #0E1B22;
    --surface:      #14252E;
    --surface-sunk: #101E26;
    --ink:          #EDE7DC;
    --muted:        #9DB0BA;
    --brand:        #7FBBDC;
    --brand-deep:   #A6D2EC;
    --brand-soft:   rgba(127, 187, 220, .12);
    --accent:       #FF6A4D;
    --accent-text:  #FF8368;
    --line:         rgba(237, 231, 220, .14);
    --line-strong:  rgba(237, 231, 220, .28);
    --shadow:       0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -16px rgba(0, 0, 0, .7);
    --shadow-lift:  0 2px 8px rgba(0, 0, 0, .45), 0 28px 50px -22px rgba(0, 0, 0, .8);
    --on-brand:     #0E1B22;
  }
}

/* Explicit toggle wins over the media query, in both directions. */
:root[data-theme='dark'] {
  --paper:        #0E1B22;
  --surface:      #14252E;
  --surface-sunk: #101E26;
  --ink:          #EDE7DC;
  --muted:        #9DB0BA;
  --brand:        #7FBBDC;
  --brand-deep:   #A6D2EC;
  --brand-soft:   rgba(127, 187, 220, .12);
  --accent:       #FF6A4D;
  --accent-text:  #FF8368;
  --line:         rgba(237, 231, 220, .14);
  --line-strong:  rgba(237, 231, 220, .28);
  --shadow:       0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -16px rgba(0, 0, 0, .7);
  --shadow-lift:  0 2px 8px rgba(0, 0, 0, .45), 0 28px 50px -22px rgba(0, 0, 0, .8);
  --on-brand:     #0E1B22;
}

/* ----------------------------------------------------------------- base -- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.022em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.012em; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--on-brand);
  padding: .7rem 1.1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent-text); margin-bottom: .9rem;
}

.ico { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

/* --------------------------------------------------------------- layout -- */

.shell { width: min(100% - clamp(1.75rem, 5vw, 4rem), var(--shell)); margin-inline: auto; }
.shell-narrow { width: min(100% - 2.5rem, 780px); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; scroll-margin-top: 80px; }
.section-tint { background: var(--surface-sunk); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { color: var(--brand-deep); }
.section-head p { color: var(--muted); margin-top: .9rem; font-size: 1.06rem; }

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .78rem 1.35rem;
  border: 1px solid transparent; border-radius: 100px;
  font: inherit; font-weight: 600; font-size: .97rem;
  text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease), background-color .16s var(--ease),
              border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-deep); }

.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-soft); }

.btn-quiet { background: transparent; color: var(--ink); padding: .5rem .9rem; font-size: .9rem; }
.btn-quiet:hover { background: var(--brand-soft); }

.btn-accent { background: var(--accent-text); color: #fff; box-shadow: var(--shadow); }
.btn-accent:hover { filter: brightness(1.08); }

.btn-whatsapp .ico { width: 1.15em; height: 1.15em; }

.linkish {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600;
  color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 68px; padding-block: .55rem;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand img { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: .95rem; letter-spacing: -.012em; }
.brand-text span { font-size: .76rem; color: var(--muted); letter-spacing: .09em; text-transform: uppercase; }

.header-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.header-nav a {
  font-size: .93rem; font-weight: 500; color: var(--muted); text-decoration: none;
  padding-block: .3rem; border-bottom: 2px solid transparent;
}
.header-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.header-nav + .header-actions { margin-left: 0; }

.theme-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease);
}
.theme-toggle:hover { background: var(--brand-soft); border-color: var(--line-strong); }
.theme-toggle .ico { width: 18px; height: 18px; grid-area: 1 / 1; }
.ico-moon { display: none; }
:root[data-theme='dark'] .ico-sun,
:root:not([data-theme='light']) .ico-sun { display: none; }
:root[data-theme='dark'] .ico-moon,
:root:not([data-theme='light']) .ico-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .ico-sun  { display: block; }
  :root:not([data-theme='dark']) .ico-moon { display: none; }
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero::before {
  content: ''; position: absolute; inset: -40% 40% 30% -20%;
  background: radial-gradient(closest-side, var(--brand-soft), transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; right: -12%; top: -18%;
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(closest-side,
    color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  pointer-events: none;
}
/* Single column by default. app.js adds .has-feature once it knows there is a
   next scheduled workshop to show, which is what unlocks the two-column layout. */
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { min-width: 0; max-width: 34ch; }
.hero h1 { text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero-lead {
  margin-top: 1.4rem; font-size: clamp(1.04rem, 1.9vw, 1.2rem);
  color: var(--muted); max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-feature { min-width: 0; display: grid; gap: 1.25rem; }
.hero-feature[hidden] { display: none; }

.hero-shot {
  margin: 0; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lift);
  background: var(--brand-deep);
}
.hero-shot[hidden] { display: none; }
.hero-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Fallback when the next workshop has no cover image — see initHeroFeature(). */
.hero-shot-generated { position: relative; aspect-ratio: 16 / 9; }
.hero-shot-generated svg { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (min-width: 940px) {
  .hero-inner.has-feature { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }
  .hero-copy { max-width: 100%; }
}

/* ------------------------------------------------------------ countdown -- */

.countdown {
  padding: 1.25rem 1.4rem;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.countdown[hidden] { display: none; }
.countdown-label {
  margin: 0 0 .7rem; font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.countdown-for { color: var(--accent-text); }
.countdown-units { display: flex; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.countdown-units li { text-align: left; }
.countdown-units b {
  display: block; font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1; color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.countdown-units span {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.countdown-when { margin: .85rem 0 0; font-size: .9rem; color: var(--muted); }

/* -------------------------------------------------------------- filters -- */

.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem 2.2rem;
  padding-bottom: 1.6rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.filter-group { margin: 0; padding: 0; border: 0; }
.filter-group legend {
  padding: 0 0 .5rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  padding: .42rem .95rem; font: inherit; font-size: .88rem; font-weight: 500;
  color: var(--ink); background: transparent;
  border: 1px solid var(--line-strong); border-radius: 100px; cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease),
              border-color .15s var(--ease);
}
.chip:hover { background: var(--brand-soft); }
.chip.is-active {
  background: var(--brand); color: var(--on-brand);
  border-color: var(--brand); font-weight: 600;
}
.filter-count { margin: 0 0 .1rem auto; font-size: .88rem; color: var(--muted); }

.empty-state { margin-top: 2rem; color: var(--muted); }

/* ---------------------------------------------------------------- cards -- */

.card-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card { scroll-margin-top: 88px; }
.card[hidden] { display: none; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.card.is-open { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }

/* Card artwork ------------------------------------------------------------ */

/* 16:9 to match the cover artwork. The covers carry their title along the right
   edge, so a narrower box would crop the words off. */
.card-art {
  position: relative; aspect-ratio: 16 / 9;
  background: var(--brand-deep); overflow: hidden;
}
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-art-generated { background: linear-gradient(145deg, var(--art-a), var(--art-b)); }
/* Selector is deliberately NOT scoped to .card-art — the hero fallback figure
   reuses the same motifs and would otherwise render with no background. */
[data-motif='brain']     { --art-a: #205878; --art-b: #0F3348; }
[data-motif='code']      { --art-a: #1D4E68; --art-b: #402015; }
[data-motif='cells']     { --art-a: #23617F; --art-b: #14384C; }
[data-motif='lattice']   { --art-a: #1A4B66; --art-b: #26343D; }
[data-motif='blueprint'] { --art-a: #1B4C67; --art-b: #10293A; }
[data-motif='slide']     { --art-a: #245F7A; --art-b: #16303F; }
[data-motif='ship']      { --art-a: #1F5570; --art-b: #3A2A22; }

.card-status {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .75rem; border-radius: 100px;
  font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: rgba(255, 255, 255, .94); color: var(--brand-deep);
  backdrop-filter: blur(6px);
}
.card-status[data-status='open'] { background: var(--accent-text); color: #fff; }
/* Muted on purpose — these must not compete with "registration open". */
.card-status[data-status='planning'] {
  background: rgba(255, 255, 255, .82); color: #40525C; font-weight: 600;
}
.card-status[data-status='members'] { background: #16405A; color: #FFFFFF; }
.card-status[data-status='youtube'] { background: #FFFFFF; color: #0F3348; }
.card-status .dotlive {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  animation: pulse 1.9s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Card body --------------------------------------------------------------- */

.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.4rem; }

.card-series {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: .5rem;
}
.card h3 { color: var(--brand-deep); }
.card-tagline { margin: .4rem 0 0; font-size: .95rem; color: var(--muted); }

.card-meta {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin: 1rem 0 0; padding: 0; list-style: none;
}
.card-meta li {
  padding: .25rem .6rem; font-size: .8rem; font-weight: 500;
  color: var(--brand); background: var(--brand-soft); border-radius: 6px;
}

.card-blurb { margin: 1rem 0 0; font-size: .95rem; color: var(--ink); }

.card-outcome {
  margin: 1rem 0 0; padding: .75rem .9rem;
  font-size: .9rem; color: var(--ink);
  background: var(--brand-soft); border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}
.card-outcome strong {
  display: block;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: .2rem;
}

/* The early-bird figure is the headline; the regular price sits beside it,
   struck through, because the discount is what we are actually offering. */
.fee-lead {
  display: inline-block; margin-right: .45rem;
  font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--accent-text); line-height: 1.1;
}
.fee-was {
  display: inline-block; font-size: .92rem; color: var(--muted);
  text-decoration: line-through; text-decoration-thickness: 1px;
}
.fee-until {
  display: block; margin-top: .1rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--accent-text);
}
.fee-plain { display: block; }
.card-facts .card-note { display: block; margin-top: .35rem; }

.card-note-line {
  margin: .9rem 0 0; padding: .7rem 0 0; border-top: 1px dashed var(--line-strong);
  font-size: .86rem; color: var(--muted);
}
.card-note-line + .card-note-line { margin-top: .4rem; padding-top: 0; border-top: 0; }

.syllabus-note {
  margin: 0 0 .85rem; padding: .5rem .7rem;
  font-size: .84rem; color: var(--muted);
  background: var(--surface-sunk); border-radius: 6px;
}

.card-facts {
  margin: 1.1rem 0 0; padding: .9rem 0 0; border-top: 1px solid var(--line);
  display: grid; gap: .5rem; font-size: .9rem;
}
.card-facts div { display: flex; gap: .6rem; align-items: baseline; }
.card-facts dt {
  flex: none; width: 5.4rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.card-facts dd { margin: 0; }
.card-note { font-size: .85rem; color: var(--muted); }

/* Expandable syllabus ----------------------------------------------------- */

.card-details { margin-top: 1.1rem; border-top: 1px solid var(--line); }
.card-details summary {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .85rem 0 0; cursor: pointer; list-style: none;
  font-size: .9rem; font-weight: 600; color: var(--brand);
}
.card-details summary::-webkit-details-marker { display: none; }
.card-details summary::after {
  content: ''; width: 9px; height: 9px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s var(--ease);
}
.card-details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.card-details summary:hover { color: var(--accent-text); }

.card-details-body { padding-top: .75rem; font-size: .92rem; }
.card-for { color: var(--muted); margin-bottom: .85rem; }
.card-for strong { color: var(--ink); }
.syllabus { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: .5rem; }
.syllabus li {
  counter-increment: s; position: relative; padding-left: 2rem; color: var(--ink);
}
.syllabus li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: .1em;
  font-size: .74rem; font-weight: 700; color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

/* margin-top:auto keeps every CTA on the same baseline across a row */
.card-cta { margin-top: auto; padding-top: 1.35rem; }
.card-cta .btn { width: 100%; justify-content: center; }

/* ------------------------------------------------- combo + refinement -- */

.combo {
  display: grid;
  grid-template-areas: 'art' 'copy' 'price';
  gap: clamp(1.5rem, 3vw, 2.25rem); align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
}
.combo[hidden], .refinement[hidden] { display: none; }
.combo h2 { color: var(--brand-deep); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.combo-copy { grid-area: copy; min-width: 0; }
.combo-copy p { margin-top: .8rem; color: var(--muted); max-width: 54ch; }

.combo-art {
  grid-area: art; margin: 0; min-width: 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--brand-deep);
}
.combo-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Art beside the copy once there is room, then all three across on wide screens. */
@media (min-width: 760px) {
  .combo { grid-template-areas: 'art art' 'copy price'; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
}
@media (min-width: 1080px) {
  .combo {
    grid-template-areas: 'art copy price';
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) minmax(0, .82fr);
  }
}

.combo-includes {
  margin: 1.1rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem;
  font-size: .93rem;
}
.combo-includes li { position: relative; padding-left: 1.6rem; color: var(--ink); }
.combo-includes li::before {
  content: '✓'; position: absolute; left: 0; top: -.05em;
  color: var(--accent-text); font-weight: 700;
}

.combo-price {
  grid-area: price; min-width: 0;
  text-align: center; padding: 1.4rem 1.2rem;
  background: var(--brand-soft); border-radius: var(--radius);
}
.combo-badge {
  margin: 0 0 .3rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
}
.combo-amount {
  margin: 0; font-size: clamp(2.1rem, 4.8vw, 2.9rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1; color: var(--accent-text);
}
.combo-was { margin: .45rem 0 0; font-size: .88rem; color: var(--muted); }
.combo-was s { text-decoration-thickness: 1px; }
.combo-saving { margin: .3rem 0 0; font-size: .84rem; color: var(--muted); }
.combo-price .btn { margin-top: 1.1rem; width: 100%; justify-content: center; }
.combo-note { margin: .8rem 0 0; font-size: .8rem; color: var(--muted); }

.refinement {
  margin-top: 1.5rem; padding: clamp(1.4rem, 3.5vw, 2.2rem);
  background: var(--surface-sunk);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}
.refinement h2 { color: var(--brand-deep); font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.refinement-lead { margin-top: .8rem; color: var(--muted); max-width: 68ch; }
.refinement-points {
  margin: 1.1rem 0 0; padding: 0; list-style: none;
  display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  font-size: .92rem;
}
.refinement-points li { position: relative; padding-left: 1.4rem; color: var(--ink); }
.refinement-points li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ------------------------------------------------------------ value props -- */

.prop-grid {
  display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.prop-grid li {
  padding: 1.5rem 1.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}
.prop-grid h3 { color: var(--brand-deep); margin-bottom: .6rem; font-size: 1.08rem; }
.prop-grid p { font-size: .94rem; color: var(--muted); }

/* ------------------------------------------------------------- membership -- */

.membership {
  display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
}
.membership h2 { color: var(--brand-deep); margin-bottom: 1rem; }
.membership-copy p { color: var(--muted); max-width: 58ch; }
.membership-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.membership-mark img { opacity: .12; width: 180px; }

/* -------------------------------------------------------------------- faq -- */

.faq { display: grid; gap: .6rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--brand-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; font-size: 1.35rem; line-height: 1; color: var(--accent-text);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--brand-soft); }
.faq-answer { padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: .96rem; }

/* ----------------------------------------------------------------- footer -- */

.site-footer { padding: 3rem 0 3.5rem; border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: grid; gap: 1.75rem; }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img { border-radius: 8px; }
.footer-brand strong { display: block; font-size: 1rem; }
.footer-brand p { margin: .15rem 0 0; font-size: .9rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { font-size: .93rem; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-note { font-size: .88rem; color: var(--muted); }
.footer-note .dot { margin: 0 .5rem; opacity: .5; }

/* ----------------------------------------------------------------- motion -- */

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in[style*='--d'] { transition-delay: var(--d); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover { transform: none; }
  .card-status .dotlive { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------- responsive -- */

@media (max-width: 900px) {
  .header-nav { display: none; }
  .membership { grid-template-columns: 1fr; }
  .membership-mark { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 1.75rem, var(--shell)); }
  .brand-text span { display: none; }
  .btn-quiet span { display: none; }
  .btn-quiet { width: 38px; height: 38px; padding: 0; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
  .card-grid { grid-template-columns: 1fr; }
  .countdown-units { gap: 1rem; }
  .filter-count { margin-left: 0; width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}
