/* ────────────────────────────────────────────────────────────
   ✺ lost & endangered -- /work/lost/
   uses ../../style.css for shared tokens, nav, footer, grain, cursor
   void black · archival · listening room
   ──────────────────────────────────────────────────────────── */

:root {
  --lost-rule: oklch(1 0 0 / 0.06);
  --lost-mist: oklch(1 0 0 / 0.04);
  --lost-cedar: oklch(0.35 0.05 150);
  --lost-bone:  oklch(0.92 0.02 80);
  --lost-spore: oklch(0.65 0.18 150);
}

/* nav breathe override — brand neon + mint instead of pink + blue.
   the parent style.css has its own @keyframes nav-breathe with hardcoded
   pink/blue; we override it by retargeting the animation on this page. */
@keyframes lost-nav-breathe {
  0%, 100% {
    box-shadow:
      -16px 0 60px -14px rgb(184 235 96 / 0.32),
       16px 0 60px -14px rgb(124 193 172 / 0.32);
  }
  50% {
    box-shadow:
      -22px 0 80px -10px rgb(184 235 96 / 0.5),
       22px 0 80px -10px rgb(124 193 172 / 0.5);
  }
}
.lost-body .nav {
  animation-name: lost-nav-breathe;
}

/* ── L&E brand palette override -- scoped to this page only ── */
.lost-body {
  --neon:    #B8EB60;  /* primary brand lime */
  --mint:    #7CC1AC;  /* secondary brand teal */
  --deep:    #1B3B51;  /* deep navy for depth moments */
  --stone:   #918C7B;  /* warm stone */
  --sage:    #8FA69B;  /* muted sage */

  /* override --bio so every "bio-green" usage picks up the brand lime */
  --bio:     var(--neon);
  --bio-hex: #B8EB60;

  /* override the shared nav glow — dual neon+mint instead of pink+blue */
  --glow-dual:
    -24px 0 80px -10px rgb(184 235 96 / 0.45),
     24px 0 80px -10px rgb(124 193 172 / 0.45);
  --glow-dual-soft:
    -16px 0 60px -14px rgb(184 235 96 / 0.3),
     16px 0 60px -14px rgb(124 193 172 / 0.3);
  --glow-seam: 0 0 14px rgb(184 235 96 / 0.5);

  background: var(--void);
  color: var(--text);
  overflow-x: clip;
}

.lost-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.82vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* eyebrow word flip: entire "story" swaps to "study" with a brief
   chromatic shudder, then snaps back. runs every ~6s via JS. */
.lost-flip-word,
.lost-eyebrow__phrase {
  position: relative;
  display: inline-block;
  font-family: inherit;
  transition: color 0.14s steps(2, end);
}
.lost-flip-word.is-flipped,
.lost-eyebrow__phrase.is-flipped {
  color: var(--neon);
  text-shadow:
    -1px 0 rgb(124 193 172 / 0.7),
     1px 0 rgb(184 235 96 / 0.7),
     0 0 12px rgb(184 235 96 / 0.6);
  animation: lost-flip-shudder 0.46s steps(5, end);
}
@keyframes lost-flip-shudder {
  0%, 100% { transform: translate(0, 0); }
  20%      { transform: translate(-1px, 0); }
  40%      { transform: translate(2px, 0); }
  60%      { transform: translate(-2px, 0); }
  80%      { transform: translate(1px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .lost-flip-word.is-flipped,
  .lost-eyebrow__phrase.is-flipped { animation: none; }
}

/* ── scroll-reveal machinery ──────────────────────────────── */
.lost-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.lost-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.lost-reveal--delay-1 { transition-delay: 0.08s; }
.lost-reveal--delay-2 { transition-delay: 0.16s; }
.lost-reveal--delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .lost-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── decode effect: characters scramble then resolve ────────
   JS wraps text in spans and cycles each char through random
   latin letters, landing at staggered times (~600ms total).
   during scramble, each char glows bio-neon; once locked,
   color returns to its text gradient/fill. */
.lost-decode {
  position: relative;
  display: inline-block;
}
.lost-decode__char {
  display: inline-block;
  transition: color 0.18s steps(3, end);
}
.lost-decode__char--scramble {
  color: var(--neon);
  text-shadow: 0 0 20px rgb(184 235 96 / 0.6);
}
@media (prefers-reduced-motion: reduce) {
  .lost-decode__char { transition: none; }
}

.lost-h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 0.5em;
  text-wrap: balance;
}

/* ── 1 · HERO ─────────────────────────────────────────────── */

.lost-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(24px, 3vh, 48px);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(120px, 16vh, 200px) clamp(24px, 5vw, 72px) clamp(40px, 5vh, 80px);
}
/* two-column layout: title text + preloader video, bounded to 1400px
   to match the landing + about hero content bounds -- left gutters
   line up across all three pages on every viewport. */
.lost-hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.2fr);
  gap: clamp(24px, 3vw, 72px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.lost-hero__text {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  align-content: center;
}
.lost-hero__media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.lost-hero__video {
  width: 100%;
  max-width: 760px;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
  filter: saturate(1) brightness(1) contrast(1.02);
  border-radius: 18px;
  /* the source video has a pure-black bg that doesn't match the page void.
     fade top + corners + upper sides into transparent, but keep the bottom
     edge crisp so the laptop base reads as a clean horizon. */
  -webkit-mask-image:
    radial-gradient(ellipse 35% 24% at top left, transparent 0%, black 70%),
    radial-gradient(ellipse 35% 24% at top right, transparent 0%, black 70%),
    radial-gradient(ellipse 18% 55% at left 30%, transparent 0%, black 75%),
    radial-gradient(ellipse 18% 55% at right 30%, transparent 0%, black 75%),
    linear-gradient(180deg, transparent 0%, black 5%, black 100%);
  mask-image:
    radial-gradient(ellipse 35% 24% at top left, transparent 0%, black 70%),
    radial-gradient(ellipse 35% 24% at top right, transparent 0%, black 70%),
    radial-gradient(ellipse 18% 55% at left 30%, transparent 0%, black 75%),
    radial-gradient(ellipse 18% 55% at right 30%, transparent 0%, black 75%),
    linear-gradient(180deg, transparent 0%, black 5%, black 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* on wide viewports the grid stays at 1400px total but we let the video
   column breathe a little more -- on 27" it reads as the primary visual. */
@media (min-width: 1800px) {
  .lost-hero__video { max-width: 900px; max-height: 78vh; }
  .lost-hero__grid { grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 1.4fr); }
}
@media (max-width: 900px) {
  .lost-hero__grid { grid-template-columns: 1fr; gap: clamp(20px, 4vh, 40px); }
  .lost-hero__media { justify-content: center; }
  .lost-hero__video { max-height: 40vh; opacity: 0.7; }
}
.lost-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, oklch(0.07 0.02 270 / 0.35) 90%, var(--void) 100%);
  pointer-events: none;
}

.lost-hero__content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}
/* meta strip bounds live inside the main .lost-meta block below */
.lost-hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-transform: none;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 30px oklch(0 0 0 / 0.7);
}
.lost-hero__title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--neon) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgb(184 235 96 / 0.3);
}
.lost-hero__sub {
  font-family: var(--f-mono);
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
  padding-right: clamp(16px, 4vw, 64px);
  display: grid;
  gap: 4px;
}
.lost-hero__sub-line {
  display: block;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .lost-hero__sub-line { white-space: normal; }
}

.lost-meta {
  margin: clamp(20px, 3vh, 40px) auto 0;
  display: grid;
  grid-template-columns: minmax(200px, auto) minmax(220px, auto) minmax(130px, auto) 1fr;
  gap: clamp(16px, 3vw, 48px);
  border-top: 1px solid var(--lost-rule);
  padding-top: clamp(18px, 2.5vh, 26px);
  width: 100%;
  max-width: 1400px;
  align-items: baseline;
}
.lost-meta__cue {
  justify-self: end;
  align-self: end;
  display: flex;
  align-items: center;
  padding-top: 18px;
}
@media (max-width: 820px) {
  .lost-meta { grid-template-columns: 1fr; gap: 12px; }
  .lost-meta__cue { justify-self: start; }
}
.lost-meta > div {
  display: grid;
  gap: 4px;
}
.lost-meta dt {
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.8vw, 12px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.lost-meta dd {
  font-family: var(--f-mono);
  font-size: clamp(12px, 1vw, 14px);
  color: var(--text-dim);
  line-height: 1.5;
}

.lost-hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: clamp(11px, 0.95vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.4s var(--ease);
}
.lost-hero__scroll:hover { color: var(--neon); }
.lost-hero__scroll svg { animation: scroll-pulse 2.2s var(--ease) infinite; }
@keyframes scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* ── 2 · THE TRAILER ──────────────────────────────────────── */

.lost-trailer {
  padding: clamp(120px, 18vh, 220px) clamp(24px, 5vw, 72px);
  position: relative;
  isolation: isolate;
}
/* the lime radial backdrop was static and read as a smudge -- removed */
.lost-trailer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.lost-trailer__text {
  display: grid;
  gap: clamp(32px, 5vh, 64px);
}
@media (max-width: 900px) {
  .lost-trailer__inner { grid-template-columns: 1fr; }
}
.lost-trailer__media {
  margin: 0;
  aspect-ratio: 4 / 5;
  max-width: 360px;
  /* sit close to the left so it lines up with the column gutter */
  margin-left: clamp(14px, 3.5vw, 66px);
  margin-right: auto;
  border-radius: 28px;
  overflow: hidden;
  background: var(--void-2);
  filter: drop-shadow(0 30px 70px oklch(0 0 0 / 0.55));
}
.lost-trailer__media img,
.lost-trailer__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* tiny zoom to crop the 1-2px white edge from the Figma export
     without eating into the bird's tail or beak */
  object-position: center 50%;
  transform: scale(1.04);
  transform-origin: center;
  border-radius: 28px;
}

/* massive stat — 99.9% is the hook */
.lost-trailer__stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: baseline;
  margin: 0;
}
@media (max-width: 820px) {
  .lost-trailer__stat { grid-template-columns: 1fr; gap: 12px; }
}
.lost-trailer__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--text);
  display: inline-block;
  font-variant-numeric: tabular-nums;
  padding-right: 0.45em;
  padding-bottom: 0.08em;
  margin-right: 0.1em;
}
.lost-trailer__num em {
  font-style: normal;
  background: linear-gradient(92deg, var(--neon) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* only the % glyph needs ink-overflow padding (italic % extends
   past its advance width and background-clip: text chops the slash);
   the decimal gets no horizontal padding so "99.9" stays tight. */
.lost-trailer__pct {
  padding-right: 0.14em;
}
.lost-trailer__unit {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(18px, 1.9vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  max-width: 30ch;
  align-self: end;
  padding-bottom: clamp(8px, 2vh, 24px);
}
.lost-trailer__unit em {
  font-style: italic;
  color: var(--text);
}

.lost-trailer__copy {
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 54ch;
  margin: 0;
}

.lost-trailer__kicker {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.3;
  color: var(--text);
  margin: 0;
  display: grid;
  gap: 0.05em;
}
.lost-trailer__kicker span { display: block; }
.lost-trailer__listen { color: var(--text); }
.lost-trailer__listen em {
  font-style: italic;
  background: linear-gradient(92deg, var(--neon) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  text-shadow: 0 0 32px rgb(184 235 96 / 0.4);
}

/* ── 3 · THE PROBLEM ──────────────────────────────────────── */

.lost-problem {
  padding: clamp(120px, 16vh, 200px) clamp(24px, 5vw, 72px) clamp(160px, 22vh, 260px);
}
.lost-problem__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 820px) {
  .lost-problem__inner { grid-template-columns: 1fr; }
}
.lost-problem__media {
  overflow: visible;
}
.lost-problem__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* taxidermy vs AI-enhanced specimen plates -- museum catalog framing */
.lost-specimens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 18px);
}
.lost-specimen {
  margin: 0;
  position: relative;
  display: grid;
  gap: 10px;
}
.lost-specimen img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: 0 30px 80px oklch(0 0 0 / 0.5);
  mix-blend-mode: screen;
  filter: saturate(0.9) contrast(1.05);
}
/* Kaua'i AI-enhanced reconstruction is tighter in its original frame --
   shrink + drop low so it sits beneath the taxidermy peg, not floating up */
.lost-specimen:last-child img {
  transform: scale(0.72) translateY(24%);
  transform-origin: center top;
}
.lost-specimen figcaption {
  display: grid;
  gap: 2px;
  padding-left: 2px;
}
.lost-specimen__tag {
  font-family: var(--f-mono);
  font-size: clamp(9px, 0.75vw, 11px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
}
.lost-specimen__line {
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.04em;
  color: var(--text-mute);
  line-height: 1.5;
}
.lost-problem__text {
  display: grid;
  gap: 20px;
}
.lost-problem__text p {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 54ch;
}
.lost-problem__text em {
  color: var(--text);
  font-style: italic;
}

/* ── 4 · THE INSIGHT ──────────────────────────────────────── */

.lost-insight {
  padding: clamp(220px, 28vh, 360px) clamp(24px, 5vw, 72px) clamp(160px, 20vh, 260px);
  text-align: center;
  position: relative;
  isolation: isolate;
}
.lost-insight::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 50% at 50% 50%, rgb(124 193 172 / 0.06), transparent 70%);
}

/* flatline waveform — a voice going quiet, drawn as a single EKG pulse
   that dies into a flat horizontal line. subtle, lime, drifts slowly. */
.lost-insight__wave {
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  width: min(82vw, 1040px);
  height: clamp(48px, 7vh, 96px);
  color: var(--neon);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 10px rgb(184 235 96 / 0.35));
}
.lost-insight__wave path { transition: d 0.18s linear; }
@media (prefers-reduced-motion: reduce) {
  .lost-insight__wave path { transition: none; }
}
.lost-insight__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 5.2vw, 78px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 auto;
  max-width: 20ch;
  display: grid;
  gap: 0.08em;
  text-wrap: balance;
  padding-bottom: 0.12em;
}
.lost-insight__title span:nth-child(1) { color: var(--text-dim); }
.lost-insight__title span:nth-child(2) { color: var(--text); }
.lost-insight__title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--neon) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lost-insight__sub {
  margin: clamp(32px, 5vh, 56px) auto 0;
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 56ch;
}

/* ── 5 · WHAT WAS BUILT ───────────────────────────────────── */

.lost-built {
  padding: clamp(110px, 14vh, 180px) clamp(24px, 5vw, 72px) clamp(140px, 18vh, 220px);
}
.lost-built__head {
  max-width: 62ch;
  margin: 0 auto clamp(100px, 14vh, 160px);
  display: grid;
  gap: 16px;
}
.lost-built__list {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  gap: clamp(128px, 16vh, 200px);
  list-style: none;
  padding: 0;
}
.lost-built__block {
  display: grid;
  grid-template-columns: auto 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.lost-built__block:nth-child(even) {
  grid-template-columns: 1.2fr 1fr auto;
}
.lost-built__block:nth-child(even) .lost-built__media { order: -1; }
.lost-built__block:nth-child(even) .lost-built__num { order: 3; }
@media (max-width: 900px) {
  .lost-built__block,
  .lost-built__block:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lost-built__block:nth-child(even) .lost-built__media,
  .lost-built__block:nth-child(even) .lost-built__num { order: initial; }
}

.lost-built__num {
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.1em;
  color: var(--bio);
  padding-top: 6px;
  align-self: start;
}
.lost-built__body {
  display: grid;
  gap: 14px;
  max-width: 46ch;
}
.lost-built__body h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
}
.lost-built__body p {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--text-dim);
}
.lost-built__media {
  margin: 0;
  filter: drop-shadow(0 40px 80px oklch(0 0 0 / 0.5));
}
.lost-built__media img,
.lost-built__media video {
  width: 100%;
  height: auto;
  display: block;
}
/* the soundscape video has a hardcoded black bg that doesn't match the
   void; soften corners + top edge so it dissolves into the page */
.lost-built__media video {
  border-radius: 14px;
  -webkit-mask-image:
    radial-gradient(ellipse 30% 22% at top left, transparent 0%, black 70%),
    radial-gradient(ellipse 30% 22% at top right, transparent 0%, black 70%),
    linear-gradient(180deg, transparent 0%, black 4%, black 100%);
  mask-image:
    radial-gradient(ellipse 30% 22% at top left, transparent 0%, black 70%),
    radial-gradient(ellipse 30% 22% at top right, transparent 0%, black 70%),
    linear-gradient(180deg, transparent 0%, black 4%, black 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* ── 6 · DEEP DIVE: KAUA'I 'Ō'Ō ───────────────────────────── */

.lost-kauai {
  position: relative;
  padding: clamp(100px, 14vh, 180px) clamp(24px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
  transition: background-color 1.2s var(--ease);
}
.lost-kauai.is-listening {
  background: oklch(0.04 0.01 270);
}
/* lost-kauai__bg video removed -- dark page, no background distraction */
/* veil is now identity-only: no tint, just sits ready in case is-listening
   flips it. fixes the visible seam between built (pure void) and kauai */
.lost-kauai__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--void);
  transition: opacity 1.6s var(--ease);
  opacity: 0;
}
.lost-kauai.is-listening .lost-kauai__veil { opacity: 0.6; }

/* when listening, hush the surrounding elements so the player + quote carry */
.lost-kauai.is-listening .lost-kauai__head,
.lost-kauai.is-listening .lost-kauai__pair,
.lost-kauai.is-listening .lost-kauai__outro,
.lost-kauai.is-listening .lost-kauai__fig {
  opacity: 0.32;
  transition: opacity 1.6s var(--ease);
}
.lost-kauai.is-listening .lost-kauai__quote {
  border-left-color: var(--bio);
  box-shadow: 0 0 60px oklch(0.88 0.35 142 / 0.18);
  transition: border-color 1s var(--ease), box-shadow 1s var(--ease);
}

.lost-kauai__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: clamp(40px, 6vh, 72px);
}
.lost-kauai__head {
  display: grid;
  gap: 12px;
  max-width: 62ch;
}
.lost-kauai__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.lost-kauai__meta {
  font-family: var(--f-mono);
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0;
}

.lost-kauai__pair {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 820px) {
  .lost-kauai__pair { grid-template-columns: 1fr; }
}
.lost-kauai__sincock {
  margin: 0;
  display: grid;
  gap: 12px;
}
.lost-kauai__sincock img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 30px 70px oklch(0 0 0 / 0.55);
}
.lost-kauai__sincock figcaption {
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.88vw, 12px);
  letter-spacing: 0.08em;
  color: var(--text-mute);
  line-height: 1.5;
}

.lost-kauai__story {
  display: grid;
  gap: 18px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7;
  color: var(--text-dim);
}
.lost-kauai__story p { margin: 0; }

.lost-kauai__outro {
  max-width: 64ch;
  margin: clamp(56px, 8vh, 96px) auto 0;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.01em;
  display: grid;
  gap: 0.4em;
}
.lost-outro__line {
  display: block;
}
.lost-outro__line:first-child {
  /* the dates line carries the glitch -- crisp + memorable */
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(92deg, var(--neon), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgb(184 235 96 / 0.25));
}
.lost-outro__line:last-child {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.92em;
}

/* glitch chromatic ghost for the dates line (CSS pseudo-element copies)
   sits on .lost-glitch parent which has data-text from HTML */
.lost-glitch {
  position: relative;
}
.lost-glitch::before,
.lost-glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: max-content;
  pointer-events: none;
  font-weight: 700;
  font-style: italic;
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  mix-blend-mode: screen;
  opacity: 0;
  -webkit-text-fill-color: currentColor;
}
.lost-glitch::before {
  color: rgb(184 235 96 / 0.85);
  animation: lost-outro-glitch-a 4.6s steps(7, end) infinite;
}
.lost-glitch::after {
  color: rgb(124 193 172 / 0.85);
  animation: lost-outro-glitch-b 5.2s steps(7, end) infinite;
}
@keyframes lost-outro-glitch-a {
  0%, 88%, 100% { opacity: 0; transform: translate(-50%, 0); clip-path: inset(0 0 0 0); }
  90%           { opacity: 0.7; transform: translate(calc(-50% - 3px), -1px); clip-path: inset(0 0 60% 0); }
  94%           { opacity: 0.6; transform: translate(calc(-50% - 5px), 1px); clip-path: inset(45% 0 25% 0); }
  98%           { opacity: 0; transform: translate(-50%, 0); }
}
@keyframes lost-outro-glitch-b {
  0%, 84%, 100% { opacity: 0; transform: translate(-50%, 0); clip-path: inset(0 0 0 0); }
  86%           { opacity: 0.7; transform: translate(calc(-50% + 3px), 1px); clip-path: inset(55% 0 10% 0); }
  92%           { opacity: 0.6; transform: translate(calc(-50% + 5px), -1px); clip-path: inset(15% 0 50% 0); }
  96%           { opacity: 0; transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .lost-glitch::before,
  .lost-glitch::after { animation: none; opacity: 0; }
}

/* quote row: quote text on the left, Sincock's 1971 memo on the right.
   balances the previous white-space void and grounds the quote in its
   archival source material. */
.lost-kauai__quote-row {
  display: grid;
  /* mirror the .lost-kauai__pair grid so the quote column lands directly
     under the truck photo above (same left edge + same right edge) */
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin: clamp(48px, 7vh, 88px) 0;
}
@media (max-width: 820px) {
  .lost-kauai__quote-row { grid-template-columns: 1fr; }
}
.lost-kauai__quote {
  position: relative;
  margin: 0;
  /* breathing room off the curly mark + the column edge */
  padding: clamp(20px, 3vh, 32px) 0 0 clamp(48px, 5.5vw, 84px);
  background: none;
  backdrop-filter: none;
  border: none;
}
.lost-kauai__memo {
  margin: 0;
  display: grid;
  gap: 10px;
}
.lost-kauai__memo img {
  width: 100%;
  height: auto;
  filter: invert(1) contrast(0.85) hue-rotate(180deg);
  mix-blend-mode: screen;
  opacity: 0.78;
  border-radius: 2px;
}
.lost-kauai__memo figcaption {
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.08em;
  color: var(--text-mute);
}
.lost-kauai__quote::before {
  content: '\201C';
  position: absolute;
  left: -0.04em;
  top: -0.28em;
  font-family: var(--f-display);
  font-size: clamp(64px, 7vw, 128px);
  line-height: 1;
  color: var(--neon);
  opacity: 0.65;
  pointer-events: none;
}
.lost-kauai__quote p {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.32;
  color: var(--text);
  margin: 0 0 18px;
  font-style: italic;
  letter-spacing: -0.005em;
  /* width chosen so "Knowing they might be" sits as line 1 + the rest
     wraps cleanly without leaving "call." as a widow */
  max-width: 21ch;
  text-wrap: balance;
}
.lost-kauai__quote cite {
  font-family: var(--f-mono);
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-style: normal;
}
.lost-kauai__quote cite a {
  color: var(--text-dim);
  border-bottom: 1px solid var(--lost-rule);
  text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lost-kauai__quote cite a:hover {
  color: var(--text);
  border-color: var(--neon);
}

.lost-kauai__player {
  display: grid;
  gap: 16px;
  margin: clamp(24px, 4vh, 48px) 0;
  padding: 0;
  position: relative;
}
.lost-kauai__player::before {
  /* subtle bio-green horizon line above the play moment */
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  width: clamp(60px, 10vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, var(--bio) 0%, transparent 100%);
  opacity: 0.55;
}
.lost-play {
  appearance: none;
  background: transparent;
  color: var(--text);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 0;
  font-family: var(--f-display);
  text-align: left;
  position: relative;
}
/* neon play triangle — no pulsing ring, cleaner geometry
   an equilateral triangle rendered via clip-path on a green disk */
.lost-play__ring {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgb(184 235 96 / 0.22) 0%, transparent 72%),
    oklch(0.07 0.01 270);
  box-shadow:
    inset 0 0 0 1px rgb(184 235 96 / 0.6),
    0 0 28px rgb(184 235 96 / 0.35);
  transition:
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease),
    background 0.35s var(--ease);
}
.lost-play__ring::after {
  /* the triangle */
  content: '';
  position: absolute;
  top: 50%; left: 54%;
  width: 12px; height: 14px;
  transform: translate(-50%, -50%);
  background: var(--neon);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.lost-play__icon { display: none; }
.lost-play:hover .lost-play__ring {
  transform: scale(1.06);
  box-shadow:
    inset 0 0 0 1px rgb(184 235 96 / 0.9),
    0 0 42px rgb(184 235 96 / 0.55);
  background:
    radial-gradient(circle at 50% 50%, rgb(184 235 96 / 0.38) 0%, transparent 72%),
    oklch(0.07 0.01 270);
}
.lost-play__label {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  font-style: italic;
  position: relative;
  text-transform: none;
}
.lost-play:hover .lost-play__label {
  /* subtle color shift to neon, no chromatic ghosting (it read as blurry) */
  color: var(--neon);
}
.lost-play.is-playing .lost-play__ring {
  background:
    radial-gradient(circle at 50% 50%, rgb(184 235 96 / 0.5) 0%, transparent 72%),
    oklch(0.07 0.01 270);
  box-shadow:
    inset 0 0 0 1px var(--neon),
    0 0 60px rgb(184 235 96 / 0.75);
}
/* while playing, the triangle becomes two vertical bars (pause glyph) */
.lost-play.is-playing .lost-play__ring::after {
  background: transparent;
  width: 10px;
  height: 14px;
  clip-path: none;
  border-left: 3px solid var(--neon);
  border-right: 3px solid var(--neon);
  left: 50%;
}

/* inline play variant — smaller, fits inside the built block body */
.lost-play--inline {
  margin-top: 14px;
  gap: 12px;
}
.lost-play--inline .lost-play__ring {
  width: 30px; height: 30px; flex: 0 0 30px;
}
.lost-play--inline .lost-play__ring::after {
  width: 8px; height: 10px;
}
.lost-play--inline .lost-play__label {
  font-size: clamp(13px, 1.05vw, 15px);
  font-style: normal;
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  text-transform: none;
}

.lost-play__credit {
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.08em;
  color: var(--text-mute);
  line-height: 1.5;
  margin: 0;
  max-width: 58ch;
}

/* ── immersive stage: video + chromatic ghosts ──────────────
   revealed by .is-armed (first click); kept visible after video
   ends so the frozen frame stays on screen as a still. */
.lost-stage {
  margin: clamp(24px, 4vh, 48px) 0 0;
  padding: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  overflow: hidden;
  background: var(--void);
  display: block;
  opacity: 0;
  max-height: 0;
  transform: scale(0.98) translateY(8px);
  transition:
    opacity 0.9s var(--ease),
    max-height 1.1s var(--ease),
    transform 0.9s var(--ease);
  pointer-events: none;
  box-shadow:
    0 50px 120px oklch(0 0 0 / 0.6),
    inset 0 0 0 1px rgb(184 235 96 / 0.35);
}
.lost-stage.is-armed {
  opacity: 1;
  max-height: 70vh;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.lost-stage__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* subtle scanlines only activate while playing -- not when parked on first frame */
.lost-stage__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgb(0 0 0 / 0.22) 3px,
    rgb(0 0 0 / 0.22) 4px
  );
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.lost-kauai.is-listening .lost-stage__scan {
  opacity: 1;
  animation: lost-scan-drift 6s linear infinite;
}
@keyframes lost-scan-drift {
  from { background-position: 0 0; }
  to   { background-position: 0 12px; }
}
.lost-stage__ghost {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.lost-stage__ghost--neon {
  background: radial-gradient(120% 70% at 20% 30%, rgb(184 235 96 / 0.14) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.lost-stage__ghost--mint {
  background: radial-gradient(120% 70% at 80% 70%, rgb(124 193 172 / 0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.lost-kauai.is-listening .lost-stage__ghost--neon {
  opacity: 1;
  animation: lost-ghost-pulse-a 4.7s steps(8, end) infinite;
}
.lost-kauai.is-listening .lost-stage__ghost--mint {
  opacity: 1;
  animation: lost-ghost-pulse-b 5.3s steps(8, end) infinite;
}
@keyframes lost-ghost-pulse-a {
  0%,100% { transform: translate(0, 0);  opacity: 0.8; }
  25%     { transform: translate(-4px, 2px); opacity: 0.55; }
  50%     { transform: translate(2px, -3px); opacity: 0.9; }
  75%     { transform: translate(-2px, 1px); opacity: 0.7; }
}
@keyframes lost-ghost-pulse-b {
  0%,100% { transform: translate(0, 0);  opacity: 0.75; }
  25%     { transform: translate(3px, -2px); opacity: 0.95; }
  50%     { transform: translate(-2px, 2px); opacity: 0.6; }
  75%     { transform: translate(4px, -1px); opacity: 0.85; }
}
/* flicker removed -- was dulling the crisp UI, not helping */
@media (prefers-reduced-motion: reduce) {
  .lost-stage__scan,
  .lost-stage__ghost,
  .lost-kauai.is-listening .lost-stage { animation: none; }
}

.lost-kauai__fig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .lost-kauai__fig-grid { grid-template-columns: 1fr; }
}
.lost-kauai__cell {
  margin: 0;
  display: grid;
  gap: 12px;
  text-align: left;
}
/* sketch + field footage cells share the same height so captions land
   on the same baseline. sketch is contained (no crop) inside a 4/3 box,
   field footage covers the box (object-fit: cover) */
.lost-kauai__cell:first-child {
  align-items: start;
  justify-items: start;
}
.lost-kauai__sketch {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: contain;
  object-position: left center;
  /* chalk-on-void: invert so the sketch becomes light lines */
  filter: invert(1) contrast(0.82) hue-rotate(180deg);
  mix-blend-mode: screen;
  background: transparent;
  opacity: 0.82;
}
.lost-kauai__cell:first-child figcaption {
  padding-left: 0;
}
.lost-kauai__field {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 20px 60px oklch(0 0 0 / 0.55);
  background: var(--void-2);
}
.lost-kauai__cell figcaption {
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.88vw, 12px);
  letter-spacing: 0.08em;
  color: var(--text-mute);
  line-height: 1.6;
  text-align: left;
}

/* ── 7 · PIVOT: SPOTTED OWL ───────────────────────────────── */

.lost-owl {
  padding: clamp(140px, 18vh, 220px) clamp(24px, 5vw, 72px);
}
.lost-owl__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 820px) {
  .lost-owl__inner { grid-template-columns: 1fr; }
}
.lost-owl__text {
  display: grid;
  gap: 18px;
  max-width: 52ch;
}
.lost-owl__kicker {
  margin-top: clamp(20px, 3vh, 36px);
}
.lost-owl__h2 {
  max-width: 18ch;
}
.lost-owl__text p {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--text-dim);
  text-wrap: pretty;
}
.lost-owl__kicker em {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--text);
  line-height: 1.3;
}
.lost-owl__media {
  margin: 0;
  filter: drop-shadow(0 40px 80px oklch(0 0 0 / 0.6));
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.lost-owl:hover .lost-owl__media {
  transform: translateY(-4px);
  filter: drop-shadow(0 50px 100px oklch(0 0 0 / 0.65));
}
.lost-owl__media img,
.lost-owl__media video {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 8 · REFLECTION ───────────────────────────────────────── */

.lost-reflect {
  padding: clamp(140px, 18vh, 220px) clamp(24px, 5vw, 72px);
}
.lost-reflect__inner {
  max-width: 68ch;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.lost-reflect p {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}
.lost-reflect__next {
  margin-top: clamp(24px, 3vh, 40px);
  font-family: var(--f-mono);
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.lost-reflect__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--lost-rule);
  padding-top: 20px;
}
.lost-reflect__list li {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.55;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
}
.lost-reflect__list li::before {
  content: '✺';
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--neon);
  font-size: 0.85em;
}
.lost-reflect__close {
  margin-top: clamp(32px, 5vh, 56px);
  padding-top: clamp(24px, 3vh, 36px);
  border-top: 1px solid var(--lost-rule);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(18px, 1.9vw, 28px);
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
}
.lost-reflect__close {
  display: grid;
  gap: 0.2em;
}

/* neon sweep: a bright highlighter-line glides under each line on load,
   and on hover the text briefly brightens to full neon.
   no layout shift, no decode reshuffle -- just light moving through. */
/* first line: "almost went extinct" -- reads as fading, lower contrast
   second line: "keeps breathing" -- literally breathes (scale pulse) + mint gradient
   no more identical sweep on both lines */
.lost-sweep {
  position: relative;
  display: inline-block;
  color: var(--text-dim);
  transition: color 0.6s var(--ease);
  cursor: default;
}
.lost-sweep--alt {
  color: var(--text);
  background: linear-gradient(92deg, var(--neon), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lost-breathe 6s ease-in-out infinite;
}
/* whisper-soft glow pulse; no scale, no aggressive bloom */
@keyframes lost-breathe {
  0%, 100% { filter: drop-shadow(0 0 4px rgb(184 235 96 / 0.08)); }
  50%      { filter: drop-shadow(0 0 12px rgb(184 235 96 / 0.18)); }
}
.lost-sweep:hover {
  color: var(--text);
}
@media (prefers-reduced-motion: reduce) {
  .lost-sweep--alt { animation: none; }
}

/* neon underline for highlighted words in the reflection */
.lost-mark {
  text-decoration: none;
  background-image: linear-gradient(0deg, var(--neon), var(--neon));
  background-position: 0 100%;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  color: var(--text);
  transition: background-size 0.5s var(--ease), color 0.3s var(--ease);
}
.lost-mark:hover {
  color: var(--neon);
  background-size: 100% 100%;
  background-image: linear-gradient(0deg, rgb(184 235 96 / 0.12), rgb(184 235 96 / 0.12));
}

.lost-reflect__fig {
  margin: clamp(40px, 6vh, 72px) 0 0;
  display: grid;
  gap: 12px;
}
.lost-reflect__fig img,
.lost-reflect__fig video {
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 30px 70px oklch(0 0 0 / 0.55);
  display: block;
}

.lost-reflect__fig figcaption {
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.88vw, 12px);
  letter-spacing: 0.08em;
  color: var(--text-mute);
  line-height: 1.5;
}

/* still-breathing single-image bookend: ivy comped the screen + waterfall
   in figma. the empty fog area at the top is reclaimed for "Still breathing"
   set as overlay text so the image reads as a self-contained closer. */
.lost-reflect__fig--single {
  margin-top: clamp(56px, 8vh, 96px);
  display: grid;
  gap: clamp(20px, 3vh, 32px);
  justify-items: center;
}
.lost-reflect__eyebrow--above {
  /* this version sits ABOVE the image, not over the fog -- always readable */
  text-shadow: none;
  color: var(--text-mute);
}
.lost-reflect__frame {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 50px 120px oklch(0 0 0 / 0.6);
  background: var(--void-2);
}
.lost-reflect__frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.lost-reflect__caption-overlay {
  position: absolute;
  /* sits halfway between the top of the image and the laptop screen edge */
  top: clamp(80px, 16%, 220px);
  left: 0;
  right: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  padding: 0 clamp(20px, 4vw, 64px);
}
.lost-reflect__eyebrow {
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-shadow: 0 0 24px oklch(0 0 0 / 0.8);
}
/* pure white italic -- no glow, no gradient, no blur effects.
   max contrast against a green/blue fog, lets the letterforms do the
   work without any halo artifacts to fight the image */
.lost-reflect__phrase {
  position: relative;
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
@media (prefers-reduced-motion: reduce) {
  .lost-reflect__phrase { animation: none; }
}

/* ── closing signature + next-project CTA ────────────── */
.lost-signoff {
  max-width: 1400px;
  margin: 0 auto clamp(60px, 9vh, 100px);
  padding: clamp(40px, 7vh, 90px) clamp(24px, 5vw, 72px) clamp(80px, 12vh, 140px);
  text-align: center;
  display: grid;
  gap: clamp(20px, 3vh, 36px);
  justify-items: center;
}
.lost-signoff__eyebrow {
  font-family: var(--f-mono);
  font-size: clamp(10px, 0.85vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-bottom: clamp(8px, 1.5vh, 16px);
}
.lost-signoff p {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 clamp(16px, 3vh, 32px);
  letter-spacing: -0.02em;
  font-style: italic;
  background: linear-gradient(92deg, var(--neon), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgb(184 235 96 / 0.25));
}
/* CTA pill: matches the footer email button exactly -- mono, pill,
   blurred dark fill, neon border + glow on hover, NO transform lift */
.lost-next {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.06em;
  padding: 14px 22px;
  border: 1px solid var(--lost-rule);
  border-radius: 999px;
  background: color-mix(in oklch, var(--void) 70%, transparent);
  backdrop-filter: blur(10px);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease), color 0.4s var(--ease);
}
.lost-next:hover {
  border-color: var(--neon);
  box-shadow:
    0 0 22px -2px rgb(184 235 96 / 0.55),
    0 0 52px -8px rgb(124 193 172 / 0.3);
  color: var(--neon);
}

/* legacy (kept for any cache-era references; section removed from HTML) */
.lost-summary {
  max-width: 1000px;
  margin: 0 auto clamp(100px, 14vh, 160px);
  padding: clamp(24px, 4vh, 40px) 0;
  background: transparent;
  border: none;
}
.lost-summary__dl {
  display: grid;
  gap: 0;
  margin: 0;
}
.lost-summary__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(16px, 2.4vh, 26px) 0;
  border-top: 1px solid var(--lost-rule);
  align-items: baseline;
  cursor: default;
}
.lost-summary__row:last-child {
  border-bottom: 1px solid var(--lost-rule);
}
@media (max-width: 700px) {
  .lost-summary__row { grid-template-columns: 1fr; gap: 4px; }
}
.lost-summary__dl dt {
  font-family: var(--f-mono);
  font-size: clamp(11px, 0.95vw, 14px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.4s var(--ease);
  /* keep the decoded characters readable even mid-scramble */
  font-variant-numeric: tabular-nums;
}
.lost-summary__row:hover dt {
  color: var(--text);
}
.lost-summary__dl dd {
  font-family: var(--f-display);
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--text);
  margin: 0;
}

/* footer breathes naturally now -- no top rule splitting it from the page */

/* ── bird-card footer: centered, big, behind text ─────────
   the text "let's build something / with soul" sits ON TOP of
   the card. the card is cursor-reactive: hovering lights up
   both the card (lime/mint glow) and the email button (glitch). */
.lost-body .foot {
  position: relative;
  min-height: clamp(640px, 92vh, 860px);
  padding-bottom: clamp(60px, 8vh, 96px);
  /* shared .foot uses isolation: isolate which clips the bird card's
     drop-shadow at the section seam -- override so the glow can bleed
     up into the signoff above without a hard cut line */
  isolation: auto;
  overflow: visible;
}
/* kill the shared pink orb that was bleeding behind the card */
.lost-body .backdrop,
.lost-body .orb--pink {
  display: none !important;
}
.lost-body .foot__content {
  position: relative;
  z-index: 3;
}
/* lift just the "✢ inbox open" eyebrow upward; middle + bottom stay put */
.lost-body .foot__content > .eyebrow {
  transform: translateY(clamp(-60px, -5vh, -28px));
}
.lost-body .lost-foot__card {
  /* override the shared orchid bloom — we replace its role entirely */
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(72vw, 420px);
  max-height: 78%;
  height: auto;
  filter: none;
  animation: none;
  z-index: 1;
  pointer-events: auto;
  margin: 0;
  cursor: pointer;
}
.lost-body .lost-foot__card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  /* the shared .foot__bloom img top-fade mask is for the orchid bloom on
     landing/about; the bird card is positioned mid-footer and would lose
     its top half to that mask, so override it back to none here */
  -webkit-mask-image: none;
  mask-image: none;
  /* kill the shared orchid styles + pink pulse keyframe */
  mix-blend-mode: normal;
  opacity: 1;
  animation: lost-card-breathe 8s ease-in-out infinite alternate;
  filter:
    drop-shadow(0 40px 90px oklch(0 0 0 / 0.6))
    drop-shadow(0 0 60px rgb(184 235 96 / 0.3));
  transition: transform 0.5s var(--ease);
}
@keyframes lost-card-breathe {
  0%   { filter:
    drop-shadow(0 40px 90px oklch(0 0 0 / 0.55))
    drop-shadow(0 0 50px rgb(184 235 96 / 0.22))
    drop-shadow(0 0 100px rgb(124 193 172 / 0.12));
  }
  100% { filter:
    drop-shadow(0 40px 90px oklch(0 0 0 / 0.6))
    drop-shadow(0 0 90px rgb(184 235 96 / 0.4))
    drop-shadow(0 0 140px rgb(124 193 172 / 0.28));
  }
}
.lost-body .lost-foot__card:hover img {
  transform: scale(1.012);
  animation-play-state: paused;
  filter:
    drop-shadow(0 50px 110px oklch(0 0 0 / 0.7))
    drop-shadow(0 0 100px rgb(184 235 96 / 0.55))
    drop-shadow(0 0 140px rgb(124 193 172 / 0.4));
}
@media (prefers-reduced-motion: reduce) {
  .lost-body .lost-foot__card img { animation: none; }
}

/* email button — brand green border + glow on hover.
   Glitch chromatic ghosts ONLY fire when hovering the bird card;
   hovering the email button itself just lights up the neon outline. */
.lost-body .foot__mail,
.lost-body .lost-foot__mail {
  white-space: nowrap;
  position: relative;
}
.lost-body .foot__mail:hover,
.lost-body .lost-foot__mail:hover {
  border-color: var(--neon);
  box-shadow:
    0 0 22px -2px rgb(184 235 96 / 0.55),
    0 0 52px -8px rgb(124 193 172 / 0.3);
  color: var(--neon);
}
.lost-foot__mail::before,
.lost-foot__mail::after {
  content: attr(data-text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  padding: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  transition: opacity 0.3s var(--ease);
  white-space: nowrap;
}
.lost-foot__mail::before { color: var(--neon); }
.lost-foot__mail::after { color: var(--mint); }

/* ghosts active ONLY when the bird card is hovered */
.lost-body .lost-foot__card:hover ~ .foot__content .lost-foot__mail::before {
  opacity: 0.9;
  animation: lost-mail-glitch-a 0.55s steps(4, end) infinite;
}
.lost-body .lost-foot__card:hover ~ .foot__content .lost-foot__mail::after {
  opacity: 0.9;
  animation: lost-mail-glitch-b 0.55s steps(4, end) infinite;
}
/* when the email itself is hovered, kill any lingering ghost */
.lost-foot__mail:hover::before,
.lost-foot__mail:hover::after {
  opacity: 0;
  animation: none;
}
@keyframes lost-mail-glitch-a {
  0%,100% { transform: translate(calc(-50% - 2px), -50%); clip-path: inset(0 0 60% 0); }
  50%     { transform: translate(calc(-50% - 4px), calc(-50% + 1px)); clip-path: inset(50% 0 15% 0); }
}
@keyframes lost-mail-glitch-b {
  0%,100% { transform: translate(calc(-50% + 2px), -50%); clip-path: inset(55% 0 10% 0); }
  50%     { transform: translate(calc(-50% + 4px), calc(-50% - 1px)); clip-path: inset(15% 0 55% 0); }
}

/* back-to-top button — lime outline + mint glow on L&E page */
.lost-body .to-top:hover {
  border-color: var(--neon);
  box-shadow:
    -18px 0 60px -10px rgb(184 235 96 / 0.45),
     18px 0 60px -10px rgb(124 193 172 / 0.45);
}

/* brand the "with soul" accent lime -> mint on this page only,
   and swap the pink drop-shadow glow for brand lime */
.lost-body .foot__title em {
  background: linear-gradient(92deg, var(--neon), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgb(184 235 96 / 0.45));
}
@media (max-width: 820px) {
  .lost-body .lost-foot__card {
    position: relative;
    top: auto; left: auto;
    transform: none;
    margin: 0 auto clamp(24px, 4vh, 40px);
    width: 80%;
    max-width: 360px;
  }
  .lost-body .foot { min-height: auto; }
}

/* ── prefers-reduced-motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lost-hero__video,
  .lost-kauai__bg,
  .lost-problem__media video,
  .lost-built__media video,
  .lost-owl__media video {
    display: none;
  }
  .lost-play__ring::after { animation: none; }
  .lost-hero__scroll svg { animation: none; }
}
