/* Hallmark · shape: Feature Stack (draw e52a67; each automation holds its head and flow chart in a sticky pane while its two screens scroll past) · genre: editorial · theme: Solstice (deal manual, picked from the unused list: harvest warmth for a spice exporter; the deal returned only taken themes) · job: hire (talk to us) · draw: e52a67
 * hero: Stage (swapped from Index: the last build's hero was an Index listing, so the lot sheet stands beside the head as an object) · nav: edge-aligned (swapped from search-led bar: a one-page proposal has nothing to search) · footer: statement · imagery: the product built in 10 slots, two library photographs as stand-ins for Growcoms' own · signature: one pepper lot's paperwork, kept as a ruled lot sheet, each step signed by the automation that did it · solstice: long-light
 * axes: light/high-contrast-serif/warm · posture: restrained · contrast: pass · fold: pass · data: sample · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: H, five sticky-pane sections share one skeleton; the paper changes under them (plain, plain under a hairline, the paper-2 band, plain, plain), the pane ratio alternates, and each flow takes another form (a chain, a chain with a partner step, a fork at the limit, a fan-in, a fan-out); the brown band carries the one-line overview of all five */
/* Hallmark · dismissed 3 · the 3px left edge marks a flow-chart node's state (ink, vermilion out, dashed hand-off), not a card stripe */
/* Hallmark · dismissed F4 · .fake-btn is a span inside the built quote sample, not a page control; the page has one filled primary */
/* Hallmark · dismissed render · fonts are self-hosted and the shots show Yeseva One, Archivo and Archivo Narrow; the warning comes from preload timing on the local server */
/* Hallmark · dismissed F18 · the hallmarkSlots script lives in app.js because the CSP forbids inline scripts */
/* Hallmark · dismissed 58 · the page count and the densest 900px windows include the built chats, tables and the flow charts' step labels and how-to-read captions, which the user asked for; prose outside the product screens and charts stays near the budget */
/* Hallmark · waive 44c · Stage hero: the lot sheet runs from y 135 to y 800 at 1440 x 900 beside a text block centred on it · the check reads the text block's foot, while the pepper lot sheet beside it is the hero's visual and reaches the fold */
/* Hallmark · waive 79 · the lot sheet reaches y 800 at 1440 x 900 · the check reads only the head block; the pepper lot sheet beside it fills the screen down to the fold */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Fonts (self-hosted; the CSP allows nothing else) ---------- */
@font-face { font-family: "Yeseva One"; src: url("fonts/yeseva-one-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Yeseva One"; src: url("fonts/yeseva-one-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Archivo"; src: url("fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; 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: "Archivo Narrow"; src: url("fonts/archivo-narrow-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Narrow"; src: url("fonts/archivo-narrow-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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; }

/* ---------- Page tokens ---------- */
:root {
  --logo-tile: var(--color-ink);
  --logo-edge: transparent;
  --logo-word: var(--color-ink);
  --bar-h: 72px;
  --small: 600 0.84375rem/1.35 var(--font-outlier);
  --well-bg: var(--color-paper-2);
  --node-bg: var(--color-paper-2);
  --node-ink: var(--color-ink);
  --node-muted: var(--color-muted);
  --node-edge: var(--color-rule);
  --wire: var(--color-ink);
  --chat-bg: var(--color-paper-3);
  --on-ink: var(--color-paper);
  --on-ink-2: var(--color-paper-3);
  --flag-bg: color-mix(in oklab, var(--color-accent) 7%, var(--color-paper-2));
  --arrow-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 40' preserveAspectRatio='none'%3E%3Cpath d='M4.25 0h1.5v31h-1.5z'/%3E%3Cpath d='M0 30l5 10 5-10z'/%3E%3C/svg%3E");
}

body { font-size: 1.0625rem; color: var(--color-ink-2); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 16px; height: 16px; }
.nar { font: var(--small); font-size: 0.95em; font-variant-numeric: tabular-nums; }
b, strong { font-weight: 500; color: var(--color-ink); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--on-ink); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- Type ---------- */
h1, h2, h3 { color: var(--color-ink); line-height: 1; }
h1 { max-width: 12ch; }
h2 { max-width: 18ch; }
.lead { color: var(--color-ink-2); }
a { color: var(--color-ink); text-decoration-color: var(--color-ink); }
a:hover { text-decoration-color: var(--color-accent); color: var(--color-accent); }
figcaption { font: var(--small); color: var(--color-muted); padding-top: var(--space-sm); max-width: 60ch; }

/* ---------- Controls: the vermilion pill and the underlined plain one ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; white-space: nowrap; text-decoration: none; cursor: pointer; font: 600 1rem/1 var(--font-outlier); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn--primary { padding: 0 var(--space-xl); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); color: var(--color-accent-ink); }
.btn--secondary { min-height: 44px; padding: var(--space-xs) 0 var(--space-2xs); border-bottom: var(--rule-bar) solid var(--color-ink); color: var(--color-ink); }
.btn--secondary:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }

/* ---------- Nav: edge-aligned ---------- */
.bar { border-bottom: var(--rule-hair) solid var(--color-gold); }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--bar-h); }
.bar-brand { display: inline-flex; }
.logo { height: 34px; width: auto; }
.bar-links { display: flex; align-items: center; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; font: 500 var(--text-sm)/1 var(--font-body); }
.bar-for { color: var(--color-muted); }
.bar-links a { color: var(--color-ink); text-decoration-color: transparent; white-space: nowrap; }
.bar-links a:hover { text-decoration-color: var(--color-accent); }
.bar-links .bar-cta { display: inline-flex; align-items: center; min-height: 44px; border-bottom: var(--rule-bar) solid var(--color-ink); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.bar-links .bar-cta:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }

/* ---------- Hero: Stage, the lot sheet beside the head ---------- */
.hero { display: grid; align-items: center; min-height: calc(100dvh - var(--bar-h)); padding-block: var(--space-xl) var(--space-2xl); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.hero-text { display: grid; gap: var(--space-lg); }
.hero-text .actions { margin-top: var(--space-sm); }
.hero h1 { font-size: clamp(2.75rem, 4.6vw + 0.5rem, 5.5rem); line-height: 0.98; }

/* the raised well: ink border, gold rule inset, hard paper shadow */
.well { background: var(--well-bg); border: var(--rule-bar) solid var(--color-ink); outline: var(--rule-hair) solid var(--color-gold); outline-offset: -7px; box-shadow: var(--shadow-card); }
[data-slot].well, [data-slot].chat { overflow: visible; }
[data-slot].well { background: var(--well-bg); }

.lot { margin: 0 var(--space-sm) var(--space-sm) 0; padding: var(--space-2xl) var(--space-2xl) var(--space-xl); }
.lot-head { display: grid; gap: var(--space-2xs); padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-gold); }
.lot-name { font: 400 var(--text-3xl)/1.05 var(--font-display); color: var(--color-ink); }
.lot-sub { font: var(--small); color: var(--color-muted); }
.lot-rows { margin: 0; padding: 0; list-style: none; }
.lot-rows li { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-md); padding: var(--space-lg) var(--space-xs); border-bottom: var(--rule-hair) dotted var(--color-gold); }
.lot-rows .when { font: var(--small); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.lot-rows .what { color: var(--color-ink); font-size: 1.125rem; line-height: 1.4; }
.lot-rows .who { font: var(--small); white-space: nowrap; text-underline-offset: 0.2em; }
.lot-rows li.is-pointed { background: var(--color-paper); box-shadow: inset 3px 0 0 var(--color-accent); }
.lot-foot { padding-top: var(--space-md); }

/* ---------- The five on one line (the brown ink band) ---------- */
.five-sec { padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--on-ink-2); }
.five-sec > .container { display: grid; gap: var(--space-2xl); }
.five-sec h2 { color: var(--on-ink); }
.five-sec .lead { color: var(--on-ink-2); }
.five-sec figcaption { color: var(--on-ink-2); }
.five-sec a { color: var(--on-ink); text-decoration-color: var(--color-gold); }
.five-sec a:hover { color: var(--color-gold-2); text-decoration-color: var(--color-gold-2); }
.five-sec :focus-visible { outline-color: var(--color-gold-2); }
.head-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; }
.head-split h2 { grid-column: 1 / 8; }
.head-split .lead { grid-column: 8 / 13; }
.wide { margin: 0; }
.photo > img { outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.photo--wide { aspect-ratio: 21 / 9; min-height: 360px; }
.photo--wide > img { object-position: 50% 62%; }

/* the lot's path: stops on a gold hairline, the present one in the sun's colour */
.chain-fig { margin: 0; }
.chain { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.chain::before { content: ""; position: absolute; top: 7px; left: 0; right: var(--space-md); height: var(--rule-hair); background: var(--color-gold); }
.chain::after { content: ""; position: absolute; top: 3px; right: var(--space-xs); width: 9px; height: 9px; border-top: var(--rule-hair) solid var(--color-gold); border-right: var(--rule-hair) solid var(--color-gold); transform: rotate(45deg); }
.chain li { position: relative; display: grid; align-content: start; gap: var(--space-xs); padding-top: var(--space-xl); }
.chain li::before { content: ""; position: absolute; top: 2px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--color-ink); border: var(--rule-bar) solid var(--color-gold); }
.chain li.is-now::before { top: -2px; left: -4px; width: 20px; height: 20px; background: var(--color-gold-2); border-color: var(--color-gold-2); box-shadow: 0 0 0 5px var(--color-ink), 0 0 0 6px var(--color-gold-2); }
.chain .day { font: var(--small); color: var(--color-gold-2); }
.chain b { font: 400 var(--text-title)/1.1 var(--font-display); color: var(--on-ink); }
.chain a { font: var(--small); font-size: 0.9375rem; justify-self: start; text-underline-offset: 0.22em; }
.chain .does { font-size: 1rem; line-height: 1.45; color: var(--on-ink-2); }
.chain-fig figcaption { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-gold) 45%, var(--color-ink)); max-width: 80ch; }

/* ---------- Feature stack: the sticky pane and the screens ---------- */
.stack { padding-block: var(--section-gap-s) var(--section-gap); }
.stack:not(.stack--band) + .stack:not(.stack--band) { border-top: var(--rule-hair) solid var(--color-rule); }
.stack-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.pane { grid-column: 1 / 6; display: grid; gap: var(--space-lg); }
.pane .flow-wrap { margin-top: var(--space-md); }
.shots { grid-column: 7 / 13; display: grid; gap: var(--space-3xl); }
.stack-grid--b .pane { grid-column: 1 / 6; }
.stack-grid--b .shots { grid-column: 6 / 13; padding-left: var(--space-xl); }
.cap { margin: 0; min-width: 0; }

@media (min-width: 60rem) and (min-height: 56rem) {
  .pane { position: sticky; top: var(--space-xl); }
}

/* the paper-2 band (lab check) */
.stack--band { --well-bg: var(--color-paper); --node-bg: var(--color-paper); background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }

/* ---------- Flow charts: vertical, the wire runs down; every step says who does it ---------- */
.flow-fig { margin: var(--space-md) 0 0; }
.flow-fig > figcaption { padding-top: var(--space-md); color: var(--color-ink-2); font-size: 0.9375rem; }
.flow-wrap { container-type: inline-size; }
.flow { --fg: var(--space-lg); --wx: calc(var(--space-md) + 5px); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fg); margin: 0; padding: 0; list-style: none; }
.flow > * { position: relative; }
.node { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: var(--space-sm); row-gap: var(--space-3xs); align-items: start; padding: var(--space-sm) var(--space-md); background: var(--node-bg); border: var(--rule-hair) solid var(--node-edge); border-left: 3px solid var(--color-ink); color: var(--node-ink); }
.node .ico { grid-row: 1 / 3; margin-top: var(--space-3xs); color: var(--node-muted); }
.node b { grid-column: 2; font: 400 1.125rem/1.2 var(--font-display); color: var(--node-ink); }
.node span { grid-column: 2; font-size: var(--text-sm); line-height: 1.35; color: var(--node-muted); }
.node .tag { grid-column: 3; grid-row: 1 / 3; align-self: center; padding: var(--space-3xs) var(--space-xs); font: var(--small); font-style: normal; color: var(--color-muted); border: var(--rule-hair) solid var(--color-rule); white-space: nowrap; }
.node .tag--you { color: var(--color-ink); border: var(--rule-hair) dashed var(--color-ink); }
.node.is-in { border-left-color: var(--color-gold); }
.node.is-out { border-left-color: var(--color-accent); }
.node.is-out .ico { color: var(--color-accent); }
.node.is-hand { border-left-style: dashed; background: var(--color-paper); }
.stack--band .node.is-hand { background: var(--color-paper-2); }
.node.is-stop .ico { color: var(--color-ink); }
.flow > :not(:last-child)::after { content: ""; position: absolute; top: 100%; left: var(--wx); width: 10px; height: var(--fg); background: var(--wire); -webkit-mask: var(--arrow-d) center / 100% 100% no-repeat; mask: var(--arrow-d) center / 100% 100% no-repeat; }

/* the fork at the limit: a bar the wire meets, a drop to each branch */
.fork { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--wire); }
.fork > .node { position: relative; grid-template-columns: 20px minmax(0, 1fr); }
.fork > .node::before { content: ""; position: absolute; bottom: 100%; left: var(--wx); width: 10px; height: calc(var(--space-lg) - var(--rule-hair)); background: var(--wire); -webkit-mask: var(--arrow-d) center / 100% 100% no-repeat; mask: var(--arrow-d) center / 100% 100% no-repeat; }

/* fan-in: three sources drop onto one bar, one wire leaves it */
.fork--in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); padding: 0 0 var(--space-lg); border: 0; border-bottom: var(--rule-bar) solid var(--wire); }
.fork--in .chip { position: relative; justify-content: center; }
.fork--in .chip::after { content: ""; position: absolute; top: 100%; left: calc(50% - 1px); width: var(--rule-bar); height: var(--space-lg); background: var(--wire); }
.fork--in.fork--in::after { top: calc(100% + var(--rule-bar)); height: calc(var(--fg) - var(--rule-bar)); }

/* fan-out: one wire becomes a spine, a branch to each draft */
.fork--out { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); padding: 0 0 0 calc(var(--wx) + var(--space-xl)); border: 0; }
.fork--out::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--wx) + 4px); width: var(--rule-bar); background: var(--wire); }
.fork--out .chip { position: relative; justify-self: start; }
.fork--out .chip::before { content: ""; position: absolute; top: calc(50% - 1px); right: 100%; width: calc(var(--space-xl) - 4px); height: var(--rule-bar); background: var(--wire); }
.chip { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: var(--space-2xs) var(--space-sm); background: var(--node-bg); border: var(--rule-hair) solid var(--node-edge); color: var(--node-ink); font: 500 var(--text-sm)/1.2 var(--font-body); }
.chip .ico { width: 16px; height: 16px; color: var(--node-muted); }

@container (max-width: 400px) {
  .node { grid-template-columns: 20px minmax(0, 1fr); }
  .node .tag { grid-column: 2; grid-row: auto; justify-self: start; margin-top: var(--space-2xs); }
  .fork > .node { padding-inline: var(--space-sm); column-gap: var(--space-xs); }
  .fork--in .chip { flex-direction: column; gap: var(--space-3xs); text-align: center; }
}

/* ---------- Built screens ---------- */
.sheet { padding: var(--space-lg) var(--space-xl) var(--space-md); margin: 0 var(--space-sm) var(--space-sm) 0; }
.sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2xs) var(--space-lg); padding-bottom: var(--space-sm); margin-bottom: var(--space-2xs); border-bottom: var(--rule-hair) solid var(--color-gold); }
.sheet-title { font: 400 var(--text-title)/1.15 var(--font-display); color: var(--color-ink); }
.sheet-when { font: var(--small); color: var(--color-muted); }
.sheet-foot { padding-top: var(--space-sm); font: var(--small); color: var(--color-muted); }

table { width: 100%; border-collapse: collapse; }
.tbl { font-size: 1rem; color: var(--color-ink-2); }
.tbl thead th { padding: var(--space-xs) var(--space-md) var(--space-xs) 0; font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-muted); text-align: left; white-space: nowrap; }
.tbl tbody th, .tbl tbody td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-top: var(--rule-hair) dotted var(--color-gold); text-align: left; vertical-align: baseline; }
.tbl tbody th { font-weight: 500; color: var(--color-ink); }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
.tbl .r, .tbl td.num { text-align: right; }
.tbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr.is-pointed > * { background: var(--color-paper); }
.stack--band .tbl tr.is-pointed > * { background: var(--color-paper-2); }
.tbl tr.is-pointed > :first-child { box-shadow: inset 3px 0 0 var(--color-gold); padding-left: var(--space-sm); }
.tbl tr.is-flag > * { background: var(--flag-bg); }
.tbl tr.is-flag > :first-child { box-shadow: inset 3px 0 0 var(--color-accent); padding-left: var(--space-sm); }
.tbl tr.is-flag > :last-child { color: var(--color-accent); font-weight: 500; }
.tbl tr.is-total > * { border-top: var(--rule-bar) solid var(--color-ink); font: 400 var(--text-title)/1.2 var(--font-display); color: var(--color-ink); }
.tbl--lab { min-width: 480px; }
.tbl--onb { min-width: 480px; }
.scroll { overflow-x: auto; }
.scroll:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.approve { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); padding-top: var(--space-md); margin-top: var(--space-xs); }
.fake-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--on-ink); font: 600 0.9375rem/1 var(--font-outlier); white-space: nowrap; }
.fake-link { font: 600 0.9375rem/1 var(--font-outlier); color: var(--color-ink); padding-bottom: var(--space-2xs); border-bottom: var(--rule-hair) solid var(--color-ink); }

.kv { margin: 0; }
.kv > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-top: var(--rule-hair) dotted var(--color-gold); }
.kv > div:first-child { border-top: 0; }
.kv dt { font: 500 var(--text-sm)/1.7 var(--font-body); color: var(--color-muted); }
.kv dd { margin: 0; color: var(--color-ink); }

/* chat */
.chat { display: grid; gap: var(--space-sm); padding: 0 var(--space-lg) var(--space-lg); margin: 0 var(--space-sm) var(--space-sm) 0; background: var(--chat-bg); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); }
[data-slot].chat { background: var(--chat-bg); }
.stack--band .chat { --shadow-card: 10px 10px 0 var(--color-paper-3); }
.chat-head { display: flex; align-items: center; gap: var(--space-xs); margin-inline: calc(-1 * var(--space-lg)); padding: var(--space-sm) var(--space-lg); background: var(--color-ink); color: var(--on-ink); font: 400 1.125rem/1.2 var(--font-display); }
.msg { display: grid; gap: var(--space-2xs); max-width: 84%; padding: var(--space-xs) var(--space-sm); font-size: 1rem; line-height: 1.45; }
.msg time { justify-self: end; font: var(--small); font-size: var(--text-xs); line-height: 1; }
.msg.in { justify-self: start; background: var(--color-paper-2); color: var(--color-ink); }
.msg.in time { color: var(--color-muted); }
.msg.out { justify-self: end; background: var(--color-ink-2); color: var(--on-ink); }
.msg.out time { color: var(--on-ink-2); }
.attach { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid currentColor; font: 500 var(--text-sm)/1.2 var(--font-body); }

/* ---------- Close: where we would start ---------- */
.start { padding-block: var(--section-gap) var(--section-gap-s); border-top: var(--rule-bar) solid var(--color-ink); }
.start-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.start-text { grid-column: 1 / 7; display: grid; gap: var(--space-lg); }
.start-text .actions { margin-bottom: var(--space-lg); }
.start-photo { grid-column: 8 / 13; margin: 0; }
.start-photo .photo { aspect-ratio: 4 / 5; min-height: 440px; }
.start-photo .photo > img { object-position: 40% 55%; }
.needs { margin: 0; border-top: var(--rule-hair) solid var(--color-gold); }
.needs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gap-columns); padding-block: var(--space-md); border-bottom: var(--rule-hair) dotted var(--color-gold); }
.needs dt { font: 400 var(--text-lg)/1.3 var(--font-display); color: var(--color-ink); }
.needs dd { margin: 0; }

/* ---------- Footer: a statement ---------- */
.foot { padding-block: var(--space-3xl) var(--space-xl); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.foot-line { max-width: 22ch; font: 400 var(--text-display-s)/1.02 var(--font-display); color: var(--color-ink); text-wrap: balance; }
.foot-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-gold); }
.foot-brand { grid-column: 1 / 4; display: inline-flex; }
.foot-links { grid-column: 4 / 7; display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.foot-small { grid-column: 7 / 13; display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.foot-small a { color: var(--color-ink-2); }

/* ---------- Narrower screens ---------- */
@media (max-width: 75rem) {
  .hero-grid { gap: var(--space-2xl); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .stack-grid--b .shots { padding-left: 0; }
}
@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: var(--space-2xl) var(--space-3xl); }
  .hero-grid, .head-split, .stack-grid, .start-grid, .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .head-split h2, .head-split .lead, .pane, .shots, .stack-grid--b .pane, .stack-grid--b .shots, .start-text, .start-photo, .foot-brand, .foot-links, .foot-small { grid-column: 1; }
  .hero-grid { row-gap: var(--space-2xl); }
  .head-split { row-gap: var(--space-md); }
  .stack-grid { row-gap: var(--space-2xl); }
  .shots { gap: var(--space-2xl); }
  .chain { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); padding-left: var(--space-xl); }
  .chain::before { top: 8px; bottom: var(--space-md); left: 7px; right: auto; width: var(--rule-hair); height: auto; }
  .chain::after { top: auto; bottom: var(--space-xs); left: 3px; right: auto; transform: rotate(135deg); }
  .chain li { padding-top: 0; }
  .chain li::before { left: calc(-1 * var(--space-xl)); }
  .chain li.is-now::before { left: calc(-1 * var(--space-xl) - 4px); }
  .start-grid { row-gap: var(--space-2xl); }
  .start-photo .photo { min-height: 0; aspect-ratio: 4 / 3; }
  .photo--wide { min-height: 0; aspect-ratio: 16 / 9; }
  .bar-for { display: none; }
}
@media (max-width: 40rem) {
  .hide-s { display: none; }
  .logo { height: 28px; }
  .lot { padding: var(--space-lg) var(--space-md) var(--space-md); }
  .lot-rows li { grid-template-columns: 3.25rem minmax(0, 1fr); row-gap: var(--space-2xs); padding-inline: var(--space-2xs); }
  .lot-rows .who { grid-column: 2; }
  .sheet { padding: var(--space-md) var(--space-md) var(--space-sm); }
  .chat { padding: 0 var(--space-md) var(--space-md); }
  .chat-head { margin-inline: calc(-1 * var(--space-md)); padding-inline: var(--space-md); }
  .kv > div { grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-sm); }
  .needs > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .msg { max-width: 92%; }
  .tbl { font-size: var(--text-sm); }
  .tbl--onb, .tbl--lab { min-width: 0; }
  .tbl--onb thead, .tbl--lab thead { display: none; }
  .tbl--onb tr, .tbl--lab tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-md); border-top: var(--rule-hair) dotted var(--color-gold); }
  .tbl--onb tbody tr:first-child, .tbl--lab tbody tr:first-child { border-top: 0; }
  .tbl--onb tbody th, .tbl--onb tbody td, .tbl--lab tbody th, .tbl--lab tbody td { border-top: 0; padding-right: 0; }
  .tbl--onb tbody td:nth-child(2), .tbl--lab tbody td:last-child { text-align: right; }
  .tbl--onb td[data-l], .tbl--lab td[data-l] { grid-column: 1 / -1; padding-top: 0; text-align: left; color: var(--color-muted); }
  .tbl--onb td[data-l]::before, .tbl--lab td[data-l]::before { content: attr(data-l) ": "; }
  .tbl--lab tbody td.num:not(.lim) { grid-column: 1; grid-row: 2; padding-top: 0; text-align: left; }
  .tbl--lab tbody td:last-child { grid-column: 2; grid-row: 1; }
  .tbl--lab tbody td.lim { grid-column: 2; grid-row: 2; padding-top: 0; text-align: right; }
  .tbl--lab tbody td.lim::before { content: "limit "; }
}
