/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lato-400-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lato-400.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/lato-700-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/lato-700.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/lato-900-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/lato-900.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Permanent Marker';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lato-400-alt.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ─────────────────────────────────────────
   GearUp Exchange — design tokens & base
   ───────────────────────────────────────── */
:root {
  /* Palette from brand color family */
  --sand:        #E4D4C1;
  --sand-deep:   #D8C5AE;
  --sand-soft:   #EFE3D2;
  --rust:        #E27A30;
  --rust-deep:   #A8470A;
  --rust-soft:   #E27A30;
  --sage:        #8E9C8B;
  --sage-soft:   #B5BFAF;
  --forest:      #3B616C;
  --forest-deep: #264852;
  --storm:       #3B616C;
  --storm-soft:  #557B86;
  --storm-light: #AEC8CF;
  --soil:        #1A1A19;
  --white:       #FFFFFF;

  /* Semantic */
  --bg:          var(--sand);
  --bg-soft:     var(--sand-soft);
  --ink:         var(--soil);
  --ink-strong:  var(--forest);
  --accent:      var(--rust);
  --accent-ink:  #FFFFFF;

  /* Type */
  --font: 'Lato', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --ease-in:   cubic-bezier(.7,0,.84,0);
  --ease-soft: cubic-bezier(.4,.05,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ─────────────────────────────────────────
   Typography scale (Lato 400/600/700/900)
   ───────────────────────────────────────── */
.display {
  font-weight: 900;
  font-size: clamp(48px, 7vw, 112px);
  line-height: .96;
  letter-spacing: -0.02em;
  color: var(--white);
}
.h-eyebrow {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--forest);
}
.h-section {
  font-weight: 900;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--forest);
}
.h-card {
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  color: var(--forest);
}
.body-lg { font-size: 19px; font-weight: 400; line-height: 1.55; color: var(--ink); }
.body    { font-size: 16px; font-weight: 400; line-height: 1.6;  color: var(--ink); }
.body-sm { font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--ink); }

/* ─────────────────────────────────────────
   Buttons (rounded, per spec)
   ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .25s var(--ease-out),
              box-shadow .25s var(--ease-out),
              background .2s var(--ease-out),
              color .2s var(--ease-out);
  white-space: nowrap;
  user-select: none;
}
.btn-primary {
  background: var(--rust);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(226,122,48,.6);
}
.btn-primary:hover {
  background: var(--rust-deep);
  box-shadow: 0 8px 22px -10px rgba(226,122,48,.6);
}
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid currentColor;
}
.btn-ghost:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }
.btn-storm {
  background: var(--storm);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(59,97,108,.6);
}
.btn-storm:hover {
  background: #264852;
}
.btn-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
}
.btn-light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 13px; }
/* Get Updates nav button — no blue glow */
.nav-links .btn-storm, .nav-links .btn-storm:hover { box-shadow: none; }
.nav-links .btn-storm { font-size: 14px; }
/* Leah: remove blue hue behind hero signup button */
.signup-card .btn-storm, .signup-card .btn-storm:hover { box-shadow: none; }
/* Leah: remove orange hue behind CTA card button */
.cta-form-card .btn-primary, .cta-form-card .btn-primary:hover { box-shadow: none; }

/* ─────────────────────────────────────────
   Layout
   ───────────────────────────────────────── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-tight { max-width: 980px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* ─────────────────────────────────────────
   Sticky nav
   ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .35s var(--ease-out), padding .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.nav.scrolled {
  background: #F5EDDE;
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(120,95,60,.14);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; letter-spacing: -0.02em; font-size: 22px;
  color: #fff;
  transition: color .35s var(--ease-out);
}
.nav.scrolled .nav-logo { color: var(--forest); }
.nav-logo img { height: 40px; width: 40px; transition: filter .35s var(--ease-out); }
.nav.scrolled .nav-logo img { filter: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-weight: 600; font-size: 14px; color: #fff;
  transition: color .35s var(--ease-out), opacity .2s;
  position: relative;
  white-space: nowrap;
}
.nav.scrolled .nav-link { color: var(--forest); }
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  height: 2px; width: 0; background: currentColor;
  transition: width .3s var(--ease-out);
}
.nav-link:hover::after { width: 100%; }
@media (max-width: 760px) {
  .nav-links .nav-link { display: none; }
  /* smaller "Get Updates" pill on phones, with more comfortable padding */
  .nav-links .btn-storm { height: 40px; padding: 0 22px; font-size: 13px; }
  .nav.scrolled .nav-links .btn-storm { height: 38px; }
}

/* ─────────────────────────────────────────
   Hero
   ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  display: flex; align-items: flex-end;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: -10% 0 0 0;
  background-size: cover; background-position: center;
  z-index: 0;
  will-change: transform;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,26,25,.55) 0%, rgba(26,26,25,.15) 35%, rgba(26,26,25,.7) 100%);
  z-index: 1;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: .15; mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.4) 0, transparent 30%),
    radial-gradient(circle at 75% 70%, rgba(0,0,0,.4) 0, transparent 30%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-grid {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: end;
}
@media (max-width: 1040px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0; border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 11px; font-weight: 700; letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255, 240, 220, 0.85);
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--rust-soft);
  box-shadow: 0 0 0 0 rgba(226,122,48,.6);
  animation: pulse 2s infinite;
  position: relative;
  top: -1px;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(226,122,48,.55); }
  50%     { box-shadow: 0 0 0 10px rgba(226,122,48,0); }
}

.hero-sub {
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  max-width: 520px;
  margin: 24px 0 0;
}

.hero-mark {
  width: clamp(90px, 9vw, 130px);
  margin-bottom: 28px;
  opacity: .95;
  transition: transform .8s var(--ease-out);
}

/* Email card overlay on hero — styled as a framed vintage slide mount */
.signup-card {
  background: transparent;
  border: none;
  border-radius: 20px;
  padding: 24px 20px 28px;
  color: var(--soil);
  position: relative;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 520px;
}
.signup-card .cs-hand {
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}
.signup-card .cs-hand-top {
  font-size: 47px;
  color: #E06A14;
  transform: rotate(-3deg);
  margin: 2px 0 12px 2px;
  opacity: 0.85;
  background-color: #E06A14;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.22 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  background-size: 160px 160px;
  background-blend-mode: multiply;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
  border: 3px solid var(--forest-deep);
  border-width: 3px 2px 4px 3px;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
  transform: rotate(-0.5deg);
}
.signup-card .email-form {
  background: transparent;
  padding: 0;
  gap: 7px;
}
.signup-card .email-form:focus-within { box-shadow: none; }
/* CTA scattered slide marks (self-contained, mirrors the problem mounts) */
.signup-card .anno {
  position: absolute;
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}
.signup-card .cta-frame {
  right: 16px; top: 16px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: rgba(55,55,55,.5);
  border: 1.5px solid rgba(55,55,55,.4);
  border-radius: 50%;
  transform: rotate(6deg);
}
.signup-card .cta-cross {
  left: 18px; bottom: 12px;
  font-size: 21px;
  color: #CD5909;
  transform: rotate(-9deg);
}
.signup-card .cta-date {
  right: 18px; bottom: 13px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: rgba(70,70,70,.42);
}
.signup-card .anno-tape-top { top: -3px; left: 30%; width: 70px; height: 24px; transform: rotate(1.5deg); }
.signup-card .anno-tape-bot { bottom: -3px; left: 22%; width: 60px; height: 22px; transform: rotate(-1.5deg); }

/* Email form */
.email-form {
  display: flex; gap: 8px;
  background: rgba(255,255,255,.95);
  padding: 6px;
  border-radius: 999px;
  align-items: center;
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.email-form:focus-within {
  box-shadow: 0 0 0 4px rgba(226,122,48,.25);
}
/* slide-mount CTA: keep rounded pill form, handwritten button label */
.signup-card .email-form .btn-storm,
.signup-card .email-form .btn-primary {
  font-family: var(--font);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 15px;
  padding: 0 16px;
  flex: 0 0 auto;
}
.signup-card .email-form input { flex: 1 1 auto; min-width: 130px; }
.signup-card .email-form.success { background: rgba(255,255,255,.95); }
.email-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 18px;
  height: 46px;
  font-size: 15px;
  color: var(--soil);
  outline: none;
  min-width: 0;
  border-radius: 999px;
}
.email-form input::placeholder { color: rgba(26,26,25,.5); }
/* Kill browser autofill's light-blue background — keep the field white */
.email-form input:-webkit-autofill,
.email-form input:-webkit-autofill:hover,
.email-form input:-webkit-autofill:focus,
.email-form input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--soil);
  caret-color: var(--soil);
  transition: background-color 99999s ease-in-out 0s;
}
.email-form input:autofill {
  box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--soil);
}
.email-form .btn-primary { height: 46px; padding: 0 22px; }

.email-form.success {
  background: rgba(255,255,255,.95);
  justify-content: center;
}
.email-success {
  display: flex; align-items: center; gap: 10px;
  color: var(--forest); font-weight: 700; height: 46px; padding: 0 18px;
}
.check-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--rust); color: #fff;
  animation: pop .4s var(--ease-out);
}
/* loading + error states for the signup form */
.email-form { position: relative; }
.email-form .btn[disabled] { opacity: .6; cursor: progress; }
.email-error {
  position: absolute;
  top: calc(100% + 8px); left: 6px; right: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  color: #fff; background: #B23A1E;
  padding: 6px 12px; border-radius: 8px;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.45);
  animation: pop .3s var(--ease-out);
}
@keyframes pop {
  from { transform: scale(0); }
  60%  { transform: scale(1.2); }
  to   { transform: scale(1); }
}

.coming-soon-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 24px;
  padding: 12px 14px 10px;
  background: #F2EEE5;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 4px;
  transform: rotate(-1.8deg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 0 0 1px rgba(0,0,0,.03),
    0 18px 38px -16px rgba(0,0,0,.55);
}
.coming-soon-stamp .cs-hand {
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #25303A;
  line-height: 1;
}
.coming-soon-stamp .cs-hand-top {
  font-size: 17px;
  transform: rotate(-1.2deg);
  margin-bottom: 1px;
}
.coming-soon-stamp .cs-hand-bot {
  font-size: 14px;
  color: var(--rust-deep);
  transform: rotate(.6deg);
  margin-top: 2px;
}
.coming-soon-stamp .cs-slide {
  display: block;
  width: 208px; height: 66px;
  background-size: cover;
  background-position: center 40%;
  border: 3px solid #111;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
@media (max-width: 920px) {
  .coming-soon-stamp .cs-slide { width: 180px; height: 58px; }
}

/* Hero scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700;
}
.scroll-cue .line {
  width: 1px; height: 38px; background: rgba(255,255,255,.6);
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ''; position: absolute; top: -20px; left: 0; right: 0;
  height: 20px; background: #fff;
  animation: drip 2s var(--ease-in) infinite;
}
@keyframes drip {
  0%   { top: -20px; }
  100% { top: 38px; }
}

/* ─────────────────────────────────────────
   Marquee strip
   ───────────────────────────────────────── */
.marquee {
  background: var(--forest);
  color: var(--sand);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: flex; gap: 60px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 60px;
  font-weight: 900; font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.01em;
}
.marquee-item .dot {
  width: 10px; height: 10px; border-radius: 999px; background: var(--rust);
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   Problem section
   ───────────────────────────────────────── */
.problem {
  padding: 100px 0 90px;
  background: #F5EDDE;
}
.section-head {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 70px;
  max-width: 780px;
}
.problem-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .problem-cards { grid-template-columns: 1fr; } }

.problem-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  box-shadow: 0 1px 0 rgba(40,57,43,.05);
}
.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -25px rgba(26,26,25,.25);
}
.problem-card .img {
  height: 260px;
  background-size: cover; background-position: center;
  position: relative;
  overflow: hidden;
}
.problem-card .img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(40,57,43,.45) 100%);
}
.problem-card .img-inner {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease-out);
}
.problem-card:hover .img-inner { transform: scale(1.06); }
.problem-card .body-area {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.problem-card .stat {
  margin-top: auto;
  padding-top: 24px;
  display: flex; align-items: flex-start;
  min-height: 64px;
}
.problem-card .stat::before { display: none; }
.problem-card .tag {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: var(--sand);
  color: var(--forest);
  margin-bottom: 14px;
  white-space: nowrap;
}
.problem-card h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.problem-card p {
  margin: 0;
  color: var(--soil);
  font-size: 15px;
  line-height: 1.55;
}
.problem-card .stat-text {
  font-size: 14px; line-height: 1.5;
  color: var(--forest);
  font-weight: 600;
  border-left: 3px solid var(--rust);
  padding: 2px 0 2px 14px;
  display: block;
}
.problem-card .stat-text strong {
  color: var(--rust);
  font-weight: 900;
  font-size: 18px;
  margin-right: 4px;
  letter-spacing: -0.01em;
}

/* ─────────────────────────────────────────
   Features section
   ───────────────────────────────────────── */
.features {
  padding: 130px 0;
  background: var(--forest);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.features::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(900px circle at 90% 90%, rgba(59,97,108,.25), transparent 60%);
  pointer-events: none;
}
.features .h-section { color: #fff; }
.features .h-eyebrow { color: var(--sand-soft); }
.features-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 36px 32px 28px;
  display: flex; flex-direction: column;
  transition: background .4s var(--ease-out), transform .5s var(--ease-out), border-color .4s var(--ease-out);
}
.feature-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-6px);
}
.feature-num {
  font-weight: 900; font-size: 14px;
  color: var(--rust-soft); letter-spacing: .14em;
  margin-bottom: 22px;
}
.feature-card h3 {
  font-weight: 900; font-size: 26px; line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin: 0 0 28px; color: rgba(255,255,255,.7);
  font-size: 15px; line-height: 1.55;
}

/* ─────────────────────────────────────────
   PhoneShot — interactive screenshot phones
   ───────────────────────────────────────── */
.phone-shot {
  align-self: center;
  margin-top: auto;
  padding-top: 28px;
  position: relative;
  width: 240px;
  aspect-ratio: 9/19.5;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.45));
}
.phone-shot-frame {
  position: absolute; inset: 0;
  background: #0c0c0c;
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.18),
    inset 0 0 0 6px #1f1f1f;
  overflow: hidden;
  transition: transform .4s var(--ease-out);
}
/* No scale on hover — scaling the raster screenshot blurs it. Card still lifts. */
.feature-card:hover .phone-shot-frame { transform: none; }
.phone-shot-viewport {
  position: absolute; inset: 10px;
  border-radius: 28px;
  overflow: hidden;
  background: #f4ede1;
}
.phone-shot-img {
  width: 100%;
  display: block;
  background: #f4ede1;
}
/* Non-scroll variants: image fills the viewport, top-aligned */
.phone-shot-tap .phone-shot-img,
.phone-shot-open .phone-shot-img,
.phone-shot-push .phone-shot-img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* Scroll variant: image is taller than viewport and translates */
.phone-shot-scroll .phone-shot-img {
  height: auto;
  animation: shotScroll 9s cubic-bezier(.4,0,.4,1) infinite;
}
@keyframes shotScroll {
  0%, 12%      { transform: translateY(0); }
  44%, 56%     { transform: translateY(-44%); }
  88%, 100%    { transform: translateY(0); }
}

/* Flow variant: per-screen iOS push transitions + tap pulses + loop-back reset
   ─────────────────────────────────────────────────────────────────────
   Total loop: 18s
     Frame 0 (search):   visible 0   – 3.5s   → slides left
     Frame 1 (detail):   visible 3.5 – 7s     → slides left
     Frame 2 (calendar): visible 7   – 10.5s  → slides left  (highlight reveals inside)
     Frame 3 (reserve):  visible 10.5– 16.5s  → fades + scales (loop reset!)
     16.5 – 18s: brief reset pause; frame 0 reappears off-right ready for next push
*/
.phone-shot-flow .phone-shot-viewport {
  position: absolute; inset: 10px;
  background: #F4EDE1;
  overflow: hidden;
}
.phone-shot-flow .ph-flow-screen {
  position: absolute; inset: 0;
  background: #F4EDE1;
  overflow: hidden;
  transform: translateX(100%);
  will-change: transform, opacity;
}
.phone-shot-flow .ph-flow-screen img,
.phone-shot-flow .ph-flow-screen .ph-flow-video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  background: #F4EDE1;
}
.phone-shot-flow .ph-flow-screen-0 { animation: flowS0 18s cubic-bezier(.22,.61,.36,1) infinite both; z-index: 1; }
.phone-shot-flow .ph-flow-screen-1 { animation: flowS1 18s cubic-bezier(.22,.61,.36,1) infinite both; z-index: 2; }
.phone-shot-flow .ph-flow-screen-2 { animation: flowS2 18s cubic-bezier(.22,.61,.36,1) infinite both; z-index: 3; }
.phone-shot-flow .ph-flow-screen-3 { animation: flowS3 18s cubic-bezier(.22,.61,.36,1) infinite both; z-index: 4; }

/* ── Frame 0: search list. Slide in 0-0.7s, hold to 3.5s, slide out to 4.2s.
      For the loop-back, frame 0 RE-APPEARS via a cross-dissolve from the center
      (instead of sliding in from the right) so the boundary feels like a clean
      "demo restarting" beat rather than another iOS push. ── */
@keyframes flowS0 {
  /* 0% = start of loop (and also where the cross-dissolve completes; frame is at center, fully visible) */
  0%       { transform: translateX(0) scale(1); opacity: 1; }
  19.44%   { transform: translateX(0); opacity: 1; }                /* held until 3.5s */
  23.33%   { transform: translateX(-100%); opacity: 1; }            /* slide out left */
  91.67%   { transform: translateX(-100%); opacity: 0; }            /* parked off-left, dim */
  91.68%   { transform: translateX(0) scale(.94); opacity: 0; }     /* teleport to center, invisible (covered by frame 3 fade-out) */
  96.11%   { transform: translateX(0) scale(.94); opacity: 0; }     /* hold dissolved */
  100%     { transform: translateX(0) scale(1); opacity: 1; }       /* fade IN at center for next loop */
}

/* ── Frame 1: detail. Slide in 3.5-4.2s, hold to 7s, slide out to 7.7s. ── */
@keyframes flowS1 {
  0%, 19.44%   { transform: translateX(100%); }
  23.33%       { transform: translateX(0); }
  38.89%       { transform: translateX(0); }
  42.78%       { transform: translateX(-100%); }
  100%         { transform: translateX(-100%); }
}

/* ── Frame 2: calendar. Slide in 7-7.7s, hold to 10.5s, slide out to 11.2s. ── */
@keyframes flowS2 {
  0%, 38.89%   { transform: translateX(100%); }
  42.78%       { transform: translateX(0); }
  58.33%       { transform: translateX(0); }
  62.22%       { transform: translateX(-100%); }
  100%         { transform: translateX(-100%); }
}

/* ── Frame 3: reservation. Slide in 10.5-11.2s, hold to 16.5s, then DISSOLVE
      (fade + slight zoom) so it cleanly hands off to frame 0's matching
      cross-dissolve-in — making the loop-back a deliberate beat rather than
      yet another horizontal push. ── */
@keyframes flowS3 {
  0%, 58.33%   { transform: translateX(100%); opacity: 1; }
  62.22%       { transform: translateX(0) scale(1); opacity: 1; }
  91.67%       { transform: translateX(0) scale(1); opacity: 1; }   /* held until 16.5s */
  96.11%       { transform: translateX(0) scale(.94); opacity: 0; } /* dissolve out */
  99.99%       { transform: translateX(0) scale(.94); opacity: 0; }
  100%         { transform: translateX(100%); opacity: 0; }         /* park off-right invisible for next loop */
}

/* ── Tap pulses (per-screen, fired right before the screen exits) ── */
.ph-flow-tap {
  position: absolute;
  width: 40px; height: 40px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}
.ph-flow-tap-ring {
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 2.5px solid var(--rust);
  opacity: 0;
}
.ph-flow-tap-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 999px;
  background: var(--rust);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 6px rgba(226,122,48,.25),
    0 8px 18px rgba(0,0,0,.4);
  opacity: 0;
}
.ph-flow-screen-0 .ph-flow-tap-dot  { animation: tapDotS0  18s ease-out infinite both; }
.ph-flow-screen-0 .ph-flow-tap-ring { animation: tapRingS0 18s ease-out infinite both; }
.ph-flow-screen-1 .ph-flow-tap-dot  { animation: tapDotS1  18s ease-out infinite both; }
.ph-flow-screen-1 .ph-flow-tap-ring { animation: tapRingS1 18s ease-out infinite both; }
.ph-flow-screen-2 .ph-flow-tap-dot  { animation: tapDotS2  18s ease-out infinite both; }
.ph-flow-screen-2 .ph-flow-tap-ring { animation: tapRingS2 18s ease-out infinite both; }
/* frame 3 has no tap */

/* Frame 0 (search list) hold: 0.7s–3.5s. Tap visible 1.6s–2.9s, peaks at 2.3s. */
@keyframes tapDotS0 {
  0%, 7%       { opacity: 0; transform: scale(.4); }
  9%           { opacity: 1; transform: scale(1); }
  13%          { opacity: 1; transform: scale(1.05); }
  16%, 100%    { opacity: 0; transform: scale(1.4); }
}
@keyframes tapRingS0 {
  0%, 8%       { opacity: 0; transform: scale(.55); }
  10%          { opacity: 1; transform: scale(.55); }
  17%          { opacity: 0; transform: scale(2.3); }
  100%         { opacity: 0; transform: scale(2.3); }
}

/* Frame 1 (listing detail) hold: 4.2s–7s. Tap visible 5.0s–6.3s, peaks at 5.8s. */
@keyframes tapDotS1 {
  0%, 26%      { opacity: 0; transform: scale(.4); }
  28%          { opacity: 1; transform: scale(1); }
  32%          { opacity: 1; transform: scale(1.05); }
  35%, 100%    { opacity: 0; transform: scale(1.4); }
}
@keyframes tapRingS1 {
  0%, 27%      { opacity: 0; transform: scale(.55); }
  29%          { opacity: 1; transform: scale(.55); }
  36%          { opacity: 0; transform: scale(2.3); }
  100%         { opacity: 0; transform: scale(2.3); }
}

/* Frame 2 (calendar video) hold: 7.7s–10.5s. Tap visible 8.5s–9.7s, peaks at 9.2s. */
@keyframes tapDotS2 {
  0%, 45%      { opacity: 0; transform: scale(.4); }
  47%          { opacity: 1; transform: scale(1); }
  51%          { opacity: 1; transform: scale(1.05); }
  54%, 100%    { opacity: 0; transform: scale(1.4); }
}
@keyframes tapRingS2 {
  0%, 46%      { opacity: 0; transform: scale(.55); }
  48%          { opacity: 1; transform: scale(.55); }
  55%          { opacity: 0; transform: scale(2.3); }
  100%         { opacity: 0; transform: scale(2.3); }
}

/* ═══ LIST feature — 3-frame iOS push flow (variant "listflow") ═══
   Loop: 15s. Frame 0 (Your Listings) → push → Frame 1 (detail) →
   push → Frame 2 (edit form) → dissolve back to Frame 0.
     Frame 0: visible 0   – 3.5s
     Frame 1: visible 4.2 – 8s
   Frame 2: visible 8.7 – 12.3s, then pops right back to Frame 0
*/
.phone-shot-listflow .phone-shot-viewport {
  position: absolute; inset: 10px;
  background: #f4ede1;
  overflow: hidden;
}
.phone-shot-listflow .lf-screen {
  position: absolute; inset: 0;
  background: #f4ede1;
  overflow: hidden;
  transform: translateX(100%);
  will-change: transform, opacity;
}
.phone-shot-listflow .lf-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  background: #f4ede1;
}
.phone-shot-listflow .lf-screen-0 { animation: lfS0 15s cubic-bezier(.22,.61,.36,1) infinite both; z-index: 1; }
.phone-shot-listflow .lf-screen-1 { animation: lfS1 15s cubic-bezier(.22,.61,.36,1) infinite both; z-index: 2; }
.phone-shot-listflow .lf-screen-2 { animation: lfS2 15s cubic-bezier(.22,.61,.36,1) infinite both; z-index: 3; }

/* Frame 0 — Your Listings (root). Held to 3.5s, slides out left, then
   slides back in (iOS pop) as Frame 2 dismisses to the right. */
@keyframes lfS0 {
  0%       { transform: translateX(0); }
  23.33%   { transform: translateX(0); }
  28%      { transform: translateX(-100%); }
  79.9%    { transform: translateX(-100%); }
  80%      { transform: translateX(0); }
  100%     { transform: translateX(0); }
}
/* Frame 1 — listing detail. Slide in 3.5–4.2s, hold to 8s, slide out left. */
@keyframes lfS1 {
  0%, 23.33%   { transform: translateX(100%); }
  28%          { transform: translateX(0); }
  53.33%       { transform: translateX(0); }
  58%          { transform: translateX(-100%); }
  100%         { transform: translateX(-100%); }
}
/* Frame 2 — edit form. Slide in 8–8.7s, hold, then pop out to the right. */
@keyframes lfS2 {
  0%, 53.33%   { transform: translateX(100%); }
  58%          { transform: translateX(0); }
  82%          { transform: translateX(0); }
  89%          { transform: translateX(100%); }
  100%         { transform: translateX(100%); }
}

/* Tap pulses */
.lf-tap {
  position: absolute;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}
.lf-tap-ring {
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 2.5px solid var(--rust);
  opacity: 0;
}
.lf-tap-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 24px; height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 999px;
  background: var(--rust);
  box-shadow: 0 0 0 6px rgba(226,122,48,.25), 0 8px 18px rgba(0,0,0,.4);
  opacity: 0;
}
.lf-screen-0 .lf-tap-dot  { animation: lfTapDot0 15s ease-out infinite both; }
.lf-screen-0 .lf-tap-ring { animation: lfTapRing0 15s ease-out infinite both; }
.lf-screen-1 .lf-tap-dot  { animation: lfTapDot1 15s ease-out infinite both; }
.lf-screen-1 .lf-tap-ring { animation: lfTapRing1 15s ease-out infinite both; }
.lf-screen-2 .lf-tap-dot  { animation: lfTapDot2 15s ease-out infinite both; }
.lf-screen-2 .lf-tap-ring { animation: lfTapRing2 15s ease-out infinite both; }

/* Frame 0 tap (first image). Visible ~1.6–2.9s, peak 2.3s. */
@keyframes lfTapDot0 {
  0%, 8%    { opacity: 0; transform: scale(.4); }
  10%       { opacity: 1; transform: scale(1); }
  14%       { opacity: 1; transform: scale(1.05); }
  17%, 100% { opacity: 0; transform: scale(1.4); }
}
@keyframes lfTapRing0 {
  0%, 9%    { opacity: 0; transform: scale(.55); }
  11%       { opacity: 1; transform: scale(.55); }
  18%, 100% { opacity: 0; transform: scale(2.3); }
}
/* Frame 1 tap (Edit). Visible ~5.2–6.5s, peak 6s. */
@keyframes lfTapDot1 {
  0%, 34%   { opacity: 0; transform: scale(.4); }
  36%       { opacity: 1; transform: scale(1); }
  40%       { opacity: 1; transform: scale(1.05); }
  43%, 100% { opacity: 0; transform: scale(1.4); }
}
@keyframes lfTapRing1 {
  0%, 35%   { opacity: 0; transform: scale(.55); }
  37%       { opacity: 1; transform: scale(.55); }
  44%, 100% { opacity: 0; transform: scale(2.3); }
}
/* Frame 2 tap (Save). Visible ~10–11.3s, peak 10.7s. */
@keyframes lfTapDot2 {
  0%, 64%   { opacity: 0; transform: scale(.4); }
  66%       { opacity: 1; transform: scale(1); }
  70%       { opacity: 1; transform: scale(1.05); }
  73%, 100% { opacity: 0; transform: scale(1.4); }
}
@keyframes lfTapRing2 {
  0%, 65%   { opacity: 0; transform: scale(.55); }
  67%       { opacity: 1; transform: scale(.55); }
  74%, 100% { opacity: 0; transform: scale(2.3); }
}

/* ═══ FIND feature — 4-frame flow (variant "findflow"), 18s loop ═══
   Frame 1 categories → push → Frame 2 map → results sheet slides UP
   over the map (header pinned) → Frame 4 list → push → Frame 5 detail
   → back tap pops home to Frame 1.  (Figma frames 3, 6, 7 skipped.)
   Timeline:
     Frame 1 visible   0    – 4.0s   (cat tap ~2.3s)
     push to map       4.0  – 4.8s
     Frame 2 visible   4.8  – 7.9s   (swipe-up ~6–7.2s)
     sheet rises       7.0  – 8.0s
     Frame 4 visible   8.0  – 11.5s  (bike tap ~9.9s)
     push to detail    11.5 – 12.3s
     Frame 5 visible   12.3 – 15.8s  (back tap ~14.2s)
     pop home          15.8 – 16.8s
*/
.phone-shot-findflow .phone-shot-viewport {
  position: absolute; inset: 10px;
  background: #f4ede1;
  overflow: hidden;
}
.ff {
  position: absolute; inset: 0;
  /* Camp & Hike header height (card bottom = 136/852 of the screens).
     --ff-hdr drives both the pinned header height and the sheet clip so the
     pinned card meets the results body seamlessly — no gap, no map showing. */
  --ff-hdr: 15.96%;
  --ff-hdr-frac: 0.1596;
}
.ff-screen,
.ff-sheet,
.ff-header { position: absolute; inset: 0; will-change: transform, opacity; }
.ff-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; background: #f4ede1; }

.ff-f1 { z-index: 1; }                 /* static under everything */
.ff-f2 { z-index: 2; transform: translateX(100%); animation: ffF2 18s cubic-bezier(.22,.61,.36,1) infinite both; }

/* Results sheet (frame 4 body) — slides up, clipped below the pinned header */
.ff-sheet {
  top: var(--ff-hdr); bottom: 0; left: 0; right: 0;
  overflow: hidden;
  z-index: 3;
  transform: translateY(100%);
  animation: ffSheet 18s cubic-bezier(.22,.61,.36,1) infinite both;
  box-shadow: 0 -10px 24px -10px rgba(0,0,0,.18);
}
.ff-sheet img {
  position: absolute; left: 0;
  width: 100%;
  /* image is full phone height, shifted up by exactly one header height so the
     visible sheet body starts right where the card ends — continuous with the
     pinned card, no gap and no sliver. */
  top: calc(var(--ff-hdr) * -1 / (1 - var(--ff-hdr-frac)));
  height: calc(100% / (1 - var(--ff-hdr-frac)));
  object-fit: cover; object-position: top center;
  display: block; background: #f4ede1;
}

/* Pinned header (Camp & Hike card) — stays put above the sliding sheet */
.ff-header {
  inset: auto; top: 0; left: 0; right: 0; height: var(--ff-hdr);
  z-index: 4; opacity: 0;
  animation: ffHeader 18s linear infinite both;
}
.ff-header img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.ff-f5 { z-index: 7; transform: translateX(100%); box-shadow: -12px 0 30px -12px rgba(0,0,0,.3); animation: ffF5 18s cubic-bezier(.22,.61,.36,1) infinite both; }

@keyframes ffF2 {
  0%, 22.2%   { transform: translateX(100%); }
  26.7%       { transform: translateX(0); }
  87.6%       { transform: translateX(0); }
  87.8%, 100% { transform: translateX(100%); }
}
@keyframes ffSheet {
  0%, 38.9%   { transform: translateY(100%); animation-timing-function: cubic-bezier(.1,.85,.25,1); }
  46%         { transform: translateY(0); }
  87.6%       { transform: translateY(0); }
  87.8%, 100% { transform: translateY(100%); }
}
@keyframes ffHeader {
  0%, 24%     { opacity: 0; }
  26.7%, 87.6% { opacity: 1; }
  87.8%, 100% { opacity: 0; }
}
@keyframes ffF5 {
  0%, 63.9%   { transform: translateX(100%); }
  68.3%       { transform: translateX(0); }
  87.8%       { transform: translateX(0); }
  93.3%, 100% { transform: translateX(100%); }
}

/* ── Find taps ── */
.ff-tap {
  position: absolute;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}
.ff-tap-bike { z-index: 6; }
.ff-tap-ring {
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 2.5px solid var(--rust);
  opacity: 0;
}
.ff-tap-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 24px; height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 999px;
  background: var(--rust);
  box-shadow: 0 0 0 6px rgba(226,122,48,.25), 0 8px 18px rgba(0,0,0,.4);
  opacity: 0;
}

/* Frame 1 — chevron tap (delayed so frame 1 holds longer first) */
.ff-tap-cat .ff-tap-dot  { animation: ffCatDot 18s ease-out infinite both; }
.ff-tap-cat .ff-tap-ring { animation: ffCatRing 18s ease-out infinite both; }
@keyframes ffCatDot {
  0%, 13%   { opacity: 0; transform: scale(.4); }
  16%       { opacity: 1; transform: scale(1); }
  18.5%     { opacity: 1; transform: scale(1.05); }
  21%, 100% { opacity: 0; transform: scale(1.4); }
}
@keyframes ffCatRing {
  0%, 14%   { opacity: 0; transform: scale(.55); }
  16%       { opacity: 1; transform: scale(.55); }
  21.5%, 100% { opacity: 0; transform: scale(2.3); }
}

/* Frame 2 — swipe-up gesture (dot travels upward, no ring) */
.ff-tap-swipe .ff-tap-ring { display: none; }
.ff-tap-swipe { animation: ffSwipeMove 18s cubic-bezier(.4,0,.2,1) infinite both; }
@keyframes ffSwipeMove {
  0%, 30%   { opacity: 0; transform: translate(-50%, 44px) scale(.5); }
  33.5%     { opacity: 1; transform: translate(-50%, 38px) scale(1); }
  37%       { opacity: 1; transform: translate(-50%, 0px)  scale(1); }
  40%       { opacity: 1; transform: translate(-50%, -70px) scale(1); }
  43%, 100% { opacity: 0; transform: translate(-50%, -84px) scale(.85); }
}

/* Frame 4 — bike (2nd listing) tap (~9.9s) */
.ff-tap-bike .ff-tap-dot  { animation: ffBikeDot 18s ease-out infinite both; }
.ff-tap-bike .ff-tap-ring { animation: ffBikeRing 18s ease-out infinite both; }
@keyframes ffBikeDot {
  0%, 50%   { opacity: 0; transform: scale(.4); }
  53%       { opacity: 1; transform: scale(1); }
  56%       { opacity: 1; transform: scale(1.05); }
  59%, 100% { opacity: 0; transform: scale(1.4); }
}
@keyframes ffBikeRing {
  0%, 51%   { opacity: 0; transform: scale(.55); }
  53%       { opacity: 1; transform: scale(.55); }
  60%, 100% { opacity: 0; transform: scale(2.3); }
}

/* Frame 5 — back-button tap (~14.2s) */
.ff-tap-back .ff-tap-dot  { animation: ffBackDot 18s ease-out infinite both; }
.ff-tap-back .ff-tap-ring { animation: ffBackRing 18s ease-out infinite both; }
@keyframes ffBackDot {
  0%, 74%   { opacity: 0; transform: scale(.4); }
  77%       { opacity: 1; transform: scale(1); }
  80%       { opacity: 1; transform: scale(1.05); }
  83%, 100% { opacity: 0; transform: scale(1.4); }
}
@keyframes ffBackRing {
  0%, 75%   { opacity: 0; transform: scale(.55); }
  77%       { opacity: 1; transform: scale(.55); }
  84%, 100% { opacity: 0; transform: scale(2.3); }
}

/* ─── Calendar (frame 3 of Find flow) ───────────────────────────────── */
.cal-screen {
  position: absolute; inset: 0;
  background: #F4EDE1;
  color: #1A1A19;
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: flex; flex-direction: column;
  overflow: hidden;
}
/* Status bar */
.cal-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 14px 4px;
  font-size: 9px; font-weight: 800;
  flex-shrink: 0;
}
.cal-status-right { display: flex; align-items: center; gap: 3px; }
.cal-sig {
  width: 11px; height: 7px;
  background:
    linear-gradient(to top, currentColor 25%, transparent 25%) 0 0/3px 100% no-repeat,
    linear-gradient(to top, currentColor 50%, transparent 50%) 4px 0/3px 100% no-repeat,
    linear-gradient(to top, currentColor 75%, transparent 75%) 8px 0/3px 100% no-repeat;
}
.cal-wifi {
  width: 9px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  position: relative;
}
.cal-bat {
  width: 14px; height: 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: currentColor;
  background-clip: content-box;
  padding: 0.5px;
  position: relative;
}
.cal-bat::after {
  content: '';
  position: absolute;
  right: -2px; top: 1.5px;
  width: 1px; height: 3px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}
/* Top bar */
.cal-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 14px 8px;
  flex-shrink: 0;
}
.cal-back { font-size: 16px; font-weight: 700; color: var(--storm); width: 12px; }
.cal-clear {
  font-size: 9px; font-weight: 700; color: #1A1A19;
  text-decoration: underline; text-underline-offset: 2px;
}
/* Card */
.cal-card {
  flex: 1;
  background: #fff;
  border-radius: 14px 14px 0 0;
  margin: 0 8px;
  padding: 10px 10px 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.1);
}
.cal-title {
  font-weight: 800; font-size: 11px;
  margin-bottom: 8px;
}
.cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 8px; font-weight: 700;
  color: #1A1A19;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.cal-month {
  font-weight: 800; font-size: 10px;
  margin: 4px 0 4px;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
  text-align: center;
  font-size: 8.5px;
  font-weight: 500;
  flex-shrink: 0;
}
.cal-cell {
  position: relative;
  height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.cal-cell-num {
  position: relative;
  z-index: 2;
  color: #1A1A19;
  font-weight: 600;
  transition: color .25s ease;
}
.cal-cell.is-empty .cal-cell-num,
.cal-cell.is-empty { visibility: hidden; }
.cal-cell.is-passed .cal-cell-num {
  color: rgba(26,26,25,.35);
  text-decoration: line-through;
  text-decoration-thickness: 0.8px;
}
/* Range strip — connecting orange band behind highlighted cells */
.cal-cell.in-range::before {
  content: '';
  position: absolute;
  inset: 4px -1px;
  background: #FFD0B0;
  z-index: 0;
  opacity: 0;
  transition: opacity .35s ease;
}
.cal-cell.is-range-start::before {
  inset: 4px -1px 4px 50%;
}
.cal-cell.is-range-end::before {
  inset: 4px 50% 4px -1px;
}
/* Solid orange chip on each highlighted cell */
.cal-cell-bg {
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: var(--rust);
  z-index: 1;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cal-cell.in-range .cal-cell-bg { /* will be enabled by parent animation class */ }

/* When the calendar screen enters, fade the highlights in. The keyframe
   spans the full 18s loop; the visible window for frame 2 is 38.89%-58.33%.
   We keep highlights hidden until ~44%, fade in 44%-50%, hold to 58%,
   then hide again so the next loop starts fresh. */
.ph-flow-screen-2 .cal-cell.in-range::before { animation: calRangeIn 18s ease-out infinite both; }
.ph-flow-screen-2 .cal-cell.in-range .cal-cell-bg { animation: calChipIn 18s ease-out infinite both; }
.ph-flow-screen-2 .cal-cell.in-range .cal-cell-num { animation: calNumFlip 18s ease-out infinite both; }

@keyframes calRangeIn {
  0%, 44%       { opacity: 0; }
  50%, 58%      { opacity: 1; }
  60%, 100%     { opacity: 0; }
}
@keyframes calChipIn {
  0%, 44%       { opacity: 0; transform: scale(.5); }
  50%           { opacity: 1; transform: scale(1.1); }
  53%, 58%      { opacity: 1; transform: scale(1); }
  60%, 100%     { opacity: 0; transform: scale(.5); }
}
@keyframes calNumFlip {
  0%, 44%       { color: #1A1A19; }
  50%, 58%      { color: #fff; }
  60%, 100%     { color: #1A1A19; }
}
/* (cascade stagger removed for a clean unified highlight reveal) */

/* CTA pill */
.cal-cta {
  flex-shrink: 0;
  margin: 10px 16px 14px;
  background: var(--storm);
  color: #fff;
  border-radius: 999px;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.005em;
}

/* Old static mask kept around but unused now */
.ph-flow-mask { display: none; }

/* Finger-tap indicator inside each flow screen.
   Pulse fires near the end of the held window, right before the screen exits. */
.ph-flow-tap {
  position: absolute;
  width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}
.ph-flow-tap-ring {
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 2px solid var(--rust);
  opacity: 0;
  animation: flowTapRing 14s ease-out infinite both;
}
.ph-flow-tap-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 999px;
  background: var(--rust);
  box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0,0,0,.35);
  opacity: 0;
  animation: flowTapDot 14s ease-out infinite both;
}
/* Inherit each screen's delay so the tap fires inside the visible window */
.ph-flow-screen-0 .ph-flow-tap-ring,
.ph-flow-screen-0 .ph-flow-tap-dot { animation-delay: 0s; }
.ph-flow-screen-1 .ph-flow-tap-ring,
.ph-flow-screen-1 .ph-flow-tap-dot { animation-delay: 3.5s; }
.ph-flow-screen-2 .ph-flow-tap-ring,
.ph-flow-screen-2 .ph-flow-tap-dot { animation-delay: 7s; }
.ph-flow-screen-3 .ph-flow-tap-ring,
.ph-flow-screen-3 .ph-flow-tap-dot { animation-delay: 10.5s; }

/* Tap timing inside the 14s loop:
   - Screen visible:     5% → 30%
   - Tap pulse begins:   20%
   - Screen exits:       25% → 30% */
@keyframes flowTapDot {
  0%, 19%       { opacity: 0; transform: scale(.4); }
  21%           { opacity: 1; transform: scale(1); }
  24%           { opacity: 1; transform: scale(1.05); }
  27%, 100%     { opacity: 0; transform: scale(1.4); }
}
@keyframes flowTapRing {
  0%, 20%       { opacity: 0; transform: scale(.55); }
  22%           { opacity: 1; transform: scale(.55); }
  28%           { opacity: 0; transform: scale(2.3); }
  100%          { opacity: 0; transform: scale(2.3); }
}

/* ── Tap pulse (finger press) ─────────────────────────────── */
.ph-tap {
  position: absolute;
  width: 32px; height: 32px;
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.ph-tap-ring {
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 2px solid var(--rust);
  opacity: 0;
  animation: tapRing 3.6s ease-out infinite;
}
.ph-tap-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 999px;
  background: var(--rust);
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
  opacity: 0;
  animation: tapDot 3.6s ease-out infinite;
}
@keyframes tapRing {
  0%,55%      { opacity: 0; transform: scale(.6); }
  60%         { opacity: .9; transform: scale(.6); }
  85%         { opacity: 0;  transform: scale(2.2); }
  100%        { opacity: 0;  transform: scale(2.2); }
}
@keyframes tapDot {
  0%,55%      { opacity: 0; transform: scale(.4); }
  60%, 78%    { opacity: 1; transform: scale(1); }
  85%, 100%   { opacity: 0; transform: scale(1.6); }
}

/* List tap — over the 2nd listing card */
.ph-tap-list {
  top: 36%;
  left: 70%;
}

/* ── Message thread — iOS push navigation (variant "push") ─── */

/* Frame-1 tap: over James B. (top row of the inbox) */
.ph-tap-msg {
  top: 18%;
  left: 48%;
}

/* The underlying inbox parallaxes left + dims as the thread pushes in */
.phone-shot-push .phone-shot-img {
  animation: msgListParallax 9s cubic-bezier(.5,0,.4,1) infinite both;
}
@keyframes msgListParallax {
  0%, 22%   { transform: translateX(0);    filter: brightness(1); }
  31%, 80%  { transform: translateX(-24%); filter: brightness(.8); }
  90%, 100% { transform: translateX(0);    filter: brightness(1); }
}

/* Frame-2 tap: on the back chevron, fires just before popping back */
.ph-tap-back {
  top: 8%;
  left: 11%;
}
.phone-shot-push .ph-tap-msg .ph-tap-dot  { animation: msgTapDot 9s ease-out infinite both; }
.phone-shot-push .ph-tap-msg .ph-tap-ring { animation: msgTapRing 9s ease-out infinite both; }
.phone-shot-push .ph-tap-back .ph-tap-dot  { animation: backTapDot 9s ease-out infinite both; }
.phone-shot-push .ph-tap-back .ph-tap-ring { animation: backTapRing 9s ease-out infinite both; }
@keyframes msgTapDot {
  0%, 6%    { opacity: 0; transform: scale(.4); }
  11%, 19%  { opacity: 1; transform: scale(1); }
  25%, 100% { opacity: 0; transform: scale(1.5); }
}
@keyframes msgTapRing {
  0%, 8%    { opacity: 0; transform: scale(.6); }
  12%       { opacity: .9; transform: scale(.6); }
  25%, 100% { opacity: 0; transform: scale(2.2); }
}
@keyframes backTapDot {
  0%, 64%   { opacity: 0; transform: scale(.4); }
  69%, 77%  { opacity: 1; transform: scale(1); }
  82%, 100% { opacity: 0; transform: scale(1.5); }
}
@keyframes backTapRing {
  0%, 66%   { opacity: 0; transform: scale(.6); }
  70%       { opacity: .9; transform: scale(.6); }
  82%, 100% { opacity: 0; transform: scale(2.2); }
}

.ph-thread {
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background: #f4ede1;
  z-index: 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
  animation: threadIn 9s cubic-bezier(.5,0,.4,1) infinite;
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,.25);
  color: #1a1a19;
}
@keyframes threadIn {
  0%, 22%   { opacity: 0; transform: translateY(100%); }
  28%       { opacity: 1; transform: translateY(0); }
  82%       { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(100%); }
}

/* Push override: thread slides in from the right (iOS push) instead of up */
.phone-shot-push .ph-thread {
  opacity: 1;
  transform: translateX(106%);
  box-shadow: none;
  animation: threadPush 9s cubic-bezier(.5,0,.4,1) infinite both;
}
@keyframes threadPush {
  0%, 22%   { transform: translateX(106%); box-shadow: -12px 0 30px -12px rgba(0,0,0,0); }
  31%, 80%  { transform: translateX(0);    box-shadow: -12px 0 30px -12px rgba(0,0,0,.3); }
  90%, 100% { transform: translateX(106%); box-shadow: -12px 0 30px -12px rgba(0,0,0,0); }
}

/* Status bar at the top of the thread (continuity with the inbox screen) */
.ph-thread-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px 2px;
  font-size: 9px; font-weight: 700;
  color: #1a1a19;
  background: rgba(255,255,255,.85);
  flex-shrink: 0;
}
.ph-thread-status-right { display: inline-flex; gap: 4px; align-items: center; }
.ph-status-icons { height: 6.7px; width: auto; display: block; }
.ph-wifi {
  width: 9px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.ph-thread-head {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 10px;
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(0,0,0,.08);
  flex-shrink: 0;
}
.ph-thread-back {
  font-size: 18px; font-weight: 700;
  color: var(--storm);
  width: 16px;
}
.ph-thread-avatar {
  width: 28px; height: 28px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background-image: url("assets/thread-avatar.png");
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.ph-thread-meta { display: flex; flex-direction: column; gap: 1px; }
.ph-thread-name {
  font-weight: 800; font-size: 11px;
  color: #1a1a19;
  letter-spacing: -0.005em;
}
.ph-thread-sub {
  font-size: 9px; font-weight: 500;
  color: rgba(26,26,25,.55);
}

.ph-thread-body {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
  background: #f4ede1;
}
.ph-bubble {
  max-width: 78%;
  padding: 7px 10px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px) scale(.96);
  animation: bubbleIn .45s var(--ease-out) forwards;
}
.ph-bubble-them {
  background: #fff;
  color: #1a1a19;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}
.ph-bubble-me {
  background: var(--storm);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}
/* Bubbles staged inside the 9s loop so they reset every cycle.
   Thread appears at ~28% (≈2.5s). Bubbles fade in over the held window. */
.ph-b1 { animation: bubbleLoop 9s ease-out infinite .8s; }
.ph-b2 { animation: bubbleLoop 9s ease-out infinite 1.6s; }
.ph-b3 { animation: bubbleLoop 9s ease-out infinite 2.6s; }
@keyframes bubbleLoop {
  0%, 24%       { opacity: 0; transform: translateY(6px) scale(.96); }
  30%, 88%      { opacity: 1; transform: translateY(0) scale(1); }
  92%, 100%     { opacity: 0; transform: translateY(6px) scale(.96); }
}
.ph-bubble-typing {
  display: inline-flex !important; gap: 4px;
  padding: 9px 11px;
}
.ph-bubble-typing span {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: rgba(26,26,25,.65);
  animation: typingDot 1.2s ease-out infinite;
}
.ph-bubble-typing span:nth-child(2) { animation-delay: .15s; }
.ph-bubble-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40%           { transform: translateY(-3px); opacity: 1; }
}

.ph-thread-input {
  flex-shrink: 0;
  margin: 8px 10px 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 10px;
  color: rgba(26,26,25,.4);
  font-weight: 500;
}

/* ── Listing-detail overlay (variant "open" — List phone) ── */
.ph-listing {
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background: #f4ede1;
  z-index: 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
  animation: threadIn 10s cubic-bezier(.5,0,.4,1) infinite;
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,.25);
  color: #1a1a19;
}
.ph-listing-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px 4px;
  font-size: 9px; font-weight: 700;
  color: #1a1a19;
}
.ph-listing-status-right { display: inline-flex; gap: 4px; align-items: center; }
.ph-sig {
  width: 10px; height: 7px;
  background: linear-gradient(to right, currentColor 25%, transparent 25%, transparent 33%, currentColor 33%, currentColor 58%, transparent 58%, transparent 66%, currentColor 66%);
}
.ph-bat {
  display: inline-block;
  width: 14px; height: 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
  position: relative;
}
.ph-bat::after {
  content: ''; position: absolute;
  top: 1px; left: 1px; bottom: 1px; width: 9px;
  background: currentColor; border-radius: 1px;
}
.ph-listing-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 12px 8px;
  font-size: 9px; font-weight: 700;
  color: rgba(26,26,25,.6);
}
.ph-listing-back {
  font-size: 18px;
  color: #1a1a19;
  font-weight: 600;
  line-height: 1;
}
.ph-listing-count {
  background: rgba(26,26,25,.7);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.ph-listing-img {
  height: 38%;
  margin: 0 12px;
  border-radius: 12px;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.2) 100%),
    url("assets/card-bg.jpg")
      center/cover #6b7e5a;
  position: relative;
  flex-shrink: 0;
}
.ph-listing-img::after {
  content: '';
  position: absolute; bottom: 6px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 3px;
  width: 36px; height: 4px;
  background:
    radial-gradient(circle at 4px 2px, #fff 1.5px, transparent 1.5px),
    radial-gradient(circle at 12px 2px, rgba(255,255,255,.55) 1.5px, transparent 1.5px),
    radial-gradient(circle at 20px 2px, rgba(255,255,255,.55) 1.5px, transparent 1.5px),
    radial-gradient(circle at 28px 2px, rgba(255,255,255,.55) 1.5px, transparent 1.5px);
}
.ph-listing-body {
  flex: 1;
  padding: 10px 14px 10px;
  display: flex; flex-direction: column;
  min-height: 0;
}
.ph-listing-title {
  font-weight: 900; font-size: 13px;
  letter-spacing: -0.01em;
  color: #1a1a19;
  margin-top: 6px;
}
.ph-listing-price {
  font-weight: 800; font-size: 11px;
  color: var(--storm);
  margin-top: 2px;
}
.ph-listing-desc {
  margin: 6px 0 0;
  font-size: 9px; line-height: 1.45;
  color: rgba(26,26,25,.75);
  font-weight: 500;
}
.ph-listing-dates {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 7px 10px;
  margin-top: 10px;
  font-size: 10px; font-weight: 700;
}
.ph-listing-dates-range { color: var(--storm); }
.ph-listing-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px;
  gap: 10px;
}
.ph-listing-owner {
  display: flex; align-items: center; gap: 6px;
  flex: 1; min-width: 0;
}
.ph-listing-avatar {
  width: 22px; height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 30%, #c79b73 0%, #6b4a2e 100%);
  flex-shrink: 0;
}
.ph-listing-owner-meta {
  display: flex; flex-direction: column; line-height: 1.1;
  min-width: 0;
}
.ph-listing-owner-name {
  font-size: 10px; font-weight: 800;
  color: #1a1a19;
}
.ph-listing-owner-action {
  font-size: 8px; font-weight: 600;
  color: var(--storm);
  text-decoration: underline;
}
.ph-listing-cta {
  background: var(--storm);
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.ph-listing-subtotal {
  margin-top: 6px;
  font-size: 9px; font-weight: 700;
  color: rgba(26,26,25,.5);
  text-align: right;
}

/* ─────────────────────────────────────────
   Coming Soon / Timeline
   ───────────────────────────────────────── */
.timeline-section {
  padding: 120px 0;
  background: #F5EDDE;
}
.tl-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
  align-items: start;
}
@media (max-width: 980px) { .tl-grid { grid-template-columns: 1fr; gap: 40px; } }

.tl-list { display: flex; flex-direction: column; gap: 0; position: relative; }
.tl-item {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(40,57,43,.15);
  position: relative;
}
.tl-item:last-child { border-bottom: 1px solid rgba(40,57,43,.15); }
.tl-item .when {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--storm);
  display: flex; align-items: flex-start;
  padding-top: 4px;
  padding-right: 8px;
}
.tl-item .what h4 {
  margin: 0 0 4px; font-weight: 800; font-size: 17px; color: var(--forest);
  letter-spacing: -0.01em;
}
.tl-item.done .what h4,
.tl-item.active .what h4 { color: var(--rust); }
.tl-item .what p { margin: 0; font-size: 14px; color: var(--soil); }
.tl-item .marker {
  position: absolute; left: 90px; top: 28px;
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--storm);
  transform: translate(-50%, 0);
}
.tl-item.active .marker {
  background: var(--rust);
  box-shadow: 0 0 0 0 rgba(226,122,48,.6);
  animation: pulse 2s infinite;
}
@keyframes tlPulse {
  0%   { box-shadow: 0 0 0 0 rgba(226,122,48,.6); }
  70%  { box-shadow: 0 0 0 14px rgba(226,122,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,122,48,0); }
}
.tl-item.done .marker {
  background: var(--rust);
  animation: none;
  box-shadow: none;
}
.tl-item.done .when { color: var(--rust); }
.tl-item.active .when { color: var(--rust); font-weight: 900; letter-spacing: .12em; }

.tl-visual {
  position: relative;
  height: 558px;
  margin-top: 243px;
  border-radius: 0;
  overflow: hidden;
  background-size: cover; background-position: center;
}
@media (max-width: 980px) {
  .tl-visual { margin-top: 0; height: auto; aspect-ratio: 5/4.95; }
}

/* ── Roadmap cinematic transitions (switchable via Tweaks) ── */
.tl-slideshow {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--forest-deep);
  --pace: 6s;
}
.tl-slide {
  position: absolute; inset: 0;
  overflow: hidden;
  will-change: clip-path, transform, opacity;
}
.tl-slide .tl-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  will-change: transform;
  /* color grade is baked into the image pixels (split-tone film emulation) — no CSS filter */
}

/* === Clip wipe (refined): reveal right-to-left === */
.tl-slideshow[data-transition="wipe"] .tl-slide.active {
  animation: tlWipe 1.35s cubic-bezier(.76,0,.24,1) both;
}
@keyframes tlWipe {
  from { clip-path: inset(0 0 0 100%); }
  to   { clip-path: inset(0 0 0 0); }
}

/* === Push / slide: incoming drives in from the right, outgoing parallax-pushes left === */
.tl-slideshow[data-transition="slide"] .tl-slide.active {
  animation: tlSlideIn .95s cubic-bezier(.62,.04,.2,1) both;
}
.tl-slideshow[data-transition="slide"] .tl-slide.leaving {
  animation: tlSlideOut .95s cubic-bezier(.62,.04,.2,1) both;
}
@keyframes tlSlideIn  { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes tlSlideOut { from { transform: translateX(0) brightness(1); } to { transform: translateX(-24%); } }
.tl-slideshow[data-transition="slide"] .tl-slide.leaving .tl-img {
  animation: tlDimOut .95s ease both;
}
@keyframes tlDimOut { from { filter: brightness(1); } to { filter: brightness(.62); } }

/* === Film cut + light flash: snappy hard cut with a blown-out frame === */
.tl-slideshow[data-transition="cut"] .tl-slide.active {
  animation: tlPop .16s ease-out both;
}
@keyframes tlPop { from { opacity: .5; } to { opacity: 1; } }
.tl-flash {
  position: absolute; inset: 0;
  z-index: 20; pointer-events: none;
  background: #fff; opacity: 0;
  mix-blend-mode: screen;
  animation: tlFlash .4s ease-out both;
}
@keyframes tlFlash { 0% { opacity: 0; } 14% { opacity: .82; } 100% { opacity: 0; } }

/* === Crossfade / dissolve === */
.tl-slideshow[data-transition="fade"] .tl-slide.active {
  animation: tlFade 1.3s ease both;
}
@keyframes tlFade { from { opacity: 0; } to { opacity: 1; } }

/* === Ken Burns: long slow zoom-and-pan layered under a soft dissolve === */
.tl-slideshow[data-transition="kenburns"] .tl-slide.active {
  animation: tlFade 1.6s ease both;
}
.tl-slideshow[data-transition="kenburns"] .tl-slide.active .tl-img {
  animation: tlKenBurns var(--pace) ease-out both;
}
@keyframes tlKenBurns {
  from { transform: scale(1.18) translate(2%, 1.6%); }
  to   { transform: scale(1) translate(0, 0); }
}

/* warm wash + bottom scrim, unifying the photos with the brand */
.tl-slideshow::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 8; pointer-events: none;
  background:
    linear-gradient(to top, rgba(28,46,54,.34) 0%, rgba(28,46,54,.06) 30%, transparent 50%);
}
/* fine film grain */
.tl-slideshow::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 9; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  opacity: .05;
  mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: reduce) {
  .tl-slide.active, .tl-slide.active .tl-img,
  .tl-slide.leaving, .tl-slide.leaving .tl-img,
  .tl-flash {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    filter: none !important;
  }
}
.tl-visual .stamp {
  position: absolute;
  top: 24px; right: 24px;
  width: 162px; height: 162px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  text-align: center;
  transform: rotate(0deg);
  animation: none;
  border: none;
  background:
    /* crosshair — vertical */
    linear-gradient(to right, transparent calc(50% - 1px), rgba(38,72,82,.65) calc(50% - 1px), rgba(38,72,82,.65) calc(50% + 1px), transparent calc(50% + 1px)),
    /* crosshair — horizontal */
    linear-gradient(to bottom, transparent calc(50% - 1px), rgba(38,72,82,.65) calc(50% - 1px), rgba(38,72,82,.65) calc(50% + 1px), transparent calc(50% + 1px)),
    /* concentric leader rings */
    radial-gradient(circle at center,
      transparent 0 55px,
      rgba(244,235,218,.92) 55px 57px,
      transparent 57px 67px,
      rgba(244,235,218,.92) 67px 69px,
      transparent 69px),
    /* film-green field with vignette */
    radial-gradient(circle at center, var(--sage-soft) 0%, var(--sage) 46%, var(--forest-deep) 100%);
  box-shadow: 0 16px 32px -14px rgba(38,72,82,.75), inset 0 0 0 3px var(--forest-deep);
}
/* sweeping countdown hand */
.tl-visual .stamp::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 2px; height: 50%;
  background: linear-gradient(to top, rgba(244,235,218,.95), rgba(244,235,218,.15));
  transform-origin: top center;
  transform: translate(-50%, 0) rotate(0deg);
  animation: leaderSweep 5s linear infinite;
  z-index: 1;
}
/* film grain overlay */
.tl-visual .stamp::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 999px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  opacity: 0.22;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.tl-visual .stamp-inner {
  position: relative;
  z-index: 2;
  animation: none;
  font-weight: 900; line-height: 1;
  color: var(--forest-deep);
}
.tl-visual .stamp-inner .big { font-size: 36px; letter-spacing: -0.02em; }
.tl-visual .stamp-inner .small { font-size: 9px; letter-spacing: .22em; margin-top: 7px; font-weight: 800; color: var(--forest-deep); }
@keyframes spinSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes leaderSweep {
  from { transform: translate(-50%, 0) rotate(0deg); }
  to   { transform: translate(-50%, 0) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .tl-visual .stamp::before { animation: none; transform: translate(-50%, 0) rotate(40deg); }
}

/* ─────────────────────────────────────────
   Final CTA
   ───────────────────────────────────────── */
.cta {
  padding: 140px 0 68px;
  background-color: var(--storm);
  background-image: url("assets/cta-bg.png");
  background-size: 165%;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* dim to match the hero veil (charcoal, darker top + bottom) + subtle roadmap teal grade */
.cta::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,26,25,.7) 0%, rgba(26,26,25,.34) 36%, rgba(26,26,25,.78) 100%),
    linear-gradient(to top, rgba(28,46,54,.3) 0%, rgba(28,46,54,.08) 32%, transparent 52%);
  z-index: 1;
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 2; }
/* fine film grain — same emulation as the roadmap photos (.tl-slideshow::after) */
.cta::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  opacity: .05;
  mix-blend-mode: overlay;
}
.cta .inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center;
}
@media (max-width: 920px) { .cta .inner { grid-template-columns: 1fr; gap: 40px; } }
.cta h2 {
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.cta .lede {
  margin-top: 24px;
  font-size: 18px;
  color: rgba(255,255,255,.78);
  max-width: 480px;
}
.cta-form-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 22px 30px 24px;
  position: relative;
  top: 28px;
}
.cta-form-card .head {
  font-weight: 900; font-size: 18px; margin-bottom: 6px;
}
.cta-form-card .head.head-sm {
  font-size: 18px; margin-bottom: 14px;
}
.cta-form-card .head.head-ig {
  margin-top: 0;
  line-height: 1;
  margin-bottom: 2px;
}
.cta-or {
  display: flex; align-items: center;
  gap: 14px;
  margin: 16px 0 14px;
  color: rgba(255,255,255,.55);
  font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.cta-or::before, .cta-or::after {
  content: ''; height: 1px; flex: 1;
  background: rgba(255,255,255,.18);
}
.btn-arrow-hand {
  display: inline-block;
  margin-left: 4px;
  transform: rotate(-3deg) translateY(1px);
  overflow: visible;
  transition: transform .25s var(--ease-out);
}
/* hover: tilt the arrow up to the right */
.btn:hover .btn-arrow-hand,
.cta-ig:hover .btn-arrow-hand {
  transform: rotate(-3deg) translate(5px, 1px);
}
.cta-form-card .sub {
  font-size: 14px; color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.cta-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-top: 20px;
}
.cta-meta .item { display: flex; align-items: center; gap: 6px; }
.cta-meta .item::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--rust-soft);
}

/* Merged footer-y row inside CTA */
.cta-foot {
  margin-top: 38px;
  padding-top: 32px;
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-foot-brand {
  display: flex; align-items: center; gap: 16px;
  position: relative;
  top: -20px;
}
.cta-foot-brand img { width: 44px; height: 44px; opacity: 0.7; }
.cta-foot-brand span {
  font-size: 14px; font-weight: 600;
  color: rgba(242, 238, 229, 0.85);
  letter-spacing: -0.005em;
}

/* Pronounced Instagram CTA (brand-aligned, in-card) */
.cta-ig {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px;
  padding: 5px 18px 5px 5px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.cta-ig:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
}
.cta-ig-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rust-soft);
  color: #fff;
  border-radius: 999px;
  flex-shrink: 0;
}
.cta-ig-text {
  display: flex; flex-direction: column; line-height: 1.2;
  flex: 1;
  min-width: 0;
}
.cta-ig-line1 {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.cta-ig-line2 {
  font-family: var(--font); font-weight: 700;
  font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 2px;
}
.cta-ig-arrow {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,.6);
  transition: transform .25s var(--ease-out), color .25s var(--ease-out);
}
.cta-ig:hover .cta-ig-arrow { color: #fff; }
.cta-copyright {
  margin-top: 44px;
  font-size: 12px;
  color: var(--sand-soft);
  text-align: center;
  position: relative;
  bottom: -20px;
  opacity: 0.7;
}

/* ─────────────────────────────────────────
   ───────────────────────────────────────── */
.foot {
  background: var(--soil);
  color: var(--sand);
  padding: 80px 0 32px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(228,212,193,.12);
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand img { width: 56px; margin-bottom: 18px; }
.foot-brand p { color: rgba(228,212,193,.6); font-size: 14px; max-width: 280px; }
.foot-col h5 {
  font-size: 11px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(228,212,193,.5);
  margin: 0 0 16px;
}
.foot-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px; font-weight: 500;
  color: var(--sand);
  transition: color .2s, transform .2s;
}
.foot-col a:hover { color: var(--rust-soft); transform: translateX(3px); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(228,212,193,.5);
}
.foot-bottom .socials { display: flex; gap: 12px; }
.foot-bottom .sb {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(228,212,193,.25);
  border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s;
  color: var(--sand);
}
.foot-bottom .sb:hover { background: var(--rust); border-color: var(--rust); color: #fff; }

/* ─────────────────────────────────────────
   Scroll reveal
   ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helper */
.stagger > * { transition-delay: 0s; }
.stagger.in > *:nth-child(1) { transition-delay: 0s; }
.stagger.in > *:nth-child(2) { transition-delay: .1s; }
.stagger.in > *:nth-child(3) { transition-delay: .2s; }
.stagger.in > *:nth-child(4) { transition-delay: .3s; }
.stagger.in > *:nth-child(5) { transition-delay: .4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


/* ─────────────────────────────────────────
   Problem section — editorial layout
   Photo stands alone as a framed image; text
   sits below on the page background (no card).
   Ported from the Editorial version.
   ───────────────────────────────────────── */
.problem-cards { gap: 40px; }

.problem-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex; flex-direction: column;
}
.problem-card:hover { transform: none; box-shadow: none; }
.problem-card .img {
  height: auto;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #F2EEE5;
  border: 1px solid rgba(0,0,0,.12);
  padding: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 0 0 1px rgba(0,0,0,.03);
}
.problem-card .img-inner {
  position: absolute;
  top: 12%; bottom: 15%; left: 25%; right: 11%;
  background-size: cover; background-position: center;
  border: 3px solid var(--forest-deep);
  border-radius: 9px;
  transition: transform 1s var(--ease-out);
}
.problem-card .img::after { display: none; }
.problem-card:hover .img-inner { transform: none; }

/* per-card: bolder, slightly uneven hand-mounted borders */
.problem-card:nth-child(1) .img-inner { border-width: 3px 2px 4px 3px; transform: rotate(-0.5deg); }
.problem-card:nth-child(2) .img-inner { border-width: 2px 4px 3px 3px; transform: rotate(0.6deg); }
.problem-card:nth-child(3) .img-inner { border-width: 4px 3px 2px 4px; transform: rotate(-0.3deg); }
.problem-card:nth-child(1):hover .img-inner { transform: rotate(-0.5deg); }
.problem-card:nth-child(2):hover .img-inner { transform: rotate(0.6deg); }
.problem-card:nth-child(3):hover .img-inner { transform: rotate(-0.3deg); }

/* ── scattered 35mm-slide handwritten annotations ── */
.problem-card .anno {
  position: absolute;
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-weight: 400;
  color: #1d1d1b;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}
.problem-card .anno-loc {
  left: 12%; top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-size: 18px;
  letter-spacing: .01em;
}
.problem-card .anno-credit {
  left: 19.5%; top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-size: 13px;
  color: #2c2c2a;
}
.problem-card .anno-date {
  left: 5%; top: 34%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .14em;
  color: rgba(70,70,70,.42);
}
.problem-card .anno-init {
  right: 6%; top: 8%;
  transform: rotate(-3deg);
  font-size: 15px;
  color: rgba(55,55,55,.4);
}
.problem-card .anno-frame {
  right: 7%; top: 18%;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: rgba(55,55,55,.5);
  border: 1.5px solid rgba(55,55,55,.4);
  border-radius: 50%;
  transform: rotate(5deg);
}
.problem-card .anno-cross {
  left: 7%; bottom: 5%;
  font-size: 21px;
  color: #CD5909;
  transform: rotate(7deg);
}
.problem-card .anno-year {
  right: 4%; bottom: 6%;
  transform: rotate(-90deg);
  transform-origin: right bottom;
  font-size: 17px;
  color: #1d1d1b;
}
.anno-tape {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,.34);
  border-left: 1px dashed rgba(120,108,86,.22);
  border-right: 1px dashed rgba(120,108,86,.22);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  pointer-events: none;
}
.anno-tape-top { top: -3px; left: 40%; width: 64px; height: 26px; transform: rotate(1.5deg); }
.anno-tape-bot { bottom: -3px; left: 30%; width: 78px; height: 24px; transform: rotate(-1.5deg); }

/* ── scatter the marks differently on each card so they don't line up ── */
/* card 1 */
.problem-card:nth-child(1) .anno-cross  { left: 7%;  bottom: 6%;  transform: rotate(8deg); }
.problem-card:nth-child(1) .anno-frame  { right: 7%; top: 17%;  transform: rotate(5deg); }
.problem-card:nth-child(1) .anno-init   { right: 6%; top: 7%;   transform: rotate(-4deg); }
.problem-card:nth-child(1) .anno-date   { left: 5%;  top: 33%; }
.problem-card:nth-child(1) .anno-year   { right: 4%; bottom: 6%; }
.problem-card:nth-child(1) .anno-loc    { top: 49%; }
.problem-card:nth-child(1) .anno-tape-top { left: 42%; transform: rotate(2deg); }
.problem-card:nth-child(1) .anno-tape-bot { left: 26%; transform: rotate(-2deg); }
/* card 2 */
.problem-card:nth-child(2) .anno-cross  { left: 13%; bottom: 11%; transform: rotate(-9deg); }
.problem-card:nth-child(2) .anno-frame  { right: 13%; top: 9%;   transform: rotate(-7deg); }
.problem-card:nth-child(2) .anno-init   { right: 5%;  top: 13%;  transform: rotate(5deg); }
.problem-card:nth-child(2) .anno-date   { left: 6%;  top: 56%; }
.problem-card:nth-child(2) .anno-year   { right: 8%; bottom: 4%; transform: rotate(-90deg) rotate(6deg); transform-origin: right bottom; }
.problem-card:nth-child(2) .anno-loc    { top: 53%; }
.problem-card:nth-child(2) .anno-tape-top { left: 30%; width: 80px; transform: rotate(-1deg); }
.problem-card:nth-child(2) .anno-tape-bot { left: 44%; width: 60px; transform: rotate(2deg); }
/* card 2 — clean frame: no annotations, larger photo */
/* ════════════════════════════════════════════════════════════
   Clean polaroid treatment — ALL problem cards
   no marginalia · larger photo · charcoal outline · hand-cut
   cream mat · bottom-right corner shade · photo-only hover lift
   ════════════════════════════════════════════════════════════ */
.problem-card .anno,
.problem-card .anno-tape { display: none; }

/* larger photo + charcoal outline (cards 2 & 3; card 1 handled below) */
.problem-card:nth-child(2) .img-inner,
.problem-card:nth-child(3) .img-inner {
  top: 6%; bottom: 15%; left: 6%; right: 6%;
  border-color: #2F2F2E;
}

/* texture-free cream mat with hand-cut uneven edges (varied per card) */
.problem-card .img { background: #F2EEE5; background-image: none; }
.problem-card:nth-child(1) .img {
  border-width: 2px 1px 4px 3px;
  border-radius: 11px 5px 13px 4px / 5px 12px 4px 11px;
  border-color: rgba(0,0,0,.12);
}
.problem-card:nth-child(2) .img {
  border-width: 1px 4px 5px 2px;
  border-radius: 13px 4px 15px 6px / 5px 14px 4px 12px;
  border-color: rgba(0,0,0,.12);
}
.problem-card:nth-child(3) .img {
  border-width: 3px 2px 2px 5px;
  border-radius: 5px 13px 6px 14px / 12px 5px 13px 4px;
  border-color: rgba(0,0,0,.12);
}

/* soft shade localized to the bottom-right corner only */
.problem-card .img::after {
  display: none;
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 34%; height: 26%;
  background: radial-gradient(125% 125% at 100% 100%,
    rgba(26,26,25,.34) 0%, rgba(26,26,25,.12) 34%, transparent 68%);
  border-bottom-right-radius: inherit;
  pointer-events: none;
  z-index: 4;
}

/* No hover motion on any problem card (renters formatting applied to all three) */
.problem-card .img { transition: transform .5s var(--ease-out); }
/* card 3 */
.problem-card:nth-child(3) .anno-cross  { left: 4%;  bottom: 16%; transform: rotate(15deg); }
.problem-card:nth-child(3) .anno-cross-2 { left: 58%; right: auto; top: auto; bottom: 5%; transform: rotate(-12deg); }
.problem-card:nth-child(3) .anno-frame  { right: 5%;  top: 25%;  transform: rotate(11deg); }
.problem-card:nth-child(3) .anno-init   { right: 9%;  top: 6%;   transform: rotate(-8deg); }
.problem-card:nth-child(3) .anno-date   { left: 4%;  top: 27%; }
.problem-card:nth-child(3) .anno-year   { right: 3%; bottom: 11%; }
.problem-card:nth-child(3) .anno-loc    { top: 47%; }
.problem-card:nth-child(3) .anno-tape-top { left: 36%; width: 56px; transform: rotate(3deg); }
.problem-card:nth-child(3) .anno-tape-bot { left: 33%; width: 88px; transform: rotate(-1deg); }
.problem-card .img-cap {
  position: absolute;
  right: 17px;
  bottom: 7px;
  z-index: 3;
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: #25303A;
  transform: rotate(-1.5deg);
  pointer-events: none;
}
.problem-card .body-area {
  padding: 28px 0 0;
  background: transparent;
}
.problem-card .tag {
  background: transparent;
  color: var(--rust);
  padding: 0;
  border-radius: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  margin-bottom: 14px;
  position: relative;
  text-transform: uppercase;
  width: auto !important;
}
.problem-card h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--forest) !important;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.problem-card p {
  color: var(--soil);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}
.problem-card .stat {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(40, 57, 43, 0.14);
  min-height: 0;
}
.problem-card .stat-text {
  border-left: none;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--forest) !important;
}
.problem-card .stat-text strong {
  font-size: 18px;
  color: var(--rust);
  display: inline-block;
  margin-right: 6px;
}

/* ════════════════════════════════════════════════════════════════════
   RENTERS CARD — vintage 35mm slide mount (Slim Aarons inspired)
   Photo centered in a warm cardboard mount; scattered hand-marker +
   faded stamped marks on all four sides, non-uniformly placed.
   ════════════════════════════════════════════════════════════════════ */
.problem-card.is-slide .img {
  background: #F4F0E7;
  background-image:
    radial-gradient(120% 90% at 30% 10%, rgba(255,255,255,.7), transparent 55%),
    repeating-linear-gradient(92deg, rgba(120,104,80,.025) 0 2px, transparent 2px 5px);
  border: 1px solid rgba(60,45,30,.18);
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 0 26px rgba(120,96,60,.07);
}
/* Centered photo with generous margins for the marginalia */
.problem-card.is-slide .img-inner {
  top: 16.5%; bottom: 18.5%; left: 17%; right: 15%;
  border-radius: 2px;
  border: 2px solid #1b1714;
  border-width: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(158,116,168,.5);   /* faint film-edge tint */
  transform: rotate(-0.7deg);
  /* warm, slightly faded vintage transparency look */
  filter: saturate(1.14) contrast(0.9) brightness(1.07) sepia(0.16) hue-rotate(-6deg);
}
/* warm wash + soft vignette over the photo */
.problem-card.is-slide .img-inner::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 130% at 50% 40%, transparent 55%, rgba(40,28,12,.22) 100%),
    linear-gradient(150deg, rgba(255,214,150,.14), rgba(120,150,170,.07) 60%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ── base for slide marks ── */
.problem-card.is-slide .anno {
  position: absolute;
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
  color: #16130f;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
}
/* TOP — bold marker title, pushed off-centre + heavier stroke */
.problem-card.is-slide .sl-top {
  top: 5%; left: 44%;
  transform: translateX(-50%) rotate(-2.4deg);
  font-size: 21px;
  letter-spacing: .04em;
  color: #14110d;
  -webkit-text-stroke: 0.6px #14110d;
}
.problem-card.is-slide .sl-top em {
  font-style: normal;
  margin-left: 13px;
  letter-spacing: .02em;
  display: inline-block;
  transform: rotate(2.5deg) translateY(-1px);
}
/* LEFT — bold marker, reads bottom→top */
.problem-card.is-slide .sl-left {
  left: 5.5%; top: 53%;
  transform: translate(-50%, -50%) rotate(-90deg) rotate(1.4deg);
  font-size: 16px;
  letter-spacing: .03em;
  color: #181511;
  -webkit-text-stroke: 0.5px #181511;
}
/* RIGHT — serial, bold but slightly worn, reads bottom→top */
.problem-card.is-slide .sl-right {
  right: 5%; top: 50%;
  transform: translate(50%, -50%) rotate(-90deg) rotate(-1.5deg);
  font-size: 13.5px;
  letter-spacing: .06em;
  color: rgba(26,22,17,.8);
}
/* BOTTOM — hand-written code, off-centre + tilted */
.problem-card.is-slide .sl-bot {
  bottom: 4.5%; left: 43%;
  transform: translateX(-50%) rotate(1.8deg);
  font-size: 16px;
  letter-spacing: .05em;
  color: rgba(22,18,14,.92);
  -webkit-text-stroke: 0.4px rgba(22,18,14,.92);
}
/* STAMPED — faded blue printed lab text near the photo's left edge */
.problem-card.is-slide .sl-stamp {
  left: 13.5%; top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 7.5px;
  letter-spacing: .12em;
  color: rgba(58,86,128,.55);
}
/* faint pencil-circled frame number, top-right */
.problem-card.is-slide .sl-pencil {
  top: 9%; right: 7.5%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: rgba(70,66,58,.45);
  border: 1.5px solid rgba(70,66,58,.38);
  border-radius: 50%;
  transform: rotate(6deg);
}
/* faint monospace ref stamp, upper-left */
.problem-card.is-slide .sl-faint {
  top: 8%; left: 6%;
  transform: rotate(-3deg);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: .14em;
  color: rgba(70,66,58,.4);
}
/* registration crosses */
.problem-card.is-slide .sl-cross { font-size: 19px; line-height: 1; }
.problem-card.is-slide .sl-cross-1 { left: 6.5%; bottom: 7%; color: #CD5909; transform: rotate(9deg); }
.problem-card.is-slide .sl-cross-2 { right: 9%; bottom: 11%; font-size: 13px; color: rgba(70,66,58,.4); transform: rotate(-14deg); }
/* small faded arrow mark */
.problem-card.is-slide .sl-arrow {
  right: 6%; top: 33%;
  font-size: 15px;
  color: rgba(70,66,58,.42);
  transform: rotate(-90deg);
}
/* translucent tape strips, varied */
.problem-card.is-slide .sl-tape { z-index: 4; }
.problem-card.is-slide .sl-tape-1 { top: -4px; left: 30%; width: 58px; height: 24px; transform: rotate(-3deg); }
.problem-card.is-slide .sl-tape-2 { bottom: -4px; left: 52%; width: 72px; height: 22px; transform: rotate(2deg); }
.problem-card.is-slide .sl-tape-3 { top: 40%; right: -5px; width: 22px; height: 60px; transform: rotate(1deg); }

/* ── card 1: bring the slide variant in line with the clean polaroid look ── */
.problem-card.is-slide .anno,
.problem-card.is-slide .sl-pencil { display: none; }
.problem-card.is-slide .img {
  background: #F2EEE5;
  background-image: none;
  border-width: 2px 1px 4px 3px;
  border-radius: 11px 5px 13px 4px / 5px 12px 4px 11px;
  border-color: rgba(0,0,0,.12);
}
.problem-card.is-slide .img-inner {
  top: 17%; bottom: 4%; left: 6%; right: 6%;
  border: none;
  border-radius: 0;
  background-position: 28% center;
  transform: scale(0.701);
  transform-origin: left bottom;
  filter: none;
}
.problem-card.is-slide .img-inner::after { display: none; }


/* ── card 1: extend the cream mat downward to wrap the text too ── */
.problem-card.is-slide {
  background: #F2EEE5;
  border: 1px solid rgba(60,45,30,.18);
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 3px 2px -1px rgba(26,26,25,.16),
    0 8px 5px -4px rgba(26,26,25,.2);
  padding: 14px 14px 6px;
}
.problem-card.is-slide .img {
  background: transparent;
  background-image: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.problem-card.is-slide .body-area {
  padding: 8px 12px 8px;
}
/* all text inside card 1's mat → charcoal (--soil) */
.problem-card.is-slide .body-area,
.problem-card.is-slide .body-area .tag,
.problem-card.is-slide .body-area h3,
.problem-card.is-slide .body-area p,
.problem-card.is-slide .body-area .stat,
.problem-card.is-slide .body-area .stat-text,
.problem-card.is-slide .body-area .stat-text strong,
.problem-card.is-slide .body-area .stat * {
  color: var(--soil) !important;
}

/* ─────────────────────────────────────────
   Teammate review edits (Leah)
   ───────────────────────────────────────── */

/* Hero headline — all lines share the smaller size; keep each authored
   line on a single row so wide viewports don't wrap a stray word down. */
.hero .display span { font-size: 0.85em; }
.hero .display > span { white-space: nowrap; }
/* Desktop uses the 3-line break; the mobile body-copy breaks are hidden
   until the phone media query turns them on. */
.hero .display .hl-line { display: block; }
.hero-sub .sub-br { display: none; }

/* Renters card (card 1): unify body type — heading, paragraph and stat text
   all share one size; the heading also adopts the stat-text font weight
   ("Outdoor programming…"). FOR RENTERS tag is excluded. */
.problem-card.is-slide .body-area h3 {
  font-size: 16px;
  font-weight: 600;
}
.problem-card.is-slide .body-area p { font-size: 13px; }
.problem-card.is-slide .body-area .stat-text { font-size: 16px; }

/* Renters card: stat divider matches the line outlining the photo (the mat border) */
.problem-card.is-slide .stat {
  border-top: 1px solid rgba(60,45,30,.18);
}

/* Renters card stat: typed in letter-by-letter via JS (RentersStat).
   The whole stat (divider + text) stays hidden until typing begins. */
.problem-card.is-slide.is-slide .stat {
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.problem-card.is-slide.is-slide .stat.stat-live {
  opacity: 1;
}
/* Blinking "pen" caret that trails the typed text */
.type-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: currentColor;
  animation: caretBlink .8s steps(1) infinite;
}
@keyframes caretBlink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* Renters card: no hover motion — the mat and photo stay completely still */

/* Right-edge cast shadow: a soft vertical strip just outside the right edge.
   It fades in from the upper-middle and deepens toward the bottom, so the
   thickening is gradual (no hard seam). Top half stays clean. */
.problem-card.is-slide::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -4px;
  width: 6px;
  border-radius: 4px;
  background: linear-gradient(
    to bottom,
    rgba(26,26,25,0) 42%,
    rgba(26,26,25,.10) 68%,
    rgba(26,26,25,.20) 100%);
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

/* Renters card: lift FOR RENTERS up alongside the photo, left-aligned to it */
.problem-card.is-slide { position: relative; }
.problem-card.is-slide .body-area .tag {
  position: absolute;
  top: 20px;
  left: 7.5%;
  margin: 0;
  z-index: 5;
  word-spacing: 4px;
}

/* ────────────────────────────────────────────────────────────────
   Per-card photo placement + divider alignment (problem section)
   ──────────────────────────────────────────────────────────────── */

/* Reserve enough heading height for the LONGEST headline (Owners wraps to
   the most lines) so the body paragraph — and the stat below it — start at
   the same vertical position across all three tiles (top-aligned body). */
.problem-card.is-slide .body-area h3 { min-height: 76px; }

/* Cards 2 & 3 now share the renters photo treatment (see .is-slide.is-slide rules) */

/* Hover motion: the photo gently expands (zooms) out from its anchored
   corner. Renters is anchored bottom-left → grows UP + RIGHT. Owners is
   anchored top-right → grows DOWN + LEFT (the mirror of Renters). */
.problem-card.is-slide .img-inner { transition: transform .55s var(--ease-out); }
/* Renters (card 1): photo permanently at the expanded size, no hover motion */
.problem-card.is-slide.is-slide .img-inner {
  transform: scale(0.85);
  transition: none;
  /* outline one pixel thicker than the other slide cards;
     outermost two pixels on the top + left edges a shade darker */
  box-shadow:
    inset 0 2px 0 0 rgba(150,138,118,.85),
    inset 2px 0 0 0 rgba(150,138,118,.85),
    inset 0 4px 0 0 rgba(196,185,166,.6),
    inset 4px 0 0 0 rgba(196,185,166,.6),
    inset 0 -2px 0 0 rgba(196,185,166,.6),
    inset -2px 0 0 0 rgba(196,185,166,.6);
}
/* Renters (card 1): align headline/body/stat with the photo's left edge;
   text fills out toward the divider's right end, but with a small gutter so
   words don't run flush into the line */
.problem-card.is-slide.is-slide .body-area { padding-left: 6%; }
.problem-card.is-slide.is-slide .body-area h3,
.problem-card.is-slide.is-slide .body-area p,
.problem-card.is-slide.is-slide .body-area .stat { padding-right: 16px; }
/* Renters (card 1): headline not all-caps, 14px; body paragraph bumped to match */
.problem-card.is-slide.is-slide .body-area .tag { font-size: 12px; }
.problem-card.is-slide.is-slide .body-area h3 { text-transform: none; font-size: 16px; letter-spacing: 0; padding-right: 6px; }
.problem-card.is-slide.is-slide .body-area p { font-size: 14px; }
/* Reserve body-copy height for the longest paragraph so the stat below it
   starts at the same vertical position across all three tiles. */
.problem-card.is-slide .body-area p { min-height: 67px; }
/* Renters (card 1): extend the divider a bit further left than the text,
   and the same amount on the right so it sits symmetric within the card */
.problem-card.is-slide.is-slide .body-area h3::before { left: -16px; right: -7px; border-top-width: 2px; }
.problem-card.is-slide.is-slide:hover .img-inner { transform: scale(0.85); }
.problem-card.is-slide:nth-child(2):hover .img-inner { transform: scale(0.85); }
.problem-card.is-slide:nth-child(3):hover .img-inner { transform: scale(0.85); }

/* Renters (card 1): creamish-gray outline — 3px top/left, 2px bottom/right */
/* All slide cards: creamish-gray photo outline — 3px top/left, 2px bottom/right;
   photo anchored to the top-left corner of the mat, 10% smaller */
.problem-card.is-slide .img-inner {
  box-shadow:
    inset 0 3px 0 0 rgba(196,185,166,.6),
    inset 3px 0 0 0 rgba(196,185,166,.6),
    inset 0 -2px 0 0 rgba(196,185,166,.6),
    inset -2px 0 0 0 rgba(196,185,166,.6);
  top: 9%;
  transform-origin: left top;
  transform: scale(0.63);
}

/* Renters card (card 1): slight zoom so the crop can pan right, centering the kayak */
.problem-card.is-slide:nth-child(1) .img-inner {
  background-size: 118%;
  background-position: 74% 50%;
}

/* Owners card (card 2): nudge the cover crop a touch to the right */
.problem-card.is-slide:nth-child(2) .img-inner {
  background-position: 50% center;
}

/* Community card (card 3): zoom the crop in toward the group in the lower frame */
.problem-card.is-slide:nth-child(3) .img-inner {
  background-size: 150%;
  background-position: 50% 80%;
}

/* Left-align the tag to the photo's left edge */
.problem-card.is-slide .body-area .tag {
  left: 9.5%;
}

/* Divider line above the headline (mid-mat), removed from above the stat */
.problem-card.is-slide .stat {
  border-top: none;
}
.problem-card.is-slide .body-area h3 {
  position: relative;
  padding-top: 18px;
  margin-top: -50px;
}
/* the divider, floating in the empty mat just above the headline */
.problem-card.is-slide .body-area h3::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  border-top: 1px solid rgba(60,45,30,.18);
}

/* Lighter body copy + breathing room before the stat */
.problem-card.is-slide .body-area p {
  color: #57564F !important;
  margin-bottom: 20px;
}

/* Headline adopts the tag's font style */
.problem-card.is-slide .body-area h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Push the stat to the bottom of the mat, with the headline's font treatment */
.problem-card.is-slide .body-area {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.problem-card.is-slide .stat {
  margin-top: 0;
}
.problem-card.is-slide .stat .stat-text {
  font-size: 12px;
  font-weight: 800 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Hero Instagram call-out — mobile only; hidden on desktop by default */
.signup-card .hero-ig { display: none; margin-top: 0; }

/* ─────────────────────────────────────────
   Small-phone tuning (≤480px)
   Below this width the single-column layout
   from the tablet breakpoints is correct, but
   type, gutters and vertical rhythm need to
   step down so the page feels designed for a
   phone rather than a squeezed desktop.
   ───────────────────────────────────────── */
@media (max-width: 480px) {
  /* Tighter side gutters across every section */
  .wrap,
  .wrap-tight,
  .hero-grid,
  .nav-inner { padding-left: 20px; padding-right: 20px; }

  /* Headline scale — one step smaller on phones */
  .display   { font-size: clamp(34px, 9.8vw, 43px); }
  .h-section { font-size: clamp(30px, 8.5vw, 40px); }
  .body-lg   { font-size: 17px; }

  /* (4) hero: swap the email signup for an Instagram call-out */
  .signup-card .cs-slot { display: none; }
  .signup-card .hero-ig { display: flex; gap: 12px; padding-right: 12px; }
  /* keep both lines on a single row even on narrow Androids */
  .signup-card .hero-ig .cta-ig-icon { width: 40px; height: 40px; }
  .signup-card .hero-ig .cta-ig-line1 { white-space: nowrap; letter-spacing: .07em; }
  .signup-card .hero-ig .cta-ig-line2 { white-space: nowrap; letter-spacing: .03em; }

  /* Hero breathing room */
  .hero { padding: 100px 0 72px; min-height: 102vh; }
  .hero-grid { gap: 30px; }
  .hero-mark { margin-bottom: 18px; }
  .hero-sub { margin-top: 16px; font-size: clamp(13px, 3.7vw, 16px); }
  .signup-card { padding: 18px 16px 20px; }

  /* (A) "App launching soon" stamp kept to ONE tidy line */
  .signup-card .cs-hand-top {
    font-size: clamp(22px, 6.6vw, 28px);
    white-space: nowrap;
    margin: 0 0 12px 2px;
  }

  /* email pill must stay on one row at phone widths — let the field
     shrink (it had a 130px min-width) and trim the button a touch */
  .signup-card .email-form input { min-width: 0; }
  .email-form input { padding: 0 14px; }
  .signup-card .email-form .btn-storm,
  .signup-card .email-form .btn-primary,
  .email-form .btn-primary { padding: 0 14px; font-size: 14px; }

  /* (B) hero read as clustered over the backpacker — stronger lower
     scrim gives the headline / sub / signup a darker bed so they
     separate cleanly from the photo instead of fighting it */
  .hero-veil {
    background: linear-gradient(180deg,
      rgba(26,26,25,.52) 0%,
      rgba(26,26,25,.12) 26%,
      rgba(26,26,25,.55) 60%,
      rgba(26,26,25,.88) 100%);
  }
  /* push the busy subject off-centre so it isn't directly behind the copy */
  .hero-bg { background-position: 38% center; }

  /* (1) on phones the nav should NOT stay as a fixed top banner while
     scrolling — let it scroll away with the page; (3) sit a bit lower */
  .nav { position: absolute; padding-top: 56px; padding-bottom: 14px; }
  .nav.scrolled { background: transparent; box-shadow: none; padding-top: 56px; }

  /* (2/3) phones keep the 3-line headline break, sized to match the final
     CTA headline (.cta h2) so hero and footer read at the same scale. */
  .hero .display span { font-size: clamp(32px, 8.5vw, 40px); }

  /* hero body copy: explicit line breaks on phones only */
  .hero-sub .sub-br { display: inline; }

  /* (3) lift logo + eyebrow + headline + body up; (4) ease the
         signup (stamp + CTA) down for separation */
  .hero-grid > div:first-child { transform: translateY(-70px); }
  .hero-grid > .signup-card { transform: translateY(10px); }

  /* scroll cue hidden on phones so it doesn't collide with the signup card */
  .scroll-cue { display: none; }

  /* Section vertical rhythm — 130/120/140px is too tall on a phone */
  .problem          { padding: 72px 0 64px; }
  .features         { padding: 72px 0; }
  .timeline-section { padding: 72px 0; }
  .cta              { padding: 88px 0 56px; }

  /* Tighten the gap between a section intro and its first card/tile on
     phones — 70/80px reads as a dead zone at this width. */
  .problem .section-head { margin-bottom: 36px; }
  .features .section-head { margin-bottom: 36px !important; }

  /* Cards: trim inner padding so copy gets more width */
  .feature-card        { padding: 28px 22px 24px; }
  .problem-card .body-area { padding: 22px 22px 26px; }

  /* CTA card overlap offset reads awkwardly on narrow screens */
  .cta-form-card { padding: 22px 22px 24px; top: 0; }

  /* (C) final CTA: 165% bg left flat-teal gaps on tall phones — cover it.
     The grid track was also being blown past the viewport by a child's
     intrinsic min-width, shoving everything off-centre; min-width:0 lets
     the single column shrink back to the gutters. */
  .cta { background-size: cover; background-position: center center; }
  .cta .inner { gap: 30px; }
  .cta .inner > * { min-width: 0; }
  .cta h2 { font-size: clamp(32px, 8.5vw, 40px); }
  .cta-foot { margin-top: 30px; padding-top: 26px; }
  .cta-foot-brand { top: 0; }

  /* final CTA: each reassurance item on its own line on phones */
  .cta-meta { flex-direction: column; gap: 10px; }

  /* The hand-drawn film annotations are sized for a larger photo —
     shrink them a touch so they don't crowd the smaller mobile crop */
  .problem-card .anno,
  .problem-card.is-slide .anno { font-size: 11px; }
}
