/* ═══════════════════════════════════════════════
   $KNIGHT — Premium Handcrafted Stylesheet
   Multi-Million Dollar Feel
   ═══════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────── */
:root {
    --bg: #050403;
    --bg-warm: #0a0806;
    --bg-deep: #030201;
    --surface: rgba(12, 10, 6, 0.88);
    --surface-lit: rgba(18, 14, 8, 0.94);
    --cream: #ddd3bc;
    --cream-dim: #8e8470;
    --cream-pale: #f0e8d6;
    --cream-ghost: rgba(221, 211, 188, 0.06);
    --gold: #c8a032;
    --gold-bright: #ebc850;
    --gold-deep: #755a15;
    --gold-glow: rgba(200, 160, 50, 0.25);
    --gold-subtle: rgba(200, 160, 50, 0.06);
    --crimson: #6e1a1a;
    --pump-green: #00d18c;
    --pump-green-glow: rgba(0, 209, 140, 0.15);
    --border: rgba(200, 160, 50, 0.08);
    --border-active: rgba(200, 160, 50, 0.3);
    --ff-display: 'Cinzel Decorative', serif;
    --ff-heading: 'Cinzel', serif;
    --ff-accent: 'IM Fell English SC', serif;
    --ff-blackletter: 'UnifrakturMaguntia', serif;
    --ff-body: 'Cormorant Garamond', 'Georgia', serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Custom Scrollbar ─────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--gold-deep), var(--gold));
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-bright);
}

html {
    scrollbar-color: var(--gold-deep) var(--bg);
    scrollbar-width: thin;
}

/* ── Reset ────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    background: var(--bg);
    color: var(--cream);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 17px;
    cursor: none;
}

body.loading {
    overflow: hidden;
}

a,
button,
input,
[role="button"] {
    cursor: none;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color .3s;
}

a:hover {
    color: var(--gold-bright);
}

::selection {
    background: var(--gold-deep);
    color: var(--cream-pale);
}

img {
    display: block;
    max-width: 100%;
}

/* ═══════════════════════════════════════
   CINEMATIC LOADING SCREEN
   ═══════════════════════════════════════ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
}

.loader-shield {
    width: 60px;
    height: 72px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 20px rgba(200, 160, 50, 0.3));
}

.loader-shield-outline {
    animation: shield-draw 2s ease forwards;
}

@keyframes shield-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.loader-bolt {
    animation: bolt-in 0.6s ease 1.4s forwards;
}

@keyframes bolt-in {
    to {
        opacity: 0.7;
    }
}

.loader-text {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fade-in 0.6s ease 0.5s forwards;
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

.loader-bar {
    width: 120px;
    height: 1px;
    background: var(--border);
    margin: 0 auto;
    overflow: hidden;
    opacity: 0;
    animation: fade-in 0.4s ease 0.8s forwards;
}

.loader-bar-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
    animation: bar-fill 2s ease 0.8s forwards;
}

@keyframes bar-fill {
    to {
        width: 100%;
    }
}

/* ═══════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s var(--ease), transform 1.2s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Stagger children */
.reveal[data-step="2"] {
    transition-delay: 0.1s;
}

.reveal[data-step="3"] {
    transition-delay: 0.2s;
}

.reveal[data-step="4"] {
    transition-delay: 0.3s;
}

/* ═══════════════════════════════════════
   CURSOR SYSTEM
   ═══════════════════════════════════════ */
.torch-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    background: radial-gradient(circle, rgba(200, 160, 50, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity .4s;
    opacity: 0;
    mix-blend-mode: screen;
}

body.loaded .torch-glow {
    opacity: 1;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(200, 160, 50, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width .3s var(--ease-bounce), height .3s var(--ease-bounce), border-color .3s, opacity .4s, background .3s;
    opacity: 0;
    will-change: left, top;
}

.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, background .2s, opacity .4s;
    opacity: 0;
    box-shadow: 0 0 6px rgba(200, 160, 50, 0.5);
    will-change: left, top;
}

body.loaded .cursor-ring,
body.loaded .cursor-dot {
    opacity: 1;
}

.cursor-ring.hovering {
    width: 56px;
    height: 56px;
    border-color: rgba(200, 160, 50, 0.8);
    background: rgba(200, 160, 50, 0.03);
}

.cursor-dot.hovering {
    width: 6px;
    height: 6px;
    background: var(--cream-pale);
    box-shadow: 0 0 12px rgba(240, 232, 214, 0.5);
}

/* ═══════════════════════════════════════
   FOG LAYERS
   ═══════════════════════════════════════ */
.fog-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.fog {
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    opacity: 0.03;
    background: linear-gradient(90deg,
            transparent 0%, rgba(200, 180, 140, 0.5) 20%, transparent 40%,
            rgba(200, 180, 140, 0.3) 60%, transparent 80%, rgba(200, 180, 140, 0.4) 100%);
    animation: fog-drift linear infinite;
}

.fog--1 {
    left: -100%;
    animation-duration: 75s;
}

.fog--2 {
    left: -50%;
    animation-duration: 50s;
    animation-direction: reverse;
    opacity: 0.02;
}

.fog--3 {
    left: -80%;
    animation-duration: 90s;
    opacity: 0.015;
    top: 30%;
    height: 40%;
}

@keyframes fog-drift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

/* ═══════════════════════════════════════
   FLOATING NAV
   ═══════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background .6s, backdrop-filter .6s, box-shadow .6s;
}

.nav.scrolled {
    background: rgba(5, 4, 3, 0.92);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2.5rem;
    transition: padding .5s var(--ease);
}

.nav.scrolled .nav-inner {
    padding: 0.7rem 2.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--ff-display);
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: transform .3s var(--ease);
}

.nav-brand:hover {
    transform: scale(1.03);
}

.nav-shield {
    color: var(--gold);
    transition: filter .3s;
}

.nav-brand:hover .nav-shield {
    filter: drop-shadow(0 0 8px rgba(200, 160, 50, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    font-family: var(--ff-heading);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream-dim);
    position: relative;
    padding-bottom: 3px;
    transition: color .3s, transform .3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .4s var(--ease), left .4s var(--ease);
}

.nav-links a:hover {
    color: var(--cream-pale);
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.nav-pump {
    color: var(--pump-green) !important;
    border: 1px solid rgba(0, 209, 140, 0.25);
    padding: 0.2rem 0.65rem !important;
    transition: all .3s !important;
    font-weight: 600;
}

.nav-pump:hover {
    background: var(--pump-green) !important;
    color: var(--bg) !important;
    box-shadow: 0 0 25px var(--pump-green-glow);
}

.nav-pump::after {
    display: none !important;
}

.nav-x {
    border: 1px solid var(--border-active);
    padding: 0.2rem 0.65rem !important;
    transition: all .3s !important;
}

.nav-x:hover {
    background: var(--gold) !important;
    color: var(--bg) !important;
}

.nav-x::after {
    display: none !important;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transform: scale(1.1);
    transition: transform 14s ease-out;
    will-change: transform;
}

body.loaded .hero-bg-img {
    transform: scale(1);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 35%, transparent 15%, rgba(5, 4, 3, 0.5) 55%, rgba(5, 4, 3, 0.92) 100%),
        linear-gradient(to bottom, rgba(5, 4, 3, 0.25) 0%, transparent 20%, transparent 50%, rgba(5, 4, 3, 0.95) 85%, var(--bg) 100%);
}

/* ── Torch flames ─────────────────────────────── */
.torch {
    position: absolute;
    top: 30%;
    z-index: 3;
    width: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.torch--left {
    left: 4%;
}

.torch--right {
    right: 4%;
}

.flame {
    width: 12px;
    height: 36px;
    background: radial-gradient(ellipse at bottom, #ebc850 0%, #c8a032 30%, rgba(200, 100, 20, 0.5) 60%, transparent 100%);
    border-radius: 50% 50% 20% 20%;
    animation: flame-flicker 0.9s ease-in-out infinite alternate;
    filter: blur(0.5px);
    box-shadow: 0 0 25px rgba(235, 200, 80, 0.35), 0 0 50px rgba(200, 120, 30, 0.15);
}

.flame--2 {
    width: 8px;
    height: 26px;
    position: absolute;
    top: 4px;
    animation-delay: 0.12s;
    opacity: 0.6;
}

.flame--3 {
    width: 5px;
    height: 16px;
    position: absolute;
    top: 8px;
    animation-delay: 0.25s;
    opacity: 0.4;
}

.torch::after {
    content: '';
    width: 3px;
    height: 45px;
    background: linear-gradient(to bottom, var(--gold-deep), #2a1a05);
    margin-top: -1px;
    border-radius: 0 0 2px 2px;
}

@keyframes flame-flicker {
    0% {
        transform: scaleY(1) scaleX(1);
        opacity: 1;
    }

    30% {
        transform: scaleY(1.08) scaleX(0.92) translateY(-1px);
    }

    60% {
        transform: scaleY(0.92) scaleX(1.08);
        opacity: 0.85;
    }

    100% {
        transform: scaleY(1.12) scaleX(0.88) translateY(-3px);
        opacity: 0.9;
    }
}

/* ── Ember particles ──────────────────────────── */
.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: ember-rise linear infinite;
    filter: blur(0.5px);
}

@keyframes ember-rise {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(1);
    }

    8% {
        opacity: 0.8;
    }

    70% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(30px) scale(0.15);
    }
}

/* ── Hero inner ───────────────────────────────── */
.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3.5rem 3rem;
    max-width: 740px;
    animation: hero-reveal 2.5s var(--ease-out) both;
    animation-delay: 2.8s;
}

/* Animated glowing border */
.hero-border-glow {
    position: absolute;
    inset: -1px;
    border-radius: 2px;
    z-index: -1;
    opacity: 0.12;
    overflow: hidden;
}

.hero-border-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(from 0deg, var(--gold), transparent, var(--gold-deep), transparent, var(--gold));
    animation: border-rotate 8s linear infinite;
}

.hero-border-glow::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg);
    border-radius: 1px;
}

@keyframes border-rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hero-reveal {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

/* ── SVG ornamental corners ───────────────────── */
.hero-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.35;
    transition: opacity .8s;
}

.hero-inner:hover .hero-corner {
    opacity: 0.7;
}

.hero-corner--tl {
    top: 0;
    left: 0;
}

.hero-corner--tr {
    top: 0;
    right: 0;
}

.hero-corner--bl {
    bottom: 0;
    left: 0;
}

.hero-corner--br {
    bottom: 0;
    right: 0;
}

/* ── Shield Crest ─────────────────────────────── */
.hero-crest {
    margin: 0 auto 1rem;
    width: 50px;
    height: 60px;
    animation: crest-float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(200, 160, 50, 0.25));
}

@keyframes crest-float {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 18px rgba(200, 160, 50, 0.25));
    }

    50% {
        transform: translateY(-4px);
        filter: drop-shadow(0 0 28px rgba(200, 160, 50, 0.4));
    }
}

/* ── Hero title ───────────────────────────────── */
.hero-title {
    font-family: var(--ff-display);
    font-size: clamp(3.5rem, 12vw, 9rem);
    line-height: 0.95;
    margin-bottom: 0.6rem;
    letter-spacing: 0.14em;
}

.hero-letter {
    display: inline-block;
    animation: letter-in 1s var(--ease-out) both;
    animation-delay: calc(var(--d) * 0.1s + 3s);
    background: linear-gradient(175deg, #f5ecd5 0%, var(--gold) 50%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 30px rgba(200, 160, 50, 0.12));
    transition: transform .3s var(--ease-bounce), filter .3s;
}

.hero-letter:hover {
    transform: translateY(-6px) scale(1.08);
    filter: drop-shadow(0 8px 40px rgba(200, 160, 50, 0.3));
}

@keyframes letter-in {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(50deg) scale(0.8);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: none;
        filter: blur(0) drop-shadow(0 4px 30px rgba(200, 160, 50, 0.12));
    }
}

/* ── Hero subtitle ────────────────────────────── */
.hero-sub {
    font-family: var(--ff-accent);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: var(--cream);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: hero-reveal 2s var(--ease-out) 3.6s both;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

/* ── Hero SVG divider ─────────────────────────── */
.hero-divider {
    margin: 0 auto 2rem;
    max-width: 250px;
    animation: hero-reveal 2s var(--ease-out) 3.8s both;
}

.svg-divider {
    width: 100%;
}

/* ── Hero actions ─────────────────────────────── */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: hero-reveal 2s var(--ease-out) 4s both;
}

.btn-primary {
    font-family: var(--ff-heading);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.95rem 2.6rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--bg);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all .4s var(--ease), transform .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-primary:hover {
    box-shadow: 0 0 60px var(--gold-glow), inset 0 0 30px rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    color: var(--bg);
}

.btn-pump {
    background: linear-gradient(135deg, var(--pump-green), #00a870);
    box-shadow: 0 0 25px var(--pump-green-glow);
    font-size: 0.78rem;
    padding: 1rem 2.8rem;
    border: 1px solid rgba(0, 209, 140, 0.2);
}

.btn-pump:hover {
    box-shadow: 0 0 60px rgba(0, 209, 140, 0.25), 0 0 120px rgba(0, 209, 140, 0.08);
    background: linear-gradient(135deg, #00e89c, #00c882);
    color: var(--bg);
}

.btn-pump--lg {
    font-size: 0.82rem;
    padding: 1.1rem 3.2rem;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50px;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: shine-sweep 5s ease-in-out infinite;
}

@keyframes shine-sweep {

    0%,
    75%,
    100% {
        left: -100%;
    }

    35% {
        left: 200%;
    }
}

.btn-outline {
    font-family: var(--ff-heading);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.95rem 2rem;
    background: transparent;
    color: var(--cream);
    border: 1px solid var(--border-active);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all .4s, transform .2s;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(200, 160, 50, 0.06);
    border-color: var(--gold);
    color: var(--cream-pale);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ── CA block ─────────────────────────────────── */
.ca-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: hero-reveal 2s var(--ease-out) 4.2s both;
}

.ca-label {
    font-family: var(--ff-heading);
    font-size: 0.55rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    opacity: 0.85;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.ca-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(5, 4, 3, 0.8);
    border: 1px solid var(--border-active);
    padding: 0.5rem 0.9rem 0.5rem 1.3rem;
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all .4s var(--ease);
}

.ca-pill:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(200, 160, 50, 0.1), inset 0 0 20px rgba(200, 160, 50, 0.02);
    transform: translateY(-1px);
}

.ca-address {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--cream);
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ca-btn {
    background: transparent;
    border: 1px solid var(--border-active);
    color: var(--gold);
    font-family: var(--ff-heading);
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    padding: 0.25rem 0.7rem;
    cursor: pointer;
    transition: all .3s;
}

.ca-btn:hover {
    background: var(--gold);
    color: var(--bg);
}

.ca-btn .ca-done {
    display: none;
}

.ca-btn.copied .ca-default {
    display: none;
}

.ca-btn.copied .ca-done {
    display: inline;
    color: #5cb85c;
}

/* ── Scroll cue ───────────────────────────────── */
.hero-scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: sword-float 3.5s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

@keyframes sword-float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.scroll-sword {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sword-pommel {
    width: 6px;
    height: 4px;
    background: var(--gold-deep);
    border-radius: 2px;
}

.sword-grip {
    width: 2px;
    height: 12px;
    background: linear-gradient(to bottom, var(--gold-deep), var(--gold));
}

.sword-guard {
    width: 16px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.sword-blade {
    width: 1px;
    height: 28px;
    background: linear-gradient(to bottom, var(--gold), rgba(200, 160, 50, 0.2));
}

.sword-tip {
    width: 0;
    height: 0;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-top: 4px solid rgba(200, 160, 50, 0.2);
}

.scroll-text {
    font-family: var(--ff-heading);
    font-size: 0.45rem;
    letter-spacing: 0.5em;
    color: var(--cream-dim);
    opacity: 0.4;
}

/* ═══════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════ */
.marquee {
    overflow: hidden;
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
}

.marquee-track span {
    font-family: var(--ff-accent);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--cream-dim);
    opacity: 0.35;
    white-space: nowrap;
    padding-right: 2.5rem;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════
   SVG ORNAMENTS
   ═══════════════════════════════════════ */
.svg-ornament {
    margin-bottom: 2.5rem;
    text-align: center;
}

.svg-ornament svg {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

/* ═══════════════════════════════════════
   LORE
   ═══════════════════════════════════════ */
#lore {
    position: relative;
    z-index: 2;
}

.lore-text {
    padding: 8rem 2rem;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.quote {
    font-family: var(--ff-body);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic;
    font-weight: 300;
    line-height: 2.2;
    color: var(--cream);
    opacity: 0.75;
    position: relative;
}

.quote--accent {
    color: var(--gold);
    opacity: 0.9;
}

.quote-mark {
    font-family: var(--ff-display);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.15;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 0.1em;
}

.quote-mark--end {
    margin-left: 0.1em;
    margin-right: 0;
}

/* ── Cinematic images ─────────────────────────── */
.cine-img {
    position: relative;
    z-index: 2;
}

.cine-img-inner {
    position: relative;
    height: 75vh;
    min-height: 450px;
    overflow: hidden;
}

.cine-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.75) contrast(1.1);
    transition: filter 1.2s var(--ease), transform 1.2s var(--ease);
    transform: scale(1.06);
}

.cine-img:hover .cine-img-inner img {
    filter: brightness(0.52) saturate(0.9) contrast(1.05);
    transform: scale(1);
}

.cine-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%),
        linear-gradient(to right, rgba(5, 4, 3, 0.5) 0%, transparent 35%, transparent 65%, rgba(5, 4, 3, 0.5) 100%);
}

.cine-caption {
    position: absolute;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.cine-numeral {
    font-family: var(--ff-blackletter);
    font-size: 3.5rem;
    color: var(--gold);
    opacity: 0.12;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2em;
}

.cine-caption p {
    font-family: var(--ff-accent);
    font-size: 0.9rem;
    color: var(--cream-dim);
    line-height: 1.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ═══════════════════════════════════════
   SVG SWORD DIVIDER
   ═══════════════════════════════════════ */
.sword-divider {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

.sword-divider svg {
    max-width: 500px;
    width: 100%;
    opacity: 0.4;
}

/* ═══════════════════════════════════════
   HOW TO BUY
   ═══════════════════════════════════════ */
#how-to-buy {
    position: relative;
    z-index: 2;
    padding: 5rem 2rem 4rem;
}

.section-head {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-title {
    font-family: var(--ff-display);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    color: var(--cream-pale);
    letter-spacing: 0.12em;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.section-sub {
    font-family: var(--ff-accent);
    font-size: 1rem;
    color: var(--cream-dim);
    letter-spacing: 0.05em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    position: relative;
    background:
        linear-gradient(145deg, rgba(20, 16, 8, 0.95), rgba(12, 10, 6, 0.9)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a032' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border: 1px solid var(--border);
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    transition: all .6s var(--ease);
    overflow: hidden;
}

/* Animated border on hover */
.step-card-border {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s;
}

.step-card-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold);
    opacity: 0.3;
}

.step-card:hover .step-card-border {
    opacity: 1;
}

.step-card:hover {
    border-color: transparent;
    background:
        linear-gradient(145deg, rgba(25, 20, 10, 0.98), rgba(15, 12, 6, 0.95)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a032' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    transform: translateY(-8px);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(200, 160, 50, 0.04),
        inset 0 1px 0 rgba(200, 160, 50, 0.08);
}

.step-number {
    font-family: var(--ff-blackletter);
    font-size: 2.2rem;
    color: var(--gold);
    opacity: 0.1;
    position: absolute;
    top: 0.6rem;
    right: 0.8rem;
    transition: opacity .5s;
}

.step-card:hover .step-number {
    opacity: 0.2;
}

.step-svg-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 1.2rem;
    transition: transform .5s var(--ease), filter .5s;
}

.step-card:hover .step-svg-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(200, 160, 50, 0.3));
}

.step-card h3 {
    font-family: var(--ff-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--cream-pale);
    margin-bottom: 0.7rem;
    transition: color .4s;
}

.step-card:hover h3 {
    color: var(--gold-bright);
}

.step-card p {
    font-size: 0.88rem;
    color: var(--cream-dim);
    line-height: 1.85;
}

.step-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s;
}

.step-card:hover .step-glow {
    opacity: 0.4;
}

/* ── Buy CTA ──────────────────────────────────── */
.buy-cta {
    text-align: center;
    margin-top: 4rem;
    padding-bottom: 2rem;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
#footer {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem 3.5rem;
    text-align: center;
}

.footer-ornament {
    margin-bottom: 2rem;
}

.footer-ornament svg {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.footer-copy {
    font-family: var(--ff-heading);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--cream-dim);
    opacity: 0.5;
}

.footer-sub {
    font-family: var(--ff-accent);
    font-size: 0.8rem;
    color: var(--cream-dim);
    opacity: 0.3;
    margin-top: 0.3rem;
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-family: var(--ff-heading);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-links a {
    color: var(--cream-dim);
    transition: color .3s, transform .3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

.footer-dot {
    color: var(--border-active);
}

/* ═══════════════════════════════════════
   GRAIN OVERLAY
   ═══════════════════════════════════════ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px;
    mix-blend-mode: overlay;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.55rem;
    }

    .lore-text {
        padding: 5rem 1.5rem;
    }

    .hero-inner {
        padding: 2.5rem 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cine-img-inner {
        height: 55vh;
        min-height: 300px;
    }

    .cine-numeral {
        font-size: 2.5rem;
    }

    .torch {
        display: none;
    }

    .hero-corner {
        width: 35px;
        height: 35px;
    }

    body {
        cursor: auto;
    }

    a,
    button,
    input,
    [role="button"] {
        cursor: pointer;
    }

    .cursor-ring,
    .cursor-dot,
    .torch-glow {
        display: none;
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-pump {
        display: none;
    }

    #how-to-buy {
        padding: 3rem 1rem 2rem;
    }

    .hero-title {
        letter-spacing: 0.08em;
    }

    .hero-crest {
        width: 40px;
        height: 48px;
    }
}