/* ==========================================================================
   ECLATIT Limited — site styles
   Self-contained: no external fonts, CDNs or trackers.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --violet: #5f4efc;
  --violet-600: #4a3be0;
  --violet-700: #3626b8;
  --violet-100: #ecebff;
  --violet-50: #f5f4ff;
  --green: #08bc15;
  --green-bright: #2ee04a;
  --ink: #0b0a22;
  --ink-2: #141235;
  --ink-3: #1d1a4a;
  --paper: #fafaf7;
  --text: #1a1838;
  --muted: #5b5a73;
  --line: #e4e3ee;
  --line-dark: rgba(255, 255, 255, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet-700); }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--green-bright); color: var(--ink); padding: 10px 16px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--mist { background: var(--violet-50); }
.section--dark { background: var(--ink); color: #c9c8e0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead { color: #a9a8c8; }

/* Eyebrow with the logo's green chevron */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 12px; height: 12px; flex: none;
  background: var(--green);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 30% 50%);
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #b9b2ff; }
.section--dark .eyebrow::before, .hero .eyebrow::before, .page-hero .eyebrow::before { background: var(--green-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 0.97rem; letter-spacing: -0.01em;
  padding: 15px 24px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--violet); color: #fff; box-shadow: 0 10px 30px -10px rgba(95, 78, 252, 0.7); }
.btn--primary:hover { background: var(--violet-600); color: #fff; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--violet-100); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--violet); color: var(--violet); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 34, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: #cfcde6; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 9px 14px; border-radius: 999px; transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav .btn { margin-left: 10px; padding: 11px 20px; color: #fff; }
.nav .btn:hover { background: var(--violet-600); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: #fff;
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-open { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--pad) 28px; background: var(--ink); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9c8e0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(95, 78, 252, 0.42), transparent 60%),
    radial-gradient(700px 500px at 8% 100%, rgba(95, 78, 252, 0.22), transparent 60%),
    var(--ink);
  margin-top: -77px; padding-top: 77px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
}
.hero > .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  min-height: min(86vh, 820px); padding-top: 72px; padding-bottom: 96px;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, #b4acff 0%, #8f82ff 45%, var(--green-bright) 100%); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #b3b1d0; margin-bottom: 36px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-art .route { stroke-dasharray: 6 10; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.hero-art .pulse { transform-origin: center; transform-box: fill-box; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(2.6); opacity: 0; } }
.hero-art .float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero > .container { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; padding-bottom: 72px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
}

/* Facts strip */
.facts { border-top: 1px solid var(--line-dark); position: relative; z-index: 1; }
.facts .container { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 0; padding-bottom: 0; }
.fact { padding: 30px 24px 34px 0; border-right: 1px solid var(--line-dark); }
.fact + .fact { padding-left: 28px; }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.04em; color: #fff; line-height: 1.1; }
.fact span { font-size: 0.92rem; color: #9b99bd; }
@media (max-width: 760px) {
  .facts .container { grid-template-columns: 1fr 1fr; }
  .fact { padding: 24px 12px 26px 0; }
  .fact + .fact { padding-left: 0; }
  .fact:nth-child(2n) { border-right: 0; padding-left: 20px; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #b3b1d0;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(95, 78, 252, 0.45), transparent 62%),
    var(--ink);
  margin-top: -77px; padding: calc(77px + clamp(64px, 9vw, 120px)) 0 clamp(64px, 8vw, 104px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; }
.page-hero .lead { color: #b3b1d0; }
.page-hero::before {
  content: ""; position: absolute; right: -120px; bottom: -180px; width: 520px; height: 520px;
  background: linear-gradient(145deg, rgba(95,78,252,0.55), rgba(95,78,252,0));
  clip-path: polygon(8% 4%, 96% 50%, 8% 96%);
  border-radius: 40px; opacity: 0.55; pointer-events: none;
}
.crumbs { font-size: 0.88rem; margin-bottom: 26px; color: #8e8cb3; }
.crumbs a { color: #b9b2ff; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.split--center { align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--violet); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--5 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover { transform: translateY(-4px); border-color: #d3d0f5; box-shadow: 0 24px 50px -28px rgba(54, 38, 184, 0.35); }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }
.card h3 { margin-bottom: 0.45em; }
.card .num { font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--violet); letter-spacing: 0.08em; margin-bottom: 26px; display: block; }
.icon-tile {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--violet-100); color: var(--violet);
}
.icon-tile svg { width: 24px; height: 24px; }
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .card:hover { border-color: rgba(185, 178, 255, 0.35); box-shadow: 0 24px 60px -30px rgba(95, 78, 252, 0.6); }
.section--dark .card p { color: #a9a8c8; }
.section--dark .icon-tile { background: rgba(95, 78, 252, 0.18); color: #c3bdff; }

.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.mini-card h4 { margin-bottom: 6px; }
.mini-card p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ---------- Portfolio feature ---------- */
.feature {
  position: relative; overflow: hidden; border-radius: 32px; color: #d6d4ee;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(46, 224, 74, 0.16), transparent 60%),
    linear-gradient(135deg, #1b1755 0%, #3626b8 55%, #5f4efc 100%);
  padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.feature h2, .feature h3 { color: #fff; }
.feature .eyebrow { color: #d9d5ff; }
.feature .eyebrow::before { background: var(--green-bright); }
.feature p { color: #d6d4ee; }
.feature .tag { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); margin: 0 6px 8px 0; }
.feature-panel { background: rgba(11, 10, 34, 0.35); border: 1px solid rgba(255,255,255,0.14); border-radius: 22px; padding: 28px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.feature-panel ul { list-style: none; margin: 0; padding: 0; }
.feature-panel li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); color: #e9e8f8; font-weight: 500; }
.feature-panel li:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-panel li:first-child { padding-top: 0; }
.feature-panel li span { color: #aaa6d6; font-weight: 400; display: block; font-size: 0.92rem; }
.chev { flex: none; width: 12px; height: 12px; margin-top: 7px; background: var(--green-bright); clip-path: polygon(0 0, 100% 50%, 0 100%, 30% 50%); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Structure diagram ---------- */
.structure { display: grid; gap: 0; justify-items: center; text-align: center; }
.node {
  width: min(100%, 460px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px;
  box-shadow: 0 20px 40px -30px rgba(54, 38, 184, 0.35);
}
.node--primary { background: var(--ink); border-color: var(--ink); color: #b3b1d0; }
.node--primary h3 { color: #fff; }
.node--accent { background: linear-gradient(135deg, #3626b8, #5f4efc); border: 0; color: #e2e0ff; }
.node--accent h3 { color: #fff; }
.node h3 { margin: 6px 0 4px; font-size: 1.3rem; }
.node p { margin: 0; font-size: 0.93rem; }
.node .kicker { font-family: var(--display); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); }
.node--primary .kicker, .node--accent .kicker { color: #b9b2ff; }
.node--accent .kicker { color: #d9d5ff; }
.connector { width: 2px; height: 46px; background: linear-gradient(var(--violet), var(--green)); position: relative; }
.connector::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 12px; height: 12px; transform: translateX(-50%) rotate(90deg); background: var(--green); clip-path: polygon(0 0, 100% 50%, 0 100%, 30% 50%); }
.connector-label { font-size: 0.8rem; color: var(--muted); padding: 6px 0; font-weight: 600; }

/* ---------- Offices ---------- */
.office {
  position: relative; border-radius: var(--radius); padding: clamp(28px, 3.5vw, 40px); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
}
.office .flag { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--violet); display: block; margin-bottom: 18px; }
.office h3 { font-size: 1.7rem; margin-bottom: 14px; }
.office address { font-style: normal; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.office dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 0.92rem; padding-top: 18px; border-top: 1px solid var(--line); }
.office dt { color: var(--muted); }
.office dd { margin: 0; font-weight: 600; color: var(--ink); }
.office .coord { position: absolute; right: 24px; top: 24px; font-family: var(--display); font-size: 0.78rem; color: #a6a4bf; letter-spacing: 0.04em; }
.section--dark .office { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .office address { color: #d6d4ee; }
.section--dark .office dl { border-color: var(--line-dark); }
.section--dark .office dt { color: #8e8cb3; }
.section--dark .office dd { color: #fff; }
.section--dark .office .flag { color: #b9b2ff; }
.section--dark .office .coord { color: #5f5d86; }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px;
  text-decoration: none; color: var(--text);
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-item:hover { border-color: var(--violet); transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(54, 38, 184, 0.4); color: var(--text); }
.contact-item .icon-tile { margin: 0; }
.contact-item h3 { font-size: 1.1rem; margin: 0 0 2px; }
.contact-item p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.contact-item .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-50); color: var(--violet); transition: background-color 0.25s, color 0.25s; }
.contact-item:hover .go { background: var(--violet); color: #fff; }
.contact-item .go svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .contact-item { grid-template-columns: 1fr auto; } .contact-item .icon-tile { display: none; } }

.email-hero {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3.6vw, 2.6rem); letter-spacing: -0.03em;
  color: #fff; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,0.2); padding-bottom: 6px;
  transition: border-color 0.25s;
}
.email-hero:hover { color: #fff; border-color: var(--green-bright); }
.copy-btn {
  font-family: var(--body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0;
  background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background-color 0.2s;
}
.copy-btn:hover { background: rgba(255,255,255,0.18); }
.note { font-size: 0.9rem; color: var(--muted); }
.callout {
  border-left: 3px solid var(--green); background: #fff; border-radius: 0 14px 14px 0;
  padding: 18px 22px; color: var(--muted); font-size: 0.95rem;
}
.callout strong { color: var(--ink); }

/* ---------- Tables ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.data-table th, .data-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-family: var(--display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--violet-50); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.table-wrap { overflow-x: auto; border-radius: 18px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 7vw, 88px);
  background:
    radial-gradient(500px 300px at 90% 110%, rgba(46, 224, 74, 0.22), transparent 60%),
    radial-gradient(700px 400px at 0% 0%, rgba(95, 78, 252, 0.6), transparent 60%),
    var(--ink);
  color: #b3b1d0; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: end;
}
.cta h2 { color: #fff; max-width: 18ch; margin-bottom: 0.3em; }
.cta p { margin: 0; max-width: 56ch; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9b99bd; padding: clamp(64px, 8vw, 96px) 0 36px; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 32px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cfcde6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-legal { padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.84rem; color: #7d7ba3; }
.footer-legal p { margin: 0; max-width: 90ch; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--display); font-weight: 700; font-size: clamp(6rem, 18vw, 12rem); letter-spacing: -0.06em; line-height: 1; color: transparent; background: linear-gradient(120deg, #b4acff, var(--violet) 50%, var(--green-bright)); -webkit-background-clip: text; background-clip: text; margin-bottom: 10px; }
.notfound .btn-row { justify-content: center; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
.js .reveal.d4 { transition-delay: 0.32s; }

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

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(40px, 6vw, 64px); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media print {
  .site-header, .nav-toggle, .cta, .hero-art { display: none !important; }
  .hero, .page-hero, .section--dark, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
.mt-lg-sm { margin-top: 18px; }
.page-hero h1 sup { font-size: 0.3em; vertical-align: super; color: #b9b2ff; letter-spacing: 0; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
@media (min-width: 901px) { .split > .reveal:first-child { position: sticky; top: 120px; } }
.nav .btn[aria-current="page"] { background: var(--violet); color: #fff; }
.copy-btn { margin-left: 14px; vertical-align: middle; }
.grid--5 .card { padding: 24px 22px; }
.grid--5 .card h3 { font-size: 1.12rem; }
section[id] { scroll-margin-top: 90px; }
.cta .email-hero { font-size: clamp(1.4rem, 3vw, 2.2rem); }
@media (max-width: 760px) {
  .facts .container { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(2n) { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line-dark); }
  .fact:last-child { border-bottom: 0; }
}
