/* =========================================================
   RegInsights IT Solutions — design tokens
   Brand: navy wordmark, blue neural mark, orange + green dots
   ========================================================= */
:root {
  /* Brand primitives */
  --navy-950: #050F2C;
  --navy-900: #071A45;
  --navy-700: #0B2A66;
  --blue-600: #1466D6;
  --blue-500: #1F80EA;
  --cyan-400: #3BB4F2;
  --orange-500: #F2793A;
  --green-500: #1DB35A;

  /* Semantic */
  --bg: #F5F7FC;
  --bg-tint: #ECF1FA;
  --surface: #FFFFFF;
  --ink: #0B1A3E;
  --ink-muted: #45557A;
  --ink-soft: #6A7898;
  --line: #DCE3F0;
  --primary: var(--navy-700);
  --accent: var(--blue-600);
  --focus: #F2793A;

  /* Type */
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* Spacing (8pt) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 102, .06), 0 2px 8px rgba(11, 42, 102, .05);
  --shadow: 0 10px 30px -10px rgba(11, 42, 102, .18), 0 2px 6px rgba(11, 42, 102, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 42, 102, .35);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 800ms;

  --z-nav: 40;
  --z-header: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top var(--dur-fast); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Icons (stroke, Lucide-style) */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-sm { width: 18px; height: 18px; }
.i-lg { width: 32px; height: 32px; stroke-width: 1.5; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot-orange { background: var(--orange-500); }
.dot-green { background: var(--green-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font: 600 0.975rem/1 var(--font-sans);
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur), transform var(--dur-fast);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--navy-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 42, 102, .6); }
.btn-primary:hover { background: var(--blue-600); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { color: var(--navy-700); }
.btn-ghost:hover { background: rgba(11, 42, 102, .07); }
.btn-ghost .i, .btn-outline .i { transition: transform var(--dur-fast); }
.btn-ghost:hover .i { transform: translateX(3px); }
.btn-outline:hover .i { transform: translate(2px, -2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100vw - 1280px) / 2));
  padding-right: clamp(16px, 1.7vw, 24px); /* menu button sits close to the right edge */
  transition: background-color var(--dur), box-shadow var(--dur), padding var(--dur);
}
.site-header.is-scrolled {
  background: rgba(245, 247, 252, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; border-radius: 8px; }
.brand img { height: 52px; width: auto; }
.header-cta { margin-left: auto; min-height: 44px; padding: 10px 20px; font-size: .925rem; }

/* Top-centre navigation tabs (desktop) */
.top-nav { display: none; }
@media (min-width: 1200px) {
  .top-nav {
    position: absolute; left: 50%; top: 50%; translate: -50% -50%;
    display: flex; align-items: center; gap: 4px; padding: 5px;
    border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
}
.top-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  font-size: .94rem; font-weight: 500; color: var(--ink-muted); text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.top-nav a:hover { color: var(--navy-900); background: var(--bg-tint); }
.top-nav a[aria-current="true"] { color: #fff; background: linear-gradient(145deg, var(--navy-700), var(--blue-600)); box-shadow: 0 6px 14px -8px rgba(11, 42, 102, .7); }
.top-nav a[aria-current="true"]::after { /* small orange accent under the active tab */
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 16px; height: 3px; translate: -50% 0; border-radius: 2px; background: var(--orange-500);
}

.menu-toggle {
  display: inline-block; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
  position: relative; box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.menu-toggle:hover { border-color: var(--blue-500); box-shadow: var(--shadow); }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: transform var(--dur) var(--ease-out); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Menu panel: navy gradient card that unfolds from the two-dash button ---------- */
.menu-toggle[aria-expanded="true"] { background: var(--navy-700); border-color: var(--navy-700); box-shadow: 0 10px 24px -10px rgba(11, 42, 102, .7); }
.menu-toggle[aria-expanded="true"] span { background: #fff; }

.side-nav {
  position: fixed; top: 80px; right: clamp(16px, 1.7vw, 24px); z-index: var(--z-header);
  width: min(240px, calc(100vw - 32px)); padding: 14px 14px 10px;
  border-radius: 18px; color: #fff; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(59, 180, 242, .38), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700) 60%, var(--blue-600));
  box-shadow: 0 40px 80px -30px rgba(7, 26, 69, .75), inset 0 1px 0 rgba(255, 255, 255, .12);
  /* unfolds from the button's corner */
  clip-path: circle(0 at calc(100% - 24px) -24px); visibility: hidden;
  transition: clip-path .45s cubic-bezier(.7, 0, .84, 0), visibility 0s linear .45s;
}
.side-nav.is-open {
  clip-path: circle(150% at calc(100% - 24px) -24px); visibility: visible;
  transition: clip-path .6s var(--ease-out), visibility 0s;
}
.side-nav::before { /* faint neural-grid texture, echoing the AI section */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(120, 200, 255, .55) 1px, transparent 1.4px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%);
}

.nav-eyebrow {
  display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-bottom: 4px;
  font: 500 .64rem var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-400);
}
.nav-eyebrow .dot { width: 6px; height: 6px; }
.nav-eyebrow .dot-orange { margin-left: 6px; }

.side-nav ul { display: flex; flex-direction: column; counter-reset: nav; }
.side-nav li { counter-increment: nav; border-top: 1px solid rgba(255, 255, 255, .09); }
.side-nav li:first-child { border-top: 0; }
.side-nav a[data-nav] {
  position: relative; display: flex; align-items: baseline; justify-content: flex-end; gap: 14px;
  min-height: 40px; padding: 8px 12px 8px 8px; text-align: right; text-decoration: none;
  font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; color: rgba(255, 255, 255, .72);
  transition: color var(--dur-fast);
}
.side-nav a[data-nav]::after { /* orange marker on the right edge */
  content: ""; position: absolute; right: 0; top: 50%; width: 3px; height: 0; border-radius: 2px;
  background: var(--orange-500); translate: 0 -50%; transition: height var(--dur) var(--ease-out);
}
.nav-label { display: inline-block; transition: transform var(--dur) var(--ease-out); }
.side-nav a[data-nav]:hover, .side-nav a[data-nav]:focus-visible { color: #fff; }
.side-nav a[data-nav]:hover .nav-label, .side-nav a[data-nav]:focus-visible .nav-label { transform: translateX(-6px); }
.side-nav a[data-nav]:hover::after, .side-nav a[data-nav]:focus-visible::after { height: 18px; }
.side-nav a[data-nav][aria-current="true"] { color: #fff; font-weight: 600; }
.side-nav a[data-nav][aria-current="true"]::after { height: 18px; background: var(--cyan-400); }

/* items glide in from the right, one after another */
.side-nav li, .nav-eyebrow { opacity: 0; translate: 24px 0; transition: opacity .2s, translate .2s; }
.side-nav.is-open li, .side-nav.is-open .nav-eyebrow {
  opacity: 1; translate: 0 0; transition: opacity .45s var(--ease-out), translate .45s var(--ease-out);
}
.side-nav.is-open .nav-eyebrow { transition-delay: .1s; }
.side-nav.is-open li:nth-child(1) { transition-delay: .14s; }
.side-nav.is-open li:nth-child(2) { transition-delay: .18s; }
.side-nav.is-open li:nth-child(3) { transition-delay: .22s; }
.side-nav.is-open li:nth-child(4) { transition-delay: .26s; }
.side-nav.is-open li:nth-child(5) { transition-delay: .30s; }
.side-nav.is-open li:nth-child(6) { transition-delay: .34s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 var(--s7); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 50% 30%, rgba(31, 128, 234, .16), transparent 70%),
    radial-gradient(30% 35% at 78% 20%, rgba(59, 180, 242, .14), transparent 70%),
    radial-gradient(25% 30% at 20% 55%, rgba(11, 42, 102, .08), transparent 70%);
}
.hero-inner { position: relative; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 500; color: var(--ink-muted); box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; }
.eyebrow .dot-green { margin-right: 4px; margin-left: -4px; }
.hero-title {
  margin-top: var(--s3);
  max-width: 1000px; margin-inline: auto;
  font-size: clamp(2.2rem, 5.6vw, 4.5rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05;
  color: var(--navy-900);
  text-wrap: balance;
}
.hero-title em {
  background: linear-gradient(100deg, var(--blue-600), var(--cyan-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.hero-sub { max-width: 620px; margin: var(--s3) auto 0; font-size: 1.125rem; color: var(--ink-muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--s4); }

/* Staggered cards */
.stack-cards {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: var(--s6); padding-bottom: var(--s4);
}
.s-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
  transform: translateY(calc(var(--offset) * 32px));
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
/* Gentle float — uses `translate` so it layers on top of reveal/hover transforms */
.s-card { animation: float 6s ease-in-out infinite; }
.s-card:nth-child(2) { animation-delay: -1.5s; }
.s-card:nth-child(3) { animation-delay: -3s; }
.s-card:nth-child(4) { animation-delay: -4.5s; }
.s-card:hover { animation-play-state: paused; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.s-card:hover { box-shadow: var(--shadow-lg); transform: translateY(calc(var(--offset) * 32px - 6px)); }

/* Uniform tile scheme: white surface, brand-gradient icon badge, navy→blue gradient fill on hover */
.s-card {
  justify-content: flex-start; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(11, 42, 102, .08);
}
.s-card::before { /* same radiant navy→blue gradient as the Vision / AI Products cards */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(59, 180, 242, .35), transparent 60%),
    linear-gradient(155deg, var(--navy-900), var(--navy-700) 60%, var(--blue-600));
  transition: opacity var(--dur) var(--ease-out);
}
.s-card::after { /* soft brand glow behind the icon */
  content: ""; position: absolute; top: -60px; left: -60px; width: 200px; height: 200px; z-index: -1;
  background: radial-gradient(circle, rgba(31, 128, 234, .12), transparent 65%);
  transition: opacity var(--dur);
}
.s-card:hover::before { opacity: 1; }
.s-card:hover::after { opacity: 0; }
.s-card:hover { box-shadow: 0 34px 60px -22px rgba(20, 102, 214, .6); }
.s-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: var(--s5); }
.s-card-icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(145deg, var(--navy-700) 0%, var(--blue-600) 60%, var(--cyan-400) 100%);
  box-shadow: 0 12px 24px -10px rgba(20, 102, 214, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform var(--dur) var(--ease-out), background var(--dur), box-shadow var(--dur);
}
.s-card-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-card:hover .s-card-icon { transform: rotate(-6deg) scale(1.06); background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.s-card h2 { font-size: 1.25rem; font-weight: 600; margin: 6px 0 10px; color: var(--navy-900); transition: color var(--dur); }
.s-card p { font-size: .95rem; color: var(--ink-muted); line-height: 1.5; transition: color var(--dur); }
.s-card-idx { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--blue-600); transition: color var(--dur); }
.s-card:hover h2 { color: #fff; }
.s-card:hover p { color: rgba(255, 255, 255, .86); }
.s-card:hover .s-card-idx { color: var(--cyan-400); }

/* ---------- Marquee ---------- */
.marquee { padding: var(--s4) 0; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee-label { text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: var(--s2); }
.marquee-lane { display: flex; align-items: center; gap: 16px; width: min(1280px, 100% - 32px); margin-inline: auto; }
.marquee-lane + .marquee-lane { margin-top: 12px; }
.marquee-window { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.region-chip { flex-shrink: 0; display: inline-grid; place-items: center; min-width: 58px; padding: 5px 12px; border-radius: 999px; font: 600 .78rem var(--font-mono); letter-spacing: .08em; color: #fff; background: var(--navy-700); }
.region-chip--emea { background: var(--blue-600); }
.chips--region li { display: inline-flex; align-items: center; gap: 10px; padding-left: 6px; }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track--reverse { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; gap: 48px; padding-right: 48px; }
.marquee-row span { font-family: var(--font-mono); font-size: .95rem; font-weight: 500; color: var(--navy-700); white-space: nowrap; }
.marquee-row span::before { content: "◆"; font-size: .55rem; color: var(--orange-500); margin-right: 14px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--s8) 0; }
/* Menu jumps: land with the section label just below the fixed header (header room comes from
   html scroll-padding-top: 96px), instead of also showing the section's full top padding. */
.section[id], .anchor-alias { scroll-margin-top: calc(8px - var(--s8)); }
.section.section--careers[id] { scroll-margin-top: calc(8px - var(--s6)); }
.section--tint { background: var(--bg-tint); }
.section-head { max-width: 820px; margin-bottom: var(--s6); }
.section-head--row { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s5); align-items: end; }
.kicker {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: var(--s3);
  font-family: var(--font-mono); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 400;
  line-height: 1.15; letter-spacing: .02em; color: var(--blue-600);
  white-space: nowrap; /* section names always stay on one line */
}
.kicker::before { content: ""; flex-shrink: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--orange-500); }
.kicker--light { color: var(--cyan-400); }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; color: var(--navy-900); text-wrap: balance; }
.section-title em { color: var(--blue-600); }
.section-lead { margin-top: var(--s3); font-size: 1.125rem; color: var(--ink-muted); max-width: 62ch; }
.section-head--row .section-lead { margin-top: 0; }

/* Who we are */
.practice-intro { margin-top: var(--s3); color: var(--ink); font-weight: 600; }
.practice-list { display: grid; gap: 12px; margin-top: var(--s2); max-width: 62ch; }
.practice-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.practice-list p { font-size: 1.05rem; color: var(--ink-muted); line-height: 1.55; }
.practice-list strong { color: var(--navy-900); }
.practice-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, var(--navy-700), var(--blue-600) 60%, var(--cyan-400)); }
.practice-icon .i { width: 20px; height: 20px; }
/* About intro: copy on the left, center-of-excellence visual on the right */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s5); align-items: center; margin-bottom: var(--s6); }
.about-intro .section-head { margin-bottom: 0; }

.coe-visual { margin: 0; justify-self: center; width: 100%; max-width: 460px; }
.coe-stage { position: relative; width: 100%; aspect-ratio: 1; }
.coe-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.coe-rings .ring { transform-box: view-box; transform-origin: 200px 200px; }
.ring--outer { animation: coe-spin 90s linear infinite; }
.ring--mid { animation: coe-spin 60s linear infinite reverse; }
.ring--sweep { animation: coe-spin 9s linear infinite; }
@keyframes coe-spin { to { transform: rotate(360deg); } }

.coe-core {
  position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff, #F1F6FF 70%);
  box-shadow: 0 24px 50px -18px rgba(11, 42, 102, .45), 0 0 0 10px rgba(31, 128, 234, .07), 0 0 0 1px rgba(11, 42, 102, .06);
}
.coe-core::after { /* soft pulse ring */
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(31, 128, 234, .35);
  animation: coe-pulse 3.2s var(--ease-out) infinite;
}
@keyframes coe-pulse { 0% { opacity: .8; scale: .92; } 100% { opacity: 0; scale: 1.25; } }
.coe-core img { width: 46%; height: auto; }
.coe-core-label { font: 500 .72rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--navy-700); }

.coe-node {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  font-size: .88rem; font-weight: 600; color: var(--navy-900);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(11, 42, 102, .35);
  animation: coe-bob 6s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes coe-bob { 50% { translate: -50% calc(-50% - 6px); } }
.coe-node i { width: 8px; height: 8px; border-radius: 50%; }
.dot-b { background: var(--blue-600); } .dot-o { background: var(--orange-500); } .dot-g { background: var(--green-500); }

.coe-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line); backdrop-filter: blur(6px);
  box-shadow: 0 18px 36px -18px rgba(11, 42, 102, .45); animation: float 7s ease-in-out infinite;
}
.coe-chip strong { display: block; font-size: .84rem; color: var(--navy-900); line-height: 1.2; }
.coe-chip small { display: block; font-size: .74rem; color: var(--ink-soft); }
.coe-chip--top { top: 0; right: 0; }
.coe-chip--bottom { bottom: 1%; left: -6%; animation-delay: -3.5s; }
.coe-chip-icon { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: rgba(29, 179, 90, .14); }
.coe-chip-icon svg { width: 18px; height: 18px; fill: none; stroke: #138A43; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.coe-chip-icon--navy { background: linear-gradient(145deg, var(--navy-700), var(--blue-600)); }
.coe-chip-icon--navy svg { stroke: #fff; stroke-width: 1.8; }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mission-card { padding: var(--s5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.mission-card p { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; color: var(--ink); }
.mission-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-600); margin-bottom: var(--s3); }
.mission-label::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.mission-card--dark { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); border-color: transparent; }
.mission-card--dark p { color: #fff; }
.mission-card--dark .mission-label { color: var(--cyan-400); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.pillar { padding: var(--s4); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.pillar:hover { border-color: var(--blue-500); transform: translateY(-4px); }
.pillar-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--bg-tint); color: var(--blue-600); margin-bottom: var(--s3); }
.pillar h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pillar p { color: var(--ink-muted); }

.lifecycle { margin-top: var(--s6); padding: var(--s5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.lifecycle-title { font-size: 1.1rem; font-weight: 600; margin-bottom: var(--s4); color: var(--ink); }
.lifecycle-steps { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.lifecycle-steps::before {
  content: ""; position: absolute; top: 20px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400), var(--green-500));
  transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1.6s var(--ease-out);
}
.lifecycle.is-visible .lifecycle-steps::before { --progress: 1; }
.lifecycle-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 6px; }
.ls-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 2px solid var(--blue-600); font-family: var(--font-mono); font-weight: 500; color: var(--navy-700); margin-bottom: 10px; position: relative; z-index: 1; }
.lifecycle-steps li:last-child .ls-num { background: var(--green-500); border-color: var(--green-500); color: #fff; }
.lifecycle-steps strong { font-size: .98rem; }
.lifecycle-steps small { font-size: .85rem; color: var(--ink-soft); }

/* Business model — two practices */
.legs { display: grid; grid-template-columns: 1fr 88px 1fr; align-items: stretch; }
.leg { display: flex; flex-direction: column; padding: var(--s5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.leg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s4); }
.leg-tag { font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-600); }
.leg-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--bg-tint); color: var(--navy-700); }
.leg h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.leg-lead { color: var(--ink-muted); font-size: 1.05rem; }
.leg .ticks { margin: var(--s3) 0 var(--s4); }
.leg .btn { margin-top: auto; align-self: flex-start; }
.leg--dark { color: #fff; border-color: transparent; background: radial-gradient(90% 70% at 100% 0%, rgba(59, 180, 242, .35), transparent 60%), linear-gradient(155deg, var(--navy-900), var(--navy-700) 60%, var(--blue-600)); box-shadow: var(--shadow-lg); }
.leg--dark .leg-tag { color: var(--cyan-400); }
.leg--dark .leg-icon { background: rgba(255, 255, 255, .1); color: #fff; }
.leg--dark .leg-lead { color: rgba(255, 255, 255, .82); }
.leg--dark .ticks li::before { background-color: rgba(29, 179, 90, .3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ADE80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.btn-light { background: #fff; color: var(--navy-700); }
.btn-light:hover { background: var(--bg-tint); }
.btn-light .i { transition: transform var(--dur-fast); }
.btn-light:hover .i { transform: translate(2px, -2px); }
.legs-link { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.legs-link-line { flex: 1; width: 2px; background: repeating-linear-gradient(to bottom, var(--blue-500) 0 6px, transparent 6px 12px); opacity: .5; }
.legs-link-core { display: grid; place-items: center; width: 64px; height: 64px; margin: 12px 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow), 0 0 0 8px rgba(31, 128, 234, .08); }
.legs-link-core img { width: 40px; height: auto; }
.flywheel { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s5); }
.flywheel li { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 2px solid var(--orange-500); }
.flywheel li:nth-child(2) { border-color: var(--green-500); }
.flywheel li:nth-child(3) { border-color: var(--blue-600); }
.flywheel strong { font-size: 1.02rem; }
.flywheel span { color: var(--ink-muted); font-size: .95rem; }

/* Coming-soon badge */
.soon { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 600 .7rem var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--orange-500); vertical-align: middle; margin-left: 8px; }
.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Managed services — wide card */
.solution--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s5); align-items: center; background: linear-gradient(120deg, #fff 40%, #F1F6FF); }
.solution--wide .ticks { margin-top: 0; }
.ticks--grid { grid-template-columns: 1fr 1fr; column-gap: var(--s3); row-gap: 12px; }

.approach { margin-top: 20px; }
.approach .lifecycle-steps li:last-child .ls-num { background: var(--blue-600); border-color: var(--blue-600); }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value { padding: var(--s5) var(--s4); background: var(--surface); transition: background-color var(--dur); }
.value:hover { background: #FAFCFF; }
.value .i { color: var(--blue-600); margin-bottom: var(--s3); }
.value:nth-child(3n+2) .i { color: var(--orange-500); }
.value:nth-child(3n) .i { color: var(--green-500); }
.value h3 { font-size: 1.35rem; margin-bottom: 8px; }
.value p { color: var(--ink-muted); }

/* Solutions */
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.solution { padding: var(--s5) var(--s4); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: box-shadow var(--dur), transform var(--dur) var(--ease-out); }
.solution::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--navy-700), var(--blue-500), var(--cyan-400)); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.solution:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.solution:hover::after { transform: scaleX(1); }
.solution-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s4); color: var(--navy-700); }
.solution-num { font-family: var(--font-serif); font-style: italic; font-size: 2.4rem; color: var(--blue-600); line-height: 1; }
.solution h3 { font-size: 1.5rem; margin-bottom: 12px; }
.solution > p { color: var(--ink-muted); }
.ticks { margin-top: var(--s3); display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: .95rem; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(29, 179, 90, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138A43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

.serve { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.serve-label { font-family: var(--font-mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .92rem; font-weight: 500; }

/* ---------- AI (dark) ---------- */
.section--dark { background: var(--navy-950); color: #fff; overflow: hidden; }
.ai-bg { position: absolute; inset: 0; pointer-events: none; }
.ai-bg canvas { width: 100%; height: 100%; display: block; opacity: .55; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 85% 10%, rgba(31, 128, 234, .35), transparent 70%), radial-gradient(40% 30% at 10% 90%, rgba(59, 180, 242, .18), transparent 70%); pointer-events: none; }
.section--dark .container { position: relative; }
.section--dark .section-title { color: #fff; }
.section--dark .section-title em { color: var(--cyan-400); }
.section--dark .section-lead { color: rgba(255, 255, 255, .78); }

.ai-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s5); align-items: center; margin-bottom: var(--s6); }

.console { border-radius: var(--radius); background: rgba(9, 24, 64, .75); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(8px); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.console-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.console-bar span:nth-child(1) { background: var(--orange-500); }
.console-bar span:nth-child(2) { background: #F5C451; }
.console-bar span:nth-child(3) { background: var(--green-500); }
.console-bar em { margin-left: auto; font: 400 .78rem var(--font-mono); color: rgba(255, 255, 255, .55); }
.console-lines { padding: 16px 18px 20px; min-height: 290px; font-family: var(--font-mono); font-size: .82rem; line-height: 1.9; }
.console-lines li { display: flex; gap: 10px; opacity: 0; transform: translateY(6px); animation: line-in .4s var(--ease-out) forwards; color: rgba(255, 255, 255, .82); }
.console-lines .tag { flex-shrink: 0; min-width: 52px; font-weight: 500; }
.console-lines .ok { color: #4ADE80; }
.console-lines .warn { color: #FDBA74; }
.console-lines .ai { color: var(--cyan-400); }
.console-lines .done { color: #fff; font-weight: 500; }
.console-lines .cursor::after { content: "▍"; animation: blink 1s steps(1) infinite; color: var(--cyan-400); }
@keyframes line-in { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-card { padding: var(--s4); border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background-color var(--dur), border-color var(--dur), transform var(--dur) var(--ease-out); }
.ai-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(59, 180, 242, .5); transform: translateY(-4px); }
.ai-card .i { color: var(--cyan-400); margin-bottom: var(--s3); display: block; }
.ai-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.ai-meta .soon { margin-left: 0; background: rgba(242, 121, 58, .18); color: #FDBA74; }
.ai-meta .soon::before { background: #FDBA74; }
.deploy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: var(--s3); }
.deploy li { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.deploy .i { color: var(--cyan-400); margin-top: 2px; }
.deploy strong { display: block; font-size: .98rem; }
.deploy span { font-size: .88rem; color: rgba(255, 255, 255, .74); line-height: 1.45; }
.ai-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 500 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-400); border: 1px solid rgba(59, 180, 242, .4); }
.ai-areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s3); }
.ai-areas li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: .92rem; }
.ai-areas li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--cyan-400); }
.ai-areas li:nth-child(2)::before { background: var(--orange-500); }
.ai-areas li:nth-child(3)::before { background: var(--green-500); }
.ai-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.ai-card p { color: rgba(255, 255, 255, .74); font-size: .96rem; }

.governed { margin-top: var(--s6); display: grid; grid-template-columns: 220px 1fr; gap: var(--s4); padding: var(--s5); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(20, 102, 214, .35), rgba(59, 180, 242, .12)); border: 1px solid rgba(255, 255, 255, .14); }
.governed-title { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 2rem; line-height: 1.1; }
.governed-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.governed-list li { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 2px solid var(--green-500); }
.governed-list strong { font-size: 1rem; }
.governed-list span { font-size: .9rem; color: rgba(255, 255, 255, .76); }

/* ---------- Culture ---------- */
.culture-mosaic { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 16px; }
.photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-tint); }
/* Illustrative stock photos: blurred so no face is recognisable; the scene still reads as teamwork. */
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(2.5px) saturate(.95);
  transform: scale(1.04); /* hides the soft edge the blur creates */
  transition: transform 1.2s var(--ease-out);
}
.photo::after { /* light brand tint over the blurred photo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(11, 42, 102, .12), rgba(20, 102, 214, .06));
}
.photo:hover img { transform: scale(1.08); }
.photo--tall { grid-row: span 2; }
.culture-quote { margin: 0; padding: var(--s4); border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(90% 70% at 100% 0%, rgba(59, 180, 242, .35), transparent 60%), linear-gradient(155deg, var(--navy-900), var(--navy-700) 60%, var(--blue-600)); color: #fff; }
.culture-quote em { color: var(--cyan-400); }
.culture-quote p { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.culture-quote em { font-size: 1.1em; }
.culture-quote footer { font-size: .9rem; opacity: .9; }
.culture-mosaic .photo:last-child { grid-column: span 2; }

/* Values & Culture — sub-blocks inside one section */
.subsection { margin-top: var(--s6); scroll-margin-top: 8px; }
.subhead { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s4); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 500; letter-spacing: -0.015em; color: var(--navy-900); text-wrap: balance; }
.subhead em { color: var(--blue-600); }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.subsection .culture-grid { margin-top: var(--s5); }
.culture-lead { margin: calc(-1 * var(--s2)) 0 var(--s4); }
.anchor-alias { position: absolute; top: 0; left: 0; }
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-top: var(--s6); }
.culture-item { padding-top: var(--s3); border-top: 2px solid var(--navy-700); }
.ci-num { font-family: var(--font-mono); font-size: .82rem; color: var(--orange-500); font-weight: 500; }
.culture-item h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.culture-item p { color: var(--ink-muted); font-size: .96rem; }

.section--careers { padding-block: var(--s6); }
.section--careers .careers { margin-top: 0; background: var(--surface); }
.careers { margin-top: var(--s6); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s5); border-radius: var(--radius-lg); background: var(--bg-tint); border: 1px solid var(--line); }
.careers h3 { font-size: 1.6rem; font-weight: 500; }
.careers p { color: var(--ink-muted); margin-top: 6px; }
.careers .btn { flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.contact-points { margin-top: var(--s4); display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-points .i { color: var(--green-500); }
.contact-email { display: inline-flex; align-items: center; gap: 12px; margin-top: var(--s4); padding: 14px 20px; min-height: 48px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--navy-700); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.contact-email:hover { border-color: var(--blue-600); box-shadow: var(--shadow-sm); }
.contact-email .i { color: var(--blue-600); }
.footer-email { display: inline-block; margin-top: 12px; padding: 6px 0; color: #fff; font-weight: 500; text-underline-offset: 4px; }
.footer-email:hover { color: var(--cyan-400); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: var(--s5); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full, .contact-form .btn, .form-status { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; }
.field label span { color: #C2410C; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(20, 102, 214, .15); }
.field.has-error input { border-color: #B91C1C; }
.error { font-size: .85rem; color: #B91C1C; min-height: 0; }
.form-status { font-size: .95rem; font-weight: 500; color: #138A43; }
.form-status.is-error { color: #B91C1C; }
.contact-form button[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .78); padding: var(--s6) 0 var(--s4); }
.footer-inner { display: flex; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; padding-bottom: var(--s5); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-logo { display: inline-flex; padding: 10px 14px; border-radius: 12px; background: #fff; }
.footer-logo img { height: 44px; width: auto; }
.footer-brand p { margin-top: var(--s2); max-width: 36ch; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 40px; }
.footer-links a { display: inline-block; padding: 6px 0; text-decoration: none; color: rgba(255, 255, 255, .85); }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; padding-top: var(--s3); font-size: .9rem; }
.footer-dots { display: flex; gap: 6px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.s-card.reveal { transform: translateY(calc(var(--offset) * 32px + 40px)); }
.s-card.reveal.is-visible { transform: translateY(calc(var(--offset) * 32px)); }
.s-card.reveal.is-visible:hover { transform: translateY(calc(var(--offset) * 32px - 6px)); }

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .about-intro { grid-template-columns: 1fr; }
  .coe-visual { max-width: 420px; }
  .stack-cards { grid-template-columns: repeat(2, 1fr); padding-bottom: 32px; }
  .section-head--row, .ai-head, .contact { grid-template-columns: 1fr; }
  .values-grid, .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .lifecycle-steps { grid-template-columns: repeat(3, 1fr); row-gap: var(--s4); }
  .lifecycle-steps::before { display: none; }
  .governed { grid-template-columns: 1fr; }
  .legs { grid-template-columns: 1fr; }
  .legs-link { height: 120px; }
  .legs-link-core { margin: 8px 0; }
  .flywheel { grid-template-columns: 1fr; }
  .solution--wide { grid-template-columns: 1fr; gap: var(--s3); }
  .governed-list { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 220px 220px; }
  .photo--tall { grid-row: span 1; }
  .culture-mosaic .photo:last-child { grid-column: auto; }
}

@media (max-width: 767px) {
  .kicker { font-size: min(1.5rem, 4.6vw); gap: 10px; }
  .kicker::before { width: 24px; }
  .leg h3 { font-size: min(1.6rem, 6.2vw); }
  .coe-visual { max-width: 340px; }
  .coe-node { font-size: .74rem; padding: 6px 10px; gap: 6px; }
  .coe-chip { padding: 8px 10px; }
  .coe-chip strong { font-size: .76rem; } .coe-chip small { font-size: .68rem; }
  .coe-visual { margin-block: 44px; }
  .coe-chip--top { top: -13%; right: 0; } .coe-chip--bottom { bottom: -13%; left: 0; }
  .section { padding: var(--s7) 0; }
  .section[id], .anchor-alias { scroll-margin-top: calc(8px - var(--s7)); }
  .hero { padding-top: 120px; }
  .brand img { height: 42px; }
  .header-cta { display: none; }
  .stack-cards { grid-template-columns: 1fr; margin-top: var(--s5); }
  .s-card, .s-card.reveal, .s-card.reveal.is-visible, .s-card.reveal.is-visible:hover { transform: none; min-height: 220px; }
  .s-card.reveal:not(.is-visible) { transform: translateY(24px); }
  .mission-grid, .pillars, .values-grid, .solutions, .ai-grid, .governed-list, .culture-grid, .contact-form { grid-template-columns: 1fr; }
  .mission-card, .lifecycle, .solution, .governed, .contact-form, .careers, .leg { padding: var(--s4) var(--s3); }
  .ticks--grid, .deploy { grid-template-columns: 1fr; }
  .lifecycle-steps { grid-template-columns: repeat(2, 1fr); }
  .culture-mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
  .culture-mosaic > * { min-height: 220px; }
  .careers { flex-direction: column; align-items: flex-start; }
  .footer-links { grid-template-columns: repeat(2, auto); }
  .footer-base { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-row + .marquee-row { display: none; }
  .marquee-row { flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 0 16px; }
}
