/* ═══════════════════════════════════════════════════
   OXO Architectes — Design System
   Minimaliste blanc, typographie aérée, images grandes
   ═══════════════════════════════════════════════════ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
}

.logo {
  display: block;
  direction: ltr;       /* Brand always reads O-X-O left-to-right, even in RTL */
  unicode-bidi: isolate;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}

.logo-mark {
  position: relative;
  display: block;
  width: 160px;
  aspect-ratio: 3 / 1;
}

.logo-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.logo-mark .logo-o {
  transform-origin: 36% 32%;
  transition: transform 0.3s ease;
}

.logo:hover .logo-mark .logo-o {
  transform: translateX(4px) scale(1.02);
}

/* ── Navigation ─────────────────────────────────── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-grow: 1;
  justify-content: flex-end;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #666;
  transition: color 0.2s;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  color: #000;
}

.nav-search {
  position: relative;
}

.nav-search input {
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 4px 0;
  outline: none;
  width: 120px;
  transition: width 0.3s, border-color 0.3s;
  background: transparent;
  color: #333;
}

.nav-search input:focus {
  width: 180px;
  border-color: #000;
}

.nav-search input::placeholder {
  color: #aaa;
}

/* ── Language switcher ─────────────────────────── */
.lang-switch {
  position: relative;
  font-family: 'Roboto', sans-serif;
}

.lang-current {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
  min-width: 42px;
  flex-shrink: 0;
  display: block;
}

.lang-current:hover,
.lang-switch.open .lang-current {
  color: #000;
  border-color: #000;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}

.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu li { margin: 0; }

.lang-menu button {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  text-align: start;
  cursor: pointer;
  font-family: inherit;
  color: #555;
  transition: background 0.15s, color 0.15s;
}

.lang-menu button:hover {
  background: #f7f7f7;
  color: #000;
}

.lang-menu button.active {
  color: #000;
  font-weight: 500;
}

.lang-menu button span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  min-width: 28px;
}

.lang-menu button.active span {
  color: #000;
}

.lang-menu button em {
  font-style: normal;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
}

/* ── RTL support (Arabic) ──────────────────────── */
html[dir="rtl"] body {
  font-family: 'Noto Sans Arabic', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

html[dir="rtl"] .proj-text-quote,
html[dir="rtl"] .proj-title h3,
html[dir="rtl"] .proj-title-sticky h3,
html[dir="rtl"] .hero-intro-reveal h3,
html[dir="rtl"] .project-text h1,
html[dir="rtl"] .page-content h1,
html[dir="rtl"] .page-content h2,
html[dir="rtl"] .article-item h3,
html[dir="rtl"] .contact-info h1 {
  font-family: 'Noto Sans Arabic', 'Zilla Slab', serif;
  font-weight: 300;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
  text-align: right;
}

html[dir="rtl"] .proj-title,
html[dir="rtl"] .hero-intro-reveal {
  text-align: right;
}

html[dir="rtl"] .proj-major.reverse {
  direction: ltr; /* keep grid reversal working */
}

html[dir="rtl"] .proj-title-sticky {
  align-items: flex-end;
}

/* ── Chinese font — slightly taller body for CJK ── */
html[data-lang="zh"] body {
  font-family: 'Noto Sans SC', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
}

html[data-lang="zh"] .proj-text-quote,
html[data-lang="zh"] .proj-title h3,
html[data-lang="zh"] .proj-title-sticky h3,
html[data-lang="zh"] .hero-intro-reveal h3,
html[data-lang="zh"] .project-text h1,
html[data-lang="zh"] .page-content h1,
html[data-lang="zh"] .page-content h2,
html[data-lang="zh"] .article-item h3,
html[data-lang="zh"] .contact-info h1 {
  font-family: 'Noto Serif SC', 'Noto Sans SC', 'Zilla Slab', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ── Mobile menu toggle ─────────────────────────── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Main content ───────────────────────────────── */
.main-content {
  margin-top: 80px;
}

/* ═══════════════════════════════════════════════════
   Editorial Parallax v2 — 3-column multi-speed
   Col 1: fixed | Col 2: half-speed | Col 3: full scroll
   Fondus jour/nuit, titres sticky, curated order
   ═══════════════════════════════════════════════════ */

.projects-editorial { }

/* ── HERO INTRO — OXO logo → axonométrie morph ─── */
.proj-hero-intro {
  --intro: 0;
  display: block;
  position: relative;
  height: 220vh;          /* scroll room for the morph */
  margin-bottom: 3px;
}

.hero-intro-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

/* Layer 1 — the revealing axonometry */
.hero-intro-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: calc(var(--intro) * 1.15);
  transform: scale(calc(1.12 - var(--intro) * 0.12));
  filter: blur(calc((1 - var(--intro)) * 8px));
  transition: opacity 0.2s linear, transform 0.2s linear, filter 0.2s linear;
  will-change: opacity, transform, filter;
}

/* Layer 2 — soft vignette that deepens as axo takes over */
.hero-intro-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0, calc(var(--intro) * 0.12)) 100%),
    linear-gradient(180deg, rgba(255,255,255, calc(1 - var(--intro))) 0%, rgba(255,255,255, calc((1 - var(--intro)) * 0.6)) 100%);
  transition: background 0.2s linear;
}

/* Layer 3 — the OXO logo, centered, fades + scales down */
.hero-intro-logo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: calc(1 - var(--intro) * 1.15);
  transform:
    translateY(calc(var(--intro) * -36px))
    scale(calc(1 - var(--intro) * 0.22));
  letter-spacing: calc(0.32em + var(--intro) * 0.18em);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out, letter-spacing 0.25s ease-out;
  will-change: opacity, transform;
  pointer-events: none;
}

.hero-intro-logo-mark {
  position: relative;
  width: min(72vw, 780px);
  aspect-ratio: 3 / 1;
  filter: drop-shadow(0 2px 20px rgba(0,0,0,0.04));
}

.hero-intro-logo-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-intro-logo-mark .logo-o {
  transform-origin: 36% 32%;
  animation: heroOBreath 4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

@keyframes heroOBreath {
  0%, 100% { transform: translateX(0) scale(1); }
  50%      { transform: translateX(4px) scale(1.02); }
}

.hero-intro-tagline {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: #111;
  transform: translateY(calc(var(--intro) * -8px));
}

/* Layer 4 — the project label fading in once axo dominates */
.hero-intro-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 40px 48px;
  background: linear-gradient(to top, rgba(0,0,0, calc(var(--intro) * 0.55)) 0%, transparent 100%);
  opacity: calc(max(0, var(--intro) * 1.8 - 0.8));
  transform: translateY(calc((1 - var(--intro)) * 24px));
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  z-index: 4;
}

.hero-intro-reveal h3 {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.1;
}

.hero-intro-reveal .lieu {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* Layer 5 — animated scroll hint visible only at the very start */
.hero-intro-scrollhint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: rgba(0,0,0,0.18);
  overflow: hidden;
  opacity: calc(1 - var(--intro) * 3);
  pointer-events: none;
}

.hero-intro-scrollhint span {
  position: absolute;
  top: -24px;
  left: 0;
  width: 1px;
  height: 24px;
  background: #111;
  animation: heroScroll 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes heroScroll {
  0%   { top: -24px; opacity: 0; }
  30%  { opacity: 1; }
  100% { top: 48px;  opacity: 0; }
}

/* ── WIDE L/R — 2/3 image sticky parallax + 1/3 scroll small ─── */
.proj-wide {
  display: grid;
  gap: 3px;
  margin-bottom: 3px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.proj-wide-L { grid-template-columns: 2fr 1fr; }
.proj-wide-R { grid-template-columns: 1fr 2fr; }

/* Slow scroll variant — vides entre les images pour ralentir,
   sans zoomer / cropper. Les images gardent leur aspect naturel. */
.proj-wide.is-slow .proj-col-scroll.small {
  background: #fff;
}
.proj-wide.is-slow .proj-col-scroll.small .scroll-img {
  margin-bottom: 60vh;
}
.proj-wide.is-slow .proj-col-scroll.small .scroll-img:last-child {
  margin-bottom: 0;
  flex: 0 0 auto;
}
.proj-wide.is-slow .proj-col-scroll.small .scroll-img:last-child img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.proj-wide .proj-col-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  align-self: start;
}
.proj-wide .proj-col-hero img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  position: relative;
  top: -20%;
  will-change: transform;
}

/* Contain variant — image dézoomée, full aspect preserved, blurred backdrop fills edges (no white) */
.proj-wide .proj-col-hero.contain {
  overflow: hidden;
}
.proj-wide .proj-col-hero.contain .hero-backdrop {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  object-fit: cover !important;
  filter: blur(40px) saturate(1.15) brightness(0.85);
  transform: scale(1.12);
  z-index: 0;
}
.proj-wide .proj-col-hero.contain .hero-main {
  position: relative !important;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  object-fit: contain !important;
  transform: none !important;
}
.proj-wide .proj-col-hero.contain .proj-hero-overlay {
  z-index: 2;
}
.proj-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px 52px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  color: #fff;
  z-index: 5;
}
.proj-hero-overlay h3 {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 10px;
}
.proj-hero-overlay .lieu {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.proj-hero-overlay .nature {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ── Small scroll column — images at natural aspect, full width, no white bands ─── */
.proj-col-scroll.small {
  padding: 0;
  gap: 1px;                      /* un simple trait entre les images */
  min-height: 100vh;             /* jamais plus court que la col fixe */
}
.proj-col-scroll.small .scroll-img {
  height: auto;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background: transparent;
}
.proj-col-scroll.small .scroll-img img {
  width: 100%;
  height: auto;
  object-fit: cover;   /* no white bands — fill width, natural height */
  display: block;
}
/* Dernière image → s'étire jusqu'au bord bas de la col (remplit tout espace restant) */
.proj-col-scroll.small .scroll-img:last-child {
  flex: 1 0 auto;
  min-height: 0;
}
.proj-col-scroll.small .scroll-img:last-child img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}
.proj-col-scroll.small .scroll-img:hover img {
  transform: none;
}

/* ── SCROLL L + FONDU R — left scroll + right sticky crossfade pair ─── */
.proj-scroll-fondu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 3px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.proj-scroll-fondu .fondu-stack-col-R {
  position: relative;
}
.proj-scroll-fondu .fondu-stack-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
}
.proj-scroll-fondu .fondu-stack-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}
/* Initial state handled by JS (initFonduStack runs onScroll once on init) */

/* ── VIDEO SCROLL — autoplay video between timestamps in sticky col ─── */
.proj-video-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 3px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.proj-video-col {
  position: relative;
}
.proj-video-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.proj-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
iframe.proj-video-el {
  /* Scale up to hide YouTube's UI chrome (top bar, watermark) */
  transform: scale(1.35);
  transform-origin: center;
}

/* ── FONDU TITLE L — title sticky left + full-height image right ─── */
.proj-fondu.proj-fondu-title {
  display: block !important;
  height: 320vh !important;
  overflow: visible !important;
  text-decoration: none;
  color: inherit;
}
.proj-fondu-title .fondu-title-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  overflow: hidden;
}
.proj-fondu-title .proj-title-sticky {
  position: relative !important;
  top: auto !important;
  height: 100vh !important;
  align-self: stretch;
}
.proj-fondu-title .fondu-title-image {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
}
.proj-fondu-title .fondu-title-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}
.proj-fondu-title .fondu-over {
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ── FONDU SLOW — taller container for slower crossfade ─── */
.proj-fondu-slow {
  height: 220vh !important;
  overflow: visible !important;
}
.proj-fondu-slow .fondu-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* fondu-fill modifier — forces both images to the exact same rendered box
   (pixel-perfect alignment when source crops match but aspect ratios differ slightly) */
.proj-fondu.fondu-fill .fondu-base,
.proj-fondu.fondu-fill .fondu-over {
  object-fit: fill !important;
}

/* ── FONDU STACK — left sticky + right column image crossfade ─── */
.proj-fondu-stack .fondu-stack-col {
  position: relative;
}
.proj-fondu-stack .fondu-stack-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.proj-fondu-stack .fondu-stack-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s linear;
  will-change: opacity;
}
.proj-fondu-stack .fondu-stack-layer[data-idx="0"] { opacity: 1; }
/* Container tall enough to give room for crossfades (N × 70vh) */
.proj-fondu-stack .fondu-stack-col {
  min-height: 280vh;
}

/* ── FULL WIDE — aspect-preserved (no crop) ─── */
.proj-full-wide {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 3px;
  text-decoration: none;
  cursor: pointer;
  background: #0a0a0a;
  line-height: 0;
}

.proj-full-wide img {
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  transition: transform 0.8s ease;
  margin: 0 auto;
}

.proj-full-wide:hover img {
  transform: scale(1.01);
}

.proj-full-wide .proj-title {
  line-height: 1.6;
}

/* ── FULL WIDTH — cinematic single image ──────── */
.proj-full {
  display: block;
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 3px;
  text-decoration: none;
  cursor: pointer;
}

.proj-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.proj-full:hover img {
  transform: scale(1.02);
}

/* ── FONDU — crossfade jour/nuit ─────────────── */
.proj-fondu {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 3px;
}

.proj-fondu .fondu-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.proj-fondu .fondu-over {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  will-change: opacity;
}

.proj-fondu .proj-title {
  z-index: 5;
}

/* ── FONDU SINGLE — same image, CSS filter jour → nuit ───── */
.proj-fondu-single {
  --night: 0;
  display: block;
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-bottom: 3px;
  text-decoration: none;
  cursor: pointer;
  background: #000;
}

.proj-fondu-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter:
    brightness(calc(1 - var(--night) * 0.62))
    saturate(calc(1 - var(--night) * 0.45))
    contrast(calc(1 + var(--night) * 0.12))
    hue-rotate(calc(var(--night) * 215deg));
  transition: filter 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s ease;
  will-change: filter;
}

.proj-fondu-single::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 220, 150, calc(var(--night) * 0.18)) 0%, transparent 55%),
              linear-gradient(180deg, rgba(10, 20, 45, calc(var(--night) * 0.28)) 0%, rgba(2, 6, 18, calc(var(--night) * 0.45)) 100%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.35s ease-out;
}

.proj-fondu-single .proj-title {
  z-index: 5;
}

.proj-fondu-single:hover img {
  transform: scale(1.015);
}

/* ── STATICSCROLL — every image is sticky 100vh; each new one rises from below covering the previous ── */
.proj-staticscroll {
  display: block;
  position: relative;
  background: #fff;
}

.proj-staticscroll .sc-slide {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  margin-bottom: 60vh; /* hold time : image fixée au top pendant 60vh de scroll avant que la suivante remonte par-dessus */
  overflow: hidden;
  background: #fff;
}

.proj-staticscroll .sc-slide:last-child {
  margin-bottom: 0;
}

.proj-staticscroll .sc-slide > .sc-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proj-staticscroll .sc-slide.contain > .sc-img {
  object-fit: contain;
}

.proj-staticscroll .sc-slide .sc-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(40px) saturate(1.1) brightness(0.75);
  transform: scale(1.15);
  z-index: 0;
}

.proj-staticscroll .proj-hero-overlay {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 4;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

/* ── TRIO — 3 images, same project ────────────────────── */
.proj-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 3px;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 70vh;
}

.proj-trio .trio-cell {
  overflow: hidden;
  position: relative;
}

.proj-trio .trio-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.proj-trio:hover .trio-cell img {
  transform: scale(1.02);
}

.proj-trio .proj-title {
  padding: 28px 32px;
}

/* ── TEXT CHAPTER — pure text rhythm block ────────────── */
.proj-text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 120px 8vw;
  background: #fff;
  color: #111;
  margin-bottom: 3px;
}

.proj-text.dark {
  background: #0b0b0b;
  color: #fff;
}

.proj-text-inner {
  max-width: 900px;
  text-align: center;
}

.proj-text-eyebrow {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 40px;
}

.proj-text.dark .proj-text-eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.proj-text-quote {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: inherit;
  font-style: normal;
}

.proj-text-author {
  display: block;
  margin-top: 36px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #888;
  font-style: normal;
}

.proj-text.dark .proj-text-author {
  color: rgba(255, 255, 255, 0.55);
}

/* ── INDEX LIST — big typography names + sticky hover image ──── */
.proj-index-list {
  display: block;
  background: #fff;
  color: #0b0b0b;
  padding: 12vh 0 16vh;
  margin-bottom: 3px;
}
.index-list-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 6vw;
}
.index-list-eyebrow {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6vh;
}
.index-list-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 38%);
  gap: 6vw;
  align-items: start;
}
.index-list-rows {
  display: flex;
  flex-direction: column;
}
.index-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  column-gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: color 320ms ease, opacity 320ms ease, transform 420ms cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity, color;
}
.index-row:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.index-num {
  font-family: 'Roboto', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #a0a0a0;
  font-variant-numeric: tabular-nums;
}
.index-name {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 4.4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #0b0b0b;
  transition: color 320ms ease, transform 420ms cubic-bezier(.22,.61,.36,1);
}
.index-lieu {
  font-family: 'Roboto', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #999;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 28ch;
}
/* Hover / active state */
.proj-index-list.has-hover .index-row {
  opacity: 0.35;
}
.proj-index-list.has-hover .index-row.is-active,
.index-row:hover {
  opacity: 1;
}
.index-row:hover .index-name,
.index-row.is-active .index-name {
  transform: translateX(10px);
}
/* Sticky preview panel */
.index-list-preview {
  position: sticky;
  top: 14vh;
  align-self: start;
  pointer-events: none;
}
.index-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f4f4f4;
  overflow: hidden;
  border-radius: 2px;
}
.index-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 420ms cubic-bezier(.22,.61,.36,1),
              transform 640ms cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.index-preview-img.is-loaded {
  opacity: 1;
  transform: scale(1);
}
/* Mobile — hide preview column, simple big list */
@media (max-width: 820px) {
  .index-list-grid {
    grid-template-columns: 1fr;
  }
  .index-list-preview {
    display: none;
  }
  .index-row {
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    row-gap: 6px;
    column-gap: 16px;
    padding: 18px 0;
  }
  .index-lieu {
    grid-column: 2;
    text-align: left;
    max-width: 100%;
  }
}

/* ── SPLIT-CHAR reveal (text chapter blocks) ───────── */
.split-word {
  display: inline-block;
  white-space: nowrap;
}
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
  transition:
    opacity 520ms cubic-bezier(.22,.61,.36,1),
    transform 620ms cubic-bezier(.22,.61,.36,1),
    filter 520ms cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--i, 0) * 18ms);
  will-change: opacity, transform, filter;
}
[data-split-char].is-visible .split-char {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .split-char {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ── FADE-UP reveal (bloc entrant viewport) ─────── */
[data-fade-up] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 700ms cubic-bezier(.22,.61,.36,1),
    transform 700ms cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-fade-up].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-fade-up] { opacity: 1; transform: none; transition: none; }
}

/* ── ICONIC: 3-col parallax box ─────────────────── */
.proj-iconic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  margin-bottom: 3px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Col 1: fixed hero — stays while everything scrolls */
.proj-col-fixed {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  align-self: start;
}

.proj-col-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contain variant — image fits fully inside 100vh frame, blurred same-image backdrop fills sides */
.proj-col-fixed.contain {
  position: sticky;
  background: #0b0b0b;
}
.proj-col-fixed.contain .hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(40px) saturate(1.1) brightness(0.75);
  transform: scale(1.15);
  z-index: 0;
}
.proj-col-fixed.contain .fixed-main {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

/* Fondu: second image overlaid for crossfade */
.proj-col-fixed .fondu-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.proj-col-fixed .fondu-layer img {
  width: 100%; height: 100%; object-fit: cover;
}
.proj-col-fixed.fondu-active .fondu-layer {
  opacity: 1;
}

/* Col 2: half-speed — scrolls at 50% speed via JS transform */
.proj-col-slow {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  align-self: start;
}

.proj-col-slow img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  position: relative;
  top: -20%;
  will-change: transform;
}

/* Col 3: full-speed scroll — images stack vertically */
.proj-col-scroll {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.proj-col-scroll .scroll-img {
  height: 100vh;
  overflow: hidden;
  flex-shrink: 0;
}

.proj-col-scroll .scroll-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.proj-col-scroll .scroll-img:hover img {
  transform: scale(1.02);
}

/* Scroll image contain variant — fit fully, blurred backdrop fills sides */
.proj-col-scroll .scroll-img.contain {
  position: relative;
  background: #0b0b0b;
}
.proj-col-scroll .scroll-img.contain .scroll-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(40px) saturate(1.1) brightness(0.75);
  transform: scale(1.15);
  z-index: 0;
}
.proj-col-scroll .scroll-img.contain > img:not(.scroll-backdrop) {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.proj-col-scroll .scroll-img.contain:hover > img:not(.scroll-backdrop) {
  transform: none;
}

/* ── MAJOR: 2-col sticky + scroll ───────────────── */
.proj-major {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 3px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.proj-major.reverse {
  direction: rtl;
}
.proj-major.reverse > * {
  direction: ltr;
}

.proj-major .proj-col-fixed {
  /* inherits sticky from above */
}

.proj-major .proj-col-scroll .scroll-img {
  height: 100vh;
}

/* ── MEDIUM: 2-col, shorter ─────────────────────── */
.proj-medium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 3px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.proj-medium.reverse {
  direction: rtl;
}
.proj-medium.reverse > * {
  direction: ltr;
}

.proj-medium .proj-col-fixed {
  height: 80vh;
}

.proj-medium .proj-col-scroll .scroll-img {
  height: 80vh;
}

/* ── MINI: single compact image (archival) ─────── */
.proj-mini {
  display: block;
  position: relative;
  height: 55vh;
  overflow: hidden;
  margin-bottom: 3px;
  text-decoration: none;
  cursor: pointer;
}

.proj-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.proj-mini:hover img {
  transform: scale(1.02);
}

/* ── MINOR: compact 3-col row ───────────────────── */
.proj-minor-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 3px;
}

.proj-minor {
  position: relative;
  overflow: hidden;
  height: 50vh;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.proj-minor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.proj-minor:hover img {
  transform: scale(1.03);
}

/* ── Title overlay ──────────────────────────────── */
.proj-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  z-index: 5;
}

.proj-title h3 {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: 2rem;
  color: #fff;
  line-height: 1.2;
}

.proj-title .lieu {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Sticky title — stays fixed while images scroll past */
.proj-title-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: #000;
  color: #fff;
  align-self: start;
}

.proj-title-sticky h3 {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: 2.8rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 8px;
}

.proj-title-sticky .lieu {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proj-title-sticky .nature {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* Minor title — appears on hover */
.proj-minor .proj-title {
  opacity: 0;
  transition: opacity 0.4s;
}
.proj-minor:hover .proj-title {
  opacity: 1;
}
.proj-minor .proj-title h3 {
  font-size: 1.2rem;
}

/* ── Counter ────────────────────────────────────── */
.project-counter {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  font-family: 'Roboto', sans-serif;
  mix-blend-mode: difference;
}

/* ── Project Detail ─────────────────────────────── */
.project-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  background: #f5f5f5;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.slider-dot.active {
  background: #fff;
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.slider-arrow {
  pointer-events: all;
  background: rgba(255,255,255,0.8);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  color: #333;
}

.slider-arrow:hover {
  background: #fff;
}

.project-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
}

.project-text h1 {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 24px;
}

.project-text .chapeau {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
}

.project-text .description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}

.project-meta {
  padding-top: 8px;
}

.project-meta dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
}

.project-meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  font-weight: 500;
}

.project-meta dd {
  font-size: 0.85rem;
  color: #333;
}

.project-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 24px;
}

.project-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  transition: color 0.2s;
}

.project-nav a:hover {
  color: #000;
}

/* ── Gallery (project images below main) ────────── */
.project-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s;
}

.project-gallery img:hover {
  opacity: 0.9;
}

/* ── Matrix scramble text effect — monochrome chic ─ */
.matrix-scrambling {
  font-family: 'Menlo', 'Consolas', 'Courier New', monospace !important;
  color: #b8b8b8 !important;
  text-shadow: 0 0 0.4px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.015em;
  transition: color 0.3s ease-out, text-shadow 0.3s ease-out, letter-spacing 0.3s ease-out;
  word-break: break-word;
  font-variant-ligatures: none;
}

.matrix-scrambling h1,
h1.matrix-scrambling {
  color: #1a1a1a !important;
  text-shadow: none;
}

/* ── Agence page ────────────────────────────────── */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}

/* Agence — élargir le conteneur pour accueillir la colonne parallax */
.page-content:has(.agence-nav) {
  max-width: 1240px;
}

/* Agence — layout 2 colonnes texte + images parallax */
.agence-section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;
  align-items: start;
}
/* Quand la colonne parallax ne contient qu'UNE image → la faire plus large */
#section-manal .agence-section-inner {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
}
.agence-body { min-width: 0; }
.agence-parallax {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}
.agence-parallax-item {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  will-change: transform;
  transition: transform 0.05s linear;
}
.agence-parallax-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 900px) {
  .agence-section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .agence-parallax {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
  }
  .agence-parallax-item {
    flex: 0 0 70%;
    transform: none !important;
  }
}

.page-content h1 {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: 2rem;
  color: #000;
  margin-bottom: 32px;
}

.page-content h2 {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: #000;
  margin-top: 48px;
  margin-bottom: 20px;
}

.page-content p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 16px;
}

.page-content .sidebar {
  font-size: 0.8rem;
  color: #999;
  margin-top: 32px;
  line-height: 1.6;
}

/* ── Agence sub-navigation ──────────────────────── */
.agence-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.agence-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.agence-nav a:hover,
.agence-nav a.active {
  color: #000;
  border-bottom-color: #000;
}

/* ── Actualites ─────────────────────────────────── */
.articles-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}

.article-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid #eee;
  align-items: start;
}

.article-item:first-child {
  padding-top: 0;
}

.article-item.no-cover {
  grid-template-columns: 1fr;
}

.article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 2px;
  position: relative;
  text-decoration: none;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.article-cover:hover img {
  transform: scale(1.03);
}

.article-body {
  min-width: 0;
}

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
}

.article-meta .article-source {
  color: #000;
  font-weight: 500;
}

.article-meta .article-date {
  color: #999;
}

.article-item h3 {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-item h3 a {
  color: inherit;
  text-decoration: none;
}

.article-item h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

.article-item .read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  border-bottom: 1px solid #ccc;
  transition: all 0.2s;
  text-decoration: none;
}

.article-item .read-more:hover {
  color: #000;
  border-color: #000;
}

@media (max-width: 720px) {
  .article-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .article-cover {
    aspect-ratio: 16 / 10;
  }
}

/* ── Contact ────────────────────────────────────── */
.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h1 {
  font-family: 'Zilla Slab', serif;
  font-weight: 300;
  font-size: 2rem;
  color: #000;
  margin-bottom: 32px;
}

.contact-info p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 8px;
}

.contact-info a {
  color: #000;
  border-bottom: 1px solid #ccc;
  transition: border-color 0.2s;
}

.contact-info a:hover {
  border-color: #000;
}

.contact-map {
  min-height: 400px;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  padding: 32px 40px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 0.75rem;
  color: #999;
}

.site-footer a {
  color: #999;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #000;
}

/* ── Lightbox ───────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ── Loading ────────────────────────────────────── */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: #ccc;
  font-size: 0.9rem;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .project-info {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-label h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 16px 20px;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 99;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-content {
    margin-top: 64px;
  }

  .proj-iconic {
    grid-template-columns: 1fr;
  }
  .proj-major, .proj-medium {
    grid-template-columns: 1fr;
  }
  .proj-major.reverse, .proj-medium.reverse {
    direction: ltr;
  }
  .proj-col-fixed, .proj-col-slow {
    position: relative;
    height: 60vh;
  }
  .proj-col-scroll .scroll-img {
    height: 60vh;
  }
  .proj-title-sticky {
    position: relative;
    height: auto;
    padding: 32px 20px;
  }
  .proj-title-sticky h3 { font-size: 1.8rem; }
  .proj-minor-row {
    grid-template-columns: 1fr;
  }
  .proj-minor {
    height: 50vh;
  }
  .proj-trio {
    grid-template-columns: 1fr;
    height: auto;
  }
  .proj-trio .trio-cell {
    height: 45vh;
  }
  .proj-text {
    padding: 80px 24px;
    min-height: 50vh;
  }
  .proj-fondu-single {
    height: 70vh;
  }
  .proj-wide-L, .proj-wide-R {
    grid-template-columns: 1fr;
  }
  .proj-wide .proj-col-hero {
    position: relative;
    height: 65vh;
  }
  .proj-col-scroll.small .scroll-img img {
    max-height: 55vh;
  }
  .proj-fondu-slow {
    height: 160vh !important;
  }
  .proj-fondu-stack .fondu-stack-col {
    min-height: 200vh;
  }

  .project-hero {
    height: 50vh;
  }

  .project-info {
    padding: 32px 20px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    padding: 0 20px 40px;
  }

  .page-content {
    padding: 32px 20px;
  }

  .contact-page {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 32px;
  }

  .articles-list {
    padding: 32px 20px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .project-card .overlay h3 {
    font-size: 1.1rem;
  }
}

/* ── View mode toggle — floating square button ────── */
.view-mode-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: #0b0b0b;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 220ms ease, transform 320ms cubic-bezier(.22,.61,.36,1), opacity 220ms ease;
  opacity: 0.85;
}
.view-mode-toggle:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.view-mode-toggle .vmt-icon {
  width: 16px;
  height: 16px;
  display: block;
  position: relative;
}
/* "Story" mode → show list icon (three horizontal lines) */
.view-mode-toggle .vmt-icon::before,
.view-mode-toggle .vmt-icon::after,
.view-mode-toggle .vmt-icon {
  background: transparent;
}
.view-mode-toggle .vmt-icon::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
  transition: opacity 200ms ease, transform 300ms ease;
}
/* "List" mode → show grid icon (2×2 squares) */
.view-mode-toggle.is-list .vmt-icon::before {
  opacity: 0;
}
.view-mode-toggle .vmt-icon::after {
  content: '';
  position: absolute;
  inset: 1px;
  background:
    linear-gradient(currentColor, currentColor) left top / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 6px 6px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 6px 6px no-repeat;
  opacity: 0;
  transition: opacity 200ms ease;
}
.view-mode-toggle.is-list .vmt-icon::after {
  opacity: 1;
}

@media (max-width: 480px) {
  .view-mode-toggle {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* In list mode, full-width padding-top to account for header */
html[data-view-mode="list"] .proj-index-list.index-list-full {
  padding-top: 18vh;
}

/* ── Scroll side nav — discreet scrollytelling shortcuts ──── */
.proj-anchor {
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}
.scroll-side-nav {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  max-height: 80vh;
  pointer-events: auto;
  /* sensor zone wider than visible content so hover feels easy */
  padding: 8px 20px 8px 0;
  /* mix-blend difference → texte toujours visible quel que soit le fond */
  mix-blend-mode: difference;
}
.scroll-side-nav .scroll-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.scroll-nav-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  /* blanc pur + mix-blend-mode:difference = gris foncé sur blanc, gris clair sur noir */
  color: #fff;
  transition: transform 320ms cubic-bezier(.22,.61,.36,1), letter-spacing 260ms ease;
  transform-origin: left center;
  white-space: nowrap;
  max-width: 220px;
}
/* Default compact state: name hidden, just tick + number */
.scroll-nav-name {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 280ms ease, transform 320ms cubic-bezier(.22,.61,.36,1);
  display: inline-block;
}
.scroll-nav-num {
  font-variant-numeric: tabular-nums;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  position: relative;
}
.scroll-nav-num::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: currentColor;
  transition: width 260ms ease, height 260ms ease;
}
/* Hover state — whole nav expands, names appear */
.scroll-side-nav.is-open .scroll-nav-name {
  opacity: 1;
  transform: translateX(0);
}
/* Hover on individual link → double size, transform-origin left = pas de reflow */
.scroll-nav-link:hover {
  transform: scale(2);
  letter-spacing: 0.06em;
}
.scroll-nav-link:hover .scroll-nav-num::before {
  width: 16px;
}
/* Active project — marqué sans grossir */
.scroll-nav-link.is-active .scroll-nav-num::before {
  width: 20px;
  height: 2px;
}
.scroll-nav-link.is-active .scroll-nav-name {
  opacity: 1;
  transform: translateX(0);
  font-weight: 500;
}
/* Hide side nav in list mode */
html[data-view-mode="list"] .scroll-side-nav {
  display: none;
}
/* Hide on tablet and mobile (below 1100px) */
@media (max-width: 1099px) {
  .scroll-side-nav {
    display: none;
  }
}
/* RTL — flip to right edge */
html[dir="rtl"] .scroll-side-nav {
  left: auto;
  right: 18px;
  padding: 8px 0 8px 16px;
}
html[dir="rtl"] .scroll-nav-num::before {
  left: auto;
  right: -14px;
}

/* ── SEO content : visible only to crawlers/screenreaders, hidden visually ─── */
.seo-content {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────
   MOBILE OPTIMIZATIONS — CLS, touch targets, readability
   ───────────────────────────────────────────────────────── */

/* Body text minimum 16px on mobile to avoid iOS auto-zoom */
@media (max-width: 768px) {
  html { font-size: 16px; }
  body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

  /* Fix touch targets on header */
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lang-current {
    min-width: 44px;
    min-height: 44px;
  }

  /* Index list bigger touch areas */
  .index-row {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  /* SEO content stays hidden on mobile too */
  .seo-content { display: none; }
}

/* Reserve space for images even when dimensions unknown — uses aspect-ratio fallback */
.proj-staticscroll img,
.proj-wide img,
.proj-iconic img,
.scroll-img img,
.proj-fondu img,
.proj-full-wide img {
  max-width: 100%;
  height: auto;
}

/* Strict layout images (sticky / cover) keep their constraints */
.sc-pin > .sc-img,
.sc-slide > .sc-img,
.proj-col-fixed .fixed-main,
.proj-col-hero img,
.scroll-img img {
  height: 100%;
}

/* Theme color also for dark mode crawlers */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light dark; }
}

/* Skip-link for keyboard users (screen-reader friendly) */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
}
.skip-to-content:focus {
  top: 0;
}

/* ════════════════════════════════════════════════
   PRESSE — grille éditoriale dynamique
   Image + texte côte à côte, rythme alterné.
   Image sticky pendant qu'on lit le texte = scroll lent et lisible.
   Clic = page interne /article.html?id=…
   ════════════════════════════════════════════════ */
.page-presse {
  background: #fafaf8;
}
.presse-main {
  padding: 0;
  margin: 0 auto;
  max-width: 1440px;
  background: transparent;
}

.press-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: clamp(80px, 12vw, 140px) clamp(24px, 6vw, 88px) clamp(24px, 4vw, 56px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  gap: 24px;
  flex-wrap: wrap;
}
.press-page-title {
  font: 300 clamp(36px, 5vw, 68px)/1 'Zilla Slab', Georgia, serif;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0;
}
.press-page-count {
  font: 400 13px/1 'Roboto', system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin: 0;
}
.press-header-tools {
  display: flex;
  gap: 20px;
  align-items: center;
}
.press-view-toggle {
  display: inline-flex;
  gap: 2px;
  background: rgba(0,0,0,0.04);
  padding: 3px;
  border-radius: 999px;
}
.press-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 7px 11px;
  color: #888;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 0;
}
.press-view-btn[aria-pressed="true"] {
  background: #111;
  color: #fff;
}
.press-view-btn:hover:not([aria-pressed="true"]) {
  color: #111;
}
.press-view-btn svg { display: block; }

/* Grille compacte : toutes les covers d'un coup d'œil */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  padding: clamp(32px, 4vw, 56px) clamp(24px, 6vw, 88px) 120px;
}
.press-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease;
}
.press-tile:hover { transform: translateY(-4px); }
.press-tile-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f4f4f4;
  border-radius: 2px;
}
.press-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.press-tile:hover .press-tile-media img { transform: scale(1.04); }
.press-tile-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ececec, #f8f8f8);
}
.press-tile-caption {
  padding: 12px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.press-tile-source {
  font: 500 10px/1 'Roboto', system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
}
.press-tile-title {
  font: 400 14px/1.35 'Zilla Slab', Georgia, serif;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.press-tile-date {
  font: 400 11px/1 'Roboto', system-ui, sans-serif;
  color: #aaa;
}
@media (max-width: 720px) {
  .press-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    padding: 24px 16px 80px;
  }
  .press-tile-title { font-size: 12px; }
}

.press-empty {
  padding: 80px clamp(24px, 6vw, 88px);
  font: 300 18px/1.5 'Zilla Slab', Georgia, serif;
  color: #888;
  text-align: center;
}

/* Each row = grid 2 cols. min-height long pour ralentir le scroll. */
.press-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 88px);
  padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 88px);
  align-items: start;
  min-height: 70vh;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.press-row--imgright {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.press-row--imgright .press-row-media {
  order: 2;
}
.press-row--imgright .press-row-body {
  order: 1;
}

/* Image sticky : reste accrochée pendant que le texte scrolle. */
.press-row-media {
  position: sticky;
  top: 96px; /* compense la hauteur du header fixe */
  display: block;
  overflow: hidden;
  background: #ececec;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  isolation: isolate;
  text-decoration: none;
}
.press-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1),
              filter    1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  filter: saturate(0.96);
}
.press-row-media:hover img {
  transform: scale(1.06);
  filter: saturate(1.02);
}
.press-row-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e9e8e4 0%, #d8d6d0 100%);
}

.press-row-body {
  padding-top: 12px;
  padding-bottom: 12px;
  max-width: 56ch;
}
.press-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font: 500 11px/1.4 'Roboto', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 24px;
}
.press-row-counter {
  font-variant-numeric: tabular-nums;
  color: #c4c4c4;
}
.press-row-source {
  padding: 5px 12px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 999px;
  color: #444;
  white-space: nowrap;
}
.press-row-date {
  opacity: 0.7;
}
.press-row-title {
  font: 300 clamp(26px, 3.4vw, 48px)/1.1 'Zilla Slab', Georgia, serif;
  letter-spacing: -0.015em;
  color: #111;
  margin: 0 0 22px 0;
  text-wrap: balance;
}
.press-row-title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.press-row-title a:hover {
  background-size: 100% 1px;
}
.press-row-text {
  font: 400 clamp(15px, 1.15vw, 17px)/1.65 'Roboto', system-ui, sans-serif;
  color: #444;
  margin: 0 0 28px 0;
}
.press-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 'Roboto', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #111;
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid #111;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.press-row-cta:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}
.press-row-cta span {
  transition: transform 0.3s ease;
}
.press-row-cta:hover span {
  transform: translateX(4px);
}

/* RTL */
html[dir="rtl"] .press-row-cta span {
  transform: scaleX(-1);
}
html[dir="rtl"] .press-row-cta:hover span {
  transform: scaleX(-1) translateX(4px);
}

/* Tablet */
@media (max-width: 960px) {
  .press-row,
  .press-row--imgright {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding: 48px clamp(20px, 5vw, 40px);
  }
  .press-row--imgright .press-row-media {
    order: 0;
  }
  .press-row--imgright .press-row-body {
    order: 0;
  }
  .press-row-media {
    position: relative;
    top: auto;
    aspect-ratio: 16 / 10;
  }
}

/* Mobile */
@media (max-width: 540px) {
  .press-header {
    padding: 80px 20px 20px;
  }
  .press-page-title {
    font-size: 32px;
  }
  .press-row-title {
    font-size: 24px;
  }
  .press-row-text {
    font-size: 15px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .press-row-media img,
  .press-row-cta,
  .press-row-cta span {
    transition: none;
  }
}

/* ════════════════════════════════════════════════
   ACTUALITÉS — grille de cards (annonces, événements)
   ════════════════════════════════════════════════ */
.news-page-title {
  font: 300 clamp(36px, 5vw, 64px)/1 'Zilla Slab', Georgia, serif;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0 0 clamp(28px, 4vw, 56px) 0;
  padding: clamp(80px, 12vw, 140px) 0 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(28px, 3vw, 48px);
  padding-bottom: 80px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  text-decoration: none;
  color: inherit;
}
.news-card-media {
  display: block;
  position: relative;
  overflow: hidden;
  background: #ececec;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  margin-bottom: 18px;
}
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.news-card-media:hover img {
  transform: scale(1.07);
}
.news-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #efece6 0%, #d8d6d0 100%);
}
.news-card-body {
  display: flex;
  flex-direction: column;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 10px/1 'Roboto', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 12px;
}
.news-card-source {
  color: #444;
}
.news-card-date {
  opacity: 0.7;
}
.news-card-title {
  font: 300 22px/1.2 'Zilla Slab', Georgia, serif;
  margin: 0 0 12px 0;
  color: #111;
  letter-spacing: -0.01em;
}
.news-card-title a {
  color: inherit;
  text-decoration: none;
}
.news-card-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.news-card-text {
  font: 400 14px/1.55 'Roboto', system-ui, sans-serif;
  color: #555;
  margin: 0;
}

/* ════════════════════════════════════════════════
   AWARDS — mur de récompenses
   ════════════════════════════════════════════════ */
.page-awards {
  background: #fafaf8;
}
.awards-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 88px);
}
.awards-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: clamp(80px, 12vw, 140px) 0 clamp(24px, 4vw, 56px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: clamp(48px, 6vw, 80px);
  gap: 24px;
  flex-wrap: wrap;
}
.awards-page-title {
  font: 300 clamp(36px, 5vw, 68px)/1 'Zilla Slab', Georgia, serif;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0;
}
.awards-page-count {
  font: 400 13px/1 'Roboto', system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin: 0;
}
.awards-header-tools {
  display: flex;
  gap: 20px;
  align-items: center;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(28px, 3vw, 48px);
  padding-bottom: 100px;
}
.award-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.5s ease;
}
.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,0.18);
}
.award-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
}
.award-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.award-card:hover .award-card-media img {
  transform: scale(1.06);
}
.award-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f4ede0 0%, #e3d9c4 100%);
}
.award-card-year {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font: 500 12px/1 'Roboto', system-ui, sans-serif;
  letter-spacing: 0.16em;
  color: #111;
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] .award-card-year {
  right: auto;
  left: 16px;
}
.award-card-body {
  padding: 24px 22px 28px;
}
.award-card-source {
  font: 500 10px/1 'Roboto', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
  margin-bottom: 10px;
}
.award-card-title {
  font: 300 22px/1.18 'Zilla Slab', Georgia, serif;
  letter-spacing: -0.005em;
  color: #111;
  margin: 0 0 12px 0;
}
.award-card-text {
  font: 400 14px/1.55 'Roboto', system-ui, sans-serif;
  color: #555;
  margin: 0;
}

/* ════════════════════════════════════════════════
   ARTICLE DETAIL — fiche article interne
   ════════════════════════════════════════════════ */
.page-article {
  background: #fff;
}
.article-main {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 130px) clamp(20px, 5vw, 40px) 80px;
}
.article-breadcrumb {
  margin-bottom: clamp(32px, 4vw, 48px);
  font: 500 12px/1 'Roboto', system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.article-breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}
.article-breadcrumb a:hover {
  color: #111;
}
.article-detail-header {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font: 500 11px/1 'Roboto', system-ui, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 24px;
}
.article-detail-source {
  padding: 6px 14px;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 999px;
  color: #444;
  white-space: nowrap;
}
.article-detail-date {
  opacity: 0.78;
}
.article-detail-title {
  font: 300 clamp(32px, 5vw, 60px)/1.08 'Zilla Slab', Georgia, serif;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0;
  text-wrap: balance;
}
.article-hero {
  margin: 0 0 clamp(40px, 5vw, 64px) 0;
  background: #ececec;
  overflow: hidden;
  border-radius: 2px;
}
.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh;
  object-fit: cover;
}
.article-detail-body {
  font: 400 17px/1.75 'Roboto', system-ui, sans-serif;
  color: #2a2a2a;
}
.article-detail-body p {
  margin: 0 0 22px 0;
}
.article-detail-body p:first-child {
  font-size: 19px;
  color: #111;
  font-weight: 400;
  line-height: 1.6;
}
.article-original {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.article-original a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 'Roboto', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #111;
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid #111;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.article-original a:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}
.article-detail-empty {
  text-align: center;
  padding: 80px 0;
}
.article-detail-empty h1 {
  font: 300 32px/1.2 'Zilla Slab', Georgia, serif;
  color: #888;
  margin-bottom: 24px;
}
.article-detail-empty a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Related articles */
.article-related {
  max-width: 1280px;
  margin: clamp(80px, 10vw, 140px) auto 0;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 5vw, 40px) 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.article-related h2 {
  font: 300 clamp(22px, 2.4vw, 32px)/1.1 'Zilla Slab', Georgia, serif;
  letter-spacing: -0.01em;
  color: #111;
  margin: 0 0 clamp(28px, 3vw, 40px) 0;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}
.article-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.article-related-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ececec;
  margin-bottom: 14px;
  border-radius: 2px;
}
.article-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.article-related-card:hover .article-related-media img {
  transform: scale(1.06);
}
.article-related-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-related-source {
  font: 500 10px/1 'Roboto', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
}
.article-related-info h3 {
  font: 300 16px/1.3 'Zilla Slab', Georgia, serif;
  margin: 0;
  color: #111;
  letter-spacing: -0.005em;
}
.article-related-date {
  font: 400 11px/1 'Roboto', system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #aaa;
}
