/* =========================================================================
   Urban Forge Construction — design system & site styles
   Brand: navy #1A3460 (logo "Urban"), forge orange #D56B43 (logo "Forge")
   ========================================================================= */

:root {
  /* brand */
  --navy-950: #0a1426;
  --navy-900: #0e1b33;
  --navy-800: #132647;
  --navy: #1a3460;
  --navy-600: #24457d;
  --navy-400: #5a77a8;
  --forge: #d56b43;
  --forge-600: #bf5631;
  --forge-400: #e58a64;
  --forge-200: #f5c6b0;
  --forge-50: #fcf2ec;

  /* steel neutrals */
  --ink: #0f1626;
  --ink-2: #2a3245;
  --muted: #5d6576;
  --steel-400: #9aa2b1;
  --steel-300: #c7ccd5;
  --steel-200: #e3e6eb;
  --steel-100: #eef0f3;
  --paper: #f6f6f4;
  --white: #ffffff;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Lexend", "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 40px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 2px 6px rgba(14, 27, 51, .06), 0 1px 2px rgba(14, 27, 51, .05);
  --shadow: 0 18px 40px -18px rgba(14, 27, 51, .28), 0 4px 10px -4px rgba(14, 27, 51, .08);
  --shadow-lg: 0 40px 80px -30px rgba(14, 27, 51, .35);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 92px;

  /* texture: drafting grid (dark), survey dots (light), hazard hatch (accent), column rules (layout) */
  --pat-grid: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
              linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px);
  --pat-grid-size: 34px 34px, 34px 34px, 170px 170px, 170px 170px;
  --pat-dots: radial-gradient(rgba(26,52,96,.11) 1px, transparent 1.6px);
  --pat-dots-size: 22px 22px;
  --pat-hatch: repeating-linear-gradient(135deg, rgba(255,255,255,.1) 0 1px, transparent 1px 9px);
  --pat-hatch-tint: repeating-linear-gradient(135deg, rgba(191,86,49,.07) 0 1px, transparent 1px 11px);
  --rule: rgba(26,52,96,.065);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--forge); color: #fff; }
:focus-visible { outline: 2px solid var(--forge); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display);
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--forge);
}
.eyebrow::before, .eyebrow--both::after {
  content: ""; width: 26px; height: 0; border-top: 2px dashed currentColor; opacity: .9;
}
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 600; }
.h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -.015em; }
.lede { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 52ch; }
.text-forge { color: var(--forge); }
.text-outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { text-align: center; display: grid; justify-items: center; gap: 18px; }
.section-head--center .lede { margin-inline: auto; }
.section-head--split { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 24px 64px; align-items: end; }
.section-head .h2 { margin-top: 14px; }

/* line-by-line heading reveal */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * .09s + var(--d, 0s)); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }
.img-reveal > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-out), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.img-reveal > .obj { clip-path: none; opacity: 0; transition: opacity 1s var(--ease) .9s; }
.img-reveal.is-in > * { clip-path: inset(0 0 0 0); }
.img-reveal.is-in > .obj { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--forge); --fg: #fff;
  display: inline-flex; align-items: center; gap: 14px; padding: 7px 7px 7px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-family: var(--font-display); font-weight: 500;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(213, 107, 67, .7); position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--navy-900); transform: translateX(-101%); transition: transform .6s var(--ease-out); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(14, 27, 51, .6); }
.btn__ic {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-900); color: #fff; transition: background .5s var(--ease), transform .5s var(--ease);
}
.btn:hover .btn__ic { background: var(--forge); transform: rotate(45deg); }
.btn__ic svg { width: 14px; height: 14px; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--steel-300); }
.btn--ghost:hover { --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); box-shadow: none; }
.btn--light:hover { --fg: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; padding-bottom: 4px; border-bottom: 1.5px solid currentColor; transition: gap .4s var(--ease); }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 16px; }

.arrow-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--forge); color: #fff; display: grid; place-items: center; flex: none; transition: transform .5s var(--ease), background .4s; }
.arrow-dot svg { width: 13px; height: 13px; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; background: var(--navy-900); display: grid; place-items: center; color: #fff; transition: transform 1.1s var(--ease-out) .1s, visibility 0s 1.3s; }
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: 84px; animation: pl-pulse 1.4s var(--ease) infinite alternate; }
.preloader__bar { width: 180px; height: 2px; background: rgba(255,255,255,.15); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--forge); transition: width .3s; }
.preloader__count { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .2em; color: rgba(255,255,255,.6); }
@keyframes pl-pulse { from { transform: translateY(4px); opacity: .7; } to { transform: translateY(-4px); opacity: 1; } }

/* ---------- header ---------- */
.header { position: fixed; inset: 18px 0 auto; z-index: 100; transition: transform .6s var(--ease), inset .5s var(--ease); }
.header.is-hidden { transform: translateY(-140%); }
.header__inner { display: flex; align-items: center; gap: 16px; }
.nav-pill {
  display: flex; align-items: center; gap: 28px; padding: 10px 26px 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); color: #fff;
  transition: background .5s, border-color .5s, color .5s, box-shadow .5s;
}
.brand { display: flex; align-items: center; padding-right: 22px; border-right: 1px solid currentColor; border-color: rgba(255,255,255,.35); }
.brand img { height: 38px; width: auto; }
.brand .logo-dark { display: none; }
.nav { display: flex; gap: 26px; font-size: .88rem; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; opacity: .92; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--forge); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--forge); opacity: 1; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header__phone { color: #fff; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: color .5s; }
.header__phone svg { width: 16px; height: 16px; color: var(--forge); }
.menu-btn { width: 54px; height: 54px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); transition: transform .5s var(--ease), background .4s; }
.menu-btn:hover { transform: rotate(90deg); background: var(--forge); }
.menu-btn svg { width: 20px; height: 20px; }

.header.is-solid { inset: 10px 0 auto; }
.header.is-solid .nav-pill { background: rgba(255,255,255,.78); border-color: rgba(26,52,96,.12); color: var(--ink); box-shadow: var(--shadow); }
.header.is-solid .brand { border-color: rgba(26,52,96,.15); }
.header.is-solid .brand .logo-light { display: none; }
.header.is-solid .brand .logo-dark { display: block; }
.header.is-solid .header__phone { color: var(--ink); }
.header--light .nav-pill { background: rgba(255,255,255,.78); border-color: rgba(26,52,96,.12); color: var(--ink); box-shadow: var(--shadow-sm); }
.header--light .brand { border-color: rgba(26,52,96,.15); }
.header--light .brand .logo-light { display: none; }
.header--light .brand .logo-dark { display: block; }
.header--light .header__phone { color: var(--ink); }

/* off-canvas menu */
.drawer { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10, 20, 38, .5); backdrop-filter: blur(4px); opacity: 0; transition: opacity .6s var(--ease); }
.drawer__panel {
  position: absolute; inset: 12px 12px 12px auto; width: min(460px, calc(100% - 24px)); border-radius: var(--radius-lg);
  background: var(--navy-900); color: #fff; padding: 34px; display: flex; flex-direction: column; gap: 30px; overflow: auto;
  transform: translateX(110%); transition: transform .8s var(--ease-out);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__top img { height: 40px; width: auto; }
.drawer__close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.drawer__close:hover { transform: rotate(90deg); background: var(--forge); border-color: var(--forge); }
.drawer__close svg { width: 18px; height: 18px; }
.drawer__nav { display: grid; gap: 4px; }
.drawer__nav a { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 500; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 14px; padding: 4px 0; transition: color .3s, transform .5s var(--ease); }
.drawer__nav a span { font-family: var(--font-mono); font-size: .72rem; color: var(--forge); letter-spacing: .1em; }
.drawer__nav a:hover { color: var(--forge); transform: translateX(8px); }
.drawer.is-open .drawer__nav a { animation: drawer-in .8s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * .06s); }
@keyframes drawer-in { from { opacity: 0; transform: translateX(30px); } }
.drawer__meta { margin-top: auto; display: grid; gap: 14px; font-size: .92rem; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.drawer__meta strong { color: #fff; display: block; font-family: var(--font-display); font-weight: 500; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: max(720px, 100svh); color: #fff; display: flex; align-items: center; overflow: hidden; background: var(--navy-950); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: hero-zoom 2.6s var(--ease-out) .4s forwards; will-change: transform; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: hero-kb 9s linear forwards; }
@keyframes hero-zoom { to { transform: scale(1.02); } }
@keyframes hero-kb { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,20,38,.88) 0%, rgba(10,20,38,.55) 42%, rgba(10,20,38,.05) 75%),
  linear-gradient(0deg, rgba(10,20,38,.55) 0%, transparent 35%); }
.hero__inner { position: relative; z-index: 2; padding: calc(var(--header-h) + 60px) 0 200px; }
.hero__content { max-width: 720px; padding-left: clamp(0px, 6vw, 90px); }
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 500; margin-bottom: 28px; }
.hero__kicker b { background: var(--forge); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); font-weight: 600; line-height: 1.02; }
.hero__typed { display: block; color: var(--forge); min-height: 1.2em; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.2rem); margin-top: 10px; letter-spacing: -.02em; }
.hero__typed .caret { display: inline-block; width: 3px; height: .9em; background: currentColor; margin-left: 4px; vertical-align: -.08em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__text { margin-top: 26px; max-width: 520px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.hero__ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__ctas .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.hero__ctas .btn--ghost .btn__ic { background: rgba(255,255,255,.15); }

.hero__social { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero__social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; transition: background .3s, transform .4s var(--ease); }
.hero__social a:hover { background: var(--forge); transform: scale(1.08); }
.hero__social svg { width: 16px; height: 16px; }
.hero__social::after { content: ""; width: 1.5px; height: 70px; background: linear-gradient(#fff, transparent); margin-top: 6px; }

.hero__proof {
  position: absolute; right: clamp(16px, 6vw, 120px); top: 58%; z-index: 3; display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border-radius: 20px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.hero__proof img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; }
.hero__proof strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.hero__proof span { font-size: .8rem; color: rgba(255,255,255,.75); }
.hero__dots { position: absolute; right: var(--gutter); bottom: 170px; z-index: 3; display: flex; gap: 8px; }
.hero__dots button { width: 26px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); transition: width .5s var(--ease), background .4s; }
.hero__dots button.is-active { width: 48px; background: var(--forge); }

/* ruler edge — white panel with measuring-tape ticks */
.ruler-edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: 2; pointer-events: none; }
.ruler-edge::before {
  content: ""; position: absolute; inset: 0; background: var(--white); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.ruler-edge::after {
  content: ""; position: absolute; inset: 0 var(--radius-xl) auto; height: 22px;
  background:
    repeating-linear-gradient(90deg, var(--steel-300) 0 1px, transparent 1px 10px) 0 0 / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, var(--steel-400) 0 1.5px, transparent 1.5px 50px) 0 0 / 100% 18px no-repeat;
}

/* ---------- ABOUT INTRO ---------- */
.intro { padding-top: 10px; position: relative; overflow-x: clip; }
.intro__float { position: absolute; right: clamp(-20px, 3vw, 60px); top: -300px; width: clamp(220px, 25vw, 360px); z-index: 4; pointer-events: none; }
.intro__float img { filter: drop-shadow(0 40px 40px rgba(14,27,51,.35)); animation: bob 7s ease-in-out infinite; }
.intro__float img + img { position: absolute; width: 40%; right: 78%; bottom: 8%; animation-delay: -3s; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 4vw, 64px); align-items: start; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.stat-card::after { content: ""; position: absolute; right: 22px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--forge); box-shadow: 0 0 0 6px var(--forge-50); }
.stat-card__num { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat-card hr { border: 0; border-top: 1px solid var(--steel-200); margin: 26px 0 18px; }
.stat-card h3 { font-size: 1.05rem; font-weight: 600; }
.stat-card p { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.intro__cone { width: 64%; margin: 30px 0 0 34%; filter: drop-shadow(0 30px 24px rgba(14,27,51,.28)); }
.intro__ghost { position: absolute; left: -40px; bottom: 0; width: 340px; opacity: .18; filter: grayscale(1); z-index: -1; mask-image: linear-gradient(90deg, #000 40%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent); }
.intro__copy .h2 { margin: 16px 0 24px; }
.intro__copy p + p { margin-top: 14px; }
.intro__copy .btn { margin-top: 34px; }
.reach-card { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); margin-top: 150px; position: relative; overflow: hidden; }
.reach-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(213,107,67,.45), transparent 70%); }
.reach-card h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.reach-card svg.skyline { width: 100%; height: 70px; margin: 18px 0 8px; color: rgba(255,255,255,.9); }
.reach-card .num { font-family: var(--font-display); font-size: 3rem; font-weight: 600; line-height: 1; }
.reach-card .num sup { color: var(--forge); font-size: .5em; }
.reach-card p { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 6px; }
.iso-chip { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--paper); }
.iso-chip img { width: 54px; height: 54px; }
.iso-chip strong { display: block; font-size: .9rem; font-family: var(--font-display); font-weight: 500; }
.iso-chip span { font-size: .78rem; color: var(--muted); }

/* ---------- SERVICES (slider) ---------- */
.services { overflow: hidden; }
.services::after { content: ""; position: absolute; right: -10%; bottom: -10%; width: 50%; height: 70%; background: radial-gradient(closest-side, rgba(213,107,67,.14), transparent); z-index: -1; }
.services__grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.services__intro { position: sticky; top: 130px; display: grid; gap: 22px; }
.services__intro .h2 { margin-top: 0; }
.services__nav { display: flex; gap: 10px; margin-top: 10px; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--steel-300); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.round-btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.round-btn svg { width: 16px; height: 16px; }
.svc-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 30px; margin-right: calc(-1 * (100vw - min(100vw - var(--gutter) * 2, var(--container))) / 2); padding-right: var(--gutter); scrollbar-width: none; }
.svc-track::-webkit-scrollbar { display: none; }
.svc-card { flex: 0 0 clamp(270px, 26vw, 330px); scroll-snap-align: start; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 10px 10px 24px; box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc-card__media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.08); }
.svc-card__media .arrow-dot { position: absolute; right: 12px; bottom: 12px; }
.svc-card:hover .arrow-dot { transform: rotate(45deg); background: var(--navy-900); }
.svc-card__head { display: flex; gap: 16px; align-items: flex-start; padding: 22px 14px 0; }
.svc-card__head svg { width: 38px; height: 38px; flex: none; color: var(--ink-2); stroke-width: 1.3; }
.svc-card__head h3 { font-size: 1.25rem; font-weight: 500; }
.svc-card hr { border: 0; border-top: 1px solid var(--steel-200); margin: 26px 14px 16px; }
.svc-card p { font-size: .88rem; color: var(--muted); padding: 0 14px; }

/* ---------- DIFFERENT (bento) ---------- */
.diff { background: var(--paper); border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; }
.diff__lineart { --h: 360px; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); pointer-events: none; opacity: .95;
  background: url(../img/lineart-site.svg) repeat-x 0 100% / auto 100%; animation: pan-site 180s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 42%); mask-image: linear-gradient(180deg, transparent, #000 42%); }
@keyframes pan-site { to { background-position-x: calc(var(--h) * -1800 / 340); } }
.bento { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 22px; max-width: 1040px; margin: 0 auto; }
.bento__img { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.bento__img img { width: 100%; height: 100%; object-fit: cover; }
.bento__img--tall { grid-row: span 2; min-height: 460px; }
.bento__img--tall .value-card { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); rotate: var(--r, 0deg); transition: transform .7s var(--ease), rotate .7s var(--ease), box-shadow .7s, opacity 1s var(--ease-out); }
.value-card:hover { rotate: 0deg; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card__head { display: flex; gap: 16px; align-items: center; }
.value-card__ic { width: 46px; height: 46px; border-radius: 50%; background: var(--forge); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 6px var(--forge-50); }
.value-card__ic svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.2rem; font-weight: 500; }
.value-card hr { border: 0; border-top: 1px solid var(--steel-200); margin: 22px 0 14px; }
.value-card p { font-size: .88rem; color: var(--muted); }
.bento__img--small { rotate: var(--r, 0deg); min-height: 200px; transition: transform 1.1s var(--ease-out), rotate .7s var(--ease), opacity 1s var(--ease-out); }
.bento__img--small:hover { rotate: 0deg; }

/* ---------- PROJECTS (tilted polaroids) ---------- */
.polaroids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 34px; max-width: 980px; margin: 0 auto; }
.polaroid {
  --r: 0deg; display: block; background: #f7f7f6; border-radius: 22px; padding: 14px 14px 22px; box-shadow: 0 30px 50px -28px rgba(14,27,51,.35), 0 0 0 1px rgba(14,27,51,.04);
  rotate: var(--r); transition: transform .9s var(--ease), rotate .9s var(--ease), box-shadow .9s var(--ease), opacity 1s var(--ease-out); position: relative;
}
.polaroid:hover { rotate: 0deg; transform: translateY(-10px) scale(1.015); box-shadow: 0 50px 70px -30px rgba(14,27,51,.45); z-index: 2; }
.polaroid__media { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; position: relative; }
.polaroid__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.polaroid:hover .polaroid__media img { transform: scale(1.06); }
.polaroid__tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.polaroid__tag.is-live { background: var(--forge); color: #fff; }
.polaroid__tag.is-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 7px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.polaroid h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; margin: 22px 8px 10px; }
.polaroid__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px; font-size: .85rem; color: var(--ink-2); }
.polaroid__meta span { display: inline-flex; align-items: center; gap: 8px; }
.polaroid__meta svg { width: 18px; height: 18px; color: var(--muted); }
.polaroid:hover .arrow-dot { transform: rotate(45deg); background: var(--navy-900); }

/* ---------- BIG WORD + TESTIMONIAL ---------- */
.bigword { position: relative; min-height: 760px; overflow: hidden; color: #fff; display: flex; align-items: center; }
.bigword__media { position: absolute; inset: -12% 0; }
.bigword__media img { width: 100%; height: 100%; object-fit: cover; }
.bigword::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,20,38,.55), rgba(10,20,38,.1) 40%, rgba(10,20,38,.65)); }
.bigword__word { position: absolute; top: 40px; left: 0; right: 0; z-index: 1; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 19vw, 18rem); line-height: .8; letter-spacing: -.05em; color: rgba(255,255,255,.28); white-space: nowrap; mix-blend-mode: overlay; }
.bigword .container { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 180px; padding-bottom: 60px; }
.testi-card { position: relative; max-width: 520px; background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 34px; box-shadow: 14px 14px 0 var(--navy-900), var(--shadow-lg); }
.testi-card__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.testi-card__logos { display: flex; }
.testi-card__logos span { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(14,27,51,.15); display: grid; place-items: center; overflow: hidden; margin-left: -12px; }
.testi-card__logos span:first-child { margin-left: 0; }
.testi-card__logos img { width: 80%; height: 80%; object-fit: contain; }
.testi-card__score { text-align: right; }
.testi-card__score strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.stars { color: var(--forge); letter-spacing: 2px; font-size: 1.1rem; }
.testi-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-2); line-height: 1.7; }
.testi-card cite { display: block; margin-top: 18px; font-style: normal; text-align: right; }
.testi-card cite strong { display: block; font-family: var(--font-display); font-weight: 600; }
.testi-card cite span { font-size: .82rem; color: var(--muted); }
.testi-nav { display: flex; gap: 8px; margin-top: 18px; }
.testi-nav button { width: 9px; height: 9px; border-radius: 50%; background: var(--steel-300); transition: background .3s, width .4s var(--ease); }
.testi-nav button.is-active { width: 26px; border-radius: 9px; background: var(--forge); }
.testi-slide { display: none; }
.testi-slide.is-active { display: block; animation: fadeUp .8s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.bigword__trusted { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 500; line-height: 1.2; text-align: right; }
.bigword__trusted small { display: block; font-size: .55em; font-family: var(--font); color: rgba(255,255,255,.75); margin-top: 8px; font-weight: 500; }

/* ---------- TEAM / CREWS ---------- */
.crews { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.crew-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.crew-card { position: relative; padding: 10px 10px 0; border-radius: var(--radius); border: 1px solid var(--steel-200); }
.crew-card__media { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; }
.crew-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.crew-card:hover .crew-card__media img { transform: scale(1.06); }
.crew-card__label { position: relative; margin: -30px 0 -16px -10px; background: var(--navy-950); color: #fff; border-radius: 0 999px 999px 18px; padding: 14px 14px 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crew-card__label strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.crew-card__label span { font-size: .78rem; color: rgba(255,255,255,.7); }
.crew-card__tools { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transition: opacity .4s, transform .6s var(--ease); }
.crew-card:hover .crew-card__tools { opacity: 1; transform: translateY(-50%) translateX(-4px); }
.crew-card__tools span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 700; color: var(--navy); background: var(--steel-100); }
.crew-card__tools span.on { background: var(--forge); color: #fff; }
.crew-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.crew-thumbs figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 5/6; position: relative; }
.crew-thumbs img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); transition: filter .5s, transform 1s var(--ease); }
.crew-thumbs figure:hover img { filter: none; transform: scale(1.06); }
.crew-thumbs figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: .72rem; font-weight: 600; color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(10,20,38,.45); backdrop-filter: blur(8px); text-align: center; }

/* ---------- CLIENTS ---------- */
.clients { padding: 40px 0 20px; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-marquee__track { display: flex; gap: 70px; width: max-content; align-items: center; animation: marquee 40s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee img { height: 54px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .55; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.logo-marquee img:hover { filter: none; opacity: 1; transform: scale(1.06); }
.clients__pill { display: table; margin: 36px auto 0; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--steel-300); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- TAPES ---------- */
.tapes { position: relative; height: 250px; overflow: hidden; margin: 10px 0 -20px; }
.tape { position: absolute; left: -5%; right: -5%; white-space: nowrap; overflow: hidden; }
.tape__track { display: inline-flex; gap: 28px; align-items: center; animation: marquee 34s linear infinite; padding: 14px 0; }
.tape--a { top: 6px; }
.tape--a .tape__track { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; color: var(--navy-900); }
.tape--a .o { color: transparent; -webkit-text-stroke: 1.5px var(--navy-900); }
.tape--b { top: 118px; transform: rotate(-2.5deg); background: var(--forge); box-shadow: 0 20px 40px -20px rgba(213,107,67,.7); }
.tape--b .tape__track { animation-direction: reverse; animation-duration: 28s; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.5rem); text-transform: uppercase; }
.tape--b::before, .tape--b::after { content: ""; position: absolute; left: 0; right: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--navy-900) 0 10px, transparent 10px 20px); opacity: .9; }
.tape--b::before { top: 0; } .tape--b::after { bottom: 0; }
.tape .star { color: var(--forge); font-size: .9em; }
.tape--b .star { color: var(--navy-900); }

/* ---------- 3D OBJECT SERVICE ITEMS (glass section) ---------- */
.forge-band { background: var(--navy-950); color: #fff; border-radius: var(--radius-xl); margin: 0 12px; overflow: hidden; isolation: isolate; }
.forge-band .lede { color: rgba(255,255,255,.7); }
.glass-blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.glass-blob--a { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle at 35% 30%, rgba(213,107,67,.85), rgba(213,107,67,0) 70%); animation: drift 18s ease-in-out infinite; }
.glass-blob--b { width: 600px; height: 600px; right: -200px; bottom: -220px; background: radial-gradient(circle at 40% 40%, rgba(90,119,168,.8), rgba(36,69,125,0) 70%); animation: drift 22s ease-in-out infinite reverse; }
@keyframes drift { 50% { transform: translate(60px, 40px) scale(1.08); } }
.service-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-item {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: 30px 28px 32px; min-height: 400px;
  display: flex; flex-direction: column; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.service-item::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(120% 90% at 100% 0%, rgba(213,107,67,.45), transparent 60%), linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.02)); }
.service-item:hover::before, .service-item.is-inview::before { opacity: 1; }
/* corner drafting motif per stage, fading out from the top-right corner */
.service-item::after {
  content: ""; position: absolute; top: 0; right: 0; width: 280px; height: 280px; z-index: -1; pointer-events: none;
  background: var(--motif) no-repeat right top / contain; opacity: .2; transform-origin: 100% 0;
  -webkit-mask-image: radial-gradient(circle at 100% 0, #000 18%, transparent 70%); mask-image: radial-gradient(circle at 100% 0, #000 18%, transparent 70%);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.service-item:nth-child(1) { --motif: url(../img/pat-plan.svg); }
.service-item:nth-child(2) { --motif: url(../img/pat-build.svg); }
.service-item:nth-child(3) { --motif: url(../img/pat-deliver.svg); }
.service-item:hover::after { opacity: .42; transform: scale(1.08) rotate(-4deg); }
.service-item .num { font-family: var(--font-mono); font-size: .75rem; color: rgba(255,255,255,.55); transition: color .4s; }
.service-item:hover .num { color: var(--forge); }
.service-item .icon { width: 138px; height: 138px; object-fit: contain; margin: 18px 0 auto -8px; filter: drop-shadow(0 22px 18px rgba(0,0,0,.35)) drop-shadow(0 4px 4px rgba(0,0,0,.2)); animation: float 7s ease-in-out infinite; transition: transform .8s var(--ease), filter .8s; }
.service-item:nth-child(2) .icon { animation-delay: -2.3s; }
.service-item:nth-child(3) .icon { animation-delay: -4.6s; }
.service-item:hover .icon, .service-item.is-inview .icon { transform: rotate(-12deg) scale(1.08); filter: drop-shadow(0 30px 26px rgba(0,0,0,.45)) drop-shadow(0 6px 6px rgba(0,0,0,.25)); }
.service-item h3 { margin-top: 36px; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 400; letter-spacing: -.02em; }
.service-item p { margin-top: 10px; font-size: .92rem; color: rgba(255,255,255,.72); max-width: 34ch; }
.service-item .link-arrow { margin-top: 22px; align-self: flex-start; }
@keyframes float { 50% { translate: 0 -18px; } }
@keyframes bob { 50% { transform: translateY(-16px) rotate(2deg); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq__intro { position: sticky; top: 130px; display: grid; gap: 20px; }
.faq__intro .h2 { margin-top: 0; }
.support-card { margin-top: 40px; display: flex; gap: 0; background: var(--steel-200); padding: 6px; border-radius: var(--radius); }
.support-card img { width: 120px; object-fit: cover; border-radius: 12px; }
.support-card div { background: #fff; border-radius: 12px; padding: 18px 20px; margin-left: 6px; flex: 1; }
.support-card strong { font-family: var(--font-display); font-weight: 600; display: block; }
.support-card p { font-size: .85rem; color: var(--muted); margin: 6px 0 12px; }
.support-card a { display: inline-block; font-size: .8rem; font-weight: 600; padding: 7px 16px; border-radius: 999px; background: var(--forge); color: #fff; }
.accordion { display: grid; gap: 14px; }
.acc { border-radius: 26px; background: linear-gradient(90deg, #fff, var(--steel-100)); border: 1px solid var(--steel-200); box-shadow: inset 0 0 0 1px #fff; transition: background .4s, border-color .4s; }
.acc[open] { background: #fff; border-color: var(--steel-300); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 16px 16px 24px; font-family: var(--font-display); font-weight: 500; font-size: 1rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc .arrow-dot { transition: transform .5s var(--ease), background .4s; }
.acc[open] .arrow-dot { transform: rotate(90deg); background: var(--navy-950); }
.acc__body { padding: 0 24px 22px; color: var(--muted); font-size: .92rem; max-width: 62ch; }

/* ---------- CONTACT ---------- */
.contact { background: var(--paper); overflow: hidden; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; z-index: 1; }
.contact__objects { position: relative; aspect-ratio: 1; }
.contact__objects img { position: absolute; filter: drop-shadow(0 30px 30px rgba(14,27,51,.3)); animation: bob 8s ease-in-out infinite; }
.contact__objects img:nth-of-type(1) { width: 66%; left: 0; top: 4%; }
.contact__objects img:nth-of-type(2) { width: 46%; right: 2%; top: 34%; animation-delay: -2.5s; }
.contact__objects img:nth-of-type(3) { width: 40%; left: 18%; bottom: 0; animation-delay: -5s; }
.contact__objects .glass-orb { position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 15%; z-index: -1; }
.info-list { display: grid; gap: 26px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--forge); color: #fff; display: grid; place-items: center; flex: none; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.info-item span, .info-item a { font-size: .88rem; color: var(--muted); }
.info-item a:hover { color: var(--forge); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid transparent; background: #fff; border-radius: 999px; padding: 15px 20px; font-size: .9rem; outline: none; transition: border-color .3s, box-shadow .3s; appearance: none; }
.field textarea { border-radius: 20px; min-height: 130px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6576' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 16px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forge); box-shadow: 0 0 0 4px var(--forge-50); }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; font-size: .85rem; color: var(--ink-2); }
.form__status { grid-column: 1 / -1; font-size: .9rem; color: var(--navy); font-weight: 600; min-height: 1.2em; }
.contact__lineart { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; pointer-events: none; opacity: .9;
  background: url(../img/lineart-tools.svg) repeat-x 0 100% / auto 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 38%); mask-image: linear-gradient(180deg, transparent, #000 38%); }

/* ---------- INSIGHTS ---------- */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--steel-300); border-radius: var(--radius-lg); overflow: hidden; }
.insight { padding: 12px 12px 0; display: flex; flex-direction: column; border-right: 1px solid var(--steel-300); transition: background .4s; }
.insight:last-child { border-right: 0; }
.insight:hover { background: var(--paper); }
.insight__media { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; }
.insight__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.insight:hover .insight__media img { transform: scale(1.07); }
.insight__tag { position: absolute; right: 0; bottom: 0; background: #fff; padding: 8px 8px 0 8px; border-top-left-radius: 16px; }
.insight__tag span { display: block; background: var(--navy-950); color: #fff; font-size: .75rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: .05em; }
.insight h3 { font-size: 1.15rem; font-weight: 500; margin: 20px 4px 10px; line-height: 1.35; }
.insight p { font-size: .88rem; color: var(--muted); margin: 0 4px 20px; }
.insight__foot { margin-top: auto; border-top: 1px solid var(--steel-300); margin-inline: -12px; padding: 12px 16px; display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-2); }
.insight__foot span { display: inline-flex; gap: 6px; align-items: center; }
.insight__foot svg { width: 14px; height: 14px; color: var(--forge); }

/* ---------- FOOTER ---------- */
.footer { margin: 60px 12px 12px; border-radius: var(--radius-xl); background: var(--navy-950); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.footer__bg { position: absolute; inset: 0; z-index: -2; }
.footer__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(1); }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0%, rgba(213,107,67,.25), transparent 60%), linear-gradient(180deg, rgba(10,20,38,.6), var(--navy-950)); }
.footer__word { position: absolute; bottom: -.18em; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 17vw, 16rem); letter-spacing: -.05em; line-height: 1; color: rgba(255,255,255,.04); white-space: nowrap; z-index: -1; pointer-events: none; }
.footer__news { display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: 30px; align-items: center; padding: 60px 0 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__news h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; }
.footer__news p { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 6px; }
.news-form { display: flex; background: #fff; border-radius: 999px; padding: 6px; }
.news-form input { flex: 1; width: 0; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 20px; color: var(--ink); font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 70px; }
.footer__brand img { height: 52px; width: auto; }
.footer__brand p { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.7); max-width: 36ch; }
.footer__social { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; font-size: .9rem; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s; }
.footer__social a:hover { background: var(--forge); }
.footer__social svg { width: 15px; height: 15px; }
.footer h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--forge); font-weight: 600; margin-bottom: 20px; }
.footer li { margin-bottom: 12px; font-size: .95rem; }
.footer li a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.88); transition: color .3s, transform .4s var(--ease); }
.footer li a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.footer li a:hover { color: var(--forge); transform: translateX(4px); }
.footer address { font-style: normal; font-size: .92rem; color: rgba(255,255,255,.75); line-height: 1.8; }
.footer address a:hover { color: var(--forge); }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding: 12px 20px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: .8rem; color: rgba(255,255,255,.7); }
.footer__bar nav { display: flex; gap: 24px; }
.footer__bar a:hover { color: #fff; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease), background .3s; box-shadow: var(--shadow); }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--forge); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg circle { fill: none; stroke: var(--forge); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); }
.to-top i { width: 16px; height: 16px; display: grid; }

/* =========================================================================
   INNER PAGES
   ========================================================================= */
.page-hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy-950); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 2.4s var(--ease-out) .3s both; transform: scale(1.12); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,20,38,.85), rgba(10,20,38,.35) 70%), linear-gradient(0deg, rgba(10,20,38,.6), transparent 50%); }
.page-hero .container { position: relative; z-index: 3; padding: 200px 0 150px; }
.crumbs { display: inline-flex; gap: 10px; align-items: center; font-size: .82rem; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); margin-bottom: 22px; }
.crumbs a { opacity: .75; } .crumbs a:hover { opacity: 1; color: var(--forge); }
.crumbs span[aria-hidden] { color: var(--forge); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; }
.page-hero p { margin-top: 18px; max-width: 54ch; color: rgba(255,255,255,.8); font-size: 1.05rem; }

.page-hero .ruler-edge { height: 56px; }
.page-hero .ruler-edge::before { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

/* Teamway-style "shape cards" with industry shapes */
.shape-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shape-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shape-card {
  --tint: #f3ece6; --ink-tone: var(--forge);
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px 32px 34px; min-height: 340px; background: var(--tint);
  display: flex; flex-direction: column; isolation: isolate; transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.shape-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.shape-card--steel { --tint: #eeeeec; --ink-tone: #2a2a2a; }
.shape-card--navy { --tint: #e6eaf2; --ink-tone: var(--navy); }
.shape-card--sand { --tint: #f2efe8; --ink-tone: #6e6a60; }
.shape-card--ink { --tint: var(--navy-950); --ink-tone: #fff; color: #fff; }
.shape-card--ink p { color: rgba(255,255,255,.72) !important; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.75); font-size: .85rem; font-weight: 500; color: var(--ink); }
.shape-card--ink .chip { background: rgba(255,255,255,.1); color: #fff; }
.chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-tone); }
.shape-card h3 { margin-top: auto; padding-top: 70px; max-width: 62%; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; position: relative; z-index: 1; }
.shape-card p { margin-top: 12px; max-width: min(34ch, 60%); font-size: .95rem; color: var(--ink-2); position: relative; z-index: 1; }
.shape-card .link-arrow { margin-top: 26px; align-self: flex-start; position: relative; z-index: 1; }
.shape-card__art { position: absolute; right: -2%; top: 0; bottom: 0; width: 46%; z-index: -1; transition: transform 1.2s var(--ease); }
.shape-card__art svg { width: 100%; height: 100%; }
.shape-card:hover .shape-card__art { transform: translateX(-10px) scale(1.03); }

/* story / two column */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { position: relative; }
.split__media .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.split__media .main img { width: 100%; height: 100%; object-fit: cover; }
.split__media .inset { position: absolute; width: 46%; right: -6%; bottom: -8%; border-radius: var(--radius); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; }
.split__media .inset img { width: 100%; height: 100%; object-fit: cover; }
.split__media .badge-float { position: absolute; left: -24px; top: 30px; background: rgba(255,255,255,.75); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
.badge-float strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 600; color: var(--navy); }
.badge-float > span { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.split__copy .h2 { margin: 16px 0 22px; }
.split__copy p + p { margin-top: 14px; }
.check-list { margin-top: 26px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--forge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy-950); color: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative; isolation: isolate; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 0% 0%, rgba(213,107,67,.3), transparent 70%); }
.stat { padding: 38px 30px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; display: block; }
.stat strong em { font-style: normal; color: var(--forge); }
.stat > span { display: block; margin-top: 10px; font-size: .9rem; color: rgba(255,255,255,.7); }

/* mission/vision glass */
.mv { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(20px, 3vw, 34px); border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; }
.mv__bg { position: absolute; inset: 0; z-index: -2; }
.mv__bg img { width: 100%; height: 100%; object-fit: cover; }
.mv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(10,20,38,.55), rgba(26,52,96,.2)); }
.glass { background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border-radius: var(--radius-lg); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 30px 60px -30px rgba(0,0,0,.5); }
.mv .glass { padding: clamp(28px, 4vw, 48px); min-height: 340px; display: flex; flex-direction: column; }
.mv .glass img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 16px 14px rgba(0,0,0,.35)); }
.mv .glass h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; margin-top: auto; padding-top: 40px; }
.mv .glass p { margin-top: 12px; color: rgba(255,255,255,.85); }

/* CSS glass orb (sphere technique) */
.glass-orb { position: relative; aspect-ratio: 1; }
.glass-orb span { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.75), rgba(255,255,255,.15) 70%); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 60px 80px -30px rgba(14,27,51,.25), inset -20px -30px 60px rgba(14,27,51,.08); }
.glass-orb span:nth-child(2) { inset: 12% -8% auto auto; width: 34%; height: 34%; background: radial-gradient(circle at 35% 30%, #fff, var(--forge-400) 45%, var(--forge-600) 100%); border: 0; backdrop-filter: none; box-shadow: 0 30px 40px -20px rgba(191,86,49,.6); animation: bob 6s ease-in-out infinite; }
.glass-orb--solid span:first-child { background: radial-gradient(circle at 35% 30%, #fff 0%, #f1f2f5 30%, #d9dde3 60%, #fff 72%); backdrop-filter: none; border: 0; }

/* timeline / process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--steel-300) 0 8px, transparent 8px 16px); }
.process li { position: relative; padding-top: 74px; }
.process li::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--steel-200); font-family: var(--font-mono); font-weight: 600; color: var(--navy); transition: background .5s, color .5s, border-color .5s; }
.process li:hover::before { background: var(--forge); color: #fff; border-color: var(--forge); }
.process h3 { font-size: 1.2rem; font-weight: 500; margin-top: 18px; }
.process p { font-size: .9rem; color: var(--muted); margin-top: 8px; max-width: 30ch; }

/* service detail rows */
.svc-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); padding: 56px 0; border-top: 1px solid var(--steel-200); align-items: start; }
.svc-row:last-child { border-bottom: 1px solid var(--steel-200); }
.svc-row__num { font-family: var(--font-mono); color: var(--forge); font-size: .9rem; padding-top: 10px; }
.svc-row h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.svc-row p { color: var(--muted); margin-top: 16px; }
.svc-row ul { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-row ul li { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--steel-200); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.svc-row__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; position: relative; }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc-row:hover .svc-row__media img { transform: scale(1.05); }
.svc-row__media .obj { position: absolute; right: 14px; bottom: 14px; width: 30%; height: auto; filter: drop-shadow(0 18px 18px rgba(0,0,0,.4)); animation: bob 7s ease-in-out infinite; }

/* projects filter grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 44px; }
.filters button { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--steel-300); font-weight: 600; font-size: .88rem; transition: background .3s, color .3s, border-color .3s; }
.filters button:hover { border-color: var(--navy-900); }
.filters button[aria-pressed="true"] { background: var(--navy-950); color: #fff; border-color: var(--navy-950); }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.proj { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/5; color: #fff; display: block; transition: opacity .5s, transform .6s var(--ease); }
.proj.is-hidden { display: none; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,20,38,.88), rgba(10,20,38,.0) 55%); }
.proj:hover img { transform: scale(1.07); }
.proj__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; }
.proj__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.proj__meta span { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); }
.proj__meta span.live { background: var(--forge); border-color: var(--forge); }
.proj h3 { font-size: 1.45rem; font-weight: 500; }
.proj__row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: .88rem; color: rgba(255,255,255,.8); }
.proj__row strong { font-family: var(--font-display); color: #fff; font-size: 1.1rem; font-weight: 500; }

/* site gallery (real photos) */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.gallery figure.w2 { grid-column: span 2; } .gallery figure.h2 { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; font-size: .78rem; font-weight: 600; color: #fff; padding: 8px 12px; border-radius: 12px; background: rgba(10,20,38,.4); backdrop-filter: blur(10px); transform: translateY(10px); opacity: 0; transition: opacity .4s, transform .5s var(--ease); }
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 180; background: rgba(10,20,38,.92); display: grid; place-items: center; padding: 30px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox p { color: #fff; margin-top: 14px; text-align: center; font-weight: 500; }
.lightbox button { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.lightbox button svg { width: 18px; height: 18px; }

/* map */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.zw-map { position: relative; background: var(--paper); border-radius: var(--radius-xl); padding: clamp(18px, 3vw, 36px); overflow: hidden; isolation: isolate; }
.zw-map::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(var(--steel-300) 1px, transparent 1px); background-size: 18px 18px; opacity: .6; }
.zw-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.zw-map .land { fill: #fff; stroke: var(--navy-900); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 20px 30px rgba(14,27,51,.15)); }
.zw-map .land-hatch { fill: url(#hatch); }
.zw-map .route { fill: none; stroke: var(--forge); stroke-width: 1.6; stroke-dasharray: 5 6; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.zw-map .pin circle.core { fill: var(--forge); stroke: #fff; stroke-width: 4; transition: r .3s; }
.zw-map .pin circle.pulse { fill: var(--forge); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.zw-map .pin.hq circle.core { fill: var(--navy-900); }
.zw-map .pin.hq circle.pulse { fill: var(--navy); }
.zw-map .pin.site circle.core { fill: #fff; stroke: var(--navy-900); stroke-width: 2.5; }
.zw-map .pin text { font-family: var(--font-display); font-size: 27px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.zw-map .pin text.sub { font-family: var(--font); font-size: 19px; font-weight: 600; fill: var(--muted); }
.zw-map .pin { cursor: pointer; }
.zw-map .pin:hover circle.core, .zw-map .pin.is-active circle.core { r: 15; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }
.map-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--forge); }
.map-legend i.hq { background: var(--navy-900); }
.map-legend i.site { background: #fff; border: 2.5px solid var(--navy-900); }
.city-list { display: grid; gap: 12px; margin-top: 28px; }
.city { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--steel-200); transition: border-color .3s, background .3s, transform .5s var(--ease); cursor: default; }
.city:hover, .city.is-active { border-color: var(--forge); background: var(--forge-50); transform: translateX(6px); }
.city b { font-family: var(--font-mono); font-size: .75rem; color: var(--forge); width: 26px; }
.city strong { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; display: block; }
.city span { font-size: .84rem; color: var(--muted); }

/* charts */
.chart-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.chart-card { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.chart-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.chart-card h3 { font-size: 1.15rem; font-weight: 500; }
.chart-card .sub { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.chart-card .total { font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; text-align: right; }
.chart-card .total small { display: block; font-family: var(--font); font-size: .75rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 4px; }
.split-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.split-tiles div { padding: 16px 18px; border-radius: 14px; background: var(--paper); }
.split-tiles strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.split-tiles span { font-size: .8rem; color: var(--muted); }
.split-tiles i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--navy); margin-right: 8px; }
.split-tiles .live i { background: var(--forge); }
.chart-toggle { font-size: .78rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid currentColor; margin-top: 16px; }
.hbar { display: grid; gap: 14px; }
.hbar__row { display: grid; grid-template-columns: minmax(110px, 190px) 1fr 64px; gap: 14px; align-items: center; font-size: .86rem; position: relative; }
.hbar__label { color: var(--ink-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar__track { height: 22px; position: relative; background: repeating-linear-gradient(90deg, var(--steel-200) 0 1px, transparent 1px 20%); border-radius: 0 4px 4px 0; }
.hbar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--navy); border-radius: 0 4px 4px 0; transition: width 1.4s var(--ease-out); transition-delay: calc(var(--i) * .08s); }
.hbar__row.is-top .hbar__fill { background: var(--forge); }
.is-in .hbar__fill { width: var(--w); }
.hbar__val { font-family: var(--font-mono); font-size: .8rem; color: var(--ink); text-align: right; }
.hbar__row:hover .hbar__fill { filter: brightness(1.15); }
.vbars { display: flex; align-items: flex-end; gap: 18px; height: 220px; padding-top: 10px; border-bottom: 1px solid var(--steel-300); background: linear-gradient(var(--steel-200) 1px, transparent 1px) 0 0 / 100% 25%; }
.vbar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.vbar__fill { width: min(64px, 70%); height: 0; background: var(--navy); border-radius: 4px 4px 0 0; transition: height 1.4s var(--ease-out); transition-delay: calc(var(--i) * .1s); }
.vbar.is-top .vbar__fill { background: var(--forge); }
.is-in .vbar__fill { height: var(--h); }
.vbar__val { font-family: var(--font-mono); font-size: .78rem; margin-bottom: 6px; font-weight: 600; }
.vbar-labels { display: flex; gap: 18px; margin-top: 10px; }
.vbar-labels span { flex: 1; text-align: center; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.tooltip { position: fixed; z-index: 160; pointer-events: none; background: var(--navy-950); color: #fff; font-size: .8rem; padding: 10px 12px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .2s; white-space: nowrap; }
.tooltip.is-on { opacity: 1; }
.tooltip strong { display: block; font-family: var(--font-display); font-weight: 500; }
.data-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: 16px; }
.data-table th, .data-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--steel-200); }
.data-table td:last-child, .data-table th:last-child { text-align: right; font-family: var(--font-mono); }

/* map embed */
.embed { border-radius: var(--radius-lg); overflow: hidden; height: 440px; filter: grayscale(.4) contrast(1.05); box-shadow: var(--shadow); }
.embed iframe { width: 100%; height: 100%; border: 0; }

/* CTA banner */
.cta-band { position: relative; border-radius: var(--radius-xl); overflow: hidden; color: #fff; padding: clamp(50px, 7vw, 90px) clamp(26px, 6vw, 80px); isolation: isolate; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,20,38,.92) 30%, rgba(26,52,96,.5)); }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 18ch; }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,.8); max-width: 52ch; }

/* =========================================================================
   TEXTURE — patterns are background layers, kept at the threshold of visibility
   ========================================================================= */
/* dark grounds: two-tier drafting grid */
.forge-band, .stats, .shape-card--ink, .preloader, .drawer__panel { background-image: var(--pat-grid); background-size: var(--pat-grid-size); }
.reach-card { background-image: var(--pat-grid), linear-gradient(160deg, var(--navy-800), var(--navy-950)); background-size: var(--pat-grid-size), auto; }
/* dark grounds over photography: grid masked so it never meets the image with a seam */
.footer::after, .page-hero::after, .cta-band::after, .hero__shade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--pat-grid); background-size: var(--pat-grid-size);
}
.footer::after { z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }
.page-hero::after { z-index: 1; -webkit-mask-image: linear-gradient(90deg, #000 10%, transparent 62%); mask-image: linear-gradient(90deg, #000 10%, transparent 62%); }
.cta-band::after { z-index: -1; -webkit-mask-image: linear-gradient(100deg, #000 20%, transparent 70%); mask-image: linear-gradient(100deg, #000 20%, transparent 70%); }
.hero__shade::after { -webkit-mask-image: linear-gradient(90deg, #000 5%, transparent 55%); mask-image: linear-gradient(90deg, #000 5%, transparent 55%); }
/* light grounds: survey dots */
.section--paper, .diff, .contact { background-image: var(--pat-dots); background-size: var(--pat-dots-size); }
.zw-map::before { background-image: var(--pat-dots); background-size: var(--pat-dots-size); opacity: 1; }
/* accent tiles: hazard hatch */
.tape--b, .polaroid__tag.is-live, .proj__meta span.live, .hero__kicker b, .value-card__ic, .info-item .ic { background-image: var(--pat-hatch); }
.shape-card:not(.shape-card--steel):not(.shape-card--navy):not(.shape-card--sand):not(.shape-card--ink) { background-image: var(--pat-hatch-tint); }
/* column rules: hairlines at the container's quarter lines, as if set on a drawing sheet */
.section:not(.intro):not(.forge-band) { isolation: isolate; }
.section:not(.intro):not(.forge-band)::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: -1; pointer-events: none;
  width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto;
  background: linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 25% 100% repeat-x; border-right: 1px solid var(--rule);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1200px) {
  .nav { gap: 18px; }
  .header__phone { display: none; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .brand { border-right: 0; padding-right: 0; }
  .nav-pill { padding: 10px 18px; }
  .intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .intro__grid > :first-child { grid-row: span 2; }
  .reach-card { margin-top: 0; }
  .intro__float { top: -170px; width: 240px; }
  .service-items { grid-template-columns: 1fr 1fr; }
  .service-items > :last-child { grid-column: span 2; }
  .contact__grid { grid-template-columns: 1fr 1.4fr; }
  .contact__objects { grid-column: 1 / -1; width: min(340px, 80%); margin: 0 auto -20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-grid, .map-wrap { grid-template-columns: 1fr; }
  .shape-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 80px; }
  .section-head--split, .services__grid, .crews, .faq, .split, .footer__news, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .services__intro, .faq__intro { position: static; }
  .svc-track { margin-right: calc(-1 * var(--gutter)); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__img--tall { grid-row: auto; grid-column: span 2; min-height: 420px; }
  .polaroids { gap: 22px; }
  .bigword .container { flex-direction: column; align-items: stretch; }
  .bigword__trusted { text-align: left; }
  .insights { grid-template-columns: 1fr; }
  .insight { border-right: 0; border-bottom: 1px solid var(--steel-300); }
  .insight:last-child { border-bottom: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .mv { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
  .svc-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .hero__proof { right: auto; left: var(--gutter); top: auto; bottom: 136px; padding: 10px 14px; gap: 12px; }
  .hero__proof img { width: 46px; height: 46px; }
  .hero__inner { padding-bottom: 240px; }
  .split__media { margin-bottom: 40px; }
}
@media (max-width: 680px) {
  .service-item::after { width: 210px; height: 210px; }
  .diff__lineart { --h: 230px; }
  .contact__lineart { height: 150px; }
  .section::before { display: none; }
  .hero__social { flex-direction: row; top: 92px; left: auto; right: var(--gutter); transform: none; gap: 4px; }
  .hero__social::after { display: none; }
  .hero__dots { bottom: 160px; }
  .hero__dots button { width: 16px; }
  .hero__dots button.is-active { width: 30px; }
  .hero__content { padding-left: 0; }
  .hero__inner { padding-bottom: 250px; }
  .header__actions .btn { display: none; }
  .intro__grid { grid-template-columns: 1fr; }
  .intro__grid > :first-child { grid-row: auto; }
  .intro__float { position: relative; top: auto; right: auto; margin: -120px 0 -10px auto; width: 170px; }
  .intro__float img + img { width: 52%; right: 70%; bottom: 0; }
  .hero__kicker span, .hero__proof div > span { display: none; }
  .news-form .btn { padding-left: 16px; gap: 8px; }
  .intro__cone { width: 46%; margin: 20px auto 0; }
  .polaroids, .crew-cards { grid-template-columns: 1fr; }
  .polaroid { --r: 0deg !important; }
  .bento { grid-template-columns: 1fr; }
  .bento__img--tall { grid-column: auto; }
  .value-card, .bento__img--small { --r: 0deg !important; }
  .service-items { grid-template-columns: 1fr; }
  .service-items > :last-child { grid-column: auto; }
  .service-item { min-height: 0; }
  .service-item .icon { width: 104px; height: 104px; }
  .contact__grid, .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bar { border-radius: var(--radius); }
  .proj-grid, .shape-cards, .shape-cards--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 20px; }
  .tapes { height: 180px; }
  .bigword { min-height: 680px; }
  .testi-card { box-shadow: 8px 8px 0 var(--navy-900), var(--shadow-lg); padding: 26px; }
  .hbar__row { grid-template-columns: 1fr 54px; gap: 4px 10px; }
  .hbar__label { grid-column: 1 / -1; white-space: normal; }
  .process { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery figure.w2 { grid-column: auto; }
  .gallery figure.h2 { grid-row: auto; }
  .split__media .badge-float { left: 10px; }
  .split__media .inset { right: 10px; }
  .forge-band, .footer { margin-inline: 6px; }
  .shape-card__art { opacity: .55; width: 56%; }
  .shape-card h3, .shape-card p { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-line > span { opacity: 1 !important; transform: none !important; }
  .img-reveal { clip-path: none !important; }
}
