@charset "UTF-8";
/* =====================================================================
   VOLCANO SIMULATOR - shared stylesheet
   (c) François Sahy
   2026 redesign
   ===================================================================== */

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

:root {
  /* palette ------------------------------------------------------- */
  /*--lava:      #e85d04;*/
  /*--lava-lite: #ff7a1a;*/
  /*--lava:      #f34905; rouge-orange presque saturé*/
  /*--lava:      #f35805; déjà trop jaune-orange*/
  --lava:      #ff5203;
  --lava-lite: #ff7a1a;
  --ember:     #f4a306;
  --magma:     #d62828;
  --obsidian:  #0a0a0b;
  --ash:       #131316;
  --ash-2:     #1a1a1e;
  --smoke:     #26262b;
  --stone:     #5b5b66;
  --pale:      #b6b5bd;
  --white:     #f2efea;

  /* type ---------------------------------------------------------- */
  --font-body:    'Open Sans', 'Segoe UI', Calibri, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', Impact, sans-serif;

  /* metrics ------------------------------------------------------- */
  --nav-h:    70px;
  --maxw:     1320px;
  --maxw-txt: 74ch;
  --pad:      clamp(1.25rem, 4vw, 3.5rem);

  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
a { color: var(--lava); }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #08080a; }
::-webkit-scrollbar-thumb { background: #33333a; }
::-webkit-scrollbar-thumb:hover { background: var(--lava); }

/* =====================================================================
   1 · NAVBAR
   ===================================================================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2.25rem);
  background: linear-gradient(to bottom, rgba(6,6,7,.86), rgba(6,6,7,.2));
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
#navbar.solid {
  background: rgba(9,9,11,.94);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: rgba(232,93,4,.28);
}
/* pages that don't open on a hero always get the solid bar */
body.has-solid-nav #navbar {
  background: rgba(9,9,11,.94);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: rgba(232,93,4,.28);
}
body.has-solid-nav { padding-top: var(--nav-h); }

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img {
  height: 46px; width: auto; display: block;
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.nav-logo:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 2px 14px rgba(232,93,4,.5));
}

#scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--magma), var(--lava), var(--ember));
  box-shadow: 0 0 12px rgba(232,93,4,.7);
  transition: width .08s linear;
}

/* --- menu ------------------------------------------------------- */
nav.main-nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  position: relative;
  display: flex; align-items: center; gap: .4rem;
  height: var(--nav-h); padding: 0 clamp(.7rem, 1.2vw, 1.15rem);
  font-family: var(--font-display);
  font-size: 1.08rem; letter-spacing: .09em;
  color: var(--pale); text-decoration: none; white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav-list > li > a::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: 16px;
  height: 2px; background: var(--lava);
  transition: left .28s var(--ease), right .28s var(--ease);
}
.nav-list > li:hover > a,
.nav-list > li > a.current { color: var(--white); }
/* the bar marks the page you are ON. Hovering already lights the label, and a
   second orange bar right next to an open dropdown was one too many. */
.nav-list > li > a.current::after { left: clamp(.7rem,1.2vw,1.15rem); right: clamp(.7rem,1.2vw,1.15rem); }
.nav-list .arrow {
  font-size: .5rem; opacity: .55; color: currentColor;
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.nav-list > li:hover .arrow { color: var(--lava); opacity: 1; }

.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 246px; list-style: none;
  background: rgba(11,11,13,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232,93,4,.18);
  border-top: 2px solid var(--lava);
  box-shadow: 0 22px 44px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  padding: .3rem 0;
}
.nav-list > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: .55rem 1.15rem;
  color: var(--pale); text-decoration: none;
  font-size: .875rem; letter-spacing: .015em;
  border-left: 2px solid transparent;
  /* deliberately subtle — the label does not jump on hover */
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.dropdown a:hover, .dropdown a.current {
  color: var(--white);
  border-left-color: var(--lava);
  background: rgba(232,93,4,.09);
}

/* --- hamburger + mobile drawer ---------------------------------- */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 25px; height: 2px; background: var(--white);
  transition: transform .3s var(--ease), opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: rgba(8,8,10,.985);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  z-index: 999; overflow-y: auto; padding: 1rem 0 3rem;
  display: none;
}
.mobile-nav.open { display: block; animation: fade-in .25s var(--ease); }
@keyframes fade-in { from { opacity: 0 } to { opacity: 1 } }
.mobile-group { padding: .4rem 1.5rem; }
.mobile-group > span {
  display: block; font-family: var(--font-display);
  font-size: 1.25rem; letter-spacing: .12em; color: var(--lava);
  padding: .7rem 0 .35rem;
  border-bottom: 1px solid rgba(232,93,4,.2); margin-bottom: .35rem;
}
.mobile-group a {
  display: block; padding: .55rem .25rem;
  color: var(--pale); text-decoration: none; font-size: 1rem;
  border-left: 2px solid transparent; transition: color .18s, border-color .18s;
}
.mobile-group a:hover, .mobile-group a.current { color: var(--white); border-left-color: var(--lava); }

/* =====================================================================
   2 · LAYOUT PRIMITIVES
   ===================================================================== */
.wrap      { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap-wide { max-width: 1600px;      margin-inline: auto; padding-inline: var(--pad); }
.section   { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 4.5vw, 4rem); }
.section--ash  { background: var(--ash); }
.section--ash2 { background: linear-gradient(180deg, var(--ash) 0%, var(--obsidian) 100%); }

.rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, rgba(232,93,4,.35), rgba(244,163,6,.55), rgba(232,93,4,.35), transparent);
}
.rule--strong { height: 2px; background: linear-gradient(90deg, transparent, var(--lava), var(--ember), var(--lava), transparent); }

/* --- type ------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .82rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--lava); margin-bottom: .85rem;
}
.eyebrow--boxed { border: 1px solid rgba(232,93,4,.5); padding: .22rem .8rem; letter-spacing: .22em; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; letter-spacing: .035em; line-height: 1.03; }
h1, .h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); color: var(--white); }
h2, .h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); color: var(--white); }
h3, .h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); color: var(--white); letter-spacing: .05em; }
.accent, h1 em, h2 em, h3 em { color: var(--lava); font-style: normal; }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  font-weight: 300; line-height: 1.75; color: var(--pale);
  max-width: var(--maxw-txt);
}
.prose p { color: var(--pale); font-weight: 300; margin-bottom: 1rem; max-width: var(--maxw-txt); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--white); font-weight: 600; }
.prose a { color: var(--ember); text-decoration: none; border-bottom: 1px solid rgba(244,163,6,.35); transition: border-color .2s, color .2s; }
.prose a:hover { color: var(--lava-lite); border-bottom-color: var(--lava); }
.prose h3 { margin: 2rem 0 .8rem; }
/* real quotation marks, not another vertical bar */
.quote {
  margin: 1.15rem 0; padding: 0;
  font-weight: 300; font-style: italic; color: #ddd9d3;
  font-size: 1.04rem; line-height: 1.72; max-width: var(--maxw-txt);
}
.quote::before { content: '“ '; color: var(--lava); font-style: normal; }
.quote::after  { content: ' ”'; color: var(--lava); font-style: normal; }
.quote cite {
  display: block; font-style: normal; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--stone); margin-top: .55rem;
}
.quote cite::before { content: '— '; }
.quote--bare::before, .quote--bare::after { content: none; }
/* with an attribution line, the marks must hug the text, not the <cite> */
.quote--cited::before, .quote--cited::after { content: none; }
.quote--cited > p { margin: 0; }
.quote--cited > p::before { content: '“ '; color: var(--lava); font-style: normal; }
.quote--cited > p::after  { content: ' ”'; color: var(--lava); font-style: normal; }
.quote-source {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stone); margin: 1.9rem 0 .3rem;
}
.quote cite { display: block; font-style: normal; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--stone); margin-top: .5rem; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: end;
}

/* --- buttons ---------------------------------------------------- */
.btn {
  position: relative; z-index: 0;
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .12em;
  padding: .7rem 1.6rem; text-decoration: none;
  border: 1px solid var(--lava); color: var(--white);
  background: transparent; overflow: hidden;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--magma), var(--lava));
  transform: translateY(101%); transition: transform .3s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--ember); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--solid { background: var(--lava); border-color: var(--lava); color: #fff; }
.btn--solid::before { background: linear-gradient(120deg, var(--ember), var(--lava-lite)); }
.btn--ghost { border-color: rgba(255,255,255,.22); color: var(--pale); }
.btn--ghost:hover { color: #fff; }

/* =====================================================================
   3 · HERO SLIDESHOW
   ===================================================================== */
.hero {
  position: relative; width: 100%;
  height: clamp(500px, 80vh, 840px);
  overflow: hidden; background: #000;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity 2.2s var(--ease); }
/* Outgoing slide stays fully opaque underneath, so the crossfade never dips to
   black. It keeps the normal transition: going active -> prev changes nothing
   (both are opacity 1), and dropping .prev fades it out unseen, behind the new
   frame. No `transition: none`, or the next fade in would be a hard cut. */
.hero-slide.prev   { opacity: 1; z-index: 1; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
  /* no grey veil — the render reads as vividly as it does in engine */
  filter: saturate(1.12) contrast(1.05);
  transform: scale(1.03);
}
/* the zoom keeps running while the slide fades OUT too — it only resets once
   the slide is fully invisible, so the reset is never seen */
.hero-slide.active img,
.hero-slide.prev img { animation: kenburns 12s linear forwards; }
@keyframes kenburns {
  from { transform: scale(1.015) translate3d(0,0,0) }
  to   { transform: scale(1.085) translate3d(0,-0.8%,0) }
}

/* scrim only where the text sits, so the image itself stays untouched */
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8,8,10,.93) 0%, rgba(8,8,10,.5) 24%, rgba(8,8,10,0) 54%),
    linear-gradient(to right, rgba(8,8,10,.5) 0%, rgba(8,8,10,0) 58%);
}
.hero-scrim::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(to top, var(--obsidian), transparent);
}

.hero-content {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 0 var(--pad) clamp(3rem, 6vw, 5rem);
  max-width: 1100px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .26em;
  color: var(--ember); border: 1px solid rgba(244,163,6,.45);
  background: rgba(10,10,12,.45); backdrop-filter: blur(4px);
  padding: .3rem .9rem; margin-bottom: 1.1rem;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--lava);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,93,4,.75) }
  70%  { box-shadow: 0 0 0 12px rgba(232,93,4,0) }
  100% { box-shadow: 0 0 0 0 rgba(232,93,4,0) }
}
.hero h1 { text-shadow: 0 4px 46px rgba(0,0,0,.75); margin-bottom: 1rem; }
.hero .lead { color: #ddd9d3; text-shadow: 0 2px 22px rgba(0,0,0,.9); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

.hero-dots {
  position: absolute; z-index: 4; right: var(--pad); bottom: clamp(1.4rem, 3vw, 2.2rem);
  display: flex; gap: .55rem; align-items: center;
}
.hero-dots button {
  width: 26px; height: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(242,239,234,.28); transition: background .3s, width .3s var(--ease);
}
.hero-dots button:hover { background: rgba(242,239,234,.6); }
.hero-dots button.active { background: var(--lava); width: 46px; }

.hero-caption {
  position: absolute; z-index: 4; right: var(--pad);
  bottom: calc(clamp(1.4rem, 3vw, 2.2rem) + 20px);
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(242,239,234,.55); text-align: right; max-width: 46ch;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}

.scroll-cue {
  position: absolute; z-index: 4; left: 50%; transform: translateX(-50%);
  bottom: clamp(1.2rem, 2.4vw, 1.8rem);
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(242,239,234,.45); text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
}
.scroll-cue i { display: block; width: 1px; height: 26px; background: linear-gradient(to bottom, var(--lava), transparent); animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: .3; transform: scaleY(.6) } 50% { opacity: 1; transform: scaleY(1) } }

/* =====================================================================
   4 · PAGE HEADER (inner pages)
   ===================================================================== */
.page-header {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(232,93,4,.14);
}
.page-header::before {
  content: ''; position: absolute; top: -45%; right: -8%;
  width: min(720px, 70vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232,93,4,.11) 0%, transparent 68%);
  pointer-events: none;
}
.page-header--image { border-bottom: 0; padding-top: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-header--image::before { display: none; }
.ph-bg { position: absolute; inset: 0; z-index: 0; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.12) contrast(1.04); }
/* same logic as the hero: shade only the side the text sits on, leave the
   rest of the photograph at full strength */
.ph-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8,8,10,.93) 0%, rgba(8,8,10,.78) 26%, rgba(8,8,10,.34) 55%, rgba(8,8,10,.04) 80%, transparent 100%),
    linear-gradient(to bottom, rgba(8,8,10,.55) 0%, rgba(8,8,10,0) 22%),
    linear-gradient(to top, var(--obsidian) 0%, rgba(10,10,11,.55) 9%, rgba(10,10,11,0) 26%);
}
.page-header--image .lead { max-width: 54ch; }
.page-header--image h1 { text-shadow: 0 4px 40px rgba(0,0,0,.7); }
.page-header .wrap { position: relative; z-index: 1; }

.breadcrumb {
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 1.1rem;
}
.page-header--image .breadcrumb { color: rgba(242,239,234,.62); text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.page-header--image .breadcrumb a { color: rgba(242,239,234,.62); }
.breadcrumb a { color: var(--stone); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--lava); }
.breadcrumb i { color: var(--lava); font-style: normal; margin: 0 .5rem; }

/* =====================================================================
   5 · CARD GRIDS
   ===================================================================== */
.grid { display: grid; gap: clamp(1rem, 1.6vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  position: relative; display: block; overflow: hidden;
  text-decoration: none; color: inherit; background: var(--smoke);
  border: 1px solid rgba(255,255,255,.06);
  transition: border-color .35s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover {
  border-color: rgba(232,93,4,.75);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.85);
}
.card-media { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.05) brightness(1.0) contrast(102%);
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); filter: saturate(1.2) brightness(1.06) contrast(110%); }
.card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,9,11,.94) 0%, rgba(9,9,11,.35) 40%, rgba(9,9,11,0) 70%);
}
.card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1rem, 1.8vw, 1.5rem); }
.card-kicker {
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ember); margin-bottom: .3rem;
}
.card-title {
  font-family: var(--font-display); font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  letter-spacing: .05em; color: var(--white); line-height: 1.1;
}
.card-desc {
  font-size: .875rem; font-weight: 300; color: var(--pale); line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin-top .45s var(--ease);
}
.card:hover .card-desc { max-height: 8rem; opacity: 1; margin-top: .45rem; }
.card-arrow {
  position: absolute; top: 0; right: 0; z-index: 3;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--lava); color: #fff; font-size: .95rem;
  opacity: 0; transform: translate(6px,-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card:hover .card-arrow { opacity: 1; transform: translate(0,0); }
.card::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; z-index: 3;
  background: linear-gradient(90deg, var(--magma), var(--lava), var(--ember));
  transition: width .5s var(--ease);
}
.card:hover::after { width: 100%; }

/* deterministic row heights: a wide card and a narrow one always match */
.grid--rows { grid-auto-rows: clamp(250px, 24vw, 360px) clamp(200px, 18vw, 268px); }

.card--tall .card-media { aspect-ratio: 4/5; }
.card--wide { grid-column: span 2; }
.card--wide .card-media { aspect-ratio: 16/9; }
/* fixed-row grids drive the height from the row, so the media just fills the card */
.grid--rows .card { height: 100%; }
.grid--rows .card .card-media { height: 100%; width: 100%; aspect-ratio: auto; }
.card-media img.focus-low  { object-position: center 72%; }
.card-media img.focus-left { object-position: 22% center; }
.card--flat { background: var(--ash-2); }
.card--flat:hover { transform: none; }

/* =====================================================================
   6 · STAT BAND
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-block: 1px solid rgba(232,93,4,.18); }
.stat { padding: clamp(1.5rem,3vw,2.4rem) clamp(1rem,2vw,1.8rem); border-right: 1px solid rgba(232,93,4,.14); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1;
  background: linear-gradient(180deg, var(--white) 25%, var(--lava) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .35rem;
}
.stat b i {
  font-family: var(--font-body); font-style: normal; font-weight: 400;
  font-size: .3em; letter-spacing: .04em; color: var(--pale);
  -webkit-text-fill-color: var(--pale); margin-left: .35em;
}
.stat span { font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; color: var(--stone); }

/* =====================================================================
   7 · FEATURE BLOCKS
   ===================================================================== */
.feature { padding-block: clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid rgba(255,255,255,.055); }
.feature:last-of-type { border-bottom: 0; }

.feature-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.2rem, 4vw, 4rem); align-items: start;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}
.feature-num {
  font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: .8; color: transparent;
  -webkit-text-stroke: 1px rgba(232,93,4,.38);
  margin-bottom: .5rem; letter-spacing: .02em;
}

.media { position: relative; }
.media img { width: 100%; display: block; }
.media--framed img { border: 1px solid rgba(255,255,255,.08); }
.media figcaption, .caption {
  margin-top: .65rem;
  font-size: .8rem; letter-spacing: .04em; color: var(--stone); font-style: italic;
}
.caption b { color: var(--pale); font-style: normal; font-weight: 600; }
.media--zoom { overflow: hidden; }
.media--zoom img { transition: transform .7s var(--ease), filter .5s; }
.media--zoom:hover img { transform: scale(1.03); filter: saturate(1.12); }

/* pair: ALWAYS side by side — that is the point of a comparison */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.5rem, 1.2vw, 1.1rem); align-items: start; }
.pair > figure { margin: 0; position: relative; overflow: hidden; }
.pair img { width: 100%; height: 100%; object-fit: cover; display: block; border: 1px solid rgba(255,255,255,.08); }
.pair--fixed > figure { aspect-ratio: var(--pair-ratio, 3/2); }
.pair--fixed img { transition: transform .6s var(--ease), filter .4s; }
.pair--fixed > figure:hover img { transform: scale(1.04); filter: saturate(1.14); }
.tag-corner {
  position: absolute; top: 0; left: 0; z-index: 2;
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .28rem .7rem; background: rgba(9,9,11,.82); color: var(--pale);
  border-left: 3px solid var(--lava); backdrop-filter: blur(4px);
}
.tag-corner--real { border-left-color: #4a9fd8; color: #cfe4f2; }
.pair-row { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); }

/* --- cross-fade swap: two frames, one fades over the other -------- */
.swap {
  position: relative; overflow: hidden; margin: 0;
  border: 1px solid rgba(255,255,255,.08);
  background: #000; cursor: pointer;
  --swap-time: 1.2s;
}
.swap img { width: 100%; display: block; }
.swap .swap-b {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity var(--swap-time) var(--ease);
}
.swap:hover .swap-b, .swap:focus-visible .swap-b, .swap.on .swap-b { opacity: 1; }

.swap-tag {
  position: absolute; z-index: 3; top: .7rem;
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; padding: .22rem .7rem;
  background: rgba(9,9,11,.72); backdrop-filter: blur(4px);
  color: var(--pale); pointer-events: none;
  transition: opacity var(--swap-time) var(--ease);
}
.swap-tag--a { left: .7rem;  border-left: 2px solid var(--lava); }
.swap-tag--b { left: .7rem;  border-left: 2px solid var(--ember); opacity: 0; }
.swap:hover .swap-tag--a, .swap:focus-visible .swap-tag--a, .swap.on .swap-tag--a { opacity: 0; }
.swap:hover .swap-tag--b, .swap:focus-visible .swap-tag--b, .swap.on .swap-tag--b { opacity: 1; }

.swap-hint {
  position: absolute; z-index: 3; left: 50%; bottom: .7rem; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.72); background: rgba(9,9,11,.6);
  padding: .25rem .75rem; pointer-events: none; white-space: nowrap;
  transition: opacity .4s var(--ease);
}
.swap:hover .swap-hint, .swap.on .swap-hint { opacity: 0; }
.swap:focus-visible { outline: 2px solid var(--lava); outline-offset: 2px; }

/* --- before / after slider (kept, unused on the feature pages) ----- */
.compare {
  position: relative; overflow: hidden; user-select: none;
  border: 1px solid rgba(255,255,255,.08); cursor: ew-resize; touch-action: pan-y;
  background: #000;
}
.compare > img { width: 100%; display: block; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); will-change: clip-path; }
.compare .after img { width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; z-index: 3;
  background: linear-gradient(to bottom, transparent, var(--lava) 12%, var(--ember) 50%, var(--lava) 88%, transparent);
  box-shadow: 0 0 14px rgba(232,93,4,.75); pointer-events: none;
}
.compare-knob {
  position: absolute; top: 50%; left: 50%; z-index: 4;
  transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(12,12,14,.82); border: 2px solid var(--lava);
  backdrop-filter: blur(6px);
  display: grid; place-items: center; color: var(--ember); font-size: .95rem;
  box-shadow: 0 6px 22px rgba(0,0,0,.6); pointer-events: none;
}
.compare-tag {
  position: absolute; z-index: 3; top: .7rem;
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .22rem .7rem; background: rgba(9,9,11,.7); backdrop-filter: blur(4px);
  color: var(--pale); pointer-events: none;
}
.compare-tag.left  { left: .7rem;  border-left: 2px solid var(--lava); }
.compare-tag.right { right: .7rem; border-right: 2px solid var(--ember); }
.compare-hint {
  position: absolute; z-index: 3; left: 50%; bottom: .7rem; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.72); background: rgba(9,9,11,.6);
  padding: .25rem .75rem; pointer-events: none; white-space: nowrap;
  transition: opacity .3s;
}
.compare.touched .compare-hint { opacity: 0; }

/* --- zoom strip --------------------------------------------------- */
.zoom-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.zoom-links { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: visible; }
.zoom-links line { stroke: var(--zoom-hl, #ffd23f); stroke-width: 1.25; stroke-dasharray: 5 4; opacity: .75; }
.zoom-strip figure { margin: 0; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
/* the region of THIS frame that the next frame zooms into */
.zoom-box {
  position: absolute; z-index: 2; pointer-events: none;
  left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: var(--zoom-w, 34%); height: var(--zoom-h, 34%);
  border: 1.5px solid var(--zoom-hl, #ffd23f);
  box-shadow: 0 0 0 1px rgba(0,0,0,.45) inset, 0 0 14px rgba(255,210,63,.35);
}
.zoom-strip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.zoom-strip figure:hover img { transform: scale(1.08); }
.zoom-strip figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em;
  padding: .3rem .6rem; color: var(--pale);
  background: linear-gradient(to top, rgba(9,9,11,.9), transparent);
}

/* --- spec list ---------------------------------------------------- */
.specs { list-style: none; display: grid; gap: .55rem; margin-top: 1.4rem; }
.specs li { position: relative; padding-left: 1.5rem; font-size: .93rem; font-weight: 300; color: var(--pale); }
.specs li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 8px; height: 8px; background: var(--lava);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.specs li b { color: var(--white); font-weight: 600; }
.specs--2col { grid-template-columns: 1fr 1fr; column-gap: 2rem; }

/* small "chips" */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.chips span {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pale); border: 1px solid rgba(255,255,255,.14);
  padding: .22rem .65rem; transition: border-color .25s, color .25s;
}
.chips span:hover { border-color: var(--lava); color: var(--white); }

/* =====================================================================
   8 · VIDEO (YouTube facade)
   ===================================================================== */
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16/9;
  background: #000; border: 1px solid rgba(255,255,255,.08);
  cursor: pointer; overflow: hidden;
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.yt::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,9,11,.8), rgba(9,9,11,.05) 62%);
  transition: background .35s;
}
.yt:hover img { transform: scale(1.05); filter: saturate(1.12); }
.yt-play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(232,93,4,.92); display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s;
  animation: pulse 3s infinite;
}
.yt:hover .yt-play { transform: translate(-50%,-50%) scale(1.12); background: var(--lava-lite); }
.yt-play::before {
  content: ''; width: 0; height: 0; margin-left: 5px;
  border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.yt-meta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1rem 1.15rem; }
.yt-meta b { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .05em; color: #fff; }
.yt-meta span { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #8e8d97; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5; }
.yt.playing::after, .yt.playing .yt-play, .yt.playing .yt-meta { display: none; }

/* =====================================================================
   9 · GALLERY + LIGHTBOX
   ===================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--tile, 330px), 1fr));
  gap: clamp(.6rem, 1.2vw, 1.1rem);
}
.gallery figure {
  margin: 0; position: relative; overflow: hidden; cursor: zoom-in;
  aspect-ratio: var(--tile-ratio, 16/9);
  border: 1px solid rgba(255,255,255,.07);
  transition: border-color .35s var(--ease);
}
.gallery figure:hover { border-color: rgba(232,93,4,.7); }
.gallery img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s var(--ease), filter .45s; filter: saturate(1.06);
}
.gallery figure:hover img { transform: scale(1.05); filter: saturate(1.2) brightness(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.8rem .9rem .75rem;
  font-size: .82rem; color: var(--white);
  background: linear-gradient(to top, rgba(9,9,11,.94), transparent);
  transform: translateY(100%); opacity: 0;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.gallery figure:hover figcaption { transform: translateY(0); opacity: 1; }

#lightbox {
  position: fixed; inset: 0; z-index: 5000; display: none;
  background: #060607;
  align-items: center; justify-content: center; padding: 4.5rem 3.5rem 4.5rem;
}
#lightbox.open { display: flex; animation: fade-in .2s var(--ease); }
#lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.8); }
#lightbox .lb-cap {
  position: absolute; left: 0; right: 0; bottom: 1.4rem; text-align: center;
  font-size: .85rem; color: var(--pale); padding-inline: 1rem;
}
#lightbox button {
  position: absolute; background: none; border: 0; color: var(--pale); cursor: pointer;
  font-size: 2rem; line-height: 1; padding: .5rem .9rem; transition: color .2s;
}
#lightbox button:hover { color: var(--lava); }
#lightbox .lb-close { top: .8rem; right: 1.2rem; font-size: 2.2rem; }
#lightbox .lb-prev  { left: .4rem;  top: 50%; transform: translateY(-50%); font-size: 2.6rem; }
#lightbox .lb-next  { right: .4rem; top: 50%; transform: translateY(-50%); font-size: 2.6rem; }

/* =====================================================================
   10 · CTA + FOOTER
   ===================================================================== */
.cta { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid rgba(232,93,4,.2); }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.12); }
.cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,8,10,.95) 8%, rgba(8,8,10,.72) 55%, rgba(8,8,10,.42));
}
.cta .wrap { position: relative; z-index: 1; }

footer.site { background: #08080a; border-top: 1px solid rgba(232,93,4,.18); padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-bottom: 2.5rem; }
.footer-grid h4 { font-family: var(--font-display); font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lava); margin-bottom: .9rem; }
.footer-grid ul { list-style: none; display: grid; gap: .45rem; }
.footer-grid a { color: var(--pale); text-decoration: none; font-size: .875rem; transition: color .2s; }
.footer-grid a:hover { color: var(--white); }
.footer-logo img { height: 52px; width: auto; margin-bottom: .9rem; }
.footer-blurb { font-size: .875rem; font-weight: 300; color: var(--stone); max-width: 34ch; line-height: 1.7; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.4rem;
  font-size: .8rem; color: var(--stone); letter-spacing: .04em;
}
.footer-bottom .lava { color: var(--lava); }

/* =====================================================================
   11 · REVEAL ON SCROLL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.active img { animation: none; transform: scale(1.02); }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   12 · RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(232,93,4,.14); }
  .gallery { --tile: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .feature-head { grid-template-columns: 1fr; gap: 1rem; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .zoom-strip { grid-template-columns: repeat(2, 1fr); }
  .card-desc { max-height: 8rem; opacity: 1; margin-top: .45rem; }
  .specs--2col { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .hamburger  { display: flex; }
  .nav-logo img { height: 40px; }
}
@media (max-width: 680px) {
  :root { --nav-h: 60px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .gallery { --tile: 100%; }
  .hero { height: clamp(440px, 78vh, 620px); }
  .hero-caption, .scroll-cue { display: none; }
  .hero-tag { font-size: .68rem; letter-spacing: .14em; padding: .28rem .7rem; }
  .hero-actions .btn { font-size: .95rem; padding: .6rem 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  /* comparison pairs stay side by side on purpose */
  .pair { gap: .35rem; }
  .tag-corner { font-size: .6rem; letter-spacing: .08em; padding: .18rem .4rem; }
  .compare-knob { width: 34px; height: 34px; }
}

/* =====================================================================
   13 · ARTICLE COMPONENTS (project / works / press pages)
   ===================================================================== */
.split { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split, .split--even { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.callout {
  border-left: 3px solid var(--lava);
  background: linear-gradient(90deg, rgba(232,93,4,.09), transparent 72%);
  padding: 1.1rem 1.3rem; margin: 1.7rem 0;
}
.callout p { font-size: clamp(1.05rem, 1.5vw, 1.22rem); font-weight: 300; color: var(--white); max-width: 58ch; margin: 0; }

.timeline { position: relative; margin-top: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: .8rem; bottom: .8rem; width: 1px;
  background: linear-gradient(to bottom, var(--lava), rgba(232,93,4,.12));
}
.tl-item { position: relative; padding: 0 0 2.1rem 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 1px; top: .5rem;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--obsidian); border: 2px solid var(--lava);
  box-shadow: 0 0 0 4px rgba(232,93,4,.1);
}
.tl-year {
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .08em;
  color: var(--lava); line-height: 1; margin-bottom: .35rem;
}
.tl-item p { color: var(--pale); font-weight: 300; max-width: 64ch; margin: 0; }

.linklist { list-style: none; display: grid; margin-top: 1.1rem; }
.linklist a {
  display: flex; gap: .65rem; align-items: baseline;
  padding: .6rem 0; color: var(--pale); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s var(--ease);
  font-size: .92rem;
}
.linklist a:hover { color: var(--white); }
.linklist a::before { content: '→'; color: var(--lava); font-size: .95rem; }

.portrait { position: relative; overflow: hidden; }
.portrait img { width: 100%; display: block; border: 1px solid rgba(255,255,255,.08); transition: transform .6s var(--ease); }
.portrait:hover img { transform: scale(1.03); }
/* for artwork that already carries its own soft edge */
.portrait--bare img { border: 0; }
.portrait--bare:hover img { transform: none; }

.mail-shot { display: inline-block; border: 1px solid rgba(232,93,4,.3); padding: .6rem .9rem; background: rgba(232,93,4,.06); }
.mail-shot img { display: block; }

/* =====================================================================
   14 · CHAPTER NAV (long feature pages)
   ===================================================================== */
.chapter-nav {
  position: sticky; top: var(--nav-h); z-index: 500;
  background: rgba(9,9,11,.93);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,93,4,.16);
}
.chapter-nav ul {
  display: flex; list-style: none; overflow-x: auto;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  scrollbar-width: none;
}
.chapter-nav ul::-webkit-scrollbar { display: none; }
.chapter-nav a {
  position: relative; display: block;
  padding: .8rem var(--cn-pad, .95rem) calc(.8rem + 2px);
  font-family: var(--font-display); font-size: .95rem; letter-spacing: .1em;
  color: var(--stone); text-decoration: none; white-space: nowrap;
  transition: color .2s var(--ease);
}
/* drawn inside the padding, so the rule stops where the label stops */
.chapter-nav a::after {
  content: ''; position: absolute; bottom: 0;
  left: var(--cn-pad, .95rem); right: var(--cn-pad, .95rem);
  height: 2px; background: transparent;
  transition: background .2s var(--ease);
}
.chapter-nav a:hover { color: var(--white); }
.chapter-nav a.active { color: var(--lava); }
.chapter-nav a.active::after { background: var(--lava); }
.chapter-nav li:first-child a { padding-left: 0; }
.chapter-nav li:first-child a::after { left: 0; }
.chapter-nav li:first-child a { padding-left: 0; }

section[id], div[id].feature { scroll-margin-top: calc(var(--nav-h) + 56px); }
@media (max-width: 680px) { .chapter-nav { --cn-pad: .7rem; } .chapter-nav a { font-size: .85rem; } }

/* escape hatch when an embed is blocked (referrer restrictions, error 150/153) */
.yt-out {
  position: absolute; z-index: 4; top: .6rem; right: .6rem;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pale); text-decoration: none;
  background: rgba(9,9,11,.72); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.14);
  padding: .22rem .55rem;
  transition: color .2s, border-color .2s, background .2s;
}
.yt-out:hover { color: #fff; border-color: var(--lava); background: rgba(232,93,4,.35); }
.yt.playing .yt-out { display: none; }

/* local video player, same frame language as the rest */
.local-video { position: relative; margin: 0; }
.local-video video {
  width: 100%; display: block; background: #000;
  border: 1px solid rgba(255,255,255,.08);
}

/* =====================================================================
   15 · CARD BADGES + "COMING SOON" TILES
   ===================================================================== */
.card-badge {
  position: absolute; z-index: 4; top: .75rem; left: .75rem;
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; padding: .22rem .6rem;
  color: #fff; background: var(--lava);
  box-shadow: 0 4px 16px rgba(232,93,4,.4);
}
.card-badge--soon { background: rgba(9,9,11,.8); color: var(--stone); border: 1px solid rgba(255,255,255,.16); box-shadow: none; }

.card--feature { border-color: rgba(232,93,4,.55); }
.card--feature::after { width: 100%; }
.card--feature:hover::after { width: 100%; }

.card--soon { cursor: default; }
.card--soon:hover { transform: none; border-color: rgba(255,255,255,.1); box-shadow: none; }
.card--soon .card-media img { filter: saturate(.35) brightness(.55); }
.card--soon:hover .card-media img { transform: none; filter: saturate(.45) brightness(.62); }
.card--soon:hover::after { width: 0; }
.card--soon .card-title { color: var(--pale); }

/* =====================================================================
   16 · HOVER-PLAY VIDEO
   A muted, looping mp4 that starts when the cursor lands on it and stops
   when it leaves. The poster carries the frame until the file is there.
   ===================================================================== */
.hoverplay {
  position: relative; margin: 0; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255,255,255,.08); background: #000;
}
.hoverplay video {
  width: 100%; display: block;
  transition: filter .5s var(--ease);
  filter: saturate(1.06);
}
.hoverplay:hover video { filter: saturate(1.16); }
.hoverplay-hint {
  position: absolute; z-index: 3; left: 50%; bottom: .7rem; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.72); background: rgba(9,9,11,.6);
  padding: .25rem .75rem; pointer-events: none; white-space: nowrap;
  transition: opacity .4s var(--ease);
}
.hoverplay.playing .hoverplay-hint { opacity: 0; }
.hoverplay::after {
  content: ''; position: absolute; z-index: 2; inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 55%, rgba(9,9,11,.35));
  opacity: 1; transition: opacity .5s var(--ease); pointer-events: none;
}
.hoverplay.playing::after { opacity: 0; }
.hoverplay:focus-visible { outline: 2px solid var(--lava); outline-offset: 2px; }

/* Modificateur pour le mode banière / horizontal */
.hoverplay.banner {
  height: 600px; /* cop vertical ! :) */
}
.hoverplay.banner video {
  height: 100%;
  object-fit: cover;
  object-position: center; 
}