:root {
  --navy: #0e2a47;
  --navy-deep: #081c31;
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --paper: #f8fafc;
  --paper-soft: #f2f5f8;
  --white: #ffffff;
  --ink: #0e2a47;
  --ink-soft: #334b63;
  --muted: #6f7f90;
  --line: rgba(14, 42, 71, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(37,99,235,.34); outline-offset: 3px; }
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; left:16px; top:12px; z-index:100; padding:10px 14px; border-radius:999px; background:var(--navy); color:white; transform:translateY(-160%); transition:transform .2s ease; }
.skip-link:focus { transform:none; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section-pad { padding: 112px 0; }
.eyebrow { margin: 0 0 18px; font-size: 12px; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; font-weight: 750; color: var(--blue); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(248,250,252,.90); backdrop-filter: blur(16px); border-color: var(--line); box-shadow: 0 7px 28px rgba(8,28,49,.035); }
.nav-wrap { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap:30px; }
.brand, .brand-image { display:inline-flex; align-items:center; }
.brand-logo { display:block; width:auto; object-fit:contain; }
.brand-logo-header { height: 42px; }
.brand-logo-footer { height: 38px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.site-nav > a:not(.nav-cta) { opacity: .70; transition: opacity .2s ease, color .2s ease; }
.site-nav > a:not(.nav-cta):hover { opacity: 1; color: var(--blue); }

.language-switcher { display:inline-flex; align-items:center; gap:7px; font-size:11px; letter-spacing:.08em; font-weight:750; color:var(--muted); white-space:nowrap; }
.language-switcher a { opacity:.58; transition:opacity .2s ease,color .2s ease; }
.language-switcher a:hover { opacity:1; color:var(--blue); }
.language-switcher a.active { opacity:1; color:var(--blue); }
.language-switcher span { opacity:.35; }
.nav-cta { padding: 11px 16px; border: 1px solid var(--navy); border-radius: 999px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.nav-cta:hover { background:var(--navy); color:white; border-color:var(--navy); }
.nav-toggle { display:none; background:none; border:0; width:40px; height:40px; position:relative; cursor:pointer; }
.nav-toggle span:not(.sr-only) { position:absolute; left:9px; width:22px; height:1.5px; background:var(--navy); transition:.2s ease; }
.nav-toggle span:first-child { top:15px; }
.nav-toggle span:nth-child(2) { top:23px; }

.hero { min-height: 830px; display:flex; align-items:center; padding-top: 155px; background: var(--paper); position:relative; overflow:hidden; }
.hero::before { content:""; position:absolute; width:620px; height:620px; border-radius:50%; right:-180px; top:-230px; background:rgba(37,99,235,.055); filter:blur(2px); }
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns: 1.05fr .95fr; gap: 88px; align-items:center; }
.hero h1 { margin:0; max-width:760px; font-size:clamp(58px,6vw,90px); line-height:.96; letter-spacing:-.062em; font-weight:780; }
.hero-lead { margin:30px 0 0; max-width:680px; font-size:20px; line-height:1.58; color:var(--ink-soft); }
.hero-actions { margin-top:36px; display:flex; gap:12px; flex-wrap:wrap; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 22px; border-radius:999px; font-weight:750; font-size:14px; border:1px solid transparent; cursor:pointer; transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform:translateY(-2px); }
.button-primary { background:var(--navy); color:white; }
.button-primary:hover { background:var(--blue); }
.button-ghost { border-color:var(--line); background:rgba(255,255,255,.78); }
.button-ghost:hover { border-color:rgba(37,99,235,.32); color:var(--blue); }

.hero-visual { position:relative; min-height:520px; border-radius:32px; background:var(--navy-deep); overflow:hidden; box-shadow:0 30px 80px rgba(8,28,49,.18); isolation:isolate; }
.hero-mark { position:absolute; width:76px; height:76px; object-fit:contain; right:30px; top:28px; border-radius:18px; opacity:.96; z-index:3; }
.visual-grid { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to bottom,black,transparent 96%); }
.orbit { position:absolute; border:1px solid rgba(96,165,250,.18); border-radius:50%; }
.orbit-one { width:430px; height:430px; left:45px; top:44px; }
.orbit-two { width:265px; height:265px; right:-42px; bottom:-25px; }
.signal-card { position:absolute; border:1px solid rgba(255,255,255,.14); background:rgba(14,42,71,.82); color:white; backdrop-filter:blur(10px); box-shadow:0 18px 45px rgba(0,0,0,.16); }
.signal-main { left:54px; top:190px; right:54px; padding:28px; border-radius:18px; }
.signal-main strong { display:block; margin-top:7px; font-size:23px; letter-spacing:-.03em; }
.signal-label { font-size:11px; text-transform:uppercase; letter-spacing:.13em; color:#a9c9ff; }
.signal-a,.signal-b,.signal-c { padding:13px 16px; border-radius:999px; font-size:12px; font-weight:700; }
.signal-a span,.signal-b span,.signal-c span { color:var(--blue-light); margin-right:8px; }
.signal-a { top:78px; left:38px; }
.signal-b { right:34px; top:118px; }
.signal-c { left:154px; bottom:62px; }

.outcomes-band { background:var(--navy); color:white; }
.outcomes-grid { display:grid; grid-template-columns:repeat(3,1fr); }
.outcomes-grid article { padding:46px 34px 43px; border-left:1px solid var(--line-dark); }
.outcomes-grid article:first-child { border-left:0; }
.outcomes-grid span { display:block; font-size:11px; color:var(--blue-light); letter-spacing:.12em; margin-bottom:20px; }
.outcomes-grid strong { display:block; font-size:20px; margin-bottom:8px; letter-spacing:-.02em; }
.outcomes-grid p { margin:0; color:rgba(255,255,255,.69); font-size:14px; }

.section-heading { max-width:790px; margin-bottom:56px; }
.section-heading h2, .about h2, .contact h2 { margin:0; font-size:clamp(40px,4.8vw,68px); line-height:1.02; letter-spacing:-.052em; font-weight:760; }
.section-heading > p:last-child { max-width:675px; margin:24px 0 0; font-size:18px; color:var(--muted); }

.services { background:var(--white); }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.service-card { min-height:360px; padding:30px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); display:flex; flex-direction:column; transition:background .2s ease, transform .2s ease; }
.service-card:not(.service-card-accent):hover { background:#fbfdff; }
.service-index { font-size:11px; letter-spacing:.12em; color:var(--blue); margin-bottom:55px; }
.service-card h3 { margin:0 0 14px; font-size:25px; letter-spacing:-.035em; line-height:1.08; }
.service-card p { margin:0; color:var(--muted); }
.service-card ul { margin:auto 0 0; padding:28px 0 0; list-style:none; }
.service-card li { padding:8px 0; border-top:1px solid var(--line); font-size:13px; color:var(--ink-soft); }
.service-card-accent { background:var(--blue); color:white; justify-content:flex-end; }
.service-card-accent .eyebrow { color:#dbeafe; }
.service-card-accent p { color:rgba(255,255,255,.84); }

.approach { background:var(--navy-deep); color:white; }
.approach-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:90px; align-items:start; }
.sticky-heading { position:sticky; top:130px; }
.approach .section-heading p:last-child { color:rgba(255,255,255,.66); }
.steps { border-top:1px solid var(--line-dark); }
.step { display:grid; grid-template-columns:74px 1fr; gap:18px; padding:30px 0; border-bottom:1px solid var(--line-dark); }
.step > span { color:var(--blue-light); font-size:12px; letter-spacing:.13em; }
.step h3 { margin:0 0 7px; font-size:25px; letter-spacing:-.03em; }
.step p { margin:0; color:rgba(255,255,255,.66); max-width:630px; }

.work { background:var(--paper-soft); }
.work-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.work-card { min-height:250px; padding:32px; background:white; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 10px 30px rgba(8,28,49,.025); }
.work-card h3 { margin:0; font-size:29px; line-height:1.08; letter-spacing:-.04em; max-width:480px; }
.work-card p { margin:50px 0 0; color:var(--muted); max-width:520px; }

.insights { background:#eaf0f6; }
.insights-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.insight-card { background:var(--paper); border:1px solid rgba(14,42,71,.07); border-radius:var(--radius); padding:30px; min-height:330px; display:flex; flex-direction:column; }
.insight-card > span { font-size:11px; text-transform:uppercase; letter-spacing:.14em; color:var(--blue); font-weight:750; }
.insight-card h3 { margin:40px 0 14px; font-size:27px; line-height:1.08; letter-spacing:-.04em; }
.insight-card p { margin:0; color:var(--muted); }
.insight-card a { margin-top:auto; padding-top:30px; font-size:13px; font-weight:750; color:var(--blue); }

.about { background:white; }
.about-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:100px; align-items:start; }
.about-panel { position:sticky; top:130px; }
.about-copy { font-size:24px; line-height:1.48; letter-spacing:-.025em; }
.about-copy p { margin:0 0 26px; }
.about-copy p:not(:first-child) { color:var(--muted); }

.contact { background:var(--navy); color:white; position:relative; overflow:hidden; }
.contact::after { content:""; position:absolute; width:420px; height:420px; border-radius:50%; right:-150px; bottom:-220px; background:rgba(37,99,235,.22); }
.contact-panel { position:relative; z-index:1; display:grid; grid-template-columns:1.1fr .9fr; gap:100px; align-items:end; }
.contact .eyebrow { color:#bfdbfe; }
.contact-side p { margin:0 0 28px; color:rgba(255,255,255,.82); font-size:17px; }
.contact .button-primary { background:white; color:var(--navy); }
.contact .button-primary:hover { background:var(--blue-light); color:var(--navy-deep); }
.contact small { display:block; margin-top:13px; color:rgba(255,255,255,.58); }

.footer { background:var(--navy-deep); color:white; padding:42px 0; }
.footer-grid { display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center; gap:24px; }
.footer p { margin:0; color:rgba(255,255,255,.58); font-size:12px; }
.footer p:last-child { text-align:right; }
.brand-footer { align-items:center; }

.reveal { opacity:0; transform:translateY(16px); transition:opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}

@media (max-width: 980px) {
  .section-pad { padding:88px 0; }
  .nav-toggle { display:block; }
  .site-nav { display:none; position:absolute; top:72px; left:20px; right:20px; padding:20px; background:var(--paper); border:1px solid var(--line); border-radius:18px; flex-direction:column; align-items:stretch; box-shadow:0 20px 50px rgba(8,28,49,.13); }
  .site-nav.open { display:flex; }
  .language-switcher { padding:8px 0 4px; justify-content:flex-start; }

  .hero-grid, .approach-grid, .about-grid, .contact-panel { grid-template-columns:1fr; gap:54px; }
  .hero { min-height:auto; }
  .hero-visual { min-height:470px; }
  .outcomes-grid, .services-grid, .insights-grid { grid-template-columns:1fr; }
  .outcomes-grid article { border-left:0; border-top:1px solid var(--line-dark); }
  .outcomes-grid article:first-child { border-top:0; }
  .services-grid { border-right:1px solid var(--line); }
  .service-card { border-right:0; min-height:320px; }
  .sticky-heading, .about-panel { position:static; }
  .work-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer p:last-child { text-align:left; }
  .brand-logo-header { height:39px; }
}

@media (max-width: 620px) {
  .shell { width:min(calc(100% - 28px),var(--max)); }
  .section-pad { padding:72px 0; }
  .nav-wrap { min-height:70px; }
  .brand-logo-header { height:34px; }
  .brand-logo-footer { height:31px; }
  .hero { padding-top:118px; }
  .hero h1 { font-size:50px; }
  .hero-lead { font-size:17px; }
  .hero-visual { min-height:400px; border-radius:24px; }
  .hero-mark { width:60px; height:60px; right:18px; top:18px; border-radius:15px; }
  .signal-main { left:20px; right:20px; top:150px; padding:20px; }
  .signal-main strong { font-size:18px; }
  .signal-a { top:55px; left:18px; }
  .signal-b { top:99px; right:18px; }
  .signal-c { left:30px; bottom:44px; }
  .section-heading h2, .about h2, .contact h2 { font-size:42px; }
  .service-card, .work-card, .insight-card { padding:24px; }
  .about-copy { font-size:20px; }
}


/* Legal pages */
.legal-page { padding: 150px 0 96px; background: var(--paper); min-height: 70vh; }
.legal-shell { width: min(calc(100% - 48px), 900px); margin: 0 auto; }
.legal-kicker { margin: 0 0 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; color: var(--accent); }
.legal-page h1 { margin: 0 0 22px; font-size: clamp(44px, 6vw, 72px); line-height: 1; letter-spacing: -.055em; }
.legal-intro { margin: 0 0 44px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.legal-page h2 { margin: 42px 0 12px; font-size: 24px; letter-spacing: -.03em; }
.legal-page p, .legal-page li { color: var(--ink-soft); line-height: 1.7; }
.legal-page ul { padding-left: 22px; }
.legal-meta { border: 1px solid var(--line); background: #fff; border-radius: 18px; overflow: hidden; margin: 30px 0 42px; }
.legal-meta div { display:grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 14px 18px; border-top: 1px solid var(--line); }
.legal-meta div:first-child { border-top: 0; }
.legal-meta strong { font-size: 13px; }
.legal-placeholder { color: #9a6700; background: #fff7d6; padding: 2px 6px; border-radius: 6px; }
.footer-legal { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.footer-legal a { color: rgba(255,255,255,.7); font-size: 12px; }
.footer-legal a:hover { color:#fff; }
@media (max-width:620px){ .legal-shell{width:min(calc(100% - 28px),900px)} .legal-meta div{grid-template-columns:1fr;gap:4px} .footer-legal{justify-content:flex-start} }
