/* ==========================================================================
   Global Payments Consultancy Ltd — Main stylesheet (v2)
   --------------------------------------------------------------------------
   1. Design tokens
   2. Base / reset / textures
   3. Layout helpers
   4. Buttons & links
   5. Header & navigation (transparent → glass on scroll, mega-menu, drawer)
   6. Home hero slider, ticker, stats
   7. Inner-page hero
   8. Content sections (cards, focus band, expertise, engagement, CTA)
   9. About page
   10. Services overview + service pages
   11. Contact page & forms
   12. Footer
   13. Utilities & motion
   14. Responsive breakpoints
   ========================================================================== */

/* 0. Self-hosted fonts (SIL Open Font License) — no third-party requests ------ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/sora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Brand colours taken from the GPC logo: navy #00285c, blue #0458b8 */
  --brand-navy: #00285c;
  --brand-blue: #0458b8;

  --navy-990: #010915;
  --navy-950: #020f24;
  --navy-900: #041c40;
  --navy-800: #08295a;
  --navy-700: #0d3672;
  --navy-600: #1e4a86;

  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white-soft: #f5f8fc;
  --white: #ffffff;

  --accent: #0458b8;
  --accent-strong: #03468f;
  --accent-light: #5aa8f0;
  --accent-glow: #8fc8ff;
  --accent-tint: #e8f1fb;
  --grad-brand: linear-gradient(120deg, #0458b8 0%, #2f86e0 55%, #5aa8f0 100%);
  --grad-text: linear-gradient(100deg, #8fc8ff 0%, #5aa8f0 45%, #ffffff 100%);

  --success: #15803d;
  --error: #b91c1c;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 25, 47, .06);
  --shadow: 0 10px 30px rgba(10, 25, 47, .09);
  --shadow-lg: 0 24px 60px rgba(10, 25, 47, .18);
  --shadow-glow: 0 0 0 1px rgba(90,168,240,.25), 0 20px 50px rgba(4,88,184,.25);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
  --section-y: clamp(72px, 9vw, 120px);

  /* Textures */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --dots: radial-gradient(rgba(4,88,184,.13) 1px, transparent 1.2px);
}

/* 2. Base / reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; font-family: var(--font-display); letter-spacing: -.02em; font-synthesis: none; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); }
h3 { font-size: 1.22rem; letter-spacing: -.01em; }
h1 em, h2 em, .focus-band-title em {
  font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: 0;
  font-size: 1.08em; color: var(--accent);
}
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(90,168,240,.35); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--white); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Background artwork (picture element filling its positioned parent) */
.bg-media, .slide-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bg-media img, .slide-media img { width: 100%; height: 100%; object-fit: cover; }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* 3. Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section > .container { position: relative; z-index: 2; }
.section--muted { background: var(--white-soft); }
.section--texture::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--dots); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 85% 10%, #000 0%, transparent 70%);
          mask-image: radial-gradient(70% 60% at 85% 10%, #000 0%, transparent 70%);
}
.section--dark { background: var(--navy-950); color: var(--slate-300); overflow: hidden; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark h2 em { color: var(--accent-light); }
.section--image .bg-media { opacity: .85; }
.section--image::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, var(--navy-950) 0%, rgba(2,15,36,.4) 45%, rgba(2,15,36,.7) 100%), var(--noise);
  background-blend-mode: normal, overlay; opacity: 1;
}

.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; }
.section-head--split h2 { margin: 0; }
.section-head p { font-size: 1.125rem; color: var(--slate-600); }
.section-head--split p { margin: 0; }
.section--dark .section-head p { color: var(--slate-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .76rem/1.4 var(--font-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.section--dark .eyebrow, .hero-slider .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--accent-glow); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.24rem); line-height: 1.65; color: var(--slate-600); }

.grid { display: grid; gap: clamp(20px, 2.5vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.split--center { align-items: center; }

/* 4. Buttons & links ----------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px; overflow: hidden; isolation: isolate;
  font: 600 .98rem/1.2 var(--font-sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad-brand); color: var(--white); box-shadow: 0 8px 24px rgba(4,88,184,.35); }
.btn--primary::after { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn--primary:hover { color: var(--white); box-shadow: 0 12px 32px rgba(4,88,184,.5); transform: translateY(-1px); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--accent-tint); color: var(--navy-900); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* 5. Header & navigation ------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background-color .35s, box-shadow .35s, border-color .35s, height .35s;
}
.site-header::before { /* soft top shade so links read on any artwork */
  content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(1,9,21,.65), rgba(1,9,21,0));
  transition: opacity .35s;
}
.site-header.is-scrolled {
  background: rgba(4,20,46,.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .35s; }
.site-header.is-scrolled .header-inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.brand:hover { color: var(--white); }
.brand-mark {
  display: grid; place-items: center; flex-shrink: 0;
  width: 54px; height: 54px; border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,.12), 0 6px 18px rgba(0,0,0,.3);
  transition: transform .35s, width .35s, height .35s;
}
.brand-mark img { width: 88%; height: 88%; object-fit: contain; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.site-header.is-scrolled .brand-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-glow); margin-top: 4px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  background: rgba(255,255,255,.06); color: var(--white); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.primary-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font: 500 .97rem/1.2 var(--font-sans); color: rgba(255,255,255,.82); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--white); background: rgba(255,255,255,.09); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--white); }
.nav-link[aria-current="page"]::after, .nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--accent-light); box-shadow: 0 0 10px var(--accent-light);
}
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta { margin-left: 14px; min-height: 44px; padding: 10px 22px; font-size: .94rem; }

/* Services mega-menu (desktop) */
.has-dropdown { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.mega > .container { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--slate-200); }
.has-dropdown.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr) 270px; gap: 32px; padding: 30px 30px 32px !important; }
.mega-col h3 {
  display: flex; align-items: center; gap: 10px;
  font: 600 .76rem/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500);
  padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--slate-200);
}
.mega-col h3 a { color: inherit; text-decoration: none; }
.mega-col h3 a:hover { color: var(--accent); }
.mega-col h3 svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.mega-col ul { list-style: none; }
.mega-col li a {
  display: block; padding: 9px 12px; margin-inline: -12px; border-radius: var(--radius-sm);
  color: var(--navy-900); text-decoration: none; font-size: .97rem; font-weight: 500; line-height: 1.35;
  transition: background-color .2s, color .2s, padding .2s;
}
.mega-col li a:hover, .mega-col li a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-strong); padding-left: 18px; }
.mega-feature {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 100% 0%, rgba(90,168,240,.35), transparent 60%), var(--navy-900);
  color: var(--slate-300); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 12px; font-size: .94rem; line-height: 1.55;
}
.mega-feature strong { color: var(--white); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.mega-feature .link-arrow { color: var(--accent-glow); margin-top: auto; }

/* 6. Home hero slider ---------------------------------------------------- */
.hero-slider {
  position: relative; height: 100vh; height: 100svh; min-height: 660px; max-height: 1100px;
  overflow: hidden; background: var(--navy-990); color: var(--slate-300); isolation: isolate;
}
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-media img { transform: scale(1.14); transform-origin: 70% 50%; }
.slide.is-active .slide-media img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1.5%, 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1,9,21,.92) 0%, rgba(1,9,21,.7) 34%, rgba(1,9,21,.15) 64%, rgba(1,9,21,0) 100%),
    linear-gradient(0deg, rgba(1,9,21,.85) 0%, rgba(1,9,21,0) 30%),
    var(--noise);
  background-blend-mode: normal, normal, overlay;
}
.slides { z-index: 1; }
.hero-slider .fx-canvas { z-index: 2; opacity: .75; mix-blend-mode: screen; }
.slide-inner { position: relative; z-index: 2; padding-top: var(--header-h); padding-bottom: 120px; }
.slide-copy { max-width: 780px; }
.slide-title { color: var(--white); font-family: var(--font-display); font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 26px; }
.slide-title span { display: block; }
.slide-title em {
  font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.1em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.slide-title span:last-child { color: var(--accent-light); }
.slide .lead { color: rgba(226,236,250,.86); max-width: 590px; margin-bottom: 38px; }
/* staggered entrance of slide copy */
/* First slide is shown instantly (fast first paint); the entrance animation runs once slides start changing */
.has-changed .slide .eyebrow, .has-changed .slide-title span, .has-changed .slide .lead, .has-changed .slide .btn-row { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.has-changed .slide.is-active .eyebrow { opacity: 1; transform: none; transition-delay: .25s; }
.has-changed .slide.is-active .slide-title span { opacity: 1; transform: none; }
.has-changed .slide.is-active .slide-title span:nth-child(1) { transition-delay: .4s; }
.has-changed .slide.is-active .slide-title span:nth-child(2) { transition-delay: .55s; }
.has-changed .slide.is-active .slide-title span:nth-child(3) { transition-delay: .7s; }
.has-changed .slide.is-active .lead { opacity: 1; transform: none; transition-delay: .85s; }
.has-changed .slide.is-active .btn-row { opacity: 1; transform: none; transition-delay: 1s; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; display: flex; align-items: flex-end; gap: 20px; }
.hero-dots { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.hero-dot {
  width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 10px; padding: 10px 0 0; text-align: left;
  background: none; border: 0; color: rgba(255,255,255,.55); cursor: pointer; font: inherit;
  transition: color .3s;
}
.hero-dot:hover, .hero-dot.is-active { color: var(--white); }
.hero-dot-num { font: 600 .78rem var(--font-display); color: var(--accent-light); }
.hero-dot-label { font-size: .86rem; font-weight: 500; letter-spacing: .02em; }
.hero-dot-bar { grid-column: 1 / -1; order: -1; height: 2px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; margin-bottom: 10px; }
.hero-dot-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-light), #fff); }
.hero-dot.is-active .hero-dot-bar i { animation: dotfill var(--hero-interval, 7s) linear forwards; }
.hero-slider.is-paused .hero-dot.is-active .hero-dot-bar i { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }
.hero-pause {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.06); color: var(--white); cursor: pointer; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-pause svg { width: 16px; height: 16px; fill: currentColor; }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 120px; z-index: 5; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 99999px) { .scroll-cue { display: block; right: calc((100vw - var(--container)) / 2 + var(--gutter)); } }

/* 6b. Home hero — live payment-network animation ------------------------- */
.hero-net {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  color: var(--slate-300);
  /* Static frame of the animation: shown instantly, and as the fallback without JS */
  background: #01060f url("../img/bg/hero-network.webp") center / cover no-repeat;
}
.hero-net::before { /* deep-space colour wash behind the canvas */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .8s;
  background: radial-gradient(80% 90% at 68% 50%, #062a5c 0%, #031633 45%, #01060f 100%);
}
.hero-net.is-live::before { opacity: 1; }
.plexus { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.hero-net-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1,6,15,.86) 0%, rgba(1,6,15,.55) 38%, rgba(1,6,15,0) 68%),
    linear-gradient(0deg, rgba(1,6,15,.8) 0%, rgba(1,6,15,0) 28%),
    linear-gradient(180deg, rgba(1,6,15,.55) 0%, rgba(1,6,15,0) 22%);
}
.hero-net-inner { position: relative; z-index: 3; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
.hero-net-inner > * { max-width: 720px; }
.hero-net-title { color: var(--white); font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 24px; }
.hero-net-title span { display: block; }
.hero-net-title em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-net-title span:last-child { color: var(--accent-light); }
.hero-net .lead { color: rgba(226,236,250,.88); max-width: 580px; margin-bottom: 36px; }
.hero-net .eyebrow { color: var(--accent-glow); }
.hero-net-inner > :not(h1) { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-net-inner > :nth-child(2) { animation-delay: .1s; }
.hero-net-inner > :nth-child(3) { animation-delay: .2s; }
.hero-net-inner > :nth-child(4) { animation-delay: .3s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-net-foot {
  position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 22px 28px; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-audience { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: .9rem; color: rgba(203,213,225,.85); }
.hero-audience strong { color: var(--white); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero-audience ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; }
.hero-audience li { display: inline-flex; align-items: center; gap: 9px; }
.hero-audience li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 8px var(--accent-light); }
.hero-net + .section { padding-top: clamp(80px, 10vw, 128px); }
@media (max-width: 700px) { .hero-net { background-image: url("../img/bg/hero-network-sm.webp"); } }
@media (max-width: 960px) {
  .hero-net-shade { background: linear-gradient(180deg, rgba(1,6,15,.45) 0%, rgba(1,6,15,.05) 22%, rgba(1,6,15,.55) 55%, rgba(1,6,15,.88) 100%); }
  .hero-net { justify-content: flex-end; }
  .hero-net-inner { padding-top: calc(var(--header-h) + 120px); }
}
@media (max-width: 600px) {
  /* Phones: keep the hero to headline + one line of text + one button so the network can breathe */
  .hero-net .eyebrow { display: none; }
  .hero-net-title { font-size: clamp(1.8rem, 8.2vw, 2.25rem); line-height: 1.1; margin-bottom: 16px; }
  .hero-net .lead { font-size: .98rem; line-height: 1.55; margin-bottom: 24px; color: rgba(226,236,250,.82); }
  .hero-net .btn--ghost { display: none; }
  .hero-net .btn-row .btn { width: auto; min-height: 48px; padding-inline: 24px; }
  .hero-net-inner { padding-bottom: 8px; }
  .hero-audience { display: none; }
  .hero-net-foot { justify-content: flex-end; border-top: 0; padding-block: 0 22px; }
  .hero-net-foot .hero-pause { width: 38px; height: 38px; opacity: .8; }
}
@media (prefers-reduced-motion: reduce) { .hero-net-inner > * { animation: none; } }

/* 6c. Ticker */
.ticker {
  position: relative; display: flex; overflow: hidden; user-select: none;
  background: linear-gradient(90deg, #0458b8, #0b4ea0 50%, #0458b8); color: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: flex; flex-shrink: 0; gap: 0; list-style: none; padding: 16px 0; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 .86rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker-track li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-glow); box-shadow: 0 0 10px #fff; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* Stats band */
.stats-band { position: relative; background: var(--navy-950); color: var(--slate-400); overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 80% 0%, rgba(4,88,184,.35), transparent 60%); pointer-events: none; }
.stats-band .container { position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.stats li { padding: 40px 24px 36px; border-left: 1px solid rgba(255,255,255,.08); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font: 600 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-display); letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stats span { font-size: .95rem; color: var(--slate-300); }
.audience-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; padding-block: 22px; font-size: .92rem; }
.audience-inner strong { color: var(--white); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; }
.audience-inner ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; }
.audience-inner li { display: inline-flex; align-items: center; gap: 10px; }
.audience-inner li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 8px var(--accent-light); }

/* 7. Inner-page hero ----------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(460px, 62vh, 620px); display: flex; align-items: flex-end;
  background: var(--navy-990); color: var(--slate-300);
  padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(56px, 7vw, 96px);
}
.page-hero .bg-media img { animation: heroZoom 18s ease-out forwards; transform-origin: 70% 40%; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1,9,21,.9) 0%, rgba(1,9,21,.62) 45%, rgba(1,9,21,.15) 100%),
    var(--noise);
  background-blend-mode: normal, overlay;
}
.page-hero .fx-canvas { z-index: 2; opacity: .7; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 2; background: linear-gradient(0deg, rgba(1,9,21,.6), transparent); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 3; }
.page-hero h1 { color: var(--white); max-width: 920px; margin-bottom: 20px; font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.07; letter-spacing: -.03em; }
.page-hero h1 em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.page-hero .lead { color: rgba(226,236,250,.86); max-width: 720px; margin: 0; }
.page-hero .btn-row { margin-top: 34px; }
.page-hero--tall { min-height: 80vh; }
.h1-icon {
  display: inline-grid; place-items: center; width: .95em; height: .95em; margin-right: .3em; vertical-align: -.1em;
  border-radius: 22%; background: rgba(90,168,240,.15); border: 1px solid rgba(90,168,240,.4); color: var(--accent-glow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.h1-icon svg { width: 58%; height: 58%; }
.hero-jump { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin-top: 34px; }
.hero-jump a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
  color: var(--white); text-decoration: none; font-weight: 500; font-size: .95rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s, border-color .2s;
}
.hero-jump a span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-brand); font: 600 .72rem var(--font-display); }
.hero-jump a:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.45); color: var(--white); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--slate-400); }
.breadcrumb li + li::before { content: "/"; color: var(--navy-600); }
.breadcrumb a { color: var(--slate-300); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* 8. Content sections ---------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.card:hover { border-color: rgba(90,168,240,.5); box-shadow: var(--shadow-glow); transform: translateY(-4px); }
.card p { color: var(--slate-600); }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 22px;
  background: linear-gradient(140deg, #e8f1fb, #d3e5fa); color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(4,88,184,.12);
}
.icon-badge svg { width: 26px; height: 26px; }
.section--dark .icon-badge { background: linear-gradient(140deg, rgba(90,168,240,.22), rgba(90,168,240,.06)); color: var(--accent-glow); box-shadow: inset 0 0 0 1px rgba(90,168,240,.3); }

/* Category cards with artwork */
.category-card { padding: 0; overflow: hidden; }
.category-media { position: relative; height: 190px; background: var(--navy-900); }
.category-media .bg-media { overflow: hidden; }
.category-media .bg-media img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.category-card:hover .category-media .bg-media img { transform: scale(1.08); }
.category-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2,15,36,.1), rgba(2,15,36,.7)); }
.category-media .num { position: absolute; right: 22px; top: 16px; z-index: 1; font: 600 2.6rem/1 var(--font-display); letter-spacing: -.04em; color: rgba(255,255,255,.9); text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.category-media .icon-badge { position: absolute; left: 24px; bottom: -27px; z-index: 3; margin: 0; background: var(--white); box-shadow: var(--shadow); }
.category-card-top { padding: clamp(24px, 3vw, 32px); padding-top: 46px; padding-bottom: 8px; }
.card-kicker { display: block; font: 600 .74rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.category-card h2, .category-card h3 { font-size: 1.38rem; }
.service-list { list-style: none; border-top: 1px solid var(--slate-200); margin-top: auto; }
.service-list li + li { border-top: 1px solid var(--slate-100); }
.service-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px clamp(24px, 3vw, 32px);
  color: var(--navy-900); text-decoration: none; font-weight: 500; font-size: .98rem;
  transition: background-color .2s, color .2s, padding .2s;
}
.service-list a svg { width: 16px; height: 16px; color: var(--slate-400); flex-shrink: 0; transition: transform .2s, color .2s; }
.service-list a:hover { background: var(--accent-tint); color: var(--accent-strong); padding-left: calc(clamp(24px, 3vw, 32px) + 6px); }
.service-list a:hover svg { color: var(--accent); transform: translateX(3px); }

/* Expertise (glass cards on dark artwork) */
.expertise-item {
  position: relative; padding: 30px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .3s, border-color .3s, background-color .3s;
}
.expertise-item:hover { transform: translateY(-4px); border-color: rgba(90,168,240,.5); }
.expertise-item p { margin: 0; font-size: .97rem; }
.expertise-item h3 { font-size: 1.14rem; }

/* Focus pillars band */
.focus-band { position: relative; overflow: hidden; background: linear-gradient(115deg, #00285c 0%, #0458b8 70%, #2f86e0 100%); color: var(--white); padding-block: clamp(40px, 5vw, 64px); }
.focus-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.2px), var(--noise); background-size: 22px 22px, auto; background-blend-mode: normal; opacity: .55; pointer-events: none; }
.focus-band::after { content: ""; position: absolute; right: -140px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 50px rgba(255,255,255,.03), 0 0 0 100px rgba(255,255,255,.025); pointer-events: none; }
.focus-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 24px 56px; align-items: center; }
.focus-band-title { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--white); margin: 0; max-width: 220px; }
.focus-band-title em { color: var(--accent-glow); }
.focus-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.focus-pillars li { position: relative; border-top: 1px solid rgba(255,255,255,.35); padding-top: 16px; font: 600 1.02rem/1.35 var(--font-display); letter-spacing: -.01em; }
.focus-pillars li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; }
.focus-pillars li span { display: block; font: 600 .74rem var(--font-sans); letter-spacing: .14em; color: var(--accent-glow); margin-bottom: 6px; }

/* Engagement models */
.engage-stack { display: grid; gap: 22px; }
.engage-card { padding-left: clamp(84px, 9vw, 104px); }
.engage-icon { position: absolute; left: 28px; top: 30px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-brand); color: var(--white); box-shadow: 0 10px 24px rgba(4,88,184,.35); }
.engage-icon svg { width: 24px; height: 24px; }
.engage-card.urgent .engage-icon { background: linear-gradient(140deg, var(--navy-900), var(--navy-700)); }
.engage-card .tag { align-self: flex-start; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-strong); margin-bottom: 14px; }
.engage-card.urgent .tag { background: var(--navy-900); color: var(--white); }

/* Check list */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230458b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.check-list--light li { color: var(--slate-300); }
.check-list--light li::before { background-color: rgba(90,168,240,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fc8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Principles timeline */
.principles { list-style: none; counter-reset: p; display: grid; gap: 0; position: relative; }
.principles li { counter-increment: p; position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 0 0 34px; }
.principles li::before {
  content: counter(p, decimal-leading-zero); position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font: 600 .86rem var(--font-display); color: var(--white); background: var(--grad-brand); box-shadow: 0 0 0 6px var(--white-soft), 0 8px 20px rgba(4,88,184,.3);
}
.principles li::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: linear-gradient(var(--accent-light), rgba(90,168,240,.1)); }
.principles li:last-child { padding-bottom: 0; }
.principles li:last-child::after { display: none; }
.principles h3 { font-size: 1.14rem; margin: 10px 0 6px; }
.principles p { margin: 0; color: var(--slate-600); font-size: 1rem; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 30px); }

/* CTA band */
.section--cta { padding-top: 0; }
.section--muted + .section--cta, .section--texture + .section--cta { padding-top: var(--section-y); }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl);
  background: var(--navy-950);
  padding: clamp(40px, 6vw, 76px);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  color: var(--slate-300); box-shadow: var(--shadow-lg);
}
.cta-band .bg-media { opacity: .6; left: 35%; }
.cta-band .bg-media img { object-position: 50% 25%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(2,15,36,1) 30%, rgba(2,15,36,.75) 60%, rgba(2,15,36,.25) 100%); }
.cta-copy, .cta-band .btn-row { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 620px; }

/* 9. About page ---------------------------------------------------------- */
.about-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.about-visual { position: sticky; top: calc(var(--header-h) + 30px); }
.about-image { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.about-image .bg-media img { object-position: 20% 50%; }
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(2,15,36,.7)), var(--noise); background-blend-mode: normal, overlay; }
.about-badge {
  position: absolute; right: -22px; bottom: 44px; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; max-width: 290px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg);
}
.about-badge img { width: 54px; height: 54px; flex-shrink: 0; }
.about-badge strong { display: block; font-family: var(--font-display); color: var(--navy-900); }
.about-badge span { font-size: .86rem; color: var(--slate-600); line-height: 1.4; }
.about-chips { position: absolute; left: 22px; top: 22px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; max-width: 80%; }
.about-chips li { padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--white); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.prose-lead { font-size: 1.24rem; line-height: 1.6; color: var(--navy-900) !important; font-weight: 500; }
.pull-quote {
  position: relative; margin: 32px 0 0; padding: 28px 30px 28px 34px; border-radius: var(--radius-lg);
  font-family: var(--font-accent); font-style: italic; font-size: 1.42rem; line-height: 1.45; color: var(--navy-900);
  background: linear-gradient(135deg, var(--accent-tint), #f7fbff); border-left: 4px solid var(--accent);
}
.focus-card { overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border-color: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.focus-card p { color: var(--slate-300); }
.focus-num { position: absolute; right: 22px; top: 14px; font: 600 3.4rem/1 var(--font-display); letter-spacing: -.05em; color: rgba(255,255,255,.06); }
.spec-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.spec-grid li {
  position: relative; padding: 22px 22px 22px 22px; min-height: 120px; display: flex; align-items: flex-end;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--slate-200);
  font: 600 1rem/1.35 var(--font-display); color: var(--navy-900); letter-spacing: -.01em;
  transition: transform .3s, box-shadow .3s, border-color .3s, background-color .3s, color .3s;
}
.spec-grid li::before { content: ""; position: absolute; left: 22px; top: 22px; width: 30px; height: 3px; border-radius: 3px; background: var(--grad-brand); transition: width .3s; }
.spec-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: transparent; background: var(--navy-900); color: var(--white); }
.spec-grid li:hover::before { width: 60px; }

/* 10. Services overview + service pages ---------------------------------- */
.practices { display: grid; gap: clamp(56px, 8vw, 110px); }
.practice { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; scroll-margin-top: calc(var(--header-h) + 20px); }
.practice--flip .practice-media { order: 2; }
.practice-media { position: relative; aspect-ratio: 5 / 6; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.practice-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(2,15,36,.75)), var(--noise); background-blend-mode: normal, overlay; }
.practice-media .bg-media img { transition: transform 1.5s cubic-bezier(.2,.7,.2,1); }
.practice:hover .practice-media .bg-media img { transform: scale(1.06); }
.practice-num { position: absolute; left: 26px; top: 18px; z-index: 1; font: 600 4.5rem/1 var(--font-display); letter-spacing: -.05em; color: rgba(255,255,255,.92); text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.practice-tag { position: absolute; left: 26px; bottom: 24px; z-index: 1; font-family: var(--font-accent); font-style: italic; font-size: 1.7rem; color: var(--white); }
.practice-body h2 { margin-bottom: 14px; }
.practice-body .lead { margin-bottom: 26px; }
.svc-tiles { display: grid; gap: 12px; }
.svc-tile {
  display: grid; grid-template-columns: 48px 1fr 22px; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius); text-decoration: none;
  background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc-tile:hover { transform: translateX(6px); border-color: rgba(90,168,240,.6); box-shadow: var(--shadow-glow); }
.svc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(140deg, #e8f1fb, #d3e5fa); color: var(--accent); }
.svc-icon svg { width: 24px; height: 24px; }
.svc-text strong { display: block; font: 600 1.05rem/1.3 var(--font-display); color: var(--navy-900); margin-bottom: 3px; }
.svc-text span { display: block; font-size: .92rem; line-height: 1.5; color: var(--slate-600); }
.svc-go svg { width: 20px; height: 20px; color: var(--accent); transition: transform .25s; }
.svc-tile:hover .svc-go svg { transform: translateX(4px); }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-layout .prose h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.9em; }
.prose h2:first-child { margin-top: 0; }
.h2-kicker { display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; font: 600 .82rem var(--font-display); color: var(--white); background: var(--grad-brand); box-shadow: 0 8px 18px rgba(4,88,184,.3); }
.prose p { color: var(--slate-600); }
.cap-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cap-grid li {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--slate-200); line-height: 1.5;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cap-grid li:hover { border-color: rgba(90,168,240,.6); box-shadow: var(--shadow); transform: translateY(-2px); }
.cap-num { flex-shrink: 0; font: 600 .78rem/1.9 var(--font-display); color: var(--accent); }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.outcome { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); padding: 26px 24px; color: var(--slate-300); }
.outcome::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(90,168,240,.4), transparent 70%); }
.outcome-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; background: rgba(90,168,240,.18); color: var(--accent-glow); }
.outcome-icon svg { width: 22px; height: 22px; }
.outcome h3 { color: var(--white); font-size: 1.06rem; margin-bottom: 6px; }
.outcome p { font-size: .94rem; margin: 0; color: var(--slate-300) !important; }
.when-panel { position: relative; overflow: hidden; isolation: isolate; margin-top: 2.6em; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--navy-950); }
.when-panel .bg-media { opacity: .5; }
.when-panel::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(2,15,36,.95), rgba(2,15,36,.6)); }
.when-panel > *:not(.bg-media) { position: relative; z-index: 1; }
.when-panel h2 { color: var(--white); margin-top: 0; }
.keyword-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 40px; }
.keyword-tags li { font-size: .8rem; padding: 6px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--slate-200); color: var(--slate-600); }
.next-service {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 18px; margin-top: 40px; padding: 24px 28px;
  border-radius: var(--radius-lg); text-decoration: none; background: var(--white); border: 1px solid var(--slate-200);
  transition: border-color .25s, box-shadow .25s;
}
.next-service span { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }
.next-service strong { grid-row: 2; font: 600 1.3rem var(--font-display); color: var(--navy-900); letter-spacing: -.01em; }
.next-service svg { grid-row: 1 / 3; grid-column: 2; width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--grad-brand); color: var(--white); transition: transform .25s; }
.next-service:hover { border-color: rgba(90,168,240,.6); box-shadow: var(--shadow-glow); }
.next-service:hover svg { transform: translateX(4px); }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: var(--slate-300); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.side-cta .bg-media { opacity: .6; }
.side-cta .bg-media img { object-position: 50% 20%; }
.side-cta::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(2,15,36,.96) 25%, rgba(2,15,36,.82) 70%, rgba(2,15,36,.6)); }
.side-cta > *:not(.bg-media) { position: relative; z-index: 1; }
.side-cta h2 { color: var(--white); font-size: 1.35rem; margin-bottom: 10px; }
.side-cta p { font-size: .96rem; }
.side-cta .btn { width: 100%; white-space: normal; text-align: center; }
.side-nav { border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 22px 24px; background: var(--white); }
.side-nav h2 { display: flex; align-items: center; gap: 8px; font: 600 .76rem/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 10px; }
.side-nav h2 svg { width: 18px; height: 18px; color: var(--accent); }
.side-nav ul { list-style: none; }
.side-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--slate-100); color: var(--navy-900); text-decoration: none; font-weight: 500; font-size: .96rem; line-height: 1.4; transition: color .2s, padding .2s; }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover { color: var(--accent); padding-left: 6px; }
.side-nav a[aria-current="page"] { color: var(--accent-strong); font-weight: 600; }
.side-nav a[aria-current="page"]::before { content: "→ "; }

/* 11. Contact page & forms ----------------------------------------------- */
.contact-section { padding-top: 0; }
.contact-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; margin-top: -70px; }
.form-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.form-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--slate-200); }
.form-card-head .icon-badge { margin: 0; flex-shrink: 0; }
.form-card-head h2 { font-size: 1.45rem; margin: 0 0 2px; }
.form-card-head p { margin: 0; color: var(--slate-500); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .93rem; color: var(--navy-900); }
.form-field label .req { color: var(--error); margin-left: 2px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy-900);
  padding: 13px 16px; border: 1px solid var(--slate-300); border-radius: var(--radius-sm); background: var(--white-soft);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(4,88,184,.14); }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--error); }
.field-error { font-size: .85rem; color: var(--error); min-height: 1em; }
.form-note { font-size: .86rem; color: var(--slate-500); margin: 18px 0 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-status { font-weight: 500; margin: 0; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-aside { display: grid; gap: 20px; }
.contact-block { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 26px; background: var(--white); box-shadow: var(--shadow-sm); }
.contact-block h2 { display: flex; align-items: center; gap: 8px; font: 600 .76rem/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 12px; }
.contact-block h2 svg { width: 18px; height: 18px; color: var(--accent); }
.contact-block .big-link { display: inline-flex; align-items: center; gap: 10px; font: 600 1.1rem var(--font-display); color: var(--navy-900); text-decoration: none; word-break: break-all; }
.contact-block .big-link svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.contact-block .big-link:hover { color: var(--accent); }
.contact-block p { margin: 10px 0 0; font-size: .95rem; color: var(--slate-600); }
.contact-block--feature { background: var(--navy-950); border-color: transparent; box-shadow: var(--shadow-lg); padding: 32px 28px; }
.contact-block--feature .bg-media { opacity: .65; }
.contact-block--feature::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(2,15,36,.96) 25%, rgba(2,15,36,.82) 70%, rgba(2,15,36,.6)); }
.contact-block--feature > *:not(.bg-media) { position: relative; z-index: 1; }
.contact-block--feature h2 { color: var(--accent-glow); }
.contact-block--feature .big-link { color: var(--white); }
.contact-block--feature .big-link svg { color: var(--accent-glow); }
.contact-block--feature p { color: var(--slate-300); }
.contact-block--urgent { border-left: 4px solid var(--accent); background: linear-gradient(135deg, var(--accent-tint), var(--white)); }

/* 12. Footer ------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-990); color: var(--slate-400); font-size: .95rem; }
.footer-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 10% 0%, rgba(4,88,184,.28), transparent 60%), radial-gradient(40% 60% at 100% 100%, rgba(90,168,240,.12), transparent 60%); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(90,168,240,.7), transparent); }
.footer-top { position: relative; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: 72px 52px; }
.footer-top p { margin: 20px 0 0; max-width: 340px; line-height: 1.65; }
.footer-tagline { color: var(--white); font-weight: 600; }
.footer-more { margin-top: 34px; }
.site-footer h2 { font: 600 .76rem/1.3 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer a { color: var(--slate-400); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); }
.footer-social:hover { border-color: var(--accent-light); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }

/* 13. Utilities & motion ------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.card.reveal.is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .slide .eyebrow, .slide-title span, .slide .lead, .slide .btn-row { opacity: 1; transform: none; }
  .slide-media img { transform: none; }
}

/* 14. Responsive breakpoints --------------------------------------------- */
@media (max-width: 1100px) {
  .page-hero .btn-row .btn { white-space: normal; text-align: center; }
  .mega-inner { grid-template-columns: repeat(3, 1fr); }
  .mega-feature { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cap-grid { grid-template-columns: 1fr; }
}

/* Tablet & mobile: off-canvas navigation */
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .site-header.is-scrolled .header-inner { height: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-open .site-header { background: var(--navy-950); }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: var(--navy-950); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) 40px;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  /* backdrop-filter would turn the header into the containing block of the fixed
     drawer (clipping it to the header height once the page is scrolled) — so mobile
     uses a solid header instead of the glass blur. */
  .site-header.is-scrolled, .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(4,20,46,.98); }
  .site-header.is-scrolled .primary-nav { top: 64px; }
  .nav-open .primary-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.12rem; border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: transparent; }
  .nav-link[aria-current="page"], .nav-link.is-active { color: var(--accent-light); }
  .nav-link[aria-current="page"]::after, .nav-link.is-active::after { display: none; }
  .nav-cta-item { border-bottom: 0 !important; padding-top: 24px; }
  .nav-cta { margin: 0; width: 100%; min-height: 52px; }

  .mega { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; display: none; }
  .mega > .container { background: transparent; border: 0; box-shadow: none; }
  .has-dropdown.is-open .mega { display: block; }
  .mega .container { padding: 0; }
  .mega-inner { grid-template-columns: 1fr; gap: 22px; padding: 4px 4px 24px !important; }
  .mega-col h3 { color: var(--slate-400); border-color: rgba(255,255,255,.1); }
  .mega-col h3 svg { color: var(--accent-light); }
  .mega-col li a { color: var(--slate-300); margin: 0; padding: 10px 0 10px 28px; }
  .mega-col li a:hover, .mega-col li a[aria-current="page"] { background: transparent; color: var(--white); padding-left: 28px; }

  .hero-shade { background: linear-gradient(90deg, rgba(1,9,21,.9), rgba(1,9,21,.55)), linear-gradient(0deg, rgba(1,9,21,.9) 0%, rgba(1,9,21,0) 40%), var(--noise); background-blend-mode: normal, normal, overlay; }
  .slide-media img { object-position: 68% 50%; }
  .hero-dots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2, .split, .contact-layout, .about-intro, .practice { grid-template-columns: 1fr; }
  .practice--flip .practice-media { order: 0; }
  .practice-media { aspect-ratio: 16 / 9; }
  .about-visual, .sticky-col { position: static; }
  .about-image { aspect-ratio: 16 / 10; }
  .about-badge { right: 14px; bottom: 14px; }
  .section-head--split { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .outcomes { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .focus-band .container { grid-template-columns: 1fr; }
  .focus-band-title { max-width: none; }
  .focus-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { margin-top: -40px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .cta-band { padding: 32px 22px; }
  .cta-band > * { min-width: 0; }
  .hero-slider { height: auto; min-height: 100svh; max-height: none; }
  .hero-slider .slides { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100svh; }
  .slide { position: relative; grid-area: 1 / 1; align-items: flex-end; }
  .slide-inner { padding-top: calc(var(--header-h) + 36px); padding-bottom: 120px; }
  .slide .eyebrow { font-size: .68rem; letter-spacing: .12em; }
  .slide .lead { font-size: 1.04rem; margin-bottom: 28px; }
  .cta-band .bg-media { left: 0; opacity: .35; }
  .slide-title { font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
  .hero-dot-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-controls { bottom: 24px; }
  .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .brand-sub { font-size: .56rem; letter-spacing: .2em; margin-top: 3px; }
  .brand { gap: 10px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: .98rem; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-more { margin-top: 0; }
  .audience-inner { flex-direction: column; align-items: flex-start; }
  .focus-pillars { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 26px 14px 24px; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid li { min-height: 0; padding-top: 40px; }
  .svc-tile { grid-template-columns: 42px 1fr; }
  .svc-go { display: none; }
  .svc-icon { width: 42px; height: 42px; }
  .page-hero { min-height: 480px; }
  .h1-icon { display: none; }
  .engage-card { padding-left: clamp(24px, 3vw, 32px); padding-top: 92px; }
  .engage-icon { left: 24px; top: 26px; }
  .practice-num { font-size: 3.2rem; }
  .pull-quote { font-size: 1.22rem; }
  .next-service strong { font-size: 1.1rem; }
}
