/* palette: bg=#0a0e1a fg=#f2efe8 accent=#2de2e6 */
/* fonts: display="Bodoni Moda" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #0a0e1a;          /* deep space navy-black (reference header tone) */
  --bg-alt: #10162a;      /* alternating panel navy */
  --bg-deep: #060912;     /* darkest band */
  --fg: #f2efe8;          /* warm cream white (reference text) */
  --fg-soft: #cfd4e0;     /* softened foreground */
  --muted: #868da3;       /* secondary text */
  --accent: #2de2e6;      /* cyan — orbital data accent */
  --accent-deep: #14b8bd; /* darker cyan for hover */
  --magenta: #ff3d9a;     /* RGB-split glitch magenta */
  --lime: #c6ff4a;        /* error-color accent, used sparingly */
  --border: rgba(242, 239, 232, 0.12);
  --border-strong: rgba(242, 239, 232, 0.24);
  --serif: 'Bodoni Moda', ui-serif, Georgia, serif;
  --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);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  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; }
::selection { background: var(--accent); color: var(--bg); }

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

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

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

.lede {
  color: var(--fg-soft);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.7;
  max-width: 54ch;
}

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

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand b { font-weight: 500; }
.brand small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 3px;
}
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
  .nav a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-soft);
    position: relative;
    padding: 4px 0;
    transition: color 0.25s var(--ease);
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

/* hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  margin: 0 auto;
  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;
  z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  margin-right: 14px;
  letter-spacing: 0.1em;
}
.mobile-menu .btn { margin-top: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--bg);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 0 0 1px rgba(45, 226, 230, 0.4), 0 8px 30px -10px rgba(45, 226, 230, 0.6);
}
.btn:hover { transform: translateY(-2px); background: var(--accent-deep); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.btn--ghost:hover { background: rgba(242, 239, 232, 0.06); color: var(--fg); box-shadow: inset 0 0 0 1px var(--accent); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow span { color: var(--accent); transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--accent); gap: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(48px, 9vw, 110px);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 9, 18, 0.95) 0%, rgba(6, 9, 18, 0.45) 48%, rgba(6, 9, 18, 0.72) 100%);
}
/* scan lines + CRT vignette */
.hero__scan {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}
.hero__scan::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px 40px rgba(6, 9, 18, 0.85);
}
.hero__content { position: relative; max-width: 960px; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin: 0 0 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  position: relative;
  text-shadow: 0.02em 0 0 var(--magenta), -0.02em 0 0 var(--accent);
}
.hero__sub { max-width: 46ch; color: var(--fg-soft); font-size: clamp(1rem, 2vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero__meta {
  position: absolute;
  bottom: clamp(48px, 9vw, 110px);
  right: 0;
  display: none;
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 1024px) { .hero__meta { display: block; } }
.hero__meta b { display: block; font-size: 2.6rem; font-family: var(--serif); color: var(--fg); letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; }

/* ---------- section heading block ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 86px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.sec-head h2 em { font-style: italic; color: var(--accent); }
.sec-head p { margin-top: 24px; }

/* ---------- manifesto ---------- */
.manifesto { background: var(--fg); color: var(--bg); text-align: center; }
.manifesto .eyebrow { color: var(--accent-deep); }
.manifesto .eyebrow::before { background: var(--accent-deep); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 940px;
  margin: 0 auto;
}
.manifesto__quote em { font-style: italic; color: var(--accent-deep); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 0.6;
  color: var(--accent-deep);
  display: block;
  height: 0.4em;
  margin-bottom: 18px;
}
.manifesto__by { margin-top: 42px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(10, 14, 26, 0.55); }

/* ---------- tagline band (reference "design with shine") ---------- */
.tagband { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.tagband__media { position: absolute; inset: 0; z-index: -2; }
.tagband__media img { width: 100%; height: 100%; object-fit: cover; }
.tagband__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(6,9,18,0.9) 0%, rgba(6,9,18,0.55) 55%, rgba(6,9,18,0.2) 100%); }
.tagband__inner { position: relative; max-width: 640px; }
.tagband h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tagband h2 em { font-style: normal; color: var(--accent); }
.tagband p { margin-top: 26px; max-width: 42ch; color: var(--fg-soft); }
.tagband .link-arrow { margin-top: 32px; }

/* ---------- services / capability grid ---------- */
.grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.cap {
  background: var(--bg);
  padding: clamp(32px, 4vw, 52px) clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: background 0.4s var(--ease);
  position: relative;
}
.section--alt .cap { background: var(--bg-alt); }
.cap:hover { background: var(--bg-deep); }
.cap__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 26px; }
.cap h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 16px; }
.cap p { color: var(--muted); font-size: 0.98rem; line-height: 1.68; }
.cap__tags { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.cap__tags span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 9999px;
}

/* ---------- featured card ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-alt);
}
@media (min-width: 900px) { .feature { grid-template-columns: 1.05fr 1fr; } }
.feature__media { position: relative; overflow: hidden; min-height: 320px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__media .tag {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--bg); color: var(--accent); padding: 7px 13px; border-radius: 9999px;
}
.feature__body { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.feature__body h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 20px; }
.feature__body p { color: var(--fg-soft); }
.feature__stats { display: flex; gap: 40px; margin: 34px 0; flex-wrap: wrap; }
.feature__stats div b { display: block; font-family: var(--serif); font-size: 2.4rem; letter-spacing: -0.02em; line-height: 1; }
.feature__stats div span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg-deep); padding: clamp(36px, 5vw, 60px) 28px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 6vw, 4.6rem); letter-spacing: -0.03em; line-height: 1; }
.stat b em { font-style: normal; color: var(--accent); }
.stat span { display: block; margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- principles list ---------- */
.principle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
@media (min-width: 820px) { .principle { grid-template-columns: 72px 1fr 1.1fr; gap: 40px; } }
.principle:last-child { border-bottom: 1px solid var(--border); }
.principle__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.principle h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -0.01em; line-height: 1.1; }
.principle p { color: var(--muted); font-size: 1rem; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: clamp(30px, 3.6vw, 44px);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}
.quote__mark { font-family: var(--serif); font-size: 3.4rem; line-height: 0.4; height: 0.5em; color: var(--accent); }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.22rem; line-height: 1.5; color: var(--fg); margin: 14px 0 28px; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--bg);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.quote__who b { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.92rem; }
.quote__who span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ph-note { margin-top: 28px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); opacity: 0.7; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 28px 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  letter-spacing: -0.01em;
  color: var(--fg);
}
.faq__q .sign { font-family: var(--mono); color: var(--accent); font-size: 1.4rem; transition: transform 0.35s var(--ease); flex-shrink: 0; }
.faq__item[data-open="true"] .sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__item[data-open="true"] .faq__a { max-height: 340px; }
.faq__a p { color: var(--muted); padding-bottom: 30px; max-width: 70ch; }

/* ---------- CTA ---------- */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 70% at 50% 120%, rgba(45,226,230,0.18), transparent 70%); }
.cta .container { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1; letter-spacing: -0.03em; font-weight: 300; max-width: 16ch; margin: 0 auto 28px; }
.cta h2 em { font-style: italic; color: var(--accent); }
.cta p { margin: 0 auto 40px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info dl { margin: 0; }
.contact-info .row { padding: 22px 0; border-top: 1px solid var(--border); }
.contact-info .row:last-child { border-bottom: 1px solid var(--border); }
.contact-info dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.contact-info dd { margin: 0; font-size: 1.05rem; color: var(--fg); }
.contact-info dd a:hover { color: var(--accent); }

.form { display: grid; gap: 22px; }
.form .field { display: flex; flex-direction: column; gap: 9px; }
.form label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-soft); }
.form input, .form select, .form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 15px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 226, 230, 0.15);
}
.form textarea { resize: vertical; min-height: 140px; }
.form .row-2 { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 620px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
.form .consent { display: flex; gap: 12px; align-items: flex-start; }
.form .consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.form .consent label { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.form .btn { justify-content: center; margin-top: 4px; }

/* ---------- page hero (interior) ---------- */
.page-hero { padding: clamp(140px, 20vw, 220px) 0 clamp(60px, 8vw, 110px); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero__scan { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 3px); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 300; max-width: 16ch; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p { margin-top: 28px; }

/* ---------- prose (legal) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; margin: 56px 0 18px; }
.prose h3 { font-size: 1.25rem; margin: 34px 0 12px; font-family: var(--sans); font-weight: 600; }
.prose p { color: var(--fg-soft); margin-bottom: 18px; }
.prose ul { color: var(--fg-soft); padding-left: 20px; margin-bottom: 18px; }
.prose li { margin-bottom: 10px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- thanks ---------- */
.thanks { min-height: 86vh; display: flex; align-items: center; text-align: center; }
.thanks__glow { position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(45,226,230,0.14), transparent 70%); }
.thanks .container { position: relative; }
.thanks h1 { font-size: clamp(3rem, 9vw, 7rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 300; }
.thanks h1 em { font-style: italic; color: var(--accent); }
.thanks p { margin: 28px auto 40px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: clamp(60px, 8vw, 110px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; } }
.footer__brand .brand { font-size: 1.8rem; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: 0.95rem; }
.footer__col h4 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer__col a, .footer__col p { display: block; color: var(--fg-soft); font-size: 0.95rem; margin-bottom: 12px; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 86px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-alt); padding: 32px 36px; max-width: 480px; border-radius: 6px; border: 1px solid var(--border); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8); }
.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-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border-strong); cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 9999px; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.cookie-popup__actions button:first-child:hover { background: rgba(242,239,232,0.06); }
.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); }

/* ---------- misc ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.marquee__track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "◆"; color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
