:root {
  --ground: #030F0C;
  --ink: #F4F1E1;
  --ink-2: #BFD0C4;
  --accent: #C6EE7A;
  --focus: #C6EE7A;

  --font-you: "Alegreya Sans", "Gill Sans", "Trebuchet MS", system-ui, sans-serif;
  --font-her: "Gambetta", Georgia, "Times New Roman", serif;

  --size-hero-you: clamp(1.5rem, 3.2vw, 2.375rem);
  --size-hero-her: clamp(2.125rem, 5vw, 3.625rem);
  --size-heading: clamp(1.875rem, 4.2vw, 3.125rem);
  --size-line-you: clamp(1.125rem, 1.9vw, 1.375rem);
  --size-line-her: clamp(1.3125rem, 2.2vw, 1.625rem);
  --size-body: clamp(1.0625rem, 1.5vw, 1.1875rem);
  --size-small: 1rem;
  --size-speaker: 1.0625rem;

  --gutter: clamp(20px, 4.6vw, 56px);
  --page-max: 1180px;
  --band-y: clamp(64px, 10vw, 136px);
  --text-max: 31rem;
  --target: 48px;
  --header-h: 72px;

  --blob-a: 52% 48% 56% 44% / 46% 55% 45% 54%;
  --blob-b: 58% 42% 47% 53% / 52% 44% 56% 48%;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --t-hover: 120ms;
  --t-reveal: 600ms;
  --rise: 14px;
}

@font-face { font-family: "Alegreya Sans"; src: url("fonts/alegreya-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("fonts/alegreya-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gambetta"; src: url("fonts/gambetta-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-you);
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ol, dl, dt, dd { margin: 0; padding: 0; }
ol { list-style: none; }
a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

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

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
main, .site-footer { position: relative; z-index: 1; }
.pause {
  position: fixed;
  right: 12px;
  bottom: 10px;
  z-index: 4;
  padding: 0 14px;
  border-radius: var(--blob-b);
  background: var(--ground);
  color: var(--ink-2);
  font-size: var(--size-small);
}

.skip { position: absolute; left: -9999px; top: 8px; z-index: 5; padding: 12px 16px; background: var(--ground); color: var(--ink); }
.skip:focus { left: 8px; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark { display: inline-flex; align-items: baseline; min-height: var(--target); padding-top: 8px; text-decoration: none; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wordmark__vo { font-size: 1.875rem; font-weight: 500; letter-spacing: -0.01em; }
.wordmark__cux { margin-left: 1px; font-family: var(--font-her); font-style: italic; font-size: 2.0625rem; }
.wordmark--small { min-height: 0; padding-top: 0; }
.wordmark--small .wordmark__vo { font-size: 1.375rem; }
.wordmark--small .wordmark__cux { font-size: 1.5rem; }

.text-link { display: inline-flex; align-items: center; min-height: var(--target); transition: color var(--t-hover) var(--ease); }
.text-button {
  min-height: var(--target);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--t-hover) var(--ease);
}
.text-button:hover { color: var(--accent); }

.hero {
  position: relative;
  min-height: clamp(45rem, 100vh, 60rem);
  min-height: clamp(45rem, 100svh, 60rem);
  padding: calc(var(--header-h) + 15rem) var(--gutter) clamp(20px, 4vw, 40px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bird { position: absolute; left: 0; top: 0; display: none; }
.live .hero__bird { display: block; }
.hero__still { position: absolute; right: 12%; top: 7.5rem; width: 5.25rem; height: auto; }
.live .hero__still { display: none; }
.hero__text { position: relative; z-index: 1; width: 100%; max-width: 34rem; }

.speaker { display: flex; align-items: center; gap: 8px; font-size: var(--size-speaker); color: var(--ink-2); }
.speaker--her { font-family: var(--font-her); font-style: italic; font-size: 1.25rem; color: var(--accent); }

.hero__you { margin: 2px 0 22px; font-size: var(--size-hero-you); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.hero__her { margin: 0 0 18px; font-family: var(--font-her); font-style: italic; font-size: var(--size-hero-her); line-height: 1.05; text-wrap: balance; }
.hero__today { max-width: 30rem; }
.hero__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; margin-top: 8px; min-height: var(--target); }

.body { font-size: var(--size-body); line-height: 1.55; max-width: var(--text-max); color: var(--ink-2); }
.body + .body { margin-top: 14px; }
.body--quiet { font-family: var(--font-her); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.small { font-size: var(--size-small); line-height: 1.5; color: var(--ink); }
.small--quiet { color: var(--ink-2); }

.status { display: flex; align-items: center; gap: 9px; color: var(--ink-2); }
.ring { flex: none; width: 11px; height: 10px; border: 1.5px solid var(--accent); border-radius: var(--blob-a); }
.ring--dashed { width: 13px; height: 11px; border-style: dashed; }

.band {
  position: relative;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--band-y) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
}
.band:last-of-type { padding-bottom: var(--band-y); }

.heading { margin-top: 10px; font-size: var(--size-heading); font-weight: 500; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.heading--her { margin-top: 4px; font-family: var(--font-her); font-style: italic; font-weight: 400; letter-spacing: 0; }
.band__you .heading + .body, .band__her .heading + .body { margin-top: 22px; }
.band__her .speaker + .heading--her { margin-top: 6px; }

.line { font-size: var(--size-line-you); line-height: 1.35; max-width: var(--text-max); }
.line + .line { margin-top: 10px; }
.line--her { font-family: var(--font-her); font-style: italic; font-size: var(--size-line-her); line-height: 1.28; }

.sample { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.play {
  min-height: var(--target);
  margin-bottom: 6px;
  padding: 0 24px;
  border: 1.5px solid var(--accent);
  border-radius: var(--blob-b);
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease);
}
.play:hover { background: var(--accent); color: var(--ground); }
.play[aria-pressed="true"] { background: var(--accent); color: var(--ground); }
.play:disabled { border-style: dashed; border-color: var(--ink-2); background: transparent; color: var(--ink-2); font-weight: 400; cursor: not-allowed; }

.transcript { display: flex; flex-direction: column; gap: 22px; }
.turn--her { margin-left: clamp(24px, 9vw, 88px); }
.turn:nth-child(4n + 2) { margin-left: clamp(30px, 10vw, 104px); }
.turn:nth-child(4n + 3) { margin-left: 6px; }
.turn .speaker { margin-bottom: 4px; }
.dot { width: 8px; height: 7px; border-radius: var(--blob-a); background: transparent; }
.turn.is-speaking .dot { background: var(--accent); }

.pairs { display: flex; flex-direction: column; gap: clamp(22px, 3.4vw, 34px); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.pair__you { font-size: var(--size-line-you); line-height: 1.3; color: var(--ink-2); }
.pair__her { font-family: var(--font-her); font-style: italic; font-size: var(--size-line-her); line-height: 1.28; }

.exploring { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-family: var(--font-her); font-style: italic; font-size: 1.3125rem; color: var(--accent); }

.route { position: relative; padding: 8px 0 clamp(72px, 10vw, 120px); }
.route__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stops { position: relative; display: flex; flex-direction: column; gap: clamp(30px, 5vw, 44px); }
.stop { position: relative; padding-left: 44px; max-width: 27rem; }
.stop:nth-child(2) { margin-left: 16px; }
.stop:nth-child(3) { margin-left: 4px; }
.stop:nth-child(4) { margin-left: 22px; }
.stop:nth-child(5) { margin-left: 8px; }
.stop__ring { position: absolute; left: 8px; top: 0.45em; width: 15px; height: 13px; background: var(--ground); }
.stop__field { font-size: var(--size-speaker); line-height: 1.35; color: var(--ink-2); }
.stop__line { margin-top: 3px; font-family: var(--font-her); font-style: italic; font-size: clamp(1.5rem, 2.7vw, 2.0625rem); line-height: 1.18; text-wrap: balance; }

.contact { font-family: var(--font-her); font-style: italic; font-size: clamp(1.875rem, 4.6vw, 3.375rem); line-height: 1.15; }
.contact__link { display: inline-block; min-height: var(--target); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; transition: color var(--t-hover) var(--ease); }

.site-footer {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px var(--gutter) 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 32px;
  color: var(--ink-2);
  font-size: var(--size-small);
}

.maker { display: inline-flex; align-items: center; gap: 10px; }
.maker__logo { display: block; width: 34px; height: auto; }

@media (min-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 3rem); }
  .hero__still { right: 9%; top: auto; bottom: 20%; width: 5.75rem; }
  .band { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 7vw, 104px); }
  .band--stack { grid-template-columns: minmax(0, 1fr); }
  .band__her { padding-top: 2.4rem; }
  .pair { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(32px, 5vw, 72px); align-items: baseline; }
  .pair:nth-child(2) { margin-left: 14px; }
  .pair:nth-child(3) { margin-left: 4px; }
  .pair:nth-child(4) { margin-left: 18px; }
  .pair:nth-child(5) { margin-left: 8px; }
  .pair__you { color: var(--ink); }
  .stops { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) 0; }
  .stop { max-width: none; margin-left: 0; }
  .stop:nth-child(1) { grid-column: 1 / span 6; }
  .stop:nth-child(2) { grid-column: 6 / span 6; margin-left: 0; }
  .stop:nth-child(3) { grid-column: 2 / span 6; margin-left: 0; }
  .stop:nth-child(4) { grid-column: 7 / span 6; margin-left: 0; }
  .stop:nth-child(5) { grid-column: 4 / span 6; margin-left: 0; }
  .site-footer__note { margin-left: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(var(--rise)); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .band__her.reveal, .js .turn--her.reveal { transition-delay: 120ms; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .backdrop, .hero__bird, .route__path, .play, .text-button { display: none; }
  body { background: #fff; color: #000; }
}
