/* ─────────────────────────────────────────────────────────────────────────────
   Forêts françaises, en quête d'avenir — design system
   Lumineux / clairière / journalistique
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  /* Colors */
  --bg:           oklch(0.965 0.012 78);
  --bg-tint:      oklch(0.935 0.018 78);
  --bg-deep:      oklch(0.905 0.022 78);
  --hairline:     oklch(0.85 0.018 78);
  --ink:          oklch(0.18 0.008 85);
  --ink-muted:    oklch(0.42 0.01 85);
  --ink-faint:    oklch(0.58 0.01 85);
  --fir:          oklch(0.36 0.05 155);
  --fir-deep:     oklch(0.26 0.04 155);
  --earth:        oklch(0.44 0.07 50);
  --earth-deep:   oklch(0.34 0.06 50);
  --paper:        oklch(0.99 0.005 78);

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Type */
  --f-serif: "Newsreader", "Times New Roman", serif;
  --f-sans:  "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --f-mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --container: 1200px;
  --container-narrow: 880px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: oklch(0.36 0.05 155 / 0.85); color: var(--bg); }

/* Type styles */
.h-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.h-display {
  font-family: var(--f-serif);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--ink);
  margin: 0;
}
.h-section {
  font-family: var(--f-serif);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.05;
  font-size: clamp(36px, 5vw, 64px);
  margin: 0;
}
.h-sub {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-muted);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
}
.lede {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.body-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  text-wrap: pretty;
}

/* Section scaffolding */
.section {
  padding: var(--s-8) var(--s-5);
}
.section + .section {
  padding-top: var(--s-7);
}
.section--tint { background: var(--bg-tint); }
.section--deep { background: var(--bg-deep); }
.container {
  max-width: var(--container);
  margin: 0 auto;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 4fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--hairline);
}
.section-head--single {
  grid-template-columns: 1fr;
}
.section-head .num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--earth);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .section { padding: var(--s-7) var(--s-4); }
  .section-head { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  user-select: none;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--fir-deep);
}
.btn--ghost-light {
  background: transparent;
  color: var(--bg);
  border-color: rgba(255,255,255,0.7);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--bg);
}
.btn--light {
  background: var(--bg);
  color: var(--ink);
}
.btn--light:hover { background: var(--paper); }
.btn-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--bg);
  overflow: hidden;
  background: #1a1a17;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__bg-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 800ms ease;
}
.hero__bg-video-wrap.is-ready {
  opacity: 1;
}
.hero__bg-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}
.hero__chrome {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: var(--s-5);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__top .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--bg);
  border-radius: 50%;
  margin: 0 10px;
  vertical-align: middle;
  opacity: 0.6;
}
.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--s-7);
  max-width: 1100px;
}
.hero__eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
  opacity: 0.85;
}
.hero__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 var(--s-5);
  color: var(--bg);
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
}
.hero__sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  max-width: 720px;
  margin-bottom: var(--s-7);
  opacity: 0.92;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}
.hero__broadcasters {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.78;
  flex-wrap: wrap;
}
.hero__broadcasters .sep { opacity: 0.5; }
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}
@media (max-width: 720px) {
  .hero__scroll { display: none; }
}

/* Synopsis ────────────────────────────────────────────── */
.synopsis-pull {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: pretty;
  border-left: 2px solid var(--earth);
  padding-left: var(--s-5);
  margin: 0 0 var(--s-7);
}
.synopsis-pull cite {
  display: block;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth);
  margin-top: var(--s-4);
}

.expand-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fir);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--fir);
  padding: 4px 0;
  cursor: pointer;
  margin-top: var(--s-5);
}
.expand-toggle:hover { color: var(--earth); border-color: var(--earth); }
.expand-toggle .chev { transition: transform 220ms ease; }
.expand-toggle.is-open .chev { transform: rotate(180deg); }
.synopsis-long {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms ease;
  margin-top: 0;
}
.synopsis-long.is-open { grid-template-rows: 1fr; margin-top: var(--s-6); }
.synopsis-long > div { overflow: hidden; }
.stack-4 > * + * { margin-top: var(--s-4); }

/* Fiche technique ────────────────────────────────────────── */
.fiche {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.fiche__item {
  padding: var(--s-5) var(--s-4);
  border-right: 1px solid var(--hairline);
}
.fiche__item:last-child { border-right: 0; }
.fiche__item .lbl {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--s-3);
}
.fiche__item .val {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.fiche__item .val small {
  display: block;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .fiche { grid-template-columns: repeat(2, 1fr); }
  .fiche__item { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .fiche__item:nth-child(odd) { border-right: 1px solid var(--hairline); }
}

.tags {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  color: var(--ink-muted);
}

/* Gallery ─────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: var(--s-3);
}
.gallery__item {
  overflow: hidden;
  background: var(--bg-deep);
  position: relative;
  border: 0;
  padding: 0;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--lg { grid-column: span 8; grid-row: span 4; }
.gallery__item--md { grid-column: span 4; grid-row: span 2; }
.gallery__item--sm { grid-column: span 4; grid-row: span 2; }
.gallery__item--wide { grid-column: span 12; grid-row: span 3; }
.gallery__item--trailer {
  cursor: pointer;
  background: transparent;
}
.gallery__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
}
.gallery__play svg {
  width: 86px; height: 86px;
  padding: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.gallery__caption {
  position: absolute;
  left: 16px; bottom: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,0.45);
  padding: 6px 10px;
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery__item { grid-column: 1 / -1 !important; grid-row: span 1 !important; }
}

/* Presse ─────────────────────────────────────────── */
.presse-quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
  max-width: 800px;
  margin: 0;
}
.presse-quote .opener { color: var(--earth); font-style: normal; margin-right: 6px; }
.presse-source {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--earth);
}
.presse-source::before {
  content: "";
  display: inline-block;
  width: 32px; height: 1px;
  background: currentColor;
}

.presse-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-top: var(--s-7);
}
.presse-card {
  background: var(--bg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  text-decoration: none;
  color: inherit;
  transition: background 220ms ease;
  min-height: 200px;
}
.presse-card:hover { background: var(--paper); }
.presse-card .station {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earth);
}
.presse-card .show {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.presse-card .timecode {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-muted);
}
.presse-card .arrow {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fir);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 220ms ease;
}
.presse-card:hover .arrow { gap: 14px; }
@media (max-width: 720px) {
  .presse-list { grid-template-columns: 1fr; }
}

/* Crédits ───────────────────────────────────────────────── */
.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
}
@media (max-width: 720px) { .credits-grid { grid-template-columns: 1fr; gap: var(--s-5); } }
.credit-block .credit-head {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--hairline);
}
.credit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.credit-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--s-4);
  align-items: baseline;
}
.credit-list .role {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.credit-list .name {
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.credit-list .name a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline); transition: border-color 180ms ease; }
.credit-list .name a:hover { border-color: var(--earth); }

.realisation-feature {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-7);
  align-items: end;
  padding: var(--s-4) 0 var(--s-6);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--s-6);
}
.realisation-feature .name-big {
  font-family: var(--f-serif);
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.realisation-feature .role-big {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: var(--s-3);
}
.realisation-feature .bio {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.realisation-feature .bio__link {
  color: var(--earth);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 720px) { .realisation-feature { grid-template-columns: 1fr; } }

/* Organiser une projection ─────────── */
.projection {
  background: var(--fir-deep);
  color: var(--bg);
  padding: var(--s-7) var(--s-5);
  position: relative;
  overflow: hidden;
}
.projection::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, oklch(0.42 0.06 155 / 0.5), transparent 60%),
    radial-gradient(ellipse at bottom left, oklch(0.30 0.04 80 / 0.4), transparent 70%);
  pointer-events: none;
}
.projection-inner { position: relative; z-index: 1; }
.projection .eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.85 0.04 80);
  margin-bottom: var(--s-5);
}
.projection h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-6);
  color: var(--bg);
  text-wrap: balance;
}
.projection-pitch {
  max-width: 760px;
  font-style: italic;
}
.projection-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  margin-top: var(--s-6);
  align-items: center;
}
@media (max-width: 900px) { .projection-body { grid-template-columns: 1fr; gap: var(--s-6); } }
.projection p {
  font-family: var(--f-serif);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.55;
  color: oklch(0.92 0.012 80);
  margin: 0 0 var(--s-5);
}
.projection .specs {
  border-top: 1px solid oklch(0.55 0.04 155);
  border-bottom: 1px solid oklch(0.55 0.04 155);
  padding: var(--s-5) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 720px) {
  .projection .specs { grid-template-columns: 1fr; }
}
.projection .specs > div .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.75 0.05 80);
  margin-bottom: var(--s-2);
}
.projection .specs > div .val {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--bg);
}
.projection .specs > div .val small {
  display: block;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 400;
  color: oklch(0.82 0.02 80);
  margin-top: 4px;
}
.projection-cta {
  background: var(--bg);
  color: var(--ink);
  padding: var(--s-6);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.projection-cta .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earth);
}
.projection-cta .email {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  word-break: break-all;
}
.projection-cta .note {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.projection-cta__btn {
  background: var(--fir);
  color: var(--bg);
  justify-content: center;
  margin-top: 8px;
}
.projection-cta__btn:hover { background: var(--fir-deep); }
.projection-cta__delay {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* Footer ───────────────────────────────────────────────── */
.footer {
  padding: var(--s-7) var(--s-5) var(--s-5);
  background: var(--ink);
  color: oklch(0.78 0.01 85);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid oklch(0.3 0.01 85);
}
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.6 0.02 80);
  margin: 0 0 var(--s-3);
}
.footer .signature {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--bg);
  letter-spacing: -0.01em;
}
.footer__byline {
  margin-top: 8px;
  font-size: 12px;
  color: oklch(0.65 0.01 80);
}
.footer__year {
  margin-top: 4px;
  color: oklch(0.6 0.01 80);
}
.footer a { color: oklch(0.88 0.01 85); text-decoration: none; border-bottom: 1px solid oklch(0.4 0.01 85); }
.footer a:hover { border-color: var(--bg); color: var(--bg); }
.footer__bot {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: var(--s-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  color: oklch(0.55 0.01 85);
}

/* Lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/9;
}
.lightbox__player {
  width: 100%;
  height: 100%;
}
.lightbox__player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--bg);
  padding: 8px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.lightbox__close:hover { border-color: var(--bg); background: rgba(255,255,255,0.08); }

/* Floating nav ──────────────────────────────────────── */
.float-nav {
  position: fixed;
  top: var(--s-4);
  right: var(--s-4);
  z-index: 50;
  display: flex;
  gap: var(--s-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}
.float-nav.is-visible { opacity: 1; pointer-events: auto; }
.float-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 14px;
  background: oklch(0.97 0.01 80 / 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  transition: background 180ms ease, color 180ms ease;
}
.float-nav a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.float-nav a.float-nav--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.float-nav a.float-nav--primary:hover { background: var(--fir-deep); }

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}
