/* ==========================================================================
   addrenvoy.com — a 1940s courier of sealed correspondence
   Palette: seal wax red, aged parchment, lampblack ink, candlelight amber
   Structure: ma (間) negative space + letterbox 2.35:1 + envelope stacks
   Motif: flowing copperplate curves + a scroll-drawn postal route line
   Interaction System* System System: System:** Interactive buttons and CTAs are styled as wax seal impressions — circular elements with a subtle embossed texture (CSS radial gradients and box-shadows creating a 3D stamp effect through Intersection Observer. The line should feel hand-drawn — use a slight waviness in the SVG path data. Space Grotesk" (400/500
   ========================================================================== */

:root {
    --seal-red:      #9B3A3A;
    --parchment:     #F5EDE0;
    --lampblack:     #2B2520;
    --envelope:      #C4A882;
    --fog-blue:      #8B9EAE;
    --candle-amber:  #D4A54A;
    --blush:         #D9C4B8;

    --ink-soft:      rgba(43, 37, 32, 0.72);
    --ink-faint:     rgba(43, 37, 32, 0.45);
    --envelope-soft: rgba(196, 168, 130, 0.4);
    --fold-shadow:   rgba(43, 37, 32, 0.12);
    --fold-deep:     rgba(43, 37, 32, 0.25);

    --font-display:  "Cormorant Garamond", "Lora", Georgia, serif;
    --font-body:     "Libre Baskerville", "Lora", Georgia, serif;
    --font-accent:   "Space Grotesk", "Inter", system-ui, sans-serif;

    --frame-max:     min(1400px, 92vw);
    --letterbox-ratio: 2.35 / 1;

    --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.75;
    color: var(--lampblack);
    background: var(--parchment);
    overflow-x: hidden;
    position: relative;
    /* Paper texture as subtle diagonal grain */
    background-image:
        radial-gradient(circle at 12% 18%, rgba(155, 58, 58, 0.03) 0, transparent 40%),
        radial-gradient(circle at 88% 72%, rgba(212, 165, 74, 0.04) 0, transparent 45%),
        radial-gradient(circle at 40% 90%, rgba(139, 158, 174, 0.03) 0, transparent 40%);
}

/* Grain overlay — soft noise of vintage photo paper */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/></svg>");
}

/* ==========================================================================
   Path line — SVG postal route threading through the page
   ========================================================================== */
.path-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 520px);
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

#postalRoute {
    stroke-dasharray: 4000;
    stroke-dashoffset: 4000;
    transition: stroke-dashoffset 0.2s linear;
}

/* ==========================================================================
   HUD
   ========================================================================== */
.hud {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 22px clamp(20px, 4vw, 56px);
    background: linear-gradient(to bottom, rgba(245, 237, 224, 0.92), rgba(245, 237, 224, 0.0));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hud-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hud-seal svg { display: block; }
.hud-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--lampblack);
}

.hud-nav {
    display: flex;
    gap: clamp(14px, 2.4vw, 34px);
    justify-content: center;
}
.hud-nav a {
    font-family: var(--font-accent);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lampblack);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}
.hud-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--seal-red);
    transition: right 0.3s var(--ease-out);
}
.hud-nav a:hover { color: var(--seal-red); }
.hud-nav a:hover::after { right: 0; }

.hud-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    font-family: var(--font-accent);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fog-blue);
}
.hud-dot {
    width: 7px; height: 7px;
    background: var(--candle-amber);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(212, 165, 74, 0.25);
    animation: pulseDot 2.4s infinite ease-in-out;
}
@keyframes pulseDot {
    0%,100% { box-shadow: 0 0 0 3px rgba(212, 165, 74, 0.15); transform: scale(1); }
    50%     { box-shadow: 0 0 0 6px rgba(212, 165, 74, 0.05); transform: scale(1.15); }
}

/* ==========================================================================
   Stages — ma negative space between every envelope
   ========================================================================== */
.stage {
    position: relative;
    padding: clamp(80px, 12vh, 160px) clamp(20px, 4vw, 56px);
    display: flex;
    justify-content: center;
    z-index: 1;
}

/* Letterbox frame: 2.35:1 cinematic band, content centered */
.letterbox-frame {
    position: relative;
    width: var(--frame-max);
    max-width: 1400px;
}

/* First frame — hero — uses viewport-height letterbox */
.hero {
    padding-top: 120px;
    padding-bottom: clamp(80px, 14vh, 180px);
}
.hero-frame {
    aspect-ratio: var(--letterbox-ratio);
    min-height: 520px;
    max-height: 80vh;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--envelope);
    box-shadow:
        0 30px 80px -20px rgba(43, 37, 32, 0.35),
        inset 0 0 0 1px rgba(245, 237, 224, 0.4);
}

/* ==========================================================================
   Hero — the courier on the foggy street
   ========================================================================== */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 120% 70% at 50% 110%, #1a1613 0%, #2B2520 55%, #3a2f27 100%);
    filter: sepia(15%) contrast(1.1);
}
.hero-fog {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 60% 40% at 30% 70%, rgba(217, 196, 184, 0.35), transparent 70%),
        radial-gradient(ellipse 50% 35% at 70% 80%, rgba(139, 158, 174, 0.30), transparent 70%),
        radial-gradient(ellipse 80% 50% at 50% 95%, rgba(196, 168, 130, 0.28), transparent 70%);
    filter: blur(8px);
    animation: fogDrift 28s ease-in-out infinite alternate;
}
@keyframes fogDrift {
    0%   { transform: translate3d(-2%, 0, 0) scale(1.02); }
    100% { transform: translate3d(3%, -1%, 0) scale(1.05); }
}
.hero-lamp {
    position: absolute;
    top: 18%;
    right: 18%;
    width: 160px;
    height: 260px;
    background:
        radial-gradient(circle at 50% 20%, rgba(212, 165, 74, 0.75) 0%, rgba(212, 165, 74, 0.25) 25%, transparent 60%);
    filter: blur(2px);
    animation: lampFlicker 4.8s infinite ease-in-out;
}
.hero-lamp::before {
    content: "";
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 92%;
    background: linear-gradient(to bottom, #2B2520, #4b3e33);
}
.hero-lamp::after {
    content: "";
    position: absolute;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 28px;
    background: radial-gradient(circle at 50% 40%, #D4A54A, #9B3A3A 70%, #2B2520 100%);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 0 30px rgba(212, 165, 74, 0.9), 0 0 60px rgba(212, 165, 74, 0.4);
}
@keyframes lampFlicker {
    0%, 100% { opacity: 1; }
    45%      { opacity: 0.88; }
    48%      { opacity: 0.95; }
    50%      { opacity: 0.82; }
    53%      { opacity: 1; }
}
.hero-courier {
    position: absolute;
    bottom: 6%;
    right: 22%;
    width: 90px;
    height: 220px;
    background:
        radial-gradient(ellipse 60% 12% at 50% 100%, rgba(0,0,0,0.6), transparent 70%),
        linear-gradient(to bottom, transparent 0%, transparent 20%, rgba(20, 16, 12, 0.92) 22%, rgba(20, 16, 12, 0.95) 65%, transparent 80%);
    clip-path: polygon(35% 0%, 65% 0%, 72% 22%, 82% 55%, 80% 75%, 88% 100%, 12% 100%, 22% 78%, 18% 55%, 28% 22%);
    filter: blur(0.6px);
}
.hero-courier::after {
    content: "";
    position: absolute;
    top: -3%;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 22px;
    background: #15110d;
    border-radius: 40% 40% 30% 30%;
    box-shadow: 0 4px 0 -1px #15110d;
}
.hero-flare {
    position: absolute;
    top: 25%;
    left: -10%;
    right: -10%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(212, 165, 74, 0.5), rgba(245, 237, 224, 0.3), rgba(212, 165, 74, 0.5), transparent);
    filter: blur(2px);
    opacity: 0.6;
    animation: flareMove 9s ease-in-out infinite;
}
@keyframes flareMove {
    0%,100% { top: 22%; opacity: 0.35; }
    50%     { top: 34%; opacity: 0.65; }
}

.hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: clamp(30px, 6vh, 80px) clamp(30px, 6vw, 90px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--parchment);
    text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-eyebrow {
    font-family: var(--font-accent);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blush);
    margin: 0 0 clamp(16px, 3vh, 28px);
    opacity: 0;
    animation: fadeRise 1.2s 0.2s var(--ease-out) forwards;
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin: 0;
    color: var(--parchment);
}
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.hero-title .char.on {
    opacity: 1;
    transform: translateY(0);
}
.hero-title .char.period { color: var(--seal-red); }

.hero-sub {
    max-width: 58ch;
    margin: clamp(18px, 3vh, 34px) 0 clamp(24px, 4vh, 44px);
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    color: var(--blush);
    opacity: 0;
    animation: fadeRise 1s 1.2s var(--ease-out) forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 40px);
    opacity: 0;
    animation: fadeRise 0.9s 1.6s var(--ease-out) forwards;
}
.ink-link {
    font-family: var(--font-accent);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blush);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
}
.ink-link::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--candle-amber);
    transition: right 0.35s var(--ease-out);
}
.ink-link:hover { color: var(--candle-amber); }
.ink-link:hover::after { right: 0; }

@keyframes fadeRise {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
    position: absolute;
    bottom: 22px; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--blush);
}
.scroll-cue-seal {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #c8494a, #9B3A3A 60%, #5b1f1f 100%);
    box-shadow:
        inset 0 -1px 2px rgba(0,0,0,0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 0 0 3px rgba(155, 58, 58, 0.18);
    animation: sealPulse 2s infinite ease-in-out;
}
@keyframes sealPulse {
    0%, 100% { transform: scale(1); opacity: 0.75; }
    50%      { transform: scale(1.08); opacity: 1; }
}
.scroll-cue-text {
    font-family: var(--font-accent);
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

/* ==========================================================================
   Envelope containers — paper with a fold shadow at the top
   ========================================================================== */
.envelope {
    position: relative;
    background: var(--parchment);
    border-radius: 12px;
    border: 1px solid var(--envelope);
    padding: clamp(40px, 7vh, 90px) clamp(26px, 5vw, 70px) clamp(50px, 8vh, 100px);
    box-shadow:
        0 30px 60px -30px rgba(43, 37, 32, 0.35),
        0 2px 0 rgba(196, 168, 130, 0.4);
    margin-top: -6vh;
    isolation: isolate;
    overflow: hidden;
}
/* Envelope flap — thin triangular shadow top edge */
.envelope-flap {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
    background: linear-gradient(to bottom, var(--fold-shadow), transparent);
    pointer-events: none;
    transition: background 0.4s ease;
}
.envelope:hover .envelope-flap {
    background: linear-gradient(to bottom, var(--fold-deep), transparent);
}
/* Watermark — swirl pattern behind */
.envelope-watermark {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><g fill='none' stroke='%239B3A3A' stroke-width='0.7' opacity='0.5'><path d='M20,120 C60,60 180,60 220,120 C180,180 60,180 20,120 Z'/><path d='M60,120 C90,90 150,90 180,120 C150,150 90,150 60,120 Z'/><circle cx='120' cy='120' r='3'/></g></svg>");
    background-size: 320px 320px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}
.envelope > *:not(.envelope-flap):not(.envelope-watermark) {
    position: relative;
    z-index: 1;
}
.envelope-wide { padding-left: clamp(26px, 3.5vw, 48px); padding-right: clamp(26px, 3.5vw, 48px); }
.envelope-close { max-width: 960px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Section heads — "stamp" label, serif h2, flourish
   ========================================================================== */
.section-head {
    max-width: 760px;
    margin: 0 auto clamp(40px, 6vh, 80px);
    text-align: center;
}
.section-stamp {
    font-family: var(--font-accent);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--seal-red);
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--envelope);
    border-radius: 2px;
    background: rgba(245, 237, 224, 0.5);
}
.section-head h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--lampblack);
    margin: 22px 0 26px;
}
.flourish {
    display: block;
    width: min(360px, 80%);
    height: 22px;
    margin: 10px auto 0;
}
.flourish-path {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    transition: stroke-dashoffset 1.2s var(--ease-out);
}
.reveal-in .flourish-path { stroke-dashoffset: 0; }

/* ==========================================================================
   Whisper grid (3 columns, staggered vertical offsets)
   ========================================================================== */
.whisper-grid {
    display: grid;
    grid-template-columns: 30% 35% 30%;
    gap: 2.5vw;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(6px, 1vw, 24px);
}
.col-a { margin-top: 0; }
.col-b { margin-top: 40px; }
.col-c { margin-top: 80px; }

.whisper-card {
    background: var(--blush);
    border: 1px solid var(--envelope);
    border-radius: 10px;
    padding: 32px 28px 26px;
    position: relative;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
    box-shadow: 0 12px 30px -18px rgba(43, 37, 32, 0.35);
}
.whisper-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
    background: linear-gradient(to bottom, var(--fold-shadow), transparent);
    border-radius: 10px 10px 0 0;
    transition: background 0.3s ease;
    pointer-events: none;
}
.whisper-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -20px rgba(43, 37, 32, 0.45);
}
.whisper-card:hover::before {
    background: linear-gradient(to bottom, var(--fold-deep), transparent);
}
.whisper-number {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 2.4rem;
    color: var(--seal-red);
    line-height: 1;
    margin-bottom: 14px;
}
.whisper-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: var(--lampblack);
    letter-spacing: 0.01em;
}
.whisper-card p {
    font-family: var(--font-body);
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 18px;
}
.whisper-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    font-family: var(--font-accent);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fog-blue);
    background: rgba(245, 237, 224, 0.7);
    padding: 4px 10px;
    border: 1px solid var(--envelope-soft);
    border-radius: 20px;
}

/* ==========================================================================
   Journey — vintage plate + ledger
   ========================================================================== */
.journey {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
}
.journey-plate {
    position: relative;
}
.vintage-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--envelope);
    border-radius: 8px;
    overflow: hidden;
    filter: sepia(15%) contrast(1.1);
    box-shadow:
        0 22px 50px -20px rgba(43, 37, 32, 0.45),
        inset 0 0 0 6px var(--parchment),
        inset 0 0 0 7px var(--envelope-soft);
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 1.4s ease, transform 1.4s ease;
}
.reveal-in .vintage-photo { opacity: 1; transform: scale(1); }

.vp-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #1f1b18 0%, #2b2520 40%, #3c322a 85%, #4a3c32 100%);
}
.vp-fog {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 30% 70%, rgba(217, 196, 184, 0.3), transparent 70%),
        radial-gradient(ellipse 70% 40% at 70% 80%, rgba(139, 158, 174, 0.25), transparent 70%),
        radial-gradient(ellipse 100% 60% at 50% 98%, rgba(196, 168, 130, 0.35), transparent 75%);
    filter: blur(6px);
    animation: fogDrift 30s ease-in-out infinite alternate;
}
.vp-street {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 32%;
    background:
        linear-gradient(to bottom, transparent, rgba(18, 14, 11, 0.55) 40%, rgba(18, 14, 11, 0.85) 100%),
        repeating-linear-gradient(
            105deg,
            rgba(155, 58, 58, 0.05) 0 2px,
            transparent 2px 10px
        );
}
.vp-lamp {
    position: absolute;
    top: 22%;
    left: 18%;
    width: 60px;
    height: 60%;
}
.vp-lamp-post {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 96%;
    background: linear-gradient(to bottom, #15110d, #33281f);
}
.vp-lamp-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 18px;
    background: radial-gradient(circle at 50% 40%, #D4A54A, #9B3A3A 80%, #2B2520);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 18px rgba(212, 165, 74, 0.8);
}
.vp-lamp-glow {
    position: absolute;
    top: -10%;
    left: -180%;
    width: 420%;
    height: 60%;
    background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(212, 165, 74, 0.55), transparent 65%);
    filter: blur(3px);
    animation: lampFlicker 4.8s infinite ease-in-out;
}
.vp-silhouette {
    position: absolute;
    bottom: 8%;
    right: 18%;
    width: 58px;
    height: 38%;
    background: linear-gradient(to bottom, transparent 0%, transparent 14%, rgba(10, 8, 6, 0.92) 16%, rgba(10, 8, 6, 0.95) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 78% 18%, 88% 50%, 82% 75%, 92% 100%, 8% 100%, 18% 78%, 12% 50%, 22% 18%);
    filter: blur(0.5px);
}
.vp-silhouette::after {
    content: "";
    position: absolute;
    top: -6%;
    left: 50%;
    transform: translateX(-50%);
    width: 32px; height: 14px;
    background: #0a0806;
    border-radius: 40% 40% 30% 30%;
}
.vp-rain {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom right, transparent 48%, rgba(217, 196, 184, 0.12) 49%, rgba(217, 196, 184, 0.12) 50%, transparent 51%);
    background-size: 4px 14px;
    opacity: 0.5;
    mix-blend-mode: screen;
    animation: rainDrift 1.2s linear infinite;
}
@keyframes rainDrift {
    from { background-position: 0 0; }
    to   { background-position: -14px 14px; }
}
.vp-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
    opacity: 0.12;
    mix-blend-mode: multiply;
    pointer-events: none;
}
.vp-caption {
    position: absolute;
    bottom: 10px; left: 12px; right: 12px;
    font-family: var(--font-accent);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blush);
    text-align: center;
    opacity: 0.85;
}

.journey-text .section-stamp { margin-bottom: 18px; }
.journey-text h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    line-height: 1.2;
    color: var(--lampblack);
    margin: 0 0 22px;
    letter-spacing: 0.01em;
}
.journey-text p.lead {
    font-size: 18px;
    line-height: 1.7;
    font-style: italic;
    color: var(--lampblack);
    margin: 0 0 18px;
}
.journey-text p {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--ink-soft);
}
.journey-text em { color: var(--seal-red); font-style: italic; }

.ledger-list {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    border-top: 1px solid var(--envelope-soft);
}
.ledger-list li {
    display: grid;
    grid-template-columns: 42% 1fr;
    padding: 14px 0;
    border-bottom: 1px solid var(--envelope-soft);
    align-items: baseline;
}
.ledger-key {
    font-family: var(--font-accent);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fog-blue);
}
.ledger-val {
    font-family: var(--font-body);
    font-size: 15.5px;
    color: var(--lampblack);
}

/* ==========================================================================
   Ledger quotes
   ========================================================================== */
.ledger-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 44px);
    max-width: 1200px;
    margin: 0 auto;
}
.ledger-quote {
    margin: 0;
    padding: 30px 28px;
    background: var(--parchment);
    border: 1px solid var(--envelope);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 12px 30px -18px rgba(43, 37, 32, 0.3);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}
.ledger-quote:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -20px rgba(43, 37, 32, 0.4);
}
.ledger-quote::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
    background: linear-gradient(to bottom, var(--fold-shadow), transparent);
    border-radius: 10px 10px 0 0;
}
.ledger-quote:nth-child(1) { transform: translateY(0); }
.ledger-quote:nth-child(2) { transform: translateY(24px); }
.ledger-quote:nth-child(3) { transform: translateY(48px); }
.ledger-quote:nth-child(2):hover { transform: translateY(20px); }
.ledger-quote:nth-child(3):hover { transform: translateY(44px); }

.ledger-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.45;
    color: var(--lampblack);
    margin: 0 0 16px;
}
.ledger-quote footer {
    font-family: var(--font-accent);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fog-blue);
}

/* ==========================================================================
   Closing — entrust form
   ========================================================================== */
.closing {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.closing h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--lampblack);
    margin: 22px 0 20px;
    letter-spacing: 0.01em;
}
.closing-lead {
    font-style: italic;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.7;
    margin: 0 auto 36px;
    max-width: 58ch;
}

.entrust-form {
    text-align: left;
    background: var(--blush);
    border: 1px solid var(--envelope);
    border-radius: 12px;
    padding: clamp(26px, 4vw, 44px);
    position: relative;
    box-shadow: 0 20px 48px -26px rgba(43, 37, 32, 0.4);
}
.entrust-form::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 10px;
    background: linear-gradient(to bottom, var(--fold-shadow), transparent);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.entrust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 20px;
}
.entrust-note { display: block; }
.label-top {
    display: block;
    font-family: var(--font-accent);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fog-blue);
    margin-bottom: 6px;
}
.entrust-form input,
.entrust-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--envelope);
    background: transparent;
    padding: 10px 2px 12px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--lampblack);
    transition: border-color 0.25s ease, background 0.25s ease;
}
.entrust-form textarea {
    border: 1px solid var(--envelope-soft);
    background: rgba(245, 237, 224, 0.5);
    border-radius: 6px;
    padding: 12px 14px;
    resize: vertical;
    min-height: 80px;
}
.entrust-form input:focus,
.entrust-form textarea:focus {
    outline: none;
    border-color: var(--seal-red);
    background: rgba(245, 237, 224, 0.7);
}
.entrust-form input::placeholder,
.entrust-form textarea::placeholder {
    color: var(--ink-faint);
    font-style: italic;
}
.entrust-foot {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.entrust-notice {
    font-family: var(--font-accent);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--seal-red);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.entrust-notice.on {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Wax seal button
   ========================================================================== */
.wax-seal {
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    font: inherit;
    outline: none;
}
.wax-seal-face {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    position: relative;
    background:
        radial-gradient(circle at 32% 28%, #c8494a 0%, #9B3A3A 45%, #6a2222 100%);
    box-shadow:
        inset 0 -4px 6px rgba(0, 0, 0, 0.35),
        inset 0 3px 4px rgba(255, 255, 255, 0.15),
        0 8px 18px -6px rgba(155, 58, 58, 0.55),
        0 0 0 3px rgba(155, 58, 58, 0.12);
    display: grid;
    place-items: center;
    transition: transform 0.18s var(--ease-spring), box-shadow 0.25s ease, background 0.25s ease;
}
.wax-seal-face::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1px dashed rgba(245, 237, 224, 0.45);
    pointer-events: none;
}
.wax-seal-face::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 35%);
    pointer-events: none;
}
.wax-seal-glyph {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--parchment);
    text-shadow: 0 1px 1px rgba(0,0,0,0.35);
    z-index: 1;
}
.wax-seal-label {
    font-family: var(--font-accent);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: inherit;
    padding-bottom: 3px;
    position: relative;
}
.wax-seal-label::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transition: right 0.35s var(--ease-out);
    opacity: 0.5;
}
.wax-seal:hover .wax-seal-face {
    background: radial-gradient(circle at 32% 28%, #d04f50 0%, #a64141 45%, #762525 100%);
    box-shadow:
        inset 0 -4px 6px rgba(0, 0, 0, 0.35),
        inset 0 3px 4px rgba(255, 255, 255, 0.18),
        0 14px 28px -8px rgba(155, 58, 58, 0.7),
        0 0 0 4px rgba(155, 58, 58, 0.14);
}
.wax-seal:hover .wax-seal-label::after { right: 0; }
.wax-seal.pressing .wax-seal-face {
    transform: scale(0.96);
    box-shadow:
        inset 0 -2px 3px rgba(0, 0, 0, 0.45),
        inset 0 2px 2px rgba(255, 255, 255, 0.1),
        0 4px 12px -6px rgba(155, 58, 58, 0.45);
}
.wax-seal.released .wax-seal-face { animation: waxSpring 0.4s var(--ease-spring); }
@keyframes waxSpring {
    0%   { transform: scale(0.96); }
    60%  { transform: scale(1.02); }
    100% { transform: scale(1); }
}
.wax-seal-lg .wax-seal-face { width: 72px; height: 72px; }
.wax-seal-lg .wax-seal-glyph { font-size: 1.7rem; }

/* ==========================================================================
   Colophon
   ========================================================================== */
.colophon {
    padding: clamp(80px, 14vh, 180px) clamp(20px, 4vw, 56px) clamp(60px, 10vh, 120px);
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.colophon-frame {
    background: var(--lampblack);
    color: var(--parchment);
    border-radius: 12px;
    padding: clamp(40px, 6vh, 72px) clamp(26px, 4vw, 64px);
    position: relative;
    overflow: hidden;
}
.colophon-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 0% 0%, rgba(212, 165, 74, 0.12), transparent 60%),
        radial-gradient(ellipse 50% 70% at 100% 100%, rgba(155, 58, 58, 0.15), transparent 65%);
    pointer-events: none;
}
.colophon-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: clamp(20px, 3vw, 44px);
    position: relative;
    z-index: 1;
}
.colophon-mark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 10px;
    color: var(--parchment);
}
.colophon-tag {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--blush);
    margin: 0;
}
.col-label {
    font-family: var(--font-accent);
    font-size: 10.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--candle-amber);
    display: block;
    margin-bottom: 10px;
}
.colophon-grid p {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--blush);
    margin: 0;
}
.colophon-rule {
    margin: clamp(30px, 4vh, 48px) 0 clamp(18px, 2vh, 26px);
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(196, 168, 130, 0.5), transparent);
    position: relative;
    z-index: 1;
}
.colophon-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-family: var(--font-accent);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fog-blue);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.colophon-seal {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #c8494a, #9B3A3A 60%, #5b1f1f 100%);
    box-shadow:
        inset 0 -1px 2px rgba(0,0,0,0.5),
        inset 0 1px 1px rgba(255,255,255,0.15);
}

/* ==========================================================================
   Reveal states — applied by the IntersectionObserver
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.on {
    opacity: 1;
    transform: translateY(0);
}

.envelope, .hero-frame, .colophon-frame {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-in .envelope,
.reveal-in.hero-frame,
.reveal-in .hero-frame,
.reveal-in .colophon-frame,
.reveal-in.colophon-frame,
.reveal-in.envelope {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Waypoint stamp markers drawn by JS on the path line
   ========================================================================== */
.waypoint-stamp {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #c8494a, #9B3A3A 60%, #5b1f1f 100%);
    box-shadow:
        inset 0 -2px 3px rgba(0,0,0,0.45),
        inset 0 1px 2px rgba(255,255,255,0.15),
        0 0 0 4px rgba(155, 58, 58, 0.12),
        0 4px 10px rgba(155, 58, 58, 0.3);
    transition: transform 0.6s var(--ease-spring), opacity 0.5s ease;
    pointer-events: none;
}
.waypoint-stamp::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px dashed rgba(245, 237, 224, 0.55);
}
.waypoint-stamp.on {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 900px) {
    .hud-nav { display: none; }
    .hud { grid-template-columns: 1fr 1fr; }
    .hud-meta { font-size: 10px; }

    .whisper-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        max-width: 520px;
    }
    .col-a, .col-b, .col-c { margin-top: 0; }

    .journey {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .vintage-photo { aspect-ratio: 4 / 3; }

    .ledger-columns { grid-template-columns: 1fr; }
    .ledger-quote:nth-child(2),
    .ledger-quote:nth-child(3) { transform: translateY(0); }
    .ledger-quote:nth-child(2):hover,
    .ledger-quote:nth-child(3):hover { transform: translateY(-4px); }

    .entrust-row { grid-template-columns: 1fr; }

    .colophon-grid { grid-template-columns: 1fr 1fr; }
    .colophon-foot { justify-content: flex-start; }

    .hero-frame { aspect-ratio: 4 / 3; min-height: 460px; }
    .hero-lamp { right: 8%; width: 120px; height: 180px; }
    .hero-courier { right: 10%; width: 70px; height: 160px; }

    .path-line { width: 70vw; opacity: 0.6; }
}

@media (max-width: 560px) {
    .colophon-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: clamp(2.6rem, 14vw, 4rem); }
    .hero-sub { font-size: 15.5px; }
    .section-head h2 { font-size: 1.6rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 18px; }
}
