/* ==========================================================================
   J.J Garus-Oab Investments cc: "Drawn, then built."
   Blueprint linework over real site work. Navy · periwinkle · Namib sand.
   ========================================================================== */

:root {
  --ink: #0A1A2B;
  --ink-2: #0E2236;
  --navy: #102A43;
  --navy-3: #173656;
  --peri: #7484CA;
  --peri-soft: #AAB5E6;
  --indigo: #495EAF;
  --sand: #E3AA6C;
  --sand-deep: #C98B4A;
  --paper: #F3EFE7;
  --paper-2: #E9E3D7;
  --paper-3: #DDD5C6;

  --t-dark: #0E1E2F;
  --t-dark-2: #4F5C6C;
  --t-light: #EAEEF6;
  --t-light-2: #98A6BD;
  --line-dark: rgba(16, 42, 67, .14);
  --line-light: rgba(170, 181, 230, .16);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--t-light);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--sand); color: var(--ink); padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--indigo);
}
.eyebrow i {
  font-style: normal; display: inline-grid; place-items: center;
  min-width: 2.4em; height: 1.9em; padding: 0 .45em;
  border: 1px solid currentColor; border-radius: 2px; letter-spacing: .06em;
}
.sechead__title {
  font-family: var(--f-display);
  font-variation-settings: "wdth" 112;
  font-weight: 760;
  font-size: clamp(2.05rem, 4.3vw, 3.9rem);
  line-height: 1.0;
  letter-spacing: -.025em;
  margin-top: .45em;
  text-wrap: balance;
}
.sechead { margin-bottom: clamp(40px, 6vw, 80px); }
.sechead--split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px 64px; align-items: end; }
.sechead__aside { color: var(--t-dark-2); max-width: 46ch; font-size: 1.02rem; }
.sechead--dark .eyebrow { color: var(--peri); }
.sechead--dark .sechead__aside { color: var(--t-light-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  height: 54px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; letter-spacing: .005em;
  border-radius: 2px; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .35s, box-shadow .35s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--t-light));
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn--sand { --bg: var(--sand); --fg: var(--ink); --hover: #F2C48F; }
.btn--sand:hover { box-shadow: 0 12px 34px -12px rgba(227, 170, 108, .6); }
.btn--ghost { box-shadow: inset 0 0 0 1px rgba(234, 238, 246, .3); --hover: rgba(234, 238, 246, .08); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(234, 238, 246, .7); }
.btn--sm { height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--wa { --fg: var(--t-light); box-shadow: inset 0 0 0 1px var(--line-light); --hover: rgba(37, 211, 102, .14); margin-top: 28px; }
.btn--wa svg { fill: #25D366; stroke: none; width: 20px; height: 20px; }
.btn--wa:hover svg { transform: none; }

.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.ulink:hover { background-size: 100% 1px; }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 150;
  background: var(--ink);
  animation: introOut 1s var(--ease-io) 1.55s forwards;
}
.intro-seen .intro { display: none; }
.intro__mark { width: 64px; clip-path: inset(100% 0 0 0); animation: rise 1.05s var(--ease) .15s forwards; }
.intro__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--t-light-2);
  opacity: 0; animation: fadeIn .6s ease .25s forwards;
}
@keyframes rise { to { clip-path: inset(0 0 0 0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes introOut { to { transform: translateY(-100%); visibility: hidden; } }

/* ==========================================================================
   Chainage meter (scroll position read like a road marker)
   ========================================================================== */
.chainage {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  display: none; align-items: center; gap: 10px;
  padding: 8px 12px 8px 10px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(10, 26, 43, .82); color: var(--t-light-2);
  border: 1px solid var(--line-light); border-radius: 2px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease);
  pointer-events: none;
}
.chainage.is-on.is-moving { opacity: 1; transform: none; }
.chainage__label { color: var(--ink); background: var(--sand); padding: 2px 5px; font-weight: 500; }
.chainage__value { color: var(--t-light); font-variant-numeric: tabular-nums; min-width: 5.4ch; }
.chainage__section { padding-left: 10px; border-left: 1px solid var(--line-light); }
@media (min-width: 1100px) and (hover: hover) { .chainage { display: inline-flex; } }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 90; transition: transform .6s var(--ease); }
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(10, 26, 43, .78);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line-light);
  opacity: 0; transition: opacity .5s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  position: relative; display: flex; align-items: center; gap: 32px;
  height: var(--nav-h); max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
}
.nav__brand img { height: 50px; width: auto; transition: transform .5s var(--ease); }
.nav__brand:hover img { transform: translateY(-2px); }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: .92rem; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; color: rgba(234, 238, 246, .8); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-current { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: -1; padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  background: var(--ink); display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0;
  font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 700; font-size: clamp(1.8rem, 8vw, 2.6rem);
  border-bottom: 1px solid var(--line-light);
  opacity: 0; transform: translateY(16px); animation: menuIn .6s var(--ease) forwards;
}
.menu nav a:nth-child(2) { animation-delay: .04s; } .menu nav a:nth-child(3) { animation-delay: .08s; }
.menu nav a:nth-child(4) { animation-delay: .12s; } .menu nav a:nth-child(5) { animation-delay: .16s; } .menu nav a:nth-child(6) { animation-delay: .2s; }
.menu nav i { font-family: var(--f-mono); font-style: normal; font-size: .75rem; color: var(--sand); letter-spacing: .1em; }
.menu__foot { font-family: var(--f-mono); font-size: .85rem; color: var(--t-light-2); line-height: 2; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu-open { overflow: hidden; }
.menu-open .nav::before { opacity: 1; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 40px);
  background:
    radial-gradient(90% 70% at 85% 30%, rgba(73, 94, 175, .28), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(227, 170, 108, .08), transparent 60%),
    var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute; inset: -80px; z-index: -1;
  background-image:
    linear-gradient(rgba(170, 181, 230, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 181, 230, .09) 1px, transparent 1px),
    linear-gradient(rgba(170, 181, 230, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 181, 230, .045) 1px, transparent 1px);
  background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 30%, transparent 85%);
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift { to { transform: translate3d(40px, 40px, 0); } }

.crosshair { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s; }
.hero:hover .crosshair { opacity: 1; }
.crosshair__x, .crosshair__y { position: absolute; background: rgba(170, 181, 230, .22); }
.crosshair__x { left: 0; right: 0; top: 0; height: 1px; transform: translateY(var(--cy, 50vh)); }
.crosshair__y { top: 0; bottom: 0; left: 0; width: 1px; transform: translateX(var(--cx, 50vw)); }
.crosshair__read {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  transform: translate(calc(var(--cx, 50vw) + 14px), calc(var(--cy, 50vh) + 12px));
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; color: var(--peri-soft);
  padding: 3px 6px; background: rgba(10, 26, 43, .7); border: 1px solid var(--line-light);
}
@media (hover: none) { .crosshair { display: none; } }

.hero__body {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px);
  align-items: center; flex: 1;
}
.hero__eyebrow { color: var(--peri-soft); }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 0 rgba(227, 170, 108, .6); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(227, 170, 108, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(227, 170, 108, 0); } }

.hero__title {
  margin: 26px 0 28px;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 108;
  font-weight: 800;
  font-size: clamp(2.3rem, 4.5vw, 4.9rem);
  line-height: .98; letter-spacing: -.03em;
  position: relative; z-index: 2;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: italic; font-variation-settings: "wdth" 100; color: var(--sand); font-weight: 700; }
.hero__lede { max-width: 50ch; color: var(--t-light-2); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__figure { position: relative; }
.hero__photo { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: 2px; background: var(--navy); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 1.2s var(--ease); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 26, 43, .55)); }
.hero__draw { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero__draw path, .hero__draw circle { fill: none; stroke: var(--sand); stroke-width: 1.3; stroke-linecap: round; }
.hero__draw .dim { stroke: #fff; stroke-width: 1; }
.hero__draw .fill { fill: #fff; stroke: none; }
.hero__draw circle.fill { fill: var(--sand); }
.tag {
  position: absolute; z-index: 2;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 8px; color: var(--ink); background: var(--sand); white-space: nowrap;
}
.tag--a { left: 7%; top: calc(18.8% - 30px); }
.tag--b { right: 17%; bottom: 3.5%; color: #fff; background: rgba(10, 26, 43, .75); border: 1px solid rgba(255, 255, 255, .3); }
.hero__caption { margin-top: 14px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--t-light-2); display: flex; gap: 12px; }
.hero__caption span { color: var(--sand); white-space: nowrap; }

.titleblock {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  margin-top: clamp(40px, 6vh, 72px);
  border-top: 1px solid var(--line-light);
}
.titleblock > div { padding: 18px 20px 22px 0; display: grid; gap: 4px; }
.titleblock > div + div { padding-left: 20px; border-left: 1px solid var(--line-light); }
.titleblock span { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--t-light-2); }
.titleblock strong { font-weight: 500; font-size: .92rem; }
.titleblock__scroll { align-content: start; }
.scrollcue { display: block; width: 1px; height: 30px; background: var(--line-light); position: relative; overflow: hidden; margin-top: 4px; }
.scrollcue i { position: absolute; inset: 0; background: var(--sand); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* hero entrance (plays once intro lifts) */
.js .hero__title .line > span { transform: translateY(108%); }
.js .hero__eyebrow, .js .hero__lede, .js .hero__actions, .js .titleblock > div, .js .hero__caption, .js .tag { opacity: 0; transform: translateY(14px); }
.js .hero__photo { clip-path: inset(0 0 100% 0); }
.js .hero__photo img { scale: 1.2; }
.js .hero__draw path, .js .hero__draw circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero__draw .fill { opacity: 0; }

.ready .hero__title .line > span { transform: none; transition: transform 1.2s var(--ease); }
.ready .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.ready .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.ready .hero__title .line:nth-child(4) > span { transition-delay: .24s; }
.ready .hero__eyebrow, .ready .hero__lede, .ready .hero__actions, .ready .titleblock > div, .ready .hero__caption, .ready .tag { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ready .hero__lede { transition-delay: .4s; }
.ready .hero__actions { transition-delay: .5s; }
.ready .titleblock > div:nth-child(1) { transition-delay: .6s; }
.ready .titleblock > div:nth-child(2) { transition-delay: .67s; }
.ready .titleblock > div:nth-child(3) { transition-delay: .74s; }
.ready .titleblock > div:nth-child(4) { transition-delay: .81s; }
.ready .titleblock > div:nth-child(5) { transition-delay: .88s; }
.ready .hero__photo { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease-io) .1s; }
.ready .hero__photo img { scale: 1; transition: scale 2.2s var(--ease) .1s, transform 1.2s var(--ease); }
.ready .hero__draw path, .ready .hero__draw circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io) 1.1s; }
.ready .hero__draw .fill { opacity: 1; transition: opacity .5s 2.2s; }
.ready .tag { transition-delay: 2s; }
.ready .hero__caption { transition-delay: 1.3s; }

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { background: var(--sand); color: var(--ink); overflow: hidden; border-block: 1px solid var(--sand-deep); }
.ticker__track { display: flex; width: max-content; gap: 28px; padding: 15px 0; animation: tick 48s linear infinite; }
.ticker span { font-family: var(--f-display); font-variation-settings: "wdth" 120; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ticker b { font-weight: 400; opacity: .5; font-size: .8rem; align-self: center; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { background: var(--ink); border-bottom: 1px solid var(--line-light); }
.stats__grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1fr 1fr; }
.stat { position: relative; padding: clamp(32px, 5vw, 56px) 20px clamp(32px, 5vw, 56px) 0; display: grid; gap: 8px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stat::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 3px; background: var(--peri); }
.stat + .stat::before { left: 24px; }
.stat strong { font-family: var(--f-display); font-variation-settings: "wdth" 118; font-weight: 700; font-size: clamp(1.9rem, 3.1vw, 3rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat > span { font-size: .88rem; color: var(--t-light-2); max-width: 18ch; line-height: 1.4; }

/* ==========================================================================
   Paper (light) sections
   ========================================================================== */
.paper {
  background:
    linear-gradient(rgba(16, 42, 67, .045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(16, 42, 67, .045) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--paper);
  color: var(--t-dark);
  padding-block: clamp(80px, 12vw, 160px);
}
.paper--alt { background-color: var(--paper-2); }
.paper .eyebrow { color: var(--indigo); }

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pullquote p {
  font-family: var(--f-display); font-variation-settings: "wdth" 100; font-weight: 500;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem); line-height: 1.22; letter-spacing: -.015em;
  text-wrap: pretty;
}
.pullquote mark {
  color: inherit; background: linear-gradient(transparent 62%, rgba(227, 170, 108, .55) 62%) 0 0 / 0 100% no-repeat;
  transition: background-size 1.4s var(--ease) .5s;
}
.pullquote.in mark { background-size: 100% 100%; }
.no-js .pullquote mark { background-size: 100% 100%; }
.about__text { margin-top: 36px; display: grid; gap: 18px; color: var(--t-dark-2); max-width: 62ch; }
.signoff { margin-top: 40px; display: grid; gap: 2px; }
.signoff__line { width: 180px; height: 36px; margin-bottom: 8px; }
.signoff__line path { fill: none; stroke: var(--indigo); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.signoff.in .signoff__line path { stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease-io) .3s; }
.no-js .signoff__line path { stroke-dashoffset: 0; }
.signoff strong { font-weight: 700; font-size: 1.05rem; }
.signoff span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-dark-2); }

.about__figure { position: relative; }
.about__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
figcaption { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 12px; color: var(--t-dark-2); }
figcaption span { color: var(--indigo); margin-right: 8px; }

.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-dark); }
.who__intro h3 { font-family: var(--f-display); font-variation-settings: "wdth" 110; font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.08; letter-spacing: -.02em; margin: 18px 0 20px; }
.who__intro p:last-child { color: var(--t-dark-2); }
.mv { display: grid; gap: 16px; align-content: start; }
.mv__card { padding: 30px 30px 32px; background: rgba(255, 255, 255, .55); border: 1px solid var(--line-dark); border-radius: 2px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.mv__card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(16, 42, 67, .45); }
.mv__card p { font-size: 1.12rem; line-height: 1.5; margin-top: 12px; }
.mv__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); }
.mv__card--dark { background: var(--navy); color: var(--t-light); border-color: var(--navy); }
.mv__card--dark .mv__label { color: var(--sand); }

.apart { margin-top: clamp(64px, 8vw, 110px); }
.apart__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; border-top: 1px solid var(--line-dark); }
.apart__item { padding: 36px 32px 8px 0; }
.apart__item + .apart__item { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.apart__item svg { width: 64px; height: 40px; fill: none; stroke: var(--indigo); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.js .apart__item svg * { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.8s var(--ease-io) .2s; }
.apart__item.in svg * { stroke-dashoffset: 0; }
.apart__item h4 { font-size: 1.15rem; font-weight: 700; margin: 22px 0 10px; display: flex; gap: 12px; align-items: baseline; }
.apart__item h4 i { font-family: var(--f-mono); font-style: normal; font-size: .72rem; color: var(--sand-deep); font-weight: 500; }
.apart__item p { color: var(--t-dark-2); font-size: .98rem; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { position: relative; }
.svc { border-top: 1px solid var(--line-dark); counter-reset: svc; }
.svc__row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.15fr) 40px; gap: 24px; align-items: baseline;
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line-dark);
  cursor: default;
}
.svc__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--navy);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.svc__no { font-family: var(--f-mono); font-size: .8rem; color: var(--indigo); letter-spacing: .1em; transition: color .4s; }
.svc__title {
  font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 720;
  font-size: clamp(1.45rem, 2.7vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em;
  transition: transform .6s var(--ease), color .4s;
}
.svc__desc { color: var(--t-dark-2); font-size: .98rem; max-width: 52ch; transition: color .4s; }
.svc__arrow { font-size: 1.4rem; justify-self: end; color: var(--indigo); transition: transform .6s var(--ease), color .4s; }
.svc__thumb { display: none; }
@media (hover: hover) and (min-width: 901px) {
  .svc__row:hover::before { transform: scaleY(1); transform-origin: top; }
  .svc__row:hover .svc__title { color: #fff; transform: translateX(14px); }
  .svc__row:hover .svc__desc { color: var(--t-light-2); }
  .svc__row:hover .svc__no { color: var(--sand); }
  .svc__row:hover .svc__arrow { color: var(--sand); transform: rotate(-45deg); }
}
.svc__float {
  position: fixed; left: 0; top: 0; z-index: 40; width: 280px; aspect-ratio: 4 / 3;
  pointer-events: none; overflow: hidden; border-radius: 2px;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85);
  transition: opacity .4s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.svc__float.is-on { opacity: 1; }
.svc__float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) { .svc__float { display: none; } }

/* ==========================================================================
   Featured work + steps
   ========================================================================== */
.feature { background: var(--ink); padding-top: clamp(80px, 12vw, 160px); position: relative; }
.feature .sechead__title, .fleet .sechead__title, .standards .sechead__title, .clients .sechead__title { color: #fff; }
.feature__duo { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: end; }
.feature__duo img { width: 100%; object-fit: cover; border-radius: 2px; }
.feature__wide img { aspect-ratio: 16 / 8.5; }
.feature__tall img { aspect-ratio: 4 / 4.6; }
.feature figcaption, .fleet figcaption, .steps figcaption { color: var(--t-light-2); text-transform: none; letter-spacing: .02em; font-size: .78rem; }
.feature figcaption span { color: var(--sand); text-transform: uppercase; letter-spacing: .1em; }

.steps { position: relative; height: 320vh; margin-top: clamp(40px, 8vw, 100px); }
.steps__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.steps__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.steps .eyebrow { color: var(--peri); }
.steps__rail { position: absolute; left: 15px; top: 64px; bottom: 30px; width: 1px; background: var(--line-light); }
.steps__fill { position: absolute; inset: 0; background: var(--sand); transform-origin: top; transform: scaleY(var(--p, 0)); }
.steps__text { position: relative; }
.steps__list { margin-top: 40px; display: grid; gap: 36px; }
.steps__list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 24px; opacity: .32; transition: opacity .6s var(--ease); }
.steps__list li.is-active { opacity: 1; }
.steps__list i {
  position: relative; z-index: 1; font-style: normal; display: grid; place-items: center;
  width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--line-light); background: var(--ink);
  font-family: var(--f-mono); font-size: .75rem; transition: background .5s, color .5s, border-color .5s;
}
.steps__list li.is-active i { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.steps__list h3 { font-family: var(--f-display); font-variation-settings: "wdth" 118; font-weight: 750; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.steps__list p { color: var(--t-light-2); margin-top: 10px; max-width: 42ch; }
.steps__media { position: relative; aspect-ratio: 3 / 3.7; max-height: 78vh; justify-self: end; width: min(100%, 520px); }
.steps__media figure { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-io); }
.steps__media figure.is-active, .steps__media figure.was-active { clip-path: inset(0 0 0 0); }
.steps__media figure.is-active { z-index: 2; }
.steps__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; scale: 1.12; transition: scale 1.6s var(--ease); }
.steps__media figure.is-active img { scale: 1; }
.steps__media figcaption { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 5px 9px; background: var(--sand); color: var(--ink); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }

/* ==========================================================================
   Portfolio reel
   ========================================================================== */
.reel { background: var(--paper); color: var(--t-dark); }
.reel__pin { position: relative; }
.reel__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); overflow: hidden; padding-top: var(--nav-h);
  background:
    linear-gradient(rgba(16, 42, 67, .045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(16, 42, 67, .045) 1px, transparent 1px) 0 0 / 32px 32px;
}
.reel__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.reel__head .sechead__title { font-size: clamp(1.9rem, 3.6vw, 3.3rem); }
.reel__hint { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .78rem; color: var(--t-dark-2); letter-spacing: .1em; }
.reel__count { color: var(--t-dark); font-weight: 500; }
.reel__bar { width: 120px; height: 2px; background: var(--line-dark); position: relative; margin-left: 8px; }
.reel__bar i { position: absolute; inset: 0; background: var(--indigo); transform-origin: left; transform: scaleX(var(--p, 0)); }
.reel__viewport { overflow: visible; }
.reel__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); width: max-content; will-change: transform; }
.card { --h: clamp(260px, 48vh, 500px); --r: 1.18; flex: none; width: calc(var(--h) * var(--r)); display: flex; flex-direction: column; }
.card--wide { --r: 1.52; }
.card--tall { --r: .77; }
.card button { display: block; width: 100%; height: var(--h); overflow: hidden; border-radius: 2px; background: var(--paper-3); cursor: zoom-in; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.card button:hover img { transform: scale(1.045); }
.card p { margin-top: 12px; font-size: .9rem; font-weight: 500; display: flex; gap: 10px; align-items: baseline; }
.card p span { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); padding: 2px 6px; border: 1px solid rgba(73, 94, 175, .35); border-radius: 2px; }

/* ==========================================================================
   Fleet
   ========================================================================== */
.fleet { background: var(--ink-2); padding-block: clamp(80px, 12vw, 160px); overflow: hidden; }
.fleet .eyebrow { color: var(--peri); }
.fleet__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.fleet__copy > p { color: var(--t-light-2); margin-top: 22px; max-width: 46ch; }
.fleet__lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.fleet__lists h3 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); font-weight: 500; margin-bottom: 12px; }
.fleet__lists li { font-size: .92rem; padding: 7px 0; border-bottom: 1px dashed var(--line-light); color: var(--t-light); }
.fleet__media { position: relative; min-height: 580px; }
.fleet__media figure { position: absolute; }
.fleet__media img { width: 100%; object-fit: cover; border-radius: 2px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.fleet__media figcaption { position: absolute; left: 10px; bottom: 10px; margin: 0; padding: 4px 8px; background: rgba(10, 26, 43, .82); color: var(--t-light); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.fleet__main { left: 0; top: 70px; width: 72%; z-index: 1; }
.fleet__main img { aspect-ratio: 627 / 426; }
.fleet__sub--a { right: 0; top: 0; width: 36%; z-index: 2; }
.fleet__sub--a img { aspect-ratio: 1 / 1; outline: 8px solid var(--ink-2); }
.fleet__sub--b { right: 5%; bottom: 0; width: 46%; z-index: 2; }
.fleet__sub--b img { aspect-ratio: 4 / 3; outline: 8px solid var(--ink-2); }

/* ==========================================================================
   Project record
   ========================================================================== */
.record__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.record__map { position: sticky; top: calc(var(--nav-h) + 32px); }
.record__map svg { width: 100%; height: auto; overflow: visible; }
.map__grid line { stroke: rgba(16, 42, 67, .08); stroke-width: .6; }
.map__outline { fill: rgba(116, 132, 202, .08); stroke: var(--indigo); stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.8s var(--ease-io), fill 1s 2s; }
.no-js .map__outline, .record__map.in .map__outline { stroke-dashoffset: 0; }
.map__pin { opacity: 0; transform: translateY(-6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.record__map.in .map__pin { opacity: 1; transform: none; }
.map__pin circle.core { fill: var(--sand-deep); }
.map__pin circle.ring { fill: none; stroke: var(--sand-deep); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pinRing 2.6s var(--ease) infinite; }
.map__pin text { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .06em; fill: var(--t-dark); text-transform: uppercase; }
.map__pin--hq circle.core { fill: var(--indigo); }
.map__pin--hq circle.ring { stroke: var(--indigo); }
@keyframes pinRing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.record__mapnote { margin-top: 14px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--t-dark-2); display: flex; align-items: center; gap: 10px; }
.pin-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand-deep); }

.rt { display: grid; grid-template-columns: 44px minmax(0, 1fr) 150px 150px; gap: 20px; align-items: baseline; padding: 20px 12px; border-bottom: 1px solid var(--line-dark); position: relative; }
.rt--head { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-dark-2); padding-block: 12px; border-bottom: 1.5px solid var(--t-dark); }
.rt--head span:last-child, .rt__val { text-align: right; }
.rt__list .rt { transition: background .4s; }
.rt__list .rt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sand-deep); transform: scaleY(0); transition: transform .5s var(--ease); }
.rt__list .rt:hover { background: rgba(255, 255, 255, .6); }
.rt__list .rt:hover::before { transform: scaleY(1); }
.rt__no { font-family: var(--f-mono); font-size: .78rem; color: var(--indigo); }
.rt__proj strong { display: block; font-weight: 650; font-size: 1.02rem; line-height: 1.3; }
.rt__proj small { display: block; color: var(--t-dark-2); font-size: .86rem; margin-top: 3px; }
.rt__loc { font-size: .9rem; color: var(--t-dark-2); }
.rt__val { font-family: var(--f-mono); font-size: .92rem; font-variant-numeric: tabular-nums; }
.rt__val--muted { color: var(--t-dark-2); }
.rt--total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; border-bottom: 0; border-top: 1.5px solid var(--t-dark); margin-top: -1px; padding-top: 26px; }
.rt--total > span:empty { display: none; }
.rt--total > span:nth-child(2) { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.rt--total .rt__val { white-space: nowrap; font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 760; font-size: clamp(1.8rem, 3.2vw, 2.8rem); letter-spacing: -.02em; }
.rt--total .rt__val small { font-size: .45em; font-family: var(--f-mono); font-weight: 500; color: var(--indigo); letter-spacing: .08em; vertical-align: .6em; }

/* ==========================================================================
   Standards + clients
   ========================================================================== */
.standards { background: var(--ink); padding-top: clamp(80px, 12vw, 160px); }
.standards .sechead { max-width: 780px; }
.standards__lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--t-light-2); margin-top: 24px; }
.std { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.std__card {
  --mx: 50%; --my: 0%;
  position: relative; padding: 34px 30px 36px; border: 1px solid var(--line-light); border-radius: 2px;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(116, 132, 202, .13), transparent 60%), rgba(255, 255, 255, .015);
  transition: border-color .5s, transform .6s var(--ease);
}
.std__card:hover { border-color: rgba(170, 181, 230, .4); transform: translateY(-4px); }
.std__card header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line-light); }
.std__card header span { font-family: var(--f-mono); font-size: .75rem; color: var(--sand); }
.std__card h3 { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; }
.std__card p { color: var(--t-light-2); font-size: .98rem; }
.std__card ul { display: grid; gap: 12px; }
.std__card li { position: relative; padding-left: 22px; color: var(--t-light-2); font-size: .96rem; line-height: 1.5; }
.std__card li::before { content: ""; position: absolute; left: 0; top: .68em; width: 10px; height: 1px; background: var(--sand); }
.std__card figure { margin-top: 24px; overflow: hidden; border-radius: 2px; }
.std__card figure img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; object-position: 50% 30%; filter: saturate(.9); transition: transform 1s var(--ease); }
.std__card:hover figure img { transform: scale(1.04); }

.clients { background: var(--ink); padding-block: clamp(80px, 12vw, 150px); }
.clients__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.clients__grid li {
  position: relative; overflow: hidden;
  min-height: 150px; padding: 26px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.clients__grid li::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(73, 94, 175, .28), rgba(73, 94, 175, 0)); opacity: 0; transition: opacity .5s; }
.clients__grid li:hover::before { opacity: 1; }
.clients__grid span { position: relative; font-family: var(--f-display); font-variation-settings: "wdth" 108; font-weight: 650; font-size: 1.12rem; line-height: 1.2; transition: transform .6s var(--ease); }
.clients__grid li:hover span { transform: translateY(-4px); }
.clients__grid small { position: relative; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-light-2); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { position: relative; background: var(--navy); padding-block: clamp(80px, 12vw, 160px); overflow: hidden; isolation: isolate; }
.contact__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(116, 132, 202, .35), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(227, 170, 108, .12), transparent 60%);
}
.contact__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(170, 181, 230, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(170, 181, 230, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.contact .eyebrow { color: var(--peri-soft); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__title { font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.03em; margin: 22px 0 22px; color: #fff; }
.contact__title em { color: var(--sand); font-variation-settings: "wdth" 100; }
.contact__copy > p { color: var(--t-light-2); max-width: 44ch; }
.contact__details { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line-light); }
.contact__details dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-light-2); margin-bottom: 4px; }
.contact__details dd { font-size: 1.02rem; font-weight: 500; word-break: break-word; }

.form { background: var(--paper); color: var(--t-dark); padding: clamp(24px, 3.4vw, 44px); border-radius: 2px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); display: grid; gap: 22px; }
.form__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-dark-2); padding-bottom: 16px; border-bottom: 1.5px solid var(--t-dark); }
.form__head span:first-child { color: var(--indigo); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; position: relative; }
.field > span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--t-dark-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--t-dark);
  background: transparent; border: 0; border-bottom: 1px solid rgba(16, 42, 67, .3); border-radius: 0;
  padding: 8px 0 10px; outline: none; resize: vertical;
  background-image: linear-gradient(var(--indigo), var(--indigo)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .6s var(--ease), border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(var(--indigo), var(--indigo)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23102A43' stroke-width='1.5'/%3E%3C/svg%3E"); background-size: 0 2px, 12px 8px; background-position: 0 100%, right 4px center; }
.field input:focus, .field textarea:focus { background-size: 100% 2px; }
.field select:focus { background-size: 100% 2px, 12px 8px; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #B3261E; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: .92rem; min-height: 1.4em; }
.form__status.ok { color: #1E6B3A; }
.form__status.err { color: #B3261E; }
.form.is-sending button { opacity: .7; pointer-events: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); padding-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--line-light); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: start; }
.footer__brand img { width: 150px; }
.footer__brand p { color: var(--t-light-2); font-size: .92rem; margin-top: 18px; max-width: 34ch; }
.footer__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 48px; font-size: .95rem; }
.footer__nav a { color: var(--t-light-2); transition: color .3s; }
.footer__nav a:hover { color: #fff; }
.footer__proud { display: flex; align-items: center; gap: 16px; }
.flag { width: 60px; height: 40px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.footer__proud p { display: grid; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--t-light-2); }
.footer__proud strong { color: #fff; font-weight: 500; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-block: 24px 32px; border-top: 1px solid var(--line-light); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; color: var(--t-light-2); }
.footer__top:hover { color: var(--sand); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; padding: 64px 16px; background: rgba(6, 16, 27, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { grid-column: 2; display: grid; justify-items: center; transform: scale(.96); transition: transform .6s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: calc(100vh - 170px); width: auto; border-radius: 2px; }
.lightbox figcaption { color: var(--t-light-2); text-align: center; }
.lightbox__nav, .lightbox__close { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.3rem; border: 1px solid var(--line-light); border-radius: 50%; transition: background .3s, border-color .3s; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.lightbox__close { position: absolute; top: 18px; right: 18px; font-size: 1.6rem; }

/* ==========================================================================
   Scroll reveals
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--clip { opacity: 1; transform: none; }
.js .reveal--clip img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io) var(--d, 0s), transform 1.1s var(--ease); }
.js .reveal--clip figcaption { opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease) calc(var(--d, 0s) + .7s), transform .8s var(--ease) calc(var(--d, 0s) + .7s); }
.js .reveal--clip.in img { clip-path: inset(0 0 0 0); }
.js .reveal--clip.in figcaption { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; margin-left: 0; }
  .stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(4)::before { left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line-light); }
  .clients__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt { grid-template-columns: 36px minmax(0, 1fr) 130px; }
  .rt__loc { display: none; }
  .rt--head span:nth-child(3) { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  body { font-size: 16px; }
  .nav__brand img { height: 38px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 28px); }
  .hero__body { grid-template-columns: 1fr; }
  .hero__figure { margin-top: 12px; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > div { padding: 14px 12px 16px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line-light); }
  .titleblock > div:nth-child(even) { padding-left: 14px !important; border-left: 1px solid var(--line-light) !important; }
  .titleblock__scroll { display: none !important; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding: 28px 12px 28px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-light); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .stat::before, .stat + .stat::before { left: 0; }
  .stat:nth-child(even)::before { left: 16px; }
  .stat:last-child { grid-column: 1 / -1; }

  .sechead--split { grid-template-columns: 1fr; }
  .about__grid, .who, .contact__grid, .fleet__grid, .record__grid { grid-template-columns: 1fr; }
  .about__figure img { aspect-ratio: 4 / 3.6; }
  .apart__grid { grid-template-columns: 1fr; }
  .apart__item, .apart__item + .apart__item { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }

  .svc__row { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 12px; }
  .svc__desc { grid-column: 2; }
  .svc__arrow { display: none; }
  .svc__thumb { display: block; grid-column: 2; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 10px; border-radius: 2px; }

  .feature__duo { grid-template-columns: 1fr; }
  .steps { height: auto; }
  .steps__sticky { position: static; height: auto; padding-block: 24px 0; }
  .steps__inner { grid-template-columns: 1fr; }
  .steps__list li { opacity: 1; }
  .steps__list li i { background: var(--sand); color: var(--ink); border-color: var(--sand); }
  .steps__rail { display: none; }
  .steps__media { aspect-ratio: auto; max-height: none; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .steps__media figure { position: relative; clip-path: none; }
  .steps__media img { aspect-ratio: 3 / 4; scale: 1; }
  .steps__media figcaption { left: 6px; bottom: 6px; font-size: .56rem; padding: 3px 5px; }

  .reel__pin { height: auto !important; }
  .reel__sticky { position: static; height: auto; padding-block: 80px; }
  .reel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .reel__viewport::-webkit-scrollbar { display: none; }
  .reel__track { transform: none !important; padding-inline: var(--gutter); }
  .card { --h: min(62vw, 420px); scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .reel__hint .reel__bar { display: none; }

  .fleet__media { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .fleet__media figure { position: relative; width: auto; }
  .fleet__media img { outline: 0 !important; }
  .fleet__main { grid-column: 1 / -1; }
  .fleet__sub--a img, .fleet__sub--b img { aspect-ratio: 4 / 3; }
  .fleet__lists { grid-template-columns: 1fr 1fr; }

  .record__map { position: static; max-width: 380px; }
  .std { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .sechead__title br, .contact__title br { display: none; }
  .form__row, .contact__details { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: 1fr; }
  .clients__grid li { min-height: 0; }
  .rt { grid-template-columns: 28px minmax(0, 1fr); gap: 6px 12px; padding-inline: 4px; }
  .rt--head { display: none; }
  .rt__val { grid-column: 2; text-align: left; }
  .fleet__lists { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .tag--b { display: none; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .intro { display: none; }
  .ticker__track { animation: none; }
  .crosshair { display: none; }
}
