/* muevono.com — marketing homepage styles.
 *
 * Custom properties mirror mobile/src/theme/tokens.ts 1:1 so the site and the
 * app read as one system. Light is the default register (the distinctive brand
 * move); dark is opt-in via prefers-color-scheme OR the [data-theme] toggle.
 *
 * Brand rule: weights 400 + 500 ONLY. Never 600/700.
 */

/* ---------------------------------------------------------------- fonts -- */

@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces72pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces72pt-SemiBold.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/Fraunces72pt-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter18pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens -- */

:root {
  /* base palette — tokens.ts `base` */
  --paper: #f4eddf;
  --paper-deep: #e8e0ce;
  --paper-park: #dde5d5;
  --ink: #1d1b2e;
  --ink-muted: #5f574d; /* WCAG AA-tuned against paper */
  --midnight: #1b1526;
  --midnight-lift: #2a2338;
  --midnight-park: #23243a;
  --cream: #f4eddf;
  --cream-muted: #8e8394;
  --white: #fff;

  /* city accents — tokens.ts `signaturePalettes` */
  --plum: #6b3e5c; /* london — the brand-home default */
  --slate: #4a5568; /* manchester */
  --amber: #c8862e; /* nashville */
  --motor-red: #a63a2e; /* detroit */
  --charcoal: #6b6558; /* tier-2 fallback */

  /* semantic — light */
  --surface: var(--paper);
  --surface-raised: #fbf7ee;
  --surface-sunken: var(--paper-deep);
  --map-park: var(--paper-park);
  --map-road: var(--paper-deep);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-muted);
  --text-on-accent: var(--white);
  --border: rgba(29, 27, 46, 0.15);
  --border-strong: rgba(29, 27, 46, 0.28);
  /* --accent  : text, icons and rules sitting ON the page background.
   * --accent-fill : any surface that carries cream/white text on top. The two
   *   diverge in dark mode — the accent has to lift for legibility against
   *   midnight, but a lifted plum is too pale to carry white text at AA. */
  --accent: var(--plum);
  --accent-fill: var(--plum);
  --shadow: 0 1px 2px rgba(29, 27, 46, 0.05), 0 8px 24px rgba(29, 27, 46, 0.07);
  --shadow-lg: 0 2px 4px rgba(29, 27, 46, 0.06), 0 24px 56px rgba(29, 27, 46, 0.13);

  /* type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* rhythm */
  --wrap: 1120px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 22px;
  --section-y: clamp(64px, 9vw, 116px);
}

/* dark shell — warm midnight, never plain black */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --surface: var(--midnight);
    --surface-raised: rgba(244, 237, 223, 0.06);
    --surface-sunken: #16111f;
    --map-park: var(--midnight-park);
    --map-road: var(--midnight-lift);
    --text-primary: var(--cream);
    --text-secondary: var(--cream-muted);
    --border: rgba(244, 237, 223, 0.15);
    --border-strong: rgba(244, 237, 223, 0.28);
    --accent: #b0759c; /* plum lifted for contrast on midnight (AA at 12.5px) */
    --accent-fill: #7a4668; /* deep enough to carry white text at AA */
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.45), 0 24px 56px rgba(0, 0, 0, 0.5);
  }
}

/* explicit toggle wins in both directions */
:root[data-theme='dark'] {
  --surface: var(--midnight);
  --surface-raised: rgba(244, 237, 223, 0.06);
  --surface-sunken: #16111f;
  --map-park: var(--midnight-park);
  --map-road: var(--midnight-lift);
  --text-primary: var(--cream);
  --text-secondary: var(--cream-muted);
  --border: rgba(244, 237, 223, 0.15);
  --border-strong: rgba(244, 237, 223, 0.28);
  --accent: #b0759c;
  --accent-fill: #7a4668;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.45), 0 24px 56px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------------- reset -- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden; /* body never scrolls sideways */
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.lede {
  font-size: clamp(17px, 1.9vw, 19.5px);
  color: var(--text-secondary);
  max-width: 56ch;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--white);
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex: none;
}

.brand__word {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--text-primary);
}

.theme-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex: none;
  transition: border-color 0.18s ease, color 0.18s ease;
}

/* Hidden on desktop; the narrow-viewport block at the end of this file turns
   it on. Declared HERE (before that block) so the media query wins on order. */
.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  place-items: center;
  flex: none;
}

.nav-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

/* Icons inside icon-buttons are decorative — let taps fall through to the
   button so the hit target is the full 38px circle, not the glyph. */
.nav-toggle svg,
.theme-toggle svg,
.btn svg {
  pointer-events: none;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.theme-toggle .icon-moon {
  display: none;
}
:root[data-theme='dark'] .theme-toggle .icon-moon {
  display: block;
}
:root[data-theme='dark'] .theme-toggle .icon-sun {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .icon-moon {
    display: block;
  }
  :root:not([data-theme='light']) .theme-toggle .icon-sun {
    display: none;
  }
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-fill);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--on-accent {
  background: var(--paper);
  color: var(--plum);
}

.btn--on-accent:hover {
  transform: translateY(-1.5px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  padding-block: clamp(52px, 7vw, 92px) var(--section-y);
  position: relative;
  overflow: hidden;
}

.hero::before {
  /* soft plum wash behind the hero — place-coloured, not decorative noise */
  content: '';
  position: absolute;
  inset: -30% 40% 40% -20%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 15%, transparent), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(44px, 6vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(41px, 6.4vw, 70px);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero .lede {
  margin-top: 22px;
}

.hero__note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------- phone mockup -- */

.phone {
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19;
  margin-inline: auto;
  border-radius: 40px;
  border: 1px solid var(--border-strong);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  padding: 9px;
  position: relative;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: var(--map-road);
  display: flex;
  flex-direction: column;
}

.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 999px;
  background: var(--surface-sunken);
  z-index: 4;
}

.phone__map {
  flex: 1;
  position: relative;
}

.phone__map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* nearby tray inside the phone */
.tray {
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
  border-radius: 18px 18px 0 0;
  padding: 12px 14px 16px;
  position: relative;
  z-index: 3;
  box-shadow: 0 -8px 24px rgba(29, 27, 46, 0.09);
}

.tray__grabber {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--border-strong);
  margin: 0 auto 12px;
}

.tray__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
}

.tray__row + .tray__row {
  border-top: 1px solid var(--border);
}

.tray__pin {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-fill);
  border: 2px solid var(--white);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--white);
}

.tray__pin svg {
  width: 13px;
  height: 13px;
}

.tray__text strong {
  display: block;
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.25;
}

.tray__text span {
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------- pin key strip -- */

.pinkey {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.pinkey__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pinkey__pin {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-fill);
  border: 2px solid var(--white);
  display: grid;
  place-items: center;
  color: var(--white);
  flex: none;
  box-shadow: var(--shadow);
}

.pinkey__pin svg {
  width: 15px;
  height: 15px;
}

/* -------------------------------------------------------------- section -- */

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.section-head h2 {
  font-size: clamp(30px, 4.1vw, 45px);
}

.section-head .lede {
  margin-top: 18px;
}

/* --------------------------------------------------------------- cards -- */

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
  margin-bottom: 20px;
}

.card__icon svg {
  width: 21px;
  height: 21px;
}

.card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15.5px;
  color: var(--text-secondary);
}

/* ---------------------------------------------------------- split rows -- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.split + .split {
  margin-top: clamp(56px, 7vw, 96px);
}

.split h3 {
  font-size: clamp(25px, 3.2vw, 34px);
  margin-bottom: 16px;
}

.split p {
  color: var(--text-secondary);
}

/* trail card mockup */
.mock {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock__head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
}

.mock__head h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.mock__meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.mock__body {
  padding: 8px 24px 22px;
}

.waypoint {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  position: relative;
}

.waypoint + .waypoint::before {
  /* dashed route line between waypoints, city accent — matches the map */
  content: '';
  position: absolute;
  left: 13px;
  top: -14px;
  height: 28px;
  border-left: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent);
}

.waypoint__num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-fill);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 500;
  flex: none;
  position: relative;
  z-index: 1;
}

.waypoint__num--muted {
  background: transparent;
  color: var(--text-secondary);
  border: 1px dashed var(--border-strong);
}

.waypoint strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
}

/* Scoped to the sub-line only — a bare `.waypoint span` would also match
   .waypoint__num and win on specificity, greying out the numbers. */
.waypoint__sub {
  font-size: 13px;
  color: var(--text-secondary);
}

/* now-playing / narration bar */
.nowplaying {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nowplaying__art {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--accent-fill);
  display: grid;
  place-items: center;
  color: var(--white);
  flex: none;
}

.nowplaying__art svg {
  width: 20px;
  height: 20px;
}

.nowplaying__label {
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.nowplaying__line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text-primary);
  margin-top: 2px;
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  margin-left: auto;
  flex: none;
}

.eq span {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  animation: eq 1.1s ease-in-out infinite;
}

.eq span:nth-child(1) { height: 40%; animation-delay: -0.5s; }
.eq span:nth-child(2) { height: 85%; animation-delay: -0.2s; }
.eq span:nth-child(3) { height: 60%; animation-delay: -0.7s; }
.eq span:nth-child(4) { height: 95%; animation-delay: -0.35s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.42); }
  50% { transform: scaleY(1); }
}

/* --------------------------------------------------------- city accents -- */

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--surface-raised);
}

.city-chip i {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  display: block;
  flex: none;
}

/* -------------------------------------------------------------- festival -- */

.festival {
  background: var(--plum);
  color: var(--paper);
  padding-block: var(--section-y);
  position: relative;
}

.festival h2,
.festival h3 {
  color: var(--paper);
}

.festival .eyebrow {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.festival .lede,
.festival p {
  color: color-mix(in srgb, var(--paper) 82%, transparent);
}

.festival__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.offer {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.offer li {
  display: flex;
  gap: 15px;
  padding: 16px 0;
  border-top: 1px solid rgba(244, 237, 223, 0.18);
}

.offer li:last-child {
  border-bottom: 1px solid rgba(244, 237, 223, 0.18);
}

.offer__n {
  font-family: var(--serif);
  font-size: 14px;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
  flex: none;
  padding-top: 2px;
  width: 22px;
}

.offer strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--paper);
  margin-bottom: 3px;
}

/* Scoped for the same reason as .waypoint__sub — see above. */
.offer__sub {
  font-size: 14.5px;
  color: color-mix(in srgb, var(--paper) 76%, transparent);
  line-height: 1.55;
}

/* festival schedule mockup */
.schedule {
  background: rgba(244, 237, 223, 0.07);
  border: 1px solid rgba(244, 237, 223, 0.2);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(4px);
}

.schedule__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.schedule__head strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  color: var(--paper);
}

.schedule__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(244, 237, 223, 0.16);
  padding: 5px 11px;
  border-radius: 999px;
}

.schedule__live i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #7fbf8a;
  display: block;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.slot {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(244, 237, 223, 0.14);
}

.slot__time {
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}

.slot__name {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--paper);
  line-height: 1.25;
}

.slot__stage {
  font-size: 12.5px;
  color: color-mix(in srgb, var(--paper) 62%, transparent);
}

.slot__fav {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(244, 237, 223, 0.28);
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
  flex: none;
}

.slot__fav svg {
  width: 15px;
  height: 15px;
}

.slot__fav--on {
  background: var(--paper);
  color: var(--plum);
  border-color: var(--paper);
}

/* ------------------------------------------------------------- proof -- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}

.stat {
  background: var(--surface);
  padding: 26px 22px;
}

.stat__n {
  font-family: var(--serif);
  font-size: clamp(29px, 4.4vw, 40px);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat__l {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 9px;
  line-height: 1.4;
}

.quote {
  margin: 44px 0 0;
  padding: 30px 34px;
  border-left: 3px solid var(--accent);
  background: var(--surface-raised);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  color: var(--text-primary);
}

.quote footer {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------- moat -- */

.moat {
  background: var(--surface-sunken);
  border-block: 1px solid var(--border);
}

.moat .grid {
  gap: 34px;
}

.moat h3 {
  font-size: 19px;
  margin-bottom: 9px;
}

.moat p {
  font-size: 15px;
  color: var(--text-secondary);
}

.moat__rule {
  width: 34px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 18px;
}

/* ---------------------------------------------------------------- cta -- */

.cta__lanes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.lane {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  background: var(--surface-raised);
}

.lane--accent {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
}

.lane--accent h3,
.lane--accent p {
  color: var(--paper);
}

.lane--accent p {
  color: color-mix(in srgb, var(--paper) 82%, transparent);
}

.lane h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.lane p {
  font-size: 15.5px;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 46px 40px;
  font-size: 14px;
  color: var(--text-secondary);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: auto;
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-primary);
}

.site-footer__legal {
  width: 100%;
  padding-top: 22px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* ------------------------------------------------------------ responsive -- */

@media (min-width: 720px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(5, 1fr);
  }
  .cta__lanes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.06fr 0.94fr;
  }
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--flip .split__media {
    order: -1;
  }
  .festival__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* mobile nav — collapse links, keep the toggle */
@media (max-width: 719px) {
  .nav {
    display: none;
  }
  .nav--open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 18px;
    box-shadow: var(--shadow);
  }
  .nav--open a {
    padding: 12px 0;
    width: 100%;
    border-top: 1px solid var(--border);
    font-size: 16px;
  }
  .nav-toggle {
    display: inline-grid;
  }
}
