/* ═══════════════════════════════════════════
   EBENEZER HAITIAN SDA CHURCH — MAIN STYLES
   ═══════════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --navy: #0B1623;
    --navy-mid: #162033;
    --navy-light: #1E2E45;
    --text: #DFD9CF;
    --muted: #8A97A8;
    --border: rgba(255, 255, 255, 0.07);
}

body {
    background: var(--navy);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
}

/* ── CURSOR — CHURCH CROSS ── */

/*
   Church cross proportions:
   - Vertical bar is taller than wide  (full height)
   - Horizontal bar sits at ~35% from top (not centre)
   - Bars are thick rectangles, not hairlines
   A true Latin / Christian cross shape.
*/

#cur-cross {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    /* Overall bounding box of the cross */
    width: 20px;
    height: 30px;
    transition: transform .15s ease;
}

/* Vertical bar — full height of the element */
#cur-cross::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;          /* spans the full 30px */
    background: var(--gold);
    box-shadow: 0 0 8px rgba(201, 168, 76, .55);
    border-radius: 1px;
}

/* Horizontal bar — placed at 33% from the top (Latin-cross position) */
#cur-cross::after {
    content: '';
    position: absolute;
    top: 33%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;           /* spans the full 20px */
    height: 3px;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(201, 168, 76, .55);
    border-radius: 1px;
}

/* Scale up when hovering interactive elements */
#cur-cross.big {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Hide old cursor elements if they're still in HTML */
#cur-dot,
#cur-ring {
    display: none !important;
}

/* ── PRELOADER ── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity .6s, visibility .6s;
}

#preloader.gone {
    opacity: 0;
    visibility: hidden;
}

.pl-cross {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0;
    animation: plcross 1.2s ease forwards;
}

@keyframes plcross {
    0% {
        opacity: 0;
        transform: scale(.6) rotate(-20deg);
    }

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

.pl-bar {
    width: 160px;
    height: 1px;
    background: var(--border);
    overflow: hidden;
}

.pl-bar::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: plbar 1.4s ease infinite;
}

@keyframes plbar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.pl-txt {
    font-size: .7rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--muted);
    animation: fadein 1s .3s both;
}

/* ── NAVIGATION ── */
nav#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    padding: 1.8rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .5s;
}

nav#nav.scrolled {
    padding: 1.1rem 4rem;
    background: rgba(11, 22, 35, .93);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gold-dim);
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .04em;
    text-decoration: none;
    cursor: none;
}

.nav-logo span {
    color: var(--text);
    font-weight: 300;
}

.nav-ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-ul a {
    color: var(--muted);
    text-decoration: none;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: color .3s;
    cursor: none;
    position: relative;
}

.nav-ul a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .3s;
}

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

.nav-ul a:hover::after {
    width: 100%;
}

.nav-donate {
    padding: .6rem 1.5rem;
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 600 !important;
    transition: all .3s !important;
}

.nav-donate:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, .35);
}

.nav-donate::after {
    display: none !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: none;
    background: none;
    border: none;
    z-index: 600;
    position: relative;
}

.burger span {
    width: 26px;
    height: 1px;
    background: var(--text);
    transition: all .3s;
    display: block;
}

.burger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 60%, rgba(201, 168, 76, .06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 85% 20%, rgba(30, 46, 69, .8) 0%, transparent 60%),
        linear-gradient(160deg, #0B1623 0%, #162033 40%, #0B1623 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.pdot {
    position: absolute;
    bottom: -12px;
    border-radius: 999px;
    opacity: .95;
    filter: blur(.15px);
    box-shadow: 0 0 12px rgba(232,201,122,.9), 0 0 24px rgba(232,201,122,.45);
    animation: floatUp linear infinite;
}

@keyframes prise {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    8% {
        opacity: .7;
    }

    92% {
        opacity: .2;
    }

    100% {
        transform: translateY(-60px) translateX(var(--dx));
        opacity: 0;
    }
}

.hero-glyph {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(18rem, 30vw, 38rem);
    line-height: 1;
    background: linear-gradient(180deg, rgba(201, 168, 76, .09) 0%, transparent 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
    pointer-events: none;
    animation: glyph-breathe 10s ease-in-out infinite;
}

@keyframes glyph-breathe {

    0%,
    100% {
        opacity: .6;
    }

    50% {
        opacity: 1;
    }
}

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

.hero-ey {
    font-size: .72rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fup .9s .4s both;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-ey::before,
.hero-ey::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: .5;
}

.hero-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.8rem, 9vw, 7rem);
    font-weight: 300;
    line-height: 1.02;
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: fup .9s .6s both;
}

.hero-h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.9;

    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fup .9s .8s both;
}

.hero-act {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fup .9s 1s both;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    opacity: 0;
    animation: fadein 1s 1.5s both;
}

.scroll-lbl {
    font-size: .65rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--muted);
}

.scroll-ln {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: spulse 2s ease-in-out infinite;
}

@keyframes spulse {

    0%,
    100% {
        opacity: .6;
    }

    50% {
        opacity: 1;
    }
}

/* ── BUTTONS ── */
.btn-gold {
    padding: .9rem 2.8rem;
    background: var(--gold);
    color: var(--navy);
    font-family: 'Outfit', sans-serif;
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    cursor: none;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all .35s;
    display: inline-block;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    transition: left .5s;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(201, 168, 76, .4);
}

.btn-gold:hover::before {
    left: 120%;
}

.btn-ghost {
    padding: .9rem 2.8rem;
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(223, 217, 207, .25);
    font-family: 'Outfit', sans-serif;
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: none;
    transition: all .35s;
    display: inline-block;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* ── SHARED SECTION STYLES ── */
section {
    padding: 8rem 4rem;
}

.stag {
    font-size: .7rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: .8rem;
}

.sh {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 300;
    text-align: center;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.sh em {
    font-style: italic;
    color: var(--gold);
}

.sline {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 1.5rem;
}

.sdesc {
    max-width: 620px;
    margin: 0 auto 5rem;
    text-align: center;
    color: var(--muted);
    line-height: 1.85;
    font-size: .95rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .9s cubic-bezier(.25, .46, .45, .94), transform .9s cubic-bezier(.25, .46, .45, .94);
}

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

.rleft {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity .9s ease, transform .9s ease;
}

.rleft.vis {
    opacity: 1;
    transform: translateX(0);
}

.rright {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity .9s ease, transform .9s ease;
}

.rright.vis {
    opacity: 1;
    transform: translateX(0);
}

.d1 {
    transition-delay: .1s;
}

.d2 {
    transition-delay: .2s;
}

.d3 {
    transition-delay: .3s;
}

.d4 {
    transition-delay: .4s;
}

.d5 {
    transition-delay: .5s;
}

/* ── ABOUT ── */
#about {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 168, 76, .04), transparent 65%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.about-text p {
    color: var(--muted);
    line-height: 1.9;
    font-size: .95rem;
    margin-bottom: 1.5rem;
}

.about-text a {
    color: var(--gold);
    text-decoration: none;
}

.about-text a:hover {
    text-decoration: underline;
}

.about-quote {
    position: relative;
    padding: 3rem;
    border: 1px solid var(--gold-dim);
    background: rgba(255, 255, 255, .02);
}

.about-quote::before {
    content: '✝';
    position: absolute;
    top: -.9rem;
    left: 2rem;
    background: var(--navy-mid);
    padding: 0 .75rem;
    color: var(--gold);
    font-size: 1.1rem;
}

.about-quote blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.65;
}

.about-quote cite {
    display: block;
    margin-top: 1.5rem;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    font-style: normal;
}

.about-beliefs {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(201, 168, 76, .04);
    border: 1px solid var(--gold-dim);
}

.about-beliefs p {
    font-size: .88rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* ── CTA BANNER ── */
#cta {
    padding: 6rem 4rem;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
    border-top: 1px solid var(--gold-dim);
    border-bottom: 1px solid var(--gold-dim);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(201, 168, 76, .04), transparent);
    pointer-events: none;
}

.cta-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    line-height: 1.4;
    position: relative;
}

.cta-text em {
    font-style: italic;
    color: var(--gold);
}

/* ── MINISTRIES ── */
#ministries {
    background: var(--navy);
}

.min-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3px;
    align-items: start;
}

.min-nav {
    background: var(--navy-mid);
    padding: .5rem 0;
    max-height: 520px;
    overflow-y: auto;
    position: sticky;
    top: 90px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dim) transparent;
}

.min-nav::-webkit-scrollbar {
    width: 3px;
}

.min-nav::-webkit-scrollbar-track {
    background: transparent;
}

.min-nav::-webkit-scrollbar-thumb {
    background: var(--gold-dim);
    border-radius: 2px;
}

.min-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, .4);
}

.min-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1.5rem;
    cursor: none;
    font-size: .82rem;
    letter-spacing: .06em;
    color: var(--muted);
    border-left: 2px solid transparent;
    transition: all .3s;
    text-decoration: none;
    white-space: nowrap;
}

.min-item:hover {
    color: var(--text);
    background: rgba(201, 168, 76, .04);
}

.min-item.act {
    color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(201, 168, 76, .06);
}

.min-ico {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.min-cnt {
    background: var(--navy-light);
    padding: 3.5rem;
}

.min-panel {
    display: none;
}

.min-panel.act {
    display: block;
    animation: panin .4s ease;
}

@keyframes panin {
    from {
        opacity: 0;
        transform: translateX(15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.min-panel h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.min-panel h6 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold);
    margin: 1.5rem 0 .5rem;
}

.min-panel p {
    color: var(--muted);
    line-height: 1.9;
    font-size: .92rem;
    margin-bottom: 1rem;
}

.min-panel p b {
    color: var(--text);
    font-weight: 500;
}

.min-panel a {
    color: var(--gold);
    text-decoration: none;
}

.min-panel a:hover {
    text-decoration: underline;
}

/* btn-gold inside a ministry panel — override the gold text colour */
.min-panel a.btn-gold,
.min-panel a.btn-gold:hover {
    color: var(--navy);
    text-decoration: none;
}

/* ── SCHEDULE ── */
#schedule {
    background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
}

.sched-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stab {
    padding: .85rem 2.5rem;
    background: transparent;
    border: 1px solid var(--gold-dim);
    color: var(--muted);
    font-family: 'Outfit', sans-serif;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: none;
    transition: all .3s;
    margin: 0 -1px;
    position: relative;
}

.stab:hover {
    color: var(--gold);
    border-color: rgba(201, 168, 76, .4);
}

.stab.act {
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    border-color: var(--gold);
    z-index: 1;
}

.sched-panel {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.sched-panel.act {
    display: block;
    animation: panin .4s ease;
}

.sched-card {
    background: var(--navy-mid);
    border: 1px solid var(--gold-dim);
    padding: 3rem;
}

.sched-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.sched-row:last-child {
    border-bottom: none;
}

.sched-lbl {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    padding-top: .1rem;
}

.sched-val {
    font-size: .92rem;
    color: var(--text);
    line-height: 1.7;
}

.sched-val a {
    color: var(--gold);
    text-decoration: none;
}

.sched-val a:hover {
    text-decoration: underline;
}

.sched-day-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
    text-align: center;
    margin-bottom: 2rem;
}

/* ── LEADERS ── */
#leaders {
    background: var(--navy);
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1100px;
    margin: 0 auto;
}

.leader-card {
    background: var(--navy-mid);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all .45s;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, rgba(201, 168, 76, .06), transparent);
    transition: height .45s;
}

.leader-card:hover {
    transform: translateY(-8px);
}

.leader-card:hover::before {
    height: 100%;
}

.leader-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .45s;
}

.leader-card:hover::after {
    transform: scaleX(1);
}

.leader-av {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 1.5px solid var(--gold-dim);
    background: var(--navy-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: var(--gold);
    transition: border-color .3s;
}

.leader-card:hover .leader-av {
    border-color: rgba(201, 168, 76, .5);
}

.leader-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-role-lbl {
    font-size: .68rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .6rem;
}

.leader-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.leader-bio {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ── CONTACT ── */
#contact {
    background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-map {
    position: relative;
    min-height: 600px;
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(40%) contrast(1.1) brightness(.85);
}

.cf-wrap {
    background: var(--navy-light);
    padding: 4rem 3.5rem;
}

.cf-wrap h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: .5rem;
}

.cf-wrap .cf-addr {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-full {
    margin-bottom: 1rem;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.fg label {
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
}

.fg input,
.fg textarea {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--text);
    padding: .9rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: .9rem;
    outline: none;
    transition: border-color .3s;
    resize: none;
}

.fg input:focus,
.fg textarea:focus {
    border-color: var(--gold);
}

.fg input::placeholder,
.fg textarea::placeholder {
    color: rgba(138, 151, 168, .5);
}

.fg textarea {
    height: 140px;
}

.form-submit {
    margin-top: 1.5rem;
}

/* ── FOOTER ── */
footer {
    background: rgba(0, 0, 0, .5);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.flogo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--gold);
}

footer p {
    font-size: .78rem;
    color: var(--muted);
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.flinks {
    display: flex;
    gap: 1.5rem;
}

.flinks a {
    color: var(--muted);
    font-size: .78rem;
    text-decoration: none;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color .3s;
}

.flinks a:hover {
    color: var(--gold);
}

/* ── KEYFRAME ANIMATIONS ── */
@keyframes fup {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .min-layout {
        grid-template-columns: 1fr;
    }

    .min-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        max-height: none;
        position: static;
        overflow-y: visible;
    }

    .min-item {
        border-left: none;
        border-bottom: 2px solid transparent;
        flex-direction: column;
        text-align: center;
        padding: .8rem;
        font-size: .72rem;
        gap: .3rem;
        white-space: normal;
    }

    .min-item.act {
        border-bottom-color: var(--gold);
        border-left-color: transparent;
    }

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

    .contact-map {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 1.5rem;
    }

    nav#nav {
        padding: 1.2rem 1.5rem;
    }

    nav#nav.scrolled {
        padding: .9rem 1.5rem;
    }

    .nav-ul {
        display: none;
    }

    .nav-ul.open {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--navy);
        align-items: center;
        justify-content: center;
        z-index: 499;
    }

    .nav-ul.open li {
        opacity: 0;
        animation: fup .5s ease forwards;
    }

    .nav-ul.open li:nth-child(1) {
        animation-delay: .1s;
    }

    .nav-ul.open li:nth-child(2) {
        animation-delay: .2s;
    }

    .nav-ul.open li:nth-child(3) {
        animation-delay: .3s;
    }

    .nav-ul.open li:nth-child(4) {
        animation-delay: .4s;
    }

    .nav-ul.open li:nth-child(5) {
        animation-delay: .5s;
    }

    .nav-ul.open li:nth-child(6) {
        animation-delay: .6s;
    }

    .nav-ul.open a {
        font-size: 1.2rem;
        letter-spacing: .25em;
    }

    .burger {
        display: flex;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .min-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .sched-tabs {
        flex-direction: column;
        align-items: center;
    }

    .stab {
        width: 100%;
        max-width: 300px;
    }

    .sched-row {
        grid-template-columns: 90px 1fr;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════
   2026 EXPERIENCE UPGRADES
   ═══════════════════════════════════════════ */
:root{
  --cream:#F5EFE2;
  --ink:#07111f;
}

body{ cursor:auto; }
#cur-cross{ display:none; }
a,button,.nav-logo,.nav-ul a{ cursor:pointer; }

nav#nav{
  background: linear-gradient(180deg, rgba(7,17,31,.54), rgba(7,17,31,.08));
  backdrop-filter: blur(8px);
}
nav#nav.scrolled{
  background: rgba(7,17,31,.88);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}

#hero::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle at 20% 20%, rgba(201,168,76,.16), transparent 30%),
              linear-gradient(90deg, rgba(7,17,31,.82), rgba(7,17,31,.42), rgba(7,17,31,.78));
}
.hero-content{ z-index:3; }
.hero-h1{ text-shadow:0 22px 80px rgba(0,0,0,.55); }
.hero-act{ flex-wrap:wrap; }

.experience-section,
.prayer-section,
.sermon-section,
.faith-moments{
  position:relative;
  padding:7rem 8vw;
  overflow:hidden;
}
.experience-section{
  background: linear-gradient(135deg, #101c2c, #07111f 55%, #14253a);
}
.visit-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:1.2rem;
  margin-top:3rem;
}
.visit-card,
.prayer-form,
.verse-card,
.timeline-card,
.sermon-card{
  border:1px solid rgba(201,168,76,.18);
  background:linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow:0 25px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  border-radius:28px;
}
.visit-card{
  padding:2rem;
  transition:.35s ease;
}
.visit-card:hover{
  transform:translateY(-8px);
  border-color:rgba(201,168,76,.46);
  box-shadow:0 35px 90px rgba(0,0,0,.35);
}
.visit-icon{
  width:54px;height:54px;
  display:grid;place-items:center;
  border-radius:18px;
  background:rgba(201,168,76,.15);
  font-size:1.45rem;
  margin-bottom:1.4rem;
}
.visit-card h3,
.cf-wrap h3{
  font-family:'Cormorant Garamond',serif;
  font-size:1.7rem;
  color:var(--gold-light);
  margin-bottom:.8rem;
}
.visit-card p{ color:var(--muted); line-height:1.75; }

.sermon-section{
  background: radial-gradient(circle at 70% 10%, rgba(201,168,76,.16), transparent 28%), var(--navy);
}
.sermon-wrap{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:2rem;
  align-items:center;
}
.left-copy{ text-align:left; margin-left:0; }
.sermon-actions{ display:flex; gap:1rem; flex-wrap:wrap; margin-top:2rem; }
.sermon-card{
  min-height:310px;
  text-decoration:none;
  color:var(--text);
  padding:2rem;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  position:relative;
  overflow:hidden;
}
.sermon-card::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(145deg, rgba(201,168,76,.25), transparent 50%),
             radial-gradient(circle at center, rgba(255,255,255,.09), transparent 45%);
}
.sermon-card strong,.sermon-card small,.play-mark,.live-dot{ position:relative; z-index:1; }
.sermon-card strong{ font-size:1.6rem; color:var(--gold-light); }
.sermon-card small{ color:var(--muted); margin-top:.4rem; }
.play-mark{
  position:absolute;
  top:50%; left:50%; transform:translate(-50%,-50%);
  width:78px;height:78px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--gold); color:var(--navy); font-size:1.6rem;
  box-shadow:0 0 50px rgba(201,168,76,.45);
}
.live-dot{
  position:absolute; top:1.6rem; left:1.6rem;
  width:14px;height:14px;border-radius:50%; background:#ff4141;
  box-shadow:0 0 0 0 rgba(255,65,65,.8);
  animation:pulseLive 1.6s infinite;
}
@keyframes pulseLive{70%{box-shadow:0 0 0 16px rgba(255,65,65,0)}}

.prayer-section{
  background:linear-gradient(180deg, #07111f, #101c2c);
}
.prayer-form{
  max-width:960px;
  margin:3rem auto 0;
  padding:2rem;
}
.hidden-field{ display:none; }
.fg select{
  width:100%;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  border-radius:14px;
  padding:1rem;
  outline:none;
  font:inherit;
}
.fg select option{ color:#07111f; }

.faith-moments{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:1.4rem;
  background:linear-gradient(135deg, #f7f0e2, #e9dfcb);
  color:var(--ink);
}
.faith-moments .sh,
.faith-moments .stag{ color:var(--ink); text-align:left; }
.faith-moments .sh em{ color:#8d6f22; }
.verse-card,.timeline-card{
  background:rgba(255,255,255,.72);
  border-color:rgba(141,111,34,.22);
  padding:2rem;
  color:var(--ink);
}
#dailyVerse{
  font-family:'Cormorant Garamond',serif;
  font-size:2rem;
  line-height:1.25;
  margin:1rem 0;
}
#dailyVerseRef{ color:#8d6f22; letter-spacing:.12em; text-transform:uppercase; }
.timeline-mini{ display:grid; gap:1.2rem; margin-top:1.5rem; }
.timeline-mini div{ display:grid; grid-template-columns:20px 1fr; gap:1rem; align-items:start; }
.timeline-mini span{ width:13px; height:13px; margin-top:.35rem; border-radius:50%; background:#8d6f22; box-shadow:0 0 0 8px rgba(141,111,34,.12); }
.timeline-mini p{ line-height:1.65; color:#334; }

.mobile-quick-actions{
  position:fixed;
  left:50%; bottom:16px; transform:translateX(-50%);
  z-index:800;
  display:none;
  background:rgba(7,17,31,.9);
  backdrop-filter:blur(18px);
  border:1px solid rgba(201,168,76,.25);
  border-radius:999px;
  padding:.45rem;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
}
.mobile-quick-actions a{
  color:var(--text);
  text-decoration:none;
  font-size:.72rem;
  letter-spacing:.08em;
  padding:.75rem .9rem;
  border-radius:999px;
}
.mobile-quick-actions a.primary{ background:var(--gold); color:var(--navy); font-weight:700; }

@media (max-width: 1050px){
  .visit-grid{ grid-template-columns:repeat(2,1fr); }
  .sermon-wrap,.faith-moments{ grid-template-columns:1fr; }
}
@media (max-width: 760px){
  nav#nav{ padding:1rem 1.1rem; }
  .experience-section,.prayer-section,.sermon-section,.faith-moments{ padding:5.5rem 1.2rem; }
  .visit-grid{ grid-template-columns:1fr; }
  .prayer-form{ padding:1.2rem; border-radius:22px; }
  .mobile-quick-actions{ display:flex; }
  body{ padding-bottom:72px; }
  .hero-act .btn-ghost,.hero-act .btn-gold{ width:100%; text-align:center; }
}

.service-countdown{
  max-width:760px;
  margin:2rem auto 0;
  padding:1.2rem 1.5rem;
  border-radius:24px;
  border:1px solid rgba(201,168,76,.25);
  background:rgba(255,255,255,.055);
  display:flex;
  justify-content:space-between;
  gap:1rem;
  align-items:center;
  flex-wrap:wrap;
}
.service-countdown span{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.72rem;
}
.service-countdown strong{ font-family:'Cormorant Garamond',serif; font-size:1.35rem; }
.service-countdown em{ color:var(--muted); font-style:normal; }
.thank-you-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:radial-gradient(circle at 50% 20%, rgba(201,168,76,.18), transparent 34%), var(--navy);
  padding:2rem;
}
.thank-card{
  max-width:620px;
  text-align:center;
  border:1px solid rgba(201,168,76,.22);
  background:rgba(255,255,255,.06);
  border-radius:32px;
  padding:3rem;
  box-shadow:0 30px 100px rgba(0,0,0,.34);
}
.thank-card h1{ font-family:'Cormorant Garamond',serif; font-size:4rem; color:var(--gold-light); }
.thank-card p{ color:var(--muted); line-height:1.7; margin:1rem 0 2rem; }
@media (max-width:760px){.service-countdown{align-items:flex-start; flex-direction:column;}}

/* ═══════════════════════════════════════════
   FINAL UX FIXES — cursor, logo, countdown, compact sermon, forms
   ═══════════════════════════════════════════ */
html, body { cursor: auto !important; }
#cur-cross { display: none !important; }
a, button, select, input, textarea, label, .min-item, .stab, .btn-gold, .btn-ghost, .hero-act a, .sermon-compact-card, .mobile-quick-actions a {
  cursor: pointer !important;
}
input, textarea { cursor: text !important; }

.nav-logo{
  display:flex;
  align-items:center;
  gap:.65rem;
  min-width:0;
}
.nav-logo img{
  height:48px;
  width:auto;
  display:block;
  object-fit:contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.26));
}
.nav-logo span{
  font-size:1.05rem;
  white-space:nowrap;
}

.flogo{
  display:flex;
  align-items:center;
}
.flogo img{
  height:68px;
  width:auto;
  display:block;
  object-fit:contain;
  filter: brightness(0) invert(1) drop-shadow(0 10px 22px rgba(0,0,0,.2));
}

.service-countdown{
  max-width:760px;
  margin:2.2rem auto 0;
  padding:1rem 1.4rem;
}
.service-countdown em{
  font-variant-numeric: tabular-nums;
  letter-spacing:.04em;
  color:var(--gold-light);
}
.service-countdown strong{ text-align:center; }

.sermon-section-compact{
  padding:4rem 8vw;
}
.sermon-compact-card{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:1.4rem;
  align-items:center;
  text-decoration:none;
  color:var(--text);
  border:1px solid rgba(201,168,76,.22);
  background:linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  border-radius:30px;
  padding:1.5rem 1.8rem;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
  transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.sermon-compact-card:hover{
  transform:translateY(-5px);
  border-color:rgba(201,168,76,.48);
  box-shadow:0 36px 95px rgba(0,0,0,.36);
}
.sermon-compact-card .stag,
.sermon-compact-card .sh{
  text-align:left;
  margin-left:0;
}
.sermon-compact-card .sh{
  font-size:clamp(2.1rem,4vw,3.7rem);
  margin:.2rem 0 .6rem;
}
.sermon-copy p{
  color:var(--muted);
  line-height:1.7;
  max-width:660px;
}
.compact-dot{
  position:static !important;
  display:block;
  width:15px;
  height:15px;
  border-radius:50%;
  background:#ff4141;
  box-shadow:0 0 0 0 rgba(255,65,65,.8);
  animation:pulseLive 1.6s infinite;
}
.sermon-inline-btn{
  white-space:nowrap;
}

.form-note{
  margin:0 0 1.2rem;
  color:var(--gold-light);
  font-size:.86rem;
  letter-spacing:.03em;
}
.fg label span{
  color:var(--gold-light);
  letter-spacing:.08em;
  font-size:.68rem;
}
.fg input:invalid:not(:placeholder-shown),
.fg textarea:invalid:not(:placeholder-shown){
  border-color:#ff7676;
}
.fg input:valid:not(:placeholder-shown),
.fg textarea:valid:not(:placeholder-shown){
  border-color:rgba(201,168,76,.45);
}

@media (max-width:900px){
  .nav-logo img{ height:42px; }
  .nav-logo span{ display:none; }
  .sermon-compact-card{ grid-template-columns:1fr; align-items:flex-start; }
  .sermon-inline-btn{ width:100%; text-align:center; }
}


/* ── NEXT LEVEL UPDATES ── */
.lang-toggle {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 850;
    display: flex;
    gap: .35rem;
    padding: .35rem;
    border: 1px solid rgba(201,168,76,.35);
    border-radius: 999px;
    background: rgba(11,22,35,.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
}
.lang-btn {
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    padding: .55rem .75rem;
    color: rgba(255,255,255,.8);
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.lang-btn.active {
    background: var(--gold);
    color: #07111d;
    font-weight: 700;
}
.partial-lang-toggle { display:none; }

.welcome-flow {
    max-width: 1050px;
    margin: 2.2rem auto 3rem;
    padding: 1.4rem;
    border: 1px solid rgba(201,168,76,.22);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    box-shadow: 0 28px 80px rgba(0,0,0,.18);
}
.flow-step {
    display: none;
    text-align: center;
    padding: 1.2rem;
}
.flow-step.active { display: block; animation: fadein .35s ease both; }
.flow-step span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold);
    color: #07111d;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: .8rem;
}
.flow-step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    color: #fff;
    margin-bottom: .45rem;
}
.flow-step p {
    max-width: 700px;
    margin: 0 auto;
}
.flow-controls {
    display:flex;
    justify-content:center;
    gap:.6rem;
    padding-bottom:.3rem;
}
.flow-btn {
    cursor:pointer;
    width: 36px;
    height: 36px;
    border-radius:50%;
    border:1px solid rgba(201,168,76,.45);
    background:rgba(255,255,255,.04);
    color:#fff;
}
.flow-btn.active {
    background:var(--gold);
    color:#07111d;
    font-weight:700;
}

.directions-section {
    padding: 7rem 8vw;
    background: radial-gradient(circle at 15% 15%, rgba(201,168,76,.08), transparent 35%), var(--navy);
}
.directions-card {
    max-width: 1150px;
    margin: 2.5rem auto 0;
    border: 1px solid rgba(201,168,76,.24);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,.045);
    box-shadow: 0 30px 80px rgba(0,0,0,.22);
}
.directions-copy {
    padding: 2rem 2rem .75rem;
}
.directions-copy h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #fff;
}
.directions-form {
    padding: 0 2rem 2rem;
}
.directions-form label {
    display:block;
    margin-bottom: .6rem;
    color: var(--gold-light);
    letter-spacing:.12em;
    text-transform: uppercase;
    font-size:.75rem;
}
.directions-row {
    display:flex;
    gap: .8rem;
}
.directions-row input {
    flex:1;
    min-height: 52px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 0;
    background: rgba(8,18,31,.75);
    color:#fff;
    padding: 0 1rem;
    font-family:'Outfit', sans-serif;
}
.directions-row input::placeholder { color: rgba(255,255,255,.45); }
#directionsMap {
    width:100%;
    height:420px;
    display:block;
    border:0;
    filter: saturate(.9) contrast(1.02);
}

@media (max-width: 720px) {
    .directions-row { flex-direction: column; }
    #directionsMap { height: 320px; }
    .lang-toggle { right:.75rem; bottom:.75rem; }
}


/* ── LANGUAGE TOGGLE LEFT POSITION + MAP CONTROLS UPDATE ── */
.lang-toggle {
    left: 1.2rem !important;
    right: auto !important;
}
@media (max-width: 720px) {
    .lang-toggle {
        left: .75rem !important;
        right: auto !important;
    }
}

/* Two-button directions row */
.directions-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    margin-top: .8rem;
}
.directions-actions .btn-ghost,
.directions-actions .btn-gold {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.directions-row {
    display: block !important;
}
.directions-row input {
    width: 100%;
}
.autocomplete-hint {
    margin-top: .55rem;
    color: rgba(255,255,255,.56);
    font-size: .82rem;
}
@media (max-width: 720px) {
    .directions-actions {
        grid-template-columns: 1fr;
    }
}

/* Final language + directions polish */
.lang-toggle { left: 1.2rem !important; right: auto !important; }
@media (max-width: 720px) { .lang-toggle { left: .75rem !important; right: auto !important; } }
.directions-row { display: block !important; }
.directions-row input { width: 100%; }
.directions-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .8rem; }
.directions-actions .btn-gold, .directions-actions .btn-ghost { width:100%; min-height:52px; display:inline-flex; align-items:center; justify-content:center; text-align:center; }
.autocomplete-hint { margin-top:.65rem; color:rgba(255,255,255,.62); font-size:.84rem; }
@media (max-width:720px){ .directions-actions{ grid-template-columns:1fr; } }


/* ─────────────────────────────────────────────
   RESTORED HERO FIRE / EMBER ANIMATION
   ───────────────────────────────────────────── */
#hero {
    position: relative;
    overflow: hidden;
}

.fire-embers {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
}

.fire-embers::before,
.fire-embers::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18%;
    width: min(820px, 110vw);
    height: min(520px, 70vh);
    transform: translateX(-50%);
    border-radius: 50% 50% 35% 35%;
    opacity: .58;
    filter: blur(34px);
    background:
        radial-gradient(circle at 50% 84%, rgba(255, 201, 84, .46), transparent 30%),
        radial-gradient(circle at 36% 72%, rgba(255, 132, 44, .24), transparent 38%),
        radial-gradient(circle at 64% 72%, rgba(255, 92, 42, .20), transparent 38%),
        radial-gradient(circle at 50% 58%, rgba(232, 201, 122, .16), transparent 46%),
        transparent;
    animation: emberGlow 5.5s ease-in-out infinite alternate;
}

.fire-embers::after {
    width: min(680px, 95vw);
    height: min(430px, 58vh);
    opacity: .42;
    filter: blur(24px);
    animation: emberGlow 4s ease-in-out infinite alternate-reverse;
}

@keyframes emberGlow {
    0% {
        transform: translateX(-50%) translateY(20px) scale(.94);
        opacity: .32;
    }
    50% {
        transform: translateX(-50%) translateY(-6px) scale(1.04);
        opacity: .62;
    }
    100% {
        transform: translateX(-50%) translateY(8px) scale(.98);
        opacity: .46;
    }
}

.pdot {
    box-shadow: 0 0 14px rgba(255, 210, 92, .95), 0 0 32px rgba(255, 145, 58, .45) !important;
}

/* Keep hero content above fire layer */
.hero-content,
.hero-scroll,
.hero-glyph {
    position: relative;
    z-index: 5;
}

/* ─────────────────────────────────────────────
   MOBILE NAV RESPONSIVE FIX
   Fixes overlap with bottom quick bar/language toggle
   ───────────────────────────────────────────── */
@media (max-width: 900px) {
    nav#nav {
        padding: .85rem 1.1rem !important;
        min-height: 72px;
    }

    .nav-logo img {
        width: 42px !important;
        height: 42px !important;
    }

    .nav-logo span {
        font-size: 1.05rem !important;
    }

    .burger {
        display: flex !important;
        z-index: 1100;
    }

    .nav-ul {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        padding: calc(72px + env(safe-area-inset-top)) 1.25rem calc(132px + env(safe-area-inset-bottom)) !important;
        background: rgba(7, 17, 29, .98) !important;
        backdrop-filter: blur(22px);
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: .8rem !important;
        overflow-y: auto !important;
        transform: translateX(100%) !important;
        transition: transform .35s ease !important;
        z-index: 1000 !important;
    }

    .nav-ul.open {
        transform: translateX(0) !important;
    }

    .nav-ul li {
        width: 100%;
        list-style: none;
        display: flex;
        justify-content: center;
    }

    .nav-ul a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-height: 28px;
        font-size: clamp(.86rem, 3.6vw, 1rem) !important;
        letter-spacing: .24em !important;
        line-height: 1.15 !important;
        white-space: nowrap;
        text-align: center;
    }

    .nav-ul .nav-donate,
    .nav-donate {
        margin-top: .2rem !important;
        min-width: 150px !important;
        min-height: 46px !important;
        padding: .85rem 1.15rem !important;
        letter-spacing: .22em !important;
    }

    body.nav-open {
        overflow: hidden !important;
    }

    .lang-toggle {
        left: .65rem !important;
        bottom: calc(.65rem + env(safe-area-inset-bottom)) !important;
        transform: scale(.92);
        transform-origin: bottom left;
        z-index: 1200 !important;
    }

    .mobile-actions,
    .quick-actions,
    .bottom-actions,
    .float-actions {
        z-index: 850 !important;
    }

    body.nav-open .mobile-actions,
    body.nav-open .quick-actions,
    body.nav-open .bottom-actions,
    body.nav-open .float-actions {
        display: none !important;
    }

    body.nav-open .lang-toggle {
        display: none !important;
    }
}

@media (max-width: 430px) {
    .nav-ul {
        justify-content: center !important;
        gap: .52rem !important;
        padding-top: 76px !important;
        padding-bottom: 118px !important;
    }

    .nav-ul a {
        font-size: .82rem !important;
        letter-spacing: .20em !important;
        min-height: 24px;
    }

    .nav-ul .nav-donate,
    .nav-donate {
        min-height: 42px !important;
        min-width: 138px !important;
        padding: .72rem 1rem !important;
    }
}

@media (max-height: 740px) and (max-width: 900px) {
    .nav-ul {
        justify-content: flex-start !important;
        padding-top: 90px !important;
        gap: .5rem !important;
    }

    .nav-ul a {
        font-size: .78rem !important;
        min-height: 22px;
    }

    .nav-ul .nav-donate,
    .nav-donate {
        min-height: 40px !important;
    }
}


/* ─────────────────────────────────────────────
   FINAL HERO ALIGNMENT FIX
   Centers hero content on desktop/mobile and moves background cross down
   so it no longer hides behind the fixed header.
   ───────────────────────────────────────────── */

#hero {
    min-height: 100svh !important;
    display: grid !important;
    place-items: center !important;
    padding: 7.5rem 1.5rem 5.5rem !important;
}

.hero-content {
    width: min(920px, 100%) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-ey {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-h1,
.hero-p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-p {
    max-width: 720px !important;
}

.hero-act {
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Move the large cross lower on desktop so the header doesn't cover it */
.hero-glyph {
    top: 20% !important;
    left: 24% !important;
    transform: translate(-50%, -50%) !important;
    opacity: .08 !important;
}

/* Desktop visual balance */
@media (min-width: 901px) {
    #hero {
        padding-top: 8.5rem !important;
    }

    .hero-content {
        translate: 0 1rem;
    }

    .hero-glyph {
        top: 26% !important;
        left: 23% !important;
        font-size: clamp(13rem, 20vw, 25rem) !important;
    }
}

/* Mobile hero center fix */
@media (max-width: 900px) {
    #hero {
        min-height: 100svh !important;
        padding: 6.25rem 1.2rem 6.5rem !important;
        place-items: center !important;
    }

    .hero-content {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        translate: 0 0 !important;
        text-align: center !important;
        align-items: center !important;
    }

    .hero-ey {
        width: 100% !important;
        max-width: 290px !important;
        text-align: center !important;
        line-height: 1.45 !important;
        letter-spacing: .32em !important;
    }

    .hero-h1 {
        width: 100% !important;
        text-align: center !important;
        font-size: clamp(3.25rem, 15vw, 4.95rem) !important;
        line-height: .96 !important;
        margin-top: 1.35rem !important;
    }

    .hero-p {
        width: 100% !important;
        max-width: 310px !important;
        text-align: center !important;
        font-size: 1rem !important;
        line-height: 1.65 !important;
        margin-top: 1.45rem !important;
    }

    .hero-act {
        width: 100% !important;
        max-width: 300px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .8rem !important;
        margin-top: 1.6rem !important;
    }

    .hero-act a {
        width: 100% !important;
        min-height: 52px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero-glyph {
        top: 35% !important;
        left: 18% !important;
        font-size: 12rem !important;
        opacity: .065 !important;
    }
}

/* Extra-small mobile: keep bottom buttons from covering hero CTAs */
@media (max-width: 430px) {
    #hero {
        padding-top: 5.8rem !important;
        padding-bottom: 8.25rem !important;
    }

    .hero-content {
        max-width: 330px !important;
    }

    .hero-h1 {
        font-size: clamp(3rem, 14.2vw, 4.45rem) !important;
    }

    .hero-p {
        max-width: 290px !important;
    }

    .hero-act {
        max-width: 285px !important;
    }

    .hero-glyph {
        top: 37% !important;
        left: 16% !important;
    }
}

@media (max-height: 760px) and (max-width: 430px) {
    #hero {
        padding-top: 5.25rem !important;
        padding-bottom: 7.8rem !important;
    }

    .hero-h1 {
        font-size: clamp(2.75rem, 13.2vw, 4rem) !important;
        margin-top: 1rem !important;
    }

    .hero-p {
        font-size: .92rem !important;
        line-height: 1.55 !important;
        margin-top: 1rem !important;
    }

    .hero-act {
        margin-top: 1.1rem !important;
        gap: .65rem !important;
    }

    .hero-act a {
        min-height: 46px !important;
    }
}


/* FINAL HERO TOP SPACING REDUCTION */

#hero{
    padding-top:4.2rem !important;
}

.hero-content{
    translate:0 -4.5rem !important;
}

.hero-glyph{
    top:18% !important;
}

@media (min-width:901px){
    #hero{
        padding-top:4.8rem !important;
    }

    .hero-content{
        translate:0 -5.5rem !important;
    }

    .hero-glyph{
        top:16% !important;
    }
}

@media (max-width:900px){
    #hero{
        padding-top:4.9rem !important;
    }

    .hero-content{
        translate:0 -2.2rem !important;
    }

    .hero-glyph{
        top:24% !important;
    }
}


/* ─────────────────────────────────────────────
   ABSOLUTE FINAL HERO TOP POSITION FIX
   Removes excessive top empty space by positioning hero content from top,
   not vertically centered in the viewport.
   ───────────────────────────────────────────── */

#hero {
    min-height: 100svh !important;
    height: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 0 1.5rem 5rem !important;
}

.hero-content {
    position: relative !important;
    width: min(920px, 100%) !important;
    margin: clamp(8.5rem, 15vh, 11rem) auto 0 !important;
    padding: 0 !important;
    transform: none !important;
    translate: none !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.hero-ey {
    margin-top: 0 !important;
}

.hero-h1 {
    margin-top: 1.35rem !important;
    margin-bottom: 0 !important;
}

.hero-p {
    margin-top: 1.45rem !important;
}

.hero-act {
    margin-top: 1.8rem !important;
}

/* Keep the background cross visible but below the header */
.hero-glyph {
    top: 23% !important;
    left: 23% !important;
}

/* Desktop: bring landing content much higher */
@media (min-width: 901px) {
    #hero {
        padding-top: 0 !important;
    }

    .hero-content {
        margin-top: clamp(7.7rem, 13vh, 9.4rem) !important;
    }

    .hero-h1 {
        font-size: clamp(5.8rem, 7.2vw, 8.6rem) !important;
        line-height: .93 !important;
    }

    .hero-p {
        max-width: 780px !important;
    }

    .hero-glyph {
        top: 25% !important;
        left: 23% !important;
    }
}

/* Mobile: avoid cramped layout and keep CTAs above bottom bar */
@media (max-width: 900px) {
    #hero {
        min-height: 100svh !important;
        padding: 0 1.15rem 8.25rem !important;
        align-items: flex-start !important;
    }

    .hero-content {
        max-width: 350px !important;
        margin-top: 5.65rem !important;
        transform: none !important;
        translate: none !important;
    }

    .hero-h1 {
        margin-top: 1rem !important;
        font-size: clamp(3rem, 14vw, 4.55rem) !important;
        line-height: .96 !important;
    }

    .hero-p {
        margin-top: 1.05rem !important;
        max-width: 300px !important;
        font-size: .96rem !important;
        line-height: 1.6 !important;
    }

    .hero-act {
        margin-top: 1.15rem !important;
        max-width: 292px !important;
        gap: .7rem !important;
    }

    .hero-act a {
        min-height: 48px !important;
    }

    .hero-glyph {
        top: 26% !important;
        left: 16% !important;
    }
}

@media (max-width: 430px) {
    .hero-content {
        margin-top: 5.35rem !important;
    }

    .hero-ey {
        max-width: 300px !important;
        letter-spacing: .26em !important;
    }

    .hero-h1 {
        font-size: clamp(2.85rem, 13.6vw, 4.2rem) !important;
    }

    .hero-act a {
        min-height: 45px !important;
    }
}

@media (max-height: 760px) and (max-width: 430px) {
    .hero-content {
        margin-top: 4.7rem !important;
    }

    .hero-h1 {
        font-size: clamp(2.55rem, 12.4vw, 3.7rem) !important;
    }

    .hero-p {
        font-size: .88rem !important;
        line-height: 1.48 !important;
    }

    .hero-act {
        margin-top: .95rem !important;
        gap: .55rem !important;
    }

    .hero-act a {
        min-height: 42px !important;
    }
}


/* ─────────────────────────────────────────────
   TRUE HERO CENTERING FIX
   Forces the hero content to be mathematically centered horizontally
   on desktop and mobile, independent of previous layout rules.
   ───────────────────────────────────────────── */

#hero {
    position: relative !important;
    display: block !important;
    min-height: 100svh !important;
    overflow: hidden !important;
}

#hero .hero-content {
    position: absolute !important;
    left: 50% !important;
    top: 48% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(920px, calc(100vw - 2rem)) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    translate: none !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

#hero .hero-ey,
#hero .hero-h1,
#hero .hero-p {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

#hero .hero-ey {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#hero .hero-p {
    max-width: 780px !important;
}

#hero .hero-act {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#hero .hero-act a {
    text-align: center !important;
}

@media (min-width: 901px) {
    #hero .hero-content {
        top: 49% !important;
        width: min(940px, calc(100vw - 3rem)) !important;
    }

    #hero .hero-h1 {
        font-size: clamp(5.6rem, 7vw, 8.4rem) !important;
        line-height: .93 !important;
    }
}

@media (max-width: 900px) {
    #hero .hero-content {
        top: 47% !important;
        width: min(340px, calc(100vw - 2.2rem)) !important;
    }

    #hero .hero-ey {
        max-width: 310px !important;
        line-height: 1.45 !important;
        letter-spacing: .28em !important;
    }

    #hero .hero-h1 {
        font-size: clamp(3rem, 13.5vw, 4.4rem) !important;
        line-height: .96 !important;
    }

    #hero .hero-p {
        max-width: 305px !important;
        font-size: .96rem !important;
        line-height: 1.6 !important;
    }

    #hero .hero-act {
        max-width: 292px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .7rem !important;
    }

    #hero .hero-act a {
        width: 100% !important;
        min-height: 46px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 430px) {
    #hero .hero-content {
        top: 46.5% !important;
        width: min(315px, calc(100vw - 2rem)) !important;
    }

    #hero .hero-h1 {
        font-size: clamp(2.75rem, 13.2vw, 4rem) !important;
    }

    #hero .hero-p {
        max-width: 285px !important;
    }

    #hero .hero-act {
        max-width: 285px !important;
    }
}

@media (max-height: 760px) and (max-width: 430px) {
    #hero .hero-content {
        top: 46% !important;
    }

    #hero .hero-h1 {
        font-size: clamp(2.45rem, 12vw, 3.6rem) !important;
    }

    #hero .hero-p {
        font-size: .88rem !important;
        line-height: 1.48 !important;
    }

    #hero .hero-act {
        gap: .55rem !important;
    }

    #hero .hero-act a {
        min-height: 42px !important;
    }
}
