/* ==========================================================================
   ALLIO CONSTRUCTION INC.
   Drafting paper, graphite and blueprint blue. Built on trust.
   ========================================================================== */

:root {
  --paper: #F3F1EC;
  --paper-2: #E9E6DF;
  --ink: #0E141B;
  --ink-2: #151D26;
  --navy: #172331;
  --steel: #9FB0C2;
  --steel-2: #C8D2DD;
  --blue: #2F6BEA;
  --blue-2: #6E98FF;
  --graphite: #3C4148;
  --muted: #6B727C;
  --line: rgba(14, 20, 27, 0.14);
  --line-d: rgba(243, 241, 236, 0.14);
  --grid-minor: rgba(47, 107, 234, 0.075);
  --grid-major: rgba(47, 107, 234, 0.14);

  --display: 'Archivo', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --hand: 'Architects Daughter', 'Comic Sans MS', cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --pad: clamp(20px, 4.2vw, 64px);
  --wrap: 1480px;
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html, body { overflow-x: clip; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--display); font-variation-settings: 'wdth' 100; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 10px; z-index: 500; padding: 12px 18px; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 13px; }
.skip:focus { left: 12px; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-variation-settings: normal; }

/* ==================== TYPE ==================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border: 1px solid currentColor; color: var(--blue); }
[data-nav="dark"] .eyebrow { color: var(--steel); }
[data-nav="dark"] .eyebrow span { color: var(--blue-2); }
.h2 {
  font-variation-settings: 'wdth' 116; font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 76px); line-height: 0.96; letter-spacing: -0.012em;
}
.h2 em, .cta__title em, .phero__title em, .sblock__t em { font-style: normal; font-weight: 300; }
.lede { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; color: var(--graphite); max-width: 52ch; }
[data-nav="dark"] .lede { color: var(--steel-2); }

/* split text helpers (JS wraps words/lines) */
.ln { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.ln > span { display: inline-block; will-change: transform; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
[data-split] .w > span { display: inline-block; will-change: transform; }

/* ==================== GRID PAPER, RULERS, CROSSHAIR ==================== */
.grid-paper {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.grid-paper--faint { opacity: 0.55; }
[data-nav="dark"] .grid-paper, .grid-paper--dark { --grid-minor: rgba(159, 176, 194, 0.045); --grid-major: rgba(159, 176, 194, 0.09); }

.ruler { position: absolute; z-index: 3; pointer-events: none; color: var(--ink); }
.ruler--top { left: 0; right: 0; top: var(--nav-h); height: 20px; border-bottom: 1px solid var(--line); }
.ruler--left { left: 0; top: calc(var(--nav-h) + 20px); bottom: 0; width: 20px; border-right: 1px solid var(--line); }
.ruler__ticks { position: absolute; inset: 0; opacity: 0.38; }
.ruler--top .ruler__ticks {
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 24px) 0 100% / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 120px) 0 100% / 100% 11px no-repeat;
}
.ruler--left .ruler__ticks {
  background:
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 24px) 100% 0 / 5px 100% no-repeat,
    repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 120px) 100% 0 / 11px 100% no-repeat;
}
.ruler__num { position: absolute; font-family: var(--mono); font-size: 9px; color: var(--muted); }
.ruler--top .ruler__num { top: 2px; transform: translateX(4px); }
.ruler--left .ruler__num { left: 2px; transform: translateY(3px) rotate(-90deg); transform-origin: 0 0; }
.ruler__mark { position: absolute; background: var(--blue); opacity: 0; transition: opacity 0.3s ease; }
.ruler--top .ruler__mark { top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.ruler--left .ruler__mark { left: 0; right: 0; height: 2px; margin-top: -1px; }
.has-xhair .ruler__mark { opacity: 1; }

.xhair { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.35s ease; }
.has-xhair .xhair { opacity: 1; }
.xhair__h { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(47, 107, 234, 0.32); }
.xhair__v { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(47, 107, 234, 0.32); }
.xhair__read {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  padding: 4px 8px; font-size: 11px; letter-spacing: 0.04em; color: var(--blue);
  background: rgba(243, 241, 236, 0.92); border: 1px solid rgba(47, 107, 234, 0.35);
}
@media (hover: none), (max-width: 900px) { .xhair, .ruler--left { display: none; } }

/* ==================== BUTTONS ==================== */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 28px; border: 0; cursor: pointer;
  font-family: var(--display); font-variation-settings: 'wdth' 112; font-weight: 600;
  font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease-io); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid::before { background: var(--blue); }
.btn--line { box-shadow: inset 0 0 0 1.5px currentColor; color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--paper); }
.btn--light { color: var(--paper); }
.btn--light::before { background: var(--paper); }
.btn--light:hover { color: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 12px; }

/* ==================== CURSOR ==================== */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--blue); display: grid; place-items: center;
  transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background-color 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(47, 107, 234, 0.14); box-shadow: inset 0 0 0 1px var(--blue); }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--blue); }
.cursor__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity 0.25s ease; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ==================== LOGO LOCKUP ==================== */
.lockup { display: inline-flex; align-items: center; gap: 12px; color: currentColor; }
.mark { height: 36px; width: auto; flex: none; overflow: visible; }
.mark__dark { fill: currentColor; }
.mark__light { fill: var(--steel); }
.lockup__type { display: grid; gap: 5px; }
.word { height: 13px; width: auto; fill: currentColor; }
.lockup__sub { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.42em; text-transform: uppercase; opacity: 0.7; line-height: 1; white-space: nowrap; }

/* ==================== LOADER ==================== */
.loader { position: fixed; inset: 0; z-index: 450; background: var(--paper); display: grid; place-items: center; }
.loader__in { position: relative; display: grid; justify-items: center; gap: 26px; }
.loader__mark { width: 96px; height: auto; overflow: visible; }
.lm { fill: transparent; stroke-width: 6; stroke-linejoin: round; }
.lm--dark { stroke: var(--ink); }
.lm--light { stroke: var(--steel); }
.loader__txt { display: flex; gap: 22px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.loader__pct { color: var(--ink); min-width: 3ch; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--paper-2); }
.loader__bar i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
body:not(.is-home) .loader, html:not(.js) .loader { display: none; }
html:not(.js) body.is-loading { overflow: visible; }

/* ==================== NAV ==================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); color: var(--ink);
  transition: color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease, transform 0.6s var(--ease);
}
.nav.is-dark { color: var(--paper); }
.nav.is-stuck { background: rgba(243, 241, 236, 0.84); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.is-stuck.is-dark { background: rgba(14, 20, 27, 0.78); box-shadow: 0 1px 0 var(--line-d); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 44px); }
.nav__links a { position: relative; display: grid; gap: 1px; font-variation-settings: 'wdth' 110; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 0; }
.nav__sheet { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.12em; color: var(--blue); opacity: 0.85; }
.nav.is-dark .nav__sheet { color: var(--blue-2); }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-io); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: 0.04em; }
.nav__tel svg { width: 16px; height: 16px; color: var(--blue); }
.nav .btn--solid { background: currentColor; }
.nav .btn--solid span, .nav .btn--solid svg { color: var(--paper); }
.nav.is-dark .btn--solid span { color: var(--ink); }
.nav .btn--solid::before { background: var(--blue); }
.nav .btn--solid:hover span { color: #fff; }
.nav__toggle { display: none; position: relative; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px currentColor; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 28px; }
.menu-open .nav__toggle span:nth-child(1) { top: 23.5px; transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { top: 23.5px; transform: rotate(-45deg); }
@media (max-width: 1080px) { .nav__tel { display: none; } }
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
}
@media (max-width: 560px) { .nav__cta { display: none; } .mark { height: 32px; } }

.mnav {
  position: fixed; inset: 0; z-index: 190; overflow-y: auto; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; padding: 110px var(--pad) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s linear 0.8s;
}
.mnav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.8s var(--ease-io); }
.mnav__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(159, 176, 194, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 176, 194, 0.06) 1px, transparent 1px); background-size: 48px 48px; }
.mnav__inner { position: relative; width: 100%; }
.mnav__links { display: grid; }
.mnav__links a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-variation-settings: 'wdth' 120; font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 9vw, 64px); line-height: 1; }
.mnav__links a .mono { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: var(--blue-2); }
.mnav__links a[aria-current="page"] { color: var(--steel); }
.mnav__foot { display: grid; gap: 8px; margin-top: 34px; font-size: 14px; color: var(--steel-2); }
html.menu-open, html.menu-open body, html.is-locked, html.is-locked body { overflow: hidden; }
.menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
@media (min-width: 921px) { .mnav { display: none; } }

/* ==================== HERO (drafting table) ==================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 54px) 0 34px; display: flex;
}
.hero__draw {
  position: absolute; z-index: 1; right: 0; bottom: 12vh;
  width: min(70vw, 1320px); aspect-ratio: 1030 / 533; pointer-events: none;
}
.sketch { width: 100%; height: 100%; overflow: visible; }
.sketch__img { opacity: 1; }
.sketch .g { stroke: var(--blue); stroke-width: 0.8; stroke-dasharray: 3 7; opacity: 0.34; }
.dim line { stroke: var(--blue); fill: none; }
.dim__line { stroke-width: 1.2; }
.dim__ext { stroke-width: 0.9; opacity: 0.75; }
.dim__tick { stroke-width: 2; }
.dim__txt { font-family: var(--mono); font-size: 15px; font-weight: 500; fill: var(--blue); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; }
.lvl__line { stroke: var(--ink); stroke-width: 1; }
.lvl__tri { fill: var(--ink); }
.lvl__txt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.lvl__val { fill: var(--blue); }
.note__lead { fill: none; stroke: var(--graphite); stroke-width: 1.1; }
.note__dot { fill: var(--graphite); }
.note__txt { font-family: var(--hand); font-size: 21px; fill: var(--graphite); paint-order: stroke; stroke: var(--paper); stroke-width: 6px; }
.pencil { opacity: 0; }
.pencil__shadow { fill: rgba(14, 20, 27, 0.07); }
.pencil__lead { fill: #1B1F24; }
.pencil__cone { fill: #D8C3A0; }
.pencil__grip { fill: #2A3440; }
.pencil__barrel { fill: var(--navy); }
.pencil__clip { fill: var(--steel); }
.pencil__cap { fill: var(--steel); }
.pencil__shine { stroke: rgba(255, 255, 255, 0.22); stroke-width: 2; }

.hero__in { position: relative; z-index: 4; display: flex; flex-direction: column; justify-content: space-between; min-height: calc(100svh - var(--nav-h) - 88px); }
.hero__sheet { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero__sheet span:first-child { color: var(--blue); }
.hero__sheet a:hover { color: var(--blue); }
.hero__title {
  font-variation-settings: 'wdth' 125; font-weight: 800; text-transform: uppercase;
  font-size: clamp(50px, min(7.8vw, 13vh), 140px); line-height: 0.86; letter-spacing: -0.02em; color: var(--ink);
}
.hero__title em { font-style: normal; color: var(--blue); }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px; }
.hero__copy .lede { max-width: 42ch; padding: 2px 0; background: linear-gradient(90deg, rgba(243, 241, 236, 0.9), rgba(243, 241, 236, 0.6)); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.tblock { flex: none; width: 390px; border: 1.5px solid var(--ink); background: rgba(243, 241, 236, 0.94); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.tblock__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 12px; border-top: 1px solid var(--ink); min-height: 33px; }
.tblock__row:first-child { border-top: 0; }
.tblock__row--head { justify-content: flex-start; font-weight: 600; font-size: 12px; background: var(--ink); color: var(--paper); }
.tblock__mark { height: 20px; width: auto; }
.tblock__mark .mark__dark { fill: var(--paper); }
.tblock__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
.tblock__row--split > span { padding: 7px 12px; white-space: nowrap; display: flex; justify-content: space-between; gap: 8px; }
.tblock__row--split > span + span { border-left: 1px solid var(--ink); }
.tblock__k { color: var(--muted); }
.tblock__v { color: var(--ink); font-weight: 500; }
.tblock__status { color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.tblock__status::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.scalebar { position: absolute; z-index: 3; left: calc(var(--pad) + 4px); bottom: 26px; display: none; }
.scalebar__bar { display: flex; width: 220px; height: 8px; border: 1.5px solid var(--ink); }
.scalebar__bar i { flex: 1; }
.scalebar__bar i:nth-child(odd) { background: var(--ink); }
.scalebar__bar i:nth-child(1) { flex: 0.5; } .scalebar__bar i:nth-child(2) { flex: 0.5; }
.scalebar__nums { position: relative; display: flex; justify-content: space-between; width: 220px; margin-top: 5px; font-size: 9px; letter-spacing: 0.08em; color: var(--muted); }
.hero__scroll { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 38px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--blue); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-14px); } to { transform: translateY(40px); } }

@media (max-width: 1180px) { .tblock { width: 340px; } }
@media (max-width: 900px) {
  .hero { flex-direction: column; padding-top: calc(var(--nav-h) + 34px); padding-bottom: 40px; }
  .hero__in { display: contents; }
  .hero__sheet, .hero__title, .hero__foot { position: relative; z-index: 4; width: 100%; padding: 0 var(--pad); }
  .hero__sheet { order: 1; }
  .hero__title { order: 2; }
  .hero__draw { order: 3; position: relative; right: auto; bottom: auto; width: 160vw; margin: 4px 0 0 -62vw; }
  .hero__foot { order: 4; flex-direction: column; align-items: stretch; margin-top: 18px; }
  .tblock { width: 100%; }
  .hero__scroll { display: none; }
  .note__txt { font-size: 25px; }
  .lvl__txt { font-size: 14px; }
  .dim__txt { font-size: 19px; }
}
@media (max-width: 600px) {
  .hero__title { font-variation-settings: 'wdth' 100; font-size: 13.4vw; line-height: 0.9; }
  .tblock { display: none; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ==================== SECTIONS ==================== */
.sec { position: relative; padding: clamp(100px, 14vh, 170px) 0; }
[data-nav="dark"] { background: var(--ink); color: var(--paper); }
.sec__head { position: relative; margin-bottom: clamp(44px, 7vh, 80px); }
.sec__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.sec__head--split .lede { max-width: 40ch; }

/* ==================== MORPH (sketch to structure) ==================== */
.morph { position: relative; height: 270vh; }
.morph__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --p: 0; }
.morph__sketch { position: absolute; inset: 0; background: var(--paper); display: grid; place-items: center; }
.morph__sketch img { position: relative; width: min(118vw, 1700px); max-width: none; transform: translateX(-6%); }
.morph__photo { position: absolute; inset: 0; clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.morph__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(calc(1.12 - var(--p) * 0.12)); }
.morph__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 20, 27, 0.25), transparent 30%, transparent 55%, rgba(14, 20, 27, 0.55)); }
.morph__scan { position: absolute; top: 0; bottom: 0; left: calc(var(--p) * 100%); width: 0; z-index: 3; }
.morph__scan::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--blue); box-shadow: 0 0 24px 2px rgba(47, 107, 234, 0.55); }
.morph__tag { position: absolute; top: calc(var(--nav-h) + 34px); padding: 7px 12px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.morph__tag--l { right: 14px; background: var(--blue); color: #fff; }
.morph__tag--r { left: 14px; background: var(--ink); color: var(--paper); }
.morph__pct { position: absolute; top: 50%; left: 14px; padding: 6px 10px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; background: var(--paper); color: var(--ink); white-space: nowrap; box-shadow: 0 0 0 1px var(--blue); }
.morph__pct b { color: var(--blue); font-weight: 600; }
.morph__card {
  position: absolute; z-index: 4; left: var(--pad); bottom: var(--pad); max-width: 560px;
  padding: clamp(24px, 3vw, 40px); background: rgba(14, 20, 27, 0.9); color: var(--paper);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line-d);
}
.morph__card .h2 { font-size: clamp(28px, 3.2vw, 50px); }
.morph__card p:last-child { margin-top: 16px; color: var(--steel-2); }
.morph__card .eyebrow { color: var(--steel); }
.morph__card .eyebrow span { color: var(--blue-2); }
@media (max-width: 700px) {
  .morph { height: 220vh; }
  .morph__sketch img { width: 210vw; transform: translateX(-22%); }
  .morph__card { right: var(--pad); }
  .morph__tag { top: calc(var(--nav-h) + 16px); }
}

/* ==================== INTRO ==================== */
.intro { overflow: hidden; }
.intro__text {
  position: relative; max-width: 22ch; max-width: 1240px;
  font-variation-settings: 'wdth' 108; font-weight: 500; font-size: clamp(28px, 3.5vw, 58px); line-height: 1.14; letter-spacing: -0.01em;
}
.intro__text .wd { opacity: 0.14; transition: none; }
.intro__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 6vw, 100px); align-items: end; margin-top: clamp(60px, 9vh, 110px); }
.intro__photo { position: relative; }
.intro__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.intro__photo figcaption { margin-top: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts { display: grid; border-top: 1.5px solid var(--ink); }
.fact { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.fact__n { grid-row: span 2; font-size: clamp(48px, 5vw, 80px); font-weight: 500; line-height: 0.9; color: var(--blue); letter-spacing: -0.04em; }
.fact__t { font-variation-settings: 'wdth' 112; font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: 0.02em; align-self: end; }
.fact__d { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } }

/* reveal-on-scroll image: wipes in like a plotter */
[data-reveal-img] { overflow: hidden; }
[data-reveal-img] img { will-change: transform; }
.rv-line { position: absolute; top: 0; bottom: 0; z-index: 3; width: 2px; margin-left: -1px; background: var(--blue); box-shadow: 0 0 18px 2px rgba(47, 107, 234, 0.5); pointer-events: none; opacity: 0; }

/* ==================== MARQUEE ==================== */
.marq { position: relative; overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.marq__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marq 38s linear infinite; }
.marq__track span { font-variation-settings: 'wdth' 125; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 5vw, 74px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px var(--steel); }
.marq__track span:nth-of-type(odd) { color: var(--paper); -webkit-text-stroke: 0; }
.marq__mark { height: clamp(30px, 4vw, 56px); width: auto; flex: none; }
.marq__mark .mark__dark { fill: var(--blue); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ==================== SERVICES ==================== */
.services { overflow: hidden; }
.svc-list { border-top: 1px solid var(--line-d); }
.svc { position: relative; border-bottom: 1px solid var(--line-d); }
.svc__link { position: relative; display: grid; grid-template-columns: 74px 1fr auto 58px; align-items: center; gap: 22px; padding: clamp(22px, 3.2vh, 36px) 0; isolation: isolate; }
.svc__link::before { content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-io); }
.svc__n { font-size: 13px; color: var(--steel); transition: color 0.4s ease; }
.svc__name { font-variation-settings: 'wdth' 118; font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 4.1vw, 68px); line-height: 1; letter-spacing: -0.01em; transition: transform 0.7s var(--ease), color 0.4s ease; }
.svc__tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); transition: color 0.4s ease; }
.svc__go { width: 56px; height: 56px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d); transition: transform 0.6s var(--ease), background 0.4s ease, box-shadow 0.4s ease; }
.svc__go svg { width: 22px; height: 22px; }
@media (hover: hover) and (min-width: 901px) {
  .svc__link:hover::before { transform: scaleY(1); transform-origin: top; }
  .svc__link:hover { color: var(--ink); }
  .svc__link:hover .svc__name { transform: translateX(26px); }
  .svc__link:hover .svc__n, .svc__link:hover .svc__tag { color: var(--blue); }
  .svc__link:hover .svc__go { background: var(--blue); color: #fff; box-shadow: none; transform: rotate(45deg); }
}
.svc__more { display: none; }
.svc-float { position: fixed; left: 0; top: 0; z-index: 50; width: min(30vw, 420px); aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.85); transition: opacity 0.35s ease; }
.svc-float.is-on { opacity: 1; }
.svc-float__in { position: absolute; inset: 0; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.svc-float__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity 0.45s ease, transform 0.9s var(--ease); }
.svc-float__in img.is-active { opacity: 1; transform: none; }
@media (hover: none), (max-width: 900px) {
  .svc-float { display: none; }
  .svc__link { grid-template-columns: 44px 1fr 48px; }
  .svc__tag { display: none; }
  .svc__go { width: 46px; height: 46px; }
  .svc__more { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 0 0 24px 66px; color: var(--steel-2); font-size: 15px; }
  .svc__more img { width: 110px; aspect-ratio: 1; object-fit: cover; }
}
@media (max-width: 520px) { .svc__more { padding-left: 0; grid-template-columns: 90px 1fr; } .svc__more img { width: 90px; } }

/* ==================== PROCESS (building assembles) ==================== */
.process { position: relative; height: 420vh; }
.process__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: var(--nav-h); }
.process__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.steps { margin-top: 30px; border-top: 1.5px solid var(--ink); }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 0.32; transition: opacity 0.5s ease; }
.step.is-active { opacity: 1; }
.step__n { font-size: 12px; padding-top: 4px; color: var(--blue); }
.step__t { font-variation-settings: 'wdth' 114; font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 1.5vw, 23px); letter-spacing: 0.01em; }
.step__d { max-height: 0; overflow: hidden; opacity: 0; color: var(--graphite); font-size: 15.5px; transition: max-height 0.6s var(--ease), opacity 0.5s ease, margin 0.6s var(--ease); }
.step.is-active .step__d { max-height: 7em; opacity: 1; margin-top: 6px; }
.process__bar { position: relative; height: 3px; margin-top: 26px; background: var(--paper-2); }
.process__bar i { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.process__art { position: relative; }
.process__sheet { display: flex; justify-content: space-between; padding: 8px 0; margin-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.process__stage { color: var(--blue); }
.build { width: 100%; height: auto; overflow: visible; }
.build line, .build rect, .build path, .build circle { vector-effect: non-scaling-stroke; }
.axis line { stroke: var(--blue); stroke-width: 0.9; stroke-dasharray: 2 5; }
.axis circle { fill: var(--paper); stroke: var(--blue); stroke-width: 1.2; }
.axis text, .pdim text { font-family: var(--mono); font-size: 12px; fill: var(--blue); }
.pdim line { stroke: var(--blue); stroke-width: 1.2; }
.footprint { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 6 4; }
.ground { stroke: var(--ink); stroke-width: 2.2; }
.earth line { stroke: var(--ink); stroke-width: 0.8; opacity: 0.4; }
.slab, .footing { fill: rgba(14, 20, 27, 0.1); stroke: var(--ink); stroke-width: 1.3; }
.stud { stroke: #8A6A45; stroke-width: 2.2; }
.plate { stroke: #8A6A45; stroke-width: 3; }
.joist { fill: rgba(185, 143, 98, 0.25); stroke: #8A6A45; stroke-width: 1.3; }
.beam { stroke: var(--blue); stroke-width: 5; }
.brace line { stroke: #8A6A45; stroke-width: 1.4; opacity: 0.75; }
.fill-ink { fill: var(--navy); }
.fill-stone { fill: #DDD7CC; stroke: var(--ink); stroke-width: 1; }
.stone line { stroke: rgba(14, 20, 27, 0.28); stroke-width: 0.8; }
.fill-glass { fill: rgba(47, 107, 234, 0.16); stroke: var(--ink); stroke-width: 1.2; }
.mull line { stroke: var(--ink); stroke-width: 1.2; }
.fill-wood { fill: rgba(185, 143, 98, 0.5); stroke: var(--ink); stroke-width: 1; }
.slats line { stroke: #6F5133; stroke-width: 1.4; }
.door { fill: var(--navy); }
.rail line { stroke: var(--ink); stroke-width: 1; }
.tree line { stroke: #4C5B45; stroke-width: 2; }
.tree path { fill: rgba(96, 128, 86, 0.18); stroke: #4C5B45; stroke-width: 1.3; }
.shrubs path { fill: none; stroke: #4C5B45; stroke-width: 1.3; }
.process__photos { position: absolute; right: -5%; bottom: -16%; width: 21%; aspect-ratio: 4 / 5; transform: rotate(3deg); box-shadow: 0 24px 50px -20px rgba(14, 20, 27, 0.5), 0 0 0 6px var(--paper), 0 0 0 7px var(--line); }
.pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.pimg.is-active { opacity: 1; }
@media (max-width: 900px) {
  .process { height: auto; }
  .process__pin { position: relative; height: auto; padding: 100px 0; }
  .process__grid { grid-template-columns: 1fr; }
  .step { opacity: 1; }
  .step__d { max-height: none; opacity: 1; margin-top: 6px; }
  .process__photos { display: none; }
  .process__bar { display: none; }
}

/* ==================== WORK (horizontal) ==================== */
.work { position: relative; height: 340vh; }
.work__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 4vh, 44px); padding-top: var(--nav-h); }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.work__head .eyebrow { margin-bottom: 16px; }
.work__side { display: flex; align-items: center; gap: 26px; }
.work__count { font-size: 13px; letter-spacing: 0.12em; color: var(--steel); }
.work__cur { color: var(--paper); font-weight: 500; }
.work__track { display: flex; gap: clamp(16px, 2vw, 30px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.pcard { flex: none; width: clamp(260px, 27vw, 430px); }
.pcard__link { display: block; }
.pcard__link:focus-visible { outline-offset: 6px; }
.pcard__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; transition: filter 0.6s ease; filter: grayscale(0.25); }
.pcard:hover .pcard__img img, .pcard__link:focus-visible .pcard__img img { filter: none; }
.pcard__meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.pcard__t { margin-top: 6px; font-variation-settings: 'wdth' 112; font-weight: 600; font-size: clamp(18px, 1.5vw, 24px); text-transform: uppercase; letter-spacing: 0.01em; }
.pcard--end a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; aspect-ratio: 4 / 5; padding: 28px; box-shadow: inset 0 0 0 1px var(--line-d); transition: background 0.5s ease, color 0.5s ease; }
.pcard--end a:hover { background: var(--blue); }
.pcard--end .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.pcard__end-t { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; font-variation-settings: 'wdth' 118; font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 42px); line-height: 1; }
.pcard__end-t svg { width: 36px; height: 36px; flex: none; }
.work__progress { height: 2px; }
.work__progress i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 0 0; }
.work__progress { background: linear-gradient(var(--line-d), var(--line-d)) var(--pad) 0 / calc(100% - 2 * var(--pad)) 100% no-repeat; padding: 0 var(--pad); }
@media (max-width: 900px), (hover: none) {
  .work { height: auto; }
  .work__pin { position: relative; height: auto; padding: 100px 0; }
  .work__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; transform: none !important; }
  .work__track::-webkit-scrollbar { display: none; }
  .pcard { scroll-snap-align: start; width: 74vw; }
  .work__progress, .work__count { display: none; }
}

/* ==================== FLEET ==================== */
.fleet { position: relative; height: 230vh; }
.fleet__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.fleet__media { position: absolute; inset: 0; clip-path: inset(var(--ciy, 24%) var(--cix, 28%)); }
.fleet__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(var(--cs, 1.25)); }
.fleet__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(14, 20, 27, 0.82), rgba(14, 20, 27, 0.35) 48%, transparent 70%), linear-gradient(180deg, rgba(14, 20, 27, 0.4), transparent 30%, transparent 60%, rgba(14, 20, 27, 0.7)); opacity: var(--co, 0); }
.fleet__copy { position: absolute; left: 0; right: 0; bottom: clamp(30px, 7vh, 80px); }
.fleet__title { display: grid; max-width: 9.6em; font-variation-settings: 'wdth' 125; font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 6.2vw, 112px); line-height: 0.88; letter-spacing: -0.02em; }
.fleet__title span:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.fleet__lines { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 26px; font-size: 14px; letter-spacing: 0.06em; }
.fleet__lines a { display: inline-flex; align-items: center; gap: 10px; }
.fleet__lines svg { width: 18px; height: 18px; color: var(--blue-2); }

/* ==================== CTA ==================== */
.cta { overflow: hidden; }
.cta__in { position: relative; }
.cta__title { max-width: 16ch; font-variation-settings: 'wdth' 122; font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 7vw, 124px); line-height: 0.9; letter-spacing: -0.02em; }
.cta__title em { color: var(--blue); }
.cta--band .lede { margin-top: 22px; }
.cta__row { display: flex; align-items: center; gap: clamp(30px, 6vw, 110px); flex-wrap: wrap; margin-top: clamp(40px, 6vh, 70px); }
.cta__circle {
  position: relative; display: grid; place-items: center; width: clamp(170px, 15vw, 230px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--paper); text-align: center; overflow: hidden; isolation: isolate;
  font-variation-settings: 'wdth' 118; font-weight: 700; text-transform: uppercase; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.05; letter-spacing: 0.04em;
}
.cta__circle::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--blue); border-radius: 50%; transform: scale(0); transition: transform 0.6s var(--ease); }
.cta__circle:hover::before { transform: scale(1); }
.cta__circle svg { position: absolute; right: 22%; top: 20%; width: 22px; height: 22px; color: var(--steel); transition: transform 0.5s var(--ease), color 0.4s; }
.cta__circle:hover svg { transform: translate(3px, -3px); color: #fff; }
.cta__lines { display: grid; gap: 4px; }
.cta__lines a { display: flex; align-items: baseline; gap: 16px; font-variation-settings: 'wdth' 112; font-weight: 600; font-size: clamp(22px, 2.4vw, 38px); line-height: 1.25; transition: color 0.3s ease; }
.cta__lines a:hover { color: var(--blue); }
.cta__lines .mono { width: 52px; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ==================== FOOTER ==================== */
.foot { position: relative; overflow: hidden; padding: clamp(80px, 12vh, 130px) 0 30px; }
.foot__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(159, 176, 194, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 176, 194, 0.05) 1px, transparent 1px); background-size: 120px 120px; }
.foot .wrap { position: relative; }
.foot__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--line-d); }
.foot__brand .mark { height: 44px; }
.foot__brand .word { height: 16px; }
.foot__brand .lockup__sub { font-size: 8.5px; }
.foot__tag { margin-top: 22px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot__h { margin-bottom: 16px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-2); }
.foot__cols li { padding: 4px 0; font-size: 15.5px; }
.foot__cols a { color: var(--steel-2); transition: color 0.3s ease; }
.foot__cols a:hover { color: var(--paper); }
.foot__muted { color: var(--steel); }
.foot__sister { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-d); color: var(--steel-2); font-size: 15px; }
.foot__sister .mono { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); }
.foot__sister a { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; color: var(--paper); font-weight: 600; }
.foot__sister a svg { width: 16px; height: 16px; }
.foot__giant { padding: clamp(30px, 6vh, 60px) 0 clamp(20px, 3vh, 30px); }
.foot__word { width: 100%; height: auto; fill: transparent; stroke: rgba(159, 176, 194, 0.28); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.foot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.foot__top-link { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.foot__top-link svg { width: 15px; height: 15px; transform: rotate(-90deg); }
@media (max-width: 900px) {
  .foot__top { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__sister { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 520px) { .foot__cols { grid-template-columns: 1fr; } }

/* ==================== INNER PAGE HEADER ==================== */
.phero { position: relative; overflow: hidden; isolation: isolate; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 70px) 0 80px; }
.phero__grid { position: relative; z-index: 4; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.phero__title { font-variation-settings: 'wdth' 125; font-weight: 800; text-transform: uppercase; font-size: clamp(48px, 7vw, 124px); line-height: 0.88; letter-spacing: -0.02em; }
.phero__title em { color: var(--blue); }
.phero__dim { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 100%; margin: 22px 0 26px; color: var(--blue); overflow: hidden; }
.phero__dim i { flex: 1; height: 1px; background: currentColor; position: relative; }
.phero__dim-l::before, .phero__dim-r::after { content: ''; position: absolute; top: -7px; width: 1.5px; height: 14px; background: currentColor; transform: rotate(45deg); }
.phero__dim-l::before { left: 0; }
.phero__dim-r::after { right: 0; }
.phero__dim-t { font-size: 12px; letter-spacing: 0.08em; white-space: nowrap; }
.phero__fig { position: relative; padding: 16px; }
.phero__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.35) brightness(1.12); mix-blend-mode: multiply; }
.phero__fig figcaption { display: flex; justify-content: space-between; margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.phero__dev { color: var(--blue); }
.phero__dev.is-done { padding: 1px 7px; box-shadow: inset 0 0 0 1px currentColor; }
.crop { position: absolute; width: 22px; height: 22px; border-color: var(--ink); border-style: solid; border-width: 0; }
.crop--tl { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.crop--tr { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.crop--bl { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.crop--br { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
@media (max-width: 900px) {
  .phero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); }
  .phero__grid { grid-template-columns: 1fr; }
  .phero__img { aspect-ratio: 4 / 3; }
}

/* ==================== ABOUT ==================== */
.story__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 100px); }
.story__body > * + * { margin-top: 22px; }
.story__body > p:not(.lede) { color: var(--graphite); max-width: 56ch; }
.story__sig { display: flex; align-items: center; gap: 18px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.7; }
.story__mark { height: 54px; width: auto; color: var(--ink); }
@media (max-width: 900px) { .story__grid { grid-template-columns: 1fr; } }

.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.value { padding: clamp(26px, 3vw, 40px); border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); min-height: 300px; display: flex; flex-direction: column; transition: background 0.5s ease; }
.value:hover { background: var(--ink-2); }
.value__n { font-size: 12px; color: var(--blue-2); }
.value__t { margin-top: auto; padding-top: 60px; font-variation-settings: 'wdth' 116; font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); line-height: 1; }
.value p { margin-top: 14px; color: var(--steel-2); font-size: 15.5px; }
@media (max-width: 1000px) { .values__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values__grid { grid-template-columns: 1fr; } .value { min-height: 0; } }

.road__grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.9fr; gap: 18px; align-items: end; }
.road__grid figure { position: relative; }
.road__grid img { width: 100%; object-fit: cover; }
.road__a img { aspect-ratio: 4 / 3; }
.road__b img { aspect-ratio: 3 / 4; }
.road__c img { aspect-ratio: 4 / 3; }
.road__grid figcaption { margin-top: 8px; font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
@media (max-width: 900px) { .road__grid { grid-template-columns: 1fr 1fr; } .road__a { grid-column: span 2; } }

.sister__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.sister__list { display: grid; gap: 0; margin: 30px 0; border-top: 1px solid var(--line-d); }
.sister__list li { padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-2); }
.sister__list li::before { content: '+'; margin-right: 14px; color: var(--blue-2); }
@media (max-width: 900px) { .sister__grid { grid-template-columns: 1fr; } }

/* ==================== SERVICES PAGE ==================== */
.sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); }
.sector { padding: 34px clamp(20px, 2.4vw, 36px) 40px 0; border-bottom: 1px solid var(--line-d); }
.sector + .sector { padding-left: clamp(20px, 2.4vw, 36px); border-left: 1px solid var(--line-d); }
.sector .mono { font-size: 12px; color: var(--blue-2); }
.sector h3 { margin: 50px 0 12px; font-variation-settings: 'wdth' 120; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3vw, 46px); line-height: 1; }
.sector p { color: var(--steel-2); }
@media (max-width: 900px) { .sectors__grid { grid-template-columns: 1fr; } .sector + .sector { padding-left: 0; border-left: 0; } .sector h3 { margin-top: 20px; } }

.sdetail .wrap { position: relative; display: grid; gap: clamp(80px, 13vh, 150px); }
.sblock { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; scroll-margin-top: 110px; }
.sblock--flip .sblock__fig { order: 2; }
.sblock__fig { position: relative; padding: 16px; }
.sblock__fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.sblock__n { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sblock__n span { color: var(--blue); }
.sblock__t { font-variation-settings: 'wdth' 120; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4.2vw, 70px); line-height: 0.94; letter-spacing: -0.015em; margin-bottom: 22px; }
.sblock__list { margin-top: 28px; border-top: 1.5px solid var(--ink); }
.sblock__list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.sblock__list li::after { content: '+'; color: var(--blue); }
@media (max-width: 900px) { .sblock { grid-template-columns: 1fr; } .sblock--flip .sblock__fig { order: 0; } }

.howto__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-d); counter-reset: s; }
.howto__grid li { position: relative; padding: 30px 26px 40px 0; }
.howto__grid li + li { padding-left: 26px; border-left: 1px solid var(--line-d); }
.howto__grid .mono { display: inline-grid; place-items: center; width: 40px; height: 40px; box-shadow: inset 0 0 0 1px var(--blue-2); color: var(--blue-2); font-size: 12px; }
.howto__grid h3 { margin: 40px 0 10px; font-variation-settings: 'wdth' 114; font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.05; }
.howto__grid p { color: var(--steel-2); font-size: 15.5px; }
@media (max-width: 900px) { .howto__grid { grid-template-columns: 1fr 1fr; } .howto__grid li:nth-child(3) { padding-left: 0; border-left: 0; } .howto__grid li { border-bottom: 1px solid var(--line-d); } }
@media (max-width: 520px) { .howto__grid { grid-template-columns: 1fr; } .howto__grid li + li { padding-left: 0; border-left: 0; } }

/* ==================== PROJECTS PAGE ==================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { cursor: pointer; padding: 12px 18px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.filters button sup { font-size: 9px; color: var(--blue); margin-left: 3px; }
.filters button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.filters button[aria-pressed="true"] sup { color: var(--blue-2); }
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.tile { grid-column: span var(--span, 4); }
.tile[hidden] { display: none; }
.tile__btn { display: block; width: 100%; text-align: left; border: 0; background: none; cursor: pointer; }
.tile__img { display: block; position: relative; overflow: hidden; aspect-ratio: var(--span, 4) / 5; background: var(--paper-2); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s ease; }
.tile__btn:hover .tile__img img { transform: scale(1.05); }
.tile__img::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--blue); transition: box-shadow 0.4s var(--ease); }
.tile__btn:hover .tile__img::after { box-shadow: inset 0 0 0 4px var(--blue); }
.tile__meta { display: flex; justify-content: space-between; margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tile__t { display: block; margin-top: 5px; font-variation-settings: 'wdth' 112; font-weight: 700; text-transform: uppercase; font-size: clamp(17px, 1.4vw, 22px); }
@media (max-width: 900px) { .tile { grid-column: span 6; } .tile__img { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .tile { grid-column: span 12; } }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 70px 20px 40px; background: rgba(14, 20, 27, 0.96); color: var(--paper); }
.lightbox[hidden] { display: none; }
.lightbox__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(159, 176, 194, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 176, 194, 0.05) 1px, transparent 1px); background-size: 48px 48px; }
.lightbox__fig { position: relative; display: grid; justify-items: center; gap: 14px; max-height: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100svh - 190px); object-fit: contain; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.lightbox__cap { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 8px 18px; }
.lightbox__n, .lightbox__c { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.lightbox__t { font-variation-settings: 'wdth' 114; font-weight: 700; text-transform: uppercase; font-size: 20px; }
.lightbox__close, .lightbox__nav { position: relative; z-index: 2; width: 56px; height: 56px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-d); transition: background 0.3s ease; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--blue); box-shadow: none; }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 18px; right: 20px; }
.lightbox__nav--prev svg { transform: rotate(180deg); }
@media (max-width: 700px) { .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 80px 14px 24px; } .lightbox__fig { grid-column: span 2; } .lightbox__nav--prev { justify-self: start; grid-row: 2; } .lightbox__nav--next { justify-self: end; grid-row: 2; } }

/* ==================== CONTACT PAGE ==================== */
.reach__grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.lines { margin-top: 30px; border-top: 1.5px solid var(--ink); }
.lines li { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lines .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lines a, .lines li > span:last-child { font-variation-settings: 'wdth' 110; font-weight: 600; font-size: clamp(18px, 1.6vw, 24px); word-break: break-word; }
.lines a:hover { color: var(--blue); }
.reach__fig { margin-top: 34px; }
.reach__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .reach__grid { grid-template-columns: 1fr; } .reach__fig { display: none; } }

.form, .form__done { position: relative; padding: clamp(24px, 3.4vw, 50px); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), 14px 14px 0 0 var(--paper-2); }
.form__sheet { display: flex; justify-content: space-between; margin: calc(clamp(24px, 3.4vw, 50px) * -1) calc(clamp(24px, 3.4vw, 50px) * -1) 30px; padding: 12px clamp(24px, 3.4vw, 50px); background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.pick { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.pick legend, .form__legend { margin-bottom: 12px; padding: 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pick legend small { font-size: 10px; text-transform: none; letter-spacing: 0.04em; }
.pick__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pick label span { display: inline-block; padding: 11px 16px; font-size: 13.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.pick label:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.pick input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.pick input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  display: block; width: 100%; padding: 26px 0 10px; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; background: transparent;
  font-family: var(--display); font-size: 17px; color: var(--ink); transition: border-color 0.3s ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); }
.field label { position: absolute; left: 0; top: 24px; pointer-events: none; font-size: 17px; color: var(--muted); transition: top 0.3s var(--ease), font-size 0.3s var(--ease), color 0.3s ease, letter-spacing 0.3s ease; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.field__err { display: none; margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: #D33C2E; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #D33C2E; }
.field.is-invalid .field__err { display: block; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.form__note { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form__done { text-align: left; }
.form__done:focus { outline: none; }
.form__check { display: block; width: 90px; height: 90px; margin-bottom: 26px; fill: none; stroke: var(--blue); stroke-width: 3; }
.form__done .h2 { font-size: clamp(30px, 3.4vw, 52px); margin-bottom: 16px; }
.form__done a { color: var(--blue); }

/* ==================== STATIC: reduced motion, or scripts unavailable ==================== */
@media (prefers-reduced-motion: reduce) {
  .marq__track, .hero__scroll i::after, .tblock__status::before { animation: none; }
}
.static .morph, .static .process, .static .work, .static .fleet,
html:not(.js) .morph, html:not(.js) .process, html:not(.js) .work, html:not(.js) .fleet { height: auto; }
.static .morph__stage, .static .process__pin, .static .work__pin, .static .fleet__pin,
html:not(.js) .morph__stage, html:not(.js) .process__pin, html:not(.js) .work__pin, html:not(.js) .fleet__pin { position: relative; }
.static .morph__stage, html:not(.js) .morph__stage { --p: 1; height: 86svh; }
.static .morph__scan, html:not(.js) .morph__scan { display: none; }
.static .process__pin, html:not(.js) .process__pin { height: auto; padding-top: calc(var(--nav-h) + 60px); padding-bottom: 80px; }
.static .step, html:not(.js) .step { opacity: 1; }
.static .step__d, html:not(.js) .step__d { max-height: none; opacity: 1; margin-top: 6px; }
.static .process__photos, html:not(.js) .process__photos, .static .process__bar, html:not(.js) .process__bar, .static .process__stage, html:not(.js) .process__stage { display: none; }
.static .work__pin, html:not(.js) .work__pin { height: auto; padding: 120px 0; }
.static .work__track, html:not(.js) .work__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.static .pcard, html:not(.js) .pcard { scroll-snap-align: start; }
.static .work__progress, html:not(.js) .work__progress, .static .work__count, html:not(.js) .work__count { display: none; }
.static .fleet__pin, html:not(.js) .fleet__pin { height: 86svh; }
.static .fleet__media, html:not(.js) .fleet__media { clip-path: none; }
.static .fleet__media img, html:not(.js) .fleet__media img { transform: none; }
.static .fleet__shade, html:not(.js) .fleet__shade { opacity: 1; }
.static .intro__text .wd { opacity: 1; }
.static .phero__img img, html:not(.js) .phero__img img { filter: none; }
