/* ==========================================================================
   Valérie Otero, trompettiste de jazz
   Design tokens
   ========================================================================== */
:root {
  --ink: #0c0b0a;
  --ink-2: #16140f;
  --ivory: #f4f3f0;
  --white: #ffffff;
  --brass: #c9a35a;
  --brass-deep: #8a6a2c;
  --brass-soft: rgba(201, 163, 90, 0.16);

  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --sec-y: clamp(72px, 11vw, 136px);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

/* Each section carries its own resolved palette */
.t-dark {
  --bg: var(--ink);
  --bg-2: var(--ink-2);
  --fg: #f2efe9;
  --muted: #9d988f;
  --accent: var(--brass);
  --rule: rgba(255, 255, 255, 0.10);
  --rule-strong: rgba(255, 255, 255, 0.22);
  --card: #141210;
  --field: rgba(255, 255, 255, 0.04);
}
.t-light {
  --bg: var(--ivory);
  --bg-2: var(--white);
  --fg: #17150f;
  --muted: #6b665d;
  --accent: var(--brass-deep);
  --rule: rgba(20, 16, 8, 0.10);
  --rule-strong: rgba(20, 16, 8, 0.24);
  --card: var(--white);
  --field: var(--white);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: #f2efe9;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
}
img, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent, var(--brass));
  outline-offset: 3px;
  border-radius: 4px;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { background: var(--bg); color: var(--fg); padding: var(--sec-y) 0; }
.sec + .sec.t-dark.t-dark { border-top: 1px solid var(--rule); }

/* Section header */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.8; }
h2.title { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.03em; }
h2.title em, h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); margin-top: 22px; max-width: 62ch; }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 1em; }
.prose a, .link { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover, .link:hover { text-decoration-color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-brass { background: var(--brass); color: #16130b; }
.btn-brass:hover { background: #d6b26a; }
.btn-ink { background: var(--fg); color: var(--bg); }
.btn-ghost { border-color: var(--rule-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); }
.btn svg { width: 16px; height: 16px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 54px;
  background: rgba(12, 11, 10, 0.62);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f2efe9;
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; display: inline-flex; align-items: baseline; gap: 8px; }
.brand span { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: #b7b1a6; font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(242, 239, 233, 0.78); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { height: 30px; padding: 0 14px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 40px; height: 40px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 0 auto; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span + span { margin-top: 5px; }
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 54px; left: 0; right: 0; padding: 20px var(--gutter) 28px;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: rgba(12, 11, 10, 0.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nav-links a { font-size: 17px; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-toggle { display: block; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
  .nav-cta { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #f2efe9; height: clamp(560px, 82vh, 880px); min-height: 560px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 28%; transform: scale(1.02); animation: heroDrift 14s var(--ease) forwards; }
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.94) 0%, rgba(12, 11, 10, 0.82) 34%, rgba(12, 11, 10, 0.48) 56%, rgba(12, 11, 10, 0.06) 80%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.35) 0%, rgba(12, 11, 10, 0) 28%, rgba(12, 11, 10, 0.35) 62%, var(--ink) 100%);
}
.hero .wrap { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 7vw, 88px); padding-top: 100px; }
.hero h1 { font-size: clamp(40px, 9.4vw, 132px); line-height: 0.94; letter-spacing: -0.04em; font-weight: 600; }
.hero .sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1; color: #e6dfd0; margin-top: 12px; letter-spacing: -0.01em; }
.hero .lead { color: #d9d3c7; max-width: 44ch; margin-top: 26px; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45); }
.hero h1, .hero .sub { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-next {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 7vw, 88px);
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(20, 18, 14, 0.55); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 13px; color: #e6dfd0; transition: border-color 0.25s;
}
.hero-next:hover { border-color: rgba(255, 255, 255, 0.35); }
.hero-next i { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(201, 163, 90, 0.18); }
.hero-next b { font-weight: 600; }
@media (max-width: 1100px) { .hero-next { position: static; margin-top: 28px; align-self: flex-start; } }
@media (max-width: 600px) {
  .hero::before { background: linear-gradient(180deg, rgba(12, 11, 10, 0.30) 0%, rgba(12, 11, 10, 0.10) 26%, rgba(12, 11, 10, 0.78) 52%, rgba(12, 11, 10, 0.94) 72%, var(--ink) 100%); }
  .hero-img { object-position: 60% 0%; }
  .hero h1 { font-size: 12vw; } .hero-next { white-space: normal; border-radius: 16px; align-items: flex-start; } .hero-next i { margin-top: 5px; flex: none; } }

/* ==========================================================================
   Feature (text + big image)
   ========================================================================== */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature.rev { grid-template-columns: 7fr 5fr; }
.feature.rev > .feature-media { order: -1; }
.feature-media { position: relative; }
.feature-media img { width: 100%; height: auto; border-radius: var(--r-lg); }
.t-light .feature-media img { box-shadow: 0 30px 80px -30px rgba(20, 16, 8, 0.35); }
.caption { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.caption::before { content: ""; width: 14px; height: 1px; background: var(--rule-strong); align-self: center; flex: none; }
@media (max-width: 860px) { .feature, .feature.rev { grid-template-columns: 1fr; } .feature.rev > .feature-media { order: 0; } }

/* Formations */
.forms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--rule); }
.forms li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--rule); }
.forms li + li { border-left: 1px solid var(--rule); padding-left: 24px; }
.forms h3 { font-size: 19px; letter-spacing: -0.015em; }
.forms .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; display: block; margin-bottom: 10px; }
.forms p { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 720px) { .forms { grid-template-columns: 1fr; } .forms li + li { border-left: 0; padding-left: 0; } }

.quartet { margin-top: clamp(56px, 8vw, 96px); }
.quartet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.quartet-head h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.025em; }
.quartet-head h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.people figure { margin: 0; }
.people img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); }
.people figcaption { margin-top: 14px; }
.people b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.people span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
@media (max-width: 720px) { .people { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* ==========================================================================
   Agenda
   ========================================================================== */
.agenda { border-top: 1px solid var(--rule); }
.event { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); position: relative; }
.event .date { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 18px; letter-spacing: -0.01em; line-height: 1.1; }
.event .date small { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.event .what b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.event .what span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.event .dept { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 6px 10px; }
.event.next .date { color: var(--accent); }
.event.next::before { content: ""; position: absolute; left: -22px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); box-shadow: 0 0 0 4px var(--brass-soft); }
@media (max-width: 600px) {
  .event { grid-template-columns: 80px 1fr; gap: 14px; }
  .event .dept { display: none; }
  .event .date { font-size: 16px; }
  .event.next::before { left: -14px; }
}
.agenda-foot { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; margin-top: 32px; }
details.past { margin-top: 40px; }
details.past summary { list-style: none; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 20px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -0.005em; color: var(--fg); cursor: pointer; user-select: none; transition: border-color 0.25s, background-color 0.25s; }
details.past summary:hover { border-color: var(--fg); }
details.past summary::-webkit-details-marker { display: none; }
details.past .count { font-family: var(--font-mono); font-size: 12px; line-height: 1; padding: 6px 9px; border-radius: 999px; background: var(--brass-soft); color: var(--accent); }
details.past .chev { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: transform 0.35s var(--ease), color 0.25s; }
details.past .chev svg { width: 16px; height: 16px; }
details.past summary:hover .chev { color: var(--fg); }
details.past[open] .chev { transform: rotate(180deg); }
details.past > ul { margin-top: 22px; border-top: 1px solid var(--rule); }
details.past .event { padding: 14px 0; opacity: 0.72; }
details.past .event .date { font-size: 15px; }
details.past .event .what b { font-size: 15px; font-weight: 500; }

/* ==========================================================================
   Musée · Note block
   ========================================================================== */
.pull { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -0.01em; color: var(--fg); margin: 28px 0 18px; text-wrap: pretty; }
.pull-src { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.note { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--rule); align-items: start; }
.note h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }
.note h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.note .stat { display: flex; gap: 40px; margin-top: 28px; }
.note .stat b { display: block; font-family: var(--font-mono); font-size: 28px; letter-spacing: -0.02em; font-weight: 500; }
.note .stat span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 860px) { .note { grid-template-columns: 1fr; } }

/* ==========================================================================
   Créations
   ========================================================================== */
.banner { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--rule); min-height: 440px; display: grid; align-items: end; }
.banner canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner-body { position: relative; padding: clamp(28px, 5vw, 56px); max-width: 640px; background: linear-gradient(180deg, rgba(12, 11, 10, 0) 0%, rgba(12, 11, 10, 0.75) 40%); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.banner h3 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.035em; line-height: 1; }
.banner h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.banner p { color: var(--muted); margin-top: 16px; max-width: 54ch; }
.banner .actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

.wospock { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.wospock h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.05; }
.wospock h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.wospock .prose { margin-top: 18px; color: var(--muted); font-size: 16px; }
.wospock .lineup { margin-top: 20px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.wospock .lineup b { color: var(--fg); font-weight: 500; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.videos figure { margin: 0; }
.videos video, .videos .poster { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); background: #000; border: 1px solid var(--rule); }
.videos figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.videos .poster { position: relative; display: block; overflow: hidden; }
.videos .poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.videos .poster::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230c0b0a' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 24px no-repeat; }
@media (max-width: 860px) { .wospock { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .videos { grid-template-columns: 1fr; } }

.works { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--rule); }
.works li { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.works .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.works h4 { font-size: 20px; letter-spacing: -0.02em; }
.works p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 62ch; }
.works .when { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.works li.with-media { grid-template-columns: 180px 1fr 300px; align-items: start; }
.works .work-links { margin-top: 12px; font-size: 14px; }
.works .work-links a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; }
.works .work-media { margin: 0; }
.works .work-media img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--rule); }
@media (max-width: 860px) { .works li.with-media { grid-template-columns: 180px 1fr; } .works .work-media { grid-column: 2; max-width: 360px; } }
@media (max-width: 720px) { .works li, .works li.with-media { grid-template-columns: 1fr; gap: 6px; } .works .work-media { grid-column: auto; margin-top: 10px; } }

/* ==========================================================================
   Presse
   ========================================================================== */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--rule); }
.quotes blockquote { margin: 0; padding: 32px 0 36px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 18px; }
.quotes q { quotes: "« " " »"; font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.01em; text-wrap: pretty; }
.quotes footer { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.quotes cite { font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.quotes footer a { font-size: 14px; font-weight: 500; color: var(--accent); }
@media (max-width: 720px) { .quotes { grid-template-columns: 1fr; } }
.docs { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.doc { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--rule); transition: transform 0.35s var(--ease), border-color 0.25s; }
.doc:hover { transform: translateY(-2px); border-color: var(--rule-strong); }
.doc img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.4); }
.doc b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; line-height: 1.3; }
.doc span { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ==========================================================================
   Parcours
   ========================================================================== */
.bio { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.bio-media { position: sticky; top: 90px; }
.bio-media img { width: 100%; border-radius: var(--r-lg); }
.bio-media .caption { margin-top: 12px; }
.bio h3 { font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 44px 0 14px; }
.bio h3:first-child { margin-top: 0; }
.bio .prose { color: #cfc9be; }
.bio .prose strong { color: var(--fg); font-weight: 600; }
@media (max-width: 860px) { .bio { grid-template-columns: 1fr; } .bio-media { position: static; max-width: 420px; } }

.aside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.aside article { padding: 24px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.aside h4 { font-size: 18px; letter-spacing: -0.02em; }
.aside p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.aside .go { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.aside .go a { font-size: 14px; font-weight: 500; color: var(--accent); }
.aside .badge { height: 34px; width: auto; display: inline-block; }
.aside img.thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-top: 6px; }
.aside .go { align-items: flex-end; }
.site-thumb { display: inline-flex; flex-direction: column; gap: 6px; transition: transform 0.35s var(--ease); }
.site-thumb:hover { transform: translateY(-2px); }
.site-thumb img { width: 136px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--rule-strong); background: #fff; transition: border-color 0.25s; }
.site-thumb:hover img { border-color: var(--fg); }
.site-thumb span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--accent); }
@media (max-width: 860px) { .aside { grid-template-columns: 1fr; } }

.footnotes { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); line-height: 1.6; }
.footnotes p + p { margin-top: 6px; }

.strip { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); filter: saturate(0.92); }
.strip figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.strip figcaption span { font-family: var(--font-mono); font-size: 12px; }
@media (max-width: 720px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-info dl { margin: 0; display: grid; gap: 22px; }
.contact-info dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-info dd { margin: 6px 0 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.015em; }
.contact-info dd small { display: block; font-size: 15px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 14px; font-weight: 500; transition: border-color 0.25s, background-color 0.25s; }
.socials a:hover { border-color: var(--fg); }
.socials svg { width: 16px; height: 16px; }
form.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--field);
  border: 1px solid var(--rule-strong); border-radius: 12px; padding: 13px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--brass-soft); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 52ch; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brass-deep); cursor: pointer; }
.consent span { flex: 1 1 auto; min-width: 0; }
.consent a { white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.mt-26 { margin-top: 26px; }
.field.check label { color: var(--fg); }
.field.check input { max-width: 260px; font-family: var(--font-mono); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { form.form { grid-template-columns: 1fr; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: #f2efe9; color: #0c0b0a; font-size: 14px; font-weight: 500; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); transition: opacity 0.3s, transform 0.4s var(--ease); z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #f3d9d2; color: #4a1a10; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: #9d988f; padding: 48px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.footer .brand { color: #f2efe9; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a:hover { color: #f2efe9; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding-top: 120px; }
.legal .prose { color: #cfc9be; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 28px; }
.legal h2 { font-size: 20px; letter-spacing: -0.015em; margin: 40px 0 12px; color: var(--fg); }
.legal .prose p + p { margin-top: 0.8em; }
.legal .prose ul { list-style: disc; padding-left: 1.2em; margin: 0.6em 0; }
.legal .prose li + li { margin-top: 4px; }
.legal .updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; display: block; }

/* ==========================================================================
   Reveal on scroll (only with JS; hero stays static)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
  html.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
  html.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
}
