/* ============================================================
   WEDDING WEBSITE — 3D CINEMATIC STYLE
   Couple: Zaid Al-Hassan & Fatima Al-Noor
============================================================ */

/* --- CSS Variables --- */
:root {
    --bg: #06160f;
    --bg2: #040e09;
    --gold: #c9a84c;
    --gold-lt: #e8cc7a;
    --gold-glow: rgba(201, 168, 76, 0.25);
    --cream: #f5ede0;
    --muted: #8a9e94;
    --glass-bg: rgba(10, 30, 20, 0.45);
    --glass-bd: rgba(201, 168, 76, 0.18);
    --glass-sh: 0 8px 40px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--cream);
    overflow-x: hidden;
    position: relative;
}

/* --- Typography Classes --- */
.font-script {
    font-family: 'Great Vibes', cursive;
}

.font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
    font-family: 'Jost', sans-serif;
}

.text-center {
    text-align: center;
}

.italic {
    font-style: italic;
}

/* --- Utility spacing --- */
.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* ============================================================
   NAVIGATION
============================================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: center;
    transition: background 0.5s var(--transition), padding 0.3s;
}

.site-nav.scrolled {
    background: rgba(6, 22, 15, 0.92);
    backdrop-filter: blur(12px);
    padding: 0.75rem 2rem;
    border-bottom: 1px solid var(--glass-bd);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-initials {
    font-size: 2rem;
    color: var(--gold-lt);
    line-height: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold-lt);
}

/* ============================================================
   HERO — FULL CINEMATIC 3D
============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, transparent 10%, rgba(4, 14, 9, 0.7) 100%),
        linear-gradient(to bottom, rgba(6, 22, 15, 0.3) 0%, transparent 30%, transparent 70%, rgba(6, 22, 15, 0.9) 100%);
}

/* Petal CSS animation */
.petal-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -30px;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50% 0;
    opacity: 0.4;
    animation: petalFall linear infinite;
    filter: blur(1px);
}

@keyframes petalFall {
    0% {
        transform: translateY(-30px) rotate(0deg) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(110vh) rotate(720deg) translateX(60px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 900px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.hero-divider .line {
    height: 1px;
    width: 80px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.hero-divider .line:last-child {
    background: linear-gradient(to left, transparent, var(--gold));
}

.divider-icon {
    color: var(--gold);
    font-size: 1rem;
}

.save-date {
    font-size: 1.25rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 1.05;
    color: var(--gold-lt);
    text-shadow:
        0 0 60px rgba(201, 168, 76, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    margin-bottom: 1.5rem;
}

.hero-title .groom-name,
.hero-title .bride-name {
    display: block;
}

.hero-amp {
    font-size: 3rem;
    color: var(--gold);
    display: block;
    line-height: 1.5;
}

.hero-date {
    font-size: 1.4rem;
    letter-spacing: 3px;
    opacity: 0;
    margin-bottom: 0.5rem;
}

.hero-venue {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--muted);
    opacity: 0;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.hero-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transition: color 0.3s;
}

.hero-cta:hover {
    color: var(--gold-lt);
}

.cta-arrow {
    font-size: 1.5rem;
    animation: heroBounce 2s ease-in-out infinite;
}

@keyframes heroBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    z-index: 300;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px var(--gold);
}

/* ============================================================
   GENERIC SECTION STYLES
============================================================ */
.section {
    padding: 7rem 1.5rem;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--cream);
    font-weight: 400;
    line-height: 1.2;
}

.title-underline {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 1.25rem auto 0;
}

/* ============================================================
   GLASS CARD
============================================================ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-bd);
    border-radius: var(--radius);
    box-shadow: var(--glass-sh);
    transition: transform 0.4s var(--transition),
        border-color 0.4s,
        box-shadow 0.4s;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 168, 76, 0.08);
}

/* ============================================================
   OPENING CARD
============================================================ */
.opening-card {
    padding: 7rem 1.5rem;
}

.frame-border {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--glass-bd);
    border-radius: 24px;
    padding: 4rem 3rem;
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
}

.frame-border::before,
.frame-border::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: var(--gold);
    border-style: solid;
    opacity: 0.5;
}

.frame-border::before {
    top: 16px;
    left: 16px;
    border-width: 2px 0 0 2px;
}

.frame-border::after {
    bottom: 16px;
    right: 16px;
    border-width: 0 2px 2px 0;
}

.bismillah-ar {
    font-size: 2.25rem;
    color: var(--gold-lt);
    font-family: 'Traditional Arabic', serif;
    direction: rtl;
    letter-spacing: 4px;
    text-shadow: 0 2px 16px rgba(201, 168, 76, 0.35);
    line-height: 1.6;
}

.ornament-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ornament-line .line.short {
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.ornament-icon {
    color: var(--gold);
    font-size: 0.9rem;
    opacity: 0.7;
}

.invite-text {
    font-size: 1.2rem;
    color: var(--muted);
    font-weight: 300;
    font-style: italic;
    max-width: 560px;
    margin: 0 auto;
}

.couple-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.couple-block {
    text-align: center;
}

.couple-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold-lt);
    text-shadow: 0 2px 20px rgba(201, 168, 76, 0.3);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.couple-sub {
    font-size: 0.9rem;
    color: var(--muted);
    letter-spacing: 0.5px;
    line-height: 1.7;
}

.ring-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.06);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.15);
}

.heart-icon {
    font-size: 2rem;
    color: var(--gold);
    animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.quran-verse {
    font-size: 1.15rem;
    color: var(--muted);
    font-style: italic;
}

/* ============================================================
   STORY / TIMELINE
============================================================ */
.story-section {
    background: linear-gradient(to bottom, var(--bg), rgba(10, 25, 16, 1));
}

.timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    transform: translateX(-50%);
    opacity: 0.4;
}

.timeline-item {
    display: grid;
    gap: 0;
    position: relative;
}

.tl-left {
    grid-template-columns: 1fr 40px;
}

.tl-right {
    grid-template-columns: 40px 1fr;
}

.tl-card {
    padding: 2rem;
}

.tl-left .tl-card {
    border-radius: 16px 4px 16px 16px;
}

.tl-right .tl-card {
    border-radius: 4px 16px 16px 16px;
}

.tl-dot {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.tl-year {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.tl-title {
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.tl-text {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
}

/* ============================================================
   PARALLAX DIVIDER
============================================================ */
.parallax-divider {
    position: relative;
    height: 420px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#parallax-divider-1 {
    background-image:
        linear-gradient(to right, rgba(6, 22, 15, 0.7), rgba(6, 22, 15, 0.3), rgba(6, 22, 15, 0.7)),
        radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
    background-color: #04120a;
    border-top: 1px solid var(--glass-bd);
    border-bottom: 1px solid var(--glass-bd);
}

#parallax-divider-2 {
    background-image:
        linear-gradient(to right, rgba(6, 22, 15, 0.7), rgba(6, 22, 15, 0.3), rgba(6, 22, 15, 0.7)),
        radial-gradient(circle at 80% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
    background-color: #040e08;
    border-top: 1px solid var(--glass-bd);
    border-bottom: 1px solid var(--glass-bd);
}

.parallax-content {
    z-index: 10;
    padding: 2rem;
}

.parallax-quote {
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    color: var(--gold-lt);
    text-shadow: 0 2px 20px rgba(201, 168, 76, 0.3);
    margin-bottom: 0.75rem;
    max-width: 700px;
    margin-inline: auto;
}

.parallax-attr {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--muted);
    text-transform: uppercase;
}

.divider-ring-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* ============================================================
   EVENTS
============================================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.event-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.event-icon-wrap {
    margin-bottom: 1.25rem;
}

.event-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

.event-label {
    font-size: 1.5rem;
    color: var(--gold-lt);
    margin-bottom: 0.5rem;
}

.event-value {
    font-size: 1.05rem;
    color: var(--cream);
    margin-bottom: 0.4rem;
}

.event-note {
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.5px;
}

/* ============================================================
   COUNTDOWN
============================================================ */
.countdown-section {
    background: linear-gradient(to bottom, transparent, rgba(10, 24, 16, 0.8), transparent);
}

.countdown-display {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.cd-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cd-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(201, 168, 76, 0.06), transparent 70%);
}

.cd-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold-lt);
    line-height: 1;
    display: block;
    position: relative;
}

.cd-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-top: 0.5rem;
}

.countdown-target {
    font-size: 0.95rem;
    color: var(--muted);
    letter-spacing: 1px;
    font-style: italic;
}

/* ============================================================
   GALLERY
============================================================ */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gi-tall {
    grid-row: span 2;
}

.gi-wide {
    grid-column: span 2;
}

.gi-sq {
    grid-row: span 1;
}

.gi-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--transition);
    position: relative;
}

.gi-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 15l3 9h9l-7 5 3 9-8-6-8 6 3-9-7-5h9z' fill='%23c9a84c' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.gi-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 22, 15, 0.85), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gi-overlay {
    opacity: 1;
}

.gallery-item:hover .gi-inner {
    transform: scale(1.05);
}

.gi-caption {
    font-size: 1.1rem;
    color: var(--gold-lt);
    font-style: italic;
}

.gi-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.15;
}

/* ============================================================
   LOCATION MAPS
============================================================ */
.maps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .maps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.map-card {
    padding: 2rem;
}

.map-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.map-icon {
    font-size: 1.5rem;
    color: var(--gold);
}

.map-title {
    font-size: 1.5rem;
    color: var(--gold-lt);
}

.map-address {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.map-embed-wrap {
    border-radius: 10px;
    overflow: hidden;
    height: 240px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Transparent blocker that sits on top of iframe — kills ALL iframe clicks */
.map-block {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    cursor: default;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.2) brightness(0.9);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s var(--transition);
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--bg);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.35);
}

.btn-static {
    cursor: default;
    pointer-events: none;
}

/* ============================================================
   RSVP
============================================================ */
.rsvp-section {
    padding: 7rem 1.5rem;
}

.rsvp-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-bd);
    border-radius: 20px;
    padding: 4rem 2rem;
    max-width: 780px;
    box-shadow: var(--glass-sh), 0 0 80px rgba(201, 168, 76, 0.05);
    position: relative;
    overflow: hidden;
}

.rsvp-glass::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.rsvp-envelope {
    font-size: 3rem;
    color: var(--gold);
}

.rsvp-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--cream);
}

.rsvp-text {
    font-size: 1rem;
    color: var(--muted);
    max-width: 500px;
    margin-inline: auto;
    line-height: 1.8;
}

.rsvp-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.rsvp-divider {
    color: var(--gold);
    font-size: 1.5rem;
}

.contact-name {
    font-size: 1.25rem;
    color: var(--gold-lt);
    margin-bottom: 0.25rem;
}

.contact-phone {
    font-size: 0.95rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-phone:hover {
    color: var(--gold-lt);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    padding: 5rem 1.5rem 3rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-bd);
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 2px;
    background: radial-gradient(ellipse, var(--gold) 0%, transparent 70%);
    filter: blur(4px);
}

.footer-names {
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: var(--gold-lt);
    text-shadow: 0 4px 30px rgba(201, 168, 76, 0.25);
    line-height: 1;
}

.footer-date {
    font-size: 1.25rem;
    letter-spacing: 4px;
    color: var(--muted);
    margin-top: 0.5rem;
}

.ornament-icon-sm {
    font-size: 0.8rem;
    color: var(--gold);
}

.footer-closing {
    font-size: 0.95rem;
    color: var(--muted);
    font-style: italic;
}

.footer-credit {
    font-size: 0.75rem;
    color: var(--muted);
    opacity: 0.5;
    margin-top: 2rem;
    letter-spacing: 1px;
}

/* ============================================================
   FAB MUSIC BUTTON
============================================================ */
.fab-music {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-bd);
    color: var(--gold);
    font-size: 1.35rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    transition: all 0.3s var(--transition);
    box-shadow: var(--glass-sh);
}

.fab-music:hover {
    transform: scale(1.1);
    background: rgba(201, 168, 76, 0.1);
}

.fab-music.playing {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.fab-music.playing i {
    animation: musicSpin 2s linear infinite;
}

@keyframes musicSpin {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* ============================================================
   SCROLL REVEAL CLASSES
============================================================ */
.reveal-hero {
    opacity: 0;
    transform: translateY(24px);
}

.reveal-hero.vis {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1.2s var(--transition), transform 1.2s var(--transition);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}

.reveal-up.vis {
    opacity: 1;
    transform: translateY(0);
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}

.reveal-slide-left.vis {
    opacity: 1;
    transform: translateX(0);
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}

.reveal-slide-right.vis {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}

.reveal-scale.vis {
    opacity: 1;
    transform: scale(1);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 767px) {
    .couple-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ring-circle {
        margin: 0 auto;
    }

    .timeline::before {
        left: 20px;
    }

    .tl-left,
    .tl-right {
        grid-template-columns: 40px 1fr;
    }

    .tl-left .tl-dot {
        order: -1;
    }

    .tl-left .tl-card,
    .tl-right .tl-card {
        border-radius: 4px 16px 16px 16px;
    }

    .gallery-masonry {
        grid-template-columns: 1fr 1fr;
    }

    .gi-wide {
        grid-column: span 2;
    }

    .gi-tall {
        grid-row: span 1;
    }

    .nav-links {
        display: none;
    }

    .events-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
    }

    .gi-wide {
        grid-column: span 1;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    /* Fix responsive overlay on 320px mobile screens */
    .site-nav {
        padding: 1rem;
    }

    .nav-initials {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 100vh;
        padding-top: 80px;
        /* Prevent text from hitting the fixed nav */
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-amp {
        font-size: 2.2rem;
    }

    .hero-venue {
        margin-bottom: 2rem;
    }
}