/* Hallmark · shape: Manifesto (the belief in one line, then the name built on paper, why it holds, who owns it, the path to the transfer) · genre: atmospheric · theme: Lumen (deal assigned by sites) · lumen: night · job: buy (an offer for the domain) · draw: 355e10
 * hero: Counter (the offer form in a blueprint well, headed by the VKAS seal, beside the head) · nav: edge-aligned, the mark and one action · footer: mast · imagery: none, the name built as specimens (letterhead, term-sheet cover, business card, monogram) · signature: the VKAS seal, four letters two over two, first over the offer and then struck on every specimen
 * axes: dark/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: P, a name sale argues little; the statement commits to one claim (four letters to sign with, one word for the trade) and the specimens prove it on paper */
/* Hallmark · finish-review: in-thread · 4 findings (the domain broke mid-word in the hero head, dead space under the offer form, sparse path and who cells, close screen over budget) · 4 resolved · gap: none */
/* Hallmark · waive 38iii · the one rose verb sign in the hero head, once · Lumen names its accented verb as the signature and the buyer will sign as VKAS Capital */
/* Hallmark · waive 47c · the blueprint grid sits only behind the offer well and the specimen band, each with the form or the four specimens over it · Lumen texture for the VKAS drafting surface */
/* Hallmark · dismissed 58 · the window over the sale path and the footer mast holds about 84 words, most of them the sale terms the brief fixes word for word */
/* Hallmark · dismissed render-fallback · the shots show Instrument Serif and Geist loaded; the warning comes from the font preload with crossorigin over file://, the same on the live etreatment.com build */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Instrument Serif"; src: url("fonts/instrumentserif400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geistmono400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --color-sheet: oklch(96.5% 0.008 290); --color-sheet-ink: oklch(19% 0.025 290); --color-sheet-muted: oklch(45% 0.03 290); --color-sheet-rule: oklch(86% 0.012 290);
  --text-hero: clamp(3.25rem, 6vw + 0.5rem, 7rem);
  --text-statement: clamp(2.5rem, 5.2vw + 0.25rem, 6rem);
  --text-mark: clamp(3rem, 10vw, 9.5rem);
  --nav-h: 72px;
}

body { font-variant-numeric: tabular-nums; font-synthesis: none; }
h1, h2, h3, nav, label, th, figcaption, .btn { text-transform: lowercase; }
h1, h2, h3 { font-weight: 400; }
h2 { font-size: var(--text-display-s); line-height: 0.98; }
.lead { color: var(--color-ink-2); }
.readout { font: 400 0.8125rem/1.5 var(--font-outlier); color: var(--color-ink-2); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); }
.btn--secondary { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); color: var(--color-ink); background: transparent; }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--space-2xs); }
.foot a:hover, .tray__note a:hover { text-decoration-color: var(--color-accent); }

/* the seal: four letters, two over two */
.seal { display: inline-grid; grid-template-columns: 1fr 1fr; place-items: center; flex-shrink: 0; width: var(--seal); aspect-ratio: 1; border: var(--rule-hair) solid currentColor; border-radius: var(--space-2xs); font: 400 calc(var(--seal) * 0.36)/1 var(--font-display); text-transform: none; letter-spacing: 0; background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 1px 70%, 70% 1px; background-position: center; background-repeat: no-repeat; }
.seal > span { opacity: 1; }
.seal--xs { --seal: 26px; border-radius: 3px; }
.seal--sm { --seal: 44px; }
.seal--md { --seal: 84px; }
.seal--xl { --seal: clamp(140px, 16vw, 220px); }

/* nav: edge-aligned */
.nav { border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: var(--nav-h); }
.nav__mark { display: inline-flex; align-items: center; gap: var(--space-sm); font: 400 1.5rem/1 var(--font-display); text-decoration: none; color: var(--color-ink); }
.nav__mark .seal { color: var(--color-ink-2); font-size: 0.6rem; }
.nav__act { min-height: 44px; }

/* hero: counter */
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; min-height: calc(100dvh - var(--nav-h)); padding-block: var(--space-2xl); }
.hero h1 { font-size: var(--text-hero); line-height: 0.96; max-width: none; }
.nw { white-space: nowrap; }
.hero .lead { margin-top: var(--space-lg); max-width: 34ch; }
.verb { display: inline-block; color: var(--color-accent-2); }
.verb::after { content: ""; display: block; height: var(--rule-hair); background: currentColor; transform-origin: left; animation: draw var(--dur-long) var(--ease-out) 300ms both; }
@keyframes draw { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .verb::after { animation: none; } }

.blueprint { background-image: linear-gradient(var(--rule-blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px); background-size: 48px 48px; }
.counter { position: relative; padding: var(--space-xl); background-color: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.counter__head { display: flex; align-items: center; gap: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.counter__head .seal { color: var(--color-ink); }

/* the offer form */
.tray { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md) var(--space-md); margin-top: var(--space-lg); }
.label__top { font-size: var(--text-sm); color: var(--color-muted); }
.stamp { font: 400 0.8125rem/1.5 var(--font-outlier); color: var(--color-live); text-transform: lowercase; }
.stamp { text-align: right; line-height: 1.3; }
.tray__fields, .tray__foot, .tray__status, .trap { grid-column: 1 / -1; }
.tray__fields { display: grid; gap: var(--space-md); }
.field { display: grid; gap: var(--space-xs); }
.field > span:first-child { font-size: var(--text-sm); color: var(--color-ink-2); }
.field input { width: 100%; min-height: 52px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); transition: border-color var(--dur-short) var(--ease-out); }
.field input::placeholder { color: var(--color-muted); }
.field input:hover { border-color: var(--color-ink-2); }
.field input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.field input:disabled { opacity: 0.55; cursor: not-allowed; }
.field input:user-invalid { border-color: var(--color-error); }
.field__money { position: relative; display: block; }
.field__money > span { position: absolute; left: var(--space-md); top: 50%; transform: translateY(-50%); color: var(--color-muted); font-family: var(--font-outlier); pointer-events: none; }
.field__money input { padding-left: var(--space-xl); font-family: var(--font-outlier); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tray__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xs); }
.tray__foot .btn { min-height: 52px; padding-inline: var(--space-xl); }
.tray__note { font-size: var(--text-sm); color: var(--color-muted); }
.tray__note a { color: var(--color-ink-2); }
.tray__status { font-size: var(--text-sm); color: var(--color-ink-2); }
.tray__status:empty { margin-top: calc(-1 * var(--space-md)); }
.tray.is-done .tray__fields, .tray.is-done .tray__foot { opacity: 0.55; }

/* statement */
.statement { padding-block: var(--section-gap-s) var(--section-gap); }
.statement__line { font: 400 var(--text-statement)/1.02 var(--font-display); letter-spacing: var(--tracking-display); max-width: 22ch; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }

/* head blocks */
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }

/* specimens */
.specimens { padding-block: var(--section-gap-s); background-color: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); background-image: linear-gradient(var(--rule-blueprint) 1px, transparent 1px), linear-gradient(90deg, var(--rule-blueprint) 1px, transparent 1px); background-size: 48px 48px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.tile { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: var(--space-md); }
.tile > :first-child { align-self: center; justify-self: center; }
.tile--letter { grid-column: span 7; }
.tile--terms { grid-column: span 5; }
.tile--card { grid-column: span 5; }
.tile--mono { grid-column: span 7; }
.tile figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.sheet { width: 100%; background: var(--color-sheet); color: var(--color-sheet-ink); border-radius: var(--space-2xs); box-shadow: var(--shadow-card); }
.wm { font: 400 1.375rem/1 var(--font-display); letter-spacing: 0.01em; }
.letterhead { display: grid; gap: var(--space-md); padding: var(--space-xl) var(--space-2xl) var(--space-2xl); min-height: 440px; align-content: start; }
.letterhead__top { display: flex; align-items: center; gap: var(--space-md); padding-bottom: var(--space-lg); margin-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-sheet-rule); }
.letterhead__site { margin-left: auto; font-size: var(--text-sm); color: var(--color-sheet-muted); }
.letterhead__date { font-size: var(--text-sm); color: var(--color-sheet-muted); }
.letterhead__body { max-width: 44ch; }
.letterhead__sign { margin-top: var(--space-xl); font: 400 1.5rem/1 var(--font-display); }
.termsheet { display: grid; justify-items: start; align-content: space-between; gap: var(--space-xl); width: min(100%, 340px); aspect-ratio: 1 / 1.3; padding: var(--space-xl); }
.termsheet__fund { font: 400 2.5rem/1 var(--font-display); letter-spacing: var(--tracking-display); }
.termsheet__sub { font-size: var(--text-md); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-sheet-ink); width: 100%; }
.termsheet__foot { font-size: var(--text-sm); color: var(--color-sheet-muted); }
.bizcard { display: grid; align-content: space-between; width: min(100%, 420px); aspect-ratio: 1.75; padding: var(--space-lg) var(--space-xl); background: var(--color-paper); color: var(--color-ink); border-radius: var(--space-xs); box-shadow: var(--shadow-card), inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.wm--card { font-size: 1.75rem; color: var(--color-ink); padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-accent); justify-self: start; }
.bizcard__role { font-size: var(--text-sm); color: var(--color-ink-2); }
.bizcard__role span { color: var(--color-muted); }
.mono-set { display: flex; align-items: flex-end; flex-wrap: wrap; gap: var(--space-2xl); color: var(--color-ink); }
.mono-set .seal--md { color: var(--color-ink-2); }
.mono-set .seal--xs { color: var(--color-muted); }

/* why: rows */
.why { padding-top: var(--section-gap-l); }
.why h2 { margin-bottom: var(--space-2xl); }
.rows { margin: 0; display: grid; }
.rows > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.rows > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows dt { font: 400 var(--text-2xl)/1.05 var(--font-display); text-transform: lowercase; }
.rows dd { margin: 0; color: var(--color-ink-2); max-width: 52ch; }
.rows dd.readout { justify-self: end; color: var(--color-muted); white-space: nowrap; }

/* who: grid */
.who { padding-top: var(--section-gap); }
.who h2 { margin-bottom: var(--space-2xl); }
.who__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.who__grid li { display: grid; gap: var(--space-sm); align-content: start; min-height: 140px; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.who__grid h3 { font-size: var(--text-3xl); line-height: 1; }
.who__grid p { color: var(--color-ink-2); max-width: 40ch; }

/* path: the sale as a diagram */
.path { padding-block: var(--section-gap) var(--section-gap-s); }
.path h2 { margin-bottom: var(--space-2xl); }
.path__line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.path__line li { position: relative; display: grid; gap: var(--space-md); align-content: start; min-height: 168px; padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-card); }
.path__line li .readout { color: var(--color-accent); }
.path__line li p { color: var(--color-ink-2); }
.path__line li:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: var(--space-xl); width: var(--gap-columns); height: var(--rule-hair); background: var(--color-accent); }
.path__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.path__foot p { font-size: var(--text-lead); color: var(--color-ink-2); }

/* footer: mast */
.foot { padding-block: var(--space-3xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__mark { font: 400 var(--text-mark)/0.9 var(--font-display); letter-spacing: -0.02em; overflow-wrap: break-word; min-width: 0; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.foot a { color: var(--color-ink-2); text-decoration-color: var(--color-rule-2); }

/* privacy and 404 */
.page { padding-block: var(--section-gap-s) var(--section-gap); }
.prose { display: grid; gap: var(--space-md); max-width: calc(70ch + 2 * var(--gutter)); margin-inline: 0; }
.prose h1 { font-size: var(--text-display-s); }
.prose h2 { font-size: var(--text-title); margin-top: var(--space-lg); }
.prose p { color: var(--color-ink-2); line-height: 1.7; }
.prose a { color: var(--color-ink); text-decoration-color: var(--color-accent); }

@media (max-width: 75rem) {
  .hero__grid { gap: var(--space-2xl); grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
@media (max-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--space-xl); padding-block: var(--space-2xl); }
  .tile--letter, .tile--terms, .tile--card, .tile--mono { grid-column: 1 / -1; }
  .rows > div { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-md); }
  .rows dd:not(.readout) { grid-column: 1 / -1; grid-row: 2; }
  .rows dd.readout { grid-column: 2; grid-row: 1; }
  .path__line { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .path__line li { min-height: 0; }
  .path__line li:not(:last-child)::after { left: var(--space-xl); top: 100%; width: var(--rule-hair); height: var(--space-lg); }
}
@media (max-width: 40rem) {
  .counter { padding: var(--space-lg); }
  .counter__head .seal { --seal: 64px; }
  .letterhead { padding: var(--space-lg); min-height: 0; }
  .letterhead__site { display: none; }
  .who__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .who__grid li { min-height: 0; }
  .nav__mark { font-size: 1.25rem; }
  .mono-set { gap: var(--space-xl); }
}
