/* Layout: a single reading column (~68ch) with full-bleed tinted bands for key sections.
   Palette: sage-tinted paper, deep green ink, bottle-green accent, saffron highlight. */
:root {
  --paper: #f2f3ec;
  --paper-2: #e6e9dd;
  --ink: #18221f;
  --ink-soft: #4a5752;
  --rule: #c9cfc0;
  --accent: #1e5a50;
  --accent-ink: #f2f3ec;
  --highlight: #d99a2b;
  --seat-empty: #d3d8c9;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --measure: 68ch;
  --wide: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121a18; --paper-2: #1a2522; --ink: #e8ebe2; --ink-soft: #a7b2ab;
    --rule: #2f3d39; --accent: #6fbfae; --accent-ink: #0e1614; --highlight: #e8b04e;
    --seat-empty: #2c3a36; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121a18; --paper-2: #1a2522; --ink: #e8ebe2; --ink-soft: #a7b2ab;
  --rule: #2f3d39; --accent: #6fbfae; --accent-ink: #0e1614; --highlight: #e8b04e;
  --seat-empty: #2c3a36; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 32px; } }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1rem; }
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band { background: var(--paper-2); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 56ch; }
.stack { display: grid; gap: 1.25rem; }
.head { display: grid; gap: .9rem; margin-bottom: 2.5rem; max-width: var(--measure); }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); position: sticky; top: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.wordmark { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.wordmark em { font-style: italic; color: var(--accent); }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); color: var(--ink); border-radius: 6px; padding: .4rem .7rem; font: inherit; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 1rem 16px 1.5rem; border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font: 600 1rem var(--font-body); text-decoration: none; border: 2px solid var(--accent); cursor: pointer; transition: transform .15s, background .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn:hover { transform: translateY(-1px); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Hero */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { margin-top: 1.5rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.3fr 1fr; } }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .95rem; color: var(--ink-soft); padding: 0; list-style: none; }
.facts li::before { content: "·"; color: var(--highlight); font-weight: 700; margin-right: .5rem; }

/* Session card (signature) */
.session { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 1.4rem; display: grid; gap: .9rem; min-width: 0; }
.band .session { background: var(--paper); }
.hero .session { box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.session-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.session h3 { font-size: 1.35rem; }
.session h3 small { display: block; font: 400 .95rem var(--font-body); color: var(--ink-soft); margin-top: .25rem; }
.level { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); justify-self: start; }
.seats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(3px, 1.2vw, 6px); max-width: 20rem; }
.seat { aspect-ratio: 1; max-width: 100%; border-radius: 50% 50% 6px 6px; background: var(--seat-empty); }
.seat.taken { background: var(--accent); }
.seat.open { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--highlight); }
.seat-note { font-size: .88rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.seat-note strong { color: var(--ink); }
.sessions { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.example-tag { font-size: .8rem; color: var(--ink-soft); font-style: italic; margin-top: 1.25rem; }

/* Sound familiar */
.gripes { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); border-top: 1px solid var(--rule); }
.gripes li { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--ink-soft); }
.gripes li::before { content: "“"; color: var(--highlight); margin-right: .15rem; font-style: normal; }
.gripes li::after { content: "”"; color: var(--highlight); }

/* Comparison */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 34rem; }
.compare th, .compare td { text-align: left; padding: 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font: 600 .8rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.compare thead th:last-child { color: var(--accent); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td:nth-child(2) { color: var(--ink-soft); }
.compare td:last-child { font-weight: 500; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: .5rem; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 2.6rem; color: var(--highlight); line-height: 1; }
.steps p { color: var(--ink-soft); }

/* Books */
.books { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); border-top: 2px solid var(--ink); }
.book { padding: 1.4rem 1.2rem 1.4rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .35rem; align-content: start; min-width: 0; }
.book h3 { font-style: italic; font-weight: 500; }
.book .by { font-size: .9rem; color: var(--ink-soft); }
.book .q { margin-top: .5rem; font-size: .98rem; }
.book .q::before { content: "Opening question — "; display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }

/* Levels */
.levels { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.level-card { border-top: 4px solid var(--accent); padding-top: 1.1rem; display: grid; gap: .6rem; align-content: start; }
.level-card .depth { display: flex; gap: 4px; }
.level-card .depth span { width: 26px; height: 6px; border-radius: 3px; background: var(--seat-empty); }
.level-card .depth span.on { background: var(--highlight); }
.level-card p { color: var(--ink-soft); }
.level-card blockquote { margin: .4rem 0 0; font-family: var(--font-display); font-style: italic; color: var(--ink); }

/* Split */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.checklist li { padding-left: 1.8rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--highlight); }

/* Price & promise */
.price { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.promise { font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.35; border-left: 3px solid var(--highlight); padding-left: 1.4rem; }
.cases { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2.5rem; }
.cases > div { display: grid; gap: .5rem; align-content: start; }
.cases p { color: var(--ink-soft); }

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(1.4rem, 4vw, 2.4rem); display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label, fieldset legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule); border-radius: 8px; padding: .7rem .85rem; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
textarea { min-height: 6rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.radios label { display: inline-flex; gap: .45rem; align-items: center; border: 1.5px solid var(--rule); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; font-weight: 500; }
.radios input { accent-color: var(--accent); }
.radios label:has(input:checked) { border-color: var(--accent); color: var(--accent); }
.two { display: grid; gap: 1.2rem; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }
.form-status { font-weight: 500; }
.form-status.error { color: #b3261e; }
.thanks { display: grid; gap: .6rem; }
.thanks h3 { color: var(--accent); }
.small { font-size: .85rem; color: var(--ink-soft); }

.slots { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: .5rem; align-items: center; }
.slots.slots-genres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.slots-genres .slot span { height: 100%; display: flex; align-items: center; justify-content: center; line-height: 1.25; }
.slot-day { font-size: .9rem; font-weight: 600; color: var(--ink-soft); padding-right: .25rem; }
.slot { position: relative; cursor: pointer; align-self: stretch; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot span { display: block; text-align: center; padding: .6rem .3rem; border: 1.5px solid var(--rule); border-radius: 10px; font-size: .9rem; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.slot:hover span { border-color: var(--accent); }
.slot input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.slot input:focus-visible + span { outline: 3px solid var(--highlight); outline-offset: 2px; }
.link-btn { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 520px) {
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot-day { grid-column: 1 / -1; padding-top: .25rem; }
  .slots.slots-genres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot span { font-size: .8rem; padding: .55rem .15rem; }
}

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); padding-block: 1.1rem; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .7rem; color: var(--ink-soft); }

/* Name note */
.name-note { display: grid; gap: 1rem; max-width: 46rem; }
.name-note .greek { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-style: italic; color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 2.5rem; font-size: .92rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }
