/* AI Apollo — Memories Page Styles */
/* Extracted from inline <style> */

        /* ================================================================
   MEMORIES.HTML — PAGE-SPECIFIC STYLES
   ICU to Home — Dr. Jay Kothari
   Production page, connects to ./api/memories.php
================================================================ */
        /* ── DESIGN TOKEN EXTENSIONS ─────────────────────────────── */
        :root {
            --font-handwritten: 'Caveat', cursive;
            --bg-warm: #FFFBF7;
            --bg-section: #F0F2F8;
        }
        /* ── BASE ────────────────────────────────────────────────── */
        body {
            font-family: var(--font-body);
            background: var(--bg-primary);
            color: var(--text-body);
            overflow-x: hidden;
            line-height: 1.7;
        }
        /* ── CURSOR GLOW (matches site) ─────────────────────────── */
        #cursor-glow {
            position: fixed;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
            pointer-events: none;
            transform: translate(-50%, -50%);
            transition: left 0.12s ease, top 0.12s ease;
            z-index: 0;
            left: -999px;
            top: -999px;
        }
        /* ── SCROLL REVEAL BASE ──────────────────────────────────── */
        .reveal {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-left {
            opacity: 0;
            transform: translateX(-40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .reveal-left.visible {
            opacity: 1;
            transform: translateX(0);
        }
        .reveal-right {
            opacity: 0;
            transform: translateX(40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .reveal-right.visible {
            opacity: 1;
            transform: translateX(0);
        }
        /* ── SECTION LABEL ───────────────────────────────────────── */
        .section-label {
            display: inline-block;
            font-family: var(--font-body);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            margin-bottom: 14px;
        }
        .section-title {
            font-family: var(--font-h);
            font-weight: 700;
            line-height: 1.18;
            color: var(--text-h);
        }
        .section-sub {
            font-size: 1.05rem;
            color: var(--text-muted);
            margin-top: 10px;
            line-height: 1.65;
        }
        /* ================================================================
   SECTION 1 — HERO
================================================================ */
        .mem-hero {
            min-height: 100vh;
            background: linear-gradient(165deg, #0A1628 0%, #162447 45%, #1B365C 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 100px 24px 140px;
        }
        /* Ambient glows */
        .hero-glow-1 {
            position: absolute;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(212, 168, 75, 0.10) 0%, transparent 70%);
            top: -120px;
            left: -180px;
            pointer-events: none;
        }
        .hero-glow-2 {
            position: absolute;
            width: 520px;
            height: 520px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
            bottom: -80px;
            right: -100px;
            pointer-events: none;
        }
        /* Gold particles */
        .particles {
            position: absolute;
            inset: 0;
            pointer-events: none;
            overflow: hidden;
        }
        .particle {
            position: absolute;
            bottom: -10px;
            border-radius: 50%;
            background: radial-gradient(circle, #E8C171 0%, #D4A84B 60%, transparent 100%);
            animation: floatUp linear infinite;
            opacity: 0;
        }
        .particle:nth-child(1) {
            left: 5%;
            width: 4px;
            height: 4px;
            animation-duration: 8s;
            animation-delay: 0s;
            opacity: 0.7;
        }
        .particle:nth-child(2) {
            left: 12%;
            width: 7px;
            height: 7px;
            animation-duration: 11s;
            animation-delay: 1.2s;
            opacity: 0.5;
        }
        .particle:nth-child(3) {
            left: 20%;
            width: 5px;
            height: 5px;
            animation-duration: 9s;
            animation-delay: 2.4s;
            opacity: 0.6;
        }
        .particle:nth-child(4) {
            left: 30%;
            width: 3px;
            height: 3px;
            animation-duration: 13s;
            animation-delay: 0.8s;
            opacity: 0.8;
        }
        .particle:nth-child(5) {
            left: 42%;
            width: 6px;
            height: 6px;
            animation-duration: 7s;
            animation-delay: 3.1s;
            opacity: 0.5;
        }
        .particle:nth-child(6) {
            left: 55%;
            width: 4px;
            height: 4px;
            animation-duration: 10s;
            animation-delay: 1.7s;
            opacity: 0.7;
        }
        .particle:nth-child(7) {
            left: 65%;
            width: 8px;
            height: 8px;
            animation-duration: 12s;
            animation-delay: 0.3s;
            opacity: 0.4;
        }
        .particle:nth-child(8) {
            left: 75%;
            width: 5px;
            height: 5px;
            animation-duration: 8.5s;
            animation-delay: 2.9s;
            opacity: 0.6;
        }
        .particle:nth-child(9) {
            left: 85%;
            width: 4px;
            height: 4px;
            animation-duration: 9.5s;
            animation-delay: 1.4s;
            opacity: 0.7;
        }
        .particle:nth-child(10) {
            left: 93%;
            width: 6px;
            height: 6px;
            animation-duration: 11s;
            animation-delay: 0.6s;
            opacity: 0.5;
        }
        .particle:nth-child(11) {
            left: 35%;
            width: 3px;
            height: 3px;
            animation-duration: 14s;
            animation-delay: 4.0s;
            opacity: 0.8;
        }
        .particle:nth-child(12) {
            left: 48%;
            width: 5px;
            height: 5px;
            animation-duration: 6s;
            animation-delay: 2.2s;
            opacity: 0.6;
        }
        @keyframes floatUp {
            0% {
                transform: translateY(0) translateX(0) scale(0.8);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            50% {
                transform: translateY(-45vh) translateX(15px) scale(1.1);
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translateY(-100vh) translateX(-10px) scale(0.6);
                opacity: 0;
            }
        }
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 860px;
        }
        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--font-body);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--gold-light);
            background: rgba(212, 168, 75, 0.10);
            border: 1px solid rgba(212, 168, 75, 0.28);
            padding: 8px 20px;
            border-radius: 40px;
            margin-bottom: 28px;
            backdrop-filter: blur(8px);
        }
        .hero-tag .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--gold-light);
            animation: pulseDot 1.8s ease-in-out infinite;
        }
        @keyframes pulseDot {
            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.6);
                opacity: 0.5;
            }
        }
        .hero-title {
            font-family: var(--font-h);
            font-size: clamp(3rem, 8vw, 5.5rem);
            font-weight: 800;
            line-height: 1.0;
            color: #FFFFFF;
            letter-spacing: -0.02em;
            margin-bottom: 10px;
        }
        .hero-title .word-icu {
            background: linear-gradient(135deg, #C9983A 0%, #E8C171 50%, #D4A84B 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-title .word-to {
            color: rgba(255, 255, 255, 0.5);
            font-style: italic;
            font-size: 0.7em;
        }
        .hero-title .word-home {
            color: var(--teal-light);
        }
        /* Typing effect */
        .typing-wrap {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 50px;
            margin: 32px 0 44px;
        }
        .typing-text {
            font-family: var(--font-body);
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            font-weight: 400;
            color: rgba(255, 255, 255, 0.75);
            letter-spacing: 0.01em;
        }
        .typing-cursor {
            display: inline-block;
            width: 2px;
            height: 1.2em;
            background: var(--gold-light);
            margin-left: 4px;
            vertical-align: middle;
            animation: blinkCursor 0.8s step-end infinite;
        }
        @keyframes blinkCursor {
            0%,
            100% {
                opacity: 1;
            }
            50% {
                opacity: 0;
            }
        }
        /* Hero counter pill */
        .hero-counter {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-family: var(--font-body);
            font-size: 1rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.88);
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            padding: 14px 30px;
            border-radius: 50px;
            backdrop-filter: blur(12px);
            margin-bottom: 52px;
        }
        .hero-counter .hc-num {
            font-family: var(--font-h);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gold-light);
        }
        .hero-counter .hc-sep {
            color: rgba(255, 255, 255, 0.25);
        }
        /* Diya CTA in hero */
        .hero-diya-cta {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: var(--font-body);
            font-size: 1rem;
            font-weight: 700;
            color: var(--gold-light);
            background: rgba(212, 168, 75, 0.12);
            border: 1.5px solid rgba(212, 168, 75, 0.35);
            padding: 14px 32px;
            border-radius: 50px;
            text-decoration: none;
            transition: background 0.3s, box-shadow 0.3s, transform 0.25s;
            backdrop-filter: blur(8px);
        }
        .hero-diya-cta:hover {
            background: rgba(212, 168, 75, 0.22);
            box-shadow: 0 8px 32px rgba(212, 168, 75, 0.3);
            transform: translateY(-2px);
        }
        .hero-diya-cta .diya-emoji {
            font-size: 1.2rem;
            animation: flickerEmoji 1.5s ease-in-out infinite alternate;
        }
        @keyframes flickerEmoji {
            0% {
                filter: brightness(1);
            }
            100% {
                filter: brightness(1.4) drop-shadow(0 0 6px rgba(255, 180, 0, 0.7));
            }
        }
        /* Scroll indicator */
        .scroll-down {
            position: absolute;
            bottom: 36px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            color: rgba(255, 255, 255, 0.35);
            font-family: var(--font-body);
            font-size: 10px;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            text-decoration: none;
            animation: bounceDn 2.2s ease-in-out infinite;
            z-index: 2;
        }
        .scroll-down svg {
            width: 22px;
            height: 22px;
            stroke: rgba(255, 255, 255, 0.35);
            fill: none;
            stroke-width: 2;
        }
        @keyframes bounceDn {
            0%,
            100% {
                transform: translateX(-50%) translateY(0);
            }
            50% {
                transform: translateX(-50%) translateY(9px);
            }
        }
        /* ================================================================
   SECTION 2 — HEALING STORIES
================================================================ */
        .stories-section {
            background: var(--bg-primary);
            padding: 100px 24px 110px;
        }
        .stories-head {
            text-align: center;
            margin-bottom: 60px;
        }
        .stories-head .section-label {
            color: var(--teal);
        }
        .stories-head .section-title {
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        }
        .stories-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
            max-width: 1100px;
            margin: 0 auto;
        }
        @media (max-width: 960px) {
            .stories-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 620px) {
            .stories-grid {
                grid-template-columns: 1fr;
            }
        }
        /* Loading placeholder */
        .stories-loading {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 0;
            color: var(--text-muted);
            font-family: var(--font-body);
            font-size: 0.95rem;
        }
        .loader-dots {
            display: inline-flex;
            gap: 8px;
            margin-right: 10px;
            vertical-align: middle;
        }
        .loader-dots span {
            width: 7px;
            height: 7px;
            background: var(--teal);
            border-radius: 50%;
            animation: dotBounce 1.2s ease-in-out infinite;
        }
        .loader-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }
        .loader-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }
        @keyframes dotBounce {
            0%,
            80%,
            100% {
                transform: scale(0.7);
                opacity: 0.5;
            }
            40% {
                transform: scale(1.2);
                opacity: 1;
            }
        }
        .story-card {
            background: #FFFFFF;
            border-radius: var(--radius-lg);
            padding: 32px;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(43, 50, 128, 0.06);
            display: flex;
            flex-direction: column;
            gap: 16px;
            transition: transform 0.35s ease, box-shadow 0.35s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        .story-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
        }
        .story-card.teal-card::before {
            background: linear-gradient(135deg, #48CAE4, #0077B6);
        }
        .story-card.gold-card::before {
            background: linear-gradient(135deg, #C9983A 0%, #E8C171 100%);
        }
        .story-card.green-card::before {
            background: linear-gradient(135deg, #10B981, #059669);
        }
        .story-card:hover {
            transform: translateY(-6px) rotateX(1deg) rotateY(-0.5deg);
            box-shadow: var(--shadow-lg), 0 0 0 1px rgba(43, 50, 128, 0.08);
        }
        .story-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: var(--font-body);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 5px 14px;
            border-radius: 20px;
            width: fit-content;
        }
        .story-badge.teal-badge {
            background: rgba(0, 180, 216, 0.10);
            color: #0077B6;
        }
        .story-badge.gold-badge {
            background: rgba(212, 168, 75, 0.12);
            color: var(--gold-warm);
        }
        .story-badge.green-badge {
            background: rgba(16, 185, 129, 0.10);
            color: #059669;
        }
        .story-title {
            font-family: var(--font-h);
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-h);
            line-height: 1.25;
        }
        .story-excerpt {
            font-family: var(--font-body);
            font-size: 0.95rem;
            color: var(--text-body);
            line-height: 1.75;
            flex: 1;
        }
        .story-read-more {
            color: var(--teal);
            font-weight: 600;
            font-size: 0.875rem;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            margin-top: 4px;
            transition: color 0.2s;
        }
        .story-read-more:hover {
            color: var(--teal-deep);
        }
        .story-attr {
            font-family: var(--font-body);
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text-muted);
        }
        .story-quote {
            font-family: var(--font-h);
            font-style: italic;
            font-size: 0.9rem;
            color: var(--indigo);
            border-left: 3px solid var(--teal);
            padding-left: 12px;
            line-height: 1.6;
        }
        /* Journey bar */
        .journey-bar {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-top: 4px;
        }
        .jb-seg {
            flex: 1;
            height: 5px;
            border-radius: 10px;
        }
        .jb-seg.red {
            background: #E84545;
        }
        .jb-seg.orange {
            background: #FF8C00;
        }
        .jb-seg.teal {
            background: var(--teal);
        }
        .jb-seg.green {
            background: var(--green-ok);
        }
        .jb-labels {
            display: flex;
            justify-content: space-between;
            font-size: 9px;
            color: var(--text-muted);
            letter-spacing: 0.06em;
            text-transform: uppercase;
            margin-top: 4px;
        }
        .stories-share-row {
            text-align: center;
            margin-top: 56px;
        }
        .btn-ghost-teal {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--font-body);
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--teal);
            border: 1.5px solid var(--teal);
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            transition: background 0.25s, color 0.25s, transform 0.25s;
        }
        .btn-ghost-teal:hover {
            background: var(--teal);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-ghost-gold {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--font-body);
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--gold-warm);
            border: 1.5px solid var(--gold-warm);
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            transition: background 0.25s, color 0.25s, transform 0.25s;
        }
        .btn-ghost-gold:hover {
            background: var(--gold-warm);
            color: #fff;
            transform: translateY(-2px);
        }
        /* ================================================================
   SECTION 3 — GRATITUDE WALL
================================================================ */
        .gratitude-section {
            background: var(--bg-warm);
            padding: 100px 24px 110px;
            position: relative;
            overflow: hidden;
        }
        .gratitude-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 20% 50%, rgba(212, 168, 75, 0.05) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(0, 180, 216, 0.04) 0%, transparent 50%);
            pointer-events: none;
        }
        .gratitude-head {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }
        .gratitude-head .section-label {
            color: var(--gold-warm);
        }
        .gratitude-head .section-title {
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        }
        .notes-masonry {
            columns: 4;
            column-gap: 20px;
            max-width: 1100px;
            margin: 0 auto;
        }
        @media (max-width: 1000px) {
            .notes-masonry {
                columns: 3;
            }
        }
        @media (max-width: 700px) {
            .notes-masonry {
                columns: 2;
            }
        }
        @media (max-width: 480px) {
            .notes-masonry {
                columns: 1;
            }
        }
        .note-card {
            break-inside: avoid;
            margin-bottom: 20px;
            background: #FFFDF8;
            border-radius: 8px;
            padding: 20px 18px 16px;
            box-shadow: 0 2px 12px rgba(100, 60, 0, 0.08), 0 1px 4px rgba(100, 60, 0, 0.05);
            border: 1px solid rgba(212, 168, 75, 0.15);
            position: relative;
            display: block;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
        }
        .note-card.visible {
            opacity: 1;
            transform: translateY(0) rotate(var(--rot, 0deg));
        }
        .note-card:hover {
            box-shadow: 0 8px 28px rgba(100, 60, 0, 0.13);
            z-index: 2;
            position: relative;
        }
        .note-card.typed {
            font-family: var(--font-body);
        }
        /* Pin dot at top */
        .note-pin {
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 14px;
            height: 14px;
            border-radius: 50%;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }
        .note-text {
            font-family: var(--font-handwritten);
            font-size: 1.08rem;
            color: #3A2800;
            line-height: 1.7;
            font-weight: 400;
        }
        .note-card.typed .note-text {
            font-family: var(--font-body);
            font-size: 0.9rem;
        }
        .note-author {
            font-family: var(--font-body);
            font-size: 0.75rem;
            color: rgba(58, 40, 0, 0.5);
            margin-top: 10px;
            font-weight: 600;
            letter-spacing: 0.05em;
        }
        .note-author .rel {
            color: rgba(58, 40, 0, 0.35);
            font-weight: 400;
            margin-left: 4px;
        }
        .gratitude-share-row {
            text-align: center;
            margin-top: 56px;
        }
        /* ================================================================
   SECTION 4 — PHOTO MEMORIES
================================================================ */
        .photos-section {
            background: var(--bg-section);
            padding: 100px 24px 110px;
        }
        .photos-head {
            text-align: center;
            margin-bottom: 60px;
        }
        .photos-head .section-label {
            color: var(--teal);
        }
        .photos-head .section-title {
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        }
        .photos-masonry {
            columns: 3;
            column-gap: 18px;
            max-width: 1100px;
            margin: 0 auto;
        }
        @media (max-width: 900px) {
            .photos-masonry {
                columns: 2;
            }
        }
        @media (max-width: 500px) {
            .photos-masonry {
                columns: 1;
            }
        }
        .photo-card {
            break-inside: avoid;
            margin-bottom: 18px;
            border-radius: var(--radius-md);
            overflow: hidden;
            position: relative;
            cursor: pointer;
            opacity: 0;
            transform: scale(0.94);
            transition: opacity 0.6s ease, transform 0.6s ease;
            box-shadow: var(--shadow-sm);
        }
        .photo-card.visible {
            opacity: 1;
            transform: scale(1);
        }
        .photo-card:hover .photo-overlay {
            opacity: 1;
        }
        .photo-card:hover .photo-placeholder-inner {
            transform: scale(1.05);
        }
        .photo-img {
            width: 100%;
            display: block;
            transition: transform 0.5s ease;
        }
        .photo-card:hover .photo-img {
            transform: scale(1.05);
        }
        .photo-placeholder {
            width: 100%;
            padding-top: var(--aspect, 72%);
            position: relative;
        }
        .photo-placeholder-inner {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 10px;
            transition: transform 0.5s ease;
        }
        .photo-icon {
            font-size: 2rem;
            opacity: 0.75;
        }
        .photo-label-text {
            font-family: var(--font-body);
            font-size: 0.8rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.85);
            text-align: center;
            letter-spacing: 0.04em;
            padding: 0 12px;
        }
        .photo-overlay {
            position: absolute;
            inset: 0;
            background: rgba(8, 12, 26, 0.65);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.35s ease;
            padding: 16px;
        }
        .photo-overlay-text {
            font-family: var(--font-body);
            font-size: 0.85rem;
            color: #fff;
            text-align: center;
            line-height: 1.55;
            font-weight: 500;
        }
        .photo-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(0, 180, 216, 0.9);
            color: #fff;
            font-family: var(--font-body);
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 4px 10px;
            border-radius: 12px;
            backdrop-filter: blur(4px);
        }
        .photos-share-row {
            text-align: center;
            margin-top: 56px;
        }
        /* ================================================================
   SECTION 5 — DR. JAY'S PROMISE
================================================================ */
        .promise-section {
            background: linear-gradient(165deg, #0A1628 0%, #162447 45%, #1B365C 100%);
            padding: 110px 24px 120px;
            position: relative;
            overflow: hidden;
        }
        .promise-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 50% 50%, rgba(212, 168, 75, 0.08) 0%, transparent 65%);
            pointer-events: none;
        }
        .promise-section::after {
            content: '';
            position: absolute;
            top: -200px;
            right: -200px;
            width: 600px;
            height: 600px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
            pointer-events: none;
        }
        .promise-wrap {
            max-width: 760px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        .promise-head {
            text-align: center;
            margin-bottom: 60px;
        }
        .promise-head .section-label {
            color: var(--gold-light);
        }
        .promise-head .section-title {
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
            color: #FFFFFF;
        }
        .letter-box {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(212, 168, 75, 0.18);
            border-radius: var(--radius-lg);
            padding: 52px 52px 44px;
            backdrop-filter: blur(12px);
            box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.06), var(--shadow-lg);
            position: relative;
        }
        .letter-box::before {
            content: '"';
            position: absolute;
            top: 16px;
            left: 28px;
            font-family: var(--font-h);
            font-size: 6rem;
            color: rgba(212, 168, 75, 0.10);
            line-height: 1;
            pointer-events: none;
        }
        @media (max-width: 600px) {
            .letter-box {
                padding: 36px 24px 32px;
            }
        }
        .letter-salutation {
            font-family: var(--font-h);
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--gold-light);
            margin-bottom: 24px;
            font-style: italic;
        }
        .letter-body {
            font-family: var(--font-body);
            font-size: 1.05rem;
            color: rgba(255, 255, 255, 0.80);
            line-height: 1.9;
            margin-bottom: 22px;
        }
        .letter-body strong {
            color: rgba(255, 255, 255, 0.95);
            font-weight: 600;
        }
        .letter-close {
            font-family: var(--font-body);
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 20px;
            font-style: italic;
        }
        .letter-sig {
            font-family: var(--font-h);
            font-size: 2rem;
            font-weight: 700;
            color: var(--gold-light);
            display: inline-block;
            border-bottom: 2px solid var(--gold);
            padding-bottom: 4px;
            margin-bottom: 8px;
        }
        .letter-role {
            font-family: var(--font-body);
            font-size: 0.85rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.4);
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }
        /* ================================================================
   SECTION 6 — SHARE YOUR STORY
================================================================ */
        .share-section {
            background: var(--bg-warm);
            padding: 100px 24px 110px;
        }
        .share-head {
            text-align: center;
            margin-bottom: 60px;
        }
        .share-head .section-label {
            color: var(--gold-warm);
        }
        .share-head .section-title {
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        }
        .action-cards-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            max-width: 880px;
            margin: 0 auto 52px;
        }
        @media (max-width: 680px) {
            .action-cards-row {
                grid-template-columns: 1fr;
            }
        }
        .action-card {
            background: #FFFFFF;
            border-radius: var(--radius-lg);
            padding: 36px 24px 30px;
            box-shadow: var(--shadow-sm);
            border: 1.5px solid rgba(212, 168, 75, 0.12);
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .action-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
            border-color: rgba(212, 168, 75, 0.3);
        }
        .action-card.active {
            border-color: var(--gold);
            box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.12), var(--shadow-md);
        }
        .action-card-icon {
            font-size: 2.5rem;
            margin-bottom: 14px;
            display: block;
        }
        .action-card-title {
            font-family: var(--font-h);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-h);
            margin-bottom: 8px;
        }
        .action-card-desc {
            font-family: var(--font-body);
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.6;
        }
        /* Form box */
        .share-form-box {
            max-width: 620px;
            margin: 0 auto;
            background: #FFFFFF;
            border-radius: var(--radius-lg);
            padding: 44px 44px 36px;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(43, 50, 128, 0.06);
            display: none;
        }
        .share-form-box.visible {
            display: block;
        }
        @media (max-width: 600px) {
            .share-form-box {
                padding: 28px 20px 24px;
            }
        }
        .form-title {
            font-family: var(--font-h);
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-h);
            margin-bottom: 28px;
        }
        .form-label {
            display: block;
            font-family: var(--font-body);
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--text-muted);
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 7px;
        }
        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            background: var(--bg-primary);
            border: 1.5px solid rgba(43, 50, 128, 0.10);
            border-radius: var(--radius-sm);
            padding: 13px 18px;
            font-family: var(--font-body);
            font-size: 0.95rem;
            color: var(--text-body);
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
            margin-bottom: 20px;
            box-sizing: border-box;
        }
        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            border-color: var(--teal);
            box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
        }
        .form-textarea {
            min-height: 115px;
            resize: vertical;
        }
        .form-textarea.handwritten {
            font-family: var(--font-handwritten);
            font-size: 1.1rem;
        }
        .form-select {
            cursor: pointer;
        }
        .form-row-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }
        @media (max-width: 500px) {
            .form-row-2 {
                grid-template-columns: 1fr;
            }
        }
        .file-upload-area {
            border: 2px dashed rgba(43, 50, 128, 0.15);
            border-radius: var(--radius-sm);
            padding: 28px 20px;
            text-align: center;
            cursor: pointer;
            transition: border-color 0.3s, background 0.3s;
            margin-bottom: 20px;
        }
        .file-upload-area:hover {
            border-color: var(--teal);
            background: rgba(0, 180, 216, 0.03);
        }
        .file-upload-area .upload-icon {
            font-size: 2rem;
            margin-bottom: 8px;
            display: block;
        }
        .file-upload-area p {
            font-family: var(--font-body);
            font-size: 0.875rem;
            color: var(--text-muted);
            line-height: 1.5;
        }
        .file-upload-area p strong {
            color: var(--teal);
        }
        #file-preview {
            width: 100%;
            max-height: 180px;
            object-fit: cover;
            border-radius: var(--radius-sm);
            margin-bottom: 12px;
            display: none;
        }
        .btn-submit {
            width: 100%;
            background: linear-gradient(135deg, #48CAE4, #0077B6);
            color: #fff;
            font-family: var(--font-body);
            font-size: 1rem;
            font-weight: 700;
            padding: 16px;
            border-radius: 50px;
            border: none;
            cursor: pointer;
            transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
            box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
            letter-spacing: 0.01em;
        }
        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(0, 180, 216, 0.4);
        }
        .btn-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        .form-note {
            text-align: center;
            font-family: var(--font-body);
            font-size: 0.78rem;
            color: var(--text-muted);
            margin-top: 14px;
            line-height: 1.6;
        }
        /* ================================================================
   SECTION 7 — LIGHT A DIYA CTA
================================================================ */
        .diya-cta-section {
            background: linear-gradient(165deg, #150B00 0%, #1A1000 50%, #0F0800 100%);
            padding: 90px 24px 100px;
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        .diya-cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 50% 60%, rgba(212, 168, 75, 0.16) 0%, transparent 65%);
            pointer-events: none;
        }
        .diya-cta-inner {
            position: relative;
            z-index: 1;
            max-width: 560px;
            margin: 0 auto;
        }
        .diya-cta-art {
            font-size: 3.5rem;
            display: block;
            margin-bottom: 20px;
            animation: flickerEmoji 1.5s ease-in-out infinite alternate;
        }
        .diya-cta-title {
            font-family: var(--font-h);
            font-size: clamp(1.6rem, 3.5vw, 2.4rem);
            font-weight: 700;
            color: #FFF5E0;
            line-height: 1.25;
            margin-bottom: 16px;
        }
        .diya-cta-sub {
            font-family: var(--font-body);
            font-size: 1rem;
            color: rgba(255, 245, 224, 0.55);
            margin-bottom: 40px;
            line-height: 1.65;
        }
        .btn-diya-gold {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, #C9983A 0%, #E8C171 50%, #D4A84B 100%);
            color: #0A1628;
            font-family: var(--font-body);
            font-size: 1rem;
            font-weight: 700;
            padding: 16px 40px;
            border-radius: 50px;
            text-decoration: none;
            transition: transform 0.25s, box-shadow 0.25s;
            box-shadow: 0 6px 24px rgba(212, 168, 75, 0.4);
            letter-spacing: 0.01em;
        }
        .btn-diya-gold:hover {
            transform: translateY(-2px) scale(1.03);
            box-shadow: 0 12px 36px rgba(212, 168, 75, 0.55);
        }
        /* ================================================================
   SECTION 8 — COUNTER BAR
================================================================ */
        .counter-bar {
            background: var(--bg-dark);
            padding: 72px 24px;
            position: relative;
            overflow: hidden;
        }
        .counter-bar::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 50% 50%, rgba(212, 168, 75, 0.07) 0%, transparent 65%);
            pointer-events: none;
        }
        .counter-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        @media (max-width: 700px) {
            .counter-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        .counter-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 24px 20px;
            border-right: 1px solid rgba(255, 255, 255, 0.06);
            text-align: center;
        }
        .counter-item:last-child {
            border-right: none;
        }
        @media (max-width: 700px) {
            .counter-item:nth-child(2) {
                border-right: none;
            }
            .counter-item:nth-child(3) {
                border-right: 1px solid rgba(255, 255, 255, 0.06);
                border-top: 1px solid rgba(255, 255, 255, 0.06);
            }
            .counter-item:nth-child(4) {
                border-top: 1px solid rgba(255, 255, 255, 0.06);
            }
        }
        .counter-num {
            font-family: var(--font-h);
            font-size: clamp(1.9rem, 4vw, 2.8rem);
            font-weight: 800;
            color: var(--gold-light);
            line-height: 1;
            margin-bottom: 8px;
        }
        .counter-label {
            font-family: var(--font-body);
            font-size: 0.78rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.4);
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }
        /* ================================================================
   STORY MODAL
================================================================ */
        .story-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(8, 12, 26, 0.85);
            backdrop-filter: blur(6px);
            z-index: 9000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
        }
        .story-modal-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }
        .story-modal {
            background: #FFFFFF;
            border-radius: var(--radius-xl);
            padding: 48px 48px 40px;
            max-width: 640px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.94) translateY(20px);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: var(--shadow-lg);
        }
        .story-modal-overlay.open .story-modal {
            transform: scale(1) translateY(0);
        }
        @media (max-width: 600px) {
            .story-modal {
                padding: 32px 24px 28px;
                border-radius: var(--radius-lg);
            }
        }
        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg-section);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: var(--text-muted);
            transition: background 0.2s, color 0.2s;
        }
        .modal-close:hover {
            background: var(--text-h);
            color: #fff;
        }
        .modal-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: var(--font-body);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 5px 14px;
            border-radius: 20px;
            width: fit-content;
            background: rgba(0, 180, 216, 0.10);
            color: #0077B6;
            margin-bottom: 18px;
        }
        .modal-title {
            font-family: var(--font-h);
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text-h);
            line-height: 1.25;
            margin-bottom: 20px;
        }
        .modal-story-body {
            font-family: var(--font-body);
            font-size: 1rem;
            color: var(--text-body);
            line-height: 1.85;
            margin-bottom: 24px;
        }
        .modal-quote {
            font-family: var(--font-h);
            font-style: italic;
            font-size: 1.05rem;
            color: var(--indigo);
            border-left: 3px solid var(--teal);
            padding: 12px 18px;
            background: rgba(0, 180, 216, 0.05);
            border-radius: 0 8px 8px 0;
            margin-bottom: 20px;
            line-height: 1.65;
        }
        .modal-attr {
            font-family: var(--font-body);
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text-muted);
        }
        .modal-journey {
            margin-top: 24px;
        }
        /* ================================================================
   LIGHTBOX
================================================================ */
        .lightbox-overlay {
            position: fixed;
            inset: 0;
            background: rgba(8, 12, 26, 0.95);
            z-index: 9100;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 20px;
            padding: 24px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .lightbox-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }
        .lightbox-img {
            max-width: 90vw;
            max-height: 75vh;
            object-fit: contain;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-lg);
            transform: scale(0.9);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .lightbox-overlay.open .lightbox-img {
            transform: scale(1);
        }
        .lightbox-caption {
            font-family: var(--font-body);
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.7);
            text-align: center;
            max-width: 500px;
        }
        .lightbox-close {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            color: #fff;
            font-size: 1.1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
            backdrop-filter: blur(8px);
        }
        .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        /* ================================================================
   TOAST NOTIFICATIONS
================================================================ */
        .toast-container {
            position: fixed;
            bottom: 32px;
            right: 24px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 10px;
            pointer-events: none;
        }
        .toast {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #FFFFFF;
            border-radius: 12px;
            padding: 14px 20px;
            box-shadow: 0 8px 32px rgba(8, 12, 26, 0.16), 0 2px 8px rgba(8, 12, 26, 0.08);
            border-left: 4px solid var(--teal);
            font-family: var(--font-body);
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-body);
            max-width: 360px;
            pointer-events: auto;
            animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
            min-width: 280px;
        }
        .toast.toast-error {
            border-left-color: #E84545;
        }
        .toast.toast-success {
            border-left-color: var(--green-ok);
        }
        .toast.removing {
            animation: toastOut 0.3s ease both;
        }
        .toast-icon {
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        @keyframes toastIn {
            from {
                opacity: 0;
                transform: translateX(40px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateX(0) scale(1);
            }
        }
        @keyframes toastOut {
            from {
                opacity: 1;
                transform: translateX(0) scale(1);
            }
            to {
                opacity: 0;
                transform: translateX(40px) scale(0.9);
            }
        }
        /* ================================================================
   NAV OVERRIDE (matches scrolled state)
================================================================ */
        .nav {
            background: rgba(10, 22, 40, 0.95) !important;
            backdrop-filter: blur(16px) !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        }
        /* Make nav logo & links visible on dark nav background */
        .nav-logo {
            color: #FFFFFF !important;
        }
        .nav-links a {
            color: rgba(255, 255, 255, 0.72) !important;
        }
        .nav-links a:hover,
        .nav-links a.active {
            color: #FFFFFF !important;
        }
        .nav-toggle span {
            background: rgba(255, 255, 255, 0.85) !important;
        }
        /* ================================================================
   FOOTER
================================================================ */
        .footer {
            background: var(--bg-dark);
            padding: 60px 24px 40px;
            position: relative;
        }
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(212, 168, 75, 0.3), transparent);
        }
        .footer .container {
            max-width: var(--max-w);
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 28px;
            text-align: center;
        }
        .footer-logo {
            font-family: var(--font-h);
            font-size: 1.5rem;
            font-weight: 700;
            color: #FFFFFF;
        }
        .footer-logo span {
            color: var(--gold-light);
        }
        .footer-brand p {
            font-family: var(--font-body);
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 6px;
        }
        .footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 24px;
            justify-content: center;
        }
        .footer-links a {
            font-family: var(--font-body);
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.45);
            text-decoration: none;
            transition: color 0.2s;
        }
        .footer-links a:hover {
            color: var(--teal-light);
        }
        .footer-disclaimer {
            font-family: var(--font-body);
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.25);
            max-width: 480px;
            line-height: 1.6;
        }
        /* ================================================================
   RESPONSIVE HELPERS
================================================================ */
        @media (max-width: 768px) {
            .mem-hero {
                padding: 100px 20px 120px;
            }
            .stories-section,
            .gratitude-section,
            .photos-section,
            .share-section {
                padding: 72px 20px 80px;
            }
            .promise-section,
            .counter-bar {
                padding: 72px 20px;
            }
            .diya-cta-section {
                padding: 72px 20px 80px;
            }
        }
