/* Lock Sight — magazine sombre : photos en grand, filets cuivre, données techniques en chasse fixe. */
:root {
  color-scheme: dark;
  --bg: #0B0C0D;
  --surface: #121315;
  --surface-2: #1A1B1E;
  --line: #26282B;
  --line-strong: #3D4044;
  --text: #F2EFE8;
  --muted: #BDB9B0;
  --subtle: #9C988F;
  --accent: #C8814F;
  --accent-strong: #E09A66;
  --accent-deep: #8A5330;
  --accent-ink: #0B0C0D;
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --fs: 1;
}
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(112.5% * var(--fs)); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.text-lg { --fs: 1.16; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-strong); }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; overflow-wrap: break-word; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -80px; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip:focus { top: 12px; color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typographic roles ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; flex: 0 0 40px; height: 1px; background: var(--accent); }
.eyebrow.plain::before { display: none; }
.h-display {
  font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.4vw, 4.3rem); line-height: 1; letter-spacing: -0.01em;
}
.h-section {
  font-weight: 800; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.08;
}
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 28px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font-weight: 700; font-size: 0.86rem; letter-spacing: 0.13em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
.btn svg, .more svg { transition: transform .3s; }
.btn:hover svg, .more:hover svg { transform: translateX(5px); }
.more {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-weight: 700; font-size: 0.84rem; letter-spacing: 0.13em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; transition: padding .3s; }
.site-header.is-scrolled .header-in { padding-block: 10px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.logo svg { flex: none; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.logo:hover svg { transform: rotate(90deg); }
.logo span { font-weight: 800; font-stretch: 122%; font-size: 1.02rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 6px 30px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.13em; text-transform: uppercase;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent-strong); }
.nav a.nav-cta { padding: 0 20px; border: 1px solid var(--accent); color: var(--accent-strong); }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { background: var(--accent); color: var(--accent-ink); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.tool {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--line-strong); background: transparent; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.04em;
}
.tool:hover { border-color: var(--accent); color: var(--accent-strong); }
.tool[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.burger { display: none; flex-direction: column; gap: 5px; }
.burger i { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1040px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { min-height: 56px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.nav-cta { margin-top: 16px; justify-content: center; border-bottom: 1px solid var(--accent); }
}

/* ---------- Ticker ---------- */
.ticker { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.8rem; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 18px 0 var(--gutter); background: var(--accent); color: var(--accent-ink); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.ticker-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); animation: pulse 1.6s ease-in-out infinite; }
.ticker-track { flex: 1; min-width: 0; overflow: hidden; }
.ticker-run { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-run, .ticker:focus-within .ticker-run { animation-play-state: paused; }
.ticker-run a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 26px; white-space: nowrap; color: var(--muted); }
.ticker-run a b { color: var(--accent); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.ticker-run a:hover { color: var(--text); }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- Hero ---------- */
.hero { scroll-margin-top: 80px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border-bottom: 1px solid var(--line); }
.hero-text { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: clamp(40px, 7vw, 104px) var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.hero-text .h-display span { display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.sight { position: relative; overflow: hidden; background: var(--surface); }
.hero-fig { height: clamp(380px, 54vw, 740px); }
.sight > img { width: 100%; height: 100%; object-fit: cover; }
.hero-fig > img { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.2%, -1%); } }
.corner { position: absolute; width: 34px; height: 34px; border: 0 solid var(--accent); pointer-events: none; }
.corner.tl { left: 18px; top: 18px; border-left-width: 2px; border-top-width: 2px; }
.corner.tr { right: 18px; top: 18px; border-right-width: 2px; border-top-width: 2px; }
.corner.bl { left: 18px; bottom: 18px; border-left-width: 2px; border-bottom-width: 2px; }
.corner.br { right: 18px; bottom: 18px; border-right-width: 2px; border-bottom-width: 2px; }
.reticle { position: absolute; left: 60%; top: 45%; width: 132px; height: 132px; transform: translate(-50%, -50%); pointer-events: none; color: var(--accent-strong); transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), color .3s; }
.reticle svg { width: 100%; height: 100%; display: block; overflow: visible; }
.reticle .ring { animation: breathe 3.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.sight.is-locked .reticle { width: 96px; height: 96px; color: #FFFFFF; }
.sight.is-locked .reticle .ring { animation: none; }
@keyframes breathe { 50% { transform: scale(.9); opacity: .6; } }
.sight-read { position: absolute; right: 30px; top: 28px; padding: 6px 10px; background: color-mix(in srgb, var(--bg) 78%, transparent); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--text); font-variant-numeric: tabular-nums; pointer-events: none; }
.sight.is-locked .sight-read { background: var(--accent); color: var(--accent-ink); }
.hero-fig figcaption { position: absolute; left: 0; bottom: 0; max-width: min(480px, 88%); padding: 20px 26px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.hero-fig figcaption a { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-fig { order: -1; height: clamp(320px, 86vw, 520px); }
  .hero-text { padding-left: var(--gutter); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section + .section { border-top: 1px solid var(--line); }
.section.tight { padding-block: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

/* ---------- Spec figures (fiches chiffrées) ---------- */
.specband { padding-block: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--surface); }
.specband-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-bottom: 22px; }
.specgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.spec { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; min-width: 0; padding: clamp(16px, 2.2vw, 26px); background: var(--bg); }
.spec dt { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); }
.spec dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-weight: 800; font-stretch: 108%; font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.spec dd small { font-family: var(--mono); font-weight: 500; font-size: 0.9rem; color: var(--accent); letter-spacing: 0.04em; }
@media (max-width: 760px) { .specgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 36px); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-media { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media img { transform: scale(1.06); }
.card-index { position: absolute; left: 0; top: 0; padding: 8px 12px; background: var(--bg); font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; color: var(--accent); }
.card-meta { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.card h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-weight: 700; line-height: 1.2; }
.card h3 a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .45s; padding-bottom: 3px; }
.card:hover h3 a { background-size: 100% 1px; color: var(--text); }
.card p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: 5px 10px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.03em; color: var(--text); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards.two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- News ---------- */
.news-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 88px); }
.news-split > div:first-child { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.news-list { list-style: none; border-top: 1px solid var(--line-strong); }
.news-list > li { border-bottom: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 104px 104px minmax(0, 1fr) auto; align-items: baseline; gap: 6px 24px; padding: 22px 0; transition: padding .3s, background .3s; }
a.news-row:hover { padding-inline: 14px; background: var(--surface); color: var(--text); }
.news-date { font-family: var(--mono); font-size: 0.8rem; color: var(--subtle); font-variant-numeric: tabular-nums; }
.news-cat { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.news-title { font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 700; line-height: 1.3; }
.news-src { font-family: var(--mono); font-size: 0.76rem; color: var(--subtle); white-space: nowrap; }
.news-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.news-body p { color: var(--muted); max-width: 68ch; }
.news-body .ext { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--mono); font-size: 0.8rem; color: var(--accent-strong); }
.news-body .ext:hover { color: var(--text); }
@media (max-width: 900px) {
  .news-split { grid-template-columns: minmax(0, 1fr); }
  .news-row { grid-template-columns: auto minmax(0, 1fr); }
  .news-row .news-title, .news-row .news-body, .news-row .news-src { grid-column: 1 / -1; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.pillars.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--accent); min-width: 0; }
.pillar h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.pillar p { color: var(--muted); }
.pillar .step { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent); }
@media (max-width: 1040px) { .pillars.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pillars, .pillars.four { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 88px); align-items: center; }
.cta-band .txt { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-band .sight { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page head ---------- */
.page-head { padding-block: clamp(44px, 7vw, 96px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-family: var(--mono); font-size: 0.78rem; color: var(--subtle); list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); background: transparent; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--accent); color: var(--accent-strong); }
.filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.empty { padding: 28px 0; color: var(--muted); }

/* ---------- Article ---------- */
.progress { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--subtle); }
.article-hero { height: clamp(300px, 52vw, 680px); }
.article-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(32px, 6vw, 88px); align-items: start; }
.prose { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.prose > p { max-width: 66ch; font-size: 1.08rem; color: var(--text); }
.prose > p.first::first-letter { float: left; margin: 6px 12px 0 0; font-weight: 800; font-stretch: 112%; font-size: 3.6rem; line-height: .8; color: var(--accent); }
.prose h2 { margin-top: 26px; font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.12; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 66ch; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 16px; height: 1px; background: var(--accent); }
.verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.verdict > div { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.4vw, 28px); background: var(--bg); min-width: 0; }
.verdict h3 { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.verdict.one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { .verdict { grid-template-columns: minmax(0, 1fr); } }
.note { padding: 18px 22px; border-left: 2px solid var(--accent); background: var(--surface); color: var(--muted); max-width: 66ch; }
.spectable { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); border: 1px solid var(--line-strong); background: var(--surface); }
.spectable h2 { padding: 16px 20px; border-bottom: 1px solid var(--line-strong); font-family: var(--mono); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.spectable dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.spectable dl > div:last-child { border-bottom: 0; }
.spectable dt { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--subtle); }
.spectable dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.spectable .src { padding: 14px 20px; border-top: 1px solid var(--line-strong); font-size: 0.86rem; color: var(--subtle); }
@media (max-width: 960px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .spectable { position: static; } }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gal { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--surface); overflow: hidden; aspect-ratio: 4 / 5; cursor: zoom-in; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.gal:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .gallery.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery { gap: 8px; } }
.next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding-block: clamp(32px, 5vw, 64px); }
.next > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.next strong { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 1.05; }
.next svg { flex: none; color: var(--accent); transition: transform .4s; }
.next:hover svg { transform: translateX(12px); }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 7, 8, .96); color: var(--text); }
.lightbox::backdrop { background: rgba(6, 7, 8, .9); }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox .stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 64px 16px 8px; }
.lightbox .stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) 20px; }
.lightbox .cap { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); min-width: 0; }
.lightbox .ctl { display: flex; gap: 8px; }
.lightbox .close { position: absolute; right: 16px; top: 16px; }

/* ---------- Contact / misc ---------- */
.contact-card { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line-strong); background: var(--surface); min-width: 0; }
.contact-card h2, .contact-card h3 { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.mail { font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.5rem); overflow-wrap: anywhere; user-select: all; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.legal { display: flex; flex-direction: column; gap: 18px; max-width: 72ch; }
.legal h2 { margin-top: 22px; font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 1.25rem; line-height: 1.15; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.todo { color: var(--accent-strong); font-family: var(--mono); font-size: 0.92em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 36px clamp(28px, 5vw, 72px); padding-block: clamp(40px, 6vw, 72px); }
.footer-in > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer-in h2 { font-family: var(--mono); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.footer-in p { color: var(--subtle); max-width: 46ch; font-size: 0.94rem; }
.footer-in ul { list-style: none; display: flex; flex-direction: column; }
.footer-in li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); }
.footer-in li a:hover { color: var(--accent-strong); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.74rem; color: var(--subtle); }
@media (max-width: 760px) { .footer-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Motion ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
.reveal-ready .stagger > .reveal:nth-child(2) { --d: .09s; }
.reveal-ready .stagger > .reveal:nth-child(3) { --d: .18s; }
.reveal-ready .stagger > .reveal:nth-child(4) { --d: .27s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track { overflow-x: auto; }
}

/* ---------- Parcours d'accueil (scènes photo révélées au défilement) ---------- */
.journey { position: relative; border-bottom: 1px solid var(--line); }
.j-canvas, .j-nav, .j-cue, .j-skip, .j-scenes, .j-shade { display: none; }
.j-panels { display: grid; gap: clamp(36px, 5vw, 64px); padding-block: clamp(44px, 7vw, 96px); }
.j-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 640px; }
.j-panel h2 { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; }
.j-status { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.journey.is-live { height: 540vh; height: 540svh; }
.journey.is-live .j-stage { position: sticky; top: var(--hh, 77px); height: calc(100vh - var(--hh, 77px)); height: calc(100svh - var(--hh, 77px)); overflow: hidden; background: var(--bg); }
.journey.is-live .j-scenes { display: block; position: absolute; inset: 0; }
.j-scene { position: absolute; inset: 0; overflow: hidden; visibility: hidden; --t: 0; }
.j-scene.on { visibility: visible; }
.j-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); transform-origin: var(--origin, 50% 50%); transform: scale(calc(1.16 - var(--t) * 0.13)); filter: brightness(.84) saturate(.9) contrast(1.05); will-change: transform; }
.j-scene:nth-child(1) {
  --m1: 0%; --m2: 0%; --m3: 0%; --m4: 0%; --m5: 0%;
  -webkit-mask-image: linear-gradient(#000 var(--m1), transparent 0), linear-gradient(#000 var(--m2), transparent 0), linear-gradient(#000 var(--m3), transparent 0), linear-gradient(#000 var(--m4), transparent 0), linear-gradient(#000 var(--m5), transparent 0);
  mask-image: linear-gradient(#000 var(--m1), transparent 0), linear-gradient(#000 var(--m2), transparent 0), linear-gradient(#000 var(--m3), transparent 0), linear-gradient(#000 var(--m4), transparent 0), linear-gradient(#000 var(--m5), transparent 0);
  -webkit-mask-size: 20.2% 100%; mask-size: 20.2% 100%;
  -webkit-mask-position: 0 0, 25% 0, 50% 0, 75% 0, 100% 0; mask-position: 0 0, 25% 0, 50% 0, 75% 0, 100% 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.j-scene:nth-child(1).full { -webkit-mask-image: none; mask-image: none; }
.j-scene:nth-child(2) { clip-path: polygon(0 0, var(--a, 0%) 0, var(--b, 0%) 100%, 0 100%); }
.j-scene:nth-child(3) { clip-path: circle(var(--rad, 0px) at var(--fx, 62%) var(--fy, 48%)); }
.j-scene:nth-child(2).full, .j-scene:nth-child(3).full { clip-path: none; }
.j-inset { position: absolute; right: clamp(150px, 15vw, 270px); bottom: 9%; width: min(29vw, 420px); margin: 0; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); opacity: clamp(0, calc((var(--t) - 0.2) * 7), 1); transform: translate3d(0, calc((0.6 - var(--t)) * 120px), 0); }
.j-inset .ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.j-inset img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(calc(1.2 - var(--t) * 0.18)); }
.j-inset figcaption { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 14px; font-size: 0.88rem; line-height: 1.4; color: var(--muted); }
.j-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.j-credit { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.05em; white-space: nowrap; color: rgba(242, 239, 232, .78); text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.journey.is-live .j-shade { display: block; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(11, 12, 13, .95) 0%, rgba(11, 12, 13, .86) 27%, rgba(11, 12, 13, .3) 56%, rgba(11, 12, 13, .1) 100%), linear-gradient(0deg, rgba(11, 12, 13, .7) 0%, rgba(11, 12, 13, 0) 26%); }
.journey.has-film .j-scenes { display: none; }
.journey.has-film .j-shade { z-index: 1; }   /* le voile passe au-dessus de la séquence pour garder les textes lisibles */
.journey.has-film .j-panels { z-index: 2; }
.journey.is-live .j-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.journey.is-live .j-panels { position: absolute; inset: 0; display: block; padding-block: 0; pointer-events: none; }
.journey.is-live .j-panel { position: absolute; left: var(--gutter); top: 50%; width: min(540px, 34%); max-width: none; opacity: var(--o, 0); transform: translateY(calc(-50% + var(--ty, 0px))); visibility: hidden; }
.journey.is-live .j-panel.is-active { visibility: visible; pointer-events: auto; }
.journey.is-live .j-panel:first-child { width: min(600px, 40%); }
.journey.is-live .j-panel .lede { color: var(--text); }
.journey.is-live .j-nav { display: flex; flex-direction: column; gap: 4px; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; z-index: 2; }
.j-nav button { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); text-shadow: 0 1px 8px rgba(0, 0, 0, .95); opacity: .78; transition: color .3s, opacity .3s; }
.j-nav button::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .3s; }
.j-nav button:hover { opacity: 1; }
.j-nav button[aria-current="step"] { color: var(--accent-strong); opacity: 1; }
.j-nav button[aria-current="step"]::after { width: 44px; }
.journey.is-live .j-cue { display: flex; align-items: center; gap: 14px; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.j-cue i { display: block; width: 1px; height: 34px; background: var(--accent); transform-origin: top; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(34px); opacity: 0; } }
.journey.is-live .j-skip { display: inline-flex; align-items: center; min-height: 44px; position: absolute; right: var(--gutter); bottom: 6px; z-index: 2; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); text-shadow: 0 1px 8px rgba(0, 0, 0, .95); }
.j-skip:hover { color: var(--accent-strong); }
@media (max-width: 760px) {
  .j-bg { object-position: var(--posm, 50% 50%); }
  .journey.is-live .j-shade { background: linear-gradient(0deg, rgba(11, 12, 13, .97) 0%, rgba(11, 12, 13, .92) 42%, rgba(11, 12, 13, .2) 70%, rgba(11, 12, 13, .45) 100%); }
  .journey.is-live .j-panel, .journey.is-live .j-panel:first-child { left: 0; right: 0; top: auto; bottom: 0; width: auto; padding: 22px var(--gutter) 64px; gap: 12px; transform: translateY(var(--ty, 0px)); }
  .journey.is-live .j-panel .lede { font-size: 1rem; }
  .j-inset { right: var(--gutter); bottom: auto; top: 58px; width: 46vw; }
  .j-inset figcaption, .j-credit { display: none; }
  .journey.is-live .j-nav { flex-direction: row; right: auto; left: var(--gutter); top: 10px; transform: none; gap: 14px; }
  .j-nav button { font-size: 0; gap: 0; min-width: 34px; justify-content: flex-start; }
  .j-nav button::after { width: 26px; }
  .j-nav button[aria-current="step"]::after { width: 34px; }
  .journey.is-live .j-cue { display: none; }
}
