@font-face {
    font-family: "Nightingale Display";
    src: url("font/chinese_rocks_rg-webfont.woff2") format("woff2"),
         url("font/chinese_rocks_rg-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --night: #070606;
    --night-soft: #0d0a09;
    --wood: #17100d;
    --wood-raised: #211612;
    --blood: #6f2e29;
    --blood-dark: #321514;
    --ember: #d85f43;
    --ember-hot: #ef7856;
    --brass: #a98659;
    --brass-pale: #d2b17f;
    --paper: #eee0c7;
    --paper-dim: #b9aa93;
    --smoke: #7f7468;
    --line: rgba(169, 134, 89, .34);
    --line-soft: rgba(169, 134, 89, .15);
    --display: "Nightingale Display", Impact, Georgia, serif;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, Arial, sans-serif;
    --page: min(1240px, calc(100vw - 64px));
    --header: 76px;
    --section-space: clamp(5.5rem, 9vw, 9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--paper);
    background:
        radial-gradient(circle at 14% 18%, rgba(111, 46, 41, .14), transparent 30rem),
        radial-gradient(circle at 86% 66%, rgba(169, 134, 89, .07), transparent 34rem),
        linear-gradient(180deg, #070606, #0b0807 48%, #070606);
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.66;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: .1;
    background-image:
        repeating-radial-gradient(circle at 24% 17%, transparent 0, rgba(255,255,255,.045) .7px, transparent 1.3px, transparent 4px),
        linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.014) 50%, transparent 50.2%);
    mix-blend-mode: soft-light;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--night); background: var(--ember-hot); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    transform: translateY(-160%);
    padding: .75rem 1rem;
    color: var(--night);
    background: var(--paper);
}
.skip-link:focus { transform: none; }

/* Navigation */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    min-height: var(--header);
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.8rem);
    padding: 8px max(22px, 4vw);
    border-bottom: 1px solid transparent;
    transition: min-height .3s ease, background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header::after {
    content: "";
    position: absolute;
    left: max(22px, 4vw);
    right: max(22px, 4vw);
    bottom: -1px;
    height: 1px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, var(--brass), transparent);
    transition: opacity .3s ease;
}
.site-header.is-scrolled {
    min-height: 64px;
    background: rgba(7, 6, 6, .93);
    border-bottom-color: rgba(169,134,89,.18);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(0,0,0,.38);
}
.site-header.is-scrolled::after { opacity: .6; }
.brand { width: 170px; position: relative; z-index: 2; }
.brand img { width: 100%; filter: drop-shadow(0 8px 14px rgba(0,0,0,.8)); }
.main-navigation { display: flex; justify-content: center; gap: clamp(.8rem, 1.6vw, 1.8rem); }
.main-navigation a {
    position: relative;
    padding: .35rem 0;
    color: rgba(238,224,199,.69);
    font-family: var(--sans);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.main-navigation a::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -.28rem;
    width: 0;
    height: 1px;
    background: var(--ember);
    transform: translateX(-50%);
    transition: width .2s ease;
}
.main-navigation a:hover { color: var(--paper); }
.main-navigation a:hover::before { width: 28px; }
.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .74rem 1.2rem .66rem;
    border: 1px solid var(--line);
    font-family: var(--display);
    font-size: .8rem;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.header-cta { min-height: 40px; background: linear-gradient(145deg, rgba(111,46,41,.82), rgba(25,12,10,.92)); border-color: rgba(216,95,67,.52); }
.header-cta:hover,
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: rgba(216,95,67,.66); background: linear-gradient(145deg, #74322b, #25100e 78%); box-shadow: inset 0 -2px 0 rgba(239,120,86,.24), 0 .8rem 2rem rgba(0,0,0,.3); }
.button-primary:hover { border-color: var(--ember-hot); background: linear-gradient(145deg, #86382f, #2b110f 78%); }
.button-ghost { color: var(--paper-dim); border-color: rgba(210,177,127,.44); background: rgba(7,6,6,.38); backdrop-filter: blur(8px); }
.button-ghost:hover { color: var(--paper); border-color: var(--brass-pale); background: rgba(30,20,16,.72); }
.nav-toggle { display: none; padding: .45rem; border: 0; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; width: 27px; height: 1px; margin: 6px; background: var(--paper); }

/* Contrôle audio */
.sound-toggle {
    position: fixed;
    left: 1.3rem;
    bottom: 1.3rem;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    min-height: 40px;
    padding: .5rem .8rem;
    border: 1px solid rgba(169,134,89,.35);
    color: rgba(238,224,199,.65);
    background: rgba(7,6,6,.84);
    backdrop-filter: blur(10px);
    font-family: var(--sans);
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
}
.sound-toggle[aria-pressed="true"], .sound-toggle:hover { color: var(--paper); border-color: rgba(216,95,67,.66); }
.sound-bars { height: 16px; display: flex; align-items: end; gap: 2px; }
.sound-bars i { width: 2px; height: 4px; background: var(--ember); transform-origin: bottom; }
.sound-toggle[aria-pressed="true"] .sound-bars i { animation: soundbar .72s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.25s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.48s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(4) { animation-delay: -.12s; }
@keyframes soundbar { to { height: 16px; } }

/* Typographie commune */
.eyebrow {
    margin: 0 0 .85rem;
    color: var(--brass-pale);
    font-family: var(--sans);
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .22em;
    line-height: 1.5;
    text-transform: uppercase;
}
.hero h1,
.manifesto-heading h2,
.era-heading h2,
.living-world-copy h2,
.historical-pact-copy h2,
.section-heading h2,
.final-call h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: uppercase;
}
.manifesto-heading h2,
.era-heading h2,
.living-world-copy h2,
.historical-pact-copy h2,
.section-heading h2 { font-size: clamp(2rem, 3.45vw, 3.2rem); }
.registry-panel {
    border: 1px solid var(--line);
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0, rgba(255,255,255,.012) 1px, transparent 1px, transparent 24px),
        linear-gradient(145deg, rgba(28,19,15,.93), rgba(10,8,7,.97));
    box-shadow: 0 2rem 5rem rgba(0,0,0,.36), inset 0 0 0 8px rgba(169,134,89,.025);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
}
.hero-video, .hero-shade, .hero-grain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { z-index: -5; object-fit: cover; object-position: center; filter: saturate(.55) contrast(1.13) brightness(.6) sepia(.14); transform: scale(1.025); }
.hero-shade {
    z-index: -4;
    background:
        radial-gradient(ellipse at 67% 44%, rgba(7,6,6,.02), rgba(7,6,6,.16) 35%, rgba(7,6,6,.72) 78%),
        linear-gradient(90deg, rgba(7,6,6,.98) 0%, rgba(7,6,6,.83) 32%, rgba(7,6,6,.16) 70%, rgba(7,6,6,.64) 100%),
        linear-gradient(180deg, rgba(7,6,6,.5), transparent 25%, rgba(7,6,6,.12) 62%, #070606 100%);
}
.hero-grain {
    z-index: -3;
    opacity: .16;
    pointer-events: none;
    background-image: repeating-radial-gradient(circle at 30% 30%, transparent 0, rgba(255,255,255,.05) 1px, transparent 2px, transparent 4px);
    mix-blend-mode: overlay;
}
.hero::before {
    content: "NIGHTINGALE  ·  REGISTRE DES VOYAGEURS  ·  1885";
    position: absolute;
    right: max(18px, 2.8vw);
    top: 50%;
    color: rgba(238,224,199,.28);
    font-family: var(--sans);
    font-size: .54rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
}
.hero-content {
    width: min(740px, calc(100vw - 48px));
    margin-left: max(24px, calc((100vw - 1240px) / 2));
    padding: calc(var(--header) + 4rem) 0 7rem;
    text-align: left;
}
.hero-logo { width: min(350px, 70vw); margin: 0 0 1rem; filter: drop-shadow(0 14px 22px rgba(0,0,0,.84)); }
.hero h1 { max-width: 640px; font-size: clamp(2.05rem, 3.85vw, 3.8rem); text-shadow: 0 .35rem 1.4rem rgba(0,0,0,.92); }
.hero h1 span { color: var(--ember-hot); }
.hero-lead { max-width: 680px; margin: 1.15rem 0 0; color: rgba(238,224,199,.8); font-size: clamp(1rem, 1.15vw, 1.1rem); }
.hero-lead strong { color: var(--paper); font-weight: 400; box-shadow: inset 0 -1px 0 rgba(216,95,67,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero-scroll {
    position: absolute;
    left: max(24px, calc((100vw - 1240px) / 2));
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    color: rgba(238,224,199,.44);
    font-family: var(--sans);
    font-size: .54rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.hero-scroll i { width: 52px; height: 1px; background: linear-gradient(90deg, var(--ember), transparent); }

/* Registre des trois promesses */
.vision-ledger {
    position: relative;
    z-index: 5;
    width: var(--page);
    margin: -2.2rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        repeating-linear-gradient(90deg, rgba(169,134,89,.018) 0, rgba(169,134,89,.018) 1px, transparent 1px, transparent 26px),
        rgba(10,8,7,.96);
    box-shadow: 0 2rem 5rem rgba(0,0,0,.45);
}
.vision-ledger::before, .vision-ledger::after {
    content: "";
    position: absolute;
    top: -6px;
    bottom: -6px;
    width: 1px;
    background: linear-gradient(transparent, var(--brass), transparent);
}
.vision-ledger::before { left: 14px; }
.vision-ledger::after { right: 14px; }
.vision-ledger article { position: relative; min-height: 178px; padding: 1.6rem 1.85rem 1.75rem; border-right: 1px dashed rgba(169,134,89,.22); }
.vision-ledger article:last-child { border-right: 0; }
.vision-ledger article > span { color: var(--ember); font-family: var(--display); font-size: .95rem; }
.vision-ledger strong { display: block; margin: .35rem 0 .45rem; font-size: 1rem; line-height: 1.3; }
.vision-ledger p { margin: 0; color: var(--paper-dim); font-size: .9rem; line-height: 1.58; }

/* Les deux serveurs */
.experience-manifesto { width: var(--page); margin: 0 auto; padding: var(--section-space) 0; }
.manifesto-heading { position: relative; max-width: 830px; margin: 0 0 clamp(3.5rem, 7vw, 6.5rem); padding-left: clamp(0px, 5vw, 70px); }
.manifesto-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35rem;
    width: 32px;
    height: 1px;
    background: var(--ember);
}
.manifesto-heading h2 span { color: var(--ember-hot); }
.manifesto-heading > p:last-child { max-width: 760px; margin: 1.15rem 0 0; color: var(--paper-dim); font-size: 1.04rem; }
.mode-story {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    min-height: 500px;
    margin: 0 0 3rem;
    border: 1px solid var(--line-soft);
    background: linear-gradient(145deg, rgba(27,18,14,.86), rgba(8,7,6,.94));
    box-shadow: 0 2rem 5rem rgba(0,0,0,.3);
    overflow: hidden;
}
.mode-story::before {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: 4;
    pointer-events: none;
    border: 1px solid rgba(210,177,127,.08);
}
.mode-voice { grid-template-columns: minmax(340px, .92fr) minmax(0, 1.08fr); }
.mode-voice .mode-visual { order: 2; }
.mode-visual { min-height: 500px; overflow: hidden; background: var(--wood); }
.mode-visual img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; object-position: center; filter: saturate(.66) contrast(1.05) brightness(.74) sepia(.12); transition: transform .8s ease, filter .8s ease; }
.mode-written .mode-visual img { object-position: 60% center; }
.mode-voice .mode-visual img { object-position: 52% center; }
.mode-story:hover .mode-visual img { transform: scale(1.035); filter: saturate(.82) contrast(1.07) brightness(.8) sepia(.06); }
.mode-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 5vw, 5rem); }
.mode-copy h3 {
    margin: 0 0 1rem;
    font-family: var(--display);
    font-size: clamp(1.75rem, 2.75vw, 2.65rem);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.mode-copy > p:not(.eyebrow) { margin: 0; color: var(--paper-dim); }
.mode-copy ul { display: grid; gap: .65rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.mode-copy li { position: relative; padding-left: 1.35rem; color: rgba(238,224,199,.84); font-size: .92rem; }
.mode-copy li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--ember); }
.timeline-declaration { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: clamp(1.8rem, 4vw, 4rem); margin-top: 4rem; padding: clamp(2rem, 4vw, 3.5rem); }
.timeline-mark { display: grid; place-items: center; min-height: 120px; border-right: 1px dashed var(--line); color: var(--ember-hot); font-family: var(--display); font-size: 1.65rem; letter-spacing: .06em; }
.timeline-declaration h3 { margin: 0 0 .65rem; font-family: var(--display); font-size: clamp(1.65rem, 2.6vw, 2.4rem); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.timeline-declaration p:last-child { max-width: 820px; margin: 0; color: var(--paper-dim); }

/* Territoires */
.era-section {
    position: relative;
    padding: var(--section-space) 0;
    background:
        linear-gradient(180deg, rgba(7,6,6,.94), rgba(12,8,7,.8) 48%, rgba(7,6,6,.96)),
        url("../../vid/SChillnight.png") center/cover fixed;
}
.era-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(169,134,89,.025) 80px); }
.era-heading, .era-grid { position: relative; width: var(--page); margin-left: auto; margin-right: auto; }
.era-heading { max-width: 760px; margin-bottom: 3rem; text-align: center; }
.era-heading p:last-child { max-width: 660px; margin: 1rem auto 0; color: var(--paper-dim); }
.era-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.3rem, 2.7vw, 2.5rem); align-items: stretch; }
.era-card {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-rows: clamp(250px, 29vw, 390px) 1fr;
    border: 1px solid var(--line);
    background: rgba(13,10,9,.95);
    box-shadow: 0 2.5rem 6rem rgba(0,0,0,.42);
    overflow: hidden;
}
.era-card::after { content: ""; position: absolute; inset: 9px; z-index: 3; pointer-events: none; border: 1px solid rgba(210,177,127,.08); }
.era-card-media { min-height: 0; overflow: hidden; }
.era-card-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(1.05) brightness(.76); transition: transform .7s ease, filter .7s ease; }
.era-card:first-child .era-card-media img { object-position: center 62%; }
.era-card:last-child .era-card-media img { object-position: center 48%; }
.era-card:hover .era-card-media img { transform: scale(1.035); filter: saturate(.82) contrast(1.08) brightness(.82); }
.era-card-copy { display: flex; flex-direction: column; min-height: 260px; padding: clamp(2rem, 4vw, 3.3rem); }
.era-card-copy > span { color: var(--brass-pale); font-family: var(--sans); font-size: .58rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.era-card h3 { margin: .4rem 0 .8rem; font-family: var(--display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; line-height: 1; text-transform: uppercase; }
.era-card p { margin: 0; color: var(--paper-dim); }

/* Monde vivant */
.living-world {
    width: var(--page);
    margin: 0 auto;
    padding: var(--section-space) 0;
    display: grid;
    grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
    align-items: stretch;
    gap: clamp(2rem, 5vw, 5rem);
}
.living-world-visual {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--wood);
    box-shadow: 0 2rem 5rem rgba(0,0,0,.38);
}
.living-world-visual::before { content: ""; position: absolute; inset: 9px; z-index: 3; pointer-events: none; border: 1px solid rgba(210,177,127,.1); }
.living-world-visual img {
    position: absolute;
    inset: -34px 0;
    width: 100%;
    height: calc(100% + 68px);
    object-fit: cover;
    object-position: 46% center;
    transform: translateY(var(--parallax-y, 0));
    filter: saturate(.62) contrast(1.1) brightness(.68) sepia(.14);
    transition: filter .5s ease;
}
.living-world-visual:hover img { filter: saturate(.78) contrast(1.08) brightness(.76) sepia(.06); }
.living-world-visual > div { position: absolute; z-index: 4; left: 2rem; right: 2rem; bottom: 2rem; padding: 1.3rem 1.45rem; border-left: 2px solid var(--ember); background: rgba(7,6,6,.8); backdrop-filter: blur(8px); }
.living-world-visual span { display: block; color: var(--brass-pale); font-family: var(--sans); font-size: .58rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.living-world-visual strong { display: block; margin-top: .25rem; font-family: var(--display); font-size: 1.45rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.living-world-copy { padding: 1rem 0; }
.living-world-copy h2 { max-width: 620px; }
.living-world-intro { max-width: 680px; margin: 1rem 0 1.7rem; color: var(--paper-dim); }
.systems-list { display: grid; }
.systems-list article { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; padding: 1.35rem 0; border-top: 1px dashed rgba(169,134,89,.24); }
.systems-list article:last-child { border-bottom: 1px dashed rgba(169,134,89,.24); }
.systems-list article > span { color: var(--ember); font-family: var(--display); font-size: .85rem; }
.systems-list h3 { margin: 0 0 .35rem; font-size: 1rem; }
.systems-list p { margin: 0; color: var(--paper-dim); font-size: .9rem; line-height: 1.58; }

/* Pacte historique et place des joueurs */
.historical-pact {
    width: var(--page);
    margin: 0 auto;
    padding: 0 0 var(--section-space);
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
}
.historical-pact-copy { padding-top: 1.2rem; }
.historical-pact-copy h2 { max-width: 670px; }
.historical-pact-copy > p:not(.eyebrow) { max-width: 730px; color: var(--paper-dim); }
.historical-pact-copy blockquote { position: relative; margin: 2rem 0 0; padding: 1.3rem 0 1.3rem 1.8rem; border-left: 1px solid var(--ember); color: var(--paper); font-size: 1.08rem; font-style: italic; }
.historical-pact-rules { position: relative; padding: clamp(2rem, 4vw, 3rem); transform: rotate(.35deg); }
.historical-pact-rules > span { display: inline-block; padding-bottom: .55rem; border-bottom: 1px solid var(--ember); color: var(--brass-pale); font-family: var(--display); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.historical-pact-rules ol { display: grid; gap: 1rem; margin: 1.6rem 0 0; padding: 0; counter-reset: pact; list-style: none; }
.historical-pact-rules li { position: relative; padding-left: 2.25rem; color: var(--paper-dim); font-size: .92rem; }
.historical-pact-rules li::before { counter-increment: pact; content: counter(pact, decimal-leading-zero); position: absolute; left: 0; top: .05rem; color: var(--ember); font-family: var(--display); font-size: .72rem; }

/* Gazette */
.news-section { width: var(--page); margin: 0 auto; padding: 0 0 var(--section-space); }
.section-heading-row { display: grid; grid-template-columns: 1fr minmax(260px, 430px); align-items: end; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading-row > p { margin: 0 0 .35rem; color: var(--paper-dim); }
.news-grid { display: grid; grid-template-columns: repeat(var(--article-count, 3), minmax(0, 1fr)); gap: 1.35rem; align-items: stretch; }
.news-card { min-width: 0; display: grid; grid-template-rows: 220px 1fr; border: 1px solid var(--line-soft); background: linear-gradient(160deg, rgba(27,18,14,.9), rgba(9,7,6,.97)); box-shadow: 0 1.8rem 4rem rgba(0,0,0,.28); overflow: hidden; }
.news-cover { position: relative; min-height: 0; overflow: hidden; background: var(--wood); }
.news-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(7,6,6,.72)); pointer-events: none; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.68) contrast(1.05) brightness(.74); transition: transform .6s ease, filter .6s ease; }
.news-card:hover .news-cover img { transform: scale(1.04); filter: saturate(.84) contrast(1.08) brightness(.8); }
.news-category { position: absolute; z-index: 2; left: 1rem; bottom: .9rem; padding: .42rem .58rem; border: 1px solid rgba(210,177,127,.32); color: var(--paper); background: rgba(7,6,6,.78); font-family: var(--sans); font-size: .52rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.news-card-copy { display: flex; flex-direction: column; padding: 1.45rem 1.5rem 1.55rem; }
.news-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--smoke); font-family: var(--sans); font-size: .54rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.news-card h3 { margin: .8rem 0 .6rem; font-family: var(--display); font-size: clamp(1.35rem, 1.8vw, 1.75rem); font-weight: 400; line-height: 1.06; letter-spacing: .02em; text-transform: uppercase; }
.news-card h3 a:hover { color: var(--ember-hot); }
.news-card-copy > p { margin: 0; color: var(--paper-dim); font-size: .9rem; }
.news-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.news-tags span { padding: .28rem .45rem; border: 1px solid rgba(169,134,89,.2); color: var(--smoke); font-family: var(--sans); font-size: .48rem; letter-spacing: .1em; text-transform: uppercase; }
.news-link { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; margin-top: auto; padding-top: 1.35rem; color: var(--brass-pale); font-family: var(--sans); font-size: .58rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.news-link span { color: var(--ember); transition: transform .2s ease; }
.news-link:hover span { transform: translateX(4px); }
.news-empty { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); padding: clamp(2rem, 4vw, 3.4rem); }
.news-empty-number { display: grid; place-items: center; min-height: 96px; border-right: 1px dashed var(--line); color: var(--ember); font-family: var(--display); font-size: 1.35rem; letter-spacing: .06em; }
.news-empty h3 { margin: 0 0 .45rem; font-family: var(--display); font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.news-empty p:last-child { margin: 0; color: var(--paper-dim); }

/* Appel final et pied de page */
.final-call {
    position: relative;
    min-height: 610px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7,6,6,.97), rgba(7,6,6,.72) 48%, rgba(7,6,6,.42)),
        url("../../vid/SChillnight.png") center/cover no-repeat;
}
.final-call::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #070606, transparent 20%, transparent 74%, #070606); }
.final-call-grain { position: absolute; inset: 0; opacity: .14; background-image: repeating-radial-gradient(circle at 30% 30%, transparent 0, rgba(255,255,255,.05) 1px, transparent 2px, transparent 4px); mix-blend-mode: overlay; }
.final-call-copy { position: relative; width: var(--page); margin: 0 auto; }
.final-call h2 { max-width: 650px; font-size: clamp(2.25rem, 4vw, 3.8rem); }
.final-call-copy > p:not(.eyebrow) { max-width: 620px; color: var(--paper-dim); font-size: 1.03rem; }
.site-footer { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 1.5rem; padding: 2rem 0 2.5rem; border-top: 1px solid var(--line-soft); color: var(--smoke); font-family: var(--sans); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand { width: 170px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 1rem; }
.site-footer a:hover { color: var(--paper); }
.site-footer small { grid-column: 1 / -1; text-align: center; color: rgba(127,116,104,.66); }

/* Apparition */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
    :root { --page: min(100% - 40px, 1040px); }
    .site-header { grid-template-columns: 160px 1fr auto; }
    .brand { width: 155px; }
    .main-navigation { gap: .9rem; }
    .main-navigation a { font-size: .58rem; letter-spacing: .11em; }
    .mode-story, .mode-voice { grid-template-columns: 1fr 1fr; }
    .living-world { grid-template-columns: .85fr 1.15fr; gap: 2.5rem; }
    .living-world-visual { min-height: 680px; }
    .historical-pact { grid-template-columns: 1fr .85fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
    :root { --header: 68px; }
    .site-header { grid-template-columns: 1fr auto; padding: 8px 20px; background: rgba(7,6,6,.88); backdrop-filter: blur(12px); }
    .brand { width: 155px; }
    .nav-toggle { display: block; z-index: 1002; }
    .main-navigation {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: none;
        place-content: center;
        gap: 1.35rem;
        padding: 5rem 2rem;
        background: rgba(7,6,6,.97);
        text-align: center;
    }
    .main-navigation.is-open { display: grid; }
    .main-navigation a { font-family: var(--display); font-size: 1.45rem; letter-spacing: .06em; color: var(--paper); }
    .header-cta { display: none; }
    .hero::before { display: none; }
    .hero-content { margin-left: 24px; }
    .vision-ledger { grid-template-columns: 1fr; margin-top: -1rem; }
    .vision-ledger article { min-height: auto; border-right: 0; border-bottom: 1px dashed rgba(169,134,89,.22); }
    .vision-ledger article:last-child { border-bottom: 0; }
    .mode-story, .mode-voice { grid-template-columns: 1fr; }
    .mode-voice .mode-visual { order: 0; }
    .mode-visual, .mode-visual img { min-height: 390px; }
    .timeline-declaration { grid-template-columns: 110px 1fr; }
    .era-grid { grid-template-columns: 1fr; }
    .era-card { grid-template-rows: clamp(260px, 55vw, 400px) 1fr; }
    .era-card-copy { min-height: auto; }
    .living-world { grid-template-columns: 1fr; }
    .living-world-visual { min-height: min(72vw, 600px); }
    .historical-pact { grid-template-columns: 1fr; }
    .historical-pact-rules { transform: none; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-empty { grid-template-columns: 90px 1fr; }
    .news-empty .button { grid-column: 2; justify-self: start; }
    .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .site-footer p { text-align: center; }
    .site-footer nav { justify-content: center; }
}

@media (max-width: 620px) {
    :root { --page: calc(100% - 28px); --section-space: 4.8rem; }
    body { font-size: 15px; }
    .sound-toggle { left: 10px; bottom: 10px; }
    .sound-toggle [data-sound-label] { display: none; }
    .hero { min-height: 820px; }
    .hero-content { width: calc(100% - 36px); margin-left: 18px; padding-top: 8rem; }
    .hero-logo { width: min(300px, 82vw); }
    .hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-actions { display: grid; }
    .hero-actions .button { width: 100%; }
    .hero-scroll { left: 18px; }
    .manifesto-heading { padding-left: 0; }
    .manifesto-heading::before { display: none; }
    .manifesto-heading h2,
    .era-heading h2,
    .living-world-copy h2,
    .historical-pact-copy h2,
    .section-heading h2 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
    .mode-story { min-height: 0; }
    .mode-visual, .mode-visual img { min-height: 300px; }
    .mode-copy { padding: 2rem 1.45rem 2.3rem; }
    .mode-copy h3 { font-size: clamp(1.55rem, 8vw, 2.15rem); }
    .timeline-declaration { grid-template-columns: 1fr; }
    .timeline-mark { min-height: 58px; border-right: 0; border-bottom: 1px dashed var(--line); }
    .era-card { grid-template-rows: 245px 1fr; }
    .era-card-copy { padding: 1.65rem 1.45rem 2rem; }
    .era-card h3 { font-size: 2.1rem; }
    .living-world-visual { min-height: 430px; }
    .living-world-visual > div { left: 1rem; right: 1rem; bottom: 1rem; }
    .systems-list article { grid-template-columns: 38px 1fr; }
    .section-heading-row { grid-template-columns: 1fr; gap: .8rem; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card { grid-template-rows: 205px 1fr; }
    .news-empty { grid-template-columns: 1fr; }
    .news-empty-number { min-height: 54px; justify-content: start; border-right: 0; border-bottom: 1px dashed var(--line); }
    .news-empty .button { grid-column: 1; }
    .final-call { min-height: 570px; }
    .final-call h2 { font-size: clamp(2rem, 10vw, 3rem); }
    .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .living-world-visual img { transform: none !important; }
}
