/* ==========================================================================
   Civilnet Engineering — "We structure it for you."
   Brand: ink black, white, logo blue #2692D0 (+ steel & ice support tones)
   ========================================================================== */

:root {
  /* brand */
  --blue: #2692d0;          /* logo chevron */
  --blue-600: #1b76b0;
  --blue-700: #135b8c;
  --blue-900: #0b2f4a;
  --sky: #8fd0f5;
  --ice: #e7f3fb;
  --frost: #f3f9fd;

  /* neutrals */
  --ink: #0a0d12;
  --ink-2: #10151c;
  --ink-3: #18202a;
  --ink-4: #232d39;
  --steel: #6b7785;
  --muted: #5b6673;
  --line: rgba(10, 13, 18, .1);
  --line-d: rgba(255, 255, 255, .1);
  --paper: #f2f4f6;          /* concrete */
  --white: #fff;

  --tone-grad: linear-gradient(92deg, #2692d0 0%, #56b4ea 55%, #a9def8 100%);
  --radius: 8px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

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

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section--flush-top { padding-top: 0; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 14px; height: 9px; flex: none;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 78%, 86% 100%, 50% 38%, 14% 100%, 0 78%);
}
.h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.05rem); font-weight: 700; letter-spacing: -.028em; line-height: 1.08; }
.h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 600; }
.lede { font-size: 1.02rem; color: var(--muted); max-width: 52ch; }
.section--ink .lede, .on-dark .lede { color: rgba(255,255,255,.66); }
.tone-grad { background: var(--tone-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }

/* 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); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; border: 0; cursor: pointer; white-space: nowrap; position: relative; isolation: isolate; overflow: hidden;
  background: var(--blue); color: #fff; box-shadow: 0 3px 0 var(--blue-700);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(38,146,208,.7); }
.btn:hover::after { transform: none; }
.btn .arr { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--ghost::after { background: #fff; }
.btn--ghost:hover { color: var(--ink); }
.btn--dark { background: var(--ink); box-shadow: 0 3px 0 #000; }
.btn--dark::after { background: var(--blue); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { height: 42px; padding: 0 20px; font-size: .85rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: gap .4s var(--ease); }
.link-arrow:hover { gap: 16px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- top bar ---------- */
.topbar { background: var(--blue); color: #fff; font-size: .8rem; position: relative; z-index: 60; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar__info { display: flex; gap: 28px; align-items: center; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 8px; opacity: .95; }
.topbar__info a:hover { opacity: 1; text-decoration: underline; }
.topbar svg { width: 14px; height: 14px; flex: none; }
.socials { display: flex; gap: 8px; }
.socials a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.socials a:hover { background: #fff; color: var(--blue); }

/* ---------- header ---------- */
.header { position: absolute; left: 0; right: 0; top: 40px; z-index: 50; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.header.is-fixed { position: fixed; top: 0; background: rgba(10,13,18,.86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line-d); }
.header.is-fixed .container { height: 72px; }
.header.is-hidden { transform: translateY(-100%); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.12); }
.header.is-fixed::after { display: none; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { color: rgba(255,255,255,.86); font-size: .9rem; font-weight: 500; padding: 12px 16px; border-radius: 999px; position: relative; transition: color .3s, background .3s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 14px; height: 2px; margin-left: -8px; background: var(--blue); border-radius: 2px; }
.header__cta { display: flex; align-items: center; gap: 16px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 16px; right: 16px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 24px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff; padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; gap: 8px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out); }
.nav-open .mobile-nav { clip-path: inset(0 0 0 0); }
.mobile-nav a { font-family: var(--font-head); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--line-d); display: flex; justify-content: space-between; align-items: baseline; }
.mobile-nav a small { font-family: var(--font-mono); font-size: .75rem; color: var(--blue); }
.mobile-nav .mobile-nav__foot { margin-top: auto; color: rgba(255,255,255,.6); font-size: .9rem; display: grid; gap: 8px; }

/* ---------- blueprint grid utility ---------- */
.bp-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(120% 90% at 30% 40%, #000 40%, transparent 85%); -webkit-mask-image: radial-gradient(120% 90% at 30% 40%, #000 40%, transparent 85%); }
.bp-grid--light { background-image: linear-gradient(rgba(10,13,18,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,13,18,.05) 1px, transparent 1px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; background: var(--ink); overflow: hidden; display: flex; align-items: center; padding: 168px 0 120px; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0,0,0); } to { transform: scale(1.0) translate3d(-1.5%, -1%, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,13,18,.92) 0%, rgba(10,13,18,.78) 38%, rgba(10,13,18,.35) 68%, rgba(10,13,18,.55) 100%), linear-gradient(0deg, rgba(10,13,18,.85) 0%, transparent 35%); }
.hero .bp-grid { z-index: 1; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 { margin: 24px 0 24px; }
.hero__text { color: rgba(255,255,255,.78); max-width: 50ch; font-size: 1.05rem; }
.proof { display: flex; align-items: center; gap: 16px; margin: 32px 0 36px; }
.avatars { display: flex; }
.avatars img, .avatars span { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 1.2rem; font-weight: 600; }
.proof strong { font-family: var(--font-head); font-size: 1.35rem; display: block; line-height: 1.1; }
.proof small { color: rgba(255,255,255,.65); font-size: .82rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.callnow { display: flex; align-items: center; gap: 12px; }
.callnow i { width: 50px; height: 50px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; position: relative; }
.callnow i::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(38,146,208,.6); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.callnow svg { width: 20px; height: 20px; }
.callnow strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.callnow small { color: rgba(255,255,255,.7); font-size: .82rem; }

.hero__aside { display: grid; gap: 16px; }
.glass {
  background: linear-gradient(140deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-radius: 16px;
}
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; padding: 24px 12px; text-align: center; }
.hero__stats div + div { border-left: 1px solid rgba(255,255,255,.16); }
.hero__stats strong { font-family: var(--font-head); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 700; display: block; line-height: 1; }
.hero__stats small { font-size: .82rem; color: rgba(255,255,255,.75); }
.quote-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); position: relative; }
.quote-card h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.quote-card h2 small { font-family: var(--font-mono); font-size: .66rem; color: var(--steel); letter-spacing: .1em; font-weight: 500; }
.field { position: relative; margin-bottom: 12px; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; background: var(--paper); font-size: .9rem; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none;
}
.field textarea { height: 130px; padding: 16px 16px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235b6673' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(38,146,208,.12); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; min-height: 1.2em; }
.form-note.ok { color: var(--blue-600); font-weight: 600; }

.hero__caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 28px; }
.hero__caption .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: rgba(255,255,255,.7); text-transform: uppercase; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 3px; border: 0; background: rgba(255,255,255,.25); border-radius: 2px; cursor: pointer; padding: 0; position: relative; overflow: hidden; }
.hero__dots button::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active::after { animation: fillbar 7s linear forwards; }
@keyframes fillbar { to { transform: scaleX(1); } }
.hero__capt-text { transition: opacity .5s; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 30px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: #fff; border-top: 1px solid var(--line-d); overflow: hidden; padding: 24px 0; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: rgba(255,255,255,.5); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; transition: color .3s; }
.marquee__track span:hover { color: #fff; }
.marquee__track span::after { content: ""; width: 10px; height: 7px; background: var(--blue); clip-path: polygon(50% 0, 100% 78%, 86% 100%, 50% 38%, 14% 100%, 0 78%); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__label { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about h2 { margin: 20px 0 20px; }
.about__body { display: grid; grid-template-columns: 1fr auto; gap: 28px; margin: 32px 0 36px; align-items: center; }
.checks { display: grid; gap: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.checks li::before { content: ""; flex: none; margin-top: 8px; width: 10px; height: 10px; background: var(--blue); clip-path: polygon(0 0, 55% 50%, 0 100%, 25% 100%, 80% 50%, 25% 0); box-shadow: 6px 0 0 var(--blue); }
.checks--dark li { color: rgba(255,255,255,.86); }
.exp-box { background: var(--paper); border-radius: 16px; padding: 28px 32px; text-align: center; position: relative; overflow: hidden; }
.exp-box strong { font-family: var(--font-head); color: var(--blue); font-size: 2.8rem; line-height: 1; display: block; }
.exp-box span { font-weight: 600; font-size: .9rem; }
.exp-box::after { content: ""; position: absolute; right: -12px; bottom: -12px; width: 56px; height: 56px; border-radius: 50%; border: 1px dashed rgba(38,146,208,.4); }
.signoff { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.signoff__who { display: flex; align-items: center; gap: 12px; }
.signoff__who i { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.signoff__who i img { width: 28px; }
.signoff__who strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.signoff__who small { color: var(--muted); font-size: .8rem; }

.about__media { position: relative; padding: 48px 0 0 0; }
.about__media .img { border-radius: 16px; overflow: hidden; aspect-ratio: 5/4.2; }
.about__media .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about__media:hover .img img { transform: scale(1.04); }
.badge-since { position: absolute; top: 0; left: 0; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); padding: 12px 28px; border-radius: 8px; z-index: 2; box-shadow: 0 20px 40px -18px rgba(38,146,208,.7); }
.award-card { position: absolute; right: -20px; bottom: -36px; background: #fff; border-radius: 16px; padding: 24px 28px; width: min(270px, 70%); box-shadow: 0 30px 60px -24px rgba(10,13,18,.3); z-index: 2; }
.award-card img { width: 52px; height: 52px; margin-bottom: 12px; }
.award-card strong { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.25; display: block; }
.award-card small { color: var(--muted); font-size: .82rem; }
.about__obj { position: absolute; left: -56px; bottom: 40px; width: 130px; z-index: 3; filter: drop-shadow(0 26px 18px rgba(10,13,18,.28)); animation: float 7s ease-in-out infinite; }
.dim-line { position: absolute; left: 0; right: 0; top: 20px; display: flex; align-items: center; gap: 12px; padding-left: calc(28% + 20px); font-family: var(--font-mono); font-size: .66rem; color: var(--steel); letter-spacing: .1em; }
.dim-line::before, .dim-line::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--steel) 0 4px, transparent 4px 8px); }

@keyframes float { 50% { transform: translateY(-16px); } }

/* ---------- section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px 64px; align-items: end; margin-bottom: 56px; }
.section-head h2 { margin-top: 16px; }
.section-head__side { display: grid; gap: 24px; justify-items: end; text-align: right; }
.section-head__side .lede { text-align: right; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .lede { margin: 0 auto; }

/* ---------- service cards (template) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-card { background: #fff; border-radius: 16px; padding: 28px 24px 0; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(10,13,18,.3); }
.svc-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 12px; }
.svc-card p { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.svc-card__media { position: relative; margin: auto -24px 0; border-radius: 0 0 16px 16px; overflow: hidden; aspect-ratio: 1/1.02; }
.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); }
/* inverted notches */
.notch { position: absolute; background: #fff; display: grid; place-items: center; z-index: 2; }
.notch--tl { left: 0; top: 0; width: 64px; height: 64px; border-bottom-right-radius: 16px; }
.notch--br { right: 0; bottom: 0; width: 70px; height: 70px; border-top-left-radius: 16px; }
.notch::before, .notch::after { content: ""; position: absolute; width: 16px; height: 16px; background: radial-gradient(circle at 100% 100%, transparent 15.5px, #fff 16px); }
.notch--tl::before { left: 64px; top: 0; }
.notch--tl::after { left: 0; top: 64px; }
.notch--br::before { right: 72px; bottom: 0; transform: rotate(180deg); }
.notch--br::after { right: 0; bottom: 72px; transform: rotate(180deg); }
.notch--tl svg { width: 30px; height: 30px; color: var(--blue); transform: translate(-3px, -3px); }
.notch--br a { width: 50px; height: 50px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; transform: translate(4px, 4px); transition: background .4s, transform .5s var(--ease); }
.notch--br a svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.svc-card:hover .notch--br a { background: var(--ink); }
.svc-card:hover .notch--br a svg { transform: rotate(-45deg); }
.svc-card .tag { font-family: var(--font-mono); font-size: .66rem; color: var(--steel); letter-spacing: .12em; margin-bottom: 12px; }

/* ---------- 3D objects cards (service-item) ---------- */
.obj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-item {
  position: relative; background: var(--paper); border-radius: var(--radius-lg); padding: 32px 28px 32px; min-height: 400px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; color: var(--ink);
}
.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(38,146,208,.38), transparent 60%), linear-gradient(160deg, #142233, #0a0d12); }
.service-item::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.service-item .num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); display: flex; justify-content: space-between; transition: color .4s; }
.service-item .icon { width: 132px; height: 132px; object-fit: contain; margin: 24px 0 auto -8px; filter: drop-shadow(0 22px 18px rgba(6,22,52,.22)) drop-shadow(0 4px 4px rgba(6,22,52,.12)); animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s); transition: transform .8s var(--ease), filter .8s; }
.service-item h3 { font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -.02em; margin-top: 36px; transition: color .4s; }
.service-item p { font-size: .92rem; color: var(--muted); max-width: 36ch; margin-top: 12px; transition: color .4s; }
.service-item .link-arrow { margin-top: 24px; align-self: flex-start; }
.service-item:hover::before, .service-item.is-inview::before, .service-item:hover::after, .service-item.is-inview::after { opacity: 1; }
.service-item:hover, .service-item.is-inview { color: #fff; }
.service-item:hover .num, .service-item.is-inview .num { color: var(--sky); }
.service-item:hover p, .service-item.is-inview p { color: rgba(255,255,255,.72); }
.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,.5)) drop-shadow(0 0 30px rgba(38,146,208,.35)); }

/* ---------- 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="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: right; transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); z-index: 3; }
.img-reveal.is-in::after { transform: scaleX(0); }

/* ---------- projects bento ---------- */
.proj-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 16px; }
.proj-tile { position: relative; border-radius: 16px; overflow: hidden; color: #fff; display: block; background: var(--ink-3); }
.proj-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; }
.proj-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,13,18,.95) 0%, rgba(10,13,18,.55) 32%, rgba(10,13,18,0) 65%); transition: opacity .6s; }
.proj-tile:hover img { transform: scale(1.06); }
.proj-tile__meta { text-shadow: 0 1px 12px rgba(0,0,0,.5); position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.proj-tile__meta small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; color: var(--sky); text-transform: uppercase; display: block; margin-bottom: 8px; }
.proj-tile__meta h3 { font-size: 1.25rem; font-weight: 600; }
.proj-tile__meta span { color: rgba(255,255,255,.7); font-size: .85rem; }
.proj-tile__go { width: 46px; height: 46px; border-radius: 50%; flex: none; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .4s, transform .5s var(--ease); }
.proj-tile__go svg { width: 18px; height: 18px; }
.proj-tile:hover .proj-tile__go { background: var(--blue); transform: rotate(-45deg); }
.proj-tile__status { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.proj-tile__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.proj-tile__status.is-live::before { background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-8 { grid-column: span 8; } .span-6 { grid-column: span 6; }
.row-2 { grid-row: span 2; }

/* ---------- map ---------- */
.map-wrap { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.map-stage { position: relative; aspect-ratio: 1000/923; }
.map-stage svg { width: 100%; height: 100%; overflow: visible; }
.map-land { fill: url(#landGrad); stroke: rgba(255,255,255,.55); stroke-width: 1.4; }
.map-grid line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.map-hatch { fill: url(#hatch); opacity: .7; }
.map-arc { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .65; }
.map-arc.is-on { stroke: var(--sky); opacity: 1; stroke-width: 2; stroke-dasharray: none; }
.map-pin { cursor: pointer; }
.map-pin circle.dot { fill: #fff; stroke: var(--blue); stroke-width: 3; transition: r .3s; }
.map-pin circle.halo { fill: rgba(38,146,208,.25); transform-box: fill-box; transform-origin: center; animation: halo 2.8s ease-out infinite; }
.map-pin text { fill: rgba(255,255,255,.75); font-family: var(--font-mono); font-size: 15px; letter-spacing: .06em; pointer-events: none; }
.map-pin.is-on circle.dot { fill: var(--blue); stroke: #fff; }
.map-pin.is-on text { fill: #fff; }
.map-pin--hq circle.dot { fill: var(--blue); stroke: #fff; stroke-width: 4; }
@keyframes halo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.map-card { position: absolute; width: 240px; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transition: left .6s var(--ease), top .6s var(--ease), opacity .4s; pointer-events: none; z-index: 3; }
.map-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; }
.map-card div { padding: 12px 8px 4px; }
.map-card small { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; color: var(--blue); text-transform: uppercase; }
.map-card strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.25; margin: 2px 0; }
.map-card span { font-size: .8rem; color: var(--muted); }
.map-coords { position: absolute; font-family: var(--font-mono); font-size: .66rem; color: rgba(255,255,255,.4); letter-spacing: .1em; }
.map-list { display: grid; gap: 2px; margin-top: 32px; }
.map-list button { all: unset; cursor: pointer; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line-d); color: rgba(255,255,255,.7); transition: color .3s, padding .4s var(--ease); }
.map-list button:hover, .map-list button.is-on { color: #fff; padding-left: 12px; }
.map-list button .mono { font-size: .7rem; color: var(--blue); }
.map-list button em { font-style: normal; font-size: .78rem; color: rgba(255,255,255,.45); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); margin-top: 72px; }
.stats-row > div { padding: 32px 24px 0; border-left: 1px solid var(--line-d); }
.stats-row > div:first-child { border-left: 0; padding-left: 0; }
.stats-row strong { font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 600; line-height: 1; display: block; }
.stats-row small { color: rgba(255,255,255,.55); font-size: .85rem; }
.stats-row--light { border-color: var(--line); }
.stats-row--light > div { border-color: var(--line); }
.stats-row--light small { color: var(--muted); }

/* ---------- process (line-art graph cards) ---------- */
.proc-wrap { background: radial-gradient(90% 120% at 80% 0%, #1d2733 0%, #0d1117 55%, #090b0f 100%); border-radius: 24px; padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.proc-wrap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.05) 50%, transparent 60%); pointer-events: none; }
.proc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.proc-card { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 24px 20px 20px; color: #fff; display: flex; flex-direction: column; min-height: 340px; transition: border-color .4s, transform .6s var(--ease), background .4s; }
.proc-card:hover { border-color: rgba(38,146,208,.5); transform: translateY(-6px); background: linear-gradient(180deg, rgba(38,146,208,.14), rgba(255,255,255,.03)); }
.proc-card h3 { font-size: 1rem; font-weight: 600; font-family: var(--font); letter-spacing: -.01em; }
.proc-card p { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 8px; }
.proc-card svg { width: 100%; max-width: 150px; height: auto; margin: auto auto 20px; display: block; overflow: visible; }
.proc-card .foot { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .68rem; color: rgba(255,255,255,.5); letter-spacing: .08em; border-top: 1px solid var(--line-d); padding-top: 12px; }
.draw path, .draw line, .draw circle, .draw rect, .draw ellipse, .draw polyline { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); transition: stroke-dashoffset 2s var(--ease-out); transition-delay: var(--dd, 0s); }
.is-in .draw path, .is-in .draw line, .is-in .draw circle, .is-in .draw rect, .is-in .draw ellipse, .is-in .draw polyline { stroke-dashoffset: 0; }
.spin-slow { transform-box: fill-box; transform-origin: center; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse-core { transform-box: fill-box; transform-origin: center; animation: core 2.6s ease-in-out infinite; }
@keyframes core { 50% { transform: scale(1.18); } }

/* ---------- audience cards (shapes) ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aud-card { position: relative; border-radius: 16px; padding: 32px 32px 32px; min-height: 300px; overflow: hidden; display: flex; flex-direction: column; isolation: isolate; transition: transform .6s var(--ease); }
.aud-card:hover { transform: translateY(-4px); }
.aud-card .pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.75); border-radius: 8px; padding: 8px 16px; font-size: .85rem; font-weight: 500; }
.aud-card .pill i { width: 11px; height: 11px; border-radius: 50%; background: var(--c, var(--blue)); }
.aud-card h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; margin-top: auto; padding-top: 40px; max-width: 12ch; }
.aud-card p { font-size: .92rem; max-width: 40ch; margin-top: 12px; color: var(--muted); }
.aud-card .link-arrow { margin-top: 28px; align-self: flex-start; }
.aud-card > :not(.shape) { max-width: 56%; position: relative; }
.aud-card > .pill { max-width: none; }
.aud-card .shape { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: -1; transition: transform 1.2s var(--ease); }
.aud-card:hover .shape { transform: translateX(-8px); }
.aud-card .shape svg { width: 100%; height: 100%; }
.aud--ice { background: #e3f1fa; }
.aud--concrete { background: #eceff2; }
.aud--ink { background: #12171e; color: #fff; }
.aud--ink p { color: rgba(255,255,255,.62); }
.aud--ink .pill { background: rgba(255,255,255,.1); color: #fff; }
.aud--sky { background: #d4ebf8; }

/* ---------- why / orb ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.orb-stage { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.orb-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.orb-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(10,13,18,.15), rgba(10,13,18,.55)); }
.testi-orb { position: relative; width: min(360px, 74%); aspect-ratio: 1; }
.testi-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,.18) 58%, rgba(255,255,255,.08) 70%, rgba(255,255,255,.35) 72%);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 60px 80px -30px rgba(10,27,49,.45), inset -20px -30px 60px rgba(10,27,49,.12), inset 10px 12px 30px rgba(255,255,255,.35); }
.testi-orb span:nth-child(2) { inset: 12% -12% auto auto; width: 34%; height: 34%; background: radial-gradient(circle at 35% 30%, #fff, #8fd0f5 40%, #2692d0 75%, #135b8c 100%); backdrop-filter: none; border: 0; box-shadow: 0 30px 40px -20px rgba(38,146,208,.7); animation: float 6s ease-in-out infinite; }
.testi-orb span:nth-child(3) { inset: auto auto 4% -6%; width: 16%; height: 16%; background: radial-gradient(circle at 35% 30%, #fff, #d9dde3 55%, #9aa4af 100%); border: 0; backdrop-filter: none; box-shadow: 0 20px 30px -14px rgba(0,0,0,.5); animation: float 8s ease-in-out infinite reverse; }
.testi-orb b { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; font-family: var(--font-head); z-index: 2; text-shadow: 0 2px 20px rgba(10,13,18,.4); }
.testi-orb b strong { font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; }
.testi-orb b small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; font-weight: 500; margin-top: 8px; }
.orb-tag { position: absolute; left: 24px; bottom: 24px; right: 24px; display: flex; justify-content: space-between; color: #fff; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.why-list { display: grid; gap: 0; margin-top: 36px; counter-reset: why; }
.why-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); counter-increment: why; }
.why-list li::before { content: counter(why, decimal-leading-zero); font-family: var(--font-mono); font-size: .78rem; color: var(--blue); padding-top: 3px; }
.why-list strong { font-family: var(--font-head); font-weight: 600; display: block; font-size: 1.02rem; }
.why-list span { color: var(--muted); font-size: .9rem; }

/* ---------- CTA band (template) ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 120%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,13,18,.92), rgba(10,13,18,.55) 60%, rgba(10,13,18,.3)); }
.cta-band .container { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); align-items: stretch; gap: 40px; }
.cta-band__text { padding: clamp(80px, 10vw, 128px) 0; align-self: center; }
.cta-band__text h2 { margin: 16px 0 20px; }
.cta-band__text p { color: rgba(255,255,255,.75); max-width: 48ch; margin-bottom: 32px; }
.cta-panel { background: #fff; color: var(--ink); display: flex; flex-direction: column; margin: 0; align-self: stretch; }
.cta-panel__row { display: flex; gap: 16px; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.cta-panel__row i { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.cta-panel__row i svg { width: 20px; height: 20px; }
.cta-panel__row strong { font-family: var(--font-head); font-size: 1.05rem; display: block; }
.cta-panel__row small { color: var(--muted); font-size: .85rem; }
.cta-panel__btn { background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; text-align: center; padding: 20px; transition: background .4s; }
.cta-panel__btn:hover { background: var(--ink); }
.cta-panel__img { position: relative; flex: 1; min-height: 160px; }
.cta-panel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-panel__img a { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -28px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 10px rgba(38,146,208,.3); }
.cta-panel__img a svg { width: 22px; height: 22px; }

/* ---------- footer: drawing title-block ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); position: relative; overflow: hidden; }
.footer__big { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.4rem, 13.5vw, 13rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; margin: 0 0 -.06em; user-select: none; text-align: center; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding: 80px 0 64px; }
.footer__top img { height: 48px; width: auto; margin-bottom: 20px; }
.footer__top p { font-size: .9rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: #fff; text-transform: uppercase; margin-bottom: 20px; font-weight: 500; }
.footer ul { display: grid; gap: 12px; font-size: .92rem; }
.footer ul a:hover { color: var(--sky); }
.title-block { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; border: 1px solid var(--line-d); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.title-block > div { padding: 12px 16px; border-left: 1px solid var(--line-d); }
.title-block > div:first-child { border-left: 0; }
.title-block span { display: block; color: rgba(255,255,255,.35); margin-bottom: 4px; }
.title-block b { color: #fff; font-weight: 500; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 32px; font-size: .82rem; gap: 20px; flex-wrap: wrap; }
.to-top { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.to-top:hover { background: var(--blue); border-color: var(--blue); }
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 224px 0 112px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; transform: scale(1.08); animation: kenburns 14s linear forwards; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,13,18,.95) 10%, rgba(10,13,18,.5) 70%, rgba(10,13,18,.3)), linear-gradient(0deg, rgba(10,13,18,.9), transparent 50%); }
.page-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.page-hero h1 { margin: 20px 0 20px; font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero p { color: rgba(255,255,255,.72); max-width: 54ch; }
.crumbs { display: flex; gap: 12px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 32px; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--blue); }
.page-hero__obj { width: clamp(150px, 18vw, 250px); filter: drop-shadow(0 40px 30px rgba(0,0,0,.6)); animation: float 7s ease-in-out infinite; }
.page-hero .bp-grid { z-index: 1; }

/* ---------- generic split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }
.media-frame { position: relative; border-radius: 16px; overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame figcaption { position: absolute; left: 16px; bottom: 16px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(10,13,18,.6); backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 8px; }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 48px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 1px; background: var(--line); }
.timeline .tl-progress { position: absolute; left: 0; top: 24px; height: 2px; background: var(--blue); width: 0; transition: width 2.4s var(--ease-out); }
.is-in .tl-progress { width: 100%; }
.timeline .tl { padding-right: 24px; position: relative; }
.timeline .tl b { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-mono); font-size: .75rem; color: var(--blue); margin-bottom: 24px; position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s; transition-delay: var(--d, 0s); }
.is-in .timeline .tl b { background: var(--blue); color: #fff; border-color: var(--blue); }
.timeline .tl strong { font-family: var(--font-head); font-size: 1.1rem; display: block; margin-bottom: 8px; }
.timeline .tl p { font-size: .88rem; color: var(--muted); }

/* ---------- charts ---------- */
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 28px 20px; position: relative; }
.chart-card h3 { font-size: 1.05rem; font-weight: 600; font-family: var(--font); letter-spacing: -.01em; }
.chart-card .sub { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.chart { position: relative; margin-top: 24px; }
.chart svg { width: 100%; height: auto; overflow: visible; display: block; }
.chart .grid line { stroke: rgba(10,13,18,.08); }
.chart .axis text { fill: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.chart .bar { fill: var(--blue); transition: fill .2s; }
.chart .bar-g:hover .bar, .chart .bar-g:focus .bar { fill: var(--blue-700); }
.chart .bar-hit { fill: transparent; cursor: pointer; }
.chart text.val { fill: var(--ink); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.chart text.lbl { fill: var(--ink); font-size: 12.5px; font-family: var(--font); }
.chart .grow { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.chart .grow-x { transform-box: fill-box; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.is-in .chart .grow, .is-in .chart .grow-x { transform: none; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: .78rem; padding: 8px 12px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); opacity: 0; transition: opacity .2s; z-index: 5; }
.tip b { font-family: var(--font-mono); color: var(--sky); font-weight: 600; }
.tip.on { opacity: 1; }
.chart-table summary { cursor: pointer; font-size: .78rem; color: var(--muted); margin-top: 12px; font-family: var(--font-mono); }
.chart-table table { width: 100%; border-collapse: collapse; font-size: .82rem; margin-top: 8px; }
.chart-table td, .chart-table th { padding: 8px 8px; border-bottom: 1px solid var(--line); text-align: left; }

/* ---------- projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .88rem; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: background .3s, color .3s, border-color .3s; }
.chip em { font-style: normal; font-family: var(--font-mono); font-size: .7rem; color: var(--steel); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on em { color: var(--sky); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pcard { cursor: pointer; display: block; text-align: left; background: none; border: 0; padding: 0; transition: opacity .5s, transform .6s var(--ease); }
.pcard.is-hidden { display: none; }
.pcard__img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__img .count { position: absolute; right: 12px; top: 12px; font-family: var(--font-mono); font-size: .68rem; background: rgba(10,13,18,.65); color: #fff; padding: 4px 8px; border-radius: 8px; backdrop-filter: blur(6px); display: inline-flex; gap: 8px; align-items: center; }
.pcard__img .view { position: absolute; inset: auto 12px 12px auto; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .5s var(--ease); }
.pcard:hover .view { transform: scale(1); }
.pcard__img .view svg { width: 18px; height: 18px; }
.pcard__meta { padding: 16px 2px 0; }
.pcard__meta small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.pcard__meta h3 { font-size: 1.15rem; font-weight: 600; margin: 4px 0 4px; }
.pcard__meta span { font-size: .86rem; color: var(--muted); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__bg { position: absolute; inset: 0; background: rgba(10,13,18,.82); backdrop-filter: blur(6px); animation: fade .4s; }
.modal__box { position: relative; margin: 4vh auto; width: min(1180px, calc(100% - 32px)); max-height: 92vh; overflow: auto; background: #fff; border-radius: 24px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); animation: rise .6s var(--ease-out); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
.modal__gallery { background: var(--ink); position: relative; display: flex; flex-direction: column; }
.modal__main { position: relative; aspect-ratio: 4/3; }
.modal__main img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumbs { display: flex; gap: 8px; padding: 8px; overflow-x: auto; }
.modal__thumbs button { flex: none; width: 76px; height: 56px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; opacity: .55; transition: opacity .3s, border-color .3s; }
.modal__thumbs button.is-on { opacity: 1; border-color: var(--blue); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; display: grid; place-items: center; }
.modal__nav svg { width: 18px; height: 18px; }
.modal__nav--prev { left: 12px; } .modal__nav--prev svg { transform: rotate(180deg); }
.modal__nav--next { right: 12px; }
.modal__info { padding: 36px 32px; }
.modal__info h2 { font-size: 1.7rem; margin: 12px 0 20px; }
.modal__info p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin: 24px 0; }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 12px; }
.facts span { display: block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.facts b { font-weight: 600; font-size: .92rem; }
.modal__close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; z-index: 3; font-size: 1.4rem; line-height: 1; }

/* ---------- services page ---------- */
.svc-detail { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
.svc-toc { position: sticky; top: 104px; display: grid; gap: 4px; }
.svc-toc a { display: flex; gap: 12px; align-items: center; padding: 16px 16px; border-radius: 16px; font-weight: 500; font-size: .92rem; color: var(--muted); transition: background .3s, color .3s; }
.svc-toc a .mono { font-size: .7rem; color: var(--steel); }
.svc-toc a.is-on, .svc-toc a:hover { background: var(--ink); color: #fff; }
.svc-toc a.is-on .mono { color: var(--blue); }
.svc-block { padding-bottom: 88px; margin-bottom: 88px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-block:last-child { border-bottom: 0; margin-bottom: 0; }
.svc-block__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.svc-block__head img { width: 140px; filter: drop-shadow(0 26px 20px rgba(6,22,52,.25)); animation: float 7s ease-in-out infinite; }
.svc-block h2 { margin: 16px 0 16px; }
.svc-block__media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin: 36px 0; }
.svc-block__media .media-frame { aspect-ratio: 4/3; }
.svc-block__media .media-frame:first-child { aspect-ratio: auto; grid-row: span 2; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.svc-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; font-weight: 500; font-size: .95rem; }
.svc-list li .mono { font-size: .7rem; color: var(--blue); }
.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.scope div { background: var(--paper); border-radius: 16px; padding: 20px; }
.scope strong { font-family: var(--font-head); font-size: .98rem; display: block; margin-bottom: 8px; }
.scope p { font-size: .85rem; color: var(--muted); }

/* ---------- environmental ---------- */
.layers { position: relative; height: 460px; perspective: 1400px; }
.layer { position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; margin: -184px 0 0 -184px; border-radius: 24px; transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg) translateZ(calc(var(--z) * 1px)); transition: transform 1.2s var(--ease-out); border: 1px solid rgba(255,255,255,.25); overflow: hidden; }
.is-in .layer { transform: rotateX(58deg) rotateZ(-38deg) translateZ(calc(var(--z) * 2.4px)); }
.layer span { position: absolute; left: 16px; bottom: 12px; font-family: var(--font-mono); font-size: 11px; color: #fff; letter-spacing: .1em; text-transform: uppercase; }
.layer--terrain { background: repeating-radial-gradient(circle at 40% 55%, transparent 0 14px, rgba(143,208,245,.5) 14px 15px), linear-gradient(135deg, #0e2e46, #0a1a28); }
.layer--water { background: linear-gradient(135deg, rgba(38,146,208,.55), rgba(38,146,208,.15)); backdrop-filter: blur(4px); }
.layer--water::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 360' fill='none' stroke='%23fff' stroke-width='3' opacity='.8'%3E%3Cpath d='M20 40c60 20 50 90 120 110s70 90 140 120 40 70 60 80'/%3E%3Cpath d='M140 150c30-20 70-10 100-40s60-30 100-20' stroke-width='2'/%3E%3Cpath d='M220 270c30-10 60 10 90-10' stroke-width='2'/%3E%3C/svg%3E") center/cover; }
.layer--veg { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35) 0 18px, transparent 19px), radial-gradient(circle at 70% 60%, rgba(255,255,255,.3) 0 30px, transparent 31px), radial-gradient(circle at 45% 80%, rgba(255,255,255,.25) 0 22px, transparent 23px), rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.layer--infra { background: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px) 0 0/40px 40px, linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px) 0 0/40px 40px, rgba(10,13,18,.35); }
.layer--infra::before { content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 10px; background: #fff; opacity: .7; }
.layer--infra::after { content: ""; position: absolute; top: 0; bottom: 0; left: 62%; width: 6px; background: var(--blue); }
.layer--buffer { background: rgba(255,255,255,.06); border: 1.5px dashed rgba(143,208,245,.9); }
.layer--buffer::before { content: ""; position: absolute; left: 30%; top: 20%; width: 46%; height: 52%; border-radius: 50%; border: 2px solid var(--sky); box-shadow: 0 0 0 18px rgba(143,208,245,.15), 0 0 0 36px rgba(143,208,245,.08); }
.stepper { display: grid; gap: 0; counter-reset: st; }
.stepper li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; position: relative; padding-bottom: 32px; counter-increment: st; }
.stepper li::before { content: counter(st, decimal-leading-zero); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; font-family: var(--font-mono); font-size: .75rem; color: var(--sky); background: var(--ink); position: relative; z-index: 1; }
.stepper li::after { content: ""; position: absolute; left: 24px; top: 44px; bottom: 0; width: 1px; background: var(--line-d); }
.stepper li:last-child::after { display: none; }
.stepper strong { font-family: var(--font-head); font-size: 1.1rem; display: block; margin-bottom: 4px; color: #fff; }
.stepper p { color: rgba(255,255,255,.62); font-size: .9rem; }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 3/4; color: #fff; }
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,13,18,.9), rgba(10,13,18,.05) 60%); }
.sector:hover img { transform: scale(1.07); }
.sector div { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.sector small { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; color: var(--sky); }
.sector h3 { font-size: 1.3rem; font-weight: 600; margin: 4px 0 8px; }
.sector p { font-size: .82rem; color: rgba(255,255,255,.72); max-height: 0; overflow: hidden; transition: max-height .8s var(--ease); }
.sector:hover p, .sector:focus-within p { max-height: 160px; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.level { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.level svg { width: 90px; height: 90px; margin-bottom: 20px; }
.level h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.level p { font-size: .88rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.c-cards { display: grid; gap: 12px; margin-top: 32px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 16px; background: var(--paper); transition: background .4s, color .4s, transform .5s var(--ease); }
a.c-card:hover { background: var(--ink); color: #fff; transform: translateX(6px); }
a.c-card:hover small { color: rgba(255,255,255,.6); }
.c-card i { width: 50px; height: 50px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.c-card i svg { width: 20px; height: 20px; }
.c-card strong { font-family: var(--font-head); font-size: 1.02rem; display: block; }
.c-card small { color: var(--muted); font-size: .85rem; transition: color .4s; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -50px rgba(10,13,18,.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.radio-row label { cursor: pointer; }
.radio-row input { position: absolute; opacity: 0; }
.radio-row span { display: inline-flex; height: 38px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .84rem; transition: all .3s; }
.radio-row input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.radio-row input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.locmap { position: relative; border-radius: 24px; overflow: hidden; background: #0d1218; aspect-ratio: 16/8; color: #fff; }
.locmap svg { width: 100%; height: 100%; }
.locmap__card { position: absolute; left: 24px; bottom: 24px; max-width: 320px; }
.locmap__card .glass { padding: 20px 24px; }
.locmap__card strong { font-family: var(--font-head); font-size: 1.15rem; display: block; }
.locmap__card p { font-size: .88rem; color: rgba(255,255,255,.75); margin: 4px 0 16px; }

/* ---------- misc ---------- */
.float-obj { position: absolute; pointer-events: none; filter: drop-shadow(0 30px 24px rgba(6,22,52,.28)); animation: float 8s ease-in-out infinite; z-index: 1; }
.parallax { will-change: transform; }
.cursor-dot { position: fixed; left: 0; top: 0; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--blue); pointer-events: none; z-index: 200; transition: width .3s, height .3s, margin .3s, background .3s; mix-blend-mode: normal; }
.cursor-dot.is-big { width: 64px; height: 64px; margin: -32px; background: rgba(38,146,208,.18); border: 1px solid var(--blue); }
@media (hover: none) { .cursor-dot { display: none; } }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(38,146,208,.8); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float svg { width: 26px; height: 26px; }
.preloader { position: fixed; inset: 0; z-index: 300; background: var(--ink); display: grid; place-items: center; transition: clip-path 1s var(--ease-out) .1s; clip-path: inset(0 0 0 0); }
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader svg { width: 120px; }
.preloader path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: pre 1.2s var(--ease-out) forwards; }
.preloader path:nth-child(2) { animation-delay: .2s; }
@keyframes pre { to { stroke-dashoffset: 0; } }
.preloader small { display: block; text-align: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; color: rgba(255,255,255,.5); margin-top: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside { max-width: 560px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-toc { position: static; grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .modal__box { grid-template-columns: 1fr; }
  .testi-orb { width: min(260px, 70%); }
}
@media (max-width: 860px) {
  .topbar__info span.hide-sm { display: none; }
  .about, .why, .split, .contact-grid, .cta-band .container { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__side { justify-items: start; text-align: left; }
  .section-head__side .lede { text-align: left; }
  .proj-bento { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .proj-bento > * { grid-column: auto !important; grid-row: auto !important; }
  .aud-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-row > div { padding-bottom: 24px; }
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .timeline::before, .timeline .tl-progress { display: none; }
  .levels, .scope { grid-template-columns: 1fr; }
  .title-block { grid-template-columns: 1fr 1fr; }
  .title-block > div { border-top: 1px solid var(--line-d); }
  .page-hero .container { grid-template-columns: 1fr; }
  .page-hero__obj { display: none; }
  .award-card { right: 12px; }
  .about__obj { left: -12px; width: 96px; }
  .cta-panel { margin-bottom: 64px; border-radius: 16px; overflow: hidden; }
  .svc-block__media { grid-template-columns: 1fr; }
  .svc-block__media .media-frame:first-child { aspect-ratio: 4/3; grid-row: auto; }
}
@media (max-width: 600px) {
  .topbar .socials { display: none; }
  .topbar__info { gap: 16px; }
  .header .container { height: 72px; }
  .logo img { height: 36px; }
  .hero { padding: 152px 0 112px; }
  .hero__caption .scroll-cue { display: none; }
  .svc-grid, .obj-grid, .pgrid, .sector-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr; }
  .proc-card { min-height: 0; }
  .service-item { min-height: 0; }
  .service-item .icon { width: 104px; height: 104px; }
  .about__body { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .svc-list, .form-row, .facts { grid-template-columns: 1fr; }
  .svc-toc { grid-template-columns: 1fr; }
  .svc-block__head { grid-template-columns: 1fr; }
  .svc-block__head img { width: 100px; }
  .quote-card { padding: 24px; }
  .aud-card .shape { width: 46%; opacity: .45; }
  .aud-card > :not(.shape) { max-width: 78%; }
  .locmap { aspect-ratio: 3/4; }
  .layers { height: 360px; transform: scale(.78); }
  .marquee__track span { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
}

/* ==========================================================================
   v2 — template-faithful hero card, about cut-outs, process stage switcher,
   mobile header, branded WhatsApp, mobile text variants & in-view states
   ========================================================================== */

/* no divider under the nav — the hero grid already structures the space */
.header::after { display: none; }

/* ---------- hero: quote card rises from the hero's bottom edge ---------- */
.hero { padding: 168px 0 0; align-items: stretch; flex-direction: column; }
.hero__inner { flex: 1; align-items: end; }
.hero__copy { padding-bottom: 36px; align-self: end; min-width: 0; }
.hero__aside { align-self: end; }
.hero__meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.hero__meta .hero__capt-text { flex: 1; min-width: 0; }
.quote-card { border-radius: 16px 16px 0 0; padding: 32px 32px 36px; box-shadow: 0 -30px 60px -30px rgba(0,0,0,.45); }
.quote-card::before, .quote-card::after { content: ""; position: absolute; bottom: 0; width: 16px; height: 16px; pointer-events: none; }
.quote-card::before { right: 100%; background: radial-gradient(circle at 0 0, transparent 15.5px, #fff 16px); }
.quote-card::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 15.5px, #fff 16px); }

/* ---------- about: badge & card cut into the photo (template) ---------- */
.about__media { padding: 0; }
.about__frame { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / .86; }
.about__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about__media:hover .about__frame > img, .about__media.is-inview .about__frame > img { transform: scale(1.05); }
.cut { position: absolute; background: #fff; z-index: 2; --r: 16px; }
.cut::before, .cut::after { content: ""; position: absolute; width: var(--r); height: var(--r); }
.cut--tl { left: 0; top: 0; padding: 0 12px 12px 0; border-bottom-right-radius: var(--r); }
.cut--tl::before { left: 100%; top: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - .5px), #fff var(--r)); }
.cut--tl::after { top: 100%; left: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - .5px), #fff var(--r)); }
.cut--br { right: 0; bottom: 0; padding: 12px 0 0 12px; border-top-left-radius: var(--r); width: 52%; }
.cut--br::before { right: 100%; bottom: 0; background: radial-gradient(circle at 0 0, transparent calc(var(--r) - .5px), #fff var(--r)); }
.cut--br::after { bottom: 100%; right: 0; background: radial-gradient(circle at 0 0, transparent calc(var(--r) - .5px), #fff var(--r)); }
.cut .badge-since { position: static; display: block; box-shadow: none; border-radius: 16px; padding: 12px 32px; }
.cut .award-card { position: static; width: auto; box-shadow: none; border: 1px solid var(--line); border-radius: 16px; padding: 28px 28px 24px; }
.award-card img { width: 46px; height: 46px; }
.about__tag { position: absolute; left: 24px; bottom: 24px; z-index: 2; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(10,13,18,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 8px; }

/* ---------- process: stage switcher (bento) ---------- */
.stages { position: relative; }
.stages__sticky { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 20px; }
.stages__list { background: var(--ink); color: #fff; border-radius: 24px; padding: 36px 36px 32px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.stages__list::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.stages__list h2 { margin: 16px 0 28px; position: relative; }
.stage-btn { all: unset; box-sizing: border-box; position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-d); cursor: pointer; color: rgba(255,255,255,.5); transition: color .4s; }
.stage-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.stage-btn .n { font-family: var(--font-mono); font-size: .72rem; color: var(--steel); transition: color .4s; }
.stage-btn strong { font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; }
.stage-btn .chev { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.stage-btn .chev svg { width: 14px; height: 14px; }
.stage-btn p { grid-column: 2 / 4; font-size: .86rem; color: rgba(255,255,255,.62); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .5s, margin .5s; }
.stage-btn::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--blue); }
.stage-btn.is-on { color: #fff; }
.stage-btn.is-on .n { color: var(--blue); }
.stage-btn.is-on .chev { background: var(--blue); border-color: var(--blue); transform: rotate(-45deg); }
.stage-btn.is-on p { max-height: 90px; opacity: 1; margin-top: 4px; }
.stage-btn.is-on::after { width: var(--p, 100%); }
.stages__foot { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: rgba(255,255,255,.5); position: relative; }
.stages__foot b { color: #fff; font-weight: 500; }
.stages__bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; min-height: 620px; }
.st-photo { grid-column: 1 / 3; position: relative; border-radius: 24px; overflow: hidden; background: var(--ink-3); color: #fff; }
.st-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s ease, transform 2.4s var(--ease-out); }
.st-photo img.is-on { opacity: 1; transform: scale(1); }
.st-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,13,18,.85), rgba(10,13,18,0) 55%); }
.st-photo__tag { position: absolute; left: 24px; top: 20px; z-index: 2; }
.st-photo__cap { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.st-photo__cap h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 600; line-height: 1.05; }
.st-photo__cap small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--sky); margin-bottom: 8px; text-transform: uppercase; }
.st-draw { background: radial-gradient(90% 120% at 80% 0%, #1d2733 0%, #0d1117 60%); border-radius: 24px; position: relative; overflow: hidden; display: grid; place-items: center; color: #fff; }
.st-draw svg { width: 62%; max-width: 190px; height: auto; position: absolute; opacity: 0; transition: opacity .6s; overflow: visible; }
.st-draw svg.is-on { opacity: 1; }
.st-draw .st-label { position: absolute; left: 20px; bottom: 16px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; color: rgba(255,255,255,.5); }
.st-out { background: var(--blue); color: #fff; border-radius: 24px; padding: 24px 24px 24px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.st-out::after { content: ""; position: absolute; right: -40px; top: -40px; width: 170px; height: 120px; background: rgba(255,255,255,.12); clip-path: polygon(50% 0, 100% 78%, 86% 100%, 50% 38%, 14% 100%, 0 78%); }
.st-out h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; opacity: .85; }
.st-out ul { margin-top: auto; display: grid; gap: 0; }
.st-out li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.25); font-weight: 500; font-size: .95rem; display: flex; justify-content: space-between; gap: 12px; animation: stIn .6s var(--ease-out) both; }
.st-out li span { font-family: var(--font-mono); font-size: .7rem; opacity: .7; }
@keyframes stIn { from { opacity: 0; transform: translateY(10px); } }
@media (min-width: 1101px) {
  .stages { height: 300vh; }
  .stages__sticky { position: sticky; top: 96px; height: calc(100vh - 128px); min-height: 600px; max-height: 760px; }
  .stages__bento { min-height: 0; }
}
.stage-cards { display: none; }
@media (max-width: 1100px) {
  .stages__sticky { display: none; }
  .stage-cards { display: grid; gap: 16px; }
  .stage-card { border-radius: 24px; overflow: hidden; background: var(--ink); color: #fff; position: relative; transition: transform .6s var(--ease), box-shadow .6s; }
  .stage-card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
  .stage-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
  .stage-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,13,18,1), transparent 60%); }
  .stage-card__img .pill-tag { position: absolute; left: 16px; top: 16px; z-index: 2; }
  .stage-card__body { padding: 0 20px 20px; margin-top: -56px; position: relative; z-index: 2; }
  .stage-card__body h3 { font-size: 1.55rem; font-weight: 600; }
  .stage-card__body p { color: rgba(255,255,255,.66); font-size: .9rem; margin: 8px 0 16px; }
  .stage-card__body ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .stage-card__body li { font-size: .76rem; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-d); color: rgba(255,255,255,.8); transition: background .5s, border-color .5s; }
  .stage-card.is-inview { box-shadow: 0 0 0 2px var(--blue), 0 30px 60px -30px rgba(38,146,208,.6); }
  .stage-card.is-inview .stage-card__img img { transform: scale(1.06); }
  .stage-card.is-inview li { background: rgba(38,146,208,.18); border-color: rgba(38,146,208,.5); }
}
.pill-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; color: #fff; }
.pill-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

/* ---------- mobile header: plain burger + quote button ---------- */
@media (max-width: 1100px) {
  .header__cta .btn { display: inline-flex; }
  .burger { border: 0; background: none; width: 40px; height: 40px; border-radius: 0; }
  .burger span { left: 8px; right: 8px; height: 2px; border-radius: 2px; }
  .burger span:nth-child(1) { top: 12px; } .burger span:nth-child(2) { top: 20px; left: 16px; } .burger span:nth-child(3) { top: 24px; }
  .nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header__cta { gap: 8px; }
}
@media (max-width: 600px) {
  .header__quote { height: 40px; padding: 0 16px; font-size: .8rem; gap: 8px; }
  .header__quote .arr { width: 14px; height: 14px; }
}

/* ---------- branded WhatsApp ---------- */
.wa-float { width: auto; height: 58px; padding: 0 8px; border-radius: 999px; display: flex; align-items: center;
  background: linear-gradient(135deg, #2692d0 0%, #135b8c 100%); border: 2px solid rgba(255,255,255,.9);
  animation: waPulse 2.8s ease-out infinite; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float__icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; position: relative; flex: none; }
.wa-float__icon svg { width: 22px; height: 22px; }
.wa-float__icon::after { content: ""; position: absolute; right: -1px; top: -1px; width: 11px; height: 11px; border-radius: 50%; background: #8fd0f5; border: 2px solid #fff; }
.wa-float__text { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .88rem; transition: max-width .6s var(--ease), padding .6s var(--ease); line-height: 1.15; }
.wa-float__text small { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; opacity: .8; font-weight: 500; }
.wa-float:hover .wa-float__text, .wa-float.is-open .wa-float__text { max-width: 180px; padding: 0 16px 0 12px; }
@keyframes waPulse { 0% { box-shadow: 0 18px 36px -12px rgba(19,91,140,.75), 0 0 0 0 rgba(38,146,208,.55); } 70%, 100% { box-shadow: 0 18px 36px -12px rgba(19,91,140,.75), 0 0 0 16px rgba(38,146,208,0); } }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; height: 54px; } }

/* ---------- mobile text variants ---------- */
.t-short { display: none; }
@media (max-width: 600px) {
  .t-long { display: none; }
  .t-short { display: inline; }
}

/* ---------- touch: hover effects play when the card reaches screen centre ---------- */
.svc-card.is-inview { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(10,13,18,.3); }
.svc-card.is-inview .svc-card__media img, .proj-tile.is-inview img, .pcard.is-inview .pcard__img img, .sector.is-inview img { transform: scale(1.07); }
.svc-card.is-inview .notch--br a { background: var(--ink); }
.svc-card.is-inview .notch--br a svg { transform: rotate(-45deg); }
.proj-tile.is-inview .proj-tile__go { background: var(--blue); transform: rotate(-45deg); }
.aud-card.is-inview { transform: translateY(-4px); }
.aud-card.is-inview .shape { transform: translateX(-8px); }
.proc-card.is-inview { border-color: rgba(38,146,208,.5); transform: translateY(-6px); background: linear-gradient(180deg, rgba(38,146,208,.14), rgba(255,255,255,.03)); }
.sector.is-inview p { max-height: 160px; }
.pcard.is-inview .view { transform: scale(1); }
a.c-card.is-inview { background: var(--ink); color: #fff; transform: translateX(6px); }
a.c-card.is-inview small { color: rgba(255,255,255,.6); }

/* ---------- v2 responsive ---------- */
@media (max-width: 1100px) {
  .hero__aside { max-width: none; width: 100%; grid-template-columns: 1fr 1.4fr; align-items: end; }
  .hero__stats { align-self: stretch; margin-bottom: 0; }
  .hero__copy { padding-bottom: 40px; }
  .hero__meta { margin-top: 44px; }
}
@media (max-width: 860px) {
  .hero__aside { grid-template-columns: 1fr; }
  .cut--br { width: 62%; }
}
@media (max-width: 600px) {
  .hero { padding-top: 136px; }
  .hero .h1 { font-size: clamp(2.6rem, 12.5vw, 3.3rem); }
  .hero__meta { margin-top: 32px; }
  .hero__meta .hero__capt-text { font-size: .62rem; }
  .hero__stats { padding: 20px 8px; }
  .quote-card { padding: 24px 20px 28px; }
  .cut--tl { padding: 0 8px 8px 0; }
  .cut .badge-since { padding: 8px 16px; font-size: 1.25rem; }
  .cut--br { width: 70%; padding: 8px 0 0 8px; }
  .cut .award-card { padding: 16px; }
  .cut .award-card strong { font-size: .98rem; }
  .cut .award-card small { display: none; }
  .award-card img { width: 34px; height: 34px; margin-bottom: 8px; }
  .about__frame { aspect-ratio: 1 / 1.02; }
}

/* ===== v3 — measured fixes ===== */
/* body must not become a scroll container (it broke position:sticky) */
body { overflow-x: clip; }
/* topbar (40px) sits in flow: hero + topbar = exactly one screen, card bottom = fold */
.hero { min-height: calc(100svh - 40px); padding-top: 152px; }
.hero__meta .hero__capt-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__meta .scroll-cue { flex: none; }
.st-photo__tag, .stage-card__img .pill-tag { background: rgba(10,13,18,.55); color: #fff; border-color: rgba(255,255,255,.18); }
@media (max-width: 600px) {
  .hero__meta { gap: 12px; }
  .hero__meta .scroll-cue { display: none; }
  .hero__meta .hero__dots { flex: none; }
}

/* ===== v3 — mobile measurements: tap targets ≥ 40px, labels ≥ 11px ===== */
/* slider dots: 3px visual bar, 24px hit area */
.hero__dots button { height: 24px; background: linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) center / 100% 3px no-repeat; overflow: visible; }
.hero__dots button::after { inset: 10.5px 0; border-radius: 2px; }
@media (max-width: 600px) {
  .hero__dots { gap: 4px; }
  .hero__dots button { width: 40px; height: 40px; background-size: 30px 3px; }
  .hero__dots button::after { inset: 18.5px 5px; }
  .footer ul { gap: 0; }
  .footer ul a { display: inline-block; padding: 8px 0; }
  .topbar__info a { padding: 12px 0; }
  .link-arrow { min-height: 40px; padding-bottom: 0; background-position: 0 calc(100% - 9px); }
  /* the tag moves to the top-right so it never covers the award card */
  .about__tag { left: auto; right: 12px; bottom: auto; top: 12px; font-size: .62rem; }
  /* GIS layer stack: smaller, with room for its caption */
  .layers { height: 380px; transform: scale(.66); margin: -32px 0 -12px; }
  /* small mono labels: 11px floor */
  .proj-tile__status, .svc-card .tag, .tag, .proj-tile__meta small, .quote-card h2 small, .hero__meta .hero__capt-text,
  .pcard small, figcaption, .about__tag, .count, .title-block span, .title-block b,
  .proc-card .foot span, .sector small, .timeline small, .tl small, [class*="__cap"] small { font-size: 11px !important; }
}
@media (max-width: 600px) {
  .pill-tag, .map-coords, .orb-tag span { font-size: 11px !important; }
  .socials { gap: 2px; }
  .socials a { width: 40px; height: 40px; }
  .crumbs { align-items: center; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 40px; }
}
@media (max-width: 1100px) { .hero__stats { align-content: center; align-items: center; } }
@media (max-width: 600px) { .about__tag { display: none; } }
@media (min-width: 601px) and (max-width: 1100px) { .hero__stats { margin-bottom: 24px; } }

/* ===== v4 — avatars never shrink (the "+" disc was being squashed by flex) ===== */
.avatars { flex: none; }
.avatars img, .avatars span { flex: none; box-sizing: border-box; aspect-ratio: 1; }

/* ===== v4 — phones: two-zone heroes (photo above, copy on a solid ground) =====
   A portrait crop of a wide photo cannot carry type, so on phones the picture
   owns the top of the screen with only the header over it, then dissolves
   into the ink block that holds the copy. The framing engine (main.js) steers
   each photo's subject clear of the header. */
@media (max-width: 720px) {
  .hero { display: block; padding: 0; min-height: 0; }
  .hero__slides { position: relative; inset: auto; height: 380px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,.5) 88%, transparent);
            mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,.5) 88%, transparent); }
  .hero__slide img { animation-duration: 12s; }
  .hero::before { inset: 0 0 auto 0; height: 380px;
    background: linear-gradient(180deg, rgba(10,13,18,.78) 0%, rgba(10,13,18,.2) 24%, rgba(10,13,18,0) 44%, rgba(10,13,18,.25) 72%, var(--ink) 100%); }
  .hero .bp-grid { top: 384px; }
  .hero__inner { padding-top: 8px; margin-top: -24px; }
  .hero__copy { padding-bottom: 32px; }
  .hero__meta { margin-top: 32px; }

  .page-hero { padding: 0 0 48px; }
  .page-hero__bg { position: relative; inset: auto; height: 300px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent);
            mask-image: linear-gradient(180deg, #000 68%, transparent); }
  .page-hero__bg img { opacity: .9; }
  .page-hero::before { inset: 0 0 auto 0; height: 300px;
    background: linear-gradient(180deg, rgba(10,13,18,.78) 0%, rgba(10,13,18,.1) 34%, rgba(10,13,18,.2) 70%, var(--ink) 100%); }
  .page-hero .bp-grid { top: 304px; }
  .page-hero .container { margin-top: -16px; }
}

/* ===== v4 — photos start below the resting header, so it never sits on a subject ===== */
:root { --hdr: 84px; }
@media (max-width: 600px) { :root { --hdr: 72px; } }
.page-hero__bg { top: var(--hdr);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 56px); mask-image: linear-gradient(180deg, transparent 0, #000 56px); }
@media (max-width: 720px) {
  .hero__slides { margin-top: var(--hdr); height: 320px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32px, #000 70%, rgba(0,0,0,.5) 88%, transparent);
            mask-image: linear-gradient(180deg, transparent 0, #000 32px, #000 70%, rgba(0,0,0,.5) 88%, transparent); }
  .hero::before { top: var(--hdr); height: 320px;
    background: linear-gradient(180deg, rgba(10,13,18,.35) 0%, rgba(10,13,18,0) 26%, rgba(10,13,18,0) 60%, rgba(10,13,18,.35) 80%, var(--ink) 100%); }
  .hero .bp-grid { top: calc(var(--hdr) + 320px); }
  .page-hero__bg { top: auto; margin-top: var(--hdr); height: 260px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 32px, #000 66%, transparent);
            mask-image: linear-gradient(180deg, transparent 0, #000 32px, #000 66%, transparent); }
  .page-hero::before { top: var(--hdr); height: 260px;
    background: linear-gradient(180deg, rgba(10,13,18,.3) 0%, rgba(10,13,18,0) 30%, rgba(10,13,18,.2) 70%, var(--ink) 100%); }
  .page-hero .bp-grid { top: calc(var(--hdr) + 264px); }
}
.span-3 { grid-column: span 3; }
@media (max-width: 860px) { .proj-bento > .span-3 { grid-column: auto; } }
/* the CTA panel's call button takes the bottom-right corner, not the subject's centre */
.cta-panel__img a { left: auto; top: auto; right: 16px; bottom: 16px; margin: 0; }

/* ===== v4 — one button height per row: Call Now matches Contact Now (50px) ===== */
.callnow { min-height: 50px; }
.callnow span { line-height: 1.3; }
.callnow strong { line-height: 1.25; }

/* ===== v4 — geometry on the 8-pt spine ===== */
/* buttons: two heights site-wide, both on the grid */
.btn { height: 48px; }
.btn--sm, .header__quote { height: 40px; }
.callnow i { width: 48px; height: 48px; }
.callnow { min-height: 48px; }
.stage-btn .chev { width: 32px; height: 32px; }
/* service-card corner notch: box, fillets and button share one measure */
.notch--br { width: 72px; height: 72px; }
.notch--br a { width: 48px; height: 48px; }
/* burger: three bars on an 8px rhythm; the X meets exactly at the centre bar */
.burger { width: 48px; height: 48px; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 24px; } .burger span:nth-child(3) { top: 32px; }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 1100px) {
  .burger { width: 40px; height: 40px; }
  .burger span:nth-child(1) { top: 12px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 28px; }
}

/* ===== v5 — the nav sits on the hero photo again (no ink band); subjects are framed clear of it ===== */
.page-hero__bg { top: 0; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 720px) {
  .hero__slides { margin-top: 0; height: calc(var(--hdr) + 320px);
    -webkit-mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.5) 88%, transparent);
            mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,.5) 88%, transparent); }
  .hero::before { top: 0; height: calc(var(--hdr) + 320px);
    background: linear-gradient(180deg, rgba(10,13,18,.38) 0%, rgba(10,13,18,0) 26%, rgba(10,13,18,0) 62%, rgba(10,13,18,.35) 80%, var(--ink) 100%); }
  .hero .bp-grid { top: calc(var(--hdr) + 320px); }
  .page-hero__bg { margin-top: 0; height: calc(var(--hdr) + 260px);
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .page-hero::before { top: 0; height: calc(var(--hdr) + 260px);
    background: linear-gradient(180deg, rgba(10,13,18,.38) 0%, rgba(10,13,18,0) 28%, rgba(10,13,18,.2) 72%, var(--ink) 100%); }
  .page-hero .bp-grid { top: calc(var(--hdr) + 260px); }
}
/* about photo: a frame shape that holds the whole line of faces clear of the "Since" cut */
.about__frame { aspect-ratio: 1 / 1; }
@media (max-width: 600px) {
  .about__frame { aspect-ratio: 26 / 25; }
  .cut .badge-since { padding: 4px 12px; font-size: 1.1rem; }
}
/* team bento: one row height, tuned on phones so the wide line-up fits its tile */
.proj-bento--team { grid-auto-rows: 240px; }
@media (max-width: 860px) { .proj-bento--team { grid-auto-rows: 224px; } }
/* stage cards: the stage pill is a kicker in the body (bottom-left), never over the photo's subject */
.stage-card__body .pill-tag { position: static; display: inline-flex; margin-bottom: 8px; }
@media (max-width: 600px) { .cta-panel__img { min-height: 200px; } }

/* ===== v5 — client logos: white band under the hero, equal cells on hairlines ===== */
.clients { background: #fff; padding: 24px 0 8px; }
.clients__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.clients__grid li { background: #fff; height: 96px; display: grid; place-items: center; padding: 0 16px; }
.clients__grid img { width: auto; height: auto; max-height: var(--h); max-width: 100%; opacity: .88; transition: opacity .4s var(--ease); }
.clients__grid li:hover img, .clients__grid li.is-inview img { opacity: 1; }
/* nine marks: one row of nine, or three by three, never a ragged last row */
@media (max-width: 860px) { .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .clients { padding: 16px 0 0; }
  .clients__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clients__grid li { height: 80px; padding: 0 12px; }
  .clients__grid img { max-height: calc(var(--h) * .9); }
}

/* ---------- no-JS gate (checklist): hidden reveal states exist only when script runs ---------- */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
html:not(.js) .img-reveal::after { transform: scaleX(0); }
html:not(.js) .preloader { display: none; }
/* scroll lock while the mobile nav is open */
html.nav-lock, html.nav-lock body { overflow: hidden; overscroll-behavior: none; }

/* ---------- hero fits one screen (checklist): short desktops and landscape tablets ---------- */
@media (min-width: 961px) and (max-width: 1100px) and (orientation: landscape) {
  .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero__aside { grid-template-columns: 1fr; max-width: none; }
  .hero__stats { margin-bottom: 0; }
}
@media (min-width: 961px) and (max-height: 860px) {
  .hero { padding-top: 136px; }
  .hero .h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); }
  .hero h1 { margin: 16px 0; }
  .hero__copy { padding-bottom: 24px; }
  .hero__meta { margin-top: 32px; }
}

/* about: eight discipline cards, four across, two on tablets, one on phones */
.proc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proc-grid--4 .proc-card { min-height: 224px; }
@media (max-width: 1100px) { .proc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .proc-grid--4 { grid-template-columns: 1fr; } .proc-grid--4 .proc-card { min-height: 0; } .proc-grid--4 .proc-card p { margin-bottom: 24px; } }
.svc-list--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .svc-list--2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   v6: type (Geist + Geist Mono, as on leengate, with Caveat for the blue accents), self-hosted
   ========================================================================== */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/geist-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/geist-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/geist-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/geist-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/caveat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/caveat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-hand: "Caveat", "Segoe Print", cursive;
}
body { letter-spacing: -.005em; }
h1, h2, h3, .h1, .h2 { letter-spacing: -.035em; }
/* the blue half of every heading is written by hand: Caveat runs small, so it is set 1.22x */
.tone-grad { font-family: var(--font-hand); font-weight: 700; font-size: 1.22em; letter-spacing: -.005em; line-height: .9; padding-right: .06em; }
.split-line { padding-bottom: .14em; margin-bottom: -.14em; }
/* other hand-written moments */
.badge-since, .hand { font-family: var(--font-hand); font-weight: 700; letter-spacing: 0; }
.badge-since { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; }

/* framing QA: the about badge kept a sliver of the subject covered on desktop */
.cut .badge-since { padding: 8px 24px; }
/* client logos never distort */
.clients__grid img { object-fit: contain; }

/* mobile hero: Contact Now and Call Now side by side, two equal cells */
@media (max-width: 600px) {
  .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; padding-inline: 16px; }
  .callnow { gap: 8px; min-width: 0; }
  .callnow i { width: 40px; height: 40px; flex: none; }
  .callnow i::before { inset: -4px; }
  .callnow svg { width: 16px; height: 16px; }
  .callnow strong { font-size: .95rem; }
  .callnow small { font-size: .75rem; white-space: nowrap; }
}

/* mobile symmetry: equal insets top/bottom and left/right */
.form-note:empty { margin: 0; min-height: 0; }
.quote-card { padding: 32px; }
@media (max-width: 600px) { .quote-card { padding: 24px; } .form-panel { padding: 24px; } }

/* ==========================================================================
   v7: the bold line system
   A bold line goes on flat content that sits on plain ground. Anything over
   imagery, or made of imagery, stays light. One weight (--bw), one radius (16).
   State changes the colour (ink -> blue), never the weight.
   ========================================================================== */
:root {
  --bw: 2px;
  --edge: var(--ink);                    /* bold line on light ground */
  --edge-d: rgba(255, 255, 255, .42);    /* bold line on dark ground */
  --edge-hot: var(--blue);               /* hover / focus / checked */
  --r: 16px;
}
:focus-visible { outline: var(--bw) solid var(--edge-hot); outline-offset: 3px; }

/* ---- bold: flat cards on plain ground ---- */
.exp-box, .service-item, .aud-card, .chart-card, .level, .c-card, .form-panel {
  border: var(--bw) solid var(--edge); border-radius: var(--r); box-shadow: none;
  transition: border-color .3s var(--ease), background .4s, color .4s, transform .5s var(--ease);
}
.service-item { border-radius: var(--r); overflow: hidden; }
.service-item:hover, .service-item.is-inview, .aud-card:hover, a.c-card:hover, a.c-card.is-inview, .level:hover { border-color: var(--edge-hot); }
.aud-card.aud--ink { border-color: var(--edge); }
/* hairlines inside bold boxes stay soft, so the frame stays the strongest line */
.chart-card .chart-table th, .chart-card .chart-table td { border-color: var(--line); }

/* ---- bold: ruled grids, the gap is the line ---- */
.stats-row--light { gap: var(--bw); background: var(--edge); border: var(--bw) solid var(--edge); border-radius: var(--r); overflow: hidden; }
.stats-row--light > div, .stats-row--light > div:first-child { background: #fff; border: 0; padding: 32px 24px; }

/* ---- bold: rules between service blocks ---- */
.svc-block { border-bottom: var(--bw) solid var(--edge); }

/* ---- bold: pills, chips and fields that people press or type in ---- */
.chip { border: var(--bw) solid var(--edge); font-weight: 600; background: none; transition: border-color .25s, background .25s, color .25s; }
.chip:hover { border-color: var(--edge-hot); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.radio-row span { border: var(--bw) solid var(--edge); font-weight: 600; }
.radio-row input:checked + span { background: var(--edge-hot); border-color: var(--edge-hot); color: #fff; }
.radio-row input:focus-visible + span { outline: var(--bw) solid var(--edge-hot); outline-offset: 3px; }
.form-panel .field :is(input, select, textarea) { border: var(--bw) solid var(--edge); background: #fff; border-radius: 8px; transition: border-color .25s; }
.form-panel .field :is(input, select, textarea):focus { border-color: var(--edge-hot); box-shadow: none; }

/* ---- dark sections: the bold line turns translucent white ---- */
.proc-card { border: var(--bw) solid var(--edge-d); border-radius: var(--r); }
.proc-card:hover { border-color: var(--edge-hot); }
.proc-card .foot { border-top-color: var(--line-d); }

/* ---- light: over imagery, inside the hero, or made of imagery (hero, photo tiles, glass pills,
   award card over the photo, cta panel over the band photo) keep their soft edges; only fix the one
   hard divider found inside the cta panel ---- */
.cta-panel__row { border-bottom: 1px solid var(--line); }
.stats-row--light > div:nth-child(n) { background: #fff; border: 0; padding: 32px 24px; }

/* ---------- v7 type engineering: text is set to the component, not the other way round ---------- */
h1, h2, h3, h4, .h1, .h2, .h3, .eyebrow, .lede, figcaption, .pill, .tag { text-wrap: balance; }
p, li, small, dd { text-wrap: pretty; }
.lede { max-width: 48ch; }
.aud-card h3 { max-width: none; white-space: nowrap; }
@media (max-width: 600px) { .aud-card > :not(.shape) { max-width: 70%; } .aud-card h3 { font-size: 1.5rem; } .tone-grad { font-size: 1.14em; } }
.stats-row--light { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.stats-row small { display: block; line-height: 1.4; margin-top: 8px; }
.cut strong, .award-card strong, .c-card strong, .callnow strong, .cta-panel__row strong { text-wrap: balance; }
