/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Cobalt (by request) · job: try · draw: d96ae6
 * hero: Stage (swapped from Corridor: the five real captures are the strongest material) · nav: slab · footer: index columns · imagery: screenshots 10 (capture.mjs) · signature: each theme's live demo, desktop and phone side by side in its row
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · finish-review: subagent · 8 findings · 6 resolved 2 partial (facts list keeps hairlines, not cut panels; footer keeps its wordmark column) · gap: none */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, Split Studio repeats one composition five times; rows alternate ratio and the lead row gives the proof the larger share */
@import url("./tokens.css");
@import url("./base.css");

body { word-break: keep-all; }
code { word-break: normal; }

/* Keys */
.key { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-display); text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.key--primary { background: var(--color-accent); border-color: var(--color-accent-edge); color: var(--color-accent-ink); box-shadow: var(--shadow-key-accent); }
.key--primary:hover { background: var(--color-accent-deep); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--cut) 2px; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-display); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.chip:hover { background: var(--color-accent-wash); border-color: var(--color-accent); }
.chip:active { background: var(--color-paper-3); }
.chip:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.textlink { color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-rule-2); transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.textlink:hover { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.textlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .key, .chip, .textlink { transition: none; } .key:hover, .key:active { transform: none; } }

/* Slab nav */
.slab { background: var(--color-paper-3); color: var(--color-ink); border-bottom: 3px solid var(--color-ink); }
.slab__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.wordmark { font: 600 var(--text-lg)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--color-accent); }
.wordmark:focus-visible, .slab__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.slab__links { display: flex; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.slab__links a { color: var(--color-ink); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.slab__links a:hover { color: var(--color-accent); text-decoration: underline; }

/* Hero */
.hero { padding-block: var(--space-3xl) var(--space-3xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; min-height: calc(100dvh - 72px - 2 * var(--space-3xl)); }
.hero__text { display: grid; gap: var(--space-lg); }
.hero h1 { max-width: 11ch; line-height: 1.04; }
.hero .lead { color: var(--color-ink-2); max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.shot { margin: 0; border-radius: var(--radius-card); }
.shot--desk { aspect-ratio: 16 / 10; }
.shot--phone { aspect-ratio: 780 / 1688; }
.shot--hero { aspect-ratio: 4 / 3; }

/* Captures are product pictures: no duotone */
[data-kind="product"] > img { filter: none; mix-blend-mode: normal; object-position: top center; }
[data-kind="product"]:has(> img)::before { content: none; }

@media (max-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
  .slab__links { gap: var(--space-lg); }
}
@media (max-width: 40rem) {
  .slab__links li:last-child { display: none; }
}

/* Theme rows: proof keeps the right side; the lead row gives it the larger share */
.theme { padding-block: var(--section-gap-s); border-bottom: var(--rule-hair) solid var(--color-rule); }
.theme--lead { padding-block: var(--section-gap) var(--section-gap-s); }
.theme__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.theme--lead .theme__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.theme--even .theme__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.theme__text { display: grid; gap: var(--space-lg); align-content: center; }
.theme .lead { color: var(--color-ink-2); max-width: 32ch; }
.facts { display: grid; margin: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.facts > div { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font: 500 var(--text-sm)/1.5 var(--font-display); color: var(--color-muted); }
.facts dd { margin: 0; font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink); }
code { font-family: var(--font-outlier); font-size: 0.875em; color: var(--color-accent-deep); }
.theme__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xs); }
.theme__proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.36fr); gap: var(--space-md); align-items: end; }
.theme__proof .shot--phone { align-self: stretch; aspect-ratio: auto; }
.theme__proof .shot--phone > img { object-fit: cover; }

/* Install: the one paper band, a table that is the catalogue */
.install { background: var(--color-paper-2); padding-block: var(--space-3xl) var(--section-gap); }
.install__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.install .lead { color: var(--color-ink-2); }
.table-wrap { overflow-x: auto; }
.table-wrap:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
th, td { text-align: left; vertical-align: top; padding: var(--space-md) var(--space-lg) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); }
thead th { font: 500 var(--text-sm)/1.4 var(--font-display); color: var(--color-muted); white-space: nowrap; }
tbody th { font: 600 var(--text-md)/1.4 var(--font-display); color: var(--color-ink); white-space: nowrap; }
td .textlink { white-space: nowrap; }
td code { display: inline-block; margin-right: var(--space-xs); white-space: nowrap; }
.needs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap-columns); margin: var(--space-2xl) 0 0; }
.needs > div { border-top: var(--rule-hair) solid var(--color-ink); padding-top: var(--space-sm); }
.needs dt { font: 500 var(--text-sm)/1.5 var(--font-display); color: var(--color-muted); }
.needs dd { margin: var(--space-2xs) 0 0; font: 500 var(--text-lg)/1.4 var(--font-display); color: var(--color-ink); }
.needs > div:last-child dd { font: 400 var(--text-md)/1.55 var(--font-body); }

/* Footer: index columns */
.foot { padding-block: var(--space-3xl) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--gap-columns); row-gap: var(--space-2xl); }
.foot__mark { font: 600 var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.foot__mark span { color: var(--color-accent); }
.foot__h { max-width: none; font: 500 var(--text-sm)/1.4 var(--font-display); letter-spacing: 0; color: var(--color-muted); }
.foot ul { display: grid; gap: var(--space-xs); margin: var(--space-sm) 0 0; padding: 0; list-style: none; }
.foot nav a { color: var(--color-ink); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.foot nav a:hover { color: var(--color-accent); text-decoration: underline; }
.foot nav a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__legal { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); max-width: 80ch; }
@media (prefers-reduced-motion: reduce) { .foot nav a { transition: none; } }

@media (max-width: 60rem) {
  .theme__grid, .theme--lead .theme__grid, .theme--even .theme__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .needs { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__mark { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  thead { display: none; }
  table, tbody, tr, th, td { display: block; }
  tr { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
  th, td { border: 0; padding: var(--space-2xs) 0; }
}

/* Cobalt cut corners on capture frames */
@supports (corner-shape: bevel) { .shot { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; } }

/* Contact Sheet, the dark theme, on the page's one graphite band */
.theme--graphite { background: var(--color-graphite); color: var(--color-graphite-ink); border-bottom: 0; }
.theme--graphite h2 { color: var(--color-graphite-ink); }
.theme--graphite .lead { color: var(--color-graphite-muted); }
.theme--graphite .facts, .theme--graphite .facts > div { border-color: var(--color-graphite-2); }
.theme--graphite .facts dt { color: var(--color-graphite-muted); }
.theme--graphite .facts dd { color: var(--color-graphite-ink); }
.theme--graphite code { color: var(--color-accent-2); }
.theme--graphite .chip { color: var(--color-graphite-ink); border-color: var(--color-graphite-muted); }
.theme--graphite .chip:hover { background: var(--color-graphite-2); border-color: var(--color-accent-2); }
.theme--graphite .chip:focus-visible, .theme--graphite .textlink:focus-visible { outline-color: var(--color-accent-2); }
.theme--graphite .textlink { color: var(--color-graphite-ink); text-decoration-color: var(--color-graphite-muted); }
.theme--graphite .textlink:hover { text-decoration-color: var(--color-accent-2); }
