/* Ottawa Beginner Soccer: page styles. Reads Map tokens from tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
a { color: var(--text-brand); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }

:root { --focus-ring: var(--focus-ring-light); }
.on-dark { --focus-ring: var(--focus-ring-dark); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad); }

/* ---------- Type roles ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.4;
  color: var(--text-accent-on-dark);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-h2);
  color: inherit;
  max-width: 15ch;
  text-wrap: balance;
}
.lead { font-size: var(--fs-lead); line-height: 1.5; }

/* ---------- Brand mark ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
  letter-spacing: -0.01em; line-height: 1;
  color: var(--text-on-dark);
}
.brand__mark { flex: none; }
.brand--ink { color: var(--text-heading); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--button-h);
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius-control);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-cta);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) ease, box-shadow var(--dur-2) ease;
}
.btn--primary {
  background: var(--action-bg);
  color: var(--action-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 12px 28px -14px var(--action-glow);
}
@media (hover: hover) { .btn--primary:hover { background: var(--action-bg-hover); } }
.btn--primary:active { transform: translateY(1px) scale(0.985); }
.btn--block { width: 100%; }
.btn--lg { min-height: 64px; padding-inline: 36px; font-size: 1.3125rem; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"]::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cta-row { margin-top: var(--space-7); }

/* =====================================================================
   1. HERO
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

/* Fallback until the owner's clip lands: a warm, slowly moving glow. */
.hero__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 70% at 85% 8%, rgba(255, 181, 71, 0.34) 0%, rgba(255, 181, 71, 0.08) 42%, rgba(18, 28, 23, 0) 70%),
    radial-gradient(90% 60% at 0% 100%, rgba(30, 77, 58, 0.95) 0%, rgba(18, 28, 23, 0) 70%),
    linear-gradient(180deg, #16231C 0%, var(--dark) 60%, var(--dark-deep) 100%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  background: radial-gradient(circle at 50% 50%, rgba(255, 205, 130, 0.55) 0%, rgba(255, 181, 71, 0.18) 40%, rgba(255, 181, 71, 0) 70%);
}
.glow--a { width: 70vmax; height: 70vmax; left: 38%; top: -30vmax; animation: drift-a 22s var(--ease-in-out) infinite alternate; }
.glow--b { width: 46vmax; height: 46vmax; left: 62%; top: 30%; opacity: 0.7; animation: drift-b 27s var(--ease-in-out) infinite alternate; }
.glow--c {
  width: 60vmax; height: 60vmax; left: -22vmax; top: 40%;
  background: radial-gradient(circle, rgba(127, 209, 168, 0.30) 0%, rgba(47, 107, 82, 0.16) 40%, rgba(30, 77, 58, 0) 70%);
  animation: drift-b 31s var(--ease-in-out) infinite alternate-reverse;
}
.glow--d { width: 26vmax; height: 26vmax; left: 20%; top: 6%; opacity: 0.45; animation: drift-a 19s var(--ease-in-out) infinite alternate-reverse; }
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.08); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(5vmax, -4vmax, 0) scale(0.94); } }

/* The footage frame. On phones it fills one screen and fades into the night
   colour under the card; on large screens it fills the whole hero. */
.hero__frame {
  position: absolute; left: 0; right: 0; top: 0;
  height: min(100%, calc(100vh + 40px));
  height: min(100%, calc(100svh + 40px));
  -webkit-mask-image: linear-gradient(180deg, #000 68%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 68%, rgba(0, 0, 0, 0) 100%);
}
.hero__poster {
  position: absolute; inset: 0;
  background: url("../assets/hero-poster-mobile.jpg") center 42% / cover no-repeat;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero__video.is-ready { opacity: 1; }
.hero__video.is-missing { display: none; }

/* Light veil only, so the players and turf stay clear. The text gets its own
   soft dark block (.hero__copy::before) instead of darkening the whole frame. */
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 15, 0.38) 0%, rgba(12, 20, 15, 0.10) 16%, rgba(12, 20, 15, 0.08) 72%, rgba(12, 20, 15, 0.30) 100%);
}
/* Phones: a shorter frame cropped low, so the players and the turf sit above
   the card instead of behind it. */
@media (max-width: 767px) {
  .hero__frame {
    height: min(100%, 340px);
    -webkit-mask-image: linear-gradient(180deg, #000 76%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(180deg, #000 76%, rgba(0, 0, 0, 0) 100%);
  }
  .hero__poster { background-position: center 66%; }
  .hero__video { object-position: center 66%; }
}
@media (min-width: 768px) and (min-height: 600px) {
  .hero__poster { background-image: url("../assets/hero-poster.jpg"); background-position: center 50%; }
  .hero__video { object-position: center 50%; }
}
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
  padding-bottom: var(--space-7);
}
.hero__bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: var(--target); }
.hero__toggle {
  width: var(--target); height: var(--target);
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 20, 15, 0.38);
  color: var(--text-on-dark);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__toggle .i-play { display: none; }
.hero__toggle[data-state="paused"] .i-play { display: block; }
.hero__toggle[data-state="paused"] .i-pause { display: none; }

.hero__grid {
  flex: 1;
  display: grid;
  align-content: start;
  gap: var(--space-6);
  margin-top: clamp(28px, 7vw, 56px);
}
.hero__copy { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; }
/* Soft, targeted darkening behind the text block only (darker at the top,
   where the eyebrow meets the brightest part of the dome). */
.hero__copy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -52px -24px -48px -24px;
  background: linear-gradient(180deg, rgba(12, 20, 15, 0.78) 0%, rgba(12, 20, 15, 0.78) 26%, rgba(12, 20, 15, 0.56) 40%, rgba(12, 20, 15, 0.56) 100%);
  filter: blur(24px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-h1);
  text-wrap: balance;
}
.hero__title, .hero__lead, .hero .eyebrow { text-shadow: 0 1px 2px rgba(8, 12, 9, 0.35), 0 2px 28px rgba(8, 12, 9, 0.45); }
.hero__accent { position: relative; display: inline-block; white-space: nowrap; color: var(--text-accent-on-dark); }
.swoosh {
  position: absolute; left: -1%; bottom: -0.2em;
  width: 102%; height: 0.3em;
  overflow: visible;
}
.swoosh path {
  fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.1s 0.55s var(--ease-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lead {
  max-width: 33ch;
  margin-top: 6px;
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-on-video);
}
.hero__lead--below { display: none; }

/* Phones: the whole form fits the first screen. The sub-line moves under it. */
@media (max-width: 767px) {
  .hero__grid { margin-top: 16px; gap: 20px; }
  .hero__copy { gap: 10px; }
  .hero__lead--top { display: none; }
  .hero__lead--below { display: block; margin-top: 0; color: var(--text-on-dark-muted); text-shadow: none; }
}

@media (min-width: 960px) {
  .hero__frame { bottom: 0; height: auto; -webkit-mask-image: none; mask-image: none; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(12, 20, 15, 0.30) 0%, rgba(12, 20, 15, 0.06) 20%, rgba(12, 20, 15, 0.06) 72%, rgba(12, 20, 15, 0.34) 100%),
      linear-gradient(90deg, rgba(12, 20, 15, 0.12) 0%, rgba(12, 20, 15, 0.04) 50%, rgba(12, 20, 15, 0.08) 100%);
  }
  .hero__copy::before { inset: -62px auto -28px -40px; width: 620px; filter: blur(32px); }
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(400px, 452px);
    align-content: center;
    align-items: center;
    gap: clamp(48px, 6vw, 96px);
    margin-top: 0;
    padding-block: var(--space-7);
  }
  .hero__copy { gap: 20px; padding-bottom: var(--space-6); }
}

/* =====================================================================
   2. FORM CARD
   ===================================================================== */
.card {
  --focus-ring: var(--focus-ring-light);
  position: relative;
  background: var(--surface-card);
  color: var(--text-body);
  border-radius: var(--radius-card);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 14px;
}
@media (min-width: 400px) { .card { padding: 24px 22px 20px; } }
@media (min-width: 960px) { .card { padding: 30px 30px 24px; } }
@media (max-width: 767px) {
  .card { padding-top: 20px; padding-bottom: 16px; }
  .card .progress { margin-bottom: 14px; }
}

.card.is-arrived { animation: arrive 1.3s var(--ease-out); }
@keyframes arrive {
  0%   { box-shadow: var(--shadow-card), 0 0 0 0 rgba(255, 181, 71, 0); }
  22%  { box-shadow: var(--shadow-card), 0 0 0 6px rgba(255, 181, 71, 0.75); }
  100% { box-shadow: var(--shadow-card), 0 0 0 26px rgba(255, 181, 71, 0); }
}

.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.progress span { position: relative; height: 4px; border-radius: 4px; background: var(--b-frost-300); overflow: hidden; }
.progress span::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-3) var(--ease-out);
}
.progress span.is-on::after { transform: scaleX(1); }
.card[data-step-current="4"] .progress { display: none; }

.step.is-entering { animation: step-in 420ms var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.card__kicker { font-size: var(--fs-meta); font-weight: 600; color: var(--text-brand); margin-bottom: 6px; }
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-card-title);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  text-wrap: balance;
}
.card__title:focus, .card__title:focus-visible { outline: none; }
.card__body { font-size: 1.0625rem; line-height: 1.55; color: var(--text-muted); }

/* Fields */
.fields { display: flex; flex-wrap: wrap; gap: 12px 12px; margin: 16px 0 16px; }
.field { flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field--half { flex: 1 1 130px; }
.field label { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; color: var(--text-body); }
.field__control { position: relative; }
.field input {
  width: 100%;
  height: var(--control-h);
  padding: 0 42px 0 14px;
  border: 1.5px solid var(--border-field);
  border-radius: var(--radius-control);
  background: var(--surface-field);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-field);
  line-height: 1.2;
  -webkit-appearance: none; appearance: none;
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-2) ease, background-color var(--dur-1) ease;
}
.field input::placeholder { color: var(--text-faint); opacity: 1; }
.field input.is-postal { text-transform: uppercase; letter-spacing: 0.04em; }
.field input.is-postal::placeholder { text-transform: none; letter-spacing: 0.04em; }
.field input:focus, .field input:focus-visible {
  outline: none;
  border-color: var(--border-focus);
  background: var(--surface-field-focus);
  box-shadow: 0 0 0 4px var(--ring-field);
}
.field.has-error input { border-color: var(--border-error); background: var(--surface-field-error); }
.field.has-error input:focus { box-shadow: 0 0 0 4px rgba(181, 74, 31, 0.18); }
.field__ok {
  position: absolute; right: 12px; top: 50%;
  margin-top: -10px;
  color: var(--icon-success);
  opacity: 0; transform: scale(0.6);
  transition: opacity var(--dur-2) ease, transform var(--dur-2) var(--ease-out);
  pointer-events: none;
}
.field.is-valid .field__ok { opacity: 1; transform: none; }
.field__msg { font-size: var(--fs-meta); font-weight: 500; line-height: 1.4; color: var(--text-error); }
.field__msg:empty { display: none; }
.field--half .field__msg { font-size: var(--fs-fine); }
/* Half-width fields: room for "(613) 555-0123" next to the check mark. */
.field--half input { padding: 0 30px 0 12px; font-size: 1rem; }
.field--half .field__ok { right: 8px; width: 18px; height: 18px; margin-top: -9px; }

.fineprint { margin-top: 10px; font-size: var(--fs-fine); line-height: 1.6; color: var(--text-muted); text-align: center; }
/* Inline link: vertical padding widens the tap area to 48px without moving the line. */
.fineprint a { font-weight: 600; color: var(--text-brand); white-space: nowrap; padding: 14px 0; }

/* Time slots */
.slots { display: grid; gap: 12px; margin: 20px 0 6px; }
.slot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-width: 0;
  min-height: 80px;
  padding: 14px 16px 14px 20px;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-choice);
  background: var(--surface-field);
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--dur-1) ease, background-color var(--dur-1) ease, transform var(--dur-1) var(--ease-out);
}
.slot__time { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.slot__go { flex: none; color: var(--primary); transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) {
  .slot:hover { border-color: var(--primary); }
  .slot:hover .slot__go { transform: translateX(3px); }
}
.slot:active { transform: scale(0.98); }
.slot[aria-pressed="true"] { border-color: var(--primary); background: var(--surface-warm); }

.step__msg { margin-top: 10px; font-size: var(--fs-meta); font-weight: 500; color: var(--text-error); }
.step__msg:empty { display: none; }

.btn-back {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: var(--target);
  margin-top: 8px; margin-left: -6px;
  padding: 0 10px 0 6px;
  border: 0; border-radius: 10px;
  background: none;
  font-size: var(--fs-small); font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
@media (hover: hover) { .btn-back:hover { color: var(--text-heading); } }

/* Summary */
.summary {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  margin: 18px 0 14px;
  padding: 16px 18px;
  border-radius: var(--radius-choice);
  background: var(--surface-warm);
}
.summary__date { font-weight: 600; }
.summary__time { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: -0.02em; }
.step[data-step="3"] .card__body { margin-bottom: 18px; }

/* Done */
.done-mark {
  width: 60px; height: 60px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-warm);
  color: var(--primary);
  box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.6);
  animation: pop 0.6s var(--ease-out) both, halo 1.6s 0.3s ease-out both;
}
.done-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.5s 0.25s var(--ease-out) forwards; }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.65); } 100% { box-shadow: 0 0 0 22px rgba(255, 181, 71, 0); } }
.step--done .card__title { font-size: 2rem; }
.step--done .card__body { margin-top: 12px; font-size: 1.125rem; }

/* =====================================================================
   3. FOR ANYONE IN OTTAWA
   ===================================================================== */
.people { background: var(--surface-page); }
.people .h2 { color: var(--text-heading); }
.people__list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: var(--space-7);
}
.person {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; align-items: flex-end;
  aspect-ratio: 6 / 5;
  border-radius: var(--radius-card);
  color: var(--text-on-dark);
  background: var(--tile-bg);
}
/* Pitch line art, the tile's own mark until footage lands */
.person::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tile-lines) center / cover no-repeat;
}
.person .media { position: absolute; inset: 0; z-index: -1; }
.person::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Starts below the faces (heads sit about 30-45% down), deeper behind the text. */
  background: linear-gradient(180deg, rgba(12, 20, 15, 0) 46%, rgba(12, 20, 15, 0.38) 64%, rgba(12, 20, 15, 0.76) 100%);
}
.media video { width: 100%; height: 100%; object-fit: cover; }
.media video.is-missing { display: none; }
.person__text { padding: 22px 22px 24px; text-shadow: 0 1px 2px rgba(8, 12, 9, 0.45), 0 2px 18px rgba(8, 12, 9, 0.5); }
.person__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.02;
  letter-spacing: var(--ls-h3);
  text-wrap: balance;
}
.person__a {
  margin-top: 10px;
  max-width: 26ch;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.94);
}

.person--1 {
  --tile-bg: radial-gradient(120% 90% at 18% 4%, #FFD88E 0%, #FFB547 34%, #EE8C32 66%, #A9521C 100%);
  --tile-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.26' stroke-width='3'%3E%3Ccircle cx='280' cy='150' r='96'/%3E%3Cpath d='M280 -10V410'/%3E%3C/g%3E%3Ccircle cx='280' cy='150' r='6' fill='%23fff' fill-opacity='.4'/%3E%3C/svg%3E");
}
.person--2 {
  --tile-bg: radial-gradient(120% 90% at 85% 0%, #B2EACD 0%, #6CC79A 32%, #2E7D5B 68%, #16392B 100%);
  --tile-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.26' stroke-width='3'%3E%3Cpath d='M70 -2V120H330V-2'/%3E%3Cpath d='M150 -2V46H250V-2'/%3E%3Cpath d='M150 120A70 70 0 0 0 250 120'/%3E%3C/g%3E%3Ccircle cx='200' cy='88' r='5' fill='%23fff' fill-opacity='.4'/%3E%3C/svg%3E");
}
.person--3 {
  --tile-bg: radial-gradient(120% 90% at 72% 8%, #FFC1A0 0%, #FF8A5B 34%, #D8563A 68%, #84301F 100%);
  --tile-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.26' stroke-width='3'%3E%3Cpath d='M250 -10V410M330 -10V410'/%3E%3Cpath d='M250 20H330M250 70H330M250 120H330M250 170H330M250 220H330M250 270H330M250 320H330M250 370H330'/%3E%3C/g%3E%3C/svg%3E");
}
.person--4 {
  --tile-bg:
    radial-gradient(38% 30% at 88% 10%, rgba(255, 196, 106, 0.42) 0%, rgba(255, 181, 71, 0) 100%),
    radial-gradient(120% 90% at 26% 0%, #4C8C6E 0%, #2F6B52 28%, #1E4D3A 58%, #0F2A20 100%);
  --tile-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.24' stroke-width='3'%3E%3Cpath d='M-10 40H360V410'/%3E%3Cpath d='M300 40A60 60 0 0 0 360 100'/%3E%3C/g%3E%3C/svg%3E");
}

@media (min-width: 720px) {
  .people__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .person { aspect-ratio: 4 / 5; }
}
@media (min-width: 1080px) {
  .people__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .person { aspect-ratio: 3 / 4.3; }
  .person__q { font-size: 2rem; }
  .person__a { min-height: 2.84em; }
}

/* =====================================================================
   4. HERE'S YOUR SATURDAY
   ===================================================================== */
.saturday {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.saturday__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 45% at 85% 0%, rgba(255, 181, 71, 0.22), rgba(255, 181, 71, 0) 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(47, 107, 82, 0.45), rgba(47, 107, 82, 0) 70%);
}
.saturday__head { display: grid; gap: 18px; max-width: 760px; }
.saturday .lead { color: var(--text-on-dark-muted); max-width: 34ch; }

.hour {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 8px;
  height: 584px;
  margin-top: var(--space-7);
}
.hour__part {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1 1 0;
  min-height: 64px;
  border-radius: var(--radius-tile);
  background: var(--part-bg);
  transition: flex-grow var(--dur-4) var(--ease-out);
}
.hour.is-live .hour__part { flex-grow: 1; }
.hour.is-live .hour__part.is-active { flex-grow: 5; }

.hour__part::before {
  content: ""; position: absolute; inset: -64px; z-index: -1;
  background: var(--part-lines);
}
.hour__part .media { position: absolute; inset: 0; z-index: -1; }
.hour__part::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(12, 20, 15, 0.72) 0%, rgba(12, 20, 15, 0.18) 55%, rgba(12, 20, 15, 0.05) 100%);
}
/* Slim bands: a soft fade from the left behind the label only, so busy
   footage (white shirts) never washes it out; the rest stays bright. */
.hour.is-live .hour__part:not(.is-active)::after {
  background:
    linear-gradient(90deg, rgba(12, 20, 15, 0.62) 0%, rgba(12, 20, 15, 0.40) 34%, rgba(12, 20, 15, 0) 62%),
    linear-gradient(0deg, rgba(12, 20, 15, 0.72) 0%, rgba(12, 20, 15, 0.18) 55%, rgba(12, 20, 15, 0.05) 100%);
}
.hour__btn {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 22px;
  border: 0;
  border-radius: inherit;
  background: none;
  color: var(--text-on-dark);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hour__btn:focus-visible { outline-offset: -4px; }
.hour__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(8, 12, 9, 0.45), 0 2px 18px rgba(8, 12, 9, 0.5);
  transition: font-size var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
}
.hour__part.is-active .hour__btn { align-items: flex-end; padding-bottom: 34px; }
.hour__part.is-active .hour__label { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }
.hour__bar {
  position: absolute; left: 22px; right: 22px; bottom: 18px;
  height: 3px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--dur-2) ease;
}
.hour__bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
}
.hour.is-auto .hour__part.is-active .hour__bar { opacity: 1; }
.hour.is-auto .hour__part.is-active .hour__bar::after { animation: hour-fill var(--hour-dur, 5200ms) linear forwards; }
.hour.is-paused .hour__part.is-active .hour__bar::after { animation-play-state: paused; }
@keyframes hour-fill { to { transform: scaleX(1); } }

.hour__part--1 {
  --part-bg: radial-gradient(90% 80% at 50% 38%, #FFD98F 0%, #FFB547 36%, #E5822E 72%, #9A4A1A 100%);
  --part-lines: repeating-radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0) 0 46px, rgba(255, 255, 255, 0.2) 46px 49px);
}
.hour__part--2 {
  --part-bg: linear-gradient(160deg, #3A7C60 0%, #1E4D3A 52%, #0F2A20 100%);
  --part-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='57'%3E%3Cg fill='%23fff' fill-opacity='.22'%3E%3Crect x='0' y='0' width='3' height='57'/%3E%3Crect x='147' y='0' width='3' height='57'/%3E%3Crect x='0' y='27' width='150' height='3'/%3E%3C/g%3E%3C/svg%3E") 50% 0 / 150px 57px repeat-y;
}
.hour__part--3 {
  --part-bg: radial-gradient(100% 80% at 50% 0%, #8EDBB3 0%, #4DAA7E 40%, #23694B 76%, #143A2A 100%);
  --part-lines:
    radial-gradient(circle at 50% 50%, transparent 0 88px, rgba(255, 255, 255, 0.24) 88px 91px, transparent 91px),
    linear-gradient(90deg, transparent calc(50% - 1.5px), rgba(255, 255, 255, 0.24) calc(50% - 1.5px) calc(50% + 1.5px), transparent calc(50% + 1.5px));
}
.hour__part--4 {
  --part-bg: linear-gradient(135deg, #FFC46A 0%, #FF8A5B 42%, #C8462A 86%);
  --part-lines: repeating-linear-gradient(112deg, rgba(255, 255, 255, 0) 0 26px, rgba(255, 255, 255, 0.16) 26px 29px);
}

/* Gentle life in the active part, before and under the footage */
.hour__part--1.is-active::before { animation: breathe 4.8s var(--ease-in-out) infinite alternate; }
.hour__part--2.is-active::before { animation: ladder 2.4s linear infinite; }
.hour__part--4.is-active::before { animation: streak 1.6s linear infinite; }
@keyframes breathe { from { transform: scale(0.96); } to { transform: scale(1.06); } }
@keyframes ladder { from { transform: translateY(0); } to { transform: translateY(-57px); } }
@keyframes streak { from { transform: translateX(0); } to { transform: translateX(31px); } }

@media (min-width: 900px) {
  .hour { flex-direction: row; height: 560px; gap: 12px; }
  .hour__part { min-height: 0; min-width: 112px; }
  .hour.is-live .hour__part.is-active { flex-grow: 4; }
  .hour__btn { align-items: flex-end; padding: 0 22px 26px; }
  .hour__part.is-active .hour__btn { padding-bottom: 40px; }
  .hour__label { font-size: 1.625rem; }
}

/* =====================================================================
   5. PICTURE THIS: the warm dome on a cold day
   ===================================================================== */
.picture {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #CBDAE1 0%, #DCE6EA 45%, var(--surface-alt) 100%);
}
.snow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.snow__layer { position: absolute; left: 0; right: 0; will-change: transform; }
.snow__layer--far {
  top: -200px; bottom: 0;
  background-image:
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.9) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 46% 64%, rgba(255, 255, 255, 0.8) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 78% 34%, rgba(255, 255, 255, 0.85) 0 1.8px, transparent 2.6px),
    radial-gradient(circle at 92% 86%, rgba(255, 255, 255, 0.7) 0 1.2px, transparent 2px);
  background-size: 180px 200px;
  animation: snow-far 11s linear infinite;
}
.snow__layer--near {
  top: -260px; bottom: 0;
  background-image:
    radial-gradient(circle at 24% 40%, #fff 0 2.6px, transparent 3.6px),
    radial-gradient(circle at 66% 12%, #fff 0 2.2px, transparent 3.2px),
    radial-gradient(circle at 84% 70%, rgba(255, 255, 255, 0.95) 0 3px, transparent 4px);
  background-size: 260px 260px;
  animation: snow-near 9s linear infinite;
}
.snow__layer--mid {
  top: -310px; bottom: 0;
  background-image:
    radial-gradient(circle at 8% 58%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    radial-gradient(circle at 37% 18%, rgba(255, 255, 255, 0.75) 0 1.6px, transparent 2.6px),
    radial-gradient(circle at 58% 82%, rgba(255, 255, 255, 0.9) 0 2.2px, transparent 3.2px);
  background-size: 230px 310px;
  background-position: 70px 0;
  animation: snow-mid 14s linear infinite;
}
@keyframes snow-far { to { transform: translate3d(-18px, 200px, 0); } }
@keyframes snow-mid { to { transform: translate3d(-10px, 310px, 0); } }
@keyframes snow-near { to { transform: translate3d(26px, 260px, 0); } }

.dome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(84px, 16vw, 148px) clamp(22px, 6vw, 96px) clamp(36px, 6vw, 72px);
  text-align: center;
  border-radius: 50% 50% var(--radius-panel) var(--radius-panel) / clamp(110px, 26vw, 240px) clamp(110px, 26vw, 240px) var(--radius-panel) var(--radius-panel);
  background: radial-gradient(120% 95% at 50% 4%, #FFDDA0 0%, #FFEACB 38%, #FFF5E4 70%, #FFFAF2 100%);
  box-shadow: var(--shadow-dome), inset 0 0 0 1px rgba(227, 154, 35, 0.22);
}
/* the dome's seams */
.dome::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(ellipse 120% 100% at 50% 100%, rgba(181, 120, 30, 0) 0 64px, rgba(181, 120, 30, 0.07) 64px 66px);
}
.dome__eyebrow { font-size: var(--fs-eyebrow); font-weight: 700; color: var(--text-warm); letter-spacing: 0.01em; }
.dome__text {
  max-width: 23ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.625rem, 1.1rem + 2.4vw, 2.875rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  text-wrap: pretty;
}
.dome .btn { margin-top: 8px; }

/* =====================================================================
   6. CLOSE
   ===================================================================== */
.close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  text-align: center;
}
.close__pitch {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 calc(min(46vw, 300px) - 1.5px), rgba(255, 255, 255, 0.09) calc(min(46vw, 300px) - 1.5px) calc(min(46vw, 300px) + 1.5px), transparent calc(min(46vw, 300px) + 1.5px)),
    radial-gradient(70% 60% at 50% 110%, rgba(255, 181, 71, 0.30), rgba(255, 181, 71, 0) 70%);
}
.close__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.close__title { max-width: 13ch; margin-inline: auto; }
.close__when { color: var(--text-on-dark-muted); }
.close .btn { margin-top: 22px; }

/* =====================================================================
   7. FOOTER
   ===================================================================== */
.footer { background: var(--surface-alt); color: var(--text-muted); }
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 28px;
  padding-block: 24px 28px;
  font-size: 0.9375rem;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer__links a { display: inline-flex; align-items: center; min-height: var(--target); font-weight: 600; }

/* =====================================================================
   Sticky bar on phones
   ===================================================================== */
.dock {
  --focus-ring: var(--focus-ring-dark);
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 28, 23, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 380ms var(--ease-out), visibility 0s linear 380ms;
}
.dock.is-shown { transform: none; visibility: visible; transition: transform 380ms var(--ease-out), visibility 0s; }
@media (min-width: 768px) { .dock { display: none; } }

/* =====================================================================
   Motion preferences
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* v6 (2026-11-08): one-step form. Honeypot off screen for people, still in the form for bots. */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.card .step__msg:empty { display: none; }
.card .step__msg { margin: 10px 0 0; color: var(--text-error); font-weight: 600; }
.step--done .card__body--soft { margin-top: 8px; font-size: 1rem; opacity: .82; }

/* Terms and privacy pages (2026-11-08) */
.legal-page { background: var(--surface, #fff); }
.legal__bar { border-bottom: 1px solid var(--b-frost-300, #e3e7e4); }
.legal__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.legal__back { display: inline-flex; align-items: center; min-height: var(--target); font-weight: 600; color: var(--primary); }
.legal { max-width: 680px; padding-top: 32px; padding-bottom: 56px; }
.legal section { margin-top: 28px; }
.legal h2 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; margin: 0 0 8px; color: var(--text-heading); }
.legal p { font-size: 1.0625rem; line-height: 1.55; margin: 0 0 8px; }
.legal__updated { margin-top: 32px !important; color: var(--text-muted); font-size: .95rem !important; }
.legal .btn { margin-top: 16px; }
.legal__bar .brand { text-decoration: none; }
.legal__back { white-space: nowrap; line-height: 1.2; font-size: .95rem; }
.legal__bar .brand__name { font-size: 1rem; }
@media (max-width: 420px) { .legal__bar .brand__name { max-width: 9.5em; line-height: 1.15; } }
