/* Self-hosted fonts (SIL Open Font License): Big Shoulders Display, Hanken Grotesk */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   NexviTech Buildcon
   Blueprint navy, logo blue and amber, concrete paper.
   Display: Big Shoulders Display. Text: Hanken Grotesk.
   ========================================================================== */

:root {
  --navy-950: #061828;
  --navy-900: #0a2238;
  --navy-800: #0f2e4a;
  --navy-700: #16405f;
  --blue: #1272c4;
  --sky: #a9d6fb;
  --amber: #ffb200;
  --orange: #e07a00;
  --paper: #eef1f4;
  --white: #ffffff;
  --ink: #0c1b2a;
  --steel: #526577;
  --line: #ccd5dd;
  --line-blue: rgba(169, 214, 251, .2);

  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--amber); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */
.h2, .h3, .hero__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; }
.h2 { font-size: clamp(2.7rem, 5.8vw, 5.25rem); line-height: .92; max-width: 14ch; text-wrap: balance; }
.h2--light { color: var(--white); }
.h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 0; border-radius: 2px;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber::before { background: var(--white); }
.btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); min-height: 46px; padding: 0 18px; }
.btn--line::before { background: var(--ink); }
.btn--line:hover, .btn--line:focus-visible { color: var(--white); }
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }

/* ---------- blueprint grid ---------- */
.bp-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(169, 214, 251, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 214, 251, .1) 1px, transparent 1px),
    linear-gradient(rgba(169, 214, 251, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 214, 251, .045) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 95%);
          mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 95%);
}

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--white); transition: background-color .35s, color .35s, box-shadow .35s, transform .4s var(--ease); }
.site-header__in { width: min(1440px, 100% - 2 * var(--gutter)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: auto; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: .9; letter-spacing: .02em; text-transform: uppercase; display: grid; }
.brand__name small { font-size: .62em; font-weight: 600; letter-spacing: .3em; opacity: .75; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 8px 0; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.nav__cta):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav__cta { background: var(--amber); color: var(--ink); padding: 11px 20px !important; border-radius: 2px; font-weight: 600 !important; transition: background-color .25s; }
.nav__cta:hover { background: var(--white); }
.is-solid .nav__cta:hover { background: var(--ink); color: var(--white); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; padding: 0; position: relative; z-index: 3; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 11px; width: 26px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle__bars { top: 23px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: radial-gradient(90% 70% at 78% 30%, #123a5c 0%, var(--navy-900) 55%, var(--navy-950) 100%); display: flex; flex-direction: column; min-height: 100svh; }
.hero > .bp-grid { z-index: -1; }
.hero__in { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 48px); padding-top: calc(var(--header-h) + clamp(16px, 3.5vh, 48px)); padding-bottom: clamp(16px, 3vh, 40px); }
.hero__lead-in { font-weight: 500; font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--sky); margin-bottom: clamp(14px, 2vh, 26px); display: flex; align-items: center; gap: 14px; }
.hero__lead-in::before { content: ""; width: 44px; height: 2px; background: var(--amber); }
.hero__title { font-size: clamp(3.9rem, min(8.7vw, 17.5vh), 9.4rem); line-height: .84; font-weight: 900; display: grid; justify-items: start; }
.hero__word { display: block; }
.hero__word--outline { color: var(--navy-900); -webkit-text-stroke: .045em var(--sky); paint-order: stroke fill; letter-spacing: .02em; }
.hero__word--to { font-size: .2em; font-weight: 600; letter-spacing: .3em; color: var(--amber); display: flex; align-items: center; gap: .8em; margin: .9em 0 .75em .1em; line-height: 1; }
.hero__word--to i { display: block; height: 2px; width: 3.2em; background: currentColor; position: relative; transform-origin: left; }
.hero__word--to i:last-child { width: 9em; }
.hero__word--to i::before, .hero__word--to i::after { content: ""; position: absolute; top: -5px; width: 2px; height: 12px; background: currentColor; }
.hero__word--to i:first-child::before { left: 0; }
.hero__word--to i:first-child::after { display: none; }
.hero__word--to i:last-child::before { display: none; }
.hero__word--to i:last-child::after { right: 0; }
.hero__word--solid { overflow: hidden; padding-bottom: .04em; }
.hero__word--solid > span { display: block; }
.hero__text { max-width: 52ch; margin-top: clamp(20px, 3.4vh, 40px); font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: #d4e6f5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(22px, 3.4vh, 40px); }
.hero__scene { align-self: end; }
.hero__scene svg { width: 100%; height: auto; max-height: 70svh; overflow: visible; font-family: var(--font-body); }

/* hero load sequence */
.js .hero__lead-in, .js .hero__text, .js .hero__actions { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .hero__lead-in { animation-delay: .1s; }
.js .hero__text { animation-delay: 1.15s; }
.js .hero__actions { animation-delay: 1.3s; }
.js .hero__word--outline { opacity: 0; animation: outline-in 1.1s var(--ease) .25s forwards; }
.js .hero__word--to i { transform: scaleX(0); animation: grow-x .8s var(--ease) .75s forwards; }
.js .hero__word--to { color: transparent; animation: to-in .5s ease .8s forwards; }
.js .hero__word--to i { color: var(--amber); }
.js .hero__word--solid > span { transform: translateY(104%); animation: slab-up 1s var(--ease) .95s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes outline-in { from { opacity: 0; letter-spacing: .12em; } to { opacity: 1; letter-spacing: .02em; } }
@keyframes grow-x { to { transform: scaleX(1); } }
@keyframes to-in { to { color: var(--amber); } }
@keyframes slab-up { to { transform: none; } }

/* hero scene */
#hero-scene .d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.15s var(--ease) forwards; animation-delay: calc(var(--i) * 46ms + .2s); }
#hero-scene .f { opacity: 0; animation: fade-in .8s ease forwards; animation-delay: calc(var(--i) * 46ms + .9s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.trolley { opacity: 0; animation: fade-in .6s ease 2.3s forwards, trolley-x 22s ease-in-out 2.3s infinite; transform: translateX(500px); }
.cable { transform-origin: 0 128px; transform: scaleY(384); animation: cable-len 22s ease-in-out 2.3s infinite; }
.load { transform: translateY(384px); animation: load-y 22s ease-in-out 2.3s infinite; }
.beam { animation: beam-vis 22s linear 2.3s infinite; }
@keyframes trolley-x { 0%, 24% { transform: translateX(500px); } 42%, 68% { transform: translateX(240px); } 84%, 100% { transform: translateX(500px); } }
@keyframes cable-len { 0%, 4% { transform: scaleY(384); } 24%, 42% { transform: scaleY(20); } 52%, 60% { transform: scaleY(72); } 68%, 84% { transform: scaleY(20); } 100% { transform: scaleY(384); } }
@keyframes load-y { 0%, 4% { transform: translateY(384px); } 24%, 42% { transform: translateY(20px); } 52%, 60% { transform: translateY(72px); } 68%, 84% { transform: translateY(20px); } 100% { transform: translateY(384px); } }
@keyframes beam-vis { 0%, 57% { opacity: 1; } 60%, 97% { opacity: 0; } 100% { opacity: 1; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); padding-block: clamp(14px, 2.5vh, 28px) clamp(18px, 3vh, 36px); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding-top: 18px; position: relative; }
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: rgba(169, 214, 251, .45); }
.stat::after { content: ""; position: absolute; top: -5px; left: 0; right: 0; height: 11px; border-inline: 1px solid rgba(169, 214, 251, .7); }
.stat dt { color: var(--sky); font-size: .95rem; line-height: 1.35; }
.stat dd { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 3.8vw, 3.6rem); line-height: .9; font-variant-numeric: tabular-nums; }

/* ticker */
.ticker { border-top: 1px solid var(--line-blue); background: rgba(6, 24, 40, .55); overflow: hidden; }
.ticker__track { display: flex; width: max-content; }
.ticker ul { display: flex; flex: none; }
.ticker li { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; color: #cfe5f8; padding: 16px 0; white-space: nowrap; display: flex; align-items: center; }
.ticker li::after { content: ""; width: 8px; height: 8px; background: var(--amber); margin-inline: 28px; transform: rotate(45deg); }
.ticker__track.is-running { animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(84px, 11vw, 168px); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-900); color: var(--white); isolation: isolate; overflow: hidden; }
.section--navy > .bp-grid { z-index: -1; opacity: .8; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; margin-bottom: clamp(36px, 5vw, 72px); }
.section__head--stack { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; }
.section__head--stack .h2 { max-width: 16ch; }
.section__intro { max-width: 46ch; color: var(--steel); font-size: 1.125rem; }
.section__intro--light { color: #cfe2f2; }

/* reveals */
.js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="rise"] { opacity: 1; transform: none; }
.js [data-reveal="rise"] > .rise { display: block; clip-path: inset(0 0 100% 0); transform: translateY(.35em); transition: clip-path 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in, .js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.js [data-reveal="rise"].is-in > .rise { clip-path: inset(-10% -5% -10% -5%); transform: none; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.about__vision { margin-top: clamp(24px, 3vw, 44px); font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.35; font-weight: 500; max-width: 30ch; text-wrap: pretty; }
.about__legal { margin-top: 28px; color: var(--steel); font-size: .98rem; display: flex; align-items: center; gap: 12px; }
.about__legal::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.values { border-top: 2px solid var(--ink); }
.value { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value .icon { grid-row: span 2; width: 34px; height: 34px; color: var(--blue); margin-top: 2px; }
.value h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.value p { color: var(--steel); }

.mission { margin-top: clamp(64px, 8vw, 128px); }
.mission__title { margin-bottom: clamp(24px, 3vw, 40px); }
.mission__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.pillar { padding: 28px clamp(16px, 2vw, 32px) 8px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .icon { width: 38px; height: 38px; color: var(--orange); margin-bottom: 22px; }
.pillar h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1.05; text-transform: uppercase; margin-bottom: 10px; }
.pillar p { color: var(--steel); font-size: 1rem; }

/* ---------- build sequence ---------- */
.build { position: relative; background: var(--navy-900); color: var(--white); }
.build__sticky { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 9vw, 120px); background: radial-gradient(80% 70% at 70% 60%, #11385a 0%, var(--navy-900) 60%, var(--navy-950) 100%); }
.build__sticky > .bp-grid { z-index: -1; }
.build__in { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.build__panel .h2 { font-size: clamp(2.4rem, 4.2vw, 3.9rem); }
.build__hint { margin-top: 16px; color: #cfe2f2; max-width: 34ch; }
.build__hint-scroll { display: none; color: var(--amber); font-weight: 600; }
.stages { margin-top: clamp(20px, 3vh, 36px); border-left: 2px solid var(--line-blue); }
.stage { position: relative; padding: 9px 0 9px 22px; }
.stage::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--amber); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.stage h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 1.8vw, 1.65rem); line-height: 1.1; text-transform: uppercase; letter-spacing: .015em; transition: color .4s, opacity .4s; }
.stage p { color: #cfe2f2; font-size: 1rem; margin-top: 4px; }
.build--pinned { height: 640vh; }
.build--pinned .build__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 8px) 24px; }
.build--pinned .build__in { width: min(1440px, 100% - 2 * var(--gutter)); }
.build--pinned .build__hint-scroll { display: inline; }
.build--pinned .stage h3 { opacity: .42; cursor: pointer; }
.build--pinned .stage h3:hover { opacity: .8; }
.build--pinned .stage p { display: grid; grid-template-rows: 0fr; overflow: hidden; max-height: 0; opacity: 0; margin-top: 0; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.build--pinned .stage.is-active h3 { opacity: 1; color: var(--amber); }
.build--pinned .stage.is-done h3 { opacity: .85; color: var(--sky); }
.build--pinned .stage.is-active::before, .build--pinned .stage.is-done::before { transform: scaleY(1); }
.build--pinned .stage.is-active p { max-height: 3.3em; height: 3.3em; opacity: 1; margin-top: 4px; }
.build__stage { min-width: 0; }
.build__meter { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sky); margin-bottom: clamp(8px, 2vh, 20px); }
.build__meter span:last-child { color: var(--amber); }
.build__meter-bar { flex: 1; height: 2px; background: var(--line-blue); position: relative; }
.build__meter-bar::before, .build__meter-bar::after { content: ""; position: absolute; top: -5px; width: 2px; height: 12px; background: var(--sky); }
.build__meter-bar::after { right: 0; background: var(--amber); }
.build__meter-bar i { position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.build--static .build__meter, html:not(.js) .build__stage { display: none; }
#build-scene { width: 100%; height: auto; max-height: 74svh; overflow: visible; font-family: var(--font-body); will-change: transform; }
#build-scene .o-bottom { transform-box: fill-box; transform-origin: 50% 100%; }
#build-scene .o-left { transform-box: fill-box; transform-origin: 0 50%; }

/* ---------- strengths + chart ---------- */
.strengths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.strength { border-top: 3px solid var(--ink); padding-top: 20px; }
.strength__fig { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.2rem, 6vw, 5.6rem); line-height: .88; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.strength__fig small { font-size: .26em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.strength h3 { font-size: 1.2rem; font-weight: 700; margin: 18px 0 4px; }
.strength > p:last-child { color: var(--steel); max-width: 30ch; }

.chart { position: relative; margin-top: clamp(64px, 8vw, 120px); }
.chart__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.chart__head p { color: var(--steel); margin-top: 6px; }
.legend { display: flex; gap: 22px; font-size: .95rem; color: var(--steel); }
.legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 2px; display: block; }
.swatch--done { background: var(--blue); }
.swatch--live { background: var(--orange); }
.chart__rows { padding-top: 14px; }
.chart__row { display: grid; grid-template-columns: minmax(130px, 250px) minmax(0, 1fr); align-items: center; gap: 0 20px; }
.chart__row a { display: contents; text-decoration: none; }
.chart__label { font-size: .98rem; font-weight: 500; text-align: right; line-height: 1.2; padding-block: 4px; }
.chart__track { position: relative; display: flex; align-items: center; gap: 10px; padding-block: 9px; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: calc(100% / 3.5) 100%; }
.chart__bar { height: 20px; border-radius: 0 4px 4px 0; background: var(--blue); transform-origin: left; transition: transform 1.2s var(--ease), filter .2s; transition-delay: calc(var(--i) * 60ms), 0s; min-width: 2px; }
.chart__bar--ongoing { background: var(--orange); }
.js .chart:not(.is-in) .chart__bar { transform: scaleX(0); }
.chart__value { font-size: .92rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; transition: opacity .6s ease; transition-delay: calc(var(--i) * 60ms + .7s); }
.js .chart:not(.is-in) .chart__value { opacity: 0; }
.chart__row:hover .chart__bar, .chart__row a:focus-visible .chart__bar { filter: brightness(1.12); }
.chart__row:hover .chart__label { color: var(--blue); }
.chart__axis { display: grid; grid-template-columns: minmax(130px, 250px) minmax(0, 1fr); gap: 0 20px; color: var(--steel); font-size: .85rem; font-variant-numeric: tabular-nums; margin-top: 4px; }
.chart__axis div { position: relative; height: 1.4em; grid-column: 2; border-top: 1px solid var(--line); }
.chart__axis span { position: absolute; top: 6px; transform: translateX(-50%); }
.chart__axis span:first-child { transform: none; }
.chart__tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--white); padding: 12px 14px; border-radius: 3px; font-size: .9rem; line-height: 1.4; max-width: 280px; box-shadow: 0 10px 30px rgba(12, 27, 42, .25); }
.chart__tip strong { display: block; font-size: 1rem; }
.chart__tip span { color: #c3d3e1; display: block; }

/* ---------- projects ---------- */
.filters { display: flex; gap: 0; border: 1.5px solid var(--ink); border-radius: 2px; overflow: hidden; }
.filter { border: 0; background: transparent; padding: 12px 20px; font-weight: 600; font-size: .98rem; transition: background-color .25s, color .25s; }
.filter + .filter { border-left: 1.5px solid var(--ink); }
.filter:hover { background: rgba(12, 27, 42, .07); }
.filter.is-active { background: var(--ink); color: var(--white); }
.projects { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 28px); }
.pcard { flex: 1 1 calc(33.333% - 28px); min-width: min(100%, 300px); display: flex; flex-direction: column; text-decoration: none; background: var(--white); position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pcard:first-child { flex-basis: calc(60% - 28px); }
.pcard:hover, .pcard:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(10, 34, 56, .45); }
.pcard__media { position: relative; overflow: hidden; height: clamp(230px, 24vw, 340px); background: var(--navy-900); }
.pcard__media img, .pcard__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__media img, .pcard:hover .pcard__media svg { transform: scale(1.06); }
.pcard__media::after { content: "View project"; position: absolute; left: 0; bottom: 0; background: var(--amber); color: var(--ink); font-weight: 600; font-size: .92rem; padding: 9px 16px; transform: translateY(101%); transition: transform .45s var(--ease); }
.pcard:hover .pcard__media::after, .pcard:focus-visible .pcard__media::after { transform: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; padding: 6px 12px 6px 10px; background: var(--white); color: var(--ink); border-radius: 2px; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.chip--ongoing::before { background: var(--orange); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.pcard .chip { position: absolute; top: 14px; left: 14px; z-index: 2; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; flex: 1; }
.pcard__type { font-size: .9rem; color: var(--steel); }
.pcard__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.02; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.pcard__place { color: var(--steel); font-size: .98rem; display: flex; gap: 6px; align-items: flex-start; }
.pcard__place .icon { width: 18px; height: 18px; margin-top: 3px; }
.pcard__dims { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.dim { flex: 1; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: var(--ink); opacity: .5; }
.dim { position: relative; padding-inline: 1px; }
.dim > span { padding-inline: 2px; }
.dim i { position: absolute; top: 50%; width: 1px; height: 13px; margin-top: -6.500px; background: var(--ink); opacity: .7; }
.dim i:first-child { left: 0; }
.dim i:last-child { right: 0; }
.pcard__cost { color: var(--blue); }
.frame-drawing { background: linear-gradient(rgba(169, 214, 251, .07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(169, 214, 251, .07) 1px, transparent 1px) 0 0 / 24px 24px, var(--navy-900); }

/* project sheet */
.sheet { border: 0; padding: 0; width: min(1180px, 100% - 32px); max-height: min(92vh, 860px); background: var(--white); color: var(--ink); border-radius: 3px; overflow: auto; box-shadow: 0 40px 120px rgba(6, 24, 40, .5); }
.sheet::backdrop { background: rgba(6, 24, 40, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in .5s var(--ease); }
.sheet[open]::backdrop { animation: fade-in .4s ease; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(30px) scale(.985); } }
.sheet__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); position: relative; }
.sheet__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; background: var(--white); border: 0; border-radius: 2px; transition: background-color .2s, color .2s; }
.sheet__close:hover { background: var(--ink); color: var(--white); }
.sheet__media { background: var(--navy-900); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.sheet__photo { position: relative; flex: 1; min-height: 300px; overflow: hidden; background: var(--navy-950); }
.sheet__photo img, .sheet__photo svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fade-in .45s ease; }
.sheet__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sheet__thumbs:empty { display: none; }
.sheet__thumb { padding: 0; border: 0; background: none; aspect-ratio: 4 / 3; overflow: hidden; opacity: .55; transition: opacity .25s; position: relative; }
.sheet__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sheet__thumb:hover { opacity: .9; }
.sheet__thumb[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 3px var(--amber); }
.sheet__thumb[aria-current="true"]::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--amber); }
.sheet__body { padding: clamp(24px, 3vw, 44px); padding-top: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sheet__body .chip { background: var(--paper); }
.sheet__body .h3 { text-wrap: balance; padding-right: 36px; }
.sheet__loc { display: flex; gap: 8px; color: var(--steel); }
.sheet__loc .icon { width: 20px; height: 20px; margin-top: 3px; }
.facts { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0 20px; border-block: 1px solid var(--line); padding-block: 16px; margin-block: 6px; }
.facts dt { font-size: .88rem; color: var(--steel); }
.facts dd { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.sheet__sub { font-size: 1rem; font-weight: 700; margin-top: 4px; }
.sheet__nav { display: flex; gap: 10px; margin-top: auto; padding-top: 18px; }
.sheet__cta { align-self: stretch; }
.sheet__cta::before { background: var(--ink); }
.sheet__cta:hover { color: var(--white); }

/* ---------- fleet ---------- */
.fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.machine { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 8px 24px; padding: clamp(18px, 2.4vw, 32px); border: 1px solid var(--line-blue); background: rgba(169, 214, 251, .04); position: relative; transition: background-color .4s, border-color .4s; }
.machine:hover { background: rgba(169, 214, 251, .08); border-color: rgba(169, 214, 251, .45); }
.machine::before, .machine::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--amber); }
.machine::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.machine::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.machine__art { width: 100%; height: auto; overflow: visible; }
.machine__spec { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: .9; color: var(--amber); }
.machine h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; margin: 10px 0 6px; }
.machine__text p:last-child { color: #cfe2f2; }

.m-ground { stroke: rgba(169, 214, 251, .5); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.m-fill { fill: var(--amber); }
.m-fill--dark { fill: #ff8a1f; }
.m-glass { fill: var(--navy-800); stroke: var(--sky); stroke-width: 2; }
.m-line { fill: none; stroke: var(--sky); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.m-line--thick { stroke: var(--amber); stroke-width: 7; }
.m-line--xthick { stroke: var(--amber); stroke-width: 10; }
.m-drum { fill: #e6eef5; }
.m-stripes path { stroke: #ff8a1f; stroke-width: 7; fill: none; }
.m-wheel circle { fill: var(--navy-950); stroke: var(--sky); stroke-width: 3; }
.m-wheel .m-hub { fill: var(--amber); stroke: none; }
.m-wheel path { stroke: rgba(169, 214, 251, .55); stroke-width: 2; fill: none; }
.m-wheel--drum circle { fill: #2a4d6c; }
.m-track { fill: var(--navy-950); stroke: var(--sky); stroke-width: 3; stroke-dasharray: 7 5; }
.m-track-dots circle { fill: none; stroke: rgba(169, 214, 251, .6); stroke-width: 2; }
.m-wheel { transform-origin: var(--cx) var(--cy); }
.m-arm--boom { transform-origin: 246px 124px; }
.m-arm--dipper { transform-origin: 300px 52px; }
.m-arm--loader { transform-origin: 158px 118px; }
.m-arm--mixer { transform-origin: 286px 128px; }
.m-arm--boom2 { transform-origin: 196px 116px; }
.m-arm--dipper2 { transform-origin: 262px 44px; }
.is-live .m-wheel { animation: spin 3.2s linear infinite; }
.is-live .m-wheel--drum { animation-duration: 5s; }
.is-live .m-stripes { animation: stripes 1s linear infinite; }
.is-live .m-body-bob { animation: bob 1.1s ease-in-out infinite alternate; }
.is-live .m-body-vibe { animation: bob .14s linear infinite alternate; }
.is-live .m-track { animation: track 1s linear infinite; }
.is-live .m-arm--boom { animation: boom 4.5s ease-in-out infinite alternate; }
.is-live .m-arm--dipper { animation: dipper 4.5s ease-in-out -1.2s infinite alternate; }
.is-live .m-arm--loader { animation: loader 5s ease-in-out infinite alternate; }
.is-live .m-arm--mixer { animation: mixer-arm 5s ease-in-out infinite alternate; }
.is-live .m-arm--boom2 { animation: boom 4s ease-in-out infinite alternate; }
.is-live .m-arm--dipper2 { animation: dipper 4s ease-in-out -1s infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes stripes { to { transform: translateX(-30px); } }
@keyframes bob { to { transform: translateY(-1.5px); } }
@keyframes track { to { stroke-dashoffset: -12; } }
@keyframes boom { from { transform: rotate(-5deg); } to { transform: rotate(9deg); } }
@keyframes dipper { from { transform: rotate(-16deg); } to { transform: rotate(14deg); } }
@keyframes loader { from { transform: rotate(0); } to { transform: rotate(16deg); } }
@keyframes mixer-arm { from { transform: rotate(0); } to { transform: rotate(-26deg); } }

/* ---------- locations ---------- */
.locations { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.locations .section__intro { margin-top: 22px; }
.sites { margin-top: clamp(24px, 3vw, 40px); border-top: 2px solid var(--ink); columns: 2; column-gap: 32px; }
.site { break-inside: avoid; border-bottom: 1px solid var(--line); }
.site button { width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 0 12px; align-items: start; text-align: left; background: none; border: 0; padding: 13px 0; transition: background-color .2s, padding .3s var(--ease); }
.site button:hover, .site.is-hot button { background: var(--paper); padding-inline: 10px; }
.site__num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; border: 2px solid var(--blue); margin-top: 1px; font-variant-numeric: tabular-nums; }
.site--ongoing .site__num { border-color: var(--orange); }
.site__name { font-weight: 600; line-height: 1.3; display: block; }
.site__place { color: var(--steel); font-size: .93rem; display: block; }
.plot { background: var(--paper); border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 24px); }
.plot svg { width: 100%; height: auto; font-family: var(--font-body); }
.plot figcaption { font-size: .85rem; color: var(--steel); padding: 10px 14px; border-top: 1px solid var(--line); background: var(--white); }
.plot-sea { fill: #dbe6f0; stroke: #9db3c7; stroke-width: 1.2; }
.plot-grat path { stroke: #c3cfda; stroke-width: 1; stroke-dasharray: 3 5; fill: none; }
.plot-note { font-size: 11px; fill: #6d8093; letter-spacing: .04em; }
.plot-town { stroke: #7f93a6; stroke-width: 1.4; fill: none; }
.plot-town-label { font-size: 12.500px; fill: #5b6f82; font-weight: 500; }
.plot-north path { stroke: #6d8093; stroke-width: 1.5; fill: #6d8093; }
.pin { cursor: pointer; outline: none; }
.pin__lead { stroke: var(--ink); stroke-width: 1; opacity: .45; }
.pin__dot { fill: var(--blue); stroke: var(--white); stroke-width: 2; }
.pin__tag { fill: var(--white); stroke: var(--blue); stroke-width: 2; transition: fill .2s; }
.pin__num { font-size: 11px; font-weight: 700; fill: var(--ink); pointer-events: none; transition: fill .2s; }
.pin--ongoing .pin__dot { fill: var(--orange); }
.pin--ongoing .pin__tag { stroke: var(--orange); }
.pin__pulse { fill: none; stroke: var(--orange); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3); opacity: 0; } }
.pin.is-hot .pin__tag, .pin:hover .pin__tag, .pin:focus-visible .pin__tag { fill: var(--blue); }
.pin--ongoing.is-hot .pin__tag, .pin--ongoing:hover .pin__tag, .pin--ongoing:focus-visible .pin__tag { fill: var(--orange); }
.pin.is-hot .pin__num, .pin:hover .pin__num, .pin:focus-visible .pin__num { fill: var(--white); }
.pin.is-hot .pin__lead { opacity: 1; }

/* ---------- contact ---------- */
.contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.contact__lead .section__intro { margin-top: 24px; }
.contact__list { margin-top: 36px; display: grid; gap: 4px; border-top: 1px solid var(--line-blue); }
.contact__list:empty { display: none; }
.brief { margin-top: 36px; border-top: 1px solid var(--line-blue); }
.brief h3 { font-size: 1rem; font-weight: 600; color: var(--sky); padding: 18px 0 6px; }
.brief li { display: flex; gap: 14px; align-items: baseline; padding: 9px 0; color: #e3eef8; }
.brief li::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--amber); transform: translateY(-1px) rotate(45deg); }
.contact__list li { border-bottom: 1px solid var(--line-blue); }
.contact__list a, .contact__list div { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; text-decoration: none; font-size: 1.1rem; }
.contact__list a:hover { color: var(--amber); }
.contact__list .icon { color: var(--amber); margin-top: 2px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.field { display: grid; gap: 7px; align-content: start; }
.field > span { font-size: .93rem; font-weight: 500; color: #cfe2f2; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--white); background: rgba(6, 24, 40, .55); border: 1px solid rgba(169, 214, 251, .35); border-radius: 2px; padding: 14px 16px; transition: border-color .25s, background-color .25s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sky) 50%), linear-gradient(135deg, var(--sky) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: rgba(207, 226, 242, .5); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(169, 214, 251, .7); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: rgba(6, 24, 40, .85); box-shadow: 0 0 0 3px rgba(255, 178, 0, .2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8f7a; }
.field > .field__error { font-size: .88rem; font-weight: 500; color: #ffb3a3; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__status { font-size: .98rem; color: #cfe2f2; max-width: 46ch; }
.form__status.is-error { color: #ffb3a3; }
.form__status.is-ok { color: #9ff0c4; }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); color: #cfe2f2; padding-block: clamp(40px, 5vw, 72px) 32px; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: start; }
.brand--footer { color: var(--white); }
.footer__brand p { margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-end; }
.footer__nav a { text-decoration: none; padding: 4px 0; }
.footer__nav a:hover { color: var(--amber); }
.footer__legal { grid-column: 1 / -1; font-size: .9rem; color: #8fa9bf; border-top: 1px solid var(--line-blue); padding-top: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__scene { max-width: 640px; margin-inline: auto; width: 100%; margin-top: -8px; }
  .hero__scene svg { max-height: 46svh; }
  .about { grid-template-columns: 1fr; }
  .mission__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .locations, .contact__in { grid-template-columns: 1fr; }
  .plot { position: static; max-width: 520px; }
  .section__head--stack { grid-template-columns: 1fr; }
  .pcard, .pcard:first-child { flex-basis: calc(50% - 28px); }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: 2; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 96px var(--gutter) 40px; background: var(--navy-900); color: var(--white); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; }
  .nav a { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 9vw, 3.4rem); text-transform: uppercase; line-height: 1.1; padding: 4px 0; }
  .nav__cta { margin-top: 22px; font-family: var(--font-body) !important; font-size: 1.05rem !important; text-transform: none !important; padding: 16px 26px !important; }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-open .site-header { color: var(--white); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
  .nav-open { overflow: hidden; }
  .brand { position: relative; z-index: 3; }

  .build__in { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .build--pinned .build__panel .h2 { font-size: clamp(1.9rem, 7vw, 2.6rem); max-width: none; }
  .build--pinned .build__hint { display: none; }
  .build--pinned .stages { margin-top: 14px; }
  .build--pinned .stage:not(.is-active) { display: none; }
  .build--pinned .build__stage { overflow: hidden; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .build--pinned #build-scene { width: 235%; max-width: none; max-height: none; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .hero__word--to i:last-child { width: 5em; }
  .mission__grid { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-child(odd) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-bottom: 24px; }
  .pillar:first-child { border-top: 0; }
  .pillar .icon { margin-bottom: 14px; }
  .strengths { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .fleet { grid-template-columns: 1fr; }
  .machine { grid-template-columns: 1fr; }
  .machine__art { max-width: 340px; }
  .sites { columns: 1; }
  .form__row { grid-template-columns: 1fr; }
  .pcard, .pcard:first-child { flex-basis: 100%; }
  .filters { width: 100%; }
  .filter { flex: 1; padding-inline: 8px; }
  .chart__row, .chart__axis { grid-template-columns: 1fr; }
  .chart__label { text-align: left; padding-bottom: 0; padding-top: 10px; }
  .chart__track { padding-block: 5px 8px; }
  .chart__axis div { grid-column: 1; }
  .sheet__in { grid-template-columns: 1fr; }
  .sheet__photo { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .trolley { opacity: 1; transform: translateX(240px); }
  .cable { transform: scaleY(72); }
  .load { transform: translateY(72px); }
  .trolley, .cable, .load, .beam, .ticker__track, .pin__pulse { animation: none !important; }
  .ticker ul { flex-wrap: wrap; }
  .ticker__track { width: auto; }
}

@media print {
  .site-header, .progress, .ticker, .build__stage, .form, .nav-toggle { display: none !important; }
  .hero, .section--navy, .build, .footer { background: #fff !important; color: #000 !important; }
}
