/* NexLab v3 : refonte cinéma, vidéo en mouvement partout.
   Un thème (sombre par défaut, clair au choix), une couleur d'accent, un seul rayon de coin.
   Verre dépoli : approximation CSS (backdrop-filter), pas un composant officiel Apple. Aucun tiret long. */

@font-face { font-family: "Geist"; src: url("./assets/fonts/GeistVF.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("./assets/fonts/GeistMonoVF.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #09090C; --surface: #121318; --ink: #F2F3F5; --muted: #A0A6B1;
  --line: rgba(242, 243, 245, .15); --line-strong: #6B7280;
  --accent: #6F8CFF; --on-accent: #0A0B10;
  --r: 6px; --g: clamp(20px, 3.2vw, 48px); --nav: 68px; --max: 1480px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #F2F3F5; --surface: #F8F9FA; --ink: #0D0F12; --muted: #59606B;
  --line: rgba(13, 15, 18, .14); --line-strong: #80868F;
  --accent: #2B5BFF; --on-accent: #F8F9FA;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
/* Grain de pellicule : calque fixe, jamais sur un conteneur qui défile. */
body::after { content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.skip { position: absolute; left: var(--g); top: -80px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--bg); border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; }
.sec { padding: clamp(96px, 11vw, 176px) var(--g); }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(2.5rem, 6vw, 6rem); line-height: .94; letter-spacing: -.055em; font-weight: 700; max-width: 12ch; text-wrap: balance; }
.lead { margin-top: 22px; max-width: 46ch; color: var(--muted); font-size: 1.125rem; }

/* Découpage lettre par lettre pour les titres animés. */
.wd { display: inline-block; white-space: nowrap; }
.cw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.ch { display: inline-block; will-change: transform; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r); font: 600 .9375rem/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.on-media .btn-ghost { color: #F4F5F7; border-color: rgba(244, 245, 247, .55); }
.on-media .btn-ghost:hover { border-color: #F4F5F7; background: rgba(244, 245, 247, .1); }

.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* Chargement : compteur puis rideau. */
.loader { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: var(--g); background: #09090C; color: #F4F5F7; }
.loader.is-done { display: none; }
html:not(.js) .loader { display: none; }
.loader-brand { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; }
.loader-brand svg { width: 22px; height: 26px; fill: none; stroke: #6F8CFF; stroke-width: 3; stroke-linejoin: round; }
.loader-brand svg .fill { fill: #6F8CFF; stroke: none; }
.loader-count { font-size: clamp(5rem, 17vw, 16rem); line-height: .78; font-weight: 700; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }

/* Navigation en verre */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--g); background: color-mix(in srgb, var(--bg) 52%, transparent); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-solid { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.035em; font-size: 1.25rem; }
.brand svg { width: 20px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; }
.brand svg .fill { fill: var(--accent); stroke: none; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav-links a, .nav-links button { position: relative; padding: 8px 0; border: 0; background: none; color: var(--ink); font: 500 .9375rem/1 var(--sans); text-decoration: none; cursor: pointer; }
.nav-links a::after, .nav-links button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links button:hover::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: 0 18px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent; cursor: pointer; padding: 0; }
.menu-button i { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform .3s var(--ease); }
.menu-button[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-button[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu { position: fixed; inset: var(--nav) 0 0 0; z-index: 49; display: none; flex-direction: column; justify-content: center; gap: 8px; padding: var(--g); background: var(--bg); }
.menu.open { display: flex; }
.menu a, .menu button { border: 0; background: none; padding: 10px 0; text-align: left; color: var(--ink); font: 700 clamp(2.25rem, 10vw, 3.5rem)/1.02 var(--sans); letter-spacing: -.05em; text-decoration: none; cursor: pointer; }

/* Hero : le showreel en HD plein écran, le nom en lettres géantes qui réagissent. */
.hero { position: relative; height: 100dvh; min-height: 640px; overflow: hidden; background: #09090C; color: #F4F5F7; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 9, 12, .84) 0%, rgba(9, 9, 12, .38) 46%, rgba(9, 9, 12, .08) 100%), linear-gradient(0deg, rgba(9, 9, 12, .8) 0%, transparent 42%); }
.hero-top { position: absolute; z-index: 2; left: var(--g); right: var(--g); top: calc(var(--nav) + clamp(28px, 7vh, 80px)); display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.hero-h { max-width: 11ch; font-size: clamp(2.5rem, 5.2vw, 5.4rem); line-height: .94; letter-spacing: -.055em; font-weight: 700; }
.hero-side { max-width: 340px; padding-top: .6em; }
.hero-sub { color: #D6DAE1; font-size: 1.125rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-word { position: absolute; z-index: 1; left: 0; right: 0; bottom: -1.4vw; display: flex; justify-content: center; font-size: 23.6vw; line-height: .8; letter-spacing: -.075em; font-weight: 800; white-space: nowrap; pointer-events: none; user-select: none; }

/* Bandeau défilant : le seul de la page, il accélère avec le scroll. */
.ticker { overflow: hidden; padding: clamp(18px, 3vw, 36px) 0; border-block: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-track span { padding-right: .55em; font-size: clamp(2.5rem, 7vw, 7rem); line-height: 1; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; }
.ticker-track span::after { content: "/"; margin-left: .55em; color: var(--accent); font-weight: 300; }

/* Phrase de marque sur un fond vidéo discret */
.manifest { position: relative; overflow: hidden; padding-block: clamp(130px, 19vw, 300px); }
.bg-video { position: absolute; inset: 0; z-index: 0; }
.bg-video video { width: 100%; height: 100%; object-fit: cover; opacity: .24; filter: saturate(1.2) blur(2px); }
[data-theme="light"] .bg-video video { opacity: .12; mix-blend-mode: multiply; }
.manifest .wrap { position: relative; z-index: 1; }
.statement { margin-left: clamp(0px, 10vw, 180px); max-width: 19ch; font-size: clamp(2.2rem, 5.8vw, 6rem); line-height: 1; letter-spacing: -.05em; font-weight: 650; text-wrap: balance; }

/* Films : galerie horizontale épinglée, chaque film joue en boucle */
.films { position: relative; }
.films-pin { position: relative; height: 100dvh; min-height: 620px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.films-track { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); width: max-content; padding-inline: var(--g); will-change: transform; }
.films-head { flex: 0 0 min(44vw, 620px); }
.fc { flex: 0 0 clamp(300px, 34vw, 600px); display: block; color: inherit; text-decoration: none; }
.fc:nth-child(odd) { transform: translateY(-4vh); }
.fc figure { position: relative; margin: 0; height: clamp(240px, 46vh, 460px); overflow: hidden; border-radius: var(--r); background: #000; }
.fc:nth-child(even) figure { height: clamp(200px, 36vh, 360px); }
.fc img, .fc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc video { opacity: 0; transition: opacity .5s; }
.fc video.live { opacity: 1; }
/* Respiration lente des images : tout bouge, même avant que la vidéo démarre. */
@keyframes kb { from { transform: scale(1.03); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.fc img, .cases-media img { animation: kb 16s ease-in-out infinite alternate; }
.fc video { transition: opacity .5s, transform 1s var(--ease); }
.fc:hover video { transform: scale(1.05); }
.fc-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 14px; }
.fc-artist { font: 500 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fc-title { margin-top: 6px; font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; }
.fc-year { font: 500 .8125rem/1 var(--mono); color: var(--muted); }
.films-bar { position: absolute; left: var(--g); right: var(--g); bottom: clamp(20px, 4vh, 40px); height: 2px; background: var(--line); }
.films-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* Preuves : l'écran change avec le scroll, les chiffres comptent */
.cases-pin { position: relative; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 5vw, 96px); padding: calc(var(--nav) + 28px) var(--g) 40px; }
.cases-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--r); background: #000; }
.cases-media figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s var(--ease); }
.cases-media figure.on { opacity: 1; }
.cases-media img, .cases-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cases-copy h2 { margin-bottom: clamp(20px, 4vh, 44px); }
.cases-list { margin: 0; padding: 0; list-style: none; }
.case { padding: clamp(14px, 2.6vh, 26px) 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .5s; }
.case.on { opacity: 1; }
.cases-copy h2 { font-size: clamp(2.25rem, 4.4vw, 4.4rem); }
.case-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.case-more > div { min-height: 0; overflow: hidden; }
.case.on .case-more, html:not(.js) .case-more { grid-template-rows: 1fr; }
.case-num { display: block; font-size: clamp(2.5rem, 5.6vw, 5.75rem); line-height: .9; letter-spacing: -.065em; font-weight: 700; font-variant-numeric: tabular-nums; }
.case-num small { margin-left: .2em; color: var(--muted); font-size: .3em; letter-spacing: -.02em; font-weight: 600; }
.case h3 { margin-top: 10px; font-size: clamp(1.25rem, 2vw, 1.875rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; }
.case p { margin-top: 6px; max-width: 42ch; color: var(--muted); }
.case a { display: inline-flex; margin-top: 12px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.case a:hover { color: var(--accent); border-color: var(--accent); }
.case img { display: none; }

/* Services : scènes plein écran qui s'empilent */
.svc-intro { padding-bottom: clamp(40px, 6vw, 88px); }
.svc-stack { position: relative; }
.scene { position: sticky; top: 0; height: 100dvh; min-height: 560px; overflow: hidden; background: #000; color: #F4F5F7; }
.scene-in { position: absolute; inset: 0; transform-origin: 50% 100%; }
.scene-in video, .scene-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 9, 12, .86) 0%, rgba(9, 9, 12, .35) 45%, rgba(9, 9, 12, .12) 100%); }
.scene-body { position: absolute; z-index: 2; left: var(--g); right: var(--g); bottom: clamp(32px, 8vh, 96px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.scene h3 { max-width: 9ch; font-size: clamp(3rem, 10vw, 10rem); line-height: .88; letter-spacing: -.065em; font-weight: 700; }
.scene-side { max-width: 380px; }
.scene p { color: #D8DCE3; font-size: 1.125rem; }
.scene .btn { margin-top: 22px; }

/* Process : la ligne se trace, les étapes s'allument */
.proc { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); margin-top: clamp(56px, 7vw, 112px); padding-top: 40px; }
.proc::before, .proc-line { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; }
.proc::before { background: var(--line); }
.proc-line { background: var(--accent); transform-origin: left; transform: scaleX(0); }
html:not(.js) .proc-line { transform: scaleX(1); }
.proc h3 { font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.proc p { margin-top: 12px; max-width: 26ch; color: var(--muted); }

/* Studio */
.studio-h { max-width: 15ch; }
.studio-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 120px); margin-top: clamp(32px, 4vw, 56px); }
.studio-copy p { max-width: 46ch; color: var(--muted); font-size: 1.125rem; }
.team { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.team li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.team b { font-size: 1.75rem; letter-spacing: -.04em; font-weight: 650; }
.team span { font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.team a { font: 500 .875rem/1 var(--mono); color: var(--muted); text-decoration: none; }
.team a:hover { color: var(--accent); }
.studio-band { position: relative; overflow: hidden; margin-top: clamp(48px, 6vw, 96px); aspect-ratio: 21 / 9; border-radius: var(--r); background: #000; }
.studio-band video, .studio-band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }

/* Finale : estimation et brief sur un fond vidéo flouté, panneaux en verre dépoli */
.finale { position: relative; isolation: isolate; }
.finale-bg { position: sticky; top: 0; z-index: -1; height: 100dvh; margin-bottom: -100dvh; overflow: hidden; background: var(--bg); }
.finale-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .6; filter: blur(14px) saturate(1.3); transform: scale(1.1); }
.finale-bg::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 58%, transparent); }
.glass { border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, var(--bg) 56%, transparent); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
@media (prefers-reduced-transparency: reduce) { .glass { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.est-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.estimator { padding: clamp(22px, 3vw, 40px); }
.estimator fieldset { margin: 0 0 28px; padding: 0; border: 0; }
.estimator legend { margin-bottom: 12px; padding: 0; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.estimator fieldset > div { display: flex; flex-wrap: wrap; gap: 10px; }
.estimator button { min-height: 48px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent; color: var(--ink); font: 600 .9375rem/1 var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.estimator button:hover { border-color: var(--ink); }
.estimator button:active { transform: scale(.98); }
.estimator button.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.estimate-result { display: grid; gap: 8px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r); background: var(--accent); color: var(--on-accent); }
.estimate-result span { font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.estimate-result strong { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .95; letter-spacing: -.055em; font-weight: 700; }
.estimate-result small { font-size: .9375rem; opacity: .9; }
.estimate-continue { justify-self: start; margin-top: 12px; font-weight: 600; color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.contact h2 { max-width: 11ch; }
.pdf { display: inline-flex; margin-top: 28px; color: inherit; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.pdf:hover { border-color: var(--accent); color: var(--accent); }
.project-form { margin-top: clamp(32px, 4vw, 56px); max-width: 980px; padding: clamp(22px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.form-grid label { display: grid; gap: 8px; }
.form-grid label > span { font-size: .875rem; font-weight: 600; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: color-mix(in srgb, var(--surface) 82%, transparent); color: var(--ink); font: 400 1rem/1.4 var(--sans); transition: border-color .2s, box-shadow .2s; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: var(--muted); opacity: 1; }
.form-grid input:hover, .form-grid select:hover, .form-grid textarea:hover { border-color: var(--ink); }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.form-grid input[readonly] { color: var(--muted); }
.form-message { grid-column: 1 / -1; }
.form-grid textarea { min-height: 168px; resize: vertical; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 28px; min-height: 56px; padding: 0 30px; font-size: 1rem; }
.form-submit[disabled] { opacity: .6; cursor: progress; }
.form-state { margin-top: 16px; min-height: 1.5em; font-size: .9375rem; color: var(--muted); }
.form-state.is-success { color: var(--ink); font-weight: 600; }
.form-state.is-error { color: #FF8F87; font-weight: 600; }
[data-theme="light"] .form-state.is-error { color: #B3261E; }
.form-next { display: grid; gap: 4px; margin-top: 16px; padding: 18px 22px; border-left: 3px solid var(--accent); border-radius: var(--r); background: var(--surface); }
.form-next strong { font-size: 1.125rem; letter-spacing: -.02em; }
.form-next span { color: var(--muted); }
.contact-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(40px, 5vw, 72px); font-weight: 500; }
.contact-meta a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact-meta a:hover { color: var(--accent); border-color: var(--accent); }

/* Pied de page : nom géant qui réagit au pointeur */
.foot { position: relative; padding: clamp(48px, 6vw, 96px) var(--g) 28px; border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.foot-word { display: flex; justify-content: center; margin: 0 0 clamp(20px, 3vw, 40px); font-size: 25.5vw; line-height: .78; letter-spacing: -.075em; font-weight: 800; white-space: nowrap; user-select: none; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.foot-row p { font-weight: 600; letter-spacing: -.02em; }
.foot-row small { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); font-size: .8125rem; }
.foot-row small a, .foot-row small button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot-row small a:hover, .foot-row small button:hover { color: var(--ink); }

.reel { width: min(1180px, 92vw); padding: 0; border: 0; border-radius: var(--r); background: #09090C; color: #F4F5F7; overflow: hidden; }
.reel::backdrop { background: rgba(9, 9, 12, .86); }
.reel video { width: 100%; max-height: 80dvh; background: #000; }
.reel button { position: absolute; z-index: 2; top: 12px; right: 12px; min-height: 40px; padding: 0 16px; border: 1px solid rgba(244, 245, 247, .5); border-radius: var(--r); background: rgba(9, 9, 12, .7); color: #F4F5F7; font: 600 .875rem/1 var(--sans); cursor: pointer; }

.cookie-banner { position: fixed; z-index: 95; right: var(--g); bottom: var(--g); width: min(520px, calc(100% - var(--g) * 2)); padding: 20px 22px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); transform: translateY(160%); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .3s; }
.cookie-banner.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.cookie-banner p { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.cookie-banner p a { color: var(--ink); }
.cookie-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.cookie-btn { min-height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent; color: var(--ink); font: 600 .875rem/1 var(--sans); cursor: pointer; }
.cookie-accepter { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }

@media (max-width: 1024px) {
  .cases-pin { display: block; min-height: 0; padding-top: var(--g); }
  .cases-media { display: none; }
  .case { opacity: 1; }
  .case-more { grid-template-rows: 1fr; }
  .case img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 18px; border-radius: var(--r); }
  .est-grid, .studio-copy { grid-template-columns: 1fr; }
  .proc { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 820px) {
  .nav-links, .nav .btn { display: none; }
  .menu-button { display: block; }
  .hero-top { flex-direction: column; gap: 22px; top: calc(var(--nav) + 24px); }
  .hero-side { padding-top: 0; max-width: 100%; }
  .hero-word { font-size: 27vw; bottom: 0; }
  .films-pin { height: auto; display: block; padding: clamp(80px, 14vw, 120px) var(--g); overflow: visible; }
  .films-track { flex-direction: column; align-items: stretch; width: auto; padding: 0; gap: 36px; transform: none !important; }
  .films-head { flex: none; }
  .fc { flex: none; width: 100%; transform: none !important; }
  .fc figure, .fc:nth-child(even) figure { height: auto; aspect-ratio: 16 / 10; }
  .fc:nth-child(n + 8) { display: none; }
  .films-bar { display: none; }
  .scene h3 { font-size: clamp(2.75rem, 14vw, 5.5rem); }
  .form-grid { grid-template-columns: 1fr; }
  .studio-band { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .proc { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .loader { display: none; }
}
