/* ═══════════════════════════════════════════════════
   MEHDI OULDSAAD — Site personnel
   Réalisateur · Monteur · Motion Designer
   ═══════════════════════════════════════════════════ */

/* ── FONTS AUTO-HÉBERGÉES ── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/dm-sans-300.80f13c410e.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/dm-sans-300italic.bdd25fa33d.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-sans-regular.4ab51eb2cd.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-sans-500.19bf198495.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-regular.fdf61e20fd.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-serif-display-italic.ed8b291611.woff2') format('woff2');
}

/* ── RESET & ROOT ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-bg:        #0c0c0c;
  --c-surface:   #141414;
  --c-border:    rgba(255,255,255,0.08);
  --c-white:     #ffffff;
  --c-off-white: #f0ede8;
  --c-muted:     rgba(255,255,255,0.38);
  --c-accent:    #c8a96e;

  --f-sans:  'DM Sans', 'Inter', sans-serif;
  --f-serif: 'DM Serif Display', 'Georgia', serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── PAGE TRANSITION ── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease-in-out);
}
.page-transition.active { opacity: 1; pointer-events: all; }

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-white);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.25s var(--ease-out), height 0.25s var(--ease-out), background 0.25s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s;
}
.cursor-ring.hovering {
  width: 64px;
  height: 64px;
  border-color: var(--c-accent);
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: 0.35;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 52px;
  transition: padding 0.4s var(--ease-out);
  mix-blend-mode: normal;
}

.nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,12,12,0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.nav.scrolled {
  padding: 18px 52px;
  background: rgba(12,12,12,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active { color: var(--c-white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-contact {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 22px;
  border-radius: 100px;
  transition: border-color 0.25s, background 0.25s;
}

.nav-contact:hover {
  background: var(--c-white);
  color: var(--c-bg);
  border-color: var(--c-white);
}

/* ── HAMBURGER (mobile) ── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--c-white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── SECTION BASE ── */
.section { padding: 120px 52px; }
.container { max-width: 1280px; margin: 0 auto; }

.label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--c-accent);
}

.heading-xl {
  font-family: var(--f-serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--f-serif);
  font-size: clamp(30px, 3.5vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.body-lg {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--c-muted);
}

/* ── REVEAL ANIMATIONS ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="delay-1"] { transition-delay: 0.1s; }
[data-reveal="delay-2"] { transition-delay: 0.2s; }
[data-reveal="delay-3"] { transition-delay: 0.3s; }
[data-reveal="delay-4"] { transition-delay: 0.4s; }

/* ══════════════════════════════════════
   HOMEPAGE — HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 52px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video,
.hero-bg-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-bg-fallback {
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 40%, #0c0c0c 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,12,12,1) 0%,
    rgba(12,12,12,0.5) 40%,
    rgba(12,12,12,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-tagline::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--c-muted);
}

.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(48px, 7vw, 106px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: var(--c-white);
}

.hero-title em,
.heading-xl em,
.heading-lg em,
.featured-title em,
.reel-title em {
  font-style: italic;
  color: var(--c-accent);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--c-muted);
  max-width: 380px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 2px;
  transition: all 0.25s var(--ease-out);
}

.btn-light {
  background: var(--c-white);
  color: var(--c-bg);
}
.btn-light:hover { background: var(--c-accent); color: var(--c-bg); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: var(--c-white); color: var(--c-white); }

.btn svg { width: 14px; height: 14px; transition: transform 0.25s; }
.btn:hover svg { transform: translateX(4px); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  right: 52px;
  bottom: 60px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--c-muted));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ══════════════════════════════════════
   HOMEPAGE — REEL
══════════════════════════════════════ */
.reel-section {
  padding: 80px 52px;
  border-top: 1px solid var(--c-border);
}

.reel-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: center;
}

.reel-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reel-meta .label { margin-bottom: 0; }

.reel-title {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.reel-video-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--c-surface);
  aspect-ratio: 16/9;
}

.reel-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.reel-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,12,12,0.3);
  cursor: pointer;
  transition: background 0.3s;
}

.reel-play-overlay:hover { background: rgba(12,12,12,0.5); }

.reel-play-btn {
  width: 72px;
  height: 72px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s;
}

.reel-play-overlay:hover .reel-play-btn {
  border-color: var(--c-accent);
  transform: scale(1.08);
}

.reel-play-btn svg {
  fill: white;
  width: 22px;
  margin-left: 4px;
}

/* ══════════════════════════════════════
   HOMEPAGE — WORK GRID
══════════════════════════════════════ */
.work-section {
  padding: 120px 52px;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 24px;
}

.work-header-left .heading-lg { margin-top: 12px; }

.see-all {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
  white-space: nowrap;
}
.see-all:hover { color: var(--c-white); }
.see-all svg { width: 16px; transition: transform 0.25s; }
.see-all:hover svg { transform: translateX(4px); }

/* Masonry-style grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--c-surface);
  cursor: pointer;
  display: block;
}

/* Layout assignments */
.work-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.work-item:nth-child(2) { grid-column: span 5; }
.work-item:nth-child(3) { grid-column: span 5; }
.work-item:nth-child(4) { grid-column: span 4; }
.work-item:nth-child(5) { grid-column: span 4; }
.work-item:nth-child(6) { grid-column: span 4; }

.work-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.work-item:nth-child(1) .work-thumb {
  height: 100%;
  aspect-ratio: unset;
}

/* Gradient placeholder thumbs */
.work-item:nth-child(1) .work-thumb { background: linear-gradient(150deg, #141a22 0%, #0c1520 50%, #1a2030 100%); }
.work-item:nth-child(2) .work-thumb { background: linear-gradient(150deg, #1a1420 0%, #0e0c18 100%); }
.work-item:nth-child(3) .work-thumb { background: linear-gradient(150deg, #201810 0%, #2a1e0c 100%); }
.work-item:nth-child(4) .work-thumb { background: linear-gradient(150deg, #101a14 0%, #0c1810 100%); }
.work-item:nth-child(5) .work-thumb { background: linear-gradient(150deg, #1a1010 0%, #2a1414 100%); }
.work-item:nth-child(6) .work-thumb { background: linear-gradient(150deg, #141420 0%, #0c0e1a 100%); }

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.15) 100%);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 1;
  transition: opacity 0.35s;
}

.work-item:hover .work-overlay { opacity: 1; }

.work-item:hover .work-thumb { transform: scale(1.04); transition: transform 0.6s var(--ease-out); }

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.work-item:hover .work-thumb img { transform: scale(1.04); }

.work-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 6px;
}

.work-title {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.work-item:nth-child(1) .work-title {
  font-size: 34px;
}

.work-year {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}

.work-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
}

.work-item:hover .work-arrow {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* ══════════════════════════════════════
   HOMEPAGE — ABOUT STRIP
══════════════════════════════════════ */
.about-strip {
  padding: 120px 52px;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
}

.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 3px;
  background: linear-gradient(160deg, #1a1a1a, #2a2a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.12);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-box {
  position: absolute;
  bottom: 28px;
  right: -28px;
  background: var(--c-accent);
  color: var(--c-bg);
  padding: 20px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.about-badge-box .big {
  font-family: var(--f-serif);
  font-size: 42px;
  font-weight: 400;
  color: var(--c-accent);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.about-text { padding-right: 20px; }

.about-text .heading-lg { margin: 16px 0 28px; }

.about-text .body-lg { margin-bottom: 20px; }

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 48px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.stat-item {
  padding: 28px 20px 28px 0;
  border-right: 1px solid var(--c-border);
}
.stat-item:last-child { border-right: none; padding-left: 20px; padding-right: 0; }
.stat-item:first-child { padding-left: 0; }

.stat-n {
  font-family: var(--f-serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-l {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}

/* ══════════════════════════════════════
   HOMEPAGE — FEATURED PROJECT
══════════════════════════════════════ */
.featured {
  padding: 0;
  height: 90vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.featured-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1020, #151a30, #0a0a14);
}

.featured-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,12,0.95) 0%, rgba(12,12,12,0.3) 60%, transparent 100%);
}

.featured-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 52px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-end;
}

.featured-label { margin-bottom: 0; }
.featured-title {
  font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
  color: var(--c-white);
  line-height: 1.05;
  margin: 20px 0;
}

.featured-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.featured-meta {
  display: flex;
  gap: 32px;
}

.meta-item .ml { font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.meta-item .mv { font-size: 14px; font-weight: 400; color: var(--c-white); }

.featured-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 24px;
}

.featured-play {
  width: 88px;
  height: 88px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  cursor: pointer;
}

.featured-play:hover {
  border-color: var(--c-accent);
  background: rgba(200,169,110,0.08);
  transform: scale(1.06);
}

.featured-play svg { fill: white; width: 26px; margin-left: 5px; }

.featured-vod {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ══════════════════════════════════════
   HOMEPAGE — CLIENTS
══════════════════════════════════════ */
.clients-section {
  padding: 80px 52px;
  border-top: 1px solid var(--c-border);
}

.clients-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.clients-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-muted);
  white-space: nowrap;
}

.clients-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px 64px;
  align-items: center;
}

.client-tag {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 18px;
  border-radius: 100px;
  transition: color 0.25s, border-color 0.25s;
}
.client-tag:hover { color: var(--c-white); border-color: rgba(255,255,255,0.25); }

.client-logo {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}
.client-logo:hover { opacity: 1; }

/* ══════════════════════════════════════
   HOMEPAGE — CONTACT CTA
══════════════════════════════════════ */
.cta-section {
  padding: 140px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'CONTACT';
  position: absolute;
  font-family: var(--f-serif);
  font-size: clamp(100px, 18vw, 260px);
  font-weight: 400;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.02);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}

.cta-inner { position: relative; z-index: 1; }

.cta-label { justify-content: center; }
.cta-label::before { display: none; }

.cta-section .heading-xl { margin: 16px auto 24px; }

.cta-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--c-muted);
  max-width: 440px;
  margin: 0 auto 52px;
  line-height: 1.8;
}

.cta-email-link {
  font-family: var(--f-serif);
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 400;
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 6px;
  transition: color 0.25s, border-color 0.25s;
}

.cta-email-link:hover { color: var(--c-accent); border-color: var(--c-accent); }

.cta-email-link svg { width: 24px; opacity: 0.5; transition: opacity 0.25s, transform 0.25s; }
.cta-email-link:hover svg { opacity: 1; transform: rotate(-45deg); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--c-border);
  padding: 36px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

.footer-socials {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-socials a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  transition: color 0.25s;
}

.footer-socials a:hover { color: var(--c-white); }

.footer-right {
  font-size: 11px;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════════
   WORK PAGE
══════════════════════════════════════ */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 52px 80px;
  border-bottom: 1px solid var(--c-border);
}

.page-hero .container { width: 100%; max-width: 1280px; }

.work-full-grid {
  padding: 80px 52px 120px;
}

.work-full-list {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.work-list-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--c-surface);
}

.work-list-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.work-list-thumb .thumb-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
  filter: brightness(0.7);
}

.work-list-item:hover .thumb-bg { transform: scale(1.05); filter: brightness(0.5); }

.work-list-info {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--c-border);
  transition: background 0.25s;
}

.work-list-item:hover .work-list-info { background: rgba(255,255,255,0.02); }

.work-list-tag { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 4px; }
.work-list-title { font-family: var(--f-serif); font-size: 22px; font-weight: 400; }
.work-list-arrow { font-size: 20px; color: var(--c-muted); transition: transform 0.25s, color 0.25s; }
.work-list-item:hover .work-list-arrow { transform: translateX(6px); color: var(--c-white); }

/* ══════════════════════════════════════
   PROJECT PAGE
══════════════════════════════════════ */
.project-hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
}

.project-hero-bg .bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.project-hero-bg-fallback {
  width: 100%;
  height: 100%;
}

.project-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,12,1) 0%, rgba(12,12,12,0.4) 50%, transparent 100%);
}

.project-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 52px 60px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.project-meta-row {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.project-hero .heading-xl { margin-bottom: 28px; }

.project-hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--c-muted);
  max-width: 560px;
  line-height: 1.8;
}

.project-body {
  padding: 100px 52px;
  max-width: 1280px;
  margin: 0 auto;
}

.project-body-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 100px;
}

.project-text p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  margin-bottom: 24px;
}

.project-details { border-top: 1px solid var(--c-border); padding-top: 32px; }

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 13px;
}

.detail-label { color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; }
.detail-value { color: var(--c-white); text-align: right; }

.project-nav {
  border-top: 1px solid var(--c-border);
  padding: 40px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.project-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.25s;
}
.project-nav-item:hover { opacity: 0.7; }
.project-nav-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-muted); }
.project-nav-title { font-family: var(--f-serif); font-size: 18px; font-weight: 400; }
.project-nav-right { text-align: right; }

/* ══════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════ */
.about-page-hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.about-page-left {
  padding: 160px 52px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--c-border);
}

.about-page-right {
  background: var(--c-surface);
  display: flex;
  align-items: flex-end;
  padding: 80px 52px;
  position: relative;
  overflow: hidden;
}

.about-page-right .photo-placeholder {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #141414, #1e1e1e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.07);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-page-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.about-bio {
  padding: 100px 52px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
  border-top: 1px solid var(--c-border);
}

.bio-sidebar {}
.bio-sticky { position: sticky; top: 120px; }
.bio-sidebar .label { margin-bottom: 16px; }
.bio-sidebar .heading-lg { font-size: 28px; }

.bio-skills { margin-top: 40px; }

.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.skill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.bio-content .body-lg { margin-bottom: 28px; }

.bio-timeline { margin-top: 60px; }

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--c-border);
}

.tl-year {
  font-size: 12px;
  color: var(--c-accent);
  font-weight: 500;
  padding-top: 3px;
}

.tl-title { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.tl-desc { font-size: 14px; color: var(--c-muted); line-height: 1.7; }

.press-section {
  padding: 100px 52px;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
}

.press-grid {
  max-width: 1280px;
  margin: 0 auto;
}

.press-header { margin-bottom: 48px; }

.press-list { display: flex; flex-direction: column; gap: 0; }

.press-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
  cursor: pointer;
  transition: padding-left 0.25s;
  gap: 24px;
}

.press-item:hover { padding-left: 8px; }

.press-item-source { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-accent); min-width: 100px; }
.press-item-title { font-size: 15px; color: rgba(255,255,255,0.75); flex: 1; }
.press-item-arrow { color: var(--c-muted); font-size: 16px; transition: transform 0.25s; }
.press-item:hover .press-item-arrow { transform: translateX(6px); color: var(--c-white); }

.press-group { border-bottom: 1px solid var(--c-border); }
.press-group:first-of-type { border-top: 1px solid var(--c-border); }

.press-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-white);
  text-align: left;
}
.press-group-toggle:hover .press-group-label { color: var(--c-accent); }

.press-group-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  flex: 1;
  transition: color 0.2s;
}
.press-group-toggle[aria-expanded="true"] .press-group-label { color: var(--c-accent); }

.press-group-count {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
}

.press-group-chevron {
  color: rgba(255,255,255,0.3);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  align-items: center;
}
.press-group-toggle[aria-expanded="true"] .press-group-chevron { transform: rotate(180deg); }

.press-list-collapsible {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}
.press-list-collapsible.open { max-height: 1200px; }

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-left {
  padding: 160px 80px 80px 52px;
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-left .heading-xl { margin: 20px 0 32px; }

.contact-info { margin-top: 60px; }

.contact-info-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-border);
}

.ci-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 6px; }
.ci-value { font-size: 16px; color: var(--c-white); }
.ci-value a { transition: color 0.25s; }
.ci-value a:hover { color: var(--c-accent); }

.contact-right {
  padding: 160px 52px 80px 80px;
  background: var(--c-surface);
}

.contact-right .label { margin-bottom: 32px; }

.form-group { margin-bottom: 28px; }

.form-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 10px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: 2px;
  padding: 14px 18px;
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--c-white);
  outline: none;
  transition: border-color 0.25s;
}

.form-input:focus,
.form-textarea:focus { border-color: rgba(255,255,255,0.3); }

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.2); }

.form-textarea { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--c-white);
  color: var(--c-bg);
  border: none;
  padding: 16px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--c-accent); }
.form-submit svg { width: 14px; transition: transform 0.25s; }
.form-submit:hover svg { transform: translateX(4px); }

/* ══════════════════════════════════════
   PAGES PROJET
══════════════════════════════════════ */

.project-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.project-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}
.project-hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 80px;
  width: 100%;
}
.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
}
.project-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c-accent);
}
.project-title {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  color: var(--c-white);
  margin-bottom: 24px;
}
.project-title em {
  font-style: italic;
  color: var(--c-accent);
}
.project-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.project-meta-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.project-meta-value {
  font-size: 0.85rem;
  color: var(--c-white);
}

.project-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 40px 120px;
}
.project-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  margin-bottom: 72px;
  border-radius: 2px;
  overflow: hidden;
}
.project-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.project-section {
  margin-bottom: 56px;
  border-top: 1px solid var(--c-border);
  padding-top: 40px;
}
.project-section:first-of-type {
  border-top: none;
  padding-top: 0;
}
.project-section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
}
.project-section h2 {
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--c-white);
}
.project-section h2 em {
  font-style: italic;
  color: var(--c-accent);
}
.project-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.project-section p:last-child { margin-bottom: 0; }

.project-stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.project-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-stat .stat-num {
  font-family: var(--f-serif);
  font-size: 2.5rem;
  color: var(--c-accent);
  line-height: 1;
}
.project-stat .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 80px;
  border-top: 1px solid var(--c-border);
}
.project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--c-white);
  transition: color 0.25s;
}
.project-nav-link:hover { color: var(--c-accent); }
.project-nav-link .pnl-dir {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.project-nav-link .pnl-title {
  font-family: var(--f-serif);
  font-size: 1.1rem;
}
.project-nav-back {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
  padding: 12px 24px;
  border-radius: 2px;
  transition: all 0.25s;
}
.project-nav-back:hover { color: var(--c-white); border-color: var(--c-white); }

@media (max-width: 768px) {
  .project-hero-content { padding: 40px 24px; }
  .project-body { padding: 48px 24px 80px; }
  .project-nav { padding: 32px 24px; flex-wrap: wrap; gap: 24px; }
  .project-stat-row { gap: 28px; }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav { padding: 24px 32px; }
  .nav.scrolled { padding: 16px 32px; }

  .section,
  .work-section,
  .about-strip,
  .clients-section,
  .cta-section,
  .reel-section { padding-left: 32px; padding-right: 32px; }

  .hero { padding: 0 32px 48px; }
  .hero-scroll { right: 32px; }

  .work-grid { display: flex; flex-direction: column; gap: 12px; }
  .work-item:nth-child(1) .work-title { font-size: 24px; }

  .about-strip .container { grid-template-columns: 1fr; gap: 60px; }
  .about-badge-box { right: 0; }

  .featured-content { grid-template-columns: 1fr; gap: 32px; padding: 0 32px 48px; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-left { padding: 120px 32px 60px; border-right: none; border-bottom: 1px solid var(--c-border); }
  .contact-right { padding: 60px 32px 80px; }

  .about-page-hero { grid-template-columns: 1fr; min-height: auto; }
  .about-page-right { height: 50vw; min-height: 300px; position: relative; }
  .about-bio { grid-template-columns: 1fr; gap: 60px; }
  .bio-sticky { position: static; }

  .reel-inner { grid-template-columns: 1fr; gap: 32px; }

  .work-full-list { grid-template-columns: 1fr; }

  .footer { padding: 28px 32px; }
  .footer-right { display: none; }
}

@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-contact { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 0 20px 40px; }
  .hero-title { font-size: 38px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }

  .section { padding-left: 20px; padding-right: 20px; }
  .work-section, .about-strip, .clients-section, .cta-section, .reel-section { padding-left: 20px; padding-right: 20px; }

  .about-stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-border); padding: 20px 0; }

  .project-meta-row { flex-wrap: wrap; gap: 16px; }
  .project-body-grid { grid-template-columns: 1fr; gap: 60px; }
  .project-hero-content { padding: 0 20px 48px; }
  .project-nav { padding: 32px 20px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-left { padding: 100px 20px 48px; }
  .contact-right { padding: 48px 20px 60px; }

  .footer { padding: 24px 20px; }
  .footer-socials { gap: 16px; }
}

/* ── CURSOR — masqué sur écrans tactiles ── */
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* Page En Mode Avion : feuille d'origine (bloc <style> de la page en ligne), sans changement,
   puis les anciens attributs style="" repris en classes (même rendu, compatible CSP). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0d0d0d;
  --surface:  #111111;
  --border:   rgba(255,255,255,0.07);
  --white:    #ffffff;
  --muted:    rgba(255,255,255,0.4);
  --dim:      rgba(255,255,255,0.18);
  --accent:   #c8a96e;   /* or champagne — tiré de la charte mehdiouldsaad */
  --f-sans:   'DM Sans', sans-serif;
  --f-serif:  'DM Serif Display', serif;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── REVEAL ── */
[data-r] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-r].on { opacity: 1; transform: none; }
[data-r="1"] { transition-delay: 0.12s; }
[data-r="2"] { transition-delay: 0.24s; }
[data-r="3"] { transition-delay: 0.36s; }

/* ════════════════════════════════
   FILM SUB-NAV
════════════════════════════════ */
.film-subnav {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 190;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s;
  pointer-events: none;
}
.film-subnav.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.film-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 56px;
  height: 44px;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.film-subnav-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.film-subnav-links {
  display: flex;
  gap: 32px;
}
.film-subnav-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.film-subnav-link:hover,
.film-subnav-link.active { color: #ffffff; }
.film-subnav-cta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 6px 16px;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.film-subnav-cta:hover { opacity: 0.85; }

@media (max-width: 900px) {
  .film-subnav-inner { padding: 0 24px; }
  .film-subnav-title { display: none; }
  .film-subnav-cta { display: none; }
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

/* Sky/mountain gradient — replace with <img> when ready */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(9,12,16,0.55) 0%,
      rgba(9,12,16,0.15) 35%,
      rgba(9,12,16,0.1) 55%,
      rgba(9,12,16,0.75) 80%,
      rgba(9,12,16,1) 100%
    ),
    linear-gradient(160deg, #1a1208 0%, #241a08 30%, #2e2010 55%, #1e1808 80%, #0d0d0d 100%);
  /* ↑ Replace with: background-image: url('images/ema-hero.jpg'); background-size: cover; background-position: center; */
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Big film title — recreate the EMA typographic feel */
.film-title {
  font-family: var(--f-serif);
  font-size: clamp(72px, 14vw, 200px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: center;
  margin-bottom: 32px;
  /* Subtle outline effect like the original logo */
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
  color: transparent;
  text-shadow: none;
}

/* Alternative solid version — toggle if preferred */
.film-title.solid {
  -webkit-text-stroke: none;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.film-title .line-small {
  font-size: clamp(28px, 5vw, 72px);
  letter-spacing: 0.18em;
  display: block;
}

.film-title .line-big {
  font-size: clamp(72px, 14vw, 200px);
  display: block;
}

.hero-sub {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 48px;
}
.hero-sub em { font-style: normal; color: var(--accent); }

.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 2px;
  transition: background 0.25s, transform 0.25s;
}
.btn-watch:hover { background: var(--accent); /* gold */ transform: translateY(-1px); }
.btn-watch svg { width: 16px; }

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 28px;
  border-radius: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.btn-ghost-white:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* Free badge */
.free-badge {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.free-badge::before,
.free-badge::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--border);
}
.free-badge span { color: var(--white); }

/* Scroll arrow */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll svg { width: 18px; opacity: 0.4; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ════════════════════════════════
   INTRO STRIP — quick facts
════════════════════════════════ */
.intro-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.strip-item {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}
.strip-item:last-child { border-right: none; }

.strip-n {
  font-family: var(--f-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.strip-l {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ════════════════════════════════
   SYNOPSIS
════════════════════════════════ */
.synopsis {
  padding: 110px 56px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.synopsis-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.synopsis-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent); /* gold */
}

.synopsis-heading {
  font-family: var(--f-serif);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  position: sticky;
  top: 100px;
}

.synopsis-text p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.62);
  margin-bottom: 24px;
}
.synopsis-text p:last-child { margin-bottom: 0; }
.synopsis-text strong { color: var(--white); font-weight: 400; }

/* ════════════════════════════════
   THEMES
════════════════════════════════ */
.themes {
  background: var(--surface);
  padding: 100px 56px;
  border-top: 1px solid var(--border);
}

.themes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.themes-header {
  margin-bottom: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.themes-heading {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.15;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.theme-card {
  background: var(--bg);
  padding: 48px 40px 52px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.theme-card:hover { background: #111620; }

.theme-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent); /* gold */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.theme-card:hover::before { transform: scaleX(1); }

.theme-num {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--dim);
  margin-bottom: 32px;
}

.theme-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}

.theme-title {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.theme-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

/* ════════════════════════════════
   SAMIR PORTRAIT
════════════════════════════════ */
.samir {
  padding: 110px 56px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--border);
}

.samir-text .synopsis-label { margin-bottom: 16px; }

.samir-heading {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 28px;
}

.samir-text p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  margin-bottom: 20px;
}

.samir-photo {
  aspect-ratio: 3/4;
  border-radius: 3px;
  background: linear-gradient(160deg, #1a2a3a 0%, #2a3a4a 50%, #1a2530 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}
.samir-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.samir-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-align: center;
}

/* ════════════════════════════════
   PULL QUOTE
════════════════════════════════ */
.quote-section {
  padding: 100px 56px;
  background: var(--surface) url('../images/ema-featured-2.48b50fde1d.webp') center/cover no-repeat;
  position: relative;
  text-align: center;
}
.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.72);
}
.quote-section > * {
  position: relative;
  z-index: 1;
}

.quote-mark {
  font-family: var(--f-serif);
  font-size: 80px;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 20px;
  display: block;
}

.quote-text {
  font-family: var(--f-serif);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 28px;
}

.quote-attr {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-attr em { font-style: normal; color: var(--accent); }

/* ════════════════════════════════
   CROWDFUNDING PROOF
════════════════════════════════ */
.proof {
  padding: 80px 56px;
  border-top: 1px solid var(--border);
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.proof-text { flex: 1; min-width: 260px; }

.proof-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.proof-heading {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 400;
  margin-bottom: 16px;
}

.proof-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 420px;
}

.proof-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
}

.proof-n {
  font-family: var(--f-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.proof-l {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ════════════════════════════════
   WATCH — full film embed
════════════════════════════════ */
.watch {
  padding: 100px 56px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.watch-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.watch-header {
  text-align: center;
  margin-bottom: 52px;
}

.watch-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.watch-heading {
  font-family: var(--f-serif);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 400;
  margin-bottom: 16px;
}

.watch-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.watch-sub span {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.watch-langs {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lang-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}

.watch-yt-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.08em;
  transition: color 0.25s;
}
.watch-yt-link:hover { color: var(--white); }

/* ════════════════════════════════
   DIRECTOR
════════════════════════════════ */
.director {
  padding: 100px 56px;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.director-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a2a, #2a2a3a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  max-width: 240px;
}
.director-photo img { width: 100%; height: 100%; object-fit: cover; }

.director-text .synopsis-label { margin-bottom: 16px; }

.director-name {
  font-family: var(--f-serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  margin-bottom: 20px;
}

.director-text p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.director-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
  transition: gap 0.25s;
  border-bottom: 1px solid rgba(126,184,204,0.3);
  padding-bottom: 2px;
}
.director-link:hover { gap: 14px; border-color: var(--accent); }


/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
  .nav { padding: 22px 28px; }
  .nav.scrolled { padding: 16px 28px; }
  .nav-links { display: none; }

  .synopsis { grid-template-columns: 1fr; gap: 40px; padding: 72px 28px; }
  .synopsis-heading { position: static; font-size: 28px; }

  .themes { padding: 72px 28px; }
  .themes-grid { grid-template-columns: 1fr; gap: 2px; }
  .theme-card { padding: 36px 28px; }

  .samir { grid-template-columns: 1fr; gap: 48px; padding: 72px 28px; }
  .samir-photo { max-width: 380px; }

  .quote-section { padding: 72px 28px; }

  .proof { padding: 60px 28px; }
  .proof-inner { flex-direction: column; gap: 48px; }
  .proof-stats { justify-content: center; }

  .watch { padding: 72px 28px; }

  .director { grid-template-columns: 1fr; gap: 40px; padding: 72px 28px; }
  .director-photo { max-width: 180px; }


  .intro-strip { flex-wrap: wrap; }
  .strip-item { min-width: 50%; border-bottom: 1px solid var(--border); }
}

@media (max-width: 540px) {
  .film-title { font-size: clamp(52px, 18vw, 120px); }
  .hero-ctas { flex-direction: column; }
  .btn-watch, .btn-ghost-white { width: 100%; justify-content: center; }
  .free-badge { display: none; }
  .proof-stats { gap: 32px; }
}


/* ── Anciens attributs style="" (valeurs identiques) ── */
.ema-img-hero { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.film-title picture { display: block; }
.ema-img-title { max-width: min(520px, 80vw); width: 100%; height: auto; display: block; }
.ema-em-muted { font-style: italic; color: rgba(255,255,255,0.45); }
.ema-em-accent { color: var(--accent); }
.ema-proof-side { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.ema-proof-side picture { display: block; }
.ema-img-badge { height: 140px; width: auto; opacity: 0.9; border-radius: 4px; }

/* ── Lecteur : l'iframe YouTube n'est créée qu'au clic (même cadre que l'intégration d'origine) ── */
.video-wrapper .facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; cursor: pointer; display: block; }
.video-wrapper .facade picture, .video-wrapper .facade img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ema-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.92); color: #0d0d0d; display: flex; align-items: center; justify-content: center; transition: background 0.25s; }
.ema-play svg { width: 28px; margin-left: 4px; }
.video-wrapper .facade:hover .ema-play, .video-wrapper .facade:focus-visible .ema-play { background: var(--accent); }
.video-wrapper .facade:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ema-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Curseur système, accessibilité ── */
html, body { cursor: auto; }
a, button, [role="button"] { cursor: pointer; }
main:focus { outline: none; }
html:not(.js) [data-r] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-r] { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
}

/* En-tête et pied de page globaux, pour les pages qui gardent leur propre feuille (En Mode Avion).
   Copie fidèle des règles de main.css, limitée à .site-header, .site-footer et .skip :
   aucune variable ni règle ne touche le corps de la page. */
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-wght-normal.7a19a7027e.woff2') format('woff2-variations');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-ext-wght-normal.a85a7459bd.woff2') format('woff2-variations');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-400-normal.08949f728d.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}


.site-header, .site-footer, .skip {
  --bg: #171614; --surface: #211F1C; --rule: #3A3631; --text: #EEEAE3; --muted: #B3ADA3; --dim: #8E887E;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px); --max: 1440px; --header-h: 64px;
}
.site-header, .site-footer {
  box-sizing: border-box; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.5 var(--sans); font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  text-align: left; position: relative; z-index: 9991;
}
@media (min-width: 900px) { .site-header, .site-footer { font-size: 1.125rem; } }
.site-header *, .site-footer * { box-sizing: border-box; }
.site-header :is(h1, h2, h3, p, ul, ol), .site-footer :is(h1, h2, h3, p, ul, ol) { margin: 0; }
.site-header :is(ul, ol), .site-footer :is(ul, ol) { padding: 0; list-style: none; }
.site-header img, .site-footer img { display: block; max-width: 100%; height: auto; }
.site-header a, .site-footer a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.site-header .wrap, .site-footer .wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.site-header .sr, .site-footer .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-nav, .brand__name, .site-footer__bottom, .site-footer .label {
  font-family: var(--mono); font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400;
}
@media (min-width: 900px) { .site-nav, .brand__name, .site-footer__bottom, .site-footer .label { font-size: 0.875rem; } }
.site-footer .label { color: var(--muted); display: block; gap: 0; margin: 0; }
.site-footer .label::before { content: none; }

.skip { position: absolute; left: 8px; top: -100px; z-index: 10000; background: var(--text); color: var(--bg); padding: 8px 12px; font-family: var(--mono); font-size: 0.875rem; }
.skip:focus { top: 8px; }

.site-header { position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.site-header .brand__logo { height: 28px; width: auto; }
.brand__name { color: var(--text); letter-spacing: 0.1em; }
.site-nav ul { display: flex; gap: clamp(14px, 3vw, 36px); }
.site-nav a { white-space: nowrap; text-decoration: none; color: var(--muted); padding-block: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { text-decoration: underline; }
@media (max-width: 759px) {
  .site-header, .site-footer, .skip { --header-h: 0px; }
  .site-header { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .site-header__inner { flex-wrap: wrap; row-gap: 0; padding-block: 10px 6px; min-height: 0; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-wrap: wrap; gap: 0 24px; }
  .site-nav a { display: inline-block; line-height: 20px; padding-block: 12px; }
}
@media (max-width: 479px) {
  .brand { gap: 8px; }
  .site-header .brand__logo { height: 24px; }
  .site-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 28px; }
}

.site-footer { border-top: 1px solid var(--rule); padding-block: clamp(40px, 7vw, 88px) 28px; }
.contact { display: grid; gap: 10px; }
.contact__email { font-family: var(--sans); font-size: clamp(1.125rem, 3.4vw, 2.5rem); font-weight: 500; line-height: 1.15; text-decoration: none; width: auto; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
a.contact__email:hover { text-decoration: underline; }
.contact__note { color: var(--muted); }
.site-footer__bottom { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--dim); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer__links a { color: var(--muted); text-decoration: none; padding-block: 6px; display: inline-block; }
.site-footer__links a:hover { color: var(--text); text-decoration: underline; }
.site-footer__legal a { color: var(--muted); text-decoration: none; }
.site-footer__legal a:hover { color: var(--text); text-decoration: underline; }
.site-footer__bottom p { padding-block: 6px; }
.site-header :is(a, button):focus-visible, .site-footer :is(a, button):focus-visible, .skip:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 1px; }
