:root {
    --night: #080a0e;
    --night-soft: #10141a;
    --paper: #f0e8d9;
    --paper-dim: #b6aea1;
    --gold: #cda95e;
    --gold-light: #f0d495;
    --violet: #5d425f;
    --petrol: #17343a;
    --rust: #7a3e2d;
    --line: rgba(240, 232, 217, .16);
    --day: #eee7db;
    --day-soft: #f5f0e7;
    --day-ink: #15181c;
    --header-h: 74px;
    --shell: 1440px;
    --shell-gutter: 64px;
}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--paper);
    background:
        radial-gradient(circle at 80% 12%, rgba(87, 60, 92, .16), transparent 32rem),
        var(--night);
    font-family: "Cabinet Grotesk", "Segoe UI", sans-serif;
    font-optical-sizing: auto;
}

body::before {
    position: fixed;
    z-index: 20;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .055;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    color: var(--night);
    background: var(--paper);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 18px;
    left: 50%;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    width: min(1500px, calc(100vw - 36px));
    min-height: var(--header-h);
    padding: 8px 10px 8px 18px;
    border: 1px solid rgba(21, 24, 28, .14);
    border-radius: 3px;
    background: rgba(245, 240, 231, .78);
    box-shadow: 0 18px 70px rgba(54, 42, 25, .12);
    backdrop-filter: blur(18px) saturate(125%);
    transform: translateX(-50%);
    transition: background .35s ease, border-color .35s ease;
}

.site-header.scrolled {
    border-color: rgba(103, 78, 35, .28);
    background: rgba(245, 240, 231, .94);
}

.site-header.deep {
    border-color: rgba(205, 169, 94, .28);
    background: rgba(7, 9, 12, .92);
    box-shadow: 0 18px 70px rgba(0, 0, 0, .24);
}

.brand {
    display: block;
    width: 196px;
    overflow: hidden;
}

.brand img {
    width: 100%;
    filter: contrast(1.06);
    mix-blend-mode: multiply;
}

.site-header.deep .brand img {
    mix-blend-mode: screen;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 3vw, 48px);
}

.main-nav a,
.site-footer a,
.site-footer button {
    position: relative;
    border: 0;
    color: rgba(21, 24, 28, .7);
    background: none;
    text-decoration: none;
    cursor: pointer;
    transition: color .25s ease;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    content: "";
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.site-footer a:hover,
.site-footer button:hover {
    color: var(--day-ink);
}

.site-header.deep .main-nav a,
.site-header.deep .sound-button {
    color: var(--paper);
}

.site-header.deep .main-nav a:hover,
.site-header.deep .main-nav a:focus-visible {
    color: var(--paper);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sound-button,
.nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 17px;
    border: 1px solid rgba(21, 24, 28, .2);
    color: var(--day-ink);
    background: transparent;
    font-size: .82rem;
    text-decoration: none;
    cursor: pointer;
}

.nav-cta {
    border-color: var(--day-ink);
    color: var(--paper);
    background: var(--day-ink);
    font-weight: 700;
}

.site-header.deep .nav-cta {
    border-color: var(--paper);
    color: var(--night);
    background: var(--paper);
}

.sound-bars {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 18px;
    height: 18px;
    margin-right: 9px;
}

.sound-bars i {
    width: 2px;
    height: 5px;
    background: var(--gold);
}

body.audio-playing .sound-bars i {
    animation: soundBars .7s ease-in-out infinite alternate;
}

body.audio-playing .sound-bars i:nth-child(2) {
    animation-delay: -.35s;
}

body.audio-playing .sound-bars i:nth-child(3) {
    animation-delay: -.15s;
}

@keyframes soundBars {
    to { height: 16px; }
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100svh;
    overflow: hidden;
    padding: 150px max(32px, calc((100vw - 1500px) / 2)) 90px;
    isolation: isolate;
    color: var(--day-ink);
    background: var(--day);
}

.hero::before {
    position: absolute;
    z-index: -3;
    inset: 0;
    content: "";
    background:
        url("../marketing/hero/famille-brisee-desktop-v1.png") 64% center / cover no-repeat;
    filter: saturate(.82) brightness(1.18) contrast(.9);
    transform: scale(1.025);
}

.hero::after {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(245, 240, 231, .98) 0%, rgba(245, 240, 231, .9) 30%, rgba(245, 240, 231, .18) 66%, rgba(245, 240, 231, .4) 100%),
        linear-gradient(0deg, var(--day) 0%, transparent 38%);
}

.hero-wash {
    position: absolute;
    z-index: -1;
    width: 54vw;
    height: 54vw;
    top: -22vw;
    left: -18vw;
    border-radius: 50%;
    background: rgba(219, 181, 105, .28);
    filter: blur(80px);
}

.hero-copy {
    width: min(1180px, 78vw);
    max-width: 1180px;
}

.kicker {
    margin: 0 0 20px;
    color: var(--gold-light);
    font-size: clamp(.72rem, 1vw, .88rem);
    font-weight: 650;
    letter-spacing: .18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero .kicker,
.world .kicker {
    color: #76561e;
}

h1,
h2,
h3,
p {
    text-wrap: pretty;
}

h1 {
    max-width: 1180px;
    margin: 0;
    font-size: clamp(3.5rem, 7.4vw, 8rem);
    font-weight: 420;
    letter-spacing: -.075em;
    line-height: .9;
}

h1 span {
    display: block;
}

.hero-intro {
    max-width: 650px;
    margin: 34px 0 0;
    color: rgba(21, 24, 28, .74);
    font-size: clamp(1rem, 1.35vw, 1.3rem);
    font-weight: 350;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 58px;
    padding: 0 26px;
    overflow: hidden;
    border: 1px solid var(--paper);
    color: var(--paper);
    font-weight: 700;
    text-decoration: none;
    transition: color .3s ease, background .3s ease, transform .3s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-3px);
}

.button-primary {
    color: var(--night);
    background: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
    border-color: var(--gold-light);
    background: var(--gold-light);
}

.button-ghost {
    border-color: rgba(240, 232, 217, .38);
    background: rgba(5, 7, 10, .18);
    backdrop-filter: blur(12px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
    border-color: var(--paper);
    background: rgba(240, 232, 217, .08);
}

.hero .button-primary {
    border-color: var(--day-ink);
    color: var(--paper);
    background: var(--day-ink);
}

.hero .button-primary:hover,
.hero .button-primary:focus-visible {
    border-color: #72521d;
    color: var(--paper);
    background: #72521d;
}

.hero .button-ghost {
    border-color: rgba(21, 24, 28, .34);
    color: var(--day-ink);
    background: rgba(245, 240, 231, .28);
}

.hero .button-ghost:hover,
.hero .button-ghost:focus-visible {
    border-color: var(--day-ink);
    background: rgba(245, 240, 231, .72);
}

.availability {
    margin: 18px 0 0;
    color: rgba(21, 24, 28, .5);
    font-size: .8rem;
}

.hero-figure {
    position: absolute;
    right: clamp(20px, 5vw, 90px);
    bottom: 10%;
    width: 120px;
    height: 240px;
    opacity: .62;
}

.hero-line {
    position: absolute;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(transparent, #76561e, transparent);
}

.hero-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    aspect-ratio: 1;
    border: 1px solid #76561e;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 31%, rgba(118, 86, 30, .16) 32%, transparent 35%),
        var(--day-soft);
    box-shadow: 0 0 0 8px rgba(245, 240, 231, .62);
    transform: translate(-50%, -50%);
}

.hero-seal::before,
.hero-seal::after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    background: #76561e;
    transform: translate(-50%, -50%) rotate(45deg);
}

.hero-seal::before { width: 32px; height: 1px; }
.hero-seal::after { width: 1px; height: 32px; }

.scroll-cue {
    position: absolute;
    right: clamp(32px, 5vw, 90px);
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(21, 24, 28, .62);
    font-size: .72rem;
    letter-spacing: .16em;
    text-decoration: none;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-cue i {
    display: block;
    width: 1px;
    height: 54px;
    background: #76561e;
}

.world-marquee {
    overflow: hidden;
    border-block: 1px solid rgba(21, 24, 28, .14);
    color: var(--day-ink);
    background: var(--day);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 22px 0;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    padding-inline: 34px;
    color: rgba(21, 24, 28, .68);
    font-size: clamp(1rem, 1.6vw, 1.5rem);
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.marquee-track i {
    width: 7px;
    aspect-ratio: 1;
    border: 1px solid #76561e;
    transform: rotate(45deg);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

.section-shell {
    width: var(--shell);
    max-width: calc(100% - var(--shell-gutter));
    margin-inline: auto;
    padding-block: clamp(130px, 16vw, 240px);
}

.world {
    position: relative;
    color: var(--day-ink);
    background: var(--day);
    box-shadow: 0 0 0 100vmax var(--day);
    clip-path: inset(0 -100vmax);
}

.world .section-heading > p:last-child {
    color: rgba(21, 24, 28, .68);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    column-gap: 8vw;
    align-items: end;
    margin-bottom: clamp(60px, 8vw, 120px);
}

.section-heading .kicker {
    grid-column: 1 / -1;
}

.section-heading h2,
.journey-intro h2,
.final-cta h2 {
    margin: 0;
    font-size: clamp(3.2rem, 6.6vw, 7.4rem);
    font-weight: 430;
    letter-spacing: -.07em;
    line-height: .92;
}

.section-heading > p:last-child,
.journey-intro > p:last-child {
    margin: 0 0 8px;
    color: var(--paper-dim);
    font-size: clamp(1rem, 1.25vw, 1.22rem);
    line-height: 1.65;
}

.world-bento {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, minmax(92px, 1fr));
    min-height: 880px;
    border: 1px solid var(--line);
}

.world-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: solid var(--line);
    border-width: 0 1px 1px 0;
    background: var(--night-soft);
    isolation: isolate;
}

.world-card-lower { grid-column: span 7; grid-row: span 4; }
.world-card-upper { grid-column: span 5; grid-row: span 2; }
.world-card-gate { grid-column: span 5; grid-row: span 2; }
.world-card-law { grid-column: span 12; grid-row: span 2; }

.world-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.72) contrast(1.08);
    transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
}

.world-card:hover > img {
    filter: saturate(.95) contrast(1.05);
    transform: scale(1.055);
}

.world-card::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(0deg, rgba(5, 7, 10, .93), transparent 64%);
}

.world-card-copy {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(24px, 4vw, 54px);
    color: var(--paper);
}

.world-card-copy h3 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 3vw, 3.4rem);
    font-weight: 480;
    letter-spacing: -.045em;
}

.world-card-copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(240, 232, 217, .7);
    line-height: 1.55;
}

.world-card-law {
    display: grid;
    grid-template-columns: 140px minmax(280px, 1fr) minmax(280px, .8fr);
    gap: clamp(20px, 4vw, 64px);
    align-items: center;
    padding: clamp(32px, 5vw, 70px);
    border-right: 0;
    background:
        radial-gradient(circle at 12% 50%, rgba(205, 169, 94, .13), transparent 20rem),
        #101318;
    color: var(--paper);
}

.world-card-law::after { display: none; }

.world-card-law blockquote {
    margin: 0;
    font-size: clamp(1.8rem, 3.3vw, 3.8rem);
    font-weight: 430;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.world-card-law > p {
    margin: 0;
    color: var(--paper-dim);
    line-height: 1.65;
}

.law-mark {
    position: relative;
    width: 104px;
    aspect-ratio: 1;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.law-mark::before,
.law-mark::after,
.law-mark span {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    background: var(--gold);
    transform: translate(-50%, -50%);
}

.law-mark::before { width: 52%; height: 1px; transform: translate(-50%, -50%) rotate(45deg); }
.law-mark::after { width: 1px; height: 52%; transform: translate(-50%, -50%) rotate(45deg); }
.law-mark span { width: 8px; aspect-ratio: 1; border-radius: 50%; }

.manifesto {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100svh;
    color: var(--paper);
    isolation: isolate;
}

.manifesto::before {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    content: "";
    background:
        linear-gradient(180deg, var(--day) 0%, #8b8179 26%, #292a2e 68%, var(--night) 100%);
    transform: translateX(-50%);
}

.manifesto-text {
    max-width: 1420px;
    margin: 0;
    font-size: clamp(2.2rem, 5.1vw, 6rem);
    font-weight: 430;
    letter-spacing: -.06em;
    line-height: 1.02;
}

.manifesto-text .word {
    opacity: .12;
}

.compact-heading {
    display: block;
}

.character-accordion {
    display: flex;
    height: min(760px, 74vw);
    min-height: 600px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.character-panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border-right: 1px solid var(--line);
    background: #11141a;
    transition: flex .75s cubic-bezier(.2,.75,.2,1);
    isolation: isolate;
}

.character-panel:last-child {
    border-right: 0;
}

.character-panel.active,
.character-panel:hover,
.character-panel:focus-within {
    flex: 2.35 1 0;
}

.character-panel > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(.7) contrast(1.12) brightness(.72);
    transform: scale(1.025);
    transition: transform .9s ease, filter .9s ease;
}

.character-panel.active > img,
.character-panel:hover > img,
.character-panel:focus-within > img {
    filter: saturate(.95) contrast(1.04) brightness(.82);
    transform: scale(1.075);
}

.character-panel::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(0deg, rgba(6, 8, 11, .98), transparent 62%);
}

.character-toggle {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
    border: 0;
    color: var(--paper);
    background: none;
    text-align: left;
    cursor: pointer;
}

.character-index {
    font-size: clamp(2rem, 4vw, 5rem);
    font-weight: 470;
    letter-spacing: -.06em;
}

.character-role {
    margin-top: 4px;
    color: var(--gold-light);
    font-size: .75rem;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.character-detail {
    position: absolute;
    z-index: 2;
    right: 34px;
    bottom: 132px;
    left: 34px;
    max-width: 560px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .45s ease .12s, transform .45s ease .12s;
}

.character-detail p {
    margin: 0;
    color: rgba(240, 232, 217, .74);
    font-size: 1rem;
    line-height: 1.6;
}

.character-panel.active .character-detail,
.character-panel:hover .character-detail,
.character-panel:focus-within .character-detail {
    opacity: 1;
    transform: none;
}

.journey {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, .65fr) minmax(620px, 1.35fr);
    gap: clamp(52px, 8vw, 140px);
    align-items: start;
}

.journey-intro {
    max-width: 1080px;
    margin: 0;
    padding-top: 24px;
}

.journey-intro h2 {
    margin-bottom: 28px;
}

.story-stack {
    position: relative;
    min-height: 2700px;
}

.stack-card {
    position: sticky;
    top: 120px;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 80px);
    align-items: center;
    min-height: 650px;
    margin-bottom: 25vh;
    padding: clamp(28px, 5vw, 70px);
    overflow: hidden;
    border: 1px solid rgba(240, 232, 217, .2);
    background: #11151b;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .42);
    transform-origin: top center;
}

.stack-card:nth-child(2) { background: #161817; }
.stack-card:nth-child(3) { background: #11191b; }
.stack-card-final { background: #171218; }

.stack-card h3 {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 5vw, 5.6rem);
    font-weight: 440;
    letter-spacing: -.06em;
}

.stack-card p {
    margin: 0;
    color: var(--paper-dim);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.65;
}

.stack-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 18%;
    filter: saturate(.72) contrast(1.1);
    transition: transform .75s ease;
}

.stack-card:hover img {
    transform: scale(1.04);
}

.voices {
    padding-top: 60px;
}

.voice-carousel {
    position: relative;
}

.voice-stage {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    border-block: 1px solid var(--line);
}

.voice-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.25fr);
    gap: clamp(40px, 8vw, 130px);
    align-items: center;
    padding-block: 60px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(40px);
}

.voice-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.voice-slide img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center top;
    filter: saturate(.68) contrast(1.12);
}

.voice-slide blockquote {
    margin: 0;
    font-size: clamp(3rem, 6vw, 7rem);
    font-weight: 430;
    letter-spacing: -.07em;
    line-height: .95;
}

.voice-slide p {
    margin: 28px 0 0;
    color: var(--gold-light);
    font-size: .82rem;
    font-weight: 650;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.carousel-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    padding-top: 24px;
}

.carousel-controls button {
    width: 54px;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    color: var(--paper);
    background: transparent;
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease;
}

.carousel-controls button:hover {
    border-color: var(--gold);
    background: rgba(205, 169, 94, .1);
}

.carousel-controls span {
    color: var(--paper-dim);
    font-size: .8rem;
}

.carousel-controls b {
    color: var(--paper);
}

.final-cta {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100svh;
    overflow: hidden;
    padding: 120px max(32px, calc((100vw - 1440px) / 2));
    isolation: isolate;
}

.final-cta > img,
.final-cta-wash {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.final-cta > img {
    filter: saturate(.62) contrast(1.1);
}

.final-cta-wash {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .35) 70%),
        linear-gradient(0deg, rgba(5, 7, 10, .9), transparent 50%);
}

.final-cta-copy {
    width: min(1080px, 86vw);
}

.final-cta h2 {
    font-size: clamp(4rem, 9vw, 10rem);
}

.final-cta p:not(.kicker) {
    max-width: 620px;
    margin: 32px 0;
    color: rgba(240, 232, 217, .78);
    font-size: 1.1rem;
    line-height: 1.65;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 54px max(32px, calc((100vw - 1440px) / 2));
    border-top: 1px solid var(--line);
    color: var(--paper-dim);
    background: #07090c;
    font-size: .85rem;
}

.footer-brand {
    color: var(--paper) !important;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer > p {
    margin: 0;
}

.site-footer > div {
    display: flex;
    gap: 24px;
}

.site-footer a,
.site-footer button {
    color: var(--paper-dim);
}

.site-footer a:hover,
.site-footer button:hover {
    color: var(--paper);
}

.audio-dock {
    position: fixed;
    z-index: 45;
    right: 18px;
    bottom: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity .35s ease, transform .35s ease;
}

.audio-dock.visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.audio-dock button {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
    padding: 12px 16px;
    border: 1px solid rgba(205, 169, 94, .36);
    color: var(--paper);
    background: rgba(7, 9, 12, .9);
    text-align: left;
    cursor: pointer;
    backdrop-filter: blur(15px);
}

.audio-dock small,
.audio-dock strong {
    display: block;
}

.audio-dock small {
    margin-bottom: 3px;
    color: var(--gold-light);
    font-size: .68rem;
}

.audio-dock strong {
    font-size: .78rem;
}

.sound-orbit {
    position: relative;
    width: 34px;
    aspect-ratio: 1;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.sound-orbit i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--gold-light);
    transform: translate(-50%, -50%);
}

body.audio-playing .sound-orbit {
    animation: orbit 4s linear infinite;
}

@keyframes orbit {
    to { transform: rotate(360deg); }
}

@media (max-width: 1040px) {
    :root { --shell-gutter: 36px; }

    .site-header {
        grid-template-columns: 180px 1fr;
    }

    .brand { width: 160px; }
    .main-nav { display: none; }
    .nav-actions { justify-content: flex-end; }
    .sound-button span:last-child { display: none; }
    .sound-button { padding-inline: 14px; }
    .sound-bars { margin: 0; }

    .hero-copy { width: min(930px, 88vw); }
    .hero-figure { display: none; }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .world-bento {
        grid-template-rows: repeat(6, minmax(80px, 1fr));
        min-height: 760px;
    }

    .world-card-law {
        grid-template-columns: 90px 1fr;
    }

    .world-card-law > p {
        display: none;
    }

    .journey {
        display: block;
    }

    .journey-intro {
        margin-bottom: 100px;
    }

    .stack-card {
        grid-template-columns: 1fr;
    }

    .stack-card img {
        grid-column: 1 / -1;
        height: 260px;
    }
}

@media (max-width: 720px) {
    :root { --shell-gutter: 24px; }

    .site-header {
        top: 8px;
        width: calc(100vw - 16px);
        min-height: 62px;
        padding-left: 12px;
    }

    .brand { width: 138px; }
    .sound-button { display: none; }
    .nav-cta { min-height: 42px; padding-inline: 15px; }

    .hero {
        align-items: flex-end;
        padding: 130px 20px 90px;
    }

    .hero::before {
        background-position: 69% center;
    }

    .hero::after {
        background:
            linear-gradient(0deg, rgba(238, 231, 219, .99) 0%, rgba(238, 231, 219, .9) 62%, rgba(238, 231, 219, .28)),
            linear-gradient(90deg, rgba(238, 231, 219, .58), transparent);
    }

    .hero-copy { width: 100%; }
    h1 {
        font-size: clamp(1.85rem, 8.8vw, 3rem);
        letter-spacing: -.075em;
    }
    .hero-intro { font-size: .98rem; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .scroll-cue { display: none; }

    .section-shell {
        padding-block: 120px;
    }

    .section-heading h2,
    .journey-intro h2 {
        font-size: clamp(3rem, 14vw, 5.4rem);
    }

    .world-bento {
        display: block;
        min-height: 0;
    }

    .world-card {
        min-height: 430px;
        border-width: 0 0 1px;
    }

    .world-card-upper,
    .world-card-gate {
        min-height: 330px;
    }

    .world-card-law {
        display: block;
        min-height: 0;
        padding: 42px 28px;
    }

    .law-mark {
        width: 68px;
        margin-bottom: 34px;
    }

    .manifesto {
        min-height: 80svh;
    }

    .manifesto-text {
        font-size: clamp(2.4rem, 10.8vw, 4.2rem);
    }

    .character-accordion {
        display: grid;
        height: auto;
        min-height: 0;
    }

    .character-panel,
    .character-panel.active,
    .character-panel:hover {
        min-height: 520px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .character-detail {
        opacity: 1;
        transform: none;
    }

    .story-stack {
        min-height: 2100px;
    }

    .stack-card {
        top: 86px;
        display: block;
        min-height: 560px;
        margin-bottom: 30vh;
    }

    .stack-number { margin-bottom: 34px; }
    .stack-card img { height: 230px; margin-top: 34px; }

    .voice-stage { min-height: 720px; }
    .voice-slide {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .voice-slide img {
        width: 78%;
        height: 390px;
    }

    .voice-slide blockquote {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .final-cta {
        padding-inline: 20px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding-inline: 20px;
    }

    .site-footer > div {
        flex-wrap: wrap;
    }

    .audio-dock {
        right: 8px;
        bottom: 8px;
    }

    .audio-dock button {
        min-width: 0;
        padding: 10px;
    }

    .audio-dock button > span:last-child {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    .manifesto-text .word { opacity: 1; }
}
