/* ==========================================================================
   Clean USA Energy — Website Design System
   Aligned to Brand Guidelines v1.0 (June 2026)
   Color: CUE Indigo #262F8F is the signature. Neutrals + indigo tints support it.
   "Resist adding new hues — the restraint is the brand."  (indigo-only system)
   Type: FreeSans, metric-compatible fallbacks (Helvetica / Arial / Arimo)
   Usage balance: 60% neutral/white · 30% indigo · 10% deep navy
   ========================================================================== */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* Brand signature */
  --indigo:      #262f8f;   /* CUE Indigo — RGB 38·47·143 */
  --indigo-700:  #1e2670;   /* hover / depth */
  --navy:        #141a33;   /* Deep navy — the 10% accent */

  /* Indigo tints (charts, fills, hovers, on-dark accents) */
  --indigo-050:  #eef0fb;
  --indigo-100:  #dfe2f6;
  --tint-200:    #c5cbf0;
  --tint-300:    #aab2ec;   /* light periwinkle accent on dark */
  --periwinkle:  #8c95e0;

  /* Neutrals (exact brand values) */
  --ink:         #13152a;   /* Ink — body text */
  --slate:       #3d4258;   /* Slate — secondary text */
  --muted:       #585f77;   /* Muted */
  --line:        #e3e5ee;   /* Line — borders */
  --surface:     #f6f7fb;   /* Surface — section tint */
  --white:       #ffffff;

  /* Feedback (kept minimal, used only for form validation) */
  --danger:      #b3261e;

  /* Type */
  --font: "Inter", "FreeSans", "Helvetica Neue", Helvetica, Arial, "Arimo", "Liberation Sans", sans-serif;

  /* Rhythm */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(19,21,42,.08), 0 1px 2px rgba(19,21,42,.06);
  --shadow-md: 0 10px 30px rgba(19,21,42,.12);
  --shadow-lg: 0 24px 60px rgba(19,21,42,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- Reset ------------------------------------------------------------ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
h1,h2,h3,h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.28rem; font-weight: 600; }
p  { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 3px; border-radius: 4px; }

/* ---- Layout ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 84px 0; }
.section--tint { background: var(--surface); }
.section--navy { background: var(--navy); color: #d4d8ef; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--indigo); margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--tint-300); }
.lead { font-size: 1.18rem; color: var(--slate); max-width: 68ch; }
.section--navy .lead { color: #c2c7ea; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---- Buttons ---------------------------------------------------------- */
/* On light surfaces, indigo leads. On dark surfaces, use the reverse (white). */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--indigo); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--indigo-700); }
.btn--ghost { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn--ghost:hover { background: var(--indigo); color: #fff; }
.btn--light { background: #fff; color: var(--indigo); box-shadow: var(--shadow-md); }
.btn--light:hover { background: var(--indigo-050); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: #fff; color: var(--indigo); border-color:#fff; }
.btn svg { width: 18px; height: 18px; }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--indigo); font-size: 1rem; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; object-fit: contain; }
.brand__name { letter-spacing: .06em; white-space: nowrap; }
.brand__name small { display:block; font-size:.62rem; font-weight:600; letter-spacing:.18em; color: var(--muted); text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block; padding: 9px 11px; border-radius: 8px; font-weight: 600; font-size: .95rem; white-space: nowrap; color: var(--ink);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav__links a:hover { background: var(--indigo-050); color: var(--indigo); }
.nav__links a[aria-current="page"] { color: var(--indigo); }
.nav__links a[aria-current="page"]::after {
  content:""; display:block; height:3px; border-radius:3px; background: var(--indigo); margin-top:4px;
}
.nav__cta { margin-left: 6px; flex: none; white-space: nowrap; padding: 11px 20px; min-height: 0; font-size: .92rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle svg { width: 28px; height: 28px; color: var(--indigo); }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative; color: #eef0fb; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(140,149,224,.30), transparent 62%),
    linear-gradient(160deg, var(--indigo) 0%, var(--navy) 100%);
}
.hero__inner { padding: 96px 0 100px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--tint-300); }
.hero__kicker { color: var(--tint-300); font-weight:600; letter-spacing:.16em; text-transform:uppercase; font-size:.82rem; margin-bottom:18px; }
.hero p { color: #c8cdec; font-size: 1.2rem; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 30px; backdrop-filter: blur(6px);
}
.hero__card h3 { color:#fff; font-size:1.05rem; }
.figure-big { font-size: clamp(2.6rem,6vw,3.8rem); font-weight: 700; color:#fff; line-height:1; }
.figure-big small { display:block; font-size:.95rem; font-weight:600; color: var(--tint-300); margin-top:8px; letter-spacing:.02em; }
.hero__points { list-style:none; margin:22px 0 0; padding:0; display:grid; gap:12px; }
.hero__points li { display:flex; gap:10px; align-items:flex-start; color:#dfe2f6; font-size:.98rem; }
.hero__points svg { width:20px; height:20px; color: var(--tint-300); flex:none; margin-top:2px; }

/* ---- Stat strip ------------------------------------------------------- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.stats__item { background:#fff; padding: 28px 22px; text-align:center; }
.stats__num { font-size: 2.1rem; font-weight: 700; color: var(--indigo); line-height:1; }
.stats__label { color: var(--slate); font-size:.92rem; margin-top:8px; }

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

.card {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--tint-200); }
.card__icon {
  width: 54px; height: 54px; border-radius: 12px; display:grid; place-items:center;
  background: var(--indigo-050); color: var(--indigo); margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); margin: 0; font-size: .98rem; }
.card__tag { display:inline-block; margin-top:16px; font-size:.78rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color: var(--indigo); }

/* split feature */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
.split__media { border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.media-fill { width:100%; height:100%; display:grid; place-items:center; color:#fff; text-align:center; padding:32px;
  background: linear-gradient(150deg, var(--indigo) 0%, var(--navy) 130%); }

/* feature list */
.flist { list-style:none; margin:18px 0 0; padding:0; display:grid; gap:16px; }
.flist li { display:flex; gap:14px; align-items:flex-start; }
.flist .ic { width:30px;height:30px;border-radius:8px;background:var(--indigo-050);color:var(--indigo);display:grid;place-items:center;flex:none; }
.flist .ic svg{width:18px;height:18px;}
.flist b { display:block; color: var(--ink); }
.flist span { color: var(--slate); font-size:.96rem; }

/* metric cards (financials) */
.metric { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:30px; }
.metric .big { font-size:2.4rem; font-weight:700; color: var(--indigo); line-height:1; }
.metric h3 { margin:14px 0 6px; }
.metric p { color: var(--slate); margin:0; font-size:.96rem; }

/* case study */
.case {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden;
  box-shadow: var(--shadow-sm); display:flex; flex-direction:column; transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case__top { background: linear-gradient(150deg, var(--indigo) 0%, var(--navy) 100%); color:#fff; padding: 26px 28px; }
.case__sector { font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; color: var(--tint-300); font-weight:600; }
.case__top h3 { color:#fff; margin:8px 0 0; font-size:1.18rem; }
.case__body { padding: 24px 28px 28px; display:flex; flex-direction:column; gap:18px; flex:1; }
.case__body > p { color: var(--slate); margin:0; }
.case__stats { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:auto; }
.case__stat { background: var(--surface); border-radius: var(--radius-sm); padding:12px 14px; }
.case__stat b { display:block; color: var(--indigo); font-size:1.02rem; }
.case__stat span { color: var(--muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; }
.case__link { font-weight:600; color: var(--indigo); display:inline-flex; align-items:center; gap:8px; }
.case__link svg { width:16px; height:16px; transition: transform .15s var(--ease); }
.case__link:hover svg { transform: translateX(3px); }

/* ---- CTA band --------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(800px 380px at 85% 0%, rgba(140,149,224,.34), transparent 62%),
    linear-gradient(160deg, var(--indigo) 0%, var(--navy) 100%);
  color:#fff; border-radius: 22px; padding: 56px; text-align:center;
}
.cta-band h2 { color:#fff; }
.cta-band p { color:#c8cdec; max-width: 60ch; margin-inline:auto; }
.cta-band .hero__cta { justify-content:center; }

/* ---- Forms ------------------------------------------------------------ */
.form { display:grid; gap:18px; }
.field { display:grid; gap:7px; }
.field label { font-weight:600; font-size:.92rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font-family:inherit; font-size:1rem; padding:13px 15px; border:1.5px solid var(--line);
  border-radius: var(--radius-sm); background:#fff; color: var(--ink); width:100%; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(38,47,143,.14);
}
.field .help { color: var(--muted); font-size:.84rem; }
.form__row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }

/* contact info list */
.contact-list { list-style:none; margin:0; padding:0; display:grid; gap:22px; }
.contact-list li { display:flex; gap:16px; align-items:flex-start; }
.contact-list .ic { width:46px;height:46px;border-radius:12px;background:var(--indigo-050);color:var(--indigo);display:grid;place-items:center;flex:none; }
.contact-list .ic svg{width:22px;height:22px;}
.contact-list b{display:block; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.contact-list a, .contact-list span { color: var(--ink); font-size:1.08rem; font-weight:600; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--navy); color:#aab2dc; padding: 64px 0 28px; }
.footer__grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__policy { font-size:.82rem; color:#8b93c0; }
.footer__policy a { color:#aab2dc; } .footer__policy a:hover { color:#fff; }
.avatar { width:60px; height:60px; border-radius:50%; background: var(--indigo-050); color: var(--indigo);
  display:grid; place-items:center; font-weight:700; font-size:1.05rem; letter-spacing:.04em; margin-bottom:16px; }
.headshot { width:72px; height:72px; border-radius:50%; object-fit:cover; object-position:50% 12%;
  margin-bottom:16px; display:block; box-shadow:0 0 0 1px var(--line), 0 8px 20px -10px rgba(20,26,51,.45); background:var(--surface); }
.bio-row { display:flex; gap:28px; align-items:flex-start; max-width:820px; margin:0 auto;
  padding:30px 0; border-bottom:1px solid var(--line); }
.bio-row:last-child { border-bottom:0; }
.bio-row__photo { width:116px; height:116px; flex:none; border-radius:16px; object-fit:cover; object-position:50% 12%;
  box-shadow:0 0 0 1px var(--line), 0 14px 30px -16px rgba(20,26,51,.5); background:#fff; }
.bio-row__body h3 { margin:0; }
.bio-row__body .card__tag { display:inline-block; margin:6px 0 12px; }
.bio-row__body p { color:var(--slate); line-height:1.72; margin:0 0 12px; }
.bio-row__body p:last-child { margin-bottom:0; }
@media (max-width:640px){ .bio-row { flex-direction:column; gap:16px; } .bio-row__photo { width:88px; height:88px; } }
.footer__brand .brand { color:#fff; }
.footer__brand .brand__name small { color:#8b93c0; }
.footer__brand p { color:#9aa1cf; max-width: 38ch; margin-top:16px; font-size:.96rem; }
.footer h4 { color:#fff; font-size:.86rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.footer ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.footer a { color:#aab2dc; }
.footer a:hover { color:#fff; }
.footer__bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:48px; padding-top:24px;
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.86rem; color:#8b93c0; }
.made-usa { display:inline-flex; align-items:center; gap:8px; font-weight:600; color:#cdd2ea; }
.made-usa svg{width:22px;height:16px;}
.footer__legal { margin-top: 22px; color:#8b93c0; font-size:.76rem; line-height:1.65; }
.footer__legal b { color:#aab2dc; font-weight:600; }
.fine-print { font-size:.8rem; color: var(--muted); max-width: 74ch; margin: 24px auto 0; text-align:center; line-height:1.6; }

/* ---- Utilities -------------------------------------------------------- */
.mt-sm{margin-top:14px}.mt{margin-top:24px}.mt-lg{margin-top:40px}
.maxw-md{max-width:760px}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 72px 0; }
  /* Heroes set inline "padding: X 0 Y" which zeroes side gutters — restore them on small screens */
  .hero .container, #hero .hero__inner { padding-left: 24px !important; padding-right: 24px !important; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Collapse the 7-item nav to the hamburger before it crowds the bar */
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px; gap: 4px; box-shadow: var(--shadow-md);
  }
  .nav__links.open a { padding: 12px 10px; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .grid--2,.grid--3,.grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .case__stats { grid-template-columns: 1fr 1fr; }
}

/* ======================================================================
   LIVE ASSETS & MOTION SYSTEM
   Craft notes: transform/opacity only · custom easing · reduced-motion safe
   ====================================================================== */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* press feedback on every pressable surface */
.btn:active { transform: scale(0.97); }
.card:active, .case:active, .tech-figure:active { transform: scale(0.992); }

/* ---- Scroll reveal + stagger (only hide when JS is ready & motion ok) -- */
@media (prefers-reduced-motion: no-preference) {
  body.reveal-ready .reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  body.reveal-ready .reveal.in { opacity: 1; transform: none; }
}

/* ---- Hero: living aurora + grain-free ambient drift ------------------- */
.hero::before, .hero::after { content:""; position:absolute; inset:-20% -10%; z-index:0; pointer-events:none; }
.hero::before {
  background:
    radial-gradient(40% 50% at 18% 22%, rgba(140,149,224,.34), transparent 60%),
    radial-gradient(38% 46% at 82% 16%, rgba(85,95,180,.30), transparent 60%),
    radial-gradient(46% 52% at 60% 88%, rgba(38,47,143,.40), transparent 62%);
  filter: blur(8px);
  animation: cue-aurora 18s var(--ease-in-out) infinite alternate;
}
.hero::after {
  background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1.4px);
  background-size: 46px 46px; opacity:.06;
  animation: cue-drift 24s linear infinite;
}
.hero > .container { position: relative; z-index: 1; }

/* cinematic energy-grid canvas — sits above the aurora, below the content */
/* real drone/clouds footage as the hero base — fades in over the gradient, no flash */
.hero-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
  opacity:0; transition: opacity .9s var(--ease-out); }
.hero-video[data-ready] { opacity:1; }
/* energy-grid canvas glows over the footage */
.hero-canvas { position:absolute; inset:0; width:100%; height:100%; z-index:0; display:block; pointer-events:none; opacity:.6; }
/* indigo scrim keeps headline + card legible over bright footage (text sits left) */
.hero > .hero-vignette { position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    linear-gradient(100deg, rgba(18,23,58,.90) 0%, rgba(18,23,58,.68) 34%, rgba(18,23,58,.30) 64%, rgba(18,23,58,.55) 100%),
    radial-gradient(120% 120% at 28% 22%, transparent 28%, rgba(9,12,38,.55) 100%),
    linear-gradient(160deg, rgba(38,47,143,.30), rgba(20,26,51,.20));
}
@keyframes cue-aurora {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
}

/* ---- Live tech figures (animated scene + optional real footage) ------- */
.tech-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tech-figure {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/10; background: linear-gradient(165deg, #20275f 0%, var(--navy) 100%);
  box-shadow: var(--shadow-md); isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.tech-figure:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tech-figure .scene, .tech-figure video {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
}
.tech-figure .scene { transition: transform .9s var(--ease-out); z-index:0; }
.tech-figure:hover .scene { transform: scale(1.05); }
.tech-figure video { z-index:1; opacity:0; transition: opacity .6s var(--ease-out); }
.tech-figure video[data-ready] { opacity:1; }      /* fades over the scene once footage loads */
.tech-cap {
  position:absolute; left:0; right:0; bottom:0; z-index:2; padding: 24px 22px 20px; color:#fff;
  background: linear-gradient(to top, rgba(9,12,38,.88) 0%, rgba(9,12,38,.5) 45%, transparent 100%);
}
.tech-cap__k { font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--tint-300); font-weight:600; }
.tech-cap b { display:block; font-size:1.18rem; margin-top:5px; letter-spacing:-.01em; }
.tech-cap p { margin:6px 0 0; font-size:.9rem; color:#c2c7ea; max-width:44ch; }
/* real photos / footage (company Cloudinary assets) layered like the scenes */
.tech-figure .tech-photo, .scene-media .scene-photo {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
  transition: transform .9s var(--ease-out);
}
.tech-figure:hover .tech-photo, .scene-media:hover .scene-photo { transform: scale(1.05); }
.scene-media video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; opacity:0; transition:opacity .6s var(--ease-out); }
.scene-media video[data-ready] { opacity:1; }
/* subtle indigo grade keeps real photography on-brand ("single-color indigo duotone") */
.media-tint { position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(150deg, rgba(38,47,143,.30) 0%, rgba(20,26,51,.36) 100%); }
.tech-figure .media-tint { z-index:1; }
.scene-media .media-tint { z-index:2; }
.scene-media .scene-cap { z-index:3; }
.concept-badge { position:absolute; top:14px; left:14px; z-index:3; padding:5px 11px; border-radius:999px;
  background:rgba(9,12,38,.55); backdrop-filter:blur(4px); color:#fff; font-size:.66rem; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; }

/* full-bleed scene used inside split media panels */
.scene-media { position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; box-shadow:var(--shadow-md); background:linear-gradient(165deg,#20275f,var(--navy)); }
.scene-media .scene { position:absolute; inset:0; width:100%; height:100%; }
.scene-media .scene-cap { position:absolute; left:0; right:0; bottom:0; padding:24px; z-index:2; color:#fff;
  background:linear-gradient(to top, rgba(9,12,38,.85), transparent); }
.scene-media .scene-cap .figure-big { color:#fff; }

/* ---- Scene animation primitives (applied to SVG parts) ---------------- */
.spin   { transform-box: fill-box; transform-origin: center; animation: cue-spin var(--dur,9s) linear infinite; }
.spin-r { transform-box: fill-box; transform-origin: center; animation: cue-spin var(--dur,40s) linear infinite reverse; }
.pulse  { transform-box: fill-box; transform-origin: center; animation: cue-pulse var(--dur,3.4s) var(--ease-in-out) infinite; }
.ring   { transform-box: fill-box; transform-origin: center; animation: cue-ring var(--dur,3.4s) var(--ease-out) infinite; }
.flow   { animation: cue-flow var(--dur,1.6s) linear infinite; }
.sheen  { animation: cue-sheen var(--dur,4.5s) var(--ease-in-out) infinite; }
.float  { animation: cue-float var(--dur,5s) var(--ease-in-out) infinite; }
.charge { transform-box: fill-box; transform-origin: bottom; animation: cue-charge var(--dur,3.2s) var(--ease-in-out) infinite; }
.steam  { animation: cue-steam var(--dur,3.4s) var(--ease-out) infinite; }
.drift  { animation: cue-drift2 var(--dur,16s) linear infinite; }
.twinkle{ animation: cue-twinkle var(--dur,3s) var(--ease-in-out) infinite; }

@keyframes cue-spin   { to { transform: rotate(360deg); } }
@keyframes cue-pulse  { 0%,100%{opacity:.55; transform:scale(1);} 50%{opacity:1; transform:scale(1.05);} }
@keyframes cue-ring   { 0%{opacity:.55; transform:scale(.6);} 70%{opacity:0;} 100%{opacity:0; transform:scale(1.7);} }
@keyframes cue-flow   { to { stroke-dashoffset: -32; } }
@keyframes cue-sheen  { 0%{transform:translateX(-130%);} 55%,100%{transform:translateX(240%);} }
@keyframes cue-float  { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
@keyframes cue-charge { 0%{transform:scaleY(.18);} 50%{transform:scaleY(1);} 100%{transform:scaleY(.18);} }
@keyframes cue-steam  { 0%{opacity:0; transform:translateY(4px) scale(.85);} 35%{opacity:.65;} 100%{opacity:0; transform:translateY(-16px) scale(1.25);} }
@keyframes cue-drift  { to { transform: translateX(46px); } }
@keyframes cue-drift2 { 0%{transform:translateX(-12px);} 100%{transform:translateX(40px);} }
@keyframes cue-twinkle{ 0%,100%{opacity:.25;} 50%{opacity:.9;} }

.tech-figure--wide { grid-column: 1 / -1; aspect-ratio: 24/9; }

@media (max-width: 720px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-figure--wide { aspect-ratio: 16/10; }
}

/* ======================================================================
   PREMIUM POLISH LAYER — compounding craft details
   ====================================================================== */

/* Typography niceties */
h1, h2, h3 { text-wrap: balance; }
.lead, .hero p, p { text-wrap: pretty; }
::selection { background: var(--indigo); color: #fff; }
::-moz-selection { background: var(--indigo); color: #fff; }

/* Sticky-header anchor offset so #solutions etc. don't hide under the bar */
:where(#solutions, #technology, #contact-form) { scroll-margin-top: 96px; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--indigo), var(--periwinkle) 60%, var(--tint-300));
  will-change: transform;
}

/* Header condenses + lifts on scroll */
.site-header { transition: box-shadow .3s var(--ease-out), background .3s var(--ease-out); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(19,21,42,.10); background: rgba(255,255,255,.86); }
.nav { transition: height .3s var(--ease-out); }
.site-header.scrolled .nav { height: 62px; }

/* Animated underline on inline/text links */
.nav__links a, .case__link, .footer a { position: relative; }
.case__link { padding-bottom: 1px; }
.case__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease-out);
}
.case__link:hover::after { transform: scaleX(1); }

/* Primary/light button sheen sweep on hover */
.btn--primary, .btn--light { position: relative; overflow: hidden; }
.btn--primary::after, .btn--light::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: none; pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover::after, .btn--light:hover::after { animation: cue-sheen-btn .7s var(--ease-out); }
}
@keyframes cue-sheen-btn { to { left: 130%; } }

/* Cursor-aware spotlight on cards / metrics / cases (premium hover depth) */
.card, .metric, .case { position: relative; isolation: isolate; }
.card::before, .metric::before, .case::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(38,47,143,.10), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover::before, .metric:hover::before, .case:hover::before { opacity: 1; }
}
.card > *, .metric > *, .case > * { position: relative; z-index: 1; }

/* Stat items lift on hover */
@media (hover: hover) and (pointer: fine) {
  .stats__item { transition: background .25s var(--ease-out); }
  .stats__item:hover { background: var(--surface); }
}

/* Solution card icon: gentle pop on card hover */
.card__icon { transition: transform .3s var(--ease-out), background .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__icon { transform: translateY(-2px) scale(1.06); background: var(--indigo-100); }
}

/* Magnetic hero CTAs (JS sets --tx/--ty; gentle) */
@media (hover: hover) and (pointer: fine) {
  .hero__cta .btn { transition: transform .25s var(--ease-out), background .2s var(--ease-out), box-shadow .2s var(--ease-out); }
  .hero__cta .btn.magnetic { transform: translate(var(--tx,0), var(--ty,0)); }
}

/* Sector marquee (auto-scrolling trust strip) */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; gap: 0; white-space: nowrap; padding-block: 20px;
  animation: cue-marquee 32s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; padding-inline: 28px;
  font-size: 1.02rem; font-weight: 600; color: var(--slate); letter-spacing: .01em; }
.marquee__item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--periwinkle); flex: none; }
@keyframes cue-marquee { to { transform: translateX(-50%); } }

/* Section-heading eyebrow gets a tiny leading rule for editorial polish */
.eyebrow { position: relative; }

/* Smooth image/scene zoom is already on .tech-photo/.scene; add to scene-media photos */
.scene-media { will-change: transform; }

/* ======================================================================
   LUXE LAYER — flagship signature interactions ($1M)
   ====================================================================== */

/* Cross-document page transitions (progressive enhancement, Chromium) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: cue-vt-out .32s var(--ease-out) both; }
  ::view-transition-new(root) { animation: cue-vt-in .46s var(--ease-out) both; }
}
@keyframes cue-vt-out { to { opacity: 0; transform: scale(.992); } }
@keyframes cue-vt-in  { from { opacity: 0; transform: scale(1.008); } }

/* Brand preloader — pure CSS, self-clearing (home only) */
.preloader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, #2d37a6, var(--navy) 70%);
  animation: cue-preload .8s var(--ease-out) 1s forwards; }
.preloader__mark { width: 76px; height: 76px; object-fit: contain;
  animation: cue-pre-mark 1.3s var(--ease-in-out) infinite alternate; }
.preloader::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  transform-origin: 0 50%; background: linear-gradient(90deg, var(--periwinkle), #fff);
  animation: cue-pre-bar 1.05s var(--ease-out) forwards; }
@keyframes cue-pre-mark { from { transform: scale(.9); opacity: .65; } to { transform: scale(1); opacity: 1; } }
@keyframes cue-pre-bar  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cue-preload  { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* Hero kinetic load-in */
.hero .hero__kicker { animation: cue-up .8s var(--ease-out) .16s both; }
.hero h1            { animation: cue-up .85s var(--ease-out) .24s both; }
.hero > .container > p, .hero__inner > div > p { animation: cue-up .8s var(--ease-out) .34s both; }
.hero__cta          { animation: cue-up .8s var(--ease-out) .44s both; }
.hero__card         { animation: cue-up .9s var(--ease-out) .40s both; }
@keyframes cue-up { from { opacity: 0; transform: translateY(22px); } }
/* on the home page the preloader covers the first ~1s, so delay hero there */
body.has-preloader .hero .hero__kicker { animation-delay: 1.05s; }
body.has-preloader .hero h1 { animation-delay: 1.13s; }
body.has-preloader .hero > .container > p, body.has-preloader .hero__inner > div > p { animation-delay: 1.23s; }
body.has-preloader .hero__cta { animation-delay: 1.33s; }
body.has-preloader .hero__card { animation-delay: 1.29s; }

/* Shimmer on the hero highlight word */
.hero h1 .hl {
  background: linear-gradient(100deg, var(--tint-300) 0%, #ffffff 42%, var(--tint-300) 72%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: cue-shimmer 7s var(--ease-in-out) infinite;
}
@keyframes cue-shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Custom cursor follower (JS-created; fine pointers only) */
.cursor-ring { position: fixed; top: 0; left: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border-radius: 50%; border: 1.5px solid var(--periwinkle); z-index: 250; pointer-events: none;
  will-change: transform; opacity: 0;
  transition: width .22s var(--ease-out), height .22s var(--ease-out), margin .22s var(--ease-out),
              background .22s var(--ease-out), border-color .22s var(--ease-out), opacity .25s; }
.cursor-ring.active { opacity: 1; }
.cursor-ring.hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(140,149,224,.12); border-color: var(--indigo); }
.cursor-ring.down  { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

/* Living aurora behind dark sections */
.section--navy { position: relative; overflow: hidden; }
.section--navy::before { content: ""; position: absolute; inset: -30%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 48% at 18% 22%, rgba(140,149,224,.20), transparent 60%),
    radial-gradient(40% 46% at 86% 82%, rgba(38,47,143,.40), transparent 62%);
  filter: blur(6px); animation: cue-aurora 24s var(--ease-in-out) infinite alternate; }
.section--navy > .container { position: relative; z-index: 1; }

/* Back-to-top with scroll-progress ring */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 120; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: var(--indigo); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), background .2s var(--ease-out); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--indigo-700); }
.to-top:active { transform: scale(.94); }
.to-top__arrow { width: 18px; height: 18px; position: relative; z-index: 1; }
.to-top__ring { position: absolute; inset: -4px; width: 56px; height: 56px; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2; }
.to-top__track { stroke: rgba(255,255,255,.25); }
.to-top__bar { stroke: #fff; stroke-linecap: round; stroke-dasharray: var(--c,151); stroke-dashoffset: var(--c,151); }

@media (max-width: 720px) { .to-top { right: 16px; bottom: 16px; } }

/* ======================================================================
   FLAGSHIP LAYER — Awwwards-tier signature moments ($10M)
   ====================================================================== */

/* Oversized brand statement with scroll-linked word reveal */
.statement { padding: clamp(96px, 14vw, 200px) 0; }
.statement__line { font-weight: 700; letter-spacing: -.025em; line-height: 1.04;
  font-size: clamp(2.2rem, 6.4vw, 5rem); color: var(--ink); max-width: 20ch; margin: 0; }
.statement__line .w { display: inline-block; opacity: .14; }
.statement__line .accent { color: var(--indigo); }
.statement.in .statement__line .w { opacity: 1; transition: opacity .5s var(--ease-out); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statement__line .w { opacity: .14; animation: cue-word linear both;
      animation-timeline: view(); animation-range: entry calc(8% + var(--i,0) * 4%) cover 42%; }
  }
}
@keyframes cue-word { to { opacity: 1; } }

/* Scroll-driven parallax depth on the split media panels */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scene-media .scene-photo, .scene-media > video, .scene-media .scene {
      animation: cue-parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%;
    }
  }
}
@keyframes cue-parallax { from { transform: translateY(-5%) scale(1.08); } to { transform: translateY(5%) scale(1.08); } }

/* Cinematic clip-path reveal for big media panels */
body.reveal-ready .tech-figure.reveal, body.reveal-ready .scene-media.reveal {
  clip-path: inset(0 0 16% 0 round var(--radius));
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), clip-path .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
body.reveal-ready .tech-figure.reveal.in, body.reveal-ready .scene-media.reveal.in {
  clip-path: inset(0 0 0 0 round var(--radius));
}

/* Animated process-timeline line (How it works) */
.process-grid { position: relative; }
.process-grid::before, .process-grid::after {
  content: ""; position: absolute; top: 17px; left: 11%; right: 11%; height: 2px; border-radius: 2px;
}
.process-grid::before { background: rgba(255,255,255,.18); }
.process-grid::after { background: linear-gradient(90deg, var(--tint-300), #fff);
  transform: scaleX(0); transform-origin: 0 50%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .process-grid::after { animation: cue-line linear both; animation-timeline: view(); animation-range: cover 6% cover 78%; }
  }
}
@supports not (animation-timeline: view()) { .process-grid::after { transform: scaleX(1); } }
@keyframes cue-line { to { transform: scaleX(1); } }
@media (max-width: 720px) { .process-grid::before, .process-grid::after { display: none; } }

/* Hero scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 1; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px; color: #c8cdec;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; transition: opacity .4s var(--ease-out); }
.scroll-cue svg { width: 20px; height: 20px; animation: cue-bob 1.9s var(--ease-in-out) infinite; }
@keyframes cue-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
body.scrolled-min .scroll-cue { opacity: 0; }

/* Precision cursor dot (pairs with the trailing ring) */
.cursor-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 1.5px rgba(255,255,255,.55);
  z-index: 251; pointer-events: none; opacity: 0; transition: opacity .25s; will-change: transform; }
.cursor-dot.active { opacity: 1; }

/* ---- Reduced motion: stop all movement, keep content visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, .hero::before, .hero::after, .section--navy::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .tech-figure video { opacity: 1; }
  .preloader { display: none !important; }
  .cursor-ring, .cursor-dot { display: none !important; }
  .hero h1 .hl { color: var(--tint-300); -webkit-text-fill-color: var(--tint-300); }
  .to-top { transition: opacity .2s; }
  .statement__line .w { opacity: 1 !important; }
  .process-grid::after { transform: scaleX(1) !important; }
  .scroll-cue { display: none !important; }
}

/* ======================================================================
   INSTITUTIONAL DEPTH — partners, capital, impact, governance, FAQ, hub,
   NDA, cookie banner
   ====================================================================== */
.ptile-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.ptile { position:relative; background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px 20px;
  box-shadow:0 10px 26px -20px rgba(20,26,51,.45); transition:transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.ptile:hover { transform:translateY(-3px); box-shadow:0 18px 38px -22px rgba(20,26,51,.5); }
.ptile__name { font-weight:700; color:var(--ink); font-size:1.05rem; }
.ptile__sub { color:var(--muted); font-size:.9rem; margin-top:5px; line-height:1.5; }
.ptile__status { position:absolute; top:14px; right:14px; font-size:.66rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--indigo); background:var(--indigo-050); border-radius:999px; padding:4px 9px; }
@media (max-width:900px){ .ptile-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .ptile-grid { grid-template-columns:1fr; } }

.diagram-wrap { max-width:760px; margin:8px auto 0; }
.capstack { width:100%; height:auto; display:block; }

.faq { max-width:760px; margin:0 auto; }
.faq__item { border:1px solid var(--line); border-radius:12px; background:#fff; margin-bottom:12px; overflow:hidden; }
.faq__item summary { cursor:pointer; list-style:none; padding:18px 22px; font-weight:700; color:var(--ink);
  display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq__item summary::-webkit-details-marker { display:none; }
.faq__item summary::after { content:"+"; font-size:1.4rem; color:var(--indigo); font-weight:400; line-height:1; transition:transform .25s var(--ease-out); }
.faq__item[open] summary::after { transform:rotate(45deg); }
.faq__a { padding:0 22px 20px; }
.faq__a p { color:var(--slate); line-height:1.7; margin:0; }

.hub-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.hub-card { display:block; background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px 26px 22px;
  box-shadow:0 12px 30px -22px rgba(20,26,51,.45); transition:transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s; }
.hub-card:hover { transform:translateY(-4px); border-color:var(--indigo-200,#c7ccef); box-shadow:0 22px 44px -24px rgba(38,47,143,.45); }
.hub-card h3 { margin:0 0 8px; }
.hub-card p { color:var(--slate); margin:0 0 16px; line-height:1.6; }
.hub-card__go { display:inline-flex; align-items:center; gap:7px; font-weight:700; color:var(--indigo); font-size:.95rem; }
.hub-card__go svg { width:18px; height:18px; transition:transform .25s var(--ease-out); }
.hub-card:hover .hub-card__go svg { transform:translateX(4px); }
@media (max-width:680px){ .hub-grid { grid-template-columns:1fr; } }

.nda-check { display:flex; gap:11px; align-items:flex-start; margin:6px 0 4px; font-size:.92rem; color:var(--slate); line-height:1.55; }
.nda-check input { margin-top:3px; width:17px; height:17px; flex:none; accent-color:var(--indigo); }

.cookie-banner { position:fixed; left:16px; right:16px; bottom:16px; z-index:300; margin:0 auto; max-width:760px;
  background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:0 24px 60px -24px rgba(20,26,51,.55);
  padding:18px 20px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.cookie-banner p { margin:0; color:var(--slate); font-size:.92rem; line-height:1.55; flex:1 1 320px; }
.cookie-banner__actions { display:flex; gap:10px; flex:none; }
.cookie-banner .btn { min-height:0; padding:10px 18px; font-size:.9rem; }
@media (max-width:520px){ .cookie-banner { flex-direction:column; align-items:stretch; gap:14px; padding:16px 18px; } .cookie-banner p { flex:0 0 auto; } .cookie-banner__actions { justify-content:flex-end; } }

/* Mobile hero typography — keep the headline and body comfortably inside the margins on phones */
@media (max-width:560px){
  .hero h1 { font-size: clamp(1.55rem, 6.8vw, 2.05rem); line-height: 1.12; }
  .hero p { font-size: 1.02rem; line-height: 1.55; }
  .hero__kicker { font-size: .72rem; letter-spacing: .12em; margin-bottom: 12px; }
}
@media (max-width:380px){
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: .98rem; }
}

/* Logo wall (partners) — shows real logo when present, styled name otherwise */
.ptile--logo { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:130px; }
.ptile__logo { max-height:46px; max-width:82%; width:auto; object-fit:contain; margin-bottom:10px;
  filter:grayscale(1); opacity:.85; transition:filter .25s var(--ease-out), opacity .25s var(--ease-out); }
.ptile--logo:hover .ptile__logo { filter:none; opacity:1; }
.ptile--logo .ptile__name { font-size:1.22rem; letter-spacing:-.01em; }
.ptile--logo .ptile__sub { text-align:center; }

/* Fix: ensure the hidden attribute actually hides the banner (display:flex above would otherwise override it) */
.cookie-banner[hidden] { display: none !important; }

/* ======================================================================
   CINEMATIC HERO — home only (#hero). Cross-fading capability slideshow
   over real footage, with progress tabs. Scoped so other heroes are intact.
   ====================================================================== */
#hero { min-height: min(94vh, 960px); display: flex; align-items: center; padding: 0; }
#hero .hero-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--navy); }
#hero .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-out); will-change: opacity; }
#hero .hero-slide.is-active { opacity: 1; }
#hero .hero-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: no-preference) {
  #hero .hero-slide.is-active video { animation: hero-kenburns 8.5s var(--ease-out) forwards; }
}
@keyframes hero-kenburns { from { transform: scale(1.001); } to { transform: scale(1.04); } }

#hero .hero-scrim { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(98deg, rgba(13,17,36,.95) 0%, rgba(13,17,36,.74) 33%, rgba(13,17,36,.30) 66%, rgba(38,47,143,.36) 100%),
    linear-gradient(to top, rgba(13,17,36,.88) 0%, rgba(13,17,36,0) 34%); }
#hero .hero-canvas { position: absolute; inset: 0; z-index: 2; opacity: .5; mix-blend-mode: screen; }
#hero .hero__inner { position: relative; z-index: 3; width: 100%; padding: 104px 0 140px; }
#hero .hero__card-sub { color: #aab2ec; font-size: .95rem; font-weight: 600; }

/* progress tabs */
#hero .hero-tabs { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 4;
  display: flex; gap: 12px; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.hero-tab { position: relative; flex: 1 1 0; min-width: 0; text-align: left; background: transparent; border: 0;
  cursor: pointer; color: rgba(255,255,255,.62); font: inherit; font-size: .8rem; font-weight: 600;
  letter-spacing: .03em; padding: 14px 0 0; transition: color .25s var(--ease-out); }
.hero-tab span { display: block; padding-bottom: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-tab__track { display: block; height: 2px; border-radius: 2px; background: rgba(255,255,255,.22); position: relative; overflow: hidden; }
.hero-tab__track::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: #fff; }
.hero-tab.is-active { color: #fff; }
.hero-tab:hover { color: #fff; }
.hero-tab:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 980px) {
  #hero .hero__inner { padding: 88px 0 96px; }
  #hero .hero-tabs { display: none; }       /* keep the mobile hero clean */
}
@media (prefers-reduced-motion: reduce) {
  #hero .hero-slide { transition: none; }
  .hero-tab__track::after { width: 0 !important; }
}

/* ======================================================================
   CRAFT PASS — typographic balance, anchor offsets, selection, elevation.
   Site-wide refinements for a high-end institutional feel.
   ====================================================================== */
h1, h2, h3 { text-wrap: balance; }              /* even line lengths on headings */
p, .lead { text-wrap: pretty; }                  /* avoid orphans in prose */
h1 { letter-spacing: -.022em; }                  /* tighter display tracking */
h2 { letter-spacing: -.018em; }

::selection { background: var(--indigo); color: #fff; }

/* in-page anchors land below the sticky header */
[id] { scroll-margin-top: 96px; }

/* refined, layered elevation + hover lift on content cards
   (additive to the existing spotlight interaction) */
.card { transition: transform .34s var(--ease-out), box-shadow .34s var(--ease-out), border-color .34s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(19,21,42,.06), 0 18px 40px -20px rgba(20,26,51,.45); }
}

/* crisper imagery */
img { image-rendering: auto; }

/* primary button gets a subtle two-stop shadow for depth */
.btn--primary { box-shadow: 0 1px 2px rgba(38,47,143,.28), 0 12px 26px -12px rgba(38,47,143,.55); }
.btn--primary:hover { box-shadow: 0 2px 4px rgba(38,47,143,.30), 0 18px 34px -12px rgba(38,47,143,.6); }

/* ======================================================================
   FORM STATES — inline validation + success confirmation
   ====================================================================== */
.field--error input, .field--error textarea, .field--error select { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.field__err { display: block; color: var(--danger); font-size: .82rem; font-weight: 600; margin-top: 6px; }
.nda-check.field--error { color: var(--danger); }
.nda-check.field--error .field__err { margin-top: 4px; }
.form__success { background: var(--indigo-050); border: 1px solid var(--indigo-100); color: var(--indigo-700);
  border-radius: 12px; padding: 15px 18px; margin-bottom: 18px; font-weight: 600; line-height: 1.5; }
.form__error { background: #fbeceb; border: 1px solid #f1c9c6; color: var(--danger);
  border-radius: 12px; padding: 15px 18px; margin-bottom: 18px; font-weight: 600; line-height: 1.5; }
/* spam honeypot — hidden from humans, visible to bots */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ======================================================================
   PRINT — clean, ink-on-paper output (hide chrome, media, overlays)
   ====================================================================== */
@media print {
  .site-header, .site-footer, .to-top, .cookie-banner, .scroll-progress, .scroll-cue,
  .hero-stage, .hero-tabs, .hero__card, video, canvas, .cursor-ring, .cursor-dot, .marquee { display: none !important; }
  *, *::before, *::after { background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  #hero, .hero { min-height: 0 !important; color: #000 !important; padding: 0 !important; }
  .hero h1, .hero p, .hero__kicker, .section--navy, .section--navy h2, .section--navy h3, .section--navy .lead { color: #000 !important; }
  .section { padding: 14px 0 !important; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #444; }
  .container { max-width: 100%; }
  img { max-width: 100% !important; }
}

/* ======================================================================
   RESTRAINT PASS — let the content lead. Native cursor (no follower),
   no magnetic button drift. Inter gets a hair of negative tracking.
   ====================================================================== */
.cursor-ring, .cursor-dot { display: none !important; }
.hero__cta .btn.magnetic { transform: none; }   /* neutralize magnetic drift */
body { letter-spacing: -0.006em; }

/* Footer social (LinkedIn) */
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.18); color: #cdd2ee;
  transition: background .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out); }
.footer__social a:hover { background: #fff; color: var(--indigo); border-color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; }
