/* ==========================================================================
   JARVIS STRATEGIES v3 — "Cerebrium-grade" design system
   Language: true-black immersive hero + glossy 3D, off-white content
   sections with navy ink, one amber accent, mono micro-labels, hairlines.
   ========================================================================== */

:root {
  --black: #04070e;
  --black-2: #080d18;
  --paper: #f4f5f7;
  --paper-2: #e9ecf1;
  --white: #ffffff;
  --ink: #0e1638;
  --ink-2: #3c4468;
  --ink-3: #8b91ab;
  --amber: #e8a44d;
  --amber-hi: #f4b96a;
  --amber-deep: #c67f2a;
  --amber-ink: #9a6210;
  --amber-glow: rgba(232, 164, 77, 0.28);
  --line-d: rgba(255, 255, 255, 0.09);
  --line-l: rgba(14, 22, 56, 0.13);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* v1-compat aliases (used by reshelled legacy content + deep sections) */
  --navy-1: var(--paper-2);
  --navy-2: var(--paper);
  --muted: #2b3352;
  --text: var(--ink);
  --line: var(--line-l);
}

/* ---------- Partners marquee ---------- */
.partners-strip { background: var(--paper); border-bottom: 1px solid var(--line-l); padding: 30px 0 34px; overflow: hidden; }
.partners-label { text-align: center; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.partners-sub { text-align: center; font-size: 0.78rem; color: var(--ink-3); margin: 0 0 18px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; min-width: 100%; width: max-content; animation: partner-marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; letter-spacing: 0.05em; color: #59617f; text-decoration: none; white-space: nowrap; transition: color 0.25s var(--ease-out); }
.marquee-track a:hover { color: var(--amber-deep); }
.p-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); opacity: 0.65; flex: none; }
@keyframes partner-marquee { to { transform: translateX(-100%); } }
@media (max-width: 640px) {
  .marquee-track { gap: 40px; padding-right: 40px; animation-duration: 20s; }
  .marquee-track a { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; min-width: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--amber); color: var(--black); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.02em; }

a { color: var(--amber-ink); }
img { max-width: 100%; }
button { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }

/* ---------- mono micro-labels ---------- */
.eyebrow, .tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before, .tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: rgba(255,255,255,0.85); }

.spec-row {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
  display: flex; gap: 34px; flex-wrap: wrap;
}
.spec-row b { color: var(--ink); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s, color 0.3s;
  will-change: transform;
}
.btn .arr { transition: transform 0.25s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--amber); color: var(--black); }
.btn-primary:hover { background: var(--amber-hi); box-shadow: 0 10px 34px var(--amber-glow); transform: translateY(-2px); }
.btn-ghost-d { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid var(--line-d); }
.btn-ghost-d:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-ghost-l { background: transparent; color: var(--ink); border: 1px solid var(--line-l); }
.btn-ghost-l:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1a2350; transform: translateY(-2px); }

/* ---------- floating pill nav ---------- */
#navbar {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 1000; width: min(1240px, calc(100vw - 32px));
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--line-d);
  border-radius: 999px;
  padding: 9px 10px 9px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  transition: box-shadow 0.4s;
}
#navbar.scrolled { box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links li { display: flex; align-items: center; }
.nav-link {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); text-decoration: none;
  transition: color 0.2s; white-space: nowrap; cursor: pointer;
}
.nav-link:hover { color: #fff; }
.nav-actions { gap: 10px; }
.nav-cta {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--amber); color: var(--black) !important;
  padding: 11px 22px; border-radius: 999px; text-decoration: none;
  transition: background 0.25s, transform 0.25s; white-space: nowrap;
}
.nav-cta:hover { background: var(--amber-hi); transform: translateY(-1px); }
.nav-login {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid var(--line-d);
  padding: 11px 18px; border-radius: 999px; text-decoration: none;
  transition: background 0.25s; white-space: nowrap;
}
.nav-login:hover { background: rgba(255,255,255,0.14); }

/* services dropdown */
.nav-drop { position: relative; }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > .nav-link svg { transition: transform 0.3s; }
.nav-drop:hover > .nav-link svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 310px; background: rgba(6, 10, 20, 0.94);
  backdrop-filter: blur(24px); border: 1px solid var(--line-d); border-radius: 18px;
  padding: 10px; opacity: 0; visibility: hidden; transition: all 0.25s var(--ease-out);
  display: block;
}
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 12px; text-decoration: none;
  color: rgba(255,255,255,0.85); font-size: 0.9rem; transition: background 0.2s;
}
.nav-drop-menu a:hover { background: rgba(255,255,255,0.07); }
.nav-drop-menu a .price { font-family: var(--mono); font-size: 0.68rem; color: var(--amber); letter-spacing: 0.04em; white-space: nowrap; }
.nav-drop-menu a.dd-all { border-top: 1px solid var(--line-d); margin-top: 4px; border-radius: 0 0 12px 12px; }

/* hamburger + mobile panel */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: #fff; margin: 5px 0; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* floating assessment pill */
#floatingCta {
  position: fixed; bottom: 22px; right: 22px; z-index: 900;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,0.14);
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 14px 40px rgba(0,0,0,0.3);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.4s, transform 0.4s, background 0.25s;
}
#floatingCta.visible { opacity: 1; transform: none; pointer-events: auto; }
#floatingCta:hover { background: var(--amber); color: var(--black); }

@media (max-width: 1020px) {
  .hamburger { display: block; }
  #navbar { padding-right: 8px; }
  .nav-links {
    position: fixed; top: 82px; left: 16px; right: 16px;
    background: rgba(6, 10, 20, 0.97); backdrop-filter: blur(24px);
    border: 1px solid var(--line-d); border-radius: 22px; padding: 14px 18px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { display: block; border-bottom: 1px solid var(--line-d); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links .nav-link { display: block; padding: 15px 6px; font-size: 0.76rem; }
  .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: none; padding: 0 0 10px 14px; min-width: 0;
  }
  .nav-drop-menu a { padding: 9px 6px; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
  .nav-drop-menu a.dd-all { border-top: none; }
  .nav-actions { padding: 14px 6px; display: flex !important; gap: 10px; flex-wrap: wrap; }
  .nav-actions .nav-cta, .nav-actions .nav-login { text-align: center; }
}

/* ---------- HERO (black, glossy 3D) ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--black); color: #fff;
  overflow: hidden;
}
#hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,7,14,0.55) 0%, transparent 26%, transparent 62%, rgba(4,7,14,0.9) 100%),
    radial-gradient(ellipse 60% 70% at 24% 46%, rgba(4,7,14,0.68), transparent 68%);
}
.hero .container { position: relative; z-index: 2; width: 100%; padding-top: 130px; padding-bottom: 110px; }
.hero-badge {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 34px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.hero h1 { color: #fff; font-size: clamp(3rem, 7.2vw, 6.2rem); font-weight: 300; margin-bottom: 32px; }
.hero h1 .amber { color: var(--amber); }
.hero .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,0.72);
  max-width: 560px; line-height: 1.7; margin-bottom: 44px; font-weight: 400;
}
.hero .lede strong { color: #fff; font-weight: 500; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-spec {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid var(--line-d);
  background: rgba(4,7,14,0.45); backdrop-filter: blur(8px);
  padding: 18px 0;
}
.hero-spec .spec-row { color: rgba(255,255,255,0.45); justify-content: space-between; }
.hero-spec .spec-row b { color: rgba(255,255,255,0.9); }
.scroll-hint {
  position: absolute; bottom: 86px; right: 40px; z-index: 3;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 12px;
}
.scroll-hint::after { content: ''; width: 44px; height: 1px; background: linear-gradient(90deg, var(--amber), transparent); animation: hint 2.2s ease-in-out infinite; }
@keyframes hint { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* ---------- section scaffolding ---------- */
section { padding: 130px 0; position: relative; }
.section-light { background: var(--paper); color: var(--ink-2); }
.section-light-2 { background: var(--paper-2); }
.section-dark { background: var(--black); color: rgba(255,255,255,0.72); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-tight { padding: 90px 0; }
.sec-head { max-width: 900px; margin-bottom: 76px; }
.sec-head h2 { margin: 22px 0 0; }
.sec-head h2 .amber { color: var(--amber-ink); }
.sec-head.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; max-width: none; align-items: start; }
.sec-head.split .sub { font-size: 1.15rem; line-height: 1.65; color: var(--ink); font-weight: 400; max-width: 420px; }

.two-tone .amber, h2 .amber { color: var(--amber-ink); }
.section-dark .two-tone .amber, .section-dark h2 .amber, .section-dark h1 .amber { color: var(--amber); }

.lede { font-size: 1.15rem; line-height: 1.7; }

/* dot-grid texture for light sections */
.dots { position: relative; }
.dots::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(14,22,56,0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 70%);
}
.dots > * { position: relative; }

/* ---------- interactive tab explorer (cerebrium "why" list) ---------- */
.explorer { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.exp-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 130px; }
.exp-tab {
  font-family: var(--sans); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em; color: #c3c7d8; background: none; border: none; text-align: left;
  padding: 14px 0; cursor: pointer; transition: color 0.3s, padding-left 0.3s var(--ease-out);
  line-height: 1.15;
}
.exp-tab:hover { color: var(--ink-2); }
.exp-tab.active { color: var(--ink); padding-left: 22px; position: relative; }
.exp-tab.active::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
}
.exp-panels { position: relative; min-height: 420px; }
.exp-panel {
  position: absolute; inset: 0; opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.exp-panel.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.exp-visual {
  border-radius: 22px; overflow: hidden; background: var(--black);
  aspect-ratio: 16 / 10; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.exp-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.exp-visual .vlabel {
  position: relative; z-index: 2; text-align: center; padding: 30px;
}
.exp-visual .vlabel .big {
  font-family: var(--sans); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4rem);
  color: #fff; letter-spacing: -0.03em; line-height: 1;
}
.exp-visual .vlabel .big .amber { color: var(--amber); }
.exp-visual .vlabel .cap { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 14px; }
.exp-desc { margin-top: 26px; font-size: 1.08rem; line-height: 1.75; max-width: 560px; }
.exp-desc strong { color: var(--ink); }

/* ---------- service rows (link-list with hover sweep) ---------- */
.svc-rows { border-top: 1px solid var(--line-l); }
.svc-row {
  display: grid; grid-template-columns: 90px 1.2fr 1.6fr auto 60px; gap: 30px; align-items: center;
  padding: 34px 22px; border-bottom: 1px solid var(--line-l);
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
  transition: padding 0.35s var(--ease-out);
}
.svc-row::before {
  content: ''; position: absolute; inset: 0; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease-out);
  z-index: 0;
}
.svc-row:hover::before { transform: scaleY(1); }
.svc-row > * { position: relative; z-index: 1; transition: color 0.3s; }
.svc-row:hover { padding-left: 34px; }
.svc-row .num { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); letter-spacing: 0.1em; }
.svc-row .name { font-family: var(--sans); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.svc-row .desc { font-size: 0.97rem; color: var(--ink-3); line-height: 1.6; }
.svc-row .price { font-family: var(--mono); font-size: 0.8rem; color: var(--ink); white-space: nowrap; letter-spacing: 0.04em; }
.svc-row .go {
  width: 46px; height: 46px; border: 1px solid var(--line-l); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: var(--ink);
  transition: all 0.3s;
}
.svc-row:hover .num, .svc-row:hover .desc { color: rgba(255,255,255,0.6); }
.svc-row:hover .name { color: #fff; }
.svc-row:hover .price { color: var(--amber); }
.svc-row:hover .go { background: var(--amber); border-color: var(--amber); color: var(--black); transform: rotate(-38deg); }

/* ---------- stat panels (mono bars) ---------- */
.stat-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat-panel {
  background: var(--white); border: 1px solid var(--line-l); border-radius: 20px;
  padding: 36px 32px; transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.stat-panel:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(14,22,56,0.12); }
.stat-panel .lab { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.stat-panel .val { font-family: var(--sans); font-weight: 300; font-size: clamp(2.6rem, 4.5vw, 3.6rem); color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.stat-panel .val em { font-style: normal; color: var(--amber-ink); }
.stat-panel .bar { margin-top: 22px; height: 3px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.stat-panel .bar i { display: block; height: 100%; width: 0; background: var(--amber); border-radius: 2px; transition: width 1.4s var(--ease-out); }
.stat-panel .sub { margin-top: 16px; font-size: 0.95rem; color: var(--ink-3); line-height: 1.55; }

/* ---------- dark immersive feature ---------- */
.immersive { position: relative; overflow: hidden; }
.immersive canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.immersive .container { position: relative; z-index: 2; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 70px; }
.pillar {
  background: rgba(255,255,255,0.045); border: 1px solid var(--line-d);
  backdrop-filter: blur(10px); border-radius: 18px; padding: 28px 24px;
  transition: background 0.3s, transform 0.35s var(--ease-out), border-color 0.3s;
}
.pillar:hover { background: rgba(232,164,77,0.09); border-color: rgba(232,164,77,0.35); transform: translateY(-6px); }
.pillar .ic { width: 34px; height: 34px; margin-bottom: 18px; color: var(--amber); }
.pillar h3 { font-size: 1.08rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.pillar p { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.6); }

/* ---------- generic cards (light) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line-l); border-radius: 20px;
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(14,22,56,0.1); border-color: rgba(232,164,77,0.5); }
.card h3 { margin-bottom: 12px; }
.card p { line-height: 1.7; }
.section-dark .card { background: rgba(255,255,255,0.04); border-color: var(--line-d); }
.section-dark .card p { color: rgba(255,255,255,0.65); }

/* case / quote */
.case {
  background: var(--white); border: 1px solid var(--line-l); border-radius: 20px;
  padding: 40px 36px; position: relative; overflow: hidden;
}
.case::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--amber); }
.case blockquote { font-family: var(--sans); font-weight: 300; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1.45; margin-bottom: 20px; }
.case .who { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

/* check list */
.check-list { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.check-list li { position: relative; padding-left: 34px; line-height: 1.65; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber-glow); border: 1px solid var(--amber);
}
.check-list li::after {
  content: ''; position: absolute; left: 5px; top: 11px; width: 4px; height: 7px;
  border-right: 1.6px solid var(--amber-deep); border-bottom: 1.6px solid var(--amber-deep);
  transform: rotate(42deg);
}
.svc-note { margin-top: 20px; font-size: 0.93rem; color: var(--ink-3); line-height: 1.6; }

/* grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- about strip ---------- */
.about-strip { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 80px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: 22px; width: 100%; aspect-ratio: 0.92; object-fit: cover; display: block; }
.about-photo .badge {
  position: absolute; bottom: -18px; left: 30px; background: var(--black); color: #fff;
  border-radius: 14px; padding: 18px 22px; font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.8;
  box-shadow: 0 20px 50px rgba(4,7,14,0.3);
}
.about-photo .badge b { color: var(--amber); font-weight: 500; }

/* ---------- insights / blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card-v3 { text-decoration: none; color: inherit; display: block; }
.post-art {
  border-radius: 18px; aspect-ratio: 16/9; overflow: hidden; position: relative; margin-bottom: 20px;
  background: var(--black);
}
.post-art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 90% 90% at 30% 20%, var(--amber-glow), transparent 60%); }
.post-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-card-v3 h3 { font-size: 1.22rem; margin-bottom: 10px; transition: color 0.25s; }
.post-card-v3:hover h3 { color: var(--amber-ink); }
.post-card-v3 p { font-size: 0.95rem; line-height: 1.6; color: var(--ink-3); }
.post-card-v3 .pm { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line-l); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  font-family: var(--sans); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em; color: var(--ink); padding: 30px 60px 30px 4px; position: relative;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--amber-ink); }
.faq-q .ic {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border: 1px solid var(--line-l); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 300;
  transition: all 0.35s var(--ease-out);
}
.faq-item.open .faq-q .ic { background: var(--amber); border-color: var(--amber); color: var(--black); transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out); }
.faq-a p { padding: 0 4px 32px; max-width: 780px; line-height: 1.75; font-size: 1.02rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: var(--black); color: #fff; padding: 200px 0 100px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 78% 10%, rgba(232,164,77,0.16), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 24px 0 26px; }
.page-hero h1 .amber { color: var(--amber); }
.page-hero .lede { color: rgba(255,255,255,0.72); max-width: 660px; }
.page-hero .eyebrow { color: rgba(255,255,255,0.85); }
.breadcrumb { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 30px; }
.breadcrumb a { color: var(--amber); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- CTA + footer (black) ---------- */
.cta-final { background: var(--black); color: #fff; position: relative; overflow: hidden; text-align: center; }
.cta-final h2 { color: #fff; margin: 24px 0 20px; }
.cta-final p { color: rgba(255,255,255,0.7); max-width: 620px; margin: 0 auto 42px; font-size: 1.12rem; line-height: 1.7; }
.cta-final .eyebrow { color: rgba(255,255,255,0.85); }
.cta-panel { background: var(--black); border: 1px solid var(--line-d); border-radius: 26px; padding: 80px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(232,164,77,0.18), transparent 65%); }
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; margin-bottom: 18px; }
.cta-panel p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.cta-panel a:not(.btn):not(.btn-solution):not(.btn-solution-outline) { color: var(--amber); }

footer { background: var(--black); border-top: 1px solid var(--line-d); padding: 90px 0 44px; color: rgba(255,255,255,0.55); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 70px; }
.foot-brand img { height: 34px; margin-bottom: 20px; }
.foot-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 300px; }
.foot-col h4 { font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 22px; }
.foot-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.92rem; margin-bottom: 12px; transition: color 0.2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid var(--line-d); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; }
.foot-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.foot-bottom a:hover { color: var(--amber); }

/* ---------- booking modal (light card on dark veil) ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 2000; overflow-y: auto; }
.modal.active { display: block; }
.modal-overlay { position: fixed; inset: 0; background: rgba(4,7,14,0.75); backdrop-filter: blur(8px); }
.modal-content {
  position: relative; background: var(--white); color: var(--ink-2);
  max-width: 560px; margin: 5vh auto; border-radius: 24px; padding: 44px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
  animation: modalIn 0.4s var(--ease-out);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-l); background: none; font-size: 1.1rem; cursor: pointer; color: var(--ink);
  transition: all 0.25s;
}
.modal-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal-content h2 { font-size: 1.9rem; margin-bottom: 10px; }
.modal-content > p { margin-bottom: 24px; line-height: 1.6; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-l); border-radius: 12px;
  font-family: var(--body); font-size: 0.97rem; color: var(--ink); background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-glow); background: #fff;
}
.form-group input[readonly] { background: var(--paper-2); }
.form-note { font-size: 0.85rem; color: var(--ink-3); margin-top: 14px; line-height: 1.5; }
.time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.time-slot {
  padding: 12px 8px; border: 1px solid var(--line-l); border-radius: 10px; background: #fff;
  font-family: var(--mono); font-size: 0.78rem; cursor: pointer; text-align: center; color: var(--ink);
  transition: all 0.2s;
}
.time-slot:hover { border-color: var(--amber); }
.time-slot.selected { background: var(--amber); border-color: var(--amber); color: var(--black); }
.avail-status { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 10px; }
.avail-status.ok { color: #1a7f4b; }
.modal .btn-primary { width: 100%; justify-content: center; padding: 17px; }
.form-status { margin-top: 16px; font-size: 0.92rem; text-align: center; }
.form-status.success { color: #1a7f4b; }
.form-status.error { color: #b3261e; }
.next-avail { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-top: 20px; }
.modal-content .next-avail { color: var(--ink-3); }

/* ---------- reveals ---------- */
.reveal { opacity: 1; }
html.anim .reveal { opacity: 0; transform: translateY(28px); }
html.anim .reveal.in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .explorer { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .exp-tabs { position: static; min-width: 0; }
  .exp-panels, .exp-panel, .exp-visual, .exp-desc { min-width: 0; max-width: 100%; }
  .exp-visual .vlabel .big { overflow-wrap: break-word; }
  .svc-row { grid-template-columns: 60px 1fr auto 50px; }
  .svc-row .desc { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .sec-head.split { grid-template-columns: 1fr; gap: 24px; }
  .about-strip { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 920px) {
  .nav-links, .nav-drop, #navbar .nav-login { display: none; }
  .hamburger { display: block; }
  .stat-panels, .grid-3, .post-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 90px 0; }
  .container { padding: 0 24px; }
  .hero-spec .spec-row { gap: 14px; font-size: 0.6rem; }
  .scroll-hint { display: none; }
}
@media (max-width: 560px) {
  .svc-row { grid-template-columns: 1fr 50px; gap: 14px; padding: 26px 14px; }
  .svc-row .num, .svc-row .price { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .modal-content { margin: 2vh 12px; padding: 32px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1 compat — reshelled blog/solutions/assessment pages
   ========================================================================== */
:root {
  --primary: #0e1638;
  --accent: #e8a44d;
  --accent-2: #c67f2a;
  --accent-glow: rgba(232, 164, 77, 0.16);
  --border: rgba(14, 22, 56, 0.13);
  --secondary: #3c4468;
  --muted: #8b91ab;
  --dark: #ffffff;
  --med: #f4f5f7;
}
.blog-header { max-width: 1280px; margin: 0 auto; padding: 190px 40px 50px; }
.blog-header h1 { margin-bottom: 18px; color: var(--ink); }
.blog-header p { font-size: 1.12rem; max-width: 620px; line-height: 1.7; }
.blog-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 40px 110px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.post-card {
  background: var(--white); border: 1px solid var(--line-l); border-radius: 18px; padding: 32px;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(14,22,56,0.1); border-color: rgba(232,164,77,0.5); }
.post-card h2 { font-size: 1.32rem; line-height: 1.25; color: var(--ink); font-weight: 400; }
.post-card p { font-size: 0.95rem; color: var(--ink-3); line-height: 1.65; flex: 1; }
.post-tag { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-ink); }
.post-meta { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-3); letter-spacing: 0.06em; }
.read-more { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-ink); }
.article-wrap { max-width: 800px; margin: 0 auto; padding: 180px 32px 90px; color: var(--ink-2); }
.article-wrap h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 14px 0 18px; color: var(--ink); }
.article-wrap .article-body { margin-top: 40px; }
.article-wrap .article-body h2 { margin: 48px 0 18px; font-size: 1.8rem; color: var(--ink); }
.article-wrap .article-body h3 { margin: 36px 0 12px; font-size: 1.35rem; color: var(--ink); }
.article-wrap .article-body p { margin-bottom: 20px; line-height: 1.85; font-size: 1.05rem; color: var(--ink-2); }
.article-wrap .article-body ul, .article-wrap .article-body ol { margin: 0 0 20px 24px; color: var(--ink-2); line-height: 1.8; }
.article-wrap .article-body li { margin-bottom: 8px; }
.article-wrap .article-body a { color: var(--amber-ink); }
.article-wrap .article-body strong { color: var(--ink); }
.article-wrap .article-body blockquote {
  border-left: 3px solid var(--amber); padding: 6px 0 6px 22px; margin: 30px 0;
  font-weight: 300; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em;
}
.article-footer {
  margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--line-l);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.article-footer a { color: var(--amber-ink); text-decoration: none; }
.article-footer a:hover { text-decoration: underline; }
.back-link {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-ink) !important; text-decoration: none; display: block; width: fit-content;
  margin-bottom: 26px; transition: transform 0.25s var(--ease-out);
}
.back-link:hover { transform: translateX(-4px); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 190px 40px 90px; }
.wrap h1 { margin-bottom: 18px; color: var(--ink); }
.wrap > p { max-width: 640px; font-size: 1.08rem; line-height: 1.7; margin-bottom: 40px; }
.wrap .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cta-box {
  margin-top: 50px; background: var(--black); color: rgba(255,255,255,0.72);
  border-radius: 22px; padding: 50px 44px; text-align: center;
}
.cta-box h2 { color: #fff; margin-bottom: 14px; }
.cta-box p { max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }
.cta-box a:not(.btn):not(.btn-solution):not(.btn-solution-outline) { color: var(--amber); }
.cta-box .btn-solution { color: #1a1206; }
.cta-box .btn-solution-outline { color: var(--amber); border-color: rgba(255,255,255,0.35); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-wrap { padding-top: 140px; }
  .wrap { padding: 150px 24px 70px; }
  .wrap .grid { grid-template-columns: 1fr; }
  .blog-header { padding: 150px 24px 40px; }
  .blog-grid { padding: 0 24px 80px; }
}

/* ---------- v3 aliases for service-page inline styles ---------- */
:root {
  --navy-1: var(--paper-2);
  --line: var(--line-l);
  --text: var(--ink);
  --muted: #2b3352;
  --med: #eceef2;
}
.serif-i { font-style: normal; color: var(--amber-ink); }
.page-hero .serif-i, .section-dark .serif-i, .cta-panel .serif-i { color: var(--amber); }


/* hero fit on short viewports + dark spec row */
.hero .spec-row { color: rgba(255,255,255,0.42); }
.hero .spec-row b { color: rgba(255,255,255,0.92); }
@media (max-height: 760px) {
  .hero .container { padding-top: 96px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin-bottom: 18px; }
  .hero .lede { margin-bottom: 26px; font-size: 1rem; max-width: 520px; }
  .hero .spec-row { display: none; }
  .hero-badge { margin-bottom: 18px; }
  .scroll-hint { display: none; }
}
@media (max-height: 560px) {
  .hero { min-height: 0; }
  .hero .container { padding-bottom: 60px; }
}


/* ---------- v3.1 polish: real blog imagery + extra motion ---------- */
.post-art-img { padding: 0; overflow: hidden; }
.post-art-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.1s cubic-bezier(.22,1,.36,1); }
.post-card-v3:hover .post-art-img img { transform: scale(1.05); }

.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero h1 .amber {
  background: linear-gradient(110deg, var(--amber) 40%, #ffd9a0 50%, var(--amber) 60%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: sheen 5.5s ease-in-out 1.2s infinite;
}
@keyframes sheen { 0%, 100% { background-position: 120% 0; } 45%, 55% { background-position: -20% 0; } }

.exp-visual { transition: transform .8s cubic-bezier(.22,1,.36,1), box-shadow .8s; }
.exp-panel:hover .exp-visual { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(11,18,38,0.5); }
@media (prefers-reduced-motion: reduce) { .hero h1 .amber { animation: none; } }


/* ---------- v3.2 mobile fixes ---------- */
@media (max-width: 900px) {
  /* slim, solid nav bar instead of a giant floating card */
  .nav { top: 10px; left: 12px; right: 12px; }
  .nav-inner { padding: 7px 8px 7px 16px; background: rgba(7,10,18,0.94); }
  .nav.scrolled .nav-inner { background: rgba(7,10,18,0.94); box-shadow: 0 14px 40px -12px rgba(0,0,0,0.5); }
  .nav-logo img { height: 40px; }
  .nav-phone { display: none; }
  .nav-cta { padding: 0.66rem 1rem; font-size: 0.64rem; }
  #navLinks { top: 66px; }

  /* breathing room: kill desktop-scale gaps */
  .section, .section-light, .section-tight { padding: 72px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-head h2 { font-size: 1.9rem; }
  .stat-panel { padding: 26px; }
  .stat-panel .val { font-size: 1.7rem; }
  .exp-tabs { gap: 8px; }
  .exp-tab { padding: 14px 16px; }
  .exp-panel { padding: 30px 22px; border-radius: 20px; }
  .exp-visual { min-height: 220px; border-radius: 14px; padding: 18px; }
  .exp-visual .big { font-size: 2rem; }
  .exp-cap { font-size: 0.6rem; }
  .exp-desc { margin-top: 20px; }
  .svc-row { padding: 22px 6px; gap: 12px; }
  .svc-row .desc { max-width: 100%; font-size: 0.92rem; }
  .gov-card { padding: 26px 22px; }
  .case { padding: 30px 24px; }
  .cta-final h2 { font-size: 2rem; }
  .cta-final { padding: 100px 0; }
  .post-grid { gap: 34px; }
  .post-body { padding: 20px 4px 6px; }
  .contact-card { padding: 24px 22px; }
  .page-hero { padding: 150px 0 60px; }
  .about-badge { bottom: -16px; right: 12px; padding: 16px 20px; }
  .about-badge .big { font-size: 1.4rem; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 2.9rem); }
  .hero .lede { font-size: 1rem; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .svc-row .num { display: none; }
  .svc-row { padding-left: 0; padding-right: 0; }
  .who-card, .contact-card { padding: 24px 20px; }
  .footer .foot-grid { gap: 28px; }
  #floatingCta { bottom: 14px; right: 14px; padding: 0.8rem 1.2rem; }
}

@media (max-width: 640px) {
  #floatingCta { display: none; }
}


/* ---------- v3.3 overflow hardening + mobile hero readability ---------- */
html, body { overflow-x: clip; }
.foot-bottom { flex-wrap: wrap; }
.hero .spec-row { flex-wrap: wrap; row-gap: 10px; }
@media (max-width: 900px) {
  /* stronger scrim so text never fights the scene */
  .hero::before {
    background:
      linear-gradient(180deg, rgba(3,5,10,0.6) 0%, rgba(3,5,10,0.28) 34%, rgba(3,5,10,0.72) 78%, rgba(3,5,10,0.92) 100%);
  }
  .hero-badge { letter-spacing: 0.22em; font-size: 0.62rem; }
}
@media (max-width: 560px) {
  .hero-badge { letter-spacing: 0.16em; font-size: 0.58rem; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
}


/* ---------- v4: video hero ---------- */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%; transition: opacity 0.45s ease; }
.hero-video.loop-fade { opacity: 0; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(3,5,10,0.86) 0%, rgba(3,5,10,0.62) 42%, rgba(3,5,10,0.28) 70%, rgba(3,5,10,0.45) 100%),
    linear-gradient(180deg, rgba(3,5,10,0.5) 0%, rgba(3,5,10,0.1) 40%, rgba(3,5,10,0.82) 100%);
}
@media (max-width: 900px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(3,5,10,0.72) 0%, rgba(3,5,10,0.5) 34%, rgba(3,5,10,0.78) 78%, rgba(3,5,10,0.94) 100%);
  }
}


/* ---------- v5: hero video sequence ---------- */
.hero-seq { position: absolute; inset: 0; z-index: 0; }
.hero-seq .hero-video { opacity: 0; transition: opacity 0.8s ease; }
.hero-seq .hero-video.on { opacity: 1; }


/* ---------- v5b: logo finale hold (fallback / end frame) ---------- */
.hero-logo-hold { position: absolute; inset: 0; z-index: 0; opacity: 0;
  transition: opacity 0.9s ease; pointer-events: none;
  background: #04060c center / cover no-repeat; }
.hero-logo-hold.on { opacity: 1; }
.hero-logo-hold img { width: 100%; height: 100%; object-fit: cover;
  animation: logoSettle 4.2s var(--ease-out) both; }
@keyframes logoSettle {
  0% { transform: scale(1.05); filter: brightness(1.35); }
  100% { transform: scale(1); filter: brightness(1); }
}


/* ---------- v5e: mobile finale scrim (logo = background watermark) ---------- */
@media (max-width: 900px) {
  .hero.finale::before {
    background: linear-gradient(180deg, rgba(3,5,10,0.82) 0%, rgba(3,5,10,0.72) 40%, rgba(3,5,10,0.88) 100%);
  }
}

/* legacy v1 button aliases (reshelled content) */
.btn-solution { display: inline-flex; align-items: center; gap: 10px; background: var(--amber); color: #1a1206; font-weight: 600; font-size: 0.95rem; padding: 15px 28px; border-radius: 999px; text-decoration: none; border: none; cursor: pointer; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.btn-solution:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--amber-glow); }
.btn-solution-outline, .btn-outline { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 15px 28px; border-radius: 999px; text-decoration: none; border: 1px solid var(--line-l); cursor: pointer; transition: border-color 0.3s, transform 0.3s var(--ease-out); }
.btn-solution-outline:hover, .btn-outline:hover { border-color: var(--amber-deep); transform: translateY(-2px); }

/* nav dropdown button reset (keyboard-accessible services menu) */
.nav-drop-btn { background: none; border: none; font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.72); cursor: pointer; padding: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-btn:hover { color: #fff; }
.nav-drop:focus-within .nav-drop-menu, .nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

/* Native Solutions collection and shared current-page state. */
.nav-links [aria-current], .nav-links .is-current { color: var(--amber); }
.nav-links .nav-link[aria-current] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.nav-drop-menu [aria-current="page"] { background: rgba(232,164,77,0.1); }
.foot-col [aria-current="page"] { color: var(--amber); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.solutions-hero { padding: 166px 0 68px; }
.solutions-hero .breadcrumb { margin-bottom: 30px; color: #b5b9c9; }
.solutions-hero .breadcrumb span { padding: 0 10px; }
.solutions-hero .lede { max-width: 740px; }
.solutions-jump { display: inline-flex; gap: 18px; align-items: center; margin-top: 28px; color: #fff; text-decoration: none; font-size: 0.94rem; }
.solutions-jump span { color: var(--amber); }
.solutions-jump:hover { text-decoration: underline; text-underline-offset: 5px; }
.solutions-options { padding: 70px 0 64px; scroll-margin-top: 112px; }
.solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.solution-card { min-width: 0; display: flex; flex-direction: column; padding: 34px; background: var(--white); border: 1px solid var(--line-l); border-radius: 20px; transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s; }
.solution-card:hover { transform: translateY(-6px); border-color: rgba(14,22,56,0.26); box-shadow: 0 24px 60px rgba(14,22,56,0.09); }
.solution-card a { color: var(--ink); text-decoration: none; }
.solution-kicker { display: flex; gap: 12px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #535c79; margin-bottom: 20px; }
.solution-kicker span { font-variant-numeric: tabular-nums; }
.solution-card h2 { font-size: 1.75rem; line-height: 1.18; font-weight: 400; letter-spacing: -0.025em; margin: 0 0 18px; }
.solution-card h2 a { display: inline; }
.solution-pain { color: var(--ink); font-size: 1.08rem; line-height: 1.5; margin-bottom: 16px; }
.solution-copy { color: var(--ink-2); line-height: 1.7; font-size: 0.98rem; margin-bottom: 24px; }
.solution-evidence { margin-top: auto; background: var(--paper); border-radius: 12px; padding: 18px 20px; }
.solution-label { font-family: var(--mono); font-size: 0.61rem; letter-spacing: 0.1em; text-transform: uppercase; color: #535c79; margin-bottom: 8px; }
.solution-outcome { color: var(--ink); font-weight: 500; line-height: 1.45; font-size: 1.04rem; }
.solution-note { color: #535c79; font-size: 0.85rem; line-height: 1.6; margin-top: 7px; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 16px; font-size: 0.8rem; }
.solution-tags > span { color: #535c79; margin-right: 3px; }
.solution-tags a { display: inline-flex; align-items: center; min-height: 34px; border: 1px solid var(--line-l); border-radius: 7px; padding: 4px 10px; }
.solution-tags a:hover { background: var(--paper-2); }
.solution-read { display: inline-flex; align-items: center; align-self: flex-start; gap: 14px; min-height: 44px; font-weight: 500; font-size: 0.92rem; }
.solution-arrow { color: var(--amber-ink); display: inline-block; transition: transform 0.25s var(--ease-out); }
.solution-read:hover .solution-arrow { transform: translateX(4px); }
.solutions-governance { max-width: 840px; font-size: 0.94rem; line-height: 1.8; color: var(--ink-2); margin: 32px auto 0; text-align: center; }
.solutions-governance a { color: var(--ink); text-underline-offset: 4px; }
.solutions-symptoms, .solutions-reading { padding: 78px 0; }
.solutions-split { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.4fr); gap: 64px; align-items: start; }
.solutions-section-head h2 { font-size: clamp(2rem,3.3vw,2.6rem); margin: 20px 0; line-height: 1.12; }
.solutions-section-head > p:last-child { max-width: 320px; line-height: 1.7; }
.symptom-map, .solutions-reading-list { list-style: none; border-top: 1px solid var(--line-l); }
.symptom-map li, .solutions-reading-list li { border-bottom: 1px solid var(--line-l); }
.symptom-map a { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.78fr); gap: 24px; align-items: center; padding: 24px 0; color: var(--ink); text-decoration: none; }
.symptom-text { font-size: 1.03rem; line-height: 1.6; }
.symptom-destination { font-size: 0.85rem; line-height: 1.55; text-align: right; color: #535c79; }
.symptom-destination > span { color: var(--amber-ink); padding-left: 4px; }
.symptom-map a:hover .symptom-text, .solutions-reading-list a:hover > span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.solutions-start { padding: 78px 0; }
.solutions-start-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,0.8fr); gap: 82px; align-items: center; }
.solutions-start h2 { font-size: clamp(2rem,3.5vw,2.9rem); margin: 22px 0; line-height: 1.13; }
.solutions-start-copy { max-width: 600px; line-height: 1.8; color: #c7cbd7; }
.solutions-start-actions { min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.scan-price { color: #c7cbd7; font-size: 0.9rem; }
.scan-price strong { display: block; font-family: var(--sans); font-size: 2.2rem; font-weight: 400; letter-spacing: -0.03em; color: #fff; margin: 4px 0 10px; }
.solutions-start-actions .btn { width: 100%; justify-content: center; text-align: center; white-space: normal; letter-spacing: 0.07em; line-height: 1.5; }
.solutions-call { background: none; border: 0; color: #fff; font-size: 0.92rem; padding: 12px; min-height: 44px; cursor: pointer; text-underline-offset: 5px; }
.solutions-call:hover { text-decoration: underline; }
.solutions-call span { color: var(--amber); margin-left: 8px; }
.solutions-reading-list a { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; padding: 21px 0; line-height: 1.6; }
.reading-category { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: #535c79; }
.solutions-reading-list .solution-arrow { margin-left: 8px; }

@media (max-width: 900px) {
  .solutions-hero { padding: 144px 0 54px; }
  .solutions-options { padding: 42px 0 48px; }
  .solutions-grid { gap: 20px; }
  .solution-card { padding: 26px; }
  .solutions-split, .solutions-start-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .solutions-start-actions { max-width: 440px; }
  .solutions-symptoms, .solutions-reading, .solutions-start { padding: 56px 0; }
}
@media (max-width: 700px) {
  .solutions-grid { grid-template-columns: minmax(0,1fr); }
  .solutions-hero h1 { font-size: clamp(2.05rem,8.6vw,3rem); line-height: 1.08; }
  .solutions-hero .lede { font-size: 1.05rem; }
  .solutions-hero .breadcrumb { letter-spacing: 0.1em; }
  .solution-card h2 { font-size: 1.6rem; }
  .solution-evidence { padding: 16px; }
  .solutions-governance { text-align: left; }
  .symptom-map a { grid-template-columns: minmax(0,1fr); gap: 8px; padding: 20px 0; }
  .symptom-destination { text-align: left; }
  .cta-box { padding: 30px 22px; }
  .cta-box .btn-solution, .cta-box .btn-solution-outline { display: flex; justify-content: center; width: 100%; padding: 14px; line-height: 1.5; white-space: normal; margin: 12px 0 0; }
}
@media (max-width: 359px) {
  .solution-card { padding: 22px; }
  .solution-card h2 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .solution-card, .solution-arrow { transition: none; }
  .solution-card:hover { transform: none; }
}
