html, body {
    background-color: #050505 !important; /* Sets a deep dark background safety net */
    overscroll-behavior-y: none; /* Stops Mac/Mobile browsers from bouncing and showing white at the top/bottom of the page */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --black: #050505;
    --ink: #0b090a;
    --charcoal: #151515;
    --bone: #e8e1d6;
    --bone-dim: rgba(232, 225, 214, 0.68);
    --ash: rgba(232, 225, 214, 0.42);
    --blood: #9e101a;
    --pink: #ee1673;
    --wrath: #dd082d;
    --decay: #c2c836;
    --line: rgba(232, 225, 214, 0.15);
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.62);
    --max: 1200px;
    --rail: 136px;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Oswald", "Arial Narrow", sans-serif;
    --display: "Oswald", "Arial Narrow", sans-serif;
    --engraved: "Cormorant Garamond", Georgia, serif;
    --script: "Allura", "Brush Script MT", cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(ellipse at 50% 4%, rgba(158, 16, 26, 0.24), transparent 34rem),
        radial-gradient(ellipse at 12% 26%, rgba(238, 22, 115, 0.1), transparent 28rem),
        linear-gradient(180deg, #050505, #020202 48%, #070506);
    color: var(--bone);
    font-family: var(--serif);
    line-height: 1.55;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

main {
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body,
    main {
        overflow-x: clip;
    }
}

@media (min-width: 981px) {
    body {
        padding-left: var(--rail);
    }
}

body::before,
body::after {
    position: fixed;
    inset: 0;
    pointer-events: none;
    content: "";
}

body::before {
    z-index: -3;
    opacity: 0.18;
    background:
        repeating-linear-gradient(112deg, transparent 0 38px, rgba(232, 225, 214, 0.04) 39px, transparent 40px),
        radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.78) 86%);
}

body::after {
    z-index: -2;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), transparent 45%, rgba(0, 0, 0, 0.72));
}

body.menu-open {
    overflow: hidden;
}

.shadow-page {
    padding-bottom: 82px;
}

::selection {
    background: var(--blood);
    color: var(--bone);
}

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

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

p,
h1,
h2,
h3,
ul {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

section[id] {
    scroll-margin-top: 92px;
}

.skip-link,
.sr-only {
    position: absolute;
}

.skip-link {
    left: 1rem;
    top: 1rem;
    z-index: 50;
    transform: translateY(-150%);
    background: var(--bone);
    color: var(--black);
    padding: 0.7rem 1rem;
    border-radius: 4px;
    font-weight: 800;
}

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

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

.site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail);
    z-index: 40;
    border-right: 1px solid rgba(232, 225, 214, 0.12);
    transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
    background: rgba(5, 5, 5, 0.72);
    border-color: var(--line);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.nav {
    width: 100%;
    min-height: 100%;
    margin: 0 auto;
    padding: 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
}

.nav-logo {
    width: 82px;
    display: inline-flex;
    align-items: center;
}

.nav-logo img {
    width: 100%;
    height: auto;
    max-height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.55));
}

.nav-links {
    justify-self: auto;
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%;
    gap: 0.9rem;
    color: rgba(232, 225, 214, 0.68);
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
}

.nav-links a {
    position: relative;
    width: 100%;
    padding: 0.42rem 0.1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.nav-links a::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1rem;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--wrath);
    content: "";
    transition: transform 180ms ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--bone);
    background: rgba(0, 0, 0, 0.4);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.eyebrow {
    color: rgba(200, 161, 161, 0.88);
    font-family: var(--sans);
    font-size: 0.94rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0;
}

.script {
    color: var(--blood);
    font-family: var(--script);
    font-style: normal;
    font-weight: 400;
    line-height: 0.72;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0.9rem 1.05rem;
    font-family: var(--sans);
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-red {
    background: var(--blood);
    color: var(--bone);
    box-shadow: 0 0 34px rgba(158, 16, 26, 0.22);
}

.button-red:hover {
    box-shadow: 0 0 52px rgba(158, 16, 26, 0.42);
}

.button-ghost {
    border-color: rgba(232, 225, 214, 0.32);
    color: var(--bone);
    background: rgba(232, 225, 214, 0.04);
}

.button-lime {
    background: var(--decay);
    color: var(--black);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.home-hero,
.series-hero,
.gothic-soon {
    min-height: 92svh;
    position: relative;
    display: grid;
    align-items: center;
    overflow: visible;
    padding: 118px 0 74px;
}

.home-hero {
    overflow: visible;
}

.home-hero-copy,
.series-hero-copy,
.gothic-soon-copy,
.contact-inner,
.section-heading {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.section-heading,
.contact-inner {
    text-align: center;
}

.home-hero-copy {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.home-hero h1,
.series-hero h1,
.gothic-soon h1 {
    margin-top: 0.45rem;
    color: var(--bone);
    font-size: 5.6rem;
}

.home-hero h1 {
    font-family: var(--serif);
    font-size: 5.5rem;
    font-style: italic;
    font-weight: 400;
}

.hero-brand {
    width: 300px; /* Slightly increased logo size */
    margin: 0.6rem auto 0;
    filter: drop-shadow(0 0 30px rgba(158, 16, 26, 0.34)) drop-shadow(0 28px 38px rgba(0, 0, 0, 0.62));
}

.hero-text,
.series-hero-copy p:not(.eyebrow),
.gothic-soon-copy p:not(.eyebrow) {
    max-width: 620px;
    margin: 1rem auto 0;
    color: var(--bone-dim);
    font-family: var(--serif);
    font-size: 1.34rem;
    font-style: italic;
    line-height: 1.42;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
    justify-content: center;
}

.home-orbit,
.series-bg,
.gothic-layers {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.layer,
.series-bg img,
.gothic-layers img {
    position: absolute;
    z-index: 1;
    opacity: 0.84;
    will-change: transform;
    transition: transform 260ms ease-out;
}

.layer-main {
    left: 50%;
    top: 50%;
    width: min(46rem, 64vw);
    transform: translate(-50%, -50%);
    opacity: 0.6;
    filter: saturate(1.08) contrast(1.12) brightness(0.50);
}

.layer-sigil {
    left: 50%;
    top: 46%;
    width: min(40rem, 50vw);
    transform: translate(-50%, -50%);
    opacity: 0.38;
    filter: saturate(1) brightness(0.92);
}

.layer-flower {
    right: max(-20rem, -21.5vw); /* Pulls exactly 50% of the image off-screen, immune to JS */
    bottom: -14rem; 
    top: auto;
    z-index: 2; 
    width: min(40rem, 43vw);
    opacity: 1;
    /* Notice: transform has been completely removed! */
    filter:
        saturate(1.34)
        contrast(1.12)
        brightness(1.32)
        drop-shadow(0 0 46px rgba(238, 22, 115, 0.42))
        drop-shadow(0 30px 60px rgba(0, 0, 0, 0.72));
}

.layer-general {
    left: -7rem;
    top: 14%;
    width: min(36rem, 36vw);
    opacity: 0.34;
    filter: saturate(1.02) brightness(1.04);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.8rem;
    z-index: 5;
    transform: translateX(-50%);
    color: var(--ash);
    font-family: var(--display);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.author-dossier {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
    padding: 4.8rem 0;
    border-block: 1px solid rgba(232, 225, 214, 0.1);
}

.dossier-mark {
    position: absolute;
    right: 1rem;
    top: -1.2rem;
    z-index: -1;
    color: rgba(232, 225, 214, 0.04);
    font-family: var(--script);
    font-size: 13rem;
    line-height: 1;
}

.portrait-panel {
    position: relative;
}

.portrait-panel::before {
    position: absolute;
    inset: 1.1rem -1.1rem -1.1rem 1.1rem;
    z-index: -1;
    border: 1px solid rgba(238, 22, 115, 0.34);
    content: "";
}

.portrait-panel img {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    border: 1px solid var(--line);
    filter: contrast(1.08) brightness(0.78);
    box-shadow: var(--shadow);
}

.about-copy h2,
.section-heading h2,
.contact-inner h2 {
    margin-top: 0.72rem;
    font-size: 3.7rem;
}

.about-copy p,
.contact-inner p {
    max-width: 620px;
    margin-top: 1rem;
    margin-inline: auto;
    color: var(--bone-dim);
}

.dossier-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.2rem;
}

.dossier-tags span {
    border: 1px solid rgba(232, 225, 214, 0.18);
    padding: 0.42rem 0.65rem;
    color: var(--bone);
    background: rgba(158, 16, 26, 0.12);
    font-family: var(--sans);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.worlds-section,
.tropes-board,
.contact-section {
    position: relative;
    padding: 6.5rem 0;
}

.ritual-gate {
    overflow: hidden;
    padding-block: 5.4rem 5.8rem;
}

.ritual-gate .section-heading {
    text-align: center;
}

.gate-floral {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    filter:
        saturate(1.18)
        contrast(1.08)
        brightness(1.08)
        drop-shadow(0 0 38px rgba(238, 22, 115, 0.22));
}

.gate-floral-left {
    left: -5.8rem;
    top: -1.9rem;
    width: 24rem;
    opacity: 0.72;
}

.gate-floral-right {
    right: -9rem;
    bottom: 1rem;
    width: 29rem;
}

.world-grid {
    width: min(var(--max), calc(100% - 40px));
    margin: 2.2rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.world-card {
    min-height: 430px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #070707;
    box-shadow: var(--shadow);
    transition: transform 220ms ease, border-color 220ms ease;
}

.world-card:hover {
    transform: translateY(-5px) scale(1.005);
    border-color: rgba(232, 225, 214, 0.36);
}

.world-card::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.84) 88%),
        radial-gradient(ellipse at center, transparent, rgba(0, 0, 0, 0.28));
    content: "";
}

.world-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
}

.world-media img {
    width: 78%;
    max-height: 78%;
    object-fit: contain;
    opacity: 0.98;
    filter: saturate(1.08) contrast(1.1) brightness(1.04);
    transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}

.world-card:hover .world-media img {
    opacity: 1;
    filter:
        saturate(1.16)
        contrast(1.12)
        brightness(1.12)
        drop-shadow(0 0 36px rgba(238, 22, 115, 0.2));
    transform: scale(1.025);
}

.gothic-card .world-media img {
    width: 62%;
    max-height: 68%;
    opacity: 0.92;
    filter: saturate(1) contrast(1.08) brightness(1.08);
}

.gothic-card:hover .world-media img {
    opacity: 1;
    filter:
        saturate(1.08)
        contrast(1.1)
        brightness(1.14)
        drop-shadow(0 0 34px rgba(232, 225, 214, 0.16));
}

.world-copy {
    position: relative;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 0.7rem;
    padding: 1.5rem;
    text-align: center;
}

.world-kicker {
    color: var(--ash);
    font-family: var(--display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.world-copy strong {
    font-family: var(--serif);
    font-size: 3rem;
    font-style: italic;
    line-height: 0.9;
}

.world-copy span:not(.world-kicker):not(.world-cta) {
    max-width: 36rem;
    color: var(--bone-dim);
}

.world-cta {
    width: max-content;
    border-bottom: 1px solid currentColor;
    color: var(--bone);
    font-family: var(--display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-shelf {
    position: relative;
    padding: 5.8rem 0 6.4rem;
    text-align: center;
}

.mini-books {
    width: min(880px, calc(100% - 40px));
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 1rem;
}

.mini-books a {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    color: var(--bone);
}

.mini-books img {
        width: min(100%, 280px);
    transition: transform 220ms ease, filter 220ms ease;
}

.mini-books a:nth-child(1) img {
    transform: rotate(-4deg);
}

.mini-books a:nth-child(2) img {
    transform: translateY(-0.7rem);
}

.mini-books a:nth-child(3) img {
    transform: rotate(4deg);
}

.mini-books a.book-accent-architect { --accent: #ee1673; }
.mini-books a.book-accent-ghosts { --accent: #dd082d; }
.mini-books a.book-accent-heir { --accent: #c2c836; }

.mini-books a:hover img {
    filter: drop-shadow(0 0 42px color-mix(in srgb, var(--accent), transparent 48%)) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.66));
}

.mini-books span {
    font-family: var(--display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bonded-strip {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(12, 8, 9, 0.98), rgba(5, 5, 5, 0.98));
}

.bonded-strip div {
    width: max-content;
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    animation: marquee 26s linear infinite;
}

.bonded-strip span {
    color: rgba(232, 225, 214, 0.72);
    font-family: var(--display);
    font-size: 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bonded-strip span::after {
    content: "/";
    margin-left: 1rem;
    color: rgba(158, 16, 26, 0.82);
}

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

.contact-section {
    background: radial-gradient(ellipse at 50% 50%, rgba(158, 16, 26, 0.2), transparent 38rem);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.4rem;
}

.contact-links a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(232, 225, 214, 0.3);
    border-radius: 4px;
    padding: 0.85rem 1rem;
    font-family: var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer {
    width: min(var(--max), calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    color: var(--ash);
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--bone);
    font-weight: 800;
}

/* Shadow Gods page */
.shadow-page {
    background:
        radial-gradient(ellipse at 50% 5%, rgba(158, 16, 26, 0.3), transparent 36rem),
        radial-gradient(ellipse at 100% 20%, rgba(238, 22, 115, 0.15), transparent 28rem),
        #030303;
}

.home-orbit::after,
.series-bg::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.38)),
        linear-gradient(180deg, transparent 58%, #030303 96%);
    content: "";
}

.gothic-layers::after {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.88)),
        linear-gradient(180deg, transparent, #030303 92%);
    content: "";
}

.series-floral {
    display: none;
}

.series-mark {
    right: -3rem;
    top: -8%;
    width: min(24rem, 28vw);
    opacity: 0.96;
    z-index: 1;
    filter: saturate(1.02) brightness(1.14);
}

.series-card-left {
    left: 8%;
    top: 14%; /* Decreased from 24% to move the gun slightly higher */
    width: min(16rem, 19vw);
    opacity: 0.88;
    z-index: 3;
    filter: saturate(1.08) brightness(1.18) drop-shadow(0 0 30px rgba(221, 8, 45, 0.18));
    
    /* We removed 'transform' and used the independent 'scale' property. */
    /* '-1 1' flips it horizontally while leaving it immune to the JS parallax! */
    scale: -1 1; 
}

.series-king {
    left: 6%;
    bottom: -8rem; /* Pulls it down so it bleeds into the bottom section */
    width: 18rem; /* Increased the size to make it more prominent */
    opacity: 0.84;
    z-index: 3;
    filter: saturate(1.08) brightness(1.18) drop-shadow(0 0 28px rgba(232, 225, 214, 0.14));
    
    /* The independent rotate property leans it left without breaking the JS parallax */
    rotate: -20deg; 
}

.series-knife {
    right: 22%;
    top: 5%; /* Decreased from 16% to move the knife higher */
    width: 12rem; /* Reduced from 18rem to make it noticeably smaller */
    opacity: 0.84;
    z-index: 3;
    filter: saturate(1.08) brightness(1.2) drop-shadow(0 0 30px rgba(221, 8, 45, 0.18));
}

.series-glass {
    right: 38%;
    top: 66%;
    width: min(14rem, 18vw);
    opacity: 0.64;
    z-index: 5;
    pointer-events: none;
    filter: brightness(1.14) drop-shadow(0 0 24px rgba(232, 225, 214, 0.14));
}

.series-hero-copy .button-red {
    margin-top: 2.3rem;
}

.series-crack {
    left: 0;
    right: 0;
    margin: 0 auto; /* Keeps it perfectly centered horizontally */
    bottom: -2rem; /* Drastically lowers it to sit right over the button */
    width: 18rem; 
    opacity: 0.64;
    z-index: 5; /* Keeps it visually on top */
    pointer-events: none; /* Keeps the button clickable through the image */
    filter: brightness(1.32) drop-shadow(0 0 26px rgba(238, 22, 115, 0.18));
}

.series-element-23 {
    right: 22%; /* Anchors it to the right side of the title */
    left: auto;
    top: 36%; /* Vertically aligns it to match the left X */
    width: 8rem; /* Makes it match the smaller size of the left X */
    z-index: 2;
    
    /* Keep your existing opacity/filter if you have updated them locally! */
    opacity: 0.8; 
    filter: saturate(0) brightness(1.5); 
}

.series-element-22 {
    left: 22%; /* Anchors it to the left side of the title */
    right: auto; /* Important: this clears the old right positioning */
    top: 36%; /* Vertically aligns it with the 'Shadow GODS' text */
    width: 8rem; /* Makes the image significantly smaller */
    z-index: 2; /* Brings it above the background */
    
    /* Keep your existing opacity/filter if you have updated them locally! */
    opacity: 0.8; /* Increased slightly so it pops */
    filter: saturate(0) brightness(1.5); /* Made sure it's bright white */
}

.series-element-19 {
    left: -10%;
    bottom: 14%;
    width: min(22rem, 26vw);
    opacity: 0.1;
    z-index: 0;
    filter: saturate(0.72) brightness(1.02) blur(0.65px);
}

.series-element-7 {
    right: 0; /* Anchors it nicely to the right */
    bottom: -12rem; /* Pulls it down to overflow into the next section */
    width: min(18rem, 22vw);
    z-index: 2; /* Ensures it sits visibly ON TOP of the section below */
    
    /* Note: Same as above, keep your local opacity and filter if you made it bright red! */
    opacity: 0.16;
    filter: saturate(0.78) brightness(1.04) blur(0.5px);
}

.series-element-6 {
    position: fixed !important; 
    
    /* Locks the size and side crop for the floating flower. */
    width: 16rem !important; 
    left: -8rem !important; 
    
    /* Locks the height so it always sits right below the Tamar Shaw logo */
    top: 7.5rem !important; 
    
    /* Keeps it floating safely above the menu */
    z-index: 9999 !important; 
    pointer-events: none; 
    
    /* Keeps the floating artwork solid, bright, and vibrant */
    opacity: 1 !important; 
    filter: saturate(1.06) contrast(1.06) drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6)) !important;
    
    /* The smooth floating animation */
    animation: float-flower 6s ease-in-out infinite;
    
    /* Forces GPU rendering */
    will-change: transform; 
    backface-visibility: hidden;
}

/* Adds the smooth floating movement WITH hardware acceleration built-in */
@keyframes float-flower {
    0%, 100% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(18px) translateZ(0); }
}

.series-splatter-right {
    right: -5%; /* Pulled slightly further right to handle the larger size */
    top: 15%; /* Moved slightly up to balance the new height */
    
    /* Dramatically increased the size (was 22rem / 26vw) */
    width: min(34rem, 40vw); 
    
    z-index: -1 !important; 
    scale: -1 1; 
    opacity: 0.8; 
    
    /* THE MAGIC FIX: saturate(0) completely removes the color, turning it grayscale! */
    filter: saturate(0) brightness(1.1); 
}

.series-hero {
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
    padding-inline: max(20px, calc((100vw - var(--max)) / 2));
}

.series-hero-copy {
    width: min(720px, 100%);
    margin: 0 auto;
}

.series-hero h1 {
    font-size: 6.2rem;
    font-style: italic;
}

.series-hero h1 em {
    font-style: italic;
    font-weight: 400;
}

.series-hero h1 span {
    display: inline-block;
    color: var(--wrath);
    font-family: var(--display);
    font-size: 0.76em;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 0.8;
    text-transform: uppercase;
}

.hero-book-stack {
    position: absolute;
    inset: 12% max(20px, calc((100vw - var(--max)) / 2)) auto;
    z-index: 2;
    min-height: 520px;
    pointer-events: none;
}

.book-cover {
    position: absolute;
    width: min(15rem, 24vw);
    opacity: 0.94;
    filter:
        brightness(1.08)
        drop-shadow(0 0 34px rgba(158, 16, 26, 0.2))
        drop-shadow(0 30px 48px rgba(0, 0, 0, 0.72));
}

.cover-one {
    left: 0;
    top: 9rem;
    transform: rotate(-11deg);
}

.cover-two {
    left: 50%;
    top: 1rem;
    transform: translateX(-50%) rotate(3deg);
}

.cover-three {
    right: 0;
    top: 9rem;
    transform: rotate(11deg);
}

.scrolly-books {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.book-vault {
    padding: 4.8rem 0 3.2rem;
}

.book-vault .section-heading {
    width: min(860px, 100%);
    margin-bottom: 2.2rem;
    text-align: center;
}

.book-story.book-accent-architect { --accent: #ee1673; }
.book-story.book-accent-ghosts { --accent: #dd082d; }
.book-story.book-accent-heir { --accent: #c2c836; }

.book-story {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
    gap: 1.45rem;
    align-items: center;
    padding: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(232, 225, 214, 0.12);
    background: #020202;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.book-story::after {
    position: absolute;
    right: 1rem;
    bottom: -3rem;
    z-index: 0;
    width: 13rem;
    height: 13rem;
    background: url("assets/site/shadow-crack.svg") center/contain no-repeat;
    opacity: 0.18;
    filter: brightness(1.28) drop-shadow(0 0 24px rgba(238, 22, 115, 0.16));
    content: "";
}

.book-story::before {
    position: absolute;
    left: 0.7rem;
    top: 0.7rem;
    z-index: 0;
    width: 8.5rem;
    height: 8.5rem;
    background: url("assets/site/shadow-gun.svg") center/contain no-repeat;
    opacity: 0.24;
    filter: brightness(1.18) drop-shadow(0 0 22px rgba(221, 8, 45, 0.16));
    content: "";
}

.book-story:nth-of-type(2)::before {
    background-image: url("assets/site/shadow-king.svg");
}

.book-story:nth-of-type(3)::before {
    background-image: url("assets/site/shadow-knife.svg");
}

.book-story > * {
    position: relative;
    z-index: 1;
}

.book-story-alt {
    grid-template-columns: minmax(170px, 240px) minmax(0, 1fr);
}

.book-story-alt .sticky-book {
    order: 0;
}

.sticky-book {
    position: relative;
    top: auto;
    align-self: center;
}

.sticky-book img {
    width: min(100%, 300px);
    margin-inline: auto;
    filter:
        drop-shadow(0 0 42px color-mix(in srgb, var(--accent), transparent 68%))
        drop-shadow(0 32px 48px rgba(0, 0, 0, 0.72));
    transition: transform 220ms ease, filter 220ms ease;
}

.book-story:hover .sticky-book img {
    transform: translateY(-4px) scale(1.035);
    filter:
        drop-shadow(0 0 56px color-mix(in srgb, var(--accent), transparent 46%))
        drop-shadow(0 36px 54px rgba(0, 0, 0, 0.76));
}

.book-story-copy h2 {
    margin-top: 0.35rem;
    color: var(--accent);
    font-size: 3.1rem;
}

.book-story-copy p {
    max-width: 760px;
    margin-top: 0.82rem;
    color: var(--bone-dim);
    font-family: var(--serif);
    font-size: 1.08rem;
    font-style: italic;
}

.book-story-copy .book-status {
    width: max-content;
    max-width: 100%;
    border-left: 3px solid rgba(232, 225, 214, 0.22);
    padding: 0.24rem 0 0.24rem 0.72rem;
    color: var(--bone);
    font-family: var(--display);
    font-size: 1rem;
    font-style: normal;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.book-story-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.book-story-copy li {
    border: 1px solid rgba(232, 225, 214, 0.18);
    border-radius: 0;
    padding: 0.38rem 0.66rem;
    color: var(--bone);
    font-family: var(--display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.book-story .button-red {
    background: var(--accent);
    color: var(--bone);
    box-shadow: 0 0 32px color-mix(in srgb, var(--accent), transparent 72%);
}

.book-story .button-red:hover,
.book-story .button-lime:hover {
    box-shadow: 0 0 48px color-mix(in srgb, var(--accent), transparent 54%);
}

.tape-grid {
    width: min(940px, calc(100% - 40px));
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.tape-grid span {
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 0.78rem 1rem;
    color: var(--black);
    background: var(--bone);
    font-family: var(--display);
    font-size: 2.65rem;
    line-height: 0.9;
    text-transform: uppercase;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.tape-grid span:nth-child(odd) {
    background: linear-gradient(90deg, var(--wrath), #82101a);
    color: var(--bone);
    transform: rotate(-1.5deg);
}

.tape-grid span:nth-child(3n) {
    background: linear-gradient(90deg, var(--decay), #909525);
    transform: rotate(1.5deg);
}

.hooks-scatter {
    overflow: hidden;
    background: #010101;
}

.hooks-scatter .section-heading {
    margin-bottom: 0.45rem;
}

.hooks-scatter .tape-grid {
    width: min(880px, calc(100% - 40px));
    min-height: 235px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.2rem 0 0;
}

.hooks-scatter .tape-grid span {
        height: auto;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.hook-tape,
.hook-outline,
.hook-slash {
    padding: 0.44rem 0.7rem;
    font-family: var(--display);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.hook-tape {
    border: 0;
    color: var(--bone);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.36);
}

.hooks-scatter .tape-grid .hook-red {
    background: linear-gradient(90deg, #8b0711, #b3121d);
    color: var(--bone);
}

.hooks-scatter .tape-grid .hook-pink {
    background: #ee1673;
    color: var(--bone);
}

.hooks-scatter .tape-grid .hook-bone {
    background: linear-gradient(90deg, #f0ebe2, var(--bone));
    color: var(--black);
}

.hooks-scatter .tape-grid .hook-decay {
    background: linear-gradient(90deg, var(--decay), #8e9419);
    color: var(--black);
}

.hook-outline {
    background: transparent;
    border: 2px solid currentColor;
}

.hook-red-text {
    color: var(--wrath);
}

.hook-pink-text {
    color: var(--pink);
}

.hook-decay-text {
    color: var(--decay);
}

.hook-bone-text {
    color: var(--bone);
}

.hook-slash {
    position: relative;
    border: 1px solid rgba(232, 225, 214, 0.18);
    background: rgba(232, 225, 214, 0.04);
    color: var(--bone);
}

.hook-slash::after {
    position: absolute;
    inset: -0.15rem 48% -0.15rem auto;
    width: 2px;
    transform: rotate(24deg);
    background: var(--blood);
    content: "";
}

.hook-script {
    gap: 0.24rem;
    padding: 0.08rem 0.45rem;
    color: var(--bone);
    background: transparent;
    font-family: var(--serif);
    font-size: 2.35rem;
    font-style: italic;
    line-height: 0.9;
    text-transform: lowercase;
}

.hook-script em {
    color: var(--pink);
    font-family: var(--script);
    font-size: 1.32em;
    font-style: normal;
    text-shadow: 0 0 18px rgba(238, 22, 115, 0.42);
}

.hook-tape.wide,
.hook-slash.wide {
    padding-inline: 1.15rem;
}

.series-quote {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    background: #030303;
}

.series-quote img {
    position: absolute;
    inset: auto 0 8%;
    width: 100%;
    opacity: 0.36;
}

.series-quote p {
    width: min(1080px, calc(100% - 40px));
    position: relative;
    z-index: 2;
    color: var(--bone);
    font-family: var(--serif);
    font-size: clamp(2rem, 3.1vw, 3rem);
    font-style: italic;
    line-height: 1.16;
}

.reader-advisory {
    padding: 4rem 0;
    border-block: 1px solid rgba(232, 225, 214, 0.1);
    background:
        radial-gradient(ellipse at 50% 20%, rgba(158, 16, 26, 0.16), transparent 34rem),
        rgba(232, 225, 214, 0.025);
}

.reader-advisory-inner {
    width: min(940px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
}

.reader-advisory h2 {
    margin-top: 0.72rem;
    color: var(--bone);
    font-size: 3.4rem;
}

.reader-advisory p:not(.eyebrow) {
    max-width: 760px;
    margin-top: 1rem;
    margin-inline: auto;
    color: var(--bone-dim);
}

/* Gothic coming soon */
.gothic-soon-page {
    background:
        radial-gradient(ellipse at 50% 10%, rgba(194, 200, 54, 0.08), transparent 34rem),
        radial-gradient(ellipse at 90% 70%, rgba(158, 16, 26, 0.12), transparent 28rem),
        #030405;
}

.gothic-soon {
    text-align: center;
}

.gothic-soon-copy {
    max-width: 760px;
}

.gothic-floral {
    left: 50%;
    top: 50%;
    width: min(34rem, 52vw);
    opacity: 0.38;
    transform: translate(-50%, -50%);
    filter: saturate(0.94) contrast(1.08) brightness(0.86);
}

.gothic-mark {
    left: 50%;
    top: 48%;
    width: min(25rem, 36vw);
    opacity: 0.34;
    transform: translate(-50%, -50%);
    filter: brightness(1.14) drop-shadow(0 0 34px rgba(232, 225, 214, 0.12));
}

.gothic-soon .hero-actions {
    justify-content: center;
}

.soon-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.4rem;
    color: var(--ash);
    font-family: var(--display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.soon-links a {
    border-bottom: 1px solid rgba(232, 225, 214, 0.28);
}

.arc-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 30000;
    display: grid;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    place-items: center;
    padding: clamp(1rem, 4vw, 2.5rem);
    background:
        radial-gradient(ellipse at 50% 40%, rgba(194, 200, 54, 0.12), transparent 34rem),
        rgba(0, 0, 0, 0.78);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.arc-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.arc-modal-open {
    overflow: hidden;
}

.arc-modal-card {
    width: min(500px, calc(100vw - 28px));
    max-height: min(760px, calc(100dvh - 28px));
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(194, 200, 54, 0.4);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(194, 200, 54, 0.12), transparent 24%),
        #030303;
    box-shadow:
        0 0 0 1px rgba(232, 225, 214, 0.06),
        0 0 54px rgba(194, 200, 54, 0.22),
        0 36px 120px rgba(0, 0, 0, 0.82);
    transform: translateY(18px) scale(0.98);
    transition: transform 220ms ease;
}

.arc-modal.is-visible .arc-modal-card {
    transform: translateY(0) scale(1);
}

.arc-modal-image-wrap {
    min-height: 0;
    overflow: hidden;
    background: #050505;
}

.arc-modal-image {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 112px);
    object-fit: contain;
    background: #050505;
}

.arc-modal-actions {
    display: grid;
    padding: 1rem;
    border-top: 1px solid rgba(194, 200, 54, 0.26);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(194, 200, 54, 0.14), transparent 20rem),
        rgba(5, 5, 5, 0.96);
}

.arc-modal-cta {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 225, 214, 0.16);
    border-radius: 4px;
    padding: 0.9rem 1.2rem;
    background: var(--decay);
    color: #050505;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 0 32px rgba(194, 200, 54, 0.34);
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.arc-modal-cta:hover,
.arc-modal-cta:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 0 46px rgba(194, 200, 54, 0.52);
}

.arc-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(232, 225, 214, 0.22);
    border-radius: 50%;
    background: rgba(5, 5, 5, 0.78);
    color: var(--bone);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.arc-modal-close:hover,
.arc-modal-close:focus-visible {
    border-color: rgba(194, 200, 54, 0.74);
    color: var(--decay);
    transform: rotate(8deg);
}

.kindle-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: var(--rail);
    z-index: 45;
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 1.2rem;
    padding: 0.9rem 2rem;
    border-top: 1px solid rgba(232, 225, 214, 0.12);
    background: rgba(0, 0, 0, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.kindle-bar p {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1.1rem;
    margin: 0;
}

.kindle-bar strong {
    color: var(--wrath);
    font-family: var(--display);
    font-size: 0.95rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.kindle-bar span {
    color: var(--bone);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-style: italic;
}

.kindle-bar a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.55rem;
    background: var(--blood);
    color: var(--bone);
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.kindle-bar button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(232, 225, 214, 0.2);
    color: var(--bone);
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.kindle-bar.is-hidden {
    display: none;
}

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

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

    .sticky-book {
        position: static;
    }
}

@media (max-width: 980px) {
    body {
        padding-bottom: 72px;
    }

    .shadow-page {
        padding-bottom: 154px;
    }

    .site-header {
        inset: auto 0 0 0;
        width: auto;
        border-right: 0;
        border-top: 1px solid rgba(232, 225, 214, 0.12);
    }

    .nav-links {
        width: auto;
        font-size: 0.82rem;
        letter-spacing: 0.2em;
        text-align: left;
    }

    .nav {
        width: min(var(--max), calc(100% - 28px));
        min-height: 72px;
        padding: 0;
        display: grid;
        grid-template-columns: auto auto;
    }

    .nav-logo {
        width: 62px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        inset: auto 0 72px 0;
        display: grid;
        gap: 0;
        justify-items: stretch;
        background: rgba(5, 5, 5, 0.96);
        border-bottom: 1px solid var(--line);
        opacity: 0;
        pointer-events: none;
        transform: translateY(120%);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .nav-links.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        padding: 1rem 20px;
        border-top: 1px solid var(--line);
    }

    .kindle-bar {
        left: 0;
        bottom: 72px;
    }

    .home-hero h1,
    .series-hero h1,
    .gothic-soon h1 {
        font-size: 4.9rem;
    }

    .author-dossier,
    .series-hero,
    .book-story,
    .book-story-alt {
        grid-template-columns: 1fr;
    }

    .world-grid {
        width: min(860px, calc(100% - 44px));
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .world-card {
        min-height: 350px;
    }

    .book-story-alt .sticky-book {
        order: 0;
    }

    .hero-book-stack {
        min-height: 420px;
    }

    .book-cover {
        width: 12rem;
    }

    .cover-two {
        left: 50%;
        transform: translateX(-50%) rotate(3deg);
    }

    .cover-three {
        left: auto;
        right: 0;
    }
}

@media (max-width: 720px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
        touch-action: pan-y;
    }

    .nav,
    .home-hero-copy,
    .series-hero-copy,
    .gothic-soon-copy,
    .contact-inner,
    .section-heading,
    .author-dossier,
    .scrolly-books,
    .site-footer {
        width: min(var(--max), calc(100% - 28px));
    }

    .home-hero,
    .series-hero,
    .gothic-soon {
        min-height: 0;
        padding-top: 108px;
        padding-bottom: 4rem;
        overflow: hidden;
    }

    .home-hero {
        min-height: calc(100svh - 72px);
    }

    .hero-actions {
        width: min(100%, 320px);
        display: grid;
        margin-right: auto;
        margin-left: auto;
    }

    .button {
        width: 100%;
        min-width: 0;
    }

    .series-bg,
    .home-orbit,
    .gothic-layers,
    .worlds-section,
    .tropes-board,
    .contact-section,
    .book-vault {
        overflow: hidden;
    }

    .home-hero-copy,
    .about-copy,
    .contact-inner {
        text-align: center;
    }

    .home-hero h1,
    .series-hero h1,
    .gothic-soon h1 {
        font-size: 3.75rem;
    }

    .home-hero h1 {
        font-size: 3.1rem;
    }

    .hero-text,
    .series-hero-copy p:not(.eyebrow),
    .gothic-soon-copy p:not(.eyebrow) {
        font-size: 1.18rem;
    }

    .about-copy h2,
    .section-heading h2,
    .contact-inner h2,
    .book-story-copy h2 {
        font-size: 3.2rem;
    }

    .reader-advisory h2 {
        font-size: 3.2rem;
    }

    .layer-main {
        left: 50%;
        right: auto;
        width: 28rem;
        opacity: 0.58;
    }

    .layer-sigil {
        width: 24rem;
        opacity: 0.28;
    }

    .layer-flower {
        display: none;
    }

    .layer-general {
        display: none;
    }

    .world-card {
        grid-column: auto;
        min-height: 390px;
    }

    .world-grid {
        width: min(var(--max), calc(100% - 28px));
        grid-template-columns: 1fr;
    }

    .gate-floral-left {
        display: none;
    }

    .gate-floral-right {
        right: -5.6rem;
        bottom: 4.5rem;
        width: 20rem;
        max-width: none;
        opacity: 0.82;
        filter:
            saturate(1.2)
            contrast(1.08)
            brightness(1.1)
            drop-shadow(0 0 28px rgba(238, 22, 115, 0.22));
    }

    .series-element-22,
    .series-element-23,
    .series-crack {
        display: none;
    }

    .series-card-left {
        left: 7%;
        top: 15%;
        width: 6.8rem;
    }

    .series-knife {
        right: 18%;
        top: 7%;
        width: 9rem;
    }

    .series-king {
        left: auto;
        right: -1.4rem;
        bottom: -0.65rem;
        top: auto;
        width: 7.4rem;
        opacity: 0.72;
        rotate: -18deg;
    }

    .series-splatter-right,
    .series-element-7,
    .series-element-19 {
        display: none;
    }

    .world-copy strong {
        font-size: 2.8rem;
    }

    .hero-book-stack {
        display: none;
    }

    .book-cover {
        width: 11.5rem;
    }

    .cover-two {
        left: 23%;
    }

    .cover-three {
        left: 44%;
    }

    .sticky-book img {
        width: min(100%, 260px);
    }

    .dossier-tags,
    .contact-links {
        justify-content: center;
    }

    .mini-books {
        width: min(520px, calc(100% - 28px));
        grid-template-columns: 1fr;
    }

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

    .tape-grid span {
        min-height: 62px;
        font-size: 2.25rem;
    }

    .series-quote p {
        font-size: 1.95rem;
        line-height: 1.2;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 1.2rem 0;
    }

    .kindle-bar {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
        padding: 0.8rem 1rem;
    }

    .kindle-bar p {
        gap: 0.35rem 0.8rem;
    }

    .kindle-bar a {
        grid-column: 1 / -1;
        order: 3;
        min-height: 42px;
    }

    .kindle-bar button {
        width: 40px;
        height: 40px;
    }

    .arc-modal {
        padding: 0.7rem;
    }

    .arc-modal-card {
        width: min(360px, calc(100vw - 28px));
        max-height: calc(100dvh - 28px);
    }

    .arc-modal-image {
        max-height: calc(100dvh - 104px);
    }

    .arc-modal-actions {
        padding: 0.8rem;
    }
}

@media (max-width: 430px) {
    .home-hero h1,
    .series-hero h1,
    .gothic-soon h1 {
        font-size: 3.1rem;
    }

    .about-copy h2,
    .section-heading h2,
    .contact-inner h2,
    .book-story-copy h2 {
        font-size: 2.7rem;
    }

    .reader-advisory h2 {
        font-size: 2.7rem;
    }

    .series-quote p {
        font-size: 1.55rem;
    }

    .hero-actions,
    .book-actions,
    .contact-links {
        display: grid;
    }

    .button,
    .contact-links a {
        width: 100%;
    }

    .arc-modal-cta {
        min-height: 54px;
        font-size: 0.96rem;
        letter-spacing: 0.14em;
    }

    .arc-modal-close {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
    }
}
