/* Alfa Venture. Design tokens: brand navy + brand gold on a cool white canvas.
   Shape rule: buttons and chips are full pills, panels and tiles are 16px, inputs none. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #052754;
  --navy-deep: #031634;
  --navy-2: #0c3a73;
  --blue-glow: #2a5fb0;
  --gold: #b58739;
  --gold-ink: #7f5a1c;      /* gold for small text on white, 5.6:1 */
  --gold-soft: #e9d9b8;
  --ink: #0a2142;
  --ink-2: #33465f;
  --mute: #56677d;
  --canvas: #ffffff;
  --canvas-soft: #f3f6fa;
  --hairline: #dfe5ed;
  --on-dark: #ffffff;
  --on-dark-2: #c6d2e3;
  --r-panel: 16px;
  --r-pill: 999px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-1: 0 1px 3px rgba(5, 39, 84, 0.08);
  --shadow-2: 0 18px 48px -12px rgba(5, 39, 84, 0.28), 0 4px 12px rgba(5, 39, 84, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
::selection { background: var(--gold-soft); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #b8c4d4 var(--canvas-soft); }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Type scale: thin display with negative tracking */
h1, h2, h3 { font-weight: 300; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: clamp(21px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 400; }
p { text-wrap: pretty; }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 34em; }
.intro { color: var(--ink-2); max-width: 62ch; margin-top: 18px; font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; min-height: 48px;
  border-radius: var(--r-pill); font: inherit; font-size: 16px; font-weight: 500;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), transform .15s var(--ease-out), border-color .25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-solid { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.btn-solid:hover { background: var(--navy-2); }
.btn-line { background: transparent; color: var(--navy); border: 1px solid #b9c5d6; }
.btn-line:hover { border-color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy-deep); border: 1px solid var(--gold); }
.btn-gold:hover { background: #c69a4e; }
.btn .icon { transition: transform .3s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--hairline); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: block; width: 188px; flex: none; }
.brand img { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.lang { display: inline-flex; border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.lang a, .lang span { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; padding: 5px 10px; border-radius: var(--r-pill); text-decoration: none; line-height: 1; }
.lang [aria-current="true"] { background: var(--navy); color: #fff; }
.lang a:hover { color: var(--navy); background: var(--canvas-soft); }
.menu-btn { display: none; order: 3; }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: none; font-size: clamp(36px, 4.6vw, 60px); }
.hero h1 span { display: block; }
.hero .lede { margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-panel);
  background: var(--navy-deep);
  color: var(--on-dark);
}
.mesh { position: absolute; inset: 0; z-index: -1; }
/* soft blobs drawn as radial gradients (no CSS blur filter: Safari clips blurred layers into hard bars) */
.mesh span { position: absolute; border-radius: 50%; opacity: .9; background: radial-gradient(closest-side, var(--c) 20%, transparent 100%); }
.mesh .m1 { --c: var(--navy-2); width: 100%; aspect-ratio: 1; left: -32%; top: -40%; }
.mesh .m2 { --c: var(--blue-glow); width: 90%; aspect-ratio: 1; right: -30%; top: 2%; opacity: .55; }
.mesh .m3 { --c: var(--gold); width: 70%; aspect-ratio: 1; left: 12%; bottom: -46%; opacity: .38; }
.panel::after { /* fine grain so the gradient does not band */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-visual { aspect-ratio: 5 / 5.4; display: grid; place-items: center; box-shadow: var(--shadow-2); }
.hero-visual svg { width: 58%; height: auto; overflow: visible; }
.hero-visual .gridlines { position: absolute; inset: 0; z-index: -1; opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%);
}
.mk-navy { fill: #ffffff; }
.mk-gold { fill: var(--gold); }
.hero-visual .caption { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; font-size: 13px; color: var(--on-dark-2); letter-spacing: 0.02em; }

/* Signature motion: the mark is drawn, then filled */
@media (prefers-reduced-motion: no-preference) {
  .js .draw path { stroke-width: 2; stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); fill-opacity: 0;
    animation: draw 1.6s var(--ease-out) forwards, fillin .9s var(--ease-out) forwards; }
  .js .draw .mk-navy { stroke: #fff; }
  .js .draw .mk-gold { stroke: var(--gold); }
  .js .draw path:nth-child(2) { animation-delay: .15s, 1.05s; }
  .js .draw path:nth-child(3) { animation-delay: .3s, 1.1s; }
  .js .draw path:nth-child(4) { animation-delay: .45s, 1.2s; }
  .js .draw path:nth-child(5) { animation-delay: .6s, 1.25s; }
  .js .draw path:nth-child(1) { animation-delay: 0s, 1s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fillin { to { fill-opacity: 1; stroke-width: 0; } }
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* Facts band */
.facts { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--canvas-soft); }
.facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts div { padding: 26px 0; }
.facts div + div { border-left: 1px solid var(--hairline); padding-left: clamp(16px, 3vw, 40px); }
.facts dt { font-size: 14px; color: var(--mute); }
.facts dd { font-size: 18px; color: var(--navy); margin-top: 4px; letter-spacing: -0.01em; }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Services bento: 1 large + 2 stacked */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.tile { border-radius: var(--r-panel); padding: clamp(28px, 3.2vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.tile p { color: var(--ink-2); }
.tile-lg { grid-row: span 2; min-height: 460px; justify-content: flex-end; }
.tile-lg h3 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); font-weight: 300; letter-spacing: -0.025em; }
.tile-lg p { color: var(--on-dark-2); font-size: 18px; max-width: 34em; }
.tile-lg .tile-mark { position: absolute; right: -6%; top: -8%; width: 58%; opacity: .14; }
.tile-soft { background: var(--canvas-soft); border: 1px solid var(--hairline); }
.tile-gold { background: linear-gradient(160deg, #f7efe0 0%, #efe1c4 100%); border: 1px solid #e6d3ad; }
.tile-gold p { color: #4b3a1c; }
.tile .tag { align-self: flex-start; font-size: 13px; font-weight: 500; color: var(--gold-ink); border: 1px solid #dcc69c; border-radius: var(--r-pill); padding: 4px 12px; background: rgba(255,255,255,.55); }
.tile-lg .tag { color: var(--gold-soft); border-color: rgba(233, 217, 184, .35); background: transparent; }

/* Outcomes: typographic rows */
.outcomes { border-top: 1px solid var(--hairline); }
.outcome { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.outcome h3 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; }
.outcome h3 em { font-style: normal; color: var(--gold); }
.outcome p { font-size: 19px; color: var(--ink-2); max-width: 40ch; }

/* Sectors */
.sectors { background: var(--canvas-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.chips li { font-size: clamp(17px, 1.6vw, 21px); padding: 12px 22px; border-radius: var(--r-pill); border: 1px solid #c4cfdd; color: var(--navy); background: var(--canvas); letter-spacing: -0.01em; }
.chips li.core { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips-note { margin-top: 22px; font-size: 14px; color: var(--mute); display: flex; align-items: center; gap: 10px; }
.chips-note i { width: 12px; height: 12px; border-radius: 50%; background: var(--navy); display: inline-block; }

/* Process timeline */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--hairline) 85%); }
.step { position: relative; padding-top: 64px; }
.step-n { position: absolute; top: 0; left: 0; width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); border: 1px solid var(--gold); color: var(--gold-ink); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; line-height: 1.3; letter-spacing: -0.02em; color: var(--navy); margin-top: 28px; }
.about-body { margin-top: 24px; color: var(--ink-2); max-width: 60ch; }
.firm-card { border: 1px solid var(--hairline); border-radius: var(--r-panel); padding: 32px; box-shadow: var(--shadow-1); }
.firm-card img { width: 64px; height: auto; margin-bottom: 24px; }
.firm-card dl div { padding: 14px 0; border-top: 1px solid var(--hairline); }
.firm-card dt { font-size: 13px; color: var(--mute); }
.firm-card dd { color: var(--navy); margin-top: 2px; }

/* Contact */
.contact .panel { padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.contact h2 { color: #fff; max-width: 14ch; }
.contact .panel p { color: var(--on-dark-2); margin-top: 16px; max-width: 40ch; font-size: 18px; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark-2); font-size: 16px; }
.contact-list .icon { color: var(--gold); margin-top: 3px; }
.contact-list a { color: #fff; }
.contact-list .mail { position: relative; display: inline-block; font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.01em; text-decoration: none; padding-bottom: 4px; }
.contact-list .mail::before, .contact-list .mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.35); }
.contact-list .mail::after { background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.contact-list .mail:hover::after, .contact-list .mail:focus-visible::after { transform: scaleX(1); }
.contact .cta-row { margin-top: 28px; }

/* Footer */
.site-footer { padding: 56px 0 40px; color: var(--mute); font-size: 14px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid var(--hairline); }
.foot-top img { width: 160px; height: auto; }
.foot-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--navy); text-decoration: underline; }
.legal { margin-top: 24px; max-width: 90ch; font-size: 13px; line-height: 1.6; }
.foot-bottom { margin-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Legal / document pages */
.doc { padding: clamp(40px, 7vw, 88px) 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 4.4vw, 48px); }
.doc .meta { color: var(--mute); margin-top: 12px; font-size: 15px; }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; font-weight: 400; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.doc a { color: var(--navy); }
.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound p { margin-top: 18px; color: var(--ink-2); }

/* Tablet */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 10; }
  .hero-visual svg { width: 34%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .about-grid, .contact .panel { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 860px) {
  .brand { width: 156px; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--hairline); background: var(--canvas); color: var(--navy); cursor: pointer; }
  .menu-btn .icon { width: 22px; height: 22px; }
  .menu-btn .i-close { display: none; }
  .menu-open .menu-btn .i-open { display: none; }
  .menu-open .menu-btn .i-close { display: block; }
  .js .nav-links { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--canvas); border-bottom: 1px solid var(--hairline); box-shadow: 0 24px 40px -24px rgba(5,39,84,.25); }
  .js .menu-open .nav-links { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--hairline); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 18px; }
  .nav-links a { display: block; padding: 16px 0; font-size: 18px; color: var(--navy); }
  .lang a, .lang span { padding: 8px 14px; font-size: 13px; }
  .lang a { display: inline-block; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .hero-visual svg { width: 40%; }
  .hero-visual .caption { font-size: 12px; left: 18px; right: 18px; bottom: 14px; }
  .facts dl { grid-template-columns: 1fr; }
  .facts div { padding: 16px 0; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--hairline); padding-left: 0; }
  .bento { grid-template-columns: 1fr; }
  .tile-lg { grid-row: auto; min-height: 380px; }
  .outcome { grid-template-columns: 1fr; gap: 10px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { padding: 0 0 32px 64px; }
  .step::before { content: ""; position: absolute; left: 21px; top: 43px; bottom: 0; width: 1px; background: var(--hairline); }
  .step:last-child::before { display: none; }
  .step:last-child { padding-bottom: 0; }
  .step-n { top: 0; }
  .step h3 { padding-top: 8px; }
  .firm-card { padding: 24px; }
  .foot-bottom { flex-direction: column; }
}

@media print {
  .site-header, .menu-btn, .hero-visual, .mesh { display: none !important; }
  .panel { background: none; color: #000; }
}

/* ================= Motion layer =================
   Scroll: sections rise in, children stagger, the process line draws, the hero mark drifts.
   Hover: cursor light on navy panels, hero tilt, lifted tiles, sliding outcome rows. */
.glow { position: absolute; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; z-index: -1; pointer-events: none; opacity: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 179, 106, .28), rgba(42, 95, 176, .18) 40%, transparent 70%);
  transform: translate3d(var(--gx, 50%), var(--gy, 50%), 0); will-change: transform, opacity; transition: opacity .5s var(--ease-out); }
.nav-links a:not(.lang a) { position: relative; }
.btn-solid, .btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-solid::after, .btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-110%);
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.22) 50%, transparent 80%); }

@media (prefers-reduced-motion: no-preference) {
  /* stagger children of a revealed group */
  .js .reveal { transition-delay: calc(var(--i, 0) * 110ms); }
  .js .chips.reveal { opacity: 1; transform: none; }
  .js .chips li { opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background-color .3s, color .3s, border-color .3s; transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s, 0s; }
  .js .chips.in li { opacity: 1; transform: none; }

  .js .steps.reveal { opacity: 1; transform: none; }
  .js .steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) .1s; }
  .js .steps.in::before { transform: scaleX(1); }
  .js .step { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(.25s + var(--i, 0) * 220ms); }
  .js .steps.in .step { opacity: 1; transform: none; }
  .js .step-n { transition: background-color .4s, color .4s, transform .4s var(--ease-out); }
  .js .steps.in .step-n { animation: pop .6s var(--ease-out) both; animation-delay: calc(.35s + var(--i, 0) * 220ms); }
  @keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

  .js .section-head.reveal h2 { clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path 1s var(--ease-out), transform 1s var(--ease-out); }
  .js .section-head.reveal.in h2 { clip-path: inset(0 0 -10% 0); transform: none; }

  .js .outcome h3 em { display: inline-block; transform: scale(0); transition: transform .6s var(--ease-out); transition-delay: calc(.3s + var(--i, 0) * 110ms); }
  .js .outcome.in h3 em { transform: scale(1); }

  .js .facts div { opacity: 0; transform: translateY(10px); animation: rise .8s var(--ease-out) forwards; }
  .js .facts div:nth-child(1) { animation-delay: .9s; } .js .facts div:nth-child(2) { animation-delay: 1.02s; } .js .facts div:nth-child(3) { animation-delay: 1.14s; }
  .js .hero h1 span, .js .hero .lede, .js .hero .cta-row { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) forwards; }
  .js .hero h1 span:nth-child(2) { animation-delay: .12s; }
  .js .hero .lede { animation-delay: .26s; } .js .hero .cta-row { animation-delay: .4s; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  /* hero mark drifts as the page scrolls (scroll-driven, no JS) */
  @supports (animation-timeline: scroll()) {
    .hero-visual .gridlines { animation: grid-drift linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
    .hero-visual .mesh { animation: mesh-drift linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
    @keyframes grid-drift { to { background-position: 0 -120px; } }
    @keyframes mesh-drift { to { transform: translateY(-60px) scale(1.12); } }
    .facts { view-timeline-name: --facts; }
  }

  /* hero 3D tilt follows the cursor (values set by JS) */
  .hero-visual { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); will-change: transform; }
  .hero-visual svg { transform: translate3d(var(--tx, 0), var(--ty, 0), 0); transition: transform .6s var(--ease-out); }

  @media (hover: hover) {
    [data-glow]:hover .glow { opacity: 1; }
    .hero-visual:hover { box-shadow: 0 30px 70px -18px rgba(5, 39, 84, .42), 0 6px 16px rgba(5, 39, 84, .1); }

    .nav-links a:not(.lang a)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
    .nav-links a:not(.lang a):hover::after { transform: scaleX(1); transform-origin: left; }

    .btn-solid:hover::after, .btn-gold:hover::after { transform: translateX(110%); transition: transform .8s var(--ease-out); }
    .btn-line:hover { background: var(--canvas-soft); }

    .tile { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s, opacity .8s var(--ease-out); }
    .tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
    .tile-gold { background-size: 140% 140%; background-position: 0% 0%; transition: background-position .9s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity .8s var(--ease-out); }
    .tile-gold:hover { background-position: 100% 100%; border-color: var(--gold); }
    .tile-soft:hover { border-color: #b9c5d6; }
    .tile-lg .tile-mark { transition: transform 1.2s var(--ease-out), opacity .6s; }
    .tile-lg:hover .tile-mark { transform: translate(-4%, 6%) rotate(-4deg) scale(1.05); opacity: .22; }

    .outcome h3, .outcome p { transition: transform .5s var(--ease-out), color .4s; }
    .outcome:hover h3 { transform: translateX(12px); }
    .outcome:hover p { color: var(--navy); }
    .outcome:hover h3 em { transform: scale(1.6); }
    .outcome { background: linear-gradient(90deg, var(--canvas-soft), var(--canvas-soft)) no-repeat left / 0% 100%; transition: background-size .7s var(--ease-out), opacity .8s var(--ease-out), transform .8s var(--ease-out); }
    .outcome:hover { background-size: 100% 100%; }

    .chips li { cursor: default; }
    .chips li:hover { transform: translateY(-3px); border-color: var(--navy); background: var(--navy); color: #fff; }
    .chips li.core:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

    .step:hover .step-n { background: var(--gold); color: #fff; transform: scale(1.12); }
    .step h3 { transition: color .3s; }
    .step:hover h3 { color: var(--gold-ink); }

    .firm-card { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity .8s var(--ease-out); }
    .firm-card img { transition: transform .9s var(--ease-out); }
    .firm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
    .firm-card:hover img { transform: rotate(-6deg) scale(1.08); }

    .foot-links a { background: linear-gradient(var(--navy), var(--navy)) no-repeat left bottom / 0% 1px; transition: background-size .4s var(--ease-out), color .2s; }
    .foot-links a:hover { text-decoration: none; background-size: 100% 1px; }
  }
}
