/* MEKSEEN · Torn Paper on the Stick Up mechanics · Canvas layout.
   Locked in direction-lock.md: Stick Up (2026-09-24) + "Owner amendment, 2026-09-25"
   + "Design-directions amendment spec: Torn Paper" + "Owner override, 2026-09-26" (wave E).
   Motion: transform and opacity only, 180-280ms. The one exception is the printed handle,
   which animates Figtree's weight axis (premium ceiling 1, direction-lock.md).
   Material is real (BE.4): a generated wall tile and generated paper and tape cutouts, with the shadow
   baked into each image. Every paper is one .sheet: a 9-slice border-image on its ::before.
   Spacing ladder: 0 4 8 12 16 24 32 48 64 96. */

:root {
  --bg: #121114;
  --surface: #1D1B20;
  --ink: #F4F1F6;
  --muted: #A9A3AE;
  --paper: #D9D7DA;         /* flat paper tone for pills, rings and drawn objects. The sheets themselves are images */
  --chip: #F2F0F3;          /* solid chip on paper (BB.6). Ink on it is 17:1 */
  --mag: #FF2E88;
  --mag-ink: #B3105C;       /* pink text on paper (prices): the bright pink is under 3:1 on the sheets */
  --lime: #B4E23C;          /* hue 77. Never on paper (1.05:1). Fill with ink text, or text on the wall. */
  --line: #77707D;          /* dashed slot borders, 3:1 on the wall */
  --stock-ink: #121114;
  --stock-muted: #4A444F;   /* muted text on paper */
  --dot: var(--mag);        /* lime lives only inside the sample mock now (design brief, method 7) */
  --focus: var(--ink);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gap-in: 16px;                                    /* between pieces inside a section (8-24px) */
  --gap-sec: clamp(48px, 1.5vw + 42px, 64px);        /* wall between sections (48-64px): one wall, sections sit close (BE.11) */

  --font-d: Archivo, "Arial Narrow", "Arial Black", system-ui, sans-serif;   /* Condensed Black (re-lock 2026-09-27, was Dela Gothic One) */
  --wt-d: 900; --wd-d: 75%; --ws-d: .1em;            /* weight, width, word gap: without the gap "PASTE IT" reads as one word */
  --font-b: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-m: "Caveat Brush", "Segoe Print", "Comic Sans MS", cursive;   /* notes and tape labels only, 18px or more (N5) */

  --t-body: clamp(1rem, .95rem + .25vw, 1.0625rem);   /* 16-17px (BE.5) */
  --lh-body: 1.45;
  --measure: 42ch;                                   /* body lines never run wider than this */
  --lh-d: .9; --ls-d: -.01em;                        /* display: caps, tight (BE.5) */
  --t-display: clamp(2.8rem, 9vw, 7.5rem);
  --t-h2: clamp(2rem, 1.2rem + 3.4vw, 4.2rem);
  --t-h3: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
  --t-sticker: clamp(1.1rem, .9rem + .9vw, 1.6rem);
  --t-note: clamp(1.15rem, 1.05rem + .4vw, 1.5rem);

  --ease-slap: cubic-bezier(.2, 1.4, .4, 1);
  --gutter: 5%;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  /* the generated wall (BE.2): a seamless 1024 tile shown at 768px, so its creases read as paper, not rocks */
  background: url("../assets/bg/wall-1024.webp") 0 0 / 768px 768px, var(--bg);
  color: var(--ink);
  font: 400 var(--t-body)/var(--lh-body) var(--font-b);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 50;
  background: var(--paper); color: var(--stock-ink); padding: var(--s3) var(--s4); border-radius: 999px; font-weight: 600;
}
.skip:focus { top: var(--s4); }

@media (max-width: 767px) { body { background-image: url("../assets/bg/wall-768.webp"); background-size: 384px 384px; } }

/* ── paper: one .sheet for every paper on the page (BE.4) ─── */
/* The element carries the text. Its ::before paints one generated paper image as a 9-slice border-image:
   the 4 corners keep their shape, the edges and the middle stretch, so the torn edge never distorts.
     data-sheet  picks the image (table below)          data-flip  "x", "y" or "xy" mirrors it (y only on drop-shadow images)
     --r         the tilt, next from the list -4, 2.5, -1.5, 3.5, -3, 1 in page order (--tilt scales it on very wide paper)
     --k         image px per CSS px: 3 = a finer tear, 1.5 = a bigger tear and less stretch. Pick it so no edge stretches
                 more than 1.6x. Slices are multiples of 6 image px, so every CSS width is a whole pixel at 1.5, 2 and 3
                 (half pixels draw thin seam lines, BE.2 finding 1)
     --py --px   space between the tear and the text; the padding is always the tear band plus this
   The shadow margin sits outside the box (border-image-outset), so the box edge is the paper's outer tear.
   will-change: each paper paints flat, then turns as one layer. Without it the tilt draws seam lines (BE.2 finding 2).
   --fill: a flat paper colour under the solid middle, 1px past the slice lines. On screens whose pixel ratio is not a whole
   number (many phones, 125% and 150% laptops) the 9 slices meet on part-pixels; the seam then shows paper, not wall. */
.sheet {
  --k: 2; --py: var(--s3); --px: var(--s4); --pxr: initial; --fx: 1; --fy: 1; --tilt: 1;
  --bt: calc((var(--it) - var(--mt)) / var(--k) * 1px); --br: calc((var(--ir) - var(--mr)) / var(--k) * 1px);
  --bb: calc((var(--ib) - var(--mb)) / var(--k) * 1px); --bl: calc((var(--il) - var(--ml)) / var(--k) * 1px);
  --pt: var(--bt); --pr: var(--br); --pb: var(--bb); --pl: var(--bl);
  position: relative; isolation: isolate;
  padding: calc(var(--pt) + var(--py)) calc(var(--pr) + var(--pxr, var(--px))) calc(var(--pb) + var(--py)) calc(var(--pl) + var(--px));
  color: var(--stock-ink); --focus: var(--stock-ink);
  transform: rotate(calc(var(--r, 0deg) * var(--tilt)));
  will-change: transform;
}
.sheet[data-flip^="x"] { --fx: -1; --pl: var(--br); --pr: var(--bl); }
.sheet[data-flip$="y"] { --fy: -1; --pt: var(--bb); --pb: var(--bt); }
.sheet::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: solid transparent;
  border-width: calc(var(--bt) - 1px) calc(var(--br) - 1px) calc(var(--bb) - 1px) calc(var(--bl) - 1px);
  background: var(--fill) content-box;
  border-image-source: var(--src);
  border-image-slice: var(--st) var(--sr) var(--sb) var(--sl) fill;
  border-image-width: calc(var(--it) / var(--k) * 1px) calc(var(--ir) / var(--k) * 1px) calc(var(--ib) / var(--k) * 1px) calc(var(--il) / var(--k) * 1px);
  border-image-outset: calc(var(--mt) / var(--k) * 1px) calc(var(--mr) / var(--k) * 1px) calc(var(--mb) / var(--k) * 1px) calc(var(--ml) / var(--k) * 1px);
  border-image-repeat: stretch;
  transform: scale(var(--fx), var(--fy));
}
/* Phones get the 4 large sheets at 2/3 size (assets/paper/m/). Slices are percentages, so both files cut the same. */
@media (max-width: 767px) { .sheet::before { border-image-source: var(--src-m); } }

/* The images. Insets (--it...) and shadow margins (--mt...) are image px of the full file, measured by
   _src-assets/raw/be4/insets.py: the middle between the 4 insets is solid paper. Slices (--st...) are the same insets in %. */
[data-sheet="sheet-large-a"] { --fill: #C2BFB9; --src: url("../assets/paper/sheet-large-a.webp"); --src-m: url("../assets/paper/m/sheet-large-a.webp"); --iw: 1136; --ih: 850;
  --it: 108; --ir: 96; --ib: 96; --il: 96; --mt: 54; --mr: 54; --mb: 54; --ml: 54;
  --st: 12.7059%; --sr: 8.4507%; --sb: 11.2941%; --sl: 8.4507%; }
[data-sheet="sheet-large-b"] { --fill: #BBB8B0; --src: url("../assets/paper/sheet-large-b.webp"); --src-m: url("../assets/paper/m/sheet-large-b.webp"); --iw: 1043; --ih: 791;
  --it: 114; --ir: 102; --ib: 114; --il: 102; --mt: 54; --mr: 54; --mb: 54; --ml: 54;
  --st: 14.4121%; --sr: 9.7795%; --sb: 14.4121%; --sl: 9.7795%; }
[data-sheet="sheet-torn-bottom"] { --fill: #A9A59F; --src: url("../assets/paper/sheet-torn-bottom.webp"); --src-m: url("../assets/paper/m/sheet-torn-bottom.webp"); --iw: 1153; --ih: 866;
  --it: 60; --ir: 66; --ib: 90; --il: 60; --mt: 54; --mr: 54; --mb: 54; --ml: 54;
  --st: 6.9284%; --sr: 5.7242%; --sb: 10.3926%; --sl: 5.2038%; }
[data-sheet="pink-sheet"] { --fill: #EA3381; --src: url("../assets/paper/pink-sheet.webp"); --src-m: url("../assets/paper/m/pink-sheet.webp"); --iw: 1029; --ih: 796;
  --it: 108; --ir: 108; --ib: 108; --il: 90; --mt: 54; --mr: 54; --mb: 54; --ml: 54;
  --st: 13.5678%; --sr: 10.4956%; --sb: 13.5678%; --sl: 8.7464%; }
[data-sheet="strip-wide"] { --fill: #C1BCB4; --src: url("../assets/paper/strip-wide.webp"); --src-m: var(--src); --iw: 771; --ih: 238;
  --it: 54; --ir: 48; --ib: 54; --il: 48; --mt: 30; --mr: 24; --mb: 12; --ml: 24;
  --st: 22.6891%; --sr: 6.2257%; --sb: 22.6891%; --sl: 6.2257%; }
[data-sheet="pink-strip"] { --fill: #FB2F87; --src: url("../assets/paper/pink-strip.webp"); --src-m: var(--src); --iw: 784; --ih: 265;
  --it: 60; --ir: 48; --ib: 60; --il: 48; --mt: 30; --mr: 24; --mb: 12; --ml: 24;
  --st: 22.6415%; --sr: 6.1224%; --sb: 22.6415%; --sl: 6.1224%; }
[data-sheet="tag-small"] { --fill: #C9C6BD; --src: url("../assets/paper/tag-small.webp"); --src-m: var(--src); --iw: 647; --ih: 301;
  --it: 60; --ir: 54; --ib: 60; --il: 60; --mt: 24; --mr: 18; --mb: 12; --ml: 18;
  --st: 19.9336%; --sr: 8.3462%; --sb: 19.9336%; --sl: 9.2736%; }
[data-sheet="card-square"] { --fill: #C8C3BD; --src: url("../assets/paper/card-square.webp"); --src-m: var(--src); --iw: 502; --ih: 499;
  --it: 54; --ir: 54; --ib: 54; --il: 48; --mt: 24; --mr: 18; --mb: 12; --ml: 18;
  --st: 10.8216%; --sr: 10.7570%; --sb: 10.8216%; --sl: 9.5618%; }
[data-sheet="card-tall"] { --fill: #C0BDB5; --src: url("../assets/paper/card-tall.webp"); --src-m: var(--src); --iw: 433; --ih: 576;
  --it: 48; --ir: 42; --ib: 48; --il: 42; --mt: 24; --mr: 18; --mb: 12; --ml: 18;
  --st: 8.3333%; --sr: 9.6998%; --sb: 8.3333%; --sl: 9.6998%; }
[data-sheet="note-tall"] { --fill: #C2BFB6; --src: url("../assets/paper/note-tall.webp"); --src-m: var(--src); --iw: 256; --ih: 572;
  --it: 42; --ir: 42; --ib: 42; --il: 42; --mt: 18; --mr: 18; --mb: 12; --ml: 18;
  --st: 7.3427%; --sr: 16.4062%; --sb: 7.3427%; --sl: 16.4062%; }
/* Phones only (under 640px): a box whose shape changes a lot can take a second image. Copy of the rule above. */
@media (max-width: 639px) {
  [data-sheet-s="strip-wide"] { --fill: #C1BCB4; --src: url("../assets/paper/strip-wide.webp"); --src-m: var(--src); --iw: 771; --ih: 238;
    --it: 54; --ir: 48; --ib: 54; --il: 48; --mt: 30; --mr: 24; --mb: 12; --ml: 24;
    --st: 22.6891%; --sr: 6.2257%; --sb: 22.6891%; --sl: 6.2257%; }
  [data-sheet-s="card-square"] { --fill: #C8C3BD; --src: url("../assets/paper/card-square.webp"); --src-m: var(--src); --iw: 502; --ih: 499;
    --it: 54; --ir: 54; --ib: 54; --il: 48; --mt: 24; --mr: 18; --mb: 12; --ml: 18;
    --st: 10.8216%; --sr: 10.7570%; --sb: 10.8216%; --sl: 9.5618%; }
}

/* Under 1100 only: the step cards are wide and short, so they take the square card (card-tall stretched past 1.6x there). */
@media (max-width: 1099px) {
  [data-sheet-m="card-square"] { --fill: #C8C3BD; --src: url("../assets/paper/card-square.webp"); --src-m: var(--src); --iw: 502; --ih: 499;
    --it: 54; --ir: 54; --ib: 54; --il: 48; --mt: 24; --mr: 18; --mb: 12; --ml: 18;
    --st: 10.8216%; --sr: 10.7570%; --sb: 10.8216%; --sl: 9.5618%; }
}

/* ── pink label strips (was tape, BE.3; all tape removed 2026-09-27) ── */
/* The pink tape stretches between its torn ends (3 slices, 3 image px per CSS px); the ends keep their shape. */
.tape {
  position: absolute; z-index: 5; pointer-events: none; white-space: nowrap;
  color: var(--stock-ink); font-size: var(--t-note); line-height: 1;
  padding: 11px 20px 11px 22px;
  background: url("../assets/paper/pink-strip.webp") center / 100% 100% no-repeat;   /* torn pink paper, no tape (Lamar 2026-09-27: "remove all the tapes") */
  transform: rotate(var(--r, -4deg)); will-change: transform;
}

/* ── type roles ───────────────────────────────────────────── */
.d { font-family: var(--font-d); }
.h1 { font-size: var(--t-display); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); }
/* Display role (BE.5): every display heading is set in caps, line-height .9, tracking -.01em, as on the board.
   The words stay sentence case in the HTML, so screen readers and the copy doc are unchanged. */
.d, .stk, .drag, .tier h3, .how-step h3, .work h3, .work-name, .plan b, .price .name {
  text-transform: uppercase; line-height: var(--lh-d); letter-spacing: var(--ls-d);
}
/* Body (BE.5): Figtree 16-17px, line-height 1.45, 42 characters wide at most. The sample site keeps its own type. */
.wall p:not(.d, .mock-h, .me-line, .head-tag), .lost p { max-width: var(--measure); }
.lit { color: var(--mag); font-style: normal; }
.small { font-size: .9rem; }
.tnum { font-variant-numeric: tabular-nums; }
/* The marker note: one hand-lettered line in caps, 18px or more, tilted -3 to -8 degrees; never a heading, never body (N5, BE.5).
   Caveat Brush passed the caps test against the board (_lab/marker-test.html), so no new face. */
.note, .pair-note, .step, .tape, .tag-sample { font-family: var(--font-m); text-transform: uppercase; letter-spacing: .02em; }
.note, .pair-note, .step {
  display: block; width: fit-content; font-size: var(--t-note); line-height: 1.1;
  transform: rotate(var(--nr, -4deg)); transform-origin: 0 50%;
}
.pair-note { color: var(--ink); }

/* ── icons (BE.5): Lucide line icons from the sprite at the top of the page, WhatsApp glyph only on WhatsApp links ── */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ic--fill { fill: currentColor; stroke: none; }

/* ── marks (BE.5): the generated doodles and arrows, black ink on clear WebP, coloured by mask.
   Phones get the 2/3-size copies in assets/marks/m/ (alpha only). Always aria-hidden, never over text. ── */
.mark {
  position: absolute; z-index: 6; pointer-events: none;
  width: var(--mw, 64px); aspect-ratio: var(--ma); background: var(--mc, var(--ink));
  -webkit-mask: var(--mk) center / contain no-repeat; mask: var(--mk) center / contain no-repeat;
  transform: rotate(var(--r, 0deg)) scaleX(var(--mf, 1));
}
.mark--crown { --mk: url("../assets/marks/crown.webp"); --ma: 401 / 380; }
.mark--loop { --mk: url("../assets/marks/arrow-loop.webp"); --ma: 469 / 363; }
.mark--curve { --mk: url("../assets/marks/arrow-curve.webp"); --ma: 394 / 465; }
.mark--bent { --mk: url("../assets/marks/arrow-bent.webp"); --ma: 326 / 433; }
.mark--straight { --mk: url("../assets/marks/arrow-straight.webp"); --ma: 463 / 208; }
.mark--underline { --mk: url("../assets/marks/underline.webp"); --ma: 398 / 68; }
@media (max-width: 767px) {
  .mark--crown { --mk: url("../assets/marks/m/crown.webp"); }
  .mark--loop { --mk: url("../assets/marks/m/arrow-loop.webp"); }
  .mark--curve { --mk: url("../assets/marks/m/arrow-curve.webp"); }
  .mark--bent { --mk: url("../assets/marks/m/arrow-bent.webp"); }
  .mark--straight { --mk: url("../assets/marks/m/arrow-straight.webp"); }
  .mark--underline { --mk: url("../assets/marks/m/underline.webp"); }
}
/* where they sit now (board tiles 1, 3, 4, 10, 12). BE.6-BE.9 move them with their sections. */
.crown-corner { --mw: clamp(44px, 2.5vw + 24px, 72px); --mc: var(--mag); --r: 12deg; top: .1em; right: -.62em; }   /* on the wall beside the paper's top-right corner */
.go-note .mark { --mw: 56px; }   /* the arrow to the WhatsApp button (tile 3); placed with the note below */
@media (max-width: 639px) {
  .hero-h1 .crown-corner { --mw: 40px; --r: 6deg; top: auto; bottom: -12px; right: 6px; }   /* lower-right corner, past the pink strip's end: above the paper it touched the nav button */
  .side-note { display: flex; align-items: center; gap: var(--s2); text-align: left; }
}

/* ── nav ──────────────────────────────────────────────────── */
.top {
  display: flex; align-items: center; gap: var(--s5);
  padding: var(--s4) var(--gutter);
  max-width: 1600px; margin-inline: auto;
  color: var(--muted); font-size: .95rem;
}
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-d); font-size: clamp(1.1rem, .9rem + .8vw, 1.35rem); letter-spacing: 0; color: var(--ink); text-decoration: none; line-height: 1; }
.live { display: inline-flex; align-items: center; gap: var(--s2); white-space: nowrap; }
.dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: var(--dot); flex: none; }
.top nav { margin-left: auto; display: flex; gap: var(--s5); }
.top nav a { text-decoration: none; padding: var(--s2) var(--s1); min-height: 44px; min-width: 44px; justify-content: center; display: inline-flex; align-items: center; }
.top nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  background: var(--paper); color: var(--stock-ink); border: 0; border-radius: 999px;
  padding: var(--s2) var(--s5); font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; gap: var(--s2);
  transition: transform 180ms ease-out; --focus: var(--ink);
}
.pill:active, .btn:active { transform: scale(.97); }
.top:not(:has(nav)) .pill { margin-left: auto; }
@media (max-width: 720px) {
  .top nav { display: none; }
  .top .pill { margin-left: auto; }
}
@media (max-width: 359px) { .live-text { display: none; } }
@media (max-width: 420px) {
  .top { gap: var(--s3); font-size: .85rem; }
  .top .pill { padding-inline: var(--s4); }
}

/* ── buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  border: 0; border-radius: 999px; padding: var(--s3) var(--s5); gap: var(--s2);
  font-family: var(--font-b); font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2;
  transition: transform 180ms ease-out;
}
.btn--mag { background: var(--mag); color: var(--bg); --focus: var(--ink); }

/* ── the wall ─────────────────────────────────────────────── */
/* Sections stack with 48-64px of wall between them (BE.11: was 96-160px). Inside a section, pieces sit 16-24px apart and may overlap by 8-32px. */
.wall {
  max-width: 1600px; margin-inline: auto;
  padding: var(--s5) var(--gutter) var(--s9);
  display: flex; flex-direction: column; gap: var(--gap-sec);
  position: relative;
}
.wall > section, .sec { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-in); position: relative; min-width: 0; }
.wall > section > *, .sec > * { min-width: 0; position: relative; }

/* mobile placement helpers (one column, paper steps left and right) */
@media (max-width: 639px) {
  .w { width: 100%; }
  .step-l { margin-left: 12%; width: 88%; }
  .step-r { align-self: flex-end; width: 88%; }
  .hero-dev { align-self: flex-end; width: 92%; max-width: 400px; margin-top: var(--s2); }
  .hero p.hero-sub { margin-top: var(--s5); }   /* clear of the crown, which hangs 12px under the headline paper */   /* the phone steps right, under the field; wider, it stood taller than the screen */
  .tuck { margin-top: calc(-1 * (var(--gap-in) + var(--ov, 20px))); }   /* overlap 20px (8-32px) */
}

/* tape and tags on the sample sites */
.demo-frame .tape { top: -24px; left: 2%; --r: -6deg; font-size: clamp(1.25rem, 1rem + .6vw, 1.7rem); padding-block: 12px; }   /* top-left, above the mock's name (tile 3) */
@media (max-width: 639px) { .demo-frame .tape { top: auto; bottom: -14px; left: auto; right: 2%; font-size: var(--t-note); } }   /* phones: on the bottom edge, off the mock nav (BA.8) */
/* "Sample" is a small paper tag now (the lime tape is gone). Always on the sample sites (N9). */
.tag-sample { position: absolute; z-index: 5; pointer-events: none; white-space: nowrap; font-size: 1.25rem; line-height: 1; }
.tag-sample.sheet { --k: 3; --py: 2px; --px: 6px; }


/* ── paper pieces ─────────────────────────────────────────── */
.stk {
  display: block;
  font-family: var(--font-d); font-size: var(--t-sticker);
  transition: transform 200ms ease-out;
}
.stk.sheet { --py: var(--s1); --px: var(--s3); }
.stk--body { font-family: var(--font-b); font-size: var(--t-body); line-height: var(--lh-body); letter-spacing: 0; text-transform: none; }
.stk--body.sheet { --py: var(--s3); --px: var(--s4); }
.lift:focus-within { transform: translateY(-4px) rotate(var(--r, 0deg)); }
@media (hover: hover) and (pointer: fine) {
  .lift:hover { transform: translateY(-4px) rotate(var(--r, 0deg)); }
}

/* slap-on cascade at load, 220ms, 60ms stagger: the hero phone then its "Your handle goes here" note; the 404 Back home tag (stage 10) */
@media (prefers-reduced-motion: no-preference) {
  .slap { animation: slap 220ms var(--ease-slap) backwards; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
}
@keyframes slap {
  from { opacity: 0; transform: translateY(12px) rotate(calc(var(--r, 0deg) + 4deg)) scale(.94); }
  to { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)) scale(1); }
}

/* ── a paper that holds a thing: the sample sites and the pink sheets ── */
.mount { display: flex; align-items: stretch; justify-content: center; min-width: 0; }
.mount.sheet { --py: var(--s3); --px: var(--s3); }
.mount > * { flex: 1 1 auto; min-width: 0; }

/* ── the handle print ─────────────────────────────────────── */
.print {
  display: inline-block; white-space: nowrap;
  font: 600 clamp(2.4rem, 8vw, 7rem)/1 var(--font-b); letter-spacing: -.02em; color: var(--stock-ink);
  font-variation-settings: "wght" 600;
}
.print.is-empty { color: var(--stock-muted); font-weight: 600; }
.print i { font-style: normal; display: inline-block; }
.print i.pop { animation: stamp 220ms ease-out both; }
@keyframes stamp { from { font-weight: 900; } to { font-weight: 600; } }
@media (prefers-reduced-motion: reduce) { .print i.pop { animation: none; } }
.print-box { width: 100%; min-width: 0; overflow: hidden; }

/* ── hero ─────────────────────────────────────────────────── */
/* The headline sits on one sheet that hugs the words, "Wha yuh / a build?" on two lines at every width (as on the board),
   so no image stretches past 1.6x. The lit line is one pink paper strip, one line long. */
/* Archivo Condensed (2026-09-27): the widest caps line, "WHA YUH", is 4.03em (Dela was 5.98em), so the size is --t-display x 1.48:
   the paper keeps the width it had. */
.hero-h1 { font-size: clamp(4.15rem, 13.35vw, 11.1rem); }
.hero-h1.sheet { --k: 1.5; --py: var(--s3); --px: var(--s5); }   /* 1.5 since BE.5: the caps line is wider (2 stretched it 1.94x at 1440) */
@media (min-width: 640px) { .hero-h1 { width: fit-content; max-width: 100%; } }
.hero-h1 .lit { display: block; width: fit-content; margin-top: .12em; color: var(--stock-ink); font-size: .68em; line-height: 1; white-space: nowrap; }
.hero-h1 .lit.sheet { --k: 1.5; --py: 2px; --px: .1em; }
@media (max-width: 420px) { .hero-h1 .lit { white-space: normal; } }
/* Phones and small tablets: size the line to the widest half. In Archivo Condensed caps "WHA YUH" is 4.03em, measured in the browser.
   The paper is 90vw wide and its tear band and padding take 48px, so the words get 90vw - 48px: 22.3vw - 12px is the biggest
   size that fits (22vw here, for margin). The cap is 6.3rem: the wall stops at 520px, so the paper stops at 456px and the words at 408px. */
@media (max-width: 759.98px) {
  .hero-h1 { font-size: clamp(3.7rem, calc(22vw - 12px), 6.3rem); }
  .hero-h1.sheet { --k: 3; --px: var(--s2); }
  .hero-h1 .lit { font-size: .58em; }   /* the pink strip stays one line down to 320px: "MEK IT SEEN." is 5.71em plus 28px of paper */
  .hero-h1 .lit.sheet { --k: 3; --px: 6px; }
}
/* From 1100px the headline paper takes 7 of 12 columns and the phone stands in the other 5 (board tile 1).
   7 columns are 0.525vw - 10px wide; less the tear bands and padding (112px), the words get 0.525vw - 122px.
   Ratio system (Lamar 2026-09-27: "size by a percentage, desktop follows a ratio, a change must not affect the quality"):
   from 1100px every hero size is a share of the hero's own width (cqi on .hero), drawn at 1440 (hero 1296px wide) to fit a
   1440x800 frame. The whole hero then keeps one shape at every desktop width, and stops growing with the wall at 1600px.
   Headline 8.9cqi = 115px at 1440; "WHA YUH" (4.03em) plus the paper is 47% of the hero, inside its 7 columns. */
@media (min-width: 1100px) {
  .hero { container-type: inline-size; }
  .hero-h1 { font-size: 8.9cqi; }
}
/* The sub is hand-lettered on the wall, where the board has its marker line (owner override 2026-09-27). Same words, same search phrase. */
.hero p.hero-sub {
  max-width: 23em; color: var(--ink); font-family: var(--font-m); text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.2rem, 1.05rem + .45vw, 1.6rem); line-height: 1.12; transform: rotate(-2deg); transform-origin: 0 50%;
}

/* The handle field sits on its own paper strip, the marker tag beside it points at it (BE.7). */
.hero-field { display: grid; justify-items: start; gap: var(--s2); width: 100%; }
.field { display: grid; gap: var(--s2); width: 100%; }
.field.sheet { --k: 1.5; --py: var(--s3); --px: var(--s4); }   /* 1.5: at 2 the strip stretched 1.63x tall */
@media (min-width: 640px) { .field { width: clamp(320px, 28vw, 440px); } }
.field label { color: var(--stock-muted); font-size: .95rem; font-weight: 600; }
.field input, .end-field input {
  width: 100%; min-width: 0; min-height: 48px;
  background: var(--chip); border: 2px solid var(--stock-ink); border-radius: 999px;
  padding: var(--s3) var(--s5); color: var(--stock-ink); caret-color: var(--stock-ink); font-size: 1.05rem;
}
.field input::placeholder, .end-field input::placeholder { color: var(--stock-muted); opacity: 1; }
.field input:focus-visible, .end-field input:focus-visible { outline: 3px solid var(--stock-ink); outline-offset: 3px; }
.field-msg { min-height: 1.5em; color: var(--ink); font-size: .95rem; font-weight: 600; }
.hero-note {
  position: relative; justify-self: end; width: fit-content; margin-right: 4%;
  font-family: var(--font-m); text-transform: uppercase; letter-spacing: .02em; font-size: var(--t-note); line-height: 1.05;
}
.hero-note.sheet { --k: 3; --py: var(--s2); --px: var(--s3); }
/* under the field, the arrow sits on the wall left of the tag and points up at the field */
.hero-arrow { --mw: 40px; --mc: var(--mag); --mf: -1; --r: 6deg; right: calc(100% + 6px); bottom: 20%; }
@media (min-width: 1100px) {   /* beside the field, the arrow points left at it */
  .hero-field { grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 60px;
    padding-left: clamp(0px, calc(10vw - 110px), 64px); }
  .hero-note { justify-self: start; margin: 0; }
  .hero-arrow { --mw: 44px; --r: -42deg; right: calc(100% + 6px); bottom: auto; top: 50%; margin-top: -26px; }
  .field-msg { grid-column: 1 / -1; }
}

/* The phone (BE.7): a Loud sample site, taller than wide, on the torn-bottom sheet with two corner tapes.
   The handle prints as its brand, in the sample's own face. "Sample" is a rubber stamp on the paper under it (N9). */
.hero-dev { width: 100%; max-width: 480px; }
.hero-dev .mount.sheet { --k: 1.5; padding-bottom: calc(var(--pb) + 44px); }
/* The phone is the demo's sample site (.mock--demo, its narrow layout) and follows the demo chips (data-mirror).
   ".hero" raises these rules over the demo's own, which come later in the file. The photo runs edge to edge in every vibe,
   ending on the vibe's own edge (owner override 2026-09-27): Loud a hard diagonal, Warm a fade, Calm a soft arch, Clean hairlines. */
.hero .mock--dev { border-radius: 14px; grid-template-rows: auto auto 1fr; }
.hero .mock--dev .mock-bar { flex-wrap: nowrap; padding: 5cqi 6cqi 3cqi; }
.hero .mock--dev .mock-links { gap: 5cqi; font-size: max(10px, 3.4cqi); }
.hero .mock--dev .mock-tools svg { width: max(14px, 4.6cqi); }
.dev-brand { padding: 3cqi 6cqi 0; }
.print--brand { font: var(--m-w) 14cqi/1 var(--m-font); letter-spacing: var(--m-ls); color: var(--m-ink); font-variation-settings: normal; }
.print--brand.is-empty { color: var(--m-mut); font-weight: var(--m-w); }
.print--brand i.pop { animation: brand-in 240ms var(--ease-slap) both; }   /* the letters drop in (Anton, Gloock and Bree have one weight) */
@keyframes brand-in { from { opacity: 0; transform: translateY(-.3em) scale(1.3); } }
/* The photo fills the whole screen under the brand (Lamar 2026-09-27: "I don't like the space, extend the image").
   The words sit on a solid band of the vibe's ground laid over the photo's foot; the band's top edge is the vibe's own edge. */
.hero .mock--dev[data-vibe] .mock-stage { display: grid; grid-template: 1fr / 1fr; gap: 0; padding: 0; margin-top: 2cqi; aspect-ratio: 5 / 6; }
.hero .mock--dev[data-vibe] .mock-hero {
  grid-area: 1 / 1; justify-self: stretch; width: 100%; height: 100%; margin: 0; padding: 0; aspect-ratio: auto; object-position: 55% 50%;   /* the stage is taller than the photo, so only the sideways crop moves */
  border-radius: 0; box-shadow: none; background: var(--m-tile); clip-path: none; -webkit-mask-image: none; mask-image: none;
}
.hero .mock--dev[data-vibe] .mock-cap { grid-area: 1 / 1; align-self: end; position: relative; width: auto; padding: 12cqi 6cqi 7cqi; gap: 3.4cqi; background: var(--m-bg); }
.hero .mock--dev[data-vibe="loud"] .mock-cap { clip-path: polygon(0 9cqi, 100% 0, 100% 100%, 0 100%); }   /* the wall cut */
.hero .mock--dev[data-vibe="warm"] .mock-cap { background: linear-gradient(180deg, transparent, var(--m-bg) 12cqi); }   /* the photo melts into the espresso */
.hero .mock--dev[data-vibe="calm"] .mock-cap { border-radius: 50% 50% 0 0 / 9cqi 9cqi 0 0; padding-top: 10cqi; }   /* a soft arch */
.hero .mock--dev[data-vibe="clean"] .mock-cap { border-top: 1px solid var(--m-bd); padding-top: 7cqi; }
.hero .mock--dev[data-vibe="warm"] .mock-stage::after { inset: 0 0 30% 0; }   /* the candle glow stays on the photo */
.hero .mock--dev[data-vibe] .mock-cap .mock-h { font-size: 9cqi; line-height: 1; }
.hero .mock--dev[data-vibe="loud"] .mock-cap .mock-h { font-size: 10cqi; line-height: .92; }
/* Wide device (desktop): a landscape screen, so the photo is barely cropped,
   and smaller words so the band covers under half of it. By width, not by the device's own size: at 1100 the device is 396px. */
@media (min-width: 1100px) {
  .hero .mock--dev[data-vibe] .mock-stage { aspect-ratio: 4 / 3; }
  .hero .mock--dev .print--brand { font-size: 12cqi; }
  .hero .mock--dev[data-vibe] .mock-cap { padding: 9cqi 6cqi 5cqi; gap: 2.6cqi; }
  .hero .mock--dev[data-vibe="calm"] .mock-cap { padding-top: 8cqi; }
  .hero .mock--dev[data-vibe="clean"] .mock-cap { padding-top: 5cqi; }
  .hero .mock--dev[data-vibe] .mock-cap .mock-h { font-size: 7cqi; }
  .hero .mock--dev[data-vibe="loud"] .mock-cap .mock-h { font-size: 7.6cqi; }
}
.stamp {
  position: absolute; z-index: 4; right: calc(var(--pr) + var(--s4)); bottom: calc(var(--pb) + 10px); pointer-events: none;
  padding: 5px 8px 4px 10px; border: 2px solid currentColor; border-radius: 3px;
  font: 800 .8rem/1 var(--font-b); letter-spacing: .2em; text-transform: uppercase; color: var(--stock-ink); opacity: .82;
  transform: rotate(-7deg);
}

/* ── mek + seen (BE.8, board tile 2) ─────────────────────── */
/* Left: MEK + SEEN labels (drag, tap or Enter joins them; a pink underline then draws under MEKSEEN), the meaning, the support
   line. Right: what people send, an arrow, what I make of it (marker caps, outputs in pink). */
.mek-join { display: grid; gap: var(--s3); justify-items: center; }
.pair { display: inline-flex; align-items: center; gap: var(--s4); position: relative; padding-bottom: 30px; }
.pair-plus { font-family: var(--font-d); font-weight: 900; font-size: clamp(2.2rem, 1.2rem + 3vw, 4.6rem); line-height: 1; color: var(--mag); transition: opacity 200ms ease-out; }
/* the crown: board B, white, on the wall past SEEN's top-right corner */
/* --jx: the join point, set by js/stickup.js when the two labels meet */
.pair-line { --mw: min(60%, 260px); --mc: var(--mag); top: calc(100% - 34px); left: var(--jx, 50%); transform: translateX(-50%) rotate(-2deg) scaleX(0); transform-origin: 0 50%; transition: transform 260ms var(--ease-slap) 160ms; }
.pair.is-joined .pair-line { transform: translateX(-50%) rotate(-2deg) scaleX(1); }
.pair.is-joined .pair-plus { opacity: 0; }
.pair-note { transition: opacity 280ms ease-out; }
.pair.is-joined + .pair-note { opacity: 0; }   /* joined (by tap or on scroll-in): "Tap to join them" has done its job (stage 10) */
.drag {
  display: block; font-family: var(--font-d); font-size: clamp(2rem, 1.2rem + 4vw, 4.6rem); color: var(--stock-ink);
  transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--r, 0deg)); cursor: grab; user-select: none; -webkit-user-select: none;
  transition: transform 280ms var(--ease-slap); --focus: var(--stock-ink);
}
.drag.sheet { --k: 3; --py: var(--s2); --px: var(--s4); }
.drag.is-dragging { transition: none; cursor: grabbing; z-index: 4; }
.grip {
  position: absolute; right: -1px; bottom: -1px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0 0 var(--radius) 0;
  background: none; cursor: grab; touch-action: none; --focus: var(--stock-ink);
}
.grip:focus-visible { outline-offset: -6px; }
.pair.is-joined .drag { transition-duration: 280ms; }
.pair-note { --nr: -4deg; margin-top: var(--s3); justify-self: end; margin-right: 6%; padding-left: 58px; }   /* under SEEN, as on board B; clear of the underline's box */
.pair-note .mark { --mw: 44px; --mf: -1; --r: -6deg; left: 0; top: -1.1em; }   /* points up-left at SEEN */
.mek-say { display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.wall .mek-def { font-size: clamp(1.1rem, .95rem + .5vw, 1.4rem); line-height: 1.35; color: var(--ink); max-width: none; }
.mek-def span { display: block; }
.mek-def span:last-child { font-weight: 700; margin-top: .3em; }
.wall .mek-sup { font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); line-height: 1.3; color: var(--ink); max-width: 34ch; }

/* ── demo (BE.6, board tile 3) ───────────────────────────── */
/* Left: the headline paper and the two chip papers. Right: the sample site on a torn sheet with a side note,
   the 4 vibes drawn small, then the WhatsApp button with its marker note. */
.demo-l, .demo-r { display: grid; gap: var(--gap-in); align-content: start; min-width: 0; }
.demo-l { gap: 0; }
.demo-l > * + * { margin-top: -20px; }   /* each paper tucks 20px under the one above (8-32px), clear tape across the join */
.demo-head .h2 { font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.8rem); }
.demo-head { display: grid; gap: var(--s4); }
.demo-head.sheet { --k: 1.5; --py: var(--s4); --px: var(--s5); }
.demo-head .sub { color: var(--stock-ink); }
.pick.sheet { --py: var(--s3); --px: var(--s5); }
.pick-now { margin: var(--s3) 0 0; font-weight: 600; }   /* Stage 10 A2 */
.step { --nr: -3deg; color: var(--stock-ink); margin-bottom: var(--s3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s3); border: 0; padding: 0; margin: 0; min-width: 0; }
/* Solid chips (BB.6): pills with a solid 2px border, never the dashed slot look. The picked chip is pink, as on the board. */
.chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: var(--s2) var(--s4); border-radius: 999px; font-weight: 600; cursor: pointer;
  background: var(--chip); color: var(--stock-ink); border: 2px solid var(--stock-muted);
  transition: transform 180ms ease-out;
}
.chip .ic { width: 1.3em; height: 1.3em; }
.chip[aria-pressed="true"] { background: var(--mag); color: var(--stock-ink); border-color: var(--stock-ink); transform: rotate(var(--cr, -2deg)); --focus: var(--stock-ink); }
.chip:active { transform: scale(.97); }
.chip:nth-child(even)[aria-pressed="true"] { --cr: 2deg; }
@media (min-width: 1100px) {
  .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); }   /* two pills a row, as on the board */
  .chip { padding: var(--s2) var(--s4); }
}

.demo-frame { position: relative; }
.demo-frame .mount.sheet { --k: 1.5; --py: var(--s3); --px: var(--s3); }
.demo-site { display: grid; gap: var(--s4); }
.side-note { font-family: var(--font-m); text-transform: uppercase; letter-spacing: .02em; font-size: var(--t-note); line-height: 1.05; text-align: center; z-index: 3; }
.side-note.sheet { --k: 2; --py: var(--s4); --px: var(--s2); }
@media (min-width: 640px) {
  .demo-frame { padding-right: 104px; }   /* room for the side note, which overlaps the sheet by 24px */
  .side-note { position: absolute; right: 0; top: 28%; width: 128px; }
}
@media (max-width: 639px) {
  .demo-l, .demo-r { width: 100%; }   /* the section lines pieces up at the start; the mock's size containment gives it no width of its own */
  .demo-frame { display: flex; flex-direction: column; }
  .side-note { order: -1; width: fit-content; max-width: 88%; margin: 0 0 -8px 4%; }   /* phones: a strip above the sheet, tucked under its top edge; the tape and "Sample" keep the bottom */
  .side-note.sheet { --k: 3; --py: var(--s2); --px: var(--s3); }
}

/* "Sample" sits on the paper under the site (N9). */
.demo-site { gap: var(--s2); }
.demo-site > .tag-sample { position: relative; justify-self: start; margin-left: var(--s3); }


.demo-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: var(--s4) var(--s6); margin-top: var(--s5); }
/* The WhatsApp button is a torn pink paper with big caps (tile 3). Ink on pink, 5.37:1. */
.demo-cta {
  display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; text-decoration: none; cursor: pointer;
  font-family: var(--font-d); font-size: clamp(1.15rem, .8rem + 1vw, 1.7rem); text-transform: uppercase; line-height: var(--lh-d); letter-spacing: var(--ls-d);
  transition: transform 180ms ease-out;
}
.demo-cta.sheet { --k: 1.5; --py: var(--s3); --px: var(--s5); max-width: 600px; }   /* two lines, as on the board */
.demo-cta .ic { width: 1.6em; height: 1.6em; }
.demo-cta:active { transform: rotate(var(--r)) scale(.97); }
@media (hover: hover) and (pointer: fine) { .demo-cta:hover { transform: translateY(-3px) rotate(var(--r)); } }
/* The marker note sits in the wall space bottom-left and points right, at the button (the board keeps a note there too). */
.go-note { position: relative; color: var(--ink); --nr: -5deg; padding-right: 68px; }
.go-note .mark { --mf: 1; --r: 40deg; left: auto; right: 0; top: -6px; }
@media (min-width: 1100px) { .go-note { grid-column: 1 / 6; grid-row: 2; align-self: end; justify-self: end; margin-bottom: var(--s6); } }
@media (min-width: 640px) and (max-width: 1099px) { .go-note { grid-column: 1 / 13; grid-row: 3; justify-self: center; } }
@media (max-width: 639px) {

  .demo-cta.sheet { width: 100%; max-width: none; justify-content: center; }
  .go-note { align-self: center; padding-right: 0; }
  .go-note .mark { display: none; }   /* under the button on phones: no room for an arrow that points at it */
}

/* The mock site (the visitor's own name on it, sample lines marked). It is the sample's own look, framed by paper.
   The base is Loud (the hero mini mock uses it too). The four demo vibes are further down (BE.6 Rev 2). */
.mock {
  --m-bg: #0E100B; --m-ink: #F4F1F6; --m-mut: #A9B0A0; --m-cap: #060705; --m-acc: var(--lime); --m-accink: #0E100B;
  --m-btn: #F4F1F6; --m-btnink: #0E100B; --m-bd: transparent; --m-bw: 0px; --m-rad: 10px;
  --m-font: "Anton", "Arial Narrow", Impact, sans-serif; --m-w: 400; --m-align: left; --m-rot: 0deg; --m-tile: #22261C; --m-pad: var(--s5); --m-ls: -.03em;
  --m-label: ui-monospace, "Cascadia Mono", Consolas, monospace;
  position: relative;
  background: var(--m-bg); color: var(--m-ink); border: var(--m-bw) solid var(--m-bd); border-radius: var(--m-rad);
  padding: var(--m-pad); display: grid; gap: var(--s4); align-content: start; text-align: var(--m-align);
  transform: rotate(var(--m-rot)); min-height: 100%; transition: transform 180ms ease-out, opacity 180ms ease-out;
}
.mock[data-vibe="loud"], .mock:not([data-vibe]) { --m-rot: -1.5deg; }

.mock-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2) var(--s3); font-size: .95rem; }
.mock-links { display: flex; gap: var(--s4); color: var(--m-mut); font-size: .85rem; font-weight: 600; }
.mock-links i { font-style: normal; }
.mock-tools { display: none; }
.mock-brand { font-family: var(--m-font); font-weight: var(--m-w); letter-spacing: 0; font-size: 1.15rem; line-height: 1.1; overflow-wrap: anywhere; }
.mock-brand.is-empty { color: var(--m-mut); font-family: var(--font-b); font-style: italic; font-weight: 600; }
.mock-stage { position: relative; }
.mock-hero { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--m-tile); border-radius: calc(var(--m-rad) * .5); }
.mock-cap {
  position: relative; width: min(84%, 340px); margin: calc(-1 * var(--s7)) 0 0 var(--s3); padding: var(--s4);
  background: var(--m-cap); border-radius: calc(var(--m-rad) * .6); display: grid; gap: var(--s2); justify-items: start; transform: rotate(-2deg);
}
.mock-h { font-family: var(--m-font); font-weight: var(--m-w); font-size: var(--t-h3); line-height: 1.08; letter-spacing: var(--m-ls); }
.mock-h em { font-style: normal; color: var(--m-acc); }
.mock-cap .mock-h { font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); }
.mock-trade { font-family: var(--m-label); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; line-height: 1; display: inline-flex; align-items: center; gap: var(--s2); }
.mock-trade::before { content: ""; width: .7em; height: .7em; border-radius: 50%; background: var(--m-acc); }   /* the live dot */
.mock-trade:empty { display: none; }
.mock-btn {
  justify-self: start; background: var(--m-btn); color: var(--m-btnink); border-radius: 999px;
  padding: var(--s2) var(--s4); font-weight: 600; font-size: .95rem;
}
.mock-tiles img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The demo mock (BE.6 Rev 2, Lamar 2026-09-27): four real restaurant sites, one idea each
   (_refs/owner-target-2026-09-26/vibes-inspiration-2026-09-27.webp). Same markup in all four: bar, stage (photo and
   caption), then the photo row. Sizes use cqi (1% of the mock's width), so the live mock and its 640px thumbnail
   copies match. The sample never uses the studio's faces (Archivo, Caveat Brush).
     loud  = near-black, the photo cut on a hard diagonal to the right edge, heavy narrow caps (Anton), one lime word
     clean = white, a tight grotesk (Figtree 800), mono eyebrow, the photo in a soft grey panel, black pill
     calm  = linen and deep green, a display serif (Gloock), a large soft photo, lots of air
     warm  = espresso, cream and amber, a friendly serif (Bree Serif), the photo melts into the dark with a warm glow */
.mock--demo {
  container-type: inline-size; padding: 0; gap: 0; overflow: hidden; border-radius: 6px;
  --m-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.mock--demo[data-vibe] { --m-rot: 0deg; }   /* flat in its paper */
.mock--demo .mock-bar { padding: 2.6cqi 4.5cqi; }
.mock--demo .mock-brand { font-size: clamp(.95rem, 3.2cqi, 1.45rem); }
.mock--demo .mock-links { gap: 3.6cqi; align-items: center; color: var(--m-ink); font-size: clamp(.72rem, 2cqi, .9rem); }
.mock--demo .mock-tools { display: inline-flex; }
.mock--demo .mock-tools svg { width: clamp(14px, 2.8cqi, 20px); height: auto; }
.mock--demo .mock-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.mock--demo .mock-hero { grid-column: 2; grid-row: 1; border-radius: 0; }
.mock--demo .mock-cap { grid-column: 1; grid-row: 1; position: relative; z-index: 1; width: auto; margin: 0; padding: 0; background: none; transform: none; gap: 3cqi; }
.mock--demo .mock-cap .mock-h { font-size: 8cqi; }
.mock--demo .mock-trade { font-size: clamp(.64rem, 1.7cqi, .8rem); }
.mock--demo .mock-btn { display: inline-flex; align-items: center; white-space: nowrap; gap: 1.2cqi; padding: 1.7cqi 3.4cqi; font-size: clamp(.72rem, 2.1cqi, 1rem); }
.mock--demo .mock-btn::after { content: ""; width: 1.1em; height: 1.1em; flex: none; background: currentColor; -webkit-mask: var(--m-arrow) center / contain no-repeat; mask: var(--m-arrow) center / contain no-repeat; }

/* The photo row is the sample site's next section, drawn in the picked vibe (Lamar 2026-09-27: it must match the site). */
.mock-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3cqi; align-items: start; padding: 4cqi 4.5cqi 5cqi; }
.mock-tiles figure { margin: 0; display: grid; position: relative; }
.mock-tiles i { display: block; aspect-ratio: 4 / 3; background: var(--m-tile); overflow: hidden; }
.mock-tiles figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1cqi; padding: 1.8cqi 2cqi; color: var(--m-ink); font-size: clamp(.7rem, 2.3cqi, 1rem); line-height: 1.1; }
.mock-tiles figcaption .ic { width: 1.5em; height: 1.5em; stroke-width: 1.75; flex: none; }

/* loud */
.mock[data-vibe="loud"] .mock-h { text-transform: uppercase; letter-spacing: 0; }
.mock--demo[data-vibe="loud"] .mock-brand { text-transform: uppercase; letter-spacing: .02em; }
.mock--demo[data-vibe="loud"] .mock-links { color: var(--m-mut); font-weight: 600; }
.mock--demo[data-vibe="loud"] .mock-stage { grid-template-columns: 47% 1fr; grid-template-rows: 52cqi; }
.mock--demo[data-vibe="loud"] .mock-hero {   /* the photo runs to the right edge; its left side is a hard diagonal cut */
  grid-column: 1 / -1; justify-self: end; width: 62%; height: 100%; aspect-ratio: auto; object-position: 38% 50%;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}
.mock--demo[data-vibe="loud"] .mock-cap { padding-left: 4.5cqi; gap: 3.4cqi; }
.mock--demo[data-vibe="loud"] .mock-cap .mock-h { font-size: 10.4cqi; line-height: .9; }
.mock--demo[data-vibe="loud"] .mock-btn { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(.66rem, 1.9cqi, .9rem); }
.mock--demo[data-vibe="loud"] .mock-tiles { gap: 3.4cqi; }
.mock--demo[data-vibe="loud"] .mock-tiles i { border-radius: 1.2cqi 1.2cqi 0 0; }
.mock--demo[data-vibe="loud"] .mock-tiles figcaption {   /* a white bar with a torn top edge over the photo's foot */
  position: relative; margin-top: -2.2cqi; padding-top: 2.8cqi; background: var(--m-ink); color: var(--m-bg);
  font-family: var(--m-font); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(.8rem, 3.1cqi, 1.35rem);
  clip-path: polygon(0 22%, 7% 10%, 14% 19%, 22% 6%, 31% 17%, 39% 8%, 47% 18%, 55% 5%, 63% 15%, 71% 7%, 79% 18%, 87% 8%, 94% 16%, 100% 6%, 100% 100%, 0 100%);
}
.mock--demo[data-vibe="loud"] .mock-tiles figure:nth-child(2) figcaption { transform: rotate(.8deg); }
.mock--demo[data-vibe="loud"] .mock-tiles figcaption .ic { color: var(--m-bg); background: var(--m-acc); border-radius: 50%; stroke-width: 2; }

/* clean */
.mock[data-vibe="clean"] {
  --m-bg: #FFFFFF; --m-ink: #111111; --m-mut: #666664; --m-acc: #111111; --m-btn: #111111; --m-btnink: #FFFFFF;
  --m-bd: #E4E4E0; --m-rad: 6px; --m-font: Figtree, system-ui, sans-serif; --m-w: 800; --m-ls: -.045em; --m-tile: #EFEFEC;
  --m-label: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
.mock--demo[data-vibe="clean"] .mock-bar { border-bottom: 1px solid var(--m-bd); }
.mock--demo[data-vibe="clean"] .mock-brand { letter-spacing: -.03em; }
.mock--demo[data-vibe="clean"] .mock-links { font-weight: 500; }
.mock--demo[data-vibe="clean"] .mock-stage { grid-template-columns: 1fr 1.1fr; grid-template-rows: 50cqi; gap: 5cqi; padding-left: 5.5cqi; }
.mock--demo[data-vibe="clean"] .mock-hero {   /* the right half is a light grey panel, flush to the edges; the photo sits in it */
  height: 100%; aspect-ratio: auto; padding: 4cqi; background: #F1F1EE; object-position: 55% 50%;
}
.mock--demo[data-vibe="clean"] .mock-trade { color: var(--m-mut); font-weight: 500; letter-spacing: .14em; }
.mock--demo[data-vibe="clean"] .mock-trade::before { width: .45em; height: .45em; background: var(--m-ink); }
.mock--demo[data-vibe="clean"] .mock-cap .mock-h { font-size: 7.6cqi; line-height: .94; text-transform: uppercase; }
.mock--demo[data-vibe="clean"] .mock-h em { color: inherit; }
.mock--demo[data-vibe="clean"] .mock-btn { font-weight: 600; }
.mock--demo[data-vibe="clean"] .mock-tiles { border-top: 1px solid var(--m-bd); padding-top: 4.5cqi; }
.mock--demo[data-vibe="clean"] .mock-tiles figure { border: 1px solid var(--m-bd); border-radius: 2cqi; overflow: hidden; background: #fff; }
.mock--demo[data-vibe="clean"] .mock-tiles i { aspect-ratio: 16 / 10; }
.mock--demo[data-vibe="clean"] .mock-tiles figcaption { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(.68rem, 2cqi, .9rem); }
.mock--demo[data-vibe="clean"] .mock-tiles figcaption .ic { stroke-width: 1.5; }

/* calm */
.mock[data-vibe="calm"] {
  --m-bg: #F2EDE3; --m-ink: #1F3A2B; --m-mut: #56665A; --m-acc: #4F6F45; --m-btn: #1F3A2B; --m-btnink: #F2EDE3;
  --m-rad: 6px; --m-font: "Gloock", Georgia, "Times New Roman", serif; --m-w: 400; --m-ls: -.01em; --m-tile: #E4DDCD;
}
.mock--demo[data-vibe="calm"] .mock-links { font-weight: 500; }
.mock--demo[data-vibe="calm"] .mock-stage { grid-template-columns: 1fr 1.04fr; gap: 5cqi; padding: 3.5cqi 5.5cqi 7cqi 6cqi; }
.mock--demo[data-vibe="calm"] .mock-hero { aspect-ratio: 1; border-radius: 5cqi; object-position: 50% 55%; box-shadow: 0 3cqi 7cqi -4cqi rgba(31, 58, 43, .45); }
.mock--demo[data-vibe="calm"] .mock-cap { gap: 3.6cqi; }
.mock--demo[data-vibe="calm"] .mock-trade { color: var(--m-acc); font-family: var(--font-b); font-weight: 600; letter-spacing: .24em; }
.mock--demo[data-vibe="calm"] .mock-trade::before { width: 2.2em; height: 1px; border-radius: 0; }   /* a hairline, not a dot */
.mock--demo[data-vibe="calm"] .mock-cap .mock-h { font-size: 8.6cqi; line-height: 1.02; }
.mock--demo[data-vibe="calm"] .mock-h em { color: var(--m-acc); }
.mock--demo[data-vibe="calm"] .mock-btn { font-weight: 600; letter-spacing: .01em; padding: 1.9cqi 3.8cqi; }
.mock--demo[data-vibe="calm"] .mock-tiles { gap: 3.4cqi; padding: 1cqi 5.5cqi 6cqi; }
.mock--demo[data-vibe="calm"] .mock-tiles figure { padding: 1.4cqi; border-radius: 2.4cqi; background: #FAF7F0; box-shadow: 0 1px 0 rgba(31, 58, 43, .08); }
.mock--demo[data-vibe="calm"] .mock-tiles i { border-radius: 1.6cqi; }
.mock--demo[data-vibe="calm"] .mock-tiles figcaption { padding: 1.8cqi .6cqi .4cqi; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(.68rem, 1.9cqi, .85rem); }
.mock--demo[data-vibe="calm"] .mock-tiles figcaption .ic { color: var(--m-acc); stroke-width: 1.25; }

/* warm */
.mock[data-vibe="warm"] {
  --m-bg: #24150E; --m-ink: #FFF0DC; --m-mut: #D8BD9C; --m-acc: #F2B144; --m-accink: #24150E; --m-btn: #F2B144; --m-btnink: #24150E;
  --m-rad: 6px; --m-font: "Bree Serif", Georgia, "Times New Roman", serif; --m-w: 400; --m-ls: -.005em; --m-tile: #3A2418;
}
.mock--demo[data-vibe="warm"] .mock-links { color: var(--m-mut); font-weight: 500; }
.mock--demo[data-vibe="warm"] .mock-stage { grid-template-columns: 48% 1fr; grid-template-rows: 52cqi; }
.mock--demo[data-vibe="warm"] .mock-hero {   /* the photo melts into the espresso on its left */
  grid-column: 1 / -1; justify-self: end; width: 64%; height: 100%; aspect-ratio: auto; object-position: 40% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%);
}
.mock--demo[data-vibe="warm"] .mock-stage::after {   /* candle glow on the photo's soft edge */
  content: ""; position: absolute; inset: 0 0 0 30%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(40% 70% at 22% 55%, rgba(242, 177, 68, .34), transparent 70%);
}
.mock--demo[data-vibe="warm"] .mock-cap { padding-left: 5cqi; gap: 3.2cqi; }
.mock--demo[data-vibe="warm"] .mock-trade { color: var(--m-acc); font-family: var(--font-b); font-weight: 700; letter-spacing: .16em; }
.mock--demo[data-vibe="warm"] .mock-cap .mock-h { font-size: 8.6cqi; line-height: 1.02; }
.mock--demo[data-vibe="warm"] .mock-h em { color: var(--m-acc); }
.mock--demo[data-vibe="warm"] .mock-btn { font-weight: 700; }
.mock--demo[data-vibe="warm"] .mock-tiles figure { border-radius: 2cqi; overflow: hidden; background: #F6E4C6; }
.mock--demo[data-vibe="warm"] .mock-tiles figcaption { color: var(--m-bg); font-family: var(--m-font); font-size: clamp(.75rem, 2.6cqi, 1.15rem); }

@container (max-width: 420px) {   /* a narrow mock (phones): one column, photo and words stacked, as a real phone site */
  .mock--demo .mock-stage, .mock--demo[data-vibe] .mock-stage { grid-template-columns: 1fr; grid-template-rows: auto; gap: 5cqi; padding: 6cqi 6cqi 8cqi; }
  .mock--demo[data-vibe] .mock-hero, .mock--demo[data-vibe] .mock-cap { grid-column: 1; grid-row: auto; justify-self: stretch; width: 100%; }
  .mock--demo[data-vibe] .mock-cap { padding-left: 0; }
  .mock--demo[data-vibe] .mock-cap .mock-h { font-size: 12cqi; }
  .mock--demo[data-vibe="loud"] .mock-stage, .mock--demo[data-vibe="warm"] .mock-stage { padding-top: 0; }
  .mock--demo[data-vibe="loud"] .mock-hero { height: auto; aspect-ratio: 4 / 3; margin-inline: -6cqi; width: calc(100% + 12cqi); clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); }
  .mock--demo[data-vibe="loud"] .mock-cap .mock-h { font-size: 15cqi; }
  .mock--demo[data-vibe="warm"] .mock-hero { height: auto; aspect-ratio: 4 / 3; margin-inline: -6cqi; width: calc(100% + 12cqi); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .mock--demo[data-vibe="warm"] .mock-stage::after { inset: 0; background: radial-gradient(70% 40% at 50% 62%, rgba(242, 177, 68, .3), transparent 70%); }
  .mock--demo[data-vibe="clean"] .mock-hero, .mock--demo[data-vibe="calm"] .mock-hero { aspect-ratio: 4 / 3; }
  .mock--demo[data-vibe="clean"] .mock-stage { padding-top: 0; }
  .mock--demo[data-vibe="clean"] .mock-hero { order: -1; height: auto; margin-inline: -6cqi; width: calc(100% + 12cqi); padding: 5cqi; }
  .mock--demo .mock-tiles { gap: 2.4cqi; padding-inline: 4cqi; }
  .mock--demo .mock-tiles figcaption { white-space: nowrap; }
  .mock--demo .mock-tiles figcaption .ic { display: none; }   /* one-line captions: no arrow at this size */
}


/* ── how we mek: the scraps at step 01 (BE.9 e: the Ideas section is gone, its objects moved here). Ink drawings on small paper ── */
.scraps { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: flex-start; }
.scrap { display: grid; gap: var(--s1); justify-items: center; align-content: start; width: 136px; text-align: center; }
.scrap.sheet { --k: 3; --py: var(--s2); --px: var(--s2); }
.scrap svg { width: 100%; height: auto; overflow: visible; }
.scrap span { font-family: var(--font-m); text-transform: uppercase; font-size: 1.15rem; line-height: 1; letter-spacing: .02em; }
.scrap:nth-child(even) { margin-top: var(--s4); }
@media (max-width: 639px) {
  .scraps { width: 100%; gap: var(--s3); }
  .scrap { width: calc((100% - var(--s3)) / 2); }   /* 2 a row: at 3 a row "SCREENSHOT" (18px, one word) was wider than the paper */
  .scrap svg { max-width: 96px; }
  .scrap:nth-child(even) { margin-top: var(--s2); }
  .scrap:last-child:nth-child(odd) { margin-inline: auto; }   /* the 5th card centres under the 2 x 2, not left alone under the first column (BE.10) */
}
.o-i { fill: var(--stock-ink); }
.o-m { fill: var(--mag); }
.o-s { fill: none; stroke: var(--stock-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.o-w { stroke-width: 7; }   /* heavy line: a headline drawn as a bar (How we mek, step 03) */

/* ── what I mek (BE.8 Rev 2: board B tile 4 + board 5 tile 4) ── */
.tag { font-family: var(--font-d); font-size: var(--t-h2); }
.tag.sheet { width: fit-content; max-width: 100%; }   /* the heading paper hugs the words (BE.5) */
.tier { display: grid; gap: var(--s3); align-content: start; justify-items: center; text-align: center; }
.tier.sheet { --py: var(--s5); --px: var(--s5); }
.tier-ic { display: grid; place-items: center; width: 68px; height: 68px; background: var(--mag); border: 2.5px solid var(--stock-ink); border-radius: 6px; transform: rotate(-3deg); }
.tier-ic .ic { width: 38px; height: 38px; stroke: var(--stock-ink); stroke-width: 1.6; }
.tier h3 { font-family: var(--font-d); font-size: clamp(2.2rem, 1.4rem + 2vw, 3.4rem); }
.tier p { color: var(--stock-ink); }
/* the domain line on a pink tape strip (the tape image, stretched between its torn ends), the rest under it, the note, the crown */
.keys { display: grid; gap: var(--s3); justify-items: center; text-align: center; width: fit-content; max-width: 100%; }
.keys-strip {
  display: inline-block; padding: 14px 30px; color: var(--stock-ink); font-weight: 700; font-size: clamp(1.1rem, .95rem + .6vw, 1.5rem); line-height: 1.25;
  background: url("../assets/paper/pink-strip.webp") center / 100% 100% no-repeat;   /* torn pink paper, no tape (Lamar 2026-09-27: "remove all the tapes") */
  transform: rotate(-1.5deg);
}
.wall .keys-line { color: var(--ink); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.keys-note { --nr: -3deg; }

/* ── how we mek (BE.8 Rev 2: board B tile 5 + board 5 tile 5): step cards, pink numbers, pencil sketches, arrows between ── */
.how-row { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap-in); width: 100%; }
.how-step { display: flex; flex-direction: column; gap: var(--s2); }
.how-step.sheet { --py: var(--s4); --px: var(--s4); }
.how-step h3 { font-family: var(--font-d); font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.6rem); }
/* pink numbers as on board B. #C4005F, not --mag: 3.2:1 on the paper, enough for big bold text (--mag is 2.4:1) */
.how-step .n { display: block; font-size: max(.62em, 1.17rem); color: var(--mag-ink); margin-bottom: .15em; }   /* launch-hardening 2026-10-18: at 375 .62em was 17.9px (not "large" text, needs 4.5:1) and #C4005F measured 3.4:1 on the paper. 1.17rem = 18.7px bold = large (3:1); --mag-ink is the lock's pink-on-paper text token */
.how-step p { color: var(--stock-ink); }
.how-step .sketch { margin-top: auto; padding-top: var(--s3); width: 100%; max-width: 280px; height: auto; align-self: center; opacity: .88; }
.how-note { --nr: -4deg; padding-left: 40px; }
.how-note .mark { --mw: 34px; left: 0; top: .1em; --r: 180deg; --mf: -1; }   /* points down at step 01 */

/* ── work (BE.8 Rev 2: board B tile 6): name on a pink strip, the line, tags, the real screenshot in a paper instant-film frame (BE.9 item 10) ── */
.work { display: grid; gap: var(--s4); align-content: start; justify-items: start; container-type: inline-size; }
.nb { white-space: nowrap; }
.work .label { color: var(--muted); font-weight: 600; font-size: .95rem; }
.work-name { font-family: var(--font-d); font-size: clamp(2rem, 1.3rem + 2vw, 3.2rem); width: fit-content; max-width: 100%; }
.work-name.sheet { --k: 2; --py: var(--s1); --px: var(--s3); }
.wall .work-line { color: var(--ink); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.4; }
.work-tags { display: flex; flex-wrap: wrap; gap: var(--s2); }
.work-tags li { display: inline-flex; align-items: center; gap: .4em; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; line-height: 1.2; }
/* narrow columns (a 375 phone, or the 1100 two-up desktop row) split 2 + 1 with "Scent Lab" dangling alone:
   push the longest tag onto its own row so the other two pair up on the next one instead */
@container (max-width: 400px) { .work-tags li:first-child { flex-basis: 100%; } }
.film { position: relative; margin: 0; container-type: inline-size; transform: rotate(-1.5deg); filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55)); }
.film-frame { position: relative; display: block; width: 100%; height: auto; pointer-events: none; }
/* the window in film-frame: x 56-876, y 67-585 of 938 x 742; the shot bleeds ~0.4% under the frame on each side */
.film-cap { position: absolute; left: 0; right: 0; top: 79%; bottom: 1%; display: grid; place-items: center; transform: rotate(-2deg);
  font-family: var(--font-m); text-transform: uppercase; letter-spacing: .02em; line-height: 1; color: var(--stock-ink); font-size: max(18px, 5cqi); }   /* written on the thick bottom band, like a real print */
.film-shot { position: absolute; left: 5.6%; top: 8.6%; width: 88.2%; height: 70.7%; object-fit: cover; object-position: top; background: #0d0c0f; }

/* ── before / after (BE.8 Rev 2: board B tile 7 + board 5 tile 7) ── */
.bx-h { font-size: var(--t-h2); width: fit-content; max-width: 100%; text-align: center; }
.bx-h .nb { display: block; }
.bx { display: grid; gap: var(--s3); width: 100%; }
.bx-card { position: relative; }   /* holds the Before tape outside the paper, so the tape is not paper text */
.bx-before, .bx-after { display: grid; align-content: start; }
.bx-before.sheet, .bx-after.sheet { --py: var(--s5); --px: var(--s5); }
.bx-tag { position: absolute; top: -16px; left: 10%; z-index: 5; }
.bx-card > .bx-tag { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); padding-block: 10px; }
.bx-tag--paper.sheet { position: absolute; --k: 3; --py: 2px; --px: 10px; font-family: var(--font-m); text-transform: uppercase; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); line-height: 1; }
.bx-list { display: grid; gap: .8em; margin-top: var(--s4); font-weight: 600; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.25; color: var(--stock-ink); }
.bx-list li { display: flex; align-items: center; gap: .8em; }
.bx-list .ic { width: 1.45em; height: 1.45em; stroke-width: 1.6; }
.bx-arrow { position: relative; --mw: clamp(44px, 2vw + 24px, 72px); justify-self: center; align-self: center; --r: 90deg; margin: var(--s2) 0; }

/* the work page (/work/dweet-fresh) keeps the older before/after pair */
.ba-title { max-width: 22ch; }
@media (min-width: 640px) { .ba-title { padding-left: 17%; } }
.ba { display: grid; gap: var(--s4); }
.ba-pair { display: grid; gap: var(--s4); }
.ba .ba-before, .ba .mount > .after { display: grid; gap: var(--s3); align-content: start; }
.ba .ba-before.sheet { --py: var(--s3); --px: var(--s4); }
.ba .lbl { font-weight: 600; font-size: .95rem; color: var(--stock-muted); }
.ba .after { background: var(--bg); color: var(--ink); border: 3px solid var(--paper); border-radius: var(--radius); padding: var(--s5); }
.ba .after .lbl { color: var(--ink); }
.slot {
  display: grid; place-items: center; text-align: center;
  aspect-ratio: var(--slot-ratio, 9 / 16); max-height: 320px; width: 100%;
  border: 2px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: .9rem; padding: var(--s3); min-width: 0;
}
.ba-before .slot { border-color: var(--stock-muted); color: var(--stock-muted); }
.shot { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.after .slot { border-color: var(--line); color: var(--muted); --slot-ratio: 16 / 10; }
/* Board B tile 6 on the work page: their Instagram in a phone -> the site on pink paper. Reuses the home .bx pieces. */
.ba-six { margin-top: var(--s5); }
.ba-side { margin: 0; display: grid; gap: var(--s3); justify-items: center; }
.ba-side > .lbl { color: var(--ink); text-align: center; }
.ba-six .bx-card { justify-self: center; width: min(60%, 240px); }
.phone { position: relative; background: #0b0a0d; border: 2px solid #2d2a31; border-radius: 26px; padding: 30px 8px 14px; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55)); }
.phone::before { content: ""; position: absolute; top: 13px; left: 50%; width: 22%; height: 5px; margin-left: -11%; border-radius: 3px; background: #2d2a31; }   /* the speaker: the top bezel carries the Before tape, off their handle */
.phone img { display: block; width: 100%; height: auto; border-radius: 16px; }
.ba-six .bx-after { width: 100%; }
.ba-six .bx-arrow { --r: 90deg; margin: var(--s2) 0; }   /* stacked: points down (the home rule turns it right from 640) */
.ba-six .bx-after .shot { margin-top: var(--s4); border-color: var(--stock-muted); }
@media (min-width: 1100px) {   /* side by side only from 1100: at 768 the After paper shrank to a stamp beside the phone */
  .ba-six { grid-template-columns: minmax(0, 240px) auto minmax(0, 1fr); align-items: center; column-gap: var(--s4); }
  .ba-six .bx-card { width: 100%; }
  .ba-six .bx-arrow { --r: 0deg; margin: 0; }
}

/* ── prices ───────────────────────────────────────────────── */
.price { display: grid; gap: var(--s2); align-content: start; min-width: 0; }
.price .name { font-family: var(--font-d); font-size: 1.15rem; }
.price .amt { font-family: var(--font-d); font-size: clamp(1.6rem, .6rem + 2.8vw, 2.6rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.price .what { color: var(--stock-ink); }
.price { grid-template-rows: auto auto auto 1fr auto; position: relative; }   /* BE.9: the button sits on the card's floor, so all 3 line up */
.price .btn { justify-self: start; align-self: end; margin-top: var(--s3); }
.gets { list-style: none; margin: 0; padding: var(--s2) 0 0; border-top: 1.5px solid color-mix(in srgb, var(--stock-ink) 25%, transparent); display: grid; gap: 10px; align-content: start; color: var(--stock-ink); font-size: .98rem; font-weight: 500; line-height: 1.35; }
.gets li { position: relative; padding-left: 28px; }
.gets li .ic { position: absolute; left: 0; top: .1em; width: 20px; height: 20px; stroke: var(--stock-ink); stroke-width: 3; }
.price .amt, .plan .amt { color: var(--mag-ink); }
.rec-tag { top: -22px; right: 8%; --r: 3deg; }   /* Recommended, not "Most popular": no numbers to prove it */
.plans { display: grid; gap: var(--gap-in); align-content: start; }
.plan { display: grid; gap: var(--s2); align-content: start; }
.plan .name, .price .name { font-family: var(--font-d); font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); text-transform: uppercase; line-height: 1; }
.plan .amt { font-family: var(--font-d); font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); line-height: 1; }
.faq { display: grid; gap: var(--s4); }
.faq summary { font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.faq details p { color: var(--stock-muted); padding-top: var(--s2); }

/* ── the human (BE.9 4: board 5 tile 9 + board B tile 11): heading paper, round portrait slot + pink sticker, role tags, note, line ── */
.me-face { position: relative; width: clamp(240px, 14vw + 130px, 340px); }
.face-card.sheet { --k: 1.5; --py: var(--s3); --px: var(--s3); }   /* card-square: 340px wide stays at 1.1x */
.face-sketch { width: 100%; height: auto; opacity: .9; }
.face-stk {   /* the pink round sticker on the ring's edge (board: LAMAR KINGSTON) */
  position: absolute; z-index: 2; top: -9%; right: -10%; width: 34%; aspect-ratio: 1; display: grid; place-items: center; text-align: center;
  background: url("../assets/paper/pink-round.webp") 50% 45% / 112% auto no-repeat; color: var(--stock-ink);
  font-family: var(--font-m); text-transform: uppercase; font-size: clamp(1.15rem, .9rem + .6vw, 1.5rem); line-height: .95; transform: rotate(-8deg);
}
.roles { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.role { font-family: var(--font-m); font-size: clamp(1.25rem, 1rem + .7vw, 1.75rem); line-height: 1; }
.role.sheet { --k: 2; --py: 0px; --px: var(--s2); }
@media (max-width: 639px) {   /* the 3 need 412px in a row and a phone has 288-351: 2 + 1 left "Problem solver" alone. A short list, as on board tile 9 (BE.10) */
  .roles { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .role:nth-child(2) { margin-left: var(--s5); }
}
.me-say { display: grid; gap: var(--s4); align-content: start; }
.me-note { position: relative; color: var(--ink); --nr: -5deg; }
@media (min-width: 640px) and (max-width: 1099px) { .scrap { width: calc((100% - 4 * var(--s4)) / 5); max-width: 136px; } }   /* 5 in one row */
.wall .me-line { color: var(--ink); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.45; max-width: 38ch; }

/* ── final CTA ────────────────────────────────────────────── */
.end { font-size: clamp(2.4rem, 1rem + 5vw, 5.6rem); }
.last-under { display: grid; gap: var(--s4); align-content: center; justify-items: start; }
.last-under.sheet { --py: var(--s4); --px: var(--s5); color: var(--bg); --focus: var(--bg); }
.last-under .print { color: var(--bg); font-size: clamp(1.8rem, 5vw, 3.6rem); }
.last-under .print.is-empty { color: var(--bg); opacity: .85; }
.last-under .btn { background: var(--paper); color: var(--stock-ink); }   /* .last-under: the work page's CTA */
.end-card { display: grid; gap: var(--s4); align-content: start; z-index: 2; }
.end-card.sheet { --k: 1.5; --py: var(--s5); --px: var(--s6); }
.end-card .end { font-size: clamp(2.2rem, 1rem + 3.6vw, 4.6rem); }
.end .lit { color: #C4005F; }   /* 3.2:1 on the paper, big bold text (--mag is 2.4:1) */
.wall .end-sub { color: var(--stock-ink); font-size: clamp(1.05rem, .95rem + .3vw, 1.2rem); max-width: 46ch; }
.end-row { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: flex-end; }
.end-field { display: grid; gap: var(--s1); flex: 1 1 220px; max-width: 360px; }
.end-field label { color: var(--stock-muted); font-size: .95rem; font-weight: 600; }
.end-card .field-msg { color: var(--stock-ink); min-height: 0; }
.end-card .field-msg:empty { display: none; }
.end-soon { display: grid; place-items: center; min-height: 190px; }
.end-soon.sheet { --k: 1.5; --py: var(--s5); --px: var(--s6); }
/* Phones: as the hero paper, a thinner tear and less padding. "I'LL MEK IT SEEN." stays one line and is 7.47em (measured),
   so it gets the screen minus the wall gutters (32px) and the paper's tear + padding (66px at --k 2), at 7.8em for margin.
   Before this the line held the paper open to 394px in a 288px column at 320 (visual-check overflow FAIL, 2026-09-27). */
@media (max-width: 759.98px) {
  .end-card.sheet { --k: 2; --px: var(--s3); }   /* at 3 the paper stretched 1.8x tall (limit 1.6) */
  .end-soon.sheet { --k: 3; --px: var(--s3); }
  .end-card .end { font-size: min(clamp(2.2rem, 1rem + 3.6vw, 4.6rem), calc((100vw - 98px) / 7.8)); }
}
.wall .soon { font-family: var(--font-m); text-transform: uppercase; letter-spacing: .02em; color: var(--stock-ink);
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 4rem); line-height: .95; transform: rotate(-6deg); max-width: none; white-space: nowrap; }
.soon-crown { --mw: clamp(44px, 1.6vw + 26px, 64px); --mc: var(--mag); --r: 10deg; right: 10%; top: auto; bottom: calc(100% + 2px); }   /* on the wall above the pink paper: on the paper it sat on the words */

/* ── footer ───────────────────────────────────────────────── */
.foot {
  max-width: 1600px; margin-inline: auto; padding: var(--s6) var(--gutter) var(--s7);
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7); justify-content: space-between; align-items: center;
  color: var(--muted); font-size: .95rem; border-top: 1px solid #34303A;
}
.foot a { color: var(--ink); display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; }
/* BE.9 7 (board 5 bottom row + board B tile 15): wordmark and tagline | WhatsApp | place | the paper tag with a crown */
.foot-brand { display: flex; align-items: center; gap: var(--s4); color: var(--ink); }
.foot-brand .wordmark { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s5); }
.foot-tag { position: relative; margin-right: 56px; font-family: var(--font-m); text-transform: uppercase; letter-spacing: .02em; font-size: 1.15rem; line-height: 1; }
.foot-tag.sheet { --k: 3; --py: 4px; --px: 10px; }
@media (min-width: 1100px) { .foot-links { margin-left: auto; } }
@media (max-width: 639px) { .foot { flex-direction: column; align-items: flex-start; gap: var(--s3); } .foot-tag { margin-top: var(--s2); } }

/* ── 404 + work page ──────────────────────────────────────── */
.lost { min-height: calc(100vh - 160px); display: grid; align-content: center; justify-items: start; gap: var(--s6); padding: var(--s7) var(--gutter); max-width: 1600px; margin-inline: auto; }
.lost .h1 { max-width: 12ch; }
.lost-h { position: relative; }
.lost-h .mark { top: auto; bottom: calc(100% + .4em); right: 0; }   /* .4em: at line-height .9 the letter boxes reach .3em above the line box. Above the heading's right end: the heading can fill the width, so beside it would scroll sideways */
.lost p { color: var(--muted); max-width: 40ch; }
.lost-h.sheet { --k: 1.5; --py: var(--s4); --px: var(--s5); }   /* BE.9 8: the heading on torn paper, as on both boards */
.lost .lost-note { color: var(--ink); --nr: -6deg; margin-left: 8%; }
.home-stk { display: inline-block; text-decoration: none; }
.home-stk.sheet { --k: 3; --focus: var(--ink); }   /* the ring sits outside the paper, on the dark wall */
/* Stage 10 A3: Back home, then three plain links on the wall, as in the top nav */
.lost-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); }
.lost-links a:not(.home-stk) { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; --focus: var(--ink); }
@media (max-width: 639px) { .lost-links { flex-direction: column; align-items: flex-start; } }   /* phones: one column, never one link dangling on a second row */
.page-head { max-width: 1600px; margin-inline: auto; padding: var(--s6) var(--gutter) 0; display: grid; gap: var(--s5); }
.page-head .h1 { font-size: clamp(2.4rem, 1rem + 6vw, 6rem); max-width: 16ch; }
.page-head .sub { color: var(--ink); max-width: 44ch; }

/* work page (/work/dweet-fresh) placements; mobile flows in source order */
.gw-move.sheet, .gw-build.sheet { --k: 1.5; }
@media (min-width: 640px) { .gw-ba .ba-pair { max-width: 640px; } }   /* one column of paper: past 640px the pink sheet stretches over 1.6x */
@media (min-width: 640px) {
  .gw-move { grid-column: 1 / 8; grid-row: 1; }
  .gw-build { grid-column: 6 / 13; grid-row: 2; margin-top: calc(-1 * (var(--gap-in) + 20px)); }
  .gw-ba { grid-column: 2 / 12; grid-row: 3; }
  .gw-faq { grid-column: 2 / 12; grid-row: 4; }
  .gw-end { grid-column: 1 / 13; grid-row: 5; }
  .gw-last { grid-column: 4 / 13; grid-row: 6; }
}
@media (min-width: 1100px) {
  .gw-move { grid-column: 1 / 7; grid-row: 1; }
  .gw-build { grid-column: 7 / 13; grid-row: 1; margin-top: 64px; margin-left: -8px; }
  .gw-ba { grid-column: 2 / 12; grid-row: 2; }
  .gw-faq { grid-column: 3 / 12; grid-row: 3; }
  .gw-end { grid-column: 1 / 7; grid-row: 4; }
  .gw-last { grid-column: 7 / 13; grid-row: 4; align-self: end; }
}

/* ── 640 and up: each section is its own 12-column grid (the 1100 block below overrides these placements) ── */
@media (min-width: 640px) {
  :root { --gap-in: 24px; }
  .wall > section, .sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s4); row-gap: var(--gap-in); align-items: start; }

  .g-h1 { grid-column: 1 / 13; grid-row: 1; }
  .g-field { grid-column: 1 / 8; grid-row: 2; }
  .g-sub { grid-column: 1 / 8; grid-row: 3; margin-top: calc(-1 * var(--gap-in)); }   /* tucked up under the field */
  .hero .field-msg { min-height: 0; }
  .g-dev { grid-column: 8 / 13; grid-row: 2 / 5; justify-self: center; margin-top: var(--s3); }   /* the tapes stick up 6px */
  .hero { grid-template-rows: auto auto auto 1fr; }   /* the last row takes the phone's extra height, so it never pushes the field and the line down */
  .g-mek { grid-column: 1 / 13; grid-row: 1; justify-self: center; }
  .g-line { grid-column: 2 / 12; grid-row: 2; justify-self: center; }
  .demo-l { grid-column: 1 / 13; grid-row: 1; justify-items: start; }
  .demo-head, .pick { width: fit-content; max-width: 100%; }   /* each paper hugs its words and chips */
  .pick { max-width: min(100%, 640px); }   /* wider, the 6 chips sit on one line and the paper stretches past 1.6x (2.11x at 1099) */
  .demo-r { grid-column: 1 / 13; grid-row: 2; margin-top: var(--s5); }   /* the tape sticks up 24px: keep it off the vibe paper */
  .g-tag { grid-column: 1 / 13; grid-row: 1; }   /* the paper hugs the words (fit-content); the wide area only stops a wrap */
  .g-t1 { grid-column: 1 / 7; grid-row: 2; align-self: stretch; }
  .g-t2 { grid-column: 7 / 13; grid-row: 2; align-self: stretch; margin-top: var(--s5); }
  .g-t3 { grid-column: 1 / 7; grid-row: 3; }
  .g-keys { grid-column: 7 / 13; grid-row: 3; align-self: center; justify-self: center; }
  .g-htag { grid-column: 1 / 13; grid-row: 1; }
  .g-hnote { grid-column: 1 / 13; grid-row: 2; margin-left: 4%; }
  .g-steps { grid-column: 1 / 13; grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); row-gap: var(--s5); }
  .g-work { grid-column: 1 / 13; grid-row: 1; }
  .g-lap { grid-column: 2 / 12; grid-row: 2; margin-top: var(--s5); }
  .g-bxh { grid-column: 1 / 13; grid-row: 1; justify-self: center; }
  .g-bx { grid-column: 1 / 13; grid-row: 2; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: var(--s3); margin-top: var(--s5); }
  .bx-arrow { --r: 0deg; margin: 0; }
  .g-ptag { grid-column: 1 / 8; grid-row: 1; }
  .g-p1 { grid-column: 2 / 12; grid-row: 3; }
  .g-p2 { grid-column: 2 / 12; grid-row: 4; margin-top: var(--s4); }
  .g-p3 { grid-column: 2 / 12; grid-row: 5; margin-top: var(--s4); }
  .g-p1, .g-p2, .g-p3 { max-width: none; }   /* stacked, same width: no stagger below 1100 */
  .g-scraps { grid-column: 1 / 13; grid-row: 2; }
  .g-hnote { grid-row: 3; }
  .g-steps { grid-row: 4; }
  .g-metag { grid-column: 1 / 13; grid-row: 1; }
  .g-face { grid-column: 1 / 7; grid-row: 2; justify-self: center; margin-top: var(--s4); }
  .g-roles { grid-column: 7 / 13; grid-row: 2; align-self: center; flex-direction: column; align-items: flex-start; }
  .g-say { grid-column: 2 / 12; grid-row: 3; margin-top: var(--s5); }
  .g-endcard { grid-column: 1 / 13; grid-row: 1; }
  .g-soon { grid-column: 5 / 13; grid-row: 2; margin-top: -48px; }   /* under the card's bottom edge by 24px */
}

/* ── desktop 1100+ (the Canvas placements from brand-board section 9). Overlaps stay 8-32px ── */
@media (min-width: 1100px) {
  .wall > section, .sec { column-gap: 24px; }
  .g-h1 { grid-column: 1 / 8; grid-row: 1; }
  .g-field { grid-column: 1 / 8; grid-row: 2; margin-top: calc(-1 * (var(--gap-in) + 20px)); z-index: 2; }   /* over the headline paper's bottom band by 20px, as on the board */
  .g-sub { grid-column: 1 / 8; grid-row: 3; }
  /* The device ends at the wall's right edge (no empty wall past it). 44.4cqi = 576px at 1440; it stands about 1.12x its
     width tall, so with 3cqi on top it ends inside the 1440x800 frame, and keeps that share at every width. */
  .g-dev { grid-column: 7 / 13; grid-row: 1 / 5; justify-self: end; width: 44.4cqi; max-width: none; margin-top: 3cqi; }
  .field { width: 31cqi; }   /* 403px at 1440 */
  .hero-h1 .crown-corner { top: -.3em; }   /* above the paper's corner, clear of the device's tape */   /* starts under the crown, level with the first line */
  .mek .drag { font-size: clamp(5rem, 10.5vw + 1rem, 11rem); }   /* board B: the two labels fill about two thirds of the wall (BE.11: at 6vw they filled 44%) */
  .mek .drag.sheet { --k: 1.5; }   /* bigger labels: at --k 2 the paper stretched 1.83x tall (limit 1.6) */
  .mek-join { position: relative; }
  .pair-note { position: absolute; top: calc(100% + var(--s2)); right: 0; margin: 0; }   /* BE.11: beside the meaning lines, not a row of its own: the empty band under the labels closes */
  .demo-l { grid-column: 1 / 6; grid-row: 1; }
  .demo-l { justify-items: stretch; }
  .demo-head, .pick { width: auto; max-width: none; }
  .demo-r { grid-column: 6 / 13; grid-row: 1 / 3; margin-top: var(--s7); }   /* the site starts a little lower than the headline, as on the board */
  .g-tag { grid-column: 1 / 13; grid-row: 1; }
  .g-t1 { grid-column: 1 / 5; grid-row: 2; }
  .g-t2 { grid-column: 5 / 9; grid-row: 2; margin-top: -12px; }
  .g-t3 { grid-column: 9 / 13; grid-row: 2; margin-top: 8px; }
  .what .tier.sheet { justify-self: center; width: 100%; max-width: 390px; min-height: 400px; align-content: center; }   /* portrait, as on both boards; card-tall stays under 1.6x at 390 */
  .g-keys { grid-column: 2 / 12; grid-row: 3; justify-self: center; margin-top: var(--s5); }
  .g-htag { grid-column: 1 / 7; grid-row: 1; }
  .g-hnote { grid-column: 1 / 7; grid-row: 3; justify-self: start; margin: var(--s4) 0 0 4%; padding-left: 44px; }
  .how-note .mark { --r: 0deg; --mf: 1; top: -1.2em; }   /* under step 01, pointing up at it */
  .g-steps { grid-column: 1 / 13; grid-row: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 56px; }
  .how-step.sheet { max-width: none; }
  .how-step:not(:last-child)::after {   /* a hand arrow in the gap to the next card (board B) */
    content: ""; position: absolute; z-index: 2; top: 42%; right: -50px; width: 40px; aspect-ratio: 463 / 208;
    background: var(--ink); -webkit-mask: url("../assets/marks/arrow-straight.webp") center / contain no-repeat; mask: url("../assets/marks/arrow-straight.webp") center / contain no-repeat;
    transform: rotate(calc(-1 * var(--r, 0deg)));
  }
  .g-work { grid-column: 1 / 6; grid-row: 1; align-self: center; }
  .g-lap { grid-column: 6 / 13; grid-row: 1; margin: var(--s5) 3% 0 var(--s6); }   /* one row now: the note moved onto the frame, so the text centres beside it */
  /* BE.11: heading left, Before -> After right, so the section fills the wall instead of a narrow centred stack. */
  .g-bxh { grid-column: 1 / 6; grid-row: 1; justify-self: start; align-self: center; text-align: left; }
  .g-bx { grid-column: 6 / 13; grid-row: 1; margin-top: 0; }
  .g-bxh .nb { white-space: normal; }   /* in 5 columns "Give them a place to go." is wider than the column: it ran under the Before paper */
  .g-ptag { grid-column: 1 / 6; grid-row: 1; }
  .g-p1 { grid-column: 1 / 5; grid-row: 3; margin-top: var(--s4); }
  .g-p2 { grid-column: 5 / 9; grid-row: 3; margin-top: var(--s4); }
  .g-p3 { grid-column: 9 / 13; grid-row: 3; margin-top: var(--s4); }
  .price.sheet[data-sheet] { --k: 1.3; }   /* BE.11: in one row the cards are tall and narrow at 1100; at 1.5 the paper stretched 1.72x tall (limit 1.6) */
  .g-p1, .g-p2, .g-p3 { max-width: none; align-self: stretch; }   /* one clean row, equal height (Lamar 2026-09-27: "unorganised and busy") */
  /* Stage 10: the 5 parts (name, price, pages + time, list, button) share row lines across the 3 cards, so each line reads across. */
  @supports (grid-template-rows: subgrid) {
    .g-p1, .g-p2, .g-p3 { grid-row: 3 / span 5; grid-template-rows: subgrid; row-gap: var(--s2); }
  }
  .price .amt { font-size: clamp(1.6rem, calc(3.8vw - 12px), 2.6rem); }   /* J$380,000+ is 7.9em; a 4-column card gives it 0.3vw - 88px (measured at 1100) */
  .g-steps { grid-row: 2; }
  .g-hnote { grid-column: 1 / 4; grid-row: 3; }
  .g-scraps { grid-column: 4 / 13; grid-row: 3; margin-top: var(--s4); }
  .g-metag { grid-column: 1 / 7; grid-row: 1; }
  .g-roles { grid-column: 1 / 7; grid-row: 2; align-self: start; flex-direction: row; align-items: center; margin: var(--s2) 0 0 4%; }   /* one loose row under the heading: stacked 4 high it hung far below the portrait (Lamarr 2026-09-27) */
  .g-face { grid-column: 7 / 10; grid-row: 1 / 3; justify-self: center; align-self: center; margin-top: 0; max-width: 100%; }
  .g-say { grid-column: 10 / 13; grid-row: 1 / 3; align-self: center; margin: 0 0 0 var(--s7); }   /* clear of the pink sticker, which sticks out past the card */
  .g-endcard { grid-column: 1 / 9; grid-row: 1; }
  .g-soon { grid-column: 9 / 13; grid-row: 1; align-self: end; margin: 0 0 -32px -24px; }   /* beside the card, under its right edge by 24px */
}

/* ── under 1100: the crown sits above the domain line's right end ── */
@media (max-width: 1099px) {
}
@media (min-width: 640px) and (max-width: 1099px) { .how-step .sketch { max-width: 200px; } }

/* ── mobile only: overlaps come from the tuck helpers ─────── */
@media (max-width: 639px) {
  .wall { padding-top: var(--s4); max-width: 520px; }   /* one column stops growing at 520px: no paper wider than ~456px */
  .pair { gap: var(--s3); }
  .drag { font-size: clamp(1.9rem, 10vw, 3rem); }
  .work, .stk--body { max-width: 100%; }
  .mek, .bx-sec { align-items: center; }
  .what .tier { width: 100%; }
  .what .g-t2 { width: 94%; align-self: flex-end; }
  .what .g-t3 { width: 96%; margin-left: 2%; }
  .keys { align-self: center; margin-top: var(--s5); }
  .how-note { margin-left: 8%; }
  .how-row { gap: var(--s4); }
  .how-step { display: grid; grid-template-columns: minmax(0, 1fr) 36%; column-gap: var(--s3); align-items: center; width: 94%; }
  .how-step:nth-child(even) { margin-left: 6%; }
  .how-step h3, .how-step p { grid-column: 1; }
  .how-step .sketch { grid-column: 2; grid-row: 1 / 3; margin: 0; padding: 0; }
  .work-sec .work { width: 100%; }
  .film { width: 94%; align-self: center; margin-top: var(--s4); }
  .bx-h { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .bx-h .nb { white-space: normal; }   /* "Give them a place to go." is wider than 375 in one line */
  .bx { margin-top: var(--s5); }   /* the Before tape sticks up 16px: keep it off the heading */
  .bx { justify-items: stretch; }
  .bx-card { width: 90%; }
  .bx-after { width: 96%; justify-self: end; }
}

/* phones: the three prices stack, same width (BE.9: the fan stagger read as busy) */
@media (max-width: 639px) {
  .fan { display: grid; gap: calc(var(--gap-in) + 12px); width: 100%; }
}
@media (max-width: 419px) {
  .price.sheet[data-sheet] { --fill: #C0BDB5; --src: url("../assets/paper/card-tall.webp"); --src-m: var(--src); --iw: 433; --ih: 576;
  --it: 48; --ir: 42; --ib: 48; --il: 42; --mt: 24; --mr: 18; --mb: 12; --ml: 18;
  --st: 8.3333%; --sr: 9.6998%; --sb: 8.3333%; --sl: 9.6998%; }   /* phones: the price cards are taller than wide, so they take the tall paper (square stretched past 1.6x at 320) */
}
@media (min-width: 640px) { .fan { display: contents; } }

/* ── sheet fit: --k per piece, so no edge stretches past 1.6x. Checked at 320, 375, 639, 768, 1099, 1440
   (_src-assets/raw/be4/sheet-check.js). Bigger boxes get a lower --k (a bigger tear), small scraps a higher one. ── */
.tag.sheet, .tier.sheet, .how-step.sheet, .price.sheet, .faq.sheet, .last-under.sheet { --k: 1.5; }
.tier.sheet { max-width: 440px; }   /* card-square since BE.5 (the icon made tag-small 1.7x tall): wider than 440 stretches it past 1.6x (1100+ lifts it: 4 columns stay under 440) */
.how-step.sheet, .price.sheet { max-width: 440px; }
@media (max-width: 767px) {
  .ba-before.sheet, .ba .mount.sheet, .last-under.sheet, .plan.sheet { --k: 3; }
}
@media (max-width: 639px) {
  .drag.sheet { --k: 3; --px: var(--s2); }
  .tag.sheet { --k: 2; }
  .pick.sheet, .demo-head.sheet { --py: var(--s3); --px: var(--s3); }
  .chips { gap: var(--s2); }
  .chip { padding: 6px 10px; gap: 6px; font-size: .95rem; }   /* two chips a row at 320 (BE.5) */
  /* BE.10: no chip left alone on a short row. Each wrapped row fills the paper; the 4 vibes stay 2 x 2 (at 390 they ran 3 + 1). */
  .chips .chip { flex: 1 1 auto; justify-content: center; }
  .chips:has(> .chip:nth-child(4):last-child) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work .nb { white-space: normal; }   /* "FRESH · KINGSTON" in caps is wider than the card at 320 */
  .fan .price { width: auto; }   /* the fan staggers by margin; full width keeps J$380,000+ on one line at 320 */
  .work.sheet { --k: 1.5; }
  .demo-frame .mount.sheet { --tilt: .5; }   /* tall on phones: half the tilt keeps their corners inside the gutter at 320 */
}
@media (min-width: 640px) { .drag.sheet { --k: 2; } .faq.sheet { --tilt: .5; } }
@media (min-width: 640px) and (max-width: 1099px) { .demo-frame { max-width: 720px; } }   /* the sample site grows tall with its width */

/* ── reduced motion: paper sits still ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Display face (re-lock 2026-09-27): every element set in --font-d gets the Condensed Black cut. Kept last so it wins over h1-h4 { 400 }. */
.d, .wordmark, .stk, .drag, .demo-cta, .how-step h3, .tag, .tier h3, .work h3, .work-name, .price .name, .price .amt, .plan b, .me {
  font-weight: var(--wt-d); font-stretch: var(--wd-d); word-spacing: var(--ws-d);
}

/* ── BE.9 split (Lamar 2026-09-27, boards 8, 9, 13): Prices, then Care + Growth, then the FAQ, each its own section ── */
.care-sec .plans { width: 100%; }
.faq { width: 100%; gap: 14px; }
.faq { max-width: 780px; }   /* strip-wide at --k 1.4 stays under 1.6x up to 780 */
@media (max-width: 639px) { .faq.step-l { width: 88%; } }   /* the 100% above beat the step's 88%: 12% + 100% ran 28px past a phone (BA.9) */
.faq .q { --py: var(--s3); --px: var(--s4); --k: 1.4; }
.faq .q summary { min-height: 44px; }   /* launch-hardening 2026-10-18: 40 left a one-line question 42px tall at 375; touch floor is 44 */
.faq .q summary { font-family: var(--font-m); font-size: clamp(1.15rem, 1rem + .4vw, 1.4rem); text-transform: none; letter-spacing: 0; font-weight: 400; justify-content: space-between; gap: var(--s3); list-style: none; }
.faq .q summary::-webkit-details-marker { display: none; }
.faq .q summary .ic { flex: none; width: 22px; height: 22px; stroke: var(--stock-ink); stroke-width: 2.5; transition: transform .2s; }
.faq .q[open] summary .ic { transform: rotate(45deg); }
.faq .q p { color: var(--stock-muted); padding: 0 0 var(--s2); }
.faq-more { position: relative; pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; --r: -2deg; }
.faq-more .ic { width: 20px; height: 20px; fill: currentColor; }
.ask-bubble { display: none; }
.g-ftag.sheet { --pxr: calc(var(--px) + 12px); }   /* flipped strip: its right tear is deeper, the S sat 11px on it (sheet-check) */   /* the big marker ? shows from 1100 up, where the link stands alone under the heading */
@media (min-width: 640px) {
  .g-ctag { grid-column: 1 / 8; grid-row: 1; }
  .g-plans { grid-column: 1 / 13; grid-row: 2; grid-template-columns: 1fr 1fr; margin-top: var(--s3); }
  .g-ftag { grid-column: 1 / 13; grid-row: 1; }
  .g-faq { grid-column: 1 / 13; grid-row: 2; }
  .g-fmore { grid-column: 1 / 13; grid-row: 3; justify-self: end; margin-top: var(--s2); }
}
@media (min-width: 1100px) {
  .g-ctag { grid-column: 1 / 9; white-space: nowrap; }
  .g-plans { grid-column: 1 / 11; }
  .g-ftag { grid-column: 1 / 5; grid-row: 1; align-self: start; }
  .g-ftag.tag.sheet { width: max-content; max-width: none; }   /* at 1100 four columns are narrower than the word: the S sat on the tear */
  .g-faq { grid-column: 5 / 13; grid-row: 1 / 3; }
  .g-faq { grid-row: 1 / 4; }
  /* BE.10: the empty wall under the heading holds a speech bubble torn from pink paper with a marker "?"; the WhatsApp link tucks under its bottom edge */
  .ask-bubble { display: grid; place-items: center; aspect-ratio: 509 / 475; background: url("../assets/paper/pink-bubble.webp") center / 100% 100% no-repeat; transform: rotate(-4deg); }
  .ask-bubble span { font-family: var(--font-m); font-size: clamp(8rem, 12cqi, 11rem); line-height: 1; color: var(--stock-ink); transform: translate(4%, -8%) rotate(8deg); }   /* on the bubble body, clear of the tail */
  .g-fask { grid-column: 1 / 5; grid-row: 2; justify-self: center; align-self: start; width: min(88%, 320px); margin-top: var(--s6); }
  .g-fmore { grid-column: 1 / 5; grid-row: 3; justify-self: center; align-self: start; margin-top: -50px; z-index: 6; }   /* close under the bubble, not on it: pink on pink would blur the two (BE.10) */
}

/* heading tags (Lamar 2026-09-27: the plain line and the marker note read loose): a pink paper label tucked under each heading's edge */
.head-tag { position: relative; pointer-events: auto; white-space: normal; width: fit-content; max-width: calc(100% - 24px); margin: -40px 0 0 24px; padding: 12px 32px 12px 30px; --r: -2deg; font-size: clamp(1.1rem, .95rem + .5vw, 1.45rem); line-height: 1.15; z-index: 6; }
@media (max-width: 639px) { .head-tag { margin-top: -18px; } }
@media (min-width: 640px) {
  .g-pline, .g-cnote { grid-column: 1 / 13; grid-row: 2; justify-self: start; white-space: nowrap; max-width: none; }
  .g-plans { grid-row: 3; }
}

/* ── demo on one screen: at 1100+ the preview and "Make this yours" fit a 1280x720 screen (BE.11: the 4 vibe cards were removed for it) ── */

@media (min-width: 1100px) {
  .demo-r { margin-top: var(--s5); gap: var(--s4); justify-items: center; }   /* 24px: the "Your demo site" label sticks up */
  .demo-frame { width: min(100%, 584px); }   /* the sample site at 480px */
  .demo-site { position: relative; }
  .demo-site > .tag-sample { position: absolute; left: var(--s3); bottom: -26px; margin: 0; }   /* on the paper's bottom band, not a row of its own */
  .demo-go { width: 100%; margin: 0; justify-content: center; flex-wrap: nowrap; gap: var(--s5); }   /* the note sits right beside the button (Lamarr 2026-09-27: it floated far left) */
  .demo-cta.sheet { --k: 2; --py: var(--s2); font-size: clamp(1.1rem, .5rem + 1vw, 1.45rem); }
  .go-note { margin: 0; flex: none; }
  .demo-r { grid-row: 1; align-self: stretch; grid-template-rows: auto 1fr; }   /* one row: an empty second row added a 24px gap under the papers */
  .demo-go { align-self: end; margin-bottom: var(--s5); }   /* the button sits level with the vibe paper: pick, then send */
  .demo-l > * + * { margin-top: -28px; }   /* papers tuck 28px (limit 32) */
  .demo .chips { row-gap: var(--s2); }
}

/* Stage 10: vibe/trade change. Only the two sample sites fade (240ms, opacity); the rest of the page swaps at once. */
[data-mock] { view-transition-name: demo-mock; }
[data-mirror] { view-transition-name: hero-mock; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-group(demo-mock), ::view-transition-group(hero-mock) { animation-duration: 240ms; animation-timing-function: ease-out; }
::view-transition-old(demo-mock), ::view-transition-new(demo-mock), ::view-transition-old(hero-mock), ::view-transition-new(hero-mock) { animation-duration: 240ms; }
