/* ========================================================
   Palbu Carpet Atelier — base styles
   Warm editorial system, mobile-first
   ======================================================== */

:root {
  /* type */
  --display: "Cormorant Garamond", "Newsreader", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* warm palette */
  --night: #1c1814;        /* warm near-black */
  --night-2: #25201a;
  --night-3: #2f291f;
  --paper: #f5f0e7;        /* warm cream */
  --paper-2: #ece4d3;
  --paper-3: #ddd1b8;
  --ink: #1a1612;
  --ink-soft: #5e564b;
  --ink-mute: #8c8474;

  /* accent (terracotta default; tweakable) */
  --accent: #b8612b;
  --accent-soft: #d68752;

  /* rules + surfaces */
  --rule-dark: rgba(255, 240, 220, 0.10);
  --rule-light: rgba(28, 24, 20, 0.10);
  --rule-light-strong: rgba(28, 24, 20, 0.16);

  /* shadows (used very sparingly) */
  --shadow-soft: 0 1px 2px rgba(28,24,20,0.04), 0 12px 40px -12px rgba(28,24,20,0.08);

  /* layout */
  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 144px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ------- type utilities ------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.on-dark .eyebrow { color: rgba(245,240,231,0.62); }

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.display .it { font-style: italic; font-weight: 400; }

.h-xl  { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7.2vw, 104px); line-height: 0.98; letter-spacing: -0.022em; text-wrap: balance; }
.h-lg  { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.018em; text-wrap: balance; }
.h-md  { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
.h-sm  { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.lede  { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-soft); max-width: 56ch; text-wrap: pretty; }
.on-dark .lede { color: rgba(245,240,231,0.72); }

/* ------- layout ------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
section { position: relative; }

/* ------- buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), background 200ms, color 200ms, border-color 200ms;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform 220ms cubic-bezier(.2,.7,.2,1); }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-ghost { color: var(--paper); border: 1px solid var(--rule-dark); background: transparent; }
.btn-ghost:hover { border-color: rgba(245,240,231,0.4); background: rgba(255,255,255,0.02); }
.btn-dark { background: var(--night); color: var(--paper); }
.btn-dark:hover { background: var(--night-3); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  color: var(--accent);
}
.btn-link:hover { color: var(--accent-soft); }

/* ========================================================
   NAV
   ======================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 320ms ease, backdrop-filter 320ms ease, border-color 320ms ease;
  border-bottom: 1px solid transparent;
}
.nav.over-dark { color: var(--paper); }
.nav.over-light { color: var(--ink); }
.nav.scrolled {
  background: rgba(28,24,20,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--rule-dark);
  color: var(--paper);
}
.nav.scrolled.over-light {
  background: rgba(245,240,231,0.86);
  border-bottom-color: var(--rule-light);
  color: var(--ink);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 26px; height: 26px;
  display: inline-block;
  background-color: currentColor;
  mask: url('assets/palbu-logo.png') center / contain no-repeat;
  -webkit-mask: url('assets/palbu-logo.png') center / contain no-repeat;
}

.nav__links {
  display: none;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 200ms;
}
.nav__links a:hover { opacity: 1; }
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: currentColor;
  transition: right 220ms cubic-bezier(.2,.7,.2,1);
}
.nav__links a:hover::after { right: 0; }

.nav__cta { display: none; }

.nav__burger {
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid currentColor;
  border-color: rgba(255,255,255,0.18);
}
.nav.over-light .nav__burger { border-color: var(--rule-light-strong); }
.nav__burger span {
  position: relative;
  width: 16px; height: 1px; background: currentColor;
  display: block;
}
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
}
.nav__burger span::before { top: -5px; }
.nav__burger span::after { top: 5px; }

@media (min-width: 880px) {
  .nav__links { display: inline-flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--night);
  color: var(--paper);
  padding: 24px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-100%);
  transition: transform 360ms cubic-bezier(.2,.7,.2,1);
  visibility: hidden;
}
.drawer.open { transform: translateY(0); visibility: visible; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__close {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--rule-dark);
  display: grid; place-items: center;
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
}
.drawer__nav a {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1.1;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-dark);
}
.drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(245,240,231,0.6);
  padding-bottom: 24px;
}

/* ========================================================
   HERO
   ======================================================== */
.hero {
  background: var(--night);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 120px 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1612 0%, #221c16 40%, #2a211a 100%);
}
.hero__bg image-slot {
  width: 100%;
  height: 100%;
  display: block;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* center scrim that anchors the headline against any photo */
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(20, 16, 12, 0.55), rgba(20, 16, 12, 0.0) 70%),
    /* bottom dark pool for the stats row */
    radial-gradient(ellipse 70% 55% at 50% 100%, var(--tint-a, rgba(28,24,20,0.92)), var(--tint-b, rgba(28,24,20,0.55)) 40%, rgba(28,24,20,0) 75%),
    /* top + bottom feathered vignette */
    linear-gradient(180deg, rgba(28,24,20,0.65) 0%, rgba(28,24,20,0.15) 22%, rgba(28,24,20,0.05) 48%, rgba(28,24,20,0.55) 86%, rgba(28,24,20,0.92) 100%);
  pointer-events: none;
  z-index: 1;
}

/* floating "watch the atelier film" tile (mirrors the reference's corner tile) */
.hero__film {
  position: absolute;
  z-index: 2;
  bottom: clamp(140px, 22vh, 240px);
  left: var(--pad);
  display: none;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  background: rgba(28, 24, 20, 0.55);
  border: 1px solid var(--rule-dark);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 14px;
  color: var(--paper);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), background 240ms, border-color 240ms;
}
.hero__film:hover { background: rgba(28,24,20,0.7); border-color: rgba(245,240,231,0.22); transform: translateY(-2px); }
.hero__film-thumb {
  display: block;
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  background: linear-gradient(135deg, #3a2a1f 0%, #20180f 100%);
  position: relative;
}
.hero__film-thumb image-slot { width: 100%; height: 100%; }
.hero__film-thumb::before {
  /* small triangle play hint */
  content: "";
  position: absolute;
  z-index: 3;
  top: 50%; left: 52%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 9px solid rgba(245,240,231,0.95);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.hero__film-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  line-height: 1.3;
}
.hero__film-line {
  font-family: var(--display);
  font-size: 14px;
  color: var(--paper);
}
.hero__film-line--it { font-style: italic; color: rgba(245,240,231,0.78); }
.hero__film-meta {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.55);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__film-dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: inline-block;
}
@media (min-width: 900px) { .hero__film { display: inline-flex; } }
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(20px, 6vw, 56px) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.hero__eyebrow {
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  background: rgba(20, 16, 12, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.85);
}
.hero__headline {
  margin: 0 0 20px;
  color: var(--paper);
  max-width: 16ch;
  text-shadow: 0 1px 1px rgba(0,0,0,0.35), 0 2px 18px rgba(0,0,0,0.45);
}
.hero__sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(245,240,231,0.82);
  margin: 0 0 32px;
  max-width: 48ch;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__bottom {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: clamp(40px, 6vw, 72px) 0 32px;
}
.hero__bottom-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}
@media (min-width: 760px) {
  .hero__bottom-inner {
    grid-template-columns: 1.4fr 2fr;
    gap: 48px;
  }
}
.hero__lede {
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(245,240,231,0.68);
  line-height: 1.5;
  max-width: 36ch;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-dark);
}
@media (min-width: 600px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
}
.stat__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.5);
  margin-bottom: 10px;
}
.stat__value {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.stat__value sup {
  font-size: 0.45em;
  vertical-align: super;
  margin-left: 2px;
  color: rgba(245,240,231,0.55);
}

/* ========================================================
   PRESS LOGO STRIP
   ======================================================== */
.press-strip {
  background: var(--night);
  color: rgba(245,240,231,0.5);
  border-top: 1px solid var(--rule-dark);
  padding: 36px 0;
}
.press-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 64px);
}
.press-strip .as-seen-in {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.4);
  margin-right: 8px;
}
.press-logo {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity 200ms;
}
.press-logo:hover { opacity: 1; }
.press-logo--sans { font-family: var(--sans); font-weight: 600; letter-spacing: 0.06em; font-size: 13px; text-transform: uppercase; }
.press-logo--italic { font-style: italic; }

/* ========================================================
   STORY
   ======================================================== */
.story {
  background: var(--paper);
  padding: var(--section-y) 0;
}
.story__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 880px) {
  .story__head { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.story__title { margin: 0; }
.story__title .it { color: var(--accent); }
.story__intro {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--ink-soft);
  line-height: 1.6;
  text-wrap: pretty;
}

.story__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 880px) {
  .story__body {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: start;
  }
}
.story__media image-slot {
  width: 100%;
  aspect-ratio: 3 / 5;
}
.story__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.story__text p {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 16.5px);
  line-height: 1.65;
  color: var(--ink);
  max-width: 56ch;
  text-wrap: pretty;
}
.story__text p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 4.2em;
  line-height: 0.85;
  float: left;
  margin-right: 10px;
  margin-top: 6px;
  color: var(--accent);
  font-style: italic;
}

.story__quote {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-light);
}
.story__quote q {
  display: block;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  quotes: none;
  text-wrap: balance;
  max-width: 36ch;
}
.story__quote q::before { content: "“"; }
.story__quote q::after { content: "”"; }
.story__quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--ink-mute);
}

/* timeline */
.timeline {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--rule-light);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.tl-item__year {
  font-family: var(--display);
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}
.tl-item__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.tl-item__text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}

/* ========================================================
   PROCESS (dark)
   ======================================================== */
.process {
  background: var(--night);
  color: var(--paper);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.process::before {
  /* warp/weft pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(245,240,231,0.025) 1px, transparent 1px),
    linear-gradient(0deg,  rgba(245,240,231,0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}
.process__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 72px;
}
@media (min-width: 880px) { .process__head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; } }
.process__title { margin: 0; color: var(--paper); }
.process__title .it { color: var(--accent-soft); }
.process__intro { color: rgba(245,240,231,0.7); }

.process__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.proc-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 36px 0;
  border-top: 1px solid var(--rule-dark);
  align-items: start;
}
.proc-step:last-child { border-bottom: 1px solid var(--rule-dark); }
@media (min-width: 760px) {
  .proc-step {
    grid-template-columns: 100px 1fr 1.4fr 1fr;
    gap: 36px;
    padding: 44px 0;
    align-items: center;
  }
}
.proc-step__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
}
.proc-step__title {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  margin: 0;
}
.proc-step__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(245, 240, 231, 0.72);
  text-wrap: pretty;
  margin: 0;
}
.proc-step__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(245, 240, 231, 0.03);
  border: 1px solid var(--rule-dark);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.proc-step__media image-slot {
  width: 100%;
  height: 100%;
  display: block;
}

/* Match step-02 lighting to the other process shots —
   the source frame is warmer/darker/more saturated than the cream
   tones used elsewhere; lift it, desaturate slightly, cool it. */
.proc-step__media image-slot#step-02-media {
  filter: brightness(1.18) contrast(0.94) saturate(0.72) hue-rotate(-4deg);
}
.proc-step__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.45);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proc-step__meta span:first-child { color: rgba(245,240,231,0.85); }

/* ========================================================
   FILM section
   ======================================================== */
.film {
  background: var(--night-2);
  color: var(--paper);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.film__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 880px) { .film__head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; } }
.film__title { margin: 0; color: var(--paper); }
.film__title .it { color: var(--accent-soft); }
.film__intro { color: rgba(245,240,231,0.72); }

.film__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0e0a07;
  margin: 0;
  border: 1px solid var(--rule-dark);
  cursor: pointer;
}
.film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #0e0a07;
}
.film__player::after {
  /* poster vignette while not playing */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
  transition: opacity 320ms ease;
  z-index: 2;
}
.film__player.is-playing::after { opacity: 0; }
.film__player.is-playing .film__play,
.film__player.is-playing .film__caption { opacity: 0; pointer-events: none; }

.film__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: rgba(28,24,20,0.55);
  border: 1px solid rgba(245,240,231,0.5);
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  color: var(--paper);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), background 240ms, border-color 240ms, opacity 320ms;
}
.film__play svg { transform: translateX(2px); }
.film__play:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(28,24,20,0.7); border-color: var(--paper); }
.film__play-ring {
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 1px solid rgba(245,240,231,0.18);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.05); }
}

.film__caption {
  position: absolute;
  z-index: 3;
  left: 24px; right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.78);
  transition: opacity 320ms ease;
}
.film__caption-meta { color: rgba(245,240,231,0.55); }
@media (max-width: 600px) {
  .film__play { width: 64px; height: 64px; }
  .film__caption { left: 16px; right: 16px; bottom: 14px; flex-direction: column; gap: 4px; font-size: 10px; }
}
.sustain {
  background: var(--paper-2);
  color: var(--ink);
  padding: var(--section-y) 0;
}
.sustain__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 880px) {
  .sustain__inner { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
}
.sustain__title { margin: 0 0 24px; }
.sustain__title .it { color: var(--accent); }
.sustain__lede { color: var(--ink-soft); }

.sustain__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .sustain__cards { grid-template-columns: 1fr 1fr; } }
.s-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--rule-light);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s-card__num {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
  color: var(--accent);
}
.s-card__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.s-card__body {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}

.cert-strip {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--rule-light);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.cert-strip__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cert-strip__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.cert-strip__logos span { opacity: 0.7; }

/* ========================================================
   PRESS section (large)
   ======================================================== */
.press {
  background: var(--paper);
  padding: var(--section-y) 0;
}
.press__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 880px) { .press__head { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; } }
.press__title { margin: 0; }
.press__title .it { color: var(--accent); }

.press__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) { .press__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.pull {
  padding: 36px;
  border: 1px solid var(--rule-light);
  border-radius: 16px;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 280px;
}
.pull q {
  display: block;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  quotes: none;
  text-wrap: balance;
}
.pull q::before { content: "“"; color: var(--accent); }
.pull q::after { content: "”"; color: var(--accent); }
.pull__cite {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-light);
}
.pull__cite-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.pull__cite-org {
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
  color: var(--ink-soft);
}

.press__logos {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}
.press__logos .press-logo { color: var(--ink); opacity: 0.55; }
.press__logos .press-logo:hover { opacity: 0.9; }

/* ========================================================
   CONTACT
   ======================================================== */
.contact {
  background: var(--night);
  color: var(--paper);
  padding: var(--section-y) 0;
  position: relative;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 880px) { .contact__inner { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }
.contact__title { margin: 0 0 24px; color: var(--paper); }
.contact__title .it { color: var(--accent-soft); }
.contact__lede { color: rgba(245,240,231,0.7); margin-bottom: 32px; }

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.info-row__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.45);
  margin-bottom: 6px;
}
.info-row__val {
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper);
}
.info-row__val a { border-bottom: 1px solid rgba(245,240,231,0.25); }
.info-row__val a:hover { border-bottom-color: var(--accent-soft); }

.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 36px;
  background: var(--night-2);
  border: 1px solid var(--rule-dark);
  border-radius: 16px;
}
@media (min-width: 600px) {
  .form { padding: 40px; }
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.55);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--paper);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-dark);
  padding: 10px 0;
  outline: none;
  transition: border-color 200ms;
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245,240,231,0.35); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(245,240,231,0.6) 50%), linear-gradient(135deg, rgba(245,240,231,0.6) 50%, transparent 50%); background-position: calc(100% - 14px) center, calc(100% - 8px) center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 24px; cursor: pointer; }
.field select option { background: var(--night); color: var(--paper); }

.field--error input, .field--error textarea, .field--error select { border-bottom-color: #d97a5a; }
.field__err {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e3936f;
  height: 0;
  overflow: hidden;
  transition: height 220ms;
}
.field--error .field__err { height: 16px; }

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form__note {
  font-size: 12.5px;
  color: rgba(245,240,231,0.5);
  max-width: 38ch;
}
.form__success {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: rgba(184,97,43,0.10);
  border: 1px solid rgba(184,97,43,0.35);
  border-radius: 12px;
  color: var(--paper);
}
.form.is-submitted .form__success { display: flex; }
.form.is-submitted .form__hide { display: none; }
.form__success-title {
  font-family: var(--display);
  font-size: 22px;
  color: var(--accent-soft);
}

/* ========================================================
   FOOTER
   ======================================================== */
.foot {
  background: #14110d;
  color: rgba(245,240,231,0.7);
  padding: 80px 0 32px;
  border-top: 1px solid var(--rule-dark);
}
.foot__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-dark);
}
@media (min-width: 760px) { .foot__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }

.foot__brand .brand { color: var(--paper); font-size: 28px; margin-bottom: 20px; }
.foot__tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: rgba(245,240,231,0.7);
  max-width: 28ch;
  line-height: 1.4;
  margin-bottom: 24px;
}
.foot__newsletter {
  display: flex;
  align-items: center;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  max-width: 340px;
}
.foot__newsletter input {
  flex: 1;
  font: inherit;
  font-size: 14px;
  background: transparent;
  border: none;
  color: var(--paper);
  outline: none;
  padding: 8px 8px 8px 0;
  min-width: 0;
}
.foot__newsletter input::placeholder { color: rgba(245,240,231,0.35); }
.foot__newsletter button {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.foot__newsletter button:hover { background: #fff; }

.foot__col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.5);
  margin: 0 0 18px;
  font-weight: 500;
}
.foot__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.foot__col a {
  font-size: 14px;
  color: rgba(245,240,231,0.8);
  transition: color 200ms;
}
.foot__col a:hover { color: var(--accent-soft); }

.foot__bot {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(245,240,231,0.5);
}
.foot__bot a:hover { color: var(--paper); }
.foot__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ========================================================
   reveal animations
   ======================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(.2,.7,.2,1), transform 800ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ========================================================
   PRODUCTION: image replacements & placeholders
   ======================================================== */
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__film-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--night-3) 0%, var(--night) 100%);
  display: block;
}

.img-placeholder--portrait {
  aspect-ratio: 3 / 5;
  border-radius: 4px;
}

.story__media .img-placeholder--portrait {
  width: 100%;
}

/* ========================================================
   TWEAKS PANEL (vanilla)
   ======================================================== */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 280px;
  background: rgba(28,24,20,0.94);
  color: var(--paper);
  border: 1px solid var(--rule-dark);
  border-radius: 14px;
  padding: 18px;
  font-family: var(--sans);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  gap: 18px;
}
.tweaks.open { display: flex; }
.tweaks__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tweaks__title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.7);
}
.tweaks__close {
  width: 24px; height: 24px;
  border-radius: 999px;
  border: 1px solid var(--rule-dark);
  display: grid; place-items: center;
  font-size: 12px;
  color: rgba(245,240,231,0.7);
}
.tweaks__close:hover { color: var(--paper); border-color: rgba(245,240,231,0.4); }
.tweak__group { display: flex; flex-direction: column; gap: 8px; }
.tweak__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,231,0.5);
}
.tweak__row { display: flex; gap: 8px; flex-wrap: wrap; }
.tweak__swatch {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--rule-dark);
  cursor: pointer;
  position: relative;
  transition: transform 200ms;
}
.tweak__swatch:hover { transform: scale(1.08); }
.tweak__swatch.is-active {
  border-color: var(--paper);
  box-shadow: 0 0 0 1px var(--paper), inset 0 0 0 2px var(--night);
}
.tweak__chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--rule-dark);
  font-size: 12px;
  color: rgba(245,240,231,0.7);
  cursor: pointer;
  transition: all 200ms;
  background: transparent;
  font-family: var(--display);
}
.tweak__chip:hover { color: var(--paper); border-color: rgba(245,240,231,0.4); }
.tweak__chip.is-active {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
