/* Scapegoat. A deadpan white goat, shot like a luxury campaign. Rules: .claude/skills/scapegoat-design. */

@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/BodoniModa.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mona Sans'; font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; src: url(/assets/fonts/MonaSans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/JetBrainsMono.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cobalt: oklch(0.45 0.23 268);      /* #2838D2, sampled from the studio backdrop in the photographs */
  --cobalt-hi: oklch(0.52 0.22 268);
  --night: oklch(0.17 0.06 274);       /* #0A0E2E */
  --night-2: oklch(0.23 0.08 274);
  --ink: oklch(0.21 0.07 274);         /* #0E1437 */
  --ink-2: oklch(0.42 0.04 274);
  --ink-3: oklch(0.52 0.03 274);       /* 5:1 on white */
  --paper: #fff;
  --mist: oklch(0.965 0.006 274);
  --line: oklch(0.91 0.012 274);
  --tag: oklch(0.88 0.18 95);          /* #FFD60A, the ear tag */
  --tag-o: oklch(0.72 0.19 50);
  --tag-g: oklch(0.86 0.12 155);
  --refuse: oklch(0.57 0.22 28);       /* only the 403 and REFUSED */
  --ok: oklch(0.6 0.14 160);
  --serif: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
  --sans: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4.6vw, 76px);
  --maxw: 1320px;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --sec: clamp(96px, 11vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, video, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button { font: inherit; }
code { font-family: var(--mono); font-size: .9em; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--tag); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--tag); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--ink-3); }

/* ---- type ---- */
.display, .display-l, .display-m { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; text-wrap: balance; }
.display { font-size: clamp(60px, 10.4vw, 178px); line-height: .86; letter-spacing: -.038em; }
.display-l { font-size: clamp(42px, 6.1vw, 104px); line-height: .9; letter-spacing: -.032em; }
.display-m { font-size: clamp(38px, 4.4vw, 70px); line-height: .94; letter-spacing: -.028em; }
.lead { font-size: clamp(18px, 1.42vw, 21.5px); line-height: 1.5; max-width: 33ch; color: rgb(255 255 255 / .9); text-wrap: pretty; }
.lead.dark { color: var(--ink-2); max-width: 40ch; }
.eyebrow { font: 620 12.5px/1 var(--sans); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.eyebrow.on-dark { color: var(--tag); }

/* ---- the pill that holds the address (the product's front door) ---- */
.addr { display: inline-flex; align-items: center; gap: 14px; max-width: 100%; background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 7px 7px 7px 26px; cursor: pointer; text-align: left;
  box-shadow: 0 0 0 1px rgb(14 20 55 / .08), 0 22px 44px -24px rgb(6 9 40 / .6); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.addr:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(14 20 55 / .1), 0 28px 50px -24px rgb(6 9 40 / .7); }
.addr-label { font: 650 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.addr-text { font: 600 clamp(17px, 1.4vw, 20px)/1.2 var(--sans); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.addr-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; background: var(--tag); color: var(--ink); border-radius: 999px; padding: 13px 20px; font: 700 15px/1 var(--sans); transition: background .3s, color .3s; }
.addr-btn .i { width: 17px; height: 17px; stroke-width: 2; }
.addr .i-done, .addr[data-copied] .i-copy { display: none; }
.addr[data-copied] .i-done { display: block; }
.addr[data-copied] .addr-btn { background: var(--ink); color: #fff; }
.addr-text.chomp { clip-path: inset(0 var(--bite, 0%) 0 0); }
.addr-s { padding: 5px 5px 5px 18px; gap: 12px; }
.addr-s .addr-text { font-size: 15.5px; }
.addr-s .addr-btn { padding: 10px 15px; font-size: 14px; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 15px 24px; font: 620 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .3s, transform .35s var(--ease), box-shadow .3s; }
.btn:hover { background: var(--cobalt); transform: translateY(-2px); }
.btn .i { width: 18px; height: 18px; stroke-width: 1.9; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-s { padding: 12px 18px; font-size: 14px; }
.link-btn { display: inline-flex; align-items: center; gap: 10px; color: inherit; background: none; border: 0; padding: 0 0 7px; font: 620 16px/1 var(--sans); text-decoration: none; cursor: pointer; box-shadow: inset 0 -1.5px 0 rgb(255 255 255 / .38); transition: box-shadow .3s; }
.link-btn:hover { box-shadow: inset 0 -1.5px 0 #fff; }
.link-btn .i { width: 17px; height: 17px; stroke-width: 1.8; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tag); flex: none; animation: beat 2.4s var(--ease) infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgb(255 214 10 / .55); } 70%, 100% { box-shadow: 0 0 0 9px rgb(255 214 10 / 0); } }

/* ---- the top bar ---- */
.topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px var(--gutter); }
.topbar.over { position: absolute; inset: 0 0 auto 0; color: #fff; }
.topbar.over nav a, .topbar.over .brand { text-shadow: 0 1px 14px rgb(8 10 46 / .45); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 560 27px/1 var(--serif); letter-spacing: -.025em; }
.brand .mark { width: 17px; height: 23px; transform: rotate(-8deg); transition: transform .5s var(--ease); }
.brand:hover .mark { transform: rotate(6deg); }
.topbar nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.topbar nav a { display: inline-flex; align-items: center; gap: 9px; font: 560 15px/1 var(--sans); text-decoration: none; opacity: .92; transition: opacity .2s; }
.topbar nav a:hover { opacity: 1; text-decoration: underline; }

/* ---- the hero: the goat, on the studio backdrop ---- */
.hero { position: relative; min-height: max(100svh, 700px); background: var(--cobalt); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: center; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 84% 42%; }
.loop { opacity: 0; transition: opacity 1.2s var(--ease); }
.loop.is-playing { opacity: 1; }
.hero-copy { padding: 132px var(--gutter) 150px; max-width: calc(800px + var(--gutter)); }
.hero .display { margin-bottom: 34px; }
.ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.ln > span { display: inline-block; }
html.js .hero .ln > span { transform: translateY(108%); transition: transform 1.25s var(--ease); }
html.js .hero .ln + .ln > span { transition-delay: .09s; }
html.js body.is-ready .hero .ln > span { transform: none; }
html.js .hero .lead, html.js .hero .addr, html.js .hero .hint, html.js .hero .hero-actions { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) .35s, transform 1.1s var(--ease) .35s; }
html.js .hero .addr { transition-delay: .45s; }
html.js .hero .hint, html.js .hero .hero-actions { transition-delay: .55s; }
html.js body.is-ready .hero :is(.lead, .addr, .hint, .hero-actions) { opacity: 1; transform: none; }
.hero .lead { margin-bottom: 36px; }
.hint { font-size: 15px; color: rgb(255 255 255 / .76); margin-top: 16px; padding-left: 26px; }
.hint b { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 42px; }
.hero-actions form { margin: 0; }
.hero-live { position: absolute; left: var(--gutter); bottom: 30px; display: inline-flex; align-items: center; gap: 11px; max-width: min(56ch, 70vw); color: #fff; text-decoration: none; font: 500 14px/1.35 var(--sans); opacity: .88; }
.hero-live:hover { opacity: 1; text-decoration: underline; }
.hero-down { position: absolute; right: var(--gutter); bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .4); transition: box-shadow .3s, transform .4s var(--ease); }
.hero-down:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(3px); }

/* ---- the ritual: six things happen, you do two ---- */
.ritual { background: var(--paper); padding-top: var(--sec); position: relative; }
.ritual-intro { margin-bottom: clamp(20px, 4vw, 40px); }
.ritual-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0 0 18vh; }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; }
.step-in { max-width: 440px; }
.step-in h3 { transition: opacity .6s var(--ease); }
html.js .ritual .step:not(.on) .step-in h3 { opacity: .5; }
.step-n { display: block; font: 600 13px/1 var(--sans); font-stretch: 112%; letter-spacing: .12em; color: var(--cobalt); margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.step h3 { font: 500 clamp(42px, 4.6vw, 76px)/.93 var(--serif); letter-spacing: -.032em; margin-bottom: 24px; }
.step p { font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.58; color: var(--ink-2); text-wrap: pretty; }
.step p b { color: var(--ink); font-weight: 620; }
.step p i { display: block; margin-top: 14px; font-style: normal; color: var(--ink-3); font-size: .92em; }
.step-media { display: none; }
.step-media > picture img { aspect-ratio: 4 / 5; object-fit: cover; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: flex-end; padding: 6vh 0; }
.stage-in { position: relative; width: min(100%, 640px); aspect-ratio: 4 / 5; max-height: 84vh; margin-left: auto; }
.frame { position: absolute; inset: 0; margin: 0; border-radius: 30px; overflow: hidden; background: var(--cobalt); opacity: 0; transform: scale(1.045); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.frame.on { opacity: 1; transform: none; }
.frame picture, .frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame[data-frame="0"] :is(img, video) { object-position: 79% 50%; }
.frame[data-frame="1"] :is(img, video) { object-position: 34% 50%; }
.frame[data-frame="2"] :is(img, video) { object-position: 50% 80%; }
.frame[data-frame="3"] :is(img, video) { object-position: 70% 50%; }
.frame[data-frame="4"] :is(img, video) { object-position: 70% 50%; }
.frame[data-frame="5"] :is(img, video) { object-position: 74% 50%; }
.stage-phones { position: absolute; left: -12%; bottom: -5%; width: 45%; aspect-ratio: 390 / 844; }
.pslot { position: absolute; inset: 0; opacity: 0; transform: translateY(26px) rotate(-1.5deg); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.pslot.on { opacity: 1; transform: rotate(-3deg); }
.stage-progress { position: absolute; top: 8%; bottom: 8%; right: -26px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.stage-progress i { position: absolute; inset: 0; background: var(--cobalt); transform-origin: top; transform: scaleY(var(--p, 0)); }

/* the phone: an iPhone-sized screen scaled into a frame; the email inside is the real one */
.phone { --s: .62; position: relative; width: 100%; aspect-ratio: 390 / 844; border-radius: 15% / 7%; background: #0d0d12; padding: var(--pad, 3.2%); overflow: hidden; box-shadow: 0 50px 90px -40px rgb(8 10 40 / .65), 0 0 0 1px rgb(255 255 255 / .08) inset, 0 0 0 2px #2b2c35; }
.phone::before { content: ''; position: absolute; z-index: 3; top: 4.6%; left: 50%; width: 31%; height: 3.6%; transform: translateX(-50%); background: #000; border-radius: 999px; }
.phone-ui { position: relative; width: 390px; height: 844px; transform: scale(var(--s)); transform-origin: 0 0; background: #fff; border-radius: 48px; overflow: hidden; display: flex; flex-direction: column; }
.phone-ui .sb { display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 16px 34px 0 40px; font: 600 16px/1 -apple-system, system-ui, sans-serif; color: #111; flex: none; }
.sb-i { display: flex; gap: 5px; align-items: flex-end; }
.sb-i i { display: block; width: 4px; background: #111; border-radius: 1px; }
.sb-i i:nth-child(1) { height: 6px; } .sb-i i:nth-child(2) { height: 9px; } .sb-i i:nth-child(3) { height: 12px; }
.mailhead { display: flex; align-items: center; gap: 12px; padding: 10px 18px 12px; border-bottom: 1px solid #ececf0; font: 15px/1.3 -apple-system, system-ui, sans-serif; color: #111; flex: none; }
.mailhead .av { width: 40px; height: 40px; border-radius: 50%; background: var(--cobalt); display: grid; place-items: center; flex: none; }
.av-mark { width: 14px; height: 19px; }
.mailhead div { flex: 1; min-width: 0; }
.mailhead b { display: block; font-weight: 600; }
.mailhead span { display: block; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.mailhead time { color: #999; font-size: 13px; }
.phone-ui iframe { flex: 1; width: 390px; border: 0; pointer-events: none; display: block; }

/* ---- try to trick the goat ---- */
.trick { position: relative; background: var(--cobalt); color: #fff; isolation: isolate; }
.trick-hero { position: relative; min-height: min(56.25vw, 100svh); display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.trick-media { position: absolute; inset: 0; z-index: -1; }
.trick-media picture, .trick-media img, .trick-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.trick-head { padding: 140px 0 120px; }
.trick-head .display-l { font-size: clamp(42px, 4.7vw, 80px); max-width: 8.2em; }
.trick-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(40px, 7vw, 120px); align-items: start; padding: clamp(64px, 7vw, 110px) 0 clamp(90px, 10vw, 150px); }
.trick-copy { padding-top: 12px; }
.trick-copy .lead { max-width: 36ch; }
.trick-note { margin-top: 26px; max-width: 44ch; font-size: 15.5px; line-height: 1.6; color: rgb(255 255 255 / .72); padding-left: 18px; box-shadow: inset 2px 0 0 var(--tag); }
.letter { position: relative; background: #fff; color: var(--ink); border-radius: 4px; padding: 30px 32px 24px; max-width: 560px; transform: rotate(-1.4deg); box-shadow: 0 50px 90px -40px rgb(4 6 36 / .75), 0 2px 0 #e9eaf1; }
.letter .lh { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); font: 600 13px/1 var(--sans); color: #0B6B5C; }
.letter .air { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--sans); letter-spacing: -.01em; }
.letter .lh > span:last-child { color: var(--ink-3); font-weight: 500; }
.letter .re { font: 500 14px/1.4 var(--mono); color: var(--ink-2); margin: 16px 0 18px; }
.letter label { display: block; font: 640 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.letter textarea { display: block; width: 100%; resize: vertical; min-height: 150px; border: 0; padding: 4px 0; font: 15px/30px var(--mono); color: var(--ink); background: repeating-linear-gradient(180deg, transparent 0 29px, #e4e6ef 29px 30px); background-attachment: local; }
.letter textarea::placeholder { color: #9a9eb5; }
.letter textarea:focus { outline: none; }
.letter:focus-within { box-shadow: 0 50px 90px -40px rgb(4 6 36 / .75), 0 0 0 3px var(--tag); }
.letter-foot { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.letter-foot > span { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.verbatim-band { position: relative; background: var(--night); color: #fff; padding: 56px 0 64px; }
.verbatim-head { font: 500 14px/1.4 var(--sans); color: rgb(255 255 255 / .6); margin-bottom: 26px; }
.verbatim { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.verbatim li { border-top: 1px solid rgb(255 255 255 / .16); padding-top: 20px; }
.verbatim .where { font: 640 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .5); }
.verbatim code { display: block; margin: 14px 0 12px; font: 500 14px/1.55 var(--mono); color: #fff; overflow-wrap: anywhere; }
.verbatim code b { font-weight: 700; color: oklch(0.72 0.17 28); margin-right: 6px; }
.verbatim li:last-child code b { color: var(--tag); }
.verbatim p { font-size: 14.5px; line-height: 1.55; color: rgb(255 255 255 / .68); }

/* ---- the fence, as a flow ---- */
.fenceflow { background: var(--mist); padding: var(--sec) 0; }
.flow-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 88px); }
.flow-head .display-l { margin-bottom: 26px; }
.flow { display: flex; flex-direction: column; align-items: center; max-width: 940px; margin: 0 auto; }
.node { display: flex; gap: 16px; align-items: flex-start; width: min(100%, 580px); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.node .ico { color: var(--cobalt); padding-top: 2px; }
.node .ico .i { width: 26px; height: 26px; stroke-width: 1.5; }
.node b { display: block; font: 500 24px/1.1 var(--serif); letter-spacing: -.015em; margin-bottom: 4px; }
.node span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.node code { font-size: 12.5px; color: var(--ink); background: var(--mist); padding: 1px 6px; border-radius: 5px; }
.n-gate { background: var(--ink); border-color: var(--ink); color: #fff; }
.n-gate .ico { color: var(--tag); }
.n-gate span { color: rgb(255 255 255 / .7); }
.n-gate code { background: rgb(255 255 255 / .1); color: var(--tag); }
.wire { position: relative; width: 2px; height: 58px; background: repeating-linear-gradient(180deg, var(--ink-3) 0 5px, transparent 5px 11px); }
.wire span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 500 13px/1 var(--sans); color: var(--ink-3); }
.pens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; }
.pen { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 26px 18px 18px; }
.pen::before { content: ''; position: absolute; left: 10px; right: 10px; top: -9px; height: 16px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 26px); }
.pen-tag { display: flex; align-items: center; gap: 9px; }
.pen-mark { width: 14px; height: 19px; }
.pen code { font: 600 12.5px/1 var(--mono); }
.pen b { display: block; font: 500 26px/1.05 var(--serif); letter-spacing: -.02em; margin: 14px 0 4px; }
.pen > span { font-size: 14px; color: var(--ink-2); }
.pen.gone { border-style: dashed; opacity: .6; }
.pen.gone::before { opacity: .35; }
.pens-src { margin: 12px 0 0; font: 500 12.5px/1.4 var(--mono); color: var(--ink-3); text-align: center; }
.roads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; margin-top: 26px; }
.roads ul { list-style: none; margin: 0; padding: 8px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.roads li { display: grid; grid-template-columns: 22px auto 1fr; align-items: baseline; gap: 4px 10px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.roads li:first-child { border-top: 0; }
.roads li .i { width: 18px; height: 18px; align-self: center; stroke-width: 2; }
.roads li span { grid-column: 2 / -1; font-size: 13.5px; color: var(--ink-2); }
.roads .open .i { color: var(--ok); }
.roads .shut .i { color: var(--refuse); }
.shut li { grid-template-columns: 22px 1fr auto; }
.shut code { font: 700 12.5px/1 var(--mono); color: var(--refuse); }
.flow-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 56px; }

/* ---- the herd: the household ---- */
.herd { background: var(--cobalt); color: #fff; overflow: hidden; }
.herd-copy { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; padding: clamp(56px, 6vw, 96px) 0 var(--sec); }
.herd-copy .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.herd-copy .lead { max-width: 42ch; }
.herd-text { padding-bottom: 6px; }
.whose { list-style: none; margin: 28px 0 0; padding: 0; }
.whose li { display: grid; grid-template-columns: 18px 64px 1fr; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid rgb(255 255 255 / .18); font-size: 15px; }
.whose b { font-weight: 640; }
.whose span { color: rgb(255 255 255 / .76); }
.t { display: block; width: 13px; height: 17px; border-radius: 3px 3px 4px 4px; transform: translateY(2px) rotate(-6deg); background: radial-gradient(circle at 50% 22%, var(--night) 0 1.6px, transparent 2.2px), var(--c); }
.t-y { --c: var(--tag); } .t-o { --c: var(--tag-o); } .t-g { --c: var(--tag-g); }
.herd-media { position: relative; aspect-ratio: 16 / 9; max-height: 96vh; width: 100%; overflow: hidden; }
.herd-media picture, .herd-media img, .herd-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---- the farm, right now (live) ---- */
.farm { background: var(--paper); padding: var(--sec) 0; }
.farm-sentence { font: 500 clamp(34px, 4.3vw, 66px)/1.08 var(--serif); letter-spacing: -.026em; max-width: 23ch; text-wrap: balance; margin-bottom: 26px; }
.farm-sentence b { font-weight: 500; color: var(--cobalt); font-variant-numeric: lining-nums tabular-nums; }
.farm-note { color: var(--ink-2); max-width: 62ch; font-size: 16px; }
.sins { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.sin { display: grid; grid-template-columns: 150px 150px minmax(0, 1fr) 96px; gap: 10px 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background .4s; }
.sin:hover { background: var(--mist); }
.sin-link { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.sin-link:hover .sid { text-decoration: underline; }
.ear-mark { width: 15px; height: 20px; transform: rotate(-8deg); }
.sin .sid { font: 600 15px/1 var(--mono); letter-spacing: -.01em; }
.sin .who { display: flex; align-items: center; gap: 8px; }
.sin .kind { font-weight: 620; text-transform: capitalize; }
.practice-tag, .tag { font: 640 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 5px 9px; }
.path { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.path li span { display: inline-block; font-size: 12.5px; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.p-hijack span, .p-restored span { background: oklch(0.95 0.035 28) !important; color: oklch(0.45 0.18 28) !important; }
.p-absolved span { background: oklch(0.95 0.05 155) !important; color: oklch(0.42 0.11 155) !important; }
.p-amen span { background: oklch(0.97 0.07 95) !important; color: oklch(0.4 0.08 85) !important; }
.sin time { font: 500 13px/1 var(--sans); color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.sin.is-new { animation: fresh 2.4s var(--ease); }
@keyframes fresh { from { background: oklch(0.97 0.07 95); } }
.sin-empty { padding: 28px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.sin-empty b { color: var(--ink); margin-right: 6px; }
.practice { margin-top: 56px; max-width: 680px; }
.practice label { display: block; font-weight: 620; margin-bottom: 14px; }
.practice-row { display: flex; gap: 12px; }
.field { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 15px 22px; font: 16px var(--sans); color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px oklch(0.45 0.23 268 / .14); }

/* ---- footer ---- */
.foot { background: var(--night); color: #fff; padding-top: clamp(72px, 8vw, 110px); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px 40px; padding-bottom: 52px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.foot-line { font: 500 clamp(38px, 4.8vw, 76px)/1 var(--serif); letter-spacing: -.032em; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding: 40px 0 10px; }
.credits { font-size: 14px; line-height: 1.75; color: rgb(255 255 255 / .6); max-width: 72ch; }
.foot nav { display: flex; flex-direction: column; gap: 14px; }
.foot nav a { text-decoration: none; color: rgb(255 255 255 / .86); font-size: 15px; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot-word { font: 500 clamp(92px, 22.5vw, 380px)/.74 var(--serif); letter-spacing: -.055em; color: oklch(0.62 0.19 268); text-align: center; margin: 18px 0 0; transform: translateY(17%); user-select: none; white-space: nowrap; }

/* ---- the dock: the address, always one tap away once the hero is gone ---- */
.dock { position: fixed; z-index: 40; left: 50%; top: 14px; display: flex; align-items: center; gap: 18px; background: var(--night); color: #fff; border-radius: 999px; padding: 6px 6px 6px 24px; box-shadow: 0 24px 60px -24px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .08); transform: translate(-50%, -170%); transition: transform .6s var(--ease); }
.dock[hidden] { display: none; }
.dock.show { transform: translate(-50%, 0); }
.dock-line { font: 500 19px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }

/* ---- inner pages: a photograph band, then paper ---- */
.band { position: relative; background: var(--cobalt); color: #fff; overflow: hidden; isolation: isolate; min-height: min(68vh, 680px); display: flex; flex-direction: column; justify-content: flex-end; }
.band-pic, .band-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 45%; z-index: -1; }
.band-hills::after, .band-asleep::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 10 40 / .62), rgb(8 10 40 / .1) 64%); }
.band-asleep .band-pic img { object-position: 70% 50%; }
.band-fence .band-pic { left: auto; width: 62%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%); mask-image: linear-gradient(90deg, transparent, #000 26%); }
.band-fence .band-pic img { object-position: 66% 38%; }
.band-hills .band-pic img { object-position: 50% 50%; }
.band-copy { padding: 150px 0 clamp(56px, 7vw, 96px); max-width: var(--maxw); }
.band-copy .display-l { margin-bottom: 24px; }
.page { background: var(--paper); }
.how-intro { padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 80px); }
.prose-lead { font: 450 clamp(19px, 1.6vw, 23px)/1.6 var(--sans); max-width: 58ch; color: var(--ink-2); text-wrap: pretty; }
.prose-lead::first-line { color: var(--ink); }
.how .flow { margin-bottom: clamp(80px, 9vw, 140px); }
.rules-title { margin-bottom: 40px; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.rules li { padding: 28px 0 36px; border-bottom: 1px solid var(--line); }
.rule-n { font: 600 12.5px/1 var(--sans); font-stretch: 112%; letter-spacing: .12em; color: var(--cobalt); }
.rules .ico { display: none; }
.rules h3 { font: 500 28px/1.08 var(--serif); letter-spacing: -.02em; margin: 14px 0 10px; }
.rules p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.how .flow-cta { justify-content: flex-start; margin: 56px 0 var(--sec); }

/* the ledger */
.ledger-band { min-height: min(62vh, 620px); }
.ledger-head { padding: 150px 0 clamp(48px, 6vw, 80px); }
.ledger-head .display-l { margin-bottom: 14px; }
.ledger-head .sid { font-family: var(--mono); font-weight: 600; font-size: .62em; letter-spacing: -.04em; vertical-align: .08em; }
.ledger-head .where { font: 500 clamp(21px, 1.8vw, 26px)/1.3 var(--serif); margin-bottom: 22px; opacity: .94; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.state { display: inline-flex; align-items: center; gap: 9px; background: rgb(255 255 255 / .16); color: #fff; border-radius: 999px; padding: 10px 16px; font: 620 14px/1 var(--sans); }
.state .i { width: 17px; height: 17px; }
.state small { font: 500 12px/1 var(--mono); opacity: .7; }
.state-absolved { background: var(--tag); color: var(--ink); }
.state-failed, .state-dropped { background: rgb(255 255 255 / .1); }
.badges .tag { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); }
.ledger-page { padding-bottom: var(--sec); }
.note { display: flex; gap: 11px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--mist); margin-top: 32px; font-size: 14.5px; }
.note .i { color: var(--cobalt); }
.live-note { background: oklch(0.97 0.07 95); }
.ledger-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); padding-top: 48px; }
.facts-col { position: sticky; top: 28px; align-self: start; }
.bigtag { width: 150px; height: auto; overflow: visible; margin: 0 0 26px 6px; filter: drop-shadow(0 18px 24px rgb(14 20 55 / .18)); }
.bigtag .swing { transform-origin: 120px 54px; animation: swing 7s ease-in-out infinite; }
.bigtag.gone { opacity: .9; }
@keyframes swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(5deg); } }
.facts { margin: 0 0 24px; }
.facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { border-top: 1px solid var(--line); }
.facts dt { font: 640 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 8px 0 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.facts dd.outcome { font: 500 19px/1.3 var(--serif); }
.meter { display: block; height: 4px; background: var(--mist); border-radius: 2px; margin-top: 9px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--cobalt); border-radius: 2px; }
.timeline h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font: 500 clamp(34px, 3vw, 44px)/1 var(--serif); letter-spacing: -.025em; margin-bottom: 22px; }
.timeline h2 span { font: 500 14px/1 var(--sans); color: var(--ink-3); letter-spacing: 0; }
.events { list-style: none; margin: 0; padding: 0; position: relative; }
.events::before { content: ''; position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.events > li, .inside-steps > li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 11px 0; }
.events > li.is-new { animation: fresh 2.4s var(--ease); border-radius: 12px; }
.events > li.day { display: block; padding: 22px 0 6px 48px; font: 640 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; color: var(--cobalt); }
.dot .i { width: 16px; height: 16px; stroke-width: 1.8; }
.ev-key > .dot { background: var(--cobalt); color: #fff; box-shadow: none; }
.ev-absolved > .dot, .ev-destroyed > .dot { background: var(--tag); color: var(--ink); box-shadow: none; }
.ev-hijack_refused > .dot, .ev-restored > .dot { background: var(--refuse); color: #fff; box-shadow: none; }
.what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-top: 5px; font-size: 15.5px; line-height: 1.45; }
.what > span { font-weight: 560; }
.what .type { font: 500 11.5px/1.3 var(--mono); color: var(--ink-3); background: var(--mist); padding: 3px 7px; border-radius: 6px; }
.what time { margin-left: auto; font: 500 12px/1 var(--mono); color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font: 400 12.5px/1.45 var(--mono); background: var(--mist); border-radius: 8px; padding: 5px 9px; color: var(--ink-2); max-width: 100%; overflow-wrap: anywhere; }
.chip b { font-weight: 600; color: var(--ink); margin-right: 7px; }
.trail { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.trail b { color: var(--ink); font-weight: 620; }
.trail .no { color: var(--refuse); }
.trail .arrow { color: var(--ink-3); margin: 0 3px; }
details.inside summary { cursor: pointer; margin-top: 10px; font: 560 13.5px/1.4 var(--sans); color: var(--cobalt); list-style-position: outside; }
.inside-steps { list-style: none; margin: 8px 0 0 4px; padding: 0 0 0 14px; border-left: 2px dashed var(--line); }
.inside-steps > li { grid-template-columns: 28px minmax(0, 1fr); }
.inside-steps .dot { width: 28px; height: 28px; }
.refusal { background: oklch(0.975 0.015 28); box-shadow: inset 0 0 0 1px oklch(0.88 0.06 28); border-radius: 18px; padding: 20px 22px; }
.refusal .sign { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.code403 { flex: none; font: 700 34px/1 var(--mono); letter-spacing: -.03em; color: #fff; background: var(--refuse); border-radius: 10px; padding: 11px 14px; }
.refusal .sign b { display: block; font: 500 28px/1.05 var(--serif); letter-spacing: -.02em; margin-bottom: 4px; }
.refusal .sign p span { display: block; font-size: 14px; color: oklch(0.38 0.12 28); }
.tries { display: grid; gap: 8px; margin-top: 12px; }
.try { font: 12.5px/1.55 var(--mono); background: var(--night); color: #fff; border-radius: 10px; padding: 11px 13px; overflow-wrap: anywhere; }
.try .tried { color: rgb(255 255 255 / .75); }
.try .st { color: oklch(0.75 0.15 28); font-weight: 700; margin: 0 6px; }
.visitor-label { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.visitor-text { margin: 8px 0; padding: 12px 14px; font: 14px/1.55 var(--mono); background: #fff; box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--tag); border-radius: 8px; white-space: pre-wrap; }
.visitor-outcome { font-size: 14.5px; font-weight: 560; }
.visitor-outcome[data-visitor-outcome="refused"] { color: var(--refuse); }

/* split pages: practice sent, watching, not found */
.split { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
.split-media { position: relative; background: var(--cobalt); overflow: hidden; }
.split-media picture, .split-media img, .split-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 60%; }
.split-page .topbar nav a { color: var(--ink); }
.split-copy { display: flex; align-items: center; padding: 140px var(--gutter) 90px; background: var(--paper); }
.split-in { max-width: 540px; }
.split-in .display-m { margin-bottom: 22px; }
.split-in .lead { margin-bottom: 8px; }
.err { color: var(--refuse) !important; }
.numbered { list-style: none; margin: 30px 0 0; padding: 0; }
.numbered li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.numbered .n { flex: none; width: 22px; font: 640 13px/1.6 var(--sans); color: var(--cobalt); font-variant-numeric: tabular-nums; }
.fine { margin-top: 22px; font-size: 13.5px; color: var(--ink-3); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.cta-row .addr { box-shadow: inset 0 0 0 1.5px var(--line); }

/* Overbook Air (the practice company's own help page, deliberately not Scapegoat) */
body.airline { background: #f6f7f8; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #1d2a2f; }
.air-wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.air-bar { background: #0B6B5C; color: #fff; }
.air-bar .air-wrap { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.air-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.air-logo svg { width: 28px; height: 28px; }
.air-logo svg circle { fill: #fff; } .air-logo svg path { fill: #0B6B5C; }
.air-bar nav { display: flex; gap: 22px; font-size: 14px; opacity: .9; }
.air-practice { background: #fff4d6; color: #6a4b00; font-size: 13.5px; padding: 9px 0; }
.policy { max-width: 920px; margin: 0 auto; padding: 40px 24px 64px; }
.policy .crumbs { font-size: 13px; color: #5d6b70; margin-bottom: 14px; }
.policy h1 { font-size: 34px; letter-spacing: -.02em; margin-bottom: 22px; }
.policy article { background: #fff; border: 1px solid #e3e7e8; border-radius: 10px; padding: 26px 28px; }
.policy article p { margin: 0 0 14px; line-height: 1.6; }
.air-foot { max-width: 920px; margin: 0 auto; padding: 0 24px 48px; font-size: 13px; color: #5d6b70; }

/* ---- reveal on scroll ---- */
html.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---- tablet and phone ---- */
@media (max-width: 1100px) {
  .sin { grid-template-columns: 130px 130px minmax(0, 1fr); }
  .sin time { grid-column: 3; text-align: left; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .topbar nav .hide-s { display: none; }
  .ritual-grid { display: block; }
  .stage { display: none; }
  .steps { padding-bottom: 40px; }
  .step { min-height: 0; display: block; padding: 0 0 88px; }
  html.js .ritual .step:not(.on) .step-in h3 { opacity: 1; }
  .step-media { display: block; position: relative; margin-top: 30px; padding-bottom: 40px; }
  .step-media > picture img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
  .step[data-step="0"] .step-media > picture img { object-position: 79% 50%; }
  .step[data-step="1"] .step-media > picture img { object-position: 34% 50%; }
  .step[data-step="2"] .step-media > picture img { object-position: 50% 85%; }
  .step[data-step="3"] .step-media > picture img, .step[data-step="4"] .step-media > picture img { object-position: 70% 50%; }
  .step[data-step="5"] .step-media > picture img { object-position: 30% 50%; }
  .step-media .phone { position: absolute; right: -4px; bottom: 0; width: 47%; transform: rotate(-3deg); }
  .trick-hero { display: block; min-height: 0; }
  .trick-media { position: relative; inset: auto; aspect-ratio: 4 / 3; z-index: 0; }
  .trick-media picture, .trick-media img, .trick-media video { object-position: 74% 50%; }
  .trick-head { padding: 44px 0 0; }
  .trick-grid { display: block; padding-top: 28px; }
  .trick-copy { margin-bottom: 40px; }
  .verbatim { grid-template-columns: minmax(0, 1fr); }
  .herd-copy { grid-template-columns: minmax(0, 1fr); }
  .herd-media { aspect-ratio: 4 / 3; }
  .pens { grid-template-columns: minmax(0, 1fr); }
  .roads { grid-template-columns: minmax(0, 1fr); }
  .wire span { font-size: 12px; }
  .ledger-grid { grid-template-columns: minmax(0, 1fr); }
  .facts-col { position: static; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 0 22px; align-items: start; }
  .bigtag { width: 100px; margin: 0; }
  .facts-col .btn { grid-column: 1 / -1; justify-self: start; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-media { min-height: 62svh; }
  .split-page .topbar nav a { color: #fff; }
  .split-copy { padding: 48px var(--gutter) 80px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar { padding: 18px 20px; }
  .brand { font-size: 23px; }
  .topbar nav { gap: 16px; }
  .topbar nav a { font-size: 14px; }
  .farm-link { display: none !important; }
  .hero { min-height: 0; display: block; }
  .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 1 / 1; margin: 4px -20px 26px; }
  .hero-media picture, .hero-media img, .hero-media video { object-position: 50% 88%; }
  .hero-copy { padding: 104px 20px 0; }
  .hero .display { font-size: clamp(54px, 16vw, 76px); margin-bottom: 22px; }
  .hero .lead { margin-bottom: 26px; font-size: 17px; }
  .addr { padding-left: 18px; gap: 10px; width: 100%; }
  .addr-label { display: none; }
  .addr-text { font-size: 16px; flex: 1; }
  .addr-btn { padding: 12px 16px; }
  .hint { padding-left: 4px; }
  .hero-actions { margin-top: 26px; gap: 14px 26px; }
  .hero-live { position: relative; left: auto; bottom: auto; display: flex; margin: 26px 20px 0; max-width: none; font-size: 13px; }
  .hero-down { display: none; }
  .dock { left: 12px; right: 12px; top: auto; bottom: 12px; transform: translateY(170%); padding: 6px 6px 6px 18px; gap: 10px; justify-content: space-between; }
  .dock.show { transform: none; }
  .dock-line { display: none; }
  .dock .addr { flex: 1; box-shadow: none; padding-left: 4px; }
  .sin { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 16px 0; }
  .sin .who { justify-self: end; }
  .sin .path, .sin time { grid-column: 1 / -1; }
  .sin time { text-align: left; }
  .practice-row { flex-direction: column; }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .letter { padding: 24px 20px 20px; transform: rotate(-.8deg); }
  .letter-foot { flex-direction: column; align-items: flex-start; }
  .band { display: block; min-height: 0; }
  .band-pic { position: relative !important; display: block; aspect-ratio: 4 / 3; height: auto !important; z-index: 0 !important; }
  .band-pic img { position: absolute; inset: 0; }
  .band-copy { padding: 30px 0 52px; }
  .ledger-head { padding: 30px 0 44px; }
  .band-hills::after, .band-asleep::after { display: none; }
  .band-fence .band-pic { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-top .addr { width: 100%; }
  .wire span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js .hero .ln > span, html.js .hero :is(.lead, .addr, .hint, .hero-actions) { opacity: 1 !important; transform: none !important; }
  html.js .ritual .step:not(.on) .step-in h3 { opacity: 1; }
  .loop { display: none; }
}

/* ==== review round 1 (jury 6.75, Arena 4/5 desktop, 3/5 phone): the fixes, in one place ==== */

/* grain: one photographic grade over every photograph */
.hero-media::after, .frame::after, .trick-media::after, .herd-media::after, .band::before, .split-media::after, .step-media > picture::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .1; mix-blend-mode: overlay;
  background: url(/assets/media/grain.png) repeat; background-size: 220px;
}
.step-media > picture { position: relative; display: block; }
.band::before { z-index: 0; }

/* labels read as captions, not template chrome */
.eyebrow { font: 500 15px/1.3 var(--sans); font-stretch: 100%; letter-spacing: 0; text-transform: none; margin-bottom: 18px; }
.step-n { font: 500 26px/1 var(--serif); letter-spacing: -.01em; margin-bottom: 18px; }

/* the hero: the photograph sits low, so the horns clear the bar */
@media (min-width: 761px) {
  .hero-media img, .hero-media video { top: auto; bottom: 0; height: calc(100% - 56px); object-position: 84% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%); mask-image: linear-gradient(180deg, transparent, #000 9%); }
}
.hint { font-size: 16px; }
.hero-live { font-size: 15px; }

/* the ritual: bigger lines, no stray rule */
.step h3 { font-size: clamp(48px, 5.3vw, 90px); }
.stage-progress { display: none; }

/* try to trick the goat: the headline runs between the goat and the fence */
.trick-cut { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.trick-cut img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.trick-head { position: relative; z-index: 0; }
@media (max-width: 860px) { .trick-cut { display: none; } }
.trick-head .display-l { font-size: clamp(48px, 8.6vw, 156px); max-width: none; line-height: .88; }
.trick-media picture, .trick-media img { object-position: 70% 50%; }

/* the dock: a quiet bar on desktop, a balanced pill on phones; out of the way of forms */
@media (min-width: 761px) {
  .dock { left: 0; right: 0; top: 0; transform: translateY(-110%); border-radius: 0; justify-content: space-between; padding: 10px var(--gutter);
    background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
  .dock.show { transform: none; }
  .dock .addr { box-shadow: inset 0 0 0 1.5px var(--line); }
  .dock-line { display: flex; align-items: center; gap: 10px; font-size: 22px; }
}

/* the ledger: one typeface in the title, quiet markers, raw values behind a toggle */
.ledger-head .display-l { font-variant-numeric: lining-nums; }
.dot, .ev-key > .dot, .ev-absolved > .dot, .ev-destroyed > .dot, .ev-hijack_refused > .dot, .ev-restored > .dot { background: #fff; color: var(--cobalt); box-shadow: inset 0 0 0 1.5px var(--line); }
.ev-key > .dot { box-shadow: inset 0 0 0 2px var(--cobalt); }
.ev-absolved > .dot, .ev-destroyed > .dot { color: oklch(0.5 0.12 85); box-shadow: inset 0 0 0 2px var(--tag); }
.ev-hijack_refused > .dot, .ev-restored > .dot { color: var(--refuse); box-shadow: inset 0 0 0 2px var(--refuse); }
.what .type, .chips:not(.tries .chips) { display: none; }
body.raw-on .what .type, body.raw-on .chips { display: flex; }
body.raw-on .what .type { display: inline; }
.plain { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.plain code { font-size: 12.5px; background: var(--mist); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
.rawtoggle { margin-left: 14px; font: 560 13px/1 var(--sans); color: var(--cobalt); background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.state-absolved { background: rgb(255 255 255 / .16); color: #fff; }
.state-absolved .i { color: var(--tag); }
.band-pic { overflow: hidden; }
.band-hills .band-pic img { transform: scale(1.45); transform-origin: 100% 55%; }
.step-in { max-width: 560px; }
@media (max-width: 760px) { .timeline h2 { flex-wrap: wrap; } .timeline h2 span { width: 100%; } }

/* phones: the email itself, legible; the hero's goat fades into the page; balanced pill */
.mailcard { display: none; }
@media (max-width: 860px) {
  .step-media { padding-bottom: 0; }
  .step-media > picture img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .mailcard { display: block; position: relative; margin: -42px 10px 0; background: #fff; border-radius: 18px; overflow: hidden; height: 460px;
    box-shadow: 0 30px 60px -30px rgb(8 10 40 / .45), 0 0 0 1px var(--line); }
  .mailcard::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, #fff); }
  .mailcard .mailhead { padding: 12px 16px; }
  .mailcard iframe { display: block; width: 100%; height: 900px; border: 0; pointer-events: none; }
  .step-media .phone { display: none; }
}
@media (max-width: 760px) {
  .hero-media { aspect-ratio: 4 / 5; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); margin-bottom: 0; }
  .hero-media picture, .hero-media img, .hero-media video { object-position: 50% 62%; }
  .dock { padding: 6px; }
  .dock .addr { padding-left: 18px; }
  .facts-col { display: block; }
  .bigtag { width: 78px; margin: 0 0 14px 4px; }
}

/* ==== the film: a card in the hero, a full-screen player, its own page ==== */
.show-s { display: none !important; }
.filmcard { position: absolute; right: var(--gutter); bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; border: 0; border-radius: 18px; background: rgb(10 14 46 / .62); color: #fff; cursor: pointer; text-align: left; box-shadow: 0 24px 50px -24px rgb(0 0 0 / .6); transition: transform .45s var(--ease), background .3s; }
.filmcard:hover { transform: translateY(-3px); background: rgb(10 14 46 / .8); }
.fc-pic { position: relative; width: 136px; aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; flex: none; }
.fc-pic img { width: 100%; height: 100%; object-fit: cover; }
.fc-txt b { display: block; font: 620 15px/1.2 var(--sans); }
.fc-txt span { font: 500 13px/1.3 var(--sans); opacity: .78; }
.fc-play { width: 40px; height: 40px; margin-left: 4px; border-radius: 50%; background: var(--tag); color: var(--ink); display: grid; place-items: center; flex: none; }
.fc-play .i { width: 16px; height: 16px; }
.filmbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.filmbox::backdrop { background: rgb(6 8 30 / .94); }
.fb-in { position: relative; width: min(92vw, calc(84vh * 16 / 9)); margin: 8vh auto 0; }
.fb-in video, .fp-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; }
.fb-close { position: absolute; right: 0; top: -56px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.filmpage { position: relative; background: var(--night); color: #fff; padding: 140px 0 110px; }
.fp-in .display-m { margin-bottom: 18px; }
.fp-in .lead { max-width: 52ch; }
.fp-video { margin: 36px 0 30px; box-shadow: 0 40px 90px -40px rgb(0 0 0 / .8); }
.btn-light { background: var(--tag); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .6); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
@media (max-width: 760px) {
  .show-s { display: inline-flex !important; }
  .filmcard { display: none; }
  .fb-in { width: 100vw; margin-top: 22vh; }
  .fb-in video { border-radius: 0; }
  .fb-close { right: 14px; }
  .filmpage { padding: 110px 0 80px; }
}

/* ==== the hero: the goat stands in front of the headline (WebGL keys the hero's own frames; site.js) ==== */
.hero-key { display: none; }
@media (min-width: 761px) {
  html.gl .hero-key { display: block; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: calc(100% - 56px); z-index: 1; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%); mask-image: linear-gradient(180deg, transparent, #000 9%); opacity: 0; transition: opacity .6s var(--ease); }
  html.gl .hero-key.on { opacity: 1; }
  html.gl .hero-copy { max-width: none; padding-top: 112px; padding-bottom: 104px; }
  html.gl .hero .display { font-size: clamp(92px, 13vw, 232px); line-height: .84; letter-spacing: -.026em; margin-bottom: 36px; }
  html.gl .hero-copy > :not(h1):not(.hero-media), html.gl .hero-live, html.gl .filmcard { position: relative; z-index: 2; }
  html.gl .hero-live, html.gl .filmcard { position: absolute; }
  html.gl .hero .lead { max-width: 30ch; }
}
/* ultrawide windows: the whole photograph, anchored right, its left edge faded into the studio's cobalt */
@media (min-width: 761px) and (min-aspect-ratio: 17/9) {
  .hero-media img, .hero-media video, html.gl .hero-key { object-fit: contain; object-position: 100% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%), linear-gradient(90deg, transparent 8%, #000 30%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, transparent, #000 9%), linear-gradient(90deg, transparent 8%, #000 30%); mask-composite: intersect; }
}

/* pages cross-fade into each other where the browser supports it (cross-document view transitions) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* below the fold: skip layout and paint until a section is near (not the ritual: its stage is sticky) */
.trick, .fenceflow, .herd, .farm, .foot { content-visibility: auto; contain-intrinsic-size: auto 1100px; }

/* ==== review round 2 (jury 6.9 / 6.85): data in the brand's own words, no collisions, the address first on phones ==== */
/* the farm's list: an ear tag, one sentence, the time, a way in. Yellow is you; blue is the fence holding. */
.sin { grid-template-columns: 130px minmax(0, 1fr) 84px 28px; gap: 8px 22px; }
.said { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.said b { color: var(--ink); font-weight: 620; }
.said .you { background: oklch(0.96 0.09 95); color: var(--ink); padding: 1px 5px; border-radius: 5px; }
.said .fence { color: var(--cobalt); font-weight: 600; }
.sin .open { color: var(--cobalt); display: grid; place-items: center; transition: transform .3s var(--ease); }
.sin:hover .open { transform: translateX(4px); }
@media (max-width: 1100px) { .sin { grid-template-columns: 120px minmax(0, 1fr) 28px; } .sin time { grid-column: 2; grid-row: 2; text-align: left; } .sin .open { grid-column: 3; grid-row: 1 / span 2; } }
@media (max-width: 760px) { .sin { grid-template-columns: minmax(0, 1fr) 28px; } .sin .sin-link { grid-column: 1; } .said { grid-column: 1 / -1; } .sin time { grid-column: 1; grid-row: auto; } .sin .open { grid-column: 2; grid-row: 1; } }

/* the ledger: the outcome first, five chapters, sentence-case labels, sans timestamps, solid pills */
.ledger-band { min-height: min(46vh, 460px); }
.facts dt { font: 600 13px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.facts .first dd.outcome { font-size: 22px; color: var(--ink); }
.events > li.chapter { display: block; padding: 30px 0 6px 48px; }
.events > li.chapter h3 { margin: 0; font: 500 26px/1.1 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.events > li.minor { display: none; }
body.raw-on .events > li.minor { display: grid; }
.what time, .events > li.day { font: 500 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; }
.state, .state-absolved, .state-failed, .state-dropped { background: #fff; color: var(--ink); }
.state .i { color: var(--cobalt); }
.state-absolved .i { color: oklch(0.6 0.13 85); }
.badges .tag, .practice-tag { font: 560 13px/1 var(--sans); letter-spacing: 0; text-transform: none; box-shadow: none; padding: 0; color: rgb(255 255 255 / .85); }
.practice-tag { color: var(--ink-3); }

/* the film card: solid, not glass */
.filmcard, .filmcard:hover { background: var(--night); }

/* the desktop stage: the real email, flat and readable */
.stage-phones { left: -14%; bottom: -6%; width: 62%; aspect-ratio: auto; height: 540px; }
.pslot, .pslot.on { transform: translateY(18px); }
.pslot.on { transform: none; }
.stage .mailcard { display: block; position: absolute; inset: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgb(8 10 40 / .55), 0 0 0 1px var(--line); }
.stage .mailcard .mailhead { padding: 12px 16px; }
.stage .mailcard iframe { display: block; width: 100%; height: 1200px; border: 0; pointer-events: none; }
.mailcard::after { content: none !important; }

/* no letter cut by the fence post or the goat's ear */
.trick-head .display-l { font-size: clamp(44px, 6.2vw, 108px); }
@media (min-width: 761px) { html.gl .hero .display { font-size: clamp(84px, 11.4vw, 206px); } }

/* phones: the headline sits on the photograph's empty backdrop; the address comes right after the goat */
@media (max-width: 760px) {
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy > h1 { order: 1; position: relative; z-index: 1; }
  .hero-media { order: 2; margin-top: -132px; aspect-ratio: 4 / 5; }
  .hero-copy > .addr { order: 3; margin-top: 6px; }
  .hero-copy > .hint { order: 4; }
  .hero-copy > .lead { order: 5; margin: 22px 0 0; }
  .hero-copy > .hero-actions { order: 6; }
  .hero-media picture, .hero-media img, .hero-media video { object-position: 50% 30%; }
  .topbar nav a { font-size: 13.5px; }
}

/* the farm's proof: the newest practice email that reached Absolved. */
.win { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 8px 0 30px; padding: 22px 26px; max-width: 760px; text-decoration: none; color: var(--ink); background: var(--mist); border-radius: 18px; box-shadow: inset 4px 0 0 var(--tag); transition: transform .35s var(--ease); }
.win:hover { transform: translateY(-2px); }
.win-k { font: 600 13px/1.2 var(--sans); color: var(--ink-3); }
.win-t { font: 500 clamp(22px, 2vw, 30px)/1.2 var(--serif); letter-spacing: -.015em; }
.win-d { display: inline-flex; align-items: center; gap: 8px; font: 560 14px/1.2 var(--sans); color: var(--cobalt); }
.win-d .i { width: 16px; height: 16px; }

/* ==== review round 3 (7.1): the system grows from the ear tag ==== */
/* the timeline's markers are small ear tags: line grey, cobalt for the key steps, red for a refusal, yellow at the end */
.dot, .ev-key > .dot, .ev-absolved > .dot, .ev-destroyed > .dot, .ev-hijack_refused > .dot, .ev-restored > .dot { background: #fff; box-shadow: none; }
.dot-tag { width: 13px; height: 17px; transform: rotate(-8deg); }
.dot-tag path { fill: oklch(0.86 0.02 274); }
.dot-tag circle { fill: #fff; }
.ev-key > .dot .dot-tag path, .ev-wake > .dot .dot-tag path { fill: var(--cobalt); }
.ev-hijack_refused > .dot .dot-tag path, .ev-restored > .dot .dot-tag path, .ev-wake-canary > .dot .dot-tag path { fill: var(--refuse); }
.ev-absolved > .dot .dot-tag path, .ev-destroyed > .dot .dot-tag path, .ev-filed > .dot .dot-tag path { fill: var(--tag); }
.ev-absolved > .dot .dot-tag circle { fill: var(--ink); }
/* numbers read as numbers: the farm's counts in the sans (Bodoni's 1 reads as I) */
.farm-sentence b { font-family: var(--sans); font-weight: 600; letter-spacing: -.03em; font-size: .9em; }
/* labels in sentence case */
.addr-label { font: 560 13px/1 var(--sans); letter-spacing: 0; text-transform: none; }
/* phones: the hero photograph ends cleanly, no fade */
@media (max-width: 760px) { .hero-media { -webkit-mask-image: none; mask-image: none; } }

/* A ledger from before the fix of 28 November says so first. */
.note.before-fix { align-items: flex-start; line-height: 1.5; background: #FFF3B0; }
.note.before-fix .i { flex: none; margin-top: 3px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
