/* Girl Scout Troop 71291 — design tokens and styles */
:root {
  --green: #1E8A3C;
  --green-dark: #177031;
  --green-shadow: #14602A;
  --green-pale: #F2F8E9;
  --green-border: #E2EED4;
  --green-stitch: #9CCB7E;
  --navy: #16305C;
  --navy-body: #2B4472;
  --slate: #4A5F87;
  --slate-light: #6B7C9E;
  --navy-on-dark: #C9D6EC;
  --pink: #E5326C;
  --purple: #7B5AC8;
  --daisy-blue: #2D7DC4;
  --brownie: #5C3A1E;
  --gold: #F5A623;
  --cream: #FDFAEF;
  --radius-card: 22px;
  --radius-feature: 26px;
  --font-display: Fredoka, system-ui, sans-serif;
  --font-body: Nunito, system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--font-body); }
a { color: var(--green); text-decoration: none; font-weight: 700; }
a:hover { color: var(--pink); }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(253,250,239,.95); backdrop-filter: blur(10px); border-bottom: 3px solid var(--green-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 46px; height: 46px; border-radius: 14px; background: var(--green); display: flex; align-items: center; justify-content: center; outline: 2px dashed rgba(253,250,239,.55); outline-offset: -5px; }
/* Original clover mark — swap for the council-approved trefoil if licensed. */
.logo-glyph { width: 26px; height: 26px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--green); }
.brand-sub { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-pill { padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--navy); transition: background 120ms ease, color 120ms ease; }
.nav-pill:hover { background: var(--green-pale); color: var(--navy); }
.nav-pill.is-active { background: var(--green); color: #fff; }

/* Stitched badge edge */
.stitch { outline: 2px dashed rgba(255,255,255,.5); outline-offset: -8px; }
.stitch-green { outline: 2px dashed var(--green-stitch); outline-offset: -5px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--green-pale); border-bottom: 3px solid var(--green-border); }
.hero-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: clamp(132px, 14vw, 280px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--pink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; outline: 2px dashed rgba(255,255,255,.6); outline-offset: -5px; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: 54px; line-height: 1.02; letter-spacing: -.02em; margin: 18px 0 0; color: var(--green); text-wrap: balance; }
.hero-body { font-size: 19px; line-height: 1.55; max-width: 44ch; margin: 18px 0 0; color: var(--navy-body); text-wrap: pretty; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: 16px; font-weight: 800; line-height: 1.2; padding: 15px 26px; border-radius: 999px; border: 3px solid transparent; transition: background 120ms ease, color 120ms ease; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-shadow); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.hero-cards-col { min-width: 0; display: flex; justify-content: center; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 380px; }
.level-card { border-radius: var(--radius-feature); padding: 24px 20px; color: #fff; }
.level-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 23px; }
.level-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; margin-top: 14px; }
.level-sub { font-size: 14px; font-weight: 700; opacity: .9; margin-top: 2px; }
.next-card { grid-column: span 2; display: block; background: var(--pink); border-radius: var(--radius-feature); padding: 22px 20px; color: #fff; transition: transform 140ms ease, box-shadow 140ms ease; }
.next-card:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(229,50,108,.32); }
.next-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #FFDCE7; }
.next-row { display: flex; align-items: center; gap: 14px; margin-top: 13px; }
.next-chip { flex: none; width: 66px; background: rgba(255,255,255,.2); border-radius: 16px; padding: 9px 4px; text-align: center; }
.next-month { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #FFDCE7; }
.next-day { display: block; font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: 1.05; }
.next-body { min-width: 0; }
.next-kind { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.22); padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; }
.next-kind:empty { display: none; }
.next-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.18; }
.next-theme { font-size: 14px; font-weight: 800; color: #FFDCE7; margin-top: 3px; }
.next-detail { font-size: 14px; font-weight: 700; color: #FBCEDD; line-height: 1.4; margin-top: 3px; }
.next-theme:empty, .next-detail:empty { display: none; }
.next-btn { display: block; text-align: center; margin-top: 17px; background: #fff; color: var(--pink); font-size: 15px; font-weight: 800; padding: 13px 20px; border-radius: 999px; transition: background 120ms ease, color 120ms ease; }
.next-card:hover .next-btn { background: var(--gold); color: var(--navy); }
.girl-card { background: var(--purple); border-radius: var(--radius-feature); padding: 22px 20px; color: #fff; }
.girl-lead { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.22; }
.girl-sub { font-size: 14px; font-weight: 600; line-height: 1.45; margin-top: 8px; color: #EDE6FA; }
.girl-sub strong { font-weight: 800; color: #fff; letter-spacing: .02em; }
.girl-list { list-style: none; margin: 15px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.girl-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.girl-letter { flex: none; width: 25px; height: 25px; border-radius: 9px; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
/* Height tracks width (the viewBox is 1200x180) so the flowers never stretch.
   Narrow screens show the middle of the scene; wide screens crop from the top. */
.grass { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(150px, 15vw, 300px); display: block; pointer-events: none; }

/* Sections */
.section { padding-top: 56px; padding-bottom: 64px; }
.narrow { max-width: 820px; }
.h1 { font-family: var(--font-display); font-weight: 700; font-size: 44px; margin: 0; color: var(--green); }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; margin: 0 0 6px; color: var(--navy); }
.h2-light { color: var(--cream); font-size: 32px; margin-bottom: 0; }
.section-sub { font-size: 17px; color: var(--slate); margin: 10px 0 30px; }
.section-sub.wide { max-width: 56ch; font-size: 18px; }
.label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.card { background: #fff; border: 3px solid var(--green-border); border-radius: var(--radius-card); padding: 24px; }
.card-body { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--navy-body); }

/* Join band */
.join { background: var(--navy); color: #fff; }
.join-inner { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px; align-items: center; }
.join-body { font-size: 17px; line-height: 1.55; color: var(--navy-on-dark); margin: 12px 0 0; max-width: 46ch; }
.join-inner .girl-card { margin-top: 24px; max-width: 46ch; }
.contact-card { background: var(--green); border-radius: 24px; padding: 26px; }
.contact-name { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin-top: 8px; color: #fff; }
.contact-note { font-size: 15px; line-height: 1.55; color: #E6F2E9; margin: 10px 0 0; }
.contact-note strong { font-weight: 800; color: #fff; }
.contact-btn { display: inline-block; margin-top: 18px; background: #fff; color: var(--green); font-size: 15px; font-weight: 800; padding: 13px 22px; border-radius: 999px; transition: background 120ms ease, color 120ms ease; }
.contact-btn:hover { background: var(--gold); color: var(--navy); }
.contact-email { display: block; margin-top: 14px; font-size: 15px; font-weight: 700; color: #EAF5EC; text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.contact-email:hover { color: var(--gold); }

/* Schedule */
.event { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; background: #fff; border: 3px solid var(--green-border); border-radius: var(--radius-card); padding: 20px 22px; }
.date-chip { background: var(--green-pale); border-radius: 16px; padding: 10px 6px; text-align: center; }
.date-month { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.date-day { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.05; color: var(--green); }
.event-title { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--navy); }
.event-detail { font-size: 15px; font-weight: 700; color: var(--slate); margin-top: 3px; }
.month-head { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--green); margin: 38px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--green-border); }
.month-head:first-of-type { margin-top: 28px; }
.event-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.kind { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff; }
.kind-meeting { background: var(--green); }
.kind-event { background: var(--purple); }
.kind-product { background: var(--gold); color: #5A3B00; }
.kind-cookie { background: var(--pink); }
.tentative { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--green-pale); color: var(--slate); border: 2px solid var(--green-border); }
.event-range { font-size: 14px; font-weight: 700; color: var(--pink); margin-top: 3px; }
.event-theme { font-size: 15px; font-weight: 800; color: var(--pink); margin-top: 2px; }
.event-badges { font-size: 13px; font-weight: 700; color: var(--slate-light); margin-top: 6px; }
.chip-tbd .date-day { font-size: 17px; letter-spacing: .03em; }

/* Featured events */
.spotlight { margin: 30px 0 8px; }
.spot-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.spot { background: var(--purple); border-radius: var(--radius-feature); padding: 30px; color: #fff; outline: 2px dashed rgba(255,255,255,.45); outline-offset: -9px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: start; }
.spot-flyer { display: block; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.12); text-align: center; transition: transform 140ms ease, box-shadow 140ms ease; }
.spot-flyer img { display: block; width: 100%; height: auto; border-radius: 18px 18px 0 0; }
.spot-flyer-cta { display: block; padding: 12px 14px; font-size: 14px; font-weight: 800; color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.spot-flyer:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.28); }
.spot-flyer:hover .spot-flyer-cta { color: #F5D76E; }
.spot-when { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #F5D76E; }
.spot-title { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1.1; margin: 8px 0 0; color: #fff; }
.spot-text { font-size: 17px; line-height: 1.55; color: #EDE6FA; margin: 12px 0 0; max-width: 52ch; }
.spot-text strong { color: #fff; font-weight: 800; }
.spot-list { margin: 14px 0 0; padding-left: 20px; color: #EDE6FA; font-size: 16px; line-height: 1.7; }
.spot-where { font-size: 15px; font-weight: 700; line-height: 1.5; color: #fff; margin-top: 18px; padding-left: 14px; border-left: 4px solid rgba(255,255,255,.45); }
.spot-btn { display: inline-block; margin-top: 22px; background: #fff; color: var(--purple); font-size: 16px; font-weight: 800; padding: 14px 26px; border-radius: 999px; transition: background 120ms ease, color 120ms ease; }
.spot-btn:hover { background: #F5D76E; color: var(--navy); }
.spot-note { font-size: 13px; font-weight: 600; color: #D8CCF2; margin: 12px 0 0; }

/* Month pagination */
.month-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 40px 0 6px; }
.month-btn { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--green-border); background: #fff; color: var(--green); font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer; transition: border-color 120ms ease, color 120ms ease; }
.month-btn:hover:not(:disabled) { border-color: var(--green); }
.month-btn:disabled { opacity: .35; cursor: default; }
.month-current { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--green); min-width: 200px; text-align: center; }
.month[hidden] { display: none; }
.month-head[hidden] { display: none; }

/* Forms */
.form-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 3px solid var(--green-border); border-radius: var(--radius-card); padding: 24px; color: var(--navy); transition: border-color 120ms ease; }
.form-card:hover { border-color: var(--green); color: var(--navy); }
.form-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-top .label { font-size: 11px; letter-spacing: .12em; }
.dl { width: 30px; height: 30px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 15px; }
.form-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.15; }
.form-note { font-size: 15px; font-weight: 600; color: var(--slate); line-height: 1.45; }
.forms-head { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--green); margin: 40px 0 4px; }
.forms-head:first-of-type { margin-top: 26px; }
.forms-sub { font-size: 16px; color: var(--slate); margin: 0 0 18px; }
.ext-pill { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; background: var(--green-pale); color: var(--green); border-radius: 6px; padding: 2px 6px; vertical-align: middle; margin-left: 4px; }

/* FAQ */
.faq { background: #fff; border: 3px solid var(--green-border); border-radius: var(--radius-card); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--navy); list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-sign { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-pale); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 17px; font-family: var(--font-body); font-weight: 800; }
.faq-sign::before { content: "+"; }
.faq[open] .faq-sign::before { content: "\2013"; }
.faq-a { margin: 0; padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--navy-body); }
.faq-a strong { font-weight: 800; color: var(--navy); }
.interests { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 22px 16px; padding: 0; }
.interest { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; color: #fff; }
.i-pink { background: var(--pink); }
.i-blue { background: var(--daisy-blue); }
.i-green { background: var(--green); }
.i-purple { background: var(--purple); }
.i-gold { background: var(--gold); color: #5A3B00; }
.faq-group { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--green); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--green-border); }
.faq-group:first-of-type { margin-top: 34px; }
.note-card { background: var(--green-pale); border: 3px solid var(--green-border); border-radius: var(--radius-card); padding: 24px; }
.note-card-green { background: var(--green); border-color: var(--green); margin-top: 44px; }
.note-body { margin: 10px 0 0; font-size: 17px; line-height: 1.6; color: var(--navy-body); }
.note-body strong { font-weight: 800; color: var(--navy); }
.note-body-light { color: #fff; }
.note-body-light strong { color: #fff; }
.note-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.note-link:hover { color: var(--gold); }

/* Footer */
.site-footer { background: var(--green-pale); border-top: 3px solid var(--green-border); }
.footer-inner { padding-top: 34px; padding-bottom: 34px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer-left { font-size: 15px; font-weight: 700; color: var(--slate); }
.footer-right { font-size: 14px; color: var(--slate-light); }

@media (max-width: 640px) {
  .nav { gap: 1px; }
  .nav-pill { padding: 8px 7px; font-size: 13px; }
  .header-inner { gap: 10px; }
  .hero-title { font-size: 36px; }
  .h1 { font-size: 34px; }
  .h2 { font-size: 27px; }
  .faq-group { font-size: 20px; }
  .spot { padding: 24px; }
  .spot-title { font-size: 27px; }
  .month-current { font-size: 20px; min-width: 150px; }
  .faq-q { font-size: 17px; padding: 18px; }
  .event { grid-template-columns: 1fr; gap: 14px; }
  .date-chip { width: 96px; }
}
