/* ==========================================================================
 GLOW'S HAVEN - MASTER AUTHORITATIVE STYLESHEET 
 Luxury Edition: Premium Aesthetics Upgrade
 Target Alignment: Triple-Anchor Header, 5-Column Pillars, Glassmorphism
 ========================================================================== */

/* --- GLOBAL BRAND VARIABLES --- */
:root {
 --primary-blue: #1A3A5F;
 --primary-blue-deep: #0A1628;
 --sanctuary-blue: #0A1628; /* Definitive dark brand background */
 --silver-accent: #D5D8DC;
 --silver-glow: #E5E8E8;
 --silver-glass: rgba(213, 216, 220, 0.08);
 --aurora-green: #48C9B0;
 --white: #FFFFFF;
 --ink: #05101F;
 --transition-standard: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
 --transition-slow: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
 
 /* Luxury Champagne and Linework */
 --champagne: #E8D5B0;
 --champagne-line: rgba(232, 213, 176, 0.25);
 --border-glass: rgba(255, 255, 255, 0.1);
}

/* --- BASE RESET & GLOBAL --- */
* { 
 box-sizing: border-box; 
 margin: 0;
 padding: 0;
}
html {
 scroll-behavior: smooth;
 -webkit-text-size-adjust: 100%;
 text-size-adjust: 100%;
}
body {
 font-family: 'Montserrat', sans-serif;
 background-color: var(--ink);
 color: var(--white);
 line-height: 1.9;
 overflow-x: hidden;
 -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY CORE --- */
h1, h2, h3, h4, h5, .cinzel-header {
 font-family: 'Cinzel', serif;
 font-weight: 700;
 letter-spacing: 3px;
 line-height: 1.3;
 text-transform: uppercase;
}
.montserrat-text {
 font-family: 'Montserrat', sans-serif;
}
.la-belle-accent {
 font-family: 'La Belle Aurore', cursive;
}
.centered-text { text-align: center; }

/* --- VIDEO BACKGROUND FRAMEWORK (replaced with starfield image) --- */
.starfield-bg-container {
 position: fixed;
 top: 0;
 left: 0;
 width: 100vw;
 height: 100vh;
 z-index: -1;
 overflow: hidden;
}
.starfield-bg-img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 filter: blur(1.5px);
 opacity: 0.72;
 transform: scale(1.04);
 pointer-events: none;
}
.starfield-bg-veil {
 position: absolute;
 inset: 0;
 background: linear-gradient(
 180deg,
 rgba(5, 16, 31, 0.52) 0%,
 rgba(5, 16, 31, 0.38) 40%,
 rgba(5, 16, 31, 0.65) 100%
 );
 z-index: 1;
}

/* --- I. THE NAVIGATION BAR (TRIPLE-ANCHOR SYSTEM) --- */
.site-header {
 background: rgba(5, 16, 31, 0.92);
 backdrop-filter: blur(15px);
 -webkit-backdrop-filter: blur(15px);
 border-bottom: 1px solid var(--border-glass);
 padding: 20px 0;
 position: sticky;
 top: 0;
 z-index: 9999;
 width: 100%;
}
.nav-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 16px;
 max-width: 1400px;
 margin: 0 auto;
 padding: 0 40px;
}

/* Left Anchor: Logo */
.nav-logo-link {
 display: inline-flex;
 align-items: center;
 cursor: pointer;
}
.nav-logo {
 max-height: 50px; 
 width: auto;
 object-fit: contain;
}

/* Center Anchor: Pure Fractional Centering */
.nav-links-center {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 40px;
}
.nav-links-center a {
 font-family: 'Cinzel', serif;
 font-size: 13px;
 letter-spacing: 2px;
 text-transform: uppercase;
 color: var(--white);
 text-decoration: none;
 transition: var(--transition-standard);
 opacity: 0.8;
 display: inline-block;
}
.nav-links-center a:hover {
 color: var(--silver-accent);
 opacity: 1;
 text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Right Anchor: Structural CTA System */
.desktop-only-cta {
 display: inline-block;
}
.mobile-only-cta {
 display: none;
}
.mobile-nav-toggle {
 display: none !important;
}

/* Legacy nav dropdown beside hamburger: never show */
.nav-more-wrap .nav-more-menu,
.nav-more-wrap > ul,
.nav-more-wrap > a {
 display: none !important;
 visibility: hidden !important;
 pointer-events: none !important;
}

/* Legacy mobile center menu must never overlay the hero */
#navigationMenu.mobile-menu-active,
.nav-links-center.mobile-menu-active {
 display: none !important;
 position: static !important;
 flex-direction: column !important;
 inset: auto !important;
 background: transparent !important;
}

.btn-support-silver {
 border: 1.5px solid var(--silver-accent);
 border-radius: 50px;
 background: transparent;
 padding: 12px 26px;
 font-family: 'Cinzel', serif;
 font-size: 11px;
 letter-spacing: 2px;
 text-transform: uppercase;
 color: var(--silver-accent);
 text-decoration: none;
 transition: var(--transition-standard);
}
.btn-support-silver:hover {
 background-color: var(--white);
 color: var(--ink);
 border-color: var(--white);
 box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* More-pages menu: hamburger opens full-screen overlay */
.nav-more-wrap {
 position: relative;
 z-index: 10002;
 display: inline-flex;
 align-items: center;
 flex-shrink: 0;
}
.nav-more-toggle {
 display: flex;
 flex-direction: column;
 justify-content: center;
 gap: 5px;
 width: 40px;
 height: 40px;
 padding: 8px;
 border: 1px solid rgba(213, 216, 220, 0.35);
 border-radius: 8px;
 background: rgba(10, 22, 40, 0.5);
 cursor: pointer;
 transition: var(--transition-standard);
}
.nav-more-toggle:hover,
.nav-more-wrap.is-open .nav-more-toggle {
 border-color: var(--silver-accent);
 background: rgba(255, 255, 255, 0.06);
}
.nav-more-bar {
 display: block;
 width: 18px;
 height: 2px;
 background: var(--silver-accent);
 border-radius: 2px;
 transition: var(--transition-standard);
}
.nav-more-wrap.is-open .nav-more-bar:nth-child(1) {
 transform: translateY(7px) rotate(45deg);
}
.nav-more-wrap.is-open .nav-more-bar:nth-child(2) {
 opacity: 0;
}
.nav-more-wrap.is-open .nav-more-bar:nth-child(3) {
 transform: translateY(-7px) rotate(-45deg);
}

/* Blurred overlay + page list */
.nav-pages-overlay {
 position: fixed;
 inset: 0;
 width: 100vw;
 height: 100vh;
 height: 100dvh;
 z-index: 10050;
 display: flex;
 align-items: flex-start;
 justify-content: center;
 padding: 88px 24px 32px;
 overflow-y: auto;
 -webkit-overflow-scrolling: touch;
 overscroll-behavior: contain;
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition: opacity 0.35s ease, visibility 0.35s ease;
}
.nav-pages-overlay.is-open {
 opacity: 1;
 visibility: visible;
 pointer-events: auto;
}
.nav-pages-backdrop {
 position: absolute;
 inset: 0;
 background: rgba(5, 16, 31, 0.55);
 backdrop-filter: blur(14px);
 -webkit-backdrop-filter: blur(14px);
}
.nav-pages-panel {
 position: relative;
 z-index: 2;
 width: min(420px, 92vw);
 max-height: min(78vh, 640px);
 padding: 48px 40px 40px;
 margin: auto 0;
 background: rgba(10, 22, 40, 0.92);
 border: 1px solid rgba(213, 216, 220, 0.28);
 border-radius: 16px;
 box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
 transform: translateY(16px) scale(0.98);
 transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
 overflow-y: auto;
 -webkit-overflow-scrolling: touch;
 overscroll-behavior: contain;
}
.nav-pages-overlay.is-open .nav-pages-panel {
 transform: translateY(0) scale(1);
}
.nav-pages-close {
 position: absolute;
 top: 16px;
 right: 16px;
 width: 40px;
 height: 40px;
 border: 1px solid rgba(213, 216, 220, 0.25);
 border-radius: 8px;
 background: transparent;
 color: var(--silver-accent);
 font-size: 1.6rem;
 line-height: 1;
 cursor: pointer;
 transition: var(--transition-standard);
}
.nav-pages-close:hover {
 color: var(--white);
 border-color: var(--champagne);
}
.nav-pages-eyebrow {
 font-family: 'Cinzel', serif;
 font-size: 0.7rem;
 letter-spacing: 4px;
 text-transform: uppercase;
 color: var(--champagne);
 margin-bottom: 28px;
 text-align: center;
 opacity: 0.9;
}
.nav-pages-list {
 list-style: none;
 margin: 0;
 padding: 0;
}
.nav-pages-list li {
 margin-bottom: 8px;
}
.nav-pages-list a {
 display: block;
 padding: 18px 20px;
 font-family: 'Cinzel', serif;
 font-size: 1.15rem;
 letter-spacing: 3px;
 text-transform: uppercase;
 text-align: center;
 color: var(--white);
 text-decoration: none;
 border: 1px solid rgba(255, 255, 255, 0.06);
 border-radius: 10px;
 background: rgba(255, 255, 255, 0.02);
 transition: var(--transition-standard);
}
.nav-pages-mobile-only {
 display: none;
}
.nav-pages-divider {
 height: 1px;
 margin: 16px 0;
 background: rgba(255, 255, 255, 0.08);
 list-style: none;
}
.nav-pages-support-link {
 border-color: rgba(213, 216, 220, 0.35) !important;
 color: var(--silver-accent) !important;
}
.nav-pages-list a:hover,
.nav-pages-list a.is-current {
 color: var(--champagne);
 border-color: rgba(232, 213, 176, 0.35);
 background: rgba(255, 255, 255, 0.06);
 box-shadow: 0 0 24px rgba(232, 213, 176, 0.12);
}
body.nav-pages-open {
 overflow: hidden;
}
body.nav-pages-open .nav-pages-overlay {
 touch-action: pan-y;
 -webkit-overflow-scrolling: touch;
}
body.donate-modal-open {
 overflow: hidden;
}
.vivo-path h4,
.roadmap-milestone h4 {
 text-align: center;
}

/* Spoke card logos — uniform size, no stretch */
.spoke-logo-wrap {
 margin-bottom: 0;
}
.spoke-logo-img {
 height: 48px;
 width: auto;
 max-width: 120px;
 object-fit: contain;
 filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* Team page */
.page-hero {
 padding: 120px 24px 48px;
 border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-hero-inner {
 max-width: 900px;
 margin: 0 auto;
}
.page-hero h1 {
 font-size: clamp(1.5rem, 3vw, 2rem);
 letter-spacing: 4px;
}
.team-page-section {
 padding: 60px 0 100px;
 position: relative;
}
.team-page-container {
 position: relative;
 z-index: 2;
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}
.team-page-intro {
 margin-bottom: 50px;
 text-align: center;
}
.team-page-intro p {
 font-style: italic;
 opacity: 0.8;
 max-width: 800px;
 margin: 0 auto;
 line-height: 1.8;
 font-size: 1.05rem;
 color: var(--silver-accent);
}
.team-grid--three {
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.team-row-title {
 margin-top: 56px;
 margin-bottom: 36px;
 font-size: 1.05rem;
 letter-spacing: 3px;
 text-transform: uppercase;
 color: var(--champagne);
}
.team-page-container > .team-row-title:first-of-type {
 margin-top: 8px;
}
.ecosystem-support-wrapper {
 margin-bottom: 0;
 padding-bottom: 0;
}
.team-page-container .ecosystem-support-wrapper,
.team-ecosystem-block {
 margin-bottom: 72px;
 padding-bottom: 8px;
 clear: both;
}
.team-global-network-section {
 padding: 80px 24px 100px;
 clear: both;
 border-top: 1px solid rgba(255, 255, 255, 0.06);
 margin-top: 0;
}
.team-global-network-section .team-page-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}
.team-page-container .global-network-box,
.team-global-network-section .global-network-box {
 margin-top: 0;
 margin-bottom: 0;
 padding: 52px 44px;
 text-align: center;
 clear: both;
 position: relative;
 z-index: 2;
}
.global-network-box {
 margin-top: 96px;
 margin-bottom: 48px;
 padding: 52px 44px;
 text-align: center;
 clear: both;
}
.global-network-box h4 {
 font-size: 1.2rem;
 letter-spacing: 2px;
 color: var(--champagne);
 margin-bottom: 15px;
}
.global-network-box p {
 font-size: 0.95rem;
 opacity: 0.8;
 line-height: 1.8;
 max-width: 850px;
 margin: 0 auto;
}

/* --- II. HERO SECTION: VEINS OF STARLIGHT --- */
.star-canvas {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 z-index: 2;
 pointer-events: none;
}
.hero-butterfly {
 position: absolute;
 z-index: 3;
 pointer-events: none;
 will-change: transform;
}
.hero-butterfly svg {
 display: block;
 animation: bf-wingflap 2.4s ease-in-out infinite alternate;
}
.bf-1 {
 width: clamp(80px, 12vw, 160px);
 top: 18%;
 left: 8%;
 animation: bf-drift-1 22s ease-in-out infinite;
}
.bf-2 {
 width: clamp(55px, 8vw, 110px);
 top: 60%;
 right: 10%;
 animation: bf-drift-2 28s ease-in-out infinite;
}
.bf-3 {
 width: clamp(40px, 6vw, 80px);
 top: 35%;
 right: 22%;
 animation: bf-drift-3 18s ease-in-out infinite;
}
@keyframes bf-wingflap {
 0% { transform: scaleX(1); }
 100% { transform: scaleX(0.55); }
}
@keyframes bf-drift-1 {
 0% { transform: translate(0px, 0px) rotate(0deg); opacity: 0.7; }
 25% { transform: translate(28px, -18px) rotate(4deg); opacity: 0.9; }
 50% { transform: translate(12px, -32px) rotate(-3deg); opacity: 0.75; }
 75% { transform: translate(-16px, -14px) rotate(5deg); opacity: 0.85; }
 100% { transform: translate(0px, 0px) rotate(0deg); opacity: 0.7; }
}
@keyframes bf-drift-2 {
 0% { transform: translate(0px, 0px) rotate(0deg); opacity: 0.6; }
 33% { transform: translate(-22px, -25px) rotate(-5deg); opacity: 0.8; }
 66% { transform: translate(18px, -12px) rotate(4deg); opacity: 0.65; }
 100% { transform: translate(0px, 0px) rotate(0deg); opacity: 0.6; }
}
@keyframes bf-drift-3 {
 0% { transform: translate(0px, 0px) rotate(0deg); opacity: 0.5; }
 40% { transform: translate(15px, -20px) rotate(6deg); opacity: 0.7; }
 80% { transform: translate(-10px, -8px) rotate(-4deg); opacity: 0.55; }
 100% { transform: translate(0px, 0px) rotate(0deg); opacity: 0.5; }
}
.hero.starlight-bg {
 min-height: 90vh;
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 padding: 100px 20px;
 background: transparent;
 overflow: hidden;
}
.hero-content {
 max-width: 950px;
 text-align: center;
 z-index: 5;
 position: relative;
}
.hero h1 {
 font-size: clamp(2.2rem, 6vw, 4.2rem);
 letter-spacing: 5px;
 margin-bottom: 25px;
 text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero .sub-headline {
 font-size: clamp(0.95rem, 1.8vw, 1.15rem);
 opacity: 0.85;
 max-width: 780px;
 margin: 0 auto 40px;
 line-height: 2;
}
.flutter-section {
 margin-bottom: 50px;
}
.flutter-section .la-belle-accent {
 font-size: 2.5rem;
 color: var(--champagne);
 display: block;
}
.flutter-subtext {
 font-size: 0.95rem;
 opacity: 0.7;
 font-style: italic;
}
.hero-buttons {
 display: flex;
 gap: 20px;
 justify-content: center;
 align-items: center;
 flex-wrap: wrap;
}
.glass-button {
 color: var(--white);
 border: 1px solid rgba(255, 255, 255, 0.25);
 background: rgba(255, 255, 255, 0.04);
 padding: 16px 38px;
 text-decoration: none;
 border-radius: 50px;
 font-weight: 700;
 font-size: 11px;
 letter-spacing: 2.5px;
 text-transform: uppercase;
 transition: var(--transition-standard);
 backdrop-filter: blur(8px);
}
.glass-button:hover {
 background: var(--white);
 color: var(--ink);
 transform: translateY(-3px);
 box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.morning-glow-link {
 font-family: 'Cinzel', serif;
 color: var(--champagne);
 letter-spacing: 2px;
 text-transform: uppercase;
 text-decoration: none;
 font-size: 12px;
 margin-left: 15px;
 border-bottom: 1px solid var(--champagne);
 padding-bottom: 4px;
 transition: var(--transition-standard);
}
.morning-glow-link:hover {
 color: var(--white);
 border-color: var(--white);
}

/* --- BACKGROUND WRAPPERS --- */
.sanctuary-blue-bg {
 background-color: rgba(10, 22, 40, 0.75); 
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 position: relative;
}

.site-header, .hero, .founder-letter, .team-haven-section, .core-spokes, .pillars-section, .archives-section, .scroll-letter-section, .contact-section, .donation-footer-block, .site-footer, .page-main-layer, .spoke-page {
 position: relative;
 z-index: 2;
}
.page-main-layer {
 background: transparent;
}

/* --- III. SECTION 1: THE FOUNDER’S STATEMENT (legacy helpers) --- */
.letter-container {
 max-width: 850px;
 margin: 0 auto;
 padding: 0 30px;
}
.founder-letter h2 {
 text-align: center;
 font-size: 1.8rem;
 margin-bottom: 60px;
 position: relative;
}
.founder-letter h2::after {
 content: '';
 display: block;
 width: 80px;
 height: 1px;
 background: var(--champagne);
 margin: 25px auto 0;
}
.letter-body p {
 font-size: 1.1rem;
 margin-bottom: 30px;
 opacity: 0.85;
 text-align: justify;
}
.letter-body p.letter-salutation {
 font-size: 1.2rem;
 font-weight: 700;
 margin-bottom: 40px;
}
.letter-body ul {
 list-style: none;
 margin: 30px 0 40px 20px;
}
.letter-body ul li {
 margin-bottom: 20px;
 position: relative;
 padding-left: 25px;
 font-size: 1.05rem;
}
.letter-body ul li::before {
 content: "✦";
 color: var(--champagne);
 position: absolute;
 left: 0;
}
.letter-subhead {
 font-family: 'Cinzel', serif;
 color: var(--champagne);
 font-size: 1.3rem;
 margin: 50px 0 25px;
 letter-spacing: 2px;
}
.signature-block {
 margin-top: 60px;
 padding-top: 20px;
}
.signature-glow {
 font-size: 3.5rem;
 color: var(--champagne);
 display: block;
 line-height: 1;
 margin-bottom: 10px;
}
.founder-title {
 font-family: 'Cinzel', serif;
 font-size: 12px;
 letter-spacing: 2px;
 opacity: 0.6;
}

/* --- EXPERT COMPONENT: TEAM LAYOUT ALIGNMENT ENGINE --- */
.team-haven-section {
 padding: 100px 40px;
}
.team-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 30px;
 max-width: 1200px;
 margin: 0 auto 56px;
}
.team-card {
 background: rgba(255, 255, 255, 0.02);
 border: 1px solid rgba(255, 255, 255, 0.05);
 padding: 40px;
 text-align: left;
 border-radius: 4px;
}
.ecosystem-support-wrapper {
 max-width: 1200px;
 margin: 0 auto;
 display: flex;
 justify-content: flex-start;
}
.ecosystem-support-wrapper .team-card {
 width: calc(50% - 15px);
 text-align: left; 
}

/* --- IV. SECTION 2: THE CORE SPOKES --- */
.core-spokes {
 padding: 100px 40px;
}
.spokes-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 40px;
 max-width: 1300px;
 margin: 0 auto;
}
.glass-frame {
 background: rgba(255, 255, 255, 0.02);
 backdrop-filter: blur(20px);
 -webkit-backdrop-filter: blur(20px);
 border: 1px solid rgba(255, 255, 255, 0.07);
 padding: 60px;
 border-radius: 4px;
 box-shadow: 0 30px 60px rgba(0,0,0,0.4);
 transition: var(--transition-standard);
}
.spoke-card {
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
}
.spoke-card:hover {
 transform: translateY(-8px);
 border-color: rgba(255, 255, 255, 0.15);
 background: rgba(255, 255, 255, 0.04);
}
.spoke-icon {
 height: 120px;
 width: auto;
 margin-bottom: 30px;
 object-fit: contain;
}
.aurora-glow {
 height: 120px;
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 30px;
}
.icon-sea {
 font-size: 4rem;
 color: var(--aurora-green);
 filter: drop-shadow(0 0 15px rgba(72, 201, 176, 0.4));
}
.spoke-card h3 {
 font-size: 1.5rem;
 margin-bottom: 20px;
 color: var(--white);
}
.spoke-card p {
 font-size: 0.95rem;
 opacity: 0.75;
 margin-bottom: 40px;
 max-width: 440px;
}
.spoke-links {
 display: flex;
 gap: 20px;
 margin-top: auto;
}
.premium-link {
 font-family: 'Cinzel', serif;
 font-size: 11px;
 letter-spacing: 2px;
 text-transform: uppercase;
 color: var(--silver-accent);
 text-decoration: none;
 border: 1px solid rgba(255,255,255,0.15);
 padding: 12px 24px;
 border-radius: 50px;
 transition: var(--transition-standard);
}
.premium-link:hover {
 border-color: var(--white);
 color: var(--white);
 background: rgba(255,255,255,0.05);
}

/* --- V. SECTION 3: THE 25 PILLARS OF LIGHT (5-COLUMN GRID) --- */
.pillars-section {
 padding: 120px 40px;
 border-top: 1px solid var(--champagne-line);
}
.content-container {
 max-width: 1400px;
 margin: 0 auto;
}
.pillars-grid-container {
 display: grid;
 grid-template-columns: repeat(5, 1fr); 
 gap: 25px;
 margin-top: 60px;
}
.pillar-column {
 background: rgba(255, 255, 255, 0.01);
 border: 1px solid rgba(255, 255, 255, 0.04);
 padding: 35px 20px;
 border-radius: 4px;
 transition: var(--transition-standard);
 text-align: center;
}
.pillar-column:hover {
 background: rgba(255, 255, 255, 0.03);
 border-color: var(--silver-accent);
 box-shadow: 0 15px 35px rgba(255, 255, 255, 0.05);
 transform: translateY(-5px);
}
.pillar-column h3 {
 font-size: 0.95rem;
 color: var(--champagne);
 margin-bottom: 25px;
 border-bottom: 1px solid var(--champagne-line);
 padding-bottom: 15px;
}
.pillar-column ul {
 list-style: none;
}
.pillar-column ul li {
 font-family: 'Montserrat', sans-serif;
 font-size: 0.95rem;
 padding: 10px 0;
 opacity: 0.8;
 letter-spacing: 0.5px;
}

/* --- VI. SECTION 4: THE ARCHIVE (THE LIBRARY) --- */
.archives-section {
 padding: 120px 40px;
 border-top: 1px solid var(--champagne-line);
}
.silver-text {
 color: var(--silver-accent);
 opacity: 0.8;
 margin: 15px 0 50px;
}
.digital-shelf {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
 gap: 30px;
 max-width: 1200px;
 margin: 0 auto;
}
.book-mockup {
 background: linear-gradient(145deg, #11253e, #07111e);
 border-left: 4px solid var(--silver-accent);
 padding: 40px 25px;
 border-radius: 0 4px 4px 0;
 box-shadow: 5px 15px 35px rgba(0,0,0,0.5);
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 min-height: 250px;
 text-align: left;
}
.book-mockup h4 {
 font-size: 1.1rem;
 color: var(--white);
 line-height: 1.4;
}
.silver-button {
 font-family: 'Cinzel', serif;
 font-size: 11px;
 text-decoration: none;
 color: var(--silver-accent);
 border: 1px solid var(--silver-accent);
 padding: 10px 20px;
 text-align: center;
 margin-top: 30px;
 text-transform: uppercase;
 letter-spacing: 1.5px;
 transition: var(--transition-standard);
}
.silver-button:hover {
 background: var(--silver-accent);
 color: var(--ink);
}
.coming-soon {
 font-style: italic;
 opacity: 0.5;
 font-size: 0.9rem;
 margin: auto 0;
 text-align: center;
}

/* --- VII. SECTION 5: REACH THE HAVEN (CONTACT) --- */
.contact-section {
 padding: 120px 20px;
 display: flex; 
 justify-content: center; 
 align-items: center;
 width: 100%;
}
.contact-container {
 max-width: 700px;
 width: 100%; 
 margin: 0 auto; 
}
.orb-icon-glow {
 max-height: 90px;
 width: auto;
 margin-bottom: 25px;
 filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
}
.contact-container .la-belle-accent {
 font-size: 2rem;
 color: var(--champagne);
 margin-bottom: 40px;
 display: block;
}
#haven-contact-form {
 display: flex;
 flex-direction: column;
 gap: 20px;
 text-align: left;
}
#haven-contact-form input, #haven-contact-form textarea {
 width: 100%;
 background: rgba(255, 255, 255, 0.03);
 border: 1px solid rgba(255, 255, 255, 0.1);
 padding: 16px;
 color: var(--white);
 font-family: 'Montserrat', sans-serif;
 outline: none;
 transition: var(--transition-standard);
}
#haven-contact-form input:focus, #haven-contact-form textarea:focus {
 border-color: var(--silver-accent);
 background: rgba(255, 255, 255, 0.06);
}
.contact-info-note {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 background: rgba(72, 201, 176, 0.06);
 border: 1px solid rgba(72, 201, 176, 0.25);
 border-radius: 8px;
 padding: 14px 18px;
 margin-top: 4px;
}
.contact-info-note i {
 color: var(--aurora-green);
 font-size: 1rem;
 margin-top: 3px;
 flex-shrink: 0;
}
.contact-info-note .text-checkbox-label {
 margin: 0;
 font-size: 0.88rem;
 line-height: 1.6;
 opacity: 0.85;
}
.premium-form-btn {
 background: transparent;
 border: 1px solid var(--white);
 color: var(--white);
 font-family: 'Cinzel', serif;
 padding: 16px;
 letter-spacing: 3px;
 cursor: pointer;
 text-transform: uppercase;
 font-weight: 700;
 transition: var(--transition-standard);
}
.premium-form-btn:hover {
 background: var(--white);
 color: var(--ink);
}

/* --- VIII. SECTION 6: SECURE THE ANCHOR --- */
.donation-footer-block {
 padding: 80px 40px;
}
.silver-bordered-box {
 border: 1px solid var(--silver-accent);
 max-width: 1000px;
 margin: 0 auto;
 padding: 50px 40px;
 border-radius: 4px;
 background: rgba(255,255,255,0.01);
}
.silver-bordered-box h3 {
 font-size: 1.4rem;
 margin-bottom: 15px;
}
.silver-bordered-box p {
 font-size: 1rem;
 opacity: 0.8;
 max-width: 750px;
 margin: 0 auto 35px;
}
.silver-bordered-box .btn-support-silver {
 display: inline-block;
 white-space: nowrap; 
 max-width: 100%; 
 overflow: hidden;
 text-overflow: ellipsis; 
 box-sizing: border-box;
}

/* --- IX. FOOTER --- */
.site-footer {
 padding: 60px 40px;
 border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-content p {
 font-size: 0.95rem;
 opacity: 0.8;
 margin-bottom: 15px;
}
.footer-content .small-print {
 font-size: 0.8rem;
 opacity: 0.4;
}

/* --- EXTRA CONTACT PAGE ADDITIONS --- */
.contact-lead-in {
 font-size: 1rem;
 opacity: 0.85;
 max-width: 620px;
}

/* --- X. CLEANUP SYSTEM: DEFINITIVE CTA MEDIA ISOLATION --- */
@media (min-width: 992px) {
 .mobile-only-cta {
 display: none !important;
 }
}

/* ==========================================================================
 XI. THE LETTER: HORIZONTAL FRAME SCROLL CARD
 Title above · full letter inside a wide ornamental frame
 ========================================================================== */

.founder-letter {
 display: flex;
 flex-direction: column;
 align-items: center;
 padding: clamp(80px, 11vw, 140px) clamp(16px, 4vw, 32px) clamp(72px, 9vw, 110px);
 width: 100%;
}

/* Title sits above the frame — centered, editorial */
.letter-section-title {
 width: 100%;
 max-width: 1100px;
 margin: 0 auto clamp(28px, 4vw, 44px);
 padding: 0 24px;
 text-align: center;
}
.letter-section-title h2 {
 font-size: clamp(1.2rem, 2.1vw, 2rem);
 letter-spacing: clamp(2px, 0.35vw, 5px);
 line-height: 1.45;
 margin-bottom: 0;
 color: var(--white);
}
.letter-section-title h2::after {
 display: none;
}
.letter-title-rule {
 width: 80px;
 height: 1px;
 background: var(--champagne);
 margin: 22px auto 0;
}

/* Landscape frame — fixed aspect ratio, never stretched with content */
.scroll-card-outer {
 width: min(1024px, 94vw);
 margin: 0 auto;
}

.scroll-card-stage {
 position: relative;
 width: 100%;
 aspect-ratio: 1024 / 577;
 max-height: min(70vh, 577px);
}

/* Frame artwork: crisp, contain, never warped */
.scroll-frame-img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: contain;
 object-position: center;
 pointer-events: none;
 z-index: 3;
 user-select: none;
 -webkit-user-drag: none;
}

/* Inner window aligned to transparent hole in silver-frame.png */
.scroll-card-viewport {
 position: absolute;
 top: 16%;
 right: 8.5%;
 bottom: 13%;
 left: 8.5%;
 z-index: 2;
 overflow: hidden;
 border-radius: 2px;
}

.scroll-card-scroll {
 height: 100%;
 overflow-x: hidden;
 overflow-y: auto;
 scroll-behavior: smooth;
 -webkit-overflow-scrolling: touch;
 overscroll-behavior: contain;
 padding: 6px clamp(10px, 2vw, 20px) 12px;
 scrollbar-width: thin;
 scrollbar-color: rgba(232, 213, 176, 0.4) transparent;
}

.scroll-card-scroll::-webkit-scrollbar {
 width: 5px;
}
.scroll-card-scroll::-webkit-scrollbar-thumb {
 background: rgba(232, 213, 176, 0.35);
 border-radius: 4px;
}

/* Edge fade while scrolling — frame stays sharp; only text softens at rim */
.scroll-card-fade {
 position: absolute;
 left: 0;
 right: 0;
 height: clamp(36px, 8%, 52px);
 z-index: 4;
 pointer-events: none;
 opacity: 1;
 transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-card-fade.is-hidden {
 opacity: 0;
}
.scroll-card-fade--top {
 top: 0;
 background: linear-gradient(
 to bottom,
 rgba(10, 22, 40, 0.98) 0%,
 rgba(10, 22, 40, 0.75) 45%,
 transparent 100%
 );
}
.scroll-card-fade--bottom {
 bottom: 0;
 background: linear-gradient(
 to top,
 rgba(10, 22, 40, 0.98) 0%,
 rgba(10, 22, 40, 0.75) 45%,
 transparent 100%
 );
}

.scroll-card-text {
 position: relative;
 z-index: 1;
 width: 100%;
 max-width: 100%;
 margin: 0 auto;
 padding: 0 4px 8px;
 text-align: center;
}

/* Letter text typography alignment */
.scroll-card-text p {
 font-size: clamp(0.95rem, 1.2vw, 1.15rem);
 margin-bottom: 24px;
 line-height: 1.9;
 opacity: 0.95;
 color: var(--white);
 text-align: center;
}
.scroll-card-text p.letter-salutation {
 font-size: clamp(1.05rem, 1.4vw, 1.3rem);
 font-weight: 700;
 font-style: normal;
 color: var(--champagne);
 margin-bottom: 36px;
 text-align: center;
}

/* Subheadings inside the letter frame */
.scroll-card-text .letter-subhead {
 font-family: 'Cinzel', serif;
 font-size: clamp(1.1rem, 1.5vw, 1.4rem);
 color: var(--champagne);
 letter-spacing: 3px;
 text-transform: uppercase;
 margin: 50px 0 24px;
 text-align: center;
 font-weight: 700;
}

/* Bullet list inside frame */
.scroll-card-text ul {
 list-style: none;
 padding: 0;
 margin: 24px auto;
 max-width: 900px;
 text-align: left;
}
.scroll-card-text ul li {
 padding-left: 30px;
 position: relative;
 font-size: clamp(0.9rem, 1.1vw, 1.05rem);
 line-height: 1.8;
 margin-bottom: 18px;
 opacity: 0.92;
 color: var(--white);
}
.scroll-card-text ul li strong {
 color: var(--white);
}
.scroll-card-text ul li::before {
 content: "•";
 color: var(--champagne);
 position: absolute;
 left: 10px;
 top: 0;
 font-size: 1.2rem;
}

/* Sign-off Layout Engine */
.scroll-signoff {
 margin-top: 50px;
 padding-top: 30px;
 border-top: 1px solid rgba(232, 213, 176, 0.15);
 text-align: center;
 max-width: 900px;
 margin-left: auto;
 margin-right: auto;
}
.scroll-motto-line {
 font-family: 'Montserrat', sans-serif;
 font-size: 0.9rem;
 font-style: italic;
 color: var(--white);
 display: block;
 margin-bottom: 20px;
}
.scroll-closing-line {
 font-size: 0.95rem;
 opacity: 0.9;
 margin-bottom: 4px;
}
.scroll-name-line {
 font-family: 'Cinzel', serif;
 font-size: 1.3rem;
 letter-spacing: 3px;
 color: var(--white);
 margin: 4px 0;
}
.scroll-role-line {
 font-size: 0.75rem;
 text-transform: uppercase;
 letter-spacing: 2px;
 color: var(--champagne);
 font-weight: 700;
 font-family: 'Montserrat', sans-serif;
}

/* --- MOBILE & TABLET FRAME RESPONSIVE OVERRIDES --- */
@media (max-width: 768px) {
 .scroll-card-outer {
 width: min(100%, 96vw);
 }
 .scroll-card-stage {
 max-height: min(62vh, 520px);
 }
 .scroll-card-viewport {
 top: 15%;
 right: 7%;
 bottom: 12%;
 left: 7%;
 }
 .scroll-card-scroll {
 padding: 4px 8px 10px;
 }
 .scroll-card-text ul {
 text-align: left;
 }
}

/* ==========================================================================
 XII. COMPREHENSIVE RESPONSIVE AUDIT
 All breakpoints audited: phone portrait, phone landscape, tablet, desktop
 ========================================================================== */
@media (max-width: 1100px) {
 .nav-container {
 padding: 0 24px;
 }
 .nav-links-center {
 gap: 24px;
 }
 .nav-links-center a {
 font-size: 11px;
 }
}

@media (max-width: 1024px) {
 .pillars-grid-container {
 grid-template-columns: repeat(3, 1fr);
 }
 .team-haven-section {
 padding: 80px 24px;
 }
 .core-spokes {
 padding: 80px 24px;
 }
}

@media (max-width: 991px) {
 .desktop-only-cta {
 display: none !important;
 }
 .mobile-only-cta {
 display: none !important;
 }
 .nav-links-center {
 display: none !important;
 }
 .nav-more-wrap {
 display: inline-flex;
 margin-left: auto;
 }
 .nav-pages-mobile-only {
 display: list-item;
 }
 .nav-container {
 justify-content: flex-start;
 gap: 12px;
 }
 .nav-logo-link {
 margin-right: auto;
 }

 .nav-logo {
 max-height: 40px;
 }
 .nav-container {
 padding: 0 20px;
 }

 /* Hero text sizing */
 .hero {
 padding: 80px 20px;
 }
 .hero h1 {
 font-size: clamp(1.8rem, 5vw, 3.2rem);
 letter-spacing: 3px;
 }
 .hero .sub-headline {
 font-size: clamp(0.9rem, 2vw, 1.1rem);
 }
 .flutter-section .la-belle-accent {
 font-size: 2rem;
 }

 /* Sections */
 .founder-letter {
 padding: 80px 0 70px;
 }
 .archives-section {
 padding: 80px 24px;
 }
}

@media (max-width: 768px) {
 .spokes-grid,
 .team-grid {
 grid-template-columns: 1fr;
 }
 .ecosystem-support-wrapper {
 justify-content: center;
 }
 .ecosystem-support-wrapper .team-card {
 width: 100%;
 }
 .pillars-grid-container {
 grid-template-columns: repeat(2, 1fr);
 }
 .glass-frame {
 padding: 28px 22px;
 }
 .digital-shelf {
 grid-template-columns: repeat(2, 1fr);
 gap: 20px;
 }
 .book-mockup {
 min-height: 200px;
 padding: 28px 18px;
 }
 .silver-bordered-box {
 padding: 36px 24px;
 }

 /* Butterfly sizing on mobile */
 .bf-1 { width: 90px; top: 15%; left: 4%; }
 .bf-2 { width: 60px; top: 65%; right: 5%; }
 .bf-3 { width: 45px; top: 38%; right: 14%; }

 .scroll-card-stage {
 max-height: min(58vh, 480px);
 }

 .legal-links-row {
 line-height: 2.2;
 }
 .footer-content p {
 font-size: 0.88rem;
 }
}

@media (max-width: 480px) {
 .pillars-grid-container {
 grid-template-columns: 1fr;
 }
 .silver-bordered-box .btn-support-silver {
 font-size: 10px;
 padding: 10px 18px;
 letter-spacing: 1px;
 }
 .donation-footer-block {
 padding: 60px 16px;
 }
 .silver-bordered-box {
 padding: 32px 16px;
 }
 .standard-glow-btn {
 padding: 13px 14px;
 font-size: 9px;
 letter-spacing: 0.5px;
 max-width: 100%;
 }
 .digital-shelf {
 grid-template-columns: 1fr;
 }
 .hero-buttons {
 flex-direction: column;
 gap: 14px;
 }
 .glass-button {
 width: 100%;
 max-width: 320px;
 text-align: center;
 }
 .morning-glow-link {
 margin-left: 0;
 }
 .flutter-section .la-belle-accent {
 font-size: 1.7rem;
 }

 .scroll-card-viewport {
 top: 14%;
 right: 6%;
 bottom: 11%;
 left: 6%;
 }
 .scroll-card-text ul {
 margin: 16px 0;
 }
 .scroll-card-text ul li {
 padding-left: 20px;
 font-size: 0.88rem;
 }

 .bf-2,
 .bf-3 {
 display: none;
 }
 .bf-1 {
 width: 65px;
 opacity: 0.5;
 }

 .nav-logo {
 max-height: 34px;
 }
 .nav-container {
 padding: 0 16px;
 }
}

/* ==========================================================================
 XIII. SPOKE PAGES: HAVEN, WINGS GUILD, SEA HAVEN
 ========================================================================== */
.spoke-page {
 padding-top: 120px;
}
.spoke-hero {
 padding: 100px 24px 70px;
 text-align: center;
 position: relative;
}
.spoke-hero .sub-headline {
 max-width: 720px;
 margin: 0 auto;
 opacity: 0.88;
 line-height: 1.85;
}
.spoke-section {
 padding: 70px 24px;
 max-width: 1100px;
 margin: 0 auto;
}
.spoke-section + .spoke-section {
 padding-top: 0;
}
.spoke-block {
 padding: 48px 40px;
 margin-bottom: 40px;
}
.spoke-block h2 {
 font-size: clamp(1.35rem, 3vw, 1.75rem);
 letter-spacing: 3px;
 margin-bottom: 20px;
}
.spoke-block h3 {
 font-size: 1.05rem;
 letter-spacing: 2px;
 color: var(--champagne);
 margin: 28px 0 12px;
}
.spoke-lead {
 font-size: 1.05rem;
 line-height: 1.9;
 opacity: 0.9;
 max-width: 720px;
 margin: 0 auto 24px;
}
.spoke-list {
 text-align: left;
 max-width: 640px;
 margin: 20px auto 0;
 line-height: 2;
 opacity: 0.88;
}
.spoke-list li {
 margin-bottom: 10px;
}
.vivo-flow {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 28px;
 margin-top: 36px;
}
.vivo-path {
 padding: 28px 24px;
 border: 1px solid rgba(213, 216, 220, 0.2);
 border-radius: 8px;
 background: rgba(255, 255, 255, 0.02);
 text-align: center;
}
.vivo-path h4 {
 font-size: 0.95rem;
 letter-spacing: 2px;
 color: var(--champagne);
 margin-bottom: 16px;
}
.vivo-bar {
 height: 8px;
 border-radius: 4px;
 background: linear-gradient(90deg, rgba(213,216,220,0.2), var(--silver-accent));
 margin: 12px 0;
}
.roadmap-timeline {
 display: flex;
 flex-direction: column;
 gap: 28px;
 max-width: 680px;
 margin: 0 auto 40px;
 text-align: left;
}
.roadmap-milestone {
 border-left: 3px solid rgba(255, 255, 255, 0.12);
 padding-left: 24px;
}
.roadmap-milestone.is-done {
 border-left-color: var(--silver-accent);
}
.roadmap-milestone.is-current {
 border-left-color: var(--champagne);
}
.roadmap-milestone h4 {
 font-size: 1.05rem;
 margin-bottom: 8px;
}
.roadmap-milestone .milestone-tag {
 font-size: 0.75rem;
 letter-spacing: 2px;
 opacity: 0.65;
 text-transform: uppercase;
}
.wings-hub-theme {
 background: linear-gradient(180deg, #05101f 0%, #0a2848 50%, #05101f 100%);
}
.wings-hub-theme .spoke-block {
 border-color: rgba(200, 60, 60, 0.15);
}
.service-tier-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 20px;
 margin-top: 28px;
}
.service-tier-card {
 padding: 24px 20px;
 border: 1px solid rgba(255, 255, 255, 0.08);
 border-radius: 6px;
 background: rgba(0, 0, 0, 0.2);
}
.service-tier-card h4 {
 font-size: 0.85rem;
 letter-spacing: 2px;
 margin-bottom: 10px;
 color: var(--silver-accent);
}
.portfolio-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 32px;
 margin-top: 32px;
}
.portfolio-col h4 {
 font-size: 0.9rem;
 letter-spacing: 2px;
 color: var(--champagne);
 margin-bottom: 16px;
 text-align: center;
}
.portfolio-col ul {
 list-style: none;
 padding: 0;
 margin: 0;
}
.portfolio-col li {
 padding: 14px 16px;
 margin-bottom: 8px;
 border: 1px solid rgba(213, 216, 220, 0.12);
 border-radius: 6px;
 font-size: 0.9rem;
 line-height: 1.5;
 opacity: 0.9;
}
.sea-haven-theme {
 background: linear-gradient(180deg, #030d18 0%, #0c1f3a 40%, #030d18 100%);
}
.before-after {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 0;
 max-width: 800px;
 margin: 32px auto;
 border: 1px solid rgba(72, 201, 176, 0.25);
 border-radius: 8px;
 overflow: hidden;
}
.before-after-side {
 padding: 32px 24px;
 text-align: center;
}
.before-after-side.is-past {
 background: rgba(0, 0, 0, 0.35);
 opacity: 0.75;
}
.before-after-side.is-future {
 background: rgba(72, 201, 176, 0.08);
 border-left: 1px solid rgba(72, 201, 176, 0.2);
}
.before-after-side span {
 display: block;
 font-size: 0.7rem;
 letter-spacing: 3px;
 text-transform: uppercase;
 margin-bottom: 12px;
 color: var(--aurora-green);
}
.steward-tiers {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 16px;
 margin-top: 28px;
}
.steward-tier {
 padding: 20px 16px;
 text-align: center;
 border: 1px dashed rgba(72, 201, 176, 0.25);
 border-radius: 6px;
 opacity: 0.85;
}
.donate-modal {
 position: fixed;
 inset: 0;
 z-index: 10100;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 24px;
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition: opacity 0.3s ease, visibility 0.3s ease;
}
.donate-modal.is-open {
 opacity: 1;
 visibility: visible;
 pointer-events: auto;
}
.donate-modal-backdrop {
 position: absolute;
 inset: 0;
 background: rgba(5, 16, 31, 0.7);
 backdrop-filter: blur(12px);
}
.donate-modal-panel {
 position: relative;
 z-index: 2;
 width: min(440px, 92vw);
 padding: 40px 32px;
 background: rgba(10, 22, 40, 0.96);
 border: 1px solid rgba(72, 201, 176, 0.3);
 border-radius: 12px;
 text-align: center;
}
.donate-paths {
 display: flex;
 flex-direction: column;
 gap: 14px;
 margin-top: 24px;
}
.callout-box {
 margin-top: 28px;
 padding: 28px 24px;
 border: 1px solid rgba(213, 216, 220, 0.22);
 border-radius: 8px;
 background: rgba(255, 255, 255, 0.03);
 text-align: center;
}
.book-mockup-link {
 display: block;
 text-decoration: none;
 color: inherit;
 cursor: pointer;
 transition: transform 0.3s ease;
}
.book-mockup-link:hover {
 transform: translateY(-6px);
}
.book-mockup-link .silver-button {
 pointer-events: none;
}

/* Library & Outfitters: three cards in a row on desktop */
.library-grid-row,
.merch-grid-row {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 32px;
 max-width: 1100px;
 margin: 0 auto 48px;
 align-items: stretch;
}
.library-coming-soon-row {
 max-width: 450px;
 margin: 0 auto;
 padding: 24px;
 text-align: center;
}
.archive-book-card {
 text-align: center;
 display: flex;
 flex-direction: column;
 align-items: center;
}
.merch-card {
 text-align: center;
}
.service-tier-card {
 text-align: center;
}
@media (max-width: 960px) {
 .library-grid-row,
 .merch-grid-row {
 grid-template-columns: 1fr;
 gap: 28px;
 max-width: 400px;
 }
}

/* Centered card content on spoke pages */
.spoke-block-centered,
.text-block-centered.spoke-block,
.sea-section-card {
 text-align: center;
}
.spoke-block-centered h2,
.spoke-block-centered h3,
.spoke-block-centered h4,
.sea-section-card .card-headline,
.sea-section-card .card-subhead,
.sea-section-card .card-subline,
.service-tier-card h4,
.portfolio-col h4 {
 text-align: center;
}
.spoke-block-centered .spoke-list,
.spoke-block-centered ul {
 text-align: left;
 max-width: 640px;
 margin-left: auto;
 margin-right: auto;
}
.card-cta-wrap,
.cta-center-wrap {
 display: flex;
 justify-content: center;
 margin-top: 32px;
 margin-bottom: 8px;
}
.card-cta-btn,
.donate-action-btn {
 display: inline-block;
 margin-left: auto;
 margin-right: auto;
}
.cta-center-wrap .glass-button {
 margin-top: 0;
}

/* Sea Haven page layout */
.sea-haven-page {
 padding-top: 100px;
}
.sea-page-hero {
 padding: 48px 24px 56px;
 text-align: center;
 max-width: 900px;
 margin: 0 auto;
}
.sea-page-title {
 font-size: clamp(1.85rem, 4.5vw, 2.75rem);
 letter-spacing: 4px;
 margin-bottom: 20px;
 color: var(--white);
}
.sea-page-vibe {
 max-width: 640px;
 margin: 24px auto 0;
 font-size: 1rem;
 line-height: 1.85;
 opacity: 0.82;
 color: var(--aurora-green);
 font-style: italic;
}
.sea-page-container {
 max-width: 1100px;
 margin: 0 auto;
 padding: 0 24px 100px;
}
.sea-section {
 margin-bottom: 72px;
 clear: both;
}
.sea-section-title {
 font-size: clamp(1rem, 2.2vw, 1.2rem);
 letter-spacing: 3px;
 text-transform: uppercase;
 color: var(--champagne);
 text-align: center;
 margin-bottom: 36px;
 padding: 0 12px;
 line-height: 1.5;
}
.sea-section-lead {
 max-width: 620px;
 margin: 0 auto 28px;
 font-size: 0.95rem;
 opacity: 0.8;
 line-height: 1.75;
}
.sea-section-card {
 padding: 48px 40px 52px;
 margin-top: 0;
}
.sea-section-card .card-headline {
 font-size: clamp(1.1rem, 2.5vw, 1.45rem);
 letter-spacing: 2px;
 margin-bottom: 0;
}
.sea-section-card .card-accent {
 margin: 22px auto 28px;
}
.sea-section-card .card-copy,
.sea-section-card .card-subline,
.sea-section-card .card-label,
.sea-section-card .transparency-note {
 max-width: 680px;
 margin-left: auto;
 margin-right: auto;
 line-height: 1.85;
}
.sea-section-card .card-subline {
 margin-top: 10px;
 color: var(--aurora-green);
 letter-spacing: 2px;
 font-size: 0.85rem;
 text-transform: uppercase;
}
.sea-section-card .transparency-note {
 margin-top: 28px;
 font-size: 0.82rem;
 opacity: 0.65;
}
.card-subhead {
 font-size: 0.95rem;
 letter-spacing: 2px;
 margin: 32px 0 16px;
 color: var(--aurora-green);
}

/* Before / after slider */
.before-after-slider {
 max-width: 820px;
 margin: 28px auto 0;
}
.before-after-slider-track {
 position: relative;
 display: grid;
 grid-template-columns: 1fr 1fr;
 min-height: 220px;
 border: 1px solid rgba(72, 201, 176, 0.25);
 border-radius: 10px;
 overflow: hidden;
}
.before-after-panel {
 padding: 28px 20px;
 text-align: center;
 transition: opacity 0.25s ease, flex 0.25s ease;
}
.before-after-panel.is-past {
 background: rgba(0, 0, 0, 0.4);
}
.before-after-panel.is-future {
 background: rgba(72, 201, 176, 0.1);
 border-left: 1px solid rgba(72, 201, 176, 0.2);
}
.panel-tag {
 display: block;
 font-size: 0.68rem;
 letter-spacing: 3px;
 text-transform: uppercase;
 color: var(--aurora-green);
 margin-bottom: 14px;
}
.visual-placeholder {
 height: 100px;
 margin: 0 auto 16px;
 max-width: 200px;
 border-radius: 8px;
 border: 1px dashed rgba(255, 255, 255, 0.15);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 0.75rem;
 letter-spacing: 2px;
 text-transform: uppercase;
 opacity: 0.7;
}
.visual-placeholder.is-glow {
 border-color: rgba(72, 201, 176, 0.45);
 box-shadow: 0 0 24px rgba(72, 201, 176, 0.2);
 color: var(--aurora-green);
}
.visual-media {
 display: block;
 margin: 0 auto 16px;
 max-width: 240px;
 width: 100%;
 height: auto;
 aspect-ratio: 1 / 1;
 object-fit: cover;
 border-radius: 12px;
 border: 1px solid rgba(255, 255, 255, 0.15);
}
.visual-media.is-glow {
 border-color: rgba(72, 201, 176, 0.45);
 box-shadow: 0 0 24px rgba(72, 201, 176, 0.25);
}
.slider-control {
 display: block;
 margin-top: 24px;
 padding: 0 8px;
}
.swipe-dots {
 display: none;
}
.slider-hint {
 display: block;
 font-size: 0.75rem;
 opacity: 0.6;
 margin-bottom: 12px;
 letter-spacing: 1px;
}
.before-after-slider input[type="range"] {
 width: 100%;
 accent-color: var(--aurora-green);
 cursor: pointer;
}
.before-after-slider.is-past-heavy .before-after-panel.is-future {
 opacity: 0.35;
}
.before-after-slider.is-future-heavy .before-after-panel.is-past {
 opacity: 0.35;
}

/* Rescue program */
.rescue-gallery {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 16px;
 margin: 28px auto 36px;
 max-width: 860px;
 align-items: stretch;
}
.rescue-gallery--balanced {
 grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
}
.rescue-visual-slot {
 padding: 24px 16px;
 border: 1px solid rgba(72, 201, 176, 0.2);
 border-radius: 10px;
 background: rgba(0, 0, 0, 0.25);
 min-height: 140px;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 10px;
 position: relative;
 overflow: hidden;
}
.rescue-visual-slot--link {
 text-decoration: none;
 color: inherit;
 transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
 cursor: pointer;
 padding: 0;
}
.rescue-visual-slot--link:hover,
.rescue-visual-slot--link:focus-visible {
 border-color: rgba(72, 201, 176, 0.6);
 box-shadow: 0 0 28px rgba(72, 201, 176, 0.25);
 transform: translateY(-4px);
 outline: none;
}
.rescue-visual-slot--featured {
 min-height: 0;
}
.rescue-visual-image {
 width: 100%;
 height: auto;
 display: block;
 aspect-ratio: 4 / 3;
 object-fit: cover;
}
.rescue-visual-body {
 width: 100%;
 padding: 16px 18px 20px;
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 10px;
 text-align: center;
}
.rescue-visual-title {
 margin: 0;
 line-height: 1.45;
}
.rescue-visual-slot--link .slot-note {
 margin: 0;
}
.rescue-visual-cta {
 display: inline-block;
 margin-top: 4px;
 padding: 10px 22px !important;
 font-size: 0.72rem !important;
 letter-spacing: 1.5px;
 text-transform: uppercase;
 pointer-events: none;
 border-color: rgba(72, 201, 176, 0.55) !important;
 box-shadow: 0 0 18px rgba(72, 201, 176, 0.2);
}
.rescue-visual-slot--link:hover .rescue-visual-cta,
.rescue-visual-slot--link:focus-visible .rescue-visual-cta {
 border-color: var(--aurora-green) !important;
 box-shadow: 0 0 24px rgba(72, 201, 176, 0.35);
}
.rescue-turtle-name {
 font-weight: 700;
 color: var(--champagne);
}
.rescue-turtle-species {
 font-weight: 400;
 opacity: 0.82;
}
.coming-soon-badge {
 display: inline-block;
 font-family: 'Cinzel', serif;
 font-size: 0.72rem;
 letter-spacing: 2px;
 text-transform: uppercase;
 color: var(--champagne);
 border: 1px solid rgba(232, 213, 176, 0.45);
 border-radius: 999px;
 padding: 6px 14px;
 background: rgba(0, 0, 0, 0.35);
}
.coming-soon-badge--large {
 font-size: 0.85rem;
 padding: 8px 18px;
 margin-bottom: 14px;
}
.rescue-visual-slot--soon {
 justify-content: center;
 min-height: 200px;
}
.rescue-details-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 20px;
 margin: 0 auto 8px;
 max-width: 860px;
 align-items: stretch;
}
.rescue-details-grid .rescue-tracking-block,
.rescue-details-grid .status-reports {
 margin: 0;
 max-width: none;
 height: 100%;
}
.rescue-details-grid .status-reports {
 display: flex;
 flex-direction: column;
 justify-content: flex-start;
}
.visual-label {
 font-family: 'Cinzel', serif;
 font-size: 0.85rem;
 letter-spacing: 2px;
 color: var(--champagne);
}
.slot-note {
 font-size: 0.75rem;
 opacity: 0.65;
 line-height: 1.5;
}
.rescue-tracking-block {
 margin: 40px auto 28px;
 max-width: 720px;
 padding: 24px 20px;
 border: 1px solid rgba(72, 201, 176, 0.18);
 border-radius: 10px;
 background: rgba(0, 0, 0, 0.18);
 text-align: center;
}
.luna-migration-stats {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 14px;
 margin: 20px auto 24px;
 max-width: 640px;
}
.luna-migration-stats--compact {
 margin-top: 12px;
 margin-bottom: 18px;
}
.luna-stat {
 padding: 14px 12px;
 border: 1px solid rgba(72, 201, 176, 0.2);
 border-radius: 8px;
 background: rgba(0, 0, 0, 0.22);
 text-align: center;
}
.luna-stat-label {
 display: block;
 font-size: 0.72rem;
 opacity: 0.7;
 margin-bottom: 6px;
 text-transform: uppercase;
 letter-spacing: 1px;
}
.luna-stat-value {
 display: block;
 font-size: 0.95rem;
 line-height: 1.35;
}
.rescue-map-external {
 display: inline-block;
 margin-top: 4px;
}
.stc-attribution {
 margin-top: 12px;
 font-size: 0.72rem;
 opacity: 0.65;
 line-height: 1.5;
}
.stc-attribution a {
 color: var(--aurora-green);
}
.rescue-map {
 width: 100%;
 height: 280px;
 border-radius: 10px;
 border: 1px solid rgba(72, 201, 176, 0.35);
 margin-top: 16px;
 z-index: 1;
}
.map-legend {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 20px;
 margin-top: 14px;
 font-size: 0.8rem;
 opacity: 0.75;
}
.status-reports {
 margin: 32px auto;
 max-width: 520px;
 padding: 28px 24px !important;
 text-align: center;
 border-color: rgba(72, 201, 176, 0.2) !important;
}
.status-list {
 list-style: none;
 padding: 0;
 margin: 16px auto 0;
 text-align: left;
 max-width: 380px;
 line-height: 2;
}
.impact-statement {
 margin-top: 36px !important;
}

/* Luna profile page */
.luna-profile-page .sea-page-container {
 max-width: 920px;
}
.luna-back-link-wrap {
 margin: 0 auto 12px;
 max-width: 920px;
 text-align: left;
}
.luna-back-link {
 color: var(--aurora-green);
 text-decoration: none;
 font-size: 0.85rem;
 letter-spacing: 0.5px;
}
.luna-back-link:hover {
 color: var(--champagne);
}
.luna-profile-title {
 font-size: clamp(1.6rem, 4vw, 2.2rem);
 line-height: 1.35;
 margin-bottom: 8px;
}
.luna-profile-title .rescue-turtle-name {
 display: block;
 font-family: 'Cinzel', serif;
 font-size: 1.15em;
}
.luna-profile-title .rescue-turtle-species {
 display: block;
 font-family: 'Montserrat', sans-serif;
 font-weight: 400;
 font-size: 0.62em;
 letter-spacing: 1px;
 opacity: 0.85;
 margin-top: 8px;
}
.luna-hero-figure {
 margin: 0;
}
.luna-hero-image {
 width: 100%;
 max-height: 72vh;
 object-fit: contain;
 border-radius: 8px;
 border: 1px solid rgba(72, 201, 176, 0.25);
 background: rgba(0, 0, 0, 0.35);
}
.luna-hero-caption {
 margin-top: 12px;
 font-size: 0.8rem;
 opacity: 0.75;
}
.luna-migration-cta {
 margin-top: 28px;
 padding-top: 24px;
 border-top: 1px solid rgba(72, 201, 176, 0.2);
}
.luna-gallery-grid {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 14px;
}
.luna-gallery-item {
 margin: 0;
 border-radius: 8px;
 overflow: hidden;
 border: 1px solid rgba(72, 201, 176, 0.2);
 background: rgba(0, 0, 0, 0.25);
 min-height: 160px;
}
.luna-gallery-image {
 width: 100%;
 height: 100%;
 min-height: 160px;
 object-fit: cover;
 display: block;
}
.luna-gallery-item--placeholder,
.luna-video-placeholder {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 padding: 28px 16px;
 min-height: 180px;
}
.luna-video-placeholder {
 min-height: 220px;
}

.donate-action-btn {
 border-color: var(--aurora-green) !important;
 box-shadow: 0 0 28px rgba(72, 201, 176, 0.3);
 padding: 16px 36px !important;
 letter-spacing: 2px;
}

/* Wall of stewards trench */
.steward-card {
 overflow: hidden;
 position: relative;
}
.steward-trench {
 position: relative;
 height: 120px;
 margin: 0 auto 32px;
 max-width: 560px;
 border-radius: 12px;
 background: linear-gradient(180deg, rgba(3, 20, 40, 0.9) 0%, rgba(8, 40, 70, 0.95) 100%);
 filter: blur(0.3px);
 overflow: hidden;
}
.steward-trench::after {
 content: '';
 position: absolute;
 inset: 0;
 background: radial-gradient(ellipse at 50% 120%, rgba(72, 201, 176, 0.15) 0%, transparent 70%);
}
.steward-plaque {
 position: absolute;
 width: 72px;
 height: 36px;
 border: 1px solid rgba(213, 216, 220, 0.35);
 border-radius: 4px;
 background: linear-gradient(135deg, rgba(213, 216, 220, 0.2), rgba(255, 255, 255, 0.05));
 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
 animation: plaque-float 6s ease-in-out infinite;
}
.steward-plaque.p1 { left: 12%; top: 35%; animation-delay: 0s; }
.steward-plaque.p2 { left: 44%; top: 55%; animation-delay: 1.2s; }
.steward-plaque.p3 { right: 14%; top: 28%; animation-delay: 2.4s; }
@keyframes plaque-float {
 0%, 100% { transform: translateY(0) rotate(-2deg); }
 50% { transform: translateY(-10px) rotate(2deg); }
}
.pdf-icon-wrap {
 font-size: 3rem;
 color: var(--silver-accent);
 margin-bottom: 24px;
 opacity: 0.9;
}
.inner-callout {
 margin-top: 40px;
 padding: 32px 28px;
 text-align: center;
}

/* Donate modal steps */
.donate-modal-panel--wide {
 width: min(480px, 94vw);
 max-height: 90vh;
 overflow-y: auto;
}
.donate-step[hidden] {
 display: none !important;
}
.donate-step .modal-lead {
 margin: 14px 0 20px;
 font-size: 0.9rem;
 opacity: 0.85;
}
.solana-address-box {
 margin: 20px 0;
 padding: 20px;
 border: 1px solid rgba(72, 201, 176, 0.25);
 border-radius: 8px;
 background: rgba(0, 0, 0, 0.25);
}
.solana-address {
 display: block;
 word-break: break-all;
 font-size: 0.78rem;
 margin: 12px 0 16px;
 color: var(--aurora-green);
 padding: 12px;
 background: rgba(0, 0, 0, 0.3);
 border-radius: 6px;
}
.copy-address-btn {
 font-size: 0.75rem !important;
 padding: 10px 18px !important;
}
.donate-back {
 display: block;
 margin: 24px auto 0;
 background: none;
 border: none;
 color: var(--silver-accent);
 cursor: pointer;
 font-size: 0.85rem;
 letter-spacing: 1px;
 opacity: 0.8;
}
.donate-paths button.glass-button {
 width: 100%;
 cursor: pointer;
 font-family: inherit;
}

@media (max-width: 768px) {
 .vivo-flow,
 .portfolio-grid,
 .before-after,
 .steward-tiers {
 grid-template-columns: 1fr;
 }
 .before-after-side.is-future {
 border-left: none;
 border-top: 1px solid rgba(72, 201, 176, 0.2);
 }
 .before-after-slider-track {
 grid-template-columns: none !important;
 display: flex;
 position: relative;
 min-height: 380px;
 overflow-x: hidden;
 overflow-y: visible;
 touch-action: pan-y;
 cursor: grab;
 }
 .before-after-panel {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 padding: 24px 20px;
 box-sizing: border-box;
 overflow-y: auto;
 transition: transform 0.35s ease, opacity 0.35s ease;
 }
 .before-after-panel.is-future {
 border-left: none;
 border-top: none;
 }
 /* Mobile swipe state: only one panel visible, swipe to switch */
 .before-after-slider-track.show-future .before-after-panel.is-past {
 transform: translateX(-100%);
 position: absolute;
 opacity: 0;
 pointer-events: none;
 }
 .before-after-slider-track.show-future .before-after-panel.is-future {
 transform: translateX(0);
 }
 .before-after-slider-track:not(.show-future) .before-after-panel.is-future {
 transform: translateX(100%);
 position: absolute;
 opacity: 0;
 pointer-events: none;
 }
 .before-after-slider-track:not(.show-future) .before-after-panel.is-past {
 transform: translateX(0);
 }
 .swipe-dots {
 display: flex;
 justify-content: center;
 gap: 8px;
 margin-top: 14px;
 }
 .before-after-panel .visual-media {
 max-width: 170px;
 margin-bottom: 12px;
 }
 .before-after-panel .panel-tag {
 margin-bottom: 10px;
 }
 .before-after-panel p.montserrat-text {
 font-size: 0.85rem;
 line-height: 1.5;
 margin: 0;
 max-width: 260px;
 }
 .swipe-dots span {
 width: 7px;
 height: 7px;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.25);
 transition: background 0.25s ease, transform 0.25s ease;
 }
 .swipe-dots span.is-active {
 background: var(--aurora-green);
 transform: scale(1.2);
 }
 /* Hide the legacy range slider on mobile; swipe replaces it */
 .before-after-slider .slider-control {
 display: none;
 }
 .rescue-gallery,
 .rescue-gallery--balanced {
 grid-template-columns: 1fr;
 max-width: 360px;
 }
 .rescue-details-grid {
 grid-template-columns: 1fr;
 max-width: 360px;
 }
 .luna-gallery-grid {
 grid-template-columns: 1fr;
 }
 .luna-migration-stats {
 grid-template-columns: 1fr;
 }
 .sea-section-card {
 padding: 36px 22px 40px;
 }
 .sea-section {
 margin-bottom: 56px;
 }
 .sea-section-title {
 margin-bottom: 28px;
 }
 .nav-pages-overlay {
 padding-top: 72px;
 }
 .book-letter-spread {
 flex-direction: column;
 align-items: center;
 gap: 28px;
 width: min(480px, 94vw);
 }
 .letter-frame-page {
 flex: none;
 width: 100%;
 max-width: min(600px, 100%);
 min-width: 0;
 }
 .letter-frame-stage {
 max-height: none;
 }
 .book-spine {
 flex: none;
 width: min(200px, 55%);
 height: 10px;
 min-height: 10px;
 align-self: center;
 }
}

/* ==========================================================================
 XIV. DASHBOARD DEW STARFIELD + PAGE THEMES + SURFACE CARDS
 ========================================================================== */
.dew-canvas {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 z-index: 2;
 pointer-events: none;
}
.starfield-bg-img {
 filter: blur(0.5px);
 opacity: 0.82;
}
.starfield-bg-veil {
 background: linear-gradient(
 180deg,
 rgba(5, 16, 31, 0.72) 0%,
 rgba(5, 16, 31, 0.45) 35%,
 rgba(5, 16, 31, 0.55) 70%,
 rgba(5, 16, 31, 0.78) 100%
 );
}
.starfield-bg-container--subtle .starfield-bg-veil {
 background: linear-gradient(180deg, rgba(8, 20, 38, 0.88) 0%, rgba(8, 20, 38, 0.92) 100%);
}
.starfield-bg-container--subtle .starfield-bg-img {
 opacity: 0.55;
}

/* Haven palette (library, merch, contact, team base) */
.page-theme-haven {
 --page-bg: #071428;
 --page-bg-deep: #040d1a;
 --page-card: rgba(18, 42, 72, 0.92);
 --page-card-border: rgba(72, 201, 176, 0.28);
 --page-accent: #48c9b0;
 --page-accent-soft: rgba(72, 201, 176, 0.15);
 --page-text: #e8f4ff;
 --page-muted: rgba(200, 220, 240, 0.75);
 background: var(--page-bg-deep);
 color: var(--page-text);
}
.page-theme-haven .site-header {
 background: rgba(4, 13, 26, 0.94);
 border-bottom-color: var(--page-card-border);
}

/* Wings Guild palette */
.page-theme-wings {
 --page-bg: #120818;
 --page-bg-deep: #0a0510;
 --page-card: rgba(28, 14, 42, 0.94);
 --page-card-border: rgba(0, 180, 255, 0.22);
 --page-accent: #00b4ff;
 --page-accent-2: #e85d04;
 --page-text: #f0f4ff;
 background: linear-gradient(165deg, #0a0510 0%, #1a0a28 35%, #0f1838 70%, #0a0510 100%);
 color: var(--page-text);
}
.page-theme-wings .site-header {
 background: rgba(10, 5, 16, 0.94);
 border-bottom-color: rgba(0, 180, 255, 0.2);
}
.page-theme-wings .wings-hub-theme {
 background: transparent;
}

/* Sea Haven palette */
.page-theme-sea {
 --page-bg: #041525;
 --page-bg-deep: #020c18;
 --page-card: rgba(12, 38, 68, 0.94);
 --page-card-border: rgba(90, 160, 220, 0.35);
 --page-accent: #5aa0dc;
 --page-accent-glow: #7ec8e8;
 --page-text: #e6f2fa;
 background: linear-gradient(180deg, #020c18 0%, #0c2848 45%, #041525 100%);
 color: var(--page-text);
}
.page-theme-sea .site-header {
 background: rgba(2, 12, 24, 0.94);
 border-bottom-color: var(--page-card-border);
}
.page-theme-sea .sea-haven-theme {
 background: transparent;
}
.sea-page-motto {
 max-width: 640px;
 margin: 24px auto 0;
 font-size: 1.05rem;
 line-height: 1.85;
 opacity: 0.9;
 color: var(--page-accent-glow, var(--aurora-green));
 font-style: italic;
}

/* Surface cards: distinct from page background */
.surface-card {
 background: var(--page-card, rgba(18, 36, 58, 0.92)) !important;
 border: 1px solid var(--page-card-border, rgba(213, 216, 220, 0.2)) !important;
 box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.page-theme-wings .surface-card {
 background: linear-gradient(145deg, rgba(32, 18, 52, 0.96), rgba(18, 28, 58, 0.94)) !important;
 border-color: rgba(0, 180, 255, 0.25) !important;
}
.page-theme-sea .surface-card {
 background: linear-gradient(160deg, rgba(14, 42, 72, 0.96), rgba(8, 28, 52, 0.94)) !important;
 border-color: rgba(126, 200, 232, 0.3) !important;
}
.surface-card--muted {
 opacity: 0.88;
 border-style: dashed !important;
}
.surface-card--contact-form {
 background: rgba(14, 32, 56, 0.96) !important;
 border-color: rgba(72, 201, 176, 0.35) !important;
}
.surface-card--donation {
 background: rgba(22, 48, 78, 0.96) !important;
 border: 1px solid rgba(232, 213, 176, 0.35) !important;
 padding: 48px 36px !important;
}
.contact-page .orb-icon-glow,
.contact-page .donation-box-icon {
 filter: drop-shadow(0 0 20px rgba(72, 201, 176, 0.35));
}

/* Animated brand logos on spoke pages */
.brand-hero-emblem {
 margin: 0 auto 28px;
 width: clamp(140px, 22vw, 220px);
 height: clamp(140px, 22vw, 220px);
 display: flex;
 align-items: center;
 justify-content: center;
 animation: emblem-float 5s ease-in-out infinite;
}
.brand-hero-emblem img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.15));
}
.brand-hero-emblem--wings img {
 filter: drop-shadow(0 0 32px rgba(0, 180, 255, 0.35));
 animation: emblem-shimmer 4s ease-in-out infinite;
}
.brand-hero-emblem--sea img {
 filter: drop-shadow(0 0 28px rgba(90, 160, 220, 0.45));
}
.brand-hero-emblem--haven img {
 filter: drop-shadow(0 0 32px rgba(72, 201, 176, 0.4));
}
@keyframes emblem-float {
 0%, 100% { transform: translateY(0); }
 50% { transform: translateY(-10px); }
}
@keyframes emblem-shimmer {
 0%, 100% { filter: drop-shadow(0 0 24px rgba(0, 180, 255, 0.3)); }
 50% { filter: drop-shadow(0 0 40px rgba(232, 93, 4, 0.35)); }
}

/* Open book letter: silver portrait frame 600×960, transparent center */
.founder-letter--book {
 padding: 80px 16px 100px;
 background: rgba(8, 18, 32, 0.55);
}
.book-letter-spread {
 display: flex;
 align-items: stretch;
 justify-content: center;
 gap: 14px;
 width: min(1240px, 99vw);
 margin: 40px auto 0;
}
.letter-frame-page {
 flex: 1 1 600px;
 width: min(600px, 48vw);
 max-width: 600px;
 min-width: 280px;
}
.letter-frame-stage {
 position: relative;
 width: 100%;
 aspect-ratio: 600 / 960;
 max-height: min(96vh, 960px);
 margin: 0 auto;
 filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}
.letter-frame-img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: contain;
 pointer-events: none;
 z-index: 2;
 user-select: none;
 -webkit-user-drag: none;
}
.letter-frame-viewport {
 position: absolute;
 top: 14%;
 right: 17%;
 bottom: 13%;
 left: 17%;
 z-index: 1;
 overflow: hidden;
 display: flex;
 align-items: flex-start;
 justify-content: center;
}
.manuscript-content {
 width: 100%;
 height: 100%;
 overflow-x: hidden;
 overflow-y: auto;
 -webkit-overflow-scrolling: touch;
 display: flex;
 flex-direction: column;
 justify-content: flex-start;
 text-align: center;
 color: var(--white);
}
.manuscript-content p {
 font-size: clamp(0.78rem, 0.9vw, 0.88rem);
 line-height: 1.55;
 margin-bottom: 9px;
 opacity: 0.96;
}
.letter-frame-page--left .manuscript-content p {
 font-size: clamp(0.74rem, 0.85vw, 0.84rem);
 line-height: 1.52;
 margin-bottom: 8px;
}
.letter-frame-page--left .manuscript-content ul li {
 font-size: clamp(0.72rem, 0.8vw, 0.8rem);
 margin-bottom: 6px;
}
.manuscript-content p.letter-salutation {
 font-size: clamp(0.88rem, 1.05vw, 0.98rem);
 font-weight: 700;
 color: var(--champagne);
 margin-bottom: 14px;
}
.manuscript-content .letter-subhead {
 font-family: 'Cinzel', serif;
 font-size: clamp(0.78rem, 0.95vw, 0.9rem);
 letter-spacing: 2px;
 text-transform: uppercase;
 color: var(--champagne);
 margin: 14px 0 10px;
}
.manuscript-content ul {
 list-style: none;
 margin: 8px auto 10px;
 padding: 0;
 max-width: 100%;
 text-align: left;
}
.manuscript-content ul li {
 position: relative;
 padding-left: 18px;
 margin-bottom: 7px;
 font-size: clamp(0.74rem, 0.85vw, 0.84rem);
 line-height: 1.5;
}
.manuscript-content ul li::before {
 content: "•";
 position: absolute;
 left: 4px;
 color: var(--champagne);
}
.manuscript-content .scroll-signoff {
 margin-top: 12px;
 padding-top: 10px;
 border-top: 1px solid rgba(232, 213, 176, 0.2);
 flex-shrink: 0;
}
.manuscript-content .scroll-motto-line {
 font-size: 0.86rem;
 margin-bottom: 6px;
}
.manuscript-content .scroll-closing-line {
 margin-bottom: 4px;
}
.manuscript-content .scroll-name-line {
 font-size: 1rem;
 margin-bottom: 2px;
}
.manuscript-content .scroll-role-line {
 font-size: 0.65rem;
 letter-spacing: 1.5px;
 display: block;
}

/* Right page: more copy + signoff — tighter rhythm, taller safe area */
.letter-frame-viewport--right {
 top: 13.5%;
 bottom: 10%;
}
.manuscript-content--right {
 justify-content: flex-start;
}
.manuscript-content--right p {
 font-size: clamp(0.72rem, 0.8vw, 0.8rem);
 line-height: 1.46;
 margin-bottom: 7px;
}
.manuscript-content--right .letter-subhead {
 font-size: clamp(0.72rem, 0.85vw, 0.84rem);
 margin: 9px 0 5px;
 letter-spacing: 1.5px;
}
.manuscript-content--right .letter-subhead:first-of-type {
 margin-top: 0;
}
.manuscript-content--right .scroll-signoff {
 margin-top: 8px;
 padding-top: 8px;
}
.manuscript-content--right .scroll-motto-line {
 font-size: 0.78rem;
 margin-bottom: 4px;
 line-height: 1.35;
}
.manuscript-content--right .scroll-closing-line {
 font-size: 0.74rem;
 margin-bottom: 3px;
 line-height: 1.35;
}
.manuscript-content--right .scroll-name-line {
 font-size: 0.9rem;
 line-height: 1.2;
}
.manuscript-content--right .scroll-role-line {
 font-size: 0.58rem;
 line-height: 1.3;
}

.book-spine {
 flex: 0 0 14px;
 width: 14px;
 align-self: stretch;
 min-height: 200px;
 background: linear-gradient(90deg, rgba(232, 213, 176, 0.1), rgba(213, 216, 220, 0.55), rgba(232, 213, 176, 0.1));
 box-shadow: inset -3px 0 12px rgba(0, 0, 0, 0.5), inset 3px 0 12px rgba(0, 0, 0, 0.5);
 border-radius: 3px;
}

/* Home spokes: wider, shorter, uniform logos */
.spokes-section-wrap {
 padding: 100px 24px;
 background: rgba(8, 18, 32, 0.5);
 border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.spokes-grid-home {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 28px;
 max-width: 1280px;
 margin: 0 auto;
}
.spokes-grid-home .spoke-card {
 text-align: center;
 padding: 28px 32px 32px;
 min-height: 0;
 display: flex;
 flex-direction: column;
 align-items: center;
}
.spoke-logo-wrap {
 min-height: 100px;
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 20px;
}
.spoke-logo-img {
 height: 88px !important;
 width: auto !important;
 max-width: 160px !important;
 object-fit: contain !important;
}
.spoke-logo-img--large {
 height: 100px !important;
 max-width: 180px !important;
}
.spoke-logo-img--xlarge {
 height: 120px !important;
 max-width: 200px !important;
}
.spokes-grid-home .spoke-logo-wrap {
 min-height: 130px;
 margin-bottom: 24px;
}
.spokes-grid-home .spoke-card h3 {
 font-size: 1.1rem;
 margin-bottom: 12px;
}
.spokes-grid-home .spoke-card p {
 font-size: 0.88rem;
 min-height: 0 !important;
 margin-bottom: 18px;
 line-height: 1.65;
 opacity: 0.88;
}

/* Archives: starfield visible, animated cards */
.archives-section--starfield {
 background: transparent !important;
 padding: 120px 40px;
 border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.archives-section--starfield .content-container {
 position: relative;
 z-index: 2;
}
.archives-section--starfield .cinzel-header {
 color: var(--white);
 text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.archives-section--starfield .silver-text {
 color: var(--champagne);
}
.book-mockup-link {
 background: linear-gradient(145deg, rgba(22, 48, 78, 0.95), rgba(10, 24, 42, 0.98)) !important;
 border: 1px solid rgba(213, 216, 220, 0.25) !important;
 border-left: 4px solid var(--champagne) !important;
 transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.35s ease;
}
.book-mockup-link h4 {
 color: var(--white);
 transition: color 0.3s ease;
}
.book-mockup-link .silver-button {
 color: var(--silver-accent);
 border-color: var(--silver-accent);
}
.book-mockup-link:hover,
.book-mockup-link:focus-visible {
 transform: translateY(-10px) scale(1.02);
 box-shadow: 0 28px 50px rgba(0, 0, 0, 0.45), 0 0 32px rgba(232, 213, 176, 0.12);
 border-color: rgba(232, 213, 176, 0.45) !important;
}
.book-mockup-link:hover h4 {
 color: var(--champagne);
}
.book-mockup-link:active {
 transform: translateY(-4px) scale(0.99);
}

/* Library / merch enlarged cards */
.page-theme-haven .library-grid-row .archive-book-card,
.page-theme-haven .merch-grid-row .merch-card {
 padding: 44px 36px 40px !important;
 min-height: 420px;
}
.page-theme-haven .merch-grid-row .merch-card {
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 gap: 24px;
}
.btn-download-pdf {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
 white-space: nowrap;
 font-family: 'Cinzel', serif;
 font-size: 0.75rem;
 letter-spacing: 2px;
 text-transform: uppercase;
 color: var(--white);
 text-decoration: none;
 padding: 14px 28px;
 border-radius: 50px;
 border: 1px solid rgba(72, 201, 176, 0.45);
 background: linear-gradient(135deg, rgba(72, 201, 176, 0.2), rgba(18, 42, 72, 0.9));
 transition: var(--transition-standard);
 margin-top: 8px;
}
.btn-download-pdf:hover {
 background: var(--page-accent, var(--aurora-green));
 color: var(--ink);
 border-color: var(--page-accent);
 transform: translateY(-2px);
 box-shadow: 0 12px 28px rgba(72, 201, 176, 0.25);
}
.btn-download-pdf i {
 font-size: 1rem;
 flex-shrink: 0;
}

/* Team X links */
.team-name-link {
 color: var(--white);
 text-decoration: none;
 transition: color 0.3s ease, text-shadow 0.3s ease;
}
.team-name-link:hover {
 color: var(--champagne);
 text-shadow: 0 0 12px rgba(232, 213, 176, 0.4);
}
.team-id-card {
 cursor: default;
}
.team-id-card .team-name-link {
 cursor: pointer;
}

@media (max-width: 900px) {
 .spokes-grid-home {
 grid-template-columns: 1fr;
 max-width: 520px;
 }
 .manuscript-content p {
 font-size: 0.82rem;
 line-height: 1.58;
 }
 .manuscript-content--right p {
 font-size: 0.76rem;
 line-height: 1.46;
 }
 .letter-frame-viewport--right {
 bottom: 9.5%;
 }
}

/* ==========================================================================
 XV. GLOW UPDATE — mobile scroll frame, gold CTA, animated pages, zoom-safe text
 ========================================================================== */

/* Mobile horizontal scroll letter — silver-frame.png */
.scroll-card-mobile {
 display: none;
 width: min(1024px, 96vw);
 margin: 0 auto;
}
@media (max-width: 991px) {
 .founder-letter--book .book-letter-spread {
 display: none !important;
 }
 .scroll-card-mobile {
 display: block;
 }
 .scroll-card-mobile .scroll-card-stage {
 max-height: none;
 min-height: 380px;
 aspect-ratio: 1024 / 577;
 }
 .scroll-card-mobile .scroll-card-viewport {
 top: 15%;
 right: 7%;
 bottom: 12%;
 left: 7%;
 }
 .scroll-card-mobile .scroll-card-scroll {
 padding: 8px 12px 16px;
 }
 .scroll-card-mobile .scroll-card-text p {
 font-size: 0.9rem;
 line-height: 1.75;
 }
 .scroll-card-mobile .scroll-card-text ul li {
 font-size: 0.85rem;
 }
}

/* Gold donate button */
.btn-support-gold {
 display: inline-block;
 border: 1.5px solid var(--champagne);
 border-radius: 50px;
 background: linear-gradient(135deg, rgba(232, 213, 176, 0.18), rgba(232, 213, 176, 0.06));
 padding: 12px 26px;
 font-family: 'Cinzel', serif;
 font-size: 11px;
 letter-spacing: 2px;
 text-transform: uppercase;
 color: var(--champagne);
 text-decoration: none;
 transition: var(--transition-standard);
 white-space: normal;
 max-width: 100%;
 box-sizing: border-box;
}
.btn-support-gold:hover {
 background: var(--champagne);
 color: var(--ink);
 border-color: var(--champagne);
 box-shadow: 0 0 24px rgba(232, 213, 176, 0.35);
}
.donation-footer-block .donation-card-title {
 color: var(--champagne);
}
.silver-bordered-box .btn-support-gold {
 overflow: visible;
 text-overflow: unset;
}

/* Sea Haven featured logo — card 3 */
#sea-haven .spoke-logo-wrap {
 min-height: 160px;
}
#sea-haven .spoke-logo-img--sea-featured {
 height: 148px !important;
 max-width: 220px !important;
 filter: drop-shadow(0 2px 14px rgba(255, 255, 255, 0.14)) !important;
}

/* Zoom / scroll text resilience */
body p, body li, body h1, body h2, body h3, body h4, body a, body span, body button, body label {
 overflow-wrap: break-word;
 word-wrap: break-word;
}
.letter-frame-viewport,
.scroll-card-scroll,
.manuscript-content {
 overflow-y: auto !important;
 overflow-x: hidden;
 -webkit-overflow-scrolling: touch;
}
.scroll-card-text p,
.manuscript-content p,
.manuscript-content--right p {
 font-size: clamp(0.85rem, 1rem, 1.05rem);
 line-height: 1.65;
 opacity: 1;
}
.manuscript-content ul li,
.scroll-card-text ul li {
 font-size: clamp(0.8rem, 0.95rem, 1rem);
}
.scroll-card-stage {
 max-height: none;
}
.scroll-card-fade {
 height: clamp(20px, 5%, 36px);
}
.scroll-card-fade.is-hidden {
 opacity: 0;
}

/* Animated page backgrounds */
.page-has-animated-bg {
 background: transparent !important;
}
.animated-page-bg {
 position: fixed;
 inset: 0;
 z-index: 0;
 overflow: hidden;
 pointer-events: none;
}
.animated-page-bg__layer {
 position: absolute;
 inset: -8%;
 will-change: transform, filter, background-position;
}
.animated-page-bg__veil {
 position: absolute;
 inset: 0;
 z-index: 1;
}
.page-has-animated-bg .site-header,
.page-has-animated-bg .spoke-page,
.page-has-animated-bg .site-footer,
.page-has-animated-bg .donate-modal {
 position: relative;
 z-index: 2;
}

/* Wings Guild — golden hall glow */
.animated-page-bg--wings .animated-page-bg__layer--image {
 background: url('assets/wings-dao-bg.jpg') center center / cover no-repeat;
 animation: wings-bg-glow 9s ease-in-out infinite, wings-bg-zoom 22s ease-in-out infinite alternate;
}
.animated-page-bg--wings .animated-page-bg__layer--glow {
 background: radial-gradient(ellipse 55% 45% at 50% 18%, rgba(255, 210, 120, 0.42), transparent 68%);
 animation: wings-glow-pulse 7s ease-in-out infinite;
}
.animated-page-bg--wings .animated-page-bg__veil {
 background: linear-gradient(180deg, rgba(10, 5, 16, 0.84) 0%, rgba(10, 5, 16, 0.72) 45%, rgba(10, 5, 16, 0.88) 100%);
}
@keyframes wings-bg-glow {
 0%, 100% { filter: brightness(0.82) saturate(1.05); }
 50% { filter: brightness(1.02) saturate(1.15); }
}
@keyframes wings-bg-zoom {
 from { transform: scale(1.02); }
 to { transform: scale(1.09); }
}
@keyframes wings-glow-pulse {
 0%, 100% { opacity: 0.55; transform: translateY(0); }
 50% { opacity: 0.9; transform: translateY(-2%); }
}

/* Sea Haven — water wave */
.animated-page-bg--sea .animated-page-bg__layer--image {
 background: url('assets/sea-haven-bg.jpg') center center / 120% 120% repeat;
 animation: sea-wave-drift 14s ease-in-out infinite;
}
.animated-page-bg--sea .animated-page-bg__layer--glow {
 background: radial-gradient(ellipse at 30% 40%, rgba(126, 200, 232, 0.25), transparent 55%),
 radial-gradient(ellipse at 70% 60%, rgba(90, 160, 220, 0.2), transparent 50%);
 animation: sea-shimmer 10s ease-in-out infinite;
}
.animated-page-bg--sea .animated-page-bg__veil {
 background: linear-gradient(180deg, rgba(2, 12, 24, 0.78) 0%, rgba(4, 21, 37, 0.65) 50%, rgba(2, 12, 24, 0.82) 100%);
}
@keyframes sea-wave-drift {
 0% { background-position: 0% 50%; transform: scale(1.02) skewX(0deg); }
 33% { background-position: 35% 48%; transform: scale(1.03) skewX(0.25deg); }
 66% { background-position: 70% 52%; transform: scale(1.02) skewX(-0.25deg); }
 100% { background-position: 100% 50%; transform: scale(1.02) skewX(0deg); }
}
@keyframes sea-shimmer {
 0%, 100% { opacity: 0.5; }
 50% { opacity: 0.85; }
}

/* The Haven — light clouds */
.animated-page-bg--haven .animated-page-bg__layer--image {
 background: url('assets/haven-clouds-bg.jpg') center 40% / cover no-repeat;
 filter: brightness(1.2) saturate(0.9);
 animation: haven-cloud-drift 45s linear infinite;
}
.animated-page-bg--haven .animated-page-bg__layer--glow {
 background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.55), transparent 62%);
 animation: haven-glow-pulse 11s ease-in-out infinite;
}
.animated-page-bg--haven .animated-page-bg__veil {
 background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(235, 248, 255, 0.48) 40%, rgba(220, 238, 252, 0.52) 100%);
}
@keyframes haven-cloud-drift {
 from { background-position: 0% 40%; }
 to { background-position: 100% 45%; }
}
@keyframes haven-glow-pulse {
 0%, 100% { opacity: 0.6; }
 50% { opacity: 1; }
}

/* Card palettes — headers vs body */
.card-page-headline,
.card-headline,
.sea-section-title {
 letter-spacing: 2px;
}
.card-page-body,
.card-copy,
.spoke-lead,
.spoke-block p,
.spoke-block li {
 opacity: 0.92;
}

/* Wings Guild cards */
.page-theme-wings .surface-card--wings-blue {
 background: linear-gradient(155deg, rgba(0, 100, 180, 0.35), rgba(12, 28, 58, 0.94)) !important;
 border-color: rgba(0, 180, 255, 0.38) !important;
}
.page-theme-wings .surface-card--wings-blue .card-page-headline,
.page-theme-wings .surface-card--wings-blue h2,
.page-theme-wings .surface-card--wings-blue h4 {
 color: #00b4ff !important;
}
.page-theme-wings .surface-card--wings-gold {
 background: linear-gradient(155deg, rgba(232, 93, 4, 0.28), rgba(28, 14, 8, 0.94)) !important;
 border-color: rgba(244, 162, 97, 0.42) !important;
}
.page-theme-wings .surface-card--wings-gold .card-page-headline,
.page-theme-wings .surface-card--wings-gold h2,
.page-theme-wings .surface-card--wings-gold h4 {
 color: #f4a261 !important;
}
.page-theme-wings .spoke-hero h1 {
 color: #f0f4ff;
 text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.page-theme-wings .sub-headline {
 color: rgba(240, 244, 255, 0.9);
}

/* Sea Haven cards */
.page-theme-sea .surface-card--sea-light {
 background: linear-gradient(160deg, rgba(90, 180, 230, 0.32), rgba(14, 52, 82, 0.92)) !important;
 border-color: rgba(126, 200, 232, 0.45) !important;
}
.page-theme-sea .surface-card--sea-light .card-headline,
.page-theme-sea .surface-card--sea-light h3,
.page-theme-sea .surface-card--sea-light h4 {
 color: #7ec8e8 !important;
}
.page-theme-sea .surface-card--sea-deep {
 background: linear-gradient(160deg, rgba(4, 28, 52, 0.96), rgba(2, 12, 24, 0.98)) !important;
 border-color: rgba(12, 60, 95, 0.65) !important;
}
.page-theme-sea .surface-card--sea-deep .card-headline,
.page-theme-sea .surface-card--sea-deep h3,
.page-theme-sea .surface-card--sea-deep h4 {
 color: #5aa0dc !important;
}
.page-theme-sea .card-copy,
.page-theme-sea .card-page-body,
.page-theme-sea p.montserrat-text {
 color: #e6f2fa;
}
.page-theme-sea .sea-section-title {
 color: var(--champagne);
}

/* Haven (sanctuary) — light cloud page */
.page-theme-haven.page-has-animated-bg {
 color: #0a2848;
}
.page-theme-haven.page-has-animated-bg .site-header {
 background: rgba(255, 255, 255, 0.88);
 border-bottom-color: rgba(72, 201, 176, 0.35);
}
.page-theme-haven.page-has-animated-bg .nav-links-center a,
.page-theme-haven.page-has-animated-bg .nav-logo-link {
 filter: none;
}
.page-theme-haven.page-has-animated-bg .nav-links-center a {
 color: #0a3d5c;
 opacity: 0.9;
}
.page-theme-haven.page-has-animated-bg .nav-links-center a:hover {
 color: #48c9b0;
}
.page-theme-haven .surface-card--haven-light {
 background: rgba(255, 255, 255, 0.88) !important;
 border-color: rgba(72, 201, 176, 0.35) !important;
 color: #1a3a5f;
}
.page-theme-haven .surface-card--haven-light .card-page-headline,
.page-theme-haven .surface-card--haven-light h2,
.page-theme-haven .surface-card--haven-light h3 {
 color: #0a3d5c !important;
}
.page-theme-haven .surface-card--haven-teal {
 background: linear-gradient(160deg, rgba(72, 201, 176, 0.22), rgba(255, 255, 255, 0.9)) !important;
 border-color: rgba(72, 201, 176, 0.45) !important;
 color: #0a2848;
}
.page-theme-haven .surface-card--haven-teal .card-page-headline,
.page-theme-haven .surface-card--haven-teal h2,
.page-theme-haven .surface-card--haven-teal h3,
.page-theme-haven .surface-card--haven-teal h4 {
 color: #1a6b5c !important;
}
.page-theme-haven.page-has-animated-bg .spoke-lead,
.page-theme-haven.page-has-animated-bg .montserrat-text,
.page-theme-haven.page-has-animated-bg .spoke-list li {
 color: #1a3a5f;
 opacity: 0.92;
}
.page-theme-haven.page-has-animated-bg .sub-headline {
 color: #0a3d5c;
}
.page-theme-haven.page-has-animated-bg h1.cinzel-header {
 color: #05101f;
 text-shadow: 0 1px 12px rgba(255, 255, 255, 0.6);
}
.page-theme-haven.page-has-animated-bg .site-footer {
 color: #0a2848;
 border-top-color: rgba(72, 201, 176, 0.25);
}
.page-theme-haven.page-has-animated-bg .footer-tagline,
.page-theme-haven.page-has-animated-bg .legal-links-row a {
 color: #0a3d5c;
}

@media (prefers-reduced-motion: reduce) {
 .animated-page-bg__layer,
 .animated-page-bg__layer--glow {
 animation: none !important;
 }
}

/* ==========================================================================
 GLOW UPDATE BATCH — Tasks 2,3,4,5,6,7
 ========================================================================== */

/* ------------------------------------------------------------------ 
 TASK 2: Mobile letter frame — full containment, zoom-safe scroll
 ------------------------------------------------------------------ */
/* Portrait silver frame used on mobile */
.scroll-card-mobile {
 display: none;
 width: min(520px, 96vw);
 margin: 0 auto;
 position: relative;
}
@media (max-width: 991px) {
 .founder-letter--book .book-letter-spread {
 display: none !important;
 }
 .scroll-card-mobile {
 display: block;
 width: min(520px, 94vw);
 margin: 0 auto;
 }
 /* Use the portrait silver-frame.png (same as desktop) */
 .scroll-card-mobile .scroll-card-stage {
 position: relative;
 width: 100%;
 /* portrait ratio ~600:960 = 0.625 */
 aspect-ratio: 600 / 960;
 max-height: 90vh;
 margin: 0 auto;
 filter: drop-shadow(0 16px 36px rgba(0,0,0,0.55));
 overflow: visible;
 }
 .scroll-frame-img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: contain;
 pointer-events: none;
 z-index: 2;
 user-select: none;
 }
 /* Viewport matched to the transparent center of silver-letter-frame.png */
 .scroll-card-mobile .scroll-card-viewport {
 position: absolute;
 top: 14%;
 left: 17%;
 right: 17%;
 bottom: 13%;
 z-index: 1;
 overflow: hidden;
 display: flex;
 flex-direction: column;
 }
 .scroll-card-mobile .scroll-card-scroll {
 width: 100%;
 height: 100%;
 overflow-y: auto;
 overflow-x: hidden;
 -webkit-overflow-scrolling: touch;
 padding: 10px 8px 16px;
 box-sizing: border-box;
 scrollbar-width: thin;
 scrollbar-color: rgba(213,216,220,0.4) transparent;
 }
 .scroll-card-mobile .scroll-card-text {
 color: #fff;
 text-align: center;
 display: flex;
 flex-direction: column;
 gap: 0;
 }
 /* Compact, zoom-safe text — clamp ensures it scales with viewport */
 .scroll-card-mobile .scroll-card-text p,
 .scroll-card-mobile .scroll-card-text li {
 font-size: clamp(0.72rem, 2.8vw, 0.88rem);
 line-height: 1.55;
 margin-bottom: 7px;
 overflow-wrap: break-word;
 word-break: break-word;
 }
 .scroll-card-mobile .scroll-card-text .letter-salutation {
 font-size: clamp(0.82rem, 3vw, 0.98rem);
 font-weight: 700;
 color: var(--champagne);
 margin-bottom: 10px;
 }
 .scroll-card-mobile .scroll-card-text .letter-subhead {
 font-family: 'Cinzel', serif;
 font-size: clamp(0.7rem, 2.5vw, 0.84rem);
 letter-spacing: 1.5px;
 text-transform: uppercase;
 color: var(--champagne);
 margin: 10px 0 6px;
 }
 .scroll-card-mobile .scroll-card-text ul {
 list-style: none;
 margin: 4px auto 8px;
 padding: 0;
 text-align: left;
 width: 100%;
 }
 .scroll-card-mobile .scroll-card-text ul li {
 position: relative;
 padding-left: 14px;
 margin-bottom: 5px;
 }
 .scroll-card-mobile .scroll-card-text ul li::before {
 content: "•";
 position: absolute;
 left: 2px;
 color: var(--champagne);
 }
 .scroll-card-mobile .scroll-card-text .scroll-signoff {
 margin-top: 10px;
 padding-top: 8px;
 border-top: 1px solid rgba(232,213,176,0.25);
 }
 .scroll-card-mobile .scroll-card-text .scroll-motto-line {
 font-size: clamp(0.78rem, 2.8vw, 0.9rem);
 margin-bottom: 4px;
 }
 .scroll-card-mobile .scroll-card-text .scroll-name-line {
 font-size: clamp(0.88rem, 3.2vw, 1rem);
 font-family: 'Cinzel', serif;
 letter-spacing: 2px;
 }
 .scroll-card-mobile .scroll-card-text .scroll-role-line {
 font-size: clamp(0.6rem, 2.2vw, 0.7rem);
 letter-spacing: 1px;
 }
 /* Fade indicators */
 .scroll-card-fade {
 position: absolute;
 left: 17%;
 right: 17%;
 height: 28px;
 pointer-events: none;
 z-index: 3;
 }
 .scroll-card-fade--top {
 top: 14%;
 background: linear-gradient(to bottom, rgba(8,18,32,0.6), transparent);
 }
 .scroll-card-fade--bottom {
 bottom: 13%;
 background: linear-gradient(to top, rgba(8,18,32,0.6), transparent);
 }
}

/* ------------------------------------------------------------------ 
 TASK 3b: Remove black background from letter images — use mix-blend-mode
 so images render with transparent-like black areas
 ------------------------------------------------------------------ */
.letter-frame-uploaded-img {
 mix-blend-mode: screen;
 background: transparent;
}
.letter-image-panel {
 flex: 1 1 500px;
 max-width: 560px;
 min-width: 280px;
 display: flex;
 align-items: stretch;
 justify-content: center;
}
.letter-image-panel img {
 width: 100%;
 height: auto;
 object-fit: contain;
 mix-blend-mode: screen;
 filter: brightness(1.05) contrast(1.02);
}
/* Desktop book-spread with uploaded images (task 3) */
.founder-letter--images .book-letter-spread {
 align-items: flex-start;
 gap: 0;
 width: min(1100px, 96vw);
}
.founder-letter--images .letter-image-panel {
 flex: 1 1 45%;
}
@media (max-width: 768px) {
 .founder-letter--images .book-letter-spread {
 flex-direction: column;
 align-items: center;
 }
 .founder-letter--images .letter-image-panel {
 width: 100%;
 max-width: min(520px, 94vw);
 }
}

/* ------------------------------------------------------------------ 
 TASK 4: Sanctuary page (sanctuary.html) updates
 ------------------------------------------------------------------ */
/* "The Destination" and "Explore the Sanctuary" — dim/muted color */
.sanctuary-page-eyebrow {
 color: rgba(10, 58, 92, 0.7) !important;
 opacity: 0.75;
}
.sanctuary-explore-btn {
 color: rgba(10, 58, 92, 0.78) !important;
 border-color: rgba(10, 58, 92, 0.45) !important;
 background: rgba(255,255,255,0.18) !important;
}
.sanctuary-explore-btn:hover {
 color: #0a3d5c !important;
 background: rgba(255,255,255,0.38) !important;
}

/* VIVO bar / Wings Guild path line — dim, not white */
.vivo-path--wings .vivo-bar {
 background: linear-gradient(90deg, rgba(30, 80, 140, 0.35), rgba(30, 80, 140, 0.75)) !important;
 opacity: 0.65;
}

/* Milestone vertical lines — dark navy-blue */
.roadmap-milestone {
 border-left-color: rgba(10, 40, 80, 0.4) !important;
}
.roadmap-milestone h4,
.roadmap-milestone p,
.roadmap-milestone .milestone-tag {
 color: #0a2848 !important;
}
.roadmap-milestone p.montserrat-text {
 color: #1a3a5f !important;
}
/* Milestone 1 completed — green check mark & green line */
.roadmap-milestone.is-done {
 border-left-color: #1a8c5c !important;
 position: relative;
}
.roadmap-milestone.is-done::before {
 content: '✓';
 position: absolute;
 left: -16px;
 top: 0;
 color: #22c07a;
 font-size: 1.1rem;
 font-weight: 900;
 background: #fff;
 border-radius: 50%;
 width: 24px;
 height: 24px;
 display: flex;
 align-items: center;
 justify-content: center;
 line-height: 1;
 box-shadow: 0 0 8px rgba(34,192,122,0.45);
}
/* Current phase — blinking blue line */
.roadmap-milestone.is-current {
 border-left-color: #0070d6 !important;
 animation: milestone-blink 1.8s ease-in-out infinite;
}
@keyframes milestone-blink {
 0%, 100% { border-left-color: #0070d6 !important; border-left-width: 3px; }
 50% { border-left-color: #40b4ff !important; border-left-width: 4px; box-shadow: -3px 0 12px rgba(64,180,255,0.5); }
}
.roadmap-milestone.is-current h4 {
 color: #0050a0 !important;
}
.roadmap-milestone.is-current .milestone-tag {
 color: #0070d6 !important;
}

/* "Support Land Acquisition Fund" button — dark blue */
.cta-center-wrap .glass-button {
 background: rgba(0, 80, 160, 0.82) !important;
 border-color: rgba(0, 100, 200, 0.9) !important;
 color: #fff !important;
}
.cta-center-wrap .glass-button:hover {
 background: rgba(0, 100, 200, 0.95) !important;
 box-shadow: 0 8px 28px rgba(0, 80, 160, 0.45) !important;
}

/* "Support the Sanctuary" header button — dim blue, all pages */
.btn-support-silver {
 border-color: rgba(0, 120, 220, 0.85) !important;
 color: #d0eaff !important;
 background: rgba(0, 60, 140, 0.45) !important;
}
.btn-support-silver:hover {
 background: rgba(0, 90, 200, 0.85) !important;
 color: #fff !important;
 border-color: #0070d6 !important;
}

/* ------------------------------------------------------------------ 
 TASK 4: Sanctuary animated cloud background improvements
 ------------------------------------------------------------------ */
/* Enhance cloud drift to be more obvious */
.animated-page-bg--haven .animated-page-bg__layer--image {
 animation: haven-cloud-drift-enhanced 28s linear infinite !important;
}
.animated-page-bg--haven .animated-page-bg__layer--glow {
 animation: haven-cloud-glow-enhanced 9s ease-in-out infinite !important;
}
@keyframes haven-cloud-drift-enhanced {
 0% { background-position: 0% 40%; transform: scale(1.08); }
 50% { background-position: 60% 42%; transform: scale(1.12); }
 100% { background-position: 120% 44%; transform: scale(1.08); }
}
@keyframes haven-cloud-glow-enhanced {
 0%, 100% { opacity: 0.55; transform: translateY(0); }
 50% { opacity: 0.95; transform: translateY(-4px); }
}

/* ------------------------------------------------------------------ 
 TASK 5: Wings Guild page — footer white text
 ------------------------------------------------------------------ */
.page-theme-wings .site-footer {
 color: #fff !important;
}
.page-theme-wings .site-footer .footer-tagline,
.page-theme-wings .site-footer .legal-links-row,
.page-theme-wings .site-footer .legal-links-row a,
.page-theme-wings .site-footer .footer-sep,
.page-theme-wings .site-footer .small-print {
 color: #fff !important;
 opacity: 0.9;
}
.page-theme-wings .site-footer .legal-links-row a:hover {
 color: #00b4ff !important;
 opacity: 1;
}

/* ------------------------------------------------------------------ 
 TASK 5: Wings Guild logo — switch to WingsDaonobg
 ------------------------------------------------------------------ */
/* Applied via strategy-hub.html HTML change */

/* ------------------------------------------------------------------ 
 TASK 5: Wings Guild animated background improvements
 ------------------------------------------------------------------ */
.animated-page-bg--wings .animated-page-bg__layer--image {
 animation: wings-bg-glow-enhanced 8s ease-in-out infinite, wings-bg-zoom-enhanced 20s ease-in-out infinite alternate !important;
}
.animated-page-bg--wings .animated-page-bg__layer--glow {
 animation: wings-glow-pulse-enhanced 6s ease-in-out infinite !important;
}
/* Extra nebula layer via pseudo */
.animated-page-bg--wings .animated-page-bg__veil {
 background: linear-gradient(180deg, rgba(10,5,16,0.78) 0%, rgba(10,5,16,0.55) 45%, rgba(10,5,16,0.82) 100%) !important;
 animation: wings-veil-shift 15s ease-in-out infinite;
}
@keyframes wings-bg-glow-enhanced {
 0%, 100% { filter: brightness(0.75) saturate(1.1); }
 30% { filter: brightness(1.0) saturate(1.2); }
 70% { filter: brightness(0.85) saturate(1.15); }
}
@keyframes wings-bg-zoom-enhanced {
 from { transform: scale(1.02) translateX(0); }
 to { transform: scale(1.1) translateX(-2%); }
}
@keyframes wings-glow-pulse-enhanced {
 0%, 100% { opacity: 0.48; transform: translateY(0) scale(1); }
 50% { opacity: 0.88; transform: translateY(-3%) scale(1.06); }
}
@keyframes wings-veil-shift {
 0%, 100% { opacity: 1; }
 50% { opacity: 0.88; }
}

/* ------------------------------------------------------------------ 
 TASK 6: Sea Haven page — footer white text
 ------------------------------------------------------------------ */
.page-theme-sea .site-footer {
 color: #fff !important;
}
.page-theme-sea .site-footer .footer-tagline,
.page-theme-sea .site-footer .legal-links-row,
.page-theme-sea .site-footer .legal-links-row a,
.page-theme-sea .site-footer .footer-sep,
.page-theme-sea .site-footer .small-print {
 color: #e6f2fa !important;
 opacity: 0.92;
}
.page-theme-sea .site-footer .legal-links-row a:hover {
 color: #7ec8e8 !important;
 opacity: 1;
}

/* ------------------------------------------------------------------ 
 TASK 6: Sea Haven — enhanced sea animation
 ------------------------------------------------------------------ */
.animated-page-bg--sea .animated-page-bg__layer--image {
 animation: sea-wave-enhanced 16s ease-in-out infinite !important;
}
.animated-page-bg--sea .animated-page-bg__layer--glow {
 animation: sea-shimmer-enhanced 9s ease-in-out infinite !important;
}
@keyframes sea-wave-enhanced {
 0% { background-position: 0% 40%; transform: scale(1.04) skewX(0deg); filter: brightness(0.9) saturate(1.1); }
 25% { background-position: 30% 50%; transform: scale(1.06) skewX(0.3deg); filter: brightness(1.0) saturate(1.15); }
 50% { background-position: 60% 55%; transform: scale(1.04) skewX(-0.2deg); filter: brightness(0.92) saturate(1.1); }
 75% { background-position: 85% 48%; transform: scale(1.07) skewX(0.2deg); filter: brightness(1.02) saturate(1.18); }
 100% { background-position: 120% 40%; transform: scale(1.04) skewX(0deg); filter: brightness(0.9) saturate(1.1); }
}
@keyframes sea-shimmer-enhanced {
 0%, 100% { opacity: 0.42; transform: scale(1); }
 40% { opacity: 0.88; transform: scale(1.04); }
 70% { opacity: 0.6; transform: scale(0.98); }
}

/* ------------------------------------------------------------------ 
 TASK 7: Team page — animated clickable name cards
 ------------------------------------------------------------------ */
/* Override plain card with hover-lift animation */
.team-id-card {
 cursor: pointer;
 position: relative;
 transition: transform 0.38s cubic-bezier(0.165,0.84,0.44,1), box-shadow 0.38s ease, border-color 0.3s ease !important;
 overflow: hidden;
 animation: team-card-breathe 4s ease-in-out infinite;
}
/* Stagger animations so cards feel alive but not distracting */
.team-id-card:nth-child(1) { animation-delay: 0s; }
.team-id-card:nth-child(2) { animation-delay: 0.7s; }
.team-id-card:nth-child(3) { animation-delay: 1.4s; }
.team-id-card:nth-child(4) { animation-delay: 0.35s; }
.team-id-card:nth-child(5) { animation-delay: 1.05s; }
@keyframes team-card-breathe {
 0%, 100% { box-shadow: 0 8px 28px rgba(0,0,0,0.3), 0 0 0 0 rgba(72,201,176,0); }
 50% { box-shadow: 0 12px 36px rgba(0,0,0,0.42), 0 0 16px 1px rgba(72,201,176,0.08); }
}
.team-id-card:hover, .team-id-card:focus-within {
 transform: translateY(-8px) scale(1.025) !important;
 box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 28px rgba(72,201,176,0.18) !important;
 border-color: rgba(72,201,176,0.55) !important;
 animation-play-state: paused;
}
/* Shimmer hint on card — "click me" effect */
.team-id-card::after {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(130deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
 transform: translateX(-100%);
 transition: transform 0.6s ease;
 pointer-events: none;
}
.team-id-card:hover::after {
 transform: translateX(100%);
}
/* Clickable indicator on team member names */
.card-name {
 position: relative;
}
.card-name .team-name-link::after {
 content: '↗';
 font-size: 0.65em;
 opacity: 0.5;
 margin-left: 4px;
 transition: opacity 0.25s, transform 0.25s;
 display: inline-block;
}
.team-id-card:hover .team-name-link::after {
 opacity: 1;
 transform: translate(2px, -2px);
}

/* ------------------------------------------------------------------ 
 TASK 7: Team page — parallax scrolling background integration
 ------------------------------------------------------------------ */
.team-haven-section,
.team-global-network-section {
 position: relative;
 background: transparent !important;
}
/* Animated flowing gradient behind the team section */
.team-haven-section::before {
 content: '';
 position: absolute;
 inset: -10% -5%;
 background: 
 radial-gradient(ellipse 60% 40% at 20% 30%, rgba(72,201,176,0.08) 0%, transparent 60%),
 radial-gradient(ellipse 50% 35% at 80% 70%, rgba(26,58,95,0.15) 0%, transparent 55%),
 radial-gradient(ellipse 40% 50% at 50% 50%, rgba(10,38,80,0.12) 0%, transparent 65%);
 animation: team-bg-drift 18s ease-in-out infinite alternate;
 pointer-events: none;
 z-index: 0;
}
.team-haven-section .team-page-container {
 position: relative;
 z-index: 1;
}
@keyframes team-bg-drift {
 0% { transform: translateY(0) translateX(0) scale(1); }
 33% { transform: translateY(-2%) translateX(1%) scale(1.01); }
 66% { transform: translateY(1%) translateX(-1%) scale(0.99); }
 100% { transform: translateY(-1%) translateX(2%) scale(1.01); }
}
/* Floating card rows — subtle wave */
.team-grid {
 animation: team-grid-float 6s ease-in-out infinite;
}
.team-grid:nth-of-type(2) { animation-delay: 1s; }
.team-grid:nth-of-type(3) { animation-delay: 2s; }
@keyframes team-grid-float {
 0%, 100% { transform: translateY(0); }
 50% { transform: translateY(-4px); }
}

/* Task 3: Background for images section — dark needed for mix-blend-mode:screen */
.founder-letter--images {
 background: rgba(4, 10, 22, 0.92) !important;
}
.founder-letter--images .book-letter-spread {
 display: flex;
 align-items: flex-start;
 justify-content: center;
 gap: 12px;
 width: min(1200px, 96vw);
 margin: 40px auto 0;
}
.founder-letter--images .letter-image-panel {
 flex: 1 1 48%;
 max-width: 580px;
 min-width: 260px;
}
.founder-letter--images .book-spine {
 flex: 0 0 12px;
 align-self: stretch;
}
@media (max-width: 768px) {
 .founder-letter--images .book-letter-spread {
 flex-direction: column;
 align-items: center;
 gap: 16px;
 }
 .founder-letter--images .letter-image-panel {
 width: 100%;
 max-width: min(500px, 94vw);
 }
 .founder-letter--images .book-spine {
 display: none;
 }
}

/* ==========================================================================
 GLOW FIX BATCH 2 — Transparent images (no mix-blend) + Sea animation
 ========================================================================== */

/* Task 3b fix: Images now have proper transparency — remove blend mode */
.letter-frame-uploaded-img,
.letter-image-panel img {
 mix-blend-mode: normal !important;
 filter: none !important;
}
/* Background must NOT be forced dark now — let page bg show through */
.founder-letter--images {
 background: transparent !important;
}
/* Ensure transparent PNG sits cleanly */
.founder-letter--images .letter-image-panel img {
 background: transparent;
 display: block;
 width: 100%;
 height: auto;
}

/* ------------------------------------------------------------------ 
 Task 6 fix: Sea Haven — proper wave animation (no lag/jitter)
 Use a smooth continuous pan with gentle vertical bob only.
 No skew, no sudden jumps, no scale changes mid-animation.
 ------------------------------------------------------------------ */
.animated-page-bg--sea .animated-page-bg__layer--image {
 /* Reset to simple smooth approach */
 background-size: 200% 120% !important;
 animation: sea-smooth-wave 22s ease-in-out infinite alternate !important;
 will-change: background-position;
 transform: translateZ(0); /* GPU layer for smoothness */
}
@keyframes sea-smooth-wave {
 0% { background-position: 0% 45%; }
 25% { background-position: 28% 50%; }
 50% { background-position: 55% 42%; }
 75% { background-position: 82% 48%; }
 100% { background-position: 100% 45%; }
}
.animated-page-bg--sea .animated-page-bg__layer--glow {
 animation: sea-glow-breathe 12s ease-in-out infinite !important;
 will-change: opacity;
}
@keyframes sea-glow-breathe {
 0%, 100% { opacity: 0.38; }
 50% { opacity: 0.72; }
}
/* Remove the aggressive skew/scale from earlier override */
@keyframes sea-wave-enhanced {
 0% { background-position: 0% 45%; transform: none; filter: none; }
 100% { background-position: 100% 45%; transform: none; filter: none; }
}

/* ==========================================================================
 GLOW UPDATE BATCH 3 — Tasks 2,3,4,5,6,7
 ========================================================================== */

/* ------------------------------------------------------------------ 
 TASK 2: Pillar cards — lighter, more visible
 ------------------------------------------------------------------ */
.pillar-column {
 background: rgba(72, 201, 176, 0.07) !important;
 border: 1px solid rgba(72, 201, 176, 0.22) !important;
 backdrop-filter: blur(8px);
 -webkit-backdrop-filter: blur(8px);
 box-shadow: 0 4px 20px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}
.pillar-column:hover {
 background: rgba(72, 201, 176, 0.14) !important;
 border-color: rgba(72, 201, 176, 0.5) !important;
 box-shadow: 0 12px 32px rgba(72,201,176,0.18), inset 0 1px 0 rgba(255,255,255,0.1) !important;
 transform: translateY(-5px);
}
.pillar-column h3 {
 color: var(--champagne) !important;
 border-bottom-color: rgba(232,213,176,0.35) !important;
}
.pillar-column ul li {
 color: rgba(255,255,255,0.92) !important;
 opacity: 1 !important;
}

/* ------------------------------------------------------------------ 
 TASK 4: Library cards — wider, bigger, no spine, logos
 ------------------------------------------------------------------ */
.archive-book-card--wide {
 width: 100%;
 max-width: 320px;
 min-width: 240px;
 padding: 32px 28px 28px !important;
}
.library-grid-row {
 display: flex;
 gap: 28px;
 justify-content: center;
 flex-wrap: wrap;
 margin-bottom: 40px;
}
.book-cover--no-spine {
 position: relative;
 border-radius: 10px;
 padding: 28px 20px 20px;
 min-height: 160px;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: flex-end;
 gap: 12px;
}
.book-cover--no-spine .book-spine {
 display: none !important;
}
.book-cover-logo {
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 4px;
}
.book-cover-logo img {
 width: 72px;
 height: 72px;
 object-fit: contain;
 filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

/* True Love coming-soon card — centered below row */
.library-true-love-row {
 display: flex;
 justify-content: center;
 margin-top: 0;
 margin-bottom: 40px;
}
.archive-book-card--coming-soon {
 position: relative;
 overflow: visible !important;
 padding: 32px 48px !important;
 max-width: 480px;
 width: 100%;
 text-align: center;
 display: flex !important;
 flex-direction: column;
 align-items: center;
 gap: 8px;
}
.coming-soon-label {
 font-size: 1rem !important;
 letter-spacing: 2px;
 color: rgba(255,255,255,0.55) !important;
 margin: 0;
}
.coming-soon-sub {
 font-size: 0.78rem;
 letter-spacing: 3px;
 text-transform: uppercase;
 color: rgba(232,213,176,0.6);
 margin: 0;
}
/* Blinking light ring around coming-soon card */
.coming-soon-pulse-ring {
 position: absolute;
 inset: -6px;
 border-radius: 18px;
 border: 2px solid rgba(232,213,176,0.25);
 pointer-events: none;
 animation: coming-soon-ring-pulse 2.2s ease-in-out infinite;
}
@keyframes coming-soon-ring-pulse {
 0%, 100% { border-color: rgba(232,213,176,0.12); box-shadow: 0 0 0 0 rgba(232,213,176,0); }
 50% { border-color: rgba(232,213,176,0.55); box-shadow: 0 0 18px 4px rgba(232,213,176,0.18); }
}

/* ------------------------------------------------------------------ 
 TASK 6: Merch / Outfitters — wider cards, no aesthetic text, shining btn
 ------------------------------------------------------------------ */
.merch-grid-row--wider {
 gap: 28px !important;
}
.merch-card--wider {
 flex: 1 1 280px !important;
 min-width: 260px !important;
 max-width: 380px !important;
 aspect-ratio: unset !important;
 min-height: 220px;
 display: flex !important;
 flex-direction: column;
 justify-content: space-between;
 padding: 36px 32px 32px !important;
}
/* Shining explore button */
.merch-explore-btn {
 position: relative;
 overflow: hidden;
 font-size: 0.85rem !important;
 letter-spacing: 1.5px !important;
 padding: 13px 24px !important;
 display: block !important;
 text-align: center;
 animation: merch-btn-glow 2.8s ease-in-out infinite;
}
.merch-explore-btn::before {
 content: '';
 position: absolute;
 top: 0;
 left: -75%;
 width: 50%;
 height: 100%;
 background: linear-gradient(120deg, transparent, rgba(255,255,255,0.22), transparent);
 animation: merch-btn-shine 2.8s ease-in-out infinite;
 pointer-events: none;
}
@keyframes merch-btn-shine {
 0% { left: -75%; }
 40% { left: 125%; }
 100% { left: 125%; }
}
@keyframes merch-btn-glow {
 0%, 100% { box-shadow: 0 0 8px rgba(232,213,176,0.18), 0 2px 12px rgba(0,0,0,0.3); }
 50% { box-shadow: 0 0 22px rgba(232,213,176,0.42), 0 4px 20px rgba(0,0,0,0.4); }
}

/* ------------------------------------------------------------------ 
 TASK 7: Nav overlay — fully scrollable, never auto-dismisses
 ------------------------------------------------------------------ */
.nav-pages-overlay {
 /* Already has overflow-y:auto from base CSS, but enforce */
 overflow-y: auto !important;
 -webkit-overflow-scrolling: touch !important;
 overscroll-behavior: contain !important;
}
.nav-pages-panel {
 /* Make panel taller on mobile to show all items, and scrollable */
 max-height: none !important;
 overflow-y: auto !important;
 -webkit-overflow-scrolling: touch !important;
 overscroll-behavior: contain !important;
}
/* On mobile show mobile-only items */
@media (max-width: 991px) {
 .nav-pages-mobile-only {
 display: list-item !important;
 }
 .nav-pages-panel {
 width: min(380px, 90vw) !important;
 padding: 44px 28px 36px !important;
 max-height: 85vh !important;
 overflow-y: auto !important;
 }
 .nav-pages-overlay {
 padding-top: 48px !important;
 padding-bottom: 24px !important;
 align-items: flex-start !important;
 }
}
/* Desktop — also show mobile-only items since hamburger is used on desktop too */
@media (min-width: 992px) {
 .nav-pages-mobile-only {
 display: list-item !important;
 }
 .nav-pages-panel {
 max-height: 80vh !important;
 overflow-y: auto !important;
 }
}
body.nav-pages-open {
 /* Keep body scroll locked but allow overlay to scroll */
 overflow: hidden !important;
 position: fixed;
 width: 100%;
}

/* ==========================================================================
 GLOW FIX BATCH 4
 ========================================================================== */

/* ------------------------------------------------------------------ 
 FIX 3: Merch cards — centered on page
 ------------------------------------------------------------------ */
.merch-grid-row,
.merch-grid-row--wider {
 display: flex !important;
 justify-content: center !important;
 align-items: stretch !important;
 flex-wrap: wrap !important;
 gap: 28px !important;
 margin: 0 auto !important;
 max-width: 1100px;
 text-align: center;
}
.merch-card--wider,
.merch-card {
 text-align: left;
}
.merch-card--wider h2,
.merch-card h2 {
 text-align: left;
}
/* Center the whole merch section */
.contact-container {
 text-align: center;
}

/* ------------------------------------------------------------------ 
 FIX 4: Library cards — strict horizontal row, no wrapping on desktop
 ------------------------------------------------------------------ */
.library-grid-row {
 display: flex !important;
 flex-direction: row !important;
 flex-wrap: nowrap !important;
 justify-content: center !important;
 align-items: stretch !important;
 gap: 24px !important;
 margin: 0 auto 40px !important;
 max-width: 1100px;
}
.archive-book-card--wide {
 flex: 1 1 0 !important;
 min-width: 0 !important;
 max-width: 340px !important;
}
@media (max-width: 768px) {
 .library-grid-row {
 flex-direction: column !important;
 align-items: center !important;
 }
 .archive-book-card--wide {
 width: 100% !important;
 max-width: 360px !important;
 }
}

/* ------------------------------------------------------------------ 
 FIX 5: Sanctuary hamburger — nav overlay must escape stacking context
 The page-has-animated-bg creates a z-index stacking context that
 can trap the overlay. Force the overlay above everything.
 ------------------------------------------------------------------ */
.nav-pages-overlay {
 position: fixed !important;
 z-index: 999999 !important;
 isolation: auto !important;
}
.nav-pages-backdrop {
 position: fixed !important;
 inset: 0 !important;
 z-index: 1 !important;
}
.nav-pages-panel {
 position: relative !important;
 z-index: 2 !important;
}
/* Ensure page-has-animated-bg does NOT create a trapping context for the overlay */
.page-has-animated-bg .nav-pages-overlay {
 z-index: 999999 !important;
}
/* The overlay must be visible and interactive when open, on ALL page types */
.nav-pages-overlay.is-open {
 opacity: 1 !important;
 visibility: visible !important;
 pointer-events: auto !important;
 display: flex !important;
}
/* Panel slides in properly */
.nav-pages-overlay.is-open .nav-pages-panel {
 transform: translateY(0) scale(1) !important;
 opacity: 1 !important;
}

/* ==========================================================================
 GLOW FIX BATCH 5 — Library horizontal row + Merch logos
 ========================================================================== */

/* Library: force 3 cards horizontal, wider with breathing room */
.library-grid-row {
 display: flex !important;
 flex-direction: row !important;
 flex-wrap: nowrap !important;
 justify-content: center !important;
 align-items: stretch !important;
 gap: 28px !important;
 max-width: 1160px !important;
 margin: 0 auto 40px !important;
 width: 100%;
}
.library-grid-row .archive-book-card--wide {
 flex: 1 1 300px !important;
 min-width: 260px !important;
 max-width: 380px !important;
 padding: 36px 32px 32px !important;
 box-sizing: border-box;
}
/* Ensure text breathes inside card */
.library-grid-row .book-info-block p.montserrat-text {
 font-size: 0.95rem !important;
 line-height: 1.75 !important;
 min-height: auto !important;
 margin-bottom: 28px !important;
 opacity: 0.85 !important;
}
@media (max-width: 820px) {
 .library-grid-row {
 flex-direction: column !important;
 align-items: center !important;
 flex-wrap: wrap !important;
 }
 .library-grid-row .archive-book-card--wide {
 width: 100% !important;
 max-width: 420px !important;
 flex: none !important;
 }
}

/* Merch card logo */
.merch-card-logo {
 display: flex;
 justify-content: center;
 margin-bottom: 16px;
}
.merch-card-logo img {
 width: 60px;
 height: 60px;
 object-fit: contain;
 filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* ==========================================================================
 GLOW UPDATE BATCH 6 — Archive cards colors/logos, bigger sea logo, whitepaper page
 ========================================================================== */

/* ------------------------------------------------------------------ 
 Haven Archives cards (index.html) — centered text, logo, distinct colors
 ------------------------------------------------------------------ */
.book-mockup-link .archive-card-body {
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 gap: 16px;
 flex: 1;
}
.book-mockup-link .archive-card-body h4 {
 text-align: center;
 margin: 0;
}
.archive-card-logo {
 width: 56px;
 height: 56px;
 object-fit: contain;
 filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4));
}
.book-mockup-link.archive-card--haven .silver-button,
.book-mockup-link.archive-card--haven {
 border-left-color: #6990b7 !important;
}
.book-mockup-link.archive-card--haven {
 background: linear-gradient(145deg, rgba(105,144,183,0.16), rgba(10,24,42,0.98)) !important;
}
.book-mockup-link.archive-card--haven:hover {
 border-color: rgba(105,144,183,0.55) !important;
 box-shadow: 0 28px 50px rgba(0,0,0,0.45), 0 0 32px rgba(105,144,183,0.22) !important;
}
.book-mockup-link.archive-card--haven:hover h4 { color: #a8c4e0 !important; }

.book-mockup-link.archive-card--wings {
 border-left-color: #e0a838 !important;
 background: linear-gradient(145deg, rgba(224,168,56,0.16), rgba(10,24,42,0.98)) !important;
}
.book-mockup-link.archive-card--wings:hover {
 border-color: rgba(224,168,56,0.55) !important;
 box-shadow: 0 28px 50px rgba(0,0,0,0.45), 0 0 32px rgba(224,168,56,0.22) !important;
}
.book-mockup-link.archive-card--wings:hover h4 { color: #ffd27a !important; }

.book-mockup-link.archive-card--sea {
 border-left-color: #487ba6 !important;
 background: linear-gradient(145deg, rgba(72,123,166,0.16), rgba(10,24,42,0.98)) !important;
}
.book-mockup-link.archive-card--sea:hover {
 border-color: rgba(72,123,166,0.55) !important;
 box-shadow: 0 28px 50px rgba(0,0,0,0.45), 0 0 32px rgba(72,123,166,0.22) !important;
}
.book-mockup-link.archive-card--sea:hover h4 { color: #8fc4ee !important; }

.book-mockup-link.archive-card--true-love {
 border-left-color: rgba(232,213,176,0.35) !important;
}
.book-mockup-link.archive-card--true-love .archive-card-body {
 justify-content: center;
}

/* ------------------------------------------------------------------ 
 Bigger Sea Haven logo on library card
 ------------------------------------------------------------------ */
.book-cover-logo--large img {
 width: 130px !important;
 height: 130px !important;
}
.book-cover-logo--large {
 margin-bottom: 8px;
}

/* ------------------------------------------------------------------ 
 Whitepaper page (whitepapers.html)
 ------------------------------------------------------------------ */
/* ==========================================================================
 WHITEPAPER PAGE — Clean, professional typography & layout
 ========================================================================== */

/* Jump nav at the top */
.whitepaper-jumpnav {
 display: flex;
 justify-content: center;
 gap: 14px;
 flex-wrap: wrap;
 margin-bottom: 64px;
}
.whitepaper-jumplink {
 display: flex;
 align-items: center;
 gap: 10px;
 padding: 13px 26px;
 border-radius: 40px;
 text-decoration: none;
 font-family: 'Cinzel', serif;
 font-size: 0.72rem;
 letter-spacing: 2px;
 text-transform: uppercase;
 color: rgba(255,255,255,0.7);
 background: rgba(255,255,255,0.04);
 border: 1px solid rgba(255,255,255,0.12);
 transition: all 0.3s ease;
 white-space: nowrap;
}
.whitepaper-jumplink img {
 width: 24px;
 height: 24px;
 object-fit: contain;
}
/* Sea Haven jump link — bigger logo in nav tab */
.whitepaper-jumplink--sea img {
 width: 34px;
 height: 34px;
}
.whitepaper-jumplink--haven { border-color: rgba(105,144,183,0.3); }
.whitepaper-jumplink--wings { border-color: rgba(224,168,56,0.3); }
.whitepaper-jumplink--sea { border-color: rgba(72,123,166,0.3); }

.whitepaper-jumplink--haven:hover {
 background: rgba(105,144,183,0.16);
 border-color: #6990b7;
 color: #b8d4ee;
}
.whitepaper-jumplink--wings:hover {
 background: rgba(224,168,56,0.16);
 border-color: #e0a838;
 color: #ffd27a;
}
.whitepaper-jumplink--sea:hover {
 background: rgba(72,123,166,0.16);
 border-color: #487ba6;
 color: #8fc4ee;
}

/* ---- Section cards ---- */
.whitepaper-section {
 max-width: 820px;
 margin: 0 auto 80px;
 border-radius: 18px;
 overflow: hidden;
 box-shadow: 0 24px 60px rgba(0,0,0,0.4);
 scroll-margin-top: 110px;
}

/* Coloured header band per section */
.whitepaper-section-header {
 display: flex;
 align-items: center;
 gap: 22px;
 padding: 32px 40px;
}
.whitepaper-section--haven .whitepaper-section-header {
 background: linear-gradient(135deg, rgba(35,72,118,0.95), rgba(22,48,78,0.98));
 border-bottom: 2px solid #6990b7;
}
.whitepaper-section--wings .whitepaper-section-header {
 background: linear-gradient(135deg, rgba(80,50,10,0.98), rgba(40,25,5,0.99));
 border-bottom: 2px solid #e0a838;
}
.whitepaper-section--sea .whitepaper-section-header {
 background: linear-gradient(135deg, rgba(18,52,90,0.98), rgba(10,32,58,0.99));
 border-bottom: 2px solid #487ba6;
}

.whitepaper-section-logo {
 width: 72px;
 height: 72px;
 object-fit: contain;
 flex-shrink: 0;
 filter: drop-shadow(0 2px 14px rgba(0,0,0,0.5));
}
.whitepaper-section-header h2 {
 font-size: 1.4rem;
 letter-spacing: 2px;
 margin: 0 0 6px;
 line-height: 1.3;
}
.whitepaper-section--haven .whitepaper-section-header h2 { color: #c8ddf0; }
.whitepaper-section--wings .whitepaper-section-header h2 { color: #ffd27a; }
.whitepaper-section--sea .whitepaper-section-header h2 { color: #8fc4ee; }

.whitepaper-subtitle {
 font-family: 'Montserrat', sans-serif;
 font-size: 0.82rem;
 font-style: italic;
 margin: 0;
 line-height: 1.5;
}
.whitepaper-section--haven .whitepaper-subtitle { color: rgba(200,221,240,0.65); }
.whitepaper-section--wings .whitepaper-subtitle { color: rgba(255,210,122,0.6); }
.whitepaper-section--sea .whitepaper-subtitle { color: rgba(143,196,238,0.6); }

/* Body area */
.whitepaper-body {
 background: rgba(8,18,34,0.92);
 padding: 40px 44px;
 font-family: 'Montserrat', sans-serif;
 font-size: 0.96rem;
 line-height: 1.9;
 color: rgba(220,228,240,0.82);
}

/* H3 — section heading: champagne gold, full-width rule below */
.whitepaper-h3 {
 font-family: 'Cinzel', serif;
 font-size: 0.92rem;
 letter-spacing: 2.5px;
 text-transform: uppercase;
 color: #e8d5b0;
 margin: 44px 0 14px;
 padding-bottom: 10px;
 border-bottom: 1px solid rgba(232,213,176,0.18);
}
.whitepaper-h3:first-child { margin-top: 4px; }

/* H4 — sub-section: bright white, no rule */
.whitepaper-h4 {
 font-family: 'Cinzel', serif;
 font-size: 0.82rem;
 letter-spacing: 1.8px;
 text-transform: uppercase;
 color: #ffffff;
 margin: 28px 0 10px;
 opacity: 1;
}

/* Body paragraph */
.whitepaper-body p {
 margin-bottom: 20px;
 color: rgba(210,222,238,0.82);
}

/* List */
.whitepaper-list {
 list-style: none;
 margin: 0 0 22px;
 padding: 0;
}
.whitepaper-list li {
 position: relative;
 padding: 9px 12px 9px 28px;
 margin-bottom: 6px;
 border-radius: 6px;
 background: rgba(255,255,255,0.025);
 color: rgba(210,222,238,0.82);
 font-size: 0.93rem;
 line-height: 1.65;
}
.whitepaper-list li::before {
 content: '✦';
 position: absolute;
 left: 10px;
 top: 11px;
 color: #e8d5b0;
 font-size: 0.6em;
}
.whitepaper-list li strong {
 color: #ffffff;
 font-weight: 700;
}

/* Pull quote */
.whitepaper-quote {
 margin: 32px 0;
 padding: 20px 28px;
 border-left: 3px solid #e8d5b0;
 background: rgba(232,213,176,0.05);
 border-radius: 0 8px 8px 0;
 font-style: italic;
 color: #e8d5b0;
 font-size: 0.97rem;
 line-height: 1.75;
}

/* VIVO allocation bars */
.vivo-allocation-bars {
 margin: 20px 0 28px;
 display: flex;
 flex-direction: column;
 gap: 16px;
}
.vivo-allocation-row {
 display: grid;
 grid-template-columns: 190px 1fr 52px;
 align-items: center;
 gap: 14px;
}
.vivo-allocation-label {
 font-size: 0.8rem;
 color: rgba(210,222,238,0.75);
 letter-spacing: 0.3px;
}
.vivo-allocation-track {
 height: 8px;
 border-radius: 6px;
 background: rgba(255,255,255,0.07);
 overflow: hidden;
}
.vivo-allocation-fill {
 height: 100%;
 border-radius: 6px;
 background: linear-gradient(90deg, #4a7ca8, #6990b7, #c8a84b);
}
.vivo-allocation-pct {
 font-family: 'Cinzel', serif;
 font-size: 0.82rem;
 color: #e8d5b0;
 text-align: right;
}
@media (max-width: 560px) {
 .vivo-allocation-row {
 grid-template-columns: 1fr 1fr;
 gap: 8px;
 }
 .vivo-allocation-track { grid-column: span 2; }
 .vivo-allocation-pct { text-align: left; }
}

/* Roadmap phases grid */
.whitepaper-roadmap {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 20px;
 margin: 20px 0 28px;
}
.whitepaper-roadmap-phase {
 background: rgba(255,255,255,0.03);
 border: 1px solid rgba(255,255,255,0.07);
 border-radius: 10px;
 padding: 20px 22px;
}
.whitepaper-roadmap-phase .whitepaper-h4 {
 margin-top: 0;
 margin-bottom: 12px;
 font-size: 0.78rem;
 color: #e8d5b0;
}
.whitepaper-roadmap-phase .whitepaper-list { margin-bottom: 0; }
@media (max-width: 680px) {
 .whitepaper-roadmap { grid-template-columns: 1fr; }
}

/* Back to library link */
.whitepaper-back-row {
 text-align: center;
 margin-top: 28px;
 margin-bottom: 60px;
}

@media (max-width: 600px) {
 .whitepaper-section-header {
 flex-direction: column;
 text-align: center;
 padding: 28px 24px;
 }
 .whitepaper-body {
 padding: 28px 22px;
 }
}

/* ==========================================================================
 GLOW UPDATE BATCH 7 — Archive card reorder, nav additions, Donations page
 ========================================================================== */

/* ------------------------------------------------------------------ 
 Haven Archives cards — button above logo, light-blue "View in Library"
 ------------------------------------------------------------------ */
.book-mockup-link .archive-card-body {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: flex-start;
 text-align: center;
 gap: 18px;
 flex: 1;
}
.book-mockup-link .archive-card-body h4 {
 text-align: center;
 margin: 0;
}
.book-mockup-link .archive-card-body .silver-button {
 margin-top: 0;
 order: 2;
}
.book-mockup-link .archive-card-body .archive-card-logo {
 order: 3;
}
/* Light-blue pill button, white text, centered */
.book-mockup-link .archive-card-body .silver-button {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 background: rgba(72, 145, 224, 0.85) !important;
 color: #ffffff !important;
 border: 1px solid rgba(120, 180, 255, 0.6) !important;
 border-radius: 24px;
 padding: 10px 26px !important;
 font-size: 11px;
 letter-spacing: 1.8px;
 white-space: nowrap;
 transition: all 0.3s ease;
}
.book-mockup-link:hover .archive-card-body .silver-button {
 background: rgba(102, 175, 255, 0.95) !important;
 color: #ffffff !important;
 box-shadow: 0 6px 18px rgba(72,145,224,0.4);
}
/* All archive logos same size & position */
.archive-card-logo {
 width: 60px;
 height: 60px;
 object-fit: contain;
 filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4));
}
.book-mockup-link.archive-card--true-love .archive-card-body {
 justify-content: center;
}

/* ------------------------------------------------------------------ 
 Nav: accommodate Donations + Whitepaper links
 ------------------------------------------------------------------ */
.nav-links-center {
 gap: 28px;
}
@media (max-width: 1300px) {
 .nav-links-center {
 gap: 18px;
 }
 .nav-links-center a {
 font-size: 11px;
 }
}
@media (max-width: 1100px) {
 .nav-links-center {
 gap: 14px;
 }
}

/* Highlight Donations link slightly */
.nav-links-center a[href="donations.html"] {
 color: var(--champagne);
 opacity: 0.95;
}
.nav-links-center a[href="donations.html"]:hover {
 color: #fff;
 text-shadow: 0 0 10px rgba(232,213,176,0.6);
}

/* ==========================================================================
 GLOW UPDATE BATCH 7 PART 2 — Donations page + accent-line fix
 ========================================================================== */

/* Site-wide fix: .accent-line was referenced but never defined */
.accent-line {
 width: 80px;
 height: 2px;
 background: linear-gradient(90deg, transparent, var(--champagne), transparent);
 border: none;
}

/* Highlight current nav link */
.nav-links-center a[aria-current="page"] {
 color: var(--champagne);
 opacity: 1;
 text-shadow: 0 0 10px rgba(232,213,176,0.5);
}

/* ==========================================================================
 DONATIONS PAGE — Hierarchy, color, contrast, whitespace
 ========================================================================== */

.donations-page {
 padding-top: 130px;
 padding-bottom: 0;
}

/* ---- Hero ---- */
.donations-hero {
 max-width: 740px;
 margin: 0 auto 20px;
 padding: 0 28px 52px;
 text-align: center;
 border-bottom: 1px solid rgba(255,255,255,0.07);
}
.donations-hero .sanctuary-page-eyebrow {
 color: #e8d5b0 !important;
 opacity: 1 !important;
 font-size: 0.8rem;
 letter-spacing: 3px;
 margin-bottom: 16px;
 display: block;
}
.donations-hero-title {
 font-size: 2.5rem;
 letter-spacing: 3px;
 color: #ffffff;
 margin-bottom: 18px;
 line-height: 1.2;
}
.donations-hero-sub {
 font-size: 1rem;
 line-height: 1.85;
 color: rgba(210,222,240,0.72);
 max-width: 580px;
 margin: 0 auto;
}

/* ---- Shared section ---- */
.donations-section {
 padding: 0 28px;
 margin-bottom: 72px;
}
.donations-section-title {
 font-size: 1.35rem;
 letter-spacing: 2.5px;
 color: #e8d5b0;
 margin-bottom: 18px;
 text-align: center;
}
.donations-body-text {
 font-family: "Montserrat", sans-serif;
 font-size: 0.97rem;
 line-height: 1.85;
 color: rgba(210,222,240,0.75);
 margin: 0 auto 18px;
 text-align: center;
 max-width: 680px;
}
.donations-inline-link {
 color: #a8c8f0;
 text-decoration: underline;
 text-decoration-color: rgba(168,200,240,0.35);
 transition: color 0.25s;
}
.donations-inline-link:hover { color: #ffffff; }

/* Intro card */
.donations-intro {
 max-width: 780px;
 margin: 0 auto 72px;
 padding: 40px 44px;
 background: rgba(255,255,255,0.025);
 border: 1px solid rgba(255,255,255,0.07);
 border-radius: 16px;
}

/* Quote */
.donations-quote-section {
 padding: 0 28px;
 margin-bottom: 72px;
}
.donations-quote {
 max-width: 780px;
 margin: 0 auto;
 padding: 36px 44px;
 border-left: 3px solid #e8d5b0;
 background: rgba(232,213,176,0.04);
 border-radius: 0 12px 12px 0;
}
.donations-quote p {
 font-style: italic;
 font-size: 0.96rem;
 line-height: 1.9;
 color: rgba(232,220,195,0.88);
 margin-bottom: 14px;
}
.donations-quote-cite {
 display: block;
 text-align: right;
 font-family: "Cinzel", serif;
 font-size: 0.8rem;
 letter-spacing: 2px;
 color: #e8d5b0;
}

/* ---- Option sections ---- */
.donations-option {
 max-width: 960px;
 margin: 0 auto 80px;
 padding: 0 28px;
 width: 100%;
 box-sizing: border-box;
}
.donations-option-header {
 display: flex;
 align-items: center;
 gap: 24px;
 margin-bottom: 40px;
 padding: 28px 36px;
 border-radius: 14px;
}
.donations-option--haven .donations-option-header {
 background: linear-gradient(135deg, rgba(35,72,118,0.55), rgba(15,30,55,0.75));
 border: 1px solid rgba(105,144,183,0.3);
}
.donations-option--sea .donations-option-header {
 background: linear-gradient(135deg, rgba(18,62,102,0.55), rgba(10,30,55,0.75));
 border: 1px solid rgba(72,123,166,0.3);
}
.donations-option-logo {
 width: 68px;
 height: 68px;
 object-fit: contain;
 flex-shrink: 0;
 filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}
.donations-option-title {
 font-family: "Cinzel", serif;
 font-size: 1.25rem;
 letter-spacing: 2px;
 margin: 0 0 8px;
}
.donations-option--haven .donations-option-title { color: #b8d4ee; }
.donations-option--sea .donations-option-title { color: #8fc4ee; }
.donations-option-desc {
 font-family: "Montserrat", sans-serif;
 font-size: 0.9rem;
 line-height: 1.7;
 margin: 0;
}
.donations-option--haven .donations-option-desc { color: rgba(184,212,238,0.65); }
.donations-option--sea .donations-option-desc { color: rgba(143,196,238,0.65); }
@media (max-width: 600px) {
 .donations-option-header { flex-direction: column; text-align: center; padding: 24px 20px; }
}

/* ---- Tier grid: align-items:end ensures all buttons on same horizontal line ---- */
.donations-tier-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 22px;
 align-items: stretch;
 max-width: 920px;
 margin: 0 auto;
 width: 100%;
 box-sizing: border-box;
}

/* Base card */
.donations-tier-card {
 position: relative;
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 padding: 36px 22px 28px;
 border-radius: 16px;
 border: 1px solid rgba(255,255,255,0.08);
 box-shadow: 0 10px 30px rgba(0,0,0,0.3);
 transition: transform 0.35s cubic-bezier(0.165,0.84,0.44,1), box-shadow 0.35s ease, border-color 0.3s ease;
 width: 100%;
 box-sizing: border-box;
 min-height: 300px;
}
.donations-tier-card:hover {
 transform: translateY(-7px);
 box-shadow: 0 20px 44px rgba(0,0,0,0.42);
}

/* Haven card colours — 3 distinct shades of steel-blue */
.donations-option--haven .donations-tier-card:nth-child(1) {
 background: linear-gradient(170deg, rgba(28,58,98,0.82), rgba(12,24,44,0.95));
 border-color: rgba(105,144,183,0.2);
}
.donations-option--haven .donations-tier-card:nth-child(2) {
 background: linear-gradient(170deg, rgba(42,82,135,0.92), rgba(18,36,65,0.98));
 border-color: rgba(105,144,183,0.55);
}
.donations-option--haven .donations-tier-card:nth-child(3) {
 background: linear-gradient(170deg, rgba(22,48,82,0.82), rgba(10,20,38,0.95));
 border-color: rgba(105,144,183,0.2);
}

/* Sea Haven card colours — 3 distinct ocean-teal shades */
.donations-option--sea .donations-tier-card:nth-child(1) {
 background: linear-gradient(170deg, rgba(14,54,88,0.82), rgba(8,22,40,0.95));
 border-color: rgba(72,123,166,0.2);
}
.donations-option--sea .donations-tier-card:nth-child(2) {
 background: linear-gradient(170deg, rgba(18,74,122,0.92), rgba(8,28,52,0.98));
 border-color: rgba(72,123,166,0.58);
}
.donations-option--sea .donations-tier-card:nth-child(3) {
 background: linear-gradient(170deg, rgba(10,44,74,0.82), rgba(5,16,32,0.95));
 border-color: rgba(72,123,166,0.2);
}

/* Badge */
.donations-tier-badge {
 position: absolute;
 top: -13px;
 left: 50%;
 transform: translateX(-50%);
 font-family: "Cinzel", serif;
 font-size: 0.62rem;
 letter-spacing: 1.5px;
 text-transform: uppercase;
 padding: 5px 16px;
 border-radius: 20px;
 white-space: nowrap;
 box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}
.donations-option--haven .donations-tier-badge { background: #6990b7; color: #fff; }
.donations-option--sea .donations-tier-badge { background: #4a8abf; color: #fff; }

.donations-tier-label {
 font-family: "Cinzel", serif;
 font-size: 0.68rem;
 letter-spacing: 2.5px;
 text-transform: uppercase;
 color: rgba(210,222,240,0.4);
 margin-bottom: 2px;
}
.donations-tier-amount {
 font-family: "Cinzel", serif;
 font-size: 2.4rem;
 font-weight: 700;
 color: #ffffff;
 line-height: 1;
 margin: 8px 0 14px;
}
.donations-tier-desc {
 font-family: "Montserrat", sans-serif;
 font-size: 0.83rem;
 line-height: 1.65;
 color: rgba(190,210,235,0.6);
 flex: 1;
 margin-bottom: 20px;
}

/* Button — identical height so they sit on the same horizontal line across all 3 */
.donations-tier-btn {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 100%;
 padding: 12px 14px;
 border-radius: 28px;
 font-family: "Cinzel", serif;
 font-size: 0.7rem;
 letter-spacing: 1.4px;
 text-transform: uppercase;
 text-decoration: none;
 border: 1px solid transparent;
 transition: all 0.3s ease;
 white-space: nowrap;
}
.donations-option--haven .donations-tier-btn {
 background: rgba(105,144,183,0.85);
 color: #fff;
 border-color: rgba(150,190,230,0.4);
}
.donations-option--haven .donations-tier-btn:hover {
 background: #7aacda;
 box-shadow: 0 8px 22px rgba(105,144,183,0.4);
}
.donations-option--sea .donations-tier-btn {
 background: rgba(72,123,166,0.85);
 color: #fff;
 border-color: rgba(100,170,220,0.4);
}
.donations-option--sea .donations-tier-btn:hover {
 background: #5ba0d4;
 box-shadow: 0 8px 22px rgba(72,123,166,0.4);
}

@media (max-width: 820px) {
 .donations-tier-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ---- Custom contribution ---- */
.donations-custom-card {
 max-width: 620px;
 margin: 0 auto;
 padding: 48px 44px;
 width: 100%;
 box-sizing: border-box;
 border-radius: 18px;
 background: linear-gradient(145deg, rgba(232,213,176,0.07), rgba(8,16,30,0.88));
 border: 1px solid rgba(232,213,176,0.2);
 box-shadow: 0 16px 40px rgba(0,0,0,0.35);
 text-align: center;
}
.donations-custom-icon {
 font-size: 2rem;
 color: #e8d5b0;
 margin-bottom: 20px;
 display: block;
}
.donations-custom-btn-row {
 display: flex;
 gap: 16px;
 justify-content: center;
 flex-wrap: wrap;
 margin-top: 24px;
}
.donations-custom-btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 14px 32px;
 border-radius: 30px;
 font-family: "Cinzel", serif;
 font-size: 0.78rem;
 letter-spacing: 1.8px;
 text-transform: uppercase;
 text-decoration: none;
 transition: all 0.3s ease;
 flex: 1 1 200px;
 max-width: 260px;
}
.donations-custom-btn:not(.donations-custom-btn--sea) {
 background: #e8d5b0;
 color: #14243a;
 box-shadow: 0 6px 20px rgba(232,213,176,0.22);
}
.donations-custom-btn:not(.donations-custom-btn--sea):hover {
 background: #fff;
 transform: translateY(-3px);
 box-shadow: 0 10px 28px rgba(232,213,176,0.35);
}
.donations-custom-btn--sea {
 background: rgba(72,123,166,0.85);
 color: #cce4f8;
 border: 1px solid rgba(100,170,220,0.4);
}
.donations-custom-btn--sea:hover {
 background: #5ba0d4;
 color: #fff;
 transform: translateY(-3px);
 box-shadow: 0 10px 28px rgba(72,123,166,0.38);
}
@media (max-width: 480px) {
 .donations-custom-btn-row { flex-direction: column; align-items: center; }
 .donations-custom-btn { max-width: 100%; width: 100%; }
}

/* ---- Notice ---- */
.donations-notice { margin-bottom: 90px; }
.donations-notice-box {
 max-width: 760px;
 margin: 0 auto;
 display: flex;
 align-items: flex-start;
 gap: 20px;
 padding: 28px 36px;
 border-radius: 12px;
 background: rgba(255,180,80,0.05);
 border: 1px solid rgba(255,180,80,0.22);
}
.donations-notice-icon { font-size: 1.5rem; color: #ffb450; flex-shrink: 0; margin-top: 3px; }
.donations-notice-title { font-family: "Cinzel", serif; font-size: 0.88rem; letter-spacing: 1.5px; color: #ffb450; margin: 0 0 8px; }
.donations-notice-text { font-family: "Montserrat", sans-serif; font-size: 0.85rem; line-height: 1.7; color: rgba(255,200,120,0.7); margin: 0; }
@media (max-width: 600px) {
 .donations-notice-box { flex-direction: column; text-align: center; }
 .donations-notice-icon { margin: 0 auto; }
 .donations-hero-title { font-size: 1.8rem; }
 .donations-intro { padding: 28px 22px; }
 .donations-quote { padding: 24px 22px; }
 .donations-custom-card { padding: 32px 22px; }
}

/* ==========================================================================
 GLOW UPDATE BATCH 9 — Bigger Sea Haven logos (archives, library, merch)
 ========================================================================== */

/* Homepage Haven Archives card */
.archive-card--sea .archive-card-logo {
 width: 84px;
 height: 84px;
}

/* Library card */
.archive-book-card--wide .book-cover-logo img[alt="Sea Haven"] {
 width: 110px !important;
 height: 110px !important;
}

/* Outfitters (merch) card */
.merch-card-logo img[alt="Sea Haven"] {
 width: 88px !important;
 height: 88px !important;
}

/* ==========================================================================
 DONATIONS — Final centering fix (clean, no duplicates)
 ========================================================================== */

/* Custom contribution section — center the card */
.donations-custom .contact-container {
 display: flex;
 justify-content: center;
 width: 100%;
}

/* Tier desc — same min-height forces equal card height across both sections */
.donations-tier-desc {
 min-height: 72px;
}

/* Ensure Haven and Sea Haven grids are identical width/centering */
.donations-option--haven .donations-tier-grid,
.donations-option--sea .donations-tier-grid {
 max-width: 920px;
 margin: 0 auto;
 width: 100%;
}

/* ==========================================================================
 DONATIONS — Wide inner wrapper (replaces contact-container 700px cap)
 ========================================================================== */
.donations-page-inner {
 max-width: 960px;
 width: 100%;
 margin: 0 auto;
 padding: 0 24px;
 box-sizing: border-box;
}

/* ==========================================================================
 GLOW UPDATE BATCH 10
 ========================================================================== */

/* ---- Task 4: Bigger sea haven logo in whitepaper section header ---- */
.whitepaper-section-logo--sea {
 width: 100px !important;
 height: 100px !important;
}

/* ---- Task 6: Adopt a Guardian disclaimer ---- */
.adopt-disclaimer {
 display: flex;
 align-items: flex-start;
 gap: 14px;
 margin-top: 32px;
 padding: 18px 24px;
 border-radius: 10px;
 background: rgba(72, 123, 166, 0.08);
 border: 1px solid rgba(72, 123, 166, 0.3);
 text-align: left;
}
.adopt-disclaimer--top {
 margin-top: 20px;
 margin-bottom: 32px;
}
.adopt-disclaimer-icon {
 font-size: 1.1rem;
 color: #6fb3e8;
 flex-shrink: 0;
 margin-top: 2px;
}
.adopt-disclaimer-text {
 font-size: 0.82rem !important;
 line-height: 1.65 !important;
 color: rgba(180, 210, 235, 0.8) !important;
 margin: 0 !important;
 opacity: 1 !important;
}
.adopt-disclaimer-text strong {
 color: #8fc4ee;
 font-weight: 700;
}

/* ==========================================================================
 GLOW BATCH 11 — Library cards: all zones horizontally aligned
 ========================================================================== */

/* Grid row stays horizontal, cards stretch to same height */
.library-grid-row {
 display: flex !important;
 flex-direction: row !important;
 flex-wrap: nowrap !important;
 align-items: stretch !important;
 justify-content: center !important;
 gap: 24px !important;
 max-width: 1100px !important;
 margin: 0 auto 40px !important;
}

/* Each card uses CSS grid with 4 fixed rows:
 1) logo zone 2) title zone 3) focus text zone 4) button */
.archive-book-card--wide {
 flex: 1 1 0 !important;
 min-width: 0 !important;
 max-width: 340px !important;
 display: grid !important;
 grid-template-rows: 130px 90px 1fr auto !important;
 padding: 28px 24px 28px !important;
 box-sizing: border-box;
}

/* Zone 1 — logo: fixed height, centered */
.archive-book-card--wide .book-cover-wrapper {
 display: flex;
 align-items: center;
 justify-content: center;
}
.archive-book-card--wide .book-cover--no-spine {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 0;
 padding: 0;
 min-height: unset;
}
.archive-book-card--wide .book-cover-logo {
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 0;
}

/* Zone 2 — title block: fixed height, centered */
.archive-book-card--wide .book-title-block {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 text-align: center;
 height: 90px;
}
.archive-book-card--wide .book-title-block h3 {
 margin: 0 0 4px;
}
.archive-book-card--wide .book-title-block span {
 font-size: 0.85rem;
 opacity: 0.7;
}

/* Zone 3 — focus text: fills remaining space, text top-aligned */
.archive-book-card--wide .book-info-block {
 display: flex !important;
 flex-direction: column !important;
 align-items: center !important;
 justify-content: flex-start !important;
 margin-top: 20px !important;
 padding: 0 !important;
}
.archive-book-card--wide .book-info-block p {
 width: 100%;
 margin-bottom: 20px !important;
 min-height: unset !important;
 text-align: center;
}

/* Zone 4 — button: auto height, always at bottom */
.archive-book-card--wide .btn-download-pdf {
 width: 100%;
 box-sizing: border-box;
 display: flex;
 align-items: center;
 justify-content: center;
 margin-top: 0;
}

/* Collapse to column on mobile */
@media (max-width: 820px) {
 .library-grid-row {
 flex-direction: column !important;
 align-items: center !important;
 }
 .archive-book-card--wide {
 width: 100% !important;
 max-width: 420px !important;
 grid-template-rows: auto auto 1fr auto !important;
 }
}

/* ==========================================================================
 LIBRARY CARDS — Clean aligned layout (no overlap, buttons centered)
 ========================================================================== */

/* Row: horizontal, equal height cards */
.library-grid-row {
 display: flex !important;
 flex-direction: row !important;
 flex-wrap: nowrap !important;
 align-items: stretch !important;
 justify-content: center !important;
 gap: 24px !important;
 max-width: 1100px !important;
 margin: 0 auto 40px !important;
}

/* Card: flex column so button sticks to bottom */
.archive-book-card--wide {
 flex: 1 1 0 !important;
 min-width: 0 !important;
 max-width: 340px !important;
 display: flex !important;
 flex-direction: column !important;
 align-items: center !important;
 text-align: center !important;
 padding: 32px 24px 28px !important;
 box-sizing: border-box !important;
}

/* Logo zone — fixed 120px so all logos sit at same horizontal level */
.archive-book-card--wide .book-cover-wrapper {
 width: 100%;
 height: 120px;
 display: flex;
 justify-content: center;
 align-items: center;
 flex-shrink: 0;
 margin-bottom: 24px;
}
.archive-book-card--wide .book-cover--no-spine {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 padding: 0;
 min-height: unset;
 gap: 0;
}
.archive-book-card--wide .book-cover-logo {
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0;
}

/* Title zone — fixed 72px: h3 only, subtitle hidden so titles align perfectly */
.archive-book-card--wide .book-title-block {
 width: 100%;
 height: 72px;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 text-align: center;
 flex-shrink: 0;
 margin-bottom: 20px;
}
.archive-book-card--wide .book-title-block h3 {
 margin: 0;
 text-align: center;
 font-size: 1.05rem;
 letter-spacing: 2.5px;
}
/* Hide subtitle (Master Whitepaper / Strategy & Governance etc) — it breaks alignment */
.archive-book-card--wide .book-title-block span {
 display: none;
}

/* Separator line between title and focus text */
.archive-book-card--wide .book-title-block::after {
 content: '';
 display: block;
 width: 40px;
 height: 1px;
 background: rgba(232,213,176,0.3);
 margin: 10px auto 0;
}

/* Info block — flex:1 so it fills remaining space, focus text top-aligned */
.archive-book-card--wide .book-info-block {
 width: 100%;
 flex: 1 !important;
 display: flex !important;
 flex-direction: column !important;
 align-items: center !important;
 justify-content: flex-start !important;
 margin-top: 0 !important;
 padding: 0 12px !important;
}
.archive-book-card--wide .book-info-block p.montserrat-text {
 flex: 1;
 width: 100%;
 text-align: center;
 font-size: 0.92rem;
 line-height: 1.75;
 margin-bottom: 28px !important;
 min-height: unset !important;
}

/* Button — centered, never touches card edges */
.archive-book-card--wide .btn-download-pdf {
 width: calc(100% - 24px) !important;
 max-width: 240px;
 box-sizing: border-box !important;
 display: flex !important;
 align-items: center !important;
 justify-content: center !important;
 margin: 0 auto !important;
 flex-shrink: 0;
 padding: 14px 20px !important;
}

/* Mobile: stack vertically */
@media (max-width: 820px) {
 .library-grid-row {
 flex-direction: column !important;
 align-items: center !important;
 }
 .archive-book-card--wide {
 width: 100% !important;
 max-width: 400px !important;
 }
}

/* ==========================================================================
 LIBRARY BUTTON FIX — text contained inside button, no overflow
 ========================================================================== */
.archive-book-card--wide .btn-download-pdf {
 width: calc(100% - 32px) !important;
 max-width: 220px !important;
 min-height: 48px;
 padding: 12px 18px !important;
 font-size: 0.7rem !important;
 letter-spacing: 1.5px !important;
 white-space: nowrap !important;
 overflow: hidden !important;
 text-overflow: ellipsis !important;
 border-radius: 30px !important;
 box-sizing: border-box !important;
 display: flex !important;
 align-items: center !important;
 justify-content: center !important;
 margin: 0 auto !important;
 text-align: center !important;
}

/* ==========================================================================
 LIBRARY BUTTON — Single line "READ WHITEPAPER" fix
 ========================================================================== */
.archive-book-card--wide .btn-download-pdf {
 white-space: nowrap !important;
 width: auto !important;
 min-width: 200px !important;
 max-width: calc(100% - 32px) !important;
 padding: 14px 24px !important;
 font-size: 0.68rem !important;
 letter-spacing: 1.8px !important;
 line-height: 1 !important;
 height: auto !important;
 min-height: 48px !important;
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;
 text-align: center !important;
 box-sizing: border-box !important;
 margin: 0 auto !important;
 overflow: visible !important;
 word-break: normal !important;
 overflow-wrap: normal !important;
}
/* Ensure the button zone doesn't clip it */
.archive-book-card--wide .book-info-block {
 overflow: visible !important;
 padding: 0 16px !important;
 align-items: center !important;
}

/* ==========================================================================
 LIBRARY BUTTON — Center aligned, not touching edges
 ========================================================================== */
.archive-book-card--wide .book-info-block {
 display: flex !important;
 flex-direction: column !important;
 align-items: center !important;
}
.archive-book-card--wide .btn-download-pdf {
 width: auto !important;
 min-width: 180px !important;
 max-width: 80% !important;
 margin: 0 auto !important;
 align-self: center !important;
}

/* ==========================================================================
 LIBRARY BUTTON — FINAL centering fix
 inline-flex ignores margin:auto — must use flex on parent to center
 ========================================================================== */
.library-grid-row .archive-book-card--wide .book-info-block {
 display: flex !important;
 flex-direction: column !important;
 align-items: center !important;
 width: 100% !important;
}
.library-grid-row .archive-book-card--wide .btn-download-pdf {
 display: flex !important; /* NOT inline-flex */
 width: fit-content !important;
 min-width: 180px !important;
 max-width: calc(100% - 48px) !important;
 margin-left: auto !important;
 margin-right: auto !important;
 align-self: center !important;
 white-space: nowrap !important;
}

/* ==========================================================================
 MERCH COMING SOON PAGE
 ========================================================================== */
.merch-soon-main {
 min-height: 80vh;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 160px 20px 80px;
 position: relative;
}
.merch-soon-stage {
 position: relative;
 width: 100%;
 max-width: 900px;
 min-height: 480px;
 display: flex;
 align-items: center;
 justify-content: center;
}
.merch-soon-bf {
 position: absolute;
}
.merch-soon-bf svg {
 width: 100%;
 height: 100%;
 display: block;
 animation: bf-wingflap 2.4s ease-in-out infinite alternate;
}
.merch-soon-card-wrap {
 position: relative;
 z-index: 4;
 width: 100%;
 display: flex;
 justify-content: center;
}
.merch-soon-card {
 position: relative;
 max-width: 560px;
 width: 100%;
 text-align: center;
 padding: 56px 44px 48px;
 display: flex;
 flex-direction: column;
 align-items: center;
}
.merch-soon-icon {
 width: 84px;
 height: 84px;
 object-fit: contain;
 margin-bottom: 18px;
 animation: emblem-float 4.5s ease-in-out infinite;
 filter: drop-shadow(0 0 18px rgba(232, 213, 176, 0.35));
}
.merch-soon-headline {
 font-size: 2.1rem;
 letter-spacing: 3px;
 margin: 6px 0 0;
 color: var(--white);
}
.merch-soon-copy {
 font-size: 0.98rem;
 line-height: 1.85;
 opacity: 0.8;
 max-width: 420px;
 margin: 0 auto 32px;
}
.merch-soon-btn {
 display: inline-block;
}
@media (max-width: 720px) {
 .merch-soon-stage { min-height: 380px; }
 .merch-soon-card { padding: 44px 28px 36px; }
 .merch-soon-headline { font-size: 1.6rem; letter-spacing: 2px; }
}

/* ==========================================================================
 MERCH / OUTFITTERS PAGE — MOBILE COMPACT FIX
 Keeps all text/elements within the viewport on small screens.
 Scoped to .merch-page so desktop and other pages are unaffected.
 ========================================================================== */
@media (max-width: 600px) {
 .merch-page {
 padding-left: 14px !important;
 padding-right: 14px !important;
 padding-top: 110px !important;
 }
 .merch-page .contact-container {
 max-width: 100%;
 }
 .merch-page h1.cinzel-header {
 font-size: 1.6rem !important;
 letter-spacing: 2px !important;
 line-height: 1.35;
 }
 .merch-page .la-belle-accent {
 font-size: 1.1rem !important;
 }
 .merch-page > .contact-container > .centered-text {
 margin-bottom: 36px !important;
 }
 .merch-page p.montserrat-text {
 font-size: 0.85rem !important;
 max-width: 100% !important;
 padding: 0 4px;
 }
 .merch-grid-row--wider {
 grid-template-columns: 1fr !important;
 max-width: 100% !important;
 width: 100%;
 gap: 18px !important;
 margin: 0 0 32px !important;
 }
 .merch-card--wider {
 min-width: 0 !important;
 max-width: 100% !important;
 width: 100%;
 padding: 26px 20px 24px !important;
 min-height: auto;
 }
 .merch-card--wider h2.cinzel-header {
 font-size: 1.15rem !important;
 letter-spacing: 1px !important;
 }
 .merch-card--wider p.montserrat-text {
 font-size: 0.85rem !important;
 margin-bottom: 22px !important;
 padding: 0;
 }
 .merch-card-logo img {
 width: 48px !important;
 height: 48px !important;
 }
 .merch-explore-btn {
 font-size: 0.78rem !important;
 padding: 12px 18px !important;
 letter-spacing: 1px !important;
 white-space: nowrap;
 }
}
@media (max-width: 380px) {
 .merch-page h1.cinzel-header {
 font-size: 1.35rem !important;
 letter-spacing: 1px !important;
 }
 .merch-card--wider {
 padding: 22px 16px 20px !important;
 }
}

/* ==========================================================================
 CONTACT PAGE FIXES
 ========================================================================== */
/* Fix: native was unstyled and could overflow its form card */
.select-wrapper {
 position: relative;
 width: 100%;
}
.select-wrapper select {
 width: 100%;
 box-sizing: border-box;
 appearance: none;
 -webkit-appearance: none;
 -moz-appearance: none;
 background: rgba(255, 255, 255, 0.03);
 border: 1px solid rgba(255, 255, 255, 0.1);
 padding: 16px 40px 16px 16px;
 color: var(--white);
 font-family: 'Montserrat', sans-serif;
 font-size: 0.95rem;
 outline: none;
 transition: var(--transition-standard);
 cursor: pointer;
}
.select-wrapper select:focus {
 border-color: var(--silver-accent);
 background: rgba(255, 255, 255, 0.06);
}
.select-wrapper select option {
 background: var(--sanctuary-blue);
 color: var(--white);
}
.select-wrapper::after {
 content: '\f078';
 font-family: 'Font Awesome 6 Free';
 font-weight: 900;
 position: absolute;
 right: 16px;
 top: 50%;
 transform: translateY(-50%);
 font-size: 0.8rem;
 color: var(--silver-accent);
 pointer-events: none;
}

/* Fix: "Donate to the Sanctuary Fund" wrapping onto two lines inside the card */
.standard-glow-btn {
 white-space: nowrap;
 display: inline-block;
 padding: 16px 30px;
 max-width: 100%;
 box-sizing: border-box;
}
/* Mobile-specific sizing lives in the @media (max-width: 480px) block above,
 alongside .silver-bordered-box / .donation-footer-block padding adjustments,
 so all three scale down together and the button never overflows its card. */

/* ------------------------------------------------------------------
 FIX 6: Sanctuary (The Haven) hamburger menu — belt-and-suspenders.
 Forces the nav overlay panel to always render fully opaque and on
 top of the animated background, regardless of page theme.
 ------------------------------------------------------------------ */
.page-theme-haven .nav-pages-overlay,
.page-has-animated-bg .nav-pages-overlay {
 z-index: 2147483647 !important;
 height: 100vh !important;
 height: 100dvh !important;
 width: 100vw !important;
}
.page-theme-haven .nav-pages-panel,
.page-has-animated-bg .nav-pages-panel {
 background: rgb(10, 22, 40) !important;
 opacity: 1 !important;
}
.page-theme-haven .nav-pages-backdrop,
.page-has-animated-bg .nav-pages-backdrop {
 z-index: 1 !important;
}
.page-theme-haven .nav-more-toggle,
.page-has-animated-bg .nav-more-toggle {
 position: relative;
 z-index: 10060;
 pointer-events: auto !important;
}


/* ==========================================================================
 XVI. COMMUNITIES & SOCIAL — swipe carousel page
 ========================================================================== */
.communities-page {
 position: relative;
 overflow-x: hidden;
}
.communities-float-bg {
 position: fixed;
 inset: 0;
 z-index: 0;
 pointer-events: none;
 overflow: hidden;
}
.communities-float-layer {
 position: absolute;
 inset: -12%;
 filter: blur(10px);
 -webkit-filter: blur(10px);
 opacity: 0.48;
}
.communities-float-img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center top;
 user-select: none;
 -webkit-user-drag: none;
}
.communities-float-img--a {
 animation: communities-bg-pan-a 42s ease-in-out infinite alternate;
 opacity: 0.9;
}
.communities-float-img--b {
 animation: communities-bg-pan-b 54s ease-in-out infinite alternate;
 opacity: 0.45;
 mix-blend-mode: screen;
 transform: scale(1.18);
}
.communities-float-veil {
 position: absolute;
 inset: 0;
 background:
  radial-gradient(ellipse at 50% 18%, rgba(8, 16, 30, 0.35), transparent 55%),
  linear-gradient(180deg, rgba(6, 12, 24, 0.72) 0%, rgba(6, 14, 28, 0.78) 45%, rgba(4, 10, 20, 0.88) 100%);
}
@keyframes communities-bg-pan-a {
 0% { transform: scale(1.12) translate(-2.5%, -1.5%); }
 50% { transform: scale(1.18) translate(2%, 1.2%); }
 100% { transform: scale(1.14) translate(-1.2%, 2%); }
}
@keyframes communities-bg-pan-b {
 0% { transform: scale(1.22) translate(3%, 2%) rotate(0.4deg); }
 100% { transform: scale(1.28) translate(-3.5%, -2.5%) rotate(-0.6deg); }
}
.communities-platform-svg {
 width: 24px;
 height: 24px;
 display: block;
}
.communities-main {
 position: relative;
 z-index: 2;
 padding: 120px 20px 80px;
 max-width: 1180px;
 margin: 0 auto;
}
.communities-hero {
 margin-bottom: 40px;
 animation: communities-fade-up 0.8s ease-out both;
}
.communities-hero h1 {
 font-size: clamp(1.6rem, 4vw, 2.4rem);
 letter-spacing: 4px;
 margin-bottom: 8px;
 text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.communities-hero-rule {
 margin: 20px auto;
}
.communities-hero-lead {
 max-width: 560px;
 margin: 0 auto;
 opacity: 0.92;
 line-height: 1.85;
 font-size: 0.98rem;
 color: rgba(255, 255, 255, 0.92);
 text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
@keyframes communities-fade-up {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
}
.communities-grid {
 display: grid;
 grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
 gap: 18px;
 margin-bottom: 20px;
 align-items: start;
 animation: communities-fade-up 0.8s ease-out 0.12s both;
}
.communities-grid-side {
 display: flex;
 flex-direction: column;
 gap: 18px;
 min-width: 0;
}
.communities-card {
 padding: 18px 16px 16px;
 border-radius: 14px;
 position: relative;
 overflow: hidden;
 background: rgba(10, 22, 40, 0.92) !important;
 border: 1px solid rgba(232, 213, 176, 0.28) !important;
 box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.communities-card--compact .communities-card-header h2 {
 font-size: clamp(0.9rem, 1.7vw, 1.08rem);
}
.communities-card:hover {
 transform: translateY(-3px);
 border-color: rgba(232, 213, 176, 0.45) !important;
 box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48), 0 0 24px rgba(72, 201, 176, 0.1);
}
.communities-card-glow {
 position: absolute;
 inset: -20%;
 pointer-events: none;
 animation: communities-card-glow 6s ease-in-out infinite;
}
.communities-card--haven .communities-card-glow {
 background: radial-gradient(circle at 50% 0%, rgba(232, 213, 176, 0.16), transparent 55%);
}
.communities-card--turtle .communities-card-glow,
.communities-card--baby .communities-card-glow {
 background: radial-gradient(circle at 50% 0%, rgba(72, 201, 176, 0.18), transparent 55%);
}
.communities-card--solstice .communities-card-glow {
 background: radial-gradient(circle at 50% 0%, rgba(200, 80, 60, 0.14), transparent 55%);
}
@keyframes communities-card-glow {
 0%, 100% { opacity: 0.6; }
 50% { opacity: 1; }
}
.communities-card-header {
 position: relative;
 z-index: 1;
 text-align: center;
 margin-bottom: 10px;
}
.communities-card-kicker {
 display: inline-block;
 font-family: 'Montserrat', sans-serif;
 font-size: 0.62rem;
 letter-spacing: 2.5px;
 text-transform: uppercase;
 color: var(--aurora-green);
 margin-bottom: 5px;
 opacity: 0.95;
}
.communities-card-header h2 {
 font-size: clamp(0.95rem, 2vw, 1.18rem);
 letter-spacing: 2px;
 color: var(--champagne);
 margin-bottom: 3px;
 text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.communities-card-tagline {
 font-size: 0.78rem;
 opacity: 0.8;
 font-style: italic;
 color: rgba(255, 255, 255, 0.88);
 margin: 0;
 line-height: 1.35;
}
.communities-link-list {
 position: relative;
 z-index: 1;
 list-style: none;
 margin: 0;
 padding: 0;
 display: flex;
 flex-direction: column;
 gap: 7px;
}
.communities-link-card {
 display: flex;
 align-items: center;
 gap: 12px;
 padding: 10px 12px;
 border-radius: 10px;
 border: 1px solid rgba(255, 255, 255, 0.12);
 background: rgba(255, 255, 255, 0.06);
 text-decoration: none;
 color: var(--white);
 transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
 border-color 0.35s ease,
 background 0.35s ease,
 box-shadow 0.35s ease;
}
.communities-link-card:hover,
.communities-link-card:focus-visible {
 transform: translateX(4px) translateY(-2px);
 border-color: rgba(232, 213, 176, 0.5);
 background: rgba(255, 255, 255, 0.1);
 box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
 outline: none;
}
.communities-link-icon {
 flex-shrink: 0;
 width: 42px;
 height: 42px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 10px;
 font-size: 1.2rem;
 background: rgba(255, 255, 255, 0.08);
 border: 1px solid rgba(255, 255, 255, 0.1);
 transition: transform 0.35s ease;
 overflow: hidden;
}
.communities-link-icon--brand {
 padding: 6px;
 background: rgba(255, 255, 255, 0.95);
 border-color: rgba(255, 255, 255, 0.35);
}
.communities-link-card:hover .communities-link-icon {
 transform: scale(1.08);
}
.communities-brand-logo {
 width: 100%;
 height: 100%;
 object-fit: contain;
 display: block;
}
.communities-brand-logo--me {
 width: 30px;
 height: 30px;
}
.communities-brand-logo--launch {
 width: 32px;
 height: 32px;
 border-radius: 6px;
}
.communities-link-card--discord .communities-link-icon { color: #5865f2; border-color: rgba(88, 101, 242, 0.45); background: rgba(88, 101, 242, 0.12); }
.communities-link-card--x .communities-link-icon { color: var(--white); background: rgba(0, 0, 0, 0.35); border-color: rgba(255, 255, 255, 0.2); }
.communities-link-card--facebook .communities-link-icon { color: #1877f2; border-color: rgba(24, 119, 242, 0.45); background: rgba(24, 119, 242, 0.12); }
.communities-link-card--instagram .communities-link-icon {
 color: #e1306c;
 border-color: rgba(225, 48, 108, 0.4);
 background: linear-gradient(135deg, rgba(225, 48, 108, 0.16), rgba(253, 200, 48, 0.1));
}
.communities-link-card--me .communities-link-icon--brand {
 border-color: rgba(168, 85, 247, 0.35);
}
.communities-link-card--launch .communities-link-icon--brand {
 border-color: rgba(232, 213, 176, 0.4);
 background: #151719;
}
.communities-link-text {
 flex: 1;
 min-width: 0;
 display: flex;
 flex-direction: column;
 gap: 2px;
 text-align: left;
}
.communities-link-label {
 font-family: 'Montserrat', sans-serif;
 font-size: 0.68rem;
 letter-spacing: 2px;
 text-transform: uppercase;
 opacity: 0.7;
 color: rgba(255, 255, 255, 0.85);
}
.communities-link-name {
 font-family: 'Cinzel', serif;
 font-size: 0.92rem;
 letter-spacing: 1px;
 font-weight: 700;
 color: var(--white);
}
.communities-link-go {
 flex-shrink: 0;
 opacity: 0.5;
 font-size: 0.85rem;
 color: var(--champagne);
 transition: opacity 0.3s ease, transform 0.3s ease;
}
.communities-link-card:hover .communities-link-go {
 opacity: 1;
 transform: translate(2px, -2px);
}
.communities-funds-note {
 font-size: 1.35rem;
 color: var(--champagne);
 margin-top: 48px;
 opacity: 0.95;
 text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
 animation: communities-fade-up 0.8s ease-out 0.25s both;
}
@media (max-width: 900px) {
 .communities-grid {
 grid-template-columns: 1fr;
 gap: 14px;
 }
 .communities-grid-side {
 gap: 14px;
 }
 .communities-card {
 padding: 16px 14px 14px;
 }
}
@media (max-width: 991px) {
 .nav-links-center a[href="communities.html"] {
 display: none;
 }
}
@media (min-width: 992px) {
 .nav-links-center {
 gap: 28px;
 }
 .nav-links-center a {
 font-size: 11px;
 }
}
@media (prefers-reduced-motion: reduce) {
 .communities-float-img--a,
 .communities-float-img--b,
 .communities-card-glow {
 animation: none !important;
 }
 .communities-float-layer {
 filter: blur(8px);
 -webkit-filter: blur(8px);
 }
}
