/* palette: bg=#EAE9E4 fg=#0B0B0B accent=#E4002B */
/* fonts: display="Archivo" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #EAE9E4;
  --bg-alt: #E0DED7;
  --fg: #0B0B0B;
  --fg-soft: #262523;
  --muted: #6E6B64;
  --accent: #E4002B;
  --accent-deep: #B00020;
  --line: #0B0B0B;
  --border: rgba(11, 11, 11, 0.14);
  --border-strong: rgba(11, 11, 11, 0.32);
  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gap: 6px;
  --maxw: 1320px;
}

*, *::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;
  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: 700; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: var(--accent); color: #fff; }

/* ------------------------------------------------------------------ */
/* Layout primitives                                                   */
/* ------------------------------------------------------------------ */
.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(--muted);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
}

.section { padding: clamp(72px, 12vw, 150px) 0; }
.section--tight { padding: clamp(48px, 8vw, 88px) 0; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(234, 233, 228, 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);
}
.header[data-scrolled="true"] {
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.4);
}
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 20px;
  max-width: 1560px;
  margin: 0 auto;
}
@media (min-width: 768px) { .header__inner { padding: 0 28px; height: 68px; } }

.wordmark {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--fg);
}
@media (min-width: 900px) {
  .wordmark {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 25px;
  }
}
.wordmark span { color: var(--accent); }

.nav {
  display: none;
  gap: 26px;
  align-items: center;
}
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav a:hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--line);
  padding: 8px 16px !important;
  color: var(--fg) !important;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--fg); color: var(--bg) !important; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0 8px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 1.6px;
  width: 22px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) 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.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 90px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  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: none; opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.03em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .mm-meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  line-height: 2;
}

/* ------------------------------------------------------------------ */
/* Hero — mosaic grid                                                  */
/* ------------------------------------------------------------------ */
.hero-head {
  border-bottom: 1px solid var(--line);
}
.hero-head__inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) 20px clamp(28px, 4vw, 44px);
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) { .hero-head__inner { padding-left: 28px; padding-right: 28px; } }
@media (min-width: 900px) {
  .hero-head__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}
.hero-head h1 {
  font-size: clamp(3.1rem, 9vw, 8.4rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.hero-head h1 em { font-style: normal; color: var(--accent); }
.hero-head__aside {
  border-left: 1px solid var(--border);
  padding-left: 20px;
}
@media (max-width: 899px) {
  .hero-head__aside { border-left: 0; padding-left: 0; }
}
.hero-head__aside p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 42ch;
}
.hero-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  padding: var(--gap);
  background: var(--line);
}
@media (min-width: 640px) { .mosaic { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }

.tile {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
  display: block;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
  filter: saturate(1.02);
}
.tile:hover img { transform: scale(1.06); }
.tile--tall { aspect-ratio: 3 / 4; }
.tile--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (max-width: 639px) {
  .tile--wide { grid-column: span 2; }
}
.tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 58%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.tile:hover .tile__overlay { opacity: 1; transform: none; }
.tile__cat {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  opacity: 0.72;
}
.tile__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 4px;
  line-height: 1.15;
}
.tile__num {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #fff;
  mix-blend-mode: difference;
}

/* ------------------------------------------------------------------ */
/* Manifesto / statement band (dark)                                   */
/* ------------------------------------------------------------------ */
.manifesto {
  background: var(--fg);
  color: var(--bg);
}
.manifesto .container { padding-top: clamp(80px, 13vw, 160px); padding-bottom: clamp(80px, 13vw, 160px); }
.manifesto .eyebrow { color: rgba(234,233,228,0.6); }
.manifesto .eyebrow::before { background: var(--accent); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.7rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin: 26px 0 0;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(234,233,228,0.2);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(234,233,228,0.7);
}

/* ------------------------------------------------------------------ */
/* Section header (shared)                                             */
/* ------------------------------------------------------------------ */
.sec-head {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .sec-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}
.sec-head h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 0.98;
  font-weight: 600;
}
.sec-head__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 46ch;
}
@media (min-width: 900px) { .sec-head__lead { justify-self: end; } }

/* ------------------------------------------------------------------ */
/* Categories / library grid                                           */
/* ------------------------------------------------------------------ */
.catgrid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) { .catgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .catgrid { grid-template-columns: repeat(3, 1fr); } }
.cat {
  padding: 34px 26px 30px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.35s var(--ease);
  display: block;
  position: relative;
}
.cat:hover { background: var(--bg-alt); }
.cat__idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  color: var(--muted);
}
.cat h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 16px 0 10px;
  letter-spacing: -0.02em;
}
.cat p { font-size: 15px; line-height: 1.6; color: var(--fg-soft); }
.cat__arrow {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.cat:hover .cat__arrow { gap: 14px; color: var(--accent); }

/* ------------------------------------------------------------------ */
/* Stats bar                                                           */
/* ------------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 40px 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat__num span { color: var(--accent); }
.stat__label {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Articles / featured cards                                           */
/* ------------------------------------------------------------------ */
.artgrid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .artgrid { grid-template-columns: repeat(3, 1fr); } }
.art {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.art:hover { box-shadow: 0 12px 40px -8px rgba(0,0,0,0.14); transform: translateY(-3px); }
.art__media { overflow: hidden; aspect-ratio: 16 / 10; background: #111; }
.art__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.art:hover .art__media img { transform: scale(1.05); }
.art__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.art__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.art__meta span:first-child { color: var(--accent); }
.art h3 { font-size: 20px; font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; }
.art p { font-size: 15px; line-height: 1.58; color: var(--fg-soft); }
.art__read {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  gap: 8px;
  transition: gap 0.3s var(--ease);
}
.art:hover .art__read { gap: 14px; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 26px;
  border: 1px solid var(--line);
  color: var(--fg);
  background: var(--bg);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn--ghost { background: transparent; }
.btn--onDark { border-color: rgba(234,233,228,0.4); color: var(--bg); background: transparent; }
.btn--onDark:hover { background: var(--bg); color: var(--fg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }

/* ------------------------------------------------------------------ */
/* CTA band                                                            */
/* ------------------------------------------------------------------ */
.cta {
  border: 1px solid var(--line);
  padding: clamp(44px, 8vw, 96px) clamp(24px, 5vw, 72px);
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) { .cta { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.cta h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.02;
  font-weight: 600;
}
.cta h2 em { font-style: normal; color: var(--accent); }
.cta__side { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) { .cta__side { align-items: flex-start; justify-self: end; } }
.cta__side p { font-size: 16px; line-height: 1.6; color: var(--fg-soft); max-width: 38ch; }

/* ------------------------------------------------------------------ */
/* Generic content (about / services / legal)                          */
/* ------------------------------------------------------------------ */
.page-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(70px, 12vw, 150px) 0 clamp(40px, 6vw, 70px);
}
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.94;
  font-weight: 400;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero__lead {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 58ch;
}

.prose { max-width: 68ch; }
.prose p { font-size: 17px; line-height: 1.78; color: var(--fg-soft); margin-bottom: 20px; }
.prose h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 600; margin: 46px 0 18px; }
.prose h3 { font-size: 1.35rem; font-weight: 600; margin: 32px 0 12px; }
.prose ul { padding-left: 20px; margin: 0 0 22px; }
.prose li { font-size: 17px; line-height: 1.75; color: var(--fg-soft); margin-bottom: 8px; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.prose strong { color: var(--fg); }

/* split rows (services / values) */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  gap: 14px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .row { grid-template-columns: 0.4fr 0.85fr 0.6fr; align-items: start; } }
.row__idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  color: var(--accent);
}
.row h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; }
.row p { font-size: 16px; line-height: 1.65; color: var(--fg-soft); }
.row__tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.row__tags span {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 10px;
}

/* team / principles text cards */
.people {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .people { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .people { grid-template-columns: repeat(4, 1fr); } }
.person {
  border: 1px solid var(--border);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 230px;
}
.avatar {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
}
.person h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.person__role {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: -8px;
}
.person p { font-size: 14px; line-height: 1.6; color: var(--fg-soft); margin-top: auto; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--border); padding: 30px 0; }
@media (min-width: 900px) {
  .faq__item { display: grid; grid-template-columns: 0.5fr 1fr; gap: 40px; }
}
.faq__item h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.faq__item p { font-size: 16px; line-height: 1.68; color: var(--fg-soft); margin-top: 12px; }
@media (min-width: 900px) { .faq__item p { margin-top: 0; } }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact-info dl { margin: 0; }
.contact-info dt {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-top: 26px;
}
.contact-info dd { margin: 6px 0 0; font-size: 18px; color: var(--fg); line-height: 1.5; }
.contact-info dd a:hover { color: var(--accent); }

.form { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: var(--muted); }
.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.form__consent input { margin-top: 3px; accent-color: var(--accent); }
.form__consent a { color: var(--accent); }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(60px, 9vw, 110px) 0 40px;
}
.footer__top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(234,233,228,0.18);
}
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand .wordmark { color: var(--bg); font-size: 30px; }
.footer__brand .wordmark span { color: var(--accent); }
.footer__brand p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(234,233,228,0.72);
  max-width: 34ch;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: rgba(234,233,228,0.5);
  margin-bottom: 18px;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 15px;
  color: rgba(234,233,228,0.86);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  padding-top: 30px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(234,233,228,0.55);
}

/* ------------------------------------------------------------------ */
/* 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);
  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: 1px solid var(--line);
  border-radius: 2px;
}
@media (min-width: 640px) { .cookie-popup { align-items: center; justify-content: flex-start; } }
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.cookie-popup h3 { font-size: 20px; font-weight: 600; margin: 12px 0 10px; letter-spacing: -0.01em; }
.cookie-popup p { font-size: 14px; line-height: 1.6; color: var(--fg-soft); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 20px; }
.cookie-popup__actions button {
  padding: 10px 24px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.cookie-popup__actions button:first-child:hover { background: var(--bg-alt); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); }

/* utility */
.mt-lg { margin-top: clamp(48px, 8vw, 96px); }
.center { text-align: center; }
