/* palette: bg=#EDF3F8 fg=#0F2036 accent=#1F9BD9 */
/* fonts: display="Space Grotesk" body="IBM Plex Sans" mono="IBM Plex Mono" */

:root {
  --bg: #EDF3F8;          /* dominant light cool blue-grey */
  --bg-alt: #FFFFFF;      /* white cards / alternating section */
  --bg-tint: #E1ECF5;     /* soft blue tint band */
  --fg: #0F2036;          /* deep navy text */
  --fg-soft: #2C3E56;     /* slightly softer fg */
  --muted: #6E8096;       /* secondary text */
  --accent: #1F9BD9;      /* sky blue — from dashboard charts */
  --accent-deep: #1177B0; /* darker blue for hover */
  --accent-2: #E24E92;    /* magenta clash — wrong-but-right */
  --ink: #0B1626;         /* dark navy inverted band */
  --ink-soft: #16263C;
  --border: rgba(15, 32, 54, 0.12);
  --border-strong: rgba(15, 32, 54, 0.22);
  --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, 'SF Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 4px 24px -4px rgba(11, 22, 38, 0.10);
  --shadow-lg: 0 18px 50px -12px rgba(11, 22, 38, 0.22);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

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

section { padding: clamp(72px, 12vw, 160px) 0; }
.section-tight { padding: clamp(48px, 7vw, 90px) 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 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--muted); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.03em;
}
.section-head p {
  margin-top: 22px;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--muted);
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.arrow-link::after { content: "→"; transition: transform 0.3s var(--ease); }
.arrow-link:hover { color: var(--accent-deep); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237, 243, 248, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--border), 0 8px 30px -18px rgba(11,22,38,0.5);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  transform: rotate(-4deg);
}
.nav { display: none; align-items: center; gap: 34px; }
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent);
}
.header__cta { display: none; }
@media (min-width: 900px) {
  .nav, .header__cta { display: inline-flex; }
}

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

.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mobile-menu .btn { margin-top: 28px; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 110px) 0;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero__eyebrow { color: var(--accent-2); }
.hero__eyebrow::before { background: var(--accent-2); }
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero__lead {
  margin-top: 30px;
  max-width: 500px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-soft);
  line-height: 1.7;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
@media (min-width: 1024px) { .hero__visual { aspect-ratio: 3 / 4; } }
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(11, 22, 38, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero__badge b { color: #6FD3FF; font-weight: 500; font-size: 15px; }
.hero__badge .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #34E39A; margin-right: 7px;
  box-shadow: 0 0 0 3px rgba(52,227,154,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---------- Ticker / marquee ---------- */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
}
.ticker__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scrollx 34s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.72); }
.ticker__track span b { color: var(--accent); }
.ticker__track i { color: var(--accent-2); font-style: normal; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 34px 26px; }
.stat b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  display: block;
  line-height: 1;
}
.stat:nth-child(2) b { color: var(--accent); }
.stat:nth-child(3) b { color: var(--accent-2); }
.stat span { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Services grid ---------- */
.services { background: var(--bg-alt); }
.grid-services {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
.svc-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 38px 34px;
  background: var(--bg-alt);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-card:nth-child(even) { transform: translateY(0); }
@media (min-width: 1024px) { .svc-card:nth-child(even) { transform: translateY(28px); } }
.svc-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); transform: translateY(-4px); }
@media (min-width: 1024px) { .svc-card:nth-child(even):hover { transform: translateY(24px); } }
.svc-card__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.svc-card__icon {
  width: 46px; height: 46px;
  margin: 20px 0 24px;
  color: var(--accent);
}
.svc-card:nth-child(3n) .svc-card__icon { color: var(--accent-2); }
.svc-card:nth-child(3n) .svc-card__num { color: var(--accent-2); }
.svc-card h3 { font-size: 1.6rem; letter-spacing: -0.02em; }
.svc-card p { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.svc-card ul { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-card li {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em;
  color: var(--fg-soft); border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Work / cases ---------- */
.grid-work { display: grid; gap: 24px; }
@media (min-width: 900px) { .grid-work { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work-card__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover .work-card__img img { transform: scale(1.06); }
.work-card__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.92); color: var(--ink);
  padding: 5px 11px; border-radius: 999px;
}
.work-card__body { padding: 26px 24px 30px; }
.work-card__body h3 { font-size: 1.32rem; }
.work-card__body p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.work-card__meta {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--fg-soft);
}
.work-card__meta b { color: var(--accent); font-weight: 500; }

/* ---------- Process ---------- */
.process { background: var(--bg-tint); }
.grid-process { display: grid; gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
@media (min-width: 768px) { .grid-process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-process { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--bg-tint);
  padding: 40px 30px 46px;
  position: relative;
  min-height: 240px;
}
.step__ghost {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--border-strong);
  position: absolute;
  top: 18px; right: 22px;
  pointer-events: none;
}
.step h3 { font-size: 1.5rem; margin-top: 40px; position: relative; z-index: 1; }
.step p { margin-top: 14px; color: var(--fg-soft); font-size: 15px; position: relative; z-index: 1; }

/* ---------- Manifesto (dark inverted) ---------- */
.manifesto {
  background: var(--ink);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "“";
  position: absolute; top: -0.15em; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 22rem; line-height: 1;
  color: rgba(31, 155, 217, 0.14);
  pointer-events: none;
}
.manifesto__inner { position: relative; max-width: 940px; margin: 0 auto; }
.manifesto p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.manifesto p em { font-style: normal; color: var(--accent); }
.manifesto__sign {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; } }
.split--reverse .split__media { order: -1; }
@media (min-width: 1000px) { .split--reverse .split__media { order: 0; } }
.split__media { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.split p { margin-top: 20px; color: var(--fg-soft); font-size: 16.5px; }
.split ul { margin: 26px 0 0; padding: 0; list-style: none; }
.split li { padding: 14px 0; border-top: 1px solid var(--border); display: flex; gap: 16px; align-items: baseline; }
.split li:last-child { border-bottom: 1px solid var(--border); }
.split li b { font-family: var(--mono); font-size: 12px; color: var(--accent); min-width: 28px; }
.split li span { color: var(--fg-soft); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-alt); }
.faq__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--mono); font-size: 1.5rem; color: var(--accent);
  transition: transform 0.3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 28px; color: var(--muted); font-size: 15.5px; line-height: 1.75; max-width: 640px; }

/* ---------- CTA / form ---------- */
.cta { background: var(--ink); color: #fff; }
.cta__grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .cta__grid { grid-template-columns: 0.9fr 1.1fr; } }
.cta h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); color: #fff; }
.cta__lead { margin-top: 22px; color: rgba(255,255,255,0.66); font-size: 1.05rem; max-width: 420px; }
.cta__contact { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; font-family: var(--mono); font-size: 13.5px; color: rgba(255,255,255,0.8); }
.cta__contact a:hover { color: var(--accent); }
.cta__contact span { color: #6FD3FF; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.field input, .field textarea, .field select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 5px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: rgba(255,255,255,0.08);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form__foot .btn { flex: 0 0 auto; }
.form__note { font-size: 12.5px; color: rgba(255,255,255,0.5); font-family: var(--mono); }
.form__note a { color: rgba(255,255,255,0.75); text-decoration: underline; }

/* ---------- Contact info blocks ---------- */
.info-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card { border: 1px solid var(--border); border-radius: 8px; padding: 30px 26px; background: var(--bg-alt); }
.info-card .eyebrow { margin-bottom: 16px; }
.info-card p { color: var(--fg-soft); font-size: 15.5px; }
.info-card a { color: var(--accent); }
.map-embed { margin-top: 24px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(0.2) saturate(0.9); }

/* ---------- Values / principles (text-only) ---------- */
.principles { display: grid; gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
@media (min-width: 768px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { background: var(--bg-alt); padding: 36px 30px; }
.principle b { font-family: var(--mono); font-size: 12px; color: var(--accent-2); letter-spacing: 0.08em; }
.principle h3 { font-size: 1.4rem; margin-top: 16px; }
.principle p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- Team (text-only, no faces) ---------- */
.team-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member { border: 1px solid var(--border); border-radius: 8px; padding: 30px 28px; background: var(--bg-alt); }
.avatar {
  width: 58px; height: 58px; border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: #fff;
  letter-spacing: -0.02em;
}
.member h3 { font-size: 1.28rem; margin-top: 22px; }
.member .role { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 6px; letter-spacing: 0.04em; }
.member p { margin-top: 14px; color: var(--muted); font-size: 14.5px; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
.prose .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 16px; letter-spacing: 0.04em; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 0; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 0; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16px; line-height: 1.8; margin-top: 16px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--accent); text-decoration: underline; }

/* ---------- Thanks page ---------- */
.thanks { min-height: calc(100vh - 72px); display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.thanks__inner { max-width: 620px; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.03em; }
.thanks p { margin-top: 22px; color: var(--muted); font-size: 1.1rem; }
.thanks .btn { margin-top: 40px; }
.thanks__check { width: 72px; height: 72px; margin: 0 auto 30px; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: clamp(60px, 8vw, 100px) 0 40px; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand .brand { font-size: 1.5rem; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 320px; }
.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, .footer__col p { display: block; font-size: 14.5px; color: var(--fg-soft); margin-bottom: 12px; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.footer__bottom a:hover { color: var(--accent); }

/* ---------- 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(11,22,38,0.4); 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); padding: 32px 36px; max-width: 480px; border-radius: 8px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.35rem; }
.cookie-popup__card p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.65; }
.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-strong); cursor: pointer; font-size: 13px; font-family: var(--mono); letter-spacing: 0.03em; border-radius: 4px; transition: all 0.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-alt); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- 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; }
  .hero__visual img { animation: none; }
  .ticker__track { animation: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(70px, 10vw, 130px) 0 clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -0.035em; font-weight: 500; max-width: 14ch; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { margin-top: 26px; max-width: 560px; color: var(--fg-soft); font-size: 1.1rem; }
.page-hero__meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 28px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.page-hero__meta span b { color: var(--accent); font-weight: 500; }
