/* palette: bg=#0A0A0A fg=#F3F3F0 accent=#2E5BFF */
/* fonts: display="Archivo" body="Space Grotesk" mono="Space Mono" */

:root {
  --bg: #0A0A0A;
  --bg-rgb: 10, 10, 10;
  --bg-alt: #111113;
  --bg-card: #151517;
  --fg: #F3F3F0;
  --fg-rgb: 243, 243, 240;
  --fg-soft: #C6C6C1;
  --muted: #7C7C7C;
  --accent: #2E5BFF;
  --accent-deep: #1C3CD6;
  --invert-bg: #F3F3F0;
  --invert-fg: #0A0A0A;
  --line: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.14);
  --grid: rgba(255, 255, 255, 0.035);
  --serif: 'Archivo', 'Arial Black', sans-serif;
  --sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'Courier New', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

*, *::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; }

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

.section { padding: clamp(72px, 12vw, 160px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; margin: 0; line-height: 1; }
p { margin: 0 0 1.1em; }

.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-weight: 800;
}
.section__title em { font-style: normal; color: var(--accent); }
.section__lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--fg-soft);
  line-height: 1.6;
  margin-top: 26px;
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  transition: transform .4s var(--ease), background .3s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-3px); box-shadow: 0 16px 40px -12px rgba(46,91,255,0.55); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); box-shadow: none; }
.btn--invert { background: var(--invert-fg); color: var(--invert-bg); border-color: var(--invert-fg); }
.btn--invert:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrowlink::after { content: "→"; transition: transform .3s var(--ease); }
.arrowlink:hover { color: var(--accent); gap: 16px; }
.arrowlink:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(var(--bg-rgb), 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 26px; height: 26px; color: var(--fg); animation: spin 14s linear infinite; }
.brand__name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
@keyframes spin { to { transform: rotate(360deg); } }

.nav { display: none; gap: 34px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  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(--fg); }
.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;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    padding: 10px 18px;
    transition: background .25s var(--ease), color .25s var(--ease);
  }
  .header__cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: flex-end;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 24px; height: 2px; background: var(--fg); transition: transform .3s var(--ease), opacity .3s var(--ease), width .3s var(--ease); }
.menu-toggle span:nth-child(2) { width: 16px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 11vw, 3.4rem);
  letter-spacing: -0.03em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mobile-menu a span { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.mobile-menu__foot { margin-top: 36px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-top: 90px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(1) contrast(1.1);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(130% 90% at 20% 0%, rgba(10,10,10,0.35), rgba(10,10,10,0.92) 70%),
    linear-gradient(180deg, rgba(10,10,10,0.6), rgba(10,10,10,0.95));
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(20px, 6vw, 48px);
  padding-bottom: 28px;
}
.hero__top { max-width: 1000px; }
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin: 0 0 24px;
}
.hero__eyebrow .dot { color: var(--accent); }
.hero__title {
  font-size: clamp(3.5rem, 15vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-transform: uppercase;
}
.hero__role {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 4vw, 2.1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 6px;
  color: var(--fg-soft);
}
.hero__role em { font-style: normal; color: var(--accent); }
.hero__bottom {
  display: grid;
  gap: 32px;
  align-items: end;
}
@media (min-width: 1024px) {
  .hero__bottom { grid-template-columns: 1fr auto; gap: 48px; }
}
.hero__lede {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--fg-soft);
}
.hero__lede em { font-style: normal; color: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }

/* spec card (HUD) */
.spec {
  border: 1px solid var(--border);
  background: rgba(21,21,23,0.6);
  backdrop-filter: blur(6px);
  padding: 16px;
  width: 100%;
  max-width: 320px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.spec__row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.spec__row:last-child { border-bottom: 0; }
.spec__row b { color: var(--fg); font-weight: 700; }
.spec__row .blue { color: var(--accent); }
.spec__big { font-family: var(--serif); font-weight: 900; font-size: 2.4rem; color: var(--fg); letter-spacing: -0.02em; line-height: 1; }
.barcode { height: 30px; margin-top: 12px;
  background: repeating-linear-gradient(90deg, var(--fg) 0 2px, transparent 2px 4px, var(--fg) 4px 5px, transparent 5px 8px, var(--fg) 8px 11px, transparent 11px 13px);
}
.hero__scroll {
  position: relative; z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.hero__scroll::before { content: "↓"; color: var(--accent); }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  padding: 14px 0;
}
.marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
}
.marquee__track span::after { content: "+++"; opacity: 0.5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / two-col ---------- */
.intro__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; } }
.intro__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.intro__statement {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.intro__statement em { font-style: normal; color: var(--accent); }
.intro__body { color: var(--fg-soft); font-size: 1.05rem; line-height: 1.72; }
.intro__body p + p { margin-top: 1.1em; }

/* ---------- Services grid ---------- */
.cards { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 640px) { .cards--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards--4 { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--bg);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  transition: background .4s var(--ease);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.card:hover { background: var(--bg-card); }
.card__no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 26px 0 16px;
}
.card__text { color: var(--fg-soft); font-size: 1rem; line-height: 1.66; margin: 0; flex: 1; }
.card__meta { margin-top: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card .cross { position: absolute; top: 18px; right: 20px; color: var(--muted); font-family: var(--mono); font-size: 14px; }

/* ---------- Work / projects ---------- */
.work { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 768px) { .work { grid-template-columns: 1fr 1fr; } }
.work__item { background: var(--bg); position: relative; overflow: hidden; }
.work__item:first-child { grid-column: 1 / -1; }
.work__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.work__item:first-child .work__media { aspect-ratio: 21 / 9; }
.work__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.8);
  transition: transform .9s var(--ease), filter .6s var(--ease);
}
.work__item:hover .work__media img { transform: scale(1.06); filter: grayscale(0.3) brightness(0.95); }
.work__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 5px 10px;
}
.work__body { padding: clamp(22px, 3vw, 34px); }
.work__place { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.work__name { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.02em; margin: 14px 0 12px; line-height: 1.08; }
.work__desc { color: var(--fg-soft); font-size: 1rem; line-height: 1.6; margin: 0 0 18px; }

/* ---------- Manifesto (inverted) ---------- */
.manifesto {
  background: var(--invert-bg);
  color: var(--invert-fg);
  text-align: center;
  padding: clamp(90px, 15vw, 190px) 0;
  position: relative;
}
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 980px;
  margin: 0 auto;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__mark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.manifesto__cite { margin-top: 44px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--bg); padding: clamp(28px, 3.4vw, 40px); }
.step__no { font-family: var(--serif); font-weight: 900; font-size: 3.2rem; line-height: 1; letter-spacing: -0.03em; color: var(--line); -webkit-text-stroke: 1px var(--border); color: transparent; }
.step__title { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; margin: 20px 0 14px; }
.step__text { color: var(--fg-soft); font-size: 0.98rem; line-height: 1.6; margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(30px, 4vw, 48px) clamp(24px, 3vw, 34px); }
.stat__num { font-family: var(--serif); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.03em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* ---------- Team / ID badges ---------- */
.team { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(4, 1fr); } }
.badge { background: var(--bg); padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; min-height: 280px; }
.badge__top { display: flex; justify-content: space-between; align-items: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.avatar {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 800; font-size: 1.5rem; color: #fff;
  margin: 28px 0 24px;
  border-radius: 2px;
}
.badge__name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; margin: 0 0 6px; }
.badge__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.badge__bio { color: var(--fg-soft); font-size: 0.95rem; line-height: 1.6; margin: 0; flex: 1; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); max-width: 920px; }
.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: 28px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); transition: transform .3s var(--ease); }
.faq__icon::before { top: 11px; left: 0; width: 24px; height: 2px; }
.faq__icon::after { top: 0; left: 11px; width: 2px; height: 24px; }
.faq__item[data-open="true"] .faq__icon::after { transform: scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq__item[data-open="true"] .faq__a { max-height: 340px; }
.faq__a p { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.7; padding: 0 56px 30px 0; margin: 0; }

/* ---------- CTA / form ---------- */
.cta { position: relative; overflow: hidden; }
.cta__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .cta__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.cta__title { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.03em; line-height: 0.98; }
.cta__title em { font-style: normal; color: var(--accent); }
.cta__text { color: var(--fg-soft); margin: 26px 0 32px; font-size: 1.08rem; line-height: 1.66; max-width: 440px; }
.cta__contacts { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; line-height: 2; color: var(--fg-soft); }
.cta__contacts a:hover { color: var(--accent); }
.cta__contacts span { color: var(--muted); display: inline-block; width: 90px; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 14px 16px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #555; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(46,91,255,0.04); }
.field textarea { resize: vertical; min-height: 120px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); line-height: 1.6; }
.form__note a { color: var(--fg-soft); text-decoration: underline; }
.form button[type="submit"] { justify-content: center; width: 100%; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(60px, 9vw, 110px) 0 34px; }
.footer__mark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3.5rem, 15vw, 11rem);
  letter-spacing: -0.04em;
  line-height: 0.82;
  text-transform: uppercase;
  margin-bottom: 44px;
  color: var(--fg);
}
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 18px; }
.footer__col p, .footer__col a { color: var(--fg-soft); font-size: 0.95rem; line-height: 1.9; display: block; }
.footer__col a:hover { color: var(--accent); }
.footer__tagline { color: var(--fg-soft); font-size: 1rem; line-height: 1.6; max-width: 300px; margin: 0 0 20px; }
.footer__bar {
  display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.footer__bar a:hover { color: var(--fg); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__badge { display: inline-flex; align-items: center; gap: 8px; }
.footer__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ---------- Page hero (inner pages) ---------- */
.pagehero { padding: clamp(120px, 18vw, 200px) 0 clamp(50px, 8vw, 90px); position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.pagehero__grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.8;
}
.pagehero__inner { position: relative; z-index: 1; }
.pagehero h1 { font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -0.04em; line-height: 0.9; font-weight: 900; }
.pagehero h1 em { font-style: normal; color: var(--accent); }
.pagehero__lede { color: var(--fg-soft); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.6; max-width: 600px; margin-top: 28px; }
.pagehero__index { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 48px 0 18px; line-height: 1.1; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin: 30px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.78; }
.prose ul { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose strong { color: var(--fg); }
.prose__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* ---------- Thanks ---------- */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; position: relative; overflow: hidden; }
.thanks__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
}
.thanks__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.thanks__mark { font-family: var(--serif); font-weight: 900; font-size: clamp(4rem, 14vw, 9rem); color: var(--accent); line-height: 0.9; letter-spacing: -0.04em; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.03em; margin: 20px 0 20px; }
.thanks p { color: var(--fg-soft); font-size: 1.1rem; margin-bottom: 34px; }

/* ---------- 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; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img, .brand__mark, .marquee__track { 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(0,0,0,0.5); 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-card); border: 1px solid var(--border); padding: 30px 32px; max-width: 460px; }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--fg-soft); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; }
.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: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: transparent; color: var(--fg);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cookie-popup__actions button:hover { border-color: var(--fg); }
.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); }

/* ---------- misc ---------- */
.lede-block { max-width: 820px; }
.divider-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.two-col-text { display: grid; gap: 32px; }
@media (min-width: 768px) { .two-col-text { grid-template-columns: 1fr 1fr; gap: 56px; } }
.two-col-text p { color: var(--fg-soft); line-height: 1.75; }
.values { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 768px) { .values { grid-template-columns: 1fr 1fr 1fr; } }
.value { background: var(--bg); padding: clamp(28px, 3.4vw, 40px); }
.value__no { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.value h3 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin: 18px 0 12px; letter-spacing: -0.01em; }
.value p { color: var(--fg-soft); font-size: 0.98rem; line-height: 1.62; margin: 0; }
