/* Hallmark · shape: Split Studio · genre: editorial · theme: Sport (deal 1/3, seed independent-auto-repair-shop-4917·0fa76d16·2026-12-03·r0) · job: visit · draw: 896d03
 * hero: Ledge (Zachary's older-truck quote at the top of a signal-red field, the head resting at its base) · nav: masthead · footer: statement · imagery: one library photograph (a workshop bench of spanners), duotone · signature: the older truck no other shop would look at, Zachary's words held over "Bring the old truck in." on the first screen
 * axes: light/display-condensed/chromatic-red · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E (no business photos), one library photo and the reviews carry the page instead */
/* Hallmark · factory override (BUILD-RULES): Sport's Saira Condensed (taken) swapped for Roboto Condensed 800 caps tracked +0.04em; volt replaced by a signal-red colour field (volt on black is Humble Concrete's); graphite ink; 3px rules; chunky 52px buttons with a hard offset shadow (Sport keeps none) */
/* Hallmark · draw swaps: "what is on now" became the shop bench photo with Zachary's old-and-new-school line; the shelves Rail became four across (only four repairs have short exact quotes) */
/* Hallmark · waive 23 · the signal-red field fills the hero and footer by the factory's colour-field rule · the red is the shop's field colour here, the buttons stay graphite */
/* Hallmark · dismissed F1 · aren't is Bork's own straight apostrophe, kept word for word in the review quote */
/* Hallmark · waive 77 · the ink band holds First Chord's review at statement size beside its head · the customer's own account of free advice is the section; a second element would dilute it */
/* Hallmark · dismissed 58 · the 1440 window spans four repair quotes and the form labels, each review already trimmed to its key line */
/* Hallmark · dropped: "over 30 years of experience" and "dealer for DJM suspension" (reviewer claims, left unquoted); no owner name, years, certifications, warranties or prices */
@import url("./tokens.css");
@import url("./base.css");

body { color: var(--color-ink); }
h1, h2, h3 { color: var(--color-ink); text-transform: uppercase; letter-spacing: var(--tracking-display); line-height: 1.04; }
h2 { font-size: var(--text-section); }

/* preview bar */
.preview { margin: 0; padding: var(--space-xs) var(--gutter); background: var(--color-ink); color: var(--color-field-ink); font-size: var(--text-xs); text-align: center; }

/* masthead */
.mast { background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-ink); }
.mast__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-md); min-height: 76px; }
.mast__side { justify-self: start; font-weight: 600; text-decoration: none; white-space: nowrap; }
.mast__side:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.wordmark { font: var(--display-weight) var(--text-2xl)/1 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--color-ink); }
.mast .btn { justify-self: end; }

/* buttons */
.btn { --btn-shadow: var(--color-accent); display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); font: var(--display-weight) var(--text-lg)/1 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: 5px 5px 0 var(--btn-shadow); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-ink); color: var(--color-field-ink); }
.btn--secondary { background: var(--color-paper); color: var(--color-ink); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-md); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--btn-shadow); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--btn-shadow); }
.btn:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 4px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.hero .btn { --btn-shadow: var(--color-ink); }
.hero .btn--primary { border-color: var(--color-field-ink); }
.hero :focus-visible, .foot :focus-visible { outline-color: var(--color-field-ink); }

/* hero: Ledge on a signal-red field */
.hero { background: var(--color-field); color: var(--color-field-ink); border-bottom: var(--rule-bar) solid var(--color-ink); }
.hero__in { display: grid; grid-template-rows: auto auto; align-content: space-between; gap: var(--space-2xl); min-height: calc(100svh - 112px); padding-block: var(--space-2xl) var(--space-2xl); }
.hero__quote { margin: 0; max-width: 40ch; justify-self: end; border-left: var(--rule-bar) solid var(--color-field-ink); padding-left: var(--space-lg); }
.hero__quote blockquote { margin: 0; }
.hero__quote p { font-size: var(--text-xl); line-height: 1.4; }
.hero__quote figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); }
.hero__foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: end; }
.hero h1 { color: var(--color-field-ink); font-size: clamp(3rem, 6.4vw + 0.5rem, 7.5rem); line-height: 1.0; max-width: 14ch; text-wrap: wrap; }
.hero__act { display: grid; gap: var(--space-lg); container-type: inline-size; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }
/* open/closed line (script, from the hours table): right under Call; under the row once both buttons share it */
.status { flex-basis: 100%; margin: calc(-1 * var(--space-2xs)) 0 var(--space-2xs); font-size: var(--text-md); font-weight: 600; line-height: 1.3; }
@container (min-width: 31.25rem) { .status { order: 1; margin-bottom: 0; } }
.rating { font-size: var(--text-lead); font-weight: 600; line-height: 1.4; }
.nw { white-space: nowrap; }

/* rows */
.row { padding-block: var(--section-gap); }
.row + .row { border-top: var(--rule-bar) solid var(--color-ink); }
.row--well { background: var(--color-paper-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.split--lead { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.split__text { display: grid; gap: var(--space-lg); justify-items: start; }
.split__text p { font-size: var(--text-lead); }

/* hours */
.hours { width: 100%; border-collapse: collapse; border-top: var(--rule-bar) solid var(--color-ink); border-bottom: var(--rule-bar) solid var(--color-ink); font-size: var(--text-lead); }
.hours th, .hours td { padding: var(--space-md) var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); text-align: left; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font: 400 var(--text-lead)/1.3 var(--font-outlier); font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--color-paper-2); box-shadow: inset var(--space-2xs) 0 0 var(--color-accent); }
.today { margin-left: var(--space-xs); padding: var(--space-3xs) var(--space-xs); background: var(--color-accent); color: var(--color-accent-ink); border-radius: var(--radius-card); font-size: var(--text-sm); font-weight: 600; }

/* photo */
.frame { aspect-ratio: 4 / 3; border-radius: var(--radius-card); border: var(--rule-bar) solid var(--color-ink); min-height: 360px; }

/* quotes */
.pull { margin: 0; border-left: var(--rule-bar) solid var(--color-accent); padding-left: var(--space-lg); }
.pull blockquote { margin: 0; }
.pull p { font-size: var(--text-xl); line-height: 1.4; max-width: 45ch; }
.pull figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.split__text .pull p { font-size: var(--text-xl); }

/* ink band */
.band { background: var(--color-ink); color: var(--color-field-ink); padding-block: var(--section-gap); }
.band h2 { color: var(--color-field-ink); }
.band .pull { border-left-color: var(--color-field); }
.band .pull p { font-size: var(--text-3xl); line-height: 1.35; max-width: 45ch; }
.band .pull figcaption { color: var(--color-paper-3); }

/* the work, four across */
.row--work { padding-block: var(--section-gap) var(--section-gap-l); }
.jobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-xl) auto 0; list-style: none; }
.jobs li { display: grid; align-content: start; gap: var(--space-md); border-top: 6px solid var(--color-accent); padding-top: var(--space-lg); }
.jobs h3 { font-size: var(--text-title); }
.jobs blockquote { margin: 0; }
.jobs blockquote p { font-size: var(--text-lg); line-height: 1.5; }
.who { font-size: var(--text-sm); color: var(--color-muted); }

/* contact */
.tel { font: var(--display-weight) var(--text-3xl)/1 var(--font-display); letter-spacing: 0.04em; color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 4px; text-underline-offset: 0.18em; white-space: nowrap; }
.tel:hover { color: var(--color-accent-deep); }
.ask { display: grid; gap: var(--space-lg); padding: var(--space-xl); background: var(--color-paper); border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); }
.field { display: grid; gap: var(--space-xs); font-size: var(--text-sm); font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: var(--space-sm); border: 2px solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-weight: 400; font-size: var(--text-md); transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.field input:hover, .field textarea:hover { border-color: var(--color-accent-deep); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field textarea { resize: vertical; }
.ask .btn { justify-self: start; }
.form-note { font-size: var(--text-md); font-weight: 600; }

/* footer: statement on the red field */
.foot { background: var(--color-field); color: var(--color-field-ink); padding-block: var(--space-3xl) var(--space-2xl); }
.foot h2.foot__line { color: var(--color-field-ink); font: var(--display-weight) var(--text-display-s)/1.04 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; max-width: 22ch; }
.foot__facts { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-3xl); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-field-ink); font-size: var(--text-lead); }
.foot__credit { margin-top: var(--space-xl); font-size: var(--text-xs); max-width: 80ch; }
.foot a { color: var(--color-field-ink); }

/* phone call bar */
.callbar { display: none; }
@media (max-width: 40rem) {
  .callbar { display: block; position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); padding: var(--space-sm) var(--gutter); background: var(--color-paper); border-top: var(--rule-bar) solid var(--color-ink); transition: transform var(--dur-short) var(--ease-out); }
  .js .callbar:not(.is-on) { transform: translateY(110%); visibility: hidden; transition: transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
  .callbar .btn { width: 100%; }
  .foot { padding-bottom: calc(var(--space-2xl) + 84px); }
}

@media (max-width: 60rem) {
  .hero__foot, .split, .split--lead { grid-template-columns: minmax(0, 1fr); }
  .hero__in { min-height: 0; gap: var(--space-xl); padding-block: var(--space-xl); }
  .hero__quote { justify-self: start; }
  .split, .hero__foot { gap: var(--space-xl); }
  .frame { min-height: 0; }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
}
@media (max-width: 40rem) {
  .hide-s { display: none; }
  .mast__in { grid-template-columns: minmax(0, 1fr) auto; min-height: 64px; }
  .wordmark { font-size: var(--text-md); }
  .hero__in { display: flex; flex-direction: column-reverse; gap: var(--space-xl); }
  .hero__quote p { font-size: var(--text-lg); }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .two, .jobs { grid-template-columns: minmax(0, 1fr); }
  .ask { padding: var(--space-lg); }
  .tel { font-size: var(--text-2xl); }
  .band .pull p { font-size: var(--text-xl); }
  .hours, .hours td { font-size: var(--text-md); }
  .hours td { white-space: nowrap; }
  .hours th, .hours td { padding-inline: var(--space-xs); }
}
@media (max-width: 400px) {
  .xs-hide { display: none; }
  .wordmark { font-size: var(--text-md); }
}
