/* palette: bg=#FFFFFF fg=#0B0B0C accent=#1C20D6 */
/* fonts: display="Archivo" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #FFFFFF;          /* dominant background from reference (white content) */
  --bg-alt: #F2F2F5;      /* alternating section background */
  --fg: #0B0B0C;          /* primary text/foreground (near-black) */
  --fg-soft: #27272B;     /* slightly lighter fg */
  --muted: #6E6E77;       /* secondary text */
  --accent: #1C20D6;      /* electric ultramarine from reference hero */
  --accent-deep: #11139C; /* darker accent for hover */
  --on-accent: #FFFFFF;
  --border: rgba(11, 11, 12, 0.14);
  --border-soft: rgba(11, 11, 12, 0.08);
  --line-on-accent: rgba(255, 255, 255, 0.28);

  --serif: 'Archivo', ui-sans-serif, sans-serif;     /* display */
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
  --pad: clamp(80px, 12vw, 160px);
}

*, *::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.75;
  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; }
::selection { background: var(--accent); color: #fff; }

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

.section { padding: var(--pad) 0; }
.section--tight { padding: clamp(56px, 8vw, 104px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: currentColor; }
.eyebrow--light { color: rgba(255,255,255,0.72); }
.eyebrow--light::before { background: rgba(255,255,255,0.72); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  color: var(--fg);
}
.h-display {
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.02;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 54ch;
}
.muted { color: var(--muted); }

/* ---------- Buttons (sharp / architectural) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn--ghost:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn--on-accent { background: #fff; border-color: #fff; color: var(--accent); }
.btn--on-accent:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: #fff; color: var(--accent); border-color: #fff; }

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

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 26px; height: 24px; color: var(--accent); flex: none; }
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px -12px rgba(11,11,12,0.35);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav { display: none; align-items: center; gap: 36px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color .25s 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: 1024px) {
  .nav, .header__cta { display: flex; }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--fg);
  transition: transform .3s var(--ease), opacity .2s 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); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px 20px 60px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 32px; justify-content: center; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero (full-bleed electric blue) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px 0 64px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__chevrons {
  position: absolute;
  top: 50%; right: -4%;
  width: min(60vw, 720px);
  color: rgba(255,255,255,0.08);
  transform: translateY(-50%) scale(1);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: translateY(-50%) scale(1.12); opacity: 0; }
  to { transform: translateY(-50%) scale(1); opacity: 1; }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 25vh, calc(100% / 12) 100%;
  opacity: 0.6;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 32px;
}
.hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: rgba(255,255,255,0.78); }
.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: #fff;
  position: relative;
  padding: 0 0.08em;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.12em;
  background: rgba(255,255,255,0.9);
}
.hero__foot {
  display: grid;
  gap: 40px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 40px;
  border-top: 1px solid var(--line-on-accent);
}
.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.86);
  max-width: 52ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .hero__actions { justify-content: flex-end; }
}

/* ---------- Section heading block ---------- */
.sec-head {
  display: grid;
  gap: 28px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.sec-head h2 {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.sec-head p { max-width: 50ch; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1.1fr 0.9fr; align-items: end; }
  .sec-head--stack { grid-template-columns: 1fr; }
}

/* ---------- Manifesto (large centered statement) ---------- */
.manifesto { text-align: left; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__meta {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* inverted (blue band) */
.band-accent { background: var(--accent); color: #fff; }
.band-accent h2, .band-accent h3 { color: #fff; }
.band-accent .manifesto__quote { max-width: 24ch; }
.band-accent .manifesto__quote em { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.band-accent .manifesto__meta { color: rgba(255,255,255,0.7); }
.band-accent .quote-mark { color: rgba(255,255,255,0.22); }
.quote-mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.6;
  color: var(--border);
  display: block;
  margin-bottom: 8px;
}

/* ---------- Services (Swiss numbered rows) ---------- */
.svc-list { border-top: 1px solid var(--fg); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.svc-row__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.svc-row h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.svc-row p { margin: 0; color: var(--muted); max-width: 46ch; }
.svc-row__tags {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
@media (min-width: 860px) {
  .svc-row {
    grid-template-columns: 90px minmax(220px, 1fr) 1.3fr auto;
    gap: 32px;
    align-items: baseline;
  }
  .svc-row:hover { background: var(--bg-alt); padding-left: 24px; padding-right: 24px; }
}

/* ---------- Timeline / progression ---------- */
.timeline { display: grid; gap: 0; }
.tl-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 44px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.tl-step:first-child { border-top: 1px solid var(--fg); }
.tl-step__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.tl-step h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 500;
  margin-bottom: 10px;
}
.tl-step p { margin: 0; color: var(--muted); max-width: 52ch; }
.tl-step__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: start;
}
@media (min-width: 860px) {
  .tl-step {
    grid-template-columns: 160px 1fr 180px;
    gap: 48px;
    align-items: start;
  }
  .tl-step__meta { text-align: right; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.stat {
  padding: 36px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
}
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Feature / media split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--border);
  pointer-events: none;
}
.split h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 24px; }
.split ul { list-style: none; padding: 0; margin: 28px 0 0; }
.split li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  color: var(--fg-soft);
}
.split li::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-top: 9px;
  background: var(--accent);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse .split__media { order: 2; }
}

/* ---------- Principles / value cards ---------- */
.cards { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.card {
  background: var(--bg);
  padding: 36px 28px;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.card__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.card h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Marquee / ticker ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 32s linear infinite;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; color: var(--fg); }
.marquee__track span::after { content: "◆"; color: var(--accent); font-size: 0.6em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--fg); }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .sign {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
  transition: transform .3s var(--ease);
}
.faq summary .sign::before,
.faq summary .sign::after {
  content: "";
  position: absolute;
  background: var(--accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq summary .sign::before { width: 16px; height: 1.5px; }
.faq summary .sign::after { width: 1.5px; height: 16px; transition: transform .3s var(--ease); }
.faq details[open] summary .sign::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__body {
  padding: 0 0 28px;
  max-width: 62ch;
  color: var(--muted);
}
.faq__body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta__inner { position: relative; z-index: 2; display: grid; gap: 36px; }
.cta h2 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 16ch;
}
.cta p { color: rgba(255,255,255,0.85); max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__chev {
  position: absolute;
  bottom: -10%; left: -3%;
  width: min(42vw, 460px);
  color: rgba(255,255,255,0.09);
  z-index: 1;
}

/* ---------- Form ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 10px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  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(--border);
  border-radius: 0;
  padding: 15px 16px;
  width: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9b9ba3; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.field textarea { resize: vertical; min-height: 140px; }
.form__consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}
.form__consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.form__consent a { color: var(--accent); border-bottom: 1px solid var(--border); }

/* ---------- Contact meta ---------- */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.cmeta { display: grid; gap: 0; border-top: 1px solid var(--fg); }
.cmeta__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.cmeta__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cmeta__v { color: var(--fg); }
.cmeta__v a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  background: var(--fg);
  color: rgba(255,255,255,0.72);
  padding: clamp(64px, 8vw, 100px) 0 40px;
}
.footer .brand__name { color: #fff; }
.footer__top {
  display: grid;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer__tag {
  margin: 24px 0 0;
  max-width: 34ch;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 20px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a, .footer__col span { color: rgba(255,255,255,0.78); font-size: 15px; transition: color .25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
@media (min-width: 720px) {
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(120px, 16vw, 200px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { margin-top: 32px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  margin: 56px 0 18px;
  letter-spacing: -0.02em;
}
.legal h3 { font-size: 1.2rem; font-weight: 600; margin: 32px 0 12px; font-family: var(--sans); }
.legal p, .legal li { color: var(--fg-soft); font-size: 17px; line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 10px; }
.legal a { color: var(--accent); border-bottom: 1px solid var(--border); }
.legal__updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 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, 7vw, 5rem); font-weight: 400; letter-spacing: -0.03em; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { margin: 28px auto 36px; max-width: 46ch; }
.thanks .btn { justify-content: center; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(11, 11, 12, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(11,11,12,0.4);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cookie-popup__card h3 { font-size: 1.3rem; font-weight: 500; margin: 0 0 12px; }
.cookie-popup__card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 20px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Utilities ---------- */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.bg-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.mt-s { margin-top: 20px; }
.mt-m { margin-top: 36px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
