/* ==========================================================================
   LOUD NEIGHBOUR — landing page
   Brand: Ink #141311 · Acid #D6F930 (punctuation, not paint) · Bone #F5F2EC
   Type:  Lilita One (display) · Archivo (everything else)
   ========================================================================== */

:root {
  --ink: #141311;
  --acid: #D6F930;
  --bone: #F5F2EC;
  --card-light: #FBFAF7;
  --card-dark: #1D1C19;
  --bone-deep: #EDE8DD;
  --ink-soft: rgba(20, 19, 17, 0.72);
  --bone-soft: rgba(245, 242, 236, 0.78);

  --font-display: "Lilita One", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;

  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 20px;
  --radius-pill: 999px;

  --container: 1200px;
  --section-pad: clamp(4.5rem, 9vw, 8rem);

  --shadow-pill: 0 10px 30px rgba(20, 19, 17, 0.10);
  --shadow-card: 0 2px 6px rgba(20, 19, 17, 0.05);
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, p, ul, ol { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

::selection {
  background: var(--acid);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.section-ink :focus-visible,
.footer :focus-visible {
  outline-color: var(--acid);
}

/* ---------- Layout primitives ---------- */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container.narrow { max-width: 860px; }

.section {
  padding-block: var(--section-pad);
  /* positioned so opaque section backgrounds paint over the hero's overflowing sound rings */
  position: relative;
}

.section-bone { background: var(--bone); }

.section-ink {
  background: var(--ink);
  color: var(--bone);
}

/* anchor targets clear the floating nav */
section[id] { scroll-margin-top: 110px; }

/* ---------- Type ---------- */

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.05;
}

.body-lg {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  max-width: 62ch;
}

.section-ink .body-lg { color: var(--bone-soft); }

/* ---------- Buttons & pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 1.05em 1.9em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 2.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-acid {
  background: var(--acid);
  color: var(--ink);
}

.btn-acid:hover { box-shadow: 0 8px 24px rgba(214, 249, 48, 0.35); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover { background: rgba(20, 19, 17, 0.05); }

.btn-ink {
  background: var(--ink);
  color: var(--bone);
}

.btn-ink:hover { box-shadow: 0 8px 24px rgba(20, 19, 17, 0.25); }

.btn-lg {
  font-size: 1.15rem;
  padding: 1.15em 2.4em;
}

.tag-pill {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55em 1.3em;
  border-radius: var(--radius-pill);
}

.tag-acid {
  background: var(--acid);
  color: var(--ink);
}

.tag-sm {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.5em 1.1em;
}

/* ---------- Progress bar (brand signature) ---------- */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background: var(--acid);
  z-index: 200;
}

/* ---------- Nav (floating pill) ---------- */

.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  max-width: 1080px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.7rem 0.6rem 1.5rem;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 44px;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.4em 0.2em;
  border-radius: 8px;
  transition: opacity 0.15s ease;
}

.nav-links a:hover { opacity: 0.6; }

.btn-nav {
  font-size: 0.95rem;
  padding: 0.9em 1.6em;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--bone);
  padding-top: clamp(6.5rem, 13vh, 10rem);
  border-bottom: clamp(2.75rem, 5vh, 4rem) solid var(--ink);
  overflow: hidden;
}

.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.4rem, 2.6vh, 2rem);
  /* keep the copy above the sound rings rising from the street */
  position: relative;
  z-index: 1;
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- Opt-in flow (multi-step, breadcrumb technique) ---------- */

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

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


.optin-flow {
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(20, 19, 17, 0.12);
  padding: 1.1rem 1.4rem 0.85rem;
  width: min(100%, 560px);
  margin-top: clamp(0.8rem, 2vh, 1.6rem);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.flow-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: rgba(20, 19, 17, 0.08);
}

.flow-progress-bar {
  height: 5px;
  width: 25%;
  background: var(--acid);
  transition: width 0.3s ease;
}

.flow-step { border: 0; margin: 0; padding: 0.4rem 0 0; }

.flow-step legend {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  padding: 0;
  margin-bottom: 0.65rem;
}

/* JS adds .flow-active — without JS all steps show stacked and the form still posts */
.optin-flow.flow-js .flow-step { display: none; }
.optin-flow.flow-js .flow-step.flow-current { display: block; }

.flow-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.flow-pill { position: relative; cursor: pointer; }

.flow-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.flow-pill span {
  display: inline-block;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.5em 1.05em;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.flow-pill:hover span { transform: translateY(-1px); }

.flow-pill input:checked + span { background: var(--ink); color: var(--bone); }

.flow-pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.flow-contact { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.flow-contact input {
  flex: 1;
  min-width: 130px;
  border: 2.5px solid rgba(20, 19, 17, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.65em 1.1em;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  background: #fff;
  color: var(--ink);
}

.flow-contact input:focus { border-color: var(--ink); }

.flow-submit { white-space: nowrap; }

.flow-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  color: rgba(20, 19, 17, 0.45);
}

.flow-back {
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.flow-count { font-weight: 700; }

.flow-note { margin-left: auto; }

/* on-ink variant (final CTA) */
.optin-ink { margin-inline: auto; border-color: transparent; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35); }

@media (max-width: 767px) {
  .hero-copy { gap: 1.5rem; }
  .hero { padding-top: 7.5rem; }
  .street { margin-top: 2.25rem; }
}

@media (max-width: 480px) {
  .optin-flow { padding: 1rem 1rem 0.8rem; }
  .flow-note { display: none; }
  .flow-submit { width: 100%; }
}


.hero-note {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- The street illustration ---------- */

.street {
  margin-top: clamp(2.5rem, 8vh, 6rem);
  display: flex;
  justify-content: center;
  /* vertical overflow stays visible so the sound rings ripple up behind the hero copy;
     horizontal spill is clipped by the body's overflow-x */
  overflow: visible;
}

.street-svg {
  display: block;
  /* fixed design scale: the street always renders at exactly this size on desktop.
     Narrow windows crop the outer houses evenly; wide screens get bone flanks.
     The ink section below is the ground, so the composition holds at any width. */
  width: 1440px;
  flex-shrink: 0;
  height: auto;
  overflow: visible;
}

/* idle animations — all disabled under prefers-reduced-motion below */

.ring {
  transform-origin: 720px 360px;
  transform-box: view-box;
  opacity: 0;
  animation: ring-pulse 5.2s ease-out infinite;
}

.ring-2 { animation-delay: 1.3s; }
.ring-3 { animation-delay: 2.6s; }
.ring-4 { animation-delay: 3.9s; }

@keyframes ring-pulse {
  0%   { transform: scale(0.5); opacity: 0; }
  10%  { opacity: 0.95; }
  75%  { opacity: 0.25; }
  100% { transform: scale(2.15); opacity: 0; }
}

/* the loud house thumps to the beat — squash & stretch from the ground up */
.loud-house {
  transform-box: view-box;
  transform-origin: 720px 500px;
  animation: house-thump 0.46s ease-in-out infinite;
}

@keyframes house-thump {
  0%, 100% { transform: scale(1, 1); }
  30%      { transform: scale(1.006, 0.992); }
  62%      { transform: scale(0.997, 1.007); }
}

/* speaker cone pumping */
.speaker-cone {
  transform-box: fill-box;
  transform-origin: center;
  animation: speaker-pulse 0.46s ease-in-out infinite;
}

@keyframes speaker-pulse {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.18); }
}

/* equaliser bars dancing in the window */
.eq-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: eq-dance 0.92s ease-in-out infinite;
}

.eq-2 { animation-delay: -0.23s; }
.eq-3 { animation-delay: -0.46s; }
.eq-4 { animation-delay: -0.69s; }

@keyframes eq-dance {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

/* vibration marks rattling off the eaves */
.mark { animation: mark-flash 0.46s ease-in-out infinite; }
.mark-b { animation-delay: -0.23s; }

@keyframes mark-flash {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.2; }
}

.note {
  animation: note-bob 3.2s ease-in-out infinite;
}

.note-2 { animation-delay: 0.7s; animation-duration: 3.8s; }
.note-3 { animation-delay: 1.3s; animation-duration: 3.5s; }
.note-4 { animation-delay: 2s;   animation-duration: 4.1s; }

@keyframes note-bob {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50%      { translate: 0 -14px; rotate: 7deg; }
}

.win-flicker {
  animation: flicker-on 7s step-end infinite;
}

@keyframes flicker-on {
  0%, 8%   { opacity: 0.1; }
  9%, 11%  { opacity: 1; }
  12%, 14% { opacity: 0.2; }
  15%, 18% { opacity: 1; }
  19%      { opacity: 0.4; }
  20%, 100%{ opacity: 1; }
}

.bark {
  animation: bark-flash 1.6s ease-in-out infinite;
}

@keyframes bark-flash {
  0%, 100% { opacity: 0; }
  35%, 65% { opacity: 1; }
}

/* ---------- Problem section ---------- */

.section-ink .h2 { color: var(--bone); }

.section-ink .h2 + .body-lg,
#loop .h2 + .body-lg { margin-top: 1.6rem; }

.acid-underline {
  text-decoration: underline;
  text-decoration-color: var(--acid);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.12em;
}


/* ---------- The Story ---------- */

.tag-bone {
  background: var(--bone);
  color: var(--ink);
}

.story-h2 {
  margin-top: 1.4rem;
  max-width: 16ch;
}

.story-beats {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 62ch;
}

.beat { display: flex; flex-direction: column; gap: 0.35rem; }

.beat-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.45);
}

.beat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1;
  color: var(--bone);
}

.beat-num em {
  font-style: normal;
  font-size: 0.55em;
  color: rgba(245, 242, 236, 0.6);
}


.street-svg { margin-bottom: -1px; }


.lead-field {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 79 / 10;
  margin-top: 0.9rem;
}

.lead-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 242, 236, 0.3) 1.4px, transparent 1.6px);
  background-size: calc(100% / 79) calc(100% / 10);
}

.lead-one {
  position: absolute;
  left: 76%;
  top: 58%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(214, 249, 48, 0.16);
  transform: translate(-50%, -50%);
}

.lead-caption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: rgba(245, 242, 236, 0.55);
}

.lead-key {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  margin-right: 7px;
}

.beat-line-big em { font-style: italic; }

.beat-line-big {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.3;
  color: var(--bone);
  max-width: 44ch;
}

.chapter-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  color: var(--bone);
  max-width: 40ch;
  margin: 0 0 0.85rem;
}

.beat .beat-num { margin-bottom: 0.4rem; display: inline-block; }

.beat-line {
  color: var(--bone-soft);
  font-size: clamp(1.0325rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  max-width: 54ch;
}

.story-quote {
  margin: 2.6rem 0 0;
  background: var(--card-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
}

.story-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--bone);
}

.story-closer {
  margin-top: 2.2rem;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--bone);
}

/* ---------- The Receipts ---------- */

.era-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.era-card {
  background: var(--card-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.era-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.era-sub { color: var(--ink-soft); font-size: 0.98rem; }

.era-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-block: 0.4rem;
}

.phone-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  box-shadow: 0 8px 20px rgba(20, 19, 17, 0.12);
  aspect-ratio: 9 / 16;
  background: var(--ink);
}

.phone-shot img,
.phone-shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.era-stat {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-top: 2px solid rgba(20, 19, 17, 0.08);
  padding-top: 0.9rem;
}

.era-stat strong { color: var(--ink); }

.receipt-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.receipt-tile {
  background: var(--card-light);
  border-radius: var(--radius-md);
  padding: clamp(1.3rem, 2.2vw, 1.8rem);
  box-shadow: var(--shadow-card);
}

.receipt-tile .stat-num { font-size: clamp(2rem, 3.6vw, 2.9rem); }

.receipt-tile p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.4rem; }

.kicker-band {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  margin-block: clamp(3rem, 6vw, 4.5rem);
}

.kicker-line {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.kicker-one { color: var(--acid); }

.kicker-sub {
  margin-top: 1.1rem;
  color: var(--bone-soft);
  max-width: 58ch;
  margin-inline: auto;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

.era-chart {
  background: var(--card-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
  max-width: 860px;
  margin-inline: auto;
}

.chart-rows { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.85rem; }

.chart-row {
  display: grid;
  grid-template-columns: minmax(130px, 240px) 1fr 56px;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.chart-track { background: rgba(20, 19, 17, 0.07); border-radius: var(--radius-pill); height: 22px; }

.chart-bar { height: 22px; border-radius: var(--radius-pill); background: var(--ink); }

.chart-bar-acid { background: var(--acid); }

.chart-bar-grey { background: rgba(20, 19, 17, 0.25); }

.chart-row-muted .chart-label, .chart-row-muted .chart-val { color: rgba(20, 19, 17, 0.45); }

.chart-val { text-align: right; font-weight: 700; }

.chart-caption { margin-top: 1.2rem; font-size: 0.9rem; color: var(--ink-soft); }

.receipts-fineprint {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(20, 19, 17, 0.45);
}

/* ---------- Section heads ---------- */

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 700px;
}

/* ---------- How it works — the production line ---------- */

.tag-ink {
  background: var(--ink);
  color: var(--bone);
}

.section-intro {
  color: var(--ink-soft);
}

.process-rail {
  max-width: 860px;
  display: flex;
  flex-direction: column;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: clamp(1.2rem, 2.5vw, 2rem);
  padding-block: clamp(1.2rem, 2.5vw, 1.8rem);
}

/* the connecting rail */
.process-step::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--ink);
}

.process-step:first-child::before { top: calc(clamp(1.2rem, 2.5vw, 1.8rem) + 24px); }
.process-step:last-child::before  { bottom: calc(100% - clamp(1.2rem, 2.5vw, 1.8rem) - 24px); }

.step-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius-pill);
  position: relative;
  margin-left: 8px;
}

.process-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.35rem;
}

.process-body p {
  color: var(--ink-soft);
  max-width: 58ch;
}

.process-return {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.4rem;
  padding-left: 8px;
}

.process-return svg { flex-shrink: 0; }

.process-return p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.15;
}

/* ---------- Stats bento ---------- */

.bento-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.bento-card {
  background: var(--card-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.7rem;
  min-height: 220px;
}

.bento-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.bento-dark {
  background: var(--ink);
  color: var(--bone);
}

.bento-dark p { color: var(--bone-soft); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.95;
}

.stat-acid { color: var(--acid); }

/* ---------- Personas ---------- */

.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.persona-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.persona-wide > div { max-width: 60ch; }
.persona-wide p { margin-top: 0.4rem; }

.persona-card {
  background: var(--card-dark);
  border-radius: var(--radius-md);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.persona-card p {
  color: var(--bone-soft);
  font-size: 0.98rem;
  flex-grow: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--bone);
  border-bottom: 2px solid rgba(245, 242, 236, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}

.card-link:hover { border-color: var(--bone); }

/* ---------- The Loop — ticker ---------- */

.loop-ticker {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--ink);
  overflow: hidden;
  padding-block: clamp(1.2rem, 2.5vw, 1.7rem);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-roll 28s linear infinite;
}

.ticker-seq {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding-right: clamp(1.4rem, 3vw, 2.4rem);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  color: var(--bone);
  white-space: nowrap;
}

.tick-acid { color: var(--acid); }

.tick-arrow {
  width: clamp(22px, 2.4vw, 30px);
  height: auto;
  flex-shrink: 0;
}

@keyframes ticker-roll {
  to { transform: translateX(-50%); }
}

/* ---------- Manifesto ---------- */

.manifesto .container {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.8rem);
}

.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--bone);
}

.acid-word { color: var(--acid); }

/* ---------- Founding offer ---------- */

.offer-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 4rem);
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.offer-card .h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.1;
}

.offer-standard {
  color: var(--ink-soft);
  font-size: 0.7em;
}

.offer-scarcity {
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq-section .h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--card-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius-sm);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq-icon::before { width: 18px; height: 3px; }
.faq-icon::after  { width: 3px;  height: 18px; }

.faq-item[open] .faq-icon::after { transform: rotate(90deg); }

.faq-body {
  padding: 0 1.6rem 1.4rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ---------- Final CTA ---------- */

.final-cta .container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.cta-h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
  color: var(--bone);
}

.final-cta .body-lg {
  text-align: center;
  max-width: 46ch;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: var(--bone);
  border-top: 1px solid rgba(245, 242, 236, 0.12);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-brand p {
  color: var(--bone-soft);
  font-size: 0.95rem;
  max-width: 34ch;
}

.logo-img-footer { height: 52px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-contact > a {
  font-weight: 600;
  text-decoration: none;
  color: var(--bone);
}

.footer-contact > a:hover { text-decoration: underline; }

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(245, 242, 236, 0.25);
  color: var(--bone);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.social-links a:hover {
  border-color: var(--bone);
  background: rgba(245, 242, 236, 0.06);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--bone-soft);
  font-size: 0.9rem;
}

.footer-tiny { font-size: 0.8rem; opacity: 0.7; }


.receipts-cta {
  text-align: center;
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
}




/* ---------- Ad-fatigue comparison ---------- */

.fatigue-card {
  background: var(--card-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-card);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.fatigue-title { margin-bottom: clamp(1.4rem, 2.5vw, 2rem); }

.fatigue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
}

.fatigue-half {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.fatigue-half + .fatigue-half {
  border-left: 2px solid rgba(20, 19, 17, 0.08);
  padding-left: clamp(1.8rem, 4vw, 3.5rem);
}

.fatigue-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 19, 17, 0.5);
}

.fatigue-big {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.12;
}

.fatigue-num { font-size: 1.6em; }

.fatigue-months {
  display: flex;
  gap: clamp(1rem, 2.2vw, 1.8rem);
  align-items: flex-end;
}

.fatigue-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.month-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(20, 19, 17, 0.4);
}

/* before: the same portrait ad, fading out */
.stale-card {
  width: min(64px, 60%);
  aspect-ratio: 9 / 15;
  border-radius: 10px;
  background: var(--ink);
}

.stale-2 { opacity: 0.38; }
.stale-3 { opacity: 0.13; }

/* now: 30 uniform portrait minis per month, winners in acid */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  width: 100%;
  max-width: 148px;
}

.mini {
  display: block;
  aspect-ratio: 9 / 15;
  border-radius: 3px;
  background: var(--ink);
}

.mini-acid { background: var(--acid); }

.fatigue-outcome {
  font-size: 0.93rem;
  color: var(--ink-soft);
  max-width: 44ch;
}

@media (max-width: 860px) {
  .fatigue-grid { grid-template-columns: 1fr; }
  .fatigue-half + .fatigue-half { border-left: 0; padding-left: 0; border-top: 2px solid rgba(20, 19, 17, 0.08); padding-top: 1.6rem; }
}


/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .era-grid { grid-template-columns: 1fr; }
  .receipt-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .nav-links { display: none; }

  .nav-pill { padding-left: 1.1rem; }

  .logo-img { height: 36px; }

  .steps-grid,
  .bento-grid,
  .persona-grid,
  .receipt-tiles { grid-template-columns: 1fr; }

  .chart-row { grid-template-columns: 110px 1fr 48px; font-size: 0.8rem; }

  .bento-card { min-height: 170px; }

  .footer-grid { grid-template-columns: 1fr; }

  .street-svg { width: 980px; }

  section[id] { scroll-margin-top: 90px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ring { animation: none; opacity: 0.35; }
  .note, .win-flicker, .bark { animation: none; }
  .bark { opacity: 1; }
  .loud-house, .speaker-cone, .eq-bar, .mark { animation: none; }
  .loop-rotor, .ticker-track { animation: none; }

  .btn, .btn:hover { transform: none; transition: none; }
}

.footer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-link:hover { color: var(--acid); }

/* v18: audit-fuel step */
.flow-contact--stack { flex-direction: column; align-items: stretch; }
.flow-contact--stack .flow-next { align-self: flex-end; }
.flow-miss { border-color: #C74A2E !important; }


/* ---------- v20: the crossed-out to-do list ---------- */
.todo-card {
  background: var(--card-light);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pill);
  padding: 1.4rem 1.6rem 1.2rem;
  max-width: 430px;
  margin: 0 0 1.6rem;
  transform: rotate(-1.2deg);
}
.todo-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.7rem;
}
.todo-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.55rem; }
.todo-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(20, 19, 17, 0.5);
}
.todo-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.18rem;
  width: 1.05rem; height: 1.05rem;
  border: 2px solid var(--ink); border-radius: 5px;
  background: var(--acid);
}
.todo-list li::after {
  content: ""; position: absolute; left: 0.24rem; top: 0.38rem;
  width: 0.55rem; height: 0.32rem;
  border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(-45deg);
}
.todo-punch { font-weight: 700; font-size: 1.06rem; margin: 0; }
.todo-punch span { background: var(--acid); padding: 0.05em 0.35em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- v20: input → output ---------- */
.inout {
  display: flex; align-items: stretch; gap: clamp(0.8rem, 3vw, 1.6rem);
  margin: 0 0 2.6rem; flex-wrap: wrap;
}
.inout-in, .inout-out {
  background: var(--card-light);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.inout-in { flex: 0 1 240px; }
.inout-out { flex: 1 1 320px; background: var(--ink); color: var(--bone); }
.inout-label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-bottom: 0.35rem;
}
.inout-in strong, .inout-out strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.25; }
.inout-out strong { color: var(--acid); }
.inout-arrow { width: clamp(44px, 6vw, 64px); color: var(--ink); align-self: center; flex: 0 0 auto; }
@media (max-width: 640px) {
  .inout { flex-direction: column; }
  .inout-arrow { transform: rotate(90deg); margin: -0.4rem auto; }
  .todo-card { max-width: 100%; }
}

/* ---------- v20: offer add-ons ---------- */
.offer-addons { font-size: 0.95rem; color: var(--ink-soft); margin: 0.5rem 0 1.2rem; }


/* v21: checklist lives below the fold, inside #how */
.todo-card--how {
  margin: 0 0 2.4rem;
  max-width: 520px;
  padding: 1.6rem 1.8rem 1.4rem;
  transform: rotate(-0.8deg);
}
.todo-card--how .todo-title { font-size: 1.15rem; }
.todo-card--how .todo-punch { font-size: 1.15rem; }


/* ---------- v22: before/after composition in #how ---------- */
.how-swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
  margin: 0 0 clamp(2.6rem, 6vw, 4rem);
}
.swap-col { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.swap-kicker {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--card-light);
}
.swap-kicker--acid { background: var(--acid); }
.how-swap .todo-card--how { margin: 0; max-width: none; transform: rotate(-0.6deg); }
.inout--stack { flex-direction: column; align-items: stretch; gap: 0.4rem; margin: 0; }
.inout--stack .inout-in, .inout--stack .inout-out { flex: none; }
.inout--stack .inout-arrow { transform: rotate(90deg); margin: 0 auto; width: 40px; }
@media (max-width: 840px) {
  .how-swap { grid-template-columns: 1fr; }
}


/* ---------- v24: who section on its own tone ---------- */
.section-bonedeep { background: var(--bone-deep); color: var(--ink); }
.section-bonedeep .h2 { color: var(--ink); }
.section-bonedeep .persona-card {
  background: var(--card-light);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.section-bonedeep .persona-card p { color: var(--ink-soft); }
.section-bonedeep .card-link { color: var(--ink); }

/* v24: the 790 punch line */
.beat-punch { font-size: 1.1rem; }
.beat-punch strong { background: var(--acid); color: var(--ink); padding: 0.05em 0.3em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }


/* ---------- v25: centered text discipline ---------- */
.kicker-line { text-wrap: balance; }
.kicker-sub {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.story-closer, .offer-scarcity, .offer-addons, .lead-caption { text-wrap: balance; }
.manifesto-line { text-wrap: balance; }
