/* =============================================================
   Bal Cloud Systems - design system
   One layer, token-driven. Dark "spotlight" surfaces (heroes, CTA,
   footer) frame light, quiet content sections.
   ============================================================= */

@font-face { font-family: "Inter"; src: url("fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Brand */
  --navy-950: #060d1b;
  --navy-900: #0a1730;
  --navy-800: #102243;
  --navy-700: #183059;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #e6efff;
  --blue-50: #f1f6ff;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --teal-400: #2dd4bf;
  --violet-400: #a78bfa;
  --green-400: #34d399;
  --amber-400: #fbbf24;
  --red-400: #f87171;

  /* Light surfaces */
  --white: #ffffff;
  --tint: #f6f8fc;
  --ink: #0b1630;
  --text: #2a3851;
  --muted: #5a6a82;
  --line: #e4eaf2;
  --line-strong: #cdd7e5;

  /* Dark surfaces */
  --on-dark: #eef3fb;
  --on-dark-muted: #a8b7cf;
  --on-dark-line: rgba(255, 255, 255, .1);

  /* Type */
  --font-display: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Shape + depth */
  --max: 1200px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 48, .05), 0 4px 14px -6px rgba(11, 22, 48, .08);
  --shadow-md: 0 2px 4px rgba(11, 22, 48, .04), 0 18px 40px -16px rgba(11, 22, 48, .18);
  --shadow-lg: 0 4px 10px rgba(11, 22, 48, .05), 0 40px 80px -30px rgba(11, 22, 48, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;

  /* Section rhythm */
  --space-section: clamp(76px, 9vw, 120px);
  --space-tight: clamp(56px, 6.5vw, 84px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); }
/* Smooth in-page scrolling is switched on by site.js after load, so deep links land instantly. */
html.smooth-scroll { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
::selection { background: #cfe0ff; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 750; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--white); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-md); }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: 0 auto; }

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-600);
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.lead { color: var(--text); font-size: 1.125rem; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); font-weight: 600; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(3px); }
.text-link:hover { color: var(--blue-600); }

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section-tight { padding: var(--space-tight) 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 52px; }
.section-heading-wide { max-width: 800px; }
.section-heading h1, .section-heading h2 { margin: 0; font-size: clamp(1.95rem, 3.5vw, 2.9rem); line-height: 1.1; letter-spacing: -.032em; }
.section-heading p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); font-size: 1.075rem; }
.section-heading .text-link { margin-top: 22px; }
.section-action { margin: 40px 0 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--on-dark-line);
  background: rgba(6, 13, 27, .94);
  transition: background .3s ease, box-shadow .3s ease;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the position:fixed mobile menu. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.site-header.is-scrolled { background: rgba(6, 13, 27, .86); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.nav { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-family: var(--font-display); font-size: 1.04rem; font-weight: 750; letter-spacing: -.015em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 8px; color: rgba(238, 243, 251, .72); font-size: .9rem; font-weight: 500; transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sky-400), var(--blue-500)); }
.nav-toggle { display: none; align-items: center; gap: 10px; padding: 10px 0; border: 0; background: transparent; color: var(--white); font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle-icon { position: relative; width: 20px; height: 14px; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle-icon::before { top: 2px; }
.nav-toggle-icon::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 6px; transform: rotate(-45deg); }
.nav-cta { display: none; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(11, 22, 48, .25), 0 10px 24px -10px rgba(37, 99, 235, .7);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-1px); background: linear-gradient(180deg, #4b8df8, var(--blue-600)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 4px rgba(11, 22, 48, .2), 0 16px 32px -12px rgba(37, 99, 235, .8); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .6; cursor: progress; transform: none; }
.button-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.button-arrow:hover::after { transform: translateX(3px); }
.button-small { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.button-outline { background: var(--white); border-color: var(--line-strong); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 22, 48, .05); }
.button-outline:hover { background: var(--white); border-color: var(--blue-500); color: var(--blue-700); box-shadow: 0 6px 18px -8px rgba(37, 99, 235, .35); }

/* Dark contexts share link + secondary-button treatments */
:is(.home-hero, .page-hero, .section-dark, .cta-band, .dark-panel, .rc-card, .service-preview-cta, .capability-card-dark) .button-outline { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .2); color: var(--white); box-shadow: none; }
:is(.home-hero, .page-hero, .section-dark, .cta-band, .dark-panel, .rc-card, .service-preview-cta, .capability-card-dark) .button-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); color: var(--white); }
:is(.home-hero, .page-hero, .section-dark, .cta-band) .eyebrow { color: var(--sky-300); }
:is(.home-hero, .page-hero, .section-dark, .cta-band) .text-link { color: var(--sky-300); }
:is(.home-hero, .page-hero, .section-dark, .cta-band) .text-link:hover { color: var(--white); }
:is(.home-hero, .page-hero, .section-dark, .cta-band, .dark-panel, .rc-card) :focus-visible { outline-color: var(--sky-300); }

/* Shared spotlight background for dark bands */
.home-hero, .page-hero, .cta-band, .section-dark { position: relative; isolation: isolate; overflow: hidden; background-color: var(--navy-950); color: var(--on-dark); }
.home-hero::before, .page-hero::before, .cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000 20%, transparent 75%);
}
.home-hero::after, .page-hero::after, .cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(55% 70% at 85% 0%, rgba(37, 99, 235, .38), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(56, 189, 248, .14), transparent 70%);
}

/* ---------- Home hero ---------- */
.home-hero { padding: clamp(72px, 9vw, 120px) 0 clamp(128px, 12vw, 168px); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(380px, .86fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
.hero-copy h1 { max-width: 680px; margin: 0 0 24px; color: var(--white); font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.038em; }
.hero-copy h1 span { color: var(--sky-300); background: linear-gradient(95deg, #93ddff 0%, #60a5fa 55%, #818cf8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy .lead { max-width: 590px; margin: 0; color: var(--on-dark-muted); font-size: clamp(1.06rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--on-dark-muted); font-size: .875rem; font-weight: 500; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 211, 153, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2334d399' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Coverage map */
.security-map {
  position: relative; margin: 0; padding: 26px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.map-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 2px 4px 20px; }
.map-heading strong { display: block; margin-top: 6px; color: var(--white); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.map-kicker { color: var(--sky-300); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.map-stack { position: relative; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.map-stack::before { content: ""; position: absolute; left: 33px; top: 34px; bottom: 34px; width: 1px; background: linear-gradient(180deg, var(--sky-400), var(--teal-400), var(--violet-400)); opacity: .55; }
.map-layer { position: relative; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; background: rgba(10, 23, 48, .72); transition: border-color .3s ease, transform .3s var(--ease), background .3s ease; }
.map-layer:hover { transform: translateX(4px); border-color: rgba(125, 211, 252, .35); background: rgba(16, 34, 67, .85); }
.map-index { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; background: var(--navy-900); font-family: var(--font-mono); font-size: .7rem; }
.map-layer-ai .map-index { color: var(--sky-300); }
.map-layer-data .map-index { color: var(--teal-400); }
.map-layer-cloud .map-index { color: var(--violet-400); }
.map-layer strong, .map-layer small { display: block; }
.map-layer strong { color: var(--white); font-size: .95rem; font-weight: 600; }
.map-layer small { margin-top: 3px; color: var(--on-dark-muted); font-size: .8rem; line-height: 1.4; }
.map-status { padding: 4px 9px; border-radius: 999px; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.map-layer-ai .map-status { color: var(--sky-300); background: rgba(56, 189, 248, .12); }
.map-layer-data .map-status { color: var(--teal-400); background: rgba(45, 212, 191, .12); }
.map-layer-cloud .map-status { color: var(--violet-400); background: rgba(167, 139, 250, .14); }
.map-footer { display: flex; align-items: center; gap: 10px; margin: 20px 4px 0; padding-top: 18px; border-top: 1px solid var(--on-dark-line); color: var(--on-dark-muted); font-size: .8rem; }
.signal-dot { position: relative; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); }
.signal-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--green-400); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- Founder strip (home) ---------- */
.founder-strip { position: relative; z-index: 2; margin-top: calc(-1 * clamp(72px, 7vw, 96px)); }
.founder-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 28px; padding: 24px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.founder-avatar { display: block; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center 25%; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line-strong); }
.founder-card-kicker { margin: 0; color: var(--muted); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.founder-card-name { margin: 4px 0 2px; color: var(--ink); font-family: var(--font-display); font-size: 1.2rem; font-weight: 750; letter-spacing: -.015em; }
.founder-card-role { margin: 0; color: var(--muted); font-size: .92rem; }
.founder-card .credential-list { margin-top: 12px; }
.founder-card .text-link { white-space: nowrap; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .resource, .service-card, .hub-cat, .capability-card, .service-preview, .flow-node, .offering, .testimonial, .outcome-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}
.card, .resource, .hub-cat { padding: 32px; }
:is(.card, .service-card, .capability-card, .service-preview, .flow-node, .outcome-card):hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c9d8ee; }
.card h3, .resource h3 { margin: 0 0 10px; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.015em; }
.card p, .resource p { margin: 0; color: var(--muted); }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-600); }
.card-icon svg { width: 22px; height: 22px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--blue-700); font-weight: 600; font-size: .95rem; }
.card-link::after { content: "→"; transition: transform .25s var(--ease); }
.card-link:hover { color: var(--blue-600); }
.card-link:hover::after { transform: translateX(3px); }

/* Capability cards (home) */
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.capability-card { display: flex; flex-direction: column; padding: 34px 32px; }
.capability-card .card-link { margin-top: auto; padding-top: 28px; }
.capability-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-600); font-family: var(--font-mono); font-size: .75rem; }
.capability-label { display: block; margin-top: 28px; color: var(--muted); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.capability-card h3 { margin: 8px 0 12px; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.025em; }
.capability-card p { margin: 0; color: var(--muted); }
.capability-card-dark { border-color: transparent; background: radial-gradient(120% 90% at 100% 0%, rgba(37, 99, 235, .45), transparent 60%), var(--navy-900); box-shadow: var(--shadow-md); }
.capability-card-dark:hover { border-color: transparent; }
.capability-card-dark .capability-number { background: rgba(255, 255, 255, .06); border-color: rgba(125, 211, 252, .3); color: var(--sky-300); }
.capability-card-dark .capability-label { color: var(--sky-300); }
.capability-card-dark h3 { color: var(--white); }
.capability-card-dark p { color: var(--on-dark-muted); }
.capability-card-dark .card-link { color: var(--sky-300); }
.capability-card-dark .card-link:hover { color: var(--white); }

/* Service previews (home) - whole card is clickable via the arrow link */
.service-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-preview { display: flex; flex-direction: column; min-height: 232px; padding: 28px; }
.service-preview > span { color: var(--blue-600); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.service-preview h3 { margin: 14px 0 8px; font-size: 1.2rem; line-height: 1.22; letter-spacing: -.015em; }
.service-preview p { margin: 0 0 20px; color: var(--muted); font-size: .93rem; }
.service-preview > a:not(.button) { display: grid; place-items: center; align-self: flex-end; width: 38px; height: 38px; margin-top: auto; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--blue-700); font-size: 1rem; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.service-preview > a:not(.button)::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-preview:hover > a:not(.button) { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); transform: translateX(2px); }
.service-preview-cta { border-color: transparent; background: radial-gradient(100% 80% at 100% 0%, rgba(37, 99, 235, .5), transparent 60%), var(--navy-900); box-shadow: var(--shadow-md); }
.service-preview-cta:hover { border-color: transparent; }
.service-preview-cta > span { color: var(--sky-300); }
.service-preview-cta h3 { color: var(--white); }
.service-preview-cta p { color: var(--on-dark-muted); }
.service-preview-cta .button { align-self: flex-start; margin-top: auto; }

/* Engagement journey (home) */
.engagement-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.engagement-layout .section-heading { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.journey-list { position: relative; margin: 0; padding: 0; list-style: none; }
.journey-list::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(180deg, var(--blue-500), var(--line)); }
.journey-list li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 22px; padding: 0 0 36px; }
.journey-list li:last-child { padding-bottom: 0; }
.journey-list span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #bcd0f0; background: var(--blue-50); color: var(--blue-700); font-family: var(--font-mono); font-size: .74rem; box-shadow: 0 0 0 6px var(--white); }
.journey-list h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.journey-list p { margin: 0; color: var(--muted); }

/* Proof (home, renders only when site.config has approved entries) */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.outcome-card { padding: 28px; }
.outcome-metric { display: block; color: var(--ink); font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.outcome-card p { margin: 12px 0 0; color: var(--muted); }
.outcome-context { display: block; margin-top: 16px; color: var(--blue-600); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.testimonial { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 30px; }
.testimonial blockquote { margin: 0; color: var(--ink); font-size: 1.06rem; line-height: 1.6; }
.testimonial figcaption { margin-top: auto; color: var(--muted); font-size: .88rem; }
.testimonial figcaption strong { display: block; color: var(--ink); }

/* Why section (dark) */
.section-dark { background: radial-gradient(60% 80% at 100% 0%, rgba(37, 99, 235, .22), transparent 70%), var(--navy-950); }
.section-dark .section-heading h2 { color: var(--white); }
.difference-grid { display: grid; gap: 48px; }
.difference-grid .section-heading { margin-bottom: 0; }
.difference-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.difference-items article { padding: 30px; border: 1px solid var(--on-dark-line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.difference-items span { color: var(--sky-300); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.difference-items h3 { margin: 14px 0 8px; color: var(--white); font-size: 1.1rem; }
.difference-items p { margin: 0; color: var(--on-dark-muted); font-size: .93rem; }

/* CTA band */
.cta-band { padding: clamp(72px, 8vw, 104px) 0; }
.cta-band { background-color: var(--blue-700); }
.cta-band::after { background: radial-gradient(55% 120% at 100% 0%, rgba(125, 211, 252, .35), transparent 60%), linear-gradient(115deg, #0f2a7a 0%, #1d4ed8 55%, #2563eb 100%); }
.cta-band::before { background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); }
.cta-band .eyebrow { color: #bfdbfe; }
.cta-band .button:not(.button-outline) { background: var(--white); color: var(--blue-700); box-shadow: 0 1px 2px rgba(11, 22, 48, .2), 0 14px 30px -12px rgba(6, 13, 27, .6); }
.cta-band .button:not(.button-outline):hover { background: #f1f6ff; color: var(--blue-700); }
.cta-band :focus-visible { outline-color: var(--white); }
.cta-band .split { align-items: center; }
.cta-band h2 { max-width: 700px; margin: 0; color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.032em; }
.cta-band p:not(.eyebrow) { max-width: 580px; margin: 16px 0 0; color: rgba(255, 255, 255, .84); font-size: 1.075rem; }
.cta-band .button { justify-self: end; }

/* ---------- Interior page hero ---------- */
.page-hero { padding: clamp(72px, 8vw, 112px) 0 clamp(64px, 7vw, 96px); }
.page-hero h1 { max-width: 880px; margin: 0; color: var(--white); font-size: clamp(2.35rem, 4.6vw, 3.9rem); font-weight: 800; line-height: 1.06; letter-spacing: -.036em; }
.page-hero .lead { max-width: 680px; margin: 22px 0 0; color: var(--on-dark-muted); font-size: clamp(1.05rem, 1.5vw, 1.18rem); }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding: 7px 14px; border: 1px solid var(--blue-100); border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .8rem; font-weight: 500; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.page-hero .pill { border-color: rgba(125, 211, 252, .25); background: rgba(56, 189, 248, .08); color: var(--sky-300); }

/* Sticky in-page navigation (services) */
.subnav { position: sticky; top: var(--header-h); z-index: 40; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .86); }
.subnav::before { content: ""; position: absolute; inset: 0; z-index: -1; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: .86rem; font-weight: 500; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.subnav a:hover { background: var(--tint); color: var(--ink); }
.subnav a.is-active { background: var(--blue-50); color: var(--blue-700); }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .88fr); align-items: start; gap: clamp(40px, 6vw, 72px); }
.split > .section-heading { margin-bottom: 0; }

/* ---------- Services ---------- */
.service-card { display: flex; flex-direction: column; padding: 34px; }
.number { color: var(--blue-600); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.service-card h2 { margin: 14px 0 12px; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.022em; }
.service-card > p { margin: 0; color: var(--muted); }
.service-card ul, .check-list { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.service-card li, .check-list li { position: relative; padding-left: 28px; color: var(--text); font-size: .95rem; }
.service-card li::before, .check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.4 2.4 5.2-5.2' fill='none' stroke='%232563eb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.service-card .card-link { margin-top: auto; padding-top: 26px; }

/* Deep-dive engagements - collapsible */
.offering-grid { align-items: start; }
.offering-wide { grid-column: 1 / -1; }
.offering > summary { position: relative; display: block; padding: 30px 76px 28px 32px; cursor: pointer; list-style: none; border-radius: inherit; }
.offering > summary::-webkit-details-marker { display: none; }
.offering > summary h3 { margin: 12px 0 8px; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.022em; }
.offering-lead { display: block; color: var(--muted); }
.offering-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--blue-700); font-size: .9rem; font-weight: 600; }
.offering-more::after { content: "Show details"; }
.offering[open] .offering-more::after { content: "Hide details"; }
.offering-toggle { position: absolute; top: 28px; right: 28px; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; transition: background .2s ease, border-color .2s ease; }
.offering-toggle::before, .offering-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; border-radius: 2px; background: var(--blue-700); transition: transform .3s var(--ease); }
.offering-toggle::after { transform: rotate(90deg); }
.offering[open] .offering-toggle::after { transform: rotate(0deg); }
.offering > summary:hover .offering-toggle { border-color: var(--blue-500); background: var(--blue-50); }
.offering:hover { border-color: #c9d8ee; box-shadow: var(--shadow-md); }
.offering[open] { border-color: #bcd0f0; box-shadow: var(--shadow-md); }
.offering-body { display: grid; padding: 0 32px 30px; }
.offering-wide .offering-body { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.ps { margin-top: 18px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.offering-wide .ps { margin-top: 0; }
.ps-tag { display: inline-block; margin-bottom: 8px; color: var(--blue-600); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.ps p { margin: 0; color: var(--muted); font-size: .95rem; }
.ps-list { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--text); font-size: .95rem; }
.ps-list strong { color: var(--ink); font-weight: 650; }
.offering-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Process flow */
.process-flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0; padding: 0; list-style: none; }
.flow-node { flex: 1 1 170px; padding: 24px; }
.flow-index { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 10px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-600); font-family: var(--font-mono); font-size: .76rem; }
.flow-node h3 { margin: 0 0 6px; font-size: 1.05rem; }
.flow-node p { margin: 0; color: var(--muted); font-size: .9rem; }
.flow-arrow { display: grid; place-items: center; flex: 0 0 auto; color: var(--line-strong); font-size: 1.25rem; }

/* Dark panel (engagement model) */
.dark-panel { position: relative; overflow: hidden; padding: 36px; border-radius: var(--radius-lg); background: radial-gradient(90% 70% at 100% 0%, rgba(37, 99, 235, .4), transparent 65%), var(--navy-900); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.dark-panel h3 { margin: 0 0 8px; color: var(--white); font-size: 1.4rem; }
.deliverable { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--on-dark-line); }
.deliverable:last-child { border-bottom: 0; padding-bottom: 0; }
.deliverable strong { padding-top: 3px; color: var(--sky-300); font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.deliverable span { color: var(--on-dark); font-size: .95rem; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-intro h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 2.8vw, 2.2rem); letter-spacing: -.028em; }
.about-intro p:not(.eyebrow):not(.founder-links) { color: var(--muted); }
.about-intro .lead { color: var(--text) !important; }
.founder-visual { position: relative; z-index: 0; width: min(100% - 18px, 420px); }
.founder-visual::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: 28px; background: linear-gradient(135deg, var(--blue-100), rgba(56, 189, 248, .18)); }
.founder-photo { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 30%; border-radius: 28px; background: var(--navy-800); box-shadow: var(--shadow-lg); }
.founder-photo[hidden] { display: none; }
.founder-mark { display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 28px; background: radial-gradient(circle at 30% 20%, var(--blue-500), var(--navy-900) 70%); color: var(--white); font-family: var(--font-display); font-size: clamp(5rem, 11vw, 8rem); font-weight: 800; letter-spacing: -.06em; box-shadow: var(--shadow-lg); }
.founder-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.credential-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.credential-list li { padding: 5px 10px; border: 1px solid var(--blue-100); border-radius: 8px; background: var(--blue-50); color: var(--blue-700); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .02em; }
.proof-box { align-self: center; padding: 32px; border: 1px solid var(--blue-100); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--blue-50), var(--white)); box-shadow: var(--shadow-sm); }
.proof-box h3 { margin: 0 0 10px; font-size: 1.2rem; }
.proof-box p { margin: 0; color: var(--muted); }

/* ---------- AI Act ---------- */
.timeline { position: relative; display: grid; margin: 0 0 0 7px; border-left: 1px solid var(--line-strong); }
.timeline-item { position: relative; padding: 0 0 34px 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--blue-100); }
.timeline-date { color: var(--blue-600); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.timeline-item h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.timeline-item p { margin: 0; color: var(--muted); }
.legal-note { margin: 32px 0 0; padding: 16px 20px; border: 1px solid #f6e2a9; border-left: 3px solid var(--amber-400); border-radius: 10px; background: #fffbeb; color: #6b4b06; font-size: .9rem; }
.legal-note a { color: #6b4b06; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.resource-meta { display: inline-block; color: var(--blue-600); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.resource h3 { margin-top: 12px; }
.library-grid { align-items: start; }
.resource-feature h3 { font-size: 1.35rem; }
.decision-steps { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; }
.decision-steps li { position: relative; padding-left: 40px; color: var(--muted); font-size: .95rem; counter-increment: step; }
.decision-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-600); font-family: var(--font-mono); font-size: .72rem; }
.decision-steps strong { color: var(--ink); }
.resource .resource-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; }
.resource-foot .card-link { margin-top: 0; }
.details-wrap { margin-top: 48px; border-top: 1px solid var(--line); }
.details-wrap details { border-bottom: 1px solid var(--line); }
.details-wrap summary { position: relative; padding: 22px 56px 22px 0; cursor: pointer; list-style: none; color: var(--ink); font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.details-wrap summary::-webkit-details-marker { display: none; }
.details-wrap summary::after { content: "+"; position: absolute; right: 4px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -15px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--blue-700); font-family: var(--font-body); font-weight: 400; transition: transform .3s var(--ease); }
.details-wrap details[open] summary::after { transform: rotate(45deg); }
.details-wrap summary:hover { color: var(--blue-700); }
.details-body { max-width: 780px; padding: 0 0 24px; color: var(--muted); }

/* Risk classifier */
.rc { margin-top: 8px; }
.rc-fallback { padding: 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.rc-fallback a { color: var(--blue-700); text-decoration: underline; }
.rc-card { max-width: 880px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); background: radial-gradient(80% 70% at 100% 0%, rgba(37, 99, 235, .35), transparent 65%), var(--navy-900); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.rc-progress { height: 4px; margin-bottom: 24px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.rc-progress-bar { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--sky-400), var(--blue-500)); transition: width .4s var(--ease); }
.rc-step { margin: 0 0 10px; color: var(--sky-300); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.rc-q { margin: 0 0 10px; color: var(--white); font-size: clamp(1.35rem, 2.4vw, 1.65rem); line-height: 1.25; letter-spacing: -.02em; }
.rc-help { margin: 0 0 24px; color: var(--on-dark-muted); }
.rc-options { display: grid; gap: 10px; }
.rc-option { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .03); color: var(--on-dark); font: inherit; font-weight: 500; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s var(--ease); }
.rc-option::before { content: ""; flex: 0 0 18px; height: 18px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 50%; transition: border-color .2s ease, background .2s ease; }
.rc-options[data-multi="true"] .rc-option::before { border-radius: 5px; }
.rc-option:hover { border-color: rgba(125, 211, 252, .5); background: rgba(56, 189, 248, .06); transform: translateX(2px); }
.rc-option.is-selected { border-color: var(--sky-400); background: rgba(56, 189, 248, .1); }
.rc-option.is-selected::before { border-color: var(--sky-400); background: var(--sky-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.5 2.5L13 6.2' fill='none' stroke='%23060d1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.rc-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.rc-result .rc-tier { margin: 4px 0 12px; color: var(--white); font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.rc-summary { color: var(--on-dark); font-size: 1.05rem; }
.rc-oblig-title { margin: 24px 0 10px; color: var(--sky-300); font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.rc-oblig { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--on-dark-muted); }
.rc-extra { margin-top: 22px; padding: 18px 20px; border-left: 3px solid var(--amber-400); border-radius: 10px; background: rgba(251, 191, 36, .08); }
.rc-extra h4 { margin: 0 0 6px; color: #fcd34d; font-size: 1rem; }
.rc-extra p { margin: 0; color: #fde68a; font-size: .93rem; }
.rc-disclaimer { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--on-dark-line); color: var(--on-dark-muted); font-size: .82rem; }
.rc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rc-result { border-top: 3px solid var(--blue-500); }
.rc-result.rc-prohibited { border-top-color: var(--red-400); }
.rc-result.rc-high { border-top-color: var(--amber-400); }
.rc-result.rc-limited { border-top-color: var(--sky-400); }
.rc-result.rc-minimal { border-top-color: var(--green-400); }

/* ---------- Knowledge Hub ---------- */
.hub-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hub-cat h3 { margin: 12px 0 8px; font-size: 1.35rem; letter-spacing: -.02em; }
.hub-cat > p { margin: 0 0 18px; color: var(--muted); }
.hub-articles { display: grid; margin: 0; padding: 0; list-style: none; }
.hub-article { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.hub-article h4 { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.hub-article p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.hub-meta { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 6px; }
.hub-tag { padding: 3px 9px; border: 1px solid var(--blue-100); border-radius: 6px; background: var(--blue-50); color: var(--blue-700); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.hub-status { color: var(--muted); font-size: .74rem; white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact-grid h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -.028em; }
.contact-cta { margin: 26px 0 0; }
.contact-points { display: grid; margin: 34px 0 30px; border-top: 1px solid var(--line); }
.contact-point { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-point strong { color: var(--ink); font-size: .92rem; font-weight: 600; }
.contact-point span, .contact-point a { color: var(--muted); font-size: .95rem; }
.contact-point a { color: var(--blue-700); }
.contact-point a:hover { text-decoration: underline; }
.form { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
label { color: var(--ink); font-size: .86rem; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fbfcfe; color: var(--ink); font: inherit; font-size: .97rem; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fbfcfe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%235a6a82' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
input:hover, select:hover, textarea:hover { border-color: #b4c3d8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); background-color: var(--white); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
textarea { min-height: 132px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8a99ae; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-help { margin: 18px 0 22px; color: var(--muted); font-size: .84rem; }
.form-help a, .policy-copy a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; }
.form-status { min-height: 24px; margin: 14px 0 0; color: var(--blue-700); font-weight: 600; }
.policy-copy { max-width: 780px; color: var(--muted); }
.policy-copy h2 { margin: 0 0 14px; font-size: 1.45rem; letter-spacing: -.02em; }
.policy-copy h2 + p { margin-top: 0; }
.policy-copy p + h2 { margin-top: 44px; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 28px; background: var(--navy-950); color: var(--on-dark-muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr 1fr; gap: 48px; }
.footer-grid p { max-width: 380px; margin: 18px 0 0; font-size: .92rem; }
.footer-grid h2 { margin: 6px 0 16px; color: var(--white); font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-grid a { font-size: .92rem; transition: color .2s ease; }
.footer-grid a:hover { color: var(--white); }
.footer-linkedin { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--on-dark); font-weight: 500; }
.footer-linkedin::before { content: "in"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: .72rem; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); font-size: .8rem; }

/* ---------- Scroll reveal (enabled by site.js; respects reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--reveal-i, 0) * 70ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: 1fr; }
  .security-map { max-width: 620px; }
  .capability-grid, .service-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-card-dark { grid-column: 1 / -1; }
  .engagement-layout, .difference-grid { grid-template-columns: 1fr; }
  .engagement-layout .section-heading { position: static; }
  .founder-card { grid-template-columns: auto minmax(0, 1fr); }
  .founder-card > .text-link { grid-column: 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: var(--header-h) 0 0; z-index: 60; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px var(--gutter) 32px; background: var(--navy-950); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-links.open { display: flex; animation: menu-in .3s var(--ease); }
  .nav-links a { padding: 18px 4px; border-radius: 0; border-bottom: 1px solid var(--on-dark-line); color: var(--on-dark); font-family: var(--font-display); font-size: 1.3rem; font-weight: 650; }
  .nav-links a:hover { background: transparent; }
  .nav-links a[aria-current="page"] { color: var(--sky-300); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .nav-cta { display: flex; justify-content: center; margin-top: 28px; padding: 16px 20px; border: 0; border-radius: var(--radius-sm); background: linear-gradient(180deg, var(--blue-500), var(--blue-600)); color: var(--white); font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
  .nav > .button { display: none; }
  .split, .contact-grid, .about-intro { grid-template-columns: 1fr; }
  .grid-3, .hub-cats { grid-template-columns: 1fr; }
  .grid-2, .offering-grid { grid-template-columns: 1fr; }
  .offering-wide .offering-body { grid-template-columns: 1fr; }
  .offering-wide .ps { margin-top: 18px; }
  .difference-items { grid-template-columns: 1fr; }
  .process-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta-band .button { justify-self: start; }
  .founder-visual { margin: 0 auto 12px; width: min(100% - 18px, 380px); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .hero-copy h1 { font-size: clamp(2.3rem, 10.5vw, 2.9rem); }
  .hero-actions .button { width: 100%; }
  .hero-actions { gap: 18px; }
  .security-map { padding: 18px; }
  .map-heading { padding-bottom: 16px; }
  .map-layer { grid-template-columns: 34px 1fr; }
  .map-status { display: none; }
  .capability-grid, .service-preview-grid, .form-grid { grid-template-columns: 1fr; }
  .capability-card-dark { grid-column: auto; }
  .service-preview { min-height: 0; }
  .founder-card { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .founder-card > .text-link { grid-column: auto; }
  .founder-avatar { width: 64px; height: 64px; }
  .card, .resource, .hub-cat, .service-card { padding: 26px; }
  .offering > summary { padding: 24px 64px 22px 24px; }
  .offering-toggle { top: 22px; right: 20px; }
  .offering-body { padding: 0 24px 24px; }
  .deliverable, .contact-point { grid-template-columns: 1fr; gap: 4px; }
  .hub-article { flex-direction: column; gap: 10px; }
  .hub-meta { flex-direction: row; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .dark-panel { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html.smooth-scroll { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
