/* =========================================================
   ALB'S GROUP
   Palette : blanc, gris froids, encre marine du logo, rouge du logo en accent.
   Rayons : 16px pour images et blocs, 10px pour boutons et champs.
   ========================================================= */

@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../fonts/CabinetGrotesk-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f3f4f5;
  --surface-strong: #e9eaec;
  --ink: #11151d;
  --ink-soft: #2a2f39;
  --muted: #5a606b;
  --line: rgba(17, 21, 29, 0.1);
  --line-strong: rgba(17, 21, 29, 0.2);
  --accent: #e0392f;
  --accent-ink: #b8281f;

  --on-dark: #f5f6f7;
  --on-dark-muted: #a2a7b0;
  --line-dark: rgba(255, 255, 255, 0.12);

  --display: 'Cabinet Grotesk', 'Geist', system-ui, sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
dl, dd { margin: 0; }
sup { font-size: 0.6em; line-height: 0; }

[hidden] { display: none !important; }

::selection { background: var(--ink); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
}
.skip-link:focus { top: 0.75rem; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }

/* ---------- Typographie ---------- */
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
.section-sub {
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
  text-wrap: pretty;
}
.lead {
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 1.25rem;
  text-wrap: pretty;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9688rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #fff; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  font-size: 0.9688rem;
  font-weight: 500;
  color: var(--ink);
}
.btn-link svg { transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--ink-soft); }
  .btn-link:hover svg { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
}
.brand-logo { height: 26px; width: auto; }
.brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.6rem;
  border-left: 1px solid var(--line-strong);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 150ms ease;
}
.nav-links a.is-current { color: var(--ink); }
.nav-links .nav-client { display: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  font-size: 0.9063rem;
  font-weight: 500;
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.nav-cta:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--ink); }
  .nav-cta:hover { background: var(--surface); border-color: var(--line); }
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 250ms var(--ease-out);
}
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.75rem, 5.6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 2.5rem;
  text-wrap: balance;
}
.dot { color: var(--accent); }
.hero-title .line { display: inline-block; white-space: nowrap; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
}

/* Photos posées en éventail, comme des tirages sur une table */
.hero-stack {
  position: relative;
  aspect-ratio: 1 / 0.8;
  margin: 0;
}
.stack-card {
  --r: 0deg;
  --x: 0%;
  --y: 0%;
  position: absolute;
  width: 64%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 0 0 6px #fff,
    0 24px 48px -20px rgba(17, 21, 29, 0.35);
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform 500ms var(--ease-out);
}
.stack-card img { width: 100%; height: 100%; object-fit: cover; }
.stack-card--1 { top: 0; right: 0; width: 56%; --r: 4deg; z-index: 1; }
.stack-card--2 { bottom: 0; right: 4%; width: 46%; --r: 3deg; z-index: 2; }
.stack-card--3 { top: 22%; left: 0; width: 58%; --r: -3deg; z-index: 3; }

/* Entrée : les photos partent du centre et s'étalent (une seule fois, au chargement) */
.js .stack-card { animation: deal 900ms var(--ease-out) backwards; }
.js .stack-card--2 { animation-delay: 90ms; }
.js .stack-card--3 { animation-delay: 180ms; }
@keyframes deal {
  from {
    opacity: 0;
    transform: translate(0, 12%) rotate(0deg) scale(0.94);
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-stack:hover .stack-card--1 { --r: 6deg; --x: 2%; --y: -3%; }
  .hero-stack:hover .stack-card--2 { --r: 5deg; --x: 2%; --y: 3%; }
  .hero-stack:hover .stack-card--3 { --r: -5deg; --x: -3%; }
}

/* ---------- Métiers ---------- */
.expertise { padding-top: clamp(3rem, 6vw, 5rem); }
.expertise .section-title {
  font-size: 1.125rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  margin-bottom: 1rem;
}
.metiers { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-strong); }
.metier {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem clamp(2rem, 4vw, 4rem);
  padding: clamp(1.25rem, 2.6vw, 2rem) 0;
  border-top: 1px solid var(--line-strong);
}
.metier-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  transition: color 250ms ease, transform 400ms var(--ease-out);
}
.metier-info { display: flex; flex-direction: column; gap: 0.5rem; }
.metier-desc { color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 40ch; }
.metier-by { font-size: 0.9375rem; font-weight: 600; }
.metier-arrow { color: var(--muted); transition: transform 400ms var(--ease-out), color 250ms ease; }

@media (hover: hover) and (pointer: fine) {
  .metier:hover .metier-word { color: var(--accent); transform: translateX(0.5rem); }
  .metier:hover .metier-arrow { color: var(--ink); transform: translate(3px, -3px); }
}

/* ---------- Filiales : récit plein écran ----------
   Le fond de .story change de couleur selon le chapitre visible (data-theme, posé en JS).
   Chaque chapitre fait la hauteur de l'écran. */
.story {
  --story-bg: #fdece4;
  --story-ink: #1a2035;
  --story-muted: #5b4a44;
  --story-accent: #e95421;
  --story-line: rgba(26, 32, 53, 0.14);
  background: var(--story-bg);
  color: var(--story-ink);
  transition: background-color 700ms var(--ease-out), color 700ms var(--ease-out);
}
.story[data-theme="olnis"] {
  --story-bg: #eeedff;
  --story-ink: #14132b;
  --story-muted: #4c4a66;
  --story-accent: #5d59f3;
  --story-line: rgba(20, 19, 43, 0.14);
}
.story[data-theme="events"] {
  --story-bg: #121212;
  --story-ink: #f6f5f2;
  --story-muted: #a9a7a1;
  --story-accent: #f6f5f2;
  --story-line: rgba(246, 245, 242, 0.16);
}

.chapter {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(7rem, 12vw, 11rem);
  overflow: hidden;
}
.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.chapter-grid--reverse .chapter-copy { order: 2; }

.chapter-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--story-muted);
}
.chapter-logo { height: 46px; width: auto; }
.chapter-logo--olnis { height: 38px; }
.chapter-kicker span {
  padding-left: 1rem;
  border-left: 1px solid var(--story-line);
  line-height: 1.2;
}
.chapter-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.3vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
.chapter-text {
  color: var(--story-muted);
  max-width: 46ch;
  margin: 0 0 2rem;
  font-size: 1.0625rem;
}
.chapter-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--story-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.chapter-link svg { transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .chapter-link:hover svg { transform: translate(2px, -2px); }
}

/* Fonctionnalités Olnis */
.features { list-style: none; margin: 0 0 2.25rem; padding: 0; }
.features li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--story-line);
}
.features li:last-child { border-bottom: 1px solid var(--story-line); }
.features strong { font-weight: 600; font-size: 1.0625rem; }
.features span { color: var(--story-muted); font-size: 0.9688rem; line-height: 1.5; }

/* Visuels : cadres photo + emplacement tant que l'image manque */
.chapter-media { position: relative; aspect-ratio: 1 / 0.9; }
.shot {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  background: color-mix(in srgb, var(--story-ink) 7%, transparent);
  transform: rotate(var(--r, 0deg));
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.is-missing img { display: none; }
.shot.is-missing {
  display: grid;
  place-items: center;
  border: 1.5px dashed color-mix(in srgb, var(--story-ink) 30%, transparent);
}
.shot.is-missing::after {
  content: 'Photo à venir : ' attr(data-label);
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--story-muted);
}

.media-agency { aspect-ratio: 1 / 0.95; }
.media-agency .shot--main { top: 0; left: 24%; width: 48%; aspect-ratio: 4 / 5; --r: -2deg; z-index: 2; box-shadow: 0 30px 60px -30px rgba(90, 40, 20, 0.5); }
.media-agency .shot--a { top: 6%; right: 0; width: 24%; aspect-ratio: 3 / 4; --r: 6deg; z-index: 1; }
.media-agency .shot--b { bottom: 4%; left: 2%; width: 24%; aspect-ratio: 3 / 4; --r: -5deg; z-index: 1; }

/* Bulles de résultats autour des visuels */
.bubble {
  position: absolute;
  z-index: 4;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: 18rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: #fff;
  color: #14151c;
  box-shadow: 0 1px 0 rgba(26, 32, 53, 0.04), 0 18px 40px -18px rgba(20, 20, 40, 0.4);
}
.chapter--olnis { --bubble-accent: #5d59f3; }
.chapter--events { --bubble-accent: #f5a524; }
.bubble strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bubble > span { font-size: 0.875rem; color: #5a5d68; line-height: 1.35; }
.bubble-stars { color: #e95421; font-size: 0.7em; letter-spacing: 0.08em; }
.bubble--views  { top: 16%; left: 0; }
.bubble--sales  { top: 50%; right: 0; }
.bubble--roi    { bottom: 0; right: 4%; max-width: 17rem; }
.bubble--google { top: 0; left: 30%; padding: 0.6rem 0.95rem; flex-direction: row; align-items: baseline; gap: 0.5rem; }
.bubble--google strong { font-size: 1.125rem; }

.js .chapter .bubble {
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out);
}
.js .chapter.is-active .bubble { opacity: 1; transform: none; }
.js .chapter.is-active .bubble--google { transition-delay: 350ms; }
.js .chapter.is-active .bubble--views  { transition-delay: 450ms; }
.js .chapter.is-active .bubble--sales  { transition-delay: 550ms; }
.js .chapter.is-active .bubble--roi    { transition-delay: 650ms; }

/* Olnis : mise en page centrée, l'ordinateur au milieu, la mascotte sort de derrière */
.olnis-layout { display: flex; flex-direction: column; align-items: center; text-align: center; }
.olnis-head { max-width: 46rem; }
.olnis-head .chapter-kicker { justify-content: center; }
.media-olnis { width: min(100%, 760px); aspect-ratio: auto; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.olnis-device { position: relative; padding-top: 25%; }
.media-olnis .shot--screen { position: relative; z-index: 1; aspect-ratio: 1380 / 1050; box-shadow: 0 40px 80px -40px rgba(40, 36, 120, 0.55); }
.mascot {
  position: absolute;
  top: 0;
  right: 8%;
  width: 34%;
  z-index: 0;
}
.mascot img { width: 100%; }
.js .chapter .mascot {
  transform: translateY(60%);
  transition: transform 900ms cubic-bezier(0.34, 1.4, 0.64, 1) 400ms;
}
.js .chapter.is-active .mascot { transform: translateY(8%); }
.bubble--hds   { top: 34%; left: -12%; }
.bubble--trial { bottom: 10%; right: -12%; }

.features--row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
  margin: 0 0 2.5rem;
  text-align: left;
}
.features--row li { border-bottom: 0 !important; padding-top: 1.25rem; align-content: start; }

/* Alb's Events : visuels à gauche, étapes à droite */
.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.media-events { aspect-ratio: 1 / 0.82; }
.media-events .shot--config { top: 8%; left: 10%; width: 78%; aspect-ratio: 1380 / 1050; --r: -1deg; z-index: 2; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95); }
.media-events .shot--e1 { top: 0; left: 0; width: 26%; aspect-ratio: 3 / 4; --r: -7deg; z-index: 1; }
.media-events .shot--e2 { top: 2%; right: 0; width: 24%; aspect-ratio: 3 / 4; --r: 6deg; z-index: 1; }
.media-events .shot--catalogue { bottom: 0; right: 6%; width: 26%; aspect-ratio: 4 / 5; --r: 5deg; z-index: 3; box-shadow: 0 0 0 5px #1d1d1d, 0 30px 60px -25px rgba(0, 0, 0, 0.9); }

.chapter--events .chapter-title { font-size: clamp(2.5rem, 4vw, 3.75rem); }
.steps { list-style: none; counter-reset: step; margin: 0 0 2.25rem; padding: 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--story-line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #f5a524;
}
.steps strong { font-weight: 600; font-size: 1.0625rem; }
.steps span { color: var(--story-muted); font-size: 0.9688rem; line-height: 1.5; }

/* Profondeur au scroll : chaque élément glisse à sa propre vitesse (valeur posée en JS) */
[data-depth] { translate: 0 var(--py, 0px); will-change: translate; }

/* Entrée des visuels quand le chapitre arrive à l'écran */
.js .chapter .shot {
  opacity: 0;
  transform: translateY(48px) rotate(0deg) scale(0.96);
  transition: opacity 900ms var(--ease-out), transform 1100ms var(--ease-out);
}
.js .chapter .shot:nth-child(2) { transition-delay: 120ms; }
.js .chapter .shot:nth-child(3) { transition-delay: 220ms; }
.js .chapter .shot:nth-child(4) { transition-delay: 320ms; }
.js .chapter.is-active .shot { opacity: 1; transform: rotate(var(--r, 0deg)); }

/* ---------- Recrutement ---------- */
.jobs { padding-block: clamp(6rem, 12vw, 10rem); }
.jobs-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.jobs-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.jobs .section-title { font-size: clamp(2.5rem, 5vw, 4.25rem); }
.jobs-list { list-style: none; margin: 2rem 0 1.5rem; padding: 0; }
.jobs-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  font-weight: 500;
}
.jobs-note { margin: 0; color: var(--muted); font-size: 0.9375rem; max-width: 44ch; }

.field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2311151d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.95rem center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 2.5rem 0.8rem 0.95rem;
  appearance: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 21, 29, 0.08); }
.field-label { font-size: 0.9063rem; font-weight: 500; }

.file-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 1rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  text-align: center;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.file-drop.is-over,
.file-drop:hover { border-color: var(--ink); }
.file-drop.has-file { border-style: solid; border-color: var(--ink); }
.file-drop-text { font-size: 0.9688rem; overflow-wrap: anywhere; }
.file-drop-text strong { font-weight: 600; }
.file-drop-change { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-left: 0.4rem; }
.file-drop-hint { font-size: 0.875rem; color: var(--muted); }
.file-drop[aria-invalid="true"], .file-drop:has([aria-invalid="true"]) { border-color: var(--accent-ink); }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.7rem;
  align-items: start;
  font-size: 0.9063rem;
  color: var(--muted);
  cursor: pointer;
}
.consent input { width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; accent-color: var(--ink); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent .field-error { grid-column: 2; }

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  color: var(--on-dark);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
.contact-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.75rem, 5.6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.contact-sub { color: var(--on-dark-muted); margin: 0 0 2rem; font-size: 1.125rem; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}
.contact .form-card { background: var(--bg); color: var(--ink); }
.contact-details dt { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.35rem; }
.contact-details dd { font-size: 1.0625rem; font-weight: 500; line-height: 1.45; }
.contact-details a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
.contact .contact-details dt { color: var(--on-dark-muted); }
.contact .contact-details a { text-decoration-color: var(--line-dark); }

.btn-light { background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: #e7e8ea; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}
.contact + .site-footer,
main:has(> .contact:last-child) + .site-footer { padding-top: 0; }
.contact + .site-footer .footer-grid,
main:has(> .contact:last-child) + .site-footer .footer-grid {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-sub { color: var(--on-dark-muted); border-left-color: var(--line-dark); }
.footer-brand p {
  margin: 1.25rem 0 0;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  max-width: 30ch;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9375rem;
}
.footer-label {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}
.footer-col a, .footer-col span { color: var(--on-dark); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
}
.footer-bottom {
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}
.footer-bottom > * {
  display: block;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}

/* ---------- Page contact ---------- */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}
.page-grid .section-title { font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
.page-grid .section-sub { margin-bottom: 3rem; }
.page-grid .contact-details { grid-template-columns: 1fr 1fr; }

.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.9063rem;
  font-weight: 500;
  color: var(--ink);
}
.field .optional { color: var(--muted); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #8a8f98; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 21, 29, 0.08);
}
.field [aria-invalid="true"] { border-color: var(--accent-ink); }
.field-error { margin: 0; font-size: 0.875rem; color: var(--accent-ink); }
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.form-submit { align-self: flex-start; margin-top: 0.25rem; }
.form-submit[disabled] { opacity: 0.6; cursor: progress; }
.form-note { margin: 0; font-size: 0.875rem; color: var(--muted); }

.botcheck {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-result { display: none; font-size: 0.9375rem; }
.form-result:not(:empty) {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
}
.form-result.is-success { color: #14532d; background: #ecf6ef; border-color: rgba(20, 83, 45, 0.15); }
.form-result.is-error { color: var(--accent-ink); background: #fcefee; border-color: rgba(184, 40, 31, 0.2); }

/* ---------- Carrières ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.careers-kicker { margin: 0 0 1rem; font-size: 0.9375rem; font-weight: 600; color: var(--accent-ink); }
.careers-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(4rem, 8vw, 6rem); }
.careers-hero .hero-title { font-size: clamp(2.75rem, 5.4vw, 5rem); }
.careers-lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 42ch; margin: -1rem 0 2.25rem; }
.careers-note { margin: 2rem 0 0; font-size: 0.9375rem; color: var(--muted); max-width: 60ch; }

.careers-why { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.why-item { padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.why-item h3 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.why-item p { margin: 0; color: var(--muted); }

.offers-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
.offers-count { margin: 0; color: var(--muted); }
.offers-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.5rem 0 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.9375rem; font-weight: 500; color: var(--ink);
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-active):hover { border-color: var(--ink); } }
.offers-select {
  min-height: 40px; font: inherit; font-size: 0.9375rem; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 2.5rem 0 1rem; appearance: none;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2311151d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
}

.offers-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.offer-row { border-bottom: 1px solid var(--line-strong); }
.offer-link { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0.25rem; }
.offer-main { display: grid; gap: 0.35rem; }
.offer-company { font-size: 0.875rem; font-weight: 600; }
.company--agency { color: #c2410c; }
.company--olnis { color: #4741ce; }
.company--events { color: #8a6100; }
.company--group { color: var(--accent-ink); }
.offer-name { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.375rem, 2.4vw, 1.875rem); letter-spacing: -0.025em; line-height: 1.1; }
.offer-tags { list-style: none; margin: 0.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.offer-tags li { font-size: 0.8125rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--surface); color: var(--ink-soft); }
.offer-arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color 200ms ease, color 200ms ease, transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .offer-link:hover .offer-arrow { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateX(4px); }
  .offer-link:hover .offer-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
}
.offers-empty { padding: 2rem 0.25rem; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.offers-empty strong { color: var(--ink); }

.offer-skeleton { height: 96px; border-bottom: 1px solid var(--line-strong); background: linear-gradient(90deg, var(--surface) 0%, #fafafa 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; list-style: none; border-radius: 4px; margin: 6px 0; }
.offer-skeleton--title { height: 72px; max-width: 520px; margin-bottom: 1.5rem; }
@keyframes shimmer { to { background-position: -200% 0; } }

.spontaneous {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--radius); background: var(--ink); color: var(--on-dark);
}
.spontaneous h3 { margin: 0 0 0.4rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; }
.spontaneous p { margin: 0; color: var(--on-dark-muted); max-width: 52ch; }

.careers-process { background: var(--surface); }
.process { list-style: none; counter-reset: p; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.process li { counter-increment: p; display: grid; gap: 0.4rem; padding: 1.5rem; border-radius: var(--radius); background: var(--bg); }
.process li::before { content: counter(p, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 1.75rem; color: var(--accent); line-height: 1; margin-bottom: 0.5rem; }
.process strong { font-size: 1.0625rem; }
.process span { color: var(--muted); font-size: 0.9688rem; }

/* Fiche offre */
.offer { padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)); padding-bottom: clamp(4rem, 8vw, 7rem); }
.offer-back { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-size: 0.9375rem; color: var(--muted); margin-bottom: 1rem; }
@media (hover: hover) and (pointer: fine) { .offer-back:hover { color: var(--ink); } }
.offer-header { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); margin-bottom: clamp(2rem, 4vw, 3rem); }
.offer-title { margin: 0 0 1.25rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.offer-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.offer-meta li { padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--surface); font-size: 0.9375rem; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.offer-summary { font-size: clamp(1.1875rem, 1.7vw, 1.375rem); line-height: 1.5; margin: 0 0 2.5rem; text-wrap: pretty; }
.offer-content section { padding-block: 0; margin-bottom: 2.5rem; }
.offer-content h2 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin: 0 0 1rem; }
.offer-content ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; }
.offer-content li { position: relative; padding-left: 1.25rem; color: var(--ink-soft); }
.offer-content li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.offer-content p { color: var(--ink-soft); margin: 0; max-width: 62ch; }
.offer-content .offer-summary { color: var(--ink); margin-bottom: 3rem; }
.offer-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.apply-card { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); display: grid; gap: 0.75rem; }
.apply-card-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.02em; }
.apply-card-meta { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.9375rem; }
.apply-btn { width: 100%; }
.share-btn { justify-content: center; color: var(--muted); font-size: 0.9375rem; }
.offer-error { padding: 2rem 0; }

/* Postuler */
.apply { padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)); padding-bottom: clamp(4rem, 8vw, 7rem); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.apply-intro { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.apply-title { margin: 0 0 1.25rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.apply-points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.apply-points li { position: relative; padding-left: 1.75rem; font-weight: 500; }
.apply-points li::before { content: ''; position: absolute; left: 0; top: 0.2em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.form-section { display: grid; gap: 1.25rem; margin: 0 0 0.5rem; }
.form-section-title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; margin: 0; }
.form-section + .form-section { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.file-drop--small { padding: 1rem; }
.apply-success { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; outline: none; }
.apply-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 50%; background: #e7f5ec; color: #157a3c; }
.apply-success h2 { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; margin: 0 0 0.75rem; }
.apply-success p { margin: 0 auto 1rem; max-width: 46ch; color: var(--ink-soft); }
.apply-ref { font-size: 1.0625rem; }
.apply-ref strong { display: inline-block; margin-left: 0.35rem; padding: 0.25rem 0.7rem; border-radius: var(--radius-sm); background: var(--surface); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.apply-success .careers-note { margin: 1.5rem auto; }

/* Accueil : aperçu des offres */
.home-jobs-list { margin: 2rem 0 1.5rem; }
.home-jobs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 1.75rem; }

@media (max-width: 900px) {
  .why-grid, .offer-grid, .apply-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .offer-aside, .apply-intro { position: static; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .offers-filters { align-items: stretch; flex-direction: column; }
  .offers-select { width: 100%; }
  .spontaneous .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .offer-skeleton { animation: none; } }

/* ---------- Mentions légales ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)); }
.legal-inner { max-width: 820px; }
.legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 3rem 0 1rem;
}
.legal p { color: var(--ink-soft); margin: 0 0 1rem; max-width: 70ch; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-list { display: grid; gap: 0; margin: 1.5rem 0 0; }
.legal-list > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}
.legal-list dt { color: var(--muted); }
.legal-list dd { font-weight: 500; }
@media (max-width: 600px) { .legal-list > div { grid-template-columns: 1fr; gap: 0.2rem; } }

.footer-legal { margin-left: 1.25rem; color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages d'erreur ---------- */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}
.error-code {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.error-page .section-sub { margin-bottom: 2.25rem; }

/* ---------- Apparition au scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-revealed { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-stack { max-width: 520px; width: 100%; margin-inline: auto; }

  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
  }
  .nav-links a {
    font-size: 1.125rem;
    color: var(--ink);
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-client { display: block; border-bottom: 0; color: var(--muted); }


  .contact-grid,
  .page-grid { grid-template-columns: 1fr; }

  .metier { grid-template-columns: minmax(0, 1fr) auto; }
  .metier-info { grid-column: 1 / -1; grid-row: 2; }
  .metier-arrow { grid-row: 1; grid-column: 2; }

  .chapter { min-height: 0; padding-block: 6rem; }
  .events-layout { grid-template-columns: 1fr; }
  .features--row { grid-template-columns: 1fr 1fr; }
  .bubble--hds { left: -2%; }
  .bubble--trial { right: -2%; }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter-grid--reverse .chapter-copy { order: 0; }
  .chapter-media { max-width: 560px; width: 100%; }
  .jobs-grid { grid-template-columns: 1fr; }
  .jobs-intro { position: static; }

}

@media (max-width: 600px) {


  .contact-details,
  .page-grid .contact-details { grid-template-columns: 1fr; gap: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .media-agency, .media-events { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .media-agency .shot, .media-events .shot { position: relative; inset: auto; width: auto; --r: 0deg; }
  .chapter-media .bubble { position: static; max-width: none; grid-column: 1 / -1; }
  .chapter-media .bubble strong { white-space: normal; }
  [data-depth] { translate: none; }
  .media-agency .shot--main,
  .media-events .shot--config,
  .media-events .shot--catalogue { grid-column: 1 / -1; }
  .media-events .shot--config { order: -1; }
  .media-events .shot--catalogue { aspect-ratio: 4 / 3; }
  .media-olnis { display: grid; gap: 0.75rem; }
  .features--row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .stack-card { animation: none; }
  .js .chapter .shot { opacity: 1; transform: rotate(var(--r, 0deg)); transition: none; }
  .js .chapter .bubble { opacity: 1; transform: none; transition: none; }
  .js .chapter .mascot { transform: translateY(8%); transition: none; }
  [data-depth] { translate: none; }
  .story { transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
