@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 {
    --ink: #060505;
    --ink-soft: #0e0b0a;
    --panel: #100c0b;
    --panel-raised: #17110f;
    --burgundy: #542722;
    --burgundy-dark: #281311;
    --coral: #ef625a;
    --coral-dark: #8a3431;
    --ivory: #f0e5cf;
    --muted: #b7aa96;
    --dim: #7e7468;
    --brass: #9d8060;
    --brass-light: #c2a178;
    --line: rgba(157, 128, 96, .36);
    --line-soft: rgba(157, 128, 96, .17);
    --shadow: rgba(0, 0, 0, .72);
    --display: "Nightingale Display", Impact, Georgia, serif;
    --text: Georgia, "Times New Roman", serif;
    --container: min(1220px, calc(100vw - 56px));
    --header-height: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
    margin: 0;
    color: var(--ivory);
    background: var(--ink);
    font-family: var(--text);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: .11;
    background-image: repeating-radial-gradient(circle at 20% 20%, transparent 0, rgba(255,255,255,.06) .7px, transparent 1.4px, transparent 4px);
    mix-blend-mode: soft-light;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: var(--ink); background: var(--coral); }

.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(--ink);
    background: var(--ivory);
}
.skip-link:focus { transform: none; }

/* En-tête */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 10px max(24px, 4vw);
    border-bottom: 1px solid transparent;
    transition: min-height .35s ease, background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled,
.site-header-solid {
    min-height: 70px;
    background: rgba(6, 5, 5, .94);
    border-bottom-color: rgba(157, 128, 96, .3);
    backdrop-filter: blur(14px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .35);
}
.brand { position: relative; z-index: 2; width: 184px; }
.brand img { width: 100%; filter: drop-shadow(0 8px 14px rgba(0,0,0,.8)); }
.main-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 2.1vw, 2.5rem);
}
.main-navigation a {
    position: relative;
    color: rgba(240,229,207,.72);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: color .2s ease;
}
.main-navigation a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -.7rem;
    width: 0;
    height: 1px;
    background: var(--coral);
    transform: translateX(-50%);
    transition: width .22s ease;
}
.main-navigation a:hover { color: var(--ivory); }
.main-navigation a:hover::after { width: 32px; }
.header-cta {
    padding: .72rem 1rem .65rem;
    border: 1px solid rgba(239,98,90,.58);
    color: var(--ivory);
    background: linear-gradient(145deg, rgba(84,39,34,.86), rgba(22,11,11,.88));
    box-shadow: inset 0 -2px 0 rgba(239,98,90,.22);
    font-family: var(--display);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.nav-toggle { display: none; padding: .5rem; border: 0; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; width: 28px; height: 1px; margin: 6px; background: var(--ivory); }

/* Son */
.sound-toggle {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    min-height: 42px;
    padding: .55rem .85rem;
    border: 1px solid rgba(157,128,96,.38);
    color: rgba(240,229,207,.72);
    background: rgba(6,5,5,.84);
    backdrop-filter: blur(10px);
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] { color: var(--ivory); border-color: rgba(239,98,90,.7); background: rgba(24,13,12,.92); }
.sound-bars { height: 17px; display: flex; align-items: end; gap: 2px; }
.sound-bars i { width: 2px; height: 5px; background: var(--coral); transform-origin: bottom; }
.sound-toggle[aria-pressed="true"] .sound-bars i { animation: soundbar .75s 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: -.5s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes soundbar { to { height: 17px; } }

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-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; filter: saturate(.62) contrast(1.12) brightness(.66) sepia(.12); transform: scale(1.02); }
.hero-shade {
    z-index: -4;
    background:
        radial-gradient(ellipse at 50% 43%, rgba(27,17,14,.04), rgba(6,5,5,.22) 43%, rgba(6,5,5,.88) 100%),
        linear-gradient(180deg, rgba(6,5,5,.6), rgba(6,5,5,.08) 30%, rgba(6,5,5,.3) 65%, #060505 100%),
        linear-gradient(90deg, rgba(6,5,5,.82), transparent 29%, transparent 71%, rgba(6,5,5,.82));
}
.hero-grain {
    z-index: -3;
    opacity: .17;
    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-content {
    width: min(780px, calc(100% - 44px));
    padding-top: 5.5rem;
    text-align: center;
}
.eyebrow,
.chapter-kicker,
.experience-index {
    margin: 0 0 1rem;
    color: var(--brass-light);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .27em;
    text-transform: uppercase;
}
.hero-logo { width: min(410px, 78vw); margin: 0 auto 1.2rem; filter: drop-shadow(0 14px 20px rgba(0,0,0,.85)); }
.hero h1,
.section-heading h2,
.experiences-heading h2,
.chapter-copy h2,
.community-content h2,
.article-hero h1,
.admin-page h1 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: .035em;
    line-height: .96;
    text-transform: uppercase;
}
.hero h1 { font-size: clamp(2rem, 4.25vw, 4rem); text-shadow: 0 .35rem 1.3rem rgba(0,0,0,.92); }
.hero-lead { max-width: 700px; margin: 1.25rem auto 0; color: rgba(240,229,207,.8); font-size: clamp(1rem, 1.35vw, 1.16rem); }
.hero-lead strong { color: var(--ivory); font-weight: 400; border-bottom: 1px solid rgba(239,98,90,.65); }
.hero-modes { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.35rem; color: var(--muted); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-modes i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--coral), transparent); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.button {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .86rem 1.4rem .76rem;
    border: 1px solid transparent;
    font-family: var(--display);
    font-size: .92rem;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ivory); border-color: rgba(239,98,90,.66); background: linear-gradient(145deg, #682e2a, #1b0d0c 78%); box-shadow: inset 0 -2px 0 rgba(239,98,90,.4), 0 .8rem 1.7rem rgba(0,0,0,.32); }
.button-primary:hover { border-color: var(--coral); background: linear-gradient(145deg, #77332e, #25100f 78%); }
.button-ghost { border-color: rgba(194,161,120,.54); background: rgba(6,5,5,.42); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--brass-light); background: rgba(23,17,15,.76); }
.button-full { width: 100%; }
.hero-scroll {
    position: absolute;
    bottom: 1.7rem;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: .55rem;
    color: rgba(240,229,207,.52);
    font-size: .59rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    transform: translateX(-50%);
}
.hero-scroll i { width: 1px; height: 34px; background: linear-gradient(var(--coral), transparent); }
.hero-vignette { position: absolute; top: 50%; display: grid; gap: .2rem; color: rgba(240,229,207,.34); transform: translateY(-50%) rotate(-90deg); transform-origin: center; text-transform: uppercase; }
.hero-vignette span { font-family: var(--display); font-size: 1.2rem; letter-spacing: .12em; }
.hero-vignette small { font-size: .55rem; letter-spacing: .2em; }
.hero-vignette-left { left: -2rem; }
.hero-vignette-right { right: -2rem; transform: translateY(-50%) rotate(90deg); }

/* Registre d’informations */
.ledger-strip {
    position: relative;
    z-index: 5;
    width: var(--container);
    margin: -1.4rem auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid var(--line);
    background: repeating-linear-gradient(90deg, rgba(157,128,96,.018) 0, rgba(157,128,96,.018) 1px, transparent 1px, transparent 26px), rgba(11,8,7,.97);
    box-shadow: 0 1.4rem 3.2rem rgba(0,0,0,.56), inset 0 1px 0 rgba(239,98,90,.12);
}
.ledger-strip::before,
.registry-panel::before,
.news-card::before {
    content: "";
    position: absolute;
    inset: 8px;
    pointer-events: none;
    background:
        linear-gradient(var(--brass),var(--brass)) left top/16px 1px no-repeat,
        linear-gradient(var(--brass),var(--brass)) left top/1px 16px no-repeat,
        linear-gradient(var(--brass),var(--brass)) right top/16px 1px no-repeat,
        linear-gradient(var(--brass),var(--brass)) right top/1px 16px no-repeat,
        linear-gradient(var(--brass),var(--brass)) left bottom/16px 1px no-repeat,
        linear-gradient(var(--brass),var(--brass)) left bottom/1px 16px no-repeat,
        linear-gradient(var(--brass),var(--brass)) right bottom/16px 1px no-repeat,
        linear-gradient(var(--brass),var(--brass)) right bottom/1px 16px no-repeat;
    opacity: .66;
}
.ledger-item { min-width: 0; padding: 1.2rem 1rem; text-align: center; border-right: 1px solid var(--line-soft); }
.ledger-item:last-child { border-right: 0; }
.ledger-item span { display: block; color: var(--dim); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; }
.ledger-item strong { display: block; margin-top: .2rem; color: var(--ivory); font-size: .85rem; font-weight: 400; }
.ledger-status strong i { display: inline-block; width: 7px; height: 7px; margin-right: .45rem; border-radius: 50%; background: var(--coral); box-shadow: 0 0 .6rem rgba(239,98,90,.72); }

/* Chapitres plein écran */
.story-chapter {
    position: relative;
    min-height: 88vh;
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
}
.chapter-image,
.chapter-veil { position: absolute; inset: -6%; z-index: -3; }
.chapter-image {
    background-image: url("../../vid/SChillnight.png");
    background-repeat: no-repeat;
    background-size: cover;
    filter: saturate(.6) contrast(1.08) sepia(.13);
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
    transition: transform .12s linear;
}
.chapter-image-intro { background-position: center 48%; }
.chapter-image-world { background-position: 72% center; transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.16) scaleX(-1); }
.chapter-veil { z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(6,5,5,.97) 0%, rgba(6,5,5,.86) 34%, rgba(6,5,5,.26) 68%, rgba(6,5,5,.72) 100%), linear-gradient(180deg, #060505 0%, transparent 20%, transparent 78%, #060505 100%); }
.story-world .chapter-veil { background: linear-gradient(270deg, rgba(6,5,5,.97) 0%, rgba(6,5,5,.86) 34%, rgba(6,5,5,.2) 68%, rgba(6,5,5,.68) 100%), linear-gradient(180deg, #060505 0%, transparent 20%, transparent 78%, #060505 100%); }
.chapter-copy { position: relative; width: min(620px, calc(100vw - 48px)); margin: 0 max(28px, 8vw); padding: clamp(5rem, 9vw, 8rem) 0; }
.chapter-copy-right { justify-self: end; }
.chapter-number { position: absolute; top: .5rem; left: -1.1rem; z-index: -1; margin: 0; color: rgba(239,98,90,.085); font-family: var(--display); font-size: clamp(10rem, 24vw, 20rem); line-height: 1; }
.chapter-copy h2 { max-width: 590px; font-size: clamp(2.7rem, 5.6vw, 5.2rem); }
.chapter-lead { margin: 1.5rem 0 0; color: rgba(240,229,207,.79); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.chapter-facts { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.chapter-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.chapter-facts strong { color: var(--coral); font-family: var(--display); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.chapter-facts span { color: var(--muted); }
.territory-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 2.5rem; border: 1px solid var(--line); background: var(--line); }
.territory-ledger article { padding: 1.5rem; background: rgba(8,6,5,.88); }
.territory-ledger span { color: var(--coral); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; }
.territory-ledger h3 { margin: .35rem 0 .6rem; font-family: var(--display); font-size: 1.6rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.territory-ledger p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Deux expériences */
.experiences { position: relative; padding: clamp(6rem, 10vw, 10rem) 0; background: linear-gradient(180deg, #060505, #0a0706 48%, #060505); }
.experiences::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .24; background: radial-gradient(circle at 50% 20%, rgba(121,48,42,.24), transparent 36rem); }
.experiences-heading { position: relative; z-index: 1; width: min(780px, calc(100% - 48px)); margin: 0 auto 4rem; text-align: center; }
.experiences-heading h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.experiences-heading > p:last-child { max-width: 680px; margin: 1.3rem auto 0; color: var(--muted); }
.experience-panels { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.experience-panel { position: relative; min-height: 680px; display: flex; align-items: end; overflow: hidden; border: 1px solid var(--line); isolation: isolate; box-shadow: 0 2rem 5rem rgba(0,0,0,.35); }
.experience-media,
.experience-overlay { position: absolute; inset: 0; z-index: -3; }
.experience-media { background: url("../../vid/SChillnight.png") center/cover no-repeat; filter: saturate(.56) contrast(1.08) sepia(.15); transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08); transition: transform .7s ease, filter .7s ease; }
.experience-written .experience-media { background-position: 31% center; }
.experience-voice .experience-media { background-position: 76% center; transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.15) scaleX(-1); }
.experience-overlay { z-index: -2; background: linear-gradient(180deg, rgba(6,5,5,.05) 15%, rgba(6,5,5,.34) 42%, rgba(6,5,5,.98) 88%), linear-gradient(90deg, rgba(84,39,34,.24), transparent 55%); }
.experience-panel:hover .experience-media { filter: saturate(.78) contrast(1.06) sepia(.08); transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.12); }
.experience-voice:hover .experience-media { transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.19) scaleX(-1); }
.experience-panel::before { content: ""; position: absolute; inset: 12px; z-index: 2; pointer-events: none; border: 1px solid rgba(194,161,120,.28); }
.experience-content { width: 100%; padding: clamp(2rem, 4vw, 3.4rem); }
.experience-content h3 { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 4.2vw, 4rem); font-weight: 400; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.experience-tagline { margin: .7rem 0 1.25rem !important; color: var(--coral) !important; font-size: .75rem !important; letter-spacing: .15em; text-transform: uppercase; }
.experience-content > p { max-width: 540px; margin: 0; color: rgba(240,229,207,.77); }
.experience-content ul { margin: 1.6rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.experience-content li { padding: .75rem 0 .75rem 1rem; color: var(--muted); border-bottom: 1px solid var(--line-soft); position: relative; }
.experience-content li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 5px; height: 1px; background: var(--coral); }
.text-link { display: inline-flex; align-items: center; gap: .6rem; color: var(--ivory); font-family: var(--display); letter-spacing: .06em; text-transform: uppercase; }
.text-link span { color: var(--coral); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* Actualités */
.section { width: var(--container); margin: 0 auto; padding: clamp(6rem, 10vw, 10rem) 0; }
.section-heading { max-width: 760px; margin: 0 auto 3.8rem; text-align: center; }
.section-heading h2 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.section-heading > p:last-child { max-width: 680px; margin: 1.25rem auto 0; color: var(--muted); }
.section-heading-row { max-width: none; display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 4rem; text-align: left; }
.section-heading-row > p { margin: 0 0 .4rem; }
.news-section { position: relative; }
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1rem; }
.news-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(23,17,15,.94), rgba(7,5,5,.98) 74%); }
.news-card-featured { grid-row: span 2; }
.news-cover { position: relative; height: 220px; display: block; overflow: hidden; }
.news-card-featured .news-cover { height: 390px; }
.news-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(6,5,5,.72)); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.66) contrast(1.05) sepia(.08); transition: transform .5s ease, filter .5s ease; }
.news-card:hover .news-cover img { transform: scale(1.035); filter: saturate(.85) contrast(1.04); }
.news-category { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.1rem; padding: .35rem .55rem .28rem; color: var(--ivory); border: 1px solid rgba(239,98,90,.55); background: rgba(72,27,24,.84); font-size: .57rem; letter-spacing: .16em; text-transform: uppercase; }
.news-content { padding: 1.5rem; }
.news-meta { display: flex; gap: .7rem; color: var(--dim); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.news-meta > * + *::before { content: "·"; margin-right: .7rem; }
.news-content h3 { margin: .75rem 0; font-family: var(--display); font-size: 1.65rem; font-weight: 400; line-height: 1.06; letter-spacing: .035em; text-transform: uppercase; }
.news-card-featured .news-content h3 { font-size: clamp(2rem, 3vw, 3rem); }
.news-content p { margin: 0 0 1.2rem; color: var(--muted); font-size: .94rem; }

/* Scène communautaire */
.community-scene { position: relative; min-height: 82vh; display: grid; place-items: center; isolation: isolate; overflow: hidden; }
.community-backdrop,
.community-overlay { position: absolute; inset: -6%; z-index: -3; }
.community-backdrop { background: url("../../vid/SChillnight.png") center 62%/cover no-repeat; filter: saturate(.55) contrast(1.12) sepia(.18); transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.13); }
.community-overlay { z-index: -2; inset: 0; background: radial-gradient(ellipse at center, rgba(6,5,5,.28), rgba(6,5,5,.92) 78%), linear-gradient(180deg, #060505, transparent 26%, transparent 70%, #060505); }
.community-content { width: min(790px, calc(100% - 48px)); padding: 5rem 1rem; text-align: center; }
.community-content h2 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
.community-content > p { max-width: 670px; margin: 1.4rem auto 0; color: rgba(240,229,207,.78); font-size: 1.06rem; }
.community-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.community-note { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 2.4rem; color: var(--muted); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.community-note i { width: 26px; height: 1px; background: var(--coral); }

/* Footer */
.site-footer { width: var(--container); margin: 0 auto; padding: 4.5rem 0 2rem; display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; border-top: 1px solid var(--line); }
.footer-brand img { width: 240px; }
.footer-brand p { max-width: 360px; color: var(--muted); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-links div { display: flex; flex-direction: column; gap: .45rem; }
.footer-links span { margin-bottom: .4rem; color: var(--brass-light); font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.4rem; color: var(--dim); border-top: 1px solid var(--line-soft); font-size: .72rem; }
.compact-footer { margin-top: 3rem; }

/* Panneaux communs et alertes */
.registry-panel { position: relative; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(23,17,15,.96), rgba(7,5,5,.99) 74%); }
.alert { margin: 1rem 0; padding: .9rem 1rem; border: 1px solid; }
.alert-error { color: #f4b0aa; border-color: rgba(239,98,90,.45); background: rgba(107,36,32,.24); }
.alert-success { color: #d9c6a9; border-color: rgba(157,128,96,.5); background: rgba(81,67,50,.25); }

/* Articles */
.article-page { background: #070505; }
.article-main { min-height: 70vh; padding-top: 70px; }
.article-detail { width: 100%; }
.article-hero { position: relative; min-height: 620px; display: flex; align-items: end; overflow: hidden; }
.article-hero-image,
.article-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-hero-image { object-fit: cover; filter: saturate(.62) contrast(1.08) sepia(.1); }
.article-hero-overlay { background: linear-gradient(180deg, rgba(6,5,5,.35), rgba(6,5,5,.95) 90%), linear-gradient(90deg, rgba(6,5,5,.8), transparent 65%); }
.article-hero-content { position: relative; z-index: 2; width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 8rem 0 4rem; }
.article-hero h1 { max-width: 850px; margin-top: 1rem; font-size: clamp(2.8rem, 6vw, 5.6rem); }
.article-hero-content > p { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--brass-light); }
.article-byline { display: flex; gap: 1rem; color: var(--dim); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.article-layout { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 230px 1fr; gap: clamp(2rem, 6vw, 6rem); padding: 5rem 0 8rem; }
.article-register { align-self: start; padding: 1.5rem; display: grid; gap: .45rem; }
.article-register span { color: var(--dim); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; }
.article-register strong { color: var(--coral); font-family: var(--display); font-size: 3.2rem; font-weight: 400; }
.article-register b { margin-bottom: .7rem; font-weight: 400; }
.article-register hr { width: 100%; border: 0; border-top: 1px solid var(--line); }
.prose { max-width: 760px; color: rgba(240,229,207,.86); font-size: 1.06rem; }
.prose h2,
.prose h3 { margin: 2.3rem 0 .8rem; font-family: var(--display); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.prose h2 { font-size: 2.5rem; }
.prose h3 { font-size: 1.8rem; }
.prose p { margin: 0 0 1.2rem; }
.prose blockquote { margin: 2rem 0; padding: 1rem 1.5rem; color: var(--muted); border-left: 2px solid var(--coral); background: rgba(84,39,34,.12); }
.article-not-found { width: min(760px, calc(100% - 48px)); margin: 8rem auto; padding: 3rem; text-align: center; }
.article-not-found h1 { font-family: var(--display); font-size: 3rem; font-weight: 400; text-transform: uppercase; }

/* Administration */
.admin-page { min-height: 100vh; color: var(--ivory); background: radial-gradient(circle at top, rgba(84,39,34,.18), transparent 32rem), #080606; }
.admin-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .8rem 2rem; border-bottom: 1px solid var(--line); background: rgba(6,5,5,.96); }
.admin-header-brand { display: flex; align-items: center; gap: 1rem; }
.admin-header-brand img { width: 145px; }
.admin-header-brand span { color: var(--muted); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.admin-header nav { display: flex; align-items: center; gap: 1.3rem; color: var(--muted); font-size: .8rem; }
.admin-header nav a:hover { color: var(--ivory); }
.admin-layout { width: min(1440px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding: 2rem 0 5rem; }
.admin-sidebar { align-self: start; display: grid; gap: .2rem; padding: 1.3rem; }
.admin-sidebar-title,
.editor-box-title { margin-bottom: .7rem; color: var(--brass-light); font-size: .61rem; letter-spacing: .17em; text-transform: uppercase; }
.admin-sidebar a { padding: .7rem .8rem; color: var(--muted); }
.admin-sidebar a:hover,
.admin-sidebar a.active { color: var(--ivory); background: rgba(239,98,90,.09); }
.admin-sidebar hr { width: 100%; border: 0; border-top: 1px solid var(--line-soft); }
.admin-sidebar small { color: var(--dim); }
.admin-content { min-width: 0; }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.admin-page-heading h1,
.admin-editor-heading h1 { font-size: clamp(2.6rem, 4vw, 4rem); }
.admin-page-heading p { margin: .5rem 0 0; color: var(--muted); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.admin-stat { padding: 1.4rem; }
.admin-stat span { color: var(--dim); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; }
.admin-stat strong { display: block; color: var(--coral); font-family: var(--display); font-size: 2.7rem; font-weight: 400; }
.admin-stat small { color: var(--muted); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th,
.admin-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
.admin-table th { color: var(--brass-light); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }
.admin-table td { color: var(--muted); }
.admin-table td:first-child strong { display: block; color: var(--ivory); }
.admin-table td:first-child span { display: block; color: var(--dim); font-size: .75rem; }
.status-badge { display: inline-flex; padding: .25rem .45rem; border: 1px solid var(--line); font-size: .63rem; text-transform: uppercase; }
.status-published { color: var(--ivory); border-color: rgba(239,98,90,.46); background: rgba(84,39,34,.24); }
.admin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.admin-actions a,
.admin-actions button { padding: 0; color: var(--brass-light); border: 0; background: none; cursor: pointer; }
.admin-actions button { color: #d9847d; }
.admin-empty { padding: 4rem 2rem; text-align: center; }
.admin-empty span { font-family: var(--display); font-size: 2rem; text-transform: uppercase; }
.admin-empty p { color: var(--muted); }
.admin-editor-shell { width: min(1400px, calc(100% - 48px)); margin: 0 auto; padding: 2.5rem 0 5rem; }
.admin-editor-heading { margin-bottom: 2rem; }
.admin-editor-form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }
.editor-main,
.editor-box { padding: 1.5rem; }
.editor-sidebar { display: grid; gap: 1rem; }
.admin-form,
.editor-main,
.editor-box { display: grid; gap: 1rem; }
.admin-form label,
.editor-main label,
.editor-box label { display: grid; gap: .45rem; color: var(--muted); font-size: .8rem; }
.admin-page input,
.admin-page textarea,
.admin-page select {
    width: 100%;
    padding: .8rem .85rem;
    color: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    background: rgba(5,4,4,.8);
}
.admin-page input:focus,
.admin-page textarea:focus,
.admin-page select:focus { border-color: rgba(239,98,90,.64); box-shadow: 0 0 0 2px rgba(239,98,90,.08); }
.input-large { font-size: 1.2rem; }
.content-editor { min-height: 420px; resize: vertical; }
.form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkbox-line { display: flex !important; grid-template-columns: auto 1fr; align-items: center; }
.checkbox-line input { width: auto; }
.field-help { margin: -.4rem 0 .4rem; color: var(--dim); font-size: .73rem; }
.editor-cover-preview { width: 100%; max-height: 190px; object-fit: cover; border: 1px solid var(--line); }
.admin-auth-page { display: grid; place-items: center; padding: 2rem; }
.admin-auth-shell { width: min(480px, 100%); }
.admin-auth-card { padding: 2rem; }
.admin-logo { display: block; width: 230px; margin: 0 auto 1.5rem; }
.admin-auth-card h1 { font-size: 2.8rem; text-align: center; }
.admin-auth-card .eyebrow,
.admin-intro { text-align: center; }
.admin-intro { color: var(--muted); }
.admin-auth-card .text-link { margin-top: 1rem; font-size: .8rem; }

/* Apparition et parallaxe */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
    .site-header { grid-template-columns: auto auto 1fr; }
    .header-cta { justify-self: end; }
    .nav-toggle { display: block; justify-self: end; grid-column: 2; }
    .main-navigation {
        position: fixed;
        inset: 0;
        z-index: -1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.6rem;
        background: rgba(6,5,5,.98);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }
    .main-navigation.is-open { opacity: 1; visibility: visible; }
    .main-navigation a { font-size: 1rem; }
    .ledger-strip { grid-template-columns: repeat(3, 1fr); }
    .ledger-item { border-bottom: 1px solid var(--line-soft); }
    .experience-panels { grid-template-columns: 1fr; }
    .experience-panel { min-height: 620px; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card-featured { grid-column: 1 / -1; grid-row: auto; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: flex; flex-wrap: wrap; align-items: center; }
    .admin-sidebar hr,
    .admin-sidebar small,
    .admin-sidebar-title { display: none; }
}

@media (max-width: 760px) {
    :root { --container: calc(100vw - 30px); --header-height: 72px; }
    body { font-size: 15px; }
    .site-header { padding: 9px 15px; gap: .7rem; }
    .brand { width: 140px; }
    .header-cta { display: none; }
    .nav-toggle { grid-column: 3; }
    .hero-content { padding-top: 4.5rem; }
    .hero-logo { width: min(330px, 82vw); }
    .hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-vignette { display: none; }
    .hero-modes { flex-wrap: wrap; }
    .hero-actions,
    .community-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .button,
    .community-actions .button { width: 100%; }
    .sound-toggle { left: .75rem; bottom: .75rem; }
    .sound-toggle > span:last-child { display: none; }
    .ledger-strip { grid-template-columns: 1fr 1fr; margin-top: 0; }
    .ledger-item:last-child { grid-column: 1 / -1; }
    .chapter-copy { margin: 0 24px; }
    .chapter-copy-right { justify-self: start; }
    .chapter-copy h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
    .chapter-facts div { grid-template-columns: 1fr; gap: .2rem; }
    .story-world .chapter-veil { background: linear-gradient(90deg, rgba(6,5,5,.97), rgba(6,5,5,.7)); }
    .territory-ledger { grid-template-columns: 1fr; }
    .experience-panels { width: calc(100vw - 30px); }
    .experience-panel { min-height: 650px; }
    .experience-content { padding: 2rem 1.5rem; }
    .section-heading-row { grid-template-columns: 1fr; gap: 1rem; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card-featured { grid-column: auto; }
    .news-card-featured .news-cover,
    .news-cover { height: 240px; }
    .community-note { flex-wrap: wrap; }
    .site-footer { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; }
    .article-hero { min-height: 520px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-register { display: none; }
    .admin-header { padding: .8rem 1rem; }
    .admin-header-brand span,
    .admin-header nav span { display: none; }
    .admin-layout,
    .admin-editor-shell { width: calc(100% - 24px); }
    .admin-page-heading { align-items: start; flex-direction: column; }
    .admin-stat-grid { grid-template-columns: 1fr; }
    .admin-editor-form { grid-template-columns: 1fr; }
    .form-grid-two { grid-template-columns: 1fr; }
}

@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; }
    [data-parallax] { transform: scale(1.08) !important; }
}
