/* ==========================================================================
   Truss — industrial design & build contractor template · archesign.studio
   1. Tokens  2. Base  3. Layout  4. Status bar + header  5. Components
   6. Pages  7. Footer  8. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --steel-900: #1d2124;
  --steel-800: #262b2f;
  --steel-700: #343b40;
  --steel-500: #6b747a;
  --steel-300: #b9c0c4;
  --steel-100: #e4e7e8;
  --paper: #f1f2f2;
  --white: #fbfbfb;
  --orange: #ff5f0f;
  --orange-deep: #d94800;

  --font-body: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-mono: "Overpass Mono", ui-monospace, Menlo, Consolas, monospace;
  --wide: 125%;          /* font-stretch for display type */

  --gutter: clamp(16px, 3vw, 40px);
  --max: 1400px;
  --space: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --truss-orange: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='46'%3E%3Cpath d='M0 44 L23 2 L46 44 L69 2 L92 44' fill='none' stroke='%23ff5f0f' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M0 2 H92 M0 44 H92' stroke='%23ff5f0f' stroke-width='3.5'/%3E%3C/svg%3E");
  --truss-steel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='92' height='46'%3E%3Cpath d='M0 44 L23 2 L46 44 L69 2 L92 44' fill='none' stroke='%236b747a' stroke-width='2.5' stroke-linejoin='round'/%3E%3Cpath d='M0 2 H92 M0 44 H92' stroke='%236b747a' stroke-width='3.5'/%3E%3C/svg%3E");
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--steel-900);
  font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--steel-900); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: var(--steel-900); padding: 10px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.link { text-decoration: underline; text-underline-offset: 3px; }

/* display type: wide, black, uppercase */
.display, .h2, .num, .sb-digits, .footer-claim, .next-title, .badge-code, .ms-year, .svc-no, .gate-no, .outcomes b {
  font-stretch: var(--wide); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em;
}
.display { font-size: clamp(44px, 8.2vw, 136px); line-height: .9; }
.display--page { font-size: clamp(38px, 7.4vw, 118px); }
.display .dot, .h2 .dot { color: var(--orange); }
.display .hl { background: var(--orange); color: var(--steel-900); padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.h2 { font-size: clamp(30px, 4.4vw, 62px); line-height: .95; margin-bottom: 24px; }
.head .h2 { margin-bottom: 0; }
.h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; font-stretch: 112%; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 18px; }
.h4 { font-size: 20px; font-weight: 800; font-stretch: 112%; margin-bottom: 10px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
  font: 600 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--orange);
}
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--orange); flex: none; }
.kicker--dark { color: var(--steel-700); }
.kicker a { text-decoration: underline; text-underline-offset: 3px; }
.muted-light { color: var(--steel-300); }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.section--tight { padding-top: clamp(36px, 5vw, 64px); }
.section--steel { background: var(--steel-800); color: var(--paper); }
.section--rule { border-top: 3px solid var(--steel-900); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
.head-note { max-width: 44ch; color: var(--steel-500); margin: 0; }
.head-note--light { color: var(--steel-300); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.prose p { color: var(--steel-700); max-width: 60ch; }

/* 4. Status bar + header --------------------------------------------------- */
.statusbar { background: #121517; color: var(--steel-300); font: 600 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; overflow: hidden; }
.ticker { overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 52s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 28px; white-space: nowrap; border-right: 1px solid #2c3236; }
.led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 95, 15, .6); animation: led 2s infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes led { 70% { box-shadow: 0 0 0 7px rgba(255, 95, 15, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 95, 15, 0); } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 3px solid var(--steel-900); transition: box-shadow .3s; }
.scrolled .site-header { box-shadow: 0 6px 24px rgba(29, 33, 36, .12); }
.header-row { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; position: relative; z-index: 60; color: var(--steel-900); }
.logo-mark { width: 44px; height: 26px; flex: none; }
.logo-text b { display: block; font-size: 25px; font-weight: 900; font-stretch: var(--wide); letter-spacing: .02em; line-height: 1; }
.logo-text small { display: block; margin-top: 4px; font: 600 9.5px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--steel-500); }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 10px 12px;
  font-weight: 700; font-stretch: 110%; font-size: 14px; text-transform: uppercase; letter-spacing: .02em;
  border-bottom: 3px solid transparent; transition: border-color .2s, color .2s;
}
.site-nav a i { font: normal 600 10px var(--font-mono); color: var(--orange); }
.site-nav a:hover { border-bottom-color: var(--steel-300); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.site-nav .nav-cta { display: none; }
.menu-btn { display: none; }

/* 5. Components ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 24px;
  font: 800 14px var(--font-body); font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em;
  border: 2px solid var(--steel-900); background: transparent; color: var(--steel-900); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--orange { background: var(--orange); border-color: var(--orange); color: var(--steel-900); }
.btn--orange:hover { background: var(--paper); border-color: var(--paper); }
.site-header .btn--orange:hover { background: var(--steel-900); border-color: var(--steel-900); color: var(--paper); }
.btn--ghost { border-color: var(--steel-500); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: var(--paper); color: var(--steel-900); }
.btn--line:hover { background: var(--steel-900); color: var(--paper); }
.btn--big { padding: 20px 30px; font-size: 16px; }
.header-cta { padding: 13px 18px; font-size: 13px; }

/* steel plate with corner bolts */
.plate { position: relative; margin: 0; padding: 14px; background: var(--steel-100); border: 2px solid var(--steel-900); transition: border-color .25s; }
.plate::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 7px 7px, var(--steel-500) 0 3px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 7px) 7px, var(--steel-500) 0 3px, transparent 3.6px),
    radial-gradient(circle at 7px calc(100% - 7px), var(--steel-500) 0 3px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), var(--steel-500) 0 3px, transparent 3.6px);
}
.plate img { width: 100%; aspect-ratio: var(--ratio, 4 / 3); object-fit: cover; border: 1px solid var(--steel-300); background: var(--steel-300); }
.plate-tag {
  position: absolute; top: 24px; left: 24px; z-index: 1; padding: 4px 9px;
  background: var(--steel-900); color: var(--paper); font: 600 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.plate figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 12px; font: 600 11.5px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel-700); }
.plate--dark { background: var(--steel-700); border-color: var(--steel-900); }
.plate--dark::after { --steel-500: #8a949a; }
.plate--dark img { border-color: var(--steel-500); }
.plate--dark .plate-tag { background: var(--orange); color: var(--steel-900); }
.plate--wide img { --ratio: 1800 / 760; }
.plate--portrait { padding: 10px; }
.plate--portrait img { --ratio: 5 / 6; }

/* truss band + hazard stripe */
.truss-band { height: 46px; background: var(--truss-steel) repeat-x left center; opacity: .8; }
.truss-band--orange { background-image: var(--truss-orange); opacity: 1; }
.truss-band--steel { margin-top: var(--space); margin-bottom: calc(var(--space) * -1); }
.hazard { height: 14px; background: repeating-linear-gradient(-45deg, var(--orange) 0 16px, var(--steel-900) 16px 32px); }

.ticks li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--steel-300); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 10px; background: var(--orange); }
.ticks--light li { border-top-color: var(--steel-700); }

.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 6. Pages ----------------------------------------------------------------- */
/* hero */
.hero {
  background-color: var(--steel-900); color: var(--paper);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .25));
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero .lede { max-width: 52ch; margin: 28px 0 34px; color: var(--steel-300); font-size: clamp(17px, 1.4vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.plate--hero img { --ratio: 1 / 1; }
.hero .truss-band { margin: 0 0 -2px; }

/* key figures */
.figures { border-bottom: 3px solid var(--steel-900); background: var(--white); }
.figures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figure-cell { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 3vw, 40px) clamp(14px, 2vw, 28px); border-left: 2px solid var(--steel-100); }
.figure-cell:first-child { border-left: 0; padding-left: 0; }
.num { font-size: clamp(38px, 5.2vw, 76px); line-height: .9; }
.num small { font-size: .42em; margin-left: 4px; color: var(--orange); }
.lbl { font: 600 12px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-500); }

/* capabilities */
.caps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cap { display: flex; flex-direction: column; gap: 12px; min-height: 280px; padding: 24px 22px; background: var(--white); border: 2px solid var(--steel-900); transition: background .25s, color .25s; }
.cap-no { font: 600 12px var(--font-mono); color: var(--orange); letter-spacing: .1em; }
.cap h3 { font-size: 22px; font-weight: 800; font-stretch: 115%; text-transform: uppercase; line-height: 1.05; }
.cap p { margin: 0; color: var(--steel-700); font-size: 15.5px; transition: color .25s; }
.cap-more { margin-top: auto; font: 600 12px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.cap:hover { background: var(--steel-900); color: var(--paper); }
.cap:hover p { color: var(--steel-300); }

/* safety board */
.safety-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.safety-split .muted-light { max-width: 46ch; margin-bottom: 28px; }
.safety-board { background: var(--white); color: var(--steel-900); border: 8px solid var(--steel-900); box-shadow: 0 0 0 2px var(--steel-500), 0 30px 60px rgba(0, 0, 0, .35); }
.sb-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--orange); font-weight: 900; font-stretch: var(--wide); font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.sb-title { margin: 26px 18px 16px; text-align: center; font-weight: 800; font-stretch: 115%; font-size: clamp(18px, 2vw, 26px); text-transform: uppercase; }
.sb-digits { display: flex; justify-content: center; gap: clamp(6px, 1vw, 12px); padding: 0 18px; font-family: var(--font-mono); font-stretch: 100%; }
.sb-digits span {
  position: relative; display: grid; place-items: center; width: clamp(54px, 8vw, 100px); aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, var(--steel-700) 50%, var(--steel-900) 50%); color: var(--paper);
  font-size: clamp(40px, 6.6vw, 86px); font-weight: 600; line-height: 1; border-radius: 6px;
}
.sb-digits span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #0d0f10; }
.sb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 26px 18px 0; border-top: 2px solid var(--steel-900); }
.sb-grid div { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 14px 0; }
.sb-grid div + div { padding-left: 12px; border-left: 1px solid var(--steel-300); }
.sb-grid b { font-weight: 900; font-stretch: var(--wide); font-size: clamp(20px, 2.2vw, 30px); line-height: 1; }
.sb-grid span { font: 600 10.5px/1.35 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--steel-500); }
.sb-ppe { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 16px 18px; background: var(--steel-100); border-top: 2px solid var(--steel-900); }
.sb-ppe span { padding: 6px 12px; border: 2px solid var(--steel-900); border-radius: 999px; font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.sb-ppe span::before { content: "●"; color: var(--orange); margin-right: 6px; }
.sb-foot { margin: 0; padding: 10px 18px; text-align: center; font: 600 11px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-500); }

/* live sites */
.sites { border-top: 3px solid var(--steel-900); }
.site-row { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.8fr) 56px minmax(0, 1fr); gap: 18px 24px; align-items: center; padding: 22px 0; border-bottom: 2px solid var(--steel-100); }
.site-name b { display: block; font-weight: 800; font-stretch: 112%; font-size: 21px; line-height: 1.15; }
.site-name span { font: 600 12px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--steel-500); }
.site-stage { justify-self: start; padding: 5px 10px; border: 2px solid var(--steel-900); font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.meter { height: 16px; background: repeating-linear-gradient(-45deg, var(--steel-100) 0 6px, var(--steel-300) 6px 8px); border: 1px solid var(--steel-300); }
.meter span { display: block; height: 100%; width: var(--p); background: var(--orange); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.js .reveal .meter span { transform: scaleX(0); }
.js .reveal.is-in .meter span { transform: none; }
.site-pc { font-weight: 900; font-stretch: var(--wide); font-size: 20px; text-align: right; }
.site-due { font: 600 12px var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--steel-700); text-align: right; }

/* project plates */
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.plates--register { row-gap: clamp(28px, 3.4vw, 48px); }
.plate-card { display: block; }
.plate-card:hover .plate { border-color: var(--orange); }
.plate-card:hover .plate-tag { background: var(--orange); color: var(--steel-900); }
.pc-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 16px 0 8px; font: 600 11.5px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel-500); }
.pc-meta span + span::before { content: "/"; margin: 0 10px; color: var(--steel-300); }
.plate-card h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; font-stretch: 110%; line-height: 1.15; }
.pc-status { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 4px 10px; background: var(--steel-100); font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.pc-status--live { background: var(--steel-900); color: var(--paper); }
.pc-status--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: led 2s infinite; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 14px; counter-reset: step; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 28px; border-top: 6px solid var(--steel-900); }
.steps li::before { content: ""; position: absolute; top: -12px; left: 0; width: 18px; height: 18px; background: var(--orange); border: 3px solid var(--paper); }
.step-wk { font: 600 12px var(--font-mono); color: var(--orange-deep); letter-spacing: .1em; text-transform: uppercase; }
.steps b { font-weight: 800; font-stretch: 115%; font-size: 20px; text-transform: uppercase; }
.steps li > span:last-child { color: var(--steel-700); font-size: 15px; }

/* clients + quote */
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 24px 0; border-top: 2px solid var(--steel-900); border-bottom: 2px solid var(--steel-900); }
.clients-lbl { font: 600 12px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--orange-deep); }
.clients b { font-weight: 800; font-stretch: 115%; font-size: 15px; text-transform: uppercase; color: var(--steel-500); }
.quote { margin: clamp(40px, 6vw, 80px) 0 0; padding-left: clamp(18px, 3vw, 36px); border-left: 8px solid var(--orange); max-width: 1000px; }
.quote p { font-size: clamp(22px, 2.5vw, 36px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.quote footer { font: 600 12px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel-500); }
.quote footer b { color: var(--steel-900); }
.quote--light footer, .quote--light footer b { color: var(--steel-300); }

/* page head */
.page-head { background: var(--steel-900); color: var(--paper); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 120px); }
.page-head .wrap { padding-top: clamp(48px, 7vw, 100px); padding-bottom: clamp(40px, 5vw, 72px); }
.page-head .lede { max-width: 58ch; margin: 26px 0 0; color: var(--steel-300); font-size: clamp(17px, 1.4vw, 20px); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.filters button {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer;
  background: transparent; color: var(--steel-900); border: 2px solid var(--steel-900);
  font: 800 13.5px var(--font-body); font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em; transition: background .2s, color .2s;
}
.filters button i { font: normal 600 10.5px var(--font-mono); color: var(--orange-deep); }
.filters button:hover { background: var(--steel-100); }
.filters button[aria-pressed="true"] { background: var(--steel-900); color: var(--paper); }
.filters button[aria-pressed="true"] i { color: var(--orange); }

/* tonnage tally */
.tally { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.tally-list { margin: 0; }
.tally-list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 24px; align-items: center; padding: 16px 0; border-top: 1px solid var(--steel-700); }
.tally-list dt { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 15px; }
.tally-list dd { margin: 0; display: flex; align-items: center; gap: 14px; }
.tally-list .bar { flex: 1; height: 18px; background: linear-gradient(90deg, var(--orange) var(--w), var(--steel-700) var(--w)); }
.tally-list b { font: 600 13px var(--font-mono); min-width: 74px; text-align: right; }

/* project: spec plate */
.spec-plate { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; background: var(--steel-100); border: 3px solid var(--steel-900); }
.spec-plate div { padding: 18px 20px; border-right: 1px solid var(--steel-300); border-bottom: 1px solid var(--steel-300); }
.spec-plate div:nth-child(4n) { border-right: 0; }
.spec-plate div:nth-last-child(-n + 4) { border-bottom: 0; }
.spec-plate dt { font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel-500); margin-bottom: 6px; }
.spec-plate dd { margin: 0; font-weight: 800; font-stretch: 115%; font-size: clamp(19px, 2vw, 28px); line-height: 1.1; }
.spec-plate small { font: 600 11px var(--font-mono); color: var(--steel-500); margin-left: 4px; text-transform: uppercase; }

/* gantt programme */
.gantt { border: 3px solid var(--steel-900); background: var(--white); }
.g-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: stretch; border-bottom: 1px solid var(--steel-100); }
.g-task { display: flex; align-items: center; padding: 10px 16px; font-weight: 600; font-size: 14.5px; border-right: 2px solid var(--steel-900); }
.g-track {
  position: relative; display: grid; grid-template-columns: repeat(40, minmax(0, 1fr)); align-items: center; padding: 12px 0;
  background-image: linear-gradient(90deg, var(--steel-100) 1px, transparent 1px); background-size: calc(100% / 10) 100%;
}
.g-track::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(100% * 38 / 40); border-left: 2px dashed var(--orange); }
.g-head { background: var(--steel-900); color: var(--paper); border-bottom: 0; }
.g-head .g-task { font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; border-right-color: var(--steel-700); }
.g-head .g-track { background: none; padding: 9px 0; }
.g-head i { grid-column: span 4; font: normal 600 11px var(--font-mono); padding-left: 6px; border-left: 1px solid var(--steel-700); }
.g-bar { grid-column: var(--s) / var(--e); grid-row: 1; display: flex; align-items: center; height: 24px; background: var(--orange); transform-origin: left; transition: transform 1s var(--ease) .25s; }
.g-bar em { padding: 0 8px; font: normal 600 11px var(--font-mono); white-space: nowrap; overflow: hidden; }
.g-bar--final { background: var(--steel-900); color: var(--paper); }
.js .gantt.reveal .g-bar { transform: scaleX(0); }
.js .gantt.reveal.is-in .g-bar { transform: none; }
.g-ms { grid-column: var(--m); grid-row: 1; justify-self: end; position: relative; z-index: 1; width: 16px; height: 16px; margin-right: -8px; background: var(--steel-900); border: 2px solid var(--white); transform: rotate(45deg); }
.g-ms--end { background: var(--orange); border-color: var(--steel-900); }
.g-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 14px 16px; font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--steel-700); }
.g-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-bar { width: 22px; height: 10px; background: var(--orange); }
.lg-ms { width: 10px; height: 10px; background: var(--steel-900); transform: rotate(45deg); }
.lg-plan { width: 0; height: 14px; border-left: 2px dashed var(--orange); }

/* outcomes */
.outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); }
.outcomes div { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--steel-700); }
.outcomes b { font-size: clamp(52px, 6.4vw, 100px); line-height: .85; color: var(--orange); }
.outcomes b small { font-size: .45em; }
.outcomes span { font: 600 12px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--steel-300); max-width: 22ch; }

.next-project a { display: flex; flex-direction: column; gap: 6px; padding: clamp(40px, 6vw, 80px) 0 var(--space); border-top: 3px solid var(--steel-900); margin-top: var(--space); }
.next-title { font-size: clamp(28px, 5vw, 72px); line-height: .95; transition: color .2s; }
.next-project a:hover .next-title { color: var(--orange-deep); }

/* about */
.milestones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.milestones li { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 3px solid var(--steel-900); }
.ms-year { font-size: clamp(32px, 3.4vw, 48px); line-height: 1; color: var(--orange-deep); }
.milestones b { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 17px; }
.milestones li > span:last-child { color: var(--steel-700); font-size: 15px; }
.team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.member h3 { margin-top: 14px; font-weight: 800; font-stretch: 112%; font-size: 18px; }
.member p { margin: 4px 0 0; font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--steel-500); }
.fleet-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.fleet li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 2px solid var(--steel-700); }
.fleet b { font-weight: 900; font-stretch: var(--wide); font-size: clamp(26px, 2.6vw, 36px); line-height: 1; color: var(--orange); }
.fleet span { color: var(--steel-300); font-size: 15px; }
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.badge { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; background: var(--white); border: 2px solid var(--steel-900); overflow: hidden; }
.badge::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 34px 34px 0; border-color: transparent var(--orange) transparent transparent; }
.badge-code { font-size: clamp(24px, 2.4vw, 32px); line-height: 1; }
.badge b { font-weight: 700; }
.badge span:last-child { font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--steel-500); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); }
.v-no { font: 600 12px var(--font-mono); color: var(--orange-deep); letter-spacing: .1em; }
.values h3 { margin: 10px 0 12px; font-weight: 900; font-stretch: var(--wide); font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; }
.values p { color: var(--steel-700); }

/* services */
.service { display: grid; grid-template-columns: 96px minmax(0, 1.5fr) minmax(0, 1fr) 190px; gap: 20px 32px; align-items: start; padding: 34px 0; border-top: 3px solid var(--steel-900); }
.service:last-child { border-bottom: 3px solid var(--steel-900); }
.svc-no { font-size: 30px; line-height: 1; color: var(--orange-deep); }
.svc-main p { color: var(--steel-700); margin: 0; max-width: 56ch; }
.svc-main .h3 { margin-bottom: 12px; }
.svc-list li { position: relative; padding: 5px 0 5px 22px; font-size: 15.5px; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 9px; background: var(--orange); }
.svc-fact { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--steel-900); color: var(--paper); }
.svc-fact b { font-weight: 900; font-stretch: var(--wide); font-size: 24px; line-height: 1.05; }
.svc-fact span { font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--steel-300); }
.gates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gates li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--steel-700); border-top: 6px solid var(--orange); }
.gate-no { font-size: 40px; line-height: 1; color: var(--orange); }
.gates b { font-weight: 800; font-stretch: 115%; font-size: 20px; text-transform: uppercase; }
.gates li > span:last-child { color: var(--steel-300); font-size: 15.5px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid .head-note { margin-top: 20px; }
.faq-list details { border-top: 2px solid var(--steel-900); }
.faq-list details:last-child { border-bottom: 2px solid var(--steel-900); }
.faq-list summary {
  display: block; position: relative; padding: 22px 56px 22px 0; cursor: pointer; list-style: none;
  font-weight: 800; font-stretch: 110%; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  display: grid; place-items: center; border: 2px solid var(--steel-900); font: 600 18px/1 var(--font-mono);
}
.faq-list details[open] summary::after { content: "–"; background: var(--orange); border-color: var(--orange); }
.faq-list details p { margin: 0; padding: 0 0 24px; color: var(--steel-700); max-width: 64ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.plate--form { padding: clamp(56px, 6vw, 72px) clamp(18px, 3vw, 40px) clamp(24px, 3vw, 40px); background: var(--white); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 11.5px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--steel-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: 400 16px var(--font-body); color: var(--steel-900);
  background: var(--paper); border: 2px solid var(--steel-900); border-radius: 0; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--steel-900) 50%), linear-gradient(135deg, var(--steel-900) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input[type="file"] { padding: 10px; font-size: 14px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { width: 22px; height: 22px; flex: none; padding: 0; margin: 0; appearance: auto; accent-color: var(--orange); }
.field--check label { font: 400 15px/1.45 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--steel-900); }
.form-foot { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 6px; }
.form-foot .mono { color: var(--steel-500); }
.form-note { grid-column: 1 / -1; margin: 0; padding: 14px 18px; background: var(--steel-900); color: var(--paper); border-left: 6px solid var(--orange); }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.desk { padding: 28px 26px; background: var(--steel-900); color: var(--paper); }
.desk-phone { display: block; font-weight: 900; font-stretch: 120%; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.1; }
.desk-mail { display: block; margin: 8px 0 18px; font: 600 14px var(--font-mono); color: var(--orange); overflow-wrap: anywhere; }
.desk .muted-light { margin: 0; font-size: 15px; }
.desk .muted-light a { text-decoration: underline; color: var(--paper); }
.yard { position: relative; padding: 24px 24px 20px; background: var(--white); border: 2px solid var(--steel-900); }
.yard-code { display: inline-block; margin-bottom: 14px; padding: 4px 8px; background: var(--orange); font-weight: 900; font-stretch: var(--wide); font-size: 13px; }
.yard p { margin: 0 0 8px; color: var(--steel-700); }
.yard .mono { color: var(--steel-500); font-size: 11px; }
.plate--wide img[src$="yard.svg"] { --ratio: 3 / 1.4; }

/* 7. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--steel-900); color: var(--paper); }
.site-footer .truss-band { margin-bottom: clamp(48px, 6vw, 80px); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--steel-700); }
.footer-claim { margin: 0; font-size: clamp(38px, 6.4vw, 100px); line-height: .9; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: clamp(36px, 4vw, 56px) 0; }
.footer-grid .label { margin-bottom: 10px; font: 600 11px var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--orange); }
.footer-grid p:not(.label) { color: var(--steel-300); font-size: 15.5px; }
.footer-grid a { overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px 0 28px; border-top: 1px solid var(--steel-700); font: 600 11.5px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--steel-500); }
.footer-base .mono { font-size: 11.5px; }
.footer-base a:hover { color: var(--paper); }

/* 8. Responsive ------------------------------------------------------------ */
@media (max-width: 1240px) {
  .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service { grid-template-columns: 72px minmax(0, 1.4fr) minmax(0, 1fr); }
  .svc-fact { grid-column: 2 / -1; flex-direction: row; align-items: baseline; gap: 12px; }
}
@media (max-width: 1060px) {
  .header-cta { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; position: relative; z-index: 60; cursor: pointer;
    background: var(--steel-900); color: var(--paper); border: 2px solid var(--steel-900);
    font: 800 13px var(--font-body); font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .3s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .menu-open .bars { background: transparent; }
  .menu-open .bars::before { top: 0; transform: rotate(45deg); }
  .menu-open .bars::after { top: 0; transform: rotate(-45deg); }
  .menu-open .menu-btn { background: var(--orange); border-color: var(--orange); color: var(--steel-900); }
  .menu-open .logo { color: var(--paper); }
  .menu-open .logo-text small { color: var(--steel-300); }
  .site-nav {
    position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; gap: 0;
    padding: 110px var(--gutter) 40px; overflow-y: auto;
    background: var(--steel-900) var(--truss-steel) repeat-x left bottom 24px; color: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .site-nav a { padding: 16px 0; font-size: clamp(28px, 8vw, 44px); font-weight: 900; font-stretch: var(--wide); border-bottom: 1px solid var(--steel-700); }
  .site-nav a i { font-size: 12px; }
  .site-nav a:hover { border-bottom-color: var(--steel-700); color: var(--orange); }
  .site-nav a[aria-current="page"] { color: var(--orange); border-bottom-color: var(--steel-700); }
  .site-nav .nav-cta { display: inline-flex; justify-content: center; margin-top: 28px; padding: 18px; font-size: 16px; background: var(--orange); color: var(--steel-900); border: 0; }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }

  .hero-grid, .safety-split, .split, .tally, .fleet-split, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 14px; }
  .milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .site-row { grid-template-columns: minmax(0, 1fr) auto; }
  .site-name { grid-column: 1 / -1; }
  .meter { grid-column: 1 / 2; }
  .site-due { grid-column: 1 / -1; text-align: left; }
  .site-stage { grid-row: 2; }
  .site-pc { grid-row: 3; grid-column: 2; }
  .meter { grid-row: 3; }
  .split .plate { order: -1; }
  .contact-aside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-row { height: 68px; gap: 12px; }
  .logo-text b { font-size: 21px; }
  .logo-mark { width: 38px; }
  .figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure-cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .figure-cell:nth-child(n + 3) { border-top: 2px solid var(--steel-100); }
  .caps, .plates, .duo, .values, .gates, .fleet { grid-template-columns: minmax(0, 1fr); }
  .cap { min-height: 0; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .milestones { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps li { padding: 0 0 0 26px; border-top: 0; border-left: 4px solid var(--steel-900); }
  .steps li::before { top: 0; left: -11px; }
  .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sb-grid div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sb-grid div:nth-child(n + 3) { border-top: 1px solid var(--steel-300); }
  .sb-head { flex-direction: column; gap: 2px; font-size: 12.5px; }
  .spec-plate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-plate div:nth-child(4n) { border-right: 1px solid var(--steel-300); }
  .spec-plate div:nth-child(2n) { border-right: 0; }
  .spec-plate div:nth-last-child(-n + 4) { border-bottom: 1px solid var(--steel-300); }
  .spec-plate div:nth-last-child(-n + 2) { border-bottom: 0; }
  .g-row { grid-template-columns: minmax(0, 1fr); }
  .g-task { padding: 12px 12px 0; border-right: 0; font-size: 14px; }
  .g-track { padding: 8px 0 12px; margin: 0 12px; }
  .g-head .g-task { display: none; }
  .g-head .g-track { margin: 0 12px; }
  .g-head i { font-size: 9px; padding-left: 3px; }
  .g-bar em { display: none; }
  .tally-list div { grid-template-columns: minmax(0, 1fr); }
  .service { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .svc-fact { grid-column: auto; }
  .contact-aside { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top .btn { width: 100%; }
  .plate { padding: 10px; }
  .plate-tag { top: 18px; left: 18px; font-size: 10px; }
  .plate--wide img { --ratio: 4 / 3; }
  .plate--hero img { --ratio: 4 / 3; }
  .plate--wide img[src$="yard.svg"] { --ratio: 4 / 3; }
  .actions .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .team { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .sb-digits span { width: 22%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker { overflow-x: auto; }
}
