:root{
  --orange:#E8772E; --orange-dk:#C95F1C; --orange-lt:#FCEBDD;
  --yellow:#F5B935; --yellow-lt:#FDF4DC;
  --grey:#F4F2EE;   --grey-2:#EAE7E1; --line:#E2DED7;
  --blue:#8B1E3F;   --blue-dk:#6B1530;  --blue-lt:#F7E8EC;   /* burgundy (site accent) */
  --ink:#4A1426;    --text:#5A4B50;   --white:#fff;
  --radius:22px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{font-family:'Poppins',sans-serif;color:var(--text);background:var(--white);line-height:1.7;font-size:16px}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,90%);margin:0 auto}

/* Labels / headings */
.eyebrow{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:var(--orange)}
.eyebrow::before{content:"";width:34px;height:2px;background:var(--yellow)}
.eyebrow.center::after{content:"";width:34px;height:2px;background:var(--yellow)}
h1,h2,h3{color:var(--ink);font-weight:600;line-height:1.15;letter-spacing:-.02em}
h2{font-size:clamp(30px,4vw,46px);margin:14px 0 18px}
h2 span{color:var(--orange)}
.divider{width:60px;height:3px;background:var(--yellow);border-radius:3px;margin:0 auto}
.section{padding:110px 0}
.section-head{text-align:center;max-width:680px;margin:0 auto 60px}
.section-head p{margin-top:18px}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;padding:16px 32px;border-radius:50px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;transition:.25s;border:2px solid transparent;cursor:pointer;font-family:inherit}
.btn svg{width:16px;height:16px}
.btn-primary{background:var(--orange);color:#fff}
.btn-primary:hover{background:var(--orange-dk);transform:translateY(-2px)}
.btn-outline{border-color:var(--ink);color:var(--ink)}
.btn-outline:hover{background:var(--blue);color:#fff}
.btn-dark{background:var(--blue);color:#fff}
.btn-dark:hover{background:var(--orange)}
.btn-sm{padding:11px 20px;font-size:11px;border:1.5px solid var(--line);color:var(--ink);background:#fff}
.btn-sm:hover{border-color:var(--orange);color:var(--orange)}

/* Top bar + header */
.topbar{background:var(--blue);color:#fff;text-align:center;font-size:12px;letter-spacing:.24em;text-transform:uppercase;padding:11px 0;font-weight:500}
.topbar svg{width:15px;height:15px;color:var(--yellow);vertical-align:-3px;margin-right:8px}
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--grey-2)}
.nav{display:flex;align-items:center;justify-content:space-between;height:84px}
.brand{display:flex;align-items:center;gap:12px;font-weight:700;color:var(--ink);font-size:15px;line-height:1.1;text-transform:uppercase;letter-spacing:.04em}
.brand-mark{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--yellow),var(--orange));display:grid;place-items:center;color:#fff;font-size:14px;letter-spacing:0}
.brand-mark{overflow:hidden;background:transparent}
.brand-mark img{width:100%;height:100%;object-fit:contain}
.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:.25em;color:var(--blue)}
.nav ul{display:flex;gap:26px;list-style:none}
.nav ul a{font-size:12.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);transition:.2s;white-space:nowrap}
.nav ul a:hover{color:var(--orange)}
.menu-toggle{display:none;background:none;border:0;cursor:pointer;width:40px;height:40px}
.menu-toggle span{display:block;height:2px;background:var(--blue);margin:6px 8px;border-radius:2px}

/* Hero */
.hero{position:relative;background-color:var(--blue);padding:100px 0 120px;text-align:center;overflow:hidden;color:#fff}
/* fixed background: the picture stays in place while the page scrolls; clip-path keeps it inside the hero */
.hero{clip-path:inset(0)}
.hero-bg{position:fixed;top:0;left:0;width:100vw;height:100vh;object-fit:cover;z-index:0;filter:none;opacity:1}
video.hero-video{pointer-events:none;background:transparent}   /* plays over the photo, same fixed position */
.hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:rgba(16,58,128,.7)} /* solid overlay, 70% — deep blue */
.hero .container{position:relative;z-index:2;pointer-events:none}
.hero .container>*{pointer-events:auto}
.hero .eyebrow{color:var(--yellow)}
.hero-logo{width:100%;max-width:750px;margin:34px auto 30px;display:flex;justify-content:center;align-items:center}
.hero-logo img{width:auto;max-width:100%;max-height:420px;height:auto;object-fit:contain;background:transparent}
.hero h1{font-size:clamp(36px,5.5vw,64px);font-weight:600;text-transform:uppercase;letter-spacing:-.01em;color:#fff}
.hero h1 span{color:var(--yellow)}
.hero .lead{max-width:640px;margin:26px auto 40px;font-size:17px;color:rgba(255,255,255,.92)}
.hero .btn-outline{border-color:#fff;color:#fff}
.hero .btn-outline:hover{background:#fff;color:var(--blue)}
.hero-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* About */
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:80px;align-items:center}
.about-visual{position:relative}
.about-photo{aspect-ratio:4/4.4;border-radius:var(--radius) var(--radius) 50% var(--radius);background:linear-gradient(150deg,var(--yellow-lt),var(--orange-lt));display:grid;place-items:center;color:var(--orange);overflow:hidden}
.about-photo img{width:100%;height:100%;object-fit:cover}
.about-badge{position:absolute;right:-20px;bottom:40px;background:var(--blue);color:#fff;border-radius:16px;padding:24px 28px;max-width:220px;box-shadow:0 20px 40px -18px rgba(0,0,0,.45)}
.about-badge b{display:block;font-size:34px;color:var(--yellow);line-height:1;font-weight:600}
.about-badge span{font-size:13px;letter-spacing:.04em}
.about-text h2{font-size:clamp(30px,3.6vw,44px)}
.about-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;border-top:1px solid var(--line);margin:34px 0;padding-top:30px}
.about-facts b{display:block;font-size:26px;color:var(--ink);font-weight:600}
.about-facts span{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);font-weight:600}

/* Services */
.services{background:var(--grey)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:#fff;border-radius:var(--radius);padding:36px 32px;position:relative;transition:.3s;display:flex;flex-direction:column;border:1px solid transparent}
.card:hover{transform:translateY(-6px);box-shadow:0 30px 50px -30px rgba(31,41,51,.25);border-color:var(--yellow)}
.card .num{position:absolute;top:30px;right:32px;font-size:13px;font-weight:600;color:#B9B4AB;letter-spacing:.1em}
.card .ico{width:58px;height:58px;border-radius:14px;background:var(--orange-lt);color:var(--orange);display:grid;place-items:center;margin-bottom:26px}
.card:nth-child(3n+2) .ico{background:var(--yellow-lt);color:#C88C0A}
.card:nth-child(3n) .ico{background:var(--blue-lt);color:var(--blue)}
.card .ico svg{width:26px;height:26px}
.card h3{font-size:21px;margin-bottom:12px}
.card p{font-size:15px;flex:1;margin-bottom:26px}
.card .btn-sm{align-self:flex-start}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.step{padding:40px 34px;border-radius:var(--radius);border:1px solid var(--line);background:#fff;position:relative}
.step .n{font-size:54px;font-weight:700;line-height:1;color:var(--yellow-lt);-webkit-text-stroke:1.5px var(--yellow);margin-bottom:18px}
.step h3{font-size:20px;margin-bottom:10px}

/* CTA */
.cta{padding:0 0 110px}
.cta-box{border-radius:var(--radius);background:linear-gradient(120deg,var(--orange) 0%,#EE9440 55%,var(--yellow) 100%);color:#fff;padding:70px 60px;display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap;position:relative;overflow:hidden}
.cta-box::after{content:"";position:absolute;width:340px;height:340px;border-radius:50%;border:40px solid rgba(255,255,255,.12);right:-80px;top:-120px}
.cta-box h2{color:#fff;margin:10px 0 8px;font-size:clamp(28px,3.4vw,40px)}
.cta-box .eyebrow{color:#fff}
.cta-box .eyebrow::before{background:#fff}
.cta-box p{max-width:520px;opacity:.95}
.cta-box .btns{display:flex;gap:14px;flex-wrap:wrap;position:relative;z-index:1}
.btn-white{background:#fff;color:var(--ink)}
.btn-white:hover{background:var(--blue);color:#fff}
.btn-ghost{border-color:#fff;color:#fff}
.btn-ghost:hover{background:#fff;color:var(--orange)}

/* Contact */
.contact{background:var(--grey)}
.contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:40px;align-items:start}
.info-box,.form-box{background:#fff;border-radius:var(--radius);padding:44px 40px}
.info-box h3,.form-box h3{font-size:24px;margin-bottom:8px}
.info-list{list-style:none;margin-top:26px}
.info-list li{display:flex;gap:16px;padding:18px 0;border-top:1px solid var(--grey-2)}
.info-list .ico{flex:none;width:44px;height:44px;border-radius:12px;background:var(--blue-lt);color:var(--blue);display:grid;place-items:center}
.info-list .ico svg{width:20px;height:20px}
.info-list small{display:block;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--blue);font-weight:600}
.info-list span{color:var(--ink);font-weight:500}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:26px}
.form-grid .full{grid-column:1/-1}
label{display:block;font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:600;color:var(--ink);margin-bottom:8px}
input,select,textarea{width:100%;font-family:inherit;font-size:15px;color:var(--ink);padding:14px 18px;border:1.5px solid var(--line);border-radius:14px;background:var(--grey);transition:.2s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--orange);background:#fff}
textarea{min-height:130px;resize:vertical}
.hp{position:absolute;left:-9999px}
.notice{padding:14px 18px;border-radius:12px;font-size:14px;margin-top:20px}
.notice.ok{background:var(--yellow-lt);color:#7A5A06;border:1px solid var(--yellow)}
.notice.err{background:var(--orange-lt);color:var(--orange-dk);border:1px solid var(--orange)}

/* Footer */
footer{background:var(--blue-dk);color:rgba(255,255,255,.85);padding:56px 0 26px;font-size:14px}
.foot{display:grid;grid-template-columns:auto 1fr;gap:40px;align-items:center;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.15)}
footer .brand{color:#fff}
.foot-note{justify-self:end;max-width:460px;text-align:right;font-size:15px;line-height:1.7;color:rgba(255,255,255,.85)}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-top:22px}
.copy{font-size:13px;color:rgba(255,255,255,.75)}
.admin-link{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.75);padding:8px 16px;border:1px solid rgba(255,255,255,.28);border-radius:30px;transition:.2s}
.admin-link svg{width:14px;height:14px}
.admin-link:hover{color:var(--yellow);border-color:var(--yellow)}

/* Responsive */
@media (max-width:980px){
  .about-grid,.contact-grid{grid-template-columns:1fr;gap:50px}
  .cards{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}
  .about-badge{right:16px}
}
@media (max-width:1260px){
  header .container.nav{width:94%}
  .nav ul{gap:18px}
  .nav ul a{font-size:12px;letter-spacing:.06em}
  .nav .btn-dark{padding:14px 24px}
}
@media (max-width:1080px){
  .menu-toggle{display:block;margin-left:12px}
  .nav ul{position:absolute;top:84px;left:0;right:0;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--grey-2);display:none;box-shadow:0 20px 30px -20px rgba(74,20,38,.25)}
  .nav ul.open{display:flex}
  .nav ul li a{display:block;padding:16px 5%;font-size:13px;letter-spacing:.12em}
  .nav .btn-dark{margin-left:auto}
}
@media (max-width:640px){
  .nav .btn-dark{display:none}
}
@media (max-width:640px){
  .section{padding:80px 0}
  .cards,.form-grid{grid-template-columns:1fr}
  .about-facts{grid-template-columns:1fr 1fr 1fr;gap:10px}
  .cta-box{padding:50px 30px}
  .info-box,.form-box{padding:34px 26px}
  .topbar{font-size:10px;letter-spacing:.16em}
  .foot{grid-template-columns:1fr;gap:18px;text-align:center}
  footer .brand{justify-self:center;text-align:left}
  .foot-note{justify-self:center;text-align:center}
  .foot-bottom{flex-direction:column;text-align:center}
  .eyebrow{letter-spacing:.18em;font-size:11px}
  .eyebrow.center::before,.eyebrow.center::after{width:20px}
}

/* links added in the editor inherit the look of the text around them */
a.cms-link{color:inherit;font:inherit;text-decoration:inherit}

/* Items an editor emptied or hid are display:none; close up what's left around them.
   - a button whose label was emptied disappears entirely
   - a wrapper whose only children were all removed disappears (no leftover margins) */
[data-cms-href]:has(> [data-cms][style*="display:none"]),
[data-cms-href]:has(> img[data-cms-img][style*="display:none"]){display:none !important}
:is(div,p,li,ul,span,figure,article):has(> [style*="display:none"]):not(:has(> :not([style*="display:none"]))){display:none !important}

/* soft shadow keeps hero text readable over bright background photos */
.hero h1,.hero .lead,.hero .eyebrow{text-shadow:0 2px 14px rgba(45,10,22,.55),0 1px 3px rgba(45,10,22,.35)}

/* Form sections (Registration, Vendors, Sponsorship, Donation, Volunteer):
   hidden until one of their buttons is clicked; only one shows at a time, just above Contact.
   The open one takes the gray background and Contact turns white so the colors keep alternating. */
.form-sec{display:none}
.form-sec.is-open{display:block;animation:formIn .45s ease}
@keyframes formIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
body.form-open #contact{background:#fff}
body.form-open #contact .info-box,body.form-open #contact .form-box{background:var(--grey)}
body.form-open #contact input,body.form-open #contact select,body.form-open #contact textarea{background:#fff}
.form-embed:empty{display:none}
.form-embed iframe{width:100%;max-width:100%;border:0}
.embed-soon{margin-top:22px;padding:22px 24px;border:2px dashed var(--line);border-radius:14px;background:var(--grey);color:var(--text);font-size:15px}
/* a pasted contact-form embed code replaces the built-in contact form */
.form-box:has(.form-embed[data-has-code="1"]) > form{display:none}
.form-embed[data-has-code="1"]{margin-top:22px}

/* floating sparkles over the whole page: fixed layer, below the header, never blocks clicks */
canvas.sparkles{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:40}

/* Services: tall photo on the left, as tall as the two rows of cards; the six cards (2 rows of 3) on the right.
   Cards are a little narrower, so their text is slightly smaller to keep them no taller than before. */
.services .container{width:min(1260px,92%)}
.services-layout{display:grid;grid-template-columns:minmax(200px,.82fr) 3fr;gap:20px;align-items:stretch}
.services-layout .cards{gap:20px}
.services-photo{border-radius:var(--radius);overflow:hidden;min-height:100%;background:var(--grey-2);box-shadow:0 30px 50px -34px rgba(31,41,51,.35)}
.services-photo img{width:100%;height:100%;object-fit:cover;display:block;border-radius:var(--radius)}
.services-layout .card{padding:26px 22px 24px}
.services-layout .card .num{top:24px;right:22px;font-size:12px}
.services-layout .card .ico{width:48px;height:48px;border-radius:12px;margin-bottom:16px}
.services-layout .card .ico svg{width:22px;height:22px}
.services-layout .card h3{font-size:18px;margin-bottom:8px}
.services-layout .card p{font-size:13.5px;line-height:1.6;margin-bottom:18px}
.services-layout .card .btn-sm{padding:9px 16px;font-size:10.5px}
.services-layout:has(> .services-photo img[style*="display:none"]){grid-template-columns:1fr}   /* photo hidden: cards use full width */
@media (max-width:980px){
  .services-layout{grid-template-columns:1fr}
  .services-photo{height:320px;min-height:0}
}

/* Contact & form sections: a photo under the left-side box */
.side-col{display:flex;flex-direction:column;gap:50px}   /* 50px between the info box and the photo */
.side-photo{border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;background:var(--grey-2);box-shadow:0 30px 50px -34px rgba(31,41,51,.35)}
.side-photo img{width:100%;height:100%;object-fit:cover;display:block;border-radius:var(--radius)}

/* designer credit in the footer */
.credit{font-size:12.5px;color:rgba(255,255,255,.65)}
.credit a{color:var(--yellow);font-weight:500;text-decoration:none;border-bottom:1px solid rgba(245,185,53,.4);transition:.2s}
.credit a:hover{color:#fff;border-color:#fff}

/* Popup (set by a main editor): picture over a dark overlay, close button top-right */
.mim-popup{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:rgba(20,6,11,.72);opacity:0;transition:opacity .25s ease}
.mim-popup.is-open{opacity:1}
.mim-popup[hidden]{display:none}   /* fully gone once closed, so nothing blocks clicks */
.mim-popup-box{position:relative;max-width:min(720px,92vw);transform:translateY(14px) scale(.98);transition:transform .3s ease}
.mim-popup.is-open .mim-popup-box{transform:none}
.mim-popup-box img{display:block;max-width:100%;max-height:82vh;width:auto;height:auto;border-radius:var(--radius);box-shadow:0 40px 80px -30px rgba(0,0,0,.6)}
.mim-popup-x{position:absolute;top:-16px;right:-16px;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:var(--ink);font-size:28px;line-height:44px;text-align:center;cursor:pointer;box-shadow:0 8px 20px -6px rgba(0,0,0,.5);font-family:Arial,sans-serif;padding:0}
.mim-popup-x:hover{background:var(--orange);color:#fff}
.mim-popup-x:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
html.mim-popup-lock{overflow:hidden}
@media (max-width:640px){.mim-popup-x{top:-12px;right:-6px;width:40px;height:40px;line-height:40px}}

/* Phone / tablet menu (after tapping ☰): bigger, easier-to-tap buttons */
@media (max-width:1080px){
  .nav ul{padding:10px 0 18px;max-height:calc(100vh - 84px);overflow-y:auto}
  .nav ul li{border-bottom:1px solid var(--grey-2)}
  .nav ul li:last-child{border-bottom:0}
  .nav ul li a{display:flex;align-items:center;min-height:62px;padding:16px 6%;font-size:18px;font-weight:600;letter-spacing:.08em}
  .nav ul li a:active,.nav ul li a:hover{background:var(--blue-lt);color:var(--blue)}
  .menu-toggle{width:48px;height:48px}
  .menu-toggle span{margin:7px 10px;height:2.5px}
}
