/* =========================================================================
   EpicWave Studio — site.css
   One layout, two directions via tokens:
     [data-theme="aurum"]      dark prestige · onyx + gold · Libre Caslon
     [data-theme="monolithe"]  light institution · stone + ink + red · Bodoni
   ========================================================================= */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }

/* ---------- theme: AURUM (default) ---------- */
:root,
[data-theme="aurum"] {
  --bg:        #0A0A0C;
  --bg-2:      #0E0E11;
  --surface:   #16120D;
  --surface-2: #1C1813;
  --fg:        #ECE4D2;
  --fg-soft:   rgba(236,228,210,0.74);
  --fg-mute:   rgba(236,228,210,0.50);
  --rule:      rgba(236,228,210,0.16);
  --rule-soft: rgba(236,228,210,0.09);
  --accent:        #C9A24B;
  --accent-strong: #C9A24B;
  --accent-2:      #E7C56B;
  --on-accent: #0A0A0C;
  --glow:      radial-gradient(60% 50% at 70% 8%, rgba(201,162,75,0.16), transparent 60%);
  --cta-glow:  radial-gradient(70% 120% at 50% 0%, rgba(201,162,75,0.18), transparent 60%);
  --rec:       #D8442B;
  --grain-opacity: 0.05;

  --font-display: "Libre Caslon Display", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --display-weight: 400;
  --display-em-style: italic;

  --shadow: 0 30px 70px -40px rgba(0,0,0,0.8);
}

/* ---------- theme: MONOLITHE ---------- */
[data-theme="monolithe"] {
  --bg:        #ECE6D8;
  --bg-2:      #E5DECC;
  --surface:   #F5F0E4;
  --surface-2: #FBF8F0;
  --fg:        #14130F;
  --fg-soft:   rgba(20,19,15,0.74);
  --fg-mute:   rgba(20,19,15,0.52);
  --rule:      rgba(20,19,15,0.20);
  --rule-soft: rgba(20,19,15,0.10);
  --accent:        #B7361E;
  --accent-strong: #B7361E;
  --accent-2:      #B7361E;
  --on-accent: #F5F0E4;
  --glow:      radial-gradient(60% 50% at 70% 8%, rgba(183,54,30,0.07), transparent 60%);
  --cta-glow:  radial-gradient(70% 120% at 50% 0%, rgba(183,54,30,0.08), transparent 60%);
  --rec:       #B7361E;
  --grain-opacity: 0.035;

  --font-display: "Bodoni Moda", "Bodoni 72", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --display-weight: 500;
  --display-em-style: italic;

  --shadow: 0 30px 70px -46px rgba(20,19,15,0.5);
}

/* ---------- base ---------- */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .5s ease, color .5s ease;
}

.shell { width: min(1280px, 100% - 96px); margin-inline: auto; }
@media (max-width: 720px) { .shell { width: min(1280px, 100% - 40px); } }

.display { font-family: var(--font-display); font-weight: var(--display-weight); }
em { font-style: var(--display-em-style); color: var(--accent-2); }

/* eyebrow / section labels */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--fg-mute);
  display: flex; align-items: center; gap: 12px;
}
/* rec dot: small, red, slow discreet blink */
.eyebrow__mark {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rec, #D8442B);
  flex: 0 0 auto;
  animation: rec-blink 2.4s ease-in-out infinite;
}
@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) { .eyebrow__mark { animation: none; } }

.section-title {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(40px, 5.2vw, 78px); line-height: 0.98;
  letter-spacing: -0.02em; color: var(--fg);
  text-wrap: balance;
}
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.link-more {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent-strong); white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color .2s, opacity .2s;
}
.link-more:hover { border-color: var(--accent-strong); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn--lg { padding: 18px 34px; font-size: 14px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--accent-strong); color: var(--accent-strong); transform: translateY(-2px); }
.btn__arrow { transition: transform .2s; }
.btn--ghost:hover .btn__arrow { transform: translateX(4px); }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: var(--grain-opacity); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.no-grain .grain { display: none; }

/* ---------- cookie consent ---------- */
.consent {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 9500;
  width: min(680px, calc(100% - 32px));
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between;
  padding: 16px 18px; border: 1px solid var(--rule); border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 20px 60px -24px rgba(0,0,0,0.5);
}
.consent[hidden] { display: none; }
.consent__text { flex: 1 1 280px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--fg-soft); }
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent__btn {
  appearance: none; cursor: pointer; font-family: var(--font-body); font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--rule); background: transparent;
  color: var(--fg); transition: background .2s, border-color .2s, color .2s;
}
.consent__btn--ghost:hover { border-color: var(--fg); }
.consent__btn--ok { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.consent__btn--ok:hover { filter: brightness(1.05); }
.footer__bottom-links { display: inline-flex; align-items: center; gap: 18px; }
.footer__link { color: var(--fg-mute); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.footer__link:hover { color: var(--fg); }
.footer__cookies {
  appearance: none; background: none; border: 0; cursor: pointer; font: inherit;
  color: var(--fg-mute); padding: 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.footer__cookies:hover { color: var(--fg); }

/* ---------- legal / prose ---------- */
.legal { padding: clamp(8px, 2vw, 28px) 0 clamp(80px, 9vw, 140px); }
.legal__inner { max-width: 760px; }
.legal__updated { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: clamp(28px, 4vw, 48px); }
.legal h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.01em; color: var(--fg); margin: clamp(36px, 4vw, 56px) 0 14px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--fg-soft); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }

/* ---------- nav : îlot flottant ---------- */
.nav {
  position: sticky; top: 16px; z-index: 1000;
  background: transparent;
}
.nav__inner {
  width: min(1180px, 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 26px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 40px -18px rgba(0,0,0,0.45);
  transition: box-shadow .3s, background .3s, border-color .3s, width .3s;
}
.nav.scrolled .nav__inner {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-color: color-mix(in srgb, var(--accent) 26%, var(--rule));
  box-shadow: 0 18px 50px -20px rgba(0,0,0,0.6);
}

.wordmark { display: inline-flex; align-items: baseline; gap: 10px; }
.wordmark__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 23px; letter-spacing: 0.06em; }
.wordmark__hl { color: var(--accent); }
.wordmark__sub { font-size: 11px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: var(--fg-mute); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-soft); transition: color .2s; }
.nav__links a:hover { color: var(--fg); }
.nav__cta {
  padding: 11px 24px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent) !important;
  transition: background .2s, transform .2s;
}
.nav__cta:hover { background: var(--accent-2); transform: translateY(-1px); color: var(--on-accent) !important; }

.nav__burger { display: none; background: none; border: 0; flex-direction: column; gap: 6px; cursor: pointer; padding: 8px; }
.nav__burger span { width: 26px; height: 2px; background: var(--fg); transition: transform .25s, opacity .25s; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero__glow { position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 80px); align-items: center; padding-bottom: clamp(48px, 6vw, 90px); }

.hero__title {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(52px, 7vw, 104px); line-height: 0.96; letter-spacing: -0.025em;
  margin: 26px 0 0; text-wrap: balance;
}
.hero__lede { margin-top: 30px; max-width: 30em; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.62; color: var(--fg-soft); }
.hero__actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__media { display: flex; flex-direction: column; gap: 14px; }
.frame { position: relative; border: 1px solid var(--rule); background: var(--surface); box-shadow: var(--shadow); }
.hero__slot { display: block; width: 100%; height: clamp(440px, 44vw, 620px); object-fit: cover; object-position: 50% 60%; }
.frame__bars span { position: absolute; left: 0; right: 0; height: 26px; background: color-mix(in srgb, var(--bg) 86%, #000); pointer-events: none; }
.frame__bars span:first-child { top: 0; } .frame__bars span:last-child { bottom: 0; }
[data-theme="monolithe"] .frame__bars span { display: none; }
.hero__cap { display: flex; justify-content: space-between; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mute); }

/* ---------- marquee ---------- */
.marquee { position: relative; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; padding: 18px 0; background: var(--bg-2); }
.marquee__track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 30px; letter-spacing: 0.01em; }
.marquee__track i { color: var(--accent); font-style: normal; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- stats ---------- */
.stats { padding: clamp(64px, 8vw, 120px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--accent); border-bottom: 1px solid var(--rule); }
.stat { padding: clamp(28px, 3vw, 48px) 28px clamp(28px, 3vw, 44px) 0; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(56px, 6.5vw, 104px); line-height: 0.86; letter-spacing: -0.02em; }
.stat__num span { color: var(--accent); }
.stat__rule { width: 30px; height: 1px; background: var(--accent); margin: 18px 0 14px; }
.stat__label { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(60px, 8vw, 120px) 0; background: var(--bg-2); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.manifesto .eyebrow { margin-bottom: 36px; }
.manifesto__quote { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(40px, 6vw, 92px); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; }
.manifesto__cite { margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-mute); }
.manifesto__body { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1000px; }
.manifesto__body p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: var(--fg-soft); }
.manifesto__closer { margin-top: clamp(48px, 6vw, 96px); font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: clamp(28px, 4vw, 60px); line-height: 1.1; color: var(--accent-2); letter-spacing: -0.01em; }

/* ---------- services ---------- */
.services { padding: clamp(72px, 9vw, 130px) 0; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.svc { background: var(--surface); padding: clamp(30px, 3vw, 44px); min-height: 290px; display: flex; flex-direction: column; transition: background .3s; }
.svc:hover { background: var(--surface-2); }
.svc__num { font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: 56px; line-height: 1; color: var(--accent); }
.svc__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(24px, 2vw, 30px); line-height: 1.14; letter-spacing: -0.01em; margin-top: clamp(40px, 5vw, 72px); }
.svc__body { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--fg-soft); }

/* ---------- formats ---------- */
.formats { padding: clamp(64px, 8vw, 120px) 0; background: var(--bg-2); border-top: 1px solid var(--rule-soft); }
.formats__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.formats__lead .eyebrow { margin-bottom: 22px; }
.formats__note { margin-top: 26px; max-width: 34ch; font-size: 17px; line-height: 1.62; color: var(--fg-soft); }
.formats__tags { display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start; padding-top: 8px; }
.formats__tags li { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(20px, 2.2vw, 32px); line-height: 1; white-space: nowrap; padding: 12px 24px; border: 1px solid var(--rule); border-radius: 999px; color: var(--fg); transition: border-color .25s, color .25s, background .25s; }
.formats__tags li:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

/* ---------- work ---------- */
.work { padding: clamp(72px, 9vw, 130px) 0; }
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card { position: relative; border: 1px solid var(--rule); background: var(--surface); overflow: visible; }
.work-card:hover { z-index: 6; }
.work-card--feature { grid-column: 1 / -1; }
.work-card__slot { display: block; width: 100%; height: clamp(240px, 26vw, 340px); object-fit: cover; object-position: 50% 50%; }
.work-card__slot--top { object-position: 50% 13%; }
.work-card--feature .work-card__slot { height: clamp(380px, 42vw, 560px); }
.work-card__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(0deg, color-mix(in srgb, var(--bg) 88%, transparent), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; pointer-events: none; }
.work-card:hover .work-card__meta { opacity: 1; transform: none; }
.work-card__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); }
.work-card__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(24px, 2.4vw, 38px); color: #fff; margin-right: auto; }
[data-theme="monolithe"] .work-card__title { color: var(--fg); }
.work-card__year { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--fg-soft); }

/* ---------- collective ---------- */
.collective { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--rule-soft); }
.collective__inner { display: grid; grid-template-columns: 1fr; gap: 36px; text-align: center; justify-items: center; }
.collective__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -0.02em; }
.collective__roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.collective__roles li { font-size: clamp(14px, 1.4vw, 18px); font-weight: 600; letter-spacing: 0.04em; color: var(--fg-soft); padding: 0 22px; border-right: 1px solid var(--rule); }
.collective__roles li:last-child { border-right: 0; }
.collective__note { max-width: 44ch; font-size: 17px; line-height: 1.62; color: var(--fg-mute); }

/* ---------- audiences (pour qui) ---------- */
.audiences { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--rule-soft); }
.audiences__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: clamp(32px, 4vw, 56px); }
.aud { background: var(--surface); padding: clamp(28px, 3vw, 40px); min-height: 200px; display: flex; flex-direction: column; transition: background .3s; }
.aud:hover { background: var(--surface-2); }
.aud__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(26px, 2.4vw, 36px); line-height: 1; letter-spacing: -0.01em; }
.aud__title::before { content: ""; display: block; width: 26px; height: 1px; background: var(--accent); margin-bottom: 20px; }
.aud__body { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--fg-soft); }

/* ---------- why (pourquoi nous) ---------- */
.why { padding: clamp(72px, 9vw, 130px) 0; background: var(--bg-2); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.why__lead { margin-top: 26px; max-width: 60ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.62; color: var(--fg-soft); }
.why__grid { margin-top: clamp(36px, 4.5vw, 64px); border-top: 1px solid var(--rule); }
.why__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 72px); padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--rule); }
.why__tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.why__then .why__tag { color: var(--fg-mute); }
.why__now .why__tag { color: var(--accent-2); }
.why__then p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; color: var(--fg-mute); }
.why__now p { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.24; letter-spacing: -0.01em; color: var(--fg); }

/* ---------- cta ---------- */
.cta { position: relative; padding: clamp(90px, 12vw, 180px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--rule); }
.cta__glow { position: absolute; inset: 0; background: var(--cta-glow); pointer-events: none; }

/* cinematic projector: full-page light layer. The lamp sits at the CTA
   section's bottom-center; the beam travels the whole page toward the cursor. */
.projector {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  --beam-angle: 0deg; --beam-on: 0;
  --spot-x: 50vw; --spot-y: 50vh;
  --lamp-x: 50vw; --lamp-y: 110vh;
  --clip-top: 0px;
  /* the light never travels above the Services section: soft-feathered mask */
  -webkit-mask-image: linear-gradient(180deg, transparent calc(var(--clip-top) - 20px), #000 calc(var(--clip-top) + 160px));
  mask-image: linear-gradient(180deg, transparent calc(var(--clip-top) - 20px), #000 calc(var(--clip-top) + 160px));
}
.projector__beam {
  position: absolute; left: 0; top: 0;
  width: 120vmax; height: 200vmax;
  transform-origin: 50% 100%;
  transform: translate3d(calc(var(--lamp-x) - 50%), calc(var(--lamp-y) - 100%), 0) rotate(var(--beam-angle));
  will-change: transform;
  opacity: calc(var(--beam-on) * 0.8);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1);
  background: conic-gradient(from -11deg at 50% 100%,
    transparent 0deg,
    color-mix(in srgb, var(--beam-tint) 4%, transparent) 5deg,
    color-mix(in srgb, var(--beam-tint) 11%, transparent) 11deg,
    color-mix(in srgb, var(--beam-tint) 4%, transparent) 17deg,
    transparent 22deg);
  filter: blur(22px);
}
.projector__spot {
  position: absolute; left: 0; top: 0; width: 640px; height: 640px;
  transform: translate3d(var(--spot-x), var(--spot-y), 0) translate(-50%, -50%);
  will-change: transform;
  opacity: calc(var(--beam-on) * 0.8);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1);
  background: radial-gradient(circle 320px at 50% 50%,
    color-mix(in srgb, var(--beam-tint) 7%, transparent), transparent 72%);
}
.projector__lamp {
  position: absolute; left: 0; top: 0;
  width: 320px; height: 200px;
  transform: translate3d(var(--lamp-x), var(--lamp-y), 0) translate(-50%, -50%);
  will-change: transform;
  opacity: calc(var(--beam-on) * 0.55);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--beam-tint) 30%, transparent), transparent);
  filter: blur(16px);
}
/* noble light: desaturated warm white, barely tinted by the theme accent */
:root, [data-theme="aurum"] { --beam-tint: color-mix(in srgb, var(--accent) 32%, #F6EFE0); }
[data-theme="monolithe"] { --beam-tint: color-mix(in srgb, var(--accent) 18%, #F3ECDC); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta .eyebrow { justify-content: center; margin-bottom: 28px; }
.cta__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(48px, 8vw, 124px); line-height: 0.98; letter-spacing: -0.025em; }
.cta__note { margin-top: 30px; max-width: 56ch; font-size: 17px; line-height: 1.62; color: var(--fg-soft); }
.cta__actions { margin-top: 48px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- footer ---------- */
.footer { padding: clamp(56px, 6vw, 88px) 0 40px; background: var(--bg-2); border-top: 1px solid var(--rule); }
.footer__top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer__wordmark { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.footer__wordmark-name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(44px, 6vw, 84px); line-height: 0.9; letter-spacing: 0.02em; }
.footer__wordmark-sub { font-size: clamp(12px, 1.2vw, 15px); font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: var(--fg-mute); }
.footer__tag { margin-top: 18px; font-size: 15px; color: var(--fg-mute); letter-spacing: 0.02em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.footer__col a { display: block; font-size: 15px; color: var(--fg-soft); padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--fg); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--rule); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); }

/* ---------- footer 2-col variant (no socials) ---------- */
.footer__cols--2 { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: end; }
@media (max-width: 1080px) { .footer__cols--2 { justify-content: start; } }

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.c-hero { position: relative; padding: clamp(64px, 9vw, 140px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.c-hero__glow { position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.c-hero__title { position: relative; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(56px, 8vw, 124px); line-height: 0.96; letter-spacing: -0.025em; margin-top: 26px; }
.c-hero__lede { position: relative; margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.62; color: var(--fg-soft); }

.c-body { padding: clamp(24px, 3vw, 48px) 0 clamp(80px, 9vw, 140px); }
.c-body__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 3.5vw, 64px); align-items: start; }

/* ---- brief form ---- */
.brief { border: 1px solid var(--rule); background: var(--surface); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 26px; }
.brief__row { display: grid; gap: 26px; }
.brief__row--2 { grid-template-columns: 1fr 1fr; }

.field { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-mute); padding: 0; display: inline-flex; align-items: baseline; gap: 8px; }
.req { color: var(--accent); letter-spacing: 0; }
.opt { font-size: 9px; font-weight: 600; letter-spacing: 0.14em; color: var(--fg-mute); opacity: 0.6; }
.field--choices legend { margin-bottom: 14px; }
.field--choices.is-error .chips { animation: shake .3s; }
.field--choices.is-error legend { color: var(--accent); }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)} }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--fg);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 10px 2px 12px; border-radius: 0; outline: none; width: 100%;
  transition: border-color .25s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-mute); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field select { cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-mute) 50%), linear-gradient(135deg, var(--fg-mute) 50%, transparent 50%);
  background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field select option { color: #14130F; background: #F5F0E4; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg-soft); transition: border-color .2s, color .2s, background .2s; }
.chip:hover span { border-color: var(--fg-mute); color: var(--fg); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.brief__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.brief__foot .btn { border: 0; }
.brief__hint { font-size: 13px; line-height: 1.5; color: var(--fg-mute); max-width: 30ch; }

.brief__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* submission status (Web3Forms ajax) */
.brief__status { font-size: 14px; line-height: 1.5; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--rule); }
.brief__status.is-pending { color: var(--fg-soft); border-color: var(--rule); background: var(--surface); }
.brief__status.is-ok { color: var(--fg); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.brief__status.is-err { color: var(--accent-2); border-color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 10%, transparent); }

/* ---- aside ---- */
.c-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.c-card { border: 1px solid var(--rule); background: var(--bg-2); padding: clamp(24px, 2.4vw, 36px); }
.c-card__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 26px; letter-spacing: -0.01em; margin-bottom: 18px; }
.c-card__mail { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(20px, 1.8vw, 26px); color: var(--accent-2); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.c-card__mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.c-card__copy { margin-top: 14px; background: transparent; border: 1px solid var(--rule); padding: 9px 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, color .2s; }
.c-card__copy:hover { border-color: var(--accent); color: var(--accent-2); }
.c-card__copy.is-copied { border-color: var(--accent); color: var(--accent-2); }
.c-card__note { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--fg-mute); }

.steps { display: flex; flex-direction: column; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps__num { flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 15px; color: var(--accent-2); }
.steps strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.steps p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--fg-soft); }

.c-card--quiet { background: transparent; border-style: dashed; }
.c-card__quote { font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: 22px; line-height: 1.3; color: var(--fg-soft); }

@media (max-width: 980px) {
  .c-body__grid { grid-template-columns: 1fr; }
  .c-aside { position: static; }
  .brief__row--2 { grid-template-columns: 1fr; }
}

/* ---------- reveal ----------
   Content is visible by DEFAULT. site.js adds .reveal-armed to <html> only when
   it will actually animate — so if JS fails or is cached/stale, nothing is ever
   trapped hidden. Reveal itself is done by inline style from JS. */
[data-reveal] { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.reveal-armed [data-reveal] { opacity: 0; transform: translateY(22px); }
@media (prefers-reduced-motion: reduce) { html.reveal-armed [data-reveal] { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .formats__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--rule); }
  .stat:nth-child(2) { border-right: 0; }
  .manifesto__body { grid-template-columns: 1fr; gap: 22px; }
  .work__grid { grid-template-columns: 1fr; }
  .audiences__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { top: 10px; }
  .nav__inner { width: min(1180px, 100% - 20px); padding: 8px 10px 8px 20px; }
  /* dropdown panel anchored under the floating pill */
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 10px; right: 10px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--rule); border-radius: 22px;
    padding: 12px;
    box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .22s ease, transform .25s cubic-bezier(.2,.7,.2,1);
  }
  .nav__links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { font-size: 16px; padding: 15px 18px; border-radius: 14px; }
  .nav__links a:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }
  .nav__links a.nav__cta {
    margin-top: 10px; padding: 16px 24px; text-align: center; justify-content: center;
    border-radius: 999px; background: var(--accent); color: var(--on-accent) !important;
  }
  .nav__burger { display: flex; z-index: 1001; }
  .nav.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .audiences__grid { grid-template-columns: 1fr; }
  .why__row { grid-template-columns: 1fr; gap: 14px; }
  .collective__roles li { border-right: 0; padding: 4px 14px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
