:root {
    --black: #08090a;
    --midnight-green: #0c1f1a;
    --burgundy: #3d0f18;
    --burgundy-bright: #5c1522;
    --burnt-gold: #c9a24b;
    --gold-bright: #e8c877;
    --ivory: #efe6d3;
    --old-paper: #e6d9b8;
    --bronze: #8a6d3f;
    --walnut: #1c140d;
    --amber: #d9a94e;
    --ink: #0a0c0a;
    --font-display: 'Cinzel', serif;
    --font-hand: 'Playfair Display', serif;
    --font-quote: 'Cormorant Garamond', serif;
    --font-body: 'IBM Plex Serif', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--black);
}

::selection {
    background: var(--burnt-gold);
    color: var(--black);
}

body {
    background: var(--black);
    color: var(--ivory);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
}

@media (max-width:900px) {
    body {
        cursor: auto;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* ============ GRAIN / VIGNETTE ============ */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: .05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
    position: fixed;
    inset: 0;
    z-index: 9989;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .55) 100%);
}

/* ============ CUSTOM CURSOR ============ */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    border: 1px solid var(--burnt-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .35s ease, height .35s ease, border-color .35s ease, background .35s ease;
    mix-blend-mode: difference;
}

.cursor.hover {
    width: 54px;
    height: 54px;
    background: rgba(201, 162, 75, .15);
}

@media (max-width:900px) {
    .cursor {
        display: none;
    }
}

/* ============ THEATER CURTAINS ============ */
.curtains {
    position: fixed;
    inset: 0;
    z-index: 9993;
    pointer-events: none;
    overflow: hidden;
}

.curtain-panel {
    position: absolute;
    top: -3%;
    bottom: -3%;
    width: 53%;
    background:
        repeating-linear-gradient(90deg,
            rgba(0, 0, 0, .28) 0px, rgba(0, 0, 0, .28) 4px,
            transparent 4px, transparent 16px,
            rgba(255, 235, 190, .07) 16px, rgba(255, 235, 190, .07) 19px,
            transparent 19px, transparent 34px),
        radial-gradient(ellipse 140% 60% at 50% 0%, rgba(140, 30, 45, .55), transparent 65%),
        linear-gradient(180deg, #6e1828 0%, #4a1220 45%, #26090f 100%);
    box-shadow: inset 0 0 140px rgba(0, 0, 0, .7);
}

.curtain-panel.left {
    left: -3%;
    transform-origin: left center;
    border-right: 2px solid rgba(201, 162, 75, .55);
}

.curtain-panel.right {
    right: -3%;
    transform-origin: right center;
    border-left: 2px solid rgba(201, 162, 75, .55);
}

.curtain-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(0, 0, 0, .5), transparent 70%);
}

.curtain-panel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2%;
    height: 30px;
    background: repeating-radial-gradient(circle at 12px 0, var(--gold-bright) 0 5px, transparent 6px 22px);
    opacity: .9;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5));
}

.curtain-valance {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10%;
    min-height: 70px;
    z-index: 2;
    background: linear-gradient(180deg, #6e1828, #3a0f18 90%);
    border-bottom: 3px solid var(--burnt-gold);
    box-shadow: 0 14px 50px rgba(0, 0, 0, .65);
}

.curtain-valance::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -16px;
    height: 16px;
    background: repeating-radial-gradient(circle at 16px 0, var(--burnt-gold) 0 7px, transparent 8px 32px);
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5));
}

/* ============ PRELOADER ============ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
}

#preloader svg {
    width: 70px;
    height: 70px;
}

#preloader .pre-line {
    stroke: var(--burnt-gold);
    stroke-width: 1.2;
    fill: none;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

#preloader .pre-text {
    font-family: var(--font-display);
    letter-spacing: .35em;
    font-size: 11px;
    color: var(--bronze);
    text-transform: uppercase;
}

/* ============ SMOOTH SCROLL WRAPPER ============ */
#wrapper {
    position: relative;
}

/* ============ SECTION BASE ============ */
section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--burnt-gold);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--burnt-gold);
}

h2.title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--gold-bright);
    letter-spacing: .02em;
    line-height: 1.15;
}

/* ============ HERO ============ */
#hero {
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 60% 50% at 50% 30%, rgba(212, 169, 78, .10), transparent 60%),
        radial-gradient(ellipse 90% 70% at 50% 100%, rgba(12, 31, 26, .9), transparent 60%),
        linear-gradient(180deg, #050505 0%, #0b0a08 40%, #0d0b09 100%);
}

.hero-cols {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    opacity: .5;
}

.hero-cols span {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(201, 162, 75, .25) 20%, rgba(201, 162, 75, .25) 80%, transparent);
}

.bookshelf {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    z-index: 2;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7) 70%);
}

.hero-rays {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: conic-gradient(from 200deg at 50% -10%, transparent 0deg, rgba(233, 200, 120, .09) 8deg, transparent 20deg, transparent 40deg, rgba(233, 200, 120, .06) 48deg, transparent 60deg);
    mix-blend-mode: screen;
    opacity: .8;
}

.dust-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 24px;
    max-width: 1000px;
}

.hero-eyebrow {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    color: var(--old-paper);
    opacity: .8;
    letter-spacing: .05em;
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 7.4vw, 6.4rem);
    line-height: 1.02;
    letter-spacing: .01em;
    background: linear-gradient(180deg, #f7e6ae 0%, #d9ab52 45%, #a97f34 55%, #e8c877 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 60px rgba(201, 162, 75, .25);
}

.hero-title .line {
    display: block;
    /*overflow: hidden;*/
}

.hero-title .line span {
    /* display: inline-block; */
    /*transform: translateY(110%) ;*/
    transform: translate(0px, 0%) !important;
}

.hero-sub {
    font-family: var(--font-quote);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1rem, 1.7vw, 1.35rem);
    color: var(--old-paper);
    opacity: 0;
    margin: 26px auto 0;
    max-width: 560px;
    letter-spacing: .02em;
}

.hero-cta {
    margin-top: 48px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 38px;
    border: 1px solid var(--burnt-gold);
    border-radius: 2px;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-bright);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: color .4s ease, letter-spacing .4s ease;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--burnt-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s cubic-bezier(.65, 0, .35, 1);
    z-index: -1;
}

.hero-cta:hover {
    color: var(--black);
    letter-spacing: .36em;
}

.hero-cta:hover::before {
    transform: scaleX(1);
}

.hero-scroll {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: .6;
}

.hero-scroll .stem {
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, var(--burnt-gold), transparent);
    position: relative;
    overflow: hidden;
}

.hero-scroll .stem::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-bright);
    animation: scrollDrip 2.4s ease-in-out infinite;
}

@keyframes scrollDrip {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

.hero-scroll span {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--bronze);
    text-transform: uppercase;
}

.raven {
    position: absolute;
    z-index: 4;
    width: 64px;
    opacity: 0;
    pointer-events: none;
}

/* ============ ABOUT / PARCHMENT ============ */
#about {
    background: linear-gradient(180deg, #0d0b09, #120e0a 40%, #0d0b09);
    padding: 170px 24px 90px;
}

.parchment-wrap {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.parchment {
    position: relative;
    padding: 70px clamp(24px, 6vw, 90px);
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, .03), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 0, 0, .3), transparent 60%),
        linear-gradient(160deg, #e9dcb9, #dcc99b 45%, #e6d6ac 100%);
    color: #2c2013;
    border-radius: 3px;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(201, 162, 75, .25);
}

.parchment::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .15;
    mix-blend-mode: multiply;
    border-radius: 3px;
    background-image: radial-gradient(circle at 30% 40%, rgba(120, 90, 40, .4), transparent 40%), radial-gradient(circle at 70% 70%, rgba(90, 60, 20, .35), transparent 45%);
}

.parchment h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    color: #3a2510;
    margin-bottom: 28px;
    letter-spacing: .03em;
}

.parchment p {
    font-family: var(--font-quote);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.75;
    color: #3a2c17;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(14px);
}

.parchment .quote-line {
    font-style: italic;
    color: var(--burgundy-bright);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    margin: 34px 0;
}

/* ============ TIMELINE ============ */
/* #timeline {
    background: var(--black);
    padding: 170px 0 170px;
}

.timeline-head {
    max-width: 1100px;
    margin: 0 auto 70px;
    padding: 0 24px;
}

.timeline-track-wrap {
    overflow-x: auto;
      padding: 1px 0 160px;
    scrollbar-width: thin;
    scrollbar-color: var(--bronze) transparent;
}

.timeline-track {
    display: flex;
    gap: 0;
    padding: 10px 8vw;
    position: relative;
    min-width: max-content;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bronze) 6%, var(--bronze) 94%, transparent);
}

.tl-item {
    width: 260px;
    flex: 0 0 260px;
    padding: 0 26px;
    position: relative;
    cursor: pointer;
}

.tl-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--black);
    border: 2px solid var(--burnt-gold);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: background .35s, box-shadow .35s;
}



.tl-item:nth-child(even) .tl-card {
    bottom: calc(50% + 40px);
}

.tl-card {
    position: absolute;
    left: 26px;
    right: 26px;
    text-align: left;
}

.tl-year {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: .25em;
    color: var(--burnt-gold);
    text-transform: uppercase;
}

.tl-name {
    font-family: var(--font-hand);
    font-size: 1.25rem;
    color: var(--ivory);
    margin-top: 8px;
    line-height: 1.25;
}

.tl-desc {
    font-family: var(--font-quote);
    font-size: .98rem;
    color: #b9ac91;
    margin-top: 10px;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .5s ease, opacity .4s ease;
}

.tl-item:hover .tl-desc {
    max-height: 140px;
    opacity: 1;
}

.tl-item:hover .tl-dot {
    background: var(--burnt-gold);
    box-shadow: 0 0 18px 4px rgba(201, 162, 75, .6);
}

.tl-item:hover .tl-name {
    color: var(--gold-bright);
} */
 #timeline {
    background: var(--black);
    padding: 5rem 0;
    overflow: hidden;
}

.timeline-head {
    max-width: 1100px;
    margin: 0 auto 70px;
}

.timeline-slider {
    width: 100%;
    /* overflow: visible; */
    /* padding: 120px 0; */
}

.timeline-slider .swiper-wrapper {
    align-items: center;
}


/* Timeline center line */

.timeline-slider::before {
    content: "";
    position: absolute;
     top: 3%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--bronze) 8%,
        var(--bronze) 92%,
        transparent
    );
    z-index: 1;
}


/* Slide */

.timeline-slider .swiper-slide {
    width: 260px;
    height: 330px;
}


/* Item */

.tl-item {
    width: 100%;
    /* height: 100%; */
    position: relative;
}

.tl-item:nth-child(odd) .tl-card {
    top: calc(50% + 40px);
}
/* Dot */

.tl-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--black);
    border: 2px solid var(--burnt-gold);

    position: absolute;
  top: 11px;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 5;

    transition: .35s ease;
}


/* Card */

.tl-card {
    position: absolute;

    left: 25px;
    right: 25px;

    text-align: left;
}


/* Odd = bottom */

.timeline-slider .swiper-slide:nth-child(odd) .tl-card {
    top: calc(50% + 40px);
}


/* Even = top */

.timeline-slider .swiper-slide:nth-child(even) .tl-card {
    bottom: calc(50% + 40px);
}


/* Year */

.tl-year {
    font-family: var(--font-display);
    font-size: 11px;

    letter-spacing: .25em;

    color: var(--burnt-gold);

    text-transform: uppercase;
}


/* Name */

.tl-name {
    font-family: var(--font-hand);

    font-size: 1.25rem;

    color: var(--ivory);

    margin-top: 8px;

    line-height: 1.25;

    transition: .35s ease;
}


/* Description */

.tl-desc {
    font-family: var(--font-quote);

    font-size: .98rem;

    color: #b9ac91;

    margin-top: 10px;

    line-height: 1.5;

      max-height: 150px;

    overflow: hidden;

    opacity: 1;

    transition:
        max-height .5s ease,
        opacity .4s ease;
}


/* Hover */

.tl-item:hover .tl-desc {
    max-height: 150px;
    opacity: 1;
}

.tl-item:hover .tl-dot {
    background: var(--burnt-gold);

    box-shadow:
        0 0 18px 4px rgba(201, 162, 75, .6);
}

.tl-item:hover .tl-name {
    color: var(--gold-bright);
}


/* Active slide */

.timeline-slider .swiper-slide-active .tl-dot {
    background: var(--burnt-gold);
    box-shadow: 0 0 15px rgba(201, 162, 75, .5);
}


/* Mobile */

@media (max-width: 767px) {

    #timeline {
        padding: 100px 0;
    }

    .timeline-head {
        margin-bottom: 30px;
    }

    .timeline-slider {
        padding: 100px 0;
    }

    .timeline-slider .swiper-slide {
        width: 280px;
        height: 350px;
    }

    .tl-card {
        left: 15px;
        right: 15px;
    }

    .tl-name {
        font-size: 1.1rem;
    }

    .tl-desc {
        font-size: .9rem;
    }

}
/* ============ CHARACTERS ============ */
#characters {
    background: linear-gradient(180deg, #0d0b09, var(--midnight-green) 45%, #0a1512);
    padding: 170px 24px;
}

.chars-head {
    max-width: 1200px;
    margin: 0 auto 70px;
}

.char-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
}

.char-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(160deg, #1a2620, #0c1310);
    border: 1px solid rgba(201, 162, 75, .18);
    isolation: isolate;
}

.char-card .cc-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(201, 162, 75, .16), transparent 60%);
    transform: scale(1.15);
    transition: transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

.char-card:hover .cc-bg {
    transform: scale(1.32);
}

.char-card .cc-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(.55) sepia(.22) contrast(1.05) brightness(.82);
    transform: scale(1.08);
    transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), filter .6s ease;
}

.char-card:hover .cc-photo {
    transform: scale(1.18);
    filter: grayscale(.15) sepia(.12) contrast(1.08) brightness(.92);
}

.char-card .cc-photo~.cc-info {
    background: linear-gradient(180deg, transparent, rgba(4, 5, 4, .96) 60%);
}

.cc-monogram {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 5.4rem;
    color: rgba(201, 162, 75, .14);
    transition: color .6s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}

.char-card:hover .cc-monogram {
    color: rgba(201, 162, 75, .26);
    transform: scale(1.08);
}

.cc-border {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 162, 75, .35);
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s ease, box-shadow .5s ease;
}

.char-card:hover .cc-border {
    opacity: 1;
    box-shadow: 0 0 24px rgba(201, 162, 75, .25) inset;
}

.cc-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 22px 20px;
    z-index: 3;
    background: linear-gradient(180deg, transparent, rgba(5, 6, 5, .92) 65%);
}

.cc-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: .05em;
    color: var(--gold-bright);
}

.cc-role {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: .9rem;
    color: #b9ac91;
    margin-top: 4px;
}

.cc-quote {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: .92rem;
    color: var(--old-paper);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .5s ease, opacity .4s ease, margin .5s ease;
}

.char-card:hover .cc-quote {
    max-height: 90px;
    opacity: .9;
    margin-top: 8px;
}

/* ============ HALL OF WIT ============ */
#wit {
    background: #0a1512;
    padding: 170px 24px;
    position: relative;
}

.wit-head {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.wit-head .title {
    margin: 0 auto;
}

.wit-grid {
    max-width: 1200px;
    margin: 0 auto;
    columns: 3 260px;
    column-gap: 26px;
}

@media (max-width:700px) {
    .wit-grid {
        columns: 1;
    }
}

.wit-card {
    break-inside: avoid;
    margin-bottom: 26px;
    padding: 30px 26px;
    border-radius: 2px;
    cursor: pointer;
    background: linear-gradient(160deg, rgba(233, 220, 180, .05), rgba(233, 220, 180, .02));
    border: 1px solid rgba(201, 162, 75, .18);
    position: relative;
    transition: transform .4s ease, border-color .4s ease, background .4s ease;
}

.wit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 162, 75, .55);
    background: rgba(233, 220, 180, .06);
}

.wit-card p {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: 1.18rem;
    line-height: 1.55;
    color: var(--old-paper);
}

.wit-card .mark-1 {
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: rgba(201, 162, 75, .3);
}

.wit-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 3, 2, .88);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
    padding: 24px;
}

.wit-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.wit-modal-inner {
    max-width: 640px;
    text-align: center;
    padding: 60px clamp(24px, 6vw, 80px);
    position: relative;
    transform: scale(.92);
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
    border: 1px solid rgba(201, 162, 75, .4);
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 75, .06), transparent 60%), #0c0a08;
}

.wit-modal.open .wit-modal-inner {
    transform: scale(1);
}

.wit-modal-inner p {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.5;
    color: var(--ivory);
}

.wit-modal-inner .attr {
    margin-top: 26px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: .3em;
    color: var(--burnt-gold);
    text-transform: uppercase;
}

.wit-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--bronze);
}

/* ============ AUTHOR ============ */
#author {
    background: #0d0b09;
    padding: 170px 24px;
}

.author-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

@media (max-width:800px) {
    .author-wrap {
        grid-template-columns: 1fr;
    }
}

.author-portrait {
    aspect-ratio: 4/5;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 40% 30%, rgba(201, 162, 75, .18), transparent 60%), linear-gradient(160deg, #1c1712, #0a0806);
    border: 1px solid rgba(201, 162, 75, .25);
}

.author-portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(images/author.png) no-repeat ;
    background-size: cover;
    /* font-family: var(--font-display);
    font-size: 2.6rem;
    letter-spacing: .15em;
    color: rgba(201, 162, 75, .22); */
}

.author-bio p {
    font-family: var(--font-quote);
    font-size: 1.15rem;
    line-height: 1.75;
    color: #c9bca0;
    margin-bottom: 20px;
}

.signature-svg {
    width: 220px;
    margin-top: 20px;
}

.signature-svg path {
    fill: none;
    stroke: var(--gold-bright);
    stroke-width: 2;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}

/* ============ BUY ============ */
#buy {
    background: linear-gradient(180deg, #0d0b09, var(--burgundy) 130%);
    padding: 170px 24px;
    position: relative;
}

.buy-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width:850px) {
    .buy-wrap {
        grid-template-columns: 1fr;
    }
}

.book-stage {
    perspective: 1600px;
    display: flex;
    justify-content: center;
}

.book-3d {
    width: 280px;
    aspect-ratio: 2/3;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-24deg) rotateX(4deg);
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.book-stage:hover .book-3d {
    transform: rotateY(-8deg) rotateX(2deg);
}

.book-cover {
    position: absolute;
    inset: 0;
    border-radius: 2px 5px 5px 2px;
    overflow: hidden;
    box-shadow: 26px 30px 70px -20px rgba(0, 0, 0, .85);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-spine {
    position: absolute;
    left: -18px;
    top: 0;
    bottom: 0;
    width: 18px;
    background: linear-gradient(90deg, #0c0a08, #1a1510);
    transform: rotateY(90deg);
    transform-origin: right;
    border-radius: 2px 0 0 2px;
}

.book-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at 30% 20%, rgba(201, 162, 75, .22), transparent 60%);
    filter: blur(30px);
    z-index: -1;
}

.buy-copy h2 {
    margin-bottom: 22px;
}

.buy-copy p {
    font-family: var(--font-quote);
    font-size: 1.15rem;
    color: #d9cdb2;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 460px;
}

.buy-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.buy-btn {
    padding: 15px 26px;
    border: 1px solid rgba(201, 162, 75, .5);
    border-radius: 2px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--old-paper);
    position: relative;
    overflow: hidden;
    transition: color .4s ease, border-color .4s ease;
}

.buy-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--burnt-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s cubic-bezier(.65, 0, .35, 1);
    z-index: -1;
}

.buy-btn:hover {
    color: var(--black);
    border-color: var(--burnt-gold);
}

.buy-btn:hover::before {
    transform: scaleX(1);
}

.buy-btn.signed {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

/* ============ MEDIA ============ */
#media {
    background: var(--burgundy);
    padding: 170px 24px;
}

.media-head {
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.media-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    display: none !important;
}

.media-card {
    aspect-ratio: 16/10;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(160deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55)),
        radial-gradient(ellipse at 30% 20%, rgba(201, 162, 75, .2), transparent 60%);
    border: 1px solid rgba(233, 200, 120, .2);
}

.media-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s ease, background .4s ease;
}

.media-card:hover .media-play {
    transform: translate(-50%, -50%) scale(1.15);
    background: rgba(233, 200, 120, .14);
}

.media-play::after {
    content: '';
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent var(--gold-bright);
    margin-left: 4px;
}

.media-label {
    position: absolute;
    left: 18px;
    bottom: 16px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--old-paper);
}

/* ============ FOOTER ============ */
footer {
    background: var(--black);
    padding: 90px 24px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-stars {
    position: absolute;
    inset: 0;
    opacity: .5;
}

.footer-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--gold-bright);
    letter-spacing: .08em;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
    margin: 26px 0 40px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #a99a7c;
}

.footer-links a {
    transition: color .3s ease;
      color: var(--gold-bright);
}

.footer-links a:hover {
    color: var(--gold-bright);
}

.footer-fine {
    font-family: var(--font-quote);
    font-style: italic;
    color: #6b5f4a;
    font-size: .9rem;
}

.smoke {
    position: absolute;
    bottom: -20%;
    left: 50%;
    width: 600px;
    height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(120, 100, 60, .08), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

/* ============ SOUND TOGGLE ============ */
#sound-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 60;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 75, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 9, 10, .6);
    backdrop-filter: blur(6px);
    transition: border-color .3s ease;
}

#sound-toggle:hover {
    border-color: var(--gold-bright);
}

#sound-toggle svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold-bright);
}

/* nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 22px clamp(20px, 4vw, 50px);
    mix-blend-mode: difference;
}

.nav-mark {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: .25em;
    color: var(--ivory);
    text-transform: uppercase;
}

.nav-links {
    display: none;
    gap: 30px;
    font-family: var(--font-display);
    font-size: 10.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ivory);
}

@media (min-width:900px) {
    .nav-links {
        display: flex;
    }
}

/* .nav-links a {
    opacity: .75;
    transition: opacity .3s ease;
} */
.nav-links a {
    opacity: 9.75;
    transition: opacity .3s ease;
    color: #dfbd72;
}
.nav-links a:hover {
    opacity: 1;
     color: #dfbd72;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: reduce) {

    .hero-title .line span,
    .reveal {
        transform: none !important;
        opacity: 1 !important;
    }

    * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}




.character-sec {
      background: linear-gradient(180deg, #0d0b09, var(--midnight-green) 45%, #0a1512);
  padding: 0 0px 80px;
}

.character-card {
    position: relative;
    height: 375px;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.04),
        rgba(0,0,0,.65)
    );
    border: 1px solid rgba(201, 162, 75, .35);
    overflow: hidden;
    transition: .5s ease;
    margin-bottom: 30px;
}

.character-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* .character-img .letter {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 90px;
    color: rgba(201, 162, 75, .20);
    z-index: 1;
    transition: .5s ease;
} */

.character-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    /* transform: scale(1.08);
    transition: .6s ease;
    filter: brightness(.65); */
}

.character-content {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    z-index: 3;
}

.character-content h4 {
    margin: 0 0 5px;
    color: var(--gold-bright);
    font-family: var(--font-display);
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.character-content p {
    margin: 0;
    /* color: var(--old-paper); */
      color: #ffffff;
    font-family: var(--font-quote);
    font-size: 15.7px;
    font-style: italic;
    font-weight: 500;
}


/* Hover */
.character-card:hover {
    border-color: var(--burnt-gold);
    transform: translateY(-5px);
}

.character-card:hover .character-img img {
    opacity: 1;
    transform: scale(1);
}

.character-card:hover .character-img .letter {
    opacity: 0;
}

.character-card:hover .character-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 9, 10, .9),
        rgba(12, 31, 26, .05)
    );
    z-index: 2;
}



  /* ---------- Reviews (teaser cards) ---------- */
 /* ---------- Reviews ---------- */

/* ---------- Reviews ---------- */

.reviews {
   background: #0a1512;
}

.reviews-grid {
    margin-top: 56px;
}

.reviews-grid > div {
    margin-bottom: 26px;
}

.review-teaser {
    height: 100%;
    /* background: var(--old-paper); */
    /* border: 1px solid rgba(61, 15, 24, 0.18); */
    /* padding: 32px; */
    display: flex;
    flex-direction: column;
    gap: 14px;
    /* transition: transform 0.25s ease, box-shadow 0.25s ease; */
    break-inside: avoid;
    margin-bottom: 26px;
    padding: 30px 26px;
    border-radius: 2px;
    cursor: pointer;
    background: linear-gradient(160deg, rgba(233, 220, 180, .05), rgba(233, 220, 180, .02));
    border: 1px solid rgba(201, 162, 75, .18);
    position: relative;
    transition: transform .4s ease, border-color .4s ease, background .4s ease;
}

.review-teaser:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(28, 20, 13, 0.15);
}

.review-stars {
    font-size: 15px;
    letter-spacing: 0.1em;
    color: var(--burnt-gold);
}

.review-stars .empty {
    color: rgba(10, 12, 10, 0.20);
}

.review-who {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bronze);
}

.review-headline {
    font-family: var(--font-quote);
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.3;
    color: var(--gold-bright);
}

.review-excerpt {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--old-paper);

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-more {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--gold-bright);
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.review-more:hover {
    color: var(--burgundy-bright);
    text-decoration: none;
}

.reviews-cta {
    margin-top: 28px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.reviews-cta a{
    border: 1px solid var(--amber);
    /* padding: 1rem; */
    width: 186px !important;
    height: 44px !important;
    display: block;
    display: grid;
    place-items: center;
    color: var(--amber);
}
.reviews-cta a:hover{
    background-color: var(--amber);
    color: #fff;
}
@media (max-width: 767.98px) {

    .reviews-grid {
        margin-top: 35px;
    }

    .reviews-grid > div {
        margin-bottom: 20px;
    }

    .review-teaser {
        padding: 24px 20px;
    }

    .review-headline {
        font-size: 18px;
    }

    .review-excerpt {
        font-size: 14px;
    }

    .review-who {
        font-size: 10px;
        line-height: 1.5;
    }

    .reviews-cta {
        margin-top: 10px;
    }
}