/* Stoutbeam Builders · example of the Starter Site package. Level 1: the motion system only. */

@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/bigshoulders-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/bigshoulders-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/fonts/atkinson-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/fonts/atkinson-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: oklch(49% 0.2 257);          /* chalk-line blue, the work colour */
  --blue-press: oklch(42% 0.18 258);
  --blue-deep: oklch(29% 0.1 258);
  --blue-soft: oklch(93% 0.035 250);
  --blue-line: oklch(80% 0.08 252);
  --paper: oklch(97.6% 0.006 85);      /* plaster white */
  --paper-2: oklch(94.4% 0.011 85);
  --white: oklch(99% 0.003 85);
  --ink: oklch(23% 0.02 255);          /* site-pencil graphite */
  --ink-2: oklch(41% 0.02 255);
  --line: oklch(84% 0.012 85);
  --line-strong: oklch(62% 0.015 255);
  --err: oklch(48% 0.17 28);
  --err-soft: oklch(95% 0.025 28);

  --f-disp: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-text: 'Atkinson Hyperlegible Next', 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);      /* ease-out-expo, the one curve */
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-1: 140ms; --t-2: 260ms; --t-3: 560ms; --t-4: 900ms;

  --gut: clamp(1rem, 4vw, 3rem);
  --sec: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 4px;
  --wrap: 82rem;
}

@media (min-width: 2400px) { html { font-size: 125%; } }
@media (min-width: 3600px) { html { font-size: 160%; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .page-hero :focus-visible, .quote-sec .quote-intro :focus-visible, .site-foot :focus-visible { outline-color: var(--white); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

/* Example label: on every page, never hidden */
.demo-bar { background: var(--ink); color: var(--paper); text-align: center; font-size: .9375rem; line-height: 1.35; padding: .5rem var(--gut); }

/* Header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 1rem 2rem; min-height: 5rem; flex-wrap: wrap; padding-block: .75rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: .9; margin-right: auto; }
.brand-name { font-family: var(--f-disp); font-weight: 900; font-size: 2.125rem; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.brand-sub { font-family: var(--f-disp); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-top: .3rem; }
.nav { display: flex; gap: .25rem; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .9rem; text-decoration: none; font-weight: 700; border-radius: var(--radius); transition: background-color var(--t-1) var(--ease); }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.head-call { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: 0 1.1rem; background: var(--blue); color: var(--white); text-decoration: none; border-radius: var(--radius); font-weight: 700; transition: background-color var(--t-1) var(--ease), transform var(--t-1) var(--ease); }
.head-call-num { font-family: var(--f-disp); font-size: 1.4rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.head-call:hover { background: var(--blue-press); }
.head-call:active { transform: scale(.97); }
@media (max-width: 759px) {
  .head-row { min-height: 0; gap: .5rem 1rem; }
  .brand-name { font-size: 1.9rem; }
  .head-call { padding: 0 .9rem; }
  .head-call-num { display: none; }
  .nav { order: 3; width: 100%; margin-inline: -.9rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.375rem; padding: .6rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius); font-weight: 700; font-size: 1.125rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color var(--t-1) var(--ease), color var(--t-1) var(--ease), border-color var(--t-1) var(--ease), transform var(--t-1) var(--ease); }
.btn:active { transform: scale(.97); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--blue-soft); }
.btn-num { font-family: var(--f-disp); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; color: var(--blue); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: oklch(99% 0.003 85 / .14); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-press); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--paper-2); }
.btn-wide { width: 100%; }
.link-arrow { font-weight: 700; color: var(--blue); text-underline-offset: .25em; text-decoration-thickness: 2px; display: inline-flex; min-height: 2.75rem; align-items: center; }
.link-arrow::after { content: ''; width: .5em; height: .5em; margin-left: .55rem; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); transition: transform var(--t-2) var(--ease); }
.link-arrow:hover::after { transform: translateX(4px) rotate(45deg); }

.tag { display: inline-block; font-family: var(--f-text); font-size: .9375rem; font-weight: 700; line-height: 1.2; letter-spacing: .02em; padding: .15rem .5rem; border: 1.5px solid currentColor; border-radius: 999px; white-space: nowrap; vertical-align: .1em; }

/* Hero */
.hero { background: var(--blue); color: var(--white); padding-top: clamp(2rem, 1rem + 3vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: end; }
.hero-text { padding-bottom: clamp(3rem, 6vw, 6rem); }
.eyebrow { font-family: var(--f-disp); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-h { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 1.5rem + 3.7vw, 6.25rem); line-height: .9; letter-spacing: .003em; margin-top: .6rem; max-width: 15ch; text-wrap: balance; }
.chalk { width: min(100%, 30rem); height: 12px; margin: 1.1rem 0 1.2rem; overflow: visible; transform-origin: left center; }
.chalk path { fill: none; stroke: var(--white); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 46 3 21 2 64 4 30 2; vector-effect: non-scaling-stroke; }
.hero-sub { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.5; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero-note { display: flex; align-items: baseline; gap: .6rem; margin-top: 1.1rem; font-weight: 700; }
.dot { flex: none; width: .65rem; height: .65rem; border-radius: 50%; background: oklch(88% 0.14 150); box-shadow: 0 0 0 3px oklch(88% 0.14 150 / .3); }
.hero-photo { margin-bottom: -4.5rem; position: relative; z-index: 1; }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid var(--white); border-radius: 2px; box-shadow: 0 30px 60px -30px oklch(20% 0.05 258 / .55); background: var(--blue-soft); }
.hero-photo figcaption { color: var(--ink); font-size: 1rem; margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.hero-photo figcaption .tag { color: var(--blue); }
@media (max-width: 759px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-text { padding-bottom: 2.25rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-photo { margin-inline: calc(var(--gut) * -1); margin-bottom: 0; }
  .hero-img { border: 0; border-radius: 0; box-shadow: none; }
  .hero-photo figcaption { color: var(--ink); background: var(--paper); padding: .75rem var(--gut) 0; margin-top: 0; }
}

/* Proof strip */
.proof { padding-top: 6.5rem; padding-bottom: 1rem; }
.proof-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.proof-list li { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; padding: 1.1rem 1.25rem 1.1rem 0; }
.proof-list li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.proof-k { font-family: var(--f-disp); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.proof-v { color: var(--ink-2); }
.proof .tag { color: var(--blue); margin-top: .35rem; }
@media (max-width: 1023px) {
  .proof { padding-top: 3rem; }
  .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 760px) and (max-width: 1023px) { .proof { padding-top: 6.5rem; } }

/* Section heads */
.sec-head { display: grid; gap: .6rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); max-width: 46rem; }
.sec-h { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 4.25rem); line-height: .95; letter-spacing: .005em; text-wrap: balance; }
.sec-lede { color: var(--ink-2); max-width: 54ch; }

/* Price board */
.board { padding-block: var(--sec) calc(var(--sec) * .7); }
.board-list { border-top: 2px solid var(--ink); }
.board-list li { border-bottom: 1px solid var(--line); }
.board-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: .5rem 2rem; align-items: baseline; padding: 1.25rem .75rem; margin-inline: -.75rem; text-decoration: none; border-radius: var(--radius); transition: background-color var(--t-2) var(--ease); }
.board-name { font-family: var(--f-disp); font-weight: 800; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.6rem); text-transform: uppercase; line-height: 1; transition: transform var(--t-2) var(--ease), color var(--t-2) var(--ease); }
.board-what { color: var(--ink-2); }
.board-price { font-family: var(--f-disp); font-weight: 800; font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.9rem); line-height: 1; color: var(--blue); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.board-price small { font-family: var(--f-text); font-size: 1rem; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.board-row:hover { background: var(--blue-soft); }
.board-row:hover .board-name { transform: translateX(6px); color: var(--blue); }
.board-more { margin-top: 1.25rem; }
@media (max-width: 759px) {
  .board-row { grid-template-columns: minmax(0, 1fr) auto; }
  .board-what { grid-column: 1 / -1; grid-row: 2; }
}

/* Work */
.work { padding-block: calc(var(--sec) * .7) var(--sec); background: var(--paper-2); }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.job { display: flex; flex-direction: column; background: var(--paper); }
.job-big { grid-row: span 2; }
.job-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--line); }
.job-body { padding: 1.25rem 1.4rem 1.5rem; display: grid; gap: .6rem; align-content: start; }
.job-big .job-body { padding: 1.6rem 1.8rem 2rem; }
.job-type { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-weight: 700; color: var(--ink-2); }
.job-type .tag { color: var(--blue); }
.job-n { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--f-disp); font-weight: 800; font-size: 1.15rem; }
.job-h { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); line-height: 1; }
.job-big .job-h { font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.9rem); }
.job p:not(.job-type):not(.job-facts) { max-width: 60ch; }
.job-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.job-facts span { font-weight: 700; font-size: 1rem; padding: .3rem .7rem; background: var(--blue-soft); border-radius: var(--radius); }
@media (max-width: 759px) {
  .work-grid { grid-template-columns: 1fr; }
  .job-big { grid-row: auto; }
  .job-body, .job-big .job-body { padding: 1.1rem 1.1rem 1.4rem; }
}

/* Steps */
.steps { padding-block: var(--sec); }
.step-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; counter-reset: s; }
.step-list li { position: relative; display: grid; gap: .5rem; align-content: start; }
.step-list li:not(:last-child)::after { content: ''; position: absolute; top: 1.6rem; left: 3.75rem; right: -1.25rem; height: 0; border-top: 3px dashed var(--blue-line); }
.step-n { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; background: var(--blue); color: var(--white); font-family: var(--f-disp); font-weight: 900; font-size: 1.9rem; border-radius: var(--radius); }
.step-list h3 { font-family: var(--f-disp); font-weight: 800; font-size: 1.75rem; text-transform: uppercase; line-height: 1; margin-top: .5rem; }
.step-list p { color: var(--ink-2); }
@media (max-width: 1023px) {
  .step-list { grid-template-columns: 1fr 1fr; }
  .step-list li::after { display: none; }
}
@media (max-width: 559px) {
  .step-list { grid-template-columns: 1fr; gap: 1.25rem; }
  .step-list li { grid-template-columns: 3.2rem 1fr; column-gap: 1rem; }
  .step-list .step-n { grid-row: span 2; }
  .step-list h3 { margin-top: .2rem; }
}

/* Reviews */
.said { padding-block: calc(var(--sec) * .8); background: var(--blue-soft); }
.said-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.quote blockquote p { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.4; font-weight: 700; }
.quote blockquote p::before { content: '\201C'; display: block; font-family: var(--f-disp); font-size: 4.5rem; line-height: .6; color: var(--blue); margin-bottom: .6rem; }
.quote figcaption { margin-top: 1rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.quote .tag { color: var(--blue); }
@media (max-width: 1023px) { .said-grid { grid-template-columns: 1fr 1fr; } .said-grid .sec-h { grid-column: 1 / -1; } }
@media (max-width: 559px) { .said-grid { grid-template-columns: 1fr; } }

/* Area + map */
.area { padding-block: var(--sec); }
.area-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.area-text { display: grid; gap: 1.25rem; }
.area-text > p { max-width: 46ch; }
.towns { display: flex; flex-wrap: wrap; gap: .5rem; }
.towns li { padding: .4rem .8rem; border: 1.5px solid var(--ink); border-radius: var(--radius); font-weight: 700; }
.towns li:first-child { background: var(--ink); color: var(--white); }
.small-note { color: var(--ink-2); }
.map { background: var(--paper-2); padding: clamp(.5rem, 1.5vw, 1rem); border: 1px solid var(--line); }
.map-svg { width: 100%; height: auto; }
.map-ground { fill: var(--paper-2); }
.map-river { fill: none; stroke: var(--blue-soft); stroke-width: 16; stroke-linecap: round; }
.map-river-label { font-family: var(--f-text); font-size: 17px; font-style: italic; fill: var(--blue); opacity: .8; }
.map-roads path { fill: none; stroke: oklch(80% 0.012 85); stroke-width: 4; stroke-linecap: round; }
.map-ring { fill: oklch(49% 0.2 257 / .06); stroke: var(--blue); stroke-width: 3; }
.map-ring-label { font-family: var(--f-disp); font-weight: 800; font-size: 25px; text-transform: uppercase; letter-spacing: .08em; fill: var(--blue); }
.map-towns circle { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.map-towns text { font-family: var(--f-text); font-weight: 700; font-size: 27px; fill: var(--ink); paint-order: stroke; stroke: var(--paper-2); stroke-width: 5px; stroke-linejoin: round; }
.map-home rect { fill: var(--ink); }
.map-home text { font-family: var(--f-disp); font-weight: 900; font-size: 38px; text-transform: uppercase; fill: var(--ink); paint-order: stroke; stroke: var(--paper-2); stroke-width: 6px; stroke-linejoin: round; }
.map-jobs circle { fill: var(--blue); stroke: var(--white); stroke-width: 3; }
.map-jobs text { font-family: var(--f-disp); font-weight: 900; font-size: 18px; fill: var(--white); }
.map-cap { margin-top: .75rem; color: var(--ink-2); font-size: 1rem; }
.key-job { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--f-disp); font-weight: 900; font-size: .95rem; vertical-align: -.2em; margin-right: .2rem; }
@media (max-width: 899px) { .area-grid { grid-template-columns: 1fr; } }

/* Quote section */
.quote-sec { background: var(--blue); color: var(--white); padding-block: var(--sec); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.quote-intro { display: grid; gap: 1.25rem; position: sticky; top: 2rem; }
.quote-intro > p { font-size: 1.2rem; max-width: 36ch; }
.ticks { display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .7rem; align-items: baseline; font-weight: 700; }
.ticks li::before { content: ''; flex: none; width: .9rem; height: .5rem; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-.2rem) rotate(-45deg); }
.or-call a { font-family: var(--f-disp); font-weight: 800; font-size: 1.8rem; letter-spacing: .02em; text-underline-offset: .2em; display: inline-flex; min-height: 2.75rem; align-items: center; }
@media (max-width: 899px) { .quote-grid { grid-template-columns: 1fr; } .quote-intro { position: static; } }

/* Quote card + form */
.quote-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: 0 40px 80px -40px oklch(18% 0.06 258 / .6); }
.form-head { font-family: var(--f-disp); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 1rem; }
.quote-form { display: grid; gap: 1.35rem; }
.field { display: grid; gap: .45rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 1.0625rem; padding: 0; }
.field legend { margin-bottom: .45rem; }
.field input[type="text"], .select-wrap select {
  width: 100%; min-height: 3.25rem; padding: .7rem .9rem; font-size: 1.125rem; background: var(--white); color: var(--ink);
  border: 2px solid var(--line-strong); border-radius: var(--radius); transition: border-color var(--t-1) var(--ease), box-shadow var(--t-1) var(--ease);
}
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select-wrap::after { content: ''; position: absolute; right: 1.1rem; top: 50%; width: .6rem; height: .6rem; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field input[type="text"]:focus-visible, .select-wrap select:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px oklch(49% 0.2 257 / .3); }
.hint { color: var(--ink-2); font-size: 1rem; }
.hint.is-in-area { color: var(--blue); font-weight: 700; }
.err { color: var(--err); font-weight: 700; font-size: 1rem; display: flex; gap: .45rem; align-items: baseline; }
.err::before { content: '!'; flex: none; display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--err); color: var(--white); font-size: .8rem; transform: translateY(.1rem); }
.field.is-bad input[type="text"], .field.is-bad select { border-color: var(--err); background: var(--err-soft); }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 3rem; padding: .55rem .85rem; border: 2px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; transition: background-color var(--t-1) var(--ease), border-color var(--t-1) var(--ease), color var(--t-1) var(--ease); }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: var(--radius); }
.field.is-bad .chip span { border-color: var(--err); }
.form-foot { display: grid; gap: .85rem; margin-top: .25rem; }
.reply-note { color: var(--ink-2); font-size: 1rem; }
.reply-note strong { color: var(--ink); }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
@media (max-width: 380px) { .chips { grid-template-columns: 1fr; } }

.quote-done { display: grid; gap: 1rem; justify-items: start; }
.quote-done:focus { outline: none; }
.done-mark svg { width: 3.5rem; height: 3.5rem; }
.done-mark path { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.done-h { font-family: var(--f-disp); font-weight: 900; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); text-transform: uppercase; line-height: .95; }
.done-list { display: grid; gap: 0; width: 100%; border-top: 2px solid var(--ink); }
.done-list div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.done-list dt { font-weight: 700; color: var(--ink-2); }
.done-list dd { font-weight: 700; overflow-wrap: anywhere; }
.done-demo { font-weight: 700; padding: .6rem .8rem; background: var(--blue-soft); border-radius: var(--radius); }

/* Page hero (services, contact, 404) */
.page-hero { background: var(--blue); color: var(--white); padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-hero .hero-h { font-size: clamp(2.8rem, 1.6rem + 4.4vw, 6rem); max-width: 16ch; }
.page-hero .hero-sub { max-width: 46ch; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 2px solid oklch(99% 0.003 85 / .7); border-radius: var(--radius); color: var(--white); text-decoration: none; font-weight: 700; transition: background-color var(--t-1) var(--ease); }
.jump a:hover { background: oklch(99% 0.003 85 / .14); }

/* Services page */
.svc-list { padding-block: calc(var(--sec) * .8) var(--sec); display: grid; gap: clamp(3.5rem, 7vw, 7rem); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; scroll-margin-top: 1.5rem; }
.svc:nth-child(even) .svc-photo { order: 2; }
.svc-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--line); }
.svc-photo figcaption { margin-top: .6rem; color: var(--ink-2); font-size: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.svc-photo .tag { color: var(--blue); }
.svc-body { display: grid; gap: 1.1rem; }
.svc-h { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 1.7rem + 2.2vw, 3.9rem); line-height: .92; }
.svc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; padding: 1rem 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.svc-from { font-family: var(--f-disp); font-weight: 900; font-size: clamp(2.4rem, 1.9rem + 1.8vw, 3.6rem); line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.svc-from small { font-family: var(--f-text); font-size: 1rem; color: var(--ink-2); font-weight: 700; }
.svc-range { color: var(--ink-2); font-weight: 700; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.svc-cols h3 { font-family: var(--f-disp); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.svc-cols li { position: relative; padding-left: 1.5rem; margin-bottom: .4rem; }
.svc-in li::before { content: ''; position: absolute; left: .1rem; top: .45em; width: .75rem; height: .42rem; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.svc-out li::before { content: ''; position: absolute; left: .1rem; top: .75em; width: .7rem; height: 2.5px; background: var(--ink-2); }
.svc-facts { display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-facts span { font-weight: 700; font-size: 1rem; padding: .3rem .7rem; background: var(--blue-soft); border-radius: var(--radius); }
.svc-cta { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
@media (max-width: 859px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-photo { order: 0; }
}
@media (max-width: 479px) { .svc-cols { grid-template-columns: 1fr; } }

.pricing { background: var(--paper-2); padding-block: var(--sec); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.pricing-grid > div { display: grid; gap: .5rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--ink); }
.pricing-grid h3 { font-family: var(--f-disp); font-weight: 800; font-size: 1.75rem; text-transform: uppercase; line-height: 1; }
.pricing-grid p { color: var(--ink-2); }
@media (max-width: 859px) { .pricing-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--blue); color: var(--white); padding-block: clamp(3rem, 6vw, 5rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.cta-row .sec-h { max-width: 18ch; }
.cta-row .hero-actions { margin-top: 0; }

/* Contact page */
.contact { padding-block: calc(var(--sec) * .7) var(--sec); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact .quote-card { box-shadow: none; border: 2px solid var(--ink); }
.contact-aside { display: grid; gap: 1.75rem; }
.contact-aside h2 { font-family: var(--f-disp); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: .35rem; }
.big-phone { font-family: var(--f-disp); font-weight: 900; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1; text-decoration: none; color: var(--ink); display: inline-flex; min-height: 2.75rem; align-items: center; }
.big-phone:hover { color: var(--blue); }
.hours { display: grid; gap: .2rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .35rem 0; }
.next-steps { counter-reset: n; display: grid; gap: .75rem; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; align-items: baseline; }
.next-steps li::before { content: counter(n); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--blue); color: var(--white); font-family: var(--f-disp); font-weight: 900; font-size: 1.3rem; border-radius: var(--radius); align-self: start; }
@media (max-width: 959px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-area { background: var(--paper-2); }

.credits { padding-block: calc(var(--sec) * .7); border-top: 1px solid var(--line); }
.credits h2 { font-family: var(--f-disp); font-weight: 800; font-size: 1.75rem; text-transform: uppercase; margin-bottom: 1rem; }
.credits ul { display: grid; gap: .45rem; font-size: 1rem; color: var(--ink-2); max-width: 70ch; }
.credits a { color: var(--ink); text-underline-offset: .2em; }

/* Footer */
.site-foot { background: var(--blue-deep); color: var(--white); padding-top: clamp(3rem, 6vw, 5rem); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.foot-name { font-family: var(--f-disp); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; margin-bottom: .6rem; }
.foot-brand p:not(.foot-name) { max-width: 34ch; opacity: .92; }
.foot-call { display: inline-flex; min-height: 2.75rem; align-items: center; margin-top: .6rem; font-family: var(--f-disp); font-weight: 800; font-size: 1.9rem; text-underline-offset: .2em; }
.foot-h { font-family: var(--f-disp); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .6rem; color: oklch(85% 0.06 252); }
.site-foot p + p { margin-top: .6rem; }
.foot-links a { display: inline-flex; min-height: 2.75rem; align-items: center; text-underline-offset: .2em; }
.foot-legal { border-top: 1px solid oklch(99% 0.003 85 / .2); padding-block: 1.25rem 1.5rem; font-size: .875rem; opacity: .9; }
@media (max-width: 859px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .foot-grid { grid-template-columns: 1fr; } }

/* Sticky call bar: phones only */
.callbar { display: none; }
@media (max-width: 759px) {
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .callbar { display: grid; grid-template-columns: 1.15fr 1fr; gap: .5rem; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px oklch(20% 0.04 258 / .5); transition: transform var(--t-2) var(--ease); }
  .callbar.is-off { transform: translateY(110%); }
  .callbar a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; border-radius: var(--radius); font-weight: 700; font-size: 1.125rem; text-decoration: none; transition: transform var(--t-1) var(--ease); }
  .callbar a:active { transform: scale(.97); }
  .callbar-call { background: var(--blue); color: var(--white); }
  .callbar-quote { border: 2px solid var(--ink); color: var(--ink); }
}

/* Motion system: one curve (expo out), four durations. Content is visible without JS. */
@media (prefers-reduced-motion: no-preference) {
  .js .load-1, .js .load-2, .js .load-4, .js .load-5 { animation: rise var(--t-4) var(--ease) both; }
  .js .load-2 { animation-delay: 80ms; }
  .js .load-4 { animation-delay: 420ms; }
  .js .load-5 { animation-delay: 520ms; }
  .js .load-3 { animation: snap 620ms var(--ease) 340ms both; }
  .js .load-photo { animation: settle 1100ms var(--ease) 160ms both; }
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--t-3) var(--ease), transform var(--t-4) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in, .js [data-reveal]:focus-within { opacity: 1; transform: none; }
  .js .map .map-ring { stroke-dasharray: 100; stroke-dashoffset: 100; }
  .js .map.is-in .map-ring { animation: ring 1400ms var(--ease) 150ms both; }
  .js .map.is-in .map-jobs g { animation: pop var(--t-3) var(--ease) both; }
  .js .map.is-in .map-jobs g:nth-child(2) { animation-delay: 700ms; }
  .js .map.is-in .map-jobs g:nth-child(1) { animation-delay: 620ms; }
  .js .map.is-in .map-jobs g:nth-child(3) { animation-delay: 780ms; }
  .js .map.is-in .map-jobs g:nth-child(4) { animation-delay: 860ms; }
  .js .map.is-in .map-jobs g:nth-child(5) { animation-delay: 940ms; }
  .map-jobs g { transform-box: fill-box; transform-origin: center; }
  .quote-done:not([hidden]) .done-mark path { animation: tick 700ms var(--ease) 120ms both; }
  .quote-done:not([hidden]) > *:not(.done-mark) { animation: rise var(--t-3) var(--ease) both; }
  .quote-done:not([hidden]) > .done-h { animation-delay: 60ms; }
  .quote-done:not([hidden]) > .done-list { animation-delay: 120ms; }
  .quote-done:not([hidden]) > .done-next { animation-delay: 180ms; }
  .quote-done:not([hidden]) > .done-demo { animation-delay: 240ms; }
  .quote-done:not([hidden]) > .btn { animation-delay: 300ms; }
  .field.shake { animation: nudge 360ms var(--ease-io); }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes snap { 0% { transform: scaleX(0); opacity: .4; } 70% { opacity: 1; } 100% { transform: scaleX(1); opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes ring { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes tick { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-5px); } 65% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}
@media (hover: none) {
  .board-row:hover { background: transparent; }
  .board-row:hover .board-name { transform: none; color: inherit; }
}
.nw { white-space: nowrap; }
.job { overflow: hidden; }
.job-img { transition: transform var(--t-4) var(--ease); }
@media (hover: hover) { .job:hover .job-img { transform: scale(1.025); } }
a, button, .chip { touch-action: manipulation; }
/* Tablet portrait: one column, the photo as a wide band that overlaps the next section */
@media (min-width: 760px) and (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero h1.hero-h { max-width: 16ch; font-size: clamp(3rem, 1rem + 6vw, 4.6rem); }
  .hero-text { padding-bottom: 2.5rem; }
  .hero-img { aspect-ratio: 16 / 9; }
  .hero-photo { margin-bottom: -6rem; }
  .proof { padding-top: 8rem; }
}
