/* ═══════════════════════════════════════
   LUXURY WEDDING — MAIN STYLESHEET
   ═══════════════════════════════════════ */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Josefin Sans', sans-serif; font-weight: 300; background: #241018; color: #f7e7ce; overflow-x: hidden; }
body::after {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9000; opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Alternate font set for inner pages ── */
body.page-inner { font-family: 'Montserrat', sans-serif; font-weight: 300; }
body.page-inner .font-serif { font-family: 'Playfair Display', Georgia, serif !important; }
body.page-inner .font-sans { font-family: 'Montserrat', sans-serif !important; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #2e1420; }
::-webkit-scrollbar-thumb { background: #c9a84c; border-radius: 3px; }

/* ── Navbar scroll state ── */
.navbar-scrolled {
    background: rgba(36, 16, 24, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* ── Navbar consistent font across all pages ── */
#navbar, #navbar * {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif !important;
}

/* ── Fade-in animation ── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.15s; }
.fade-in-delay-2 { transition-delay: 0.3s; }
.fade-in-delay-3 { transition-delay: 0.45s; }
.fade-in-delay-4 { transition-delay: 0.6s; }

/* ── Hero ── */
.hero-overlay {
    background: linear-gradient(180deg, rgba(90,10,30,0.75) 0%, rgba(26,10,16,0.9) 100%);
}

/* ── Gold divider ── */
.gold-divider {
    width: 60px; height: 1px; background: #c9a84c; margin: 0 auto;
}

/* ── Section alternating backgrounds ── */
.section-dark { background: #241018; position: relative; }
.section-light { background: linear-gradient(180deg, #321820 0%, #241018 100%); position: relative; }

/* ── Premium Background Textures ── */
.section-dark::before,
.section-light::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c9a84c' stroke-width='0.3' opacity='0.04'%3E%3Cpath d='M40 0 C50 20 60 20 80 40 C60 50 60 60 40 80 C30 60 20 60 0 40 C20 30 20 20 40 0Z'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Cpath d='M40 20 Q45 30 40 40 Q35 30 40 20Z'/%3E%3Cpath d='M40 60 Q45 50 40 40 Q35 50 40 60Z'/%3E%3Cpath d='M20 40 Q30 35 40 40 Q30 45 20 40Z'/%3E%3Cpath d='M60 40 Q50 35 40 40 Q50 45 60 40Z'/%3E%3C/g%3E%3C/svg%3E");
}
.section-dark::after,
.section-light::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(16,6,10,0.4) 100%);
}
.section-dark > *,
.section-light > * { position: relative; z-index: 1; }

/* ── Timeline ── */
.timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, transparent, #5a0a1e, #c9a84c, #5a0a1e, transparent);
    transform: translateX(-50%);
}
.timeline-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: #c9a84c; border: 2px solid #241018;
    box-shadow: 0 0 12px rgba(201,168,76,0.4);
}

/* ── Cards ── */
.glass-card {
    background: rgba(42, 16, 24, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 168, 76, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.1);
}

/* ── Buttons ── */
.btn-gold {
    display: inline-block; padding: 14px 40px;
    background: transparent; border: 1px solid #c9a84c; color: #c9a84c;
    font-family: 'Josefin Sans', sans-serif; font-size: 0.75rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    transition: all 0.4s ease; cursor: pointer;
}
.btn-gold:hover {
    background: #c9a84c; color: #241018;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

/* RSVP nav button — bold on hover */
.nav-link-rsvp:hover {
    font-weight: 700;
}

/* ── Gallery ── */
.gallery-item { position: relative; overflow: hidden; }
.gallery-item img {
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(26, 10, 16, 0.6);
    opacity: 0; transition: opacity 0.4s ease;
    display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Lightbox ── */
.lightbox {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(10, 4, 6, 0.95);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }

/* ── Accordion ── */
.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}
.accordion-content.open { max-height: 300px; }
.accordion-icon { transition: transform 0.3s ease; }
.accordion-icon.open { transform: rotate(45deg); }

/* ── Form ── */
.form-input {
    width: 100%; padding: 14px 18px;
    background: rgba(42, 16, 24, 0.5);
    border: 1px solid rgba(201, 168, 76, 0.15);
    color: #f7e7ce; font-family: 'Josefin Sans', sans-serif; font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.form-input:focus {
    border-color: #c9a84c;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}
.form-input::placeholder { color: rgba(247, 231, 206, 0.35); }

/* ── Countdown ── */
.countdown-box {
    min-width: 80px; padding: 16px 12px;
    background: rgba(42, 16, 24, 0.5);
    border: 1px solid rgba(201, 168, 76, 0.15);
}

/* ═══ ENHANCED ANIMATIONS ═══ */

/* ── Floating Gold Particles ── */
.particles-container {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
}
.particle {
    position: absolute; width: 5px; height: 5px; border-radius: 50%;
    background: radial-gradient(circle, #c9a84c, transparent);
    opacity: 0; animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.8; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

/* ── Shimmer on Gold Dividers ── */
.gold-divider {
    position: relative; overflow: hidden;
}
.gold-divider::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 200%; }
}

/* ── Slide-in from Left/Right ── */
.slide-in-left {
    opacity: 0; transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-in-right {
    opacity: 0; transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-in-left.visible, .slide-in-right.visible {
    opacity: 1; transform: translateX(0);
}
.slide-in-container {
    overflow-x: hidden;
}

/* ── Timeline Dot Pulse ── */
.timeline-dot {
    animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(201,168,76,0.4); }
    50% { box-shadow: 0 0 24px rgba(201,168,76,0.7), 0 0 48px rgba(201,168,76,0.2); }
}

/* ── Countdown Number Roll ── */
.countdown-box span:first-child {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.countdown-box span:first-child.tick {
    transform: translateY(-4px); opacity: 0.6;
}

/* ── Glass Card Tilt Shine ── */
.glass-card {
    position: relative; overflow: hidden;
}
.glass-card::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(201,168,76,0.06) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none; z-index: 0;
}
.glass-card:hover::before { opacity: 1; }
.glass-card > * { position: relative; z-index: 1; }

/* ── RSVP Button Border Trace ── */
.nav-link-rsvp {
    position: relative;
}

/* ── Hero Name Typewriter ── */
.typewriter-reveal {
    display: inline-block; overflow: hidden;
    border-right: 2px solid rgba(201,168,76,0.6);
    white-space: nowrap; width: 0;
    animation: typeReveal 1.8s steps(20, end) forwards, blinkCaret 0.6s step-end 4;
}
.typewriter-reveal.delay { animation-delay: 0.6s, 0.6s; }
@keyframes typeReveal {
    to { width: 100%; border-color: transparent; }
}
@keyframes blinkCaret {
    50% { border-color: transparent; }
}

/* ── Footer Heart Pulse ── */
.heart-pulse {
    display: inline-block;
    animation: heartBeat 1.4s ease-in-out infinite;
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    56% { transform: scale(1); }
}

/* ── Parallax Hero Layers ── */
.parallax-layer {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ── Scale-up on scroll ── */
.scale-up {
    opacity: 0; transform: scale(0.92);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scale-up.visible { opacity: 1; transform: scale(1); }

/* ── Stagger children ── */
.stagger-children > * {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(1)  { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2)  { transition-delay: 0.07s; }
.stagger-children.visible > *:nth-child(3)  { transition-delay: 0.14s; }
.stagger-children.visible > *:nth-child(4)  { transition-delay: 0.21s; }
.stagger-children.visible > *:nth-child(5)  { transition-delay: 0.28s; }
.stagger-children.visible > *:nth-child(6)  { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(7)  { transition-delay: 0.42s; }
.stagger-children.visible > *:nth-child(8)  { transition-delay: 0.49s; }
.stagger-children.visible > *:nth-child(9)  { transition-delay: 0.56s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.63s; }
.stagger-children.visible > *:nth-child(11) { transition-delay: 0.7s; }
.stagger-children.visible > *:nth-child(12) { transition-delay: 0.77s; }
.stagger-children.visible > *:nth-child(13) { transition-delay: 0.84s; }
.stagger-children.visible > *:nth-child(14) { transition-delay: 0.91s; }
.stagger-children.visible > *:nth-child(15) { transition-delay: 0.98s; }
.stagger-children.visible > *:nth-child(16) { transition-delay: 1.05s; }
.stagger-children.visible > *:nth-child(17) { transition-delay: 1.12s; }
.stagger-children.visible > *:nth-child(18) { transition-delay: 1.19s; }
.stagger-children.visible > *:nth-child(n+19) { transition-delay: 1.26s; }

/* ── Entourage name hover glow ── */
.entourage-name {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.entourage-name:hover {
    color: #c9a84c;
    text-shadow: 0 0 12px rgba(201,168,76,0.3);
}

/* ── Schedule icon float ── */
.schedule-icon {
    animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── Success modal ── */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(10, 4, 6, 0.85);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-backdrop.active { opacity: 1; pointer-events: all; }

/* ── Story Cards ── */
.story-scroll {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; padding: 0 1rem;
}
.story-scroll-hint {
    display: none; text-align: center; margin-top: 0.8rem;
    font-size: 0.65rem; color: #f7e7ce; opacity: 0.4;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.story-card {
    position: relative; width: 180px; height: 260px;
    border-radius: 32px; overflow: hidden; cursor: default;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    flex-shrink: 0;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(89,12,28,0.18); }
.story-card-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform 0.6s ease;
}
.story-card:hover .story-card-bg { transform: scale(1.06); }
.story-card::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(0deg, rgba(26,10,16,0.92) 0%, rgba(26,10,16,0.6) 40%, rgba(26,10,16,0.15) 70%, transparent 100%);
    transition: background 0.4s ease;
}
.story-card:hover::after {
    background: linear-gradient(0deg, rgba(26,10,16,0.95) 0%, rgba(26,10,16,0.75) 50%, rgba(26,10,16,0.4) 80%, rgba(26,10,16,0.2) 100%);
}
.story-card-content {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 1rem; color: #fff;
}
.story-card-content .story-year {
    font-family: 'Pinyon Script', cursive; font-size: 0.65rem; font-weight: 400;
    letter-spacing: 0.2em; color: #c9a84c; display: block; margin-bottom: 0.2rem;
}
.story-card-content h3 {
    font-family: 'Pinyon Script', cursive; font-size: 1rem; font-weight: 500;
    margin-bottom: 0; line-height: 1.25; transition: margin 0.4s ease;
}
.story-card-content p {
    font-size: 0.7rem; line-height: 1.55; color: rgba(255,255,255,0.8);
    margin: 0; max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}
.story-card:hover .story-card-content h3 { margin-bottom: 0.6rem; }
.story-card:hover .story-card-content p { max-height: 200px; opacity: 1; }
@media (hover: none) {
    .story-card-content p { max-height: 200px; opacity: 1; }
    .story-card-content h3 { margin-bottom: 0.6rem; }
}

/* ── Gift Section ── */
.gift-details { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.gift-details.open { max-height: 500px; }

/* ── Horizontal Timeline ── */
.htimeline {
    position: relative; display: flex; justify-content: space-between;
    align-items: flex-start; max-width: 700px; margin: 0 auto; padding: 0 0.5rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.htimeline::-webkit-scrollbar { display: none; }
.htimeline-track {
    position: absolute; top: 16px; left: 40px; right: 40px;
    height: 1px; background: #c9a84c; opacity: 0.2; z-index: 0;
}
.htimeline-item {
    display: flex; flex-direction: column; align-items: center;
    flex: 1; min-width: 100px; position: relative; z-index: 1;
}
.htimeline-icon {
    display: flex; align-items: center; justify-content: center;
    color: #c9a84c; font-size: 2rem; margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}
.htimeline-item:hover .htimeline-icon { transform: scale(1.15); color: #f7e7ce; }
.htimeline-time {
    font-family: 'Pinyon Script', cursive; font-size: 0.9rem; font-weight: 500;
    color: #f7e7ce; margin-bottom: 0.25rem; white-space: nowrap;
}
.htimeline-label {
    font-size: 0.7rem; font-weight: 500; color: #c9a84c; opacity: 0.7;
    text-transform: uppercase; letter-spacing: 0.06em; text-align: center; white-space: nowrap;
}

/* ── RSVP Guest Lookup ── */
.guest-suggestions {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    background: rgba(36, 16, 24, 0.95); border: 1px solid rgba(201,168,76,0.2);
    border-top: none; max-height: 200px; overflow-y: auto;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.guest-suggestions.hidden { display: none; }
.guest-suggestion-item {
    padding: 10px 18px; cursor: pointer;
    font-family: 'Josefin Sans', sans-serif; font-size: 0.9rem; color: #f7e7ce;
    transition: background 0.2s ease;
}
.guest-suggestion-item:hover, .guest-suggestion-item.active {
    background: rgba(201,168,76,0.12); color: #c9a84c;
}
.form-input:disabled { opacity: 0.55; cursor: not-allowed; background: rgba(42, 16, 24, 0.7); }
.seat-toggle:disabled { opacity: 0.4; cursor: not-allowed; }
.replacement-input:disabled { opacity: 0.4; cursor: not-allowed; }
.guest-status { font-size: 0.78rem; margin-top: 4px; min-height: 18px; }
.guest-status.found { color: #a8d5a2; }
.guest-status.not-found { color: #e8a0a0; }
.guest-status.already { color: #e8c8a0; }
.guest-status.searching { color: rgba(247, 231, 206, 0.5); }

/* ═══ SVG DECORATIVE ELEMENTS ═══ */

/* ── Save the Date Overlay ── */

/* ── Preloader Screen ── */
.preloader {
    position: fixed; inset: 0; z-index: 10002;
    background: #241018;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease;
}
.preloader.preloader-done {
    opacity: 0; pointer-events: none;
}
.preloader-content { text-align: center; }
.preloader-monogram {
    font-family: 'Pinyon Script', cursive; font-size: 3rem; color: #c9a84c;
    letter-spacing: 0.1em;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}
.preloader-heart {
    display: inline-block; color: #c9a84c; font-size: 1.5rem;
    vertical-align: middle; margin: 0 0.3rem;
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.preloader-shimmer {
    width: 40px; height: 2px; margin: 1rem auto 0;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    background-size: 200% 100%;
    animation: preloaderShimmer 1.5s ease-in-out infinite;
}
@keyframes preloaderShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ── Music Toggle ── */
.music-toggle {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9990;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(36, 16, 24, 0.85); border: 1px solid rgba(201,168,76,0.25);
    color: #c9a84c; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.music-toggle:hover {
    background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.5);
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(201,168,76,0.2);
}
.music-toggle.playing {
    border-color: #c9a84c;
    animation: musicPulse 2s ease-in-out infinite;
}
@keyframes musicPulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 2px 12px rgba(0,0,0,0.3), 0 0 16px rgba(201,168,76,0.25); }
}

.std-overlay {
    position: fixed; inset: 0; z-index: 10001;
    background: #241018;
    display: flex; align-items: center; justify-content: center;
    opacity: 1;
    transition: opacity 0.6s ease;
}
.std-overlay.std-hidden { display: none; }
.std-overlay.std-fade-out { opacity: 0; pointer-events: none; }
.std-content {
    text-align: center; padding: 2rem;
    opacity: 0;
}
.std-content.std-fonts-ready {
    animation: stdEnter 1.2s ease-out both;
}
@keyframes stdEnter {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.std-label {
    font-family: 'Josefin Sans', sans-serif; font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.35em; text-transform: uppercase; color: #c9a84c; margin-bottom: 1.5rem;
}
.std-names {
    font-family: 'Pinyon Script', cursive; font-size: 4.5rem; color: #f7e7ce;
    line-height: 1.1; margin: 0;
}
@media (min-width: 768px) { .std-names { font-size: 7rem; } }
.std-ampersand {
    font-family: 'Pinyon Script', cursive; font-size: 2rem; color: #c9a84c;
    margin: 0.5rem 0; font-style: italic;
}
.std-divider {
    width: 50px; height: 1px; background: #c9a84c; margin: 1.5rem auto; opacity: 0.5;
}
.std-date {
    font-family: 'Josefin Sans', sans-serif; font-size: 0.85rem; font-weight: 300;
    letter-spacing: 0.25em; text-transform: uppercase; color: rgba(247,231,206,0.7);
    margin-bottom: 0.3rem;
}
.std-venue {
    font-family: 'Josefin Sans', sans-serif; font-size: 0.7rem; font-weight: 300;
    letter-spacing: 0.2em; color: rgba(247,231,206,0.4);
}
.std-hint {
    font-family: 'Josefin Sans', sans-serif; font-size: 0.6rem; font-weight: 300;
    letter-spacing: 0.15em; color: rgba(201,168,76,0.35); margin-top: 2.5rem;
    animation: stdPulse 2s ease-in-out infinite;
}
@keyframes stdPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.7; }
}

/* ── Floral Corner Ornaments ── */
.floral-corner {
    position: absolute; width: 70px; height: 70px; opacity: 0.3; pointer-events: none; z-index: 1;
    color: #c9a84c;
    filter: drop-shadow(0 0 4px rgba(201,168,76,0.15));
    transition: opacity 0.6s ease;
}
.floral-corner:hover { opacity: 0.45; }
.floral-corner--tl { top: 0; left: 0; }
.floral-corner--tr { top: 0; right: 0; transform: scaleX(-1); }
.floral-corner--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.floral-corner--br { bottom: 0; right: 0; transform: scale(-1, -1); }
@media (min-width: 768px) {
    .floral-corner { width: 170px; height: 170px; }
}

/* ── Ornamental Heading Frame ── */
.ornament-frame {
    position: relative; display: inline-block; padding: 0 3.5rem;
}
.ornament-frame::before,
.ornament-frame::after {
    content: ''; position: absolute; top: 50%; width: 30px; height: 1px;
    background: linear-gradient(90deg, transparent, #c9a84c); opacity: 0.7;
}
.ornament-frame::before { right: 100%; margin-right: 0.3rem; background: linear-gradient(90deg, transparent, #c9a84c); }
.ornament-frame::after { left: 100%; margin-left: 0.3rem; background: linear-gradient(270deg, transparent, #c9a84c); }
.ornament-frame-svg {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; opacity: 1;
    color: #d4b85a;
    filter: drop-shadow(0 0 10px rgba(201,168,76,0.6)) drop-shadow(0 0 20px rgba(201,168,76,0.3)) drop-shadow(0 0 4px rgba(255,215,0,0.2));
    transition: opacity 0.4s ease, filter 0.4s ease;
    animation: ornamentGlow 3s ease-in-out infinite;
}
.ornament-frame:hover .ornament-frame-svg {
    opacity: 1;
    filter: drop-shadow(0 0 16px rgba(201,168,76,0.8)) drop-shadow(0 0 32px rgba(201,168,76,0.4)) drop-shadow(0 0 6px rgba(255,215,0,0.3));
}
@keyframes ornamentGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(201,168,76,0.6)) drop-shadow(0 0 20px rgba(201,168,76,0.3)) drop-shadow(0 0 4px rgba(255,215,0,0.2)); }
    50% { filter: drop-shadow(0 0 18px rgba(201,168,76,0.8)) drop-shadow(0 0 36px rgba(201,168,76,0.4)) drop-shadow(0 0 8px rgba(255,215,0,0.3)); }
}
.ornament-frame-svg--left { right: 100%; margin-right: -0.2rem; }
.ornament-frame-svg--right { left: 100%; margin-left: -0.2rem; }
@media (max-width: 768px) {
    .ornament-frame { padding: 0 2rem; }
    .ornament-frame-svg { width: 32px; height: 32px; }
    .ornament-frame::before, .ornament-frame::after { width: 16px; }
}

/* ── Rings Divider ── */
.rings-divider {
    display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto;
    width: fit-content;
    filter: drop-shadow(0 0 6px rgba(201,168,76,0.3));
}
.rings-divider svg { opacity: 0.8; flex-shrink: 0; }
.rings-divider-line {
    width: 50px; height: 1px; background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    opacity: 0.6;
}

/* ── Floating Petals ── */
.petal {
    position: absolute; pointer-events: none; opacity: 0; z-index: 1;
    animation: petalFall linear infinite;
}
@keyframes petalFall {
    0% { opacity: 0; transform: translateY(-10vh) rotate(0deg) translateX(0); }
    10% { opacity: 0.5; }
    50% { transform: translateY(45vh) rotate(180deg) translateX(30px); }
    90% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(100vh) rotate(360deg) translateX(-20px); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .timeline-line { left: 24px; }
    .story-scroll {
        flex-wrap: nowrap; justify-content: flex-start;
        overflow-x: auto; -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory; gap: 0.6rem;
    }
    .story-card {
        width: calc(100vw - 3rem); height: 55vh; border-radius: 20px;
        flex: 0 0 calc(100vw - 3rem); scroll-snap-align: center;
    }
    .story-scroll-hint { display: block; }
    .htimeline { padding: 0; }
    .htimeline-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .htimeline-item { min-width: 64px; }
    .htimeline-time { font-size: 0.78rem; }
    .htimeline-label { font-size: 0.55rem; }
    .htimeline-track { top: 12px; left: 20px; right: 20px; }
}
