/* ============================================================================
   Nostos — landing page (pre-launch teaser)
   Implemented from "Nostos - Landing Page.dc.html" (claude.ai/design).
   Warm paper-and-clay. Illustrated map, not a live one. Clay is the ONLY
   action color (buttons everywhere, light and dark); carmine is the request
   loop ("someone asked" / "someone's looking"); sage is the answer; amber is a
   highlight that leads the dark band's eyebrow, never an action.
   ========================================================================== */

:root {
  --sand: #efe6d2;
  --paper: #f6f0e3;
  --linen: #faf5ea;
  --ash-sand: #e7e2d4;
  --ink: #23302c;
  --ink-deep: #1c2723;
  --clay: #c96f4c;
  /* deeper clay used ONLY for the filled button, so its white label clears WCAG
     AA (4.61:1) at normal text size. Still terracotta, not carmine. */
  --clay-deep: #b85a38;
  --carmine: #a8472f;
  --amber: #e0b25f;
  --sage: #7a8b6f;
  --sage-deep: #5f6f57;
  --bark: #4a4439;
  --stone: #5a5446;
  --drift: #6f6448;
  --muted: #7a6f56;
  --gone: #6f7681;
  --hairline: #e6dcc6;
  --edge: #ece1ca;
  --edge-strong: #d6c8ad;

  --font-serif: "Sentient", Georgia, "Times New Roman", serif;
  --font-sans: "Satoshi", system-ui, -apple-system, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, "SF Mono", monospace;

  --shadow-action: 0 4px 14px rgba(201, 111, 76, 0.3);
  --shadow-action-hover: 0 9px 22px rgba(201, 111, 76, 0.36);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-settle: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--carmine);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---- shared type ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
/* Section eyebrows stay quiet metadata (drift). Saturated tints are reserved
   for meaning: carmine = the ask, sage = the answer, amber = the dark band. */
.eyebrow--carmine { color: var(--carmine); }
.eyebrow--clay { color: var(--clay); }
.eyebrow--sage { color: var(--sage); }
.eyebrow--amber { color: var(--amber); }
.eyebrow--muted { color: var(--drift); }
.accent { color: var(--carmine); font-weight: 500; }

/* ---- buttons ---- */
.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15.5px;
  border: none;
  border-radius: 11px;
  padding: 15px 26px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft), border-color 0.2s;
}
.btn--clay {
  color: #fff;
  background: var(--clay-deep);
  box-shadow: var(--shadow-action);
}
.btn--clay:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-action-hover);
}
.btn--ghost {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--stone);
  background: transparent;
  border: 1px solid var(--edge-strong);
  border-radius: 10px;
  padding: 11px 18px;
}
.btn--ghost:hover {
  border-color: var(--drift);
}

/* ---- the map's marks (legend + inline) ---- */
.mk {
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: none;
}
.mk--memory { border-radius: 50%; background: var(--clay); }
/* looking = a filled carmine dot, matching the beacon's painted core */
.mk--looking { border-radius: 50%; background: var(--carmine); }
/* gone = a hollow gone-gray diamond, the map's one non-circular mark */
.mk--gone {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--gone);
  transform: rotate(45deg);
}

/* ============================== HERO ================================== */
.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--sand);
}
.hero__map {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}
.glow--amber {
  left: 7%; top: 40%;
  width: 36%; height: 55%;
  background: radial-gradient(circle, rgba(224, 178, 95, 0.42), rgba(224, 178, 95, 0) 68%);
}
.glow--clay {
  left: 62%; top: 34%;
  width: 32%; height: 49%;
  background: radial-gradient(circle, rgba(201, 111, 76, 0.32), rgba(201, 111, 76, 0) 70%);
}
.glow--sage {
  left: 44%; top: 65%;
  width: 22%; height: 37%;
  background: radial-gradient(circle, rgba(122, 139, 111, 0.34), rgba(122, 139, 111, 0) 70%);
}
.hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(246, 240, 227, 0.66) 0%,
    rgba(239, 230, 210, 0.28) 34%,
    rgba(239, 230, 210, 0.1) 60%,
    rgba(239, 230, 210, 0.55) 100%
  );
}
/* a warm radial anchored to the left — sits above the map, below the copy, so
   the headline and lede stay legible while the map still shows on the right */
.hero__legibility {
  position: absolute;
  left: -18%;
  top: 4%;
  width: 92%;
  height: 88%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 56% 52% at 34% 50%,
    rgba(246, 240, 227, 0.97) 0%,
    rgba(244, 237, 220, 0.82) 32%,
    rgba(242, 233, 215, 0.44) 56%,
    rgba(239, 230, 210, 0) 75%
  );
}

/* simulated map popups — cards fade in one at a time over the right of the map */
.hero__pops {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.mapcard {
  position: absolute;
  width: 244px;
  background: #fff;
  border-radius: 14px;
  padding: 17px 20px 16px;
  box-shadow: 0 1px 3px rgba(40, 30, 20, 0.1), 0 22px 50px rgba(40, 30, 20, 0.18);
  transform-origin: bottom center;
  opacity: 0;
  /* anchored bottom-centre over its pin, so the card reads as that pin's popup */
  transform: translate(-50%, -100%) translateY(8px) scale(0.96);
  animation: mapPop 18s ease-in-out infinite;
}
/* left/top match a real pin below; the card floats just above it */
.mapcard--1 { left: 73%; top: 55%; animation-delay: 0s; }       /* clay memory pin */
.mapcard--2 { left: 78.5%; top: 71%; animation-delay: -6s; }    /* the beacon */
.mapcard--3 { left: 67%; top: 49%; animation-delay: -12s; }     /* the gone diamond */
.mapcard__x {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1;
  color: var(--drift);
}
/* a small blank-print thumbnail — same stripe as the proof photo, tighter */
.mapcard__thumb {
  display: block;
  position: relative;
  height: 78px;
  border-radius: 8px;
  margin-bottom: 13px;
  background: repeating-linear-gradient(135deg, #f4efe3 0 7px, #e9e2d2 7px 14px);
  box-shadow: inset 0 0 0 1px rgba(40, 30, 20, 0.05);
}
/* a mini audio player, signalling the post carries a voice note */
.mapcard__audio {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 3px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(40, 30, 20, 0.3);
}
.mapcard__audio-play {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mapcard__audio-play i { font-size: 8px; margin-left: 0.5px; }
.mapcard__wave {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 11px;
}
.mapcard__wave span {
  flex: none;
  width: 1.5px;
  border-radius: 1px;
  background: #9fb39a;
  transform-origin: bottom;
  animation: eq 1.2s ease-in-out infinite;
}
.mapcard__wave span.amber { background: var(--amber); }
.mapcard--gone .mapcard__thumb { filter: grayscale(0.4); }
.mapcard__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--drift);
  margin-bottom: 7px;
}
.mapcard--looking .mapcard__eyebrow { color: var(--carmine); }
.mapcard__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 6px;
}
.mapcard__body {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--stone);
  margin-bottom: 12px;
}
.mapcard__cta {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
}
.mapcard--looking .mapcard__cta { color: var(--carmine); }
.mapcard--gone .mapcard__eyebrow { color: var(--gone); }
.mapcard--gone .mapcard__cta { color: var(--drift); }
.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(239, 230, 210, 0.95), 0 1px 4px rgba(40, 30, 20, 0.22);
}
.pin[style*="--float"] {
  animation: float var(--float, 8s) ease-in-out infinite;
}
.pin--clay { background: var(--clay); }
.pin--amber { background: var(--amber); width: 10px; height: 10px; }
.pin--sage { background: var(--sage); width: 10px; height: 10px; }
/* the map's one gone diamond — so the legend's "no longer here" tells the truth */
.pin--gone {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: transparent;
  border: 1.5px solid var(--gone);
  transform: rotate(45deg);
}
.beacon {
  position: absolute;
  width: 14px;
  height: 14px;
}
.beacon b {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--carmine);
  box-shadow: 0 0 0 3px rgba(239, 230, 210, 0.95);
}
.beacon i {
  position: absolute;
  left: -11px;
  top: -11px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--carmine);
  animation: beacon 2.6s ease-out infinite;
}
.hero__label {
  position: absolute;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--stone);
  text-shadow: 0 1px 0 rgba(246, 240, 227, 0.8);
  pointer-events: none;
}

/* nav */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 44px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.lamp {
  width: 19px;
  height: 29px;
  overflow: visible;
  flex: none;
}
.brand__word {
  height: 16px;
  width: auto;
}

/* hero content */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 186px clamp(20px, 4vw, 44px) 40px;
  max-width: 880px;
}
/* a small dictionary flourish over the hero: the word, its sound, its meaning */
.hero__pron {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
}
.hero__pron-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1;
  color: var(--ink);
}
.hero__pron-phon {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--drift);
}
.hero__pron-gloss {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--stone);
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(3rem, 1.6rem + 5vw, 5.125rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 22px;
  text-shadow: 0 1px 0 rgba(246, 240, 227, 0.7);
}
.hero__lede {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.375rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 42ch;
  color: var(--bark);
  margin-bottom: 34px;
  text-shadow: 0 1px 0 rgba(246, 240, 227, 0.5);
}
.hero__note {
  margin-top: 14px;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--stone);
  text-shadow: 0 1px 0 rgba(246, 240, 227, 0.6);
}

/* intake form (shared by hero + keep) */
.intake {
  display: flex;
  gap: 10px;
  background: var(--linen);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 40px rgba(40, 30, 20, 0.14);
  max-width: 660px;
}
.intake__field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 11px;
  padding: 0 14px;
  transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.intake__field:first-of-type { flex: 1.5; }
.intake__field:nth-of-type(2) { flex: 1; }
.intake__field:focus-within {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(201, 111, 76, 0.16);
}
.intake__field i {
  font-size: 19px;
  color: var(--clay);
  flex: none;
}
.intake__field .intake__muted { color: var(--muted); }
.intake__field input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: var(--ink);
  padding: 15px 0;
}
.intake__field input::placeholder { color: var(--muted); }
.intake .btn { flex: none; }
.intake__error {
  max-width: 660px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--carmine);
}

/* confirmation (hero) */
.confirm {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--linen);
  border: 1px solid var(--edge-strong);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 14px 40px rgba(40, 30, 20, 0.14);
  max-width: 660px;
}
.confirm__check {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(122, 139, 111, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.confirm__check i { font-size: 20px; color: var(--sage-deep); }
.confirm__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 8px;
}
.confirm__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--stone);
  margin-bottom: 16px;
  max-width: 46ch;
}

/* legend */
.legend {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 4vw, 44px);
  bottom: 30px;
  display: flex;
  gap: 24px;
  align-items: center;
  background: rgba(246, 240, 227, 0.9);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 4px 16px rgba(40, 30, 20, 0.08);
  backdrop-filter: blur(4px);
  margin: 0;
}
.legend > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend dt { margin: 0; display: flex; }
.legend dd { margin: 0; font-size: 12.5px; color: var(--stone); }

/* ============================ ONE-LINER =========================== */
.oneliner {
  padding: clamp(70px, 12vh, 118px) clamp(20px, 5vw, 44px);
  text-align: center;
  background: var(--sand);
  border-top: 1px solid #e4d8c1;
}
.oneliner .eyebrow { display: block; margin-bottom: 28px; }
.oneliner__text {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.44rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.oneliner__text em { font-style: italic; color: var(--carmine); }

/* =============================== THE MAP ========================== */
.themap {
  padding: clamp(64px, 10vh, 104px) clamp(20px, 5vw, 44px);
  background: var(--paper);
  border-top: 1px solid #e4d8c1;
  text-align: center;
}
.themap__head { max-width: 640px; margin: 0 auto clamp(32px, 5vh, 44px); }
.themap .eyebrow { display: block; margin-bottom: 16px; }
.themap__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 16px;
}
.themap__body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone);
  max-width: 46ch;
  margin: 0 auto;
}
/* the product shown as a straight print — white mat, warm shadow (detail view) */
.themap__frame {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(40, 30, 20, 0.1), 0 22px 60px rgba(40, 30, 20, 0.16);
}
.themap__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  aspect-ratio: 9 / 5;
  object-fit: cover;
  /* warm fallback until the real screenshot is dropped in */
  background: linear-gradient(135deg, var(--ash-sand), #dfe2cb);
}
.themap__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(28px, 4vh, 36px);
  text-decoration: none;
}

/* ============================== PROOF ============================= */
.proof {
  padding: clamp(64px, 10vh, 104px) clamp(20px, 5vw, 44px);
  background: var(--paper);
  border-top: 1px solid #e4d8c1;
}
.proof__head { text-align: center; margin-bottom: 48px; }
.proof__head .eyebrow { display: block; margin-bottom: 16px; }
.proof__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.proof__card {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 36px;
  align-items: stretch;
  background: var(--linen);
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 38px 40px;
  box-shadow: 0 18px 48px rgba(40, 30, 20, 0.1);
}
.proof__ask,
.proof__answer {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proof__ask .eyebrow,
.proof__answer .eyebrow { display: block; margin-bottom: 16px; }
.proof__rule { width: 1px; background: #e8dcc6; flex: none; }
.persona {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}
.persona__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a8b6f, #5f6f57);
  flex: none;
  box-shadow: 0 0 0 3px #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--paper);
}
.persona__name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.persona__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--drift);
}
.persona__avatar--warm {
  background: linear-gradient(135deg, #d98a5f, #a8472f);
}
/* Ray's answer, made multi-modal: an abstract photo + a voice note, showing
   that an answer can be a photo, a story, AND a voice — not just text. */
.answer-photo {
  margin: 6px 0 16px;
  width: 100%;
  max-width: 100%;
}
/* the print's own dedication caption stays within the photo's width */
.answer-photo .print__caption { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); }
/* "— added by Ray" attribution row under the print */
.answer-by {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--drift);
}
.answer-by__avatar {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c98f63, #a86a45);
  box-shadow: 0 0 0 2px #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--paper);
}
/* a clean, blank print — the photo is on its way; the dark player floats on it.
   (faint diagonal stripes read as "print, image pending", not a fake photo) */
.answer-photo__img {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 340 / 230;
  border-radius: 2px;
  background: repeating-linear-gradient(135deg, #f4efe3 0 11px, #e9e2d2 11px 22px);
  box-shadow: inset 0 0 0 1px rgba(40, 30, 20, 0.06);
}

/* the voice note — a dark ink pill sitting on the print, gently bobbing */
.voicenote {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(40, 30, 20, 0.34);
  animation: floaty 5s ease-in-out infinite;
}
.voicenote__play {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(201, 111, 76, 0.5);
}
.voicenote__play i {
  font-size: 12px;
  margin-left: 1px;
}
.voicenote__wave {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 20px;
}
/* each bar breathes on its own delay — a live equalizer */
.voicenote__wave span {
  flex: none;
  width: 2.5px;
  border-radius: 2px;
  background: #9fb39a;
  transform-origin: bottom;
  animation: eq 1.2s ease-in-out infinite;
}
.voicenote__wave span.amber {
  background: var(--amber);
}
.voicenote__time {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #e8dcc4;
}

/* the answer — a first-person memory in the voice font (a story is enough) */
.proof__reply {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.5rem);
  line-height: 1.36;
  color: var(--ink);
  margin-bottom: 14px;
}
.proof__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.6875rem);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 14px;
}
.proof__askmeta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--drift);
  margin-top: auto;
}

/* the print — a photo treated as an object (stylized placeholder pre-launch) */
.print {
  align-self: flex-start;
  background: #fff;
  border-radius: 4px;
  padding: 12px 12px 15px;
  box-shadow: 0 12px 30px rgba(40, 30, 20, 0.16);
}
.print--tilt { transform: rotate(-1.4deg); }
.print--memorial {
  background: #fbf7ee;
  padding: 14px 14px 18px;
  box-shadow: 0 16px 40px rgba(40, 30, 20, 0.2);
  transform: rotate(-1.8deg);
}
.print__photo {
  display: block;
  position: relative;
  width: min(340px, 60vw);
  aspect-ratio: 340 / 230;
  border-radius: 2px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 8px, rgba(0, 0, 0, 0.04) 8px 16px),
    linear-gradient(135deg, #d8a36f, #a85f3f);
  box-shadow: inset 0 0 0 1px rgba(40, 30, 20, 0.09);
}
.print__photo--gone {
  aspect-ratio: 330 / 250;
  filter: grayscale(0.62) saturate(0.5);
}
/* a real photo fills the print; the gradient above stays as a load fallback */
.print__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}
/* the "answer" photo — a whisper of warmth so it sits with the paper */
.print__img--proof {
  object-position: center;
  filter: saturate(1.03) sepia(0.06) brightness(1.01);
}
.print__tag {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #f4ecda;
  background: rgba(35, 48, 44, 0.62);
  border-radius: 5px;
  padding: 3px 8px;
  backdrop-filter: blur(2px);
}
.print__tag--light { color: rgba(255, 255, 255, 0.9); background: none; backdrop-filter: none; }
.print__status {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--bark);
  background: rgba(251, 247, 238, 0.86);
  border: 1px solid #d8cdb8;
  border-radius: 999px;
  padding: 4px 9px;
}
.print__status .mk--gone { border-color: var(--gone); width: 8px; height: 8px; }
.print__caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.25;
}
/* keep the caption within the photo's width so the mat never grows wider than the print */
.print--memorial .print__caption { font-size: 16px; color: var(--bark); max-width: min(340px, 60vw); }
.proof__by {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--drift);
  margin-top: 16px;
}
.proof__punch {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: #655b46;
  margin: 40px auto 0;
  max-width: 36ch;
}

/* ========================= NO LONGER HERE ========================= */
.gone {
  padding: clamp(70px, 11vh, 112px) clamp(20px, 5vw, 44px);
  background: var(--ash-sand);
  border-top: 1px solid #d9d0bd;
}
/* inner container holds the two-column layout; the section itself stays
   full-bleed so its background and top border reach the page edges */
.gone__inner {
  display: flex;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.gone__figure { flex: none; }
.gone__text { flex: 1; }
.gone__text .eyebrow { display: block; margin-bottom: 22px; }
.gone__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.875rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #2a352f;
  margin-bottom: 22px;
}
.gone__body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  max-width: 42ch;
  color: var(--bark);
}

/* ========================= FALLBACK CAPTURE ======================= */
.keep {
  padding: clamp(70px, 11vh, 104px) clamp(20px, 5vw, 44px);
  background: var(--ink);
  border-top: 1px solid var(--ink-deep);
  text-align: center;
}
.keep .eyebrow { display: block; margin-bottom: 20px; }
.keep__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin: 0 auto 14px;
  max-width: 18ch;
}
.keep__body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: #cdbfa3;
  margin-bottom: 28px;
  max-width: 46ch;
  margin-inline: auto;
}
/* two-sided join: a role toggle above the capture form */
.join__toggle {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  background: rgba(246, 240, 227, 0.06);
  border: 1px solid rgba(246, 240, 227, 0.16);
  border-radius: 999px;
}
.join__opt {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  color: #cdbfa3;
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  transition: background 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
/* selected state, not an action — a warm paper chip, so clay stays the only
   action color on the dark band */
.join__opt.is-active {
  color: var(--ink);
  background: rgba(246, 240, 227, 0.95);
}
/* per-role explainer, sitting between the toggle and the form so people read
   what they're choosing before they type; min-height reserves space so the
   form doesn't jump when the two modes' copy differ in length */
.join__explain {
  max-width: 42ch;
  margin: 0 auto 20px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: #cdbfa3;
  min-height: 2.3em;
}
.intake--dark {
  margin: 0 auto;
  max-width: 620px;
  background: rgba(246, 240, 227, 0.06);
  border-color: rgba(246, 240, 227, 0.16);
}
.intake--dark .intake__field {
  background: rgba(246, 240, 227, 0.95);
  border-color: transparent;
}
.intake--dark .intake__field i { color: var(--carmine); }
.intake--dark .intake__field .intake__muted { color: var(--drift); }
.intake--dark .intake__field input { font-size: 15px; padding: 14px 0; }
.intake__error--dark { margin-inline: auto; color: #eec27a; }
.confirm--dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  padding: 18px 26px;
  background: rgba(224, 178, 95, 0.14);
  border: 1px solid rgba(224, 178, 95, 0.4);
  border-radius: 14px;
  box-shadow: none;
  text-align: left;
}
.confirm--dark i { font-size: 20px; color: var(--amber); flex: none; }
.confirm--dark span {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--paper);
}

/* ============================== FOOTER ============================ */
.foot {
  padding: 44px clamp(20px, 5vw, 44px);
  background: var(--ink-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.foot__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot__brand .lamp { color: #f4ecda; width: 17px; height: 26px; }
.foot__word {
  height: 16px;
  width: auto;
  display: block;
}
.foot__fine {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #b6a98d;
  max-width: 44ch;
  text-align: right;
}

/* ============================ REVEAL MOTION ======================= */
.reveal-ready [data-reveal].is-in {
  animation: revealRise 600ms var(--ease-settle) both;
}
@keyframes revealRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes beacon {
  0% { transform: scale(0.55); opacity: 0.65; }
  70% { opacity: 0; }
  100% { transform: scale(2.3); opacity: 0; }
}
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
  100% { transform: translateY(0); }
}
@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
/* one card's life: pop in, hold ~2.5s, fade out, then wait its turn */
@keyframes mapPop {
  0% { opacity: 0; transform: translate(-50%, -100%) translateY(8px) scale(0.96); }
  3% { opacity: 1; transform: translate(-50%, -100%) translateY(0) scale(1); }
  20% { opacity: 1; transform: translate(-50%, -100%) translateY(0) scale(1); }
  24% { opacity: 0; transform: translate(-50%, -100%) translateY(-4px) scale(0.98); }
  100% { opacity: 0; transform: translate(-50%, -100%) translateY(-4px) scale(0.98); }
}

/* ============================== RESPONSIVE ======================= */
/* the simulated popups need the open right-hand map, so only on wide screens */
@media (max-width: 1024px) {
  .hero__pops { display: none; }
}

@media (max-width: 900px) {
  .proof__card { flex-direction: column; gap: 28px; }
  .proof__rule { width: auto; height: 1px; }
  .gone__inner { flex-direction: column; text-align: center; }
  .gone__body { margin-inline: auto; }
  .gone__text .eyebrow { display: block; }
}

@media (max-width: 640px) {
  .nav { height: 64px; }
  .brand__word { height: 14px; }
  .hero__content { padding-top: 120px; }
  /* lower the floor so "Name a place" can't overflow on narrow phones */
  .hero__title { font-size: clamp(2.4rem, 10.5vw, 3.3rem); }
  .intake { flex-direction: column; gap: 8px; padding: 12px; }
  .intake .btn { width: 100%; padding: 14px; }
  .legend { display: none; }
  .glow--sage, .pin--sage { display: none; }
  .hero__label { display: none; }
  .proof__card { padding: 26px 22px; }
  /* on a narrow print the caption tag would collide with the audio pill;
     move it to the top-left so the two sit diagonally */
  .answer-photo .print__tag { top: 10px; bottom: auto; }
  .themap__cta { display: flex; width: 100%; justify-content: center; }
  .foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot__fine { text-align: left; }
  .confirm { padding: 22px; }
  .confirm__title { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* no cycling without motion — show a single card, resting and legible */
  .mapcard { animation: none; }
  .mapcard--1 { opacity: 1; transform: translate(-50%, -100%); }
  .mapcard--2, .mapcard--3 { display: none; }
}
