
:root {
  --bg: #F4F7FB;
  --bg-2: #E6EEF7;
  --ink: #0F2A47;
  --ink-2: #1F3F63;
  --muted: #5E7795;
  --line: #0F2A4717;
  --line-strong: #0F2A4733;
  --primary: #3D8DCC;
  --primary-deep: #2A6FAB;
  --primary-soft: #A9CDEA;
  --accent: #D32027;
  --accent-deep: #A91820;
  --paper: #FFFFFF;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 2px;
  --font-display: "Inter Tight", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

[data-theme="dark"] {
  --bg: #0B1A2E;
  --bg-2: #112442;
  --ink: #F0F6FC;
  --ink-2: #C7D7E8;
  --muted: #7E97B5;
  --line: #ffffff14;
  --line-strong: #ffffff33;
  --paper: #102443;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* — Type — */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--primary);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.04; color: var(--ink); }
.display { font-size: clamp(44px, 7.6vw, 124px); font-weight: 400; letter-spacing: -0.035em; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); }
.h3 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.015em; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }

/* — Nav — */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 320ms ease, border-color 320ms ease, backdrop-filter 320ms ease;
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled {
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav {
  height: 76px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; min-width: 0; }
.brand-mark {
  width: 44px; height: 30px; position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  flex: none;
}
.brand-mark .b-blue { background: var(--primary); position: relative; }
.brand-mark .b-blue::before {
  content: ""; position: absolute; left: 12%; right: 8%; bottom: 22%;
  height: 1.5px; background: #fff;
  clip-path: polygon(0 60%, 22% 30%, 42% 55%, 64% 0, 100% 30%, 100% 100%, 0 100%);
  background: linear-gradient(transparent calc(100% - 2px), #fff calc(100% - 2px));
}
.brand-mark .b-blue svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-mark .b-red { background: var(--accent); position: relative; }
.brand-mark .b-red::before, .brand-mark .b-red::after {
  content: ""; position: absolute; background: #fff;
}
.brand-mark .b-red::before { left: 50%; top: 22%; bottom: 22%; width: 22%; transform: translateX(-50%); }
.brand-mark .b-red::after  { top: 50%; left: 22%; right: 22%; height: 22%; transform: translateY(-50%); }
.brand-name { font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.brand-name span { color: var(--muted); font-weight: 400; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  position: relative;
  background: var(--paper);
}
.lang-toggle button {
  padding: 6px 12px; border-radius: 999px;
  color: var(--muted); cursor: pointer;
  transition: color 220ms ease;
  position: relative; z-index: 2;
}
.lang-toggle button.active { color: #fff; }
.lang-toggle .pill {
  position: absolute; top: 3px; bottom: 3px;
  background: var(--primary);
  border-radius: 999px; z-index: 1;
  transition: left 360ms cubic-bezier(.7,0,.2,1), width 360ms cubic-bezier(.7,0,.2,1);
}
@media (max-width: 880px) {
  .lang-toggle { display: none; }
  .mobile-menu .lang-toggle { display: inline-flex; margin-top: 32px; }
}

.nav-links { display: flex; gap: 4px; justify-self: end; }
.nav-links a {
  font-size: 14px; padding: 10px 14px; color: var(--ink-2);
  position: relative; border-radius: 2px;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform 360ms cubic-bezier(.7,0,.2,1);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; padding: 10px 18px;
  background: var(--primary); color: #fff;
  border-radius: 999px;
  transition: transform 200ms ease, background 200ms ease;
}
.nav-cta:hover { background: var(--primary-deep); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 999px; background: #67e0a3; box-shadow: 0 0 0 4px #67e0a322; }

.nav-burger { display: none; width: 40px; height: 40px; place-items: center; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top:  6px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 99; transform: translateY(-100%); transition: transform 500ms cubic-bezier(.7,0,.2,1);
  padding: 100px var(--gutter) 40px;
  display: none;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 36px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border: 0; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: grid; }
  .mobile-menu { display: block; }
}

/* — Ticker — */
.ticker {
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  overflow: hidden;
  position: relative;
  padding-top: 76px;
}
.ticker-row { display: flex; gap: 64px; padding: 12px 0; white-space: nowrap; animation: scroll-x 60s linear infinite; }
.ticker-row span { display: inline-flex; align-items: center; gap: 10px; }
.ticker-row em { font-style: normal; color: var(--accent); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* — Hero — */
.hero {
  position: relative;
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
}
.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); padding-bottom: 32px;
}
.hero-meta .swiss-cross {
  width: 20px; height: 20px; background: var(--accent); position: relative;
}
.hero-meta .swiss-cross::before, .hero-meta .swiss-cross::after {
  content: ""; position: absolute; background: #fff;
}
.hero-meta .swiss-cross::before { left: 50%; top: 22%; width: 3px; height: 56%; transform: translateX(-50%); }
.hero-meta .swiss-cross::after  { top: 50%; left: 22%; height: 3px; width: 56%; transform: translateY(-50%); }

.hero-title {
  font-size: clamp(44px, 7.4vw, 116px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  word-break: break-word;
  hyphens: auto;
}
.hero-title .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-title .reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .reveal-line > span { display: inline-block; transform: translateY(110%); animation: rise 900ms cubic-bezier(.7,0,.2,1) forwards; }
.hero-title .reveal-line:nth-child(1) > span { animation-delay: 80ms; }
.hero-title .reveal-line:nth-child(2) > span { animation-delay: 200ms; }
.hero-title .reveal-line:nth-child(3) > span { animation-delay: 320ms; }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  margin-top: 36px;
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start;
  max-width: 640px;
}
.hero-sub .num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 6px; }
.hero-sub p { font-size: 18px; color: var(--ink-2); line-height: 1.5; }

.hero-actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  border-radius: 999px;
  font-size: 15px;
  transition: transform 200ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); }
.btn-primary .arr { transition: transform 280ms cubic-bezier(.7,0,.2,1); }
.btn-primary:hover .arr { transform: translateX(4px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* Hero visual */
.hero-vis {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-vis-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 8.333% 8.333%;
  opacity: .55;
}
.hero-vis svg.chart { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vis .chart path.line { stroke: var(--primary-deep); stroke-width: 1.5; fill: none; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2400ms cubic-bezier(.65,0,.35,1) 400ms forwards; opacity: 0.4; }
.hero-vis .chart path.line2 { stroke: var(--primary); stroke-width: 2.8; fill: none; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2400ms cubic-bezier(.65,0,.35,1) 700ms forwards; }
.hero-vis .chart path.area { fill: var(--primary); fill-opacity: 0; animation: fade .8s ease 2400ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { fill-opacity: 0.06; } }

.hero-vis .vis-label {
  position: absolute; padding: 8px 12px; background: var(--paper); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
  opacity: 0; animation: pop .6s cubic-bezier(.7,0,.2,1) forwards;
}
.hero-vis .vis-label .pin { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent)22; }
.vis-label.l1 { top: 18%; left: 18%; animation-delay: 1800ms; }
.vis-label.l2 { top: 42%; right: 12%; animation-delay: 2100ms; }
.vis-label.l3 { bottom: 16%; left: 28%; animation-delay: 2400ms; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.hero-vis .crosshair {
  position: absolute; width: 1px; background: var(--primary); top: 0; bottom: 0; left: 62%;
  opacity: 0; animation: fadeIn 600ms ease 1200ms forwards;
}
.hero-vis .crosshair::before { content: ""; position: absolute; left: -3px; top: 38%; width: 7px; height: 7px; border-radius: 999px; background: var(--primary); }
@keyframes fadeIn { to { opacity: 1; } }

.hero-vis .y-axis {
  position: absolute; left: 12px; top: 16px; bottom: 16px; width: 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
}
.hero-vis .x-axis {
  position: absolute; left: 60px; right: 16px; bottom: 12px; height: 14px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
}

.hero-vis .vis-corner {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--muted); display: flex; align-items: center; gap: 8px;
}
.hero-vis .vis-corner .live { width: 6px; height: 6px; border-radius: 999px; background: #2cb67d; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity: .35; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-vis { aspect-ratio: 4/3; }
}

/* — Section frame — */
.section { padding: clamp(80px, 10vw, 140px) 0; border-bottom: 1px solid var(--line); position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 48px; align-items: end; margin-bottom: 64px;
}
.section-head .h2 { max-width: 14ch; }
.section-head .right { display: flex; flex-direction: column; gap: 16px; align-items: start; }
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

/* — Services — */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 32px 36px;
  position: relative;
  min-height: 480px;
  display: flex; flex-direction: column;
  background: var(--bg);
  transition: background 360ms ease;
  cursor: pointer;
  overflow: hidden;
}
.service:hover { background: var(--paper); }
.service .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 24px; }
.service .icon { height: 96px; margin-bottom: 24px; display: flex; align-items: flex-end; }
.service .icon svg { width: 96px; height: 96px; }
.service h3 { margin-bottom: 14px; }
.service p { color: var(--ink-2); font-size: 15px; max-width: 32ch; }
.service ul { margin-top: 18px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service ul li { font-size: 13.5px; color: var(--muted); padding-left: 14px; position: relative; }
.service ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 1px; background: var(--primary); }
.service .more {
  margin-top: auto; padding-top: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink);
}
.service .more .arr { transition: transform 280ms cubic-bezier(.7,0,.2,1); }
.service:hover .more .arr { transform: translateX(4px); }

.service::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform 500ms cubic-bezier(.7,0,.2,1);
}
.service:hover::after { transform: scaleX(1); }

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

/* Service icons (line-art, geometric, no slop) */
.svc-icon { stroke: var(--ink); stroke-width: 1.25; fill: none; }
.svc-icon .accent { stroke: var(--accent); stroke-width: 1.5; }
.svc-icon .fill-accent { fill: var(--accent); stroke: none; }

/* — Stats — */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 48px;
}
.stat {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 28px 28px;
  background: var(--paper);
}
.stat .num { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 64px); font-weight: 400; letter-spacing: -0.03em; }
.stat .num .unit { font-size: 0.5em; color: var(--primary); margin-left: 4px; }
.stat .lbl { margin-top: 10px; font-size: 13px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.04em; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* — About / Why — */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.why-item {
  display: grid; grid-template-columns: 60px 1fr; gap: 20px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.why-item .n { font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding-top: 4px; }
.why-item h4 { font-size: 22px; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

.about-card {
  position: sticky; top: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.about-card .map {
  aspect-ratio: 4/3; background: var(--bg-2); position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.about-card .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; left: 58%; top: 52%;
  width: 14px; height: 14px;
  border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent)22, 0 0 0 14px var(--accent)11;
}
.map-pin::after {
  content: ""; position: absolute; inset: -16px; border-radius: 999px;
  border: 1px solid var(--accent); animation: ripple 2.4s ease-out infinite;
}
@keyframes ripple { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

.about-card h4 { font-size: 14px; letter-spacing: 0.04em; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; font-weight: 400; }
.about-card .addr { font-family: var(--font-display); font-size: 22px; line-height: 1.25; }
.about-card .meta { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.about-card .meta a:hover { color: var(--accent); }

@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-card { position: static; }
}

/* — Process — */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 32px 24px 36px;
  border-right: 1px solid var(--line);
  position: relative;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.step:last-child { border-right: 0; }
.step .step-n {
  font-family: var(--font-display); font-size: 56px; font-weight: 300; line-height: 1;
  letter-spacing: -0.04em; color: var(--ink); position: relative;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.step .step-n .slash { color: var(--primary); font-size: 0.5em; }
.step h4 { margin-top: 28px; font-size: 22px; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.step .duration { margin-top: auto; padding-top: 24px; font-family: var(--font-mono); font-size: 11px; color: var(--primary); }

@media (max-width: 880px) { .process { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* — Testimonial — */
.testimonial {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.testimonial .container { position: relative; z-index: 2; }
.testimonial .quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 22ch;
}
.testimonial .quote em { color: var(--accent); font-style: italic; font-weight: 400; }
.testimonial .meta {
  margin-top: 48px;
  display: flex; gap: 16px; align-items: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: #ffffffaa;
}
.testimonial .meta .av {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 14px; color: #fff;
}
.testimonial .bg-cross {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px;
  opacity: 0.04;
}
.testimonial .bg-cross::before, .testimonial .bg-cross::after {
  content: ""; position: absolute; background: var(--bg);
}
.testimonial .bg-cross::before { left: 50%; top: 0; bottom: 0; width: 22%; transform: translateX(-50%); }
.testimonial .bg-cross::after  { top: 50%; left: 0; right: 0; height: 22%; transform: translateY(-50%); }

/* — CTA — */
.cta { padding: clamp(80px, 10vw, 140px) 0; }
.cta-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px;
  align-items: start;
}
.cta h2 { font-size: clamp(40px, 5.5vw, 80px); font-weight: 400; letter-spacing: -0.03em; }
.cta h2 em { color: var(--accent); font-style: italic; font-weight: 400; }
.cta-form {
  background: var(--paper); border: 1px solid var(--line);
  padding: 32px;
}
.field { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.field:last-of-type { border-bottom: 0; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: transparent; border: 0; outline: 0;
  font-size: 16px; padding: 4px 0;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field textarea { resize: none; min-height: 60px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 4px; }
.chip {
  border: 1px solid var(--line-strong); padding: 8px 14px; border-radius: 999px;
  font-size: 13px; cursor: pointer; transition: all 200ms ease;
  background: transparent;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.cta-form button[type="submit"] {
  margin-top: 20px;
  width: 100%; padding: 18px;
  background: var(--primary); color: #fff;
  font-size: 15px; letter-spacing: 0.02em;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  transition: background 220ms ease;
}
.cta-form button[type="submit"]:hover { background: var(--primary-deep); }
.cta-side { display: flex; flex-direction: column; gap: 28px; }
.cta-side .side-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cta-side .side-item .ico {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 2px;
}
.cta-side .side-item h5 { font-size: 14px; font-family: var(--font-display); font-weight: 500; }
.cta-side .side-item p, .cta-side .side-item a { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } }

/* — Footer — */
.footer {
  background: linear-gradient(180deg, var(--primary-deep), #1B4F82);
  color: #fff;
  padding: 80px 0 32px; border-top: 1px solid var(--line);
}
.footer .top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid #ffffff14;
}
.footer h6 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: #ffffff66; text-transform: uppercase; font-weight: 400; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: #ffffffcc; transition: color 200ms ease; }
.footer ul a:hover { color: var(--accent); }
.footer .big {
  font-family: var(--font-display); font-size: clamp(44px, 7vw, 100px);
  letter-spacing: -0.03em; font-weight: 300; line-height: 0.95;
}
.footer .big em { color: var(--accent); font-style: italic; font-weight: 400; }
.footer .bot {
  padding-top: 28px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: #ffffff66;
}
@media (max-width: 880px) { .footer .top { grid-template-columns: 1fr 1fr; } }

/* — Reveal on scroll — */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 800ms cubic-bezier(.5,0,.2,1), transform 800ms cubic-bezier(.5,0,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* Cursor follow accent */
.cursor-blob {
  position: fixed; pointer-events: none; z-index: 1;
  width: 380px; height: 380px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in oklab, var(--primary) 22%, transparent), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 400ms ease;
  opacity: 0;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .cursor-blob { mix-blend-mode: screen; }

/* Marquee text */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 28px 0;
}
.marquee-row {
  display: flex; gap: 80px; white-space: nowrap;
  animation: scroll-x 40s linear infinite;
  font-family: var(--font-display); font-size: clamp(40px, 6vw, 88px);
  font-weight: 400; letter-spacing: -0.03em;
  color: var(--ink-2);
}
.marquee-row span { display: inline-flex; align-items: center; gap: 80px; }
.marquee-row .dot { width: 14px; height: 14px; border-radius: 999px; background: var(--accent); }
.marquee-row em { color: var(--accent); font-style: italic; }

/* Variants */
.hero[data-variant="grid"] .hero-vis-grid { opacity: 1; }
.hero[data-variant="grid"] .crosshair, .hero[data-variant="grid"] svg.chart { display: none; }
.hero[data-variant="grid"] .hero-vis::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 60%; height: 60%; background: var(--primary);
  animation: spin-slow 22s linear infinite;
}
.hero[data-variant="grid"] .hero-vis::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 35%; height: 35%; background: var(--accent); transform: translate(-50%,-50%);
  box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 8px var(--accent);
  clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%);
}
@keyframes spin-slow { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero[data-variant="topo"] .chart, .hero[data-variant="topo"] .crosshair { display: none; }
.hero[data-variant="topo"] .hero-vis-grid { opacity: 0; }
.hero[data-variant="topo"] .topo { display: block; }
.topo { display: none; position: absolute; inset: 0; }
.topo path { fill: none; stroke: var(--primary-deep); stroke-width: 0.6; opacity: 0.25; }
.topo path.hot { stroke: var(--primary); opacity: 1; stroke-width: 1.6; }



/* ============ Premium subpage upgrades ============ */
.subhero{padding:200px 0 96px;border-bottom:1px solid var(--rule);position:relative;background:var(--bg);overflow:hidden}
.subhero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(var(--rule) 1px,transparent 1px),linear-gradient(90deg,var(--rule) 1px,transparent 1px);background-size:80px 80px;opacity:.4;mask-image:radial-gradient(ellipse 80% 60% at 70% 40%,black 0%,transparent 70%);-webkit-mask-image:radial-gradient(ellipse 80% 60% at 70% 40%,black 0%,transparent 70%);pointer-events:none}
.subhero .container{position:relative;z-index:2}
.subhero .eyebrow{display:inline-flex;align-items:center;gap:12px;color:var(--ink-2)}
.subhero .eyebrow::before{content:"";width:32px;height:1px;background:var(--primary)}
.subhero-title{font-family:'Inter Tight',sans-serif;font-weight:400;font-size:clamp(56px,8vw,112px);line-height:0.96;letter-spacing:-0.025em;color:var(--ink);max-width:16ch;text-wrap:balance;hyphens:auto;word-break:break-word;margin-top:24px}
.subhero-title em{font-style:italic;font-weight:300;color:var(--primary)}
.subhero-lede{margin-top:36px;max-width:60ch;font-size:clamp(19px,1.6vw,23px);line-height:1.55;color:var(--ink-2);font-weight:400}

/* Section spacing */
.section{padding:120px 0}

/* Two-col with refined sticky aside */
.two-col{display:grid;grid-template-columns:1.5fr 1fr;gap:120px;align-items:start}
@media (max-width:960px){.two-col{grid-template-columns:1fr;gap:64px}}

/* Section eyebrow inside two-col */
.two-col h2.h3{font-family:'Inter Tight',sans-serif;font-weight:500;font-size:clamp(28px,3.4vw,42px);letter-spacing:-0.02em;line-height:1.1;color:var(--ink);margin:0 0 8px}
.two-col h2.h3::before{content:attr(data-num);display:block;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:0.12em;color:var(--ink-2);margin-bottom:18px;font-weight:400}

/* Bullets */
.bullets{list-style:none;padding:0;margin:32px 0 0;border-top:1px solid var(--rule)}
.bullets li{padding:24px 0 24px 48px;border-bottom:1px solid var(--rule);font-size:18px;line-height:1.5;color:var(--ink);position:relative;font-family:'Inter Tight',sans-serif;font-weight:400;transition:padding-left .3s cubic-bezier(.7,0,.2,1)}
.bullets li::before{content:counter(item, decimal-leading-zero);counter-increment:item;position:absolute;left:0;top:24px;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:0.08em;color:var(--ink-2);font-weight:400}
.bullets li::after{content:"";position:absolute;left:32px;top:32px;width:8px;height:1px;background:var(--rule);transition:width .3s cubic-bezier(.7,0,.2,1),background .3s}
.bullets li:hover{padding-left:64px}
.bullets li:hover::after{width:24px;background:var(--primary)}
.bullets{counter-reset:item}

/* Aside card — premium dark */
.aside-card{background:var(--ink);color:#fff;padding:48px 40px;border-radius:0;position:sticky;top:120px;overflow:hidden;border-left:3px solid var(--primary)}
.aside-card::before{content:"";position:absolute;top:0;right:0;width:120px;height:120px;background:linear-gradient(135deg,transparent 50%,#ffffff08 50%);pointer-events:none}
.aside-card::after{content:"";position:absolute;bottom:-40px;right:-40px;width:200px;height:200px;border:1px solid #ffffff10;border-radius:50%;pointer-events:none}
.aside-card .num{color:var(--primary);font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;display:flex;align-items:center;gap:10px}
.aside-card .num::before{content:"";width:18px;height:1px;background:var(--primary)}
.aside-card h3{margin:24px 0 20px;color:#fff;font-family:'Inter Tight',sans-serif;font-weight:400;font-size:32px;letter-spacing:-0.02em;line-height:1.1}
.aside-card p{color:#ffffffb8;line-height:1.6;font-size:16px;font-weight:300}

/* Principles grid */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--ink);margin-top:48px}
@media (max-width:1100px){.grid-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.grid-4{grid-template-columns:1fr}}
.principle{padding:48px 32px 56px;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);position:relative;transition:background .3s}
.principle:last-child{border-right:none}
@media (max-width:1100px){.principle:nth-child(2n){border-right:none}}
@media (max-width:560px){.principle{border-right:none}}
.principle:hover{background:var(--bg-2)}
.principle .num{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:0.12em;color:var(--primary);font-weight:500}
.principle h3{margin:24px 0 14px;font-family:'Inter Tight',sans-serif;font-weight:500;font-size:22px;letter-spacing:-0.015em;line-height:1.2}
.principle p{color:var(--ink-2);line-height:1.6;font-size:15px;font-weight:400}

/* Contact page refinements */
.contact{display:grid;grid-template-columns:1.5fr 1fr;gap:96px;align-items:start}
@media (max-width:960px){.contact{grid-template-columns:1fr;gap:64px}}
.contact-form{display:grid;gap:36px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px}
@media (max-width:600px){.form-grid{grid-template-columns:1fr;gap:32px}}
.form-row label{display:block;font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:0.12em;text-transform:uppercase;color:var(--ink-2);margin-bottom:14px;font-weight:500}
.form-row input,.form-row textarea{width:100%;background:transparent;border:none;border-bottom:1px solid var(--rule);padding:14px 0;font-family:'Inter Tight',sans-serif;font-size:19px;color:var(--ink);transition:border-color .25s ease;font-weight:400}
.form-row input::placeholder,.form-row textarea::placeholder{color:var(--ink-2);opacity:.5;font-weight:300}
.form-row input:focus,.form-row textarea:focus{outline:none;border-color:var(--primary)}
.form-row textarea{resize:vertical;line-height:1.5}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{background:transparent;border:1px solid var(--rule);padding:12px 20px;border-radius:0;font-family:'Inter Tight',sans-serif;font-size:14px;color:var(--ink);cursor:pointer;transition:all .2s ease;font-weight:400;letter-spacing:-0.005em}
.chip:hover{border-color:var(--ink);background:var(--bg-2)}
.chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}

.contact-form .btn-primary{margin-top:16px;font-size:15px;padding:18px 32px;width:fit-content}

.contact-side{display:grid;gap:1px;background:var(--rule);border:1px solid var(--rule)}
.side-card{padding:32px 28px;background:var(--bg);transition:background .25s}
.side-card:hover{background:var(--bg-2)}
.side-card .num{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:0.12em;text-transform:uppercase;color:var(--ink-2);font-weight:500}
.side-card .big-link{display:block;margin-top:12px;font-family:'Inter Tight',sans-serif;font-size:24px;color:var(--ink);text-decoration:none;transition:color .25s;width:fit-content;letter-spacing:-0.015em;font-weight:400}
.side-card .big-link:hover{color:var(--primary)}
.side-card p{margin-top:12px;line-height:1.6;color:var(--ink);font-size:16px;font-weight:400}

/* Imprint / Privacy */
.section .container > h2.h3{font-family:'Inter Tight',sans-serif;font-weight:500;font-size:24px;letter-spacing:-0.015em;margin-top:56px;margin-bottom:14px;color:var(--ink);padding-top:32px;border-top:1px solid var(--rule)}
.section .container > h2.h3:first-child{margin-top:0;padding-top:0;border-top:none}
.section .container > p{font-size:17px;line-height:1.65;color:var(--ink-2);max-width:62ch}

/* subhero meta + loc */
.subhero-meta{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--ink-2)}
.subhero-loc{display:inline-flex;align-items:center;gap:10px}

/* aside stats */
.aside-stats{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:36px;padding-top:32px;border-top:1px solid #ffffff15;position:relative;z-index:2}
.aside-stats > div{display:flex;flex-direction:column;gap:6px}
.aside-stats strong{font-family:'Inter Tight',sans-serif;font-weight:400;font-size:32px;color:#fff;letter-spacing:-0.02em;line-height:1}
.aside-stats span{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:0.1em;text-transform:uppercase;color:#ffffff80}

/* Related services */
.related{padding:96px 0;background:var(--bg-2);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.related-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:32px}
@media (max-width:700px){.related-grid{grid-template-columns:1fr}}
.related-card{display:block;padding:48px 40px;background:var(--bg);border:1px solid var(--rule);text-decoration:none;color:var(--ink);transition:all .3s cubic-bezier(.7,0,.2,1);position:relative;overflow:hidden}
.related-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--primary);transform:scaleX(0);transform-origin:left;transition:transform .4s cubic-bezier(.7,0,.2,1)}
.related-card:hover{transform:translateY(-4px);box-shadow:0 24px 48px -24px rgba(15,42,71,0.12)}
.related-card:hover::after{transform:scaleX(1)}
.related-card .num{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:0.12em;color:var(--ink-2)}
.related-card h3{margin:18px 0 28px;font-family:'Inter Tight',sans-serif;font-weight:500;font-size:28px;letter-spacing:-0.02em;line-height:1.1}
.related-card .more{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--primary);display:inline-flex;align-items:center;gap:8px}

/* CTA row layout */
.cta-row{display:grid;grid-template-columns:1fr auto;gap:48px;align-items:center}
@media (max-width:760px){.cta-row{grid-template-columns:1fr;gap:32px}}
.cta-btn{font-size:16px !important;padding:20px 28px !important}
