/* palette: bg=#ECE6D5 fg=#161310 accent=#E24E1B */
/* fonts: display="Space Grotesk" body="Inter" mono="Space Mono" */

:root {
  --bg: #ECE6D5;        /* dominant warm cream from reference */
  --bg-alt: #E3DBC5;    /* alternating deeper cream */
  --fg: #161310;        /* primary near-black text */
  --fg-soft: #3B362D;   /* slightly lighter foreground */
  --muted: #ADA793;     /* secondary text / large list rows */
  --muted-soft: #C7C1B0;
  --accent: #E24E1B;    /* red-orange from CTA + eyebrow */
  --accent-deep: #C13F12;
  --ink: #14110D;       /* dark inverted band background */
  --ink-soft: #221E17;
  --on-ink: #EDE8DA;    /* text on dark band */
  --on-ink-muted: #8C8674;
  --border: rgba(22, 19, 16, 0.14);
  --border-strong: rgba(22, 19, 16, 0.26);
  --border-ink: rgba(237, 232, 218, 0.16);

  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', 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: 1280px;
  --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);
  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; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

.section { padding: var(--pad) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 28px;
  display: inline-block;
}

.section-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.section-head p {
  margin-top: 24px;
  max-width: 560px;
  color: var(--fg-soft);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(236, 230, 213, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 30px -12px rgba(22, 19, 16, 0.22);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) { .header__inner { padding: 22px 32px; } }

.header__brand {
  grid-column: 2;
  justify-self: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.header__nav {
  display: none;
  gap: 30px;
  align-items: center;
  font-size: 0.95rem;
}
.header__nav a { color: var(--fg); transition: color 0.25s var(--ease); }
.header__nav a:hover { color: var(--accent); }
.header__nav--left { grid-column: 1; justify-self: start; }
.header__nav--right { grid-column: 3; justify-self: end; }
@media (min-width: 900px) { .header__nav { display: flex; } }

.menu-toggle {
  grid-column: 3;
  justify-self: end;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  padding: 0;
}
@media (min-width: 900px) {
  .menu-toggle { grid-column: 3; margin-left: 30px; }
  .header__nav--right { grid-column: 3; justify-self: end; padding-right: 60px; }
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  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: 20px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 26px; }
.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: 26px; }

/* ---------- Mobile / full menu overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--on-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 24px 48px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; max-width: var(--container); margin: 0 auto; width: 100%; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  padding: 8px 0;
  color: var(--on-ink);
  transition: color 0.25s var(--ease), padding-left 0.35s var(--ease);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 16px; }
.mobile-menu__meta {
  max-width: var(--container);
  margin: clamp(40px, 6vw, 72px) auto 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}
.mobile-menu__meta a { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  transition: gap 0.3s var(--ease), color 0.25s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__media {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: clamp(280px, 46vw, 560px);
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.06) saturate(1.02);
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(236,230,213,0.35) 0%, rgba(236,230,213,0) 22%, rgba(236,230,213,0) 58%, rgba(236,230,213,0.82) 88%, rgba(236,230,213,0.95) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px clamp(40px, 6vw, 72px);
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .hero__inner { padding: 0 32px clamp(48px, 5vw, 80px); grid-template-columns: 1.5fr 1fr; align-items: end; }
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__meta { align-self: end; }
@media (min-width: 768px) { .hero__meta { text-align: left; justify-self: end; max-width: 340px; } }
.hero__meta p {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ---------- Marquee / ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--on-ink);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-ink);
  border-bottom: 1px solid var(--border-ink);
}
.ticker__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: tickerMove 32s linear infinite;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}
.ticker__track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker__track span::after { content: "◆"; color: var(--accent); }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- Dark manifesto band ---------- */
.manifesto {
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(100px, 15vw, 200px) 0;
  text-align: center;
}
.manifesto .eyebrow { color: var(--accent); }
.manifesto p.statement {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 1000px;
  margin: 0 auto;
}
.manifesto p.statement em { font-style: normal; color: var(--accent); }
.manifesto .quote-mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 24px;
}

/* ---------- Focus areas list ---------- */
.focus .focus-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 32px;
  padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px solid var(--border);
  align-items: center;
  transition: color 0.3s var(--ease);
  color: var(--muted);
}
.focus .focus-row:last-child { border-bottom: 1px solid var(--border); }
.focus .focus-row:hover, .focus .focus-row.is-active { color: var(--fg); }
.focus .focus-row__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.focus .focus-row:hover .focus-row__title { color: var(--fg); }
.focus .focus-row__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 900px) {
  .focus .focus-row {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
  }
}

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
}
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card { display: block; }
.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__index {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--bg);
  color: var(--fg);
  padding: 5px 10px;
}
.work-card__cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 20px 0 8px;
  display: block;
}
.work-card__title {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--fg-soft);
}

/* ---------- Featured case ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) { .feature { grid-template-columns: 1.05fr 1fr; } }
.feature__media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg-alt); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature h3 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: 22px;
}
.feature p { color: var(--fg-soft); font-size: 1.0625rem; margin-bottom: 18px; }
.feature__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.feature__stats .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.feature__stats .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  display: block;
}

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats__cell { background: var(--bg); padding: clamp(28px, 4vw, 48px) 24px; }
.stats__cell .num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.stats__cell .num em { font-style: normal; color: var(--accent); }
.stats__cell .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  display: block;
  line-height: 1.6;
}

/* ---------- Process / steps ---------- */
.process-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.process-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--border);
}
.process-item:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .process-item { grid-template-columns: 80px 1fr 1.4fr; gap: 40px; align-items: start; } }
.process-item__num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); }
.process-item__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; letter-spacing: -0.01em; }
.process-item__desc { color: var(--fg-soft); font-size: 1.0625rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote-card {
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.quote-card figcaption { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.quote-card .who { font-size: 0.95rem; font-weight: 600; }
.quote-card .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; }
.faq details {
  border-top: 1px solid var(--border);
  padding: 6px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  color: var(--fg-soft);
  font-size: 1.0625rem;
  line-height: 1.75;
  padding-bottom: 26px;
  max-width: 680px;
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
}
.cta h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 16ch;
  margin: 0 auto 32px;
}
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: var(--on-ink-muted); max-width: 520px; margin: 0 auto 40px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 0;
  transition: border-color 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-soft); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }

.contact-detail { border-top: 1px solid var(--border); padding: 22px 0; display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.contact-detail:last-of-type { border-bottom: 1px solid var(--border); }
.contact-detail dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-detail dd { margin: 0; font-size: 1.0625rem; color: var(--fg); }
.contact-detail dd a:hover { color: var(--accent); }

/* ---------- Team (text / monogram, no faces) ---------- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { background: var(--bg); padding: clamp(26px, 3vw, 40px); }
.team-card .avatar { width: 60px; height: 60px; flex-basis: 60px; font-size: 1.15rem; margin-bottom: 26px; }
.team-card h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
.team-card .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 8px 0 16px; display: block; }
.team-card p { color: var(--fg-soft); font-size: 0.98rem; line-height: 1.65; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(56px, 8vw, 100px); border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { margin-top: 28px; max-width: 620px; color: var(--fg-soft); font-size: 1.125rem; }

/* alternating background helper */
.bg-alt { background: var(--bg-alt); }

/* prose for legal pages */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; margin: 48px 0 16px; font-weight: 500; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 12px; font-weight: 500; }
.prose p { color: var(--fg-soft); margin-bottom: 18px; font-size: 1.0625rem; }
.prose ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; color: var(--fg-soft); }
.prose ul li { margin-bottom: 10px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .lead { font-size: 1.2rem; color: var(--fg); }

/* thanks page */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks .container { max-width: 720px; }
.thanks .mark { font-family: var(--serif); font-size: clamp(4rem, 12vw, 8rem); color: var(--accent); line-height: 1; margin-bottom: 24px; }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -0.02em; font-weight: 400; margin-bottom: 24px; }
.thanks p { color: var(--fg-soft); max-width: 520px; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink); padding: clamp(64px, 9vw, 120px) 0 40px; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--border-ink);
}
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand { font-family: var(--serif); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; margin-bottom: 20px; }
.footer__tag { color: var(--on-ink-muted); max-width: 320px; font-size: 1rem; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer__col a, .footer__col p { display: block; color: var(--on-ink); margin-bottom: 12px; font-size: 0.98rem; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}
.footer__bottom a:hover { color: var(--accent); }

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

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(20,17,13,0.4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 32px 36px; max-width: 480px; border-radius: 4px; box-shadow: 0 20px 60px -12px rgba(0,0,0,0.4); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 0.95rem; color: var(--fg-soft); line-height: 1.6; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 20px; }
.cookie-popup__actions button { padding: 12px 24px; border: 1px solid var(--border-strong); cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; 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); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* small utilities */
.mt-cta { margin-top: clamp(40px, 5vw, 64px); }
.center { text-align: center; }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
