/* ============================================================
   CRIMSON CANVAS — Custom CSS Stylesheet
   No frameworks. No utilities. Pure CSS.
   ============================================================ */
/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@400;500;600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
    --color-black: #080706;
    --color-charcoal: #11100F;
    --color-dark-brown: #211713;
    --color-crimson-dark: #5E0C0C;
    --color-crimson: #f02a22;
    --color-crimson-mid: #f9a8aa;
    --color-gold: #ffcc80;
    --color-gold-light: #D4B07A;
    --color-gold-dim: #8a6e45;
    --color-ivory: #E8DED0;
    --color-ivory-dim: #c8beb0;
    --color-white: #FFFFFF;
    --gradient-hero-overlay: linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0%, rgb(5 5 5 / 25%) 30%, rgba(5, 5, 5, 0.30) 65%, rgba(5, 5, 5, 0.06) 100%);
    --font-display: 'Cinzel Decorative', 'Cinzel', serif;
    --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1500px;
    --section-spacing: 120px;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
    --border-gold: 1px solid rgba(196, 160, 106, 0.3);
    --border-crimson: 1px solid rgba(155, 21, 21, 0.4);
    --shadow-crimson-glow: 0 0 30px rgba(155, 21, 21, 0.4), 0 0 60px rgba(155, 21, 21, 0.15);
    --shadow-gold-glow: 0 0 25px rgba(196, 160, 106, 0.3);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--color-black);
    color: var(--color-ivory);
    font-family: var(--font-sans);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 5vw, 80px);
    padding-right: clamp(20px, 5vw, 80px);
}

.section {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
    position: relative;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-delay-6 {
    transition-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   DECORATIVE
   ============================================================ */
.divider-ornament {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 160, 106, 0.5), transparent);
}

.divider-ornament span {
    width: 8px;
    height: 8px;
    border: 1px solid var(--color-gold);
    transform: rotate(45deg);
    display: block;
    flex-shrink: 0;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-ivory);
    margin-bottom: 24px;
}

.section-heading em {
    font-style: italic;
    color: var(--color-crimson);
}

.section-subtext {
    /* font-family: var(--font-serif); */
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--color-ivory-dim);
    line-height: 1.9;
    max-width: 560px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary {
    background-color: var(--color-crimson);
    color: var(--color-ivory);
    border: 1px solid rgba(155, 21, 21, 0.6);
}

.btn-primary::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
}

.btn-primary:hover {
    background-color: var(--color-crimson-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-crimson-glow);
    border-color: var(--color-crimson);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--color-crimson);
    outline-offset: 3px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-ivory);
    border: 1px solid rgba(196, 160, 106, 0.6);
}

.btn-secondary:hover {
    background-color: rgba(196, 160, 106, 0.08);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-glow);
    color: var(--color-gold-light);
}

.btn-secondary:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: background-color var(--transition-slow), padding var(--transition-base), box-shadow var(--transition-slow);
}

.site-header.scrolled {
    background-color: rgba(8, 7, 6, 0.178);
    padding: 5px 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-base), filter var(--transition-base);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-logo__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--color-ivory);
    line-height: 1;
    transition: color var(--transition-base);
}

.nav-logo__subtitle {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-top: 3px;
}

.nav-logo:hover .nav-logo__title {
    color: var(--color-crimson);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(232, 222, 208, 0.7);
    position: relative;
    padding-bottom: 10px;
    transition: color var(--transition-base);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-crimson);
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-ivory);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    font-size: 13px;
    padding: 11px 26px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1010;
    position: relative;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background-color: var(--color-ivory);
    transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
    transform-origin: center;
}

.nav-toggle span:nth-child(2) {
    width: 70%;
    margin-left: auto;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(8, 7, 6, 0.98);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-mobile.open {
    opacity: 1;
    pointer-events: all;
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.nav-mobile-links a {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 500;
    color: var(--color-ivory);
    letter-spacing: 0.04em;
    padding: 12px 24px;
    display: block;
    transition: color var(--transition-base), transform var(--transition-base);
}

.nav-mobile-links a:hover {
    color: var(--color-crimson);
    transform: translateX(8px);
}

.nav-mobile-cta {
    margin-top: 40px;
}

.nav-mobile-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    margin: 20px auto;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-black);
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    transform: scale(1.04);
    transition: transform 12s ease;
}

.hero-section.loaded .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--gradient-hero-overlay);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 7, 6, 0.5) 0%, transparent 20%, transparent 75%, rgba(8, 7, 6, 0.9) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: 110px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 680px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-crimson);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--color-crimson), rgba(255, 255, 255, 0.4));
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 6.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-ivory);
    margin: 0px;
}

.hero-title .crimson-word {
    color: var(--color-ivory);
    display: block;
}

.hero-title .canvas-word {
    color: var(--color-crimson);
    font-style: italic;
    display: block;
}

.hero-byline {
    font-family: var(--font-serif);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--color-gold);
    margin-bottom: 4 px;
    font-style: italic;
}

.hero-divider {
    width: 85px;
    height: 2px;
    background: linear-gradient(to right, var(--color-crimson), rgb(255 255 255 / 40%));
    margin-bottom: 30px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    color: #f0e8dd;
    line-height: 1.4;
    margin-bottom: 20px;
    /* font-style: italic; */
}

.hero-synopsis {
    font-family: var(--font-sans), sans-serif;
    font-size: clamp(1rem, 1.4vw, 1rem);
    color: #ffffff;
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    transition: opacity var(--transition-base);
    cursor: pointer;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.hero-scroll-indicator span {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 1px solid var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
    transform: rotate(45deg);
    animation: bounceDown 1.8s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(6px);
    }
}

/* ============================================================
   BOOK INTRO
   ============================================================ */
.book-intro {
    background-color: var(--color-charcoal);
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.book-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 160, 106, 0.3), transparent);
}

.book-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(40px, 6vw, 50px);
    align-items: center;
}

.book-intro-visual {
    position: relative;
}

.book-cover-wrapper {
    position: relative;
    max-width: 600px;
}

.book-cover-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(-11px 13px 4px rgba(0, 0, 0, 0.5));
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.book-intro-content .section-subtext {
    max-width: 100%;
    margin-bottom: 40px;
}

.book-intro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(196, 160, 106, 0.15);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.meta-value {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-ivory);
}

/* ============================================================
   ABOUT THE BOOK
   ============================================================ */
.about-book {
    background-color: var(--color-black);
    padding: var(--section-spacing) 0;
}

.about-book-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.about-book-left .section-subtext {
    max-width: 100%;
}

.about-book-quote {
    position: relative;
    padding: 40px 48px;
    border-left: 3px solid var(--color-crimson);
    background: linear-gradient(135deg, rgba(94, 12, 12, 0.08) 0%, rgba(33, 23, 19, 0.3) 100%);
    margin-top: 40px;
}

.about-book-quote::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 100px;
    color: var(--color-crimson);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 16px;
    line-height: 1;
    pointer-events: none;
}

.about-book-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-style: italic;
    line-height: 1.8;
    color: var(--color-ivory);
}

.about-book-quote cite {
    display: block;
    margin-top: 16px;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    font-style: normal;
}

.about-book-right {
    padding-top: 20px;
}

.synopsis-paragraph {
    font-size: clamp(1rem, 1.3vw, 0.9rem);
    line-height: 1.95;
    color: rgba(232, 222, 208, 0.8);
    margin-bottom: 24px;
}

.synopsis-paragraph:last-child {
    margin-top: 24px;
}

/* ============================================================
   CHARACTERS
   ============================================================ */
.characters {
    background-image: url(../img/character_background1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.characters-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.characters-header .section-heading,
.characters-header .divider-ornament {
    text-align: center;
    justify-content: center;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 32px);
}

.character-card {
    position: relative;
    background-color: var(--color-black);
    border: 1px solid #fce4cf;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 320px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.character-card:hover {
    border-color: #fcebdc;
    box-shadow: 0 0 20px rgba(155, 21, 21, 0.15);
    transform: translateY(-4px);
}

.character-card__body {
    padding: 40px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.character-name {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 400;
    color: var(--color-ivory);
    margin-bottom: 8px;
}

.character-role {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-crimson);
    margin-bottom: 12px;
}

.character-divider {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 8px;
}

.character-divider::before,
.character-divider::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.character-divider span {
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--color-crimson);
    transform: rotate(45deg);
}

.character-description {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: rgba(232, 222, 208, 0.7);
    line-height: 1.6;
    margin-bottom: auto;
}

.character-traits {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--color-gold);
    margin-top: 24px;
}

.trait-dot {
    color: var(--color-white);
    margin: 0 10px;
}

.synopsis-paragraph-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 1400px) {
    .container {
        width: 100%;
        max-width: 1100px;
    }

    .nav-logo-img {
        max-height: 70px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .nav-cta {
        font-size: 10px;
    }

    .hero-content-wrapper {
        padding-top: 135px;
    }

    .hero-content {
        max-width: 450px;
    }

    .hero-eyebrow {
        font-size: 7px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-byline {
        font-size: 0.85rem;
    }

    .hero-divider {
        width: 60px;
        margin-bottom: 20px;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-synopsis {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 8px;
    }

    .section-eyebrow {
        font-size: 10px;
    }

    .divider-ornament {
        margin-bottom: 10px;
    }

    .section-heading {
        /* font-size: 4.5rem; */
        margin-bottom: 15px;
    }

    .section-subtext {
        font-size: 0.79rem;
    }

    .synopsis-paragraph-heading {
        font-size: 2.8rem;
    }

    .synopsis-paragraph {

        font-size: 0.79rem;
    }

    .character-card__body {
        padding: 15px 10px;
    }
}

@media (max-width: 1200px) {
    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .character-card {
        flex-direction: column;
    }

    .character-card__image {
        flex: none;
        height: 250px;
    }

    .character-card__image-overlay {
        background: linear-gradient(to top, var(--color-black) 0%, transparent 50%);
    }

    .character-card__body {
        padding: 30px;
    }

    .btn {
        font-size: 11px;

    }
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
    position: relative;
    padding: var(--section-spacing) 0;
    background-color: var(--color-charcoal);
    overflow: hidden;
    text-align: center;
}

.quote-inner {
    max-width: 900px;
    margin: 0 auto;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 140px;
    color: var(--color-crimson);
    opacity: 1.5;
    line-height: 0.5;
    display: block;
    user-select: none;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-style: italic;
    font-weight: 500;
    color: var(--color-ivory);
    line-height: 1.5;
    letter-spacing: 0.01em;
    margin-bottom: 32px;
}

.quote-attribution {
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* ============================================================
   AUTHOR
   ============================================================ */
.author-section {
    background: url('../img/author-section.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.author-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(40px, 6vw, 30px);
    align-items: center;
}

.author-portrait-wrapper {
    position: relative;
    max-width: 490px;
}

.author-portrait-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%) contrast(1.05);
    transition: filter var(--transition-slow);
}

.author-portrait-wrapper:hover img {
    filter: grayscale(0%) contrast(1.1);
}

.author-content-side .section-subtext {
    max-width: 100%;
    margin-bottom: 24px;
}

.author-bio p {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: rgba(238, 238, 237, 0.75);
    line-height: 1.95;
    margin-bottom: 20px;
}

.author-bio p:last-child {
    margin-bottom: 0;
}

.author-signature {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(196, 160, 106, 0.12);
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-signature-text {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-style: italic;
    color: var(--color-ivory);
    letter-spacing: 0.02em;
}

.author-signature-text img {
    max-width: 250px;
    height: auto;
    display: block;
}

/* ============================================================
   BUY CTA
   ============================================================ */
.buy-cta {
    position: relative;
    padding: var(--section-spacing) 0;
    background-color: var(--color-dark-brown);
    overflow: hidden;
    text-align: center;
}

.buy-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(155, 21, 21, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.buy-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.buy-cta .section-heading {
    text-align: center;
}

.buy-cta .section-subtext {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 48px;
}

.buy-cta .btn-group {
    justify-content: center;
}

.cta-retailers {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.retailer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid rgba(196, 160, 106, 0.2);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(232, 222, 208, 0.5);
    transition: color var(--transition-base), border-color var(--transition-base);
}

.retailer-badge:hover {
    color: var(--color-gold);
    border-color: rgba(196, 160, 106, 0.4);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
    background: var(--color-black);
    /* fallback color */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5pc 0;
    position: relative;
    overflow: hidden;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.contact-content .section-subtext {
    max-width: 100%;
    margin-bottom: 0;
}

.contact-form-side {
    padding: 50px 40px;
    border: 1px solid rgba(196, 160, 106, 0.4);
    border-radius: 4px;
    background-color: rgba(17, 16, 15, 0.85);
    position: relative;
}

/* Optional top ornament for the form border as in image */
.contact-form-side::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    background: url('../img/ornament-top.png') no-repeat center;
    background-size: contain;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(8, 7, 6, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-ivory);
    font-family: var(--font-serif);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    appearance: none;
    -webkit-appearance: none;
    border-radius: 2px;
}

.form-input::placeholder {
    color: rgba(232, 222, 208, 0.3);
}

.form-input:focus {
    border-color: rgba(155, 21, 21, 0.5);
    box-shadow: 0 0 0 3px rgba(155, 21, 21, 0.08);
}

.contact-disclaimer {
    font-family: var(--font-sans);
    font-size: 10px;
    color: rgba(232, 222, 208, 0.35);
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.form-success {
    display: none;
    text-align: center;
    padding: 32px;
    border: 1px solid rgba(196, 160, 106, 0.3);
    background: rgba(196, 160, 106, 0.05);
}

.form-success p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-ivory);
}

.form-success .success-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 16px;
}

.author-container {
    max-width: 1300px;
}

@media (max-width: 1400px) {

    .quote-text {
        font-size: 1.4rem;
    }

    .quote-attribution {
        font-size: 10px;
    }

    .author-container {
        max-width: 1100px;
    }

    .author-bio p {
        font-size: 0.85rem;
    }

    .author-signature-text img {
        max-width: 210px;
    }

    .form-label {
        font-size: 8px;
    }

    .form-input {
        padding: 7px 15px;
    }

    .retailer-badge {
        padding: 6px 16px;
        font-size: 8px;
    }

    .contact-form-side {
        padding: 30px 30px;
    }

    .contact-container {
        max-width: 1000px;
    }

}

@media (max-width: 992px) {
    .contact-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 60px;
    }

    .contact-form-side {
        padding: 30px 15px;
    }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
    background: url(../img/footerback.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 160, 106, 0.25), transparent);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(24px, 4vw, 60px);
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(196, 160, 106, 0.08);
}

.footer-brand-img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    transition: transform var(--transition-base), filter var(--transition-base);
}

.footer-brand-img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 8px rgba(196, 160, 106, 0.4));
}

.footer-brand p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(232, 222, 208, 0.45);
    line-height: 1.8;
    max-width: 280px;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(228, 219, 205, 0.425);
    color: rgba(232, 222, 208, 0.788);
    font-size: 13px;
    transition: all var(--transition-base);
    text-decoration: none;
}

.footer-social-link:hover {
    border-color: rgba(228, 219, 205, 0.425);
    color: var(--color-white);
    background-color: rgba(97, 5, 2, 0.568);
    border-radius: 7px;
}

.footer-col-title {
    font-family: var(--font-sans);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: rgba(232, 222, 208, 0.5);
    transition: color var(--transition-base);
}

.footer-col ul li a:hover {
    color: var(--color-ivory);
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-copyright {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: rgba(232, 222, 208, 0.3);
    letter-spacing: 0.05em;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-family: var(--font-sans);
    font-size: 11px;
    color: rgba(232, 222, 208, 0.3);
    letter-spacing: 0.05em;
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--color-gold);
}

/* ============================================================
   ABOUT HERO SECTION
   ============================================================ */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(../img/aboutus_page3.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-top: 100px;
}

.about-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.about-hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.hero-eyebrow-text {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold-light);
}

.custom-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 20px 0;
}

.custom-divider .line-short {
    width: 30px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.6;
}

.custom-divider .line-long {
    flex: 1;
    max-width: 250px;
    height: 1px;
    background: linear-gradient(to right, var(--color-gold), transparent);
    opacity: 0.6;
}

.custom-divider .icon-star {
    color: var(--color-gold);
    font-size: 12px;
    line-height: 1;
}

.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-ivory);
    margin-bottom: 24px;
}

.about-hero-title .text-crimson {
    color: var(--color-crimson);
    font-style: italic;
    display: block;
    margin-top: 5px;
}

.about-hero-text {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    color: rgba(232, 222, 208, 0.85);
    line-height: 1.6;
    max-width: 500px;
}

.about-hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: flex-end;
}

.about-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.8));
    border-radius: 4px;
    transition: transform 0.6s ease;
}

.about-hero-image img:hover {
    transform: scale(1.02);
}

/* ============================================================
   ABOUT BIO SECTION
   ============================================================ */
.about-bio {
    background-color: transparent;
    padding: 80px 0 120px 0;
}

.about-bio-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bio-content {
    max-width: 800px;
    padding-left: clamp(10px, 4vw, 40px);
}

.bio-heading {
    font-family: var(--font-display);
    font-size: clamp(12px, 1.5vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 12px;
}

.bio-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    width: 100%;
    justify-content: center;
}

.bio-divider .bio-line-left {
    flex: 1;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(155, 21, 21, 0.7), var(--color-gold));
}

.bio-divider .bio-line-right {
    flex: 1;
    max-width: 400px;
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(155, 21, 21, 0.7), var(--color-gold));
}

.bio-divider .bio-icon {
    color: var(--color-gold);
    font-size: 12px;
    line-height: 1;
}

.bio-text {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    color: rgba(232, 222, 208, 0.8);
    line-height: 1.8;
}

.bio-text p {
    margin-bottom: 24px;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   BEHIND THE WORK SECTION
   ============================================================ */
.behind-work {
    position: relative;
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--color-black);
    overflow: hidden;
}

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

.behind-work-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    opacity: 0.6;
}

.behind-work-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(0 0 0) 0%, rgb(0 0 0 / 27%) 30%, rgb(8 7 6 / 0%) 60%, #00000000 100%);
}

.behind-work-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.behind-work-content {
    flex: 1;
    min-width: 300px;
    max-width: 580px;
}

.behind-divider {
    margin-bottom: 24px;
}

.behind-divider .line-long {
    max-width: 200px;
}

.behind-work-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-ivory);
    margin-bottom: 24px;
}

.behind-work-title .text-crimson {
    color: var(--color-crimson);
    font-style: italic;
}

.behind-work-text {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: rgba(232, 222, 208, 0.75);
    line-height: 1.7;
    margin-bottom: 24px;
}

.behind-work-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-style: italic;
    color: var(--color-crimson);
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
}

/* ============================================================
   BOOK HERO SECTION
   ============================================================ */
.book-hero {
    position: relative;
    padding: 180px 0 140px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-black);
    overflow: hidden;
}

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

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

.book-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 7, 6, 0.98) 0%, rgba(8, 7, 6, 0.85) 35%, rgba(8, 7, 6, 0.1) 70%, transparent 100%);
}

.book-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.book-hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.book-divider {
    margin-bottom: 24px;
    margin-top: 12px;
}

.book-divider .line-long {
    max-width: 200px;
}

.book-hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 0.85;
    color: var(--color-ivory);
    margin-bottom: 24px;
}

.book-hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--color-ivory);
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.book-hero-text {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: rgba(232, 222, 208, 0.85);
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    border: 1px solid rgba(196, 160, 106, 0.4);
    background-color: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-gold:hover {
    border-color: var(--color-gold);
    background-color: rgba(196, 160, 106, 0.08);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-outline-gold .text-crimson {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: var(--color-crimson);
}

.btn-outline-gold:hover .text-crimson {
    transform: translateX(4px);
}

/* ============================================================
   BOOK FORMATS SECTION
   ============================================================ */
.book-formats {
    background-color: var(--color-black);
    padding: 80px 0 120px 0;
    position: relative;
}

.formats-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formats-heading {
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    position: relative;
}

.formats-heading::before {
    content: '✦';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--color-gold);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.format-card {
    background-color: rgba(12, 10, 8, 0.6);
    border: 1px solid rgba(196, 160, 106, 0.2);
    position: relative;
    padding: 6px;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.format-card:hover {
    transform: translateY(-5px);
}

.format-card-inner {
    border: 1px solid rgba(196, 160, 106, 0.15);
    padding: 40px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
}

.format-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-gold-light);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.format-divider {
    color: var(--color-gold);
    font-size: 10px;
    margin-bottom: 32px;
}

.format-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    min-height: 200px;
}

.format-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    /* filter: drop-shadow(0 15px 30px rgba(255, 255, 255, 0.8)); */
}

.format-desc {
    font-family: var(--font-sans);
    font-size: 16px;
    color: rgba(232, 222, 208, 0.8);
    line-height: 1.9;
    margin-bottom: 32px;
    min-height: 72px;
}

.format-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 11px;
    border-radius: 10px;
}



/* ============================================================
   BOOK TRAILER
   ============================================================ */
.book-trailer {
    position: relative;
    padding: 20vh 0;
    overflow: hidden;
}

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

.trailer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.2);
}

/* .trailer-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,5,5,0.95) 0%, rgba(10,5,5,0.7) 50%, rgba(10,5,5,0.3) 100%);
} */

.trailer-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.trailer-eyebrow-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.trailer-eyebrow-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-crimson);
}

.trailer-heading {
    margin-bottom: 30px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    line-height: 0.9;
    font-size: 8rem;
}

.trailer-subtext {
    font-size: clamp(1rem, 1.3vw, 0.9rem);
    line-height: 1.95;
    color: rgba(232, 222, 208, 0.8);
    margin-bottom: 24px;
}

.btn-trailer {
    background-color: #7b0a0a;
    border: 1px solid #9c1515;
    padding: 12px 30px;
    font-size: 13px;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

.btn-trailer:hover {
    background-color: #9c1515;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 21, 21, 0.4);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.trailer-video-container {
    position: relative;
    padding: 20px;
}

.trailer-video-frame {
    position: relative;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(196, 160, 106, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.frame-ornament {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.frame-ornament.top {
    top: -8px;
}

.frame-ornament.bottom {
    bottom: -8px;
}

.frame-ornament::before,
.frame-ornament::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

.frame-ornament::before {
    left: 0;
}

.frame-ornament::after {
    right: 0;
}

.frame-ornament span {
    display: block;
    width: 8px;
    height: 8px;
    border: 1px solid var(--color-gold);
    transform: rotate(45deg);
    background: var(--color-black);
    z-index: 1;
}

.trailer-video-frame video {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 1);
    cursor: pointer;
}

.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid rgba(255, 255, 255, 0.4);
    background-clip: padding-box;
    color: var(--color-crimson);
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.custom-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ffffff;
}

.custom-play-button svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

@media (max-width: 991px) {
    .trailer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trailer-eyebrow-wrap {
        justify-content: center;
    }
}

@media (max-width: 1400px) {
    .format-card-inner {
        padding: 20px 15px;
    }

    .format-title {
        font-size: 15px;
    }

    .format-divider {
        color: var(--color-gold);
        font-size: 8px;
    }

    .format-image img {
        max-height: 200px;
    }

    .format-desc {
        font-size: 11px;
    }

    .format-buttons {
        padding: 12px 24px;
        font-size: 11px;
    }

    .about-hero-title {
        font-size: 3rem;
    }

    .footer-brand p {
        font-size: 0.75rem;
    }

    .footer-col ul li a {
        font-size: 0.85rem;
    }

    .footer-copyright {
        font-size: 0.58rem;
    }
}

/* ============================================================
   RESPONSIVE — LAPTOP (992–1199px)
   ============================================================ */
@media (max-width: 1199px) {
    :root {
        --section-spacing: 100px;
    }

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

    .story-world-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
    }

}

/* ============================================================
   RESPONSIVE — TABLET (768–991px)
   ============================================================ */
@media (max-width: 991px) {
    :root {
        --section-spacing: 80px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }

    .book-intro-inner {
        grid-template-columns: 1fr;
    }

    .book-cover-wrapper {
        max-width: 260px;
        margin: 0 auto;
    }

    .about-book-inner {
        grid-template-columns: 1fr;
    }

    .painting-mystery-inner {
        grid-template-columns: 1fr;
    }

    .mystery-image-side {
        min-height: 360px;
    }

    .mystery-image-overlay {
        background: linear-gradient(180deg, rgba(8, 7, 6, 0.05) 0%, rgba(8, 7, 6, 0.7) 100%);
    }

    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 auto;
    }

    .character-card__image {
        height: 400px;
    }

    .themes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-world-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
    }

    .author-inner {
        grid-template-columns: 1fr;
    }

    .author-portrait-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .formats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================================ */
@media (max-width: 767px) {
    :root {
        --section-spacing: 64px;
    }

    .hero-section {
        align-items: flex-end;
    }

    .hero-bg img {
        object-position: 70% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(8, 7, 6, 0.7) 0%, rgba(8, 7, 6, 0.5) 30%,
                rgba(8, 7, 6, 0.6) 60%, rgba(8, 7, 6, 0.95) 100%);
    }

    .hero-content-wrapper {
        padding-bottom: 80px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-synopsis {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .themes-grid {
        grid-template-columns: 1fr;
    }

    .characters-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 0 auto;
    }

    .formats-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .buy-cta .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .buy-cta .btn-group .btn {
        text-align: center;
        justify-content: center;
    }

    .preview-manuscript {
        padding: 32px 24px;
    }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (< 480px)
   ============================================================ */
@media (max-width: 479px) {
    .hero-title {
        font-size: clamp(3rem, 13vw, 4.5rem);
    }

    .mystery-content-side {
        padding: 32px 24px;
    }

    .footer-bottom-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-crimson {
    color: var(--color-crimson);
}

.text-crimson-mid {
    color: var(--color-crimson-mid);
}

.text-gold {
    color: var(--color-gold);
}

.text-italic {
    font-style: italic;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--color-crimson);
    outline-offset: 3px;
}

.hr-gold {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 160, 106, 0.3), transparent);
    margin: 40px 0;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    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='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.018;
    pointer-events: none;
    z-index: 9999;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.is-open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(8, 7, 6, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    /* background-color: #000000; */
    /* border: var(--border-gold); */
    border-radius: 4px;
    width: 100%;
    max-width: 590px;
    height: 90vh;
    max-height: 90vh;
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 1;
    transform: translateY(20px);
    opacity: 0;
    animation: modalIn 0.4s ease forwards;
    flex-direction: column;
}

@keyframes modalIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid rgba(196, 160, 106, 0.2);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-ivory);
    margin: 0;
}

.modal-close {
    position: absolute;
    top: 5px;
    right: 20px;
    background: var(--color-black);
    border: 1px solid rgba(196, 160, 106, 0.5);
    color: var(--color-ivory);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-base);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
    color: var(--color-white);
    border-color: var(--color-crimson);
    background: var(--color-crimson);
    transform: scale(1.1);
}

.modal-content {
    padding: 30px;
    overflow-y: auto;
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-ivory-dim);
}

.modal-content p {
    margin-bottom: 20px;
}

.modal-content p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   CONTACT PAGE DESIGN
   ============================================================ */
.contact-page-section {
    background-color: var(--color-black);
    position: relative;
    padding: 180px 0 100px;
    background-image: radial-gradient(circle at 10% 20%, rgb(155 21 21 / 12%) 0%, #00000024 40%), radial-gradient(circle at 90% 80%, rgb(155 21 21 / 18%) 0%, transparent 40%);
}

.contact-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-page-eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--color-ivory);
    line-height: 1.1;
    margin: 15px 0;
}

.contact-page-title em {
    font-style: italic;
    color: var(--color-crimson);
}

.contact-page-ornament {
    color: var(--color-gold-dim);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-page-ornament::before,
.contact-page-ornament::after {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold-dim), transparent);
    margin: 0 10px;
}

.contact-page-ornament::after {
    background: linear-gradient(to left, transparent, var(--color-gold-dim), transparent);
}

.contact-page-intro {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--color-ivory-dim);
    line-height: 1.6;
    margin-top: 25px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: flex-start;
}

@media(max-width: 768px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px dashed rgba(196, 160, 106, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--color-crimson);
    position: relative;
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(196, 160, 106, 0.1);
    border-radius: 50%;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-details h4 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-details p {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--color-ivory-dim);
    line-height: 1.5;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-page-form .form-input {
    background-color: rgba(8, 7, 6, 0.6);
    border: 1px solid rgba(196, 160, 106, 0.3);
    border-radius: 4px;
    padding: 16px 20px;
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--color-ivory);
    transition: border-color var(--transition-base);
    outline: none;
}

.contact-page-form .form-input:focus {
    border-color: var(--color-gold);
}

.contact-page-form .form-input::placeholder {
    color: rgba(232, 222, 208, 0.4);
}

.contact-page-submit {
    background: linear-gradient(180deg, #5E0C0C 0%, #2A0404 100%);
    border: 1px solid rgba(155, 21, 21, 0.5);
    color: var(--color-ivory);
    width: 100%;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    letter-spacing: 0.25em;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
}

.contact-page-submit:hover {
    background: linear-gradient(180deg, #7A1010 0%, #3D0606 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-crimson-glow);
}

/* ============================================================
   COMING SOON SECTION
   ============================================================ */
.coming-soon-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/book-comming-soon-mockup-background.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: var(--section-spacing) 0;
}

.coming-soon-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 60px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.coming-soon-heading {
    margin-bottom: 30px;
}

.coming-soon-heading .gold-text {
    color: var(--color-gold-light);
}

.coming-soon-content .section-subtext {
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.7;
}

.coming-soon-buttons {
    margin-bottom: 35px;
    gap: 20px;
}

.btn-notify {
    background-color: var(--color-gold-light);
    color: var(--color-black);
    border: 1px solid var(--color-gold-light);
    padding: 15px 28px;
}

.btn-notify:hover {
    background-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-glow);
    border-color: var(--color-gold);
}

.btn-learn {
    padding: 15px 28px;
}

.coming-soon-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-ivory-dim);
}

.coming-soon-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.coming-soon-visual .book-cover-wrapper1 {
    position: relative;
    max-width: 520px;
}

.coming-soon-badge {
    position: absolute;
    top: -35px;
    right: -50px;
    width: 175px;
    height: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
    .coming-soon-inner {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .coming-soon-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .coming-soon-content .divider-ornament {
        justify-content: center !important;
    }

    .coming-soon-buttons {
        justify-content: center;
    }

    .coming-soon-content .section-subtext {
        max-width: 100%;
    }

    .coming-soon-badge {
        right: 10px;
        width: 80px;
    }

    .coming-soon-visual .book-cover-wrapper1 {
        position: relative;
        max-width: 300px;
    }
}

@media (max-width: 580px) {
    .coming-soon-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}