/* Hallmark · shape: Split Studio · genre: editorial · theme: Formwork (deal 2/3, seed spokane-general-contractor-roofer-8568·0fa76d16·2026-12-01·r0) · job: hire · draw: ca8829
 * hero: Stage on the slate field (swapped from the draw's Corridor: Arrow Point Roofing, the last Formwork build, is Split Studio plus Corridor, so the mirror test changes the hero) · nav: slab · footer: statement · imagery: photographs, 2 Hallmark library stand-ins in black and white, credited · signature: the phone number as the hero's main action, with Nicole Miller's "He always answers the phone…" under it · formwork: cast edges and hard shadows kept, the pour recoloured to the fixed slate and sky palette, no grain
 * axes: light/display-condensed/cool · posture: committed (slate carries the nav, the hero, the review band and the footer; sky blue on buttons, cast shadows and rules) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, Greystone has no job photos online; the page leans on the work and the words in 21 five-star reviews, quoted exactly, and leaves photo slots for Andre's own */
/* Hallmark · override: display face Barlow Condensed 800 over Barlow, slate field and sky-blue signal, fixed by the factory brief (Sam's style rules, Nov 30 2026) over Formwork's Oswald, Archivo and orange; heads tracked 0.04em at line-height 1.02 or more (Sam's typography rule) */
/* Hallmark · waive 77 · the roofing row holds an eight-line service list beside a cast review plate, about 480px tall · Split Studio's text-and-proof row; widening the list would break the proof side */
/* Hallmark · dismissed F1 · the honeypot label "Don't fill this out" is fixed by the build rules for the Netlify form and is never shown */
/* Hallmark · dropped: hours (the listing says "Open 24 hours"), the listing's street address (home-based), prices, years in business, license and warranty (none given) */
@import url("./tokens.css");
@import url("./base.css");

body { color: var(--color-ink-2); font-size: 1.0625rem; }
h1, h2, h3 { text-transform: uppercase; letter-spacing: var(--tracking-display); line-height: 1.04; color: var(--color-ink); }
a:hover { text-decoration-color: var(--color-accent-deep); }
.nowrap { white-space: nowrap; }

/* chrome */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.preview { margin: 0; padding: var(--space-xs) var(--gutter); background: var(--color-field-2); color: var(--color-field-muted); font-size: var(--text-sm); text-align: center; }

/* nav: slab */
.slab { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-field-2); border-bottom: var(--rule-bar) solid var(--color-accent); }
.slab__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.wordmark { display: grid; gap: var(--space-3xs); color: var(--color-field-ink); text-decoration: none; line-height: 1; }
.wordmark__big { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); text-transform: uppercase; letter-spacing: var(--tracking-display); }
.wordmark__small { font-size: var(--text-sm); font-weight: 600; color: var(--color-field-muted); }
.wordmark:focus-visible { outline-color: var(--color-focus-on-field); outline-offset: 4px; }
.slab ul { display: flex; align-items: center; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.slab a:not(.btn) { color: var(--color-field-ink); font-weight: 600; text-decoration: none; }
.slab a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.slab a:not(.btn):focus-visible { outline-color: var(--color-focus-on-field); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-btn) solid var(--color-ink); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font: var(--display-weight) var(--text-lg)/1 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-btn);
  transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.btn:hover { background: var(--color-paper-2); }
.btn:active { translate: 4px 4px; box-shadow: 0 0 0 var(--color-ink); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; translate: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--nav { min-height: 48px; padding: 0 var(--space-md); border-color: var(--color-accent); box-shadow: none; }
.btn--nav:active { translate: 0 2px; }
.btn--nav:focus-visible, .hero .btn:focus-visible, .band :focus-visible, .foot :focus-visible, .callbar .btn:focus-visible { outline-color: var(--color-focus-on-field); }

/* hero: Stage on the slate field */
.hero { display: grid; align-items: center; min-height: calc(100svh - var(--nav-h) - 2.5rem); padding-block: var(--space-2xl) var(--space-3xl); background: var(--color-field); color: var(--color-field-ink); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.hero__text { display: grid; justify-items: start; gap: var(--space-lg); }
.hero h1 { max-width: 12em; font-size: clamp(3rem, 5.5vw + 1rem, 6.25rem); line-height: 1.02; color: var(--color-field-ink); }
.hero .lead { max-width: 34ch; color: var(--color-field-muted); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xs); }
.hero .btn--primary { box-shadow: 4px 4px 0 var(--color-field-ink); }
.hero .btn--primary:active { box-shadow: 0 0 0 var(--color-field-ink); }
.hero .btn--secondary { border-color: var(--color-field-ink); box-shadow: 4px 4px 0 var(--color-accent); }
.hero .btn--secondary:active { box-shadow: 0 0 0 var(--color-accent); }
.hero__proof { max-width: 44ch; padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-field-rule); color: var(--color-field-muted); font-size: var(--text-md); }
.hero__quote { display: block; color: var(--color-field-ink); font-size: var(--text-lg); font-weight: 600; }
.hero__fig { margin: 0; }

/* photographs: cast in a frame with a hard sky shadow */
.photo { border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); }
.photo--hero { height: min(66svh, 620px); border-color: var(--color-field-ink); }
.photo--adu { aspect-ratio: 4 / 3; }
.photo-fig { margin: 0; }

/* the split rows */
.split, .contact { padding-block: var(--section-gap-s); }
.split + .split { padding-top: 0; }
.split__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-xl); }
.split + .split--range { padding-top: var(--section-gap); }
.split--range .split__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.split--roof .split__grid { align-items: center; }
.split--adu .split__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
.split__text { display: grid; gap: var(--space-lg); align-content: start; }
.split__text h2 { max-width: 12em; }

.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-columns); margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.ticks li { padding-block: var(--space-sm); border-bottom: 2px solid var(--color-rule); color: var(--color-ink); font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }
.ticks li:nth-child(-n+2) { border-top: 2px solid var(--color-ink); }

.proof { display: grid; gap: var(--space-2xl); padding-right: var(--space-xs); }
.plate { margin: 0; padding: var(--space-xl); background: var(--color-plate); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); }
.plate blockquote { margin: 0; }
.plate blockquote p { color: var(--color-ink); font-size: clamp(1.375rem, 1vw + 1rem, 1.875rem); font-weight: 600; line-height: 1.3; }
.plate figcaption, .pull figcaption { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }
.pull { margin: 0; padding-left: var(--space-lg); border-left: var(--rule-bar) solid var(--color-accent); }
.pull blockquote { margin: 0; }
.pull blockquote p { color: var(--color-ink); font-size: var(--text-lg); line-height: 1.45; }
.pull--big blockquote p { font-size: var(--text-lead); }

.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.jobs li { padding-block: var(--space-md) var(--space-lg); border-bottom: 2px solid var(--color-rule); }
.jobs li:nth-child(-n+2) { border-top: var(--rule-bar) solid var(--color-accent); }
.jobs h3 { font-size: clamp(1.5rem, 1vw + 1.125rem, 2.125rem); line-height: 1.04; }
.jobs p { margin-top: var(--space-2xs); color: var(--color-muted); }

/* the review band */
.band { padding-block: var(--section-gap-s); background: var(--color-field); color: var(--color-field-ink); }
.band .split__grid { border-top-color: var(--color-accent); }
.band h2 { color: var(--color-field-ink); }
.band .lead { color: var(--color-field-muted); }
.score { display: grid; gap: var(--space-xs); margin-top: var(--space-md); }
.score b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(6rem, 8vw + 2rem, 11rem); line-height: 1; letter-spacing: 0.04em; color: var(--color-field-ink); }
.score span { color: var(--color-field-muted); font-size: var(--text-md); }
.quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.quotes li { display: grid; gap: var(--space-md); align-content: start; padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-field-rule); }
.quotes blockquote { margin: 0; }
.quotes blockquote p { color: var(--color-field-ink); font-size: var(--text-lead); line-height: 1.45; }
.quotes__by { color: var(--color-accent); font-weight: 600; font-size: var(--text-md); }

/* contact */
.contact { padding-block: var(--section-gap); }
.facts { margin: var(--space-md) 0 0; }
.facts div { display: grid; gap: var(--space-2xs); padding-block: var(--space-md); border-bottom: 2px solid var(--color-rule); }
.facts div:first-child { border-top: 2px solid var(--color-ink); }
.facts dt { color: var(--color-muted); font-size: var(--text-sm); }
.facts dd { margin: 0; color: var(--color-ink); font-size: var(--text-lg); font-weight: 600; }
.facts .tel { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2rem, 2vw + 1.25rem, 3rem); letter-spacing: 0.02em; line-height: 1.05; text-decoration: none; white-space: nowrap; }
.facts .tel:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 3px; }

.estimate { display: grid; gap: var(--space-lg); padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); margin-right: var(--space-xs); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.field { display: grid; gap: var(--space-xs); color: var(--color-ink); font-size: var(--text-md); font-weight: 600; }
.field input, .field select, .field textarea { min-height: 52px; padding: 0 var(--space-md); border: 2px solid var(--color-ink); border-radius: 0; background: var(--color-plate); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); font-weight: 400; outline: 3px solid transparent; outline-offset: 2px; }
.field textarea { min-height: 120px; padding-block: var(--space-sm); resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid="true"] { border-color: var(--color-error); }
.estimate .btn { justify-self: start; }
.form-note { color: var(--color-ink); font-weight: 600; }

/* footer: statement */
.foot { padding-block: var(--section-gap-s) var(--space-2xl); background: var(--color-field-2); color: var(--color-field-muted); border-top: var(--rule-bar) solid var(--color-accent); }
.foot__statement { max-width: 16em; font-size: var(--text-display-s); line-height: 1.04; color: var(--color-field-ink); }
.foot__links { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-md) var(--space-xl); margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
.foot__links a { color: var(--color-field-ink); font-weight: 600; }
.foot__links .foot__tel { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-3xl); letter-spacing: 0.02em; color: var(--color-accent); text-decoration: none; white-space: nowrap; }
.foot__links .foot__tel:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.foot small { display: block; max-width: 80ch; margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 2px solid var(--color-field-rule); font-size: var(--text-sm); line-height: 1.6; }
.foot small a { color: var(--color-field-ink); white-space: nowrap; }

/* tablet and phone */
.callbar { display: none; }
@media (max-width: 60rem) {
  .slab ul .hide-s { display: none; }
  .hero { min-height: 0; padding-block: var(--space-xl) var(--space-3xl); }
  .hero__grid, .split__grid, .split--range .split__grid, .split--adu .split__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4.5rem); }
  .photo--hero { height: clamp(240px, 62vw, 420px); }
  .photo, .plate, .estimate { box-shadow: 6px 6px 0 var(--color-accent); }
  .proof { gap: var(--space-xl); }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .foot { padding-bottom: calc(var(--callbar-h) + var(--space-2xl)); }
  .callbar { position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-sticky); display: block; padding: var(--space-sm) var(--gutter); background: var(--color-field-2); border-top: var(--rule-bar) solid var(--color-accent); }
  .callbar .btn { width: 100%; box-shadow: none; }
  .callbar .btn:active { translate: 0 2px; }
}
@media (max-width: 40rem) {
  :root { --nav-h: 68px; }
  .wordmark__big { font-size: var(--text-xl); }
  .wordmark__small { font-size: var(--text-xs); }
  .btn--nav { font-size: var(--text-md); padding: 0 var(--space-sm); min-height: 44px; }
  .actions { display: grid; width: 100%; }
  .actions .btn { width: 100%; }
  .ticks, .jobs, .two { grid-template-columns: minmax(0, 1fr); }
  .jobs li:nth-child(2) { border-top: 0; }
  .ticks li:nth-child(2) { border-top: 0; }
  .plate, .estimate { padding: var(--space-lg); }
  .estimate .btn { justify-self: stretch; }
  .foot__links .foot__tel { font-size: var(--text-2xl); }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: background-color var(--dur-short) linear; }
  .btn:active, .btn--nav:active, .callbar .btn:active { translate: none; }
}

/* call bar: hidden until the hero scrolls away, so it never covers the first phone screen (precheck, Nov 30 2026) */
@media (max-width: 60rem) {
  .callbar { transition: transform var(--dur-short) var(--ease-out), visibility var(--dur-short); }
  .js .callbar:not(.is-on) { visibility: hidden; transform: translateY(calc(100% + 24px)); }
}
@media (prefers-reduced-motion: reduce) { .callbar { transition: none; } }
