/* palette: bg=#0B0B0F fg=#F5F4EF accent=#2F5CFF */
/* fonts: display="Fraunces" body="Hanken Grotesk" mono="Space Mono" */

:root {
  --bg: #0B0B0F;          /* dominant near-black canvas (from component) */
  --bg-alt: #121219;      /* alternating dark section */
  --paper: #F5F4EF;       /* off-white flip section */
  --paper-dim: #EAE8DF;   /* off-white alt */
  --fg: #F5F4EF;          /* primary foreground on dark */
  --fg-soft: #D5D4CD;     /* softer foreground */
  --muted: #8E8E99;       /* secondary text */
  --ink: #0B0B0F;         /* dark text on light sections */
  --ink-soft: #3A3A42;    /* soft dark text on light */
  --accent: #2F5CFF;      /* saturated electric blue (from component) */
  --accent-deep: #1E42D6; /* darker blue for hover */
  --accent-wash: #16214A; /* deep blue wash for dark cards */
  --border: rgba(245, 244, 239, 0.14);
  --border-ink: rgba(11, 11, 15, 0.14);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 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: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

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

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--light { background: var(--paper); color: var(--ink); }
.section--paper-dim { background: var(--paper-dim); color: var(--ink); }
.section--blue { background: var(--accent); color: #fff; }
.section--alt { background: var(--bg-alt); }

.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: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  opacity: 0.8;
}
.section--blue .eyebrow { color: rgba(255,255,255,0.85); }
.section--light .eyebrow { color: var(--accent); }

.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.section__title em { font-style: italic; color: var(--accent); }
.section--blue .section__title em,
.section--blue .section__title { color: #fff; }
.section--light .section__title em { color: var(--accent); }
.section__intro {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 620px;
  margin: 26px 0 0;
}
.section--light .section__intro { color: var(--ink-soft); }
.section--blue .section__intro { color: rgba(255,255,255,0.88); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(47,92,255,0.6); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.section--light .btn--ghost { border-color: var(--border-ink); color: var(--ink); }
.section--light .btn--ghost:hover { border-color: var(--ink); }
.section--blue .btn--primary { background: #fff; color: var(--accent); box-shadow: none; }
.section--blue .btn--primary:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-dim); transform: translateY(-2px); }

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

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 15, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--fg);
}
.nav { display: none; gap: 34px; }
.nav__link {
  font-size: 14px;
  color: var(--fg-soft);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--fg); }
.nav__link:hover::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--fg); }
.nav__link[aria-current="page"]::after { width: 100%; }
.header__right { display: flex; align-items: center; gap: 18px; }
.header__cta { display: none; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.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 {
  position: fixed;
  inset: 72px 0 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.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.mobile-menu .btn { margin-top: 28px; justify-content: center; }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(56px, 8vw, 96px);
  padding-top: 120px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  animation: heroZoom 9s var(--ease) forwards;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,15,0.7) 0%, rgba(11,11,15,0.35) 40%, rgba(11,11,15,0.92) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(47,92,255,0.22), transparent 60%);
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }

.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__eyebrow { color: var(--accent); }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 15ch;
}
.hero__title em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero__lead {
  margin: 32px 0 0;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 54ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__ticker {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__ticker span { display: inline-flex; align-items: center; gap: 10px; }
.hero__ticker span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 980px;
  margin: 0 auto;
}
.manifesto__quote em { font-style: italic; color: var(--accent); }
.section--blue .manifesto__quote em { color: #fff; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  height: 0.5em;
}
.section--blue .manifesto__mark { color: rgba(255,255,255,0.6); }
.manifesto__by {
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--blue .manifesto__by { color: rgba(255,255,255,0.8); }

/* ---------- Timeline (Skeleton D) ---------- */
.timeline { position: relative; margin-top: 20px; }
.tl-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 38px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.tl-item:last-child { border-bottom: 1px solid var(--border); }
.tl-item__meta { display: flex; align-items: baseline; gap: 20px; }
.tl-item__index {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 0.8;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.tl-item__phase {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.tl-item__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.1;
}
.tl-item__body p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.tl-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tl-item__tags span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--fg-soft);
}
@media (min-width: 860px) {
  .tl-item { grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
  .tl-item__meta { flex-direction: column; gap: 14px; }
}

/* ---------- Services grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-ink);
  border: 1px solid var(--border-ink);
}
.section--light .svc-card { background: var(--paper); }
.svc-card {
  background: var(--paper);
  padding: 40px 34px 46px;
  transition: background 0.4s var(--ease);
}
.svc-card:hover { background: var(--paper-dim); }
.svc-card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.svc-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
  margin: 20px 0 14px;
  line-height: 1.1;
  color: var(--ink);
}
.svc-card__desc { margin: 0 0 24px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; }
.svc-card__list { display: flex; flex-direction: column; gap: 9px; margin-top: 8px; }
.svc-card__list li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.svc-card__list li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--accent);
  font-family: var(--mono);
}
@media (min-width: 680px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Stats band ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.stat { padding: 40px 28px; background: var(--bg); }
.section--blue .stats-grid { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.22); }
.section--blue .stat { background: var(--accent); }
.stat__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.stat .u { color: var(--accent); }
.section--blue .stat .u { color: #fff; }
.stat__label {
  margin-top: 16px;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 24ch;
}
.section--blue .stat__label { color: rgba(255,255,255,0.88); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Work / case studies ---------- */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.work-card {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-alt);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
}
.work-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 24px 60px -24px rgba(0,0,0,0.7); }
.work-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
  opacity: 0.86;
}
.work-card:hover .work-card__media img { transform: scale(1.06); opacity: 1; }
.work-card__body { padding: 28px 28px 32px; }
.work-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-card__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin: 14px 0 12px;
  line-height: 1.12;
}
.work-card__body p { margin: 0 0 22px; color: var(--muted); font-size: 1rem; }
.work-card__stat { display: flex; gap: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.work-card__stat div span { display: block; }
.work-card__stat .n { font-family: var(--serif); font-size: 1.6rem; color: var(--accent); line-height: 1; }
.work-card__stat .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Principles / how we work ---------- */
.pr-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border-top: 1px solid var(--border); }
.pr-item { padding: 40px 0; display: grid; grid-template-columns: 1fr; gap: 14px; background: var(--bg); }
.pr-item__k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.pr-item__t { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.01em; margin: 0; line-height: 1.1; }
.pr-item__d { margin: 0; color: var(--muted); font-size: 1.02rem; max-width: 62ch; }
@media (min-width: 860px) {
  .pr-item { grid-template-columns: 90px 1fr 1fr; gap: 40px; align-items: start; padding: 48px 0; }
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); max-width: 900px; }
.section--light .faq-list { border-top-color: var(--border-ink); }
.faq-item { border-bottom: 1px solid var(--border); }
.section--light .faq-item { border-bottom-color: var(--border-ink); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  position: relative;
  margin-top: 6px;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute;
  background: var(--accent);
  transition: transform 0.35s var(--ease);
}
.faq-item__icon::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.faq-item__icon::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-item__icon::after { transform: translateX(-50%) scaleY(0); }
.faq-item__a { padding: 0 54px 30px 0; color: var(--muted); font-size: 1.05rem; line-height: 1.72; max-width: 70ch; }
.section--light .faq-item__a { color: var(--ink-soft); }
.faq-item[open] summary { color: var(--accent); }
.section--light .faq-item[open] summary { color: var(--accent); }

/* ---------- CTA ---------- */
.cta__inner { text-align: center; max-width: 820px; margin: 0 auto; }
.cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.cta__title em { font-style: italic; }
.cta__sub { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin: 0 auto 40px; max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
.contact-info h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; margin: 0 0 6px; }
.contact-info .block { padding: 26px 0; border-top: 1px solid var(--border); }
.contact-info .block:first-of-type { border-top: 0; padding-top: 0; }
.contact-info .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.contact-info p { margin: 0; color: var(--fg-soft); line-height: 1.6; }
.contact-info a:hover { color: var(--accent); }

.form { display: grid; gap: 20px; }
.form .field { display: grid; gap: 8px; }
.form label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 15px 16px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: #5f5f6a; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); background: #16161f; }
.form textarea { resize: vertical; min-height: 140px; }
.form .row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.form__note a { color: var(--accent); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }

/* ---------- Generic prose (legal pages) ---------- */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(48px, 7vw, 90px); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.page-hero p { color: var(--muted); margin: 24px 0 0; max-width: 60ch; }
.prose { max-width: 820px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.01em; margin: 56px 0 18px; line-height: 1.12; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin: 34px 0 12px; }
.prose p { color: var(--fg-soft); margin: 0 0 18px; line-height: 1.78; }
.prose ul.bullets { margin: 0 0 20px; padding-left: 0; display: grid; gap: 10px; }
.prose ul.bullets li { padding-left: 26px; position: relative; color: var(--fg-soft); line-height: 1.65; }
.prose ul.bullets li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: #060609; padding: clamp(70px, 9vw, 120px) 0 44px; border-top: 1px solid var(--border); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; }
.footer__brand .brand__name { font-size: 1.5rem; }
.footer__tag { color: var(--muted); margin: 22px 0 0; max-width: 34ch; line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.footer__col a { display: block; color: var(--fg-soft); padding: 7px 0; font-size: 0.98rem; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--fg); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
@media (min-width: 760px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1.3fr 2fr; gap: 80px; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Scroll 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; }
  .hero__media img { 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);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 32px 34px;
  max-width: 480px;
  border-radius: 14px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7);
}
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 14px 0 12px; letter-spacing: -0.01em; }
.cookie-popup__card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cookie-popup__actions button:first-child: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); border-color: var(--accent-deep); }

/* ---------- Misc ---------- */
.split-head { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.split-head .section__intro { margin-top: 0; }
@media (min-width: 900px) { .split-head { grid-template-columns: 1.4fr 1fr; gap: 60px; } }
.anchor-offset { scroll-margin-top: 92px; }
