/* ==========================================================================
   Meridian landing page
   Palette and type follow the Meridian VSL: warm cream, ink, brown and tan.
   ========================================================================== */

:root {
  --bg: #f0ede5;
  --bg-alt: #e9e4d9;
  --card: #faf7f2;
  --ink: #221f1b;
  --ink-2: #3f3a33;
  --muted: #675f55;
  --line: #ddd5c8;
  --line-strong: #cbc1b1;
  --brown: #765735;
  --tan: #c9a97c;
  --tan-soft: #eadbc4;
  --dark: #23201c;
  --on-dark: #f3efe7;
  --on-dark-muted: #bdb4a6;
  --bubble-out: #d9f5cf;
  --chat-bg: #ebe5db;
  --danger: #9e3524;
  --ok: #2f6a3e;

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(34, 31, 27, 0.06), 0 2px 8px rgba(34, 31, 27, 0.05);
  --shadow: 0 2px 4px rgba(34, 31, 27, 0.05), 0 12px 32px rgba(34, 31, 27, 0.09);
  --shadow-lg: 0 4px 10px rgba(34, 31, 27, 0.08), 0 24px 60px rgba(34, 31, 27, 0.16);

  --gutter: 16px;
  --container: 1120px;
  --nav-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* z-index scale */
  --z-nav: 40;
  --z-mini: 50;
  --z-skip: 100;

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
h1, h2, h3, p, li, blockquote { overflow-wrap: break-word; }

a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.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;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: var(--z-skip);
  background: var(--ink); color: var(--on-dark);
  padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: var(--bg-alt); }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  line-height: 1.5;
}

.h1 {
  font-size: clamp(2.1rem, 1.2rem + 4.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.85rem, 1.25rem + 2.6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.serif-i { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--ink-2);
  line-height: 1.6;
  text-wrap: pretty;
}
.muted { color: var(--muted); }
.center { text-align: center; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { margin-top: 16px; }

/* Highlighter swipe from the VSL */
.hl {
  background-image: linear-gradient(#dcc39c, #dcc39c);
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: 100% 86%;
  padding: 0 0.14em;
  margin: 0 -0.04em;
  border-radius: 0.22em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.js .hl { background-size: 0% 86%; transition: background-size 900ms var(--ease-out) 350ms; }
.js .hl.is-in { background-size: 100% 86%; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-color 180ms ease, transform 120ms ease, box-shadow 180ms ease, opacity 180ms ease;
}
.btn:hover { background: #3a342d; }
.btn:active { transform: scale(0.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--card); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn .arrow { transition: transform 180ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  color: var(--brown);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--ink); }

/* ---------- Logo ---------- */

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 13px; letter-spacing: 0.3em;
  min-height: 44px;
}
.logo svg { width: 22px; height: 22px; color: var(--brown); flex: none; }
.logo span { padding-top: 1px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0;
  z-index: var(--z-nav);
  background: rgba(240, 237, 229, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--nav-h);
}
.nav__cta .full { display: none; }
@media (min-width: 560px) {
  .nav__cta .full { display: inline; }
  .nav__cta .short { display: none; }
}

/* ---------- Guide form ---------- */

.guide-form { width: 100%; max-width: 720px; margin-inline: auto; }
.guide-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 720px) {
  .guide-form__row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) auto; }
}
.field-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--card);
  font-size: 16px;
  line-height: 1.3;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field-input::placeholder { color: #8e8578; }
.field-input:hover { border-color: #b5a993; }
.field-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(118, 87, 53, 0.18); }
.field-input[aria-invalid="true"] { border-color: var(--danger); }
textarea.field-input { min-height: 96px; resize: vertical; }
select.field-input { padding-right: 32px; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23675f55' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }

.form-error {
  margin-top: 10px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
.form-error:empty { display: none; }
.field-error { margin-top: 6px; color: var(--danger); font-size: 13px; font-weight: 500; line-height: 1.4; }
.field-error:empty { display: none; }

.ticks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  margin-top: 14px;
  font-size: 14px; color: var(--muted);
}
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks svg { width: 16px; height: 16px; color: var(--brown); flex: none; }

.form-success {
  display: flex; align-items: flex-start; gap: 12px;
  max-width: 720px; margin-inline: auto;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.form-success svg { width: 24px; height: 24px; color: var(--ok); flex: none; margin-top: 1px; }
.form-success strong { display: block; font-weight: 600; }
.form-success p { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 96px); text-align: center; }
.hero .eyebrow { margin-bottom: 18px; }
.hero .h1 { max-width: 17ch; margin-inline: auto; }
.hero .lead { max-width: 600px; margin: 22px auto 30px; }
.hero__video { margin-top: clamp(40px, 6vw, 64px); }

/* ---------- VSL player ---------- */

.vsl-slot {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
}
.vsl {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-lg);
  color: #fff;
  text-align: left;
}
.vsl__media { position: absolute; inset: 0; }
.vsl__media video { width: 100%; height: 100%; object-fit: cover; background: var(--dark); }

.vsl__sound {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0; border-radius: 999px;
  background: rgba(250, 247, 242, 0.95);
  color: var(--ink);
  font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 160ms ease, opacity 200ms ease;
  white-space: nowrap;
}
.vsl__sound:hover { transform: translate(-50%, -50%) scale(1.03); }
.vsl__sound svg { width: 20px; height: 20px; }
.vsl__sound .pulse {
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(250, 247, 242, 0.6);
  animation: soundPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes soundPulse { to { box-shadow: 0 0 0 18px rgba(250, 247, 242, 0); } }
.vsl.is-unmuted .vsl__sound { display: none; }

.vsl__controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 4px;
  padding: 28px 10px 8px;
  background: linear-gradient(to top, rgba(15, 13, 11, 0.75), rgba(15, 13, 11, 0));
  transition: opacity 250ms ease;
}
.vsl.is-idle .vsl__controls { opacity: 0; }
.vsl.is-idle { cursor: none; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border: 0; border-radius: 8px;
  background: transparent; color: inherit;
  touch-action: manipulation;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .when-on, .icon-btn[aria-pressed="true"] .when-off { display: none; }
.icon-btn[aria-pressed="true"] .when-on { display: block; }

.vsl__time { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 6px; opacity: 0.92; }

.range {
  -webkit-appearance: none; appearance: none;
  height: 24px; background: transparent; margin: 0;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #fff var(--fill, 0%), rgba(255,255,255,0.3) var(--fill, 0%)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.3); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: #fff; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.vsl__progress { flex: 1 1 auto; min-width: 40px; }
.vsl__volume { width: 76px; flex: none; }
@media (max-width: 640px) {
  .vsl__sound { top: 10px; left: 10px; transform: none; min-height: 40px; padding: 0 14px; font-size: 14px; gap: 8px; }
  .vsl__sound:hover { transform: none; }
  .vsl__sound svg { width: 18px; height: 18px; }
  .vsl__volume, .vsl__time .total { display: none; }
  .vsl__controls { padding: 24px 4px 4px; gap: 0; }
}
@media (hover: none) { .vsl__volume { display: none; } }

/* Mini player */
.vsl__mini-bar { display: none; }
.vsl.is-mini {
  position: fixed;
  inset: auto 16px 80px auto; /* sits above the host's 64px corner badge */
  z-index: var(--z-mini);
  width: min(380px, calc(100vw - 32px));
  height: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--dark);
  animation: miniIn 280ms var(--ease-out);
}
@keyframes miniIn { from { opacity: 0; transform: translateY(16px); } }
body.has-mini { padding-bottom: 168px; }
.vsl.is-mini.is-typing { opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity 160ms ease, transform 160ms ease; }
.vsl.is-mini .vsl__media {
  position: relative; inset: auto; cursor: pointer;
  width: 132px; flex: none;
  aspect-ratio: 16 / 9;
  border-radius: 8px; overflow: hidden;
}
.vsl.is-mini .vsl__controls,
.vsl.is-mini .vsl__sound { display: none; }
.vsl.is-mini .vsl__mini-bar {
  display: flex; align-items: center; gap: 2px;
  flex: 1 1 auto; min-width: 0;
}
.vsl__mini-meta { flex: 1 1 auto; min-width: 0; padding-right: 4px; }
.vsl__mini-meta strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsl__mini-meta span { display: block; font-size: 12px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.vsl__mini-bar .icon-btn { width: 36px; height: 36px; }
@media (max-width: 480px) {
  .vsl.is-mini { inset: auto 12px 76px 12px; width: auto; gap: 10px; }
  .vsl.is-mini .vsl__media { width: 104px; }
}

/* ---------- Globe strip ---------- */

.globe-section { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.globe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .globe-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr); gap: 40px; }
}
.globe-stat { text-align: center; }
@media (min-width: 900px) { .globe-stat { text-align: left; } }
.big-num {
  display: block;
  font-size: clamp(4rem, 3rem + 5vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.big-num .plus { color: var(--brown); }
.globe-stat p { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.globe-stat .eyebrow { margin-top: 14px; }

.globe-wrap {
  position: relative;
  width: 100%; max-width: 420px;
  margin-inline: auto;
  aspect-ratio: 1;
  order: -1;
}
@media (min-width: 900px) { .globe-wrap { order: 0; } }
.globe-wrap canvas { width: 100%; height: 100%; }

.globe-live { text-align: center; }
@media (min-width: 900px) { .globe-live { text-align: left; } }
.live-line { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 17px; line-height: 1.4; text-align: left; }
.live-dot {
  position: relative; flex: none;
  width: 10px; height: 10px; margin-top: 7px;
  border-radius: 50%; background: var(--brown);
}
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--brown);
  animation: livePulse 2s ease-out infinite;
}
@keyframes livePulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3); opacity: 0; } }
.globe-live p { margin-top: 10px; color: var(--muted); max-width: 30ch; margin-inline: auto; }
@media (min-width: 900px) { .globe-live p { margin-inline: 0; } }

.city-now {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
  min-height: 36px;
}
.city-now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brown); }

.marquee {
  margin-top: clamp(32px, 5vw, 48px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  display: inline-flex; align-items: center;
  padding: 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee__list li::after { content: "·"; margin-left: 36px; color: var(--tan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Comparison ---------- */

.compare-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
}
.compare-table th, .compare-table td {
  padding: 18px 20px;
  text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); }
.compare-table tbody th { font-weight: 600; width: 30%; }
.compare-table td { color: var(--muted); width: 23%; }
.compare-table .is-meridian { background: #f3eadc; color: var(--ink); font-weight: 500; }
.compare-table thead .is-meridian { background: var(--ink); color: var(--on-dark); }
.compare-table .yes { display: inline-flex; gap: 8px; align-items: flex-start; }
.compare-table .yes svg, .compare-cards .yes svg { width: 18px; height: 18px; color: var(--brown); flex: none; margin-top: 2px; }
.compare-cards { display: none; }
@media (max-width: 767px) {
  .compare-table { display: none; }
  .compare-cards { display: grid; gap: 14px; }
}
.compare-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.compare-card h3 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.compare-card dl { margin: 0; display: grid; gap: 10px; }
.compare-card dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; font-size: 15px; }
.compare-card dt { font-weight: 600; }
.compare-card dd { margin: 0; color: var(--muted); }
.compare-card--meridian { border: 2px solid var(--tan); background: #f6eee1; }
.compare-card--meridian h3 { color: var(--brown); }
.compare-card--meridian ul { display: grid; gap: 10px; }
.compare-card--meridian li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.compare-cta { margin-top: 36px; text-align: center; }
.compare-cta p { margin-top: 12px; color: var(--muted); font-size: 15px; text-wrap: balance; }

/* ---------- How it works ---------- */

.flow { display: grid; gap: 0; max-width: 920px; margin-inline: auto; }
.flow-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.flow-card__label { margin-bottom: 14px; }
.flow-card .h3 { margin-bottom: 10px; }
.flow-card p { color: var(--ink-2); }
.flow-card--dark { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.flow-card--dark p { color: var(--on-dark-muted); }
.flow-card--dark .eyebrow { color: var(--tan); }

.flow-split { display: grid; gap: 24px; align-items: center; }
@media (min-width: 720px) { .flow-split { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }

.connector {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.connector::before { content: ""; width: 1px; height: 28px; background: var(--line-strong); }
.connector svg { width: 14px; height: 14px; color: var(--line-strong); margin-top: -2px; }
.connector span { margin-top: 6px; font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--ink-2); }

.tiles { display: grid; grid-template-columns: repeat(6, 18px); gap: 6px; flex: none; }
.tiles span {
  width: 18px; height: 24px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: transparent;
  transition: background-color 300ms ease, border-color 300ms ease;
}
.tiles span.on { background: var(--ink); border-color: var(--ink); }
.tiles-caption { margin-top: 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; text-align: center; }
.flow-card--dark .tiles span { border-color: rgba(243, 239, 231, 0.3); }
.flow-card--dark .tiles span.on { background: var(--tan); border-color: var(--tan); }
@media (max-width: 719px) {
  .tiles-wrap { justify-self: start; }
  .tiles-caption { text-align: left; }
  .tiles { grid-template-columns: repeat(12, minmax(0, 18px)); gap: 4px; }
  .tiles span { width: auto; height: 20px; }
}

/* Bridge */
.bridge { background: var(--card); border: 1px solid var(--line); }
.bridge__title { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; text-align: center; text-wrap: balance; }
.bridge__title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.charts { display: grid; gap: 20px; margin: 32px 0; }
@media (min-width: 720px) { .charts { grid-template-columns: 1fr 1fr; gap: 28px; } }
.chart {
  padding: 18px 18px 14px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.chart__label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.chart svg { width: 100%; height: auto; margin: 10px 0 8px; overflow: visible; }
.chart__caption { font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--ink-2); }
.chart--season { background: #f6eee1; border-color: var(--tan-soft); }
.chart--season .chart__label { color: var(--brown); }
.spike-line { fill: none; stroke: var(--muted); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-axis { stroke: var(--line-strong); stroke-width: 1.5; }
.season-bar { fill: var(--brown); transform-box: fill-box; transform-origin: 50% 100%; }
.season-bar:last-of-type { fill: var(--ink); }
.js .chart .spike-line { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1600ms var(--ease-out); }
.js .chart.is-in .spike-line { stroke-dashoffset: 0; }
.js .chart .season-bar { transform: scaleY(0); transition: transform 600ms var(--ease-out); }
.js .chart.is-in .season-bar { transform: scaleY(1); }
.bridge__body { display: grid; gap: 14px; max-width: 680px; margin-inline: auto; color: var(--ink-2); }
.proof-quote {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 3px solid var(--tan);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg);
  max-width: 680px; margin-inline: auto;
}
.proof-quote p { font-family: var(--font-serif); font-size: 18px; line-height: 1.5; color: var(--ink); }
.proof-quote strong { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.14em; font-weight: 600; color: var(--brown); }
.proof-quote .text-link { display: inline-block; margin-top: 10px; font-size: 15px; }

/* Paths */
.paths { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 720px) { .paths { grid-template-columns: 1fr 1fr; } }
.path {
  display: flex; flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(243, 239, 231, 0.06);
  border: 1px solid rgba(243, 239, 231, 0.16);
}
.path__name { font-family: var(--font-serif); font-size: 28px; line-height: 1.1; color: var(--on-dark); }
.path__price { margin-top: 10px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.path__price small { font-size: 14px; font-weight: 500; color: var(--on-dark-muted); letter-spacing: 0; }
.path__list { margin-top: 18px; display: grid; gap: 8px; }
.path__row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; }
.path__who { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--tan); padding-top: 3px; }
.path__items { display: grid; gap: 6px; }
.path__items li { display: flex; gap: 8px; align-items: flex-start; color: var(--on-dark); font-size: 15px; line-height: 1.45; }
.path__items svg { width: 16px; height: 16px; color: var(--tan); flex: none; margin-top: 3px; }
.path__you { color: var(--on-dark); font-size: 15px; }
.path__local { margin-top: 4px; font-size: 14px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.path__best { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--on-dark-muted); font-style: italic; font-family: var(--font-serif); font-size: 16px; }
.path__divider { height: 1px; background: rgba(243, 239, 231, 0.12); margin: 6px 0; }

/* Booking */
.booking { padding: 0; overflow: hidden; }
.booking__head { padding: clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px) 0; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e8efe4;
  color: #26502f;
  font-size: 14px; font-weight: 600; line-height: 1.35;
}
.status-pill .live-dot { margin-top: 0; width: 8px; height: 8px; background: #2f7a43; }
.status-pill .live-dot::after { background: #2f7a43; }
.booking__head .h3 { margin-top: 18px; }
.booking__head p { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }
.booking__body { padding: 24px clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px); }
.steps-indicator { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.steps-indicator strong { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.steps-dots { display: flex; gap: 6px; }
.steps-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.steps-dots span.on { background: var(--ink); }

.form-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; gap: 18px 20px; } .form-grid .span-2 { grid-column: span 2; } }
.field { min-width: 0; }
.field > label, .field > legend, .fieldset legend { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.req { color: var(--brown); }
.phone-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  position: relative;
  display: inline-flex; align-items: center;
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--card);
  font-size: 15px; font-weight: 500; line-height: 1.3;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.choice span::before {
  content: ""; width: 16px; height: 16px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: #fff;
  transition: border 160ms ease;
}
.choice input:checked + span { border-color: var(--ink); background: #f3eadc; }
.choice input:checked + span::before { border: 5px solid var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--brown); outline-offset: 2px; }
.fieldset[aria-invalid="true"] .choice span { border-color: var(--danger); }
@media (max-width: 480px) { .choice-row { flex-direction: column; } .choice, .choice span { width: 100%; } }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.form-actions .btn { flex: 0 1 auto; }
@media (max-width: 560px) {
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .btn { width: 100%; white-space: normal; }
}
.back-btn { background: none; border: 0; color: var(--muted); font-weight: 600; min-height: 44px; padding: 0 4px; }
.back-btn:hover { color: var(--ink); }

.tz-note { font-size: 14px; color: var(--muted); margin-bottom: 14px; overflow-wrap: anywhere; }
.tz-note strong { color: var(--ink); font-weight: 600; }
.days {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.day {
  flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 64px; min-height: 64px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  scroll-snap-align: start;
  line-height: 1.2;
  touch-action: manipulation;
}
@media (max-width: 719px) {
  .days { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 32px; }
}
@media (min-width: 720px) {
  .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; padding: 0; margin: 0; }
  .day { width: auto; }
}
.day small { font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.day b { font-size: 18px; font-weight: 600; }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.day[aria-pressed="true"] small { color: var(--on-dark-muted); }
.day:disabled { opacity: 0.4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
@media (min-width: 560px) { .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .slots { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.slot {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--card);
  font-weight: 600; font-size: 15px;
  font-variant-numeric: tabular-nums;
  touch-action: manipulation;
}
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.slot:disabled { text-decoration: line-through; color: #a39a8d; background: transparent; cursor: not-allowed; }
.slots-empty { grid-column: 1 / -1; padding: 16px; border-radius: 10px; background: var(--bg); color: var(--muted); font-size: 15px; text-align: center; }
.skeleton { background: linear-gradient(90deg, var(--bg-alt), #f4f0e9, var(--bg-alt)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-color: transparent !important; color: transparent !important; }
@keyframes shimmer { to { background-position: -200% 0; } }

.booked { display: flex; gap: 14px; align-items: flex-start; }
.booked svg { width: 28px; height: 28px; color: var(--ok); flex: none; }
.booked strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.35; }
.booked p { color: var(--ink-2); margin-top: 6px; overflow-wrap: anywhere; }

.waitlist .status-pill { background: var(--bg-alt); color: var(--ink-2); }
.waitlist .status-pill .live-dot { background: var(--muted); }
.waitlist .status-pill .live-dot::after { display: none; }
.waitlist-grid { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 820px) { .waitlist-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; } }

[hidden] { display: none !important; }

/* ---------- Who we are ---------- */

.who-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .who-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; } }
.who-copy { display: grid; gap: 18px; }
.who-copy p { font-size: 18px; color: var(--ink-2); line-height: 1.65; }
.who-copy .pull {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.who-copy .pull em { color: var(--brown); }

.chat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); margin-bottom: 12px; text-align: center; }
@media (min-width: 900px) { .chat-label { text-align: left; } }
.chat {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--chat-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 460px; margin-inline: auto;
  width: 100%;
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--tan); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.chat__head > div > strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.chat__head > div > span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.chat__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 14px 20px; }
.chat__day { align-self: center; padding: 3px 10px; border-radius: 6px; background: var(--card); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.bubble {
  position: relative;
  max-width: 84%;
  padding: 8px 12px 6px;
  border-radius: 12px;
  background: #fff;
  font-size: 15px; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}
.bubble--out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 4px; }
.bubble--in { align-self: flex-start; border-top-left-radius: 4px; }
.bubble time { display: block; text-align: right; font-size: 11px; color: #7d766b; margin-top: 2px; font-variant-numeric: tabular-nums; }
.bubble .ticks-read { color: #4a9bd8; margin-left: 2px; }
.js .chat .bubble { opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 260ms ease, transform 300ms var(--ease-out); }
.js .chat .bubble.is-shown { opacity: 1; transform: none; }
.typing {
  position: absolute; left: 14px;
  display: inline-flex; gap: 4px;
  padding: 12px 14px; border-radius: 12px; border-top-left-radius: 4px;
  background: #fff;
  opacity: 0; transition: opacity 180ms ease;
  pointer-events: none;
}
.typing.is-on { opacity: 1; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9b9387; animation: typing 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Stories slideshow */
.stories { margin-top: clamp(64px, 9vw, 104px); }
.stories__head { text-align: center; margin-bottom: 24px; }
.slideshow { position: relative; }
.slides {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow);
  touch-action: pan-y;
}
@media (max-width: 640px) { .slides { aspect-ratio: 4 / 5; } }
.slide {
  position: absolute; inset: 0;
  display: block;
  color: #fff; text-decoration: none;
  opacity: 0; visibility: hidden;
  transition: opacity 800ms ease, visibility 0s linear 800ms;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 800ms ease, visibility 0s; z-index: 1; }
.slide img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 6s linear; }
.slide.is-active img { transform: scale(1.08); }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(18, 15, 12, 0.94) 0%, rgba(18, 15, 12, 0.78) 30%, rgba(18, 15, 12, 0.35) 55%, rgba(18, 15, 12, 0) 78%);
}
.slide__content { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.slide__cta-mobile, .slide__hover span { text-shadow: none; }
.slide__content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; gap: 16px;
  padding: clamp(20px, 4vw, 40px);
}
@media (min-width: 720px) { .slide__content { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; } }
.slide__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan-soft); }
.slide__title { margin-top: 6px; font-family: var(--font-serif); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem); line-height: 1.05; letter-spacing: -0.02em; }
.slide__line { margin-top: 8px; font-size: clamp(15px, 0.9rem + 0.3vw, 17px); color: rgba(255, 255, 255, 0.86); max-width: 42ch; }
.slide__stat { text-align: left; }
@media (min-width: 720px) { .slide__stat { text-align: right; } }
.slide__stat b { display: block; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.slide__stat span { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.slide__cta-mobile { display: none; }
.slide__hover {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(18, 15, 12, 0.52);
  opacity: 0;
  transition: opacity 260ms ease;
  z-index: 3;
}
.slide__hover span { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--on-dark); color: var(--ink); font-weight: 600; font-size: 16px; transform: translateY(6px); transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .slide:hover .slide__hover, .slide:focus-visible .slide__hover { opacity: 1; }
  .slide:hover .slide__hover span, .slide:focus-visible .slide__hover span { transform: none; }
}
.slide:focus-visible { outline-offset: -4px; }
@media (hover: none), (pointer: coarse) {
  .slide__hover { display: none; }
  .slide__cta-mobile {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 20px;
    border-radius: 10px;
    background: var(--on-dark); color: var(--ink);
    font-weight: 600; font-size: 15px;
    width: 100%;
  }
  @media (min-width: 720px) { .slide__cta-mobile { width: auto; } }
}
.slideshow__controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.dots { display: flex; align-items: center; gap: 2px; }
.dot {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; background: none; padding: 0;
}
.dot i { position: relative; display: block; width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); overflow: hidden; transition: width 300ms var(--ease-out), background-color 300ms ease; }
.dot[aria-current="true"] i { width: 36px; background: var(--line-strong); }
.dot[aria-current="true"] i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(1); }
.slideshow.is-auto .dot[aria-current="true"] i::after { animation: dotFill var(--slide-ms, 4000ms) linear forwards; }
.slideshow.is-paused .dot[aria-current="true"] i::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  min-height: 60px;
  font-weight: 600; font-size: 16px; line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform 220ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq .answer { padding: 0 20px 20px; color: var(--ink-2); }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Final CTA ---------- */

.final { background: var(--dark); color: var(--on-dark); text-align: center; }
.final .h2 { color: var(--on-dark); }
.final .h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--tan); }
.final .lead { color: var(--on-dark-muted); margin: 14px auto 30px; max-width: 520px; }
.final .field-input { background: rgba(243, 239, 231, 0.06); border-color: rgba(243, 239, 231, 0.24); color: var(--on-dark); }
.final .field-input::placeholder { color: #9d9486; }
.final .field-input:focus { border-color: var(--on-dark); box-shadow: 0 0 0 3px rgba(201, 169, 124, 0.3); }
.final .btn { background: var(--on-dark); color: var(--ink); }
.final .btn:hover { background: #fff; }
.final .form-error { color: #f2a28f; }
.final .ticks { color: var(--on-dark-muted); }
.final .ticks svg { color: var(--tan); }
.final .small-print { margin-top: 18px; font-family: var(--font-serif); font-style: italic; font-size: 17px; color: var(--on-dark-muted); }
.final .form-success { background: rgba(243, 239, 231, 0.06); border-color: rgba(243, 239, 231, 0.16); color: var(--on-dark); }
.final .form-success p { color: var(--on-dark-muted); }
.final .form-success svg { color: #8fd19e; }

/* ---------- Footer ---------- */

.footer { padding: 40px 0 96px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 22px; justify-items: center; text-align: center; }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: center; } .footer__brand-right { justify-self: end; } }
.footer__tag { color: var(--muted); font-size: 14px; margin-top: 2px; }
.footer__am { width: 170px; height: auto; opacity: 0.9; }
.footer__meta { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); width: 100%; }
@media (min-width: 768px) { .footer__meta { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; } }
.footer__meta a { color: var(--ink-2); text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer__meta a:hover { color: var(--ink); }

/* ---------- Story pages ---------- */

.story-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.story-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.story-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 15, 12, 0.9) 0%, rgba(18, 15, 12, 0.5) 40%, rgba(18, 15, 12, 0.1) 75%); z-index: 1; }
.story-hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(72px, 9vw, 112px); }
.story-hero .eyebrow { display: block; color: var(--tan-soft); }
@media (min-width: 900px) { .stats.cols-4 .stat b { font-size: 1.6rem; } }
.story-hero h1 { margin-top: 10px; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem); line-height: 1; letter-spacing: -0.025em; }
.story-hero .sub { margin-top: 14px; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: rgba(255, 255, 255, 0.88); max-width: 46ch; }
.story-hero .sub-name { display: block; margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.78); }

.stats { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(-48px, -4vw, -32px); position: relative; z-index: 3; }
@media (min-width: 900px) { .stats.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .stats.cols-3 .stat:last-child { grid-column: span 2; } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow); min-width: 0; }
.stat b { display: block; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat b .arrow-sep { color: var(--brown); font-weight: 600; margin: 0 0.12em; }
.stat > span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 480px) { .stat { padding: 16px 14px 14px; } .stat b { font-size: clamp(1.3rem, 6.4vw, 1.6rem); } }
.first-video { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 15px; color: var(--muted); text-align: center; }
.first-video strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.first-video .label { width: 100%; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); }

.story-section { padding-top: clamp(48px, 7vw, 80px); }
.story-section > .eyebrow { margin-bottom: 14px; }
.story-section p { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.story-section p + p { margin-top: 14px; }
.insight {
  margin: 4px 0 18px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--dark); color: var(--on-dark);
}
.insight blockquote { font-family: var(--font-serif); font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; }

.script { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(8px, 2vw, 16px) clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.script__part { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.script__part:last-child { border-bottom: 0; }
@media (min-width: 720px) { .script__part { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; } }
.script__label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); line-height: 1.5; padding-top: 4px; }
.script__label b { display: block; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); font-weight: 700; }
@media (max-width: 719px) { .script__label b { display: inline; font-size: 12px; letter-spacing: 0.14em; color: var(--brown); margin-right: 6px; } }
.script__text { font-family: var(--font-serif); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem) !important; line-height: 1.6 !important; color: var(--ink) !important; }

.shaped { display: grid; gap: 0; border-top: 1px solid var(--line); }
.shaped div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .shaped div { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; } }
.shaped dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); padding-top: 4px; }
.shaped dd { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.shaped { margin: 0; }

.callout { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: #f3eadc; border-left: 3px solid var(--tan); }
.callout p { font-size: 17px !important; color: var(--ink) !important; }
.callout strong { font-size: 12px; letter-spacing: 0.14em; font-weight: 600; color: var(--brown); }
.callout .q { font-family: var(--font-serif); font-size: 1.35rem !important; line-height: 1.4 !important; display: block; margin-top: 6px; }

.gallery { display: grid; gap: 12px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.lesson { margin-top: 28px; display: grid; gap: 6px; }
@media (min-width: 720px) { .lesson { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; } }
.lesson strong { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown); padding-top: 6px; }
.lesson p { font-family: var(--font-serif); font-size: 1.35rem !important; line-height: 1.45 !important; color: var(--ink) !important; }

.story-nav { display: grid; gap: 10px; padding-block: 32px; }
@media (min-width: 640px) { .story-nav { grid-template-columns: 1fr 1fr; } }
.story-nav a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; min-height: 64px; transition: border-color 160ms ease; }
.story-nav a:hover { border-color: var(--ink); }
.story-nav small { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.story-nav span { font-family: var(--font-serif); font-size: 20px; line-height: 1.25; }
.story-nav .next { text-align: right; }
@media (max-width: 639px) { .story-nav .next { text-align: left; } }

/* ---------- Legal ---------- */

.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--brown); overflow-wrap: anywhere; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 80ms; }
.js .reveal-d2 { transition-delay: 160ms; }
.js .reveal-d3 { transition-delay: 240ms; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .chat .bubble { opacity: 1; transform: none; }
  .js .hl { background-size: 100% 86%; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; }
  .marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .slide img, .slide.is-active img, .story-hero img { transform: none; animation: none; }
  .js .chart .spike-line { stroke-dashoffset: 0; }
  .js .chart .season-bar { transform: none; }
}

/* Balanced wrapping for short supporting lines */
.eyebrow, .chat-label, .lead, .tiles-caption, .chart__caption, .path__best, .ticks, .slide__line, .story-hero .sub, .final .small-print, .globe-live p { text-wrap: balance; }
p { text-wrap: pretty; }
