/* palette: bg=#0B2545 fg=#E8EEF4 accent=#58C6E6 */
/* fonts: display="Space Grotesk" body="IBM Plex Sans" mono="IBM Plex Mono" */

:root {
  --bg: #0B2545;          /* deep blueprint navy */
  --bg-alt: #0E2D54;      /* alternating band */
  --bg-deep: #081B35;     /* deepest panel */
  --fg: #E8EEF4;          /* cool cream line-work / primary text */
  --fg-soft: #CBD8E6;     /* slightly softer */
  --muted: #8AA0BC;       /* secondary steel text */
  --accent: #58C6E6;      /* blueprint cyan */
  --accent-deep: #38A8CC; /* darker cyan hover */
  --amber: #E6B45C;       /* annotation highlight */
  --paper: #EEF1F6;       /* inverted light band */
  --ink: #0B2545;         /* text on light band */
  --border: rgba(232, 238, 244, 0.16);
  --border-strong: rgba(232, 238, 244, 0.32);
  --grid-line: rgba(136, 160, 188, 0.10);

  --serif: 'Space Grotesk', 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: clamp(20px, 5vw, 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: 18px;
  line-height: 1.76;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }

/* blueprint graph grid on the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, #000 55%, transparent 100%);
}

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; z-index: 1; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.annotation {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede { font-size: clamp(1.05rem, 2.1vw, 1.3rem); line-height: 1.7; color: var(--fg-soft); }
.muted { color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid var(--accent);
  color: var(--bg);
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 37, 69, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 30px; height: 30px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.brand__mark::before, .brand__mark::after {
  content: ""; position: absolute; background: var(--accent);
}
.brand__mark::before { inset: 50% 4px auto 4px; height: 1px; transform: translateY(-50%); }
.brand__mark::after { inset: 4px 50% 4px auto; width: 1px; transform: translateX(50%); }
.brand__name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.brand__name b { color: var(--accent); font-weight: 500; }

.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--accent);
}
.header__cta { display: none; }

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 2px;
}
.menu-toggle span { width: 18px; height: 1.5px; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.3s 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: 72px 0 0 0; z-index: 99;
  background: var(--bg-deep);
  padding: 40px var(--pad);
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  border-top: 1px solid var(--border);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 30px; font-weight: 400;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mobile-menu .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,27,53,0.72) 0%, rgba(8,27,53,0.55) 40%, rgba(11,37,69,0.95) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(88,198,230,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,198,230,0.10) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 10vh, 120px); padding-top: 120px; }
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(3.3rem, 10vw, 8.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: 32px; max-width: 54ch; color: var(--fg-soft); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* corner annotations on hero */
.hero__corner {
  position: absolute; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  display: none;
}
.hero__corner--tr { top: 100px; right: var(--pad); text-align: right; }
.hero__corner--bl { bottom: 28px; left: var(--pad); }
.hero__corner b { color: var(--accent); font-weight: 500; }

/* ---------- lead / intro ---------- */
.lead-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
.lead-grid__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lead-grid h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; }
.lead-grid p + p { margin-top: 20px; }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 36px 24px; border-bottom: 1px solid var(--border); position: relative; }
.stat:nth-child(odd) { border-right: 1px solid var(--border); }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.stat__num b { color: var(--accent); font-weight: 300; }
.stat__label { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- section head ---------- */
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 300; }
.sec-head__row { display: flex; flex-direction: column; gap: 20px; }
.sec-head p { max-width: 50ch; color: var(--fg-soft); }

/* ---------- projects grid (editorial cards) ---------- */
.projects { display: grid; gap: 28px; grid-template-columns: 1fr; }
.project {
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.project:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 24px 60px -30px rgba(0,0,0,0.7); }
.project__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); filter: saturate(0.92) contrast(1.02); }
.project:hover .project__media img { transform: scale(1.05); }
.project__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg); background: rgba(8,27,53,0.72); border: 1px solid var(--border);
  padding: 6px 10px; border-radius: 2px; backdrop-filter: blur(6px);
}
.project__body { padding: 28px 26px 30px; }
.project__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.project__body h3 { font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.12; letter-spacing: -0.01em; margin: 14px 0 12px; font-weight: 400; }
.project__body p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.project__foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; }

/* ---------- manifesto (inverted light band) ---------- */
.manifesto { background: var(--paper); color: var(--ink); position: relative; z-index: 1; overflow: hidden; }
.manifesto::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(11,37,69,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,37,69,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.manifesto .container { text-align: center; }
.manifesto__mark { font-family: var(--serif); font-size: 7rem; line-height: 0.6; color: var(--accent); display: block; height: 48px; }
.manifesto__quote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.16; letter-spacing: -0.02em;
  max-width: 18ch; margin: 24px auto 0;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__by { margin-top: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(11,37,69,0.55); }

/* ---------- services (numbered editorial list) ---------- */
.svc-list { border-top: 1px solid var(--border); }
.svc {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  padding: 40px 0; border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
}
.svc:hover { padding-left: 14px; }
.svc__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.svc__title { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.svc__desc { color: var(--fg-soft); max-width: 60ch; }
.svc__tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 5px 10px; border-radius: 2px; }

/* ---------- principles / how we work ---------- */
.principles { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--border); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.principle { background: var(--bg); padding: 36px 30px; }
.principle__i { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.principle h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.01em; margin: 16px 0 12px; }
.principle p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- domains / categories ---------- */
.domains { display: grid; gap: 22px; grid-template-columns: 1fr; }
.domain {
  border: 1px solid var(--border); border-radius: 3px; padding: 30px 28px;
  background: var(--bg-alt);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.domain:hover { border-color: var(--accent); transform: translateY(-3px); }
.domain__id { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.domain h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; }
.domain p { color: var(--muted); font-size: 15.5px; line-height: 1.68; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 24px; grid-template-columns: 1fr; }
.quote-card {
  border: 1px solid var(--border); border-radius: 3px; padding: 34px 30px; background: var(--bg-deep);
  display: flex; flex-direction: column; gap: 22px;
}
.quote-card p { font-family: var(--serif); font-weight: 300; font-size: 1.3rem; line-height: 1.4; letter-spacing: -0.01em; }
.quote-card footer { display: flex; align-items: center; gap: 14px; }
.avatar--mono {
  width: 46px; height: 46px; border-radius: 3px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--bg);
  letter-spacing: 0.02em;
}
.quote-card cite { font-style: normal; }
.quote-card cite b { display: block; font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--fg); }
.quote-card cite span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); padding: 30px 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.faq__q { display: flex; gap: 16px; align-items: baseline; }
.faq__q b { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.faq__q h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 2.6vw, 1.5rem); letter-spacing: -0.01em; line-height: 1.25; }
.faq__a { color: var(--fg-soft); font-size: 16.5px; line-height: 1.72; padding-left: 28px; }

/* ---------- CTA band ---------- */
.cta { background: var(--bg-deep); border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(88,198,230,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,198,230,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
}
.cta__inner { display: grid; gap: 36px; grid-template-columns: 1fr; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1.0; letter-spacing: -0.03em; font-weight: 300; max-width: 16ch; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: var(--fg-soft); max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ---------- form ---------- */
.form-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--fg);
  background: var(--bg-deep); border: 1px solid var(--border); border-radius: 2px;
  padding: 14px 16px; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(138,160,188,0.6); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.field textarea { resize: vertical; min-height: 140px; }
.field--full { grid-column: 1 / -1; }
.form-note { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted); line-height: 1.6; }

/* contact info list */
.info-list { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
.info-item { background: var(--bg); padding: 26px 28px; }
.info-item .annotation { color: var(--accent); }
.info-item p { margin-top: 10px; color: var(--fg); font-size: 16.5px; line-height: 1.6; }
.info-item a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: clamp(56px, 8vw, 90px) 0 40px; position: relative; z-index: 1; }
.footer__top { display: grid; gap: 44px; grid-template-columns: 1fr; }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { color: var(--muted); max-width: 40ch; font-size: 15.5px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer__col a { display: block; padding: 7px 0; color: var(--fg-soft); font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(44px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted);
}
.footer__bottom a:hover { color: var(--accent); }

/* ---------- legal pages ---------- */
.legal { padding-top: clamp(60px, 9vw, 110px); }
.legal__head { border-bottom: 1px solid var(--border); padding-bottom: 36px; margin-bottom: 48px; }
.legal__head h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; }
.legal__head p { margin-top: 18px; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 400; letter-spacing: -0.01em; margin: 48px 0 16px; }
.legal__body h3 { font-size: 1.2rem; font-weight: 500; margin: 32px 0 12px; font-family: var(--sans); }
.legal__body p { color: var(--fg-soft); margin-bottom: 16px; font-size: 16.5px; }
.legal__body ul { color: var(--fg-soft); padding-left: 22px; margin-bottom: 16px; }
.legal__body li { margin-bottom: 10px; }
.legal__body a { color: var(--accent); border-bottom: 1px solid var(--border-strong); }

/* thank-you */
.thanks { min-height: 72vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { margin-top: 24px; color: var(--fg-soft); }
.thanks .btn { margin-top: 36px; }

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(8,27,53,0.55); 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-alt); border: 1px solid var(--border-strong); padding: 32px 36px; max-width: 480px; border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--fg-soft); font-size: 14.5px; line-height: 1.65; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 22px; border: 1px solid var(--border-strong); cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 2px; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg-soft); }
.cookie-popup__actions button:last-child { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ---------- responsive ---------- */
@media (min-width: 680px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat { border-right: 1px solid var(--border); }
  .stat:last-child { border-right: 0; }
  .domains { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 0.1fr 1fr; gap: 32px; align-items: start; }
  .hero__corner { display: block; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }
  .lead-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
  .sec-head { grid-template-columns: 1fr 0.8fr; align-items: end; }
  .sec-head__row { grid-column: 1; }
  .sec-head > p.sec-head__aside { grid-column: 2; justify-self: end; text-align: right; }
  .projects { grid-template-columns: repeat(3, 1fr); }
  .projects .project--wide { grid-column: span 3; }
  .project--wide { display: grid; grid-template-columns: 1.1fr 0.9fr; }
  .project--wide .project__media { aspect-ratio: auto; height: 100%; min-height: 360px; }
  .domains { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(4, 1fr); }
  .cta__inner { grid-template-columns: 1.2fr 0.8fr; align-items: end; }
  .footer__top { grid-template-columns: 1fr 1.1fr; }
  .contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
}
