/* LevelUp 2027 landing — plain CSS, no build step.
   Palette and type come from the Figma file (Option 1, lime glow). */

:root {
  --ink: #192127;
  --ink-2: #1f1e1c;
  --muted: #66655f;
  --paper: #fbfbf8;
  --card: #eef3ee;
  --sand: #f1f1ea;
  --lime: #e9ff57;
  --pin: #3fd47e;                         /* map pin green */
  --nav-h: 72px;
  --inset: 20px;                          /* page edge inset: 1440 viewport → 1400 container */
  --max: 1400px;                          /* max width of every block */
  --gutter: clamp(16px, 9vw, 130px);      /* text-content gutter inside the container (130 at 1440) */
  --content: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --hero-p: 0;            /* 0 = full bleed, 1 = inset + rounded (set by JS on scroll) */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 17px/1.5 "Outfit", "Avenir Next", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.serif { font-family: "Libre Caslon Text", Georgia, serif; font-weight: 400; }
h2 {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.16;
  letter-spacing: 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 500 15px/1 "Outfit", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-1px); background: #0f171c; }
.btn:active { transform: translateY(0); }

/* ---------- Nav (always sticks) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  padding: 0 var(--inset);
  background: rgba(251, 251, 248, 0);
  transition: background .35s, backdrop-filter .35s;
}
.nav__inner {
  max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--gutter);  /* logo and button align with section content */
  display: flex; align-items: center; justify-content: space-between;
}
.nav.is-scrolled {
  background: rgba(251, 251, 248, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.nav__logo { display: block; }
.nav__links { display: flex; gap: 28px; font-size: 16px; font-weight: 400; color: var(--muted); }
.nav__links a { text-decoration: none; position: relative; padding: 4px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

/* ---------- Hero: full bleed → inset + rounded on scroll ---------- */
.page { padding: 0 var(--inset); }
.page > section { max-width: var(--max); margin-left: auto; margin-right: auto; }
.page > section.recap { max-width: none; }   /* the recap box runs the same width as the hero on wide screens */

.hero-wrap {
  height: 100vh; height: 100svh;
  min-height: 640px;
  padding: calc(var(--hero-p) * var(--inset));
  background: var(--paper);
}
.hero {
  position: relative; height: 100%; overflow: hidden;
  border-radius: calc(var(--hero-p) * 24px);
  background: #eef4ee;
  isolation: isolate;
}
.stage { position: absolute; inset: 0; overflow: hidden; }
.bg { position: absolute; inset: -3%; background: url(assets/gradient.jpg) center/cover no-repeat; will-change: transform; }   /* kept close to hero size: an oversized layer is costly on 4K screens */
.bloom { position: absolute; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; pointer-events: none;   /* a fixed-size glow moved by transform (no full-screen repaint) */
  background: radial-gradient(circle closest-side, rgba(255,255,255,.55), rgba(255,255,255,.18) 45%, rgba(255,255,255,0) 100%);
  mix-blend-mode: soft-light; will-change: transform; }

.copy { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; z-index: 3; padding: 0 20px; }
.copy h1 { font-weight: 500; font-size: clamp(56px, 6.2vw, 92px); line-height: 1; letter-spacing: -.03em; }
.copy p { font-size: clamp(18px, 1.8vw, 26px); font-weight: 300; max-width: 30ch; color: var(--ink-2); }

/* date captions: small crisp labels pinned near each city word, positioned as % of the 1400x760 hero */
.captions { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.cap { position: absolute; text-decoration: none; color: var(--ink); pointer-events: auto; opacity: 0; transform: translateY(8px); animation: cap-in .9s var(--ease) forwards;
  display: flex; flex-direction: column; gap: 2px; font-size: 16px; line-height: 1.35; }
.cap b { font-weight: 500; }
.cap small { font-size: 13px; font-weight: 400; color: #5f6867; letter-spacing: .04em; text-transform: uppercase; }
.cap--right { align-items: flex-end; text-align: right; }
.cap--sf  { left: 8.6%;  top: 29.2%; animation-delay: .6s; }
.cap--chi { right: 10.7%; top: 50%;  animation-delay: .8s; }
.cap--nyc { left: 46.4%; top: 84.2%; animation-delay: 1s; }   /* left is overridden by main.js to sit just after the New York word */
.cap:hover b { text-decoration: underline; text-underline-offset: 3px; }
@keyframes cap-in { to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .cap { font-size: 14px; }
  .cap--sf  { left: 20px; top: auto; bottom: 156px; }
  .cap--chi { right: auto; left: 20px; top: auto; bottom: 100px; align-items: flex-start; text-align: left; }
  .cap--nyc { left: 20px; top: auto; bottom: 44px; }
}

/* city words: kinetic type that drifts and trades focus; the cursor lens pulls them sharp */
.city { position: absolute; left: 0; top: 0; margin: 0; font-weight: 500; font-size: clamp(64px, 9.5vw, 150px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; pointer-events: none;
  color: transparent; background-image: url(assets/gradient-fill.jpg); background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text;
  will-change: transform; }
.lens .city { filter: brightness(1.1); }
.words:not(.sweep) .city { -webkit-mask: linear-gradient(#000, #000), linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%) no-repeat; -webkit-mask-composite: source-out; mask: linear-gradient(#000, #000), linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%) no-repeat; mask-composite: subtract; -webkit-mask-size: 100% 100%, 48% 100%; mask-size: 100% 100%, 48% 100%; }
.sweep .city { filter: blur(9px); -webkit-mask: linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%) no-repeat; mask: linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%) no-repeat; -webkit-mask-size: 48% 100%; mask-size: 48% 100%; }
.words, .lens { position: absolute; inset: 0; pointer-events: none; }
/* duplicate city layer: a lighter lift on top of the original. The blend sits on each word (not a full-screen layer),
   and the fill carries a soft diagonal alpha pattern, so some parts of each word catch the lift while others melt back in. */
.dup .city { background-image: url(assets/gradient-fill-dup.webp); mix-blend-mode: screen; }
.lens { z-index: 2; visibility: hidden; }   /* main.js shows it while the cursor is over the hero and masks each word around the cursor */

/* ---------- Last year recap + marquee ---------- */
.recap { position: relative; padding: 20px 0 0; background: var(--paper); }
.recap__panel {
  /* one rounded box, same inset and radius language as the hero; the strip is clipped by its corners */
  background: var(--sand); border-radius: 20px; overflow: hidden;
  padding: 72px 0; min-height: 908px;   /* 908 box as in Figma, copy and strip centred vertically */
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 64px;
}
.recap__copy { max-width: 680px; padding: 0 24px; text-align: center; font-size: 22px; font-weight: 300; line-height: 1.4; }

.marquee { width: 100%; height: 400px; overflow: hidden; }
.marquee__track { display: flex; gap: 23px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track img { width: 600px; height: 400px; object-fit: cover; border-radius: 23px; flex: none; background: #dfe3df; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11.5px)); } }

/* ---------- The stops: zoomed 3D map ---------- */
.stops { padding: 110px var(--gutter) 60px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.stops__title { max-width: 632px; text-align: center; }
.tour { width: 100%; opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.tour.is-in { opacity: 1; transform: none; }
.tour__stage { position: relative; width: calc(100% + 60px); margin: 0 -30px; aspect-ratio: 1200 / 660; }   /* the curved window is 1200 wide, so it sits 30px outside the text gutters */
.tour__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.geo__land { fill: #e4e7e1; } .geo__water { fill: var(--paper); } .geo__grat { fill: none; stroke: #c9cec6; stroke-width: 1; }   /* water: the Great Lakes, traced in Figma */
.geo__window { fill: none; stroke: #b5bbb2; stroke-width: 1.2; }   /* the clip outline: two meridians and two parallels */
.route { fill: none; stroke: var(--ink); stroke-linecap: round; }
.route--base { stroke-width: 1.6; stroke-opacity: .32; stroke-dasharray: 3 6; opacity: 0; transition: opacity .7s var(--ease); }   /* dotted until the traveller heals it */
.tour.is-in #seg1 { opacity: 1; transition-delay: .6s; }
.tour.is-in #seg2 { opacity: 1; transition-delay: 1.7s; }
.route--hl { stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: opacity .4s; }   /* pathLength="1": main.js sets the offset to 1 − progress */
.lead { stroke: var(--ink); stroke-width: 1; opacity: 0; transition: opacity .5s; }
.tour.is-in .lead { opacity: 1; }
.tour.is-in .lead:nth-of-type(1) { transition-delay: .9s; }
.tour.is-in .lead:nth-of-type(2) { transition-delay: 1.8s; }
.tour.is-in .lead:nth-of-type(3) { transition-delay: 2.9s; }

/* square markers on the cities (36px hit area, 10px square) */
.mk { position: absolute; left: var(--x); top: var(--y); width: 36px; height: 36px; margin: -18px 0 0 -18px; z-index: 3;
  background: none; border: 0; padding: 0; cursor: pointer; opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.tour.is-in .mk { opacity: 1; transform: none; }
.tour.is-in .mk:nth-of-type(1) { transition-delay: .5s; }
.tour.is-in .mk:nth-of-type(2) { transition-delay: 1.7s; }
.tour.is-in .mk:nth-of-type(3) { transition-delay: 2.8s; }
.mk span { position: absolute; left: 13px; top: 13px; width: 10px; height: 10px; background: var(--ink); transition: transform .3s var(--ease), background .3s; }
.mk span::before { content: ""; position: absolute; inset: -5px; border: 1.5px solid var(--ink); opacity: 0; }
.mk:hover span, .mk.is-active span { transform: scale(1.3); }
.mk.is-active span::before { animation: mk-ring 1.6s ease-out infinite; }
@keyframes mk-ring { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
.mk:focus-visible { outline: 0; } .mk:focus-visible span { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }

/* the traveller rides the arcs (positioned by main.js) */
.traveller { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; z-index: 2;
  border-radius: 50%; background: var(--paper); border: 2.5px solid var(--ink); opacity: 0; transition: opacity .35s; pointer-events: none; }
.traveller.is-on { opacity: 1; }

/* stop cards hang off the markers on their leader lines */
.card { position: absolute; left: var(--x); top: var(--y); z-index: 4; width: 236px; display: flex; gap: 12px; align-items: flex-start; text-align: left;
  background: #fff; border: 1px solid rgba(25,33,39,.14); border-radius: 10px; padding: 12px 14px 12px 12px; font: inherit; color: var(--ink); cursor: pointer;
  overflow: hidden;
  opacity: 0; transform: translateY(8px);
  transform-origin: 50% 50%; box-shadow: 0 0 0 rgba(25,33,39,0), 0 0 0 rgba(25,33,39,0);
  transition: opacity .5s var(--ease) var(--d, 0s), transform .5s var(--ease) var(--d, 0s), border-color .3s, width .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s var(--ease); }   /* --d staggers only the entrance */
.card.is-open { width: 396px; z-index: 5; transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .3s, width .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s var(--ease); }   /* eases open to the right, uncovering the photo */
.tour.is-in.is-settled .card { --d: 0s; }                       /* once the entrance has played, hover transitions run immediately */
.tour.is-in .card.is-open { --d: 0s; transform: scale(1.05); box-shadow: 0 28px 56px rgba(25,33,39,.10), 0 8px 16px rgba(25,33,39,.05); }   /* lifts while open */
.card__photo { position: absolute; left: 232px; top: 12px; width: 150px; height: calc(100% - 24px); object-fit: cover; border-radius: 6px;
  visibility: hidden; transition: visibility 0s linear .4s; }        /* hidden only once the card has shrunk back over it */
.card.is-open .card__photo { visibility: visible; transition-delay: 0s; }
.card--chi { top: auto; bottom: calc(100% - var(--y)); }   /* Chicago's card sits above its marker */
.tour.is-in .card { opacity: 1; transform: none; }
.tour.is-in .card--sf { --d: 1s; }
.tour.is-in .card--chi { --d: 1.9s; }
.tour.is-in .card--nyc { --d: 3s; }
.card:hover, .card.is-active { border-color: var(--ink); }
.card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.card__n { flex: none; width: 30px; height: 30px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.card__body { display: flex; flex-direction: column; gap: 2px; width: 166px; flex: none; }
.card__body b { font-weight: 500; font-size: 15px; line-height: 1.2; margin-bottom: 2px; }
.card .stop__when, .card .stop__where { font-size: 13px; line-height: 1.35; }
.card__cta { height: 0; margin-top: 0; opacity: 0; overflow: hidden; font-size: 12px; font-weight: 500; line-height: 16px; color: var(--ink);
  transition: height .4s cubic-bezier(.2, .8, .2, 1), margin-top .4s cubic-bezier(.2, .8, .2, 1), opacity .3s; }   /* revealed only while the card is open */
.card.is-open .card__cta { height: 16px; margin-top: 8px; opacity: 1; }
.stop__when, .stop__where { font-size: 16px; font-weight: 400; line-height: 1.4; }
.stop__where { color: var(--muted); }

/* plain list: hidden on wide screens, replaces the cards on small ones */
.tour__list { display: none; list-style: none; margin: 24px 0 0; padding: 0; flex-direction: column; }
.tour__list li { cursor: pointer; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(25,33,39,.12); }
.tour__list li:last-child { border-bottom: 1px solid rgba(25,33,39,.12); }
.stop__n { font-size: 13px; font-weight: 500; color: var(--pin); letter-spacing: .04em; padding-top: 6px; }
.stop__body { display: flex; flex-direction: column; gap: 4px; }
.stop__city { font-family: "Libre Caslon Text", Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.1; }

/* ---------- What to expect ---------- */
.expect { padding: 80px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.expect h2 { color: var(--ink-2); }
.expect__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.expect__list li { display: flex; align-items: center; gap: 20px; background: var(--sand); border-radius: 22px; padding: 22px 26px; }
.expect__list p { font-weight: 400; color: var(--ink-2); }
.pill { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--ink-2); color: #fff; font-size: 13px; font-weight: 400; }

/* ---------- Sign up / Save the date ---------- */
.signup { position: relative; padding: 80px var(--gutter); }   /* panel shares the 130px gutters with the cards and titles */

.panel {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 72px; border-radius: 22px;
  background: url(assets/panel.jpg) center/cover no-repeat;
  overflow: hidden; isolation: isolate;
  opacity: 0; transform: translateY(40px) scale(.96);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.panel::before { /* slow drifting light so the panel never sits still */
  content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 28% 36% at 30% 30%, rgba(255,255,255,.6), transparent 70%);
  animation: panel-drift 14s ease-in-out infinite alternate;
}
@keyframes panel-drift { from { transform: translate(-6%, -4%); } to { transform: translate(10%, 12%); } }
.signup.is-in .panel { opacity: 1; transform: none; }

.panel__intro { display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; }
.panel__title { display: flex; flex-wrap: wrap; gap: 0 .28em; font-size: clamp(40px, 3.6vw, 52px); line-height: 1.16; }
.panel__title .word { display: inline-block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.panel__title .word > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.panel__title .word:nth-child(2) > span { transition-delay: .1s; }
.panel__title .word:nth-child(3) > span { transition-delay: .2s; }
.signup.is-in .panel__title .word > span { transform: none; }
.panel__sub { max-width: 362px; font-weight: 400; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) .55s, transform .8s var(--ease) .55s; }
.signup.is-in .panel__sub { opacity: 1; transform: none; }

.form { display: flex; flex-direction: column; gap: 40px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form > .field, .form > .form__row, .form > .stopsField, .form > .form__submit {
  opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.signup.is-in .form > * { opacity: 1; transform: none; }
.signup.is-in .form > :nth-child(1) { transition-delay: .35s; }
.signup.is-in .form > :nth-child(2) { transition-delay: .45s; }
.signup.is-in .form > :nth-child(3) { transition-delay: .55s; }
.signup.is-in .form > :nth-child(4) { transition-delay: .85s; }
.form > .field + .field, .form > .form__row + .field, .form > .field + .stopsField { margin-top: -26px; } /* 14px rhythm inside the 40px group gap */

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .stopsField legend { font-size: 13px; line-height: 1.3; font-weight: 400; color: var(--muted); }
.field input {
  height: 52px; padding: 0 16px; border: 1.5px solid transparent; border-radius: 12px;
  background: rgba(255,255,255,.75); font: 400 16px "Outfit", system-ui, sans-serif; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus { outline: none; border-color: var(--ink); background: #fff; }

.stopsField { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.stopsField legend { padding: 0; margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.75); font-size: 15px; font-weight: 400; cursor: pointer; transition: background .2s; }
.check:hover { background: #fff; }
.check.is-flash { animation: check-flash 1.4s var(--ease); }       /* pulses when a map click selects this stop */
@keyframes check-flash { 0% { box-shadow: 0 0 0 0 rgba(25,33,39,.45); background: #fff; } 100% { box-shadow: 0 0 0 14px rgba(25,33,39,0); } }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid rgba(31,31,28,.3); background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check__box svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.check__box svg path { stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset .3s var(--ease); }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box svg path { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--ink); outline-offset: 2px; }

.form__submit { align-self: flex-start; }
.form__done:empty { display: none; }          /* the status line only takes space once it has a message */
.signup.is-in .form__submit { animation: nudge 2.4s var(--ease) 2s 2; }
@keyframes nudge { 0%, 100% { transform: none; } 15% { transform: scale(1.06); } 30% { transform: none; } }
.form__done { font-weight: 400; min-height: 1.5em; }

/* ---------- FAQs ---------- */
.faqs { padding: 80px var(--gutter) 120px; }
.faqs h2 { margin-bottom: 40px; }
.faqs__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: start; }   /* eight questions split 4 / 4 */
.faqs h2 { color: var(--ink-2); }
.faqs__list { border-bottom: 1px solid rgba(31,30,28,.12); }
.faq { border-top: 1px solid rgba(31,30,28,.12); padding: 20px 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-size: 18px; font-weight: 400; line-height: 1.3; color: var(--ink-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 12px; height: 12px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--muted); border-radius: 1px; transition: transform .3s var(--ease); }
.faq summary { user-select: none; }
.faq__icon::before { left: 0; right: 0; top: 5px; height: 1.5px; }
.faq__icon::after { top: 0; bottom: 0; left: 5px; width: 1.5px; }
.faq.is-open .faq__icon::after { transform: scaleY(0); }
.faq p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- Footer: countdown + brand ---------- */
.foot { padding: 20px 0; }                       /* 20px inset below the panel, like the page edges */
.foot__panel { position: relative; overflow: hidden; border-radius: 24px; background: var(--ink); color: var(--paper); isolation: isolate;
  /* the panel runs full width; its content sits on the same text gutter as the sections above, at every width */
  padding: 48px calc(max(0px, (100% - var(--max)) / 2) + var(--gutter)) 36px; }
/* the teal radial glow pulses outward from the bottom edge */
.foot__panel::before { content: ""; position: absolute; left: -25%; right: -25%; top: -40%; bottom: -10%; z-index: -1; pointer-events: none;
  /* oversized layer that fades to fully transparent, so its edge never shows when it scales */
  background: radial-gradient(ellipse 50% 62% at 50% 92%, rgba(72,160,164,.62) 0%, rgba(72,160,164,.34) 28%, rgba(54,120,123,.14) 55%, rgba(54,120,123,0) 78%);
  transform-origin: 50% 92%; animation: foot-glow 3.2s ease-in-out infinite alternate; }   /* the glow swells and brightens, then settles */
@keyframes foot-glow { from { transform: scale(.78); opacity: .3; } to { transform: scale(1.18); opacity: 1; } }
.foot__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(251,251,248,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(251,251,248,.04) 1px, transparent 1px);
  background-size: 86px 86px; background-position: -20px 26px; }
.foot__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.foot__title { font-size: 52px; line-height: 1.1; color: #fff; }
.foot__brand { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.foot__logo img { filter: brightness(0) invert(1); opacity: .96; }
.foot__social { display: flex; gap: 18px; }
.foot__social a { display: block; width: 20px; height: 20px; opacity: .9; transition: opacity .2s, transform .2s var(--ease); }
.foot__social a:hover { opacity: 1; transform: translateY(-2px); }
.foot__social svg { width: 20px; height: 20px; fill: var(--paper); }
.foot__site { font-size: 14px; font-weight: 400; color: rgba(251,251,248,.75); text-decoration: none; }
.foot__site:hover { color: var(--paper); }

.clock { display: flex; gap: 27px; align-items: flex-end; padding: 21px 0 41px; }
.clock__unit { display: flex; flex-direction: column; gap: 9px; }
.clock__digits { display: flex; gap: 4.4px; }
.digit { position: relative; width: 56px; height: 77px; border-radius: 7.4px; background: #fff; color: var(--ink); overflow: hidden; perspective: 400px;
  font-family: "Libre Caslon Text", Georgia, serif; font-size: 47px; line-height: 77px; text-align: center; }
.digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(25,33,39,.14); }   /* split-flap seam */
.digit span { display: block; transform-origin: 50% 50%; backface-visibility: hidden; }
.digit.is-flip span { animation: digit-flip .36s var(--ease); }
@keyframes digit-flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-90deg); opacity: .4; } 51% { transform: rotateX(90deg); } 100% { transform: rotateX(0); opacity: 1; } }
.clock__label { font-size: 9.6px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: rgba(251,251,248,.85); line-height: 12px; }

.foot__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 14px; font-weight: 400; color: rgba(251,251,248,.85); }
.foot__links { display: flex; gap: 28px; }
.foot__links a, .foot__links button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.foot__links a:hover, .foot__links button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.expect__list .reveal:nth-child(2) { transition-delay: .1s; }
.expect__list .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .expect, .faqs__cols { grid-template-columns: 1fr; gap: 32px; }
  .faqs__cols { gap: 0; } .faqs__cols .faqs__list:first-child { border-bottom: 0; }   /* one continuous list on phones */
  .foot__panel { padding-top: 40px; padding-bottom: 28px; border-radius: 16px; }
  .foot__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .foot__brand { align-items: flex-start; }
  .foot__title { font-size: 36px; }
  .clock { flex-wrap: wrap; gap: 18px; padding: 24px 0 32px; }
  .digit { width: 40px; height: 56px; font-size: 32px; line-height: 56px; border-radius: 6px; }
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .panel { grid-template-columns: 1fr; gap: 40px; padding: 40px 28px; }
  .card { width: 200px; } .card.is-open { width: 360px; } .card__body { width: 130px; } .card__photo { left: 196px; }
  .tour__stage { width: 100%; margin: 0; }
}
@media (max-width: 760px) {
  :root { --inset: 12px; }
  .nav__links { display: none; }
  .hero-wrap { min-height: 560px; }
  .captions { display: none; }                 /* dates live in the stops section on phones */
  .marquee { height: 200px; }
  .marquee__track img { width: 300px; height: 200px; border-radius: 14px; }
  .marquee__track { gap: 12px; }
  .recap__panel { padding: 56px 0 48px; gap: 40px; border-radius: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .stops { padding-top: 72px; gap: 40px; }
  .stops__title .br-wide { display: none; }   /* the title breaks after "to" on wider screens; on phones that line is too long, so it wraps naturally */
  .card { display: none; }
  .lead { display: none; }
  .tour__list { display: flex; }
  .stops { gap: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .reveal, .panel, .panel__sub, .panel__title .word > span, .form > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .panel::before, .form__submit, .foot__panel::before { animation: none !important; }
  .digit.is-flip span { animation: none; }
  .cap { animation: none; opacity: 1; transform: none; }
  .tour, .mk, .card, .lead { opacity: 1 !important; transform: none !important; transition: none !important; }
  .route--base { opacity: 1 !important; transition: none !important; }
  .route--hl { stroke-dashoffset: 0 !important; }
  .mk.is-active span::before { animation: none; }
  .traveller { display: none; }
  .check__box svg path { transition: none; }
}
