/* Hallmark · shape: three ways in, a fork by what the shop brings · genre: editorial · theme: custom · job: sign up · idea: "Start with what you have: a paint code, a part, or only the car." · vibe: "shop-floor precise, color-true, neighborly, quick"
 * paper: oklch(97.3% 0.004 91) · accent: oklch(24.1% 0.063 263) · display: Archivo 700 at 80% width · body: Archivo 400 at 100% width · hero: navy band, head and sentence left, a portrait photo of a colour check on a red panel right · nav: lockup left, hours, language and a quiet request access right, on the navy band · footer: stacked lockup over tagline, legal and language links · imagery: photographs, own 3 (field-checking-red-panel, field-reading-formula, field-mixing-at-bench) · signature: the three ways in, each answer set at display size
 * axes: light/grotesk-sans/cool · posture: committed (navy field on the hero and the hours band) · surface: absolute (white on navy is locked in DESIGN.md) · contrast: pass · fold: pass · brand: ColorXperts (DESIGN.md, locked) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V5 · weakest: S, a split hero is the expected move; the fork section carries the identity and the hero shows a real colour check, not a product shot */
/* Hallmark · waive 22 · --cx-ink #111111 and the white on navy are declared in DESIGN.md · ColorXperts locked these neutrals for the site, the order app and the admin */
/* Hallmark · waive 7b · stamp says surface: absolute, contrast passes on navy · DESIGN.md requires white text and the white wordmark on ColorXperts navy sections */
/* Hallmark · hero-review: subagent, fix · 5 findings · 3 resolved (head now states the idea, photo edge trimmed, dead band closed) 2 unresolved (photo is 623px, owner to supply the original; split hero kept) */
/* Hallmark · finish-review: subagent, fix · 8 findings · 6 resolved 2 declined by the owner (hero photo and spectro photo choice) · gap: none */
/* Hallmark · waive 77 · legal-body holds one text slot at 65ch, and the home match section holds a lead paragraph and one bordered Lumi box · the privacy and terms pages are documents the Google sign-in links to, and the owner asked for color matching explained as prose with no list beside it */
/* Hallmark · dismissed 58 · copy approved by owner; meaning over word count. Tried section gaps up to 400px: the densest screen still holds 101 words (how to order plus how we match) */
/* Hallmark · dismissed render · the font WARN appears only on file:// renders; over http document.fonts reports Archivo loaded and the shots show it */
@import url("./tokens.css");
@import url("./base.css");

body { font-size: var(--text-md); font-stretch: var(--stretch-body); }
h1, h2, h3 { font-stretch: var(--stretch-display); font-weight: 700; letter-spacing: var(--tracking-display); color: inherit; }

/* Navy field */
.field { background: var(--color-field); color: var(--color-field-ink); --color-focus: var(--color-field-focus); }
.field ::selection { background: var(--color-field-ink); color: var(--color-field); }

/* Skip link */
.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-tooltip); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-input); background: var(--color-surface); color: var(--color-ink); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-height); }
.lockup { display: inline-flex; align-items: center; gap: var(--space-xs); text-decoration: none; border-radius: var(--radius-input); }
.lockup:focus-visible { outline-offset: 4px; }
.lockup .mark { width: 38px; height: 38px; flex-shrink: 0; }
.lockup .wordmark { width: auto; height: 28px; flex-shrink: 0; }
.nav-side { display: flex; align-items: center; gap: var(--space-lg); }
.nav-hours { font-size: var(--text-sm); color: var(--color-field-muted); white-space: nowrap; }
.nav-link { font-size: var(--text-sm); color: inherit; text-decoration: none; white-space: nowrap; border-radius: 2px; }
.nav-link:hover { text-decoration: underline; }
.nav-link:active { opacity: 0.8; }
.page-paper .nav-hours { color: var(--color-muted); }

/* Buttons: one filled primary, white on navy */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-field-ink); border-radius: var(--radius-input); background: var(--color-field-ink); color: var(--color-field); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; 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:hover { background: var(--color-tint); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--quiet { min-height: 44px; padding: 0 var(--space-md); background: transparent; color: inherit; border-color: var(--color-field-rule); font-size: var(--text-sm); font-weight: 400; }
.btn--quiet:hover { background: var(--color-field-rule); }
.page-paper .btn--quiet { border-color: var(--color-rule-strong); }
.page-paper .btn--quiet:hover { background: var(--color-paper-2); }
.text-link { color: inherit; font-weight: 700; text-underline-offset: 0.22em; border-radius: 2px; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link:active { opacity: 0.8; }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear, color var(--dur-short) linear; } }

/* Hero */
.hero { display: grid; align-content: center; min-height: min(calc(100svh - var(--nav-height)), 900px); padding-block: var(--space-xl) var(--space-2xl); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }
.hero-copy { grid-column: 1 / span 7; display: grid; gap: var(--space-lg); padding-bottom: var(--space-xl); }
.hero h1 { font-size: clamp(3rem, 5vw + 1rem, 6rem); line-height: 0.98; max-width: none; }
.hero-lede { font-size: var(--text-lead); line-height: 1.45; color: var(--color-field-muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); margin-top: var(--space-xs); }
.hero-figure { grid-column: 8 / span 5; margin: 0; display: grid; gap: var(--space-sm); justify-items: end; }
.hero-figure .photo { width: min(100%, 500px); aspect-ratio: 4 / 5; }
.hero-figure figcaption { font-size: var(--text-xs); color: var(--color-field-muted); width: min(100%, 500px); }

/* Photos */
.photo { border-radius: var(--radius-card); }
.photo > img { object-fit: cover; }
.photo--trim > img { transform: scale(1.04); transform-origin: 20% 50%; }
.photo::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; outline: 1px solid var(--color-photo-edge); outline-offset: -1px; pointer-events: none; }

/* Sections */
.section { padding-block: var(--section-gap) 0; }
.section--wide { padding-top: var(--section-gap-l); }
.section-head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.section-head h2 { font-size: var(--text-section); line-height: 1.04; max-width: 22ch; }
.section-head p { font-size: var(--text-lead); color: var(--color-muted); max-width: 52ch; }

/* Three ways in */
.ways { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--color-ink); }
.way { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-sm); align-items: baseline; padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule-strong); }
.way h3 { grid-column: 1 / span 4; font-size: var(--text-title); line-height: 1.2; }
.way-answer { grid-column: 5 / span 8; font: 700 var(--text-display-s)/1.0 var(--font-display); font-stretch: var(--stretch-display); letter-spacing: var(--tracking-display); color: var(--color-accent); font-variant-numeric: tabular-nums; margin: 0; overflow-wrap: break-word; min-width: 0; }
.way-note { grid-column: 5 / span 8; color: var(--color-muted); max-width: 52ch; }
.ways-foot { margin-top: var(--space-xl); font-size: var(--text-lead); max-width: 60ch; }

/* How we match */

/* Lumi: one bordered box under the match paragraph */
.lumi { display: grid; gap: var(--space-sm); margin-top: var(--space-2xl); padding: var(--space-lg); max-width: 760px; background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.lumi-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-sm); }
.lumi h3 { font-size: var(--text-title); line-height: 1.2; }
.lumi p { max-width: 62ch; }
.tag { display: inline-block; padding: var(--space-3xs) var(--space-sm); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-pill); font-size: var(--text-xs); line-height: 1.5; color: var(--color-muted); white-space: nowrap; }

/* What we carry */
.carry { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.carry .section-head { grid-column: 1 / span 4; align-content: start; }
.carry-table { grid-column: 5 / span 8; width: 100%; border-collapse: collapse; }
.carry-table caption { text-align: left; }
.carry-table th, .carry-table td { text-align: left; vertical-align: baseline; padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: 1px solid var(--color-rule-strong); }
.carry-table thead th { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); white-space: nowrap; padding-top: 0; }
.carry-table tbody th { font: 700 var(--text-title)/1.2 var(--font-display); font-stretch: var(--stretch-display); white-space: nowrap; }
.carry-table td:last-child, .carry-table th:last-child { padding-right: 0; }
.carry-foot { grid-column: 5 / span 8; margin-top: var(--space-lg); color: var(--color-muted); }

/* At your shop */
.field-photos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }
.field-photos figure { margin: 0; display: grid; gap: var(--space-sm); }
.field-photos figure:first-child { grid-column: 1 / span 7; }
.field-photos figure:first-child .photo { aspect-ratio: 5 / 4; }
.field-photos figure:last-child { grid-column: 8 / span 5; }
.field-photos figure:last-child .photo { aspect-ratio: 4 / 5; }
.field-photos figcaption { font-size: var(--text-sm); color: var(--color-muted); }

/* Questions */
.faq { margin: 0; border-top: 2px solid var(--color-ink); }
.faq > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-sm); align-items: baseline; padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule-strong); }
.faq dt { grid-column: 1 / span 5; font: 700 var(--text-title)/1.2 var(--font-display); font-stretch: var(--stretch-display); letter-spacing: var(--tracking-display); }
.faq dd { grid-column: 6 / span 7; margin: 0; max-width: 60ch; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; margin-top: var(--space-3xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule-strong); }
.reviews h3 { grid-column: 1 / span 5; font-size: var(--text-title); line-height: 1.2; }
.reviews p { grid-column: 6 / span 7; font-size: var(--text-lead); }

/* Missing facts */
.fill { padding: 0 0.25em; border: 1px dashed var(--color-rule-strong); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.field .fill { border-color: var(--color-field-muted); color: var(--color-field-muted); font-weight: 400; }

/* Hours and area */
.hours { margin-top: var(--section-gap); padding-block: var(--space-3xl); }
.hours-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }
.hours h2 { grid-column: 1 / span 6; font-size: var(--text-section); line-height: 1.04; max-width: 18ch; }
.hours-list { grid-column: 7 / span 6; margin: 0; display: grid; }
.hours-list > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-field-rule); }
.hours-list > div:first-child { padding-top: 0; }
.hours-list dt { color: var(--color-field-muted); }
.hours-list dd { margin: 0; font-weight: 700; }
.hours-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }
.hours-act { justify-content: space-between; padding-top: var(--space-xl); border-top: 1px solid var(--color-field-rule); }
.hours-cta { display: grid; gap: var(--space-2xs); }
.hours-cta h3 { font-size: var(--text-title); line-height: 1.2; }
.hours-act p { color: var(--color-field-muted); }

/* Footer */
.footer { padding-block: var(--space-3xl) var(--space-2xl); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.footer-brand { grid-column: 1 / span 5; display: grid; gap: var(--space-md); justify-items: start; }
.stack { display: inline-grid; justify-items: center; gap: var(--space-sm); text-decoration: none; border-radius: var(--radius-input); }
.stack .mark { width: 56px; height: 56px; }
.stack .wordmark { height: 40px; width: auto; }
.tagline { color: var(--color-muted); }
.footer-links { grid-column: 6 / span 7; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-sm) var(--space-xl); margin: 0; padding: 0; list-style: none; }
.footer-links a { color: inherit; text-decoration: none; border-radius: 2px; }
.footer-links a:hover { text-decoration: underline; }
.footer-links a:active { opacity: 0.8; }
.footer-small { grid-column: 1 / -1; padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-xs); color: var(--color-muted); }

/* Legal pages */
.legal { padding-block: var(--space-3xl) var(--section-gap-s); }
.legal h1 { font-size: var(--text-display-s); line-height: 1.04; }
.legal-body { margin-top: var(--space-xl); display: grid; gap: var(--space-lg); max-width: 65ch; }
.legal-slot { display: grid; place-items: center; min-height: 320px; padding: var(--space-xl); border: 1px dashed var(--color-rule-strong); border-radius: var(--radius-card); color: var(--color-muted); text-align: center; }
.page-paper .nav { border-bottom: 1px solid var(--color-rule); }

/* Responsive */
@media (max-width: 60rem) {
  .nav-hours { display: none; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-figure { grid-column: 1 / -1; justify-items: start; margin-top: var(--space-2xl); }
  .way h3, .way-answer, .way-note { grid-column: 1 / -1; }
  .carry .section-head, .carry-table { grid-column: 1 / -1; }
  .field-photos figure:first-child, .field-photos figure:last-child { grid-column: 1 / -1; }
  .field-photos { row-gap: var(--space-xl); }
  .reviews h3, .reviews p { grid-column: 1 / -1; }
  .carry-foot { grid-column: 1 / -1; }
  .faq dt, .faq dd { grid-column: 1 / -1; }
  .reviews { row-gap: var(--space-md); }
  .hours h2, .hours-list { grid-column: 1 / -1; }
  .footer-brand, .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 40rem) {
  .nav-side { gap: var(--space-md); }
  .lockup .wordmark { display: none; }
  .lockup .mark { width: 40px; height: 40px; }
  .nav-link, .btn--quiet { font-size: var(--text-md); }
  .carry-table tbody th { white-space: normal; }
  .carry-table thead { display: none; }
  .carry-table tr { display: grid; gap: var(--space-2xs); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule-strong); }
  .carry-table th, .carry-table td { border: 0; padding: 0; }
  .hours-list > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .lumi { padding: var(--space-md); }
}

/* Matching section: text and Lumi on the left, our spectrophotometer photo on the right */
.match { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.match .lumi { max-width: none; }
.match-figure { margin: 0; display: grid; gap: var(--space-xs); }
.match-figure .photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.match-figure .photo > img { width: 100%; height: 100%; display: block; }
.match-figure figcaption { font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .match { grid-template-columns: minmax(0, 1fr); } }
