/* ========== FONTS ========== */

/* Unbounded — заголовки (variable 300–900) */
@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('fonts/unbounded-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('fonts/unbounded-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('fonts/unbounded-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('fonts/unbounded-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope — body text (variable 300–800) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* PT Serif — цитаты/эпиграфы */
@font-face {
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/pt-serif-cyrillic.woff2') format('woff2');
}

@font-face {
    font-family: 'PT Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/pt-serif-italic-cyrillic.woff2') format('woff2');
}

@font-face {
    font-family: 'PT Serif';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/pt-serif-bold-cyrillic.woff2') format('woff2');
}

/* ========== RESET ========== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========== TOKENS ========== */

:root {
    /* палитра */
    --ash: #0f0d0b;
    --ash-2: #161310;
    --ash-3: #1f1a15;
    --bone: #e8dcc4;
    --bone-dim: #b3a88f;
    --bone-faint: rgba(232, 220, 196, 0.55);
    --copper: #b87333;
    --copper-glow: #d49255;
    --copper-dim: rgba(184, 115, 51, 0.35);
    --blood: #6b1a1a;
    --crack: #f4ead5;

    /* типографика */
    --f-display: 'Unbounded', 'Russo One', system-ui, sans-serif;
    --f-body: 'Manrope', system-ui, -apple-system, sans-serif;
    --f-serif: 'PT Serif', Georgia, serif;

    /* ритм */
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;

    /* размеры */
    --wrap: min(1180px, 92vw);
    --wrap-narrow: min(720px, 92vw);
}

/* ========== BASE ========== */

body {
    background: var(--ash);
    color: var(--bone);
    font-family: var(--f-body);
    font-weight: 400;
    font-size: clamp(15px, 1.05vw + 11px, 18px);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/><feColorMatrix values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 0.45 0"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
    opacity: 0.035;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

main {
    position: relative;
    z-index: 2;
}

/* утилиты */

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

.wrap-narrow {
    width: var(--wrap-narrow);
    margin: 0 auto;
}

.eyebrow {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--copper);
    display: inline-block;
}

.section-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.2vw + 0.5rem, 2.8rem);
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--bone);
    margin-bottom: 1.2em;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.section-title .accent {
    color: var(--copper);
}

/* ========== REVEAL ========== */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 900ms ease-out, transform 900ms cubic-bezier(.2, .8, .2, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ========== BUTTONS ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    padding: 14px 28px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
    min-height: 48px;
    cursor: pointer;
    line-height: 1;
}

.btn-primary {
    background: var(--copper);
    color: var(--ash);
    box-shadow: 0 0 0 1px var(--copper), 0 10px 30px -12px rgba(184, 115, 51, 0.5);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--copper-glow);
    box-shadow: 0 0 0 1px var(--copper-glow), 0 15px 40px -10px rgba(212, 146, 85, 0.6);
    transform: translateY(-2px);
    outline: none;
}

.btn-ghost {
    background: transparent;
    color: var(--bone);
    box-shadow: inset 0 0 0 1px var(--bone-faint);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    color: var(--copper-glow);
    box-shadow: inset 0 0 0 1px var(--copper);
    transform: translateY(-2px);
    outline: none;
}

.btn .arrow {
    display: inline-block;
    transition: transform 200ms ease;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* ========== TOP NAV (крошка на главную) ========== */

.topnav {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 20;
}

.topnav a {
    font-family: var(--f-display);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--bone-dim);
    padding: 8px 10px;
    transition: color 200ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
    color: var(--bone);
    outline: none;
}

/* ========== HERO ========== */

.hero {
    min-height: 100svh;
    display: grid;
    place-items: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    opacity: 0.55;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, var(--ash) 75%),
        linear-gradient(to bottom, rgba(15, 13, 11, 0.4) 0%, rgba(15, 13, 11, 0.9) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    width: 100%;
}

.hero-eyebrow {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 28px;
    opacity: 0;
    animation: fade-up 900ms 200ms forwards ease-out;
}

.hero-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 5.8vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: var(--bone);
    margin-bottom: 14px;
    white-space: nowrap;
    max-width: 100%;
    word-spacing: -0.1em;
    opacity: 0;
    animation: fade-up 1100ms 400ms forwards ease-out, breathe 6s 1.5s infinite ease-in-out;
    filter: drop-shadow(0 2px 30px rgba(232, 220, 196, 0.1));
}

.hero-title .amp {
    color: var(--copper);
    font-weight: 500;
    font-style: italic;
    white-space: nowrap;
}

.hero-subtitle {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(1rem, 1.5vw + 0.4rem, 1.3rem);
    color: var(--bone-dim);
    margin-bottom: 38px;
    opacity: 0;
    animation: fade-up 900ms 700ms forwards ease-out;
}

.hero-tagline {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(1rem, 1.8vw + 0.4rem, 1.8rem);
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: var(--bone);
    margin-bottom: 44px;
    max-width: 100%;
    overflow-wrap: break-word;
    opacity: 0;
    animation: fade-up 900ms 1000ms forwards ease-out;
}

.hero-tagline .split {
    color: var(--copper);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fade-up 900ms 1300ms forwards ease-out;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-display);
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--bone-dim);
    opacity: 0;
    animation: fade-up 900ms 1800ms forwards ease-out, bob 3s 2s infinite ease-in-out;
    z-index: 2;
}

.hero-scroll::before {
    content: '';
    display: block;
    width: 1px;
    height: 28px;
    margin: 0 auto 10px;
    background: linear-gradient(to bottom, transparent, var(--copper));
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {
    0%, 100% {
        font-variation-settings: "wght" 700;
    }
    50% {
        font-variation-settings: "wght" 780;
    }
}

@keyframes bob {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 6px);
    }
}

/* ========== SCROLLYTELLING ========== */

.scrolly {
    position: relative;
    background: var(--ash);
}

.scrolly-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 440px;
    max-height: 900px;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.scrolly-stage {
    position: relative;
    width: 100%;
    max-width: 920px;
    aspect-ratio: 3 / 2;
    max-height: 100%;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.scrolly-frame {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 600ms ease;
    display: grid;
    place-items: center;
}

.scrolly-frame.is-active {
    opacity: 1;
}

.scrolly-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--img-pos, center center);
    opacity: 0.45;
}

.scrolly-frame[data-frame="1"] img { --img-pos: center 55%; }
.scrolly-frame[data-frame="2"] img { --img-pos: center 50%; }
.scrolly-frame[data-frame="3"] img { --img-pos: center 50%; }

.scrolly-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, var(--ash) 90%);
}

.scrolly-quote {
    position: relative;
    z-index: 2;
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 3.5vw + 0.4rem, 2.6rem);
    line-height: 1.3;
    color: var(--bone);
    text-align: center;
    max-width: 820px;
    padding: 0 30px;
    text-shadow: 0 2px 40px rgba(15, 13, 11, 0.9);
}

.scrolly-steps {
    pointer-events: none;
}

.scrolly-step {
    height: 100svh;
    min-height: 560px;
}

/* ========== EPIGRAPH (ПУСТОТА) ========== */

.epigraph {
    height: 100svh;
    min-height: 560px;
    max-height: 1000px;
    display: grid;
    place-items: center;
    position: relative;
    padding: 60px 20px;
    overflow: hidden;
    background: var(--ash);
}

.epigraph-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.epigraph-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    opacity: 0.35;
}

.epigraph-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--ash) 80%);
}

.epigraph-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
}

.epigraph-label {
    font-family: var(--f-display);
    font-size: 0.75rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--bone-dim);
    margin-bottom: 40px;
}

.epigraph-word {
    font-family: var(--f-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 10vw, 6rem);
    letter-spacing: 0.02em;
    color: var(--bone);
    line-height: 1;
    margin-bottom: 40px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    background: linear-gradient(180deg, var(--crack) 0%, var(--bone) 50%, var(--bone-dim) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 60px rgba(232, 220, 196, 0.12));
}

@media (min-width: 720px) {
    .epigraph-word {
        letter-spacing: 0.08em;
    }
}

.epigraph-quote {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(1rem, 1.4vw + 0.5rem, 1.4rem);
    color: var(--bone-faint);
    margin-bottom: 20px;
}

.epigraph-caption {
    font-family: var(--f-display);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--copper);
}

/* ========== HOOK (back-cover copy) ========== */

.hook {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--ash) 0%, var(--ash-2) 100%);
}

.hook-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.hook-kicker {
    margin-bottom: 30px;
}

.hook-body {
    font-family: var(--f-serif);
    font-size: clamp(1.1rem, 1.2vw + 0.6rem, 1.4rem);
    line-height: 1.7;
    color: var(--bone);
}

.hook-body p + p {
    margin-top: 1.2em;
}

.hook-body em {
    color: var(--copper);
    font-style: italic;
}

.hook-divider {
    width: 60px;
    height: 1px;
    background: var(--copper);
    margin: 50px auto 0;
}

/* ========== WORLD (three zones) ========== */

.world {
    padding: 120px 20px;
    background: var(--ash);
}

.world-head {
    text-align: center;
    margin-bottom: 70px;
}

.world-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 70px;
}

.world-card {
    position: relative;
    background: var(--ash-2);
    border: 1px solid rgba(232, 220, 196, 0.08);
    overflow: hidden;
    transition: border-color 300ms ease, transform 300ms ease;
}

.world-card:hover {
    border-color: var(--copper-dim);
    transform: translateY(-4px);
}

.world-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.world-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

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

.world-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, var(--ash-2) 100%);
}

.world-card-body {
    padding: 24px 26px 32px;
    position: relative;
    z-index: 2;
}

.world-card-name {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    color: var(--bone);
    margin-bottom: 12px;
}

.world-card-desc {
    font-size: 0.95rem;
    color: var(--bone-dim);
    line-height: 1.6;
}

.formula {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(232, 220, 196, 0.08);
    border-bottom: 1px solid rgba(232, 220, 196, 0.08);
}

.formula-label {
    font-family: var(--f-display);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--bone-dim);
    margin-bottom: 18px;
}

.formula-expr {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.6vw + 0.5rem, 1.8rem);
    letter-spacing: 0.04em;
    color: var(--bone);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.3em 0.25em;
    line-height: 1.3;
}

.formula-expr .op {
    color: var(--copper);
    font-weight: 500;
}

@media (min-width: 720px) {
    .formula-expr {
        letter-spacing: 0.08em;
        gap: 0.5em;
    }

    .formula-expr .op {
        margin: 0 0.1em;
    }
}

.formula-caption {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--bone-faint);
    margin-top: 16px;
    font-size: 0.95rem;
}

/* ========== QUOTES ========== */

.quotes {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--ash) 0%, var(--ash-2) 100%);
    position: relative;
}

.quotes-head {
    text-align: center;
    margin-bottom: 70px;
}

.quotes-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
}

.quote {
    position: relative;
    padding: 28px 0 28px 40px;
    border-left: 1px solid var(--copper-dim);
}

.quote-text {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 1.4vw + 0.5rem, 1.5rem);
    line-height: 1.55;
    color: var(--bone);
    margin-bottom: 12px;
}

.quote-source {
    font-family: var(--f-display);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--copper);
}

.quotes-cta {
    text-align: center;
    margin-top: 70px;
}

.quotes-cta-note {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--bone-faint);
    margin-bottom: 20px;
    font-size: 1rem;
}

/* ========== CHARACTERS ========== */

.chars {
    padding: 120px 20px;
    background: var(--ash);
}

.chars-head {
    text-align: center;
    margin-bottom: 70px;
}

.chars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.char-card {
    position: relative;
    background: var(--ash-2);
    border: 1px solid rgba(232, 220, 196, 0.08);
    overflow: hidden;
    transition: border-color 300ms ease, transform 300ms ease;
}

.char-card:hover {
    border-color: var(--copper-dim);
    transform: translateY(-4px);
}

.char-card-img {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.char-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

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

.char-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, var(--ash-2) 100%);
}

.char-card-body {
    padding: 24px 26px 30px;
}

.char-card-name {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    color: var(--bone);
    margin-bottom: 6px;
}

.char-card-hook {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--copper);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.char-card-attrs {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(232, 220, 196, 0.08);
}

.char-attr {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 0.85rem;
}

.char-attr-key {
    font-family: var(--f-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bone-dim);
    font-size: 0.7rem;
}

.char-attr-value {
    color: var(--bone);
    text-align: right;
}

.char-card-quote {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--bone-faint);
    font-size: 0.9rem;
    line-height: 1.5;
    padding-top: 18px;
    border-top: 1px solid rgba(232, 220, 196, 0.08);
}

/* ========== SERIES ========== */

.series {
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--ash-2) 0%, var(--ash) 100%);
}

.series-head {
    text-align: center;
    margin-bottom: 70px;
}

.series-lead {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--bone-dim);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

.series-stages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.stage {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    background: var(--ash-2);
    border: 1px solid rgba(232, 220, 196, 0.05);
    transition: background 300ms ease, border-color 300ms ease;
}

@media (min-width: 720px) {
    .stage {
        grid-template-columns: 60px 1fr 80px;
        gap: 20px;
        padding: 22px 24px;
    }
}

.stage.is-current {
    background: rgba(184, 115, 51, 0.08);
    border-color: var(--copper-dim);
}

.stage.is-locked {
    opacity: 0.45;
}

.stage-num {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--copper);
    letter-spacing: 0.05em;
}

.stage-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stage-word {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw + 0.4rem, 1.3rem);
    letter-spacing: 0.08em;
    color: var(--bone);
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.stage.is-locked .stage-word {
    letter-spacing: 0.2em;
    color: var(--bone-dim);
}

@media (min-width: 720px) {
    .stage-word {
        letter-spacing: 0.15em;
    }

    .stage.is-locked .stage-word {
        letter-spacing: 0.5em;
    }
}

.stage-sub {
    font-family: var(--f-display);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bone-dim);
}

.stage-status {
    font-family: var(--f-display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bone-dim);
    text-align: right;
}

.stage.is-current .stage-status {
    color: var(--copper);
}

.series-progress {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px;
    background: var(--ash-2);
    border: 1px solid rgba(232, 220, 196, 0.08);
}

.progress-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    gap: 16px;
    flex-wrap: wrap;
}

.progress-label {
    font-family: var(--f-display);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--bone-dim);
}

.progress-value {
    font-family: var(--f-display);
    font-weight: 600;
    color: var(--bone);
    font-size: 0.95rem;
}

.progress-bar {
    height: 2px;
    background: rgba(232, 220, 196, 0.1);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--copper);
    width: 0;
    transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
}

/* ========== AUTHOR ========== */

.author {
    padding: 120px 20px;
    background: var(--ash);
    text-align: center;
}

.author-name {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--bone);
    margin-bottom: 12px;
}

.author-bio {
    max-width: 540px;
    margin: 0 auto 30px;
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--bone-dim);
    line-height: 1.6;
}

.author-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.author-links a {
    font-family: var(--f-display);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--bone-dim);
    padding: 10px 14px;
    border: 1px solid transparent;
    transition: color 200ms ease, border-color 200ms ease;
}

.author-links a:hover,
.author-links a:focus-visible {
    color: var(--copper-glow);
    border-color: var(--copper-dim);
    outline: none;
}

/* ========== FINAL CTA ========== */

.final-cta {
    padding: 140px 20px;
    background:
        radial-gradient(ellipse at center top, rgba(184, 115, 51, 0.1) 0%, transparent 60%),
        var(--ash-2);
    text-align: center;
    border-top: 1px solid rgba(232, 220, 196, 0.08);
}

.final-cta .symbol {
    width: 60px;
    height: 60px;
    color: var(--copper);
    margin: 0 auto 30px;
    opacity: 0.7;
}

.final-cta h2 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw + 0.5rem, 2.6rem);
    letter-spacing: 0.04em;
    color: var(--bone);
    margin-bottom: 20px;
}

.final-cta p {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--bone-dim);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */

.footer {
    padding: 30px 20px 40px;
    text-align: center;
    background: var(--ash);
    border-top: 1px solid rgba(232, 220, 196, 0.05);
}

.footer p {
    font-family: var(--f-display);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--bone-dim);
}

.footer a {
    color: var(--bone);
    transition: color 200ms ease;
}

.footer a:hover {
    color: var(--copper-glow);
}

/* ========== MEDIA ========== */

@media (min-width: 720px) {
    .world-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .chars-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hook,
    .world,
    .quotes,
    .chars,
    .series,
    .author {
        padding: 160px 30px;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 140px 40px 100px;
    }
}

/* ========== REDUCED MOTION ========== */

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

    .hero-eyebrow,
    .hero-title,
    .hero-subtitle,
    .hero-tagline,
    .hero-cta,
    .hero-scroll {
        opacity: 1;
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .scrolly-sticky {
        position: relative;
        height: auto;
        max-height: none;
        min-height: 0;
        padding: 32px 16px;
        display: block;
    }

    .scrolly-stage {
        display: contents;
    }

    .scrolly-frame {
        opacity: 1;
        position: relative;
        inset: auto;
        width: min(920px, 100%);
        aspect-ratio: 3 / 2;
        margin: 24px auto;
        overflow: hidden;
    }

    .scrolly-steps {
        display: none;
    }
}
