/* =====================================================================
   ASMACS Engineering — site styles
   Plain CSS. Sections follow the page order in index.html.
   ===================================================================== */

:root {
  --paper: #ffffff;
  --canvas: #f6f7f9;
  --mist: #eef1f5;
  --line: #d9e0e8;
  --ink: #0b1b2e;
  --ink-2: #34465b;
  --ink-3: #56677b;
  --blue: #1f5fe0;
  --blue-2: #3d7bff;
  --amber: #f29a2e;
  --amber-2: #f6b73c;

  --f-display: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --f-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 20px;
  --radius: 18px;
}
@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 16px/1.6 var(--f-sans); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -0.025em; margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-style: normal; color: var(--blue); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.tech { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--ink-3); }
.light-muted { color: rgb(255 255 255 / 0.7); }
.blue { color: var(--blue); }
.amber { color: var(--amber); }
.up { text-transform: uppercase; }
.lead { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
@media (min-width: 768px) { .lead { font-size: 18px; } }

.h-display { font-size: clamp(2.5rem, 6.6vw, 4.6rem); line-height: 0.95; text-transform: uppercase; }
.h-xl { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1; }
.h-lg { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1; }
.h-cta { font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: 0.95; text-transform: uppercase; color: #fff; }
.h-cta em { color: var(--amber); }
.light { color: #fff; }

.glass {
  background: rgb(255 255 255 / 0.66);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgb(255 255 255 / 0.75);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.8) inset, 0 12px 40px -18px rgb(11 27 46 / 0.3);
}

.u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
a:hover .u, a:focus-visible .u, .u:hover { background-size: 100% 1px; }

.bp-grid, .bp-bg__grid {
  background-image:
    linear-gradient(to right, rgb(31 95 224 / 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(31 95 224 / 0.07) 1px, transparent 1px),
    linear-gradient(to right, rgb(31 95 224 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(31 95 224 / 0.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.bp-grid { position: absolute; inset: 0; pointer-events: none; }
.bp-grid--dark {
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
}

/* Corner registration marks */
.corners {
  --c: var(--blue);
  --s: 14px;
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) 1.5px,
    linear-gradient(var(--c), var(--c)) top left / 1.5px var(--s),
    linear-gradient(var(--c), var(--c)) top right / var(--s) 1.5px,
    linear-gradient(var(--c), var(--c)) top right / 1.5px var(--s),
    linear-gradient(var(--c), var(--c)) bottom left / var(--s) 1.5px,
    linear-gradient(var(--c), var(--c)) bottom left / 1.5px var(--s),
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) 1.5px,
    linear-gradient(var(--c), var(--c)) bottom right / 1.5px var(--s);
  background-repeat: no-repeat;
  z-index: 3;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 99px;
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: background-color 0.5s, color 0.5s, border-color 0.5s;
  will-change: transform;
}
.btn--sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--blue); }
.btn--ghost { border: 1px solid rgb(11 27 46 / 0.15); background: rgb(255 255 255 / 0.5); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgb(11 27 46 / 0.45); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-2); }
.btn--light { border: 1px solid rgb(255 255 255 / 0.3); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); height: 56px; }
.btn--white:hover { background: var(--amber); }
.btn__arrow { position: relative; width: 16px; height: 16px; overflow: hidden; display: inline-block; }
.i-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.btn__arrow .i-arrow { position: absolute; inset: 0; transition: transform 0.5s var(--ease); }
.btn__arrow .i-arrow + .i-arrow { transform: translateX(-20px); }
.btn:hover .btn__arrow .i-arrow { transform: translateX(20px); }
.btn:hover .btn__arrow .i-arrow + .i-arrow { transform: translateX(0); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.link-arrow .i-arrow { transition: transform 0.5s var(--ease); }
.link-arrow:hover .i-arrow { transform: translateX(4px); }

.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.3s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.icon-btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); margin-left: 6px; }

/* ---------- Section scaffolding ---------- */
.sec { position: relative; padding: 96px 0; overflow: hidden; }
@media (min-width: 768px) { .sec { padding: 144px 0; } }
.sec--paper { background: var(--paper); }
.sec--canvas { background: var(--canvas); }
.sec-label { display: flex; align-items: center; gap: 16px; color: var(--ink-3); font: 10px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 28px; }
.sec-label .rule { width: 48px; height: 1px; background: rgb(11 27 46 / 0.2); transform-origin: left; }
.sec-head { display: grid; gap: 28px; margin-bottom: 56px; }
@media (min-width: 1024px) { .sec-head { grid-template-columns: 7fr 4fr; align-items: end; gap: 64px; margin-bottom: 72px; } }
.center-head { text-align: center; max-width: 780px; margin: 0 auto; }
.center-head .sec-label { justify-content: center; }
.center-head .lead { margin-top: 20px; }

/* Split heading words */
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w-in { display: inline-block; will-change: transform; }

/* Pre-JS states (only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-split] { visibility: hidden; }
  .js [data-split].is-split { visibility: visible; }
  .js .hero-fade, .js .hud__card { opacity: 0; }
}

/* ---------- Progress / cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--amber)); transform-origin: left; transform: scaleX(0); }
.scroll-badge { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: none; align-items: center; gap: 8px; pointer-events: none; transition: opacity 0.5s; }
.scroll-badge span { font: 9px var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.scroll-badge b { font: 500 9px var(--f-mono); letter-spacing: 0.1em; border: 1px solid var(--line); background: rgb(255 255 255 / 0.75); backdrop-filter: blur(8px); padding: 4px 8px; border-radius: 99px; }
@media (min-width: 1024px) { .scroll-badge { display: flex; } }

.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
.cursor > * { position: absolute; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease), opacity 0.4s; }
.cursor__cross i { position: absolute; left: 0; top: 0; background: rgb(11 27 46 / 0.7); transform: translate(-50%, -50%); }
.cursor__cross i:first-child { width: 28px; height: 1px; }
.cursor__cross i:nth-child(2) { width: 1px; height: 28px; }
.cursor__cross b { position: absolute; width: 10px; height: 10px; border: 1px solid var(--blue); border-radius: 50%; background: var(--canvas); transform: translate(-50%, -50%); }
.cursor__xy { position: absolute; left: 14px; top: 10px; white-space: nowrap; font: 8.5px var(--f-mono); letter-spacing: 0.1em; color: var(--ink-3); }
.cursor__ring { width: 56px; height: 56px; border: 1px solid rgb(31 95 224 / 0.6); border-radius: 50%; transform: translate(-50%, -50%) scale(0); opacity: 0; }
.cursor__disc { width: 96px; height: 96px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font: 9px/1.3 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; transform: translate(-50%, -50%) scale(0); opacity: 0; box-shadow: 0 20px 40px -10px rgb(11 27 46 / 0.5); }
.cursor__mag { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.8); background: rgb(255 255 255 / 0.25); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%) scale(0); opacity: 0; }
.cursor__mag svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.5; }
.cursor[data-mode='button'] .cursor__cross, .cursor[data-mode='project'] .cursor__cross, .cursor[data-mode='image'] .cursor__cross { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
.cursor[data-mode='button'] .cursor__ring, .cursor[data-mode='project'] .cursor__disc, .cursor[data-mode='image'] .cursor__mag { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: padding 0.7s var(--ease); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; height: 84px; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); border: 1px solid transparent; transition: all 0.7s var(--ease); }
.nav.is-scrolled { padding: 12px 12px 0; }
.nav.is-scrolled .nav__bar { height: 64px; max-width: 1320px; border-radius: 16px; padding: 0 20px; background: rgb(255 255 255 / 0.7); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: rgb(255 255 255 / 0.8); box-shadow: 0 12px 40px -18px rgb(11 27 46 / 0.3); }
.nav.is-dark.is-scrolled .nav__bar { background: rgb(11 27 46 / 0.72); border-color: rgb(255 255 255 / 0.1); }
.nav.is-dark.is-scrolled .nav__link { color: rgb(255 255 255 / 0.75); }
.nav.is-dark.is-scrolled .nav__link:hover, .nav.is-dark.is-scrolled .nav__link.is-active { color: #fff; }
.nav.is-dark.is-scrolled .logo__bg { fill: #fff; }
.nav.is-dark.is-scrolled .logo__a { stroke: var(--ink); }
.nav.is-dark.is-scrolled .logo__txt b { color: #fff; }
.nav.is-dark.is-scrolled .logo__txt small { color: rgb(255 255 255 / 0.6); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo__bg { fill: var(--ink); transition: fill 0.5s; }
.logo__a { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linejoin: round; transition: stroke 0.5s; }
.logo__txt { line-height: 1; }
.logo__txt b { display: block; font: 600 19px var(--f-display); letter-spacing: 0.08em; transition: color 0.5s; }
.logo__txt small { display: block; margin-top: 4px; font: 8.5px var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.nav__links { display: none; gap: 2px; }
@media (min-width: 1280px) { .nav__links { display: flex; } }
.nav__link { position: relative; display: block; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: color 0.3s; }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); transform: scale(0); transition: transform 0.5s var(--ease); }
.nav__link.is-active::after { transform: scale(1); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { display: none; }
@media (min-width: 640px) { .nav__cta .btn { display: inline-flex; } }
.nav__burger { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(11 27 46 / 0.1); background: rgb(255 255 255 / 0.7); }
.nav__burger i { position: absolute; left: 12px; width: 20px; height: 1px; background: var(--ink); transition: transform 0.5s var(--ease); }
.nav__burger i:first-child { top: 18px; }
.nav__burger i:last-child { top: 25px; }
.nav.menu-open .nav__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.menu-open .nav__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (min-width: 1280px) { .nav__burger { display: none; } }
.menu { position: fixed; inset: 0; z-index: -1; background: var(--canvas); clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease); pointer-events: none; }
.menu::before { content: ''; position: absolute; inset: 0; opacity: 0.6; background-image: linear-gradient(to right, rgb(31 95 224 / 0.07) 1px, transparent 1px), linear-gradient(to bottom, rgb(31 95 224 / 0.07) 1px, transparent 1px); background-size: 48px 48px; }
.nav.menu-open .menu { clip-path: inset(0); pointer-events: auto; }
.menu ul { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 80px 24px 24px; }
.menu li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: all 0.7s var(--ease); }
.nav.menu-open .menu li { opacity: 1; transform: none; transition-delay: calc(0.12s + var(--i) * 0.04s); }
.menu a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font: 500 clamp(1.5rem, 6vw, 2rem) var(--f-display); letter-spacing: -0.02em; }
.menu small { font: 10px var(--f-mono); color: var(--ink-3); }

/* ---------- Hero ---------- */
.hero { position: relative; }
@media (min-width: 1024px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero__track { height: 300vh; }
  .hero__stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
}
.hero__stick { overflow: hidden; }
.bp-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bp-bg__grid { position: absolute; inset: -120px; animation: grid-drift 40s linear infinite; }
.bp-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 45%, rgb(246 247 249 / 0.97) 0%, rgb(246 247 249 / 0.6) 45%, rgb(246 247 249 / 0) 80%); }
.hero__grid { position: relative; display: grid; gap: 40px; padding-top: 120px; padding-bottom: 56px; min-height: 100svh; align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-top: 96px; padding-bottom: 32px; height: 100%; min-height: 100vh; }
}
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: rgb(255 255 255 / 0.75); font: 10px var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.ping { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.ping::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--amber); animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite; }
.hero__lead { margin-top: 24px; max-width: 34rem; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
@media (min-width: 768px) { .hero__lead { font-size: 18px; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__hint { display: none; align-items: center; gap: 16px; margin-top: 44px; }
@media (min-width: 1024px) { .hero__hint { display: flex; } }
.hero__hint .line { width: 56px; height: 1px; background: rgb(11 27 46 / 0.15); }
.mouse { position: relative; width: 20px; height: 34px; border: 1px solid rgb(11 27 46 / 0.3); border-radius: 99px; }
.mouse i { position: absolute; left: 50%; top: 6px; width: 1px; height: 8px; background: var(--ink); animation: float 2s ease-in-out infinite; }

.hero__visual { position: relative; }
.stage-frame { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 5; background: var(--mist); box-shadow: 0 50px 100px -50px rgb(11 27 46 / 0.55); }
@media (min-width: 1024px) { .stage-frame { aspect-ratio: auto; height: min(78vh, 720px); } }
.stage-frame__layer { position: absolute; inset: 0; }
.stage-frame__layer img, .civil__layer img, .elec__layer img, .sig__layer img { width: 100%; height: 100%; object-fit: cover; }
.stage-frame__layer + .stage-frame__layer { clip-path: inset(100% 0 0 0); }
.stage-frame__layer[data-stage='0'] img { filter: saturate(1.1) contrast(1.05); }
.scanline { position: absolute; left: 0; right: 0; top: 100%; height: 2px; background: var(--amber); box-shadow: 0 0 24px 4px rgb(242 154 46 / 0.65); opacity: 0; z-index: 4; pointer-events: none; }
.stage-frame .corners { --c: #fff; inset: 16px; }
.stage-frame__ruler { position: absolute; left: 28px; right: 28px; top: 26px; z-index: 4; display: flex; align-items: center; gap: 8px; color: #fff; font: 8.5px var(--f-mono); letter-spacing: 0.2em; opacity: 0.85; }
.stage-frame__ruler i { flex: 1; height: 1px; background: rgb(255 255 255 / 0.6); }
.stage-frame__cap, .civil__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; }
.ticks { display: flex; gap: 6px; }
.ticks i { width: 24px; height: 4px; border-radius: 99px; background: rgb(11 27 46 / 0.15); transition: background 0.5s; }
.ticks i.on { background: var(--blue); }

.hud { display: none; position: absolute; z-index: 6; flex-direction: column; gap: 8px; width: 220px; }
@media (min-width: 640px) { .hud { display: flex; right: -12px; top: 12%; } }
@media (min-width: 1024px) { .hud { right: -28px; top: 15%; width: 210px; } }
.hud__card { border-radius: 12px; padding: 13px 14px; }
.hud__card b { display: block; margin-top: 6px; font: 500 13px var(--f-mono); letter-spacing: 0.04em; }
.hud__card .tech { font-size: 9px; color: var(--ink-3); }
.hud__row { display: flex; align-items: center; justify-content: space-between; }
.hud__row .mono { font-size: 10px; color: var(--ink-2); }
.hud__card--dark { background: var(--ink); color: #fff; box-shadow: 0 20px 40px -20px rgb(11 27 46 / 0.7); }
.hud__card--dark .tech { color: rgb(255 255 255 / 0.6); }
.hud__card--dark .hud__row b { margin: 0; font-size: 15px; }
.bar { position: relative; display: block; height: 4px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: rgb(11 27 46 / 0.1); }
.bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); border-radius: 99px; background: var(--blue); }
.hud__card--dark .bar { background: rgb(255 255 255 / 0.15); }
.hud__card--dark .bar i { background: linear-gradient(90deg, var(--blue-2), var(--amber)); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.blink { animation: blink 1.6s steps(2, jump-none) infinite; }
.bolt { width: 12px; height: 12px; fill: var(--amber); }

/* ---------- About ---------- */
.about__head { display: grid; gap: 32px; }
@media (min-width: 1024px) { .about__head { grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; } }
.about__text { display: grid; gap: 20px; }
.about__text strong { font-weight: 500; color: var(--ink); }
.about__media { position: relative; display: grid; gap: 16px; margin-top: 64px; }
@media (min-width: 768px) { .about__media { grid-template-columns: 2fr 1fr; align-items: end; margin-top: 88px; } }
.about__main, .about__small { position: relative; overflow: hidden; border-radius: var(--radius); }
.about__main { aspect-ratio: 16 / 10; }
.about__small { aspect-ratio: 4 / 5; }
@media (min-width: 768px) { .about__small { margin-bottom: -48px; } }
.about__main img, .about__small img { width: 100%; height: 100%; object-fit: cover; }
.img-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 6px 10px; border-radius: 99px; background: rgb(11 27 46 / 0.75); color: #fff; font-size: 9px; }
.about__coord { position: absolute; right: 0; top: -28px; display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 9px; }
.about__coord i { width: 40px; height: 1px; background: var(--blue); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 24px; margin-top: 96px; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); margin-top: 120px; } }
.stat { position: relative; }
.stat__rule { display: block; height: 1px; background: rgb(11 27 46 / 0.15); transform-origin: left; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; width: 32px; height: 1px; background: var(--blue); }
.stat .tech { margin-top: 20px; color: var(--ink-3); }
.stat__num { margin: 12px 0 8px; font: 600 clamp(3rem, 6vw, 4.6rem) / 1 var(--f-display); letter-spacing: -0.04em; }
.stat__num em { color: var(--amber); }
.stat__num small { margin-left: 8px; font-size: 0.35em; font-weight: 500; color: var(--ink-3); vertical-align: top; letter-spacing: -0.01em; }
.stat__txt { margin: 12px 0 8px; font: 600 clamp(1.5rem, 2.6vw, 2.1rem) / 1.12 var(--f-display); letter-spacing: -0.03em; }
.stat .muted { font-size: 14px; }

/* ---------- Capabilities ---------- */
.bp-fade { position: absolute; inset: 0; pointer-events: none; opacity: 0.6; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 60%); mask-image: linear-gradient(to bottom, #000, transparent 60%); background-image: linear-gradient(to right, rgb(31 95 224 / 0.07) 1px, transparent 1px), linear-gradient(to bottom, rgb(31 95 224 / 0.07) 1px, transparent 1px); background-size: 120px 120px; }
.caps { display: grid; gap: 24px; }
@media (min-width: 768px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .caps { grid-template-columns: repeat(3, 1fr); } }
.cap { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); outline: none; transition: border-color 0.5s, box-shadow 0.5s; will-change: transform; }
.cap:hover, .cap:focus-visible { border-color: rgb(31 95 224 / 0.35); box-shadow: 0 30px 80px -30px rgb(31 95 224 / 0.35); }
.cap__conn { position: absolute; background: rgb(31 95 224 / 0.5); transition: transform 0.7s var(--ease); pointer-events: none; }
.cap__conn--t { left: 50%; top: 0; width: 1px; height: 24px; transform: translateY(-100%) scaleY(0); transform-origin: bottom; }
.cap__conn--b { left: 50%; bottom: 0; width: 1px; height: 24px; transform: translateY(100%) scaleY(0); transform-origin: top; }
.cap__conn--l { top: 50%; left: 0; height: 1px; width: 24px; transform: translateX(-100%) scaleX(0); transform-origin: right; }
.cap__conn--r { top: 50%; right: 0; height: 1px; width: 24px; transform: translateX(100%) scaleX(0); transform-origin: left; }
.cap:hover .cap__conn--t { transform: translateY(-100%) scaleY(1); }
.cap:hover .cap__conn--b { transform: translateY(100%) scaleY(1); }
.cap:hover .cap__conn--l { transform: translateX(-100%) scaleX(1); }
.cap:hover .cap__conn--r { transform: translateX(100%) scaleX(1); }
.cap__img { position: relative; overflow: hidden; margin: 8px 8px 0; border-radius: 12px; aspect-ratio: 16 / 10; background: var(--mist); }
.cap__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.85) contrast(1.05); transform: scale(1.02); transition: filter 0.8s var(--ease), transform 1.2s var(--ease); }
.cap:hover .cap__img img, .cap:focus-visible .cap__img img { filter: none; transform: scale(1.08); }
.cap__grid { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease); background-image: linear-gradient(to right, rgb(255 255 255 / 0.25) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.25) 1px, transparent 1px); background-size: 32px 32px; }
.cap .corners { --c: #fff; opacity: 0; transform: scale(1.06); transition: all 0.7s var(--ease); }
.cap:hover .cap__grid, .cap:hover .corners { opacity: 1; transform: none; }
.cap__measure { position: absolute; left: 20px; right: 20px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 8.5px; opacity: 0; transform: translateY(6px); transition: all 0.7s var(--ease); }
.cap__measure i { flex: 1; height: 1px; background: rgb(255 255 255 / 0.7); }
.cap:hover .cap__measure { opacity: 1; transform: none; }
.cap__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.cap__top { display: flex; justify-content: space-between; color: var(--ink-3); }
.cap__code { transition: color 0.4s; }
.cap:hover .cap__code { color: var(--blue); }
.cap h3 { margin-top: 18px; font-size: 1.6rem; text-transform: uppercase; }
.cap p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.cap__rule { display: block; width: 32px; height: 1px; margin-top: auto; padding-top: 0; background: rgb(11 27 46 / 0.3); transition: all 0.7s var(--ease); }
.cap p + .cap__rule { margin-top: 24px; }
.cap:hover .cap__rule { width: 72px; background: var(--blue); }

/* ---------- Civil ---------- */
.civil { display: grid; gap: 48px; }
@media (min-width: 1024px) { .civil { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (min-width: 1024px) { .civil__visual { position: sticky; top: 96px; height: calc(100vh - 128px); align-self: start; } }
.civil__frame { position: relative; height: 70vh; min-height: 420px; max-height: 720px; overflow: hidden; border-radius: 22px; background: var(--mist); }
@media (min-width: 1024px) { .civil__frame { height: 100%; max-height: none; } }
.civil__layer { position: absolute; inset: 0; }
.civil__layer + .civil__layer { clip-path: inset(100% 0 0 0); }
.civil__frame .corners { --c: #fff; }
.civil__copy { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1024px) { .civil__copy { padding-top: 32px; } }
.scope { display: grid; gap: 20px; margin: 16px 0 8px; }
@media (min-width: 1024px) { .scope { gap: 16vh; padding-bottom: 8vh; } }
.scope__card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(246 247 249 / 0.6); }
.scope__head { display: flex; justify-content: space-between; align-items: baseline; }
.scope__head h3 { font-size: 1.6rem; }
.scope__head .tech { color: var(--ink-3); }
.scope ul { display: grid; gap: 0 24px; margin-top: 20px; }
@media (min-width: 640px) { .scope ul { grid-template-columns: 1fr 1fr; } }
.scope li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.scope li i { width: 6px; height: 6px; background: var(--blue); transform: rotate(45deg); transition: transform 0.5s, background 0.5s; }
.scope li:hover i { transform: rotate(135deg); background: var(--amber); }
.civil__copy > .btn { align-self: flex-start; }

/* ---------- Electrical ---------- */
.elec { position: relative; background: var(--canvas); }
@media (min-width: 1024px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .elec__track { height: 320vh; }
  .elec__stick { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
}
.elec__stick { padding: 96px 0; }
@media (min-width: 1024px) { .elec__stick { padding: 80px 0 24px; } }
.elec__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .elec__grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; } }
.elec__copy .lead { margin-top: 20px; }
.elec__steps { margin-top: 32px; display: grid; gap: 4px; position: relative; }
.elec__steps::before { content: ''; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.elec__step { position: relative; display: flex; gap: 18px; padding: 12px 0; cursor: default; }
.elec__node { position: relative; z-index: 1; flex: none; width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--line); background: var(--canvas); display: flex; align-items: center; justify-content: center; transition: all 0.5s; }
.elec__node i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: all 0.5s; }
.elec__step.is-on .elec__node { border-color: var(--amber); box-shadow: 0 0 0 6px rgb(242 154 46 / 0.15), 0 0 18px rgb(242 154 46 / 0.6); }
.elec__step.is-on .elec__node i { background: var(--amber); }
.elec__step .tech { color: var(--ink-3); }
.elec__step h3 { font-size: 1.25rem; margin-top: 2px; color: rgb(11 27 46 / 0.58); transition: color 0.5s; }
.elec__step p { max-height: 0; overflow: hidden; font-size: 14px; color: var(--ink-2); transition: max-height 0.7s var(--ease), margin 0.7s; }
.elec__step.is-on h3 { color: var(--ink); }
.elec__step.is-on p { max-height: 80px; margin-top: 6px; }
.elec__frame { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 4 / 3; background: var(--ink); box-shadow: 0 50px 100px -50px rgb(11 27 46 / 0.6); }
@media (min-width: 1024px) { .elec__frame { aspect-ratio: auto; height: min(74vh, 700px); } }
.elec__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.elec__layer.is-on { opacity: 1; }
.elec__layer img { transform: scale(1.06); transition: transform 6s linear; }
.elec__layer.is-on img { transform: scale(1); }
.elec__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 27 46 / 0) 50%, rgb(11 27 46 / 0.55)); pointer-events: none; }
.elec__circuit { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); z-index: 3; pointer-events: none; overflow: visible; }
.elec__circuit rect { fill: none; stroke: var(--amber-2); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgb(246 183 60 / 0.9)); }
.elec__badge { position: absolute; right: 20px; top: 20px; z-index: 4; width: 180px; padding: 12px 14px; border-radius: 12px; }
.elec__badge .tech { font-size: 9px; color: var(--ink-3); }
.elec__badge b { float: right; font-size: 13px; }
.elec__badge .bar i { background: linear-gradient(90deg, var(--amber), var(--amber-2)); }
.elec__tag { position: absolute; left: 24px; bottom: 22px; z-index: 4; color: #fff; font-size: 11px; display: flex; align-items: center; gap: 10px; }
.elec__tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }

/* ---------- Process ---------- */
.proc { position: relative; max-width: 1080px; margin: 80px auto 0; }
.proc__rail { position: absolute; left: 27px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.proc__rail i { position: absolute; inset: 0; transform-origin: top; transform: scaleY(0); background: linear-gradient(var(--blue), var(--blue) 70%, var(--amber)); }
@media (min-width: 768px) { .proc__rail { left: 50%; } }
.proc__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 56px; }
.proc__step:last-child { padding-bottom: 0; }
@media (min-width: 768px) {
  .proc__step { grid-template-columns: 1fr 56px 1fr; gap: 40px; padding-bottom: 72px; }
  .proc__num { grid-column: 2; grid-row: 1; }
  .proc__step--l .proc__card { grid-column: 1; grid-row: 1; }
  .proc__step--r .proc__card { grid-column: 3; grid-row: 1; }
  .proc__step--l .proc__txt { text-align: right; }
}
.proc__num { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font: 14px var(--f-mono); color: var(--ink-3); transition: all 0.7s var(--ease); }
.proc__step.is-active .proc__num { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 8px rgb(31 95 224 / 0.1); }
.proc__card { display: grid; gap: 16px; }
.proc__img { overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 9; background: var(--mist); }
.proc__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.08); transition: filter 1s var(--ease), transform 1.4s var(--ease); }
.proc__step.is-active .proc__img img { filter: none; transform: scale(1); }
.proc__txt .tech { color: var(--ink-3); }
.proc__txt h3 { margin-top: 6px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.proc__txt p { margin-top: 6px; color: var(--ink-2); }
@media (min-width: 768px) { .proc__step--l .proc__txt p { margin-left: auto; } }
.proc__txt p { max-width: 26rem; }

/* ---------- Projects ---------- */
.projects { position: relative; background: var(--canvas); }
.projects__pin { padding: 96px 0; overflow: hidden; }
@media (min-width: 1024px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .projects__pin { height: 100vh; padding: 88px 0 0; display: flex; flex-direction: column; justify-content: center; }
}
.projects__head { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .projects__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.projects__count { flex: none; display: flex; align-items: center; gap: 16px; padding-bottom: 6px; white-space: nowrap; }
.projects__count .bar { width: 128px; height: 1px; margin: 0; }
.projects__track { display: flex; gap: 20px; margin-top: 40px; padding: 0 var(--gutter) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.projects__track::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .projects__track { width: max-content; overflow: visible; scroll-snap-type: none; padding-left: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); }
  .swipe-hint { display: none; }
}
.swipe-hint { margin-top: 12px; }
.pcard-wrap { flex: none; scroll-snap-align: start; }
.pcard { position: relative; display: flex; flex-direction: column; width: min(82vw, 400px); height: 540px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); text-align: left; transition: box-shadow 0.5s; }
@media (min-width: 1024px) { .pcard { height: min(580px, 64vh); } }
.pcard:hover { box-shadow: 0 40px 90px -40px rgb(11 27 46 / 0.5); }
.pcard__media { position: relative; display: block; height: 64%; overflow: hidden; background: var(--mist); }
.pcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img, .pcard:focus-visible .pcard__img { transform: scale(1.07); }
.pcard__grid { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; background-image: linear-gradient(to right, rgb(255 255 255 / 0.28) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / 0.28) 1px, transparent 1px); background-size: 40px 40px; }
.pcard__bp { position: absolute; inset: 14px; border: 1px solid rgb(255 255 255 / 0.9); clip-path: inset(0 100% 100% 0); transition: clip-path 1.2s var(--ease); }
.pcard:hover .pcard__grid, .pcard:focus-visible .pcard__grid { opacity: 1; }
.pcard:hover .pcard__bp, .pcard:focus-visible .pcard__bp { clip-path: inset(0 0 0 0); }
.pcard__pin { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; font-size: 9px; color: var(--ink); opacity: 0; transform: translateY(8px); transition: all 0.6s var(--ease); }
.pcard__pin svg { width: 13px; height: 13px; fill: none; stroke: var(--amber); stroke-width: 1.4; }
.pcard:hover .pcard__pin, .pcard:focus-visible .pcard__pin { opacity: 1; transform: none; }
.pcard__cat { position: absolute; right: 14px; top: 14px; padding: 6px 10px; border-radius: 99px; background: rgb(11 27 46 / 0.8); color: #fff; font-size: 9px; }
.pcard__rep { position: absolute; right: 14px; bottom: 14px; padding: 4px 8px; border-radius: 99px; background: rgb(255 255 255 / 0.85); color: var(--ink-3); font-size: 8px; }
.pcard__body { display: flex; flex-direction: column; justify-content: space-between; flex: 1; padding: 20px 24px 24px; }
.pcard__row { display: flex; justify-content: space-between; align-items: flex-end; }
.pcard__num { font: 600 2.2rem/1 var(--f-display); color: rgb(11 27 46 / 0.15); transform-origin: left bottom; transition: transform 0.8s var(--ease), color 0.4s; }
.pcard:hover .pcard__num { transform: scale(1.45); color: var(--amber); }
.pcard__go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all 0.5s; }
.pcard__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pcard:hover .pcard__go { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.pcard__title { display: block; transition: transform 0.8s var(--ease); }
.pcard:hover .pcard__title { transform: translateY(-8px); }
.pcard__title h3 { font-size: 1.4rem; line-height: 1.2; }
.pcard__title span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 14px; color: var(--ink-3); }

.panel { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.panel.is-open { pointer-events: auto; }
.panel__scrim { position: absolute; inset: 0; background: rgb(11 27 46 / 0.4); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.5s; }
.panel.is-open .panel__scrim { opacity: 1; }
.panel__box { position: absolute; top: 0; right: 0; bottom: 0; width: 100%; max-width: 640px; overflow-y: auto; background: var(--paper); box-shadow: -30px 0 80px -20px rgb(11 27 46 / 0.4); transform: translateX(105%); visibility: hidden; transition: transform 0.8s var(--ease), visibility 0s 0.8s; }
.panel.is-open .panel__box { transform: none; visibility: visible; transition: transform 0.8s var(--ease), visibility 0s; }
.panel__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 0.9); backdrop-filter: blur(8px); }
.panel__bar > div { display: flex; gap: 8px; }
.panel__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.panel__media img { width: 100%; height: 100%; object-fit: cover; }
.panel__media .corners { --c: #fff; inset: 16px; }
.panel__media .pcard__rep { left: auto; right: 16px; top: auto; bottom: 16px; }
.panel__txt { padding: 28px 24px 48px; display: grid; gap: 14px; justify-items: start; }
@media (min-width: 768px) { .panel__txt { padding: 40px; } }
.panel__txt h3 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.1; }
.panel__loc::before { content: '⌖ '; color: var(--amber); }
.panel__dl { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 12px 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.panel__dl > div { background: var(--paper); padding: 14px 16px; }
.panel__dl .full { grid-column: span 2; }
.panel__dl dt { color: var(--ink-3); }
.panel__dl dd { margin: 6px 0 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.panel__dl dd span { padding: 4px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--canvas); font-size: 13px; }
.panel__content { animation: fadein 0.6s var(--ease); }

/* ---------- Signature sequence ---------- */
.sig { position: relative; background: var(--ink); }
.sig__track { height: 400vh; }
.sig__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.sig__layer { position: absolute; inset: 0; overflow: hidden; }
.sig__layer + .sig__layer { clip-path: inset(50% 50% 50% 50% round 24px); }
.sig__layer img { transform: scale(1.15); }
.sig__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 27 46 / 0.85) 0%, rgb(11 27 46 / 0.35) 55%, rgb(11 27 46 / 0.1) 100%), linear-gradient(0deg, rgb(11 27 46 / 0.6), transparent 40%); }
.sig__hud { position: absolute; inset: 0; pointer-events: none; }
.sig__hud .corners { --c: rgb(255 255 255 / 0.7); --s: 22px; inset: 24px; }
.sig__cross { position: absolute; right: 18%; top: 34%; width: 72px; height: 72px; border: 1px solid rgb(255 255 255 / 0.6); border-radius: 50%; }
.sig__cross::before, .sig__cross::after { content: ''; position: absolute; background: rgb(255 255 255 / 0.6); }
.sig__cross::before { left: -24px; right: -24px; top: 50%; height: 1px; }
.sig__cross::after { top: -24px; bottom: -24px; left: 50%; width: 1px; }
.sig__coord { position: absolute; right: calc(18% - 30px); top: calc(34% + 88px); color: rgb(255 255 255 / 0.8); font-size: 9px; }
.sig__ui { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 110px; padding-bottom: 48px; }
.sig__ui .h-lg { margin-top: 12px; max-width: 12ch; }
.sig__ui .h-lg em { color: var(--amber); }
.sig__steps { display: grid; gap: 4px; max-width: 420px; }
.sig__step { display: flex; gap: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid transparent; color: #fff; transition: all 0.6s var(--ease); }
.sig__step .mono { font-size: 12px; color: rgb(255 255 255 / 0.5); padding-top: 4px; }
.sig__step h3 { font-size: 1.2rem; text-transform: uppercase; color: rgb(255 255 255 / 0.62); transition: color 0.5s; }
.sig__step p { max-height: 0; overflow: hidden; font-size: 14px; color: rgb(255 255 255 / 0.75); transition: max-height 0.7s var(--ease), margin 0.7s; }
.sig__step.is-on { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.2); backdrop-filter: blur(12px); }
.sig__step.is-on h3 { color: #fff; }
.sig__step.is-on .mono { color: var(--amber); }
.sig__step.is-on p { max-height: 90px; margin-top: 6px; }
@media (max-width: 1023px) { .sig__step:not(.is-on) { display: none; } }
.sig__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; height: 1px; background: rgb(255 255 255 / 0.2); }
.sig__progress i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--amber); }

/* ---------- Certifications ---------- */
.certs { background: linear-gradient(var(--mist), var(--canvas)); }
.certs .bp-grid { opacity: 0.7; }
.certs__glow { position: absolute; left: 50%; top: 30%; width: 900px; height: 480px; margin-left: -450px; border-radius: 50%; background: rgb(31 95 224 / 0.1); filter: blur(120px); pointer-events: none; }
.certs__grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .certs__grid { grid-template-columns: 1fr 1fr; } }
.cert { position: relative; padding: 28px; border-radius: 26px; border: 1px solid rgb(255 255 255 / 0.75); background: rgb(255 255 255 / 0.55); backdrop-filter: blur(20px); box-shadow: 0 20px 60px -30px rgb(11 27 46 / 0.25); transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
@media (min-width: 768px) { .cert { padding: 36px; } }
.cert:hover { transform: translateY(-8px); box-shadow: 0 50px 100px -40px rgb(11 27 46 / 0.45); }
.cert__head { display: flex; justify-content: space-between; gap: 16px; }
.cert__head h3 { margin-top: 8px; font-size: clamp(1.5rem, 2.4vw, 1.8rem); }
.cert__head p { margin-top: 4px; }
.cert__seal { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; transition: transform 0.7s var(--ease); }
.cert__seal svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.5; }
.cert:hover .cert__seal { transform: rotate(20deg); }
.cert__stage { position: relative; display: flex; justify-content: center; margin-top: 32px; perspective: 1200px; }
.cert__stage .corners { inset: -12px 12%; opacity: 0; transition: all 0.7s var(--ease); }
.cert:hover .cert__stage .corners { inset: -20px 9%; opacity: 1; }
.cert__doc { position: relative; width: 72%; max-width: 300px; aspect-ratio: 1 / 1.414; overflow: hidden; border-radius: 3px; background: #fff; box-shadow: 0 10px 30px -12px rgb(11 27 46 / 0.35), 0 1px 0 #fff inset; transform: rotateX(6deg) rotateZ(-1.5deg); transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease); }
.cert:hover .cert__doc { transform: scale(1.04); box-shadow: 0 30px 60px -20px rgb(11 27 46 / 0.45); }
.cert__doc img { width: 100%; height: 100%; object-fit: cover; }
.doc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 11% 12%; background: #fbfaf7; }
.doc::before, .doc::after { content: ''; position: absolute; border: 1px solid #d9cfb8; inset: 5%; }
.doc::after { inset: 6.5%; border-color: #e7dfcc; }
.doc__seal { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #b89b5e; box-shadow: inset 0 0 0 4px #fbfaf7, inset 0 0 0 5px rgb(184 155 94 / 0.5); }
.doc__title { position: relative; margin-top: 14px; text-align: center; font: 600 14px/1.2 var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; }
.doc__lines { width: 100%; margin-top: 16px; display: grid; gap: 8px; justify-items: center; }
.doc__lines i { height: 5px; border-radius: 4px; background: rgb(11 27 46 / 0.07); width: 100%; }
.doc__lines i:nth-child(2) { width: 86%; } .doc__lines i:nth-child(3) { width: 94%; } .doc__lines i:nth-child(4) { width: 70%; } .doc__lines i:nth-child(5) { width: 80%; }
.doc__foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; }
.doc__foot i { width: 60px; height: 1px; background: rgb(11 27 46 / 0.2); }
.doc__foot b { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgb(184 155 94 / 0.4); }
.doc__note { position: absolute; left: 0; right: 0; bottom: 2.5%; text-align: center; font-size: 7.5px; color: var(--ink-3); }
.cert__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Why ---------- */
.why { display: grid; gap: 56px; }
@media (min-width: 1024px) { .why { grid-template-columns: 5fr 7fr; gap: 72px; } .why__stick { position: sticky; top: 110px; } }
.why__img { position: relative; margin-top: 36px; overflow: hidden; border-radius: 22px; aspect-ratio: 5 / 4; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__dial { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 16px; }
.why__dial svg { width: 72px; height: 72px; transform: rotate(-90deg); }
.why__dial circle { fill: none; stroke-width: 7; }
.why__dial .track { stroke: rgb(11 27 46 / 0.08); }
.why__dial .arc { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0.08; }
.why__dial b { display: block; font: 600 2.2rem/1 var(--f-display); letter-spacing: -0.03em; }
.why__dial .tech { font-size: 9px; color: var(--ink-3); }
.why__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; }
.why__facts dt { color: var(--ink-3); font-size: 9px; }
.why__facts dd { margin: 4px 0 0; font: 600 1.15rem/1.2 var(--f-display); }
.why__list { align-self: start; }
.why__row { display: flex; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.why__row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .why__row { gap: 32px; padding: 28px 0; } }
.why__row .mono { font-size: 12px; }
.why__check { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all 0.5s; }
.why__check svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 0; }
.why__row:hover .why__check { background: var(--blue); border-color: var(--blue); }
.why__row:hover .why__check svg { stroke: #fff; }
.why__txt { flex: 1; font: 500 clamp(1.2rem, 2vw, 1.55rem)/1.25 var(--f-display); letter-spacing: -0.02em; transition: transform 0.5s var(--ease); }
.why__row:hover .why__txt { transform: translateX(8px); }
.why__bar { display: none; position: relative; width: 96px; height: 1px; background: rgb(11 27 46 / 0.1); }
.why__bar i { position: absolute; inset: 0; background: rgb(31 95 224 / 0.6); transform-origin: left; }
@media (min-width: 768px) { .why__bar { display: block; } }

/* ---------- International ---------- */
.intl { display: grid; gap: 20px; }
@media (min-width: 1024px) { .intl { grid-template-columns: 2fr 1fr; } }
.map { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.map::before { content: ''; position: absolute; inset: 0; opacity: 0.6; background-image: linear-gradient(to right, rgb(31 95 224 / 0.06) 1px, transparent 1px), linear-gradient(to bottom, rgb(31 95 224 / 0.06) 1px, transparent 1px); background-size: 48px 48px; }
.map__inner { position: relative; width: 240%; transform: translateX(-31%); aspect-ratio: 170 / 100; }
@media (min-width: 768px) { .map__inner { width: 100%; transform: none; } }
@media (min-width: 1024px) { .map { display: flex; align-items: center; } .map__inner { width: 135%; transform: translateX(-20%); } }
.map__dots, .map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__route { fill: none; stroke: var(--blue); stroke-width: 0.35; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.map__flow { fill: none; stroke: var(--amber); stroke-width: 0.5; stroke-linecap: round; stroke-dasharray: 0.6 3; opacity: 0; animation: dash 24s linear infinite; }
.map__mover { fill: var(--amber); }
.map .halo { fill: rgb(31 95 224 / 0.08); stroke: var(--blue); stroke-width: 0.2; stroke-dasharray: 0.8 0.8; }
.map__hq .halo { fill: rgb(242 154 46 / 0.15); stroke: none; }
.map .core { fill: var(--blue); }
.map__hq .core { fill: var(--amber); stroke: #fff; stroke-width: 0.35; }
.map .pulse { fill: none; stroke: var(--blue); stroke-width: 0.3; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.map__hq .pulse { stroke: var(--amber); }
.map__label { position: absolute; padding: 8px 12px; border-radius: 10px; font-size: 13px; transform: translate(-50%, 18px); white-space: nowrap; }
.map__label b { display: block; }
.map__label .tech { font-size: 9px; }
.intl__cards { display: grid; gap: 20px; }
@media (min-width: 640px) and (max-width: 1023px) { .intl__cards { grid-template-columns: 1fr 1fr; } }
.intl__card { position: relative; overflow: hidden; border-radius: 24px; min-height: 300px; color: #fff; }
.intl__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.intl__card:hover img { transform: scale(1.06); }
.intl__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 27 46 / 0.88), rgb(11 27 46 / 0.1) 70%); }
.intl__card figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; display: grid; gap: 6px; }
.intl__card b { font: 600 1.35rem var(--f-display); }
.intl__card ul, .intl__card p { font-size: 13px; color: rgb(255 255 255 / 0.8); display: grid; gap: 3px; }
.intl__card .amber, .intl__card .blue { color: var(--amber-2); }

/* ---------- Clients ---------- */
#clients .sec-head { margin-bottom: 56px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.client { flex: none; width: 280px; height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 20px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: all 0.5s var(--ease); }
.client b { font: 600 1.3rem var(--f-display); letter-spacing: -0.02em; color: rgb(11 27 46 / 0.75); transition: color 0.4s; }
.client .tech { font-size: 9px; color: var(--ink-3); }
.client:hover { transform: translateY(-4px); border-color: rgb(31 95 224 / 0.4); box-shadow: 0 20px 50px -25px rgb(31 95 224 / 0.5); }
.client:hover b { color: var(--ink); }
.client:hover .tech { color: var(--blue); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 48px; }
@media (min-width: 1024px) { .faq { grid-template-columns: 4fr 8fr; } }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item button { width: 100%; display: flex; align-items: center; gap: 20px; padding: 26px 0; text-align: left; }
.faq__q { flex: 1; font: 500 clamp(1.1rem, 2vw, 1.5rem)/1.3 var(--f-display); letter-spacing: -0.02em; transition: color 0.3s; }
.faq__item button:hover .faq__q { color: var(--blue); }
.faq__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all 0.5s var(--ease); }
.faq__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.5s var(--ease); }
.faq__icon .v { transform-box: fill-box; transform-origin: center; transition: transform 0.5s var(--ease); }
.faq__item[data-open='true'] .faq__icon { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq__item[data-open='true'] .faq__icon svg { transform: rotate(180deg); }
.faq__item[data-open='true'] .faq__icon .v { transform: rotate(90deg) scaleY(0); }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.faq__item[data-open='true'] .faq__body { grid-template-rows: 1fr; }
.faq__body > div { overflow: hidden; }
.faq__body p { max-width: 42rem; padding: 0 0 30px 42px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }

/* ---------- CTA / Contact ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta__bg { position: absolute; inset: 0; }
.cta__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 27 46 / 0.55), rgb(11 27 46 / 0.8) 45%, var(--ink) 75%); }
.cta__bg .bp-grid { opacity: 0.8; }
.cta__hero { position: relative; padding-top: 140px; padding-bottom: 96px; text-align: center; }
@media (min-width: 768px) { .cta__hero { padding-top: 200px; padding-bottom: 128px; } }
.cta__hero .h-cta { margin: 24px auto 0; max-width: 16ch; }
.cta__hero .lead { max-width: 36rem; margin: 28px auto 0; color: rgb(255 255 255 / 0.75); }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
#enquiry { position: relative; padding-bottom: 96px; }
.enquiry { display: grid; gap: 40px; padding: 28px; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 26px; background: rgb(255 255 255 / 0.05); backdrop-filter: blur(12px); }
@media (min-width: 1024px) { .enquiry { grid-template-columns: 4fr 8fr; padding: 44px; } }
.enquiry__info h3 { margin-top: 12px; font-size: 2rem; }
.enquiry__info p { margin-top: 12px; }
.enquiry__info dl { margin: 32px 0 0; font-size: 14px; }
.enquiry__info dt { color: rgb(255 255 255 / 0.6); }
.enquiry__info dd { margin: 4px 0 0; }
.enquiry__form { display: grid; gap: 16px; }
@media (min-width: 640px) { .enquiry__form { grid-template-columns: 1fr 1fr; } .enquiry__form .full { grid-column: span 2; } }
.enquiry__form label .tech { display: block; margin-bottom: 8px; color: rgb(255 255 255 / 0.6); }
.enquiry__form input, .enquiry__form select, .enquiry__form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgb(255 255 255 / 0.15); background: rgb(255 255 255 / 0.06); color: #fff; font: 15px var(--f-sans); outline: none; transition: border-color 0.3s, background 0.3s; }
.enquiry__form select { appearance: none; }
.enquiry__form option { color: var(--ink); }
.enquiry__form ::placeholder { color: rgb(255 255 255 / 0.45); }
.enquiry__form input:focus, .enquiry__form select:focus, .enquiry__form textarea:focus { border-color: var(--amber); background: rgb(255 255 255 / 0.1); }
.enquiry__form .is-invalid { border-color: #ff8a7a; }
.enquiry__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 14px; color: rgb(255 255 255 / 0.7); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: 80px; background: var(--paper); border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 48px; padding-bottom: 56px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 4fr 2fr 3fr 3fr; } }
.footer__brand p { margin-top: 24px; max-width: 24rem; color: var(--ink-2); }
.footer__brand strong { color: var(--ink); font-weight: 600; }
.footer h3 { color: var(--ink-3); }
.footer ul { margin-top: 20px; display: grid; gap: 10px; }
.footer li a { font-size: 15px; color: var(--ink-2); transition: color 0.3s; }
.footer li a:hover { color: var(--ink); }
.footer address { margin-top: 20px; font-style: normal; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.footer address .tech { display: block; margin-top: 12px; }
.footer .link-arrow { margin-top: 20px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.footer__word { font: 600 clamp(5rem, 22vw, 17rem)/0.8 var(--f-display); letter-spacing: -0.05em; background: linear-gradient(rgb(11 27 46 / 0.08), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom .wrap { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--ink-3); }
@media (min-width: 768px) { .footer__bottom .wrap { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Keyframes ---------- */
@keyframes grid-drift { to { transform: translate3d(-120px, -120px, 0); } }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes float { 50% { transform: translateY(8px); } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes dash { to { stroke-dashoffset: -200; } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes fadein { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .map__mover { display: none; }
  .sig__track { height: auto; }
  .sig__stick { position: relative; height: auto; }
  .sig__layer + .sig__layer { clip-path: none; }
  .sig__ui { min-height: 100svh; }
  .sig__step p { max-height: none; margin-top: 6px; }
  .sig__step h3 { color: #fff; }
  .sig__step { display: flex !important; }
  .stage-frame__layer + .stage-frame__layer, .civil__layer + .civil__layer { clip-path: none; }
  .proc__img img { filter: none; transform: none; }
}
