/* palette: bg=#FBF7EF fg=#0E2B2A accent=#E27B30 */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #FBF7EF;          /* warm cream content background */
  --bg-alt: #FFFFFF;      /* alternating white sections */
  --dark: #0E2B2A;        /* dark teal-green (header, cards, bands) */
  --dark-soft: #163E3C;
  --fg: #0E2B2A;          /* primary text */
  --fg-soft: #2B4A48;     /* slightly lighter fg */
  --muted: #5C6E6C;       /* secondary text */
  --accent: #E27B30;      /* burnt orange */
  --accent-deep: #C9641F; /* darker orange for hover */
  --green: #3B7A3F;       /* metric green tag */
  --green-deep: #2E5F31;
  --red: #B23A2E;         /* metric red tag */
  --on-dark: #F3EEE3;     /* text on dark bands */
  --on-dark-soft: #A9BEBB;
  --border: rgba(14, 43, 42, 0.14);
  --border-soft: rgba(14, 43, 42, 0.08);
  --serif: 'Space Grotesk', ui-sans-serif, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
  --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);
  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; letter-spacing: -0.02em; }
p { margin: 0; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
.on-dark .eyebrow, .band .eyebrow { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--dark); color: var(--on-dark); }
.btn--primary:hover { background: #0a201f; transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(14,43,42,0.5); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(226,123,48,0.6); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); background: rgba(14,43,42,0.03); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.35); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  transition: gap 0.3s var(--ease);
}
.arrow-link:hover { gap: 14px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--dark);
  color: var(--on-dark-soft);
  font-size: 13px;
}
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.25s; }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; align-items: center; gap: 8px; color: var(--on-dark); }
.topbar__left .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.topbar__right { display: none; gap: 26px; }
@media (min-width: 900px) { .topbar__right { display: flex; } }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 8px 30px -18px rgba(14,43,42,0.4);
  border-color: var(--border-soft);
  background: rgba(251, 247, 239, 0.94);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: var(--fg);
}
.brand sup {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent-deep);
  letter-spacing: 0.05em;
  top: -0.8em;
}
.nav { display: none; align-items: center; gap: 34px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-soft);
  position: relative;
  transition: color 0.25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width 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 { width: 100%; }
.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }

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

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  color: var(--on-dark);
  padding: 110px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  letter-spacing: -0.02em;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
}
@media (min-width: 1024px) { .hero { min-height: calc(100vh - 114px); display: flex; align-items: center; padding: 40px 0; } }
.hero::after {
  content: "";
  position: absolute; right: -12%; top: -20%;
  width: 60%; height: 140%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.16), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.hero .eyebrow { color: rgba(255,255,255,0.9); }
.hero .eyebrow::before { background: rgba(255,255,255,0.7); }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 26px;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--dark); }
.hero__list { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 13px; }
.hero__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.95); font-weight: 500;
}
.hero__list svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* hero collage */
.collage { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.collage figure { margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 50px -18px rgba(0,0,0,0.4); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.collage figure:hover img { transform: scale(1.06); }
.collage .c1 { aspect-ratio: 4/5; }
.collage .c2 { aspect-ratio: 4/5; margin-top: 34px; }
.collage .c3 { aspect-ratio: 16/11; }
.collage .c4 { aspect-ratio: 16/11; margin-top: -18px; }
.collage__tag {
  position: absolute;
  bottom: 14px; left: 14px;
  background: var(--dark);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 4px;
  display: inline-flex; gap: 8px; align-items: center;
  z-index: 3;
}
.collage__tag b { color: var(--accent); }

/* ---------- Section shell ---------- */
.section { padding: var(--pad) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 {
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.section__head p { color: var(--muted); font-size: 18px; line-height: 1.7; }

/* ---------- Proof / metric rows ---------- */
.proof__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .proof__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.proof__card { background: var(--bg-alt); border: 1px solid var(--border-soft); border-radius: 12px; padding: 26px; box-shadow: 0 4px 24px -4px rgba(0,0,0,0.06); }
.section--alt .proof__card { background: var(--bg); }
.pill-row { display: grid; gap: 10px; margin-bottom: 22px; }
.pill {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14.5px;
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.01em;
}
.metric-chart { border-radius: 10px; overflow: hidden; border: 1px solid var(--border-soft); position: relative; background: #fff; }
.metric-chart img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tag-abs { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tag { font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 4px; color: #fff; letter-spacing: 0.04em; align-self: flex-start; }
.tag--green { background: var(--green); }
.tag--red { background: var(--red); }
.tag--dark { background: var(--dark); }

/* ---------- Services ---------- */
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 34px 30px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.05);
  display: flex; flex-direction: column;
}
.section--alt .svc-card { background: var(--bg); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 46px -14px rgba(14,43,42,0.2); border-color: var(--border); }
.svc-card__num {
  font-family: var(--mono); font-size: 12px; color: var(--accent-deep);
  letter-spacing: 0.1em; margin-bottom: 22px;
}
.svc-card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: rgba(226,123,48,0.12);
  display: grid; place-items: center; margin-bottom: 22px; color: var(--accent-deep);
}
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 22px; margin-bottom: 12px; letter-spacing: -0.02em; }
.svc-card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 22px; }
.svc-card .arrow-link { margin-top: auto; }

/* ---------- Manifesto / dark band ---------- */
.band { background: var(--dark); color: var(--on-dark); }
.band.on-dark { }
.manifesto { text-align: center; max-width: 940px; margin: 0 auto; }
.manifesto p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.manifesto p em { font-style: normal; color: var(--accent); }
.manifesto .quote-mark { font-family: var(--serif); font-size: 5rem; color: var(--accent); line-height: 0.6; display: block; margin-bottom: 10px; }

/* stats strip on dark */
.stats { display: grid; gap: 30px; margin-top: 60px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat b { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; display: block; letter-spacing: -0.03em; color: #fff; }
.stat span { font-size: 13.5px; color: var(--on-dark-soft); letter-spacing: 0.02em; }

/* ---------- Split feature (references card) ---------- */
.split { display: grid; gap: 22px; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 24px; } }
.split__card { border-radius: 16px; padding: 40px 38px; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; }
.split__card--light { background: var(--bg-alt); border: 1px solid var(--border-soft); box-shadow: 0 6px 28px -8px rgba(0,0,0,0.08); }
.section--alt .split__card--light { background: var(--bg); }
.split__card--accent { background: var(--accent); color: #fff; }
.split__card h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; margin-bottom: 18px; }
.split__list { list-style: none; margin: 8px 0 26px; padding: 0; display: grid; gap: 12px; }
.split__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; font-weight: 500; }
.split__list svg { flex: none; width: 19px; height: 19px; margin-top: 2px; }
.split__card--light .split__list svg { color: var(--green); }
.split__pill-row { display: grid; gap: 10px; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 4px; }
.step {
  display: grid; gap: 8px; padding: 34px 0;
  border-top: 1px solid var(--border);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .step { grid-template-columns: 90px 1fr 1.2fr; gap: 40px; align-items: start; } }
.step__num { font-family: var(--mono); font-size: 13px; color: var(--accent-deep); letter-spacing: 0.08em; padding-top: 6px; }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- Principles / team replacement ---------- */
.prin-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .prin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .prin-grid { grid-template-columns: repeat(3, 1fr); } }
.prin-card {
  background: var(--bg-alt); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 30px 28px;
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.05);
}
.section--alt .prin-card { background: var(--bg); }
.avatar {
  width: 54px; height: 54px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 19px; color: #fff;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.prin-card h3 { font-size: 19px; margin-bottom: 2px; }
.prin-card .role { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); letter-spacing: 0.05em; margin-bottom: 14px; display: block; }
.prin-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; color: var(--fg);
}
.faq__q .ico { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; position: relative; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; background: currentColor; }
.faq__q .ico::before { width: 11px; height: 1.5px; }
.faq__q .ico::after { width: 1.5px; height: 11px; transition: transform 0.4s var(--ease); }
.faq__item[data-open="true"] .ico { background: var(--accent); color: #fff; border-color: var(--accent); }
.faq__item[data-open="true"] .ico::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__a p { color: var(--muted); font-size: 16px; line-height: 1.75; padding-bottom: 26px; max-width: 68ch; }

/* ---------- CTA / contact ---------- */
.cta-band { background: var(--dark); color: var(--on-dark); }
.cta-grid { display: grid; gap: 44px; }
@media (min-width: 940px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.cta-grid h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; color: #fff; margin-bottom: 20px; letter-spacing: -0.025em; }
.cta-grid h2 em { font-style: normal; color: var(--accent); }
.cta-grid > div > p { color: var(--on-dark-soft); font-size: 17px; line-height: 1.75; max-width: 44ch; }
.cta-info { margin-top: 34px; display: grid; gap: 18px; }
.cta-info a, .cta-info div { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--on-dark); }
.cta-info svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-dark-soft); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px; padding: 13px 15px;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(233,228,215,0.4); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.1); }
.form .btn { justify-content: center; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--on-dark-soft); line-height: 1.6; }
.form__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-soft); padding: 72px 0 34px; }
.footer__top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer__tagline { font-size: 15px; line-height: 1.7; max-width: 34ch; margin-bottom: 22px; }
.footer h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 18px; font-weight: 400; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--on-dark); transition: color 0.25s; }
.footer ul a:hover { color: var(--accent); }
.footer__addr { font-style: normal; font-size: 14.5px; line-height: 1.8; color: var(--on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: 13px; }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- 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; }
  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(14,43,42,0.42); 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); padding: 32px 36px; max-width: 480px; border-radius: 10px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5); border: 1px solid var(--border-soft); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-deep); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 21px; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.cookie-popup__card p a { color: var(--accent-deep); 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); cursor: pointer; font-size: 14px; font-weight: 600; border-radius: 4px; transition: background 0.25s, color 0.25s, transform 0.25s; }
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:first-child { color: var(--fg-soft); }
.cookie-popup__actions button:first-child:hover { background: rgba(14,43,42,0.05); }
.cookie-popup__actions button:last-child { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.cookie-popup__actions button:last-child:hover { background: #0a201f; }

/* ---------- Legal / article pages ---------- */
.page-hero { background: var(--dark); color: var(--on-dark); padding: 88px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.03; letter-spacing: -0.03em; max-width: 18ch; }
.page-hero p { color: var(--on-dark-soft); font-size: 18px; margin-top: 18px; max-width: 60ch; }
.prose { max-width: 760px; margin: 0 auto; padding: var(--pad) 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 46px 0 14px; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p { color: var(--fg-soft); font-size: 16.5px; line-height: 1.8; margin-bottom: 16px; }
.prose ul { color: var(--fg-soft); font-size: 16.5px; line-height: 1.8; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* thanks page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 100px 0; }
.thanks__inner { max-width: 620px; }
.thanks__mark { width: 78px; height: 78px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin: 0 auto 30px; color: #fff; }
.thanks__mark svg { width: 34px; height: 34px; }
.thanks h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; margin-bottom: 18px; letter-spacing: -0.03em; }
.thanks p { color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 32px; }
