/* Civcon Group. Dark only, on Civcon navy. Same family as the Capstan site:
   Archivo at its narrowest width (62) and heavy for display, JetBrains Mono for small labels, nav and buttons.
   Square corners everywhere. One accent, red. Section layouts are Civcon's own. */

@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-normal-latin.woff2?v=510b810080) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jbmono-normal-400-700-latin.woff2?v=340e696a95) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0B1119;
  --panel: #111A26;
  --panel-2: #172232;
  --line: #253142;
  --ink: #F1F4F8;
  --ink-2: #D3DAE3;
  --mute: #9BA8B9;
  --control: #7D8B9E;
  --red: #E2483D;
  --red-deep: #C8372D;
  --err: #F07A71;
  --graphite: #0D0E10;
  --plate: #F1F4F8;
  --gut: clamp(18px, 5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Archivo", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Film grain on a fixed layer only */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 span, h2 span { display: block; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--red-deep); color: #FBFAF7; padding: 10px 14px; }
.skip:focus { top: 12px; }
.red { color: var(--red); }
.dim { color: var(--mute); }

/* Buttons: identical to Capstan's */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; font: 700 15px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .12s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red-deep); color: #FBFAF7; }
.btn--red:hover { background: #B23128; }
.btn--line { border-color: var(--ink); color: var(--ink); background: rgb(11 17 25 / .35); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn[disabled] { opacity: .6; cursor: progress; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (max-width: 380px) { .btn { padding: 0 16px; font-size: 14px; letter-spacing: .04em; } }

/* Text link with the button arrow (Request a bid inside sections, The people behind the work) */
.tlink { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; font: 700 14px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--red); white-space: nowrap; }
.tlink svg { width: 16px; height: 16px; flex: none; fill: currentColor; transition: transform .25s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }
.tlink:hover { color: #fff; }
.phone-link { font: 500 16px/1.4 var(--mono); text-decoration: none; border-bottom: 1px solid var(--control); white-space: nowrap; }
.phone-link:hover { border-color: var(--red); }

/* Header: same build as Capstan's, navy scrim */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 var(--gut); background: linear-gradient(rgb(11 17 25 / .96) 0%, rgb(11 17 25 / .86) 55%, rgb(11 17 25 / 0) 100%); }
.top__brand { flex: none; display: block; padding: 8px 0; }
.top__brand img { height: 22px; width: auto; }
.top__nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top__nav a { padding: 10px 12px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; color: var(--ink); text-shadow: 0 1px 6px rgb(0 0 0 / .45); white-space: nowrap; }
.top__nav a:hover, .top__nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.top__nav .top__cta { margin-left: 10px; color: #FBFAF7; background: var(--red-deep); padding: 13px 16px; text-shadow: none; }
.top__nav .top__cta:hover, .top__nav .top__cta[aria-current="page"] { background: #B23128; color: #fff; text-decoration: none; }
.top__toggle { display: none; margin-left: auto; width: 48px; height: 48px; flex: none; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.top__toggle i { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.nav-open .top__toggle i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-open .top__toggle i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1080px) and (min-width: 861px) {
  .top { gap: 16px; }
  .top__brand img { height: 18px; }
  .top__nav a { padding: 10px 8px; font-size: 12px; letter-spacing: .06em; }
  .top__nav .top__cta { margin-left: 6px; padding: 13px 12px; }
}
@media (max-width: 860px) {
  .top__toggle { display: inline-flex; }
  .top__nav { position: fixed; inset: 72px 0 auto 0; display: none; flex-direction: column; align-items: stretch; padding: 8px var(--gut) 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-open .top__nav { display: flex; }
  .nav-open .top { background: var(--bg); }
  .top__nav a { padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .top__nav .top__cta { margin: 16px 0 0; text-align: center; }
}
@media (max-width: 360px) { .top__brand img { height: 18px; } }

main > section { padding-left: var(--gut); padding-right: var(--gut); }
.who { font-size: 15px; line-height: 1.55; color: var(--mute); max-width: 48em; }

/* Home hero: full-bleed photo, copy bottom-left on the dark third */
.hero { position: relative; min-height: 100dvh; display: grid; align-items: end; padding-top: 120px; padding-bottom: clamp(36px, 7vh, 72px); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(11 17 25 / .95) 0%, rgb(11 17 25 / .9) 40%, rgb(11 17 25 / .58) 62%, rgb(11 17 25 / .08) 86%), linear-gradient(0deg, rgb(11 17 25 / .92) 0%, rgb(11 17 25 / 0) 46%); }
.hero__copy { position: relative; z-index: 2; display: grid; gap: 22px; max-width: 980px; }
.hero h1 { font-size: clamp(42px, 8.2vw, 132px); }
@media (max-width: 700px) { .hero h1 { font-size: clamp(36px, 12.4vw, 64px); } }
.hero h1 .red { color: var(--red); }
.hero__sub { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); max-width: 30em; }
.hero__copy > .who { margin-top: -8px; max-width: 46em; }
@media (max-width: 700px) {
  .hero { padding-top: 96px; }
  .hero::before { background: linear-gradient(0deg, rgb(11 17 25 / .97) 0%, rgb(11 17 25 / .9) 40%, rgb(11 17 25 / .35) 72%, rgb(11 17 25 / .1) 100%); }
  .hero__img { object-position: 80% 40%; }
  .hero__copy { gap: 16px; }
  .hero__sub { font-size: 17px; }
  .hero__copy > .who { font-size: 14px; margin-top: -4px; }
}

/* Statement: type only */
.statement { padding-top: clamp(96px, 13vw, 190px); padding-bottom: clamp(72px, 10vw, 150px); display: grid; gap: 34px; }
.statement h2 { font-size: clamp(36px, 7vw, 116px); }
.statement h2 .dim { color: var(--mute); }
.statement p { max-width: 36em; font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-2); }

/* Home capabilities: asymmetric four-cell image grid, wide beside narrow, then narrow beside wide */
.caps { padding-bottom: clamp(72px, 10vw, 150px); display: grid; gap: 30px; }
.caps h2 { font-size: clamp(34px, 3.8vw, 60px); }
.caps__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.cell { position: relative; display: block; overflow: hidden; min-height: clamp(340px, 36vw, 540px); text-decoration: none; background: var(--panel); }
.cell:nth-child(1), .cell:nth-child(4) { grid-column: span 7; }
.cell:nth-child(2), .cell:nth-child(3) { grid-column: span 5; }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 17 25 / .95) 0%, rgb(11 17 25 / .82) 26%, rgb(11 17 25 / 0) 62%); }
.cell__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: 10px; padding: clamp(20px, 2.4vw, 34px); }
.cell__name { font: 800 clamp(34px, 3.6vw, 60px)/.9 "Archivo", sans-serif; font-stretch: 62%; text-transform: uppercase; }
.cell__line { font-size: 16px; line-height: 1.45; color: var(--ink-2); max-width: 30em; text-wrap: balance; }
.cell:hover img { transform: scale(1.03); }
.cell:hover .cell__name { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 8px; }
@media (max-width: 760px) {
  .caps__grid { grid-template-columns: 1fr; }
  .cell:nth-child(n) { grid-column: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* Trenchless band: Capstan's own graphite, lockup and photograph inside Civcon's page */
.tl { background: var(--graphite); padding-top: 0; padding-bottom: clamp(64px, 8vw, 120px); }
main > .tl { padding-left: 0; padding-right: 0; }
.tl__img { position: relative; }
.tl__img img { width: 100%; height: clamp(240px, 34vw, 520px); object-fit: cover; object-position: 50% 58%; }
.tl__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px clamp(28px, 5vw, 80px); align-items: end; padding: clamp(40px, 5vw, 72px) var(--gut) 0; }
.tl__head { display: grid; gap: 26px; }
.tl__lockup { width: clamp(170px, 16vw, 230px); }
.tl h2 { font-size: clamp(40px, 5vw, 84px); max-width: 18ch; color: #EEECE7; }
.tl__side { display: grid; gap: 24px; justify-items: start; }
.tl__side p { color: #B4BAC0; font-size: 18px; max-width: 32em; }
.tl .btn--line { border-color: #EEECE7; color: #EEECE7; background: transparent; }
.tl .btn--line:hover { background: #EEECE7; color: var(--graphite); }
@media (max-width: 900px) { .tl__body { grid-template-columns: 1fr; } }

/* How we work: photo beside five plain lines in large type */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.how__img { overflow: hidden; }
.how__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 50%; }
.how__copy { display: grid; gap: 30px; justify-items: start; }
.how h2 { font-size: clamp(38px, 4.4vw, 72px); }
.how__list { display: grid; gap: 14px; width: 100%; }
.how__list li { font: 500 clamp(20px, 1.9vw, 28px)/1.3 "Archivo", sans-serif; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } .how__img img { aspect-ratio: 3 / 2; } }

/* Clients and partners: identical light plates */
.partners { padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line); display: grid; gap: 34px; }
.partners__head { display: grid; gap: 14px; }
.partners h2 { font-size: clamp(34px, 3.8vw, 60px); }
.partners__head p { color: var(--mute); font-size: 18px; max-width: 36em; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logos li { flex: 0 0 calc((100% - 5 * 12px) / 6); aspect-ratio: 3 / 2; display: grid; place-items: center; background: var(--plate); }
.logos img { height: auto; mix-blend-mode: multiply; }
@media (max-width: 1100px) { .logos li { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 640px) { .logos { gap: 8px; } .logos li { flex-basis: calc((100% - 2 * 8px) / 3); } }
/* Partner logo sizes (generated by build.py: equal area, at most 76% wide and 60% tall on the plate) */
.logos .lg-city-of-houston { width: 46.7%; }
.logos .lg-saws { width: 59.6%; }
.logos .lg-centerpoint-energy { width: 64.1%; }
.logos .lg-city-of-webster { width: 46.1%; }
.logos .lg-lja-engineering { width: 48.7%; }
.logos .lg-bge { width: 45.3%; }
.logos .lg-ids-engineering { width: 66.3%; }
.logos .lg-rg-miller { width: 42.8%; }
.logos .lg-bleyl-engineering { width: 55.4%; }
.logos .lg-vogler-spencer { width: 43.7%; }
.logos .lg-cajun-industries { width: 73.4%; }

/* Closing band over the pipe yard, text on its dark left side */
.close { position: relative; display: grid; align-items: center; min-height: clamp(440px, 46vw, 640px); padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); overflow: hidden; }
.close__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
/* Deeper since December 6, 2026: the daylight pipe photo is brighter than the pre-dawn one this was tuned for. */
.close::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(11 17 25 / .95) 0%, rgb(11 17 25 / .9) 42%, rgb(11 17 25 / .55) 66%, rgb(11 17 25 / .12) 100%); }
.close__copy { position: relative; z-index: 2; display: grid; gap: 22px; max-width: 560px; }
.close h2 { font-size: clamp(56px, 7vw, 120px); color: var(--red); }
.close__copy > p { font-size: 19px; color: var(--ink-2); max-width: 26em; }
@media (max-width: 700px) {
  .close { align-items: end; min-height: 560px; }
  .close__img { object-position: 30% 50%; }
  .close::before { background: linear-gradient(0deg, rgb(11 17 25 / .96) 0%, rgb(11 17 25 / .86) 46%, rgb(11 17 25 / .2) 100%); }
}

/* Inner page head: compact and type-led */
.phead { padding-top: clamp(112px, 11vw, 160px); padding-bottom: clamp(48px, 6vw, 90px); display: grid; gap: 26px; }
.phead h1 { font-size: clamp(46px, 7.4vw, 124px); }
.phead h1 .red { color: var(--red); }
.phead__intro { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); max-width: 34em; }
.phead .who { margin-top: -8px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 1100px; }
.toc a { font: 500 13px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; padding: 8px 0; color: var(--ink-2); }
.toc a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Capabilities: scope sections, each with its own composition */
.scope { padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); }
.scope h2 { font-size: clamp(44px, 5.2vw, 88px); }
.scope__line { font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-2); max-width: 28em; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
.cols li { font-size: 17px; line-height: 1.4; }
@media (max-width: 640px) { .cols li { font-size: 16px; } }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { overflow: hidden; background: var(--panel); }
.tile img { width: 100%; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.03); }

/* a. Split: wide photo left, copy right */
.scope--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; border-top: 1px solid var(--line); }
.scope--split .tile img { aspect-ratio: 3 / 2; object-fit: cover; }
.scope__copy { display: grid; gap: 24px; justify-items: start; }
/* b. Banner: full-width photo, list in columns beneath */
main > .scope--banner { padding-left: 0; padding-right: 0; padding-top: 0; }
.scope--banner .tile img { height: clamp(260px, 46vw, 680px); object-fit: cover; object-position: 50% 18%; }
.scope__under { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(28px, 5vw, 80px); padding: clamp(40px, 5vw, 72px) var(--gut) 0; align-items: start; }
.scope__under > div { display: grid; gap: 22px; justify-items: start; }
.scope__under .cols { padding-top: 10px; }
/* c. Stack on the panel tone: heading row, list in three columns, then a wide inset photo */
.scope--panel { background: var(--panel); display: grid; gap: clamp(28px, 3.4vw, 48px); }
.scope__row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 22px clamp(28px, 5vw, 80px); align-items: end; }
.scope__row > div { display: grid; gap: 20px; justify-items: start; }
.scope--panel .tile img { aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 62%; }
/* December 6, 2026: the combined paving and roadway scope shows its two photos side by side. */
.tile-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scope--panel .tile-pair .tile { margin: 0; }
.scope--panel .tile-pair .tile img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
@media (max-width: 640px) { .tile-pair { grid-template-columns: 1fr; } }
/* d. List-led: heading across, the list carries the section, photo set small */
.scope--list { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 34px clamp(28px, 5vw, 80px); }
.scope--list h2 { grid-column: 1 / -1; font-size: clamp(52px, 7vw, 116px); }
.scope--list .scope__aside { display: grid; gap: 22px; justify-items: start; align-content: start; }
.scope--list .tile img { aspect-ratio: 3 / 2; object-fit: cover; }
.scope__list { display: grid; gap: 26px; justify-items: start; align-content: start; }
.scope__list .cols { width: 100%; }
.scope--list .scope__list { align-self: center; }
.scope--list .cols { gap: 0 40px; align-content: start; }
.scope--list .cols li { padding: 0 0 18px; border-left: 0; font: 600 clamp(19px, 1.7vw, 24px)/1.25 "Archivo", sans-serif; }
@media (max-width: 900px) {
  .scope--split, .scope__under, .scope--list { grid-template-columns: 1fr; }
  .scope__row { grid-template-columns: 1fr; }
  .scope--panel .tile img { aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) { .cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .scope--list .cols { gap: 0 20px; } .scope--list .cols li { font-size: 18px; } }
@media (max-width: 340px) { .cols li, .scope--list .cols li { font-size: 15px; } }

/* Capabilities trenchless section: graphite, lockup, the eight Capstan services as plain links */
.tlx { background: var(--graphite); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px clamp(28px, 5vw, 80px); padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); }
.tlx .tl__head { align-content: start; justify-items: start; }
.tlx h2 { font-size: clamp(40px, 4.8vw, 80px); color: #EEECE7; }
.tlx__line { color: #B4BAC0; font-size: 18px; max-width: 28em; }
.tlx ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.tlx ul { gap: 16px 32px; }
.tlx li a { font: 600 clamp(17px, 1.5vw, 21px)/1.3 "Archivo", sans-serif; text-decoration: underline; text-decoration-color: #3A3E45; text-decoration-thickness: 1px; text-underline-offset: 6px; color: #EEECE7; }
.tlx li a:hover { color: #fff; text-decoration-color: #E2483D; }
.tlx .btn--line { border-color: #EEECE7; color: #EEECE7; background: transparent; }
.tlx .btn--line:hover { background: #EEECE7; color: var(--graphite); }
@media (max-width: 900px) { .tlx { grid-template-columns: 1fr; } }


/* About: the five points as a left-to-right sequence */
.seq { background: var(--panel); padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); display: grid; gap: clamp(36px, 4vw, 56px); }
.seq h2 { font-size: clamp(38px, 4.4vw, 72px); }
.seq ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.seq li { padding-top: 22px; border-top: 2px solid var(--line); font: 800 clamp(26px, 2.2vw, 34px)/1 "Archivo", sans-serif; font-stretch: 62%; text-transform: uppercase; text-wrap: balance; }
@media (max-width: 1000px) { .seq ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .seq ol { grid-template-columns: 1fr 1fr; gap: 26px 18px; } .seq li { padding-top: 14px; font-size: 24px; } .seq li:last-child { grid-column: 1 / -1; } }

/* About: leadership */
.team { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(72px, 9vw, 130px); display: grid; gap: 40px; }
.team__head { display: grid; gap: 16px; }
.team h2 { font-size: clamp(38px, 4.4vw, 72px); }
.team__head p { color: var(--mute); font-size: 18px; max-width: 34em; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(28px, 4vw, 64px); }
.person { display: grid; gap: 14px; align-content: start; }
.person img { width: 100%; max-width: 598px; aspect-ratio: 3 / 2; object-fit: cover; background: var(--panel); }
.person h3 { margin-top: 10px; font-size: clamp(30px, 2.6vw, 40px); }
.person__title { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.person p:not(.person__title) { color: var(--ink-2); font-size: 16.5px; max-width: 36em; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }

/* About: offices */
.offices { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); display: grid; gap: 34px; }
.offices h2 { font-size: clamp(34px, 3.8vw, 60px); }
.offices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.addr { display: grid; gap: 8px; align-content: start; font-style: normal; font-size: 18px; line-height: 1.5; }
.addr b, .label { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.addr a { text-decoration: none; border-bottom: 1px solid var(--control); justify-self: start; }
.addr a:hover { border-color: var(--red); }
.offices__note { color: var(--mute); font-size: 17px; max-width: 44em; }
.offices__note a { color: var(--ink); text-underline-offset: 4px; }
@media (max-width: 760px) { .offices__grid { grid-template-columns: 1fr; } }

/* Request a bid */
.bid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; row-gap: 34px; gap: clamp(32px, 5vw, 88px); padding-top: clamp(112px, 11vw, 160px); padding-bottom: clamp(72px, 9vw, 130px); }
.bid__copy { display: grid; gap: 22px; align-content: start; grid-column: 1; grid-row: 1; }
.bid__right { grid-column: 2; grid-row: 1 / span 2; }
.bid h1 { font-size: clamp(44px, 5.4vw, 92px); color: var(--red); white-space: nowrap; }
@media (max-width: 900px) { .bid h1 { font-size: clamp(44px, 13vw, 96px); } }
.bid__line { font-size: 19px; color: var(--ink-2); max-width: 26em; }
.bid__aside { grid-column: 1; grid-row: 2; display: grid; gap: 22px; align-content: start; padding-top: 26px; border-top: 1px solid var(--line); }
.bid__aside .addr { font-size: 16.5px; }
.bid__right { display: grid; gap: 18px; align-content: start; }
.notice { padding: 14px 16px; border: 1.5px solid var(--control); font-size: 15.5px; color: var(--ink); background: var(--panel); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: grid; gap: 8px; align-content: start; }
.f--wide { grid-column: 1 / -1; }
.f label { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.f label i { font-style: normal; color: var(--control); }
.f input, .f textarea, .f select { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--panel); border: 1.5px solid var(--control); border-radius: 0; }
.f textarea { min-height: 170px; resize: vertical; }
.f select { -webkit-appearance: none; appearance: none; padding-right: 46px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23A3AEBD' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px 16px; }
.f select option { background: var(--panel); color: var(--ink); }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--red); }
.f.is-invalid input, .f.is-invalid textarea, .f.is-invalid select { border-color: var(--red); }
.f__help { font-size: 14px; color: var(--mute); }
.f__err { font-size: 14px; color: var(--err); }
.f input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; cursor: pointer; }
.f input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.f input[type="date"]::-webkit-datetime-edit, .f input[type="date"]::-webkit-datetime-edit-fields-wrapper { padding: 0; }
.f input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .85; filter: invert(.8); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { font-size: 15px; }
.form__status.is-error { color: var(--err); }
.form__fail { display: none; font-size: 15px; color: var(--err); }
.form__fail:target { display: block; }
.form__fail a, .form__status a { color: inherit; }
.hp { position: absolute; left: -9999px; }
.form-done { display: grid; gap: 12px; align-content: start; }
.form-done__title { font: 800 48px/.9 "Archivo", sans-serif; font-stretch: 62%; text-transform: uppercase; }
@media (max-width: 900px) { .bid { grid-template-columns: 1fr; grid-template-rows: none; } .bid__copy, .bid__right, .bid__aside { grid-column: 1; grid-row: auto; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Privacy, thanks, 404 */
.page { min-height: 72vh; padding: clamp(112px, 11vw, 160px) var(--gut) clamp(80px, 10vw, 140px); display: grid; gap: 34px; align-content: start; }
.page h1 { font-size: clamp(56px, 8vw, 120px); max-width: 14ch; }
.page h1 .red { color: var(--red); }
.page h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 14px; }
.prose { display: grid; gap: 18px; max-width: 40em; }
.prose p { color: var(--ink-2); font-size: 18px; }
.prose a:not(.btn) { color: var(--ink); text-underline-offset: 4px; }
.prose .btn { justify-self: start; margin-top: 8px; }
.page .btn { max-width: 100%; }

/* Footer */
.foot { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); gap: 36px clamp(24px, 3vw, 48px); padding: clamp(56px, 6vw, 88px) var(--gut) 36px; border-top: 1px solid var(--line); background: var(--bg); }
.foot__brand { display: grid; gap: 16px; align-content: start; }
.foot__brand img { width: min(300px, 80vw); height: auto; }
.foot__brand p { color: var(--ink-2); font-size: 17px; }
.foot__col { display: grid; gap: 10px; align-content: start; font-style: normal; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.foot__col a { text-decoration: none; justify-self: start; }
.foot__col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.foot__nav { display: grid; gap: 10px; align-content: start; }
.foot__nav a { font: 500 12.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--mute); text-decoration: none; justify-self: start; padding: 2px 0; }
.foot__nav a:hover, .foot__nav a[aria-current="page"] { color: var(--ink); }
.foot__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font: 400 12.5px/1.6 var(--mono); color: var(--mute); }
@media (max-width: 1000px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } }

/* Motion: settle on the hero at load, one reveal per section, all static under reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: settle 1.8s var(--ease) both; }
  .hero__copy > * { animation: rise .9s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .1s; }
  .hero__copy > :nth-child(3) { animation-delay: .18s; }
  .hero__copy > :nth-child(4) { animation-delay: .26s; }
  .reveal-on [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
  .reveal-on [data-reveal]:focus-within { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .cell:hover img, .tile:hover img, .btn:hover svg, .tlink:hover svg, .tlx li a:hover svg { transform: none; }
}
@keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
