:root {
    --void: #0c0b0a;
    --brass: #e4c078;
    --brass-deep: #b8893d;
    --ivory: #efe6d6;
    --ink: #1b1713;
    --ice: #9fd4e6;
    --muted: #c3b6a4;
    --serif: "Merriweather", Georgia, "Times New Roman", serif;
    --sans: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--void);
    color: #f6efe4;
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.65;
    color-scheme: dark;
}
img { max-width: 100%; display: block; }

.line {
    position: fixed;
    top: 0; left: 0;
    height: 2px; width: 0;
    z-index: 60;
    background: var(--brass);
}
.grain {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.kicker {
    margin: 0;
    letter-spacing: .32em;
    text-transform: uppercase;
    font-size: clamp(.78rem, 1.2vw, .9rem);
    font-weight: 600;
    color: #fff8ea;
}
.kicker--ink { color: var(--brass-deep); }

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    margin: .55rem 0 .25rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 600;
    color: #fff8ea;
}
.ornament span {
    width: 7px; height: 7px;
    border: 1px solid var(--brass);
    transform: rotate(45deg);
}
.diamond-rule {
    display: block;
    width: min(12rem, 42vw);
    height: 2px;
    margin: 1.15rem auto 0;
    background: var(--brass);
    position: relative;
}
.diamond-rule::after {
    content: "";
    position: absolute;
    left: 50%; top: -4px;
    width: 8px; height: 8px;
    margin-left: -4px;
    border: 2px solid var(--brass);
    transform: rotate(45deg);
    background: var(--void);
}

h1, h2, h3, .ordeal, .era {
    font-family: var(--serif);
    font-optical-sizing: auto;
    font-weight: 900;
    color: var(--brass);
    letter-spacing: .02em;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}
.hero__img {
    position: absolute;
    inset: -4%;
    width: 108%;
    height: 108%;
    object-fit: cover;
    object-position: center 38%;
    will-change: transform;
    transform: scale(1.08);
}
.hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12,11,10,.88) 0%, rgba(12,11,10,.42) 26%, rgba(12,11,10,.12) 48%, rgba(12,11,10,.42) 72%, #0c0b0a 100%);
}
.hero__top,
.hero__bot {
    position: absolute;
    left: 0; right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 1.2rem;
}
.hero__top { top: 0; padding-top: 4.2rem; animation: rise 1s ease both; }
.hero__bot { bottom: 0; padding-bottom: 2.3rem; animation: rise 1.05s .18s ease both; }

.cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    margin: 1.1rem auto 0;
    width: max-content;
    color: var(--brass);
    letter-spacing: .28em;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}
.cue i { animation: drop 1.8s ease-in-out infinite; }

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s ease, transform .9s ease;
}
.reveal.is-in {
    opacity: 1;
    transform: none;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
@keyframes drop {
    0%, 100% { transform: translateY(0); opacity: .4; }
    50% { transform: translateY(7px); opacity: 1; }
}
@keyframes turn {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

h1, .ordeal {
    margin: 0;
    font-size: clamp(3.4rem, 11vw, 7.6rem);
    line-height: .92;
    text-transform: uppercase;
    color: #f3d592;
    -webkit-text-stroke: .6px rgba(20, 14, 8, .45);
    text-shadow:
        0 1px 0 #1a140c,
        0 3px 0 rgba(0, 0, 0, .35),
        0 18px 40px rgba(0, 0, 0, .7);
}
.ordeal { font-size: clamp(2.7rem, 8.4vw, 5.8rem); }

/* Full-bleed chapters */
.stage {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    overflow: hidden;
}
#vein { z-index: 1; }
#vein::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: min(38vh, 18rem);
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        #0c0b0a 0%,
        rgba(12, 11, 10, 0.88) 28%,
        rgba(12, 11, 10, 0.4) 62%,
        transparent 100%
    );
}
.stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stage__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,7,6,.72) 0%, rgba(8,7,6,.38) 40%, rgba(8,7,6,.86) 100%);
}
.stage__shade--side {
    background: linear-gradient(90deg, rgba(8,7,6,.9) 0%, rgba(8,7,6,.62) 48%, rgba(8,7,6,.4) 100%);
}
.stage__copy {
    position: relative;
    z-index: 2;
    width: min(46rem, 90vw);
    text-align: center;
    padding: 4rem 0;
}
.stage__copy--left { text-align: left; margin-right: auto; margin-left: 7vw; }
.stage h2 {
    margin: .55rem 0 1rem;
    font-size: clamp(1.85rem, 4.4vw, 3.1rem);
    line-height: 1.2;
    color: #f3d592;
    text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.stage p {
    margin: 1rem auto 0;
    max-width: 38rem;
    color: var(--muted);
    font-size: 1.12rem;
}
.stage__copy--left p { margin-left: 0; }
.stage__punch {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 700;
    font-size: 1.28rem !important;
    color: #fff8ea !important;
}
.promises {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .9rem;
    margin: 1.1rem 0 1.4rem;
}
.promises span {
    border-bottom: 2px solid rgba(228,192,120,.45);
    padding: .1rem 0;
    color: #f3d592;
    font-weight: 600;
}
.compass {
    width: 52px;
    height: 52px;
    color: var(--brass);
    margin-bottom: .6rem;
    animation: turn 18s linear infinite;
}

/* Ivory chapter strip */
.band {
    background: var(--ivory);
    color: var(--ink);
    text-align: center;
    padding: 2.7rem 1.4rem 2.5rem;
    border-top: 2px solid var(--brass-deep);
    border-bottom: 2px solid var(--brass-deep);
}
.band h2 {
    margin: .2rem 0 .7rem;
    font-size: clamp(2rem, 4.2vw, 2.9rem);
    color: var(--ink);
}
.band__lede {
    margin: 0 auto;
    max-width: 36rem;
    color: #4f463c;
    font-size: 1.08rem;
}

/* Then | Now */
.compare {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.spine {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 1px;
    background: rgba(228,192,120,.5);
    z-index: 3;
}
.vs {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 62px; height: 62px;
    margin: -31px 0 0 -31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid var(--brass);
    background: var(--void);
    font-family: var(--serif);
    font-weight: 900;
    letter-spacing: .08em;
    font-size: .8rem;
    color: var(--brass);
    animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(228,192,120,.35); }
    50% { box-shadow: 0 0 0 10px rgba(228,192,120,0); }
}

.pane {
    position: relative;
    min-height: 88vh;
    isolation: isolate;
    overflow: hidden;
}
.mosaic {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: 1.15fr .85fr;
    gap: 3px;
    opacity: .72;
    z-index: 0;
}
.mosaic--now { opacity: .68; }
.mosaic__a { grid-column: 1 / -1; }
.mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pane--then .mosaic img { filter: sepia(.42) contrast(1.04); }
.pane--now .mosaic img { filter: saturate(1.08) hue-rotate(-6deg); }

.glass {
    position: relative;
    z-index: 2;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.4rem 11% 3.4rem 8%;
    background:
        linear-gradient(180deg, rgba(14,11,8,.42) 0%, rgba(14,11,8,.82) 42%, rgba(14,11,8,.9) 100%);
}
.pane--now .glass {
    padding: 3.4rem 8% 3.4rem 11%;
    background:
        linear-gradient(180deg, rgba(6,12,18,.48) 0%, rgba(6,12,18,.84) 44%, rgba(6,12,18,.92) 100%);
}

.era {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    line-height: .95;
}
.pane--then .era { color: #f3d592; }
.pane--now .era { color: var(--ice); }
.glass h2 {
    margin: .4rem 0 .25rem;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    font-weight: 700;
    font-style: italic;
    color: #fff8ea;
}
.sub { margin: 0 0 1.15rem; color: var(--muted); }
.lede { margin: 0 0 .7rem; }
.glass ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.glass li {
    display: flex;
    gap: .7rem;
    padding: .52rem 0;
    border-top: 1px solid rgba(255,255,255,.1);
}
.glass li i {
    color: var(--brass);
    margin-top: .15rem;
}
.pane--now .glass li i { color: var(--ice); }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 1rem;
}
.chips span {
    border: 1px solid rgba(159,212,230,.45);
    padding: .3rem .62rem;
    font-size: .74rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    font-weight: 600;
}
.note { color: var(--muted); margin: 0; }

/* Waiting */
.waiting {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 2.4rem;
    align-items: center;
    padding: 4.6rem 6vw;
    background: #110e0b;
}
.waiting h2 {
    margin: .4rem 0 1rem;
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
    line-height: 1.25;
    color: #f3d592;
}
.ask {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    color: #fff8ea;
    margin: 0 0 1rem;
}
.still {
    display: grid;
    gap: .55rem;
    margin-top: 1.3rem;
}
.still div {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem .95rem;
    border-left: 3px solid var(--brass);
    background: rgba(255,255,255,.04);
    font-weight: 500;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity .55s ease, transform .55s ease;
}
.waiting__copy.is-in .still div {
    opacity: 1;
    transform: none;
}
.waiting__copy.is-in .still div:nth-child(2) { transition-delay: .1s; }
.waiting__copy.is-in .still div:nth-child(3) { transition-delay: .2s; }
.waiting__copy.is-in .still div:nth-child(4) { transition-delay: .3s; }
.still i { color: var(--brass); }
.waiting__img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border: 1px solid rgba(228,192,120,.28);
}

/* Four truths */
.truths {
    padding: 4rem 5.5vw 4.2rem;
    background: #0a0908;
    border-top: 1px solid rgba(228,192,120,.22);
}
.truths > .kicker {
    text-align: center;
    color: var(--brass);
}
.truths > h2 {
    text-align: center;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    margin: .3rem 0 1.8rem;
    color: #f3d592;
}
.truths__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8rem;
}
.truths article {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    border: 1px solid rgba(228,192,120,.32);
}
.truths__grid .reveal:nth-child(2) { transition-delay: .08s; }
.truths__grid .reveal:nth-child(3) { transition-delay: .16s; }
.truths__grid .reveal:nth-child(4) { transition-delay: .24s; }
.truths article img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.4);
    transform: scale(1.04);
    transition: transform 1.1s ease;
}
.truths article:hover img { transform: scale(1.1); }
.truths article div {
    position: relative;
    z-index: 1;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.15rem 1rem 1.2rem;
    background: linear-gradient(180deg, transparent 18%, rgba(8,7,6,.9));
}
.truths article i { color: var(--brass); font-size: 1.2rem; }
.truths article p {
    margin: .4rem 0 .3rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: .68rem;
    font-weight: 600;
    color: var(--brass);
}
.truths article h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.35;
    color: #fff8ea;
}

/* Formula */
.formula {
    text-align: center;
    padding: 4.6rem 1.4rem 4.8rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(228,192,120,.12), transparent 52%),
        #110e0b;
}
.formula h2 {
    margin: .3rem 0 1.8rem;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    color: #f3d592;
}
.alchemy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .7rem 1rem;
    margin: 0 0 1.6rem;
}
.alchemy b {
    display: grid;
    place-items: center;
    min-width: 158px;
    padding: 1.1rem 1.2rem;
    border: 2px solid rgba(228,192,120,.45);
    font-family: var(--serif);
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #f3d592;
    font-size: .92rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
}
.formula.is-in .alchemy b {
    opacity: 1;
    transform: none;
}
.formula.is-in .alchemy b:nth-child(3) { transition-delay: .12s; }
.formula.is-in .alchemy b:nth-child(5) { transition-delay: .24s; }
.formula.is-in .alchemy .sum { transition-delay: .4s; }
.alchemy i, .eq {
    color: var(--brass);
    font-size: 1.35rem;
}
.alchemy .sum {
    min-width: 210px;
    background: var(--ivory);
    color: var(--ink);
    border-color: var(--ivory);
}
.formula > p {
    margin: 0 auto;
    max-width: 36rem;
    color: var(--muted);
}

footer {
    padding: 1.3rem 5.5vw 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(228,192,120,.25);
    background: #080706;
}
footer p { margin: 0; color: var(--muted); }
footer em { color: var(--brass); font-style: italic; }

@media (max-width: 991.98px) {
    .compare, .truths__grid, .waiting { grid-template-columns: 1fr; }
    .spine, .vs { display: none; }
    .pane, .glass { min-height: auto; }
    .glass, .pane--now .glass { padding: 2.4rem 1.35rem 2.6rem; }
    .mosaic {
        position: relative;
        min-height: 240px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
    .mosaic__a { grid-column: 1 / -1; min-height: 240px; }
    .mosaic__b, .mosaic__c { display: none; }
    .hero__top { padding-top: 5rem; }
    .stage__copy--left { margin-left: auto; text-align: center; }
    .stage__copy--left p { margin-left: auto; }
    .promises { justify-content: center; }
    h1 { font-size: clamp(2.6rem, 14vw, 4.2rem); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .hero__top, .hero__bot, .still div, .alchemy b, .cue i, .compass, .vs {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
        box-shadow: none;
    }
    .hero__img { transform: none; inset: 0; width: 100%; height: 100%; }
}
