/* ============================================================
   CVA Services GmbH — Executive Axis
   Shared stylesheet · no JS · system fonts · CSS-driven visuals
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  /* Brand colors */
  --navy:        #071522;
  --graphite:    #1C2530;
  --blue:        #006EEA;
  --blue-dark:   #0057B8;
  --blue-tint:   #EFF6FF;
  --white:       #FFFFFF;
  --grey:        #E8EBEF;
  --bg:          #F7F9FB;
  --gold:        #B89559;
  --teal:        #0B99A3;
  --soft:        #B9CAE1;
  --muted:       #5A6572;
  --line:        #E2E7ED;

  /* Semantic */
  --success: #16A34A; --success-bg:#F0FDF4;
  --warning: #CA8A04; --warning-bg:#FEFCE8;
  --error:   #DC2626; --error-bg:#FEF2F2;
  --info:    #006EEA; --info-bg:#EFF6FF;

  /* Fonts — system only */
  --font-serif: 'Iowan Old Style','Palatino Linotype',Palatino,Georgia,'Times New Roman',serif;
  --font-sans:  -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --font-mono:  ui-monospace,'SF Mono','Cascadia Mono','Roboto Mono',Menlo,Consolas,monospace;

  /* Spacing scale (8px base) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px; --s-10:128px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 920px;
  --section-y: 96px;
  --section-y-sm: 64px;

  /* Radius */
  --r-sm:2px; --r-md:4px; --r-lg:6px; --r-full:9999px;

  /* Shadow */
  --sh-subtle: 0 1px 3px rgba(7,21,34,.06);
  --sh-medium: 0 6px 24px rgba(7,21,34,.08);
  --sh-large:  0 18px 48px rgba(7,21,34,.12);

  /* Motion */
  --t-fast: 150ms ease;
  --t-base: 200ms ease;
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  margin:0; background:var(--white); color:var(--navy);
  font-family:var(--font-sans); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img { max-width:100%; display:block; }
a { color:var(--blue); text-decoration:none; transition:color var(--t-fast); }
a:hover { color:var(--blue-dark); }
h1,h2,h3,h4,h5 { margin:0; font-weight:400; color:var(--navy); }
p { margin:0; }
ul { margin:0; padding:0; list-style:none; }
button { font-family:inherit; cursor:pointer; }
:focus-visible { outline:2px solid var(--blue); outline-offset:2px; border-radius:var(--r-sm); }
.skip-link {
  position:absolute; left:-999px; top:0; z-index:200;
  background:var(--navy); color:#fff; padding:12px 18px; border-radius:0 0 var(--r-md) 0;
}
.skip-link:focus { left:0; color:#fff; }

/* ---- Typography helpers ---- */
.display { font-family:var(--font-serif); font-weight:400; letter-spacing:-.01em; line-height:1.08; }
.serif   { font-family:var(--font-serif); font-weight:400; letter-spacing:-.005em; }
.eyebrow {
  font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.14em;
  color:var(--blue); display:inline-flex; align-items:center; gap:10px; margin:0 0 18px;
}
.eyebrow::before { content:""; width:24px; height:2px; background:var(--blue); display:inline-block; }
.eyebrow.on-dark { color:var(--soft); }
.eyebrow.on-dark::before { background:var(--blue); }
.lead { font-size:19px; line-height:1.6; color:var(--muted); }
.mono { font-family:var(--font-mono); font-feature-settings:"tnum"; }

/* ---- Layout ---- */
.container { width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.container.narrow { max-width:var(--container-narrow); }
.section { padding:var(--section-y) 0; }
.section.tight { padding:var(--section-y-sm) 0; }
.section.bg { background:var(--bg); }
.section.navy { background:var(--navy); color:var(--white); }
.section.navy h1,.section.navy h2,.section.navy h3 { color:var(--white); }
.section-head { max-width:720px; margin-bottom:48px; }
.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(30px,4vw,42px); }
.section-head p { margin-top:18px; color:var(--muted); font-size:18px; }
.section.navy .section-head p { color:var(--soft); }

/* ---- Axis motif (fine vertical lines) ---- */
.axis-rule {
  width:1px; background:linear-gradient(var(--blue),transparent);
  height:64px; margin:0 auto;
}
.axis-lines {
  position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:repeating-linear-gradient(90deg,var(--line) 0,var(--line) 1px,transparent 1px,transparent 96px);
}
.axis-lines.on-dark {
  background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.06) 0,rgba(255,255,255,.06) 1px,transparent 1px,transparent 88px);
  opacity:1;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position:sticky; top:0; z-index:100; background:rgba(255,255,255,.88);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.header-inner { display:flex; align-items:center; gap:32px; height:108px; transition:height var(--t-base); }
.site-header.scrolled .header-inner { height:74px; }
.site-header .container { padding-left:18px; padding-right:18px; }
.brand { display:flex; align-items:center; gap:0; flex:0 0 auto; }
.brand img { height:90px; width:auto; }
.brand .brand-text { display:flex; flex-direction:column; line-height:1.05; }
.nav { display:flex; align-items:center; gap:4px; margin-left:auto; }
.nav a {
  color:var(--graphite); font-size:14.5px; font-weight:500; padding:10px 14px;
  border-radius:var(--r-md); position:relative; transition:color var(--t-fast),background var(--t-fast);
}
.nav a:hover { color:var(--navy); background:var(--bg); }
.nav a[aria-current="page"] { color:var(--navy); }
.nav a[aria-current="page"]::after {
  content:""; position:absolute; left:14px; right:14px; bottom:2px; height:2px; background:var(--blue);
}
.header-cta { margin-left:8px; }
/* CSS-only mobile menu via :target / checkbox-free fallback shows nav stacked */
.nav-toggle { display:none; }
.menu-btn { display:none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-size:14px; font-weight:600; font-family:var(--font-sans);
  height:44px; padding:0 22px; border-radius:var(--r-md); border:1px solid transparent;
  transition:background var(--t-base),color var(--t-base),border-color var(--t-base),transform var(--t-fast);
  white-space:nowrap; cursor:pointer; line-height:1;
}
.btn:active { transform:translateY(1px); }
.btn svg { width:17px; height:17px; }
.btn-lg { height:52px; padding:0 28px; font-size:15px; }
.btn-sm { height:36px; padding:0 16px; font-size:13px; }
.btn-primary { background:var(--navy); color:#fff; }
.btn-primary:hover { background:var(--graphite); color:#fff; }
.btn-accent { background:var(--blue); color:#fff; }
.btn-accent:hover { background:var(--blue-dark); color:#fff; }
.btn-secondary { background:#fff; color:var(--navy); border-color:var(--navy); }
.btn-secondary:hover { background:var(--grey); color:var(--navy); }
.btn-secondary.on-dark { background:transparent; color:#fff; border-color:rgba(255,255,255,.5); }
.btn-secondary.on-dark:hover { background:rgba(255,255,255,.1); color:#fff; }
.btn-ghost { background:transparent; color:var(--navy); padding-left:12px; padding-right:12px; }
.btn-ghost:hover { background:var(--grey); }
.btn-ghost.arrow { color:var(--blue); }
.btn-ghost.arrow:hover { background:transparent; gap:14px; }
.btn-block { width:100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position:relative; overflow:hidden; background:var(--white); }
.hero .axis-lines { opacity:.6; }
.hero-grid {
  position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:64px;
  align-items:stretch; padding:44px 0 52px;
}
.hero h1 { font-size:clamp(38px,5.4vw,62px); }
.hero .lead { margin-top:24px; max-width:540px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:36px; }
.hero-meta { display:flex; gap:32px; margin-top:44px; padding-top:28px; border-top:1px solid var(--line); }
.hero-meta .item .k { font-family:var(--font-mono); font-size:26px; color:var(--navy); }
.hero-meta .item .l { font-size:13px; color:var(--muted); margin-top:4px; }

/* page hero (interior pages) */
.page-hero { position:relative; overflow:hidden; background:var(--navy); color:#fff; }
.page-hero .axis-lines.on-dark { opacity:1; }
.page-hero-inner { position:relative; padding:84px 0; }
.page-hero-inner h1 { max-width:900px; }
.page-hero h1 { color:#fff; font-size:clamp(34px,4.6vw,52px); }
.page-hero .lead { color:var(--soft); margin-top:22px; max-width:620px; }
.breadcrumb { font-size:13px; color:var(--soft); margin-bottom:22px; letter-spacing:.02em; }
.breadcrumb a { color:var(--soft); }
.breadcrumb a:hover { color:#fff; }

/* ---- Hero video panel ---- */
.hero-video {
  position:relative; border-radius:var(--r-lg); overflow:hidden;
  min-height:420px; box-shadow:var(--sh-large); background:var(--navy);
}
.hero-video video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.hero-video-overlay {
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(7,21,34,.30) 0%, rgba(7,21,34,.12) 38%, rgba(7,21,34,.62) 100%);
}
.hero-video .axis-lines.on-dark { opacity:.7; }
.hero-video-tag {
  position:absolute; left:24px; bottom:24px; z-index:2;
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:#fff; background:rgba(7,21,34,.55); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.18); padding:8px 14px; border-radius:var(--r-sm);
}

/* ---- Hero CSS visual: axis data panel ---- */
.viz-panel {
  position:relative; background:var(--navy); border-radius:var(--r-lg); overflow:hidden;
  aspect-ratio:1/1; box-shadow:var(--sh-large); color:#fff;
}
.viz-panel .axis-lines.on-dark { opacity:1; }
.viz-inner { position:relative; padding:32px; height:100%; display:flex; flex-direction:column; }
.viz-tag {
  display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
  font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--soft); border:1px solid rgba(255,255,255,.18); padding:6px 12px; border-radius:var(--r-sm);
}
.viz-dot { width:6px; height:6px; border-radius:var(--r-full); background:var(--blue); box-shadow:0 0 0 4px rgba(0,110,234,.25); }
.viz-bars { display:flex; align-items:flex-end; gap:10px; height:120px; margin-top:auto; }
.viz-bars span { flex:1; background:linear-gradient(var(--blue),rgba(0,110,234,.25)); border-radius:2px 2px 0 0; }
.viz-bars span:nth-child(odd){ background:linear-gradient(rgba(185,202,225,.7),rgba(185,202,225,.15)); }
.viz-line { height:1px; background:rgba(255,255,255,.12); margin:22px 0; }
.viz-rows { display:flex; flex-direction:column; gap:14px; }
.viz-row { display:flex; align-items:center; justify-content:space-between; font-size:13px; }
.viz-row .lbl { color:var(--soft); }
.viz-row .val { font-family:var(--font-mono); color:#fff; }
.viz-row .val.up { color:#6ee7a8; }
.viz-meter { height:4px; border-radius:var(--r-full); background:rgba(255,255,255,.12); margin-top:6px; overflow:hidden; }
.viz-meter i { display:block; height:100%; background:var(--blue); border-radius:var(--r-full); }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display:grid; gap:24px; }
.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(--r-md);
  padding:32px; transition:border-color var(--t-base),box-shadow var(--t-base),transform var(--t-base);
}
.card.hover:hover { border-color:var(--soft); box-shadow:var(--sh-medium); transform:translateY(-3px); }

.svc-card { position:relative; display:flex; flex-direction:column; min-height:230px; }
.svc-card .ico {
  width:46px; height:46px; border-radius:var(--r-md); background:var(--blue-tint);
  display:flex; align-items:center; justify-content:center; color:var(--blue); margin-bottom:22px;
}
.svc-card .ico svg { width:24px; height:24px; }
.svc-card h3 { font-size:20px; font-family:var(--font-serif); margin-bottom:10px; }
.svc-card p { color:var(--muted); font-size:15px; }
.svc-card .more {
  margin-top:auto; padding-top:18px; font-size:13px; font-weight:600; color:var(--blue);
  display:inline-flex; align-items:center; gap:7px; transition:gap var(--t-fast);
}
.svc-card .more svg { width:15px; height:15px; flex:0 0 auto; }
.svc-card.hover:hover .more { gap:12px; }
.svc-card .num {
  position:absolute; top:28px; right:28px; font-family:var(--font-mono);
  font-size:13px; color:var(--soft);
}

/* feature / executive card (navy) */
.exec-card {
  background:var(--navy); color:#fff; border-radius:var(--r-md); padding:40px;
  position:relative; overflow:hidden;
}
.exec-card::before { content:""; position:absolute; left:0; top:40px; bottom:40px; width:3px; background:var(--blue); }
.exec-card h3 { color:#fff; font-family:var(--font-serif); font-size:26px; }
.exec-card p { color:var(--soft); margin-top:14px; }

/* ============================================================
   Stat band
   ============================================================ */
.stat-band { display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.stat {
  padding:8px 28px; border-left:1px solid var(--line);
}
.stat:first-child { border-left:0; padding-left:0; }
.stat .k { font-family:var(--font-serif); font-size:clamp(34px,4vw,48px); color:var(--navy); line-height:1; letter-spacing:-.02em; }
.stat .k .u { color:var(--blue); }
.stat .l { margin-top:12px; font-size:14px; color:var(--muted); }
.section.navy .stat { border-color:rgba(255,255,255,.12); }
.section.navy .stat .k { color:#fff; }
.section.navy .stat .l { color:var(--soft); }

/* ============================================================
   Process timeline
   ============================================================ */
.timeline { display:grid; grid-template-columns:repeat(6,1fr); gap:0; counter-reset:step; }
.timeline.steps-4 { grid-template-columns:repeat(4,1fr); }
.tl-step { position:relative; padding:40px 24px 0 0; }
.tl-step::before {
  content:""; position:absolute; top:0; left:0; right:0; height:1px; background:var(--line);
}
.tl-step::after {
  content:""; position:absolute; top:-4px; left:0; width:9px; height:9px; border-radius:var(--r-full);
  background:var(--blue);
}
.tl-step .n { font-family:var(--font-mono); font-size:13px; color:var(--blue); }
.tl-step h4 { font-size:17px; margin:12px 0 8px; font-weight:600; }
.tl-step p { font-size:14px; color:var(--muted); }

/* vertical timeline (history) */
.vtl { position:relative; margin-left:8px; padding-left:36px; }
.vtl::before { content:""; position:absolute; left:0; top:6px; bottom:6px; width:2px; background:var(--line); }
.vtl-item { position:relative; padding-bottom:40px; }
.vtl-item:last-child { padding-bottom:0; }
.vtl-item::before {
  content:""; position:absolute; left:-41px; top:4px; width:12px; height:12px; border-radius:var(--r-full);
  background:#fff; border:2px solid var(--blue);
}
.vtl-item .yr { font-family:var(--font-mono); font-size:14px; color:var(--blue); font-weight:500; }
.vtl-item h4 { font-size:19px; font-family:var(--font-serif); margin:6px 0 8px; }
.vtl-item p { color:var(--muted); font-size:15px; }

/* ============================================================
   Comparison table
   ============================================================ */
.cmp { width:100%; border-collapse:collapse; border:1px solid var(--line); background:#fff; border-radius:var(--r-md); overflow:hidden; }
.cmp th,.cmp td { text-align:left; padding:18px 24px; border-bottom:1px solid var(--line); font-size:15px; vertical-align:top; }
.cmp thead th { background:var(--bg); font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); font-weight:600; }
.cmp thead th.hl { background:var(--navy); color:#fff; }
.cmp tbody tr:last-child td { border-bottom:0; }
.cmp td.feature { font-weight:600; color:var(--navy); width:34%; }
.cmp td.hl { background:var(--blue-tint); color:var(--navy); }
.cmp .ck { color:var(--blue); }
.cmp .muted { color:var(--muted); }

/* ============================================================
   Expertise matrix
   ============================================================ */
.matrix { display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r-md); overflow:hidden; }
.mx-col { background:#fff; display:flex; flex-direction:column; }
.mx-head { background:var(--navy); color:#fff; padding:20px 18px; }
.mx-head .ico { color:var(--soft); margin-bottom:12px; }
.mx-head .ico svg { width:22px; height:22px; }
.mx-head h4 { color:#fff; font-size:15px; font-weight:600; }
.mx-list { padding:8px 0; flex:1; }
.mx-list li { padding:11px 18px; font-size:14px; color:var(--graphite); border-bottom:1px solid var(--line); transition:background var(--t-fast); }
.mx-list li:last-child { border-bottom:0; }
.mx-list li:hover { background:var(--blue-tint); color:var(--navy); }

/* ============================================================
   Before / After
   ============================================================ */
.ba { display:grid; grid-template-columns:1fr auto 1fr; gap:0; align-items:stretch; }
.ba-col { padding:36px; border:1px solid var(--line); }
.ba-col.before { background:var(--bg); border-radius:var(--r-md) 0 0 var(--r-md); }
.ba-col.after { background:var(--navy); color:#fff; border-color:var(--navy); border-radius:0 var(--r-md) var(--r-md) 0; }
.ba-col h3 { font-family:var(--font-serif); font-size:22px; margin-bottom:6px; }
.ba-col.after h3 { color:#fff; }
.ba-col .tag { font-size:12px; text-transform:uppercase; letter-spacing:.12em; font-weight:600; color:var(--muted); }
.ba-col.after .tag { color:var(--soft); }
.ba-col ul { margin-top:22px; display:flex; flex-direction:column; gap:14px; }
.ba-col li { font-size:15px; display:flex; gap:12px; align-items:flex-start; color:var(--graphite); }
.ba-col.after li { color:var(--soft); }
.ba-col li svg { width:18px; height:18px; flex:0 0 auto; margin-top:2px; }
.ba-col.before li svg { color:var(--muted); }
.ba-col.after li svg { color:#6ee7a8; }
.ba-arrow { display:flex; align-items:center; justify-content:center; padding:0 22px; color:var(--blue); }
.ba-arrow svg { width:28px; height:28px; }

/* ============================================================
   Case study cards
   ============================================================ */
.case-card { display:flex; flex-direction:column; padding:0; overflow:hidden; }
.case-top { padding:28px 28px 0; }
.case-tag {
  display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:11px;
  text-transform:uppercase; letter-spacing:.08em; color:var(--blue); margin-bottom:16px;
}
.case-card h3 { font-family:var(--font-serif); font-size:21px; line-height:1.25; }
.case-body { padding:22px 28px 28px; display:flex; flex-direction:column; gap:16px; }
.case-row .lbl { font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); font-weight:600; margin-bottom:5px; }
.case-row p { font-size:14.5px; color:var(--graphite); }
.case-row.result { padding-top:16px; border-top:1px solid var(--line); }
.case-row.result p { color:var(--navy); font-weight:500; }

/* ============================================================
   FAQ (details/summary)
   ============================================================ */
.faq { border-top:1px solid var(--line); }
.faq details { border-bottom:1px solid var(--line); }
.faq summary {
  list-style:none; cursor:pointer; padding:24px 48px 24px 0; position:relative;
  font-size:18px; font-weight:500; color:var(--navy); font-family:var(--font-serif);
  transition:color var(--t-fast);
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary:hover { color:var(--blue); }
.faq summary::after {
  content:""; position:absolute; right:6px; top:28px; width:14px; height:14px;
  background:
    linear-gradient(var(--navy),var(--navy)) center/14px 2px no-repeat,
    linear-gradient(var(--navy),var(--navy)) center/2px 14px no-repeat;
  transition:transform var(--t-base);
}
.faq details[open] summary::after { transform:rotate(45deg); }
.faq .faq-body { padding:0 48px 26px 0; color:var(--muted); font-size:16px; max-width:780px; }

/* ============================================================
   CTA block
   ============================================================ */
.cta {
  position:relative; overflow:hidden; background:var(--navy); color:#fff;
  border-radius:var(--r-lg); padding:64px; text-align:center;
}
.cta .axis-lines.on-dark { opacity:1; }
.cta-inner { position:relative; max-width:640px; margin:0 auto; }
.cta h2 { color:#fff; font-family:var(--font-serif); font-size:clamp(28px,3.6vw,40px); }
.cta p { color:var(--soft); margin-top:16px; font-size:18px; }
.cta-actions { display:flex; gap:14px; justify-content:center; margin-top:32px; flex-wrap:wrap; }

/* ============================================================
   Values / principles
   ============================================================ */
.principle { display:flex; gap:18px; align-items:flex-start; }
.principle .ico { flex:0 0 auto; width:42px; height:42px; border-radius:var(--r-md); background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; }
.principle .ico svg { width:21px; height:21px; }
.principle h4 { font-size:17px; font-weight:600; margin-bottom:6px; }
.principle p { font-size:14.5px; color:var(--muted); }

/* check list */
.checklist { display:flex; flex-direction:column; gap:14px; }
.checklist li { display:flex; gap:12px; align-items:flex-start; font-size:16px; color:var(--graphite); }
.checklist li svg { width:20px; height:20px; flex:0 0 auto; margin-top:3px; color:var(--blue); }

/* badge / chip */
.chip { display:inline-flex; align-items:center; gap:6px; font-size:13px; padding:6px 12px; border:1px solid var(--line); border-radius:var(--r-sm); color:var(--graphite); background:#fff; }
.chip.solid { background:var(--navy); color:#fff; border-color:var(--navy); }
.chips { display:flex; flex-wrap:wrap; gap:10px; }

/* ============================================================
   People / contacts
   ============================================================ */
.person { display:flex; gap:20px; align-items:flex-start; }
.person .avatar {
  flex:0 0 auto; width:64px; height:64px; border-radius:var(--r-md); background:var(--navy);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-serif); font-size:22px;
}
.person h4 { font-size:18px; }
.person .role { font-size:13px; color:var(--blue); font-weight:600; margin:4px 0 10px; text-transform:uppercase; letter-spacing:.06em; }
.person p { font-size:14.5px; color:var(--muted); }

/* Team / Leadership cards with photo */
.team-card { padding:0; overflow:hidden; display:flex; flex-direction:column; }
.team-photo { aspect-ratio:4/3; background:var(--bg); overflow:hidden; border-bottom:1px solid var(--line); }
.team-photo img { width:100%; height:100%; object-fit:cover; object-position:center 20%; display:block; }
.team-info { padding:28px 32px 32px; }
.team-info h4 { font-family:var(--font-serif); font-size:24px; }
.team-info .role { font-size:13px; color:var(--blue); font-weight:600; margin:6px 0 18px; text-transform:uppercase; letter-spacing:.06em; }
.team-bullets { display:flex; flex-direction:column; gap:14px; margin-top:6px; }
.team-bullets li { font-size:14.5px; color:var(--graphite); padding-left:18px; position:relative; line-height:1.55; }
.team-bullets li::before { content:""; position:absolute; left:0; top:9px; width:6px; height:6px; background:var(--blue); border-radius:1px; }
.team-bullets li strong { color:var(--navy); font-weight:600; }

/* ============================================================
   Forms
   ============================================================ */
.form { display:grid; gap:20px; }
.field { display:flex; flex-direction:column; }
.field.row2 { grid-column:span 2; }
.field label { font-size:13px; font-weight:600; color:var(--navy); margin-bottom:6px; }
.field .req { color:var(--blue); }
.field input,.field select,.field textarea {
  font-family:var(--font-sans); font-size:15px; color:var(--navy); background:#fff;
  border:1px solid var(--grey); border-radius:var(--r-md); padding:11px 14px; min-height:44px;
  transition:border-color var(--t-fast),box-shadow var(--t-fast); width:100%;
}
.field textarea { min-height:130px; resize:vertical; }
.field input:hover,.field select:hover,.field textarea:hover { border-color:var(--soft); }
.field input:focus,.field select:focus,.field textarea:focus {
  outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,110,234,.12);
}
.field .help { font-size:12px; color:var(--muted); margin-top:6px; }
.consent { display:flex; gap:12px; align-items:flex-start; grid-column:span 2; }
.consent input { width:18px; height:18px; min-height:0; margin-top:2px; flex:0 0 auto; accent-color:var(--blue); }
.consent label { font-size:13.5px; color:var(--muted); font-weight:400; margin:0; }
.form-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:20px; }

/* contact info list */
.contact-list { display:flex; flex-direction:column; gap:22px; }
.contact-item { display:flex; gap:16px; align-items:flex-start; }
.contact-item .ico { flex:0 0 auto; width:42px; height:42px; border-radius:var(--r-md); background:var(--blue-tint); color:var(--blue); display:flex; align-items:center; justify-content:center; }
.contact-item .ico svg { width:20px; height:20px; }
.contact-item .lbl { font-size:12px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); font-weight:600; }
.contact-item a,.contact-item .v { font-size:16px; color:var(--navy); font-weight:500; }

/* ============================================================
   Split feature (regulation to run-the-bank)
   ============================================================ */
.split { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.flow { display:flex; flex-direction:column; gap:0; }
.flow-step { display:flex; gap:18px; align-items:flex-start; position:relative; padding-bottom:28px; }
.flow-step:last-child { padding-bottom:0; }
.flow-step .marker { flex:0 0 auto; position:relative; }
.flow-step .dot { width:40px; height:40px; border-radius:var(--r-md); background:#fff; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--blue); font-family:var(--font-mono); font-size:14px; }
.flow-step:not(:last-child) .marker::after { content:""; position:absolute; left:50%; top:40px; bottom:-28px; width:2px; transform:translateX(-50%); background:var(--line); }
.flow-step.active .dot { background:var(--navy); color:#fff; border-color:var(--navy); }
.flow-step h4 { font-size:17px; font-weight:600; margin-bottom:5px; }
.flow-step p { font-size:14.5px; color:var(--muted); }

/* ============================================================
   Logo strip / trust
   ============================================================ */
.trust-band { display:flex; flex-wrap:wrap; gap:14px 32px; align-items:center; justify-content:center; }
.trust-band .chip { background:transparent; border-color:var(--line); color:var(--muted); }

/* Legal / prose pages */
.notice-banner { background:var(--warning-bg); border:1px solid #efd98c; color:#7a5a00; border-radius:var(--r-md); padding:14px 18px; font-size:14px; margin-bottom:40px; }
.legal-prose { max-width:780px; }
.legal-prose h2 { font-family:var(--font-serif); font-size:24px; margin:40px 0 12px; }
.legal-prose h2:first-of-type { margin-top:0; }
.legal-prose h3 { font-size:16px; font-weight:600; margin:24px 0 8px; }
.legal-prose p, .legal-prose li { font-size:15px; color:var(--graphite); line-height:1.7; }
.legal-prose p { margin-bottom:14px; }
.legal-prose ul { margin:0 0 14px; padding-left:20px; list-style:disc; }
.legal-prose li { margin-bottom:6px; }
.legal-prose a { color:var(--blue); }
.legal-prose .todo { color:var(--blue); font-weight:600; }
.legal-prose address { font-style:normal; margin-bottom:14px; }

/* Capability map (4-column competency overview) */
.cap-card { display:flex; flex-direction:column; padding:28px; }
.cap-card .ico { width:46px; height:46px; border-radius:var(--r-md); background:var(--blue-tint); color:var(--blue); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.cap-card .ico svg { width:24px; height:24px; }
.cap-card h3 { font-family:var(--font-serif); font-size:20px; margin-bottom:14px; }
.cap-tag { display:inline-block; align-self:flex-start; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.1em; color:var(--navy); background:var(--grey); padding:6px 11px; border-radius:var(--r-sm); margin-bottom:16px; }
.cap-list { display:flex; flex-direction:column; gap:11px; }
.cap-list li { font-size:14px; color:var(--graphite); padding-left:16px; position:relative; line-height:1.5; }
.cap-list li::before { content:""; position:absolute; left:0; top:8px; width:5px; height:5px; background:var(--blue); border-radius:1px; }
.cap-result { display:flex; flex-direction:column; gap:14px; margin-top:2px; }
.cap-result li { display:flex; align-items:center; gap:11px; font-size:16px; font-weight:500; color:var(--navy); }
.cap-result li svg { width:20px; height:20px; color:var(--blue); flex:0 0 auto; }
.cap-card.accent { background:var(--navy); }
.cap-card.accent h3 { color:#fff; }
.cap-card.accent .ico { background:rgba(255,255,255,.1); color:#fff; }
.cap-card.accent .cap-result li { color:#fff; }
.cap-card.accent .cap-result li svg { color:#6ee7a8; }

/* Regulator / authority band */
.reg-band { text-align:center; }
.reg-label { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.12em; color:var(--navy); margin:0 0 12px; }
.reg-sub { font-size:15px; color:var(--muted); max-width:620px; margin:0 auto 32px; }
.reg-logos { display:flex; flex-wrap:wrap; align-items:stretch; justify-content:center; gap:20px; }
.reg-logo {
  display:flex; align-items:center; justify-content:center;
  flex:0 1 250px; min-height:96px; padding:22px 30px;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-md);
  transition:border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.reg-logo:hover { border-color:var(--soft); box-shadow:var(--sh-subtle); transform:translateY(-2px); }
.reg-logo img { max-height:52px; max-width:100%; width:auto; object-fit:contain; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background:var(--navy); color:var(--soft); padding:72px 0 32px; position:relative; overflow:hidden; }
.site-footer .axis-lines.on-dark { opacity:1; }
.footer-grid { position:relative; display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:48px; }
.footer-brand img { height:130px; margin-bottom:20px; }
.footer-brand p { font-size:14px; color:var(--soft); max-width:300px; }
.footer-col h5 { color:#fff; font-size:13px; text-transform:uppercase; letter-spacing:.1em; margin-bottom:18px; font-weight:600; }
.footer-col ul { display:flex; flex-direction:column; gap:11px; }
.footer-col a { color:var(--soft); font-size:14.5px; }
.footer-col a:hover { color:#fff; }
.footer-col address { font-style:normal; font-size:14.5px; color:var(--soft); line-height:1.7; }
.social { display:flex; gap:10px; margin-top:18px; }
.social a {
  width:38px; height:38px; border:1px solid rgba(255,255,255,.18); border-radius:var(--r-md);
  display:flex; align-items:center; justify-content:center; color:var(--soft); transition:all var(--t-fast);
}
.social a:hover { background:#fff; color:var(--navy); border-color:#fff; }
.social svg { width:18px; height:18px; }
.footer-bottom {
  position:relative; margin-top:56px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; font-size:13px; color:var(--soft);
}
.footer-bottom .legal { display:flex; gap:22px; flex-wrap:wrap; }
.footer-bottom a { color:var(--soft); }
.footer-bottom a:hover { color:#fff; }

/* ============================================================
   Utilities
   ============================================================ */
.mt-0{margin-top:0}.mt-2{margin-top:8px}.mt-4{margin-top:16px}.mt-6{margin-top:32px}.mt-8{margin-top:64px}
.center{text-align:center}
.maxw-720{max-width:720px}
.divider{height:1px;background:var(--line);border:0;margin:0}
.tag-row{display:flex;flex-wrap:wrap;gap:8px}
.kicker-num{font-family:var(--font-mono);color:var(--blue);font-size:14px}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1024px){
  :root{ --section-y:72px; }
  .header-inner{ height:84px; gap:20px; }
  .site-header.scrolled .header-inner{ height:68px; }
  .brand img{ height:62px; }
  .site-header.scrolled .brand img{ height:48px; }
  .nav{ gap:0; }
  .nav a{ padding:10px 10px; }
  .hero-grid{ grid-template-columns:1fr; gap:48px; padding:48px 0 56px; }
  .hero-video{ aspect-ratio:16/10; min-height:0; }
  .viz-panel{ max-width:460px; }
  .split{ grid-template-columns:1fr; gap:40px; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .matrix{ grid-template-columns:repeat(2,1fr); }
  .timeline,.timeline.steps-4{ grid-template-columns:repeat(2,1fr); gap:32px 24px; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:40px; }
}
@media (max-width:760px){
  :root{ --section-y:56px; --section-y-sm:48px; }
  .nav{ display:none; }
  .header-cta .btn{ height:40px; padding:0 16px; }
  .header-inner{ height:72px; gap:16px; }
  .site-header.scrolled .header-inner{ height:64px; }
  .brand img{ height:56px; }
  .site-header.scrolled .brand img{ height:46px; }
  .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; }
  .matrix{ grid-template-columns:1fr; }
  .stat-band{ grid-template-columns:1fr 1fr; gap:28px 0; }
  .stat{ padding:0 0 0 20px; }
  .stat:nth-child(odd){ border-left:0; padding-left:0; }
  .ba{ grid-template-columns:1fr; }
  .ba-col.before{ border-radius:var(--r-md) var(--r-md) 0 0; }
  .ba-col.after{ border-radius:0 0 var(--r-md) var(--r-md); }
  .ba-arrow{ padding:18px; transform:rotate(90deg); }
  .timeline,.timeline.steps-4{ grid-template-columns:1fr; }
  .form-grid2{ grid-template-columns:1fr; }
  .field.row2,.consent{ grid-column:span 1; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .cta{ padding:44px 24px; }
  .hero-meta{ flex-wrap:wrap; gap:24px; }
  .cmp{ font-size:13px; }
  .cmp th,.cmp td{ padding:14px 14px; }
  .footer-bottom{ flex-direction:column; }
}
@media (max-width:420px){
  .stat-band{ grid-template-columns:1fr; }
  .hero-actions .btn{ width:100%; }
}

/* ============================================================
   Motion — scroll reveals, header-on-scroll, magnetic buttons
   (hidden state only applies with JS active + motion allowed,
    so content never stays hidden if JS is off)
   ============================================================ */
.site-header.scrolled{
  box-shadow:0 1px 0 var(--line), 0 8px 28px rgba(7,21,34,.07);
  background:rgba(255,255,255,.96);
}
.brand img{ transition:height var(--t-base); }
.site-header.scrolled .brand img{ height:52px; }

@media (prefers-reduced-motion: no-preference){
  .js:not(.reveal-fallback) :is(
    .section-head,
    .svc-card, .card, .principle, .tl-step, .vtl-item, .case-card,
    .ba-col, .mx-col, .exec-card, .team-card,
    .stat, .cmp, .faq,
    .split > div, .cta-inner > *
  ){
    transition:opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1);
    transition-delay:var(--rd,0ms);
    will-change:opacity, transform;
  }
  .js:not(.reveal-fallback) :is(
    .section-head,
    .svc-card, .card, .principle, .tl-step, .vtl-item, .case-card,
    .ba-col, .mx-col, .exec-card, .team-card,
    .stat, .cmp, .faq,
    .split > div, .cta-inner > *
  ):not(.is-visible){
    opacity:0; transform:translateY(26px);
  }
}

