/* Baldons Events Committee — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Inter:wght@400;500&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

:root {
  --ink: #1c1a14;
  --paper: #f5f1ea;
  --card: #ffffff;
  --line: #e0d9ce;
  --navy: #1a2240;
  --navy2: #243060;
  --amber: #d9620a;
  --amber-dk: #a84a06;
  --gold: #c9a22b;
  --gold-dk: #9a7a1a;
  --muted: #5c5549;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.65; }
.serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 30px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; border: none; cursor: pointer; }
.btn .arr { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; }
.btn-amber { background: var(--amber); color: #fff; }
.btn-navy { background: var(--navy2); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-light { background: #fff; color: var(--navy2); }

/* header */
.band { background: var(--navy); }
.topnav { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.mark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.mark img { height: 62px; width: auto; }
.mark-text { display: flex; flex-direction: column; line-height: 1; }
.mark-text .m1 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 31px; color: #fff; }
.mark-text .m2 { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #a8b4d0; margin-top: 5px; }
.topnav nav a { color: #c8d0e4; text-decoration: none; font-size: 12px; letter-spacing: .02em; margin-left: 18px; text-transform: uppercase; opacity: .82; }
.topnav nav a:hover { opacity: 1; color: #fff; }
.topnav nav a.active { color: #e8be63; opacity: 1; }

/* hero */
.hero { position: relative; margin: 28px 30px 0; border-radius: 18px; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background: url('../images/fireworks-hero.jpg') center 40%/cover no-repeat; }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,30,.75) 0%, rgba(10,14,30,.4) 35%, rgba(10,14,30,.1) 65%, rgba(10,14,30,0) 85%); }
.hero .inner { position: relative; padding: 220px 56px 140px; max-width: 680px; }
.hero h1 { text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 0 20px rgba(0,0,0,.5); }
.hero p { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.5); }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: 68px; line-height: .98; color: #fff; margin: 0 0 18px; }
.hero p { color: #dde3f4; font-size: 18px; max-width: 460px; margin: 0 0 30px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* inner page header */
.pagehead { background: var(--navy); color: #fff; }
.pagehead .inner { padding: 54px 0 60px; max-width: 720px; }
.pagehead h1 { font-size: 52px; line-height: 1.02; margin: 0 0 14px; color: #fff; }
.pagehead p { color: #a8b4d0; font-size: 18px; margin: 0; max-width: 560px; }

/* next event card in hero */
.next-event-card {
  position: absolute;
  top: 220px;
  right: 48px;
  width: 220px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 20px 22px 22px;
  color: white;
  z-index: 3;
}
.next-event-card .nec-label {
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.next-event-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600;
  line-height: 1.2; margin-bottom: 8px;
}
.next-event-card .nec-date {
  font-size: 12px; color: rgba(255,255,255,.72); line-height: 1.5; margin-bottom: 16px;
}
.next-event-card .btn { font-size: 12px; padding: 8px 16px; }

/* mission strips */
.mission-strips { margin-top: 56px; }
.mission-strip { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.ms-visual { overflow: hidden; }
.mission-strip--events .ms-visual { background: url('../images/celebration.jpg') center 40%/cover no-repeat; }
.mission-strip--giving .ms-visual { background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%); display: flex; align-items: center; justify-content: center; }
.ms-stat-panel { text-align: center; padding: 20px; }
.ms-big-num { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 64px; color: var(--gold); line-height: 1; }
.ms-big-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; color: #a8b4d0; }
.ms-text { padding: 54px 60px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.ms-text .ms-icon { font-size: 36px; margin-bottom: 14px; }
.ms-text h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 700; color: var(--navy2); margin: 0 0 12px; }
.ms-text p { font-size: 16px; color: var(--muted); margin: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin: 56px 30px 0; border-radius: 14px; overflow: hidden; }
.stat { background: var(--card); padding: 30px 18px; text-align: center; }
.stat .n { font-size: 46px; color: var(--navy2); line-height: 1; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* sections */
section.block { padding: 72px 0; }
h2.head { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 40px; margin: 0 0 18px; }
h3.sub { font-size: 24px; margin: 36px 0 14px; }
.lede { max-width: 720px; font-size: 17px; color: #3c3830; }
.lede p { margin: 0 0 16px; }
.dl { color: var(--navy2); font-size: 14px; font-weight: 500; text-decoration: none; }
.dl:hover { color: var(--amber); }

/* events */
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.event-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.event-card .event-img { background: var(--navy); display: flex; align-items: center; justify-content: center; position: relative; }
.event-card .event-img img { width: 100%; height: auto; display: block; }
.event-card .event-img .event-placeholder { font-size: 48px; opacity: .4; }
.event-card .event-body { padding: 22px 24px 26px; }
.event-card .event-tag { display: inline-block; background: #fff3e6; color: var(--amber-dk); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.event-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; margin: 0 0 8px; color: var(--navy); }
.event-card .event-date { font-size: 13px; color: var(--gold-dk); font-weight: 500; margin-bottom: 12px; }
.event-card p { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.volunteer-box { background: #f0f4ff; border: 1px solid #c8d4f0; border-radius: 10px; padding: 14px 16px; margin-top: 4px; }
.volunteer-box .vh { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--navy2); margin-bottom: 6px; }
.volunteer-box ul { margin: 0; padding: 0 0 0 16px; font-size: 13px; color: #3a4460; }
.volunteer-box ul li { margin-bottom: 3px; }
.volunteer-box .vtimes { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* funded */
.funded-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.funded-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.funded-item .fi-cat { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 8px; }
.funded-item .fi-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.funded-item .fi-desc { font-size: 13px; color: var(--muted); }

/* equipment */
.equip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.equip-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.equip-card .eq-icon { font-size: 32px; margin-bottom: 12px; }
.equip-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--navy); margin: 0 0 8px; }
.equip-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }

/* contact / CTA band */
.ctaband { background: var(--navy2); color: #fff; }
.ctaband .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.ctaband h2 { font-size: 32px; margin: 0 0 8px; color: #fff; }
.ctaband p { color: #a8b4d0; font-size: 16px; margin: 0; max-width: 480px; }

/* contact card */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px 36px; }
.contact-card .big { font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--navy2); text-decoration: none; display: block; margin-bottom: 6px; }

/* footer */
footer { background: var(--navy); color: #a8b4d0; padding: 50px 0 36px; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
footer .fh { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
footer a { color: #a8b4d0; text-decoration: none; font-size: 14px; }
footer a:hover { color: #fff; }
.fname { font-size: 22px; color: #fff; margin-bottom: 10px; font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.legal { border-top: 1px solid #2a3560; margin-top: 34px; padding-top: 18px; font-size: 13px; color: #667099; }

/* responsive */
@media (max-width: 820px) {
  .next-event-card { display: none; }
  .hero { margin: 20px 14px 0; }
  .hero .inner { padding: 140px 26px 100px; }
  .hero h1 { font-size: 42px; }
  .pagehead h1 { font-size: 38px; }
  .mission-strip { grid-template-columns: 1fr; }
  .ms-visual { min-height: 220px; }
  .ms-text { padding: 36px 26px; }
  .ms-big-num { font-size: 48px; }
  .stats { grid-template-columns: 1fr; margin: 40px 14px 0; }
  .event-grid { grid-template-columns: 1fr; }
  .funded-grid { grid-template-columns: 1fr 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .topnav nav { display: none; }
  .topnav nav.open { display: flex; flex-direction: column; position: absolute; top: 110px; left: 0; right: 0; background: var(--navy); z-index: 100; padding: 10px 0 18px; }
  .topnav nav.open a { margin: 0; padding: 12px 24px; opacity: 1; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .topnav nav.open a:last-child { border-bottom: none; }
  .topnav { position: relative; }
  .hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; cursor: pointer; padding: 8px; }
  .hamburger span { display: block; height: 2px; background: #c8d0e4; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .ctaband .wrap { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 821px) { .hamburger { display: none; } }
@media (max-width: 520px) { .funded-grid { grid-template-columns: 1fr; } }
