/* ==========================================================================
   The Golden Space, "A Quieter Mind" landing page
   --------------------------------------------------------------------------
   Colour system: exactly three hex codes. Everything else is a tint of them,
   derived with color-mix(), so no fourth colour ever enters the page.

     #101E2E  navy    #F7F3EC  cream    #B8860B  gold

   Rule 1  cream section  -> navy text
   Rule 2  navy section   -> cream text
   Rule 3  every button   -> gold background + navy text

   Contrast note: gold on cream measures 2.94:1, which fails WCAG AA for text.
   Gold therefore never appears as text on cream. On cream it is only ever a
   button fill (navy on gold = 5.17:1) or a decorative, aria-hidden mark.
   Gold as text lives only on navy (5.17:1), i.e. the price and the stat numbers.

   Radius system (locked): buttons and pills = 999px. Images and panels = 10px.
   Everything else = 0.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --navy: #101E2E;
  --cream: #F7F3EC;
  --gold: #B8860B;

  /* derived tints, never new hues */
  --cream-deep:  color-mix(in srgb, var(--navy) 4%,  var(--cream));
  --navy-muted:  color-mix(in srgb, var(--navy) 62%, transparent);
  --navy-line:   color-mix(in srgb, var(--navy) 13%, transparent);
  --navy-faint:  color-mix(in srgb, var(--navy) 6%,  transparent);
  --cream-muted: color-mix(in srgb, var(--cream) 66%, transparent);
  --cream-line:  color-mix(in srgb, var(--cream) 16%, transparent);
  --navy-deep:   color-mix(in srgb, #000 14%, var(--navy));

  --font-display: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Karla", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --r-panel: 10px;
  --r-pill: 999px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 68px;

  /* set per band, used by focus rings and links */
  --ink: var(--navy);
  --focus: var(--navy);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.028em; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--navy); }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -110%);
  z-index: 100;
  background: var(--gold); color: var(--navy);
  padding: .7rem 1.25rem; border-radius: 0 0 var(--r-panel) var(--r-panel);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ---------- layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell-narrow { max-width: 820px; }

main > section { padding-block: var(--section-y); position: relative; }
main > section[id],
#main { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ---------- bands ---------- */
.band-navy       { background: var(--navy);       color: var(--cream); --ink: var(--cream); --focus: var(--gold); }
.band-cream      { background: var(--cream);      color: var(--navy);  --ink: var(--navy);  --focus: var(--navy); }
.band-cream-deep { background: var(--cream-deep); color: var(--navy);  --ink: var(--navy);  --focus: var(--navy); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: var(--navy-muted);
}
.band-navy .eyebrow { color: var(--cream-muted); }

h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.95rem, 3.5vw, 3rem);
  line-height: 1.08;
  max-width: 18ch;
}
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  padding: .95rem 1.9rem;
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--navy) 55%, transparent);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--navy) 60%, transparent);
}
.btn:active { transform: translateY(1px); box-shadow: 0 4px 12px -8px color-mix(in srgb, var(--navy) 55%, transparent); }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.btn-sm { padding: .62rem 1.2rem; font-size: .875rem; }
.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.0625rem; }
.btn-xl {
  padding: 1.3rem 3rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  gap: .9rem;
}
.btn-note {
  font-weight: 700;
  font-size: 1.1em;
  padding-left: .9rem;
  border-left: 1px solid color-mix(in srgb, var(--navy) 30%, transparent);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--navy) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-line);
  color: var(--cream);
  --focus: var(--gold);
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
}
.site-header.is-pinned { transform: translateY(0); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

/* Brand logo in header */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  --focus: var(--gold);
}
.brand-logo {
  display: block;
  height: clamp(36px, 5vw, 46px);
  width: auto;
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--navy); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ==========================================================================
   HERO  |  asymmetric split, image bleeds to the right edge
   ========================================================================== */
.hero {
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3.5rem, 6vw, 5rem);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-copy { max-width: 34rem; }
.hero-deck {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 1.35rem;
  color: var(--cream);
}
.hero-body {
  margin-top: 1.1rem;
  max-width: 40ch;
  color: var(--cream-muted);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-top: 2rem;
  font-size: .9375rem;
  color: var(--cream-muted);
}
.hero-meta li { padding-inline: 1.15rem; }
.hero-meta li:first-child { padding-left: 0; }
.hero-meta li + li { border-left: 1px solid var(--cream-line); }
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.price-was { text-decoration: line-through; opacity: .8; margin-left: .35rem; }
.hero-cta { margin-top: 2.4rem; }

.hero-media {
  position: relative;
  border-radius: var(--r-panel);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 68% 50%;
}
/* soften the join between photo and navy field, without shading her face */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, var(--navy) 0%, transparent 30%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: clamp(3rem, 9vw, 4rem); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-media { order: 2; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-media::after { background: linear-gradient(180deg, var(--navy) 0%, transparent 30%); }
}

/* Below this width the meta row wraps, and a wrapped item would carry its
   divider to the start of a new line. Stack it instead. */
@media (max-width: 620px) {
  .hero-meta { display: grid; gap: .3rem; justify-items: start; }
  .hero-meta li { padding-inline: 0; }
  .hero-meta li + li { border-left: 0; }
  .hero-meta li:first-child { margin-bottom: .35rem; }
}

/* ==========================================================================
   WHO THIS IS FOR  |  two-column split with a single hairline between
   ========================================================================== */
.who-split {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.who-item + .who-item { border-left: 1px solid var(--navy-line); padding-left: clamp(2rem, 5vw, 4.5rem); }
.who-item h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.who-item p { margin-top: .75rem; color: var(--navy-muted); max-width: 30ch; }

@media (max-width: 760px) {
  .who-split { grid-template-columns: 1fr; gap: 2rem; }
  .who-item + .who-item {
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--navy-line); padding-top: 2rem;
  }
}

/* ==========================================================================
   YOU MAY NOTICE YOURSELF  |  statement list that drifts further right,
   the shape of a thought spiralling outward
   ========================================================================== */
.notice-intro {
  margin-top: 1.5rem;
  max-width: 46ch;
  color: var(--navy-muted);
}
.spiral { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.spiral li {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.3vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -0.022em;
  padding-block: clamp(.7rem, 1.4vw, 1.05rem);
}
.spiral li::before {
  content: "";
  flex: none;
  width: clamp(1.5rem, 3vw, 2.75rem);
  height: 1px;
  background: var(--navy);
  transform: translateY(-.45em);
}
.spiral li:nth-child(2) { margin-left: clamp(0rem, 2vw, 2.25rem); }
.spiral li:nth-child(3) { margin-left: clamp(0rem, 4vw, 4.5rem); }
.spiral li:nth-child(4) { margin-left: clamp(0rem, 6vw, 6.75rem); }
.spiral li:nth-child(5) { margin-left: clamp(0rem, 8vw, 9rem); }

@media (max-width: 760px) {
  .spiral li:nth-child(n) { margin-left: 0; }
}

/* ==========================================================================
   THE TURN  |  signature. The sentence stacks on itself the way a thought
   does at 2am, then resolves into a single solid line.
   ========================================================================== */
.turn { padding-block: clamp(6rem, 13vw, 12rem); }
.loop {
  max-width: 22ch;
  font-size: clamp(2.15rem, 4.9vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: -0.038em;
}
.loop-stack { position: relative; display: block; }
.loop-real { position: relative; display: block; color: var(--cream); }
.loop-ghost {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--cream);
  opacity: .18;
  will-change: transform;
}
.loop-ghost:nth-child(1) { animation: drift-a 13s var(--ease) infinite alternate; }
.loop-ghost:nth-child(2) { animation: drift-b 17s var(--ease) infinite alternate; opacity: .12; }
.loop-ghost:nth-child(3) { animation: drift-c 21s var(--ease) infinite alternate; opacity: .07; }

@keyframes drift-a { from { transform: translate(-.16em, -.1em); } to { transform: translate(.1em, .07em); } }
@keyframes drift-b { from { transform: translate(.2em, .12em); }   to { transform: translate(-.12em, -.08em); } }
@keyframes drift-c { from { transform: translate(-.05em, .2em); }  to { transform: translate(.18em, -.14em); } }

.loop-resolve {
  display: block;
  margin-top: .35em;
  color: var(--cream);
  font-weight: 800;
}

/* ==========================================================================
   WHAT HAPPENS WHEN THINGS SLOW DOWN  |  2x2, hairlines only, no cards
   ========================================================================== */
.slow-intro { margin-top: 1.5rem; color: var(--navy-muted); }
.shifts {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--navy-line);
}
.shifts li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--navy-line);
}
.shifts li:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--navy-line); }
.shifts li:nth-child(even) { padding-right: 0; }
.shifts i {
  flex: none;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--gold);
}
.shifts p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.slow-close {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 52ch;
  color: var(--navy-muted);
  font-size: 1.0625rem;
}

@media (max-width: 760px) {
  .shifts { grid-template-columns: 1fr; }
  .shifts li:nth-child(odd) { border-right: 0; }
  .shifts li { padding-inline: 0; }
}

/* ==========================================================================
   GUIDED MEDITATION  |  image left, copy right
   ========================================================================== */
.class-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.class-media { border-radius: var(--r-panel); overflow: hidden; }
.class-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.class-copy h2 { margin-bottom: 1.25rem; }
.class-copy p { color: var(--navy-muted); max-width: 38ch; margin-bottom: 2rem; }

@media (max-width: 860px) {
  .class-grid { grid-template-columns: 1fr; }
  .class-copy p { max-width: none; }
}

/* ==========================================================================
   RESEARCH  |  grouped by trial length, because the timeframe is the story
   ========================================================================== */
.stat-groups {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.stat-group + .stat-group { border-left: 1px solid var(--cream-line); padding-left: clamp(2rem, 5vw, 4rem); }
.stat-period {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream-line);
}
.stat-group dl { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6.2vw, 5rem);
  line-height: .92;
  letter-spacing: -0.045em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat dd {
  margin: .55rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: -0.015em;
  color: var(--cream);
}
.source {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 62ch;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--cream-muted);
}

@media (max-width: 760px) {
  .stat-groups { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat-group + .stat-group {
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--cream-line); padding-top: 2.5rem;
  }
}

/* ==========================================================================
   TESTIMONIALS  |  staggered trio on desktop, scroll-snap rail on mobile
   ========================================================================== */
.voices-rail {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  align-items: start;
}
.voice {
  background: var(--cream);
  border: 1px solid var(--navy-line);
  border-radius: var(--r-panel);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
}
.band-cream .voice { background: var(--cream-deep); }
.voices-rail .voice:nth-child(2) { margin-top: clamp(1rem, 3vw, 3rem); }
.voices-rail .voice:nth-child(3) { margin-top: clamp(.5rem, 1.5vw, 1.4rem); }

.voice-mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.75rem;
  line-height: .6;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.voice blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.42;
  letter-spacing: -0.018em;
}
.voice figcaption {
  margin-top: 1.35rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy-muted);
}

@media (max-width: 860px) {
  .voices-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    padding-bottom: .75rem;
  }
  .voices-rail .voice {
    flex: 0 0 min(78%, 20rem);
    scroll-snap-align: start;
    margin-top: 0 !important;
  }
}

/* ==========================================================================
   DATES  |  selectable rows, one hairline between each
   ========================================================================== */
.dates-intro { margin-top: 1.5rem; max-width: 58ch; color: var(--navy-muted); }

.date-list {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--navy-line);
}
.date-row {
  position: relative;
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) 10.5rem 2rem;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.15rem 1.15rem 1.35rem;
  border-bottom: 1px solid var(--navy-line);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.date-row:hover { background: var(--navy-faint); }
.date-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
.date-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.date-when b { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; font-size: 1.05rem; }
.date-name { font-weight: 500; }
.date-time { color: var(--navy-muted); font-size: .9375rem; white-space: nowrap; }
.date-state { justify-self: end; color: var(--gold); font-size: 1.15rem; opacity: 0; transition: opacity .25s var(--ease); }

.date-row:has(input:checked) { background: var(--navy-faint); }
.date-row:has(input:checked)::before { transform: scaleY(1); }
.date-row:has(input:checked) .date-state { opacity: 1; }
.date-row:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }

/* Sold-out rows (Milestone 2): visible for social proof, but not selectable. */
.date-row.is-sold-out {
  cursor: not-allowed;
  opacity: .55;
}
.date-row.is-sold-out:hover { background: transparent; }
.date-row.is-sold-out .date-when b,
.date-row.is-sold-out .date-name { text-decoration: line-through; text-decoration-thickness: 1px; }
/* The sold-out badge sits pinned to the right edge so it never has to fit the
   narrow check-icon column; the row keeps its exact original grid. */
.date-state.date-soldout {
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  color: var(--navy-muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Empty / coming-soon state (Milestone 2, rule F1). */
.dates-empty {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--navy-line);
  text-align: center;
}
.dates-empty p {
  margin: 0;
  color: var(--navy-muted);
  font-size: 1.0625rem;
}

/* ============================================================
   Booking popup / modal (Milestone 2.1)
   ============================================================ */
.tgs-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.tgs-modal[hidden] { display: none; }

.tgs-modal-overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--navy) 72%, transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  animation: tgsFade .22s var(--ease) forwards;
}

.tgs-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 40rem;
  max-height: min(85vh, 44rem);
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: 14px;
  box-shadow: 0 24px 64px -12px color-mix(in srgb, var(--navy) 55%, transparent);
  overflow: hidden;
  transform: translateY(10px) scale(.985);
  opacity: 0;
  animation: tgsPop .26s var(--ease) forwards;
}

.tgs-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--navy-line);
  background: var(--cream);
  flex: none;
}
.tgs-modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.tgs-modal-close {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--navy-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.tgs-modal-close:hover { background: var(--navy-faint); color: var(--navy); }
.tgs-modal-close:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.tgs-modal-body {
  padding: 0.5rem 1.35rem 1.35rem;
  overflow-y: auto;
}
/* Inside the modal the list has no top border/margin (the head provides it). */
.tgs-modal-body .date-list { margin-top: .5rem; border-top: 0; }
.tgs-modal-body .dates-foot { margin-top: 1.5rem; }
.tgs-modal-body .dates-empty { border-top: 0; padding: 2rem 0; }

/* Lock background scroll when the modal is open. */
body.tgs-modal-open { overflow: hidden; }

@keyframes tgsFade { to { opacity: 1; } }
@keyframes tgsPop { to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .tgs-modal-overlay,
  .tgs-modal-dialog { animation-duration: .01ms; }
}

.dates-foot {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.dates-note { font-size: .9375rem; color: var(--navy-muted); }
.dates-alt { margin-top: 1.75rem; font-size: .9375rem; color: var(--navy-muted); }
.dates-alt a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--navy-line);
  padding-bottom: 1px;
}
.dates-alt a:hover { border-bottom-color: var(--navy); }
.dates-alt i { font-size: .85em; vertical-align: -1px; }

@media (max-width: 760px) {
  .date-row {
    grid-template-columns: 1fr 1.75rem;
    gap: .3rem 1rem;
    padding: 1.15rem 1.1rem 1.15rem 1.1rem;
  }
  .date-when { grid-column: 1; }
  .date-state { grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-self: end; }
  .date-name { grid-column: 1; }
  .date-time { grid-column: 1; }
  /* Keep the sold-out badge from hugging the edge on mobile too. */
  .date-state.date-soldout { right: 1.1rem; }
}

/* Inside the modal specifically, give rows a touch more right room so the
   check never crowds the rounded highlight/edge on narrow screens. */
.tgs-modal-body .date-row {
  padding-right: 1.15rem;
}
.tgs-modal-body .date-state {
  margin-right: .15rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.accordion { margin-top: clamp(2.25rem, 4vw, 3rem); border-top: 1px solid var(--navy-line); }
.acc-item h3 { margin: 0; font-size: inherit; letter-spacing: normal; }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--navy-line);
  padding: 1.4rem 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  letter-spacing: -0.018em;
  line-height: 1.35;
  cursor: pointer;
}
.acc-trigger i { flex: none; font-size: 1.15rem; transition: transform .3s var(--ease); }
.acc-trigger[aria-expanded="true"] { border-bottom-color: transparent; }
.acc-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.acc-trigger:hover { color: var(--navy-muted); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  border-bottom: 1px solid var(--navy-line);
  transition: grid-template-rows .35s var(--ease);
}
.acc-panel[hidden] { display: none; }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner p {
  padding: 0 0 1.75rem 0;
  max-width: none;
  color: var(--navy-muted);
}

/* ==========================================================================
   FINAL CTA + FOOTER
   ========================================================================== */
.final { text-align: center; padding-block: clamp(5rem, 11vw, 10rem); }
.final h2 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  line-height: 1.14;
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
  color: var(--cream-muted);
  font-weight: 600;
}
/* the second line is the ask, so it carries the weight */
.final-em { color: var(--cream); font-weight: 800; }

.site-footer { padding-block: 3rem; border-top: 1px solid var(--cream-line); }
.footer-inner { display: grid; gap: .4rem; }
.footer-inner .wordmark { font-size: 1.05rem; margin-bottom: .35rem; }
.footer-logo { display: block; height: 58px; width: auto; margin-bottom: .6rem; }
.footer-line { font-size: .875rem; color: var(--cream-muted); }

/* ==========================================================================
   MOTION
   Each animation earns its place:
   - hero + section reveals: pace the read, land the eye on the CTA
   - loop drift: shows rumination, it is the point of that section
   - button lift / press: feedback
   - accordion + date rows: state transition
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .loop-ghost { animation: none; }
  .site-header { transition: none; }
}

