/* ===== 2bike3 — Carnet de voyage moderne ===== */

/* --- Palettes (Tweaks-controlled) --- */
:root[data-palette="warm"] {
  --bg: oklch(0.965 0.018 78);
  --paper: oklch(0.985 0.012 80);
  --ink: oklch(0.20 0.020 50);
  --ink-2: oklch(0.42 0.025 55);
  --ink-3: oklch(0.62 0.020 60);
  --line: oklch(0.86 0.018 70);
  --line-2: oklch(0.92 0.015 70);
  --primary: oklch(0.58 0.135 38);    /* terracotta */
  --primary-ink: oklch(0.97 0.015 80);
  --rust: oklch(0.46 0.115 42);        /* burnt sienna */
  --secondary: oklch(0.40 0.065 155); /* pine */
  --accent: oklch(0.66 0.085 230);    /* glacier */
  --sun: oklch(0.83 0.135 88);        /* mustard */
  --danger: oklch(0.55 0.18 28);
}
:root[data-palette="alpine"] {
  --bg: oklch(0.965 0.012 230);
  --paper: oklch(0.985 0.008 230);
  --ink: oklch(0.18 0.030 250);
  --ink-2: oklch(0.40 0.030 245);
  --ink-3: oklch(0.60 0.025 240);
  --line: oklch(0.86 0.015 235);
  --line-2: oklch(0.92 0.012 235);
  --primary: oklch(0.45 0.115 245);
  --primary-ink: oklch(0.97 0.012 230);
  --rust: oklch(0.48 0.120 42);        /* burnt sienna — warm accent */
  --secondary: oklch(0.42 0.070 175);
  --accent: oklch(0.62 0.130 35);
  --sun: oklch(0.83 0.135 88);
  --danger: oklch(0.55 0.18 28);
}
:root[data-palette="sun"] {
  --bg: oklch(0.970 0.022 92);
  --paper: oklch(0.988 0.014 92);
  --ink: oklch(0.17 0.020 70);
  --ink-2: oklch(0.40 0.025 70);
  --ink-3: oklch(0.60 0.022 70);
  --line: oklch(0.86 0.020 85);
  --line-2: oklch(0.93 0.016 85);
  --primary: oklch(0.20 0.020 60);    /* ink as primary */
  --primary-ink: oklch(0.98 0.015 90);
  --rust: oklch(0.49 0.125 45);        /* burnt sienna */
  --secondary: oklch(0.55 0.12 50);
  --accent: oklch(0.75 0.155 85);     /* mustard */
  --sun: oklch(0.83 0.16 88);
  --danger: oklch(0.55 0.18 28);
}

/* --- Typography (Tweaks-controlled display family) --- */
:root[data-display="instrument"] {
  --font-display: 'Instrument Serif', 'Newsreader', Georgia, serif;
  --display-tracking: -0.015em;
  --display-leading: 0.95;
}
:root[data-display="fraunces"] {
  --font-display: 'Fraunces', 'Instrument Serif', Georgia, serif;
  --display-tracking: -0.025em;
  --display-leading: 0.98;
}
:root[data-display="newsreader"] {
  --font-display: 'Newsreader', 'Instrument Serif', Georgia, serif;
  --display-tracking: -0.020em;
  --display-leading: 1.02;
}

:root {
  --font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-card: 0 1px 0 oklch(0.86 0.018 70 / 0.6), 0 14px 30px -22px oklch(0.20 0.02 50 / 0.18);
  --shadow-stamp: 0 1px 0 var(--ink) inset;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1320px;
}

/* Density tweak */
:root[data-density="cozy"] {
  --sect-pad: clamp(32px, 4.5vw, 64px);
  --row-gap: clamp(16px, 2vw, 24px);
}
:root[data-density="airy"] {
  --sect-pad: clamp(72px, 11vw, 160px);
  --row-gap: clamp(24px, 3vw, 40px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper grain for "carnet" feel — toggled by playfulness */
body.has-grain::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.35;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.10  0 0 0 0 0.05  0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }

/* --- Reusable bits --- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: var(--display-tracking); line-height: var(--display-leading); }
.italic { font-style: italic; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); display: inline-block; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--primary-ink);
  cursor: pointer;
  transition: transform 120ms ease, background 150ms ease, color 150ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn--rust { background: var(--rust); border-color: var(--rust); color: var(--primary-ink); }
.btn--rust:hover { background: color-mix(in oklab, var(--rust) 86%, black); border-color: color-mix(in oklab, var(--rust) 86%, black); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--primary-ink); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  background: var(--paper);
  color: var(--ink-2);
}
.chip .swatch { width: 10px; height: 10px; border-radius: 50%; }

/* "Stamp" badge with rotated outline — for playfulness on */
.stamp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1.5px solid currentColor;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--paper);
}
body.has-stamps .stamp { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px currentColor; }

/* "Tape" corner — playfulness on */
.tape {
  position: absolute;
  width: 90px; height: 20px;
  background: oklch(0.93 0.05 88 / 0.85);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.08);
  transform: rotate(-6deg);
  top: -10px; left: 18px;
  display: none;
}
body.has-tape .tape { display: block; }
.tape--right { left: auto; right: 18px; transform: rotate(6deg); }
.tape--blue { background: oklch(0.85 0.08 230 / 0.85); }
.tape--rose { background: oklch(0.86 0.07 25 / 0.85); }

/* Topographic background lines for hero/section dividers */
.topo {
  background-image:
    radial-gradient(ellipse 220% 80% at 50% 100%, transparent 60%, var(--line) 60.4%, transparent 60.8%),
    radial-gradient(ellipse 180% 70% at 50% 100%, transparent 55%, var(--line) 55.4%, transparent 55.8%),
    radial-gradient(ellipse 140% 60% at 50% 100%, transparent 50%, var(--line) 50.4%, transparent 50.8%);
}

/* Image placeholder — striped, with mono caption */
.ph {
  position: relative;
  background-color: oklch(0.93 0.02 75);
  background-image: repeating-linear-gradient(
    135deg,
    oklch(0.88 0.025 70) 0 8px,
    transparent 8px 22px
  );
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-start;
  color: var(--ink-2);
  isolation: isolate;
}
.ph img { z-index: 0; }
.ph > .ph__label, .ph > .tape { z-index: 1; position: relative; }
.ph > .meta { z-index: 1; }
.ph__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 12px;
  background: var(--paper);
  margin: 12px;
  border-radius: 4px;
  border: 1px solid var(--line);
  max-width: 78%;
}
.ph--portrait { aspect-ratio: 3/4; }
.ph--landscape { aspect-ratio: 4/3; }
.ph--wide { aspect-ratio: 16/9; }
.ph--square { aspect-ratio: 1/1; }

/* Section header */
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 56px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 0.95;
  letter-spacing: var(--display-tracking);
  margin: 0;
}
.section-head .meta { color: var(--ink-2); font-size: 14px; }

.section { padding-block: var(--sect-pad); position: relative; }
.section + .section { border-top: 1px solid var(--line-2); }

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
}

/* Dotted route line connector */
.route-line {
  display: block;
  height: 1px;
  border-top: 2px dashed var(--ink-3);
  flex: 1;
  position: relative;
  opacity: 0.5;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line-2);
}
.nav__inner {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 4px;
  flex-shrink: 0;
}
.nav__logo .num { color: var(--primary); }
/* High specificity so WooCommerce's `.woocommerce img` reset can't win. */
.nav .nav__logo .nav__logo-img,
.nav .nav__logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 200px;
  max-height: 40px;
  object-fit: contain;
}
.nav__cart { position: relative; }
.nav__cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.nav__links { display: flex; gap: 22px; margin-left: 12px; flex-wrap: nowrap; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav__links li { list-style: none; padding: 0; margin: 0; }
.nav__links a {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 120ms, border-color 120ms;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--ink); border-color: var(--primary); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__icon {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  cursor: pointer;
}
.nav__icon:hover { border-color: var(--ink); }
.lang-toggle {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--paper);
  cursor: pointer;
}
.lang-toggle .on { color: var(--primary); }

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--rust);
  color: var(--primary-ink);
}
.marquee__track {
  display: inline-flex; gap: 48px;
  white-space: nowrap;
  padding: 12px 0;
  animation: scroll 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.marquee__track > span { display: inline-flex; align-items: center; gap: 14px; }
.marquee__track .sep { color: var(--sun); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero */
.hero { position: relative; padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 44px); }

/* Homepage: keep the first section tight so the next block (routes/map) peeks
   above the fold on a MacBook Air M2 (~1470×830) without forcing dead space —
   the hero sizes to its content. */
@media (min-width: 900px) {
  .home .hero + .routes { padding-top: clamp(20px, 2.4vw, 32px); }
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: end; }
.hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1;
  letter-spacing: var(--display-tracking);
  margin: 10px 0 16px;
  padding-bottom: 0.08em;
}
.hero__copy h1 .swash { display: inline-block; padding-bottom: 0.06em; }
.hero__copy h1 .swash { font-style: italic; color: var(--primary); }
.hero__copy p.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.5;
  margin: 0 0 20px;
}
.hero__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.hero__media {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

/* Scatter layout — photos on a table, overlapping at slight angles */
.hero__media.hero__media--scatter {
  display: block;
  aspect-ratio: 1 / 0.7;
  position: relative;
  min-height: 300px;
}
.hero-photo {
  position: absolute;
  background: oklch(0.99 0.005 90);
  padding: 14px 14px 44px;
  border-radius: 3px;
  box-shadow:
    0 1px 1px oklch(0.20 0.02 50 / 0.10),
    0 22px 40px -22px oklch(0.20 0.02 50 / 0.35),
    0 6px 10px -6px oklch(0.20 0.02 50 / 0.15);
  transition: transform 350ms cubic-bezier(.2, .8, .2, 1), box-shadow 350ms ease;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: oklch(0.92 0.02 75);
}
.hero-photo__caption {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  pointer-events: none;
}
.hero-photo .tape {
  position: absolute;
  top: -8px; left: 50%;
  width: 86px; height: 18px;
  transform: translateX(-50%) rotate(-3deg);
  display: block;
  background: oklch(0.93 0.05 88 / 0.85);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.10);
}
.hero-photo .tape.tape--rose { background: oklch(0.86 0.07 25 / 0.85); transform: translateX(-50%) rotate(2deg); }
.hero-photo .tape.tape--blue { background: oklch(0.85 0.08 230 / 0.85); transform: translateX(-50%) rotate(-5deg); }

/* Three photos laid out as a horizontal band, kept within the container box so
   they never spill onto the stats/section below. */
.hero-photo--a {
  width: 38%;
  top: 10%;
  left: 0;
  transform: rotate(-5deg);
  z-index: 1;
}
.hero-photo--a img { aspect-ratio: 4/3; }

.hero-photo--b {
  width: 38%;
  top: 2%;
  left: 32%;
  transform: rotate(3deg);
  z-index: 2;
}
.hero-photo--b img { aspect-ratio: 3/4; }

.hero-photo--c {
  width: 37%;
  top: 14%;
  left: 63%;
  transform: rotate(-3deg);
  z-index: 3;
}
.hero-photo--c img { aspect-ratio: 1/1; }

.hero-photo:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.03);
  z-index: 10;
  box-shadow:
    0 1px 1px oklch(0.20 0.02 50 / 0.10),
    0 34px 50px -22px oklch(0.20 0.02 50 / 0.45),
    0 10px 14px -6px oklch(0.20 0.02 50 / 0.20);
}
.hero__media .ph.big { grid-row: 1 / span 2; aspect-ratio: 3/4.2; }
.hero__media .ph.s1 { aspect-ratio: 4/3; }
.hero__media .ph.s2 { aspect-ratio: 1/1; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(20px, 2.4vw, 32px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 18px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.stat__n .stat__unit, .stat__n .unit { font-family: var(--font-mono); font-size: 0.32em; color: var(--ink-3); margin-left: 6px; letter-spacing: 0.1em; vertical-align: top; position: relative; top: 6px; }
.stat__l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }

/* Hero footline (étape · destination) */
.hero__footline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.hero__footline-rule { flex: 1; border-top: 1px dashed var(--line); }
.btn__play { font-size: 0.85em; margin-right: 6px; }

/* Family hero — big shot + intro */
.family-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.family-hero__intro h3 { margin: 14px 0 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; font-family: var(--font-display); font-weight: 400; }
.family-hero__photo { aspect-ratio: 4/3; border-radius: var(--radius-lg); }

.tribu__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.tribu__copy .eyebrow { margin-bottom: 24px; }
.tribu__title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  margin: 0 0 24px;
  text-wrap: balance;
}
.tribu__title .accent {
  display: block;
  font-style: italic;
  color: var(--primary);
}
.tribu__lead {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 52ch;
  margin: 0 0 32px;
}
.tribu__actions { margin: 0 0 32px; }
.tribu__location {
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 0;
}
.tribu__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
@media (max-width: 880px) {
  .tribu__intro { grid-template-columns: 1fr; }
}

.family-roster {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 36px);
}
.roster-card {
  padding: 16px 18px 18px;
  border-right: 1px solid var(--line);
}
.roster-card:last-child { border-right: 0; }
.roster-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.roster-card__stamp { font-size: 11px; letter-spacing: 0.18em; font-weight: 500; }
.roster-card__rule { flex: 1; border-top: 1px dashed var(--line); }
.roster-card__age { font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.14em; }
.roster-card__name { font-family: var(--font-display); font-size: 30px; line-height: 1; margin: 0 0 6px; letter-spacing: -0.01em; }
.roster-card__role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.roster-card__bio { color: var(--ink-2); font-size: 13px; line-height: 1.5; margin: 0; }

/* Family strip */
.family {
  display: grid;
  grid-template-columns: 0.9fr 2.4fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.family__intro h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); margin: 14px 0 12px; line-height: 1; }
.family__intro p { color: var(--ink-2); margin: 0 0 14px; }
.family__people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.person { text-align: left; }
.person .ph { aspect-ratio: 3/4; margin-bottom: 12px; }
.person h4 { margin: 0; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; }
.person .role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); margin-top: 4px;}
.person .bio { color: var(--ink-2); font-size: 13px; margin-top: 6px; line-height: 1.45; }

/* Routes / Itinéraires */
.trip-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  margin-bottom: 18px;
  overflow: hidden;
}
.trip-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink-2);
  transition: background 160ms ease, color 160ms ease;
}
.trip-tab:last-child { border-right: 0; }
.trip-tab:hover { background: color-mix(in oklab, var(--bg) 70%, transparent); color: var(--ink); }
.trip-tab.is-active { background: var(--bg); color: var(--ink); }
.trip-tab__no { font-size: 13px; letter-spacing: 0.16em; font-weight: 600; }
.trip-tab__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.trip-tab__name { font-family: var(--font-display); font-size: 18px; line-height: 1.05; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-tab__year { font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase; }
.trip-tab__live {
  width: 8px; height: 8px; border-radius: 50%;
  background: oklch(0.55 0.18 28);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}
.trip-tab__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.trip-tab.is-active .trip-tab__bar { transform: scaleX(1); }

.routes__map {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.routes__map--wide { padding: 22px; }
.routes__map--wide .map-svg { aspect-ratio: 16/7.5; max-height: 540px; }
.map-svg { width: 100%; aspect-ratio: 5/3; display: block; }

/* Cartography */
.map-land .country {
  fill: url(#landTexture);
  stroke: var(--ink-2);
  stroke-width: 0.9;
  stroke-linejoin: round;
}
/* Dotted texture overlay on top of each country fill */
.map-land::after { content: none; }
.map-land .country + .country { } /* spacing noop */
.country-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  fill: var(--ink-3);
  text-anchor: middle;
  pointer-events: none;
  font-weight: 500;
}
.country-borders path { stroke-linecap: round; }
.map-chrome text { user-select: none; }

.routes__legend {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px; color: var(--ink-2);
  flex-wrap: wrap;
}
.routes__legend-note {
  font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-3);
  text-transform: uppercase;
}

/* Route paths — drawing animation */
.route { transition: opacity 220ms ease; }
.route.is-dim { opacity: 0.32; }
.route__path {
  stroke-dasharray: 3 4;
  stroke-dashoffset: 0;
}
.route__path--draw { animation: drawRoute 1.6s ease-out both; }
.is-current .route__path--draw { animation-duration: 2.2s; }
@keyframes drawRoute {
  from { stroke-dashoffset: 380; opacity: 0; }
  20%  { opacity: 1; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}

/* Routes section: header */
.routes__head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(20px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
}
.routes__head-left .eyebrow { margin-bottom: 18px; }
.routes__title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.routes__title em { font-style: italic; color: var(--ink); }
.routes__stats {
  display: flex;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.routes__lead {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 38ch;
}
@media (max-width: 880px) {
  .routes__head { grid-template-columns: 1fr; align-items: start; }
}

/* Interactive map */
.routes-map {
  width: 100%;
  height: clamp(360px, 56vh, 620px);
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.routes-map .leaflet-container { background: #d8e7f0; }
.routes-map .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,0.7); }
.routes-map__caption {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* Trip details list (one card per trip, only active shown) */
.trip-details { margin-top: 24px; }
.trip-detail[hidden] { display: none; }
.trip-detail__main { display: flex; flex-direction: column; gap: 14px; }
.trip-detail__topline { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.18em; }
.trip-detail__no { font-weight: 600; }
.trip-detail__rule { flex: 1; border-top: 1px dashed var(--line); }
.trip-detail__year { color: var(--ink-3); }
.trip-detail__name {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}
.trip-detail__meta { font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; margin: 0; }
.trip-detail__meta strong { color: var(--ink); font-weight: 600; }
.trip-detail__sep { color: var(--ink-3); }
.trip-detail__blurb { color: var(--ink-2); margin: 6px 0 0; max-width: 60ch; }
.trip-detail__aside { display: flex; flex-direction: column; gap: 22px; padding-left: clamp(0px, 2vw, 28px); border-left: 1px dashed var(--line); }
.trip-detail__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  background: var(--bg);
}
@media (max-width: 880px) {
  .trip-detail { grid-template-columns: 1fr; }
  .trip-detail__aside { padding-left: 0; border-left: 0; border-top: 1px dashed var(--line); padding-top: 22px; }
}

/* Active trip detail card (single panel) */
.trip-detail {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(22px, 3vw, 42px);
  padding: clamp(22px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  animation: tripFade 280ms ease;
}
@keyframes tripFade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }
.trip-detail__col--side { display: flex; flex-direction: column; gap: 22px; padding-left: clamp(0px, 2vw, 28px); border-left: 1px dashed var(--line); }
.trip-detail__block { display: flex; flex-direction: column; gap: 10px; }
.trip-detail__label { font-size: 10.5px; letter-spacing: 0.18em; color: var(--ink-3); text-transform: uppercase; }

/* Trip head/meta reused */
.trip__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.trip__no { font-size: 11px; letter-spacing: 0.18em; font-weight: 600; }
.trip__year { font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3); text-transform: uppercase; }
.trip__live {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  background: oklch(0.55 0.18 28 / 0.12);
  color: oklch(0.50 0.18 28);
}
.trip__live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.55 0.18 28);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.trip__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.02; letter-spacing: -0.015em;
  margin: 4px 0 10px;
}
.trip__meta { display: flex; gap: 10px; color: var(--ink-2); font-size: 13.5px; flex-wrap: wrap; }
.trip__meta strong { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.trip__blurb { color: var(--ink-2); margin: 14px 0 0; max-width: 56ch; font-size: 15.5px; line-height: 1.55; }
.trip__countries { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

/* Single product page */
.single-product-section .art-hero__crumbs {
  margin-bottom: clamp(20px, 2vw, 32px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 10px;
  align-items: center;
}
.single-product-section .art-hero__crumbs a { color: var(--ink-3); text-decoration: none; }
.single-product-section .art-hero__crumbs a:hover { color: var(--ink); }
.single-product-section .art-hero__crumbs .sep { color: var(--ink-3); }
.single-product__type {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 14px;
}
.single-product__byline { color: var(--ink-3); font-size: 14px; margin: -6px 0 14px; }
/* "À propos" content section — a clearly delimited block below the hero. */
.single-product__about {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--line);
}
.single-product__about .section-head { margin-bottom: 22px; }
.single-product__content { margin: 0 auto; }

/* Compact product hero — cover kept at its true ratio, bleeding below the box. */
.single-product__hero {
  padding-bottom: clamp(18px, 2.2vw, 28px);
  margin-bottom: clamp(48px, 6vw, 84px); /* room for the cover bleed */
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
}
.single-product__hero .shop__featured-art {
  min-height: 0;
  align-self: stretch;
  align-items: flex-end;
}
.single-product__hero .shop__featured-img {
  width: auto;                                   /* let width follow the cover's ratio */
  height: clamp(320px, 32vw, 480px);             /* fixed height → no distortion */
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 26px 46px -20px oklch(0.20 0.02 50 / 0.42);
  /* Bottom-anchored + bleed below the box, like the coffret stack. */
  transform: translateY(clamp(40px, 5vw, 72px));
  position: relative;
  z-index: 2;
}
/* Book/film hero: tighter right column so the (bottom-bleeding) cover fills it. */
.single-product__hero--book { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.single-product__hero .coffret-stack {
  min-height: clamp(200px, 22vw, 260px);
  transform: translateY(clamp(20px, 3vw, 44px));
}
@media (max-width: 880px) {
  .single-product__hero { grid-template-columns: 1fr; margin-bottom: clamp(44px, 12vw, 72px); }
  .single-product__hero .shop__featured-art { align-items: center; }
}
.single-product__related { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }

/* ---- Product trailer (bande-annonce) ---- */
.product-trailer { margin-top: clamp(48px, 6vw, 80px); }
.product-trailer__wrap { max-width: 860px; }
.product-trailer__embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  display: block;
}
.product-trailer__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 300ms ease;
}
.product-trailer__embed:hover .product-trailer__thumb { opacity: 0.75; }
.product-trailer__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}
.product-trailer__play-btn {
  width: 68px;
  height: 68px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding-left: 4px;
  transition: transform 200ms ease, background 200ms ease;
  box-shadow: 0 6px 24px oklch(0 0 0 / 0.35);
}
.product-trailer__embed:hover .product-trailer__play-btn {
  transform: scale(1.1);
  background: color-mix(in oklab, var(--primary) 82%, #fff);
}
.product-trailer__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: oklch(0 0 0 / 0.48);
  padding: 5px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.product-trailer__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Festival selections */
.product-selections { margin-top: clamp(24px, 3vw, 36px); max-width: 860px; }
.product-selections__count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.product-selections__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-selections__list li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 13px;
  transition: color 150ms, border-color 150ms;
}
.product-selections__list li:hover { color: var(--ink); border-color: var(--ink-3); }

/* WC add-to-cart form styling — quantity input + primary submit */
.single-product__actions form.cart {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0;
}
.single-product__actions form.cart .quantity {
  display: flex;
  align-items: center;
}
.single-product__actions form.cart .qty {
  width: 64px;
  height: 44px;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}
.single-product__actions form.cart .qty:focus { outline: none; border-color: var(--ink); }
.single-product__actions form.cart .single_add_to_cart_button,
.single-product__actions form.cart button[type="submit"] {
  background: var(--primary);
  color: var(--primary-ink);
  border: 0;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.single-product__actions form.cart .single_add_to_cart_button:hover,
.single-product__actions form.cart button[type="submit"]:hover {
  background: var(--ink);
}

/* Hide default WC product meta dump on the single product (SKU/category dump) */
.single-product .product_meta,
.single-product .woocommerce-product-details__short-description { display: none; }

/* Shop column ratio: give more to the featured card */
.shop__hero {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) !important;
}

/* Shop header */
.shop__head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(20px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
}
.shop__head-left .eyebrow { margin-bottom: 16px; }
.shop__title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.shop__title em { font-style: italic; color: var(--ink); }
.shop__head-right { text-align: right; }
.shop__tag-strong { font-size: 12px; letter-spacing: 0.18em; color: var(--ink-2); margin: 0 0 6px; }
.shop__tag { font-size: 13px; color: var(--ink-2); margin: 0; }
@media (max-width: 880px) {
  .shop__head { grid-template-columns: 1fr; align-items: start; }
  .shop__head-right { text-align: left; }
}

/* Badges (BEST · NEW · 17 SÉLECTIONS) */
.shop__badge {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* Featured coffret */
.shop__hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.shop__featured {
  position: relative;
  padding: clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) clamp(28px, 3vw, 44px);
  padding-top: clamp(68px, 5vw, 96px);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px);
  align-items: center;
}
.shop__badge--floating {
  position: absolute;
  top: clamp(20px, 2vw, 32px);
  left: clamp(28px, 3vw, 48px);
  z-index: 2;
}
.shop__featured-body { min-width: 0; }
.shop__featured-name {
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
}
.shop__featured-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.05;
  margin: 6px 0 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.shop__featured-blurb { color: var(--ink-2); max-width: 42ch; margin: 0 0 28px; line-height: 1.55; font-size: 15px; }
.shop__featured-price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: nowrap;
}
.shop__price-big { font-family: var(--font-display); font-size: clamp(36px, 3.4vw, 52px); line-height: 1; white-space: nowrap; }
.shop__price-big .price del { display: none; } /* hide WC's "regular price" strikethrough — note covers it */
.shop__price-note {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
  max-width: 34ch;
  flex-shrink: 1;
}
.shop__featured-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.shop__featured-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  margin: 0 -8px;
}
.single-product__about, .product-trailer, .product-gallery, .single-product__related { scroll-margin-top: 100px; }
.shop__featured-img { max-width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 14px 32px -16px oklch(0.20 0.02 50 / 0.30); }
.btn__cart-ico { margin-left: 6px; vertical-align: middle; }
@media (max-width: 880px) {
  .shop__featured { grid-template-columns: 1fr; padding-top: clamp(56px, 8vw, 80px); }
  .shop__featured-actions { flex-direction: row; flex-wrap: wrap; }
  .shop__featured-art { min-height: 320px; }
}

/* Right-column panels (gift + projection) */
.shop__panels { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 22px); }
.shop-panel {
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.shop-panel__img { width: 130px; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.shop-panel__body { flex: 1; min-width: 0; }
.shop-panel__eyebrow { font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-3); margin-bottom: 8px; }
.shop-panel__title { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.01em; }
.shop-panel__body-text { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; margin: 0 0 16px; }
.shop-panel--dark { background: var(--ink); color: var(--primary-ink); border-color: var(--ink); flex-direction: column; }
.shop-panel--dark .shop-panel__eyebrow { color: oklch(0.75 0.02 60); }
.shop-panel--dark .shop-panel__title { color: var(--primary-ink); }
.shop-panel--dark .shop-panel__body-text { color: oklch(0.82 0.02 70); }

/* Small button modifier */
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--dark { background: var(--ink); color: var(--primary-ink); border-color: var(--ink); }
.btn--dark:hover { background: var(--primary); border-color: var(--primary); }

/* Coffret stack — 2 books + film fanned out like a hand of cards */
.coffret-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coffret-stack img {
  position: absolute;
  width: 58%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 20px 40px -18px oklch(0.20 0.02 50 / 0.45), 0 4px 10px oklch(0.20 0.02 50 / 0.18);
  background: var(--paper);
  transition: transform 320ms ease;
}
.coffret-stack__back  { transform: rotate(-11deg) translate(-34%, -4%); z-index: 1; }
.coffret-stack__mid   { transform: rotate(-2deg)  translate(-4%, -10%); z-index: 2; }
.coffret-stack__front { transform: rotate(8deg)   translate(26%, 6%); z-index: 3; }
.coffret-stack:hover .coffret-stack__back  { transform: rotate(-14deg) translate(-42%, -4%); }
.coffret-stack:hover .coffret-stack__front { transform: rotate(11deg)  translate(34%, 6%); }

.shop__side { display: flex; flex-direction: column; gap: 16px; }
.shop__side .card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.shop__side .card .ph { aspect-ratio: 3/4; }
.shop__side .card h4 { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.05; }
.shop__side .card .price { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.shop__side .card .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.product {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms ease, transform 200ms ease;
}
.product:hover { border-color: var(--ink); transform: translateY(-2px);}
.product__ph {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  background-color: oklch(0.94 0.018 70);
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 32px);
}
.product__ph img { width: 100%; height: 100%; object-fit: contain; }
.product__badge { position: absolute; top: 16px; right: 16px; background: var(--paper); }
.product__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__type { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); }
.product__title { font-family: var(--font-display); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.1; margin: 4px 0 0; letter-spacing: -0.01em; }
.product__title a { color: inherit; }
.product__byline { font-size: 13.5px; color: var(--ink-3); margin: 2px 0 0; }
.product__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); }
.product__price { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.01em; color: var(--ink); }
.product__price ins, .product__price del { text-decoration: none; }
.product__price del { color: var(--ink-3); margin-right: 8px; font-size: 0.7em; }

/* Blog */
.blog__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(18px, 2vw, 28px); align-items: start; }
.post { display: flex; flex-direction: column; }
.post a { display: flex; flex-direction: column; height: 100%; }
.post .ph {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--radius);
}
.post .ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.post .meta .cat { color: var(--primary); }
.post h3 { font-family: var(--font-display); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.1; margin: 0 0 10px; letter-spacing: -0.01em; }
.post p { color: var(--ink-2); margin: 0; font-size: 14px; line-height: 1.55; }
.post.feature h3 { font-size: clamp(28px, 2.4vw, 38px); }
@media (max-width: 880px) {
  .blog__grid { grid-template-columns: 1fr; }
}

/* Gallery — uniform tiles. Asymmetric featuring: every 5th tile spans 2×2. */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery__grid .ph {
  border-radius: 8px;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background: var(--paper);
}
.gallery__grid .ph a {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery__grid .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 480ms ease;
}
.gallery__grid .ph:hover img { transform: scale(1.04); }
@media (max-width: 880px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Instagram */
.ig__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig__grid .ph { aspect-ratio: 1/1; border-radius: 6px; position: relative; }
.ig__grid .ph .meta {
  position: absolute; bottom: 8px; left: 8px;
  background: var(--ink); color: var(--bg);
  padding: 4px 8px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
}

/* Press */
.press {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.press__copy h3 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px); line-height: 1; margin: 16px 0 16px; }
.press__copy p { color: var(--ink-2); max-width: 52ch; margin: 0 0 22px; }
.press__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.press__item { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.press__item:nth-child(2n) { border-right: 0; }
.press__item:nth-last-child(-n+2) { border-bottom: 0; }
.press__item .src { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.press__item .q { font-family: var(--font-display); font-size: 20px; line-height: 1.15; margin: 8px 0 0; }

/* Newsletter */
.news {
  background: var(--ink); color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 72px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px);
  align-items: center;
  position: relative; overflow: hidden;
}
.news h3 { font-family: var(--font-display); font-size: clamp(36px, 4.8vw, 64px); margin: 14px 0 14px; line-height: 0.98; }
.news p { color: oklch(0.85 0.01 80); max-width: 46ch; margin: 0; }
.news .form { display: flex; gap: 8px; background: var(--bg); padding: 8px; border-radius: 999px; }
.news input { flex: 1; background: transparent; border: 0; outline: none; padding: 10px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink); }
.news input::placeholder { color: var(--ink-3); }
.news .btn { padding: 12px 20px; }
.news .tiny { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.7 0.01 80); margin-top: 12px; }
.news__status { font-family: var(--font-mono); font-size: 13px; margin: 12px 4px 0; color: oklch(0.85 0.01 80); }
.news__status.is-success { color: var(--primary); }
.news__status.is-error { color: var(--danger); }

/* Footer */
.footer { padding: 60px 0 32px; background: var(--ink); color: var(--bg); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid oklch(0.30 0.02 50); }
.footer__brand .logo { font-family: var(--font-display); font-size: 32px; }
.footer__brand .logo .num { color: var(--primary); }
/* Logo image variant — high specificity to beat WC's `.woocommerce img` reset. */
.footer .footer__brand .footer__logo-img,
.footer__brand .footer__logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 240px;
  max-height: 56px;
  object-fit: contain;
  filter: invert(1) brightness(1.6) saturate(0);
}
.footer__brand p { color: oklch(0.75 0.01 80); max-width: 36ch; margin: 14px 0 0; }
.footer h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: oklch(0.65 0.01 80); margin: 0 0 14px; font-weight: 500;}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--bg); opacity: 0.85; font-size: 14px; }
.footer ul a:hover { color: var(--primary); opacity: 1; }
.footer__bot { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.6 0.01 80); }
.footer__bot a { color: oklch(0.85 0.01 80); }
.footer__bot a:hover { color: var(--primary); }

/* Floats */
.float { position: absolute; }


/* Responsive */
/* ── Mobile drawer (always hidden unless open on mobile) ── */
.nav__drawer { display: none; }

/* ── Burger button ───────────────────────── */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px 4px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 180ms ease, background 120ms;
  transform-origin: center;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__burger { display: flex; }
  .nav__links { display: none; }
  .nav__icon.search-hide { display: none; }
  .nav__actions .btn span.cta-long { display: none; }
  .nav__actions .btn--rust { display: none; }

  /* Mobile drawer — sibling of <header>, escapes backdrop-filter context */
  .nav__drawer[aria-hidden="false"] {
    display: block;
    position: fixed;
    top: 65px;
    left: 0; right: 0; bottom: 0;
    background: oklch(0.965 0.018 78);
    z-index: 49;
    overflow-y: auto;
    padding: 24px var(--gutter) 48px;
    border-top: 2px solid var(--line);
  }
  .nav__drawer-links {
    list-style: none;
    margin: 0; padding: 0;
  }
  .nav__drawer-links li { border-bottom: 1px solid var(--line-2); }
  .nav__drawer-links li:last-child { border-bottom: 0; }
  .nav__drawer-links a {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 6vw, 36px);
    color: var(--ink);
    padding: 18px 0;
    letter-spacing: -0.01em;
    text-decoration: none;
  }
  .nav__drawer-links a:hover { color: var(--primary); }
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .family { grid-template-columns: 1fr; }
  .family__people { grid-template-columns: repeat(3, 1fr); }
  .family-hero { grid-template-columns: 1fr; }
  .family-roster { grid-template-columns: repeat(3, 1fr); }
  .family-roster .roster-card:nth-child(3) { border-right: 0; }
  .family-roster .roster-card:nth-child(n+4) { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
  .shop__hero, .press, .news, .footer__top { grid-template-columns: 1fr; }
  .trip-tabs { grid-template-columns: repeat(2, 1fr); }
  .trip-tab:nth-child(2) { border-right: 0; }
  .trip-tab:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trip-detail { grid-template-columns: 1fr; }
  .trip-detail__col--side { border-left: 0; border-top: 1px dashed var(--line); padding-left: 0; padding-top: 22px; }
  .shop__grid, .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid, .ig__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .lang-toggle { display: none; }
  .hero__media { grid-template-columns: 1fr; }
  .hero__media .ph.big { aspect-ratio: 4/5; grid-row: auto; }
  .family__people { grid-template-columns: repeat(2, 1fr); }
  .shop__grid, .blog__grid, .gallery__grid, .ig__grid { grid-template-columns: 1fr 1fr; }
  /* Hide side panels (gift + projection) — keep coffret full-width */
  .shop__panels { display: none; }
  .shop__hero { grid-template-columns: 1fr !important; }
  .press__list { grid-template-columns: 1fr; }
  .press__item { border-right: 0; }
  .trip-tabs { grid-template-columns: 1fr; }
  .trip-tab { border-right: 0; border-bottom: 1px solid var(--line); }
  .trip-tab:last-child { border-bottom: 0; }
  .routes__map--wide .map-svg { aspect-ratio: 4/3; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .news .form { flex-direction: column; border-radius: 14px; }
  .news input { padding: 14px; }
  /* Section header: stack title + meta link vertically */
  .section-head { grid-template-columns: 1fr; gap: 4px; }
  /* Tribu page */
  .family-roster { grid-template-columns: 1fr 1fr; }
  .roster-card { border-right: 0 !important; }
  .tribu-next__grid { grid-template-columns: 1fr; }
  /* Timeline readable on small screens */
  .timeline__item { flex-wrap: wrap; gap: 6px; }
}

/* ============================================
   Sticky coffret CTA — fixed bottom bar
   ============================================ */
.coffret-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px oklch(0.20 0.02 50 / 0.18);
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.coffret-sticky.is-visible { transform: translateY(0); }

.coffret-sticky__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  padding-block: clamp(12px, 1.6vw, 18px);
}
.coffret-sticky__copy { min-width: 0; }
.coffret-sticky__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 2px;
}
.coffret-sticky__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.coffret-sticky__title em {
  font-style: italic;
  color: var(--primary);
  margin-left: 4px;
}
.coffret-sticky__sub {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 4px;
}
.coffret-sticky__price {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 26px);
  color: var(--ink);
  white-space: nowrap;
}
.coffret-sticky__price del {
  color: var(--ink-3);
  font-size: 0.6em;
  margin-right: 8px;
  text-decoration: line-through;
}
.coffret-sticky__price ins { text-decoration: none; }
.coffret-sticky__cta { white-space: nowrap; }
.coffret-sticky__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: 0;
  color: var(--ink-3);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.coffret-sticky__close:hover { color: var(--ink); }
@media (max-width: 880px) {
  .coffret-sticky__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "copy close"
      "price cta";
    gap: 10px 14px;
  }
  .coffret-sticky__copy { grid-area: copy; }
  .coffret-sticky__price { grid-area: price; font-size: 22px; }
  .coffret-sticky__cta { grid-area: cta; padding: 10px 18px; font-size: 14px; }
  .coffret-sticky__close { grid-area: close; position: static; align-self: start; justify-self: end; }
  .coffret-sticky__title { font-size: 15px; }
  .coffret-sticky__sub { display: none; }
}

/* ============================================
   Instagram strip (homepage)
   ============================================ */
.ig-strip__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(20px, 2.5vw, 32px);
  margin-bottom: clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line);
}
.ig-strip__copy .eyebrow { margin-bottom: 14px; }
.ig-strip__title {
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
.ig-strip__title em {
  font-style: italic;
  color: var(--primary);
}
.ig-strip__cta { white-space: nowrap; }
.ig-strip__ico { vertical-align: middle; margin-right: 4px; }
@media (max-width: 880px) {
  .ig-strip__head { grid-template-columns: 1fr; }
  .ig-strip__cta { justify-self: start; }
}

/* IG tiles: like-count overlay */
.ig-tile { position: relative; overflow: hidden; }
.ig-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 480ms ease;
}
.ig-tile:hover img { transform: scale(1.05); }
.ig-tile__likes {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  background: rgba(20, 18, 14, 0.72);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* ============================================
   Press & pro
   ============================================ */
.press-pro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.press-pro__copy .eyebrow { margin-bottom: 18px; }
.press-pro__title {
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.02;
  margin: 0 0 22px;
  text-wrap: balance;
}
.press-pro__title em {
  font-style: italic;
  color: var(--secondary, var(--primary));
}
.press-pro__body {
  max-width: 52ch;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.press-pro__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.press-pro__stats {
  display: flex;
  gap: clamp(28px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.press-pro__stat { display: flex; flex-direction: column; gap: 8px; }
.press-pro__stat-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.press-pro__stat-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1;
  color: var(--ink);
}

.press-pro__quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.press-quote {
  display: block;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--paper);
  color: inherit;
}
.press-quote:hover { background: color-mix(in oklab, var(--paper) 88%, var(--ink) 4%); }
.press-quote__src {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.press-quote__sep { opacity: 0.5; }
.press-quote__text {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.35;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.005em;
}
@media (max-width: 880px) {
  .press-pro__grid { grid-template-columns: 1fr; }
  .press-pro__quotes { grid-template-columns: 1fr; }
}

/* ============================================
   Smash Balloon Instagram feed — match our tile design
   ============================================ */
.ig__grid--live {
  /* SB renders its own wrapper inside; flatten it. */
  display: block;
}
.ig__grid--live .sb_instagram_header,
.ig__grid--live .sbi_follow_btn,
.ig__grid--live #sbi_load { display: none !important; }
.ig__grid--live #sb_instagram { padding: 0 !important; }
.ig__grid--live .sbi_items_wrap,
.ig__grid--live #sbi_images {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 10px !important;
}
.ig__grid--live .sbi_item {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  position: relative;
}
.ig__grid--live .sbi_item:nth-child(n+7) { display: none !important; }
.ig__grid--live .sbi_photo_wrap,
.ig__grid--live .sbi_link {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}
.ig__grid--live .sbi_photo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform 480ms ease;
}
.ig__grid--live .sbi_item:hover .sbi_photo { transform: scale(1.05); }
.ig__grid--live .sbi_info,
.ig__grid--live .sbi_hover_top,
.ig__grid--live .sbi_hover_bottom { background: rgba(20, 18, 14, 0.72) !important; }
@media (max-width: 880px) {
  .ig__grid--live .sbi_items_wrap,
  .ig__grid--live #sbi_images { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ============================================================
   La Tribu page (template-tribu.php)
============================================================ */
.tribu-page .tribu__title { font-size: clamp(40px, 5.2vw, 72px); }

/* Stats band (moved off the homepage hero) — sits in its own section, so no
   extra top margin from the hero context. */
.tribu-stats .hero__stats { margin-top: 0; }

/* Detailed bios */
.tribu-bios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.tribu-bio {
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.tribu-bio__name { font-size: clamp(26px, 2.6vw, 34px); line-height: 1; margin: 0 0 8px; }
.tribu-bio__role {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 16px;
}
.tribu-bio__photo {
  margin: calc(-1 * clamp(20px, 2.4vw, 30px));
  margin-bottom: clamp(16px, 2vw, 24px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.tribu-bio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.tribu-bio__photo--kids img { object-position: center 20%; }
.tribu-bio p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.tribu-bio p:last-child { margin-bottom: 0; }

/* Une vie dehors */
.life-outside__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.life-outside__title { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; margin: 14px 0 20px; text-wrap: balance; }
.life-outside__copy p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0 0 14px; max-width: 54ch; }
.life-outside__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
}

/* Adventures timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline__item {
  display: grid;
  grid-template-columns: 80px 88px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.timeline__year { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--primary); letter-spacing: 0.06em; }
.timeline__badge {
  justify-self: start;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.timeline__text { color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* What's next */
.tribu-next__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.tribu-next__card {
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}
.tribu-next__when { font-size: 11px; letter-spacing: 0.16em; color: var(--primary); }
.tribu-next__text { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; margin: 12px 0 0; }

@media (max-width: 880px) {
  .tribu-bios__grid { grid-template-columns: 1fr; }
  .life-outside__grid { grid-template-columns: 1fr; }
  .tribu-next__grid { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 64px 1fr; row-gap: 6px; }
  .timeline__badge { grid-column: 2; }
  .timeline__text { grid-column: 1 / -1; }
}

/* ============================================================
   Médias — "On parle de nous" (template-medias.php)
============================================================ */
.medias-hero__title { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; margin: 12px 0 16px; text-wrap: balance; }
.medias-hero__lead { color: var(--ink-2); font-size: 18px; max-width: 60ch; }

/* Type chip — colour per media type */
.media-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--primary-ink);
  background: var(--ink);
  vertical-align: middle;
}
.media-chip--podcast    { background: var(--primary); }
.media-chip--radio      { background: var(--secondary); }
.media-chip--tv         { background: var(--accent); color: var(--ink); }
.media-chip--presse     { background: var(--sun); color: var(--ink); }
.media-chip--video      { background: var(--rust); }
.media-chip--conference { background: var(--ink); }

/* Featured item */
.media-feature {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.media-feature__cover {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-2);
}
.media-feature__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-feature__tag {
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.media-feature__outlet { font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); margin: 12px 0 6px; }
.media-feature__title { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; margin: 0 0 14px; }
.media-feature__excerpt { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0 0 22px; max-width: 56ch; }
.media-feature .media-card__when { margin-left: 10px; color: var(--ink-3); font-size: 11px; letter-spacing: 0.1em; }

/* Grid of remaining items */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.media-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.media-card__cover {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--line-2);
  overflow: hidden;
}
.media-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.media-card:hover .media-card__cover img { transform: scale(1.04); }
.media-card__ph { display: grid; place-items: center; height: 100%; font-size: 40px; opacity: 0.5; }
.media-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.media-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.media-card__when { color: var(--ink-3); font-size: 11px; letter-spacing: 0.08em; }
.media-card__outlet { font-size: 10.5px; letter-spacing: 0.12em; color: var(--ink-3); margin-bottom: 4px; }
.media-card__title { font-size: 21px; line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.01em; }
.media-card__excerpt { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.media-card__cta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}
.media-card__cta:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .media-feature { grid-template-columns: 1fr; }
  .media-feature__cover { max-width: 260px; }
}

/* Product gallery — "Feuilleter" page-preview strip on single products. */
.product-gallery { margin-top: clamp(40px, 5vw, 72px); }
.product-gallery .section-head { margin-bottom: 20px; }
.product-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  align-items: start;
}
.product-gallery__item {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.product-gallery__item:hover { transform: translateY(-3px); box-shadow: 0 10px 28px oklch(0 0 0 / 0.12); }
.product-gallery__item img { display: block; width: 100%; height: auto; }

/* Lightbox — JS image zoom for [data-lightbox] links (product galleries). */
html.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(16px, 4vw, 56px);
  background: oklch(0.18 0.02 60 / 0.82);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 180ms ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__stage { margin: 0; display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.6);
  background: var(--paper);
  animation: lightbox-pop 200ms ease;
}
@keyframes lightbox-pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  color: var(--paper, #fff);
  background: oklch(1 0 0 / 0.12);
  border-radius: 999px;
  transition: background 150ms ease;
}
.lightbox__btn:hover { background: oklch(1 0 0 / 0.24); }
.lightbox__nav { width: clamp(40px, 5vw, 52px); height: clamp(40px, 5vw, 52px); font-size: 28px; line-height: 1; }
.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  width: 44px; height: 44px;
  font-size: 26px; line-height: 1;
}
.lightbox__btn[hidden] { display: none; }
@media (max-width: 640px) {
  .lightbox__nav { position: absolute; bottom: 18px; }
  .lightbox__prev { left: 18px; }
  .lightbox__next { right: 18px; }
}
