/* Cut and Fill — GOC Contractors Inc.
   Asphalt and concrete from the work, the silver of their mark, and one colour borrowed from the site itself:
   the orange of survey marking paint. Signage type for headings, a drafting mono for the labels an estimator reads. */

@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --asphalt: #151618;
  --asphalt-2: #1f2124;
  --asphalt-line: #34373c;
  --concrete: #e4e1db;
  --concrete-2: #d3cfc6;
  --paper: #f3f1ec;
  --ink: #16171a;
  --ink-2: #4a4d52;
  --silver: #b4b8bf;
  --silver-2: #8d929a;
  --mark: #ff5b1f;
  --mark-ink: #b03a0d;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --band: var(--asphalt);
  --band-ink: #fff;
  --bg: var(--concrete);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--mark); }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: 0.005em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 3.6vw + 1rem, 3.9rem); text-transform: uppercase; }
h3 { font-size: clamp(1.45rem, 1vw + 1.1rem, 1.9rem); font-weight: 600; }
p, ul, ol, dl, figure { margin: 0; }
:where(ul[class], ol[class], .nav ul, .menu ul, .site-footer ul) { list-style: none; padding: 0; margin: 0; }
p + p { margin-top: 1em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--mark); color: var(--ink); font-weight: 700; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels: the drafting mono, used for stations, divisions and the facts a contractor checks. */
.label, .eyebrow { font: 500 0.78rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.station { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; color: var(--mark-ink); font: 500 0.78rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.station::after { content: ""; flex: 1; height: 9px; max-width: 14rem;
  background: linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat,
              repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 12px) 0 0 / 100% 100% no-repeat; opacity: 0.55; }
.dark .station, .cta-band .station, .station--light { color: var(--mark); }
.lede { font-size: clamp(1.1rem, 0.4vw + 1rem, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 40rem; }
.dark .lede { color: var(--silver); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.7rem 1.35rem;
  border: 2px solid var(--mark); background: var(--mark); color: var(--ink); font: 700 1.05rem/1.1 var(--body); text-decoration: none; cursor: pointer; }
.button:hover { background: #ff7440; border-color: #ff7440; }
.button--ghost { background: transparent; border-color: currentColor; color: inherit; }
.button--ghost:hover { background: rgb(255 255 255 / 0.08); border-color: var(--mark); }
.button--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.button--ink:hover { background: #2b2d31; border-color: #2b2d31; }
.button .arrow { width: 1.05em; height: 1.05em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--mark); padding-bottom: 0.15rem; }
.link-arrow:hover { color: var(--mark-ink); }
.dark .link-arrow:hover { color: var(--mark); }

/* ── Header ──────────────────────────────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--asphalt); color: #fff; border-bottom: 1px solid var(--asphalt-line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 2.6rem; height: auto; }
.brand span { font: 700 1.2rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--silver); white-space: nowrap; }
@media (max-width: 479px) { .brand .brand__inc { display: none; } }
@media (min-width: 700px) { .brand img { width: 3rem; } .brand span { font-size: 1.3rem; } }
.brand span b { color: var(--silver); font-weight: 700; }
.nav { display: none; }
.nav ul { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: #e9e9ea; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--mark); color: #fff; }
.header-call { display: none; align-items: center; gap: 0.5rem; text-decoration: none; font: 500 0.95rem/1 var(--mono); color: #fff; }
.header-call svg { width: 1rem; height: 1rem; color: var(--mark); }
.header-cta { display: none; min-height: 2.6rem; padding: 0.5rem 1rem; font-size: 0.95rem; }
.menu-button { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.9rem; border: 1px solid var(--asphalt-line); background: var(--asphalt-2); color: #fff; font: 600 0.95rem/1 var(--body); cursor: pointer; }
.menu-button svg { width: 1.1rem; height: 1.1rem; }
.phone-call { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--asphalt-line); color: var(--mark); }
.phone-call svg { width: 1.15rem; height: 1.15rem; }

.menu { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--asphalt); color: #fff; }
.menu::backdrop { background: rgb(0 0 0 / 0.6); }
.menu__inner { display: flex; flex-direction: column; min-height: 100%; padding: 1rem var(--gutter) 2rem; }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 3.25rem; }
.menu__close { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.9rem; border: 1px solid var(--asphalt-line); background: transparent; color: #fff; font: 600 0.95rem/1 var(--body); cursor: pointer; }
.menu nav ul { margin-top: 1.5rem; border-top: 1px solid var(--asphalt-line); }
.menu nav li { border-bottom: 1px solid var(--asphalt-line); }
.menu nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; text-decoration: none; font: 700 2.2rem/1 var(--display); text-transform: uppercase; }
.menu nav a span { font: 500 0.75rem/1 var(--mono); color: var(--silver-2); letter-spacing: 0.08em; }
.menu nav a[aria-current="page"] { color: var(--mark); }
.menu__contact { margin-top: auto; padding-top: 2rem; display: grid; gap: 0.75rem; }
.menu__contact .button { width: 100%; }

@media (min-width: 900px) {
  .nav { display: block; }
  .menu-button, .phone-call { display: none; }
  .header-call { display: inline-flex; }
}
@media (min-width: 1100px) {
  .header-cta { display: inline-flex; }
  .brand span { font-size: 1.4rem; }
}

/* ── The video hero (Hero Studio: docs in zibby-site, hero-studio.md) ───────────────────────────────
   One shape per width band, set by aspect-ratio and never by the window's height: 3:5 below 700px, 3:2 from 700px,
   16:7 from 1100px. Their photo fills it until the owner films a video; the words sit low over a rising fade. */
.hero[data-hero-studio] {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 5; color: #fff; background: var(--band);
}
.hero[data-hero-studio]::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-tint, rgb(0 0 0 / 0.45)); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; background: var(--band); }
.hero__media video { opacity: 0; transition: opacity 0.6s ease; }
.hero__media video.is-showing { opacity: 1; }
.hero__text { padding-block: 1.25rem 1.75rem; text-shadow: 0 1px 12px rgb(0 0 0 / 0.35); }
.hero__text > * { max-width: 34rem; }
.hero__text h1 { font-size: clamp(2.6rem, 4.6vw + 1.3rem, 5.4rem); line-height: 0.92; text-transform: uppercase; letter-spacing: 0; }
.hero .eyebrow { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.9rem; color: #fff; }
.hero .eyebrow::before { content: ""; flex: none; width: 0.7rem; height: 0.7rem; margin-top: 0.15em; background: var(--mark); }
.hero .lede { margin-top: 1rem; color: #f1f1f1; }
.hero .actions { margin-top: 1.5rem; }
.hero__strip { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; margin-top: 1.1rem; padding: 0; list-style: none; font: 500 0.82rem/1.4 var(--mono); letter-spacing: 0.03em; }
@media (max-width: 699px) { .hero__strip { flex-direction: column; gap: 0.15rem; } }
@media (min-width: 700px) { .hero__strip li + li::before { content: "/"; margin-right: 1.25rem; color: var(--mark); } }
.hero__strip a { text-decoration: none; }
.hero.hero--cinematic { --hero-scrim: rgb(12 13 14 / 0.86); --hero-scrim-reach: 0.78; }
.hero.hero--cinematic::before { background: linear-gradient(to top, var(--hero-scrim) 0%, var(--hero-scrim) 14%, transparent calc(var(--hero-scrim-reach) * 100%)); }
.hero__pause {
  position: absolute; right: 1rem; bottom: 1.75rem; width: 3rem; height: 3rem; padding: 0; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer; border: 2px solid rgb(255 255 255 / 0.85); background: rgb(0 0 0 / 0.5); color: #fff;
}
.hero__pause[hidden] { display: none; }
.hero__pause svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.hero__pause [data-icon="play"], .hero__pause[data-state="paused"] [data-icon="pause"] { display: none; }
.hero__pause[data-state="paused"] [data-icon="play"] { display: block; }
@media (min-width: 700px) {
  .hero[data-hero-studio] { aspect-ratio: 3 / 2; }
  .hero__text { padding-block: 1.5rem 2.5rem; }
  .hero__text > * { max-width: 36rem; }
  .hero__pause { right: 1.5rem; bottom: 1.5rem; }
}
@media (min-width: 1100px) {
  .hero[data-hero-studio] { aspect-ratio: 16 / 7; }
  .hero__text > * { max-width: 44rem; }
  .hero__text .lede { max-width: 36rem; }
  .hero__text h1 { font-size: clamp(4rem, 3vw + 2.4rem, 5.6rem); }
}

/* The sectors, read like a site board under the hero. */
.sectors { background: var(--asphalt); color: #fff; border-top: 1px solid var(--asphalt-line); }
.sectors ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sectors li { display: flex; align-items: center; gap: 0.6rem; padding: 0.95rem 0; font: 700 1.25rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.sectors li::before { content: ""; width: 0.55rem; height: 0.55rem; border: 2px solid var(--mark); }
@media (min-width: 700px) {
  .sectors ul { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .sectors li { font-size: 1.45rem; padding: 1.15rem 0; }
}

/* ── Sections ────────────────────────────────────────────────────────────────────────────────────── */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.dark { background: var(--asphalt); color: #fff; }
.paper { background: var(--paper); }
.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .lede { margin-top: 0.25rem; }
@media (min-width: 1000px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 4rem; }
  .section-head--split .station { grid-column: 1 / -1; margin-bottom: 0; }
}

/* Contour lines behind a dark band: the grading plan under the work. */
.contours { position: relative; isolation: isolate; }
.contours::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/art/contours.svg") 70% 40% / 1400px auto no-repeat; opacity: 0.55; pointer-events: none; }

/* ── The scope sheet (home): one row per division ───────────────────────────────────────────────── */
.scope { border-top: 2px solid var(--ink); }
.scope__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem 2rem; padding: 1.4rem 0 1.5rem; border-bottom: 1px solid var(--concrete-2); }
.scope__div { display: flex; gap: 0.6rem; align-items: baseline; font: 500 0.75rem/1.35 var(--mono); letter-spacing: 0.05em; color: var(--ink-2); text-transform: uppercase; }
.scope__div span { color: var(--mark-ink); font-size: 0.85rem; white-space: nowrap; }
.scope__row h3 { font-size: clamp(1.8rem, 1.6vw + 1.2rem, 2.5rem); font-weight: 700; text-transform: uppercase; }
.scope__row h3 a { text-decoration: none; }
.scope__row h3 a:hover { color: var(--mark-ink); }
.scope__items { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; color: var(--ink-2); font-size: 0.98rem; }
.scope__items li { display: inline-flex; align-items: center; gap: 0.5rem; }
.scope__items li:not(:last-child)::after { content: "/"; color: var(--concrete-2); font-weight: 700; }
@media (min-width: 800px) {
  .scope__row { grid-template-columns: 9.5rem minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: baseline; padding: 1.6rem 0; }
  .scope__div { flex-direction: column; gap: 0.35rem; }
}

.more-link { margin-top: 2rem; }
.dark .more-link { margin-top: 2.5rem; }
.actions--after { margin-top: 2rem; }

/* ── Project cards ───────────────────────────────────────────────────────────────────────────────── */
.projects-feature { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 700px) { .projects-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.project-card { display: grid; gap: 1rem; align-content: start; }
.project-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--asphalt-2); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.project-card__place { position: absolute; left: 0; top: 0; padding: 0.45rem 0.7rem; background: var(--asphalt); color: #fff; font: 500 0.75rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.project-card h3 { font-size: clamp(1.7rem, 1.2vw + 1.3rem, 2.2rem); text-transform: uppercase; }
.project-card__kind { color: var(--silver); font-weight: 600; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.45rem 1rem; padding-top: 0.9rem; border-top: 1px solid var(--asphalt-line); }
.facts dt { font: 500 0.75rem/1.75 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--silver-2); }
.facts dd { margin: 0; }
.paper .facts, .concrete .facts { border-top-color: var(--concrete-2); }
.paper .facts dt { color: var(--ink-2); }

.more-projects { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 700px) { .more-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mini-project { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 0.75rem; border: 1px solid var(--asphalt-line); text-decoration: none; }
.mini-project img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mini-project strong { display: block; font: 700 1.45rem/1 var(--display); text-transform: uppercase; }
.mini-project span { color: var(--silver); font-size: 0.95rem; }
.mini-project:hover { border-color: var(--mark); }

/* ── The reference ───────────────────────────────────────────────────────────────────────────────── */
.reference { display: grid; gap: 2rem; align-items: start; }
.reference blockquote { margin: 0; }
.reference blockquote p { font: 600 clamp(1.9rem, 2.4vw + 1.1rem, 3.1rem)/1.06 var(--display); text-wrap: balance; }
.reference blockquote p::before { content: "“"; color: var(--mark-ink); }
.reference blockquote p::after { content: "”"; color: var(--mark-ink); }
.reference figcaption { margin-top: 1.25rem; display: grid; gap: 0.2rem; }
.reference figcaption strong { font-weight: 700; }
.reference figcaption span { color: var(--ink-2); }
.reference--long blockquote p { font-size: clamp(1.55rem, 1.3vw + 1.1rem, 2.25rem); line-height: 1.12; }
.reference__letter { display: grid; gap: 1rem; padding: 1.4rem; background: var(--paper); border-top: 4px solid var(--mark); }
.reference__letter p { color: var(--ink-2); }
@media (min-width: 900px) { .reference { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 4rem; } }

/* ── Team: one accountable team ──────────────────────────────────────────────────────────────────── */
.pillars { display: grid; gap: 1.5rem; counter-reset: pillar; }
.pillar { padding-top: 1.1rem; border-top: 2px solid var(--mark); }
.pillar h3 { margin-bottom: 0.6rem; text-transform: uppercase; font-weight: 700; }
.pillar p { color: var(--silver); }
.paper .pillar p, .concrete-band .pillar p { color: var(--ink-2); }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.panorama { margin-top: clamp(2.5rem, 5vw, 4rem); }
.panorama img { width: 100%; aspect-ratio: 2400 / 696; object-fit: cover; min-height: 200px; }
.caption { margin-top: 0.6rem; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.04em; color: var(--silver-2); text-transform: uppercase; }
.concrete .caption, .paper .caption { color: var(--ink-2); }

/* ── People ─────────────────────────────────────────────────────────────────────────────────────── */
.people { display: grid; gap: 1px; background: var(--concrete-2); border: 1px solid var(--concrete-2); }
.person { display: grid; gap: 0.35rem; padding: 1.4rem; background: var(--paper); }
.person h3 { font-size: 1.9rem; text-transform: uppercase; }
.person a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.person a:hover { color: var(--mark-ink); text-decoration: underline; }
.person .tel { font: 500 1.05rem/1.5 var(--mono); }
@media (min-width: 1000px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Call to action band ─────────────────────────────────────────────────────────────────────────── */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--asphalt); color: #fff; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(21 22 24 / 0.95) 0%, rgb(21 22 24 / 0.75) 55%, rgb(21 22 24 / 0.35) 100%); }
.cta-band .wrap { display: grid; gap: 1.5rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta-band h2 { max-width: 16ch; }
.cta-band p { max-width: 36rem; color: #e2e2e2; font-size: 1.1rem; }

/* ── Page heads (inner pages) ────────────────────────────────────────────────────────────────────── */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { font-size: clamp(3rem, 6vw + 1rem, 6.2rem); line-height: 0.92; text-transform: uppercase; max-width: 15ch; }
.page-head .lede { margin-top: 1.4rem; }
.page-head .station { margin-bottom: 1.4rem; }

/* ── Services page ───────────────────────────────────────────────────────────────────────────────── */
.div-index { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.div-index a { display: inline-flex; align-items: baseline; gap: 0.55rem; padding: 0.55rem 0.8rem; border: 1px solid var(--asphalt-line); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.div-index a span { font: 500 0.72rem/1 var(--mono); color: var(--mark); letter-spacing: 0.05em; }
.div-index a:hover { border-color: var(--mark); }
.division { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--concrete-2); }
.division:first-of-type { border-top: 0; }
.division__grid { display: grid; gap: 2rem; }
.division__tag { display: inline-block; padding: 0.4rem 0.6rem; background: var(--ink); color: #fff; font: 500 0.75rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.division h2 { margin-top: 1rem; }
.division__intro { margin-top: 1rem; color: var(--ink-2); max-width: 34rem; }
.scope-list { margin-top: 1.5rem; border-top: 2px solid var(--ink); }
.scope-list li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--concrete-2); font-weight: 500; }
.scope-list li::before { content: ""; width: 0.75rem; height: 0.75rem; border: 2px solid var(--mark-ink); transform: translateY(0.05rem); }
.division__media { display: grid; gap: 0.75rem; align-content: start; }
.division__media img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.division__media figure + figure { margin-top: 0.5rem; }
@media (min-width: 760px) {
  .division__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .division--flip .division__media { order: -1; }
}

/* The trench section: drawn, not photographed. */
.section-drawing { padding: 1.25rem; background: var(--asphalt); color: var(--silver); }
.section-drawing svg { width: 100%; height: auto; }
.section-drawing .caption { color: var(--silver-2); }

.legend { list-style: decimal; margin: 1rem 0 0; padding-left: 1.6rem; display: grid; gap: 0.35rem; font-size: 0.92rem; color: #dcdde0; }
.legend li::marker { font: 500 0.8rem var(--mono); color: var(--mark); }

/* ── Projects page ───────────────────────────────────────────────────────────────────────────────── */
.project { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--concrete-2); }
.project:first-of-type { border-top: 0; padding-top: 0; }
.project:last-of-type { padding-bottom: 0; }
.project__head { display: grid; gap: 1.25rem; margin-bottom: 1.75rem; }
.project__head h2 { font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem); }
.project__kind { margin-top: 0.4rem; font: 600 clamp(1.25rem, 1vw + 1rem, 1.6rem)/1.1 var(--display); color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.02em; }
.project .facts { border-top: 2px solid var(--ink); }
.project .facts dt { color: var(--ink-2); }
@media (min-width: 900px) { .project__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4rem; align-items: end; } }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.gallery li:first-child { grid-column: 1 / -1; }
@media (max-width: 899px) { .gallery li:last-child:nth-child(even) { grid-column: 1 / -1; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery li:first-child img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 15rem; }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery li:first-child:nth-last-child(3) ~ li { grid-column: span 2; }
  .gallery li:first-child:nth-last-child(4) + li { grid-column: span 2; }
  .gallery img, .gallery li:first-child img { aspect-ratio: auto; }
}

/* ── About page ─────────────────────────────────────────────────────────────────────────────────── */
.story { display: grid; gap: 2rem; }
.story__body p { color: var(--ink-2); font-size: 1.1rem; }
.story__body h2 + p { margin-top: 1.25rem; }
.story figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story figure img.story__photo--wide { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .story { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: center; } }
.commit-list { margin-top: 1.5rem; display: grid; gap: 0; border-top: 1px solid var(--asphalt-line); }
.commit-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); padding: 1rem 0; border-bottom: 1px solid var(--asphalt-line); }
.commit-list li span { font: 500 0.8rem/1.6 var(--mono); color: var(--mark); }

.checks { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.5rem; }
.checks li { display: inline-flex; align-items: center; gap: 0.55rem; font: 700 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.checks li::before { content: ""; width: 0.9rem; height: 0.9rem; background: var(--mark); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 24%, 86% 10%, 38% 72%); }

/* ── Contact page ───────────────────────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; } }
.contact-aside { display: grid; gap: 1.75rem; }
.contact-aside .people { grid-template-columns: minmax(0, 1fr); }
.contact-aside dl { display: grid; gap: 0.25rem; }
.contact-aside dt { font: 500 0.75rem/1.6 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.contact-aside dd { margin: 0 0 0.75rem; font-weight: 600; }
.contact-aside dd a { text-decoration: none; }
.contact-aside dd a:hover { text-decoration: underline; color: var(--mark-ink); }
.form-card { padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--paper); border-top: 4px solid var(--mark); }
.form-card h2 { font-size: clamp(2rem, 2vw + 1.2rem, 2.8rem); }
.form-card > p { margin-top: 0.75rem; color: var(--ink-2); }

/* The contact form (the site form contract: posts to /api/site-form on the site's own origin). */
.site-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.5rem; }
.site-form .row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) { .site-form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem; font: 500 0.78rem/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.site-form label small { font: 400 0.8rem/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.site-form input, .site-form select, .site-form textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.8rem; border: 1px solid #b9b4aa; border-bottom: 2px solid var(--ink); border-radius: 0;
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--body); text-transform: none; letter-spacing: 0;
}
.site-form textarea { min-height: 8rem; resize: vertical; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: 3px solid var(--mark); outline-offset: 0; border-bottom-color: var(--mark-ink); }
.site-form button[type="submit"] { justify-self: start; }
.site-form-trap { display: none !important; }
.site-form-status { padding: 0.8rem 1rem; background: var(--asphalt); color: #fff; font-weight: 600; }
.site-form-status:empty { display: none; }
.site-form-consent { font-size: 0.88rem; color: var(--ink-2); }
.form-note { display: flex; gap: 0.75rem; padding: 0.9rem 1rem; border: 1px dashed #b9b4aa; font-size: 0.95rem; color: var(--ink-2); }
.form-note svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: 0.15rem; color: var(--mark-ink); }

/* ── Footer ─────────────────────────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--asphalt); color: var(--silver); }
.profile { display: block; width: 100%; height: 72px; color: var(--asphalt-line); background: var(--concrete); }
.profile--paper { background: var(--paper); }
.profile--dark { background: var(--asphalt-2); }
.footer-main { display: grid; gap: 2.25rem; padding-block: clamp(2.75rem, 5vw, 4rem) 2rem; }
.footer-brand img { width: 9.5rem; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.site-footer h2 { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.08em; color: var(--silver-2); margin-bottom: 0.9rem; }
.site-footer ul { display: grid; gap: 0.45rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--mark); }
.footer-people li { display: grid; }
.footer-people span { font-size: 0.9rem; }
.footer-base { display: grid; gap: 0.75rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--asphalt-line); font-size: 0.9rem; }
.proposal-note { font-size: 0.85rem; color: var(--silver-2); }
.proposal-note a { color: var(--silver); text-decoration: underline; }
@media (min-width: 640px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}
@media (min-width: 1000px) {
  .footer-main { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}

/* ── 404 ───────────────────────────────────────────────────────────────────────────────────────── */
.not-found { min-height: 60vh; display: grid; align-content: center; }
.not-found h1 { font-size: clamp(3rem, 7vw + 1rem, 7rem); line-height: 0.9; text-transform: uppercase; max-width: 12ch; }
.not-found .lede { margin-top: 1.25rem; }
.not-found .actions { margin-top: 2rem; }
