/* Hallmark · shape: Marquee Hero (the name, drawn and dimensioned, carries the first screen; specimens, a print, a register and the offer follow) · genre: editorial · theme: Blueprint (deal assigned by sites) · job: buy · draw: 5af207
 * hero: Counter (the name as the thing for sale, in a title-block sheet beside the head and the offer action) · nav: masthead (the domain as the wordmark over a rule, one action) · footer: colophon block (swapped from index columns: one page, no sitemap), set as a drawing title block · imagery: one library photograph printed as a cyanotype, plus built brand specimens · signature: the name drafted on the sheet, each word under a dimension string of its real letter count · blueprint: cyanotype
 * axes: mid/geometric-sans/neutral · posture: drenched · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · dismissed render · the font WARN comes from the crossorigin preload under file://; document.fonts reports Chakra Petch, Plex Sans and Plex Mono loaded and the shots show Chakra Petch */
/* Hallmark · dismissed 58 · the 1440 window holds the three one-line buyer notes and the offer title block, whose labels and note are fixed by the shared offer form markup */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a sale page argues little; the register states four plain reasons a buyer can check against the name itself */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Chakra Petch"; src: url("fonts/chakrapetch600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plexsans.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plexmono500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

body { font-size: 1.0625rem; color: var(--color-ink-2); }
h1, h2, h3 { font-weight: 600; color: var(--color-ink); }
h1, h2 { text-transform: uppercase; line-height: 1.02; }
h1 { font-size: clamp(2.5rem, 3.6vw + 1rem, 4.5rem); max-width: 12ch; }
h3 { font-size: var(--text-title); }
.num { font-family: var(--font-outlier); font-weight: 500; }
a { color: var(--color-ink); }
a:hover { text-decoration-color: transparent; }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

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

/* Nav: masthead */
.mast { border-bottom: var(--rule-hair) solid var(--color-rule); }
.mast__in { position: relative; display: flex; justify-content: center; align-items: center; min-height: 72px; }
.mast__mark { font: 600 clamp(1rem, 0.6vw + 0.85rem, 1.375rem)/1 var(--font-display); letter-spacing: 0.01em; text-transform: uppercase; text-decoration: none; color: var(--color-ink); }
.mast__mark span { font-family: var(--font-outlier); font-weight: 500; text-transform: none; color: var(--color-muted); }
.mast__act { position: absolute; right: var(--gutter); font-weight: 500; font-size: var(--text-sm); white-space: nowrap; }
@media (max-width: 60rem) { .mast__act { display: none; } }

/* Hero */
.hero { min-height: calc(100dvh - 73px); display: flex; align-items: center; padding-block: 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__acts { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }

.sheet { margin: 0; position: relative; border: var(--rule-hair) solid var(--color-rule); container-type: inline-size; }
.sheet::after { content: ""; position: absolute; inset: 5px; border: var(--rule-hair) solid var(--color-rule-2); pointer-events: none; }
.sheet__draw { display: grid; gap: var(--space-md); justify-items: start; padding: var(--space-xl) var(--space-xl) var(--space-xl);
  background-color: var(--color-paper-2);
  background-image: linear-gradient(var(--color-grid-2) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid-2) 1px, transparent 1px), linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: var(--sheet-inset) var(--sheet-inset); }
.word { display: inline-grid; gap: var(--space-xs); }
.word__dim { display: grid; gap: var(--space-2xs); justify-items: center; color: var(--color-muted); font-size: var(--text-sm); }
.word__dim .num { order: -1; }
.word__w { font: 600 min(10.6cqi, 5.5rem)/0.98 var(--font-display); letter-spacing: var(--tracking-display); text-transform: uppercase; color: var(--color-ink); white-space: nowrap; }
.word--tld { grid-template-columns: auto auto; column-gap: var(--space-xs); align-items: end; }
.word--tld .word__dim { grid-column: 1; }
.word--tld .word__w { grid-column: 1; }
.word__tld { grid-column: 2; grid-row: 2; font: 500 min(3.4cqi, 1.75rem)/1 var(--font-outlier); color: var(--color-muted); padding-bottom: 0.3em; }
.dim { position: relative; display: block; width: 100%; height: var(--rule-hair); background: var(--color-rule); transform-origin: left; animation: draw var(--dur-long) var(--ease-out) both; }
.dim::before, .dim::after { content: ""; position: absolute; top: calc(var(--tick) / -2); width: var(--rule-hair); height: var(--tick); background: var(--color-rule); transform: rotate(45deg); }
.dim::before { left: 0; } .dim::after { right: 0; }
.word:nth-child(2) .dim { animation-delay: 120ms; } .word:nth-child(3) .dim { animation-delay: 240ms; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .dim { animation: none; } }
.sheet__block { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule-heavy) solid var(--color-rule); font-size: var(--text-sm); }
.sheet__block > span { padding: var(--space-sm) var(--space-md); border-left: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink); }
.sheet__block > span:first-child { border-left: 0; }
.sheet__block b, .foot__cell b { display: block; font-weight: 500; color: var(--color-muted); font-size: var(--text-xs); margin-bottom: var(--space-2xs); }

/* Specimens */
.specimens { padding-block: var(--section-gap-s) var(--section-gap); }
.specimens__note { margin-top: var(--space-md); color: var(--color-muted); max-width: 60ch; }
.spec { margin-top: var(--space-2xl); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap-columns); }
.spec__item { margin: 0; display: grid; gap: var(--space-sm); align-content: start; }
.spec__item figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.spec__item--hoard { grid-column: 1 / -1; }
.spec__face { position: relative; border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-3); color: var(--color-ink); display: grid; align-content: center; padding: var(--space-xl); }
.spec__face::after { content: ""; position: absolute; inset: 5px; border: var(--rule-hair) solid var(--color-rule-2); pointer-events: none; }
.spec__face--board .lock__name { font-size: clamp(1.75rem, 3.4vw, 3.5rem); }
.spec__face--board .lock__mt { font-size: clamp(1.25rem, 1.8vw, 1.875rem); }
.spec__face--board { aspect-ratio: 2 / 1; gap: var(--space-md); align-content: space-between; }
.spec__face--hat { aspect-ratio: auto; height: 100%; min-height: 240px; justify-items: center; text-align: center; gap: var(--space-md); }
.spec__face--van { aspect-ratio: 3 / 1; gap: var(--space-md); }
.spec__face--hoard { aspect-ratio: 5 / 1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-xl); background: var(--color-ink); color: var(--color-accent-ink); }
.spec__face--hoard::after { border-color: var(--color-accent-ink); opacity: 0.35; }
.spec__item--hat .spec__face { aspect-ratio: auto; }
.lock { display: flex; align-items: center; gap: var(--space-md); }
.lock__mt { display: inline-grid; place-items: center; width: 3.2em; height: 3.2em; border: var(--rule-heavy) solid currentColor; font: 600 clamp(1rem, 1.4vw, 1.5rem)/1 var(--font-display); letter-spacing: 0; flex: none; }
.lock__mt--big { font-size: clamp(1.75rem, 3.6vw, 3.25rem); }
.lock__name { font: 600 clamp(1.5rem, 2.6vw, 2.75rem)/1.02 var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking-display); }
.lock--row .lock__name { font-size: clamp(1.125rem, 1.8vw, 1.75rem); }
.spec__line { font-size: var(--text-lg); color: var(--color-ink-2); }
.spec__url { font-family: var(--font-outlier); font-weight: 500; font-size: var(--text-md); color: var(--color-ink-2); }
.spec__badge { font: 600 var(--text-2xl)/1.1 var(--font-display); }
.spec__big { font: 600 clamp(1.75rem, 3.6vw, 3.5rem)/1.02 var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking-display); }
.spec__item--van { grid-column: 1 / 2; }
.spec__item--hat { grid-column: 2 / 3; grid-row: 1 / 3; grid-template-rows: minmax(0, 1fr) auto; align-content: stretch; }

/* The touch: one print */
.touch { padding-block: var(--section-gap) var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule-2); }
.touch__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-3xl); align-items: end; }
.fig { position: relative; margin: 0; border: var(--rule-hair) solid var(--color-rule); }
.fig::after { content: ""; position: absolute; inset: 5px; z-index: 2; border: var(--rule-hair) solid var(--color-rule-2); pointer-events: none; }
.touch__slot { aspect-ratio: 4 / 3; }
.touch__slot > img { object-position: 50% 40%; }
.touch__text { display: grid; gap: var(--space-lg); padding-bottom: var(--space-md); }
.touch__text p { font-size: var(--text-lead); line-height: 1.45; max-width: 32ch; }

/* Register: why the name works */
.register { background: var(--color-paper-2); padding-block: var(--section-gap) var(--section-gap); }
.reg { width: 100%; margin-top: var(--space-2xl); border-collapse: collapse; border: var(--rule-hair) solid var(--color-rule); }
.reg thead th { text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding: var(--space-sm) var(--space-lg); border-bottom: var(--rule-heavy) solid var(--color-rule); }
.reg td, .reg tbody th { padding: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); vertical-align: top; text-align: left; }
.reg td.num { width: 5rem; color: var(--color-muted); border-right: var(--rule-hair) solid var(--color-rule-2); }
.reg tbody th { font: 600 var(--text-title)/1.2 var(--font-display); color: var(--color-ink); width: 38%; }
.reg td:last-child { font-size: var(--text-lg); color: var(--color-ink-2); }

/* Buyers: elevations */
.buyers { padding-block: var(--section-gap-l) calc(var(--section-gap-l) + var(--space-xl)); }
.elev { margin-top: var(--space-2xl); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--rule-heavy) solid var(--color-rule); }
.elev article { display: grid; gap: var(--space-md); align-content: start; padding: var(--space-xl) var(--space-xl) var(--space-lg) 0; }
.elev article + article { border-left: var(--rule-heavy) solid var(--color-rule); padding-left: var(--space-xl); }
.elev h3 { font-size: var(--text-2xl); }
.elev p { font-size: var(--text-lg); }

/* Close: the offer as a title block */
.close { padding-block: calc(var(--section-gap-l) + var(--space-2xl)) var(--section-gap-l); border-top: var(--rule-hair) solid var(--color-rule-2); }
.close__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.terms { margin: var(--space-xl) 0 0; display: grid; gap: var(--space-lg); }
.terms div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-md); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); }
.terms dt { font-weight: 500; color: var(--color-ink); }
.terms dd { margin: 0; max-width: 52ch; }

.tray { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.tray::after { content: ""; position: absolute; inset: 5px; border: var(--rule-hair) solid var(--color-rule-2); pointer-events: none; }
.label__top { grid-column: 1 / -1; padding: var(--space-lg); border-bottom: var(--rule-heavy) solid var(--color-rule); font: 600 var(--text-title)/1.2 var(--font-display); color: var(--color-ink); overflow-wrap: anywhere; }
.tray__fields { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.field { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-lg); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.field + .field { border-left: var(--rule-hair) solid var(--color-rule); }
.field input { width: 100%; min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-md); font-weight: 400; transition: border-color var(--dur-micro) var(--ease-out); }
.field input::placeholder { color: var(--color-muted); opacity: 1; }
.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.6; cursor: not-allowed; }
.field input:user-invalid { border-color: var(--color-ink); }
.field__money { position: relative; display: block; }
.field__money > span { position: absolute; left: var(--space-md); top: 50%; transform: translateY(-50%); font-family: var(--font-outlier); color: var(--color-muted); }
.field__money input { padding-left: var(--space-xl); font-family: var(--font-outlier); }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tray__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); padding: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.tray__note { font-size: var(--text-sm); color: var(--color-ink-2); }
.tray__status { grid-column: 1 / -1; padding: 0 var(--space-lg); font-weight: 500; color: var(--color-ink); }
.tray__status:not(:empty) { padding-bottom: var(--space-lg); }
.tray.is-done .tray__fields, .tray.is-done .tray__foot button { opacity: 0.6; }

/* Footer: the title block */
.foot { padding-block: var(--space-3xl) var(--space-3xl); }
.foot__block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr) minmax(0, 2fr); border: var(--rule-hair) solid var(--color-rule); }
.foot__cell { padding: var(--space-lg); font-size: var(--text-sm); color: var(--color-ink-2); }
.foot__cell + .foot__cell { border-left: var(--rule-hair) solid var(--color-rule); }
.foot__cell--name { font: 600 var(--text-lg)/1.2 var(--font-display); color: var(--color-ink); overflow-wrap: anywhere; }
.foot__cell--name b { font-family: var(--font-body); }

/* Privacy and 404 */
.page { padding-block: var(--section-gap-s) var(--section-gap); min-height: 60dvh; }
.prose { display: grid; gap: var(--space-md); max-width: 46rem; }
.prose h1 { font-size: var(--text-display-s); margin-bottom: var(--space-md); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-lg); }
.prose p { max-width: 65ch; }

@media (max-width: 60rem) {
  .hero { min-height: 0; }
  .hero__grid, .touch__grid, .close__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .spec { grid-template-columns: minmax(0, 1fr); }
  .spec__item--van, .spec__item--hat, .spec__item--hoard { grid-column: auto; grid-row: auto; }
  .spec__face--hat { min-height: 200px; }
  .spec__face--hoard { aspect-ratio: auto; grid-template-columns: minmax(0, 1fr); }
  .elev { grid-template-columns: minmax(0, 1fr); }
  .elev article + article { border-left: 0; border-top: var(--rule-heavy) solid var(--color-rule); padding-left: 0; }
  .foot__block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__cell + .foot__cell { border-left: 0; }
  .foot__cell:nth-child(even) { border-left: var(--rule-hair) solid var(--color-rule); }
  .foot__cell:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule); }
}
@media (max-width: 40rem) {
  .buyers { padding-bottom: var(--section-gap); }
  .close { padding-block: var(--section-gap) var(--section-gap); }
  .label__top { font-size: var(--text-md); padding: var(--space-md); }
  .foot__cell--name { font-size: var(--text-md); }
  .spec__badge { font-size: var(--text-xl); }
  .sheet__draw { padding: var(--space-lg) var(--space-md) var(--space-md); }
  .sheet__block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sheet__block > span:nth-child(3) { border-left: 0; }
  .sheet__block > span:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule-2); }
  .spec__face { padding: var(--space-lg); }
  .spec__face--board { aspect-ratio: auto; min-height: 220px; }
  .spec__face--van { aspect-ratio: auto; min-height: 160px; }
  .tray__fields { grid-template-columns: minmax(0, 1fr); }
  .field + .field { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .reg thead { display: none; }
  .reg, .reg tbody, .reg tr, .reg td, .reg tbody th { display: block; width: auto; }
  .reg tr { padding: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); display: grid; gap: var(--space-xs); }
  .reg td, .reg tbody th { padding: 0; border: 0; }
  .reg td.num { border: 0; }
  .foot__block { grid-template-columns: minmax(0, 1fr); }
  .foot__cell:nth-child(even) { border-left: 0; }
  .foot__cell + .foot__cell { border-top: var(--rule-hair) solid var(--color-rule); }
}
