/* ==========================================================================
   UNBEEN landing — one visual system for every section.
   Palette and type follow the product brief (v1.0, 25 Sep 2026).
   ========================================================================== */

:root {
  --bg: #161812;          /* deep olive: page, night map */
  --bg-deep: #10120d;
  --surface: #20231b;     /* matte cards, nav */
  --surface-2: #262a20;
  --border: #45483a;      /* thin divider */
  --border-soft: #2e3128;
  --text: #f4f0e5;        /* cream */
  --text-2: #d8d2c4;
  --text-muted: #a9a39a;
  --text-faint: #767166;
  --accent: #f3a261;      /* warm amber: main action + walk line */
  --accent-hover: #f7b37b;
  --accent-ink: #1c130a;
  --sage: #bfcd9c;        /* calm progress, finished states */

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Onest", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5.5vw, 88px);
  --container: 1280px;
  --section-y: clamp(64px, 8vw, 116px);
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(243, 162, 97, 0.35); color: var(--text); }

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

/* Film grain over the whole page, never blocks clicks */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Shared type ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { position: relative; padding: var(--section-y) 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
  opacity: 0.8;
  flex: none;
}
.eyebrow--center { justify-content: center; }

.h1, .h2, .h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--text);
  text-wrap: balance;
}
.h1 { font-size: clamp(48px, 5.9vw, 88px); line-height: 0.98; letter-spacing: -0.015em; }
.h2 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.01em; }
.h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; }
.h1 em, .h2 em, .h3 em { font-style: italic; color: #f6e6d2; }

.lede {
  margin: 26px 0 0;
  max-width: 34em;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}
.muted { color: var(--text-muted); }
.small-note {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--text-faint);
}
.serif-note {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--text-2);
}

.caption {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.35;
  color: var(--text-muted);
}

/* Photos: soften towards the warm evening palette */
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.18) saturate(0.88) brightness(0.9) contrast(1.02);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(244, 240, 229, 0.08);
  pointer-events: none;
}

/* Scroll reveal (only when JS is on and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.12s; }
.js .reveal[data-delay="2"] { transition-delay: 0.24s; }
.js .reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ==========================================================================
   App Store badge (official artwork, unmodified; sized by height only)
   ========================================================================== */
.store { display: flex; margin-top: 40px; }
.store--center { justify-content: center; }
.store-badge {
  display: inline-block;
  border-radius: 12px;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 34px rgba(243, 162, 97, 0.14);
}
.store-badge img { height: 56px; width: auto; }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(243, 162, 97, 0.24); }
.store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.store__note { margin: 16px 0 0; font-size: 13px; color: var(--text-faint); }
.final .store__note { text-align: center; }

/* ==========================================================================
   01 — Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 0% 100%, rgba(120, 84, 40, 0.18), transparent 70%),
    radial-gradient(40% 35% at 100% 0%, rgba(120, 84, 40, 0.12), transparent 70%),
    radial-gradient(80% 70% at 30% 40%, #181b14 0%, var(--bg-deep) 75%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(120% 100% at 55% 50%, transparent 55%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(to bottom, transparent 80%, var(--bg) 100%);
}

.hero__map {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  z-index: 0;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 28%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 28%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: 44px var(--gutter) 0;
}
.logo {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.42em;
  color: var(--text);
  text-decoration: none;
}
.site-nav { display: flex; gap: 36px; }
.site-nav a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--text); }

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 760px;
  padding: clamp(56px, 11vh, 120px) var(--gutter) 88px;
}
.hero .lede { max-width: 29em; }

.walk-strip { display: flex; align-items: center; gap: 22px; margin-top: 44px; }
.walk-strip__photos { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.walk-strip__photos img {
  width: 52px;
  height: 60px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid rgba(244, 240, 229, 0.12);
  filter: sepia(0.28) saturate(0.85) brightness(0.88);
}
.stat strong { display: block; font-weight: 500; font-size: 16px; color: var(--text); }
.stat span {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Map overlays (MapLibre markers) */
.map-fade { opacity: 0; transition: opacity 1.4s ease; }
.map-fade.is-ready { opacity: 1; }
.maplibregl-canvas { outline: none; }
.maplibregl-ctrl-attrib.maplibregl-compact {
  background: rgba(16, 18, 13, 0.6);
  color: var(--text-faint);
  font: 10px/1.4 var(--sans);
  margin: 0 16px 16px 0;
}
.maplibregl-ctrl-attrib a { color: var(--text-muted); }
.maplibregl-ctrl-attrib-button { filter: invert(0.7); }

.city-label {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(244, 240, 229, 0.7);
  pointer-events: none;
  white-space: nowrap;
}
.route-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f8d6b4;
  box-shadow: 0 0 0 3px rgba(243, 162, 97, 0.28), 0 0 14px rgba(243, 162, 97, 0.7);
}
.pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}
.pin__photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(160deg, #f6c592, var(--accent) 60%, #b8743d);
  box-shadow: 0 0 24px rgba(243, 162, 97, 0.35);
}
.pin__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: sepia(0.25) saturate(0.9) brightness(0.9);
}
.pin__stem {
  width: 0; height: 0;
  margin-top: -1px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--accent);
}
.pin__dot {
  width: 8px; height: 8px;
  margin-top: 3px;
  border-radius: 50%;
  background: #f8d6b4;
  box-shadow: 0 0 0 3px rgba(243, 162, 97, 0.3), 0 0 12px rgba(243, 162, 97, 0.8);
}
.pin__note {
  position: absolute;
  left: calc(100% + 10px);
  top: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(32, 35, 27, 0.9);
  border: 1px solid var(--border-soft);
  color: var(--text);
  font: 400 12px/1.35 var(--sans);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.pin__note small {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pin:hover .pin__note, .pin:focus-visible .pin__note { opacity: 1; transform: none; }
.pin:focus-visible { outline: none; }

.late { opacity: 0; transition: opacity 0.8s ease; }
.is-drawn .late { opacity: 1; }

/* ==========================================================================
   02 — Recognition
   ========================================================================== */
.recognition__head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}
.habits { margin: 0; padding: 0; list-style: none; }
.habits li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.25;
  color: var(--text-muted);
}
.habits li:first-child { border-top: 1px solid var(--border-soft); }
.habits__turn {
  margin: 30px 0 0;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 28em;
}
.habits__turn strong { font-weight: 500; color: var(--text); }

.details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
  margin: clamp(72px, 9vw, 120px) 0 0;
  padding: 0;
  list-style: none;
}
.details li:nth-child(even) { margin-top: clamp(28px, 5vw, 72px); }
.details .photo { aspect-ratio: 3 / 4; }

/* ==========================================================================
   03 — One walk
   ========================================================================== */
.one-walk__grid {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 480px);
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
}
.moments { margin: 40px 0 0; padding: 0; list-style: none; max-width: 30em; }
.moments li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
}
.moments li:last-child { border-bottom: 1px solid var(--border-soft); }
.moments__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
}
.moments strong { display: block; font-weight: 500; color: var(--text); }
.moments span { color: var(--text-muted); font-weight: 300; }
.one-walk__outro {
  margin: 30px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--text-2);
  max-width: 24em;
}

/* Diary entry card */
.entry {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #23261d, #1d2019);
  border: 1px solid var(--border-soft);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.entry__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.entry__meta .sage { color: var(--sage); }
.entry__title { margin: 10px 0 4px; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; }
.entry__stats { display: flex; gap: 18px; margin: 0 0 18px; font-size: 13px; color: var(--text-muted); }
.entry__stats b { font-weight: 500; color: var(--text); }
.entry__stats .new b { color: var(--sage); }
.entry__photo { aspect-ratio: 4 / 3; border-radius: 12px; }
.entry__photo img { object-position: 50% 88%; }
.entry__mini {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38%;
  aspect-ratio: 1.25;
  border-radius: 10px;
  background: rgba(22, 24, 18, 0.82);
  border: 1px solid rgba(244, 240, 229, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px;
}
.entry__mini svg { width: 100%; height: 100%; }
.entry__note {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  margin: 18px 4px 4px;
}
.entry__note svg { margin-top: 5px; color: var(--accent); }
.entry__note p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--text-2); }
.entry__note small { display: block; margin-top: 8px; font: 400 12px var(--sans); color: var(--text-faint); font-style: normal; }
.concept-label {
  margin: 16px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ==========================================================================
   04 — The map
   ========================================================================== */
.atlas__head { max-width: 760px; margin: 0 auto; text-align: center; }
.atlas__head .lede { margin-left: auto; margin-right: auto; }
.atlas__frame {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  height: clamp(520px, 78vh, 820px);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #141710;
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.8);
}
.atlas__map { position: absolute; inset: 0; }
.atlas__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(110% 90% at 50% 50%, transparent 60%, rgba(10, 12, 8, 0.65) 100%);
}
.toggle {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 22px;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(22, 24, 18, 0.82);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.toggle button {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: 500 13px var(--sans);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.legend {
  position: absolute;
  z-index: 3;
  left: 22px;
  bottom: 22px;
  display: flex;
  gap: 20px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(22, 24, 18, 0.8);
  border: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.legend .old { background: rgba(243, 162, 97, 0.5); }
.legend .new { background: var(--accent); box-shadow: 0 0 8px rgba(243, 162, 97, 0.8); }

.annotation {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(22, 24, 18, 0.88);
  border: 1px solid rgba(191, 205, 156, 0.25);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.annotation b { font-weight: 500; font-size: 15px; color: var(--sage); }
.annotation small { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.atlas.is-after .annotation { opacity: 1; transform: none; }
.atlas__caption { margin: 22px 0 0; text-align: center; }

/* ==========================================================================
   05 — Memory
   ========================================================================== */
.memory__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}
.memory__head .lede { margin: 0; }
.memory__head .lede + .lede { margin-top: 14px; }

.journal {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  margin-top: clamp(56px, 7vw, 90px);
  border-radius: 26px;
  overflow: hidden;
  background: #1c1f17;
  border: 1px solid var(--border-soft);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.8);
}
.journal__photo { border-radius: 0; min-height: 560px; }
.journal__photo img { filter: sepia(0.08) saturate(0.95) brightness(0.92); }
.journal__page {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 56px);
  background:
    repeating-linear-gradient(to bottom, transparent 0 35px, rgba(244, 240, 229, 0.035) 35px 36px),
    linear-gradient(180deg, #22251c, #1d2018);
}
/* the binding between photo and page */
.journal__page::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 26px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), transparent);
}
.journal__date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.journal__title { margin: 14px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.08; }
.journal__text {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--text-2);
}
.journal__map {
  margin-top: auto;
  padding-top: 32px;
}
.journal__map svg { width: 100%; height: 190px; display: block; }
.journal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   06 — A reason to take the other turn
   ========================================================================== */
.nudge__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
}
.prompts { position: relative; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.prompt {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7);
}
.prompt:nth-child(1) { margin-right: 12%; }
.prompt:nth-child(2) { margin-left: 10%; margin-right: 2%; }
.prompt:nth-child(3) { margin-right: 6%; }
.prompt__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(191, 205, 156, 0.1);
  color: var(--sage);
}
.prompt__icon--amber { background: rgba(243, 162, 97, 0.1); color: var(--accent); }
.prompt p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.35; }
.prompt small { display: block; margin-top: 3px; font-size: 13px; font-weight: 300; color: var(--text-muted); }
.prompt__svg { grid-column: 1 / -1; margin-top: 4px; }
.prompt__svg svg { width: 100%; height: 120px; display: block; }

/* ==========================================================================
   07 — Together
   ========================================================================== */
.together__frame {
  position: relative;
  min-height: clamp(560px, 80vh, 760px);
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 360px);
  gap: 40px;
  align-items: end;
  padding: clamp(28px, 4.5vw, 64px);
}
.together__bg { position: absolute; inset: 0; border-radius: 0; z-index: 0; }
.together__bg img { object-position: 50% 78%; filter: sepia(0.2) saturate(0.85) brightness(0.72); }
.together__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 18, 13, 0.92) 0%, rgba(16, 18, 13, 0.6) 42%, rgba(16, 18, 13, 0.05) 75%),
    linear-gradient(0deg, rgba(16, 18, 13, 0.7) 0%, transparent 45%);
}
.together__text { position: relative; z-index: 2; max-width: 520px; }
.together__text .lede { color: var(--text); opacity: 0.88; }
.together__cards { position: relative; z-index: 2; display: grid; gap: 14px; }
.glass {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(24, 27, 20, 0.72);
  border: 1px solid rgba(244, 240, 229, 0.1);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}
.glass__label {
  margin: 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.glass__title { margin: 6px 0 2px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; }
.glass__sub { margin: 0; font-size: 14px; color: var(--text-2); }
.glass__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.avatars { display: flex; }
.avatars span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #1d2019;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-ink);
}
.avatars span + span { margin-left: -8px; }
.avatars .a1 { background: var(--accent); }
.avatars .a2 { background: var(--sage); }
.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
}
.progress { margin-top: 14px; }
.progress__bar { height: 6px; border-radius: 99px; background: rgba(244, 240, 229, 0.1); overflow: hidden; }
.progress__bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--sage);
  transition: width 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s;
}
.is-in .progress__bar i { width: 60%; }
.progress__meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--text-muted); }
.progress__meta b { color: var(--sage); font-weight: 500; }

/* ==========================================================================
   08 — Capture (deliberately small)
   ========================================================================== */
.capture { padding-top: 0; }
.capture__box {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: rgba(32, 35, 27, 0.45);
}
.capture__map {
  aspect-ratio: 1;
  border-radius: 16px;
  background: #141710;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
.capture__map svg { width: 100%; height: 100%; display: block; }
.capture .eyebrow { margin-bottom: 16px; }
.capture p.body { margin: 14px 0 0; color: var(--text-2); font-weight: 300; max-width: 34em; }
.capture details { margin-top: 18px; }
.capture summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.capture summary::-webkit-details-marker { display: none; }
.capture summary svg { transition: transform 0.25s ease; }
.capture details[open] summary svg { transform: rotate(90deg); }
.capture summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.capture ol { margin: 14px 0 0; padding-left: 20px; color: var(--text-muted); font-size: 14px; }
.capture ol li + li { margin-top: 4px; }

/* ==========================================================================
   09 — Privacy
   ========================================================================== */
.privacy { padding: clamp(96px, 12vw, 170px) 0; text-align: center; }
.privacy .lede { margin-left: auto; margin-right: auto; max-width: 30em; }
.private-card {
  width: min(320px, 100%);
  margin: 0 auto 56px;
  padding: 18px 20px;
  text-align: left;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  transform: rotate(-1.5deg);
}
.private-card__top { display: flex; justify-content: space-between; align-items: center; }
.private-card__date { font-size: 10.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.lock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(191, 205, 156, 0.12);
  color: var(--sage);
  font-size: 12px;
  font-weight: 500;
}
.private-card p { margin: 12px 0 0; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--text-2); }

/* ==========================================================================
   10 — Founder
   ========================================================================== */
.founder__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
}
.founder__photo { aspect-ratio: 4 / 5; }
.founder__photo img { object-position: 50% 50%; }
.letter p:where(:not(.eyebrow):not(.letter__sign)) {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 30em;
}
.letter .letter__open {
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 28px;
}
.letter .letter__close { font-style: italic; color: var(--text); }
.letter__sign { margin: 32px 0 0; font-size: 14px; color: var(--text-muted); }
.letter__sign span { color: var(--text); }

/* ==========================================================================
   11 — Final CTA + footer
   ========================================================================== */
.final {
  position: relative;
  overflow: hidden;
  padding: clamp(110px, 13vw, 190px) 0 clamp(100px, 11vw, 150px);
  text-align: center;
  isolation: isolate;
}
.final__lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.8;
  -webkit-mask-image: radial-gradient(60% 65% at 50% 50%, transparent 20%, #000 75%);
  mask-image: radial-gradient(60% 65% at 50% 50%, transparent 20%, #000 75%);
}
.final__lines svg { width: 100%; height: 100%; }
.final .lede { margin-left: auto; margin-right: auto; }

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 36px 0 44px;
  font-size: 13px;
  color: var(--text-faint);
}
.site-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer nav { display: flex; gap: 28px; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.credits { margin-top: 20px; }
.credits summary { cursor: pointer; color: var(--text-faint); }
.credits ul { margin: 10px 0 0; padding-left: 18px; line-height: 1.7; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .together__frame { grid-template-columns: 1fr; align-items: end; }
  .together__cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; }
  .site-header { padding-top: 28px; justify-content: space-between; gap: 16px; }
  .site-nav { gap: 24px; }
  .hero__map {
    position: relative;
    order: 1;
    width: 100%;
    height: 52vh;
    margin-top: -20px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 75%, transparent 100%);
  }
  .hero__content { order: 2; padding-top: 0; }

  .recognition__head,
  .one-walk__grid,
  .memory__head,
  .nudge__grid,
  .founder__grid { grid-template-columns: 1fr; }
  .details { grid-template-columns: repeat(2, 1fr); }
  .details li:nth-child(even) { margin-top: 36px; }
  .one-walk__grid .entry-wrap { max-width: 480px; }
  .journal { grid-template-columns: 1fr; }
  .journal__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .journal__page::before { display: none; }
  .prompt:nth-child(n) { margin: 0; }
  .founder__photo { max-width: 420px; }
  .capture__box { grid-template-columns: 1fr; }
  .capture__map { max-width: 240px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .together__frame { display: block; min-height: 0; padding: 0; border-radius: 0; overflow: visible; }
  .together__bg { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; margin-bottom: 32px; }
  .together__bg img { object-position: 40% 100%; }
  .together__bg::before { background: linear-gradient(0deg, rgba(16, 18, 13, 0.35) 0%, transparent 40%); }
  .together__cards { grid-template-columns: 1fr; margin-top: 28px; }
  .atlas__frame { height: 560px; border-radius: 18px; }
  .legend { flex-direction: column; gap: 6px; }
  .journal, .together__frame { border-radius: 18px; }
}

@media (max-width: 480px) {
  .walk-strip { flex-direction: column; align-items: flex-start; gap: 14px; }
  .logo { font-size: 15px; letter-spacing: 0.34em; }
  .entry { padding: 16px; }
  .entry__title { font-size: 27px; }
  .toggle { top: 14px; left: 14px; }
  .toggle button { padding: 0 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .map-fade, .late, .annotation, .progress__bar i { transition: none; }
}

/* Small leftovers */
.together__note { color: var(--text-2); opacity: 0.7; }
.founder__figure { margin: 0; }
.site-footer__logo { font-size: 14px; }

/* Pre-rendered maps, used when live tiles can't load */
.map-fade.is-static { background-size: cover; background-repeat: no-repeat; }
.map-fade.is-static .maplibregl-canvas-container, .map-fade.is-static .maplibregl-control-container { display: none; }
#hero-map.is-static { background-image: url("../maps/hero.jpg"); background-position: 60% 50%; }
#atlas-map.is-static { background-image: url("../maps/atlas-before.jpg"); background-position: center; transition: opacity 1.4s ease; }
.atlas.is-after #atlas-map.is-static { background-image: url("../maps/atlas-after.jpg"); }
.credits__note { margin: 10px 0 0; max-width: 60em; }

/* Language switcher */
.lang {
  display: inline-flex;
  margin-left: auto;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(22, 24, 18, 0.55);
}
.lang button {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: 500 11.5px var(--sans);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.lang button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* "+8 new streets" note for the pre-rendered map (the live map places its own) */
.annotation--static { display: none; position: absolute; z-index: 3; top: 22px; right: 22px; }
.atlas__frame:has(.is-static) .annotation--static { display: flex; }

@media (max-width: 480px) {
  .site-header { gap: 12px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 13px; }
  .lang button { min-width: 30px; padding: 0 6px; font-size: 11px; }
  .annotation--static { top: 64px; right: 14px; }
}
@media (max-width: 370px) {
  .site-nav a[href^="https://instagram"] { display: none; }
}
.nowrap { white-space: nowrap; }

/* Newsletter (secondary to the App Store badge) */
.newsletter {
  max-width: 520px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--border-soft);
  text-align: left;
}
.newsletter__title { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--text); }
.newsletter__text { margin: 8px 0 18px; font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--text-muted); }
.newsletter__row { display: flex; gap: 10px; }
.field {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(32, 35, 27, 0.72);
  color: var(--text);
  font: 400 15px var(--sans);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field::placeholder { color: var(--text-faint); }
.field:hover { border-color: var(--border); }
.field:focus { outline: none; border-color: rgba(243, 162, 97, 0.7); background: rgba(32, 35, 27, 0.95); }
.field[aria-invalid="true"] { border-color: #c9694a; }
.btn-quiet {
  flex: 0 0 auto;
  height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font: 500 15px var(--sans);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.btn-quiet:hover { background: var(--surface); border-color: var(--text-faint); }
.btn-quiet:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-quiet[disabled] { opacity: 0.6; cursor: progress; }
.newsletter__error { margin: 10px 0 0; font-size: 13px; color: #e48a6a; }
.newsletter__error:empty { display: none; }
.newsletter__done { display: none; margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--sage); }
.newsletter.is-done .newsletter__row, .newsletter.is-done .newsletter__error { display: none; }
.newsletter.is-done .newsletter__done { display: block; }
.newsletter__consent { margin: 12px 0 0; font-size: 12px; color: var(--text-faint); }
.newsletter__consent a { color: var(--text-muted); text-underline-offset: 3px; }
@media (max-width: 480px) {
  .newsletter__row { flex-direction: column; }
}
