/* addrenvoy.com - Frosted glass privacy envoy */

@property --redact-blur {
    syntax: '<length>';
    initial-value: 12px;
    inherits: false;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --frost-white: #F0F4F8;
    --deep-slate: #1B2838;
    --diplomatic-navy: #2C3E6B;
    --seal-amber: #C4943A;
    --seal-amber-light: #D4A44A;
    --seal-amber-dark: #8B6520;
    --whisper-gray: #8899AA;
    --envelope-cream: #E8DFD0;
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-fill: rgba(240, 244, 248, 0.12);
    --glass-fill-strong: rgba(240, 244, 248, 0.35);
    --font-display: 'Cormorant Garamond', 'Lora', Georgia, serif;
    --font-body: 'Nunito Sans', 'Inter', system-ui, sans-serif;
    --font-mono: 'DM Mono', 'Roboto Mono', 'Courier New', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: var(--frost-white);
    background: var(--deep-slate);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ---------------- Gradient backdrop ---------------- */
.gradient-backdrop {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(44, 62, 107, 0.6) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(44, 62, 107, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 70%, rgba(27, 40, 56, 1) 0%, transparent 70%),
        radial-gradient(ellipse at 90% 100%, rgba(44, 62, 107, 0.5) 0%, transparent 60%),
        linear-gradient(180deg, #1B2838 0%, #25324A 35%, #1B2838 70%, #25324A 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 200%;
    animation: gradient-drift 28s ease-in-out infinite alternate;
}

@keyframes gradient-drift {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 0% 0%, 100% 50%, 50% 100%, 100% 0%, 0% 100%;
    }
}

/* ---------------- Postal route SVG ---------------- */
.postal-route {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.55;
}

.postal-route path {
    transition: stroke-dashoffset 0.1s linear;
}

.postal-route .waypoint {
    transform-origin: center;
    transform-box: fill-box;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.postal-route .waypoint.lit {
    transform: scale(1);
}

/* ---------------- Pill nav ---------------- */
.pill-nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0.55rem 0.55rem 0.55rem 1.4rem;
    background: rgba(240, 244, 248, 0.08);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.wordmark {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    color: var(--frost-white);
}

.menu-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(240, 244, 248, 0.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.menu-btn:hover {
    background: rgba(196, 148, 58, 0.18);
    border-color: rgba(196, 148, 58, 0.5);
}

.menu-icon {
    position: relative;
    display: block;
    width: 16px;
    height: 1px;
    background: var(--frost-white);
    transition: transform 0.4s ease, background 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 1px;
    background: var(--frost-white);
    transition: transform 0.4s ease, top 0.3s ease;
}

.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }

.pill-nav.open .menu-icon {
    background: transparent;
}

.pill-nav.open .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.pill-nav.open .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------------- Menu overlay ---------------- */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(27, 40, 56, 0.6);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    text-align: center;
}

.menu-list a {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    color: var(--frost-white);
    text-decoration: none;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: 0.02em;
    transition: color 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
    display: inline-block;
    transform: translateY(20px);
    opacity: 0;
}

.menu-overlay.open .menu-list a {
    transform: translateY(0);
    opacity: 1;
}

.menu-list li:nth-child(1) a { transition-delay: 0.10s; }
.menu-list li:nth-child(2) a { transition-delay: 0.16s; }
.menu-list li:nth-child(3) a { transition-delay: 0.22s; }
.menu-list li:nth-child(4) a { transition-delay: 0.28s; }
.menu-list li:nth-child(5) a { transition-delay: 0.34s; }
.menu-list li:nth-child(6) a { transition-delay: 0.40s; }

.menu-list a:hover {
    color: var(--seal-amber);
}

.menu-foot {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--whisper-gray);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ---------------- Sections ---------------- */
.section {
    min-height: 100vh;
    padding: 8rem 8vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--frost-white);
}

.lead {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    line-height: 1.5;
    color: var(--envelope-cream);
    margin: 1.6rem 0;
}

.body {
    color: rgba(240, 244, 248, 0.85);
    margin: 1.2rem 0;
    max-width: 60ch;
}

/* ---------------- Hero / Envelope ---------------- */
.hero {
    flex-direction: column;
    gap: 4rem;
    padding-top: 9rem;
    padding-bottom: 6rem;
}

.envelope {
    position: relative;
    width: clamp(320px, 56vw, 720px);
    aspect-ratio: 16 / 10;
    margin-top: 2rem;
    perspective: 1400px;
}

.envelope-body {
    position: absolute;
    inset: 0;
    background: rgba(240, 244, 248, 0.35);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.envelope-body::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(232, 223, 208, 0.1), rgba(232, 223, 208, 0.04));
    pointer-events: none;
}

.address-stack {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 65%;
}

.addr-line {
    font-family: var(--font-mono);
    font-size: clamp(0.78rem, 1.1vw, 0.95rem);
    color: var(--frost-white);
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.addr-blur {
    filter: blur(6px);
    animation: address-reveal 12s ease-in-out infinite;
}

.addr-blur:nth-child(1) { animation-delay: 0s; }
.addr-blur:nth-child(2) { animation-delay: -1.6s; }
.addr-blur:nth-child(3) { animation-delay: -3.2s; }
.addr-blur:nth-child(4) { animation-delay: -4.8s; }
.addr-blur:nth-child(5) { animation-delay: -6.4s; }

@keyframes address-reveal {
    0% { filter: blur(6px); }
    35% { filter: blur(0px); }
    50% { filter: blur(0px); }
    70% { filter: blur(12px); }
    100% { filter: blur(6px); }
}

.postage {
    position: absolute;
    top: 8%;
    right: 7%;
    width: 18%;
    aspect-ratio: 3 / 4;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 223, 208, 0.08);
}

.stamp {
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--seal-amber-light), var(--seal-amber) 45%, var(--seal-amber-dark) 100%);
    box-shadow:
        inset 1px 1px 3px rgba(255, 255, 255, 0.3),
        inset -1px -1px 3px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stamp-mark {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    color: var(--envelope-cream);
    font-size: clamp(0.75rem, 1.4vw, 1.2rem);
    letter-spacing: 0.05em;
}

/* Envelope flaps */
.envelope-flap-left,
.envelope-flap-right,
.envelope-flap-bottom,
.envelope-flap-top {
    position: absolute;
    background: rgba(240, 244, 248, 0.18);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid var(--glass-border);
}

.envelope-flap-left {
    inset: 0 50% 0 0;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.envelope-flap-right {
    inset: 0 0 0 50%;
    clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.envelope-flap-bottom {
    inset: 50% 0 0 0;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.envelope-flap-top {
    inset: 0 0 50% 0;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top center;
    transform: rotateX(180deg);
    transition: transform 0.9s cubic-bezier(0.6, 0.05, 0.3, 1);
    background: rgba(232, 223, 208, 0.16);
}

.envelope-flap-top.sealing {
    transform: rotateX(0deg);
}

.envelope-flap-top::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--seal-amber-light), var(--seal-amber) 45%, var(--seal-amber-dark) 100%);
    box-shadow:
        inset 1px 1px 3px rgba(255, 255, 255, 0.3),
        inset -1px -1px 3px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(196, 148, 58, 0.3);
    opacity: 0;
    transition: opacity 0.6s ease 0.6s;
}

.envelope-flap-top.sealing::after {
    opacity: 1;
}

/* Hero text */
.hero-text {
    max-width: 760px;
    text-align: center;
    margin-top: 2rem;
}

.kicker {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--whisper-gray);
}

.display-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.04;
    letter-spacing: -0.01em;
    margin-top: 1.4rem;
    color: var(--frost-white);
}

.display-title em {
    font-style: italic;
    color: var(--envelope-cream);
}

.hero-sub {
    margin-top: 1.8rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(240, 244, 248, 0.8);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    margin-top: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.meta-mono {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--whisper-gray);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--seal-amber);
    opacity: 0.75;
}

/* Scroll cue */
.scroll-cue {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.cue-line {
    width: 1px;
    height: 64px;
    background: linear-gradient(180deg, transparent, var(--whisper-gray) 30%, var(--seal-amber) 100%);
    animation: cue-pulse 2.6s ease-in-out infinite;
    transform-origin: top;
}

@keyframes cue-pulse {
    0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

.cue-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--whisper-gray);
}

/* ---------------- Flap dividers ---------------- */
.flap-divider {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    pointer-events: none;
}

.flap-divider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(240, 244, 248, 0.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.flap-down::before {
    clip-path: polygon(0 0, 50% calc(100% - 1px), 100% 0, 100% 30%, 0 30%);
}

.flap-up::before {
    clip-path: polygon(0 100%, 50% 1px, 100% 100%, 100% 70%, 0 70%);
}

/* ---------------- Glass Panels ---------------- */
.panel {
    background: var(--glass-fill);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 4.5rem);
    width: 60%;
    min-width: 320px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.panel.in-view {
    opacity: 1;
    transform: translateY(0);
}

.panel-left {
    margin-right: auto;
    margin-left: 4vw;
}

.panel-right {
    margin-left: auto;
    margin-right: 4vw;
}

.panel-head {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.wax-seal {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--seal-amber-light), var(--seal-amber) 45%, var(--seal-amber-dark) 100%);
    box-shadow:
        inset 1px 1px 2px rgba(255, 255, 255, 0.3),
        inset -1px -1px 2px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(196, 148, 58, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wax-seal span {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--envelope-cream);
    font-weight: 500;
}

/* Concept kv list */
.kv {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border-top: 1px solid rgba(136, 153, 170, 0.2);
    padding-top: 1.4rem;
}

.kv-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: baseline;
    border-bottom: 1px solid rgba(136, 153, 170, 0.12);
    padding-bottom: 0.9rem;
}

.kv-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.kv-key {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--seal-amber);
    min-width: 180px;
}

.kv-val {
    font-family: var(--font-body);
    color: rgba(240, 244, 248, 0.88);
    font-size: 0.98rem;
}

/* ---------------- Redaction ---------------- */
.redaction-card {
    margin-top: 2.2rem;
    padding: 2rem;
    background: rgba(27, 40, 56, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.card-mono {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--whisper-gray);
    margin-bottom: 1.2rem;
}

.addr-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.2rem 0;
}

.block-line {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--frost-white);
    line-height: 1.65;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: baseline;
}

.addr-mono {
    color: var(--seal-amber);
    font-family: var(--font-mono);
}

.card-foot {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(136, 153, 170, 0.15);
}

.card-foot .card-mono {
    margin: 0;
}

/* Redacted span */
.redacted {
    position: relative;
    display: inline-block;
    padding: 0 4px;
    border-radius: 3px;
    isolation: isolate;
}

.redacted .redacted-text {
    color: rgba(240, 244, 248, 0.6);
    filter: blur(2px);
}

.redacted::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 4px;
    background: rgba(240, 244, 248, 0.3);
    backdrop-filter: blur(var(--redact-blur));
    -webkit-backdrop-filter: blur(var(--redact-blur));
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: redact-pulse 8s ease-in-out infinite;
}

.redacted.long::after {
    animation-duration: 9.5s;
    animation-delay: -2s;
}

@keyframes redact-pulse {
    0%, 100% { --redact-blur: 12px; background: rgba(240, 244, 248, 0.3); }
    50% { --redact-blur: 4px; background: rgba(240, 244, 248, 0.18); }
}

/* ---------------- Corridor steps ---------------- */
.corridor-steps {
    list-style: none;
    margin-top: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    counter-reset: corridor;
}

.corridor-step {
    display: flex;
    gap: 1.6rem;
    align-items: flex-start;
    padding: 1.4rem 1.6rem;
    border-left: 1px solid rgba(196, 148, 58, 0.3);
    background: rgba(27, 40, 56, 0.25);
    border-radius: 0 10px 10px 0;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.corridor-step:hover {
    border-color: var(--seal-amber);
    background: rgba(44, 62, 107, 0.32);
}

.step-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 2.1rem;
    color: var(--seal-amber);
    line-height: 1;
    min-width: 60px;
}

.step-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--frost-white);
    margin-bottom: 0.4rem;
}

.step-text p {
    color: rgba(240, 244, 248, 0.78);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ---------------- Routing grid ---------------- */
.route-grid {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.route-cell {
    padding: 1.6rem 1.4rem;
    border: 1px solid var(--glass-border);
    background: rgba(27, 40, 56, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.5s ease, border-color 0.4s ease, background 0.4s ease;
}

.route-cell:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 148, 58, 0.45);
    background: rgba(44, 62, 107, 0.42);
}

.cell-mono {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--seal-amber);
    margin-bottom: 0.8rem;
}

.cell-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--frost-white);
    margin-bottom: 0.6rem;
}

.route-cell p {
    color: rgba(240, 244, 248, 0.78);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---------------- Seal chamber ---------------- */
.seal-chamber {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(232, 223, 208, 0.06) 0%, transparent 60%),
        transparent;
    flex-direction: column;
    padding: 10rem 6vw;
}

.seal-stage {
    position: relative;
    width: min(620px, 90vw);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(196, 148, 58, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ring-1 {
    width: 300px;
    height: 300px;
    transition-delay: 0s;
}

.ring-2 {
    width: 450px;
    height: 450px;
    transition-delay: 0.2s;
    border-color: rgba(196, 148, 58, 0.14);
}

.ring-3 {
    width: 600px;
    height: 600px;
    transition-delay: 0.4s;
    border-color: rgba(196, 148, 58, 0.08);
}

.seal-stage.in-view .ring {
    transform: translate(-50%, -50%) scale(1);
}

.wax-seal-large {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--seal-amber-light), var(--seal-amber) 40%, var(--seal-amber-dark) 100%);
    box-shadow:
        inset 2px 2px 6px rgba(255, 255, 255, 0.3),
        inset -2px -2px 6px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.monogram {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.seal-letters {
    position: relative;
    z-index: 1;
}

.seal-letters em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 48px;
    color: var(--envelope-cream);
    letter-spacing: 0.04em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.seal-caption {
    position: absolute;
    bottom: -8rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: min(640px, 90vw);
}

.chamber-title {
    margin-bottom: 1.4rem;
}

.chamber-body {
    color: rgba(240, 244, 248, 0.82);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

.chamber-mono {
    display: block;
    margin-top: 1.6rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--whisper-gray);
}

/* ---------------- Footer ---------------- */
.site-foot {
    padding: 4rem 8vw 3rem;
    border-top: 1px solid rgba(136, 153, 170, 0.18);
    background: rgba(27, 40, 56, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.foot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.foot-brand {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--frost-white);
    letter-spacing: 0.02em;
}

.foot-mono {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--whisper-gray);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
    .panel {
        width: 90%;
    }
    .panel-left,
    .panel-right {
        margin-left: auto;
        margin-right: auto;
    }
    .section {
        padding: 6rem 6vw;
    }
    .corridor-step {
        flex-direction: column;
        gap: 0.6rem;
    }
    .seal-caption {
        bottom: -10rem;
    }
    .foot-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .pill-nav {
        top: 1rem;
        padding: 0.45rem 0.45rem 0.45rem 1.1rem;
    }
    .wordmark { font-size: 0.95rem; }
    .envelope { aspect-ratio: 5 / 4; }
    .address-stack { left: 6%; gap: 0.35rem; }
    .addr-line { font-size: 0.7rem; }
    .seal-stage {
        width: 90vw;
    }
    .ring-3 { width: 95vw; height: 95vw; }
    .ring-2 { width: 75vw; height: 75vw; }
    .ring-1 { width: 55vw; height: 55vw; }
    .wax-seal-large { width: 150px; height: 150px; }
    .seal-letters em { font-size: 36px; }
}
