/* palette: bg=#ECE7DB fg=#171E33 accent=#CE1126 */
/* fonts: display="Bodoni Moda" body="Archivo" mono="IBM Plex Mono" */

:root {
  --bg: #ECE7DB;        /* dominant cream background (reference) */
  --bg-alt: #E2DBC9;    /* alternating deeper cream */
  --bg-paper: #F4F0E7;  /* lightest card paper */
  --fg: #171E33;        /* deep navy ink */
  --fg-soft: #2A3250;   /* slightly lighter ink */
  --muted: #6A6E7E;     /* secondary navy-grey text */
  --accent: #CE1126;    /* Italian modernist red (hero/CTA accent) */
  --accent-deep: #9D0C1C; /* darker red for hover */
  --line: rgba(23, 30, 51, 0.16);
  --line-soft: rgba(23, 30, 51, 0.09);
  --border: rgba(23, 30, 51, 0.16);
  --cream-on-dark: #EFEAE0;
  --serif: 'Bodoni Moda', 'Times New Roman', ui-serif, serif;
  --sans: 'Archivo', 'Helvetica Neue', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  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 { margin: 0; font-weight: 400; }
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(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.section--dark { background: var(--fg); color: var(--cream-on-dark); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.section--dark .eyebrow { color: #E7879A; }
.section--dark .eyebrow::before { background: #E7879A; }

.lead {
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  line-height: 1.58;
  color: var(--fg-soft);
  max-width: 54ch;
}
.section--dark .lead { color: rgba(239, 234, 224, 0.82); }

.muted { color: var(--muted); }

/* ---------- display type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.display em { font-style: italic; color: var(--accent); }
.section--dark .display em { color: #F0929F; }

h2.display { font-size: clamp(2.5rem, 6vw, 5rem); }
h3.display { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.08; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--fg); color: var(--cream-on-dark); }
.btn--primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.section--dark .btn--primary { background: var(--accent); color: #fff; }
.section--dark .btn--primary:hover { background: #fff; color: var(--fg); }
.section--dark .btn--ghost { color: var(--cream-on-dark); border-color: rgba(239,234,224,0.3); }
.section--dark .btn--ghost:hover { border-color: var(--cream-on-dark); }

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

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 231, 219, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px -20px rgba(23,30,51,0.4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; align-items: baseline; gap: 4px; }
.brand__mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.brand__dot { width: 7px; height: 7px; background: var(--accent); display: inline-block; border-radius: 1px; }
.nav { display: none; gap: 38px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width .35s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--fg); }
.header__cta { display: none; }

.menu-toggle {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  margin-right: -10px;
}
.menu-toggle span {
  width: 24px; height: 1.5px; background: var(--fg);
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) 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.5px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 95;
  background: var(--bg);
  padding: 40px var(--pad) 48px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__nav a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__nav .btn { margin-top: 28px; font-family: var(--mono); font-size: 12px; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--cream-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,14,28,0.35) 0%, rgba(10,14,28,0.25) 40%, rgba(10,14,28,0.86) 100%);
}
.hero__inner { padding-top: 160px; padding-bottom: clamp(56px, 8vw, 96px); width: 100%; }
.hero__eyebrow { color: #F2A6B2; }
.hero__eyebrow::before { background: #F2A6B2; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 10vw, 9rem);
  letter-spacing: -0.03em;
  line-height: 0.97;
  max-width: 15ch;
  margin: 0 0 32px;
}
.hero h1 em { font-style: italic; color: #F0929F; }
.hero__sub { max-width: 50ch; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.6; color: rgba(239,234,224,0.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__meta {
  margin-top: clamp(48px, 7vw, 76px);
  padding-top: 26px;
  border-top: 1px solid rgba(239,234,224,0.22);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
.hero__meta div span { display: block; }
.hero__meta .k { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.hero__meta .v { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(239,234,224,0.66); margin-top: 10px; }

/* ---------- page hero (interior) ---------- */
.page-hero { padding: clamp(130px, 18vw, 200px) 0 clamp(50px, 8vw, 90px); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  max-width: 16ch;
  margin: 0 0 28px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead { max-width: 60ch; }

/* ---------- intro / two-col ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 80px); }
.split__head { max-width: 40ch; }
.split__body > * + * { margin-top: 24px; }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto;
}
.manifesto__quote em { font-style: italic; color: #F0929F; }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.manifesto__by {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239,234,224,0.6);
  margin-top: 44px;
}

/* ---------- section header ---------- */
.sec-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vw, 80px); }
.sec-head__top { max-width: 22ch; }
.sec-head p.lead { margin-top: 4px; }

/* ---------- services grid ---------- */
.svc-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc-item {
  display: grid;
  gap: 14px;
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.svc-item__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.svc-item__title { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.08; letter-spacing: -0.01em; }
.svc-item__desc { color: var(--fg-soft); max-width: 60ch; font-size: 1.05rem; line-height: 1.68; }
.svc-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.svc-item__tags span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-soft); padding: 5px 11px; border-radius: 2px;
}
@media (min-width: 820px) {
  .svc-item { grid-template-columns: 0.5fr 1.5fr; gap: 40px; align-items: start; }
  .svc-item__head { display: grid; gap: 14px; }
}

/* ---------- work / case cards ---------- */
.work-grid { display: grid; gap: clamp(24px, 3vw, 36px); }
.work-card { display: block; overflow: hidden; }
.work-card__media { overflow: hidden; border-radius: 3px; background: var(--fg); aspect-ratio: 4 / 5; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; }
.work-card__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.work-card__yr { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.work-card__title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.1; margin-top: 10px; letter-spacing: -0.01em; }
.work-card__desc { color: var(--fg-soft); margin-top: 12px; font-size: 1rem; line-height: 1.6; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- stats band ---------- */
.stats { display: grid; gap: 0; }
.stat { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid rgba(239,234,224,0.18); }
.stat:first-child { border-top: 0; }
.stat .k { font-family: var(--serif); font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.9; letter-spacing: -0.03em; }
.stat .k em { font-style: normal; color: #F0929F; }
.stat .v { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(239,234,224,0.66); margin-top: 16px; max-width: 26ch; }
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(4, 1fr); column-gap: clamp(24px, 3vw, 48px); }
  .stat { border-top: 0; border-left: 1px solid rgba(239,234,224,0.18); padding: 0 clamp(16px, 2vw, 28px); }
  .stat:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- principles (numbered) ---------- */
.principles { display: grid; gap: 0; }
.principle {
  display: grid; gap: 14px;
  padding: clamp(34px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
}
.principle__num { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; color: var(--accent); }
.principle__title { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; line-height: 1.1; }
.principle__desc { color: var(--fg-soft); max-width: 62ch; line-height: 1.7; }
@media (min-width: 820px) {
  .principle { grid-template-columns: auto 1fr; column-gap: 48px; align-items: baseline; }
  .principle__body { display: grid; gap: 14px; }
}

/* ---------- feature cards (value grid) ---------- */
.card-grid { display: grid; gap: clamp(18px, 2vw, 24px); }
@media (min-width: 680px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg-paper);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: clamp(28px, 3vw, 40px);
  display: grid;
  gap: 14px;
  align-content: start;
  box-shadow: 0 4px 24px -4px rgba(23,30,51,0.08);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { box-shadow: 0 12px 40px -8px rgba(23,30,51,0.16); transform: translateY(-4px); border-color: var(--line); }
.card__idx { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.card__title { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.12; letter-spacing: -0.01em; }
.card__desc { color: var(--fg-soft); font-size: 1rem; line-height: 1.66; }

/* ---------- team / studio cards (monogram, no faces) ---------- */
.team-grid { display: grid; gap: clamp(18px, 2vw, 24px); }
@media (min-width: 680px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.person { display: grid; gap: 18px; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line-soft); border-radius: 3px; background: var(--bg-paper); }
.avatar--mono {
  width: 64px; height: 64px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.5rem; color: #fff; letter-spacing: 0.01em;
}
.person__name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.person__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.person__bio { color: var(--fg-soft); font-size: 0.97rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: clamp(22px, 3vw, 30px) 0; }
.faq__q { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.2; letter-spacing: -0.01em; }
.faq__a { color: var(--fg-soft); margin-top: 14px; max-width: 70ch; line-height: 1.72; }
@media (min-width: 820px) { .faq__item { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 48px; } .faq__a { margin-top: 0; } }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { font-family: var(--serif); font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -0.02em; line-height: 1.04; max-width: 20ch; margin: 0 auto 28px; }
.cta h2 em { font-style: italic; color: #F0929F; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 36px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: grid; gap: 34px; align-content: start; }
.contact-block h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.contact-block p, .contact-block address { font-style: normal; color: var(--fg-soft); line-height: 1.7; }
.contact-block a:hover { color: var(--accent); }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem;
  color: var(--fg); background: var(--bg-paper);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 14px 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--fg);
  box-shadow: 0 0 0 3px rgba(23,30,51,0.08);
}
.field textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; margin-top: 6px; }
.form__note { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.form__note a { text-decoration: underline; text-underline-offset: 3px; }

.map-embed { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-alt); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.25) contrast(1.02); }

/* ---------- footer ---------- */
.footer { background: var(--fg); color: var(--cream-on-dark); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__inner { display: grid; gap: 48px; }
.footer__brand { max-width: 34ch; }
.footer__mark { font-family: var(--serif); font-size: 2rem; letter-spacing: -0.015em; }
.footer__tag { color: rgba(239,234,224,0.7); margin-top: 18px; line-height: 1.6; font-size: 1.02rem; }
.footer__cols { display: grid; gap: 40px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(239,234,224,0.5); margin-bottom: 18px; }
.footer__col a, .footer__col address { display: block; color: rgba(239,234,224,0.82); font-style: normal; line-height: 1.9; font-size: 0.97rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: #F0929F; }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px); padding-top: 28px;
  border-top: 1px solid rgba(239,234,224,0.16);
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(239,234,224,0.55);
}
@media (min-width: 680px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .footer__inner { grid-template-columns: 1.4fr 2.4fr; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 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(10,14,28,0.44);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg); color: var(--fg);
  padding: 34px 38px; max-width: 480px; border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -24px rgba(10,14,28,0.6);
  transform: translateY(14px); transition: transform .4s var(--ease);
}
.cookie-popup[data-open="true"] .cookie-popup__card { transform: none; }
.cookie-popup__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.12; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--fg-soft); font-size: 0.95rem; line-height: 1.64; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 12px 24px; border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--cream-on-dark); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 48px 0 16px; letter-spacing: -0.01em; }
.legal h3 { font-family: var(--serif); font-size: 1.3rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--fg-soft); line-height: 1.78; margin-bottom: 14px; }
.legal ul { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.legal li { padding-left: 24px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 2px; background: var(--accent); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- thanks ---------- */
.thanks { min-height: 76vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks h1 { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.02em; line-height: 1.02; margin-bottom: 24px; }
.thanks h1 em { font-style: italic; color: var(--accent); }
.thanks p { color: var(--fg-soft); max-width: 48ch; margin: 0 auto 32px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}

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

/* ---------- utility grids ---------- */
@media (min-width: 900px) {
  .split--2 { grid-template-columns: 1fr 1fr; align-items: start; }
  .split--intro { grid-template-columns: 0.9fr 1.1fr; }
}
