/* ==========================================================================
   Simmerly — marketing site
   Editorial-luxury system: warm cream, sage/forest greens, Manrope + Fraunces
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-italic-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --cream: #FFFBF5;
  --cream-2: #FFF6E9;
  --cream-3: #F7EFE2;
  --ink: #21291F;
  --ink-70: rgba(33, 41, 31, 0.72);
  --ink-50: rgba(33, 41, 31, 0.66);
  --hairline: rgba(33, 41, 31, 0.10);
  --hairline-soft: rgba(33, 41, 31, 0.06);
  --green: #11842B;
  --btn: #137629; /* action green, 15% ink */
  --btn-hover: #106423;
  --sage: #5B9353;
  --sage-dark: #566C5C;
  --forest: #0B3007;
  --forest-2: #143D0E;
  --sand: #E8E0D3;
  --shadow-tint: 214, 205, 188; /* #D6CDBC */

  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);

  --r-xl: 2rem;
  --r-inner: calc(2rem - 0.4rem);
  --nav-h: 4rem;

  --shadow-float:
    0 1px 2px rgba(var(--shadow-tint), 0.25),
    0 12px 32px -8px rgba(var(--shadow-tint), 0.55),
    0 32px 72px -16px rgba(var(--shadow-tint), 0.45);
  --shadow-deep:
    0 2px 6px rgba(20, 25, 18, 0.08),
    0 24px 64px -12px rgba(20, 25, 18, 0.22);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* sticky footer: short pages (help) still pin the footer to the viewport bottom */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }

::selection { background: rgba(91, 147, 83, 0.28); }

/* Film grain — fixed, non-interactive */
.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

/* ==========================================================================
   Floating nav pill
   ========================================================================== */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  translate: -50% 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.45rem 0.45rem 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--hairline-soft), 0 1px 0 rgba(255,255,255,0.6) inset;
  transition: box-shadow 0.7s var(--ease), background 0.7s var(--ease), translate 0.7s var(--ease);
  max-width: calc(100vw - 2rem);
}
.nav.is-scrolled {
  background: rgba(255, 251, 245, 0.92);
  box-shadow:
    inset 0 0 0 1px var(--hairline),
    0 12px 40px -12px rgba(var(--shadow-tint), 0.9);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-right: 0.9rem;
  color: var(--ink);
}
.nav__logo .logo-mark { height: 24px; width: auto; }
.nav__logo .logo-word { height: 20px; width: auto; translate: 0 3px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-70);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: color 0.5s var(--ease), background 0.5s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(33, 41, 31, 0.05); }
.nav__cta { margin-left: 0.6rem; }

/* Hamburger (mobile) */
.nav__burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(33, 41, 31, 0.05);
  cursor: pointer;
}
.nav__burger span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 22px; }
body.menu-open .nav__burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* Full-screen mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: rgba(255, 251, 245, 0.86);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  backdrop-filter: blur(28px) saturate(1.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
body.menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease);
}
.menu a {
  display: block;
  overflow: hidden;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}
.menu a > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}
body.menu-open .menu a > span { transform: translateY(0); }
body.menu-open .menu a:nth-child(1) > span { transition-delay: 0.08s; }
body.menu-open .menu a:nth-child(2) > span { transition-delay: 0.14s; }
body.menu-open .menu a:nth-child(3) > span { transition-delay: 0.2s; }
body.menu-open .menu a:nth-child(4) > span { transition-delay: 0.26s; }
.menu__foot {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-50);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--btn);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--btn-hover);
}
.btn:active { transform: scale(0.98); }

.btn--small { padding: 0.6rem 1.15rem; font-size: 0.875rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-70);
  padding: 0.85rem 0.5rem;
  transition: color 0.5s var(--ease);
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost svg { width: 14px; height: 14px; transition: transform 0.5s var(--ease); }
.btn-ghost:hover svg { transform: translateY(2px); }

/* ==========================================================================
   Type system
   ========================================================================== */
.eyebrow {
  display: block;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.display {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.display em, .serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 420;
  letter-spacing: -0.02em;
}
/* Fraunces runs visually small next to Manrope at equal size — compensate
   in display headlines; line-height 1 keeps the line box from growing */
.display em {
  font-size: 1.08em;
  line-height: 1;
}

.section-head { max-width: 620px; }
.section-head .display { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 1.4rem 0 1.1rem; }
.section-head p { color: var(--ink-70); font-size: 1.1rem; max-width: 54ch; }

.lede { color: var(--ink-70); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; }

/* ==========================================================================
   Reveal system
   ========================================================================== */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition:
    opacity 1s var(--ease-spring),
    transform 1s var(--ease-spring),
    filter 1s var(--ease-spring);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform, filter;
}
.reveal-ready [data-reveal].in-view {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ==========================================================================
   Phone (device frame composite)
   ========================================================================== */
.phone {
  position: relative;
  aspect-ratio: 690 / 1440;
  width: 100%;
}
.phone__screen {
  position: absolute;
  left: 4.348%;
  top: 2.5%;
  width: 91.304%;
  height: 95%;
  object-fit: cover;
  object-position: top;
  border-radius: 15% / 6.9%;
  background: #FFF7EB;
}
.phone__chrome {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
/* Tall capture that slowly pans inside the frame. The div clips to the
   screen area; the img is the full-length capture. --pan (negative px) and
   --pan-dur are set by js/main.js from the measured overflow. */
.phone__screen--pan {
  overflow: hidden;
}
.phone__screen--pan img {
  display: block;
  width: 100%;
  height: auto;
  animation: phone-pan var(--pan-dur, 18s) cubic-bezier(0.45, 0.05, 0.25, 0.95)
    infinite alternate;
  animation-play-state: paused;
}
.in-view .phone__screen--pan img {
  animation-play-state: running;
}
/* Scroll-linked pan where supported: the capture scrolls with the page,
   driven by the stage's progress through the viewport (no scroll listeners).
   Browsers without scroll-driven animations keep the timed ping-pong above. */
@supports (animation-timeline: view()) {
  .duo__stage { view-timeline: --phone-pan block; }
  .phone__screen--pan img {
    animation: phone-pan-scroll 1s linear both;
    animation-timeline: --phone-pan;
    animation-range: cover 40% cover 75%;
    animation-play-state: running;
  }
}
@keyframes phone-pan {
  0%, 12% { transform: translateY(0); }
  88%, 100% { transform: translateY(var(--pan, 0px)); }
}
@keyframes phone-pan-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(var(--pan, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .phone__screen--pan img { animation: none; }
}

/* stacked screens for crossfade */
.phone--stack .phone__screen {
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.9s var(--ease-spring), transform 0.9s var(--ease-spring);
}
.phone--stack .phone__screen.is-active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(4rem, 10vh, 7rem)) 0 clamp(4rem, 9vw, 7rem);
  overflow: clip;
}
.hero::before {
  /* soft radial wash behind the phone */
  content: '';
  position: absolute;
  right: -12%;
  top: 4%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(166, 193, 173, 0.42), rgba(166, 193, 173, 0.16) 55%, transparent 72%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy .display {
  font-size: clamp(2.8rem, 6.2vw, 4.9rem);
  margin: 1.6rem 0 1.5rem;
}
.hero__copy .lede { max-width: 46ch; }
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 2.2rem;
}
.hero__footnote {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-50);
}

.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__phone {
  width: clamp(270px, 26vw, 380px);
  filter: drop-shadow(0 40px 60px rgba(20, 25, 18, 0.28));
  transform: rotate(2.2deg);
}
@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 253, 251, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65), 0 1px 2px rgba(var(--shadow-tint), 0.4), 0 20px 44px -12px rgba(var(--shadow-tint), 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  animation: floaty 5.2s var(--ease-spring) infinite alternate;
}
.chip small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.chip__dot {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 132, 43, 0.1);
  color: var(--green);
}
.chip__dot svg { width: 16px; height: 16px; }
.chip--1 { top: 4%; left: -6%; animation-delay: -1.4s; }
.chip--2 { bottom: 24%; right: -6%; animation-delay: -3s; }
.chip--3 { bottom: 6%; left: 2%; animation-delay: -2.2s; }

/* phone width is also capped by viewport height so the whole phone fits
   within the first viewport on shorter screens: 0.479 = frame aspect
   (690/1440), 10rem ≈ hero top padding + breathing room, 230px floor
   guards against absurdly short windows. Must come after the base
   .hero__phone rule — equal specificity, source order wins. */
@media (min-width: 961px) {
  .hero__phone {
    width: min(clamp(270px, 26vw, 380px), max(230px, (100dvh - 10rem) * 0.479));
  }
}

/* ==========================================================================
   Sections — shared rhythm
   ========================================================================== */
.section { padding: clamp(5rem, 11vw, 9rem) 0; }

/* ---------- How it works (sticky storytelling) ---------- */
.howit__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  margin-top: clamp(2rem, 5vw, 4rem);
}
.howit__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.howit__phone {
  width: clamp(250px, 24vw, 350px);
  filter: drop-shadow(0 32px 48px rgba(20, 25, 18, 0.24));
}
.howit__steps { display: flex; flex-direction: column; }
.step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}
.step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.step__num::after {
  content: '';
  height: 1px;
  width: 72px;
  background: var(--hairline);
}
.step h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 1.1rem 0 1rem;
  text-wrap: balance;
}
.step p { color: var(--ink-70); max-width: 44ch; font-size: 1.06rem; }
.step__phone { display: none; }

/* progress rail (desktop) */
.step { position: relative; opacity: 0.35; transition: opacity 0.8s var(--ease); }
.step.is-active { opacity: 1; }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  padding: 0.4rem;
  background: rgba(33, 41, 31, 0.035);
  box-shadow: inset 0 0 0 1px var(--hairline-soft);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring);
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px var(--hairline), 0 28px 56px -18px rgba(var(--shadow-tint), 1);
}
.tile__core {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-inner);
  background: linear-gradient(180deg, #FFFDF9 0%, var(--cream-2) 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.9), inset 0 0 0 1px rgba(255,255,255,0.4);
  overflow: hidden;
}
.tile__text { padding: 1.9rem 1.9rem 0.4rem; }
.tile__kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
}
.tile h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.tile p { color: var(--ink-70); font-size: 0.95rem; line-height: 1.6; max-width: 52ch; }
/* Illustration block (inline SVG vignettes) */
.tile__art {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.6rem 1.9rem 1.9rem;
}
.tile__art svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  font-family: var(--font-body);
  transition: transform 0.9s var(--ease-spring);
}
.tile__art--center { align-items: center; }
.tile:hover .tile__art svg { transform: translateY(-6px); }

/* staged entrance for svg parts, keyed off the tile's reveal */
.tile [data-anim] {
  transition: transform 0.9s var(--ease-spring), opacity 0.9s var(--ease-spring);
  transition-delay: var(--ad, 0.25s);
}
.reveal-ready .tile [data-anim="bar"] {
  transform: scaleX(0);
  transform-origin: left center;
  transform-box: fill-box;
}
.reveal-ready .tile [data-anim="pop"] { opacity: 0; transform: translateY(9px); }
.reveal-ready .tile.in-view [data-anim="bar"] { transform: scaleX(1); }
.reveal-ready .tile.in-view [data-anim="pop"] { opacity: 1; transform: translateY(0); }

.tile--7 { grid-column: span 7; }
.tile--5 { grid-column: span 5; }
.tile--4 { grid-column: span 4; }

/* Wide tile: text and art side by side */
.tile--wide .tile__core { flex-direction: row; align-items: stretch; }
.tile--wide .tile__text { flex: 0 0 46%; padding: 2.2rem 0.6rem 2.2rem 2.2rem; align-self: center; }
.tile--wide .tile__art { padding: 2.2rem 2.2rem 2.2rem 1rem; align-items: center; }
.tile--wide .tile__art svg { max-width: 470px; }

/* ---------- Editorial split sections (leftovers, your recipes) ---------- */
.duo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.duo__grid--flip > .duo__copy { order: 2; }
.duo__copy .display { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 1.4rem 0 1.2rem; }
.duo__list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-70);
}
.duo__list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.duo__list li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  transform: translateY(-2px);
}
.duo__stage { display: flex; justify-content: center; }
.duo__phone {
  width: clamp(240px, 23vw, 330px);
  filter: drop-shadow(0 30px 48px rgba(20, 25, 18, 0.22));
}

/* ---------- Groceries poster ---------- */
.poster {
  position: relative;
  border-radius: calc(var(--r-xl) + 0.5rem);
  padding: 0.5rem;
  background: rgba(33, 41, 31, 0.04);
  box-shadow: inset 0 0 0 1px var(--hairline-soft);
}
.poster__core {
  position: relative;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(91, 147, 83, 0.35), transparent 50%),
    linear-gradient(160deg, var(--forest-2) 0%, var(--forest) 62%);
  color: var(--cream);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
}
.poster__copy { padding: clamp(2.5rem, 6vw, 5rem); }
.poster__copy .eyebrow {
  color: rgba(255, 251, 245, 0.75);
}
.poster__copy .display {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  margin: 1.4rem 0 1.2rem;
}
.poster__copy .lede { color: rgba(255, 251, 245, 0.78); }
.poster__list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  font-size: 0.98rem;
  font-weight: 600;
}
.poster__list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  color: rgba(255, 251, 245, 0.9);
}
.poster__list li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8FBD84;
  transform: translateY(-2px);
}
.poster__stage {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem) 0;
}
.poster__phone {
  width: clamp(240px, 22vw, 330px);
  margin-bottom: -22%;
  transform: rotate(-2deg);
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, 0.45));
}

/* ---------- Closing CTA ---------- */
.closing { text-align: center; }
.closing .display {
  font-family: var(--font-serif);
  font-weight: 430;
  font-style: italic;
  letter-spacing: -0.02em;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.08;
  margin: 1.6rem auto 1.3rem;
  max-width: 18ch;
}
.closing .lede { max-width: 52ch; margin-inline: auto; }
.closing__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.closing__foot { margin-top: 1.6rem; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-50); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--hairline-soft);
  padding: 4rem 0 3rem;
  background: var(--cream-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}
.footer__brand .logo-mark { height: 26px; width: auto; }
.footer__brand .logo-word { height: 22px; width: auto; translate: 0 3px; }
.footer__tag {
  margin-top: 0.9rem;
  color: var(--ink-50);
  font-size: 0.92rem;
  max-width: 30ch;
}
.footer h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer ul a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-70);
  transition: color 0.4s var(--ease);
}
.footer ul a:hover { color: var(--ink); }
.footer__legal {
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-50);
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal {
  padding: calc(var(--nav-h) + 5rem) 0 6rem;
}
.legal .wrap { width: min(760px, calc(100% - 3rem)); }
.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}
.legal .updated {
  color: var(--ink-50);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--hairline);
}
.legal h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2.8rem 0 0.9rem;
  scroll-margin-top: 6rem;
}
.legal h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.9rem 0 0.5rem;
}
.legal p { margin: 0 0 1rem; color: var(--ink-70); font-size: 0.98rem; }
.legal a { color: var(--green); font-weight: 600; text-decoration-color: rgba(17,132,43,0.35); }
.legal .toc {
  background: var(--cream-2);
  border-radius: 1.2rem;
  box-shadow: inset 0 0 0 1px var(--hairline-soft);
  padding: 1.6rem 1.8rem;
  margin: 2rem 0;
}
.legal .toc ol { margin: 0.4rem 0 0; padding-left: 1.2rem; columns: 2; column-gap: 2.5rem; }
.legal .toc li { margin-bottom: 0.35rem; font-size: 0.92rem; }
.legal .toc a { text-decoration: none; color: var(--ink-70); font-weight: 600; }
.legal .toc a:hover { color: var(--green); }

/* ==========================================================================
   404
   ========================================================================== */
.notfound {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}
.notfound .display {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 430;
  letter-spacing: -0.02em;
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  margin: 1.3rem auto 1.1rem;
  max-width: 16ch;
}
.notfound .lede { max-width: 42ch; margin-inline: auto; }
.notfound__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .eyebrow { letter-spacing: 0.14em; font-size: 0.62rem; }

  /* collapse nav to logo + hamburger before the link row gets cramped */
  .nav {
    top: 0.9rem;
    width: calc(100vw - 1.8rem);
    justify-content: space-between;
    padding: 0.4rem 0.4rem 0.4rem 1rem;
  }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  body.menu-open .grain { opacity: 0.02; }

  .hero .wrap { grid-template-columns: 1fr; }
  .hero__stage { margin-top: 3rem; }
  .hero__phone { width: min(320px, 72vw); }
  .chip--1 { left: 0; }
  .chip--2 { right: 0; }

  .howit__grid { grid-template-columns: 1fr; }
  .howit__sticky { display: none; }
  .step { min-height: 0; padding: 2.5rem 0; opacity: 1; }
  .step__phone {
    display: block;
    width: min(280px, 78vw);
    margin: 2.2rem auto 0;
    filter: drop-shadow(0 24px 40px rgba(20, 25, 18, 0.22));
  }

  .tile--7, .tile--5, .tile--4 { grid-column: span 12; }
  .tile--wide .tile__core { flex-direction: column; }
  .tile--wide .tile__text { flex: none; padding: 1.9rem 1.9rem 0.4rem; align-self: stretch; }
  .tile--wide .tile__art { padding: 1.6rem 1.9rem 1.9rem; }

  .poster__core { grid-template-columns: 1fr; }
  .poster__stage { padding-top: 0; }
  .poster__phone { margin-bottom: -30%; }

  .duo__grid { grid-template-columns: 1fr; }
  .duo__grid--flip > .duo__copy { order: 0; }
  .duo__stage { margin-top: 1rem; }
  .duo__phone { width: min(300px, 72vw); }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .legal .toc ol { columns: 1; }
}

@media (max-width: 760px) {
  .hero { padding-top: calc(var(--nav-h) + 3rem); }
  .hero__actions .btn-ghost { display: none; }
  .chip { padding: 0.55rem 0.8rem; font-size: 0.72rem; }
  .chip__dot { width: 28px; height: 28px; }
  .section { padding: 4.5rem 0; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .chip { animation: none; }
  .tile [data-anim] { opacity: 1; transform: none; transition: none; }
  .phone--stack .phone__screen,
  .tile, .tile__art svg, .btn, .menu, .menu a > span {
    transition-duration: 0.01s !important;
  }
}
