/* ════════════════════════════════════════════════════════════════════════ */
/*  RESET & ROOT TOKENS                                                      */
/* ════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html:focus-within { scroll-behavior: smooth; }

:root {
  /* DARK THEME (default) */
  --bg:           #0A0F1F;
  --bg-elev:      #0E1528;
  --bg-card:      #111A33;
  --bg-glass:     rgba(18, 26, 51, 0.55);
  --bg-inset:     #070B17;
  --ink:          #EDEAE1;
  --ink-dim:      rgba(237, 234, 225, 0.72);
  --ink-faint:    rgba(237, 234, 225, 0.48);
  --ink-ghost:    rgba(237, 234, 225, 0.18);
  --line:         rgba(237, 234, 225, 0.08);
  --line-strong:  rgba(237, 234, 225, 0.16);

  --gold:         #D4A24C;
  --gold-l:       #E5BB6B;
  --gold-pale:    rgba(212, 162, 76, 0.12);
  --crimson:      #B73E5C;
  --crimson-d:    #8B1538;
  --cyan:         #5BC9DC;           /* tech accent — used sparingly */
  --cyan-glow:    rgba(91, 201, 220, 0.15);

  --grid:         rgba(237, 234, 225, 0.035);

  --max:          1340px;
  --max-prose:    780px;
  --r-sm:         4px;
  --r:            10px;
  --r-lg:         18px;

  --shadow-sm:    0 1px 0 rgba(0,0,0,0.4), 0 2px 12px rgba(0,0,0,0.25);
  --shadow:       0 2px 0 rgba(0,0,0,0.4), 0 16px 48px rgba(0,0,0,0.35);
  --shadow-lg:    0 40px 120px rgba(0,0,0,0.5);

  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);

  --f-display:    'Fraunces', 'Playfair Display', Georgia, serif;
  --f-body:       'Instrument Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:       'JetBrains Mono', 'SF Mono', 'Menlo', ui-monospace, monospace;
}

html[data-theme="light"] {
  --bg:           #F4EFE6;
  --bg-elev:      #EFE9DE;
  --bg-card:      #FFFFFF;
  --bg-glass:     rgba(255, 255, 255, 0.75);
  --bg-inset:     #E8E1D2;
  --ink:          #0A0F1F;
  --ink-dim:      rgba(10, 15, 31, 0.72);
  --ink-faint:    rgba(10, 15, 31, 0.48);
  --ink-ghost:    rgba(10, 15, 31, 0.18);
  --line:         rgba(10, 15, 31, 0.08);
  --line-strong:  rgba(10, 15, 31, 0.16);
  --grid:         rgba(10, 15, 31, 0.04);
  --gold-pale:    rgba(212, 162, 76, 0.14);
  --cyan-glow:    rgba(10, 80, 110, 0.08);
  --shadow-sm:    0 1px 0 rgba(10,15,31,0.04), 0 2px 12px rgba(10,15,31,0.06);
  --shadow:       0 2px 0 rgba(10,15,31,0.04), 0 16px 48px rgba(10,15,31,0.08);
  --shadow-lg:    0 40px 120px rgba(10,15,31,0.12);
}

body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

/* ─── Selection & scrollbar ─── */
::selection { background: var(--gold); color: var(--bg); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─── Ambient grid background ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 0%, transparent 80%);
}

main, header, section, footer, nav { position: relative; z-index: 1; }

/* ════════════════════════════════════════════════════════════════════════ */
/*  TYPOGRAPHY                                                               */
/* ════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}
.eyebrow .num { color: var(--ink-faint); font-weight: 400; }

.display {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.6vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--gold);
  font-weight: 400;
}

.h-lg {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.h-lg em { font-style: italic; color: var(--gold); }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 62ch;
  font-weight: 400;
}

.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; }
.caps-mono {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* ════════════════════════════════════════════════════════════════════════ */
/*  LAYOUT PRIMITIVES                                                        */
/* ════════════════════════════════════════════════════════════════════════ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .wrap { padding: 0 24px; } }

section { padding: 120px 0; }
@media (max-width: 768px) { section { padding: 72px 0; } }

.rule {
  display: block;
  height: 1px; background: var(--line);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════════ */
/*  BUTTONS                                                                  */
/* ════════════════════════════════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body);
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; padding: 14px 24px; border-radius: var(--r-sm);
  transition: all 0.3s var(--ease); cursor: pointer; border: none;
  white-space: nowrap;
}
.btn .btn-arr { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arr { transform: translateX(4px); }

.btn-primary {
  background: var(--gold); color: #0A0F1F;
  box-shadow: 0 4px 20px rgba(212, 162, 76, 0.25);
}
.btn-primary:hover { background: var(--gold-l); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(212, 162, 76, 0.35); }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }

.btn-ghost {
  background: transparent; color: var(--ink-dim);
  padding: 14px 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* ════════════════════════════════════════════════════════════════════════ */
/*  SCROLL PROGRESS                                                          */
/* ════════════════════════════════════════════════════════════════════════ */
#scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; background: transparent; z-index: 9999;
  pointer-events: none;
}
#scroll-progress > div {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--crimson-d), var(--gold), var(--cyan));
  transition: width 0.1s linear;
}

/* ════════════════════════════════════════════════════════════════════════ */
/*  NAVIGATION                                                               */
/* ════════════════════════════════════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
#nav.scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 48px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}

.nav-brand { text-decoration: none; display: flex; align-items: center; gap: 10px; color: var(--ink); }

/* ════════════════════════════════════════════════════════════════════════ */
/*  BRAND LOGO IMAGES (theme-aware swap)                                     */
/* ════════════════════════════════════════════════════════════════════════ */
.brand-logo {
  display: block;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.nav-brand .brand-logo {
  height: 38px; width: auto;
  transition: opacity 0.2s var(--ease);
}
.nav-brand:hover .brand-logo { opacity: 0.85; }

/* Default site theme is dark — show dark variant (white-globe-on-dark) */
.brand-logo-dark { display: block; }
.brand-logo-light { display: none; }

/* When user switches to light theme via toggle, swap to navy-on-cream variant */
html[data-theme="light"] .brand-logo-dark { display: none; }
html[data-theme="light"] .brand-logo-light { display: block; }

/* Responsive: smaller logo on tablets/phones */
@media (max-width: 1024px) {
  .nav-brand .brand-logo { height: 34px; }
}
@media (max-width: 640px) {
  .nav-brand .brand-logo { height: 30px; }
}

/* Legacy text-logo styles kept for fallback / any other use */
.nav-brand-mark {
  width: 32px; height: 32px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 18px; font-weight: 500; font-style: italic;
  color: var(--gold);
  position: relative;
  flex-shrink: 0;
  align-self: center;
}
.nav-brand-mark::after {
  content: ''; position: absolute; top: -2px; right: -2px;
  width: 5px; height: 5px; background: var(--crimson);
  border-radius: 50%;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-name {
  font-family: var(--f-display); font-size: 19px; font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-brand-name em { color: var(--gold); font-style: italic; }
.nav-brand-sub {
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint); margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 13px; font-weight: 400; color: var(--ink-dim);
  text-decoration: none; padding: 8px 14px; border-radius: var(--r-sm);
  transition: all 0.2s var(--ease); position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* Command-K hint */
.nav-cmd {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12px; color: var(--ink-faint);
  background: var(--bg-glass);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.nav-cmd:hover { color: var(--ink); border-color: var(--line-strong); }
.nav-cmd kbd {
  font-family: var(--f-mono); font-size: 10px;
  padding: 2px 6px; border: 1px solid var(--line-strong);
  border-radius: 3px; color: var(--ink-dim);
  background: var(--bg-inset);
}

/* Theme toggle */
.theme-toggle {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-dim);
  transition: all 0.2s var(--ease);
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }
html[data-theme="light"] .theme-toggle .sun-icon { display: block; }
html[data-theme="light"] .theme-toggle .moon-icon { display: none; }

.nav-cta {
  padding: 10px 18px;
  background: var(--gold); color: #0A0F1F;
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; border-radius: var(--r-sm);
  transition: all 0.2s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--gold-l); transform: translateY(-1px); }

.nav-mobile-btn { display: none; background: transparent; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: var(--r-sm); cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-mobile-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease); }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cmd { display: none; }
  .nav-mobile-btn { display: flex; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-brand-sub { display: none; }
  .nav-cta { display: none; }
}

#mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s var(--ease);
  z-index: 99;
}
#mobile-menu.open { max-height: 80vh; overflow-y: auto; }
#mobile-menu a {
  display: block; padding: 16px 48px;
  color: var(--ink-dim); text-decoration: none;
  font-size: 15px; border-bottom: 1px solid var(--line);
  transition: all 0.2s var(--ease);
}
#mobile-menu a:hover { color: var(--gold); background: var(--bg-card); }
@media (max-width: 768px) { #mobile-menu a { padding: 16px 24px; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  LIVE TICKER (top strip)                                                  */
/* ════════════════════════════════════════════════════════════════════════ */
.ticker-bar {
  position: relative;
  background: var(--bg-inset);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 400; letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding: 10px 0;
  white-space: nowrap;
  text-transform: uppercase;
}
.ticker-track {
  display: inline-flex; gap: 32px;
  animation: ticker 48s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 32px; }
.ticker-dot { color: var(--gold); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════════════════════════════ */
/*  HERO                                                                     */
/* ════════════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 85% 30%, rgba(212, 162, 76, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(183, 62, 92, 0.08), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-network {
  position: absolute; top: 50%; right: -5%;
  transform: translateY(-50%);
  width: 55%; height: 90%;
  opacity: 0.9;
  pointer-events: none; z-index: 0;
}
@media (max-width: 1100px) { .hero-network { opacity: 0.25; right: -30%; width: 80%; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: end;
  position: relative; z-index: 2;
}
.hero-l { max-width: 780px; }

.hero-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 36px;
}
.hero-meta .pulse {
  width: 6px; height: 6px; background: #3CE37E; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(60, 227, 126, 0.8);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 227, 126, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(60, 227, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 227, 126, 0); }
}
.hero-meta .divider { width: 1px; height: 12px; background: var(--line-strong); }

.hero-heading {
  font-family: var(--f-display);
  font-size: clamp(54px, 7.5vw, 128px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: 36px;
  color: var(--ink);
}
.hero-heading em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--gold);
  font-weight: 400;
}
.hero-heading .dim { color: var(--ink-faint); }

.hero-desc {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 58ch;
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-r {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  padding: 8px 0;
}
.hero-r-label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); padding: 20px 28px 16px;
  border-bottom: 1px solid var(--line);
}
.hero-stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.hero-stat:last-child { border-bottom: none; }
.hs-label {
  font-size: 12px; color: var(--ink-faint);
  font-family: var(--f-mono); letter-spacing: 0.06em;
  max-width: 48%;
}
.hs-num {
  font-family: var(--f-display);
  font-size: 42px; font-weight: 400; font-style: italic;
  color: var(--ink); line-height: 1;
  font-variation-settings: "opsz" 144;
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-r { max-width: 480px; }
}

/* ─── hero bottom band: scrolling keywords + CTA ─── */
.hero-band {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint);
}
.hero-band .chip-row { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-band .chip-row span { display: inline-flex; align-items: center; gap: 8px; }
.hero-band .chip-row span::before { content: '◆'; color: var(--gold); font-size: 8px; }

/* ════════════════════════════════════════════════════════════════════════ */
/*  SECTION HEADERS (universal)                                              */
/* ════════════════════════════════════════════════════════════════════════ */
.sec-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  margin-bottom: 72px; align-items: end;
}
.sec-head-r { color: var(--ink-dim); font-size: 17px; line-height: 1.7; max-width: 52ch; font-weight: 400; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 32px; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  ABOUT                                                                    */
/* ════════════════════════════════════════════════════════════════════════ */
#about { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px;
  align-items: start;
}
.about-l { position: sticky; top: 110px; }

.about-pull {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 400; font-style: italic;
  line-height: 1.3;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding: 0 0 0 20px;
  margin: 36px 0 24px;
}
.about-detail {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.about-r-text p { font-size: 17px; line-height: 1.75; color: var(--ink-dim); margin-bottom: 22px; max-width: 64ch; }
.about-r-text p strong { color: var(--ink); font-weight: 500; }

.about-badges {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.badge-item {
  display: flex; gap: 14px;
  padding: 22px;
  background: var(--bg);
  transition: background 0.2s;
}
.badge-item:hover { background: var(--bg-card); }
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  margin-top: 7px; flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--gold-pale);
}
.badge-text {
  font-size: 14px; color: var(--ink-dim); line-height: 1.55;
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-l { position: static; }
  .about-badges { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════ */
/*  SERVICES OVERVIEW                                                        */
/* ════════════════════════════════════════════════════════════════════════ */
#services {
  background: var(--bg);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  display: flex; flex-direction: column;
  position: relative;
  padding: 44px 36px;
  text-decoration: none;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
  overflow: hidden;
  min-height: 320px;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, var(--gold-pale), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.service-card:hover { background: var(--bg-card); }
.service-card:hover::before { opacity: 1; }

.sc-num {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.2em; color: var(--gold);
  margin-bottom: 40px;
}
.sc-name {
  font-family: var(--f-display);
  font-size: 32px; font-weight: 400; line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}
.sc-desc {
  font-size: 14px; line-height: 1.65; color: var(--ink-dim);
  margin-bottom: auto;
  max-width: 36ch;
}
.sc-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.sc-tag {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint);
}
.sc-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-dim);
  transition: all 0.3s var(--ease);
}
.service-card:hover .sc-arrow { background: var(--gold); color: #0A0F1F; border-color: var(--gold); transform: rotate(-45deg); }

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  PRACTICE GUIDE (tabbed section)                                          */
/* ════════════════════════════════════════════════════════════════════════ */
.practice-guide {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
}
.practice-guide + .practice-guide { border-top: 1px solid var(--line); }

.guide-header {
  max-width: var(--max); margin: 0 auto;
  padding: 0 48px;
  margin-bottom: 48px;
}
.guide-h2 {
  font-family: var(--f-display);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 400; line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 12px 0 18px;
}
.guide-h2 em { font-style: italic; color: var(--gold); }
.guide-intro { font-size: 17px; color: var(--ink-dim); line-height: 1.65; max-width: 60ch; }

.guide-tabs {
  display: flex; gap: 0;
  overflow-x: auto;
  max-width: var(--max); margin: 0 auto 0;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.guide-tabs::-webkit-scrollbar { display: none; }

.gtab {
  font-family: var(--f-body);
  font-size: 13px; font-weight: 500;
  color: var(--ink-faint); background: transparent;
  border: none; cursor: pointer;
  padding: 16px 22px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
  position: relative;
}
.gtab:hover { color: var(--ink); }
.gtab.active { color: var(--gold); border-bottom-color: var(--gold); }

.guide-body {
  max-width: var(--max); margin: 0 auto;
  padding: 48px;
}
.tab-panel { display: none; animation: fadeIn 0.4s var(--ease); }
.tab-panel.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .guide-header, .guide-tabs, .guide-body { padding-left: 24px; padding-right: 24px; }
}

/* ─── Info cards inside practice guide ─── */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
}
.info-card::before {
  content: ''; position: absolute; top: 0; left: 32px;
  width: 40px; height: 2px;
  background: var(--gold);
}
.info-card-title {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 500;
  color: var(--ink); margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.info-card p { font-size: 15px; line-height: 1.7; color: var(--ink-dim); margin-bottom: 12px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card p strong { color: var(--ink); font-weight: 500; }
.info-card ul { padding-left: 22px; margin: 8px 0; }
.info-card ul li { font-size: 14px; line-height: 1.7; color: var(--ink-dim); margin-bottom: 8px; }
.info-card ul li::marker { color: var(--gold); }

.info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } }
.info-item {
  padding: 18px; background: var(--bg-inset);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.info-item-name {
  font-family: var(--f-display);
  font-size: 16px; font-weight: 500;
  color: var(--ink); margin-bottom: 6px;
}
.info-item-desc { font-size: 13px; line-height: 1.6; color: var(--ink-dim); }

.types-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 640px) { .types-grid { grid-template-columns: 1fr; } }
.type-item {
  padding: 20px;
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.type-name {
  font-family: var(--f-display);
  font-size: 16px; font-weight: 500; color: var(--ink);
  margin-bottom: 8px;
}
.type-desc { font-size: 13px; color: var(--ink-dim); line-height: 1.6; margin-bottom: 10px; }
.type-duration {
  display: inline-block; padding: 4px 10px;
  background: var(--gold-pale); color: var(--gold);
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 3px;
}

/* Alerts */
.alert {
  padding: 18px 22px;
  border-radius: var(--r-sm);
  border-left: 3px solid;
  background: var(--bg-inset);
}
.alert-title {
  font-family: var(--f-display);
  font-size: 15px; font-weight: 600; margin-bottom: 8px;
}
.alert p, .alert ul { font-size: 13px; line-height: 1.65; color: var(--ink-dim); }
.alert ul { margin: 6px 0 0; }
.alert-blue { border-color: var(--cyan); background: var(--cyan-glow); }
.alert-blue .alert-title { color: var(--cyan); }
.alert-red { border-color: var(--crimson); background: rgba(183, 62, 92, 0.08); }
.alert-red .alert-title { color: var(--crimson); }
.alert-green { border-color: #3CE37E; background: rgba(60, 227, 126, 0.08); }
.alert-green .alert-title { color: #3CE37E; }
.alert-orange { border-color: var(--gold); background: var(--gold-pale); }
.alert-orange .alert-title { color: var(--gold); }

/* Requirements grid (numbered) */
.req-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-sm); overflow: hidden;
}
@media (max-width: 768px) { .req-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .req-grid { grid-template-columns: 1fr; } }
.req-item {
  padding: 18px; background: var(--bg-inset);
  display: flex; align-items: center; gap: 12px;
}
.req-num {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500; color: var(--gold);
  min-width: 26px;
}
.req-label { font-size: 13px; color: var(--ink); font-weight: 500; }

/* Stages */
.stages { display: flex; flex-direction: column; gap: 4px; }
.stage {
  display: flex; gap: 18px; padding: 18px 20px;
  background: var(--bg-inset);
  border-left: 2px solid var(--line);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: border-color 0.2s;
}
.stage:hover { border-left-color: var(--gold); }
.stage-num {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-card); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600;
  border: 1px solid var(--line-strong);
}
.stage-title {
  font-family: var(--f-display);
  font-size: 15px; font-weight: 500; color: var(--ink);
  margin-bottom: 4px;
}
.stage-desc { font-size: 13px; color: var(--ink-dim); line-height: 1.6; }

/* Stat boxes */
.stat-boxes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 640px) { .stat-boxes { grid-template-columns: 1fr; } }
.stat-box {
  padding: 24px;
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-align: left;
}
.stat-box-label {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 8px;
}
.stat-box-num {
  font-family: var(--f-display);
  font-size: 42px; font-weight: 400; font-style: italic;
  color: var(--gold); line-height: 1;
  margin-bottom: 4px;
  font-variation-settings: "opsz" 144;
}
.stat-box-sub { font-size: 12px; color: var(--ink-dim); }

/* Data table */
.data-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm); overflow: hidden;
}
.data-table thead { background: var(--bg-inset); }
.data-table th {
  text-align: left; padding: 12px 16px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table td strong { color: var(--ink); font-weight: 500; }

.highlight-box {
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--gold-pale), transparent);
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  font-size: 14px; line-height: 1.7;
  color: var(--ink);
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

/* CTA banner at end of each practice guide */
.cta-banner {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-inset));
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--gold-pale), transparent);
  pointer-events: none;
}
.cta-banner > div { max-width: 60%; position: relative; z-index: 1; }
.cta-banner h3 {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 500; margin-bottom: 6px;
  color: var(--ink);
}
.cta-banner p { font-size: 14px; color: var(--ink-dim); line-height: 1.6; }
@media (max-width: 768px) { .cta-banner { flex-direction: column; align-items: flex-start; } .cta-banner > div { max-width: 100%; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  EXPERTISE                                                                */
/* ════════════════════════════════════════════════════════════════════════ */
#expertise { background: var(--bg); }
.exp-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: 80px; align-items: start;
}
.exp-l { position: sticky; top: 110px; }

.exp-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.exp-section:first-child { padding-top: 0; border-top: none; }
.exp-section-label {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.exp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-chip {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  border-radius: 100px;
  font-size: 13px; font-weight: 400;
  transition: all 0.2s var(--ease);
}
.exp-chip:hover { border-color: var(--gold); color: var(--gold); }
.exp-chip.spec {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 1024px) {
  .exp-grid { grid-template-columns: 1fr; gap: 48px; }
  .exp-l { position: static; }
}

/* ════════════════════════════════════════════════════════════════════════ */
/*  LEGAL INTELLIGENCE (new, tech-forward section)                           */
/* ════════════════════════════════════════════════════════════════════════ */
#intelligence {
  background: var(--bg-inset);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
#intelligence::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 30% at 20% 20%, rgba(91, 201, 220, 0.06), transparent),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(212, 162, 76, 0.06), transparent);
  pointer-events: none;
}

.intel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.intel-card {
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
  min-height: 260px;
  transition: background 0.3s var(--ease);
}
.intel-card:hover { background: var(--bg-elev); }
.intel-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  background: var(--gold-pale);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
}
.intel-icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
.intel-title {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 500;
  color: var(--ink); margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.intel-desc { font-size: 14px; color: var(--ink-dim); line-height: 1.65; flex: 1; }
.intel-tag {
  margin-top: 20px;
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

@media (max-width: 900px) { .intel-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  GLOBAL REACH (map-style table)                                           */
/* ════════════════════════════════════════════════════════════════════════ */
#reach {
  background: var(--bg);
}

.reach-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-elev);
}
.reach-table {
  width: 100%; border-collapse: collapse;
}
.reach-table thead {
  background: var(--bg-inset);
  border-bottom: 1px solid var(--line);
}
.reach-table th {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  padding: 16px 24px; text-align: left;
}
.reach-table td {
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-dim);
  vertical-align: middle;
}
.reach-table tr:hover td { background: var(--bg-card); }
.reach-table td:first-child {
  font-family: var(--f-display);
  font-size: 17px; font-weight: 500;
  color: var(--ink);
  width: 220px;
}
.reach-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
}
.reach-badge.primary {
  color: var(--gold); border-color: var(--gold); background: var(--gold-pale);
}
.reach-badge::before {
  content: ''; width: 5px; height: 5px;
  background: currentColor; border-radius: 50%;
}

.reach-stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 40px;
}
.reach-stat-item {
  padding: 32px 24px;
  background: var(--bg-elev);
  text-align: center;
}
.reach-stat-num {
  font-family: var(--f-display);
  font-size: 44px; font-weight: 400; font-style: italic;
  color: var(--gold); line-height: 1;
  margin-bottom: 6px;
}
.reach-stat-label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}
@media (max-width: 1024px) { .reach-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .reach-stats { grid-template-columns: repeat(2, 1fr); } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  JURISDICTIONS TEASER                                                     */
/* ════════════════════════════════════════════════════════════════════════ */
#jurisdictions {
  background: var(--bg-inset);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.jur-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 40px;
}
.jur-card {
  background: var(--bg-elev);
  padding: 32px 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  transition: background 0.25s var(--ease);
  position: relative;
  min-height: 280px;
}
.jur-card:hover { background: var(--bg-card); }

.jur-flag {
  font-size: 32px; line-height: 1;
  margin-bottom: 18px;
  filter: grayscale(0);
}
.jur-country {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 500;
  color: var(--ink); margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.jur-badges {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px;
}
.jur-badge {
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
}
.jur-facts {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex: 1;
}
.jur-fact {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px;
}
.jur-fact-l {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
}
.jur-fact-v { font-size: 12px; color: var(--ink); text-align: right; font-weight: 500; }

.jur-arrow {
  position: absolute; bottom: 20px; right: 24px;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  transition: all 0.25s var(--ease);
}
.jur-card:hover .jur-arrow { color: var(--gold); transform: translate(4px, -4px); }

.jur-cta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  padding: 32px 40px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.jur-cta-text h3 { font-family: var(--f-display); font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.jur-cta-text p { font-size: 14px; color: var(--ink-dim); max-width: 54ch; }

@media (max-width: 1200px) { .jur-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .jur-grid { grid-template-columns: repeat(2, 1fr); } .jur-cta { flex-direction: column; align-items: flex-start; padding: 28px; } }
@media (max-width: 480px)  { .jur-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  TEAM                                                                     */
/* ════════════════════════════════════════════════════════════════════════ */
#team { background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.team-card {
  background: var(--bg-elev);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: background 0.25s var(--ease);
  min-height: 340px;
}
.team-card:hover { background: var(--bg-card); }

.tc-header { display: flex; gap: 18px; margin-bottom: 20px; align-items: center; }
.tc-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--crimson-d));
  color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 20px; font-weight: 500;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
}
.tc-name { font-family: var(--f-display); font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.tc-role {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.tc-bio { font-size: 13px; line-height: 1.7; color: var(--ink-dim); flex: 1; margin-bottom: 18px; }
.tc-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.tc-tag {
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--bg-inset);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  border-radius: 3px;
}

@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .team-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  PROCESS (how we work)                                                    */
/* ════════════════════════════════════════════════════════════════════════ */
#process { background: var(--bg-elev); border-top: 1px solid var(--line); }

.proc-header { text-align: center; margin-bottom: 64px; }

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 32px; left: 10%; right: 10%; height: 1px;
  background: var(--line);
  z-index: 0;
}
.proc-step {
  position: relative; z-index: 1;
  text-align: center; padding: 0 16px;
}
.proc-node {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 22px; font-weight: 400; font-style: italic;
  color: var(--gold);
  box-shadow: 0 0 0 6px var(--bg-elev);
}
.proc-step-title {
  font-family: var(--f-display);
  font-size: 19px; font-weight: 500;
  color: var(--ink); margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.proc-step-body {
  font-size: 14px; line-height: 1.7; color: var(--ink-dim);
  max-width: 32ch; margin: 0 auto;
}

@media (max-width: 1024px) { .process-steps { grid-template-columns: 1fr 1fr; } .process-steps::before { display: none; } .proc-step { padding: 24px 0; } }
@media (max-width: 640px) { .process-steps { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  FAQ (new — AI-optimized)                                                 */
/* ════════════════════════════════════════════════════════════════════════ */
#faq { background: var(--bg); border-top: 1px solid var(--line); }

.faq-grid {
  display: grid; grid-template-columns: 0.8fr 1.4fr;
  gap: 80px; align-items: start;
}
.faq-l { position: sticky; top: 110px; }

.faq-list { display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  background: transparent; border: none; width: 100%;
  text-align: left;
  transition: color 0.2s var(--ease);
  font-family: var(--f-display);
  font-size: 19px; font-weight: 500;
  color: var(--ink); letter-spacing: -0.015em;
}
.faq-q:hover { color: var(--gold); }
.faq-q-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-dim);
  transition: all 0.25s var(--ease);
}
.faq-item.open .faq-q-toggle { background: var(--gold); color: #0A0F1F; border-color: var(--gold); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0 0 0 0;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 40px 28px 0; }
.faq-a p { font-size: 15px; line-height: 1.75; color: var(--ink-dim); margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-l { position: static; }
}

/* ════════════════════════════════════════════════════════════════════════ */
/*  CONTACT                                                                  */
/* ════════════════════════════════════════════════════════════════════════ */
#contact {
  background: var(--bg-inset);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold-pale), transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: start;
  position: relative; z-index: 1;
}

.contact-heading {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400; line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink); margin-bottom: 40px;
}
.contact-heading em { font-style: italic; color: var(--gold); }

.contact-details { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.contact-item {
  display: flex; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.contact-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; stroke-width: 1.5; }
.contact-label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.contact-value { font-size: 15px; color: var(--ink); line-height: 1.5; }
.contact-value a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.contact-value a:hover { color: var(--gold); }

.contact-form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px;
  box-shadow: var(--shadow);
}
.cf-title {
  font-family: var(--f-display);
  font-size: 26px; font-weight: 500;
  color: var(--ink); margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.cf-group input, .cf-group select, .cf-group textarea {
  font-family: var(--f-body);
  font-size: 14px; color: var(--ink);
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: all 0.2s var(--ease);
  width: 100%;
}
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-pale);
}
.cf-group textarea { min-height: 120px; resize: vertical; font-family: var(--f-body); }

.cf-submit {
  margin-top: 12px;
  width: 100%;
  padding: 16px 24px;
  background: var(--gold); color: #0A0F1F;
  font-family: var(--f-body); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  border: none; border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.cf-submit:hover { background: var(--gold-l); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(212, 162, 76, 0.3); }

.cf-note {
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 11px; color: var(--ink-faint); line-height: 1.6;
}

@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; } .contact-form { padding: 28px 24px; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  FOOTER                                                                   */
/* ════════════════════════════════════════════════════════════════════════ */
footer {
  background: var(--bg-inset);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.footer-brand {
  display: block;
  margin-bottom: 20px;
}
.footer-brand em { font-style: italic; color: var(--gold); }
.footer-brand-img {
  display: block;
  height: auto;
  max-width: 200px;
  width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}
@media (max-width: 768px) {
  .footer-brand-img { max-width: 160px; }
}
.footer-desc {
  font-size: 14px; line-height: 1.7;
  color: var(--ink-dim); max-width: 32ch;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-dim); text-decoration: none;
  transition: all 0.2s var(--ease);
}
.footer-socials a:hover { color: var(--gold); border-color: var(--gold); }
.footer-socials svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.footer-col a {
  display: block;
  font-size: 14px; font-weight: 400;
  color: var(--ink-dim); text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--gold); }

.footer-newsletter p { font-size: 13px; color: var(--ink-dim); margin-bottom: 16px; }
.footer-newsletter form {
  display: flex; gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 4px;
}
.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none; outline: none;
  color: var(--ink);
  font-family: var(--f-body); font-size: 13px;
  padding: 8px 10px;
}
.footer-newsletter input::placeholder { color: var(--ink-faint); }
.footer-newsletter button {
  background: var(--gold); color: #0A0F1F;
  border: none; border-radius: 3px;
  padding: 8px 14px;
  font-family: var(--f-body); font-size: 12px; font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: var(--gold-l); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.footer-bottom a {
  color: var(--ink-faint); text-decoration: none; margin-left: 16px;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--gold); }
.footer-legal-links { display: flex; gap: 0; }

@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (max-width: 640px)  { .footer-top { grid-template-columns: 1fr; gap: 40px; } .footer-bottom { flex-direction: column; align-items: flex-start; } .footer-bottom a { margin-left: 0; margin-right: 16px; } }

/* ════════════════════════════════════════════════════════════════════════ */
/*  BACK TO TOP                                                              */
/* ════════════════════════════════════════════════════════════════════════ */
#btt {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 44px; height: 44px;
  background: var(--gold); color: #0A0F1F;
  border: none; border-radius: 50%;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(212, 162, 76, 0.3);
}
#btt.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#btt:hover { background: var(--gold-l); transform: translateY(-4px); }

/* ════════════════════════════════════════════════════════════════════════ */
/*  REVEAL ANIMATIONS                                                        */
/* ════════════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ════════════════════════════════════════════════════════════════════════ */
/*  COMMAND PALETTE (Cmd+K)                                                  */
/* ════════════════════════════════════════════════════════════════════════ */
#cmdk-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
  animation: fadeIn 0.2s var(--ease);
}
#cmdk-backdrop.open { display: flex; }
.cmdk {
  width: min(92vw, 640px);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cmdk-input {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cmdk-input svg { width: 18px; height: 18px; color: var(--ink-faint); }
.cmdk-input input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--ink);
  font-family: var(--f-body); font-size: 15px;
}
.cmdk-input input::placeholder { color: var(--ink-faint); }
.cmdk-input .esc {
  font-family: var(--f-mono); font-size: 10px;
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink-faint);
}
.cmdk-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.cmdk-group { padding: 8px 12px 4px; }
.cmdk-group-label {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.cmdk-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  transition: background 0.15s;
  cursor: pointer;
}
.cmdk-item:hover, .cmdk-item.active { background: var(--bg-inset); color: var(--gold); }
.cmdk-item-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  font-family: var(--f-mono); font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════════
   SUPPLEMENTAL UTILITY & SECTION STYLES
═══════════════════════════════════════════════════════════════ */

/* Accessibility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Eyebrow label used across sections */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  padding: 6px 0;
  margin-bottom: 18px;
}
.tag::before {
  content: ""; width: 24px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* Generic intro paragraph after a display heading */
.section-intro {
  font-family: var(--f-body);
  font-size: 17px; line-height: 1.65;
  color: var(--ink-dim);
  max-width: 62ch;
}

/* Right column container (used where grids don't need specific name) */
.exp-r { display: block; }

/* Contact dot (bullet) */
.contact-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 8px; height: 8px;
  color: var(--gold);
  font-size: 10px;
  margin-top: 8px;
  flex-shrink: 0;
}

/* Section-header variants (2-column: heading + description on the right) */
.reach-header, .team-header, .jur-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.reach-header-r, .team-header-r, .jur-header-r {
  font-size: 15px; line-height: 1.75;
  color: var(--ink-dim);
  max-width: 50ch;
}
@media (max-width: 900px) {
  .reach-header, .team-header, .jur-header {
    grid-template-columns: 1fr; gap: 20px; align-items: start;
  }
}

/* Intelligence header (centered, single column) */
.intel-header {
  max-width: 820px;
  margin-bottom: 56px;
}

/* Process node number */
.proc-node-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
}

/* Team-card tag gold variant */
.tc-tag.gold {
  background: var(--gold);
  color: #0A0F1F;
  border-color: var(--gold);
  font-weight: 600;
}

/* Command palette — overlay + panel layer */
.cmdk-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 15, 31, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 15vh 20px 20px;
}
.cmdk-overlay.open { display: flex; animation: fadeIn 0.18s var(--ease); }
.cmdk-panel {
  width: 100%; max-width: 640px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}
.cmdk-search {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cmdk-search-icon {
  color: var(--ink-faint);
  font-size: 18px; line-height: 1;
}
.cmdk-search input {
  flex: 1;
  background: transparent; border: none; outline: none;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink);
}
.cmdk-search input::placeholder { color: var(--ink-faint); }
.cmdk-esc {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.cmdk-results { max-height: 50vh; overflow-y: auto; padding: 8px; }
.cmdk-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.12s ease;
}
.cmdk-item:hover, .cmdk-item.active {
  background: var(--bg-inset, rgba(255,255,255,0.04));
  color: var(--gold);
}
.cmdk-item-label { flex: 1; }
.cmdk-item-hint {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.cmdk-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
}
.cmdk-footer {
  display: flex; gap: 18px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.cmdk-footer kbd {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-right: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-dim);
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Fallback variable for bg-inset if not defined in theme block */
:root { --bg-inset: rgba(255,255,255,0.035); }
html[data-theme="light"] { --bg-inset: rgba(10,15,31,0.04); }

/* ═══ Sub-page hero (multi-page build) ═══ */
.page-hero { padding: 180px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero h1.display { margin-top: 18px; }
.page-hero .section-intro { margin-top: 22px; max-width: 72ch; }
.breadcrumbs { font-family: var(--mono, 'JetBrains Mono', monospace); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: .65; display:flex; gap:10px; flex-wrap:wrap; }
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.cta-band { padding: 96px 0; }
.cta-band .jur-cta { margin-top: 0; }
@media (max-width: 768px){ .page-hero { padding: 140px 0 56px; } }
