/* palette: bg=#FFFFFF fg=#0C1030 accent=#1D2A96 */
/* fonts: display="Space Grotesk" body="IBM Plex Sans" mono="IBM Plex Mono" */

:root {
  --bg: #FFFFFF;          /* dominant background */
  --bg-alt: #F1F3F9;      /* alternating light section */
  --bg-tint: #E7EAF6;     /* soft blue tint */
  --fg: #0C1030;          /* primary ink (near-black navy) */
  --fg-soft: #23284C;     /* slightly lighter ink */
  --muted: #6A6F8C;       /* secondary text */
  --accent: #1D2A96;      /* brand royal blue (from reference hero) */
  --accent-deep: #121A63; /* darker accent for hover */
  --electric: #3B4DE0;    /* brighter blue highlight */
  --line: #D7DBEC;        /* hairline on light */
  --border: rgba(12, 16, 48, 0.12);

  --serif: 'Space Grotesk', 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
  --pad: 32px;
}

*, *::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;
  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(--serif); font-weight: 500; margin: 0; }

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

.section { padding: clamp(72px, 12vw, 160px) 0; }
.section--tight { padding: clamp(56px, 8vw, 108px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--plain::before { display: none; }

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 62ch;
}

.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 15px 30px;
  border-radius: 2px;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border: 1px solid transparent;
  line-height: 1;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(29,42,150,.6); }
.btn--ghost { border-color: var(--border); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(0,0,0,.4); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; transform: translateY(-2px); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.textlink:hover { border-color: var(--accent); gap: 12px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(12,16,48,.06), 0 10px 30px -22px rgba(12,16,48,.5);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand__name span { color: var(--accent); }

.nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--accent);
  transition: width .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block; height: 1.5px; width: 22px; background: var(--fg);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) 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.5px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 96px 28px 40px;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 10px; }
.mobile-menu__foot { margin-top: auto; padding-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(160deg, #141C7A 0%, #1D2A96 55%, #141A5E 100%);
  overflow: hidden;
  padding: 120px 0 72px;
}
.hero__bg {
  position: absolute; inset: 0;
  opacity: 0.20;
  mix-blend-mode: screen;
  background-size: cover; background-position: center;
  animation: heroZoom 9s var(--ease) both;
  will-change: transform;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(59,77,224,.38), transparent 60%),
    linear-gradient(0deg, rgba(10,14,50,.55), transparent 50%);
  pointer-events: none;
}
.hero__watermark {
  position: absolute;
  right: -4%; bottom: -8%;
  width: min(52vw, 560px);
  opacity: .06;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 980px; }
.hero .eyebrow { color: #A9B4FF; }
.hero h1 {
  font-weight: 300;
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
}
.hero h1 em { font-style: normal; color: #8FA0FF; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.32rem); line-height: 1.6; max-width: 56ch; color: rgba(255,255,255,.82); margin: 0 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 32px;
}
@media (min-width: 720px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.hero__stat .n { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; display: block; }
.hero__stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; display: block; }

/* page hero (interior pages) */
.pagehero {
  background: linear-gradient(160deg, #141C7A 0%, #1D2A96 60%, #141A5E 100%);
  color: #fff;
  padding: clamp(130px, 18vw, 220px) 0 clamp(64px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.pagehero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 420px at 85% 10%, rgba(59,77,224,.4), transparent 62%);
  pointer-events: none;
}
.pagehero__inner { position: relative; z-index: 2; max-width: 880px; }
.pagehero .eyebrow { color: #A9B4FF; }
.pagehero h1 {
  font-weight: 300;
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.pagehero h1 em { font-style: normal; color: #8FA0FF; }
.pagehero p { font-size: clamp(1.02rem, 1.8vw, 1.25rem); color: rgba(255,255,255,.82); max-width: 58ch; margin: 0; }

/* ---------- section head ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head--split { max-width: none; display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.3fr 1fr; } }
.sec-head h2 {
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.sec-head h2 em { font-style: normal; color: var(--accent); }
.sec-head .lead { margin-top: 20px; }

/* ---------- manifesto ---------- */
.manifesto { background: var(--fg); color: #fff; }
.manifesto .container { max-width: 1040px; }
.manifesto__q {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-align: left;
}
.manifesto__q em { font-style: normal; color: #8FA0FF; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.7;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.manifesto__by { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 32px; }

/* ---------- services grid (editorial numbered) ---------- */
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
@media (min-width: 860px) {
  .svc { grid-template-columns: 80px 1fr 1.1fr auto; gap: 40px; align-items: start; padding: 42px 16px; }
  .svc:hover { background: var(--bg-alt); }
}
.svc__num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.08em; padding-top: 6px; }
.svc__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.12; }
.svc__title em { font-style: normal; color: var(--accent); }
.svc__desc { color: var(--muted); font-size: 16px; line-height: 1.7; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--fg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.svc__go { align-self: center; color: var(--accent); font-size: 22px; transition: transform .4s var(--ease); }
.svc:hover .svc__go { transform: translateX(6px); }

/* ---------- feature cards ---------- */
.cards { display: grid; gap: 22px; }
@media (min-width: 680px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 28px 34px;
  box-shadow: 0 4px 24px -4px rgba(12,16,48,0.06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px -12px rgba(12,16,48,0.16); border-color: var(--accent); }
.card__ico {
  width: 46px; height: 46px; border-radius: 3px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--bg-tint); color: var(--accent);
}
.card h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0; }
.card__k { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 18px; }

/* ---------- work / case articles ---------- */
.work-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work:hover { transform: translateY(-5px); box-shadow: 0 20px 50px -18px rgba(12,16,48,0.28); }
.work__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover .work__img img { transform: scale(1.06); }
.work__cat { position: absolute; top: 16px; left: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(12,16,48,.72); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.work__body { padding: 24px 26px 28px; }
.work__body h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 8px; line-height: 1.2; }
.work__body p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.work__meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--accent); letter-spacing: 0.04em; }

/* ---------- dark stats band ---------- */
.band-dark { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.band-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 12% 110%, rgba(59,77,224,.6), transparent 60%);
  pointer-events: none;
}
.band-dark .container { position: relative; z-index: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
@media (min-width: 860px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat .n { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.03em; line-height: 1; display: block; }
.stat .l { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: rgba(255,255,255,.72); margin-top: 14px; line-height: 1.5; display: block; }

/* ---------- process (numbered steps) ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 820px) { .step { grid-template-columns: 120px 1fr 1.4fr; gap: 40px; align-items: start; } }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.step h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 16px; margin: 0; line-height: 1.7; }

/* ---------- split / image+text ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--rev .split__media { order: 2; } }
.split__media { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3.2; border: 1px solid var(--line); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font-weight: 400; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 20px; }
.split__body h2 em { font-style: normal; color: var(--accent); }
.split__body p { color: var(--fg-soft); margin: 0 0 16px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--fg-soft); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- principles (text-only team/values) ---------- */
.prin-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .prin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .prin-grid { grid-template-columns: repeat(3, 1fr); } }
.prin { background: var(--bg); padding: 34px 30px 38px; transition: background .4s var(--ease); }
.prin:hover { background: var(--bg-alt); }
.prin__k { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; }
.prin h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; margin: 16px 0 10px; }
.prin p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.7; }

/* ---------- team (monogram, no faces) ---------- */
.team-grid { display: grid; gap: 22px; }
@media (min-width: 620px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member { border: 1px solid var(--line); border-radius: 4px; padding: 26px 24px 28px; background: var(--bg); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: 0 14px 40px -16px rgba(12,16,48,.22); }
.avatar {
  width: 60px; height: 60px; border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 20px; color: #fff;
  letter-spacing: 0.02em; margin-bottom: 22px;
}
.avatar--a { background: var(--accent); }
.avatar--b { background: var(--electric); }
.avatar--c { background: var(--accent-deep); }
.avatar--d { background: #2A3BC4; }
.member h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 4px; }
.member .role { font-family: var(--mono); font-size: 11.5px; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; }
.member p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 14px 0 0; }

/* ---------- testimonial ---------- */
.quote-wrap { max-width: 920px; }
.quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.quote em { font-style: normal; color: var(--accent); }
.quote-by { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.quote-by .avatar { width: 46px; height: 46px; font-size: 15px; margin: 0; }
.quote-by .n { font-weight: 500; font-size: 15px; }
.quote-by .r { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 2.3vw, 1.45rem);
  letter-spacing: -0.01em; color: var(--fg);
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__sign { flex: none; width: 24px; height: 24px; position: relative; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; background: var(--accent); transition: transform .35s var(--ease); }
.faq__sign::before { top: 11px; left: 2px; width: 20px; height: 2px; }
.faq__sign::after { left: 11px; top: 2px; width: 2px; height: 20px; }
.faq__item[data-open="true"] .faq__sign::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a-inner { padding: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 74ch; }
.faq__item[data-open="true"] .faq__a { max-height: 420px; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(150deg, #141C7A 0%, #1D2A96 60%, #141A5E 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 80% 0%, rgba(59,77,224,.4), transparent 60%); pointer-events: none; }
.cta .container { position: relative; z-index: 1; }
.cta h2 { font-weight: 300; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 16ch; margin-bottom: 24px; }
.cta h2 em { font-style: normal; color: #8FA0FF; }
.cta p { color: rgba(255,255,255,.8); max-width: 54ch; margin: 0 0 34px; font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: 3px;
  padding: 14px 16px; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29,42,150,.12); }
.field--row { display: grid; gap: 20px; }
@media (min-width: 560px) { .field--row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.form__consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); }
.form__consent a { color: var(--accent); border-bottom: 1px solid var(--line); }

.contact-info { display: grid; gap: 30px; align-content: start; }
.contact-block { border-top: 1px solid var(--line); padding-top: 20px; }
.contact-block .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.contact-block .v { font-size: 16px; color: var(--fg-soft); line-height: 1.6; }
.contact-block a.v:hover { color: var(--accent); }

/* ---------- footer ---------- */
.footer { background: var(--fg); color: rgba(255,255,255,.72); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand__name { color: #fff; }
.footer__tag { margin: 22px 0 24px; max-width: 34ch; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.footer__col a, .footer__col span { display: block; color: rgba(255,255,255,.72); font-size: 14.5px; padding: 6px 0; transition: color .3s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px); padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.03em; color: rgba(255,255,255,.5);
}
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { 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: flex-start; padding: 24px; background: rgba(8,10,34,0.46); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 32px 32px; max-width: 460px; border-radius: 6px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); border: 1px solid var(--line); }
.cookie-popup__label { font-family: var(--mono); font-size: 10.5px; 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.01em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.cookie-popup__card p a { color: var(--accent); border-bottom: 1px solid var(--line); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border); cursor: pointer; font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; border-radius: 3px; transition: background .3s var(--ease), color .3s var(--ease); }
.cookie-popup__actions button:first-child:hover { background: var(--bg-alt); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(40px, 7vw, 80px) 0 clamp(64px, 9vw, 120px); }
.legal__wrap { max-width: 780px; }
.legal h2 { font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 48px 0 16px; }
.legal h3 { font-size: 1.15rem; font-weight: 500; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal p { margin: 0 0 16px; }
.legal__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* thank-you */
.thanks { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 120px 0; }
.thanks__inner { max-width: 620px; }
.thanks__badge { width: 72px; height: 72px; border-radius: 50%; background: var(--bg-tint); color: var(--accent); display: grid; place-items: center; margin: 0 auto 30px; }
.thanks h1 { font-weight: 300; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 20px; }
.thanks p { color: var(--muted); font-size: 1.05rem; margin: 0 auto 32px; max-width: 48ch; }

/* ---------- utility ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.bg-alt { background: var(--bg-alt); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
