:root {
      --red:     #E83A2F;
      --red-dim: #a82820;
      --orange:  #F07030;
      --white:   #F4F2EE;
      --muted:   #9A9189;
      --card-bg: rgba(255,255,255,0.04);
      --border:  rgba(255,255,255,0.08);
      --bg-deep: #0D0C0B;
      --bg-mid:  #161412;
      --bg-card: #1C1A18;
    }
    *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'DM Sans', sans-serif; background: var(--bg-deep); color: var(--white); overflow-x: hidden; }
    ::-webkit-scrollbar { width: 4px; }
    ::-webkit-scrollbar-track { background: var(--bg-deep); }
    ::-webkit-scrollbar-thumb { background: var(--red-dim); border-radius: 2px; }

    /* NAV */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0.35rem 3rem;
      background: rgba(13,12,11,0.75);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      transition: padding 0.3s;
    }
    .nav-brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
    .nav-brand img { height: 34px; width: auto; object-fit: contain; }
    .nav-emblem {
      width: 80px; height: 80px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
    }
    .nav-brand-text { font-family: 'Cinzel Decorative', serif; font-weight: 700; font-size: 0.72rem; color: var(--white); line-height: 1.4; letter-spacing: 0.03em; }
    .nav-brand-text span { font-family: 'DM Sans', sans-serif; color: var(--muted); font-weight: 300; font-size: 0.75rem; display: block; letter-spacing: 0.05em; }
    .nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
    .nav-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 6px; transition: color 0.2s, background 0.2s; }
    .nav-links a:hover { color: var(--white); background: var(--card-bg); }
    .nav-cta { background: var(--red) !important; color: white !important; font-weight: 600 !important; box-shadow: 0 0 20px rgba(232,58,47,0.3); }
    .nav-cta:hover { box-shadow: 0 0 30px rgba(232,58,47,0.5) !important; transform: translateY(-1px); }

    /* HERO */
    #hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; padding-top: 92px; }
    /* CSS-only slideshow */
    .hero-slide {
      position: absolute; inset: 0;
      background-size: cover; background-position: center center; background-repeat: no-repeat;
      background-attachment: scroll;
      filter: brightness(0.32) saturate(0.65);
      opacity: 0;
    }
    @media (max-width: 768px) {
      #hero { min-height: 70vh; }
      .hero-slide {
        background-size: 100% auto !important;
        background-position: center center !important;
        transform: scale(1) !important;
      }
      .hero-slide:nth-child(1) { animation: slide1 48s infinite !important; }
      .hero-slide:nth-child(2) { animation: slide2 48s infinite !important; }
      .hero-slide:nth-child(3) { animation: slide3 48s infinite !important; }
      .hero-slide:nth-child(4) { animation: slide4 48s infinite !important; }
    }
    .hero-slide { animation: none; opacity: 0; transition: none; }
    .hero-slide:nth-child(1) { animation: slide1 48s infinite, kenBurns1 48s infinite; }
    .hero-slide:nth-child(2) { animation: slide2 48s infinite, kenBurns2 48s infinite; }
    .hero-slide:nth-child(3) { animation: slide3 48s infinite, kenBurns3 48s infinite; }
    .hero-slide:nth-child(4) { animation: slide4 48s infinite, kenBurns4 48s infinite; }

    /* 48s cycle, 4 slides. Each slide ~10s fully visible + 3s crossfade each side.
       Slide 1:  0%–21% hold,  fade 21–27%
       Slide 2: 27%–48% hold,  fade 48–54%
       Slide 3: 54%–75% hold,  fade 75–81%
       Slide 4: 81%–96% hold,  fade 96–100%→loop */
    @keyframes slide1 {
      0%    { opacity: 1; }
      21%   { opacity: 1; }
      27%   { opacity: 0; }
      94%   { opacity: 0; }
      100%  { opacity: 1; }
    }
    @keyframes slide2 {
      0%    { opacity: 0; }
      21%   { opacity: 0; }
      27%   { opacity: 1; }
      48%   { opacity: 1; }
      54%   { opacity: 0; }
      100%  { opacity: 0; }
    }
    @keyframes slide3 {
      0%    { opacity: 0; }
      48%   { opacity: 0; }
      54%   { opacity: 1; }
      75%   { opacity: 1; }
      81%   { opacity: 0; }
      100%  { opacity: 0; }
    }
    @keyframes slide4 {
      0%    { opacity: 0; }
      75%   { opacity: 0; }
      81%   { opacity: 1; }
      96%   { opacity: 1; }
      100%  { opacity: 0; }
    }

    /* Ken Burns: each slide zooms left→right or right→left, alternating.
       Snaps back to start position while fully transparent — no visible jump. */
    @keyframes kenBurns1 {
      /* LEFT → RIGHT drift */
      0%     { transform: scale(1.04) translate(-1.5%, 0%); }
      21%    { transform: scale(1.07) translate(0%,    0%); }
      27%    { transform: scale(1.1)  translate(1.5%,  0%); }
      27.1%  { transform: scale(1.04) translate(-1.5%, 0%); }
      100%   { transform: scale(1.04) translate(-1.5%, 0%); }
    }
    @keyframes kenBurns2 {
      /* RIGHT → LEFT drift */
      0%     { transform: scale(1.04) translate(1.5%,  0%); }
      21%    { transform: scale(1.04) translate(1.5%,  0%); }
      27%    { transform: scale(1.04) translate(1.5%,  0%); }
      48%    { transform: scale(1.07) translate(0%,    0%); }
      54%    { transform: scale(1.1)  translate(-1.5%, 0%); }
      54.1%  { transform: scale(1.04) translate(1.5%,  0%); }
      100%   { transform: scale(1.04) translate(1.5%,  0%); }
    }
    @keyframes kenBurns3 {
      /* LEFT → RIGHT drift */
      0%     { transform: scale(1.04) translate(-1.5%, 0%); }
      48%    { transform: scale(1.04) translate(-1.5%, 0%); }
      54%    { transform: scale(1.04) translate(-1.5%, 0%); }
      75%    { transform: scale(1.07) translate(0%,    0%); }
      81%    { transform: scale(1.1)  translate(1.5%,  0%); }
      81.1%  { transform: scale(1.04) translate(-1.5%, 0%); }
      100%   { transform: scale(1.04) translate(-1.5%, 0%); }
    }
    @keyframes kenBurns4 {
      /* RIGHT → LEFT drift */
      0%     { transform: scale(1.04) translate(1.5%,  0%); }
      75%    { transform: scale(1.04) translate(1.5%,  0%); }
      81%    { transform: scale(1.04) translate(1.5%,  0%); }
      96%    { transform: scale(1.07) translate(0%,    0%); }
      100%   { transform: scale(1.1)  translate(-1.5%, 0%); }
    }
    .hero-overlay {
      position: absolute; inset: 0;
      background:
        linear-gradient(to right, rgba(13,12,11,0.95) 0%, rgba(13,12,11,0.55) 55%, rgba(13,12,11,0.2) 100%),
        linear-gradient(to top, rgba(13,12,11,0.9) 0%, transparent 50%);
    }
    .hero-glow {
      position: absolute; bottom: -100px; left: -100px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(232,58,47,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-content {
      position: relative; z-index: 2;
      padding: 0 3rem; max-width: 680px;
      animation: heroIn 1.1s cubic-bezier(0.16,1,0.3,1) both;
    }
    @keyframes heroIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
    .hero-tag {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: rgba(232,58,47,0.15); border: 1px solid rgba(232,58,47,0.3);
      color: #f08070; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; padding: 0.35rem 0.85rem; border-radius: 50px; margin-bottom: 1.75rem;
    }
    .hero-tag::before { content:''; width:6px; height:6px; border-radius:50%; background: var(--red); display:block; animation: pulse 2s infinite; }
    @keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
    .hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 9vw, 7rem); line-height: 0.95; letter-spacing: 0.02em; color: var(--white); margin-bottom: 1.5rem; }
    .hero-title .accent { color: var(--red); display: block; }
    .hero-title .sub-word { font-family: 'Bebas Neue', sans-serif; font-style: normal; font-size: 1em; color: var(--white); letter-spacing: 0.02em; display: block; margin-bottom: 0; }
    .hero-desc { font-size: 1.05rem; color: rgba(244,242,238,0.65); line-height: 1.75; font-weight: 300; max-width: 480px; margin-bottom: 2.25rem; }
    .hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
    .btn-fire { background: linear-gradient(135deg, var(--red), var(--orange)); color: white; padding: 0.85rem 2rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; box-shadow: 0 4px 24px rgba(232,58,47,0.35); transition: transform 0.2s, box-shadow 0.2s; letter-spacing: 0.02em; }
    .btn-fire:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,58,47,0.5); }
    .btn-ghost { color: rgba(244,242,238,0.7); padding: 0.85rem 2rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem; text-decoration: none; border: 1px solid var(--border); transition: border-color 0.2s, color 0.2s, background 0.2s; }
    .btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: white; background: var(--card-bg); }
    .hero-stats { position: absolute; bottom: 3rem; left: 3rem; right: 3rem; display: flex; gap: 2.5rem; z-index: 2; animation: heroIn 1.3s 0.2s cubic-bezier(0.16,1,0.3,1) both; }
    .hero-stat { border-left: 2px solid rgba(232,58,47,0.4); padding-left: 1rem; }
    .hero-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--white); line-height: 1; }
    .hero-stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem; }

    /* SHARED */
    .section { padding: 6rem 3rem; }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.6rem; }
    .eyebrow::before { content:''; width:24px; height:2px; background: var(--red); display:block; }
    .section-heading { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
    .section-heading em { font-style: italic; color: rgba(244,242,238,0.5); }

    /* ABOUT */
    #about { background: var(--bg-mid); }
    .about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3.5rem; }
    .about-body p { color: rgba(244,242,238,0.65); font-size: 1rem; line-height: 1.85; font-weight: 300; margin-bottom: 1.25rem; }
    .about-body p strong { color: var(--white); font-weight: 500; }
    .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: 12px; overflow: hidden; }
    .stat-box { background: var(--bg-card); padding: 2rem 1.5rem; transition: background 0.2s; }
    .stat-box:hover { background: rgba(255,255,255,0.06); }
    .stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1; background: linear-gradient(135deg, #fff, rgba(244,242,238,0.6)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .stat-val span { font-size: 1.5rem; color: var(--red); -webkit-text-fill-color: var(--red); }
    .stat-desc { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; text-transform: uppercase; letter-spacing: 0.08em; }

    /* MISSION */
    #mission { background: var(--bg-deep); }
    .mission-quote-block { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: 0 12px 12px 0; padding: 2rem 2.5rem; margin: 3rem 0; font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.25rem; color: rgba(244,242,238,0.8); line-height: 1.7; }
    .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
    .pillar { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; transition: border-color 0.25s, transform 0.25s; position: relative; overflow: hidden; }
    .pillar::before { content:''; position: absolute; top:0; left:0; right:0; height:2px; background: linear-gradient(90deg, var(--red), var(--orange)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
    .pillar:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-3px); }
    .pillar:hover::before { transform: scaleX(1); }
    .pillar-icon { font-size: 1.75rem; margin-bottom: 1rem; }
    .pillar h3 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 0.6rem; }
    .pillar p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }

    /* DONATE */
    #donate { background: var(--bg-mid); position: relative; overflow: hidden; }
    #donate::before { content:''; position: absolute; top:-200px; right:-200px; width:600px; height:600px; background: radial-gradient(circle, rgba(232,58,47,0.08) 0%, transparent 70%); pointer-events: none; }
    .donate-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3rem; }
    .donate-left p { color: var(--muted); font-size: 1rem; line-height: 1.8; font-weight: 300; margin-top: 1rem; }
    .donate-card {
      position: relative;
      background: rgba(255,255,255,0.04);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px;
      padding: 2.5rem;
      overflow: hidden;
      transition: background 0.3s, border-color 0.3s;
    }
    
    .donate-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--white); }
    .tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1.25rem; }
    .tier { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem; text-align: center; font-weight: 600; font-size: 1rem; color: rgba(244,242,238,0.7); cursor: pointer; transition: all 0.2s; }
    .tier:hover, .tier.active { background: rgba(232,58,47,0.15); border-color: rgba(232,58,47,0.5); color: white; }
    .tier.custom { grid-column: span 3; font-size: 0.9rem; }
    .donate-btn { width: 100%; background: linear-gradient(135deg, var(--red), var(--orange)); color: white; border: none; padding: 1rem; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; box-shadow: 0 4px 20px rgba(232,58,47,0.3); transition: transform 0.2s, box-shadow 0.2s; letter-spacing: 0.03em; }
    .donate-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(232,58,47,0.45); }
    .donate-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 0.85rem; }

    /* EVENTS */
    #events { background: var(--bg-deep); }
    .events-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; }
    .event-row { display: grid; grid-template-columns: 80px 1fr; grid-template-rows: auto auto; align-items: start; gap: 0.5rem 2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 2rem; transition: border-color 0.2s, transform 0.2s; text-decoration: none; }
    .event-row:hover { border-color: rgba(232,58,47,0.35); transform: translateX(4px); }
    .event-date-block { text-align: center; grid-row: 1 / 3; align-self: center; }
    .event-day { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--red); line-height: 1; }
    .event-mo { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
    .event-info h3 { font-size: 1.05rem; font-weight: 600; color: var(--white); margin-bottom: 0.35rem; }
    .event-info p { font-size: 0.88rem; color: var(--muted); font-weight: 300; }
    .event-meta-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; grid-column: 2; grid-row: 2; margin-top: 0.25rem; }
    .event-meta-tag { font-size: 0.78rem; color: var(--muted); background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 0.35rem 0.85rem; border-radius: 50px; white-space: nowrap; width: fit-content; text-decoration: none; }
    .event-meta-link:hover { color: var(--white); border-color: rgba(232,58,47,0.5); background: rgba(232,58,47,0.08); cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s; }

    /* BOARD */
    #board { background: var(--bg-mid); }
    .board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
    .board-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; text-align: center; transition: border-color 0.2s, transform 0.2s; }
    .board-card:hover { border-color: rgba(232,58,47,0.3); transform: translateY(-3px); }
    .board-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, rgba(232,58,47,0.25), rgba(240,112,48,0.15)); border: 1px solid rgba(232,58,47,0.25); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 1.25rem; }
    .board-name { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 0.35rem; }
    .board-role { font-size: 0.78rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }

    /* GALLERY */
    #gallery { background: var(--bg-deep); }
    .gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 180px 180px; gap: 8px; margin-top: 3rem; border-radius: 16px; overflow: hidden; }
    .g-item { background: var(--bg-card); position: relative; overflow: hidden; cursor: pointer; }
    .g-item:first-child { grid-column: span 2; grid-row: span 2; }
    .g-inner { width:100%; height:100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; font-size: 2rem; color: rgba(255,255,255,0.15); transition: all 0.3s; }
    .g-item:nth-child(1) .g-inner { background: linear-gradient(160deg, #1a0808, #3a1010); }
    .g-item:nth-child(2) .g-inner { background: linear-gradient(160deg, #0f0f0f, #2a1a10); }
    .g-item:nth-child(3) .g-inner { background: linear-gradient(160deg, #121010, #221818); }
    .g-item:nth-child(4) .g-inner { background: linear-gradient(160deg, #0e0e10, #1a1428); }
    .g-item:nth-child(5) .g-inner { background: linear-gradient(160deg, #0e1010, #182020); }
    .g-item:hover .g-inner { filter: brightness(1.4); color: rgba(255,255,255,0.35); }
    .g-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
    .gallery-note { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 1.25rem; font-style: italic; }

    /* CONTACT */
    #contact { background: var(--bg-mid); }
    .contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; margin-top: 3.5rem; align-items: start; }
    .contact-details { display: flex; flex-direction: column; gap: 1rem; }
    .contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; transition: border-color 0.2s; }
    .contact-item:hover { border-color: rgba(232,58,47,0.25); }
    .c-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 8px; background: rgba(232,58,47,0.12); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
    .c-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.2rem; }
    .c-val { font-size: 0.95rem; color: var(--white); }
    .c-val a { color: var(--white); text-decoration: none; }
    .c-val a:hover { color: var(--red); }
    .emergency { color: #ff6b6b !important; font-weight: 700; font-size: 1.1rem !important; }
    .contact-form { display: flex; flex-direction: column; gap: 0.85rem; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
    .field-wrap { display: flex; flex-direction: column; gap: 0.3rem; }
    .contact-form input, .contact-form textarea {
      background: var(--bg-card); border: 1px solid var(--border); color: var(--white);
      padding: 0.85rem 1rem; border-radius: 8px; font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem; font-weight: 300; outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
    }
    .contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(154,145,137,0.5); }
    .contact-form input:focus, .contact-form textarea:focus { border-color: rgba(232,58,47,0.5); box-shadow: 0 0 0 3px rgba(232,58,47,0.1); }
    .contact-form input.field-error, .contact-form textarea.field-error { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,0.12); }
    .contact-form input.field-ok, .contact-form textarea.field-ok { border-color: rgba(80,200,120,0.5); }
    .field-msg { font-size: 0.78rem; min-height: 1rem; padding-left: 0.25rem; transition: opacity 0.2s; }
    .field-msg.error { color: #ff8a8a; }
    .field-msg.hint  { color: var(--muted); }
    .contact-form textarea { height: 130px; resize: vertical; }
    .contact-form button {
      background: linear-gradient(135deg, var(--red), var(--orange)); color: white; border: none;
      padding: 0.95rem; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer;
      font-family: 'DM Sans', sans-serif; letter-spacing: 0.03em;
      transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
      box-shadow: 0 4px 20px rgba(232,58,47,0.25); display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    }
    .contact-form button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(232,58,47,0.4); }
    .contact-form button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
    /* Success state */
    .form-success {
      display: none; flex-direction: column; align-items: center; justify-content: center;
      text-align: center; gap: 1rem; padding: 3rem 2rem;
      background: var(--bg-card); border: 1px solid rgba(80,200,120,0.25);
      border-radius: 12px; min-height: 260px;
    }
    .form-success.visible { display: flex; }
    .success-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(80,200,120,0.15); border: 1px solid rgba(80,200,120,0.3); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
    .form-success h3 { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--white); }
    .form-success p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
    .form-success button { background: none; border: 1px solid var(--border); color: var(--muted); padding: 0.6rem 1.4rem; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; cursor: pointer; transition: border-color 0.2s, color 0.2s; margin-top: 0.5rem; }
    .form-success button:hover { border-color: rgba(255,255,255,0.25); color: var(--white); }
    /* Spinner */
    .spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; flex-shrink: 0; }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* FOOTER */
    footer { background: #090807; border-top: 1px solid var(--border); padding: 2.5rem 3rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
    .footer-brand { font-family: 'DM Serif Display', serif; color: rgba(244,242,238,0.5); font-size: 0.95rem; }
    .footer-brand strong { color: rgba(244,242,238,0.75); font-style: italic; }
    .footer-links { display: flex; gap: 1.5rem; }
    .footer-links a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
    .footer-links a:hover { color: var(--white); }
    .footer-copy { color: rgba(154,145,137,0.4); font-size: 0.8rem; width: 100%; }

    /* REVEAL */
    .reveal { opacity: 1; transform: none; }
    .reveal.visible { opacity: 1; transform: none; }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      nav { padding: 0.3rem 1.5rem; }
      .nav-links { display: none; }
      #hero { padding-top: 86px; align-items: flex-start; justify-content: center; flex-direction: column; }
      .hero-content { padding: 0 1.5rem; margin: auto 0; }
      .hero-stats { left: 1.5rem; right: 1.5rem; flex-wrap: wrap; gap: 1.5rem; }
      .section { padding: 5rem 1.5rem; }
      .about-layout, .donate-layout, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
      .pillars, .board-grid { grid-template-columns: 1fr; }
      .gallery-mosaic { grid-template-columns: 1fr 1fr; }
      .g-item:first-child { grid-column: span 2; }
      .event-row { grid-template-columns: 60px 1fr; }
      .event-meta-tags { display: none; } /* re-shown in 768px block below */
      footer { flex-direction: column; align-items: flex-start; }
    }
  
    /* ── MOBILE RESPONSIVE ── */
    @media (max-width: 768px) {

      /* Nav */
      nav { padding: 0.25rem 1.25rem; }
      .nav-brand img { height: 26px; }

      /* Hero */
      
      .hero-content { padding: 0 1.25rem; max-width: 100%; }
      .hero-title { font-size: clamp(2.8rem, 12vw, 4.5rem); }
      .hero-desc { font-size: 0.95rem; }
      .hero-actions { flex-direction: column; }
      .hero-actions a { text-align: center; }

      /* Stats bar */
      #hero > div[style*="position: absolute; bottom: 0"] {
        flex-direction: column; gap: 0.75rem; padding: 1rem 1.25rem;
      }

      /* Sections */
      .section { padding: 3.5rem 1.25rem; }

      /* About */
      .about-layout { grid-template-columns: 1fr; gap: 2rem; }

      /* Events — handled in dedicated 768px block below */

      /* Board */
      .board-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

      /* Gallery */
      .gallery-mosaic { grid-template-columns: 1fr 1fr; }

      /* Contact */
      .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
      .form-row { grid-template-columns: 1fr; }

      /* Footer */
      footer { padding: 2rem 1.25rem; text-align: center; }
      .footer-links { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
    }

    @media (max-width: 480px) {
      .board-grid { grid-template-columns: 1fr; }
      .gallery-mosaic { grid-template-columns: 1fr; }
      .hero-title { font-size: clamp(2.2rem, 11vw, 3.5rem); }
    }

  
    /* HAMBURGER */
    .hamburger {
      display: none;
      flex-direction: column; justify-content: space-between;
      width: 28px; height: 20px;
      background: none; border: none; cursor: pointer; padding: 0; z-index: 300;
    }
    .hamburger span {
      display: block; height: 2px; width: 100%;
      background: var(--white); border-radius: 2px;
      transition: transform 0.3s, opacity 0.3s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    @media (max-width: 900px) {
      .hamburger { display: flex; }
      .nav-links {
        display: none;
        flex-direction: column;
        position: fixed; top: 48px; right: 1rem; left: auto;
        width: 120px;
        background: rgba(13,12,11,0.97);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: 10px;
        gap: 0; z-index: 250;
        padding: 0.4rem 0;
        box-shadow: 0 8px 32px rgba(0,0,0,0.4);
      }
      .nav-links.open { display: flex; }
      .nav-links li { width: 100%; text-align: right; }
      .nav-links a {
        display: block; font-size: 0.95rem; padding: 0.65rem 1.25rem;
        border-bottom: 1px solid var(--border);
      }
      .nav-links li:last-child a { border-bottom: none; }
    }

  
    @media (max-width: 768px) {
      /* Stack flyer ABOVE event list on mobile */
      .events-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
      }
      .events-grid > div:first-child  { order: 2; } /* event list below */
      .events-grid > div:last-child   { order: 1; } /* flyer on top */

      /* Flyer: fixed comfortable height, not squished by aspect-ratio */
      #flyer-carousel {
        aspect-ratio: unset !important;
        height: 420px !important;
        max-height: 420px !important;
      }
      #flyer-carousel img {
        object-fit: contain !important;
        background: #111;
      }

      /* Event cards — tight and readable */
      .events-list { gap: 0.6rem !important; margin-top: 1rem !important; }

      .event-row {
        grid-template-columns: 48px 1fr !important;
        padding: 0.75rem 0.9rem !important;
        gap: 0.3rem 0.75rem !important;
      }

      .event-date-block { grid-row: 1; align-self: center; }
      .event-day { font-size: 1.4rem !important; }
      .event-mo  { font-size: 0.65rem !important; }
      .event-info { grid-column: 2; grid-row: 1; }
      .event-info h3 { font-size: 0.88rem !important; margin-bottom: 0.2rem !important; }
      .event-info p  { font-size: 0.78rem !important; line-height: 1.5 !important; }
      /* Keep register button but make it smaller */
      .event-info a[href] {
        padding: 0.35rem 0.9rem !important;
        font-size: 0.78rem !important;
        margin-top: 0.5rem !important;
      }

      /* Pricing line */
      .event-info p[style*="color: var(--red)"] {
        font-size: 0.75rem !important;
        margin-top: 0.35rem !important;
      }

      .event-meta-tags {
        display: flex !important;
        grid-column: 1 / -1;
        margin-top: 0.1rem !important;
      }
      .event-meta-tag {
        font-size: 0.7rem !important;
        white-space: normal;
        width: fit-content;
        padding: 0.25rem 0.65rem !important;
      }
    }

  
    /* ── GRADIENT SECTION BACKGROUNDS ── */
    #about  { background: linear-gradient(160deg, #0f0e0d 0%, #1a1210 50%, #0f0e0d 100%); }
    #mission { background: linear-gradient(160deg, #110d0d 0%, #1c1110 60%, #110d0d 100%); }
    #events  { background: linear-gradient(160deg, #0d0c0b 0%, #161210 50%, #0d0c0b 100%); }
    #board   { background: linear-gradient(160deg, #100e0d 0%, #1a1412 60%, #100e0d 100%); }
    #gallery { background: linear-gradient(160deg, #0d0c0b 0%, #141210 50%, #0d0c0b 100%); }
    #contact { background: linear-gradient(160deg, #110d0d 0%, #1c1110 60%, #110d0d 100%); }

    /* ── GLASSMORPHISM CARDS ── */
    .event-row {
      background: rgba(255,255,255,0.04) !important;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.08) !important;
      box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    }
    .event-row:hover {
      background: rgba(255,255,255,0.07) !important;
      border-color: rgba(232,58,47,0.35) !important;
      box-shadow: 0 8px 32px rgba(232,58,47,0.15);
    }
    .board-card {
      background: rgba(255,255,255,0.04) !important;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.08) !important;
      box-shadow: 0 4px 24px rgba(0,0,0,0.3);
      transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    }
    .board-card:hover {
      transform: translateY(-4px);
      border-color: rgba(232,58,47,0.35) !important;
      box-shadow: 0 12px 40px rgba(232,58,47,0.15);
    }

  
    
    
    
    
    
    }
    
      25%  { top: calc(50% - 60px); left: calc(100% - 60px); }
      50%  { top: calc(100% - 60px); left: calc(50% - 60px); }
      75%  { top: calc(50% - 60px); left: -60px; }
      100% { top: -60px;  left: calc(50% - 60px); }
    }
    .donate-card > * { position: relative; z-index: 3; }
    
    
    /* Static glow always visible */
    .donate-card {
      position: relative;
      background: rgba(255,255,255,0.04);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px;
      padding: 2.5rem;
      overflow: hidden;
      transition: background 0.3s, border-color 0.3s;
    }
    

  
    /* ── SPARKLE EFFECT ── */
    .sparkle {
      position: absolute;
      pointer-events: none;
      z-index: 10;
      animation: sparkleFade 0.8s ease-out forwards;
    }
    .sparkle svg {
      width: 100%;
      height: 100%;
    }
    @keyframes sparkleFade {
      0%   { opacity: 0; transform: scale(0) rotate(0deg); }
      30%  { opacity: 1; transform: scale(1) rotate(20deg); }
      100% { opacity: 0; transform: scale(0.5) rotate(45deg); }
    }

  
    
      30%  { opacity: 1; transform: scale(1) rotate(15deg); }
      70%  { opacity: 0.8; transform: scale(0.9) rotate(20deg); }
      100% { opacity: 0; transform: scale(0) rotate(30deg); }
    }

  
    /* ── SPINNING BORDER ON DONATE CARD ── */
    
    
    
    @keyframes spinBorder {
      to { transform: rotate(360deg); }
    }

  
    /* ── DONATE CARD GLASS + SPIN GLOW ── */
    .donate-card-outer {
      position: relative;
      border-radius: 16px;
      transition: box-shadow 0.4s, transform 0.3s;
      box-shadow: 0 0 0 1px rgba(232,58,47,0.35),
                  0 0 30px rgba(232,58,47,0.35),
                  0 0 60px rgba(232,58,47,0.18),
                  0 8px 32px rgba(0,0,0,0.5);
    }
    .donate-card-outer:hover {
      transform: translateY(-4px);
      box-shadow: 0 0 0 1px rgba(232,58,47,0.6),
                  0 0 40px rgba(232,58,47,0.5),
                  0 0 80px rgba(232,58,47,0.25),
                  0 12px 48px rgba(0,0,0,0.6);
    }
    .donate-card-outer:hover .donate-card {
      background: rgba(255,255,255,0.09);
      border-color: rgba(232,58,47,0.4);
    }
    .donate-card::before {
      content: '';
      position: absolute;
      top: 0; left: 15%; right: 15%;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(255,255,255,0.35), transparent);
      z-index: 3;
      pointer-events: none;
    }
    .spin-glow {
      position: absolute;
      inset: -50%;
      width: 200%;
      height: 200%;
      background: conic-gradient(from 0deg, transparent 0%, transparent 78%, rgba(255,200,120,0.9) 86%, rgba(232,58,47,1) 91%, transparent 100%);
      animation: spinGlow 4.5s linear infinite paused;
      z-index: 0;
      opacity: 0;
      transition: opacity 0.4s;
    }
    .donate-card-outer:hover .spin-glow {
      animation-play-state: running;
      opacity: 1;
    }
    .spin-mask {
      position: absolute;
      inset: 1.5px;
      background: rgba(28,26,24,0.97);
      border-radius: 14px;
      z-index: 1;
    }
    .donate-card .card-content {
      position: relative;
      z-index: 2;
    }
    @keyframes spinGlow {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }
    @keyframes sparklePulse {
      0%   { opacity: 0; transform: scale(0) rotate(0deg); }
      30%  { opacity: 1; transform: scale(1) rotate(15deg); }
      70%  { opacity: 0.8; transform: scale(0.9) rotate(20deg); }
      100% { opacity: 0; transform: scale(0) rotate(30deg); }
    }

/* ── MOBILE IMPROVEMENTS ── */

/* 1. Nav dropdown: wider, full-bleed on small screens */
@media (max-width: 900px) {
  .nav-links {
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    text-align: left !important;
  }
  .nav-links li { text-align: left !important; }
  .nav-links a { font-size: 1rem !important; padding: 0.8rem 1.25rem !important; min-height: 44px; display: flex !important; align-items: center; }
}

/* 2. Hero: reduce top padding on mobile, force cover on all slides */
@media (max-width: 768px) {
  #hero { padding-top: 76px; align-items: flex-start; justify-content: center; flex-direction: column; }
  .hero-content { margin: auto 0; }
  .hero-slide { background-size: cover !important; background-position: center center !important; }
  .hero-content { padding: 0 1.25rem; }
  .hero-tag { font-size: 0.7rem; }
}

/* 3. Donate tier grid: 2-col on small screens */
@media (max-width: 600px) {
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .tier.custom { grid-column: span 2; }
}

/* 4. Touch targets: ensure minimum 44px tap height on key elements */
@media (max-width: 900px) {
  .btn-fire, .btn-ghost { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .donate-btn { min-height: 50px; }
  .tier { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .event-row { min-height: 64px; }
}

/* 5. Mission pillars: 2-col at 768px instead of jumping straight to 1 */
@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr 1fr !important; gap: 1rem; }
}
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr !important; }
}

/* 6. Section headings: prevent overflow on very small screens */
@media (max-width: 480px) {
  .section-heading { font-size: clamp(1.6rem, 7vw, 2.2rem); word-break: break-word; }
  .hero-title { line-height: 1.0; }
}

/* 7. Stats grid: ensure it reads well stacked */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-val { font-size: 2.2rem; }
}

/* 8. Footer: center everything neatly on mobile */
@media (max-width: 480px) {
  footer { text-align: center; align-items: center; }
  .footer-brand, .footer-copy { text-align: center; }
}
