/* diaz-co.com — built to match Dominic's reference picture (deep forest green + warm cream,
   light Garamond display, tracked uppercase grotesk). Colours and sizes are measured from the
   picture (design-system spec, 2026-10-04); the picture's colours that fail WCAG AA are moved to
   the nearest passing value. Phone first. No text sits on a box or scrim over a photograph:
   contrast is fixed in the image grade or by layout, and measured by site/tools/check.mjs. */

:root {
  --cream: #f1f0ec;          /* picture: page ground */
  --cream-2: #e7e5df;
  --rule: #dad8d2;           /* decorative hairlines only (1.25:1) */
  --rule-strong: #7e7b72;    /* 3.7:1 on cream: the field underline */
  --ink: #2b2b28;            /* headings 12.5:1 */
  --body: #5a5853;           /* paragraphs 6.2:1 */
  --muted: #64625d;          /* 5.3:1 */
  --tan: #76664e;            /* eyebrows 4.9:1 (picture #9b9081 is 2.75:1) */
  --icon: #6e6c67;
  --green: #2e372a;          /* picture: bands, footer */
  --green-btn: #333c2d;      /* picture: solid buttons */
  --green-btn-2: #262e22;
  --green-btn-3: #20271d;    /* primary pressed; cream label 13.5:1 */
  --green-line: #7c8178;     /* forest at 60% over cream: the secondary's line, 3.5:1 */
  --sage: #626d45;           /* the picture's desktop hero button, kept as the revert for the primary on green */
  --on-dark: #f1f0ec;        /* 10.9:1 on green */
  --on-dark-2: #c9ccc3;      /* 7.6:1 */
  --on-dark-eyebrow: #b8b39d;/* 5.9:1; also every control edge on green */
  --sand: #d6cbb6;           /* the primary on green, and progress on the held section and timeline, 7.7:1 */
  --on-dark-rule: rgba(241, 240, 236, 0.14);
  --error: #9a3b2e;          /* 6.1:1 */

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  /* display, Cormorant 400 at every width, 390 → 1440 */
  --h1: clamp(40px, 28.11px + 3.048vw, 72px);      /* home hero (76 crowded the house's gable; the column keeps 76's width) */
  --h2-lg: clamp(35px, 21.26px + 3.524vw, 72px);   /* inner page titles */
  --h2: clamp(30px, 20.34px + 2.476vw, 56px);      /* split, pinned, service, quote */
  --h2-sm: clamp(30px, 22.29px + 1.976vw, 50px);   /* section heads and the CTA (2.5x the 20px lede) */
  --h3: clamp(26px, 22.29px + 0.952vw, 36px);      /* tab titles, process steps, stages, kinds, prose, the bid lede */
  --h4: clamp(22px, 19.77px + 0.571vw, 28px);      /* trust, facts, pinned labels, timeline, phone captions */
  --lh-display: 1.15;
  --tr-h1: -0.01em; --tr-h2: -0.01em; --tr-h3: -0.005em; --tr-h4: 0em;
  /* text, Hanken 400; caps 500 */
  --fs-lede: clamp(17px, 15.89px + 0.286vw, 20px);
  --fs-body: clamp(16px, 15.26px + 0.19vw, 18px);
  --fs-small: clamp(15px, 14.26px + 0.19vw, 17px);
  --fs-eyebrow: clamp(12px, 11.26px + 0.19vw, 14px);
  --fs-label: 13px;          /* UI caps: nav, tabs, field labels, dt, "What's included", "More on" */
  --lh-body: 1.7;

  --max: 1312px;
  --gutter: 20px;
  --pad: max(var(--gutter), calc((100% - var(--max)) / 2));
  --header-h: 68px;
  --pin-h: 60px;
  /* rhythm, on an 8px grid */
  --section-y: clamp(72px, 54.17px + 4.571vw, 120px);
  --gap-eyebrow: clamp(16px, 13.03px + 0.762vw, 24px);      /* eyebrow → heading */
  --gap-head: clamp(20px, 17.03px + 0.762vw, 28px);         /* heading → first paragraph */
  --gap-action: clamp(32px, 27.54px + 1.143vw, 44px);       /* last paragraph → button */
  --gap-section-head: clamp(40px, 31.09px + 2.286vw, 64px); /* section head → its content */
  --form-row: clamp(56px, 52.29px + 0.952vw, 64px);   /* a field's line → the next label */
  --focus: var(--green);

  /* buttons: one geometry; the colours come from the ground (cream here, green below) */
  --btn-h: 52px; --btn-px: 28px; --btn-fs: 13px; --btn-track: 0.18em;
  --btn-p-bg: var(--green-btn); --btn-p-fg: var(--on-dark); --btn-p-bg-h: var(--green-btn-2); --btn-p-bg-a: var(--green-btn-3);
  --btn-s-bg: transparent; --btn-s-line: var(--green-line); --btn-s-fg: var(--green);
  --btn-s-line-h: var(--green); --btn-s-bg-h: rgba(46, 55, 42, 0.04); --btn-s-bg-a: rgba(46, 55, 42, 0.08);
}
@media (max-width: 359px) { :root { --btn-px: 20px; --btn-track: 0.12em; } }
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 80px; } }
@media (min-width: 1024px) {
  :root {
    --gutter: 48px; --header-h: 96px;
    --lh-display: 1.14; --tr-h1: -0.02em; --tr-h2: -0.015em; --tr-h3: -0.01em; --tr-h4: -0.005em;
    --btn-px: 48px; --btn-fs: 14px;
  }
}
@media (min-width: 1280px) { :root { --gutter: 64px; } }
@media (max-width: 767px) { :root { --form-row: 64px; } }   /* phones: the label reads as its own line's (48 vs 64) */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font: 400 var(--fs-body)/var(--lh-body) var(--sans);
  font-variant-numeric: lining-nums;   /* Cormorant's old-style figures read 986541 as "98654I" */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
/* links: a 1px underline at 75% of the text colour, full colour on hover */
a {
  color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
  text-decoration-color: currentColor;
  text-decoration-color: color-mix(in srgb, currentColor 75%, transparent);
  transition: text-decoration-color 0.16s var(--ease);
}
a:hover { text-decoration-color: currentColor; }
b, strong { font-weight: 500; }   /* only 400 and 500 are loaded: no faux bold */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the green grounds: focus turns cream and both button styles invert. The primary on green is the
   picture's phone-column sand; to use its desktop sage instead: --btn-p-bg: var(--sage);
   --btn-p-fg: var(--on-dark); --btn-p-bg-h and --btn-p-bg-a: #565f3d (label 4.86:1). */
.hero, .band, .page-hero, .site-header, .site-footer, .quote, .pin, .site-nav, .pinned, .timeline {
  --focus: var(--on-dark);
  --btn-p-bg: var(--sand); --btn-p-fg: var(--green); --btn-p-bg-h: var(--on-dark); --btn-p-bg-a: var(--cream-2);
  --btn-s-line: var(--on-dark-eyebrow); --btn-s-fg: var(--on-dark); --btn-s-line-h: var(--on-dark);
  --btn-s-bg-h: transparent; --btn-s-bg-a: transparent;   /* colour only: never a translucent box over the hero photo */
}

/* a cream tab on the green header */
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 12px 20px; background: var(--cream); color: var(--ink); font-weight: 500; --focus: var(--on-dark);
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: var(--h2);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-h2);
  text-wrap: balance;
}
.eyebrow {
  display: block;
  font: 500 var(--fs-eyebrow)/1.3 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: var(--gap-eyebrow);
  text-wrap: balance;
}
.eyebrow--on-dark { color: var(--on-dark-eyebrow); }
.eyebrow a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.lede { font: 400 var(--h3)/1.2 var(--serif); letter-spacing: var(--tr-h3); color: var(--ink); }
/* the paragraph under a heading is the lede; running text is body */
.split__text p:not(.eyebrow), .band__inner > p:not(.eyebrow), .service__text p:not(.eyebrow):not(.tabs__inc),
.tabs__text > p:not(.tabs__inc), .page-hero p:not(.eyebrow), .section-head p:not(.eyebrow) { font-size: var(--fs-lede); line-height: 1.6; }

/* ---------- buttons: one primary (solid), one secondary (1px line), the same geometry ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;   /* no gap: a label with a lower-case span (ADUs) is several flex items */
  min-height: var(--btn-h);
  padding: 0 calc(var(--btn-px) - var(--btn-track)) 0 var(--btn-px);   /* the trailing tracking comes off the right */
  font: 500 var(--btn-fs)/1.2 var(--sans); letter-spacing: var(--btn-track); text-transform: uppercase;
  text-decoration: none; text-align: center; text-wrap: balance;
  border: 1px solid transparent; border-radius: 0; box-shadow: none; cursor: pointer;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}
@media (min-width: 600px) { .btn { white-space: nowrap; } }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--btn-p-bg); border-color: var(--btn-p-bg); color: var(--btn-p-fg); }
@media (hover: hover) { .btn--primary:hover:not(:disabled) { background: var(--btn-p-bg-h); border-color: var(--btn-p-bg-h); } }
.btn--primary:active:not(:disabled) { background: var(--btn-p-bg-a); border-color: var(--btn-p-bg-a); }
.btn--secondary { background: var(--btn-s-bg); border-color: var(--btn-s-line); color: var(--btn-s-fg); }
@media (hover: hover) { .btn--secondary:hover { background: var(--btn-s-bg-h); border-color: var(--btn-s-line-h); } }
.btn--secondary:active { background: var(--btn-s-bg-a); border-color: var(--btn-s-line-h); }
/* the header and footer Request a bid */
.btn--compact { --btn-h: 48px; --btn-px: 24px; --btn-fs: 13px; }
/* the header bid keeps the picture's forest fill, so its label never depends on the hero photo */
.btn--header { --btn-s-bg: var(--green-btn); --btn-s-bg-h: var(--green-btn-2); --btn-s-bg-a: var(--green-btn-3); }
.btn--wide { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: progress; }
@media (forced-colors: active) { .btn { border-color: ButtonText; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--on-dark);
  transition: background-color 0.25s, box-shadow 0.25s;
}
/* only the home hero is a photograph worth seeing through; inner pages start solid */
.site-header.is-solid, body.menu-open .site-header, body:not(.page-home) .site-header { background: var(--green); box-shadow: 0 1px 0 var(--on-dark-rule); }
.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h);
  padding-inline: var(--pad);
}
.logo {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start;
  min-height: 44px; min-width: 44px; text-decoration: none; color: inherit; flex: none;
}
.logo__word { font: 500 26px/1 var(--serif); letter-spacing: 0.12em; margin-right: -0.12em; }
.logo__rest { font: 500 9.5px/1 var(--sans); letter-spacing: 0.56em; margin-top: 7px; margin-right: -0.56em; }
@media (min-width: 1024px) { .logo__word { font-size: 30px; } .logo__rest { font-size: 10.5px; margin-top: 8px; } }
@media (min-width: 1400px) { .logo__word { font-size: 36px; } .logo__rest { font-size: 12px; letter-spacing: 0.6em; margin-right: -0.6em; margin-top: 10px; } }
/* a longer name (version B, EDUARDO DIAZ / GENERAL CONTRACTOR) sits a step smaller, so the menu keeps its room */
.logo--long .logo__word { font-size: 22px; letter-spacing: 0.1em; margin-right: -0.1em; }
.logo--long .logo__rest { letter-spacing: 0.42em; margin-right: -0.42em; }
@media (min-width: 1024px) { .logo--long .logo__word { font-size: 25px; } }
@media (min-width: 1400px) { .logo--long .logo__word { font-size: 29px; } .logo--long .logo__rest { font-size: 11px; letter-spacing: 0.46em; margin-right: -0.46em; } }

.site-nav { display: none; }
.site-nav ul a, .site-header__phone {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; white-space: nowrap;
  font: 500 var(--fs-label)/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
}
.site-nav ul a:hover, .site-header__phone:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: currentColor; }
.site-nav ul a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: currentColor; }
.site-header__actions { display: none; margin-left: auto; align-items: center; gap: 24px; }
.site-header__phone { white-space: nowrap; letter-spacing: 0.04em; min-height: 48px; }
.site-header__phone-label { color: var(--on-dark-2); margin-right: 8px; letter-spacing: 0.14em; }

.menu-toggle {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; min-width: 44px; padding: 0 4px 0 10px;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: 500 var(--fs-label)/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* the menu sheet (below 1200) */
body.menu-open { overflow: hidden; }
body.menu-open .site-nav {
  display: block; position: fixed; inset: var(--header-h) 0 0; z-index: 49; overflow: auto;
  background: var(--green); color: var(--on-dark);
  padding: 24px var(--gutter) calc(var(--pin-h) + 40px);
}
body.menu-open .site-nav ul a {
  display: flex; min-height: 64px; width: 100%;
  font: 400 32px/1.2 var(--serif); letter-spacing: -0.01em; text-transform: none;
  border-bottom: 1px solid var(--on-dark-rule);
}
.site-nav__call { display: none; }
body.menu-open .site-nav__call {
  display: block; margin-top: 32px; color: var(--on-dark-2); font-size: 15px;
}
body.menu-open .site-nav__call a {
  display: flex; align-items: center; min-height: 48px; color: var(--on-dark);
  font: 500 22px/1.2 var(--sans); letter-spacing: 0.02em; text-decoration: none;
}

@media (min-width: 768px) {
  .site-header__actions { display: flex; }
  .menu-toggle { margin-left: 0; }
}
/* the visible "Call Eduardo" label needs room; below 1400 it stays in the link's name only */
@media (max-width: 1399px) { .site-header__phone-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
@media (min-width: 1200px) {
  .menu-toggle { display: none; }
  .site-nav { display: block; margin-left: auto; }
  .site-nav ul { display: flex; gap: clamp(20px, 2vw, 36px); }
  .site-header__actions { margin-left: clamp(24px, 2.4vw, 40px); }
  body.menu-open { overflow: auto; }
}
@media (min-width: 1400px) { .site-nav ul a, .site-header__phone { font-size: 14px; } }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  display: grid;
  background: var(--green); color: var(--on-dark);
}
.hero { min-height: 100svh; align-items: end; }
.hero__inner { position: relative; z-index: 1; padding: calc(var(--header-h) + 24px) var(--pad) calc(var(--pin-h) + env(safe-area-inset-bottom) + 24px); }
.hero .eyebrow { color: var(--on-dark-eyebrow); font-size: clamp(13px, 12.26px + 0.19vw, 15px); }
.hero h1 { color: var(--on-dark); font-size: min(var(--h1), 5.3vh); line-height: 1.12; letter-spacing: var(--tr-h1); text-wrap: pretty; }
.hero__meta { margin-top: clamp(16px, 3vh, 28px); font-size: var(--fs-small); line-height: 1.7; color: var(--on-dark); }
.hero__meta a { font-weight: 500; display: inline-block; padding-block: 10px; margin-block: -10px; }
.hero__actions { display: grid; gap: 12px; margin-top: clamp(16px, 3vh, 32px); }
.hero__call { margin-top: clamp(12px, 2vh, 20px); font-size: var(--fs-small); color: var(--on-dark-2); }
.hero__call a { color: var(--on-dark); white-space: nowrap; }
/* phones and tablets: the hero is the first screen; the photograph takes whatever height is left above the
   words (its roofline at the top) and fades into the green there, so the words always sit on the ground */
.hero { grid-template-rows: minmax(calc(var(--header-h) + 16px), 1fr) auto; }
.hero__media { grid-row: 1; align-self: stretch; position: relative; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 96%); mask-image: linear-gradient(to bottom, #000 40%, transparent 96%); }
.hero__media picture { position: absolute; inset: var(--header-h) 0 0; }   /* no height of its own: the row is whatever is left; below the header, which sits on the green */
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero__inner { grid-row: 2; padding-top: 0; }
@media (min-width: 600px) { .hero__actions { display: flex; flex-wrap: wrap; gap: 16px; } }
/* on phones the pinned bar already carries Request a bid; the hero keeps See what we build */
@media (max-width: 767px) { .hero .btn--primary { display: none; } }
/* short phones (an SE at 375×667, 320×640): the type and the gaps tighten so the photograph keeps at least
   100px above the words and the call line stays above the pinned bar; the rule only reaches screens under
   700px tall, so 390×844 and up keep their type */
@media (max-width: 767px) and (max-height: 700px) {
  .hero h1 { font-size: min(var(--h1), 4.4vh); }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero__meta { margin-top: 12px; line-height: 1.5; }
  .hero__meta a { padding-block: 11px; margin-block: -11px; }   /* the tighter line keeps the license link's tap target at 44px */
  .hero__actions { margin-top: 14px; }
  .hero__call { margin-top: 10px; }
  .hero__inner { padding-bottom: calc(var(--pin-h) + env(safe-area-inset-bottom) + 16px); }
  /* the photo band is short here, so the base mask's 40% stop would start the fade at the roofline and
     ghost the whole house: stay solid to 40px under the header, then fade into the green as before */
  .hero__media { -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--header-h) + 40px), transparent 98%); mask-image: linear-gradient(to bottom, #000 calc(var(--header-h) + 40px), transparent 98%); }
}
@media (min-width: 1024px) {
  /* the words keep their own column on the green; the photograph starts under the column's last
     120px and is fully transparent there (mask), so the text is measured against the ground */
  .hero { --text-w: calc(clamp(40px, 26.63px + 3.429vw, 76px) * 8.5); }
  .hero__inner { width: calc(var(--pad) + var(--text-w) + 40px); padding: calc(var(--header-h) + 24px) 40px clamp(24px, 4vh, 96px) var(--pad); }
  .hero h1 { font-size: min(var(--h1), 8vh); }
  .hero__meta { margin-top: clamp(16px, 3vh, 64px); }
  .hero__actions { margin-top: clamp(16px, 3vh, 56px); }
  .hero h1 { line-height: 1.14; max-width: 8.5em; }
  .hero__media {
    position: absolute; inset: 0 0 0 calc(var(--pad) + var(--text-w) - 120px); margin: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.3) 120px, #000 380px);
    mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.3) 120px, #000 380px);
  }
  .hero { grid-template-rows: none; }
  .hero__media { grid-row: auto; align-self: auto; min-height: 0; overflow: visible; }
  .hero__inner { grid-row: auto; }
  .hero__media picture { position: static; inset: auto; width: 100%; height: 100%; }
  .hero__media img { object-position: 50% 0; }
}
/* Dominic 2026-10-07: the hero is the first screen. The headline, the license line and both buttons sit
   inside it at 1440x900; the house sits just under the header with no empty sky band above it. */

/* ---------- trust row ---------- */
.trust { padding: 48px var(--pad) 0; }
.trust__list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px 12px;
  padding-bottom: 48px; border-bottom: 1px solid var(--rule); text-align: center;
}
.trust .icon { width: 40px; height: 40px; margin: 0 auto 14px; fill: none; stroke: var(--icon); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.trust h3 { font: 500 var(--h4)/1.25 var(--serif); letter-spacing: var(--tr-h4); color: var(--ink); }
.trust p { margin-top: 8px; font-size: clamp(14px, 12.89px + 0.286vw, 17px); line-height: 1.5; color: var(--body); }
.trust p a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.trust a .ib { display: inline-block; white-space: nowrap; text-decoration: inherit; }
.trust__dot { display: inline-block; }   /* outside the link's underline */
@media (min-width: 768px) {
  .trust { padding-top: 64px; }
  .trust__list { grid-template-columns: repeat(4, 1fr); gap: 0; padding-bottom: 64px; }
  .trust__list li { padding-inline: 16px; }
  .trust__list li + li { border-left: 1px solid var(--rule); }
}
.trust .icon--phone { stroke-width: 1.01; }
@media (min-width: 1024px) { .trust .icon { width: 68px; height: 68px; stroke-width: 0.75; margin-bottom: 14px; } .trust .icon--phone { stroke-width: 0.63; } }

/* ---------- split (text + framed image on cream) ---------- */
.split { display: grid; gap: 40px; padding: var(--section-y) var(--pad); }
.split__text p:not(.eyebrow) { max-width: 30em; }
.split__text .display + p { margin-top: var(--gap-head); }
.split__text p + p { margin-top: 1em; }
.split__text p + p:has(> .btn) { margin-top: var(--gap-action); }
.split__media img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; }
.split__media figcaption, .service__media figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.split__media figcaption b, .service__media figcaption b { font-weight: 500; color: var(--ink); }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 112px); align-items: center; }
}

/* ---------- dark bands ---------- */
.band { position: relative; overflow: hidden; display: grid; background: var(--green); color: var(--on-dark-2); }
.band .display { color: var(--on-dark); }
.band__inner { position: relative; z-index: 1; padding: var(--section-y) var(--pad) 40px; }
.band__inner > p:not(.eyebrow) { max-width: 26em; }
.band__inner .display + p { margin-top: var(--gap-head); }
.band:not(.band--framed) .band__inner > p:not(.eyebrow) { max-width: 22em; }
.band__inner .btn { margin-top: var(--gap-action); }
.band__media { order: 2; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%); }
.band__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) {
  .band { min-height: clamp(560px, 50vw, 720px); align-items: center; }
  .band__inner { width: calc(var(--pad) + 600px); padding: 96px 40px 96px var(--pad); }
  .band__media {
    position: absolute; inset: 0 0 0 calc(var(--pad) + 480px);
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.3) 120px, #000 380px);
    mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.3) 120px, #000 380px);
  }
  .band__media picture, .band__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
}

.band--framed { gap: 40px; padding: clamp(64px, 5vw, 88px) var(--pad); }
.band--framed .band__inner { padding: 0; }
.band__frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 1024px) {
  .band--framed { min-height: 0; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 112px); }
  .band--framed .band__inner { width: auto; padding: 0; }
}
.ticks { margin-top: 28px; display: grid; gap: 14px; max-width: 30em; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 14px; height: 7px; border-left: 1.5px solid var(--on-dark-eyebrow); border-bottom: 1.5px solid var(--on-dark-eyebrow);
  transform: rotate(-45deg);
}

/* ---------- call to action (text only: headline left, copy right) ---------- */
/* its rule sits on the content width, and never where the ground already changes colour */
.cta { display: grid; gap: 40px; padding: 0 var(--pad) var(--section-y); }
.cta__text { border-top: 1px solid var(--rule); padding-top: var(--section-y); }
:is(.quote, .timeline, .pinned, .band, .page-hero, .steps) + .cta .cta__text { border-top: 0; }
.steps + .cta .cta__text { padding-top: 0; }
.cta .display { font-size: var(--h2-sm); }
.cta__body > p:not(.cta__call) { margin-top: var(--gap-head); max-width: 30em; }
.cta__body .btn { margin-top: var(--gap-action); }
.cta__call { margin-top: 20px; font-size: var(--fs-small); color: var(--body); }
.cta__call a { color: var(--ink); font-weight: 500; white-space: nowrap; }
@media (min-width: 1024px) {
  .cta__text { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(48px, 6vw, 112px); align-items: start; }
  .cta__body > p:first-child { margin-top: 0; }
}

/* ---------- inner-page hero ---------- */
.page-hero { background: var(--green); color: var(--on-dark-2); padding: calc(var(--header-h) + 56px) var(--pad) 64px; }
.page-hero h1 { color: var(--on-dark); font-size: var(--h2-lg); letter-spacing: var(--tr-h1); max-width: 18ch; }
#svc-h { max-width: 22ch; }
/* phones: tighter, and wrapped line by line (balance strands "ADUs," at 360-375 and "alterations." at 390) */
@media (max-width: 413px) { #svc-h { letter-spacing: -0.02em; text-wrap: pretty; } }
.page-hero p:not(.eyebrow) { max-width: 32em; }
.page-hero .display + p { margin-top: var(--gap-head); }
.page-hero .display + p:has(> .btn) { margin-top: var(--gap-action); }
.page-hero p a:not(.btn) { color: var(--on-dark); white-space: nowrap; }
@media (min-width: 1024px) { .page-hero { padding-block: calc(var(--header-h) + 96px) 112px; } }
/* a page that is only its hero (404) gets a hairline before the footer */
main:has(> .page-hero:only-child) + .site-footer { box-shadow: inset 0 1px 0 var(--on-dark-rule); }

/* ---------- services ---------- */
.service { display: grid; gap: 32px; padding: var(--section-y) var(--pad) 0; }
.service__text p:not(.eyebrow):not(.tabs__inc) { max-width: 30em; }
.service__text .display + p { margin-top: var(--gap-head); }
.service__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) {
  .service { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 112px); align-items: center; }
  .service--flip .service__media { order: 2; }
  .service--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

/* ---------- facts ---------- */
.facts { padding: var(--section-y) var(--pad); }
.facts__list { display: grid; grid-template-columns: 1fr; column-gap: 40px; }
.facts__list > div { padding: 20px 0; border-top: 1px solid var(--rule); }
@media (min-width: 1024px) { .facts__list > div { padding-block: 24px; } }
.facts__list dt { font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts__list dd { margin-top: 8px; font: 500 var(--h4)/1.25 var(--serif); letter-spacing: var(--tr-h4); color: var(--ink); }
.facts__list dd > a:only-child { display: inline-flex; align-items: center; min-height: 44px; margin-block: -6px; }
@media (min-width: 600px) { .facts__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .facts__list { grid-template-columns: repeat(3, 1fr); }
  .facts__list:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
}
.facts__list--stack { grid-template-columns: 1fr !important; }

/* ---------- quote ---------- */
.quote { background: var(--green); padding: var(--section-y) var(--pad); text-align: center; }
.quote .display { color: var(--on-dark); max-width: 22ch; margin-inline: auto; }
.quote footer { margin-top: 24px; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-eyebrow); }

/* ---------- process steps ---------- */
.steps { padding: var(--section-y) var(--pad); }
.steps__list { counter-reset: step; max-width: 1000px; }
.steps__list li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px;
  padding: 32px 0; border-top: 1px solid var(--rule);
}
.steps__list li:last-child { border-bottom: 1px solid var(--rule); }
.steps__list li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2; font: 400 34px/1 var(--serif); color: var(--tan);
}
.steps__list h2.display { font-size: var(--h3); line-height: 1.2; letter-spacing: var(--tr-h3); }
.steps__list p { margin-top: 16px; max-width: 34em; }
@media (min-width: 768px) {
  .steps__list li { grid-template-columns: 120px minmax(0, 1fr); padding: 44px 0; }
  .steps__list li::before { font-size: 52px; }
}

/* ---------- bid form ---------- */
.bid { display: grid; padding: var(--section-y) var(--pad); }
.bid__aside .eyebrow { margin-bottom: 16px; }
.bid__aside .lede { margin-bottom: 32px; }
@media (max-width: 1023px) { .bid__aside .lede { margin-bottom: 56px; } }   /* straight before the form: clear of the first label */
.bid__form { display: grid; align-content: start; position: relative; }
.bid__form > .field { margin-bottom: var(--form-row); }
.bid__form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }   /* the spam trap */
.bid__form > .field:has(textarea) { margin-bottom: 48px; }   /* the last field → Send */
/* fields are an underline, never a box: a roomy caps label above, the value flush under it */
.field { display: grid; gap: 4px; align-content: start; }
.field label {
  font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); transition: color 0.16s var(--ease);
}
.field label span { margin-left: 4px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.field:focus-within label { color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0;
  font: 400 17px/1.4 var(--sans); color: var(--ink); caret-color: var(--green);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; box-shadow: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
@media (min-width: 1024px) { .field input, .field select, .field textarea { font-size: 18px; } }
.field select {
  padding-right: 28px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M.6.6 6 6 11.4.6' fill='none' stroke='%232b2b28' stroke-width='1.25'/%3E%3C/svg%3E") no-repeat right 2px top calc(50% + 2px) / 12px 7px;
}
.field input, .field select { min-height: 48px; padding-block: 12px 8px; }
@media (max-width: 767px) { .field input, .field select { min-height: 44px; padding-block: 10px 6px; } }
.field select:has(option[value=""]:checked) { color: var(--muted); }   /* "Choose one" reads empty; ink once chosen */
.field select option { color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
@supports (field-sizing: content) { .field textarea { field-sizing: content; max-height: 320px; resize: none; } }
/* states, in this order: hover, invalid, focus (focus wins). The 2px line is an inset shadow, so nothing moves;
   the transparent outline is what forced-colours mode paints, invalid or not. */
@media (hover: hover) { .field :is(input, select, textarea):hover { border-bottom-color: var(--body); } }
.field :is(input, select, textarea)[aria-invalid="true"],
.field :is(input, select, textarea)[aria-invalid="true"]:hover { border-bottom-color: var(--error); box-shadow: inset 0 -1px 0 var(--error); }
.field :is(input, select, textarea):focus,
.field :is(input, select, textarea)[aria-invalid="true"]:focus {
  outline: 2px solid transparent; outline-offset: 2px;
  border-bottom-color: var(--green-btn-2); box-shadow: inset 0 -1px 0 var(--green-btn-2);
}
@media (forced-colors: active) { .field select { appearance: auto; background-image: none; padding-right: 0; } }
/* autofill: no browser-tinted box under an underline field */
.field input:-webkit-autofill, .field input:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--ink); box-shadow: inset 0 0 0 100px var(--cream); transition: background-color 9999s;
}
.field input:-webkit-autofill:focus { box-shadow: inset 0 -1px 0 var(--green-btn-2), inset 0 0 0 100px var(--cream); }
/* an error is an icon and words as well as the colour; the icon is drawn, so it is not read aloud */
.field__error { display: flex; gap: 8px; align-items: flex-start; font: 400 14px/1.45 var(--sans); color: var(--error); }
.field__error::before {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6.25' fill='none' stroke='%23000' stroke-width='1.25'/%3E%3Cpath d='M7 3.6v4.2' stroke='%23000' stroke-width='1.3' stroke-linecap='round'/%3E%3Ccircle cx='7' cy='10.2' r='.85'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6.25' fill='none' stroke='%23000' stroke-width='1.25'/%3E%3Cpath d='M7 3.6v4.2' stroke='%23000' stroke-width='1.3' stroke-linecap='round'/%3E%3Ccircle cx='7' cy='10.2' r='.85'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (forced-colors: active) { .field__error::before { forced-color-adjust: none; background: CanvasText; } }
.bid__form .btn ~ :is(.bid__status, .bid__privacy, [data-bid-call]) { margin-top: 20px; }
.bid__form:has([data-bid-call]:not([hidden])) > button[type="submit"] { background: var(--btn-s-bg); border-color: var(--btn-s-line); color: var(--btn-s-fg); }
@media (hover: hover) { .bid__form:has([data-bid-call]:not([hidden])) > button[type="submit"]:hover:not(:disabled) { background: var(--btn-s-bg-h); border-color: var(--btn-s-line-h); } }
.bid__form:has([data-bid-call]:not([hidden])) > button[type="submit"]:active:not(:disabled) { background: var(--btn-s-bg-a); border-color: var(--btn-s-line-h); }
.btn__num { letter-spacing: 0.04em; }   /* a phone number inside a caps label reads as a number */
[data-bid-call] { padding-right: var(--btn-px); scroll-margin-bottom: 32px; }
.bid__status { font: 500 16px/1.5 var(--sans); color: var(--ink); }
/* an empty live region stays in the accessibility tree, so "Not sent" is announced; it takes no grid row */
.bid__form > .bid__status:empty { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bid__status[data-state="error"] strong { color: var(--error); font-weight: 500; }
.bid__privacy { font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (min-width: 600px) {
  .bid__form { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .field--wide, .bid__form .btn, .bid__status, .bid__privacy, [data-bid-call] { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .bid__form { column-gap: 48px; } }
/* below 1024 the form comes straight after the lede, so a "Request a bid" jump lands on the fields */
@media (max-width: 1023px) {
  .bid { gap: 0; }
  .bid__aside { display: contents; }
  .bid__form { order: 2; }
  .bid__aside .facts__list { order: 3; margin-top: 56px; }
}
@media (min-width: 1024px) {
  .bid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); }
  .bid__form .btn { justify-self: start; width: auto; min-width: 280px; }
}

/* ---------- prose (privacy) ---------- */
.prose { padding: var(--section-y) var(--pad); }
.prose > * { max-width: 36em; }
.prose h2 { margin-top: 44px; font: 400 var(--h3)/1.2 var(--serif); letter-spacing: var(--tr-h3); color: var(--ink); }
.prose p, .prose ul { margin-top: 16px; }
.prose ul { list-style: disc; padding-left: 1.2em; }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: var(--on-dark-2); font-size: 16px; line-height: 1.7; }
.site-footer__inner { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; padding: 64px var(--pad) 40px; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand > p { margin-top: 20px; max-width: 22em; }
.site-footer .logo { color: var(--on-dark); }
.site-footer__legal { font-size: 12px; letter-spacing: 0.02em; }
.site-footer__legal a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.site-footer h2 { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-eyebrow); margin-bottom: 10px; }
.site-footer__col li { min-height: 44px; display: flex; align-items: center; }
.site-footer__col li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.site-footer__col li a:hover { color: var(--on-dark); text-decoration: underline; }
.site-footer__col .btn { margin-top: 24px; }
.site-footer__col:last-child { grid-column: 1 / -1; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  margin-inline: var(--pad); padding: 16px 0 24px; border-top: 1px solid var(--on-dark-rule); font-size: 14px;
}
.site-footer__base a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: repeat(3, 1fr); }
  .site-footer__col:last-child { grid-column: auto; }
}
@media (min-width: 1024px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); padding-top: 80px; }
  .site-footer__brand { grid-column: auto; }
}

/* ---------- the pinned action bar (phones) ---------- */
.pin { display: none; }
@media (max-width: 767px) {
  html { scroll-padding-bottom: calc(var(--pin-h) + env(safe-area-inset-bottom) + 16px); }
  body { padding-bottom: calc(var(--pin-h) + env(safe-area-inset-bottom)); }
  .pin {
    position: fixed; inset: auto 0 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: 0;
    background: var(--green); box-shadow: 0 -1px 0 var(--on-dark-rule);
    transition: transform 0.25s ease;
  }
  .pin a {
    display: flex; align-items: center; justify-content: center; padding: 0 8px env(safe-area-inset-bottom);
    min-height: calc(var(--pin-h) + env(safe-area-inset-bottom));
    font: 500 14px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; text-align: center;
  }
  .pin a:focus-visible { outline-offset: -6px; }
  .pin__call { color: var(--on-dark); }
  .pin__bid { background: var(--btn-p-bg); color: var(--btn-p-fg); box-shadow: inset 0 1px 0 var(--green); }   /* the primary on green */
  .pin__bid:focus-visible { outline-color: var(--green); }
  .pin__bid:active { background: var(--btn-p-bg-a); }
  .pin__call:active { background: var(--green-btn-2); }
  body.at-bid .pin { transform: translateY(110%); }
}
@media (max-width: 359px) { .pin a { letter-spacing: 0.12em; } }

/* ---------- section heads (eyebrow, title, intro) ---------- */
.section-head { max-width: 820px; margin-bottom: var(--gap-section-head); }
.section-head .display { font-size: var(--h2-sm); }
.section-head p:not(.eyebrow) { max-width: 34em; }
.section-head .display + p { margin-top: var(--gap-head); }

/* ---------- images still to come (the held order): a quiet tonal panel at the final ratio ---------- */
.pending { width: 100%; background: var(--cream-2); }
.pinned .pending, .band .pending, .hero .pending { background: var(--green-btn); }

/* ---------- motion (TryGTM's house rules: one curve, 0.62 s arriving, 0.16 s for controls, everything once) ---------- */
:root { --ease: cubic-bezier(0.23, 1, 0.32, 1); }
.reveal .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.reveal .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.8s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.reveal.is-in .w > span { transform: none; }

/* ---------- what we build: service tabs ---------- */
.svc { padding: var(--section-y) var(--pad); }
.tabs__list { display: none; }
.js .tabs__list { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-bottom: 32px; border-bottom: 1px solid var(--rule); }
.tabs__tab {
  flex: none; min-height: 48px; min-width: 48px; padding: 0; text-align: left;
  font: 500 var(--fs-label)/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); background: none; border: 0; border-radius: 0; cursor: pointer;
  transition: color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
@media (hover: hover) { .tabs__tab:hover { color: var(--ink); } }
.tabs__tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.lc { text-transform: none; }
@media (max-width: 389px) { .js .tabs__list { column-gap: 20px; } }
@media (max-width: 359px) { .js .tabs__list { column-gap: 10px; } .tabs__tab { letter-spacing: 0.06em; text-align: center; } }   /* the three tabs keep one row at 320 */
.tabs__panel { display: grid; gap: 28px; }
.tabs__panel + .tabs__panel { margin-top: 56px; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tabs__text .display { font-size: var(--h3); line-height: 1.2; letter-spacing: var(--tr-h3); }
.tabs__text > p:not(.tabs__inc) { max-width: 30em; }
.tabs__text .display + p { margin-top: var(--gap-head); }
.tabs__inc { margin-top: 32px; font: 500 13px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.included { margin-top: 12px; display: grid; gap: 4px; }
.included li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--rule); }
.included li::before { content: ""; position: absolute; left: 2px; top: calc(12px + 0.62em); width: 13px; height: 6px; border-left: 1.5px solid var(--tan); border-bottom: 1.5px solid var(--tan); transform: rotate(-45deg); }
.tabs__text .btn { margin-top: var(--gap-action); }
@media (prefers-reduced-motion: no-preference) {
  .tabs.is-ready .tabs__panel:not([hidden]) { animation: panel-in 0.62s var(--ease); }
  @keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
}
@media (min-width: 1024px) {
  .tabs__panel { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 112px); align-items: center; }
}

/* ---------- design → permits → build (held on wide screens while the stages read through) ---------- */
.pinned { position: relative; background: var(--green); color: var(--on-dark-2); }
.pinned__stage { position: relative; display: grid; overflow: hidden; }
.pinned__inner { position: relative; z-index: 1; padding: var(--section-y) var(--pad) 40px; }
.pinned .display { color: var(--on-dark); }
@media (min-width: 1024px) { .pinned .display { max-width: 17ch; } }
.pinned__steps { margin-top: 32px; display: grid; gap: 4px; max-width: 30em; counter-reset: dpb; }
.pinned__steps li { counter-increment: dpb; padding: 16px 0 16px 64px; position: relative; border-top: 1px solid var(--on-dark-rule); }
.pinned__steps li::before { content: counter(dpb, decimal-leading-zero); position: absolute; left: 0; top: 14px; font: 400 32px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--on-dark-eyebrow); }
.pinned__label { display: block; font: 400 var(--h4)/1.25 var(--serif); letter-spacing: var(--tr-h4); color: var(--on-dark); }
.pinned__steps p { margin-top: 8px; }
.pinned__note { margin-top: 28px; font-size: var(--fs-small); color: var(--on-dark-eyebrow); }
.pinned__media { order: 2; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%); }
.pinned__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) {
  .pinned__stage { min-height: clamp(600px, 100svh, 980px); align-items: center; }
  .pinned__inner { width: calc(var(--pad) + 600px); padding: calc(var(--header-h) + 32px) 40px 40px var(--pad); }
  .pinned__steps { margin-top: 24px; }
  .pinned__steps li { padding-block: 12px; }
  .pinned__note { margin-top: 20px; }
  .pinned__media {
    position: absolute; inset: 0 0 0 calc(var(--pad) + 480px);
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.3) 120px, #000 380px);
    mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.3) 120px, #000 380px);
  }
  .pinned__media picture, .pinned__media img, .pinned__media .pending { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
}
/* the hold: three screens of scroll, the stage stuck to the top; each stage lights in turn. The
   script adds .is-held only on wide screens whose window fits the content, without reduced motion. */
.pinned.is-held { height: 300svh; }
.pinned.is-held .pinned__stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
.pinned.is-held .pinned__steps { position: relative; }
.pinned.is-held .pinned__steps::after { content: ""; position: absolute; left: 48px; top: 0; width: 1px; height: calc(var(--p, 0) * 100%); background: var(--sand); }
.pinned.is-held .pinned__steps li { transition: color 0.62s var(--ease), border-color 0.62s var(--ease); }
.pinned.is-held .pinned__steps li:not(.is-on) .pinned__label, .pinned.is-held .pinned__steps li:not(.is-on) p { color: var(--on-dark-eyebrow); }
.pinned.is-held .pinned__steps li.is-on { border-top-color: var(--sand); }
.pinned.is-held .pinned__steps li.is-on::before { color: var(--sand); }

/* ---------- how we build: the image grid ---------- */
.build-grid { padding: var(--section-y) var(--pad); }
.image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.image-grid img, .image-grid .pending { width: 100%; aspect-ratio: 9 / 8 !important; object-fit: cover; }
@media (min-width: 1024px) { .image-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.build-grid__more { margin-top: 48px; }

/* ---------- from the first call to move-in: the timeline line ---------- */
.timeline { background: var(--green); color: var(--on-dark-2); padding: var(--section-y) var(--pad); }
.timeline .display { color: var(--on-dark); }
.timeline__track { position: relative; }
.timeline__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--on-dark-rule); }
.timeline__line span { position: absolute; inset: 0 0 auto; height: calc(var(--p, 0) * 100%); background: var(--sand); }
.timeline__list { display: grid; gap: 28px; }
.timeline__list li { position: relative; padding-left: 40px; }
.timeline__list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 2px solid var(--on-dark-eyebrow); transition: background-color 0.62s var(--ease), border-color 0.62s var(--ease), transform 0.62s var(--ease); }
.timeline__list li.is-on::before { background: var(--sand); border-color: var(--sand); }
.timeline__list h3 { font: 400 var(--h4)/1.25 var(--serif); letter-spacing: var(--tr-h4); color: var(--on-dark); }
.timeline__list p { margin-top: 8px; max-width: 26em; }
@media (min-width: 1024px) {
  .timeline .timeline__line { left: 8px; right: calc((100% - 120px) / 6 - 8px); top: 7px; bottom: auto; width: auto; height: 2px; }
  .timeline .timeline__line span { inset: 0 auto 0 0; height: 100%; width: calc(var(--p, 0) * 100%); }
  .timeline__list { grid-template-columns: repeat(6, 1fr); gap: 24px; }
  .timeline__list li { padding: 40px 0 0; }
  .timeline__list li::before { top: 0; }
  .timeline__list h3 { font-size: 26px; }
  .timeline__list p { font-size: 16px; }
}
/* the process page: the same line, always vertical, beside the numbered steps */
.steps[data-timeline] { position: relative; }
.steps[data-timeline] .timeline__line { left: calc(var(--pad) + 51px); right: auto; width: 2px; height: auto; top: calc(var(--section-y) + 40px); bottom: calc(var(--section-y) + 40px); background: var(--rule); }
.steps[data-timeline] .timeline__line span { inset: 0 0 auto; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--tan); }
@media (min-width: 768px) { .steps[data-timeline] .timeline__line { left: calc(var(--pad) + 90px); } }

/* ---------- your project, in one place: the client portal on phones ---------- */
.portal { padding: var(--section-y) var(--pad); }   /* it follows the green timeline: no rule */
.portal__screens { display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 300px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 16px; padding-bottom: 8px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; }
.portal__screens li { scroll-snap-align: start; }
/* one screen (the others wait on the app restyle): centred, no empty tracks */
.portal__screens:has(> :only-child) { grid-template-columns: minmax(0, 300px); justify-content: center; }
.portal__screens:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; column-gap: clamp(32px, 6vw, 112px); }
.phone { position: relative; }
.phone__screen { border: 10px solid var(--green); border-radius: 38px; overflow: hidden; background: var(--green); }
.phone__screen img, .phone__screen .pending { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 28px; display: block; }   /* the real portal's first screen (390×844 logical, captured at 3x): the phone is that shape, so nothing is cropped */
.phone__screen .pending { background: var(--cream-2); }
.phone .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 1; white-space: nowrap;
  padding: 6px 12px; font: 500 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--green); color: var(--cream);
}
.phone figcaption { margin-top: 16px; text-align: center; font: 400 var(--h4)/1.25 var(--serif); letter-spacing: var(--tr-h4); color: var(--ink); }
@media (min-width: 768px) {
  .portal__screens { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: space-between; overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* ---------- what we build page: the three kinds and the stages ---------- */
.kinds { padding: var(--section-y) var(--pad) 0; }
.kinds__list { display: grid; gap: 40px clamp(32px, 4vw, 64px); }
.kinds__list li { display: flex; }
/* a top rule, not a box; on hover the rule and "More on" turn ink */
.kinds__list a { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 28px 0 8px; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: border-color 0.16s var(--ease); }
@media (hover: hover) { .kinds__list a:hover { border-top-color: var(--ink); } .kinds__list a:hover .kinds__more { color: var(--ink); } }
.kinds__list .eyebrow { margin: 0; }
.kinds__title { font: 400 var(--h3)/1.2 var(--serif); letter-spacing: var(--tr-h3); }
.kinds__more { margin-top: auto; padding-top: 12px; font: 500 var(--fs-label)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.16s var(--ease); }
@media (min-width: 768px) { .kinds__list { grid-template-columns: repeat(3, 1fr); } .kinds__list a { min-height: 200px; } }   /* equal cards side by side only */
.stages { padding: var(--section-y) var(--pad); }
.stages__list { display: grid; gap: 48px; }
.stages__list li { display: grid; gap: 20px; align-content: start; }
.stages__media img, .stages__media .pending { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stages__text h3 { font: 400 var(--h3)/1.2 var(--serif); letter-spacing: var(--tr-h3); color: var(--ink); }
.stages__text p { margin-top: 12px; max-width: 28em; font-size: var(--fs-lede); line-height: 1.6; }
@media (min-width: 768px) { .stages__list { grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 64px; } }
@media (min-width: 1024px) { .stages__list { grid-template-columns: repeat(4, 1fr); column-gap: 20px; } .stages__text p { font-size: var(--fs-body); line-height: var(--lh-body); } }

/* about: the facts beside the text, both columns from the top */
@media (min-width: 1024px) { .split:has(> .split__aside) { align-items: start; } }
.split__aside .eyebrow { margin-bottom: 16px; }

/* last lines of one word read as mistakes at the larger text sizes */
.lede, .facts__list dd, .split__text p:not(.eyebrow), .band__inner > p, .service__text p:not(.eyebrow), .section-head p:not(.eyebrow), .page-hero p:not(.eyebrow), .cta__body p, .pinned__note, .timeline__list p, .stages__text p, .bid__status,
.tabs__text > p, .pinned__steps p, .site-footer__brand > p, .included li { text-wrap: pretty; }
.trust p, .bid__aside .lede, .kinds__title { text-wrap: balance; }

/* Cormorant draws old-style figures by default ("98654ı", "(4o8)"), and every `font:` shorthand
   resets font-variant-numeric, so lining figures are restated after the shorthands. */
.display, .facts__list dd, .steps__list li::before, .lede, .logo__word, body.menu-open .site-nav ul a,
.trust h3, .prose h2, .quote .display, .timeline__list h3, .pinned__label, .kinds__title, .stages__text h3, .phone figcaption { font-variant-numeric: lining-nums; }
.steps__list li::before, .pinned__steps li::before { font-variant-numeric: lining-nums tabular-nums; }   /* counters line up */

@media print { .reveal .w { overflow: visible; } .reveal .w > span { transform: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
