/* =====================================================================
   VOICEFOLK — site.css
   Layout: editorial paper zine — asymmetric two-column hero, film prints
   pinned over hand-drawn spots, one dark ink band.
   Single deliberate light theme (paper brand).
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  --paper: #F5EFE4;
  --paper-2: #EDE3D2;
  --card: #FBF8F2;
  --ink: #1B1A17;
  --ink-2: #4A463F;
  --line: #D9CDB8;
  --tomato: #E0523A;
  --tomato-ink: #B33A25;   /* tomato for text/links on paper (5.2:1) */
  --btn: #C9432C;          /* button bg, white text 4.9:1 */
  --mustard: #E7B23C;
  --peach: #F4DCCD;
  --slate: #4F6D7A;

  /* derived washes + fixed colours */
  --mustard-wash: #F6E4B9;
  --print: #FFFCF6;        /* warm white film-print border */
  --white: #FFFFFF;
  --tape: rgb(231 178 60 / .55);
  --shadow-rgb: 27 26 23;

  --display: "Familjen Grotesk", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Verdana", system-ui, sans-serif;
  --hand: "Nanum Pen Script", "Bradley Hand", "Segoe Print", cursive;

  --fvs-display: normal;
  --fvs-sub: normal;

  --fs-h1: clamp(2.9rem, 7vw, 6.2rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 3.6rem);
  --fs-h3: 1.35rem;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-hand: clamp(1.35rem, 1.1rem + .7vw, 1.65rem);

  --gutter-l: max(16px, min(4vw, 40px), env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, min(4vw, 40px), env(safe-area-inset-right, 0px));
  --band-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --radius: 22px;
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html:has(#m-menu[open]) { overflow: hidden; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* safe-area band above the sticky header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

/* paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: var(--fvs-display);
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
  color: var(--ink);
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 700; }

a { color: var(--tomato-ink); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2.5px; }

:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mustard); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.2em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: .75em 1.1em; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
@supports not (padding: max(1px, min(1px, 2px))) {
  .wrap { padding-left: 16px; padding-right: 16px; }
}
.band { padding-block: var(--band-y); background: var(--paper); position: relative; overflow-x: clip; }
.band--peach { background: var(--peach); }
.band--paper-2 { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink :is(h2, h3) { color: var(--paper); }

/* ---------- 4. Type helpers ---------- */
.kicker {
  font-family: var(--hand);
  font-weight: 600;
  font-size: var(--fs-hand);
  line-height: 1.1;
  color: var(--tomato-ink);
  display: inline-flex;
  align-items: center;
  gap: .3em;
}
.kicker .icon { width: .85em; height: .85em; color: var(--tomato); }

.label {
  font-family: var(--body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-variation-settings: var(--fvs-sub); line-height: 1.2; letter-spacing: -.005em; }

.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 38rem; }
.small-print { font-size: .875rem; color: var(--ink-2); }

.sec-head { display: grid; gap: .9rem; max-width: 44rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.sec-head > p:not(.kicker) { color: var(--ink-2); max-width: 60ch; }

.hand-link {
  font-family: var(--hand);
  font-weight: 600;
  font-size: var(--fs-hand);
  line-height: 1.2;
  color: var(--tomato-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 44px;
}
.hand-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.hand-link .icon { width: .9em; height: .9em; transition: transform .2s var(--ease); }
.hand-link:hover .icon { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px;
  font-weight: 600; color: var(--tomato-ink);
}
.text-link .icon { width: 1.05em; height: 1.05em; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-shadow: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: .9em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary {
  background: var(--btn);
  color: var(--white);
  box-shadow: var(--btn-shadow) var(--btn-shadow) 0 var(--ink);
}
.btn--primary:hover { transform: translate(-1px, -1px); --btn-shadow: 4px; text-decoration: none; }
.btn--primary:active { transform: translate(2px, 2px); --btn-shadow: 1px; }
.btn--secondary { background: transparent; color: var(--ink); }
.btn--secondary:hover { background: var(--paper-2); text-decoration: none; }
.btn--paper { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--paper:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.btn--sm { padding: .6em 1.05em; font-size: .9375rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem 1rem; align-items: center; }

/* ---------- 6. Film prints + doodles ---------- */
.print {
  --rot: -1.5deg;
  position: relative;
  transform: rotate(var(--rot));
  display: grid;
  gap: .35rem;
}
.print__photo {
  --print-pad: clamp(6px, .9vw, 10px);
  position: relative;
  background: var(--print);
  padding: var(--print-pad);
  border-radius: 3px;
  box-shadow:
    0 1px 1px rgb(var(--shadow-rgb) / .12),
    0 14px 30px -14px rgb(var(--shadow-rgb) / .45);
}
.print__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--paper-2);
  border-radius: 1px;
  filter: saturate(.92) contrast(1.02);
}
/* film grain + warm vignette over the photo only (not the white border) */
.print__photo::after {
  content: "";
  position: absolute;
  inset: var(--print-pad);
  z-index: 1;
  pointer-events: none;
  border-radius: 1px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.35'/%3E%3C/svg%3E") 0 0 / 180px 180px,
    radial-gradient(ellipse 75% 70% at 50% 48%, transparent 55%, rgb(40 25 10 / .2) 100%);
  mix-blend-mode: overlay;
}
.print__photo--tape::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -13px;
  left: 50%;
  width: clamp(70px, 26%, 110px);
  height: 26px;
  translate: -50% 0;
  rotate: -4deg;
  background: var(--tape);
  clip-path: polygon(2% 8%, 98% 0, 100% 34%, 97% 60%, 100% 100%, 3% 94%, 0 62%, 3% 30%);
  mix-blend-mode: multiply;
}
.print__cap {
  font-family: var(--hand);
  font-weight: 600;
  font-size: var(--fs-hand);
  line-height: 1.1;
  color: var(--ink-2);
  padding-inline: .3rem;
  rotate: -1.5deg;
}

.tilt-l { --rot: -2deg; }
.tilt-r { --rot: 2deg; }
.tilt-s { --rot: -.8deg; }

.illus { mix-blend-mode: multiply; }

.doodle { color: var(--tomato); pointer-events: none; }

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgb(245 239 228 / .88);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.logo__badge {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--tomato);
  color: var(--ink);
  border-radius: 10px;
  rotate: -4deg;
}
.logo__badge svg { width: 24px; height: 24px; }
.logo__word {
  font-family: var(--display);
  font-variation-settings: "opsz" 32;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}
.logo:hover .logo__badge { rotate: 4deg; transition: rotate .25s var(--ease); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(.25rem, 1vw, .9rem); list-style: none; padding: 0; margin: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: .5rem;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .975rem;
  background: linear-gradient(var(--mustard), var(--mustard)) no-repeat left 72% / 0 .32em;
  transition: background-size .25s var(--ease);
}
.site-nav a:hover { background-size: 100% .32em; }

.site-header__actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.menu-btn .icon { width: 22px; height: 22px; }

@media (max-width: 899.98px) {
  .site-nav, .site-header__voice { display: none; }
  .site-header__actions { margin-left: auto; }
  .menu-btn { display: grid; }
  :root { --header-h: 64px; }
}
@media (max-width: 520px) {
  .site-header__inner { gap: .6rem; }
  .site-header__actions { gap: .4rem; }
  .logo { gap: .45rem; }
  .logo__word { font-size: 1.1rem; letter-spacing: .02em; }
  .logo__badge { width: 28px; height: 28px; border-radius: 8px; }
  .logo__badge svg { width: 20px; height: 20px; }
  .site-header__actions .btn--primary { padding: .55em .8em; font-size: .85rem; --btn-shadow: 2px; }
}
@media (max-width: 370px) {
  .logo__word { font-size: .98rem; }
}

/* ---------- 8. Hero (full-bleed film photo + text overlay) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(78vh, 680px);
  padding-block: clamp(3.5rem, 3rem + 4vw, 6rem);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  filter: saturate(.9) contrast(1.04);
}
/* scrim + film grain + warm vignette */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(27 26 23 / .86) 0%, rgb(27 26 23 / .72) 34%, rgb(27 26 23 / .25) 62%, rgb(27 26 23 / 0) 80%),
    radial-gradient(ellipse 80% 75% at 60% 45%, transparent 55%, rgb(40 25 10 / .35) 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.45'/%3E%3C/svg%3E") 0 0 / 200px 200px;
}
.hero__inner { position: relative; }
.hero__copy { display: grid; gap: 1.25rem; justify-items: start; max-width: 40rem; }
.hero__title {
  font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--paper);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgb(27 26 23 / .35);
}
.hero__title em { font-weight: 700; }
.hero__sub { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: rgb(245 239 228 / .9); max-width: 34rem; }
.hero .btn-row { margin-top: .4rem; }
.hero .small-print { color: rgb(245 239 228 / .75); margin-top: -.3rem; }
.kicker--on-dark { color: var(--mustard); }
.kicker--on-dark .icon { color: var(--mustard); }
.hero__cap {
  position: absolute;
  right: var(--gutter-r);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  font-family: var(--hand); font-weight: 600; font-size: var(--fs-hand);
  color: rgb(245 239 228 / .85);
  rotate: -3deg;
}

/* hand-drawn underline under "Not" */
.scribble-word { position: relative; display: inline-block; }
.scribble {
  position: absolute;
  left: -6%;
  bottom: -.1em;
  width: 112%;
  height: .2em;
  color: var(--tomato);
  overflow: visible;
}
.scribble path { stroke-width: 3.4; }

@media (max-width: 759.98px) {
  .hero { min-height: 0; align-items: end; padding-block: clamp(250px, 62vw, 330px) 2.5rem; }
  .hero__media { inset: 0 0 auto 0; height: clamp(300px, 78vw, 400px); }
  .hero__media img { object-position: 72% 38%; }
  .hero::before {
    background: linear-gradient(180deg, rgb(27 26 23 / 0) 0, rgb(27 26 23 / .1) clamp(140px, 36vw, 190px), var(--ink) clamp(300px, 78vw, 400px));
  }
  .hero__cap { top: 1rem; bottom: auto; }
}

/* ---------- 9. Ticker ---------- */
.ticker {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(.9rem, 1.6vw, 1.25rem);
}
.ticker__track { display: flex; width: max-content; }
.ticker__line {
  display: flex;
  align-items: center;
  flex: none;
  gap: .75em;
  padding-right: .75em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  font-size: clamp(1.3rem, 1rem + 1.1vw, 1.6rem);
  line-height: 1.2;
  white-space: nowrap;
}
.ticker__line .icon { width: .72em; height: .72em; color: var(--mustard); }
.ticker__toggle {
  position: absolute;
  top: 50%;
  right: max(8px, env(safe-area-inset-right, 0px));
  translate: 0 -50%;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1.5px solid rgb(245 239 228 / .45);
  background: var(--ink);
  color: var(--paper);
  box-shadow: -18px 0 18px 4px var(--ink);
}
.ticker__toggle svg { width: 18px; height: 18px; }
.ticker__toggle .ticker__play { display: none; }
.ticker__toggle[aria-pressed="true"] .ticker__play { display: block; }
.ticker__toggle[aria-pressed="true"] .ticker__pause { display: none; }
.ticker__toggle:hover { border-color: var(--paper); }

@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: vf-marquee 42s linear infinite; }
  .ticker:hover .ticker__track,
  .ticker:focus-within .ticker__track,
  .ticker.is-paused .ticker__track { animation-play-state: paused; }
}
@keyframes vf-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { width: auto; justify-content: center; }
  .ticker__line { white-space: normal; flex-wrap: wrap; justify-content: center; padding-inline: 16px; row-gap: .2em; }
  .ticker__line[aria-hidden="true"], .ticker__toggle { display: none; }
}

/* ---------- 10. How it works ---------- */
.kicker--underline { position: relative; padding-bottom: .35em; justify-self: start; }
.kicker--underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -4%; bottom: 0;
  height: .32em;
  background: var(--mustard);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C40 16 80 4 120 12 C150 18 175 6 196 10' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C40 16 80 4 120 12 C150 18 175 6 196 10' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.how__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.how__head .sec-head { margin-bottom: 0; }

.tabs {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
}
.tabs[hidden] { display: none; }
.tabs__tab {
  min-height: 44px;
  padding: .5em 1.25em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color .2s, color .2s;
}
.tabs__tab:hover { background: var(--paper-2); }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }

.tabpanel { display: grid; gap: 1rem; border-radius: var(--radius); }
.tabpanel + .tabpanel { margin-top: 2.5rem; }
.tabpanel__title { font-family: var(--hand); font-size: var(--fs-hand); font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.how.is-tabbed .tabpanel + .tabpanel { margin-top: 0; }
.how.is-tabbed .tabpanel__title {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .how.is-tabbed .tabpanel:not([hidden]) .step { animation: vf-rise .45s var(--ease) both; }
  .how.is-tabbed .tabpanel:not([hidden]) .step:nth-child(2) { animation-delay: .06s; }
  .how.is-tabbed .tabpanel:not([hidden]) .step:nth-child(3) { animation-delay: .12s; }
}
@keyframes vf-rise { from { transform: translateY(10px); } to { transform: none; } }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
.step {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background: var(--card);
}
.step--peach { background: var(--peach); }
.step--mustard { background: var(--mustard-wash); }
.step__art {
  height: clamp(150px, 15vw, 190px);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.step__art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.step__body { display: grid; gap: .5rem; align-content: start; }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-variation-settings: "opsz" 24;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  rotate: -6deg;
}
.step__title {
  font-size: var(--fs-h3);
  font-variation-settings: var(--fvs-sub);
  line-height: 1.2;
  letter-spacing: -.005em;
}
.step p { color: var(--ink-2); }

.how__note { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

@media (max-width: 759.98px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); grid-template-rows: auto; gap: 1rem; align-items: center; }
  .step__art { height: 130px; margin-bottom: 0; }
}
@media (max-width: 420px) {
  .step { grid-template-columns: minmax(0, 1fr); }
  .step__art { height: 140px; }
}


/* ---------- 11. Brief tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.25rem);
}
.tile { position: relative; display: grid; gap: .45rem; align-content: start; padding: 1.4rem 1.3rem 1.5rem; }
.tile__icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: url("../ui/circle-mustard.svg") center / 100% 100% no-repeat;
  color: var(--ink); margin-bottom: .35rem; rotate: -4deg;
}
.tile__icon .icon { width: 26px; height: 26px; }
.tile__title { font-size: 1.2rem; font-variation-settings: var(--fvs-sub); line-height: 1.2; }
.tile p { color: var(--ink-2); font-size: .975rem; line-height: 1.5; }
@media (max-width: 1023.98px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .tiles { gap: .7rem; } .tile { padding: 1.1rem .95rem 1.2rem; } .tile__title { font-size: 1.05rem; } .tile p { font-size: .9rem; } }
@media (max-width: 339.98px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 12. Example briefs ---------- */
.examples { margin-top: clamp(3rem, 6vw, 4.5rem); }
.examples__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1.5rem; }
.examples__head .h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.examples__note { font-family: var(--hand); font-weight: 600; font-size: var(--fs-hand); color: var(--tomato-ink); rotate: -2deg; }
.briefcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }
.briefcard { position: relative; display: grid; gap: 1rem; align-content: start; padding: 1.5rem 1.4rem 1.25rem; }
.briefcard__top { display: flex; align-items: center; gap: .9rem; padding-right: 4.5rem; }
.briefcard__avatar { width: 72px; height: auto; flex: none; }
.briefcard__title { font-size: 1.3rem; font-variation-settings: var(--fvs-sub); line-height: 1.15; }
.briefcard__dl { display: grid; gap: .55rem; margin: 0; }
.briefcard__dl div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .75rem; }
.briefcard__dl dt { font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding-top: .2em; }
.briefcard__dl dd { margin: 0; font-size: .975rem; line-height: 1.45; }
.stamp {
  position: absolute; top: 1.1rem; right: 1rem; z-index: 2;
  font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--tomato-ink); padding: .5em .7em; border: 2px solid var(--tomato);
  border-radius: 6px; rotate: 8deg; opacity: .9;
  box-shadow: inset 0 0 0 1px rgb(224 82 58 / .25);
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.tags li {
  font-size: .85rem; font-weight: 500; line-height: 1; padding: .55em .9em;
  border: 1px solid transparent;
  border-image: url("../ui/frame-pill.svg") 30 / 15px stretch;
}
@media (max-width: 959.98px) { .briefcards { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
@media (max-width: 400px) { .briefcard__dl div { grid-template-columns: minmax(0, 1fr); gap: .1rem; } }

/* ---------- 13. Photo strip ---------- */
.strip__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.strip__head { margin-bottom: 0; }
.strip__rail { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); align-items: start; }
.strip__rail li:nth-child(2) { margin-top: 2.5rem; }
.strip__rail li:nth-child(3) { margin-top: .75rem; }
@media (max-width: 899.98px) {
  .strip__grid { grid-template-columns: minmax(0, 1fr); }
  .strip__rail {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.25rem;
    padding: 1.25rem 4px 1.5rem; margin-inline: calc(var(--gutter-l) * -1) calc(var(--gutter-r) * -1);
    padding-inline: var(--gutter-l) var(--gutter-r); scrollbar-width: thin;
  }
  .strip__rail li { flex: 0 0 min(78vw, 340px); scroll-snap-align: center; margin-top: 0 !important; }
}

/* photo placeholders (swap for <img> when the photo exists) */
.print__ph {
  aspect-ratio: 3 / 2; width: 100%;
  display: grid; place-content: center; justify-items: center; gap: .4rem;
  color: var(--ink-2);
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgb(27 26 23 / .06) 11px 12px),
    var(--paper-2);
  font-family: var(--hand); font-weight: 600; font-size: 1.3rem;
}
.print__ph .icon { width: 30px; height: 30px; opacity: .7; }

/* ---------- 14. Rules (ink band) ---------- */
.rules { position: relative; margin-block: 28px; }
.rules::before, .rules::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; pointer-events: none;
  background: center / 100% 100% no-repeat;
}
.rules::before { top: -27px; background-image: url("../ui/edge-ink-top.svg"); }
.rules::after { bottom: -27px; background-image: url("../ui/edge-ink-bottom.svg"); }
.rules__spark { position: absolute; color: var(--mustard); width: 46px; height: 46px; }
.rules__spark--a { top: 2.5rem; right: 8%; rotate: 14deg; }
.rules__spark--b { bottom: 3rem; left: 5%; width: 30px; height: 30px; color: var(--paper); opacity: .8; }
.rules__head { text-align: left; }
.rules__head .h2 { color: var(--paper); }
.rules__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.rules__label { font-family: var(--hand); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); color: var(--mustard); margin-bottom: 1rem; letter-spacing: 0; }
.rules__list { list-style: none; counter-reset: r; padding: 0; margin: 0; display: grid; gap: 1.05rem; }
.rules__list li {
  counter-increment: r; position: relative; padding-left: 3rem; color: rgb(245 239 228 / .82); line-height: 1.55;
}
.rules__list li::before {
  content: counter(r); position: absolute; left: 0; top: -.1rem;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  font: 700 1rem/1 var(--display); color: var(--ink);
  background: url("../ui/circle-mustard.svg") center / 100% 100% no-repeat;
}
.rules__list strong { color: var(--paper); font-weight: 600; }
.rules__foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem;
  border-top: 1px dashed rgb(245 239 228 / .3);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
}
.rules__foot p { color: rgb(245 239 228 / .82); max-width: 52ch; }
.rules__foot a:not(.btn) { color: var(--mustard); }
@media (max-width: 759.98px) { .rules__cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 15. Deal checklist teaser ---------- */
.deal__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.deal__art { position: relative; aspect-ratio: 1.15; }
.deal__hand { position: absolute; left: 0; top: 8%; width: 82%; }
.deal__doc { position: absolute; right: 2%; bottom: 0; width: 40%; rotate: 6deg; }
.chips { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; font-size: .95rem;
  padding: .55em 1em .55em .75em; border: 1px solid transparent;
  border-image: url("../ui/frame-pill-card.svg") 30 fill / 17px stretch;
}
.chips .icon { width: 1.05em; height: 1.05em; color: var(--tomato-ink); }
.deal .btn-row .small-print { margin: 0; }
@media (max-width: 859.98px) {
  .deal__grid { grid-template-columns: minmax(0, 1fr); }
  .deal__art { max-width: 420px; width: 100%; justify-self: center; }
}

/* ---------- 16. For voices / for brands ---------- */
.sides__stack { display: grid; gap: clamp(4rem, 8vw, 6.5rem); }
.side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.side--flip .side__print { order: 2; }
.side__print { max-width: 540px; width: 100%; justify-self: center; }
.side__copy { display: grid; gap: 1.1rem; justify-items: start; }
.side__copy .small-print { margin-top: -.35rem; }
.ticks { list-style: none; padding: 0; margin: .2rem 0 .6rem; display: grid; gap: .55rem; }
.ticks li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; }
.ticks .icon { color: var(--tomato-ink); margin-top: .2em; }
@media (max-width: 859.98px) {
  .side { grid-template-columns: minmax(0, 1fr); }
  .side--flip .side__print { order: 0; }
}

/* ---------- 17. Pricing ---------- */
.pricing__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pricing__grid .sec-head { margin-bottom: 0; }
.pricecards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.pricecard { position: relative; display: grid; gap: .75rem; justify-items: start; padding: 1.6rem 1.4rem; }
.pricecard__state { font: 700 1.45rem/1.15 var(--display); font-variation-settings: var(--fvs-sub); }
@media (max-width: 859.98px) { .pricing__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479.98px) { .pricecards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 18. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 1.5rem); margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.filter {
  min-height: 44px; padding: .5em 1.15em; font-weight: 600; background: none; color: var(--ink);
  border: 1px solid transparent; border-image: url("../ui/frame-pill.svg") 30 / 20px stretch;
}
.filter[aria-pressed="true"] { color: var(--paper); border-image: url("../ui/frame-pill-ink.svg") 30 fill / 20px stretch; }
.faq__list { display: grid; gap: .8rem; }
.faq__list details { position: relative; padding: .35rem 1.25rem; border: 1px solid transparent; border-image: url("../ui/frame-card-paper.svg") 30 fill / 24px stretch; }
.faq__list summary {
  list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font: 600 1.075rem/1.35 var(--body); padding-block: .6rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 34px; height: 34px;
  background: url("../ui/circle-mustard.svg") center / 100% 100% no-repeat,
              var(--ink);
  -webkit-mask: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6.5 L11.7 17.5 M6.5 12 L17.5 11.7' fill='none' stroke='%231B1A17' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat,
              url("../ui/circle-mustard.svg") center / 100% 100% no-repeat;
  transition: rotate .25s var(--ease);
}
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__a { padding: 0 0 1.1rem; color: var(--ink-2); max-width: 62ch; }
.faq__list details[hidden] { display: none; }
@media (max-width: 859.98px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
}

/* ---------- 19. Final CTA ---------- */
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: stretch; }
.cta__illus { align-self: center; }
.ctacard { position: relative; display: grid; gap: .8rem; justify-items: start; align-content: start; padding: clamp(1.75rem, 3vw, 2.5rem); }
.ctacard__title { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); }
.ctacard p:not(.kicker) { color: var(--ink-2); }
.ctacard .btn { margin-top: .4rem; }
.cta__illus { width: 100%; }
@media (max-width: 899.98px) {
  .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .cta__illus { order: -1; max-width: 360px; justify-self: center; }
}

/* ---------- 20. Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgb(245 239 228 / .8); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; margin-top: 28px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px; background: url("../ui/edge-ink-top.svg") center / 100% 100% no-repeat; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem 4rem; }
.site-footer__brand { display: grid; gap: 1rem; max-width: 26rem; }
.logo--on-dark { color: var(--paper); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 2rem 4rem; }
.site-footer__label { font: 600 1.4rem/1 var(--hand); color: var(--mustard); margin-bottom: .75rem; letter-spacing: 0; }
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.site-footer__nav a, .site-footer__bottom a { color: var(--paper); text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.site-footer__nav a:hover, .site-footer__bottom a:hover { text-decoration: underline; color: var(--mustard); }
.site-footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px dashed rgb(245 239 228 / .25); display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; font-size: .9rem; }
.site-footer__fine { flex-basis: 100%; color: rgb(245 239 228 / .6); font-size: .85rem; }

/* =====================================================================
   21. HAND-MADE LAYER — background images + 9-slice border-images
   (SVG frames are vector; washes are rendered at 2x, so both stay sharp on retina)
   ===================================================================== */
.hm-frame { position: relative; }
.hm-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border: 1px solid transparent;
  border-image: url("../ui/frame-card.svg") 30 / 26px stretch;
}
.hm-wash-peach { background: url("../ui/wash-peach.webp") center / calc(100% - 14px) calc(100% - 14px) no-repeat, var(--paper); }
.hm-wash-mustard { background: url("../ui/wash-mustard.webp") center / calc(100% - 14px) calc(100% - 14px) no-repeat, var(--paper); }
.hm-wash-cream { background: url("../ui/wash-cream.webp") center / calc(100% - 14px) calc(100% - 14px) no-repeat, var(--paper); }
.hm-wash-tomato  { background: url("../ui/wash-tomato.webp") center / 100% 100% no-repeat; }
.hm-wash-slate { background: url("../ui/wash-slate.webp") center / calc(100% - 14px) calc(100% - 14px) no-repeat, var(--paper); }
.hm-paper { position: relative; isolation: isolate; }
.hm-paper::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 1px solid transparent;
  border-image: url("../ui/frame-card-paper.svg") 30 fill / 26px stretch;
}

/* steps + tiles + cards adopt the hand-made look */
.step { border: 0; background: none; }
.step::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border: 1px solid transparent; border-image: url("../ui/frame-card.svg") 30 / 26px stretch;
}
.step--peach { background: url("../ui/wash-peach.webp") center / calc(100% - 14px) calc(100% - 14px) no-repeat, var(--paper); }
.step--card { background: url("../ui/wash-cream.webp") center / calc(100% - 14px) calc(100% - 14px) no-repeat, var(--paper); }
.step--mustard { background: url("../ui/wash-mustard.webp") center / calc(100% - 14px) calc(100% - 14px) no-repeat, var(--paper); }
.step__num { background: url("../ui/circle-ink.svg") center / 100% 100% no-repeat; border-radius: 0; }

/* buttons: hand-drawn pills */
.btn { border: 2px solid transparent; }
.btn--primary {
  background: none; color: var(--white);
  border-image: url("../ui/frame-pill-tomato.svg") 30 fill / 22px stretch;
  box-shadow: none;
  filter: drop-shadow(3px 3px 0 var(--ink));
}
.btn--primary:hover { filter: drop-shadow(4px 4px 0 var(--ink)); }
.btn--primary:active { filter: drop-shadow(1px 1px 0 var(--ink)); }
.btn--secondary { background: none; border-image: url("../ui/frame-pill.svg") 30 / 22px stretch; }
.btn--secondary:hover { background: none; border-image: url("../ui/frame-pill-card.svg") 30 fill / 22px stretch; }
.btn--paper { background: none; border-image: url("../ui/frame-pill-paper.svg") 30 / 22px stretch; }
.btn--paper:hover { background: none; color: var(--ink); border-image: url("../ui/frame-pill-card.svg") 30 fill / 22px stretch; }
.btn--sm { border-image-width: 18px; }
.menu-btn { border: 2px solid transparent; border-image: url("../ui/frame-pill.svg") 30 / 20px stretch; border-radius: 0; }
.tabs { border: 2px solid transparent; border-image: url("../ui/frame-pill-card.svg") 30 fill / 24px stretch; background: none; border-radius: 0; }
.tabs__tab[aria-selected="true"] { background: url("../ui/frame-pill-ink.svg") center / 100% 100% no-repeat; }

/* little doodles from the sprite */
.sec-head .h2 { position: relative; }
.doodle-star::after {
  content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .25em; vertical-align: .6em; rotate: 12deg;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 4 C22 15 25 18 36 20 C25 22 22 25 20 36 C18 25 15 22 4 20 C15 18 18 15 20 4 Z' fill='none' stroke='%23E7B23C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.doodle-arrow { display: inline-block; width: 46px; height: 46px; background: url("../ui/doodles.svg#arrow") center / contain no-repeat; }

/* wavy band edges (vector, retina-safe) */
.band--paper-2, .band--peach { margin-block: 22px; }
.band--paper-2::before, .band--paper-2::after, .band--peach::before, .band--peach::after {
  content: ""; position: absolute; left: 0; right: 0; height: 24px; pointer-events: none; background: center / 100% 100% no-repeat;
}
.band--paper-2::before { top: -23px; background-image: url("../ui/edge-paper2-top.svg"); }
.band--paper-2::after { bottom: -23px; background-image: url("../ui/edge-paper2-bottom.svg"); }
.band--peach::before { top: -23px; background-image: url("../ui/edge-peach-top.svg"); }
.band--peach::after { bottom: -23px; background-image: url("../ui/edge-peach-bottom.svg"); }
.band { overflow: visible; }
body { overflow-x: clip; }

/* ==== @end-components ==== */

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .scribble path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: vf-draw .9s .35s var(--ease) forwards;
  }
}
@keyframes vf-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================================
   22. DE-TEMPLATING PASS (anti "AI landing page" tells)
   - no badge above the H1, no italic accent word, no sparkles
   - no marquee, no icon-on-top feature cards, no numbered step badges
   - no all-caps labels, no pricing cards with nothing in them
   ===================================================================== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.005em; }
.hero__title { font-weight: 700; letter-spacing: -.01em; font-size: clamp(2.75rem, 1.55rem + 4.7vw, 5.5rem); line-height: 1; }
.hero__copy { gap: 1.35rem; }
.hero__alt {
  color: var(--paper); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: .22em; display: inline-flex; align-items: center; min-height: 44px; padding-inline: .25rem;
}
.hero__alt:hover { color: var(--mustard); text-decoration-thickness: 2.5px; }
.hero__note { font-size: .9rem; color: rgb(245 239 228 / .72); max-width: 34rem; margin-top: -.2rem; }
.site-header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }


/* section heads without a handwritten eyebrow on every one */
.sec-head > .h2:first-child { margin-top: 0; }
.h2 { letter-spacing: -.012em; }

/* steps: no numbered badges; hand-placed cards joined by drawn arrows */
.step__num { display: none; }
.steps > li:nth-child(1) { rotate: -.6deg; }
.steps > li:nth-child(2) { rotate: .5deg; margin-top: .75rem; }
.steps > li:nth-child(3) { rotate: -.3deg; }
@media (min-width: 760px) {
  .steps > li + li::before {
    content: ""; position: absolute; z-index: 2; left: calc(-1 * clamp(1rem, 2.4vw, 1.75rem) - 14px); top: 34%;
    width: 46px; height: 34px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 34'%3E%3Cpath d='M3 22 C12 10 24 8 38 14 M30 6 C34 10 37 12 40 14 C36 17 33 21 31 26' fill='none' stroke='%231B1A17' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* "sort of jobs": a ruled two-column list, not a grid of icon cards */
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4.5rem); }
.tiles .tile { padding: 1.05rem 0 1.1rem; border-bottom: 1.5px dashed var(--line); display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .25rem 1.25rem; align-items: baseline; }
.tiles .tile::before { display: none; }
.tiles .tile__icon { display: none; }
.tiles .tile__title { font-size: 1.15rem; line-height: 1.25; }
.tiles .tile p { font-size: 1rem; }
@media (max-width: 639.98px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tiles .tile { grid-template-columns: minmax(0, 1fr); padding-block: .9rem; }
}

/* example briefs: sentence-case labels */
.briefcard__dl dt { text-transform: none; letter-spacing: 0; font-size: .875rem; font-weight: 700; color: var(--ink-2); padding-top: .1em; }
.briefcards > li:nth-child(1) { rotate: -.5deg; }
.briefcards > li:nth-child(2) { rotate: .4deg; translate: 0 .6rem; }
.briefcards > li:nth-child(3) { rotate: -.2deg; }

/* rules band: a waveform scribble instead of sparkles */
.rules__wave { position: absolute; top: 2.2rem; right: max(16px, 6vw); width: clamp(120px, 16vw, 210px); height: auto; color: var(--mustard); opacity: .9; }
.rules__head { max-width: 40rem; }

/* pricing: a pinned note, not empty pricing cards */
.pricing { padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.note-card {
  position: relative; max-width: 40rem; margin-inline: auto; padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
  rotate: -.8deg;
  background: url("../ui/wash-cream.webp") center / calc(100% - 10px) calc(100% - 10px) no-repeat, var(--card);
  box-shadow: 0 1px 1px rgb(var(--shadow-rgb) / .1), 0 18px 34px -20px rgb(var(--shadow-rgb) / .45);
}
.note-card::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 28px; translate: -50% 0; rotate: 3deg;
  background: var(--tape); clip-path: polygon(2% 8%, 98% 0, 100% 34%, 97% 60%, 100% 100%, 3% 94%, 0 62%, 3% 30%); mix-blend-mode: multiply;
}
.note-card__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: .6rem; }
.note-card p { color: var(--ink-2); }
.note-card__sign { font-family: var(--hand); font-size: 1.7rem; color: var(--tomato-ink) !important; margin-top: .6rem; rotate: -2deg; }

/* FAQ: plain ruled rows rather than a stack of pill boxes */
.faq__list { gap: 0; border-top: 1.5px solid var(--ink); }
.faq__list details { border: 0; border-image: none; border-bottom: 1.5px dashed var(--line); padding: .2rem .25rem; background: none; }
.faq__list details:last-child { border-bottom-color: var(--ink); border-bottom-style: solid; }
.faq__list summary { font-size: 1.08rem; min-height: 56px; }
.faq__list summary::after {
  width: 22px; height: 22px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5 L11.7 19.5 M4.5 12 L19.5 11.7' fill='none' stroke='%23B33A25' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* sign-off instead of twin CTA cards */
.signoff { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.signoff__copy { display: grid; gap: 1rem; justify-items: start; }
.signoff__copy > p { color: var(--ink-2); max-width: 36rem; }
.signoff__illus { width: 100%; max-width: 520px; }
@media (max-width: 799.98px) {
  .signoff { grid-template-columns: minmax(0, 1fr); }
  .signoff__illus { max-width: 360px; }
}

/* handwritten face is a pen, not a marker: no faux bold */
.kicker, .hand-link, .print__cap, .examples__note, .rules__label, .site-footer__label, .tabpanel__title, .print__ph { font-weight: 400; }

/* small-phone fixes (found by the clipping audit) */
.briefcards > li, .briefcard__top, .briefcard__title, .briefcard__dl, .briefcard__dl div, .briefcard__dl dd { min-width: 0; }
.briefcard__dl dd { overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .briefcard { padding: 1.25rem 1.05rem 1.1rem; }
  .briefcard__top { padding-right: 3.6rem; gap: .7rem; }
  .briefcard__avatar { width: 56px; }
  .briefcard__title { font-size: 1.15rem; }
  .stamp { right: .7rem; top: .9rem; font-size: .66rem; }
}
@media (max-width: 359.98px) {
  .site-header__actions .btn--primary { display: none; }
  .logo__word { font-size: 1.05rem; }
}

/* refinement pass 2 */
.hero__copy { max-width: 46rem; }
.hero__title { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.7rem); }
.hand-link { display: inline; min-height: 0; line-height: 1.3; padding-block: .5rem; }
.hand-link .icon { display: inline-block; vertical-align: -.12em; margin-left: .25em; }
.strip__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); }
/* rules aren't a sequence: hand-drawn dashes instead of numbered badges */
.rules__list li { padding-left: 2.1rem; }
.rules__list li::before {
  content: ""; width: 1.3rem; height: .7rem; top: .45rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14'%3E%3Cpath d='M2 8 C6 4 9 11 13 7 C17 3 20 10 24 6' fill='none' stroke='%23E7B23C' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.step__art { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.step__art img { height: auto; max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
/* photo strip: wider copy column only where it sits beside the rail */
.strip__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .strip__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); } }
@media (max-width: 899.98px) {
  .strip__rail { scroll-padding-inline: var(--gutter-l) var(--gutter-r); padding-top: 1.6rem; }
  .strip__rail li { scroll-snap-align: start; }
}
/* calmer button shadow: a slight print misregistration rather than a neo-brutalist slab */
.btn--primary { filter: drop-shadow(2px 2px 0 var(--ink)); }
.btn--primary:hover { filter: drop-shadow(3px 3px 0 var(--ink)); }
/* photo strip: heading on top, larger prints across the full width */
@media (min-width: 900px) {
  .strip__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .strip__head { max-width: 40rem; }
  .strip__rail { gap: clamp(1.5rem, 3vw, 2.75rem); padding-inline: 1rem; }
}

/* photo strip: no swipe carousel. Rotated prints never sit inside a scroll container, so nothing gets clipped. */
@media (max-width: 899.98px) {
  .strip__rail {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 1.75rem);
    overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 1.25rem .5rem .5rem;
  }
  .strip__rail li { flex: none; margin-top: 0 !important; }
  .strip__rail li:nth-child(2) { margin-top: 1.5rem !important; }
}
@media (max-width: 639.98px) {
  /* a loose pinned-up stack: alternate sides, slight overlap, all fully on screen */
  .strip__rail { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 1rem .25rem 0; }
  .strip__rail li { width: 82%; }
  .strip__rail li:nth-child(odd) { justify-self: start; }
  .strip__rail li:nth-child(even) { justify-self: end; margin-top: -1.75rem !important; }
  .strip__rail li:nth-child(3) { margin-top: -1.25rem !important; }
  .strip__rail li:nth-child(2) { position: relative; z-index: 1; }
  .strip__rail .print { --rot: -2.2deg; }
  .strip__rail li:nth-child(2) .print { --rot: 2.4deg; }
  .strip__rail li:nth-child(3) .print { --rot: -1deg; }
}
@media (max-width: 639.98px) {
  .strip__rail { gap: .9rem; }
  .strip__rail li:nth-child(even), .strip__rail li:nth-child(3) { margin-top: 0 !important; }
  .strip__rail li { width: 80%; }
  .strip__rail li:nth-child(even) .print__cap { justify-self: end; }
}
/* more breathing room between stacked prints on phones */
@media (max-width: 639.98px) {
  .strip__rail { gap: 2.25rem; padding-top: 1.25rem; }
  .strip__rail .print__cap { margin-top: .2rem; }
}
/* brush wordmark from Gemini (retina PNGs) */
.logo__img { display: block; height: 38px; width: auto; }
.site-footer .logo__img { height: 44px; }
@media (max-width: 520px) { .logo__img { height: 32px; } }
@media (max-width: 359.98px) { .logo__img { height: 28px; } }

/* ---------- 23. App (coming soon) + autocue demo ---------- */
.app__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.app__copy { display: grid; gap: 1.1rem; justify-items: start; }
.app__soon { font-family: var(--hand); font-size: var(--fs-hand); color: var(--tomato-ink); rotate: -2deg; }
.app__steps { margin: .2rem 0 .4rem; padding-left: 1.3rem; display: grid; gap: .65rem; color: var(--ink-2); }
.app__steps strong { color: var(--ink); }
.app__copy .small-print { max-width: 34rem; }
.app__demo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: center; }

/* a generic, hand-made phone: no real device's trade dress */
.phone {
  width: clamp(220px, 22vw, 270px); aspect-ratio: 9 / 18.5; padding: 10px; rotate: -2deg;
  background: var(--ink); border-radius: 38px;
  box-shadow: 0 2px 0 rgb(255 255 255 / .06) inset, 0 26px 50px -24px rgb(var(--shadow-rgb) / .6);
}
.phone__screen {
  height: 100%; border-radius: 29px; overflow: hidden; display: flex; flex-direction: column;
  background: #FBF8F2; color: var(--ink);
}
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: 9px 18px 2px; font: 600 .7rem/1 var(--body); }
.phone__dots { width: 34px; height: 9px; background: radial-gradient(circle, var(--ink) 2.2px, transparent 2.6px) 0 0 / 11px 9px repeat-x; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 8px; border-bottom: 1px dashed var(--line); }
.phone__bar img { height: 22px; width: auto; }
.phone__take { font: 600 .7rem/1 var(--body); color: var(--ink-2); }

.cue { position: relative; flex: 1; overflow: hidden; background: var(--ink); }
.cue::before, .cue::after { content: ""; position: absolute; left: 0; right: 0; height: 32%; z-index: 2; pointer-events: none; }
.cue::before { top: 0; background: linear-gradient(var(--ink), rgb(27 26 23 / 0)); }
.cue::after { bottom: 0; background: linear-gradient(rgb(27 26 23 / 0), var(--ink)); }
.cue__track { position: absolute; left: 0; right: 0; top: 0; padding: 0 16px; will-change: transform; }
.cue__track p { margin: 0; font: 600 1.06rem/1.55 var(--body); color: rgb(245 239 228 / .42); transition: color .25s; }
.cue__track p.is-on { color: var(--paper); }
.cue__band { position: absolute; left: 8px; right: 8px; top: 50%; height: 1.7rem; translate: 0 -50%; z-index: 1; border-radius: 6px; border: 1.5px dashed rgb(231 178 60 / .7); pointer-events: none; }

.phone__deck { padding: 10px 14px 16px; display: grid; gap: 8px; background: #FBF8F2; }
.wave { height: 30px; display: flex; align-items: center; gap: 2px; }
.wave i { flex: 1; height: 4px; border-radius: 2px; background: var(--tomato); opacity: .85; transition: height .12s ease; }
.deck__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.deck__timer { font: 600 .78rem/1 var(--body); font-variant-numeric: tabular-nums; }
.deck__wpm { font: 600 .7rem/1 var(--body); color: var(--ink-2); justify-self: end; }
.deck__rec { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; }
.deck__rec span { width: 26px; height: 26px; border-radius: 50%; background: var(--tomato); transition: border-radius .2s, width .2s, height .2s; }
.app.is-playing .deck__rec span { width: 16px; height: 16px; border-radius: 4px; }
.app.is-playing .deck__timer { color: var(--tomato-ink); }

.cue-controls { display: grid; gap: .55rem; align-content: start; min-width: 0; }
.cue-controls__title { font: 750 1.25rem/1.2 var(--display); margin-bottom: .2rem; }
.cue-controls__text { min-height: 120px; font-size: .95rem; }
.cue-controls__range { width: 100%; accent-color: var(--tomato); min-height: 32px; }
.cue-controls__buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .2rem; }

@media (max-width: 1099.98px) {
  .app__grid { grid-template-columns: minmax(0, 1fr); }
  .app__demo { max-width: 720px; }
}
@media (max-width: 599.98px) {
  .app__demo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .phone { width: min(250px, 72vw); }
  .cue-controls { width: 100%; }
}
/* autocue pointer instead of a dashed box */
.cue__band { left: 0; right: 0; height: 0; border: 0; border-top: 1px solid rgb(231 178 60 / .35); border-radius: 0; }
.cue__band::before {
  content: ""; position: absolute; left: 3px; top: -7px; width: 0; height: 0;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 9px solid var(--mustard);
}
.cue__track { padding-left: 20px; }
.app__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; margin-top: .2rem; }
.app__price-num { font: 700 clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem)/1 var(--display); color: var(--ink); }
.app__price-note { flex-basis: 100%; font-family: var(--hand); font-size: 1.35rem; color: var(--tomato-ink); }

/* ---------- 24. Good places to record: stamped icon grid ---------- */
.spots { margin-top: 0; z-index: 1; padding-block: clamp(3rem, 2.2rem + 3vw, 5rem); }
.spots__head { max-width: 40rem; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.spots__head p { color: var(--ink-2); margin-top: .5rem; }
.spots__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px dashed var(--line-2, #CDBFA6); }
.spot { min-width: 0; padding: 1.5rem clamp(1rem, .5rem + 1.5vw, 2rem) 1.6rem; border-bottom: 1.5px dashed var(--line-2, #CDBFA6); }
.spot:not(:nth-child(3n)) { border-right: 1.5px dashed var(--line-2, #CDBFA6); }
.spot__icon { display: block; width: 107px; height: auto; margin-bottom: .9rem; rotate: -2deg; transform-origin: 50% 100%; }
.spot:nth-child(even) .spot__icon { rotate: 1.5deg; }
.spot:nth-child(3n) .spot__icon { rotate: -.5deg; }
.spot__name { font-size: 1.2rem; line-height: 1.15; margin: 0 0 .35rem; }
.spot__tip { font-size: var(--fs-small); color: var(--ink-2); margin: 0; max-width: 28ch; }
.spots__more { margin-top: 1.25rem; }
@media (max-width: 759.98px) {
  .spots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot:not(:nth-child(3n)) { border-right: 0; }
  .spot:nth-child(odd) { border-right: 1.5px dashed var(--line-2, #CDBFA6); }
  .spot { padding: 1.25rem .9rem 1.35rem; }
  .spot:nth-child(odd) { padding-left: 0; }
  .spot:nth-child(even) { padding-right: 0; }
  .spot__icon { width: 92px; }
  .spot__name { font-size: 1.08rem; }
}
@media (max-width: 359.98px) {
  .spot { padding-inline: .6rem; }
  .spot__icon { width: 80px; }
}
@media (min-width: 760px) {
  .spot__icon { width: 128px; }
  .spot:nth-child(3n+1) { padding-left: 0; }
  .spot:nth-child(3n) { padding-right: 0; }
}

/* ---------- 25. Jobs list: stamped icons beside each row ---------- */
.tiles .tile { grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1.15rem; row-gap: .2rem; align-items: start; padding-block: 1.15rem; }
.tile__stamp { grid-row: 1 / span 2; width: 80px; height: 80px; rotate: -3deg; }
.tiles .tile:nth-child(even) .tile__stamp { rotate: 2.5deg; }
.tiles .tile:nth-child(3n) .tile__stamp { rotate: -1deg; }
.tiles .tile__title { margin-top: .5rem; }
@media (max-width: 759.98px) {
  .tiles .tile { grid-template-columns: 64px minmax(0, 1fr); column-gap: .95rem; padding-block: 1rem; }
  .tile__stamp { width: 64px; height: 64px; }
  .tiles .tile__title { margin-top: .25rem; }
}

/* places grid: centred items */
.spot { text-align: center; display: flex; flex-direction: column; align-items: center; }
.spot__icon { margin-inline: auto; }
.spot__tip { margin-inline: auto; }
@media (min-width: 760px) {
  .spot:nth-child(3n+1), .spot:nth-child(3n) { padding-inline: clamp(1rem, .5rem + 1.5vw, 2rem); }
}
@media (max-width: 759.98px) {
  .spot:nth-child(odd), .spot:nth-child(even) { padding-inline: .75rem; }
}
.spots__more { text-align: center; }
.spots__head { margin-inline: auto; text-align: center; }

/* FAQ: one column (heading, filters, then the questions) */
.faq .faq__grid { grid-template-columns: minmax(0, 1fr); max-width: calc(48rem + var(--gutter-l) + var(--gutter-r)); gap: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.faq .faq__head { position: static; }
.faq .faq__a { max-width: none; }
