/* Hallmark · shape: Photographic · genre: editorial · theme: Formwork (deal 1/3, seed mills-custom-carpentry-custom-db28·0fa76d16·2026-12-02·r0) · job: hire · draw: b4a8f7
 * hero: Ledge (photo ledge left, head and actions right on the brand-tan field, the 5.0 plate riding the photo's foot) · nav: banner (the drawn retracting bar kept as a plain banner: no script, nothing to retract on a one-page preview) · footer: index columns · imagery: photographs, 5 of Mills Custom Carpentry's own from its public Instagram · signature: Mike's custom range hood inside the arch, his own photo, on the first screen beside the 5.0 plate · formwork: custom pour (brand tan and charcoal)
 * axes: mid/display-condensed/warm · posture: full-palette (brand tan #ab9474 carries the hero field, buttons and seal; charcoal carries the banner, statement band and footer) · contrast: pass · fold: pass · brand: tan #ab9474 + black, sampled from the saw-blade logo on his own Instagram posts · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, his Instagram photos are 640px phone shots, so they sit in modest frames rather than full-bleed */
/* Hallmark · override (BUILD-RULES, Sam Nov 30): Oswald is taken by another preview → Mohave 700 caps (untaken), tracking 0.045em, line-height 1.04; Archivo → IBM Plex Sans; Archivo Narrow outlier dropped (no figures beyond 5.0) */
/* Hallmark · override: Formwork's grey concrete and safety orange re-poured in the business's own brand tan and logo black; photographs stay in colour (the wood and stain are the work), not the theme's black and white */
/* Hallmark · answered F4: the nav call button is tan because the ink primary would vanish on the charcoal banner; same shape, size step and press */
/* Hallmark · dropped: draw's "where it is" reduced to the service area (service-area business, no address, Sam's rule); Split and Statement-as-hero left out as dealt; Kristina West's quote is a band, not the hero */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --color-paper: oklch(96% 0.01 85); --color-paper-2: oklch(91.5% 0.022 80); --color-paper-3: oklch(84% 0.03 78);
  --color-ink: oklch(20% 0.006 70); --color-ink-2: oklch(30% 0.01 70); --color-muted: oklch(40% 0.015 70);
  --color-field: oklch(67% 0.048 78); --color-field-ink: oklch(20% 0.006 70);
  --color-accent: oklch(67% 0.048 78); --color-accent-ink: oklch(20% 0.006 70);
  --color-night: oklch(20% 0.006 70); --color-on-night: oklch(96% 0.01 85); --color-on-night-2: oklch(84% 0.03 78);
  --color-rule: oklch(20% 0.006 70); --color-focus: oklch(45% 0.09 60);
  --font-display: "Mohave", "Arial Narrow", sans-serif; --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --tracking-display: 0.045em; --display-weight: 700;
  --rule-bar: 3px; --shadow-card: 6px 6px 0 var(--color-ink); --shadow-press: 1px 1px 0 var(--color-ink);
  --container: 1280px;
}

h1, h2, h3 { text-transform: uppercase; line-height: 1.04; }

/* preview strip */
.preview { background: var(--color-night); color: var(--color-on-night-2); font-size: var(--text-xs); text-align: center; padding: var(--space-xs) var(--space-md); border-bottom: 1px solid var(--color-ink-2); }

/* banner nav: charcoal */
.banner { background: var(--color-night); color: var(--color-on-night); border-bottom: var(--rule-bar) solid var(--color-accent); }
.banner__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 76px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); line-height: 1.04; text-transform: uppercase; letter-spacing: 0.045em; text-decoration: none; white-space: nowrap; color: var(--color-accent); }
.wordmark span { color: var(--color-on-night); font-size: 0.6em; margin-left: 0.3em; }
.banner ul { display: flex; align-items: center; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.banner ul a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--color-on-night); }
.banner ul a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }

/* buttons */
.btn { 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: 0; box-shadow: var(--shadow-card); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: 0.045em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-ink); color: var(--color-paper); box-shadow: 6px 6px 0 var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); color: var(--color-paper); }
.btn--secondary { background: var(--color-paper); color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-2); }
.btn:active { box-shadow: var(--shadow-press); transform: translate(4px, 4px); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn--nav { min-height: 48px; font-size: var(--text-md); padding: 0 var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 4px 4px 0 var(--color-paper); }
.btn--nav:hover { background: var(--color-paper); color: var(--color-ink); }
.banner, .foot, .statement { --color-focus: var(--color-accent); }
.hero, .contact { --color-focus: var(--color-ink); }

/* hero: brand-tan field, photo ledge left */
.hero { background: var(--color-field); color: var(--color-field-ink); padding: var(--space-2xl) 0 var(--space-3xl); border-bottom: var(--rule-bar) solid var(--color-ink); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.hero__text { order: 2; }
.hero__pic { order: 1; position: relative; margin: 0 0 var(--space-lg); }
.hero h1 { font-size: clamp(3rem, 4.6vw + 0.75rem, 5.75rem); max-width: 13ch; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink); max-width: 36ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xl); }
.hero .btn--secondary { box-shadow: var(--shadow-card); }

.frame { border: var(--rule-bar) solid var(--color-ink); aspect-ratio: 1 / 1; }
.frame--tall { aspect-ratio: 3 / 4; max-height: 70svh; width: 100%; box-shadow: 10px 10px 0 var(--color-ink); }
[data-slot] > img { filter: none; }
.seal { position: absolute; right: calc(var(--space-xl) * -1); bottom: calc(var(--space-lg) * -1); z-index: var(--z-raised); display: flex; align-items: center; gap: var(--space-md); max-width: 290px; padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-md); background: var(--color-paper); color: var(--color-ink); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); }
.seal__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.75rem, 3vw + 1.5rem, 4rem); line-height: 1; letter-spacing: 0.045em; }
.seal__small { font-weight: 600; font-size: var(--text-sm); line-height: 1.3; }

/* what he builds */
.builds { padding: var(--section-gap-s) 0; }
.builds__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl); align-items: start; }
.builds h2 { max-width: 10ch; }
.award-plate { margin-top: var(--space-xl); max-width: 26ch; padding: var(--space-md) var(--space-lg); background: var(--color-accent); color: var(--color-accent-ink); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); font-weight: 600; font-size: var(--text-lg); line-height: 1.35; }
.index { list-style: none; margin: 0; padding: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.index li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--space-xl); align-items: baseline; padding: var(--space-lg) 0; border-bottom: 2px solid var(--color-accent); }
.index h3 { font-size: var(--text-2xl); max-width: none; }
.index p { color: var(--color-ink-2); }

/* work: his photos */
.work { background: var(--color-paper-2); border-top: var(--rule-bar) solid var(--color-ink); padding: var(--section-gap-s) 0; }
.shots { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.shots figure { margin: 0; }
.shots .frame { aspect-ratio: 4 / 5; box-shadow: var(--shadow-card); }
.shots figcaption { margin-top: var(--space-md); font-weight: 600; font-size: var(--text-sm); }

/* statement band: charcoal */
.statement { background: var(--color-night); color: var(--color-on-night); border-top: var(--rule-bar) solid var(--color-accent); padding: var(--section-gap-s) 0; }
.statement blockquote { margin: 0; }
.statement__plate { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.045em; line-height: 1.08; font-size: clamp(2rem, 3.4vw + 0.75rem, 4rem); max-width: 26ch; text-wrap: balance; }
.statement__who { margin-top: var(--space-lg); font-weight: 600; font-size: var(--text-lg); color: var(--color-accent); }

/* reviews */
.reviews { padding: var(--section-gap-s) 0; }
.reviews__head { display: grid; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.reviews__head p { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 52ch; }
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.rows li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl); padding: var(--space-xl) 0; border-bottom: 2px solid var(--color-accent); }
.rows h3 { font-size: var(--text-title); max-width: none; padding-top: 0.2em; }
.rows blockquote { margin: 0; }
.rows blockquote p { font-size: var(--text-lead); line-height: 1.45; max-width: 54ch; }

/* contact */
.contact { background: var(--color-field); border-top: var(--rule-bar) solid var(--color-ink); padding: var(--section-gap-s) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; }
.contact h2 { max-width: 13ch; }
.hours { margin: var(--space-xl) 0; border-top: var(--rule-bar) solid var(--color-ink); }
.hours div { display: flex; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; padding: var(--space-sm) 0; border-bottom: 2px solid var(--color-ink); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.well { display: grid; gap: var(--space-md); background: var(--color-paper); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); padding: var(--space-xl); }
.well .btn--primary { box-shadow: var(--shadow-card); justify-self: start; }
.field { display: grid; gap: var(--space-xs); }
.field span { font-weight: 600; font-size: var(--text-sm); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--space-xs) var(--space-sm); background: var(--color-paper); color: var(--color-ink); border: 2px solid var(--color-ink); border-radius: 0; transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--color-paper-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; }
.field input:user-invalid { border-color: var(--color-error); }
.form-note { font-weight: 600; }

/* footer: index columns on charcoal */
.foot { background: var(--color-night); color: var(--color-on-night-2); padding: var(--space-3xl) 0 var(--space-xl); border-top: var(--rule-bar) solid var(--color-accent); }
.foot__cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl); }
.foot__cols > div { display: grid; gap: var(--space-xs); align-content: start; }
.foot__plate { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.045em; line-height: 1.04; font-size: var(--text-3xl); color: var(--color-accent); }
.foot__head { font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); text-transform: none; letter-spacing: 0; color: var(--color-on-night); margin-bottom: var(--space-2xs); }
.foot a { color: var(--color-on-night); }
.foot a:hover { color: var(--color-accent); }
.credits { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 2px solid var(--color-ink-2); font-size: var(--text-sm); }

@media (max-width: 60rem) {
  .hero__grid, .builds__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__text { order: 1; }
  .hero__pic { order: 2; margin: var(--space-md) var(--space-lg) var(--space-lg) 0; }
  .frame--tall { aspect-ratio: 4 / 4.2; max-height: none; }
  .seal { right: calc(var(--space-md) * -1); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .foot__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .hide-s { display: none; }
  .banner__row { min-height: 64px; }
  .wordmark { font-size: var(--text-xl); }
  .wordmark span { display: block; margin: 0.3em 0 0; font-size: 0.62em; }
  .btn--nav { font-size: var(--text-sm); padding: 0 var(--space-sm); }
  .hero { padding: var(--space-xl) 0 var(--space-2xl); }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .actions .btn { width: 100%; }
  .index li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .index h3 { font-size: var(--text-xl); }
  .shots figcaption { font-size: var(--text-xs); }
  .well { padding: var(--space-lg); }
  .foot__cols { grid-template-columns: minmax(0, 1fr); }
}
