/* =========================================================
   Passepartout — landing
   Palette & type lifted straight from the app (lib/theme.ts)
   ========================================================= */
:root {
  --bg:          #F1F3F5;
  --card:        #FFFFFF;
  --ink:         #0F1419;
  --muted:       #6E7682;
  --faint:       #A6ADB6;
  --line:        rgba(15,20,25,0.09);
  --line-strong: rgba(15,20,25,0.16);
  --accent:      #0E63F4;
  --accent-ink:  #0A4CBE;
  --accent-soft: rgba(14,99,244,0.08);
  --accent-soft2:rgba(14,99,244,0.14);
  --map-bg:      #E9ECEF;
  --dot:         #828B9B;
  --splash:      #E6F4FE;

  --sans:  'Archivo', system-ui, -apple-system, sans-serif;
  --serif: 'Newsreader', Georgia, serif;

  --r-card: 16px;
  --r-chip: 11px;
  --r-btn:  13px;

  --shadow-card: 0 8px 24px rgba(15,20,25,0.05);
  --shadow-home: 0 14px 40px rgba(15,20,25,0.10);
  --shadow-glow: 0 8px 24px rgba(14,99,244,0.32);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

em { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow--light { color: rgba(255,255,255,0.7); }

/* =========================================================
   THE STAGE — one sticky map, scrolled through as a story
   ========================================================= */
.stage { position: relative; background: var(--map-bg); }
.stage-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.stage-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--map-bg);
}
/* soft vignette + edge blend (legibility for cards; blends into the page below) */
.stage-veil {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(130% 95% at 50% 50%, rgba(241,243,245,0) 56%, rgba(241,243,245,0.42) 100%),
    linear-gradient(180deg, rgba(241,243,245,0.55) 0%, rgba(241,243,245,0) 12%, rgba(241,243,245,0) 84%, var(--bg) 100%);
}

/* Leaflet chrome tuned to the palette */
.leaflet-container { background: var(--map-bg); font-family: var(--sans); }
.leaflet-control-attribution {
  background: rgba(255,255,255,0.6) !important;
  font-size: 10px !important;
  color: var(--faint) !important;
}
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar { display: none; } /* hide zoom buttons — minimal */

/* --- Airport dots & arcs (SVG via Leaflet) --- */
.ap-dot {
  fill: var(--dot);
  stroke: #fff;
  stroke-width: 1.5;
  transition: fill 200ms ease, r 200ms ease;
  cursor: pointer;
}
.ap-dot:hover { fill: var(--accent); }
.ap-dot--home { fill: var(--accent); }

.ap-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  opacity: 0;
}

.arc-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.55;
}
.arc-spur {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
  opacity: 0.85;
}
.plane-glyph {
  font-size: 13px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(14,99,244,0.35));
}
.arrow-glyph {
  font-size: 15px;
  line-height: 1;
  color: var(--accent);
  filter: drop-shadow(0 1px 2px rgba(14,99,244,0.4));
}

/* Story-map line styles (SVG, animated) */
.train-glyph { font-size: 15px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(15,20,25,0.25)); }
/* smooth fade for story-map markers + lines as beats change */
.smap-fade { transition: opacity 550ms ease; }
.smap-line { transition: opacity 650ms ease; }
.smap-dot  { transition: opacity 550ms ease, fill-opacity 550ms ease, r 300ms ease; }
.story-flight-exp   { stroke: #A6ADB6; stroke-width: 2;   fill: none; opacity: 0.9; stroke-linecap: round; }
.story-flight-cheap { stroke: #0E63F4; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.story-train        { stroke: #0F1419; stroke-width: 2.4; fill: none; stroke-dasharray: 2 8; stroke-linecap: round; animation: trainflow 1s linear infinite; }
@keyframes trainflow { to { stroke-dashoffset: -20; } }

/* =========================================================
   CLOUDS / FOG OVERLAY
   ========================================================= */
/* Clouds are now a permanent, decorative frame — they hug the top & bottom
   edges so the centre of the map stays clear and usable at all times. */
.clouds {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  transition: opacity 900ms cubic-bezier(0.2,0.7,0.3,1);
  /* fade the top (under the brandmark) and the bottom (under the copy) only */
  background:
    linear-gradient(180deg,
      rgba(241,243,245,0.85) 0%,
      rgba(241,243,245,0) 20%,
      rgba(241,243,245,0) 52%,
      rgba(241,243,245,0.55) 78%,
      rgba(241,243,245,0.97) 100%),
    radial-gradient(135% 110% at 50% 42%, rgba(241,243,245,0) 60%, rgba(241,243,245,0.5) 100%);
}
/* clouds only frame the hero beat; they lift once the story begins */
.stage:not([data-beat="0"]) .clouds { opacity: 0; }

.cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, rgba(255,255,255,1), rgba(255,255,255,0.6) 45%, rgba(255,255,255,0) 72%);
  filter: blur(28px);
  will-change: transform;
}
/* kept to the edges so the live map reads clearly through the middle */
.cloud--a { width: 52vw; height: 30vw; top: -10%;  left: -14%; opacity: 0.8;  animation: drift 40s ease-in-out infinite; }
.cloud--b { width: 46vw; height: 28vw; top: -12%;  right: -12%; opacity: 0.75; animation: drift 48s ease-in-out infinite reverse; }
.cloud--c { width: 66vw; height: 34vw; bottom: -16%; left: 6%;  opacity: 0.9;  animation: drift 54s ease-in-out infinite; }
.cloud--d { width: 38vw; height: 24vw; bottom: -14%; left: -10%; opacity: 0.7; animation: drift 60s ease-in-out infinite reverse; }
.cloud--e { width: 44vw; height: 26vw; bottom: -12%; right: -6%; opacity: 0.85; animation: drift 46s ease-in-out infinite; }

@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(3vw, -1.5vw) scale(1.08); }
  100% { transform: translate(0,0) scale(1); }
}

/* =========================================================
   HERO CONTENT
   ========================================================= */
/* Wordmark — top centre, lowercase */
.hero-brand {
  position: absolute;
  z-index: 10;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
  text-transform: lowercase;
  padding: 8px 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.hero-brand:hover { transform: translateX(-50%) translateY(-1px); box-shadow: var(--shadow-home); }

/* Hero copy — first beat, centred over the map */
.hero-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(40px, 8vw, 88px);
  line-height: 0.98;
  letter-spacing: -1.5px;
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(241,243,245,0.9);
}
.hero-title em { color: var(--accent); }

.hero-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: var(--muted);
  max-width: 30em;
  margin: 22px auto 0;
}
.hero-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-soon__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft2);
  padding: 8px 15px;
  border-radius: 999px;
}
.hero-hint__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.7); opacity: 0.4; }
}

/* one persistent "next" control over the sticky stage */
.stage-next {
  position: absolute;
  z-index: 20;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow-home);
  border-radius: var(--r-btn);
  padding: 12px 22px 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: color 200ms ease, transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, opacity 400ms ease;
}
.stage-next:hover { color: var(--accent); border-color: var(--accent); transform: translateX(-50%) translateY(-2px); }
.stage-next:active { transform: translateX(-50%) translateY(0) scale(0.97); }
.stage-next__label { line-height: 1; }
.stage-next svg { display: block; color: var(--accent); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* =========================================================
   REACH CARD (airport hover)
   ========================================================= */
.reach-card {
  position: absolute;
  z-index: 11;
  width: 230px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-home);
  padding: 14px 15px 12px;
  opacity: 0;
  transform: translateY(6px) scale(0.97);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2,1.3,0.4,1);
  pointer-events: none;
}
.reach-card.is-on { opacity: 1; transform: translateY(0) scale(1); }
.reach-card__head { display: flex; align-items: baseline; gap: 9px; }
.reach-card__code {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.3px;
  color: var(--accent);
}
.reach-card__city { font-size: 13px; font-weight: 500; color: var(--ink); }
.reach-card__sub {
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin: 9px 0 7px;
}
.reach-card__list { list-style: none; display: grid; gap: 6px; }
.reach-card__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 6px 9px;
  border-radius: var(--r-chip);
  background: var(--bg);
}
.reach-card__list .dest { font-weight: 600; letter-spacing: -0.2px; }
.reach-card__list .dest small { color: var(--faint); font-weight: 500; letter-spacing: 0; }
.reach-card__list .price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink);
}

/* =========================================================
   STAGE BEATS
   ========================================================= */
section { padding: clamp(72px, 11vw, 150px) 24px; }

/* the scroll track that drives the beats — pulled up over the sticky map */
.beats { position: relative; z-index: 600; margin-top: -100vh; pointer-events: none; }
.beat {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 7vw, 120px);
  pointer-events: none;            /* let clicks fall through to the stage controls */
}
.beat .story-card,
.beat .hero-content { pointer-events: auto; }
.beat--hero { justify-content: center; text-align: center; padding: 0 24px; }
.beat--center { justify-content: center; text-align: center; }

.story-card {
  max-width: 430px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-home);
  padding: 30px 32px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms cubic-bezier(0.2,0.7,0.3,1), transform 600ms cubic-bezier(0.2,0.7,0.3,1);
}
.beat.is-active .story-card { opacity: 1; transform: none; }
.story-card--center { max-width: 620px; text-align: center; background: rgba(255,255,255,0.9); }

.story-card p {
  font-family: var(--serif);
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.42;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.story-card p + p { margin-top: 0.6em; }
.story-card em { color: var(--accent); font-style: italic; }
.story-card strong { font-family: var(--sans); font-weight: 800; font-style: normal; color: var(--ink); }
.story-card__tag {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}
.story-card__aside { color: var(--muted) !important; font-size: clamp(15px,1.8vw,18px) !important; font-style: italic; }
.story-card__save {
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 700;
  color: var(--accent-ink);
  margin-top: 14px !important;
}

/* big inline price numbers */
.big-price {
  font-family: var(--sans);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.big-price--exp { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.big-price--cheap { color: var(--accent); }

.story-kicker {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.story-kicker em { color: var(--accent); }

/* the motto, always fully blue wherever it appears */
.motto { color: var(--accent); font-style: italic; }

/* price chips drawn on the story map */
.map-chip {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: -0.2px;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  transform: translate(-50%, -50%);
}
.map-chip--exp   { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.map-chip--cheap { background: var(--accent); color: #fff; box-shadow: var(--shadow-glow); }
.map-chip--train { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); font-weight: 700; }
.map-node-label {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 12px;
  color: var(--ink);
  text-shadow: 0 1px 3px #fff, 0 0 6px #fff, 0 0 6px #fff;
  white-space: nowrap;
  transform: translate(10px, -8px);
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { max-width: 1060px; margin: 0 auto; }
.how-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 42px);
  letter-spacing: -0.6px;
  line-height: 1.1;
  margin: 6px 0 clamp(34px, 5vw, 54px);
  max-width: 14ch;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* faint connecting rail behind the cards on desktop */
  position: relative;
}
.how-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 26px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 350ms cubic-bezier(0.2,0.7,0.3,1), box-shadow 350ms ease, border-color 350ms ease;
}
.how-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-home); border-color: var(--accent-soft2); }
.how-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft2);
  margin-bottom: 18px;
  transition: transform 350ms cubic-bezier(0.2,1.3,0.4,1), background 350ms ease;
}
.how-card:hover .how-card__icon { transform: scale(1.08) rotate(-3deg); background: var(--accent-soft2); }
.how-card__n {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 13px;
  color: var(--faint);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}
.how-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 0 0 9px;
}
.how-card p { color: var(--muted); font-size: 15px; line-height: 1.58; }
.how-card em { color: var(--accent-ink); font-style: italic; font-weight: 600; }

/* =========================================================
   HONEST BY DESIGN — a faint-blue band before the deep-blue note
   ========================================================= */
.honest { background: var(--accent-soft); text-align: center; }
.honest-inner { max-width: 1000px; margin: 0 auto; }
.honest-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.6px;
  line-height: 1.08;
  margin: 6px 0 clamp(40px, 6vw, 64px);
}
.honest-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 52px);
  text-align: center;
}
.honest-row { display: flex; flex-direction: column; align-items: center; }
.honest-row__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: #fff;
  border: 1px solid var(--accent-soft2);
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}
.honest-row h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
  margin-bottom: 9px;
}
.honest-row p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  max-width: 30ch;
}
.honest-credit {
  margin: clamp(36px, 5vw, 56px) auto 0;
  font-size: 13.5px;
  color: var(--faint);
  letter-spacing: 0.2px;
}
.honest-credit a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft2);
  transition: border-color 200ms ease;
}
.honest-credit a:hover { border-color: var(--accent); }

/* =========================================================
   FREE / A NOTE — warm, personal, not a feature list
   ========================================================= */
.free {
  background:
    radial-gradient(120% 120% at 82% -10%, rgba(120,180,255,0.5), rgba(14,99,244,0) 52%),
    linear-gradient(155deg, #0A4CBE 0%, #0E63F4 60%, #1E72FF 100%);
  color: #fff;
}
.free-inner { max-width: 680px; margin: 0 auto; }
.free-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6.5vw, 62px);
  line-height: 1.02;
  letter-spacing: -1px;
  margin-bottom: 28px;
}
.free-title em { color: var(--splash); }
.free-prose { display: grid; gap: 16px; max-width: 600px; }
.free-prose p {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.45;
  color: rgba(255,255,255,0.94);
}
.free-sign {
  margin-top: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--splash);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  text-align: center;
  padding: clamp(72px, 10vw, 120px) 24px clamp(48px, 7vw, 80px);
  background: var(--bg);
}
.footer-brand {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.4px;
  text-transform: lowercase;
  transition: color 200ms ease;
}
.footer-brand:hover { color: var(--accent); }
/* dictionary-entry wordmark */
.dict {
  display: inline-block;
  text-align: left;
  max-width: 30rem;
  margin-bottom: 38px;
}
.dict__word {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 62px);
  line-height: 0.95;
  letter-spacing: -2px;
  text-transform: lowercase;
  color: var(--ink);
}
.dict__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.dict__phon {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
}
.dict__pos {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}
.dict__senses { list-style: none; display: grid; gap: 11px; }
.dict__senses li {
  display: flex;
  gap: 13px;
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: var(--ink);
}
.dict__senses .num {
  flex: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
}
.dict__senses em { color: var(--accent); font-style: italic; }
.footer-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--r-btn);
  transition: transform 200ms cubic-bezier(0.2,1.3,0.4,1), box-shadow 200ms ease, background 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--ghost {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--coffee {
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow-glow);
}
.btn--coffee:hover { background: var(--accent-ink); transform: translateY(-2px); }
.btn--coffee__cup { font-size: 17px; }

.footer-tag {
  margin-top: 46px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--muted);
}
.footer-legal {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.2px;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms cubic-bezier(0.2,0.7,0.3,1), transform 700ms cubic-bezier(0.2,0.7,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; }
  .honest-rows { grid-template-columns: 1fr; gap: 34px; }
  .reach-card { display: none; } /* hover card is desktop-only */
  .beat { padding: 0 18px; }
  .story-card { max-width: none; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cloud, .hero-hint__dot, .scroll-cue svg, #routeLine { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
