/* palette: bg=#F5F7FB fg=#141B2B accent=#3E7BF5 */
/* fonts: display="Space Grotesk" body="IBM Plex Sans" mono="JetBrains Mono" */

:root {
  --bg: #F5F7FB;
  --bg-top: #E7EDFA;        /* soft lavender-blue wash at top of hero */
  --bg-alt: #EDF1F8;        /* alternating light section */
  --surface: #FFFFFF;
  --surface-soft: #F0F3F9;
  --fg: #141B2B;            /* primary text / near-navy */
  --fg-soft: #39424F;
  --muted: #697688;         /* secondary text */
  --accent: #3E7BF5;        /* brand blue from reference hero/CTA */
  --accent-deep: #2B5FD6;   /* hover */
  --accent-wash: #E7EEFE;
  --ink: #1A1E26;           /* dark inverted band */
  --ink-soft: #272C35;
  --on-ink: #EEF1F6;
  --on-ink-muted: #9AA3B2;
  --border: rgba(20, 27, 43, 0.10);
  --border-strong: rgba(20, 27, 43, 0.16);
  --shadow-sm: 0 4px 24px -6px rgba(20, 27, 43, 0.10);
  --shadow-md: 0 14px 44px -12px rgba(20, 27, 43, 0.18);
  --shadow-lg: 0 30px 70px -24px rgba(20, 27, 43, 0.28);
  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: clamp(72px, 12vw, 150px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  letter-spacing: -0.025em;
  margin: 20px 0 0;
  font-weight: 500;
}
.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 20px;
  max-width: 620px;
}
.section-head--center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--dark { background: var(--fg); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(62, 123, 245, 0.55); }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(62, 123, 245, 0.55); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--border-strong); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--on-ink { background: #fff; color: var(--ink); }
.btn--on-ink:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--accent-deep); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  transition: padding 0.4s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 12px 9px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 0 rgba(20, 27, 43, 0.04);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header[data-scrolled="true"] .header__inner {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--fg);
  color: #fff;
}
.brand__mark svg { width: 17px; height: 17px; }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 30px; }
  .nav a {
    font-size: 0.95rem;
    color: var(--fg-soft);
    font-weight: 400;
    transition: color 0.25s var(--ease);
    position: relative;
  }
  .nav a:hover { color: var(--fg); }
  .nav a[aria-current="page"] { color: var(--fg); }
}
.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }
.header__cta.btn { padding: 11px 22px; }

/* Hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 50%;
  align-items: center;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block; width: 20px; height: 1.6px;
  background: var(--fg); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 96px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 24px; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 9vw, 108px) 0 clamp(60px, 9vw, 110px);
  background:
    radial-gradient(120% 90% at 50% -10%, var(--bg-top) 0%, rgba(231, 237, 250, 0) 55%),
    var(--bg);
  overflow: hidden;
}
.hero__eyebrow { display: flex; justify-content: center; margin-bottom: 28px; }
.hero h1 {
  text-align: center;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 15ch;
  margin: 0 auto;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 54ch;
  margin: 26px auto 0;
}

.hero__grid {
  margin-top: clamp(44px, 7vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 0.9fr);
    gap: 40px;
  }
}
.hero__stat { text-align: left; }
.hero__stat-ic {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent);
  margin-bottom: 18px;
}
.hero__stat-ic svg { width: 18px; height: 18px; }
.hero__stat-num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.hero__stat-label { color: var(--fg-soft); margin-top: 12px; font-size: 1rem; }
.hero__stat-sub { color: var(--muted); font-size: 0.85rem; margin-top: 6px; font-family: var(--mono); letter-spacing: 0.02em; }

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
  position: relative;
  border: 1px solid rgba(255,255,255,0.5);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__aside p { color: var(--fg-soft); font-size: 1.02rem; }
.hero__aside .btn { margin-top: 22px; }

/* ---------- Logo strip ---------- */
.marquee-wrap { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.logos { padding: 34px 0; }
.logos__label {
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 34px;
}
.logos__row span {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--fg-soft);
  opacity: 0.72;
  letter-spacing: -0.01em;
  transition: opacity 0.3s var(--ease);
}
.logos__row span:hover { opacity: 1; }

/* ---------- Dark manifesto band ---------- */
.band {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  padding: clamp(80px, 14vw, 170px) 0;
}
.band__bg { position: absolute; inset: 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; filter: grayscale(0.3); }
.band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,30,38,0.72) 0%, rgba(26,30,38,0.92) 100%);
  z-index: 1;
}
.band .container { position: relative; z-index: 2; }
.band__eyebrow { color: var(--accent); justify-content: center; }
.band__eyebrow::before { background: var(--accent); }
.band__lead {
  text-align: center;
  color: var(--on-ink-muted);
  max-width: 62ch;
  margin: 26px auto 0;
  font-size: 1.08rem;
}
.band__statement {
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 34px auto 0;
  color: #fff;
}
.band__statement em { font-style: normal; color: var(--accent); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__ic {
  width: 56px; height: 56px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent-wash), #fff);
  border: 1px solid var(--border);
  color: var(--accent);
  margin-bottom: 22px;
}
.card__ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.42rem; font-weight: 500; letter-spacing: -0.02em; }
.card p { color: var(--muted); margin-top: 12px; font-size: 1rem; line-height: 1.68; }
.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.card__tags span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--fg-soft);
  border: 1px solid var(--border);
}

/* ---------- Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--surface);
  padding: 34px 26px;
  text-align: center;
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label { color: var(--muted); font-size: 0.92rem; margin-top: 12px; line-height: 1.5; }

/* ---------- Case studies ---------- */
.work {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) { .work { grid-template-columns: repeat(3, 1fr); } }
.work-card { display: flex; flex-direction: column; }
.work-card__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__cat {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 20px;
}
.work-card h3 { font-size: 1.3rem; font-weight: 500; margin-top: 10px; letter-spacing: -0.02em; }
.work-card p { color: var(--muted); margin-top: 10px; font-size: 0.98rem; }
.work-card .link-arrow { margin-top: 16px; font-size: 0.92rem; }

/* ---------- Steps / approach ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); padding: 32px 26px 36px; }
.step__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}
.step h3 { font-size: 1.22rem; font-weight: 500; margin-top: 18px; letter-spacing: -0.02em; }
.step p { color: var(--muted); margin-top: 11px; font-size: 0.97rem; line-height: 1.66; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.quote__mark { font-family: var(--display); font-size: 3rem; line-height: 0.5; color: var(--accent); height: 28px; }
.quote p { font-size: 1.12rem; line-height: 1.6; color: var(--fg-soft); letter-spacing: -0.01em; }
.quote__by { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}
.quote__by cite { font-style: normal; }
.quote__by cite b { display: block; font-weight: 600; font-size: 0.98rem; }
.quote__by cite span { color: var(--muted); font-size: 0.86rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  padding: 26px 4px;
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.faq__q span.ic {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
}
.faq__q span.ic::before, .faq__q span.ic::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq__q span.ic::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq__q span.ic::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq__item[data-open="true"] .faq__q span.ic::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__a-inner { padding: 0 4px 28px; color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  border-radius: clamp(18px, 3vw, 28px);
  padding: clamp(48px, 8vw, 92px) clamp(28px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 120% at 50% -20%, rgba(62,123,245,0.28) 0%, rgba(62,123,245,0) 60%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 500; letter-spacing: -0.025em; max-width: 18ch; margin: 0 auto; }
.cta p { color: var(--on-ink-muted); max-width: 54ch; margin: 22px auto 0; font-size: 1.08rem; }
.cta .btn { margin-top: 32px; }
.cta__note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--on-ink-muted); margin-top: 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.contact-info h2 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 500; letter-spacing: -0.025em; }
.contact-info p.lead { color: var(--muted); margin-top: 18px; font-size: 1.06rem; }
.contact-list { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.contact-list__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__ic {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 11px; background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--accent);
}
.contact-list__ic svg { width: 18px; height: 18px; }
.contact-list__item .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list__item .val { font-size: 1.04rem; color: var(--fg); margin-top: 3px; }
.contact-list__item .val a:hover { color: var(--accent); }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.8; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-wash);
}
.form .btn { width: 100%; margin-top: 6px; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.form__consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }
.form__consent label { font-size: 0.84rem; color: var(--muted); line-height: 1.55; font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.form__consent a { color: var(--accent); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); padding: clamp(60px, 9vw, 96px) 0 36px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; } }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__mark { background: var(--accent); }
.footer__brand p { color: var(--on-ink-muted); margin-top: 18px; max-width: 34ch; font-size: 0.98rem; }
.footer h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { color: var(--on-ink); font-size: 0.97rem; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__contact p { color: var(--on-ink); font-size: 0.95rem; line-height: 1.7; }
.footer__contact a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--on-ink-muted);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ---------- Legal / article pages ---------- */
.page-hero {
  background:
    radial-gradient(120% 90% at 50% -20%, var(--bg-top) 0%, rgba(231,237,250,0) 55%),
    var(--bg);
  padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; letter-spacing: -0.03em; max-width: 18ch; margin-top: 22px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin-top: 22px; }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 500; margin: 48px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 30px 0 10px; }
.prose p { color: var(--fg-soft); margin: 0 0 16px; line-height: 1.78; }
.prose ul { color: var(--fg-soft); margin: 0 0 18px; padding-left: 22px; line-height: 1.78; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 8px; }

/* Thanks page */
.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.thanks__ic {
  width: 74px; height: 74px; border-radius: 20px; margin: 0 auto 28px;
  display: grid; place-items: center; background: var(--accent-wash); color: var(--accent);
}
.thanks__ic svg { width: 36px; height: 36px; }
.thanks h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; }
.thanks p { color: var(--muted); max-width: 52ch; margin: 20px auto 0; font-size: 1.08rem; }
.thanks .btn { margin-top: 32px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 24px;
  background: rgba(20, 27, 43, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--surface);
  padding: 30px 34px 32px;
  max-width: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: translateY(14px);
  transition: transform 0.4s var(--ease);
}
.cookie-popup[data-open="true"] .cookie-popup__card { transform: none; }
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.cookie-popup__card h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; }
.cookie-popup__card p { color: var(--muted); font-size: 0.93rem; line-height: 1.62; margin-top: 12px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cookie-popup__actions button:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--fg); color: #fff; border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-cta { margin-top: clamp(40px, 6vw, 64px); }
.split {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split--wide-media { }
@media (min-width: 900px) { .split--wide-media { grid-template-columns: 1.1fr 0.9fr; } }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 500; letter-spacing: -0.025em; margin-top: 18px; }
.split__body p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }
.split__body .link-arrow { margin-top: 22px; }

.values { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 680px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { padding: 28px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.value__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.value h3 { font-size: 1.25rem; font-weight: 500; margin-top: 14px; letter-spacing: -0.02em; }
.value p { color: var(--muted); margin-top: 10px; font-size: 0.98rem; line-height: 1.66; }
