/* ============================================================
   CONFERENCE KIDZ  |  Shared stylesheet
   Brand: Navy #1B2F6E / White / Red #C83E4D / Gold #DAA520
   Headings: Montserrat Bold   Body: Open Sans
   Edit colors and spacing in the :root block below.
   ============================================================ */

:root {
  --navy:      #1B2F6E;
  --navy-deep: #142354;
  --red:       #C83E4D;
  --red-dark:  #A93140;
  --gold:      #DAA520;
  --white:     #FFFFFF;
  --mist:      #F3F6FC;   /* soft navy tint for alternating sections */
  --ink:       #23262F;   /* body text */
  --ink-soft:  #555B69;   /* secondary text */
  --line:      #DCE3F2;

  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(27, 47, 110, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text, .btn, .eyebrow {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; color: var(--navy); }
h3 { font-size: 1.2rem; line-height: 1.35; margin: 0 0 .5rem; color: var(--navy); }
p  { margin: 0 0 1.1rem; }
a  { color: var(--navy); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.eyebrow-navy { color: var(--navy); }

/* Gold hairline used sparingly as the brand's structural accent */
.rule-gold {
  width: 64px; height: 3px; background: var(--gold);
  border: 0; margin: 0 0 1.5rem;
}

/* ---------- Header / nav ----------
   Header is WHITE because the supplied logo is navy and red. A navy header
   would erase the shield's lower half and the CONFERENCE wordmark.
   If a white-on-dark logo variant arrives, this can go back to navy. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(27, 47, 110, 0.06);
}
.nav {
  display: flex; align-items: center; gap: 1.25rem;
  max-width: var(--maxw); margin: 0 auto; padding: 10px 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark { height: 46px; width: auto; display: block; flex: none; }
.logo-text { color: var(--navy); font-size: 1.12rem; letter-spacing: .01em; }

.nav-links { display: flex; align-items: center; gap: 1.05rem; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  font-size: .93rem; font-weight: 600; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--navy); border-bottom-color: var(--gold); }
.nav-links a.active { color: var(--navy); border-bottom-color: var(--gold); }
.nav-links a.btn-donate { color: var(--white); border-bottom-color: transparent; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  color: var(--navy); border-radius: 6px; padding: 7px 11px;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .9rem; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  padding: 13px 26px; border-radius: var(--radius);
  font-size: .95rem; border: 2px solid transparent; transition: .18s ease;
}
.btn-donate { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-donate:hover, .btn-donate:focus-visible { background: var(--red-dark); border-color: var(--red-dark); }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); padding: 84px 0 78px;
}
.hero h1 { color: var(--white); max-width: 17ch; }
.hero p.lede { font-size: 1.16rem; max-width: 60ch; color: rgba(255,255,255,.9); margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-sub { padding: 60px 0 54px; }
.hero-sub h1 { max-width: 22ch; }

/* ---------- Sections ---------- */
section { padding: 66px 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-narrow { max-width: 76ch; }
.section-head { max-width: 66ch; margin-bottom: 2.25rem; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card-top-rule { border-top: 4px solid var(--navy); }
.card-top-gold { border-top: 4px solid var(--gold); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-block; font-weight: 700; text-decoration: none; color: var(--navy); margin-top: .4rem; }
.card-link:hover { color: var(--red); }
.card-link::after { content: " \2192"; }

/* Age band chips inside activity cards */
.ages { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.ages li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.ages strong { color: var(--navy); font-family: 'Montserrat', sans-serif; }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.split + .split { margin-top: 54px; padding-top: 54px; border-top: 1px solid var(--line); }

/* ---------- Donate block ---------- */
.donate-band { background: var(--navy); color: var(--white); padding: 70px 0; }
.donate-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; }
.donate-band h2 { color: var(--white); }
.donate-band p { color: rgba(255,255,255,.9); }
.donate-widget {
  background: var(--white); border-radius: var(--radius);
  padding: 26px; height: auto; min-height: 120px; color: var(--ink);
}
.donate-note { font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* ---------- Guidelines / long-form doc ---------- */
.doc { max-width: 78ch; }
.doc h2 { margin-top: 2.6rem; padding-bottom: .5rem; border-bottom: 2px solid var(--gold); }
.doc h3 { margin-top: 1.9rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: .4rem; }

table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .95rem; }
th {
  background: var(--navy); color: var(--white); text-align: left;
  padding: 12px 14px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem;
}
td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(odd) { background: var(--mist); }

.table-wrap { overflow-x: auto; margin: 1.4rem 0; }
.table-wrap table { margin: 0; min-width: 560px; }
.table-wrap td:first-child {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  color: var(--navy); white-space: nowrap;
}

/* Review notice. Remove from the page once the item is resolved. */
.notice {
  border-left: 5px solid var(--red);
  background: #FDF3F4;
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.6rem 0;
  font-size: .95rem;
}
.notice strong { color: var(--red-dark); font-family: 'Montserrat', sans-serif; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Pull quote ---------- */
.pullquote {
  margin: 0; padding: 8px 0 8px 30px;
  border-left: 5px solid var(--gold);
  max-width: 62ch;
}
.pullquote p {
  font-size: clamp(1.1rem, 1.9vw, 1.32rem);
  line-height: 1.55; color: var(--navy); margin-bottom: 1.1rem;
}
.pullquote footer {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft);
}
.pullquote footer span { display: block; color: var(--gold); margin-top: 3px; }

/* Pull quote on a dark band */
.section-navy .pullquote p { color: var(--white); }
.section-navy .pullquote footer { color: rgba(255,255,255,.78); }
.section-navy .rule-gold { background: var(--gold); }

/* ---------- Board of directors ---------- */
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.board-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}
.board-card p:last-child { margin-bottom: 0; }
.avatar {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--mist); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.5rem;
  color: var(--navy); margin-bottom: 16px; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); margin: 0 0 2px; }
.board-role {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); font-family: 'Montserrat', sans-serif; font-weight: 700;
  margin: 0 0 .9rem;
}
.board-role-vacant { color: var(--red); }

/* Band for the board-interest call to action. Navy button, not red,
   so it never competes with a donate action. */
.cta-band {
  background: var(--mist); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: 62px 0;
}

/* Placeholder marker. Any text in this style must be replaced before launch. */
.fillme {
  background: #FFF3D6; border-bottom: 2px dotted var(--gold);
  padding: 0 3px; font-style: normal;
}

/* ---------- Social links (footer, on dark) ---------- */
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  transition: .18s ease;
}
.social svg { width: 17px; height: 17px; fill: var(--white); transition: .18s ease; }
.social a:hover, .social a:focus-visible {
  border-color: var(--gold); background: rgba(255,255,255,.08);
}
.social a:hover svg, .social a:focus-visible svg { fill: var(--gold); }

/* Offset anchor jumps so the sticky header never covers the target */
#give, #join-board, #turnkey, #emergency, #venue, #training { scroll-margin-top: 84px; }

/* ---------- Contact / footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.85); padding: 52px 0 34px; }
.site-footer h3 { color: var(--white); }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: .85rem; color: rgba(255,255,255,.65);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: .5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .board-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .donate-grid, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .split + .split { margin-top: 34px; padding-top: 34px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 4px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(27, 47, 110, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .brand-mark { height: 40px; }
  .nav-links .btn { margin-top: 14px; text-align: center; }
  .grid-2, .grid-3, .grid-4, .board-grid { grid-template-columns: 1fr; }
  section, .hero { padding: 48px 0; }
  body { font-size: 16px; }
}
