/* ==========================================================================
   Covalen — design system v4 (brand palette + dual theme)
   Brand: #b6ddd6 (pale teal accent) / #094360 (deep blue) /
          #edefe6 (bone) / #000000 (black)
   Dark theme is default; html.light flips the content sections while the
   hero, top chrome, and footer stay dark (they host the WebGL scene and
   anchor the brand). Toggle in the header, persisted in localStorage.

   Progressive enhancement contract (unchanged from v3):
   - html.js gates every "hidden until animated" state.
   - html.rv marks a revisit (preloader shows on first visit only).
   - html.loaded starts entrance choreography.
   - prefers-reduced-motion kills all motion incl. the WebGL scene.
   ========================================================================== */

:root {
  /* brand constants */
  --brand-light: #b6ddd6;
  --brand-blue: #094360;
  --brand-cream: #edefe6;
  --brand-black: #000000;

  /* always-dark chrome (hero, topbar, footer, drawer, preloader) */
  --dark-text: #edefe6;
  --dark-text-dim: rgba(237, 239, 230, 0.68);
  --dark-text-faint: rgba(237, 239, 230, 0.42);
  --dark-line: rgba(237, 239, 230, 0.12);

  /* theme tokens — DARK defaults */
  --bg: #021019;
  --bg-2: #04202f;
  --bg-3: #0a3a52;
  --bg-4: #000000;
  --text: #edefe6;
  --text-dim: rgba(237, 239, 230, 0.68);
  --text-faint: rgba(237, 239, 230, 0.42);
  --accent: #b6ddd6;
  --accent-2: #d7ece6;
  --accent-soft-bg: rgba(182, 221, 214, 0.08);
  --accent-border: rgba(182, 221, 214, 0.26);
  --spotlight: rgba(182, 221, 214, 0.1);
  --line: rgba(237, 239, 230, 0.1);
  --line-soft: rgba(237, 239, 230, 0.07);
  --card-bg: rgba(255, 255, 255, 0.04);
  --input-bg: rgba(255, 255, 255, 0.05);
  --ring: rgba(182, 221, 214, 0.16);
  --ti-stroke: rgba(237, 239, 230, 0.28);
  --sel-bg: #b6ddd6;
  --sel-tx: #021019;
  --btn-grad: linear-gradient(135deg, #cdeae3 0%, #a5d2c9 100%);
  --btn-tx: #032230;
  --btn-glow: rgba(182, 221, 214, 0.4);
  --logo-a: #b6ddd6;
  --logo-b: #edefe6;
  --scroll-thumb: #0a3a52;

  /* light-surface constants (quote card, cream sections in dark mode) */
  --l-ink: #0a2231;
  --l-navy: #094360;
  --l-muted: #4e646e;
  --l-line: #d0d5c3;

  --star: #b6ddd6;

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* shape + motion */
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --grain: 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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* LIGHT theme overrides */
html.light {
  --bg: #edefe6;
  --bg-2: #e3e7d8;
  --bg-3: #f9faf4;
  --text: #0a2231;
  --text-dim: rgba(10, 34, 49, 0.72);
  --text-faint: rgba(10, 34, 49, 0.5);
  --accent: #094360;
  --accent-2: #0d5a80;
  --accent-soft-bg: rgba(9, 67, 96, 0.07);
  --accent-border: rgba(9, 67, 96, 0.22);
  --spotlight: rgba(9, 67, 96, 0.06);
  --line: rgba(9, 67, 96, 0.16);
  --line-soft: rgba(9, 67, 96, 0.1);
  --card-bg: #fbfcf7;
  --input-bg: #ffffff;
  --ring: rgba(9, 67, 96, 0.14);
  --ti-stroke: rgba(9, 67, 96, 0.3);
  --sel-bg: #094360;
  --sel-tx: #edefe6;
  --btn-grad: linear-gradient(135deg, #0b4e70 0%, #094360 100%);
  --btn-tx: #edefe6;
  --btn-glow: rgba(9, 67, 96, 0.35);
  --logo-a: #094360;
  --logo-b: rgba(9, 67, 96, 0.45);
  --scroll-thumb: #b6ddd6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--scroll-thumb) var(--bg);
}
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 8px; border: 3px solid var(--bg); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  pointer-events: none;
  z-index: 2000;
}

/* entrance fade — JS pages only */
.js body { opacity: 0; }
.js.loaded body { opacity: 1; transition: opacity 0.5s ease 0.05s; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--sel-bg); color: var(--sel-tx); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Accessibility -------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-blue);
  color: var(--brand-cream);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 3000;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Preloader -------------------------------------------------------------- */
.preloader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: var(--bg);
  place-items: center;
}
.js:not(.rv) .preloader { display: grid; }
.js.loaded .preloader {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease 0.15s, visibility 0s linear 0.9s;
}
.preloader .pl-inner { text-align: center; }
.preloader .pl-mark { width: 92px; height: 64px; margin: 0 auto 22px; overflow: visible; }
.preloader .pl-mark circle {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  animation: pl-draw 1.1s var(--ease-out) forwards;
}
.preloader .pl-mark .pl-a { stroke: var(--accent); }
.preloader .pl-mark .pl-b { stroke: var(--text); animation-delay: 0.15s; }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
.preloader .pl-word {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6em;
  text-indent: 0.6em;
  color: var(--text-faint);
  animation: pl-space 1.4s var(--ease-out) forwards;
}
@keyframes pl-space { from { letter-spacing: 0.2em; opacity: 0; } to { letter-spacing: 0.6em; opacity: 1; } }

/* Custom cursor ------------------------------------------------------------ */
.cursor-dot, .cursor-ring {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 2600;
}
.has-cursor .cursor-dot, .has-cursor .cursor-ring { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, opacity 0.3s;
}
.cursor-ring.is-link { width: 56px; height: 56px; border-color: var(--brand-light); }
.cursor-dot.is-hidden, .cursor-ring.is-hidden { opacity: 0; }

/* Scroll progress -------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand-light), var(--brand-blue));
  z-index: 2400;
}

/* Demo banner ----------------------------------------------------------- */
.demo-banner {
  position: relative;
  z-index: 10;
  background: var(--brand-black);
  color: rgba(182, 221, 214, 0.65);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(237, 239, 230, 0.08);
}
.demo-banner::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
  margin-right: 8px;
  vertical-align: 1px;
}

/* Top bar --------------------------------------------------------------- */
.topbar {
  background: var(--brand-black);
  color: var(--dark-text-faint);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(237, 239, 230, 0.08);
  position: relative;
  z-index: 10;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar .phones { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar .phones a { transition: color 0.2s; }
.topbar .phones a:hover { color: var(--dark-text); }
.topbar .claim-link {
  color: var(--brand-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar .claim-link:hover { color: var(--dark-text); }

/* Header ---------------------------------------------------------------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 16, 25, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
header.site.scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(2, 16, 25, 0.85);
}
html.light header.site { background: rgba(237, 239, 230, 0.72); }
html.light header.site.scrolled { background: rgba(237, 239, 230, 0.92); }
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-shrink: 0;
}
.logo .mark { width: 38px; height: 26px; }
.logo .mark circle { transition: transform 0.45s var(--ease); transform-origin: center; }
.logo .mark .bond-a { stroke: var(--logo-a); }
.logo .mark .bond-b { stroke: var(--logo-b); }
.logo:hover .mark .bond-a { transform: translateX(2px); }
.logo:hover .mark .bond-b { transform: translateX(-2px); }

nav.primary { display: flex; align-items: center; gap: 30px; }
nav.primary > a {
  position: relative;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 4px 0;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}
nav.primary > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: right 0.3s var(--ease);
}
nav.primary > a:hover { color: var(--text); }
nav.primary > a:hover::after,
nav.primary > a.active::after { right: 0; }
nav.primary > a.active { color: var(--accent); }
html.light nav.primary > a.active { color: var(--brand-blue); font-weight: 600; }
nav.primary .btn { display: none; } /* mobile drawer CTA */

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent-border); background: var(--accent-soft-bg); transform: rotate(15deg); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .ic-moon { display: none; }
html.light .theme-toggle .ic-sun { display: none; }
html.light .theme-toggle .ic-moon { display: block; }

/* Language toggle (links to the /fr/ mirror and back) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.lang-toggle:hover { border-color: var(--accent-border); background: var(--accent-soft-bg); color: var(--accent); }
html.light .lang-toggle:hover { color: var(--brand-blue); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
  will-change: transform;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--btn-grad);
  color: var(--btn-tx);
  box-shadow: 0 10px 26px -10px var(--btn-glow);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px var(--btn-glow);
}
.btn-primary:active { transform: translateY(0); }

/* ghost button for dark surfaces (hero, page-hero) — same in both themes */
.btn-ghost-dark {
  border: 1px solid rgba(237, 239, 230, 0.3);
  color: var(--dark-text);
  background: rgba(237, 239, 230, 0.04);
}
.btn-ghost-dark:hover { background: rgba(237, 239, 230, 0.12); border-color: rgba(237, 239, 230, 0.55); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* Type ------------------------------------------------------------------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  line-height: 1.1;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.h-lg { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 22px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}

/* split-word reveal (JS wraps words of [data-split] into .w > .wi) */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.wi { display: inline-block; transform: translateY(115%); transition: transform 0.85s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.split-in .wi { transform: none; }
.wi.em { font-style: italic; color: var(--accent); }
.page-hero .wi.em { color: var(--brand-light); }

/* Hero (home) — dark in BOTH themes: it hosts the WebGL bond network ------- */
.hero {
  position: relative;
  color: var(--dark-text);
  padding: 90px 0 130px;
  overflow: hidden;
  min-height: min(92vh, 940px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(1000px 600px at 78% 20%, rgba(9, 67, 96, 0.55), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(9, 67, 96, 0.5), transparent 65%),
    #021019;
}
#bond-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
/* aurora fallback + extra depth */
.aurora { position: absolute; inset: -80px; filter: blur(70px); z-index: 0; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; opacity: 0.5; will-change: transform; }
.aurora .a1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(9, 67, 96, 0.9), transparent 65%);
  top: -140px; right: -60px;
  animation: drift-a 16s ease-in-out infinite alternate;
}
.aurora .a2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(182, 221, 214, 0.35), transparent 65%);
  bottom: -160px; left: 6%;
  animation: drift-b 20s ease-in-out infinite alternate;
}
.aurora .a3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(9, 67, 96, 0.85), transparent 65%);
  top: 30%; left: 34%;
  animation: drift-c 24s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-120px, 90px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(140px, -70px) scale(0.9); } }
@keyframes drift-c { to { transform: translate(-90px, -60px) scale(1.2); } }

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}
.hero .eyebrow { color: var(--brand-light); }
.hero .eyebrow::before { background: var(--brand-light); }

.hero h1 {
  color: var(--dark-text);
  font-size: clamp(2.9rem, 6.6vw, 5.4rem);
  line-height: 1.02;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
/* staggered line reveal — held until html.loaded */
.hl { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.hl-inner { display: inline-block; }
.js .hl-inner { transform: translateY(115%); }
.js.loaded .hl-inner { animation: rise 1.1s var(--ease-out) forwards; }
.js.loaded .hl:nth-child(2) .hl-inner { animation-delay: 0.12s; }
.js.loaded .hl:nth-child(3) .hl-inner { animation-delay: 0.24s; }
@keyframes rise { to { transform: none; } }

.rotator {
  display: inline-block;
  font-style: italic;
  color: var(--brand-light);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), filter 0.28s;
}
.rotator.flip { opacity: 0; transform: translateY(0.4em) skewY(4deg); filter: blur(4px); }

.js .fade-up { opacity: 0; transform: translateY(26px); }
.js.loaded .fade-up { animation: fade-rise 1s var(--ease-out) forwards; animation-delay: 0.45s; }
.js.loaded .fade-up.f1 { animation-delay: 0.58s; }
.js.loaded .fade-up.f2 { animation-delay: 0.72s; }
.js.loaded .fade-up.f3 { animation-delay: 0.88s; }
@keyframes fade-rise { to { opacity: 1; transform: none; } }

.hero .lede {
  font-size: 1.14rem;
  color: var(--dark-text-dim);
  max-width: 50ch;
  margin-bottom: 38px;
}
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .trust-line {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--dark-text-faint);
}
.hero .trust-line .stars { color: var(--star); letter-spacing: 2px; font-size: 0.9rem; }

/* hero buttons sit on dark in both themes — pin the pale-accent style */
.hero .btn-primary,
html.light .hero .btn-primary {
  background: linear-gradient(135deg, #cdeae3 0%, #a5d2c9 100%);
  color: #032230;
  box-shadow: 0 10px 26px -10px rgba(182, 221, 214, 0.4);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(237, 239, 230, 0.25);
  border-radius: 14px;
  z-index: 3;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--brand-light);
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
}

/* Hero quote card — light bone card in both themes: the focal point --------- */
.tilt-wrap { perspective: 1100px; }
.quote-card {
  position: relative;
  background: #f7f8f1;
  color: var(--l-ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(237, 239, 230, 0.12),
    0 0 80px -20px rgba(182, 221, 214, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  will-change: transform;
}
.quote-card .qc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.quote-card .qc-head h3 { font-size: 1.25rem; color: var(--l-navy); }
.qc-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(9, 67, 96, 0.08);
  border: 1px solid rgba(9, 67, 96, 0.2);
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.quote-card .qc-sub { color: var(--l-muted); font-size: 0.9rem; margin-bottom: 18px; }

/* CTA inside the light card is always deep blue, both themes */
.quote-card .btn-primary,
html.light .quote-card .btn-primary {
  background: linear-gradient(135deg, #0b4e70 0%, #094360 100%);
  color: var(--brand-cream);
  box-shadow: 0 10px 26px -10px rgba(9, 67, 96, 0.45);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid #dde1d0;
  background: var(--brand-cream);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--l-navy);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.chip svg { width: 17px; height: 17px; color: var(--brand-blue); }
.chip:hover {
  border-color: var(--brand-blue);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -6px rgba(9, 67, 96, 0.3);
}

.qc-broker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 20px;
  border-top: 1px dashed #d8dcc9;
  font-size: 0.85rem;
  color: var(--l-muted);
}
.qc-broker .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}
.qc-note { text-align: center; font-size: 0.78rem; color: var(--l-muted); margin-top: 12px; }

/* Partner marquee ----------------------------------------------------------- */
.partners {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.partners::before,
.partners::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.partners::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.partners::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.partners:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee-group .p-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.marquee-group .p-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color 0.25s;
}
.marquee-group .p-name:hover { color: var(--text); }
.marquee-group .p-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-border); flex-shrink: 0; }

/* Kinetic type ticker --------------------------------------------------------- */
.ticker {
  overflow: hidden;
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.ticker .marquee-track { animation-duration: 26s; animation-direction: reverse; }
.ticker .marquee-group { gap: 56px; padding-right: 56px; }
.ticker .ti {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
}
.ticker .ti.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--ti-stroke);
  font-style: italic;
}
.ticker .ti.minted { color: var(--accent-2); font-style: italic; }
html.light .ticker .ti.minted { color: var(--brand-blue); }
.ticker .t-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-border); align-self: center; flex-shrink: 0; }
.ticker.sm { padding: 40px 0; }
.ticker.sm .ti { font-size: clamp(2rem, 4.5vw, 3.4rem); }

/* Sections ---------------------------------------------------------------- */
.section { padding: 116px 0; position: relative; }
.section.raised { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 18px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Cards — glass on dark, paper on light; cursor spotlight on both ------------ */
.card, .testimonial, .office-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.35s var(--ease);
}
html.light .card, html.light .testimonial, html.light .office-card {
  box-shadow: 0 2px 10px -4px rgba(9, 67, 96, 0.08);
}
html.light .card:hover, html.light .testimonial:hover, html.light .office-card:hover {
  box-shadow: 0 24px 44px -20px rgba(9, 67, 96, 0.25);
}
.card::after, .testimonial::after, .stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--spotlight), transparent 62%);
  pointer-events: none;
}
.card:hover::after, .testimonial:hover::after, .stack-card:hover::after { opacity: 1; }

.card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
}
.card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.35s var(--ease);
}
.card:hover .card-icon { transform: translateY(-3px) rotate(-4deg) scale(1.06); }
.card .card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card > p { color: var(--text-dim); font-size: 0.95rem; }
.card .card-link {
  margin-top: auto;
  padding-top: 22px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
html.light .card .card-link { color: var(--brand-blue); }
.card .card-link .arrow { transition: transform 0.25s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* check list */
.check-list { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.92rem;
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6ddd6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat,
    rgba(182, 221, 214, 0.1);
}
html.light .check-list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23094360' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat,
    rgba(9, 67, 96, 0.1);
}

/* Bone editorial break — inverts per theme -----------------------------------
   dark theme: bone panel w/ blue text · light theme: deep-blue panel w/ bone text */
.section.cream {
  background: var(--brand-cream);
  color: var(--l-ink);
}
.section.cream h2, .section.cream h3 { color: var(--l-navy); }
.section.cream h2 em, .section.cream h3 em, .section.cream .wi.em { color: var(--brand-blue); }
.section.cream .eyebrow { color: var(--brand-blue); }
.section.cream .eyebrow::before { background: var(--brand-blue); }
.section.cream .prose p { color: var(--l-muted); }
.section.cream .prose p strong { color: var(--l-navy); }
.section.cream .commitments {
  background: #fdfdf9;
  border: 1px solid var(--l-line);
  box-shadow: 0 30px 60px -30px rgba(9, 67, 96, 0.3);
}
.section.cream .check-list li { color: var(--l-ink); }
.section.cream .check-list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23094360' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat,
    rgba(9, 67, 96, 0.12);
}
html.light .section.cream { background: var(--brand-blue); color: var(--brand-cream); }
html.light .section.cream h2, html.light .section.cream h3 { color: var(--brand-cream); }
html.light .section.cream h2 em, html.light .section.cream h3 em, html.light .section.cream .wi.em { color: var(--brand-light); }
html.light .section.cream .eyebrow { color: var(--brand-light); }
html.light .section.cream .eyebrow::before { background: var(--brand-light); }
html.light .section.cream .prose p { color: rgba(237, 239, 230, 0.75); }
html.light .section.cream .prose p strong { color: var(--brand-cream); }
html.light .section.cream .commitments {
  background: rgba(237, 239, 230, 0.06);
  border: 1px solid rgba(237, 239, 230, 0.15);
  box-shadow: none;
}
html.light .section.cream .check-list li { color: var(--brand-cream); }
html.light .section.cream .check-list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6ddd6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat,
    rgba(182, 221, 214, 0.12);
}

/* Split / prose ---------------------------------------------------------------*/
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.prose p { color: var(--text-dim); margin-bottom: 18px; font-size: 1.02rem; }
.prose p strong { color: var(--text); }
.commitments {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
}
.commitments h3 { font-size: 1.4rem; margin-bottom: 22px; }

/* Sticky stack (how it works) — deep blue cards in BOTH themes ----------------*/
.stack { display: flex; flex-direction: column; gap: 26px; }
.stack-card {
  position: sticky;
  top: calc(120px + var(--i, 0) * 30px);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  background: linear-gradient(160deg, #0a4a6b, #08344d);
  border: 1px solid rgba(182, 221, 214, 0.18);
  border-radius: var(--radius-lg);
  padding: 54px 56px 58px;
  overflow: hidden;
  box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, 0.5);
}
.stack-card .sc-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(182, 221, 214, 0.5);
}
.stack-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; color: var(--brand-cream); }
.stack-card p { color: rgba(237, 239, 230, 0.72); max-width: 56ch; }
.stack-card .sc-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-light);
}

/* Testimonials ---------------------------------------------------------------*/
.testimonial {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial:hover { transform: translateY(-5px); border-color: var(--accent-border); }
.testimonial .t-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
}
.testimonial .t-quote::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.testimonial .t-quote::after { content: "\201D"; color: var(--accent); margin-left: 2px; }
.testimonial .t-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .t-who .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), #062c40);
  border: 1px solid rgba(182, 221, 214, 0.35);
  color: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}
.testimonial .t-who strong { display: block; font-size: 0.92rem; color: var(--text); line-height: 1.3; }
.testimonial .t-who span { font-size: 0.8rem; color: var(--text-faint); }
.testimonial .stars { color: var(--star); font-size: 0.85rem; letter-spacing: 2px; }
html.light .testimonial .stars { color: var(--brand-blue); }

/* Stats band — deep blue in BOTH themes ------------------------------------------*/
.stats-band {
  position: relative;
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(182, 221, 214, 0.1), transparent 60%),
    linear-gradient(160deg, #073a54, #052b3f);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--dark-text);
  padding: 96px 0;
  overflow: hidden;
}
.stats-band .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stats-band .grid-4 > div { position: relative; }
.stats-band .grid-4 > div:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(237, 239, 230, 0.1);
}
.stats-band .num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  color: var(--brand-light);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stats-band .num em { font-style: italic; }
.stats-band .label {
  color: var(--dark-text-faint);
  font-size: 0.88rem;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* Pull quote (about) -----------------------------------------------------------*/
.pull-quote {
  max-width: 26ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--text);
}
.pull-quote em { color: var(--accent); }
.pull-quote::before { content: "\201C"; color: var(--accent); }
.pull-quote::after { content: "\201D"; color: var(--accent); }
.pull-by {
  text-align: center;
  margin-top: 26px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Index list (business sectors) --------------------------------------------------*/
.index-list { border-top: 1px solid var(--line); }
.ix-row {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 30px 10px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: padding-left 0.35s var(--ease), color 0.3s;
  color: var(--text-dim);
}
.ix-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 100%;
  background: var(--spotlight);
  transition: top 0.35s var(--ease);
  pointer-events: none;
}
.ix-row:hover::before { top: 0; }
.ix-row:hover { padding-left: 26px; color: var(--text); }
.ix-row .ix-no {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  min-width: 2.4em;
}
.ix-row .ix-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.15;
}
.ix-row .ix-desc { font-size: 0.88rem; color: var(--text-faint); margin-left: auto; max-width: 30ch; text-align: right; }
.ix-row .arrow { color: var(--accent); font-size: 1.4rem; transition: transform 0.3s var(--ease); }
.ix-row:hover .arrow { transform: translateX(8px); }

/* FAQ -----------------------------------------------------------------------*/
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card-bg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.faq-item[open] { border-color: var(--accent-border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.94rem; }

/* CTA panel — inverts per theme: bone on dark, deep blue on light ----------------*/
.cta-wrap { padding: 40px 0 120px; }
.cta-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-cream);
  color: var(--l-ink);
  padding: 88px 64px;
  text-align: center;
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.7);
}
.cta-panel .aurora { opacity: 0.35; filter: blur(80px); }
.cta-panel > *:not(.aurora) { position: relative; z-index: 3; }
.cta-panel h2 {
  color: var(--l-navy);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 16px;
}
.cta-panel h2 em, .cta-panel .wi.em { color: var(--brand-blue); }
.cta-panel p {
  color: var(--l-muted);
  margin-bottom: 36px;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-panel .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-panel .btn-primary {
  background: linear-gradient(135deg, #0b4e70 0%, #094360 100%);
  color: var(--brand-cream);
  box-shadow: 0 12px 28px -10px rgba(9, 67, 96, 0.5);
}
.cta-panel .btn-ghost-dark {
  border-color: rgba(9, 67, 96, 0.35);
  color: var(--l-navy);
  background: transparent;
}
.cta-panel .btn-ghost-dark:hover { background: rgba(9, 67, 96, 0.07); border-color: rgba(9, 67, 96, 0.6); }

html.light .cta-panel { background: var(--brand-blue); color: var(--brand-cream); }
html.light .cta-panel h2 { color: var(--brand-cream); }
html.light .cta-panel h2 em, html.light .cta-panel .wi.em { color: var(--brand-light); }
html.light .cta-panel p { color: rgba(237, 239, 230, 0.75); }
html.light .cta-panel .btn-primary {
  background: linear-gradient(135deg, #cdeae3 0%, #a5d2c9 100%);
  color: #032230;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35);
}
html.light .cta-panel .btn-ghost-dark {
  border-color: rgba(237, 239, 230, 0.35);
  color: var(--brand-cream);
}
html.light .cta-panel .btn-ghost-dark:hover { background: rgba(237, 239, 230, 0.1); border-color: rgba(237, 239, 230, 0.6); }

/* Footer — black in BOTH themes ---------------------------------------------------*/
footer.site {
  background: var(--brand-black);
  color: var(--dark-text-faint);
  padding: 64px 0 28px;
  font-size: 0.92rem;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.f-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4rem, 13vw, 11rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 239, 230, 0.1);
  user-select: none;
  margin-bottom: 64px;
  white-space: nowrap;
}
footer.site .f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 52px;
}
footer.site .f-brand .logo { color: var(--dark-text); margin-bottom: 16px; }
footer.site .f-brand p { max-width: 34ch; font-size: 0.88rem; }
footer.site h4 {
  color: var(--dark-text);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
footer.site ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer.site a { transition: color 0.2s; }
footer.site a:hover { color: var(--brand-light); }
footer.site .f-bottom {
  border-top: 1px solid rgba(237, 239, 230, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(237, 239, 230, 0.3);
}

/* Page hero (subpages) — dark in BOTH themes ---------------------------------------*/
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 460px at 85% -10%, rgba(9, 67, 96, 0.65), transparent 60%),
    #021019;
  color: var(--dark-text);
  padding: 110px 0 118px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  right: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(182, 221, 214, 0.16), transparent 65%);
  filter: blur(60px);
  animation: drift-a 16s ease-in-out infinite alternate;
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 3; max-width: 960px; }
.page-hero .breadcrumb {
  font-size: 0.82rem;
  color: var(--dark-text-faint);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero .breadcrumb a:hover { color: var(--dark-text); }
.page-hero h1 {
  color: var(--dark-text);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.page-hero h1 em { color: var(--brand-light); }
.page-hero p { color: var(--dark-text-dim); max-width: 58ch; font-size: 1.1rem; }

/* Contact ---------------------------------------------------------------------------*/
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 40px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
html.light .form-card { box-shadow: 0 24px 50px -30px rgba(9, 67, 96, 0.25); }
.form-card h2 { font-size: 1.8rem; margin-bottom: 8px; }
.form-card .form-sub { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 30px; }

form.contact-form { display: flex; flex-direction: column; gap: 20px; }
form.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
form.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--input-bg);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
form.contact-form select option { background: var(--bg-3); color: var(--text); }
form.contact-form input::placeholder,
form.contact-form textarea::placeholder { color: var(--text-faint); }
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
}
form.contact-form .form-note { font-size: 0.78rem; color: var(--text-faint); text-align: center; }
form.contact-form.sent button[type="submit"] {
  background: var(--accent-soft-bg);
  color: var(--accent);
  border: 1.5px solid var(--accent-border);
  box-shadow: none;
  pointer-events: none;
}

.office-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  margin-bottom: 16px;
}
.office-card:hover { transform: translateY(-3px); border-color: var(--accent-border); }
.office-card .card-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-soft-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.office-card .card-icon svg { width: 21px; height: 21px; }
.office-card h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--text); margin-bottom: 4px; }
.office-card p { color: var(--text-dim); font-size: 0.9rem; }
.office-card a { color: var(--accent); font-weight: 600; }
html.light .office-card a { color: var(--brand-blue); }
.office-card a:hover { text-decoration: underline; }

/* Values (about) ------------------------------------------------------------------*/
.value-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

/* Scroll-reveal ---------------------------------------------------------------------*/
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.1s; }
.js .reveal.d2 { transition-delay: 0.2s; }
.js .reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js body { opacity: 1; transition: none; }
  .preloader { display: none !important; }
  .js .reveal, .js .fade-up, .js .hl-inner, .wi { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  #bond-canvas { display: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Responsive ---------------------------------------------------------------------------*/
@media (max-width: 1024px) {
  .hero .container { gap: 48px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stack-card { grid-template-columns: 1fr; gap: 18px; padding: 40px 36px 44px; }
  .stack-card .sc-num { font-size: 3.4rem; }
  .ix-row .ix-desc { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .hero { padding: 72px 0 96px; min-height: 0; }
  .hero .container { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .split, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .split { gap: 44px; }
  .stats-band .grid-4 { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .stats-band .grid-4 > div:not(:first-child)::before { display: none; }
  footer.site .f-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 60px 32px; }
  .topbar .phones span.hide-sm { display: none; }

  /* mobile nav drawer — dark in both themes */
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  nav.primary {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 96px 34px 34px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 90;
    box-shadow: -24px 0 64px rgba(0, 0, 0, 0.5);
  }
  body.nav-open nav.primary { transform: none; }
  nav.primary > a {
    color: var(--dark-text-dim);
    font-size: 1.2rem;
    font-family: var(--font-display);
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(237, 239, 230, 0.1);
  }
  nav.primary > a.active { color: var(--brand-light); }
  nav.primary > a::after { display: none; }
  nav.primary .btn { display: inline-flex; margin-top: 22px; }
  body.nav-open { overflow: hidden; }
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 80;
  }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stats-band .grid-4 { grid-template-columns: 1fr 1fr; }
  footer.site .f-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 28px 22px; }
  form.contact-form .field-row { grid-template-columns: 1fr; }
  .hero .actions .btn { width: 100%; }
  .cta-panel .actions .btn { width: 100%; }
  .stack-card { position: static; }
}
