/* Rushlight · Sales Page example ($190). Calistoga + Gentium Book Plus; lamp marigold, committed, on candle-wax ivory. */

@font-face { font-family: "Calistoga"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/calistoga-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Calistoga"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/calistoga-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gentium Book Plus"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/gentium-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gentium Book Plus"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/gentium-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gentium Book Plus"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/gentium-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gentium Book Plus"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/gentium-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gentium Book Plus"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/gentium-400i-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gentium Book Plus"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/gentium-400i-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: oklch(98.5% 0.006 85);
  --paper-2: oklch(95.5% 0.016 80);
  --gold: oklch(80% 0.15 76);
  --gold-soft: oklch(88% 0.1 82);
  --gold-deep: oklch(57% 0.135 58);
  --ink: oklch(25% 0.03 55);
  --ink-2: oklch(38% 0.035 58);
  --rule: oklch(25% 0.03 55 / 0.18);
  --rule-strong: oklch(25% 0.03 55 / 0.4);
  --err: oklch(46% 0.16 30);
  --shadow: 0 1px 2px oklch(25% 0.03 55 / 0.12), 0 18px 40px -18px oklch(25% 0.03 55 / 0.35);

  --display: "Calistoga", "Gentium Book Plus", Georgia, serif;
  --text: "Gentium Book Plus", Georgia, "Times New Roman", serif;

  --fs-body: clamp(1.0625rem, 1rem + 0.22vw, 1.1875rem);
  --fs-small: 1rem;
  --fs-h3: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  --fs-h2: clamp(2.05rem, 1.45rem + 2.5vw, 3.6rem);
  --fs-h1: clamp(2.8rem, 1.55rem + 5.3vw, 6.4rem);

  --gutter: clamp(1.125rem, 0.6rem + 2.6vw, 3rem);
  --wrap: 78rem;
  --sp-1: 0.5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2.5rem; --sp-5: 4rem;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms; --t-mid: 320ms; --t-slow: 640ms; --t-load: 900ms;
}

/* Bigger screens: scale the whole rem system so 1920 to 5120 look intended, not tiny. */
@media (min-width: 1800px) { html { font-size: 112.5%; } }
@media (min-width: 2400px) { html { font-size: 137.5%; } }
@media (min-width: 3200px) { html { font-size: 175%; } }
@media (min-width: 4400px) { html { font-size: 225%; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: var(--fs-body); line-height: 1.55;
  font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

.demo-bar { max-width: none; background: var(--ink); color: var(--paper); text-align: center; font-size: 0.95rem; line-height: 1.35; padding: 0.5rem var(--gutter); letter-spacing: 0.01em; }

/* Type */
.h2 { font-family: var(--display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.012em; text-wrap: balance; max-width: 20ch; }
.h3 { font-family: var(--text); font-weight: 700; font-size: var(--fs-h3); line-height: 1.2; }
.kicker { font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.9rem; }
p { max-width: 66ch; text-wrap: pretty; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0.8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--text); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 80ms; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 10px 22px -12px oklch(25% 0.03 55 / 0.6); }
.btn-ink:hover { box-shadow: 0 16px 28px -12px oklch(25% 0.03 55 / 0.7); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-small { min-height: 2.75rem; padding: 0.55rem 1.15rem; font-size: 1rem; }
.btn-wide { width: 100%; }
.text-link { font-weight: 700; min-height: 2.75rem; display: inline-flex; align-items: center; }

/* Masthead */
.masthead { background: var(--gold); }
.masthead-in { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.9rem; }
.wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; font-family: var(--display); font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); line-height: 1; text-decoration: none; letter-spacing: -0.01em; margin-right: auto; }
.topnav ul { display: flex; gap: 0.25rem; }
.topnav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.8rem; text-decoration: none; font-size: 1.0625rem; border-radius: 999px; transition: background-color var(--t-mid) var(--ease); }
.topnav a:hover { background: oklch(25% 0.03 55 / 0.08); }
@media (max-width: 899px) { .topnav { display: none; } }

/* 1 · Hero */
.hero { background: var(--gold); padding-block: clamp(1.5rem, 1rem + 3vw, 4rem) clamp(3rem, 2rem + 4vw, 6rem); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
.eyebrow { font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; margin-bottom: 1.1rem; }
.hero-copy { container-type: inline-size; }
.hero-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 12.4cqi, 6.4rem); line-height: 0.98; letter-spacing: -0.02em; }
.hero-title .ln { display: inline; }
.lede { font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.375rem); line-height: 1.5; margin-top: 1.5rem; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 2.5rem; border-top: 2px solid var(--ink); }
.facts > div { padding: 0.8rem 0.75rem 0.8rem 0; border-bottom: 1px solid var(--rule-strong); }
.facts > div:nth-child(odd) { padding-right: 1rem; }
.facts dt { font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.facts dd { font-family: var(--display); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.45rem); line-height: 1.15; margin-top: 0.2rem; }
.hero-object { mix-blend-mode: multiply; justify-self: end; width: min(64%, 22rem); margin-top: -1rem; }
.hero-object img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 52%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 52%, #000 58%, transparent 100%); }
.hero-object figcaption { font-style: italic; font-size: 1rem; line-height: 1.4; margin-top: 0.6rem; max-width: 30ch; }

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 3vw, 3.5rem); }
  .hero-object { width: 100%; max-width: 30rem; margin-top: 0; }
}
@media (min-width: 960px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts > div { border-bottom: 0; padding-right: 1rem; }
  .facts > div + div { border-left: 1px solid var(--rule-strong); padding-left: 1rem; }
}

/* Page-load choreography (one easing, staggered): text rises, the photo comes up like a lamp being lit. */
@keyframes rise { from { opacity: 0; transform: translateY(0.7em); } to { opacity: 1; transform: none; } }
@keyframes lamp { from { opacity: 0; transform: translateY(18px) scale(1.03); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.load { animation: rise var(--t-load) var(--ease) both; }
.hero-title .ln.load { display: inline-block; }
.l1 { animation-delay: 60ms; } .l2 { animation-delay: 140ms; } .l3 { animation-delay: 230ms; } .l4 { animation-delay: 320ms; }
.l5 { animation-delay: 430ms; } .l6 { animation-delay: 520ms; } .l7 { animation-delay: 610ms; }
.hero-object.load { animation: lamp 1200ms var(--ease) 250ms both; }

/* Scroll reveals (only when the script runs) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* 2 · Stalls + fit */
.stalls { padding-block: var(--section); }
.stall-list { display: grid; gap: 2rem; margin-top: 2.5rem; counter-reset: stall; }
.stall { border-top: 2px solid var(--ink); padding-top: 1rem; }
.stall-mark { font-family: var(--display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.3rem); line-height: 1.1; margin-bottom: 0.6rem; }
@media (min-width: 820px) {
  .stall-list { grid-template-columns: 1fr 1fr 1.35fr; gap: 2.5rem; }
}
.fit { display: grid; gap: 1.5rem; margin-top: var(--sp-5); }
.fit-col { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); border-radius: 18px; }
.fit-yes { background: var(--gold-soft); }
.fit-no { border: 2px solid var(--rule-strong); }
.fit-col ul { margin-top: 1rem; display: grid; gap: 0.75rem; }
.fit-col li { position: relative; padding-left: 2rem; }
.fit-yes li::before { content: ""; position: absolute; left: 0.1rem; top: 0.35em; width: 0.95rem; height: 0.55rem; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }
.fit-no li::before, .fit-no li::after { content: ""; position: absolute; left: 0.15rem; top: 0.72em; width: 1rem; height: 3px; background: var(--ink-2); transform: rotate(45deg); }
.fit-no li::after { transform: rotate(-45deg); }
@media (min-width: 820px) { .fit { grid-template-columns: 1.2fr 1fr; gap: 2rem; } }

/* 3 · Method */
.method { background: var(--paper-2); padding-block: var(--section); }
.method-grid { display: grid; gap: 2.5rem; }
.method-steps { display: grid; gap: 2.5rem; }
.step { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; row-gap: 0.5rem; }
.step-num { grid-row: span 2; font-family: var(--display); font-size: clamp(3.2rem, 2.6rem + 2.4vw, 5rem); line-height: 0.8; color: var(--gold-deep); min-width: 1.1ch; }
.step p { grid-column: 2; }
@media (min-width: 960px) {
  .method-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
  .method-head { position: sticky; top: 2rem; }
}
.section-cta { max-width: none; margin-top: var(--sp-5); font-size: 1.0625rem; font-weight: 700; }
.section-cta a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* 4 · The eight-week map */
.weeks { padding-block: var(--section); }
.weeks-grid { display: grid; gap: 3rem; }
.your-week { display: grid; gap: 0; margin-top: 2rem; border-top: 2px solid var(--ink); }
.your-week li { display: grid; grid-template-columns: 1fr; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.yw-day { font-weight: 700; }
.yw-time { font-family: var(--display); font-size: 1.25rem; line-height: 1.25; }
.yw-what { color: var(--ink-2); }
.miss { margin-top: 1.25rem; font-style: italic; }
@media (min-width: 1100px) {
  .weeks-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
  .weeks-head { position: sticky; top: 2rem; }
}

.map { background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; padding: clamp(1rem, 0.6rem + 1.6vw, 2rem); box-shadow: var(--shadow); }
.map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.map-hint { font-size: 1rem; color: var(--ink-2); max-width: 34ch; }
.map-all { font: 700 1rem/1.2 var(--text); color: var(--ink); background: transparent; border: 2px solid var(--ink); border-radius: 999px; min-height: 2.75rem; padding: 0.4rem 1rem; cursor: pointer; transition: background-color var(--t-mid) var(--ease), transform var(--t-fast) var(--ease); }
.map-all:hover { background: var(--gold-soft); }
.map-all:active { transform: scale(0.97); }
.map-all[aria-pressed="true"] { background: var(--gold); }

.map-body { position: relative; --num: 2.75rem; }
.wick { position: absolute; left: calc(var(--num) / 2 - 1px); top: 1.6rem; bottom: 1.6rem; width: 2px; background: var(--rule); pointer-events: none; }
.wick-fill { position: absolute; inset: 0; background: var(--gold-deep); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform var(--t-slow) var(--ease); }
.flame { position: absolute; left: 50%; top: 0; width: 14px; height: 20px; margin-left: -7px; margin-top: -24px; background: var(--gold); border: 2px solid var(--ink); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform: translateY(var(--y, 0px)); transition: transform var(--t-slow) var(--ease), opacity var(--t-mid) var(--ease); animation: flicker 2.6s ease-in-out infinite alternate; }
@keyframes flicker { 0% { scale: 1 1; } 45% { scale: 0.92 1.06; } 100% { scale: 1.04 0.96; } }
.no-js-wick .wick, html:not(.js) .wick { display: none; }

.week { border-bottom: 1px solid var(--rule); }
.week:last-child { border-bottom: 0; }
.week-h { font: inherit; }
.week-btn {
  position: relative; display: grid; grid-template-columns: var(--num) 1fr auto; grid-template-areas: "num main sign" "num meta sign"; column-gap: 1rem; row-gap: 0.15rem; align-items: center;
  width: 100%; min-height: 4.5rem; padding: 0.9rem 0; background: transparent; border: 0; color: var(--ink); text-align: left; font: inherit; cursor: pointer;
}
.wk-num { grid-area: num; position: relative; z-index: 1; width: var(--num); height: var(--num); display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); font-family: var(--display); font-size: 1.25rem; line-height: 1; transition: background-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease); }
.week.lit .wk-num { background: var(--gold); }
.week-btn:hover .wk-num { transform: scale(1.06); }
.wk-main { grid-area: main; display: grid; }
.wk-date { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.wk-title { font-family: var(--display); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); line-height: 1.15; }
.wk-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; }
.wk-time { font-size: 1rem; color: var(--ink-2); }
.wk-tag { font-size: 0.95rem; font-weight: 700; background: var(--gold); padding: 0.1rem 0.6rem; border-radius: 999px; }
.wk-sign { grid-area: sign; width: 1.25rem; height: 1.25rem; position: relative; }
.wk-sign::before, .wk-sign::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: var(--ink); transition: transform var(--t-mid) var(--ease); }
.wk-sign::after { transform: rotate(90deg); }
.week-btn[aria-expanded="true"] .wk-sign::after { transform: rotate(0deg); }

.week-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--t-mid) var(--ease); }
.week-panel[data-closed] { grid-template-rows: 0fr; }
.week-inner { overflow: hidden; min-height: 0; padding-left: calc(var(--num) + 1rem); }
.week-panel[data-closed] .week-inner { visibility: hidden; transition: visibility 0s linear var(--t-mid); }
.wk-dl { display: grid; gap: 0.75rem; padding-bottom: 1.1rem; }
.wk-dl dt { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.wk-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.wk-note { font-style: italic; margin-bottom: 1rem; }
@media (min-width: 640px) {
  .week-btn { grid-template-columns: var(--num) 1fr auto auto; grid-template-areas: "num main meta sign"; }
  .wk-meta { justify-content: flex-end; text-align: right; max-width: 12rem; }
}
@media (min-width: 640px) {
  .wk-dl { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .wk-dl > div:last-child { grid-column: 1 / -1; }
}

/* 5 · Teacher */
.teacher { background: var(--ink); color: var(--paper); padding-block: var(--section); }
.teacher-grid { display: grid; gap: 2.5rem; align-items: center; }
.bookplate { width: min(64%, 20rem); }
.bp-ring { fill: var(--gold); }
.bp-ring-thin { fill: none; stroke: var(--ink); stroke-width: 2; }
.bp-flame { fill: var(--ink); }
.bp-wick { fill: var(--ink); }
.bp-mono { font-family: var(--display); font-size: 104px; fill: var(--ink); }
.bp-small { font-family: var(--text); font-weight: 700; font-size: 15px; letter-spacing: 0.24em; fill: var(--ink); }
.teacher .kicker { color: var(--gold); }
.made-up { font-style: italic; color: oklch(86% 0.03 80); margin-top: 0.5rem; margin-bottom: 1.25rem; }
.teacher-copy > p { line-height: 1.6; }
.teacher-quote { margin: 2rem 0; padding: 1.5rem 0; border-top: 2px solid var(--gold); border-bottom: 1px solid oklch(97% 0.014 88 / 0.25); }
.teacher-quote p { font-family: var(--display); font-size: clamp(1.4rem, 1.15rem + 0.9vw, 2rem); line-height: 1.25; color: var(--gold); max-width: 30ch; }
.creds { display: grid; gap: 0.6rem; }
.creds li { padding-left: 1.5rem; position: relative; }
.creds li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gold); }
.teacher :focus-visible { outline-color: var(--gold); }
@media (min-width: 900px) {
  .teacher-grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 5rem; }
  .bookplate { width: 100%; max-width: 24rem; justify-self: center; }
}

/* 6 · Voices */
.voices { padding-block: var(--section); }
.voices-note { margin-top: 1rem; color: var(--ink-2); }
.voice-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.voice { background: var(--paper-2); border-radius: 18px; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.voice blockquote p { font-size: 1.1875rem; line-height: 1.5; }
.voice-big blockquote p { font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.25; }
.voice figcaption { margin-top: auto; font-size: 1rem; color: var(--ink-2); border-top: 1px dashed var(--rule-strong); padding-top: 0.75rem; }
.tag { display: inline-block; align-self: flex-start; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--gold); color: var(--ink); }
.tag-ink { background: var(--ink); color: var(--paper); }
.typical { margin-top: 1.25rem; border: 2px solid var(--ink); border-radius: 18px; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); display: grid; gap: 0.75rem; }
.typical .tag { margin-right: 0.5rem; }
@media (min-width: 820px) {
  .voice-grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
  .voice-big { grid-row: span 2; }
  .typical { grid-template-columns: 16rem 1fr; align-items: baseline; }
}

/* 7 · Offer */
.offer { background: var(--gold); padding-block: var(--section); }
.offer-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; align-items: start; }
.inc-list { margin-top: 1.25rem; border-top: 2px solid var(--ink); }
.inc-list li { display: grid; padding: 0.85rem 0; border-bottom: 1px solid var(--rule-strong); }
.inc-what { font-weight: 700; }
.inc-bonus .inc-what::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--ink); margin-right: 0.5rem; vertical-align: 0.1em; }
@media (min-width: 1024px) { .offer-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; } }

.enrol-card { background: var(--paper); border-radius: 24px; padding: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem); box-shadow: var(--shadow); }
.enrol-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); line-height: 1.05; }
.plans { border: 0; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.75rem; }
.plans legend { font-weight: 700; padding: 0; margin-bottom: 0.75rem; }
.plan { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "radio name price" "radio note note"; column-gap: 0.85rem; row-gap: 0.2rem; align-items: center; padding: 1rem 1.1rem; border: 2px solid var(--rule-strong); border-radius: 16px; cursor: pointer; transition: border-color var(--t-mid) var(--ease), background-color var(--t-mid) var(--ease), transform var(--t-fast) var(--ease); }
.plan:hover { border-color: var(--ink); }
.plan:active { transform: scale(0.99); }
.plan:has(input:checked) { border-color: var(--ink); background: var(--gold-soft); }
.plan:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.plan input { grid-area: radio; width: 1.4rem; height: 1.4rem; margin: 0; accent-color: var(--ink); }
.plan input:focus-visible { outline: none; }
.plan-name { grid-area: name; font-weight: 700; }
.plan-price { grid-area: price; font-family: var(--display); font-size: 1.6rem; line-height: 1; }
.plan-price .per { font-family: var(--text); font-size: 1rem; }
.plan-note { grid-area: note; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 479px) {
  .plan { grid-template-columns: auto 1fr; grid-template-areas: "radio name" "radio price" "radio note"; }
  .plan-price { margin-block: 0.15rem; }
}

.field { margin-top: 1.25rem; display: grid; gap: 0.4rem; }
.field label { font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field select, .free-row input {
  width: 100%; min-height: 3.25rem; padding: 0.7rem 0.9rem; border: 2px solid var(--rule-strong); border-radius: 12px;
  background: oklch(99% 0.006 88); color: var(--ink); font: inherit; font-size: max(1.0625rem, 16px);
  transition: border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 0.95rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .free-row input:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .free-row input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--gold); }
.field input[aria-invalid="true"], .free-row input[aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-weight: 700; font-size: 1rem; }
.err:not([hidden]) { animation: rise var(--t-mid) var(--ease) both; }
.zone-note { font-size: 1rem; color: var(--ink-2); }
.field-check { grid-template-columns: auto 1fr; align-items: center; column-gap: 0.75rem; }
.field-check input { appearance: none; width: 2.75rem; height: 2.75rem; margin: 0; border: 2px solid var(--rule-strong); border-radius: 10px; background: oklch(99% 0.006 88) center / 1.4rem no-repeat; cursor: pointer; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.field-check input:hover { border-color: var(--ink); }
.field-check input:checked { background-color: var(--ink); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23f7f1e3' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field-check input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.field-check input[aria-invalid="true"] { border-color: var(--err); }
.field-check label a { padding-block: 0.6rem; }
.field-check label { font-weight: 400; display: block; padding-block: 0.55rem; }
.field-check .err { grid-column: 1 / -1; }
.enrol .btn-wide { margin-top: 1.5rem; min-height: 3.75rem; font-size: 1.125rem; }
.by-button { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 0.9rem; font-size: 1rem; }
.by-button li { position: relative; padding-left: 1rem; }
.by-button li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold-deep); }
.example-note { margin-top: 0.75rem; font-size: 1rem; font-style: italic; color: var(--ink-2); }
.enrol-done { display: grid; gap: 1rem; }
.enrol-done[hidden] { display: none; }
.enrol-done:focus { outline: none; }
.enrol-done:not([hidden]) { animation: rise var(--t-slow) var(--ease) both; }
.done-dl { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.done-dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.done-dl dt { font-weight: 700; }
.enrol-done .btn { justify-self: start; }

/* 8 · Guarantee */
.guarantee { background: var(--paper); padding-block: var(--section); }
.ticket { background: var(--ink); color: var(--paper); border-radius: 26px; padding: clamp(1.5rem, 1rem + 3vw, 4.5rem); position: relative; outline: 2px dashed var(--gold); outline-offset: -14px; }
.ticket .kicker { color: var(--gold); }
.ticket .h2 { color: var(--gold); max-width: 16ch; }
.g-lede { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); margin-top: 1.25rem; max-width: 46ch; }
.ticket .h3 { margin-top: 2.25rem; }
.terms { counter-reset: t; display: grid; gap: 0.8rem; margin-top: 1rem; max-width: 62ch; }
.terms li { counter-increment: t; display: grid; grid-template-columns: 2rem 1fr; }
.terms li::before { content: counter(t); font-family: var(--display); color: var(--gold); font-size: 1.25rem; line-height: 1.3; }
.sign { font-family: var(--display); font-size: 2.2rem; color: var(--gold); margin-top: 2rem; transform: rotate(-4deg); transform-origin: left; display: inline-block; }
.ticket a { color: var(--gold); }

/* 9 · FAQ */
.faq { padding-block: 0 var(--section); }
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 4rem; } }
.faq-list { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--rule-strong); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; min-height: 3.75rem; padding: 0.75rem 0; font-weight: 700; font-size: 1.125rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 0.7rem; height: 0.7rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform var(--t-mid) var(--ease); margin-right: 0.3rem; }
.qa[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.qa summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.qa-a { padding: 0 2rem 1.25rem 0; }
.qa[open] .qa-a { animation: rise var(--t-mid) var(--ease) both; }

/* 10 · Last call */
.last { background: var(--paper-2); padding-block: var(--section); }
.last-grid { display: grid; gap: 3rem; align-items: end; }
.free-copy > p { margin-top: 1rem; }
.free-form { margin-top: 1.75rem; display: grid; gap: 0.5rem; max-width: 36rem; }
.free-form label { font-weight: 700; }
.free-row { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .free-row { grid-template-columns: 1fr auto; } }
.free-done { margin-top: 1.75rem; display: grid; gap: 0.75rem; max-width: 36rem; }
.free-done[hidden] { display: none; }
.free-done:not([hidden]) { animation: rise var(--t-slow) var(--ease) both; }
.free-done:focus { outline: none; }
.free-done-line { font-size: 1.1875rem; }
.last-call { background: var(--gold); border-radius: 24px; padding: clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; gap: 1.25rem; justify-items: start; }
.lc-line { font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.3rem); line-height: 1.15; }
@media (min-width: 960px) { .last-grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding-block: 3.5rem 7rem; }
.footer-grid { display: grid; gap: 1rem; }
.wordmark-foot { font-family: var(--display); font-size: 2.2rem; color: var(--gold); }
.concept { font-size: 1.0625rem; }
.credits { font-size: 0.875rem; line-height: 1.5; color: oklch(86% 0.02 80); max-width: 80ch; }
@media (min-width: 1024px) { .footer { padding-bottom: 3.5rem; } }

/* Sticky enrol: a bar on phones and tablets, a small card on desktop. Hidden over the hero and the offer. */
.sticky-enrol {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--paper); box-shadow: 0 0 0 1.5px oklch(80% 0.15 76 / 0.7), 0 -10px 30px -12px oklch(25% 0.03 55 / 0.45);
  transition: transform var(--t-slow) var(--ease), opacity var(--t-mid) var(--ease), visibility 0s;
}
.se-text { display: grid; line-height: 1.25; }
.se-when { font-family: var(--display); font-size: 1.15rem; color: var(--gold); }
.se-price { font-size: 1rem; }
.sticky-enrol .btn { min-height: 3rem; padding-inline: 1.6rem; }
.sticky-enrol :focus-visible { outline-color: var(--gold); }
.js .sticky-enrol:not(.show) { transform: translateY(calc(100% + 3rem)); opacity: 0; visibility: hidden; transition: transform var(--t-slow) var(--ease), opacity var(--t-mid) var(--ease), visibility 0s linear var(--t-slow); }
@media (min-width: 1024px) {
  .sticky-enrol { left: auto; right: 1.5rem; bottom: 1.5rem; border-radius: 20px; padding: 0.75rem 0.75rem 0.75rem 1.25rem; gap: 1.25rem; }
}

/* 404 */
.nf { min-height: 70vh; background: var(--gold); display: grid; align-content: center; padding-block: 4rem; }
.nf .h2 { max-width: 16ch; }
.nf p { margin-top: 1rem; }
.nf .btn { margin-top: 1.75rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .flame { animation: none; }
}
.enrol-done .tag, .free-done .tag { justify-self: start; }

/* "Your week" strip: seven days, the bar height is the time that day asks for; the bars fill in when it comes into view. */
.week-strip { margin-top: 2rem; }
.ws-title { font-weight: 700; margin-bottom: 0.75rem; }
.ws-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; }
.ws-days li { display: grid; grid-template-rows: auto 5.5rem auto; justify-items: center; row-gap: 0.35rem; --h: 0%; }
.ws-d { grid-row: 1; font-size: 0.95rem; font-weight: 700; }
.ws-l { grid-row: 3; font-size: 0.95rem; }
.ws-days li::before { content: ""; grid-row: 2; align-self: end; width: 100%; height: var(--h); border-radius: 10px 10px 4px 4px; background: var(--gold); transform-origin: bottom; transition: transform var(--t-slow) var(--ease); }
.ws-live { --h: 100% !important; }
.ws-live::before { background: var(--ink) !important; }
.ws-write { --h: 42% !important; }
.ws-circle { --h: 34% !important; }
.ws-circle::before { background: var(--gold-deep) !important; }
.ws-off::before { height: 3px !important; background: var(--rule-strong) !important; }
.js .week-strip:not(.in) li::before { transform: scaleY(0); }
.ws-days li:nth-child(2)::before { transition-delay: 80ms; }
.ws-days li:nth-child(3)::before { transition-delay: 160ms; }
.ws-days li:nth-child(4)::before { transition-delay: 220ms; }
.ws-days li:nth-child(5)::before { transition-delay: 280ms; }
.ws-days li:nth-child(6)::before { transition-delay: 340ms; }
.ws-days li:nth-child(7)::before { transition-delay: 420ms; }
.week-strip + .your-week { margin-top: 1.5rem; }

/* Small stagger inside groups that reveal together */
.stall:nth-child(2), .step:nth-child(2), .voice:nth-child(2), .fit-no { transition-delay: 90ms; }
.stall:nth-child(3), .step:nth-child(3), .voice:nth-child(3) { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) { .js .week-strip:not(.in) li::before { transform: none; } }

/* The pay button answers a change of plan with a small nudge (its label re-prices). */
@keyframes nudge { from { transform: translateY(4px) scale(0.985); } to { transform: none; } }
.btn.nudge { animation: nudge var(--t-mid) var(--ease); }

[tabindex="-1"]:focus { outline: none; }
