/* ============================================================
   FFCCS Site — Shared Stylesheet
   Edit the :root variables below to change colors or fonts
   site-wide without touching anything else.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&display=swap');

/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --bg:        #0c1420;   /* page background */
  --paper:     #101a2a;   /* card / panel background */
  --ink:       #f4f1ea;   /* primary text */
  --ink2:      #c4cdd9;   /* secondary text */
  --muted:     #8290a3;   /* captions, labels */
  --gold:      #caa64a;   /* accent / brand colour */
  --gold-deep: #b08a2d;   /* accent hover */
  --hair:      rgba(255,255,255,.08); /* subtle borders */
  --link:      #7ab8d4;   /* body link colour */

  --font:      'Inter', system-ui, sans-serif;
  --display:   'Fraunces', Georgia, serif;

  --max:       1100px;    /* content max-width */
  --pad:       64px;      /* horizontal page padding */
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { margin: 0; background: var(--bg); color: var(--ink);
        font-family: var(--font); font-size: 16px; line-height: 1.6; }
img   { max-width: 100%; display: block; }
a     { color: var(--link); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; }
p     { margin: 0; }

/* ── Utility ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.divider {
  border: none;
  border-top: 1px solid var(--hair);
  margin: 0;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-gold    { background: var(--gold);      color: #0c1420; }
.btn-gold:hover { background: var(--gold-deep); color: #0c1420; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--hair); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── Navigation ──────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,20,32,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}

.nav-inner {
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;        /* lets mobile menu drop below */
  min-height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
  padding: 12px 0;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
}

.brand-name { font-family: var(--display); font-weight: 500; font-size: 15px;
              line-height: 1.2; max-width: 220px; }
.brand-sub  { font-size: 10px; color: var(--muted); letter-spacing: .18em;
              text-transform: uppercase; margin-top: 2px; }

/* Nav link list */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: .04em;
}

.nav-links a {
  color: var(--ink2);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Donate button inside nav */
.nav-donate {
  display: inline-block;
  background: var(--gold);
  color: #0c1420 !important;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: none !important;
  transition: background .15s !important;
}
.nav-donate:hover { background: var(--gold-deep) !important; }
.nav-donate.active { background: var(--gold-deep) !important; }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
  font-size: 22px;
  line-height: 1;
}

/* ── Hero (home page) ────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
}

/* Replace the gradient background with a real photo:
   .hero-bg { background-image: url('your-photo.jpg'); background-size: cover; background-position: center; } */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1a2a40, #06101e);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(12,20,32,.4) 0%,
    rgba(12,20,32,.2) 40%,
    rgba(12,20,32,.95) 100%);
}

.hero-content {
  position: relative;
  width: calc(50vw - var(--pad));
  max-width: 560px;
  container-type: inline-size;
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0c1420 0%, rgba(12,20,32,0) 40%);
  z-index: 1;
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.kicker {
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(28px, 10cqi, 52px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 28px;
}

/* The rotating word */
.rotating-word {
  color: var(--gold);
  font-style: italic;
  display: inline-block;
  min-width: 4ch;
  transition: opacity .24s ease, transform .24s ease;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink2);
  font-weight: 300;
  max-width: 100%;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Page header (interior pages) ───────────────────────────── */
.page-header {
  position: relative;
  padding: 100px var(--pad) 80px;
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1a2a40, #06101e);
  opacity: .4;
}

/* Replace above with a real photo for each page:
   .page-header-bg { background-image: url('your-photo.jpg'); background-size: cover; opacity: .4; } */

.page-header-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.page-header h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 24px;
}

.page-header p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink2);
  font-weight: 300;
  max-width: 600px;
}

/* ── Section wrapper ─────────────────────────────────────────── */
.section {
  padding: 80px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.section-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink2);
  font-weight: 300;
  max-width: 620px;
}

.section-body + .section-body { margin-top: 20px; }

/* ── Campaign bar ────────────────────────────────────────────── */
.campaign-band {
  background: var(--paper);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 64px var(--pad);
}

.campaign-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: center;
}

.campaign-inner h2 {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.campaign-inner h2 em {
  font-style: normal;
  color: var(--gold);
}

.campaign-inner p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink2);
  font-weight: 300;
  margin-bottom: 28px;
}

.progress-bar {
  background: var(--hair);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  background: var(--gold);
  height: 100%;
  border-radius: 3px;
}

.progress-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
}

.campaign-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stat-value {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ── Quotes / Stories ────────────────────────────────────────── */
.feature-quote {
  border-left: 2px solid var(--gold);
  padding-left: 32px;
  margin-bottom: 64px;
}

.feature-quote blockquote {
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 16px;
}

.quote-attr {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}

.pullquotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.pullquote {
  border-top: 1px solid var(--hair);
  padding-top: 28px;
}

.pullquote p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink2);
  font-style: italic;
  margin-bottom: 12px;
}

/* ── Officers ────────────────────────────────────────────────── */
.officers-list { border-top: 1px solid var(--hair); margin-top: 40px; }

.officer-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--hair);
}

.officer-name { font-size: 17px; font-weight: 500; color: var(--ink); }
.officer-role { font-size: 12px; color: var(--muted);
                letter-spacing: .1em; text-transform: uppercase; }

/* ── Sponsors ────────────────────────────────────────────────── */
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.sponsor-chip {
  padding: 8px 18px;
  border: 1px solid var(--hair);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .06em;
}

/* ── Giving levels ───────────────────────────────────────────── */
.giving-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  margin-top: 40px;
}

.giving-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 28px;
}

.giving-amount {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.giving-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.giving-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── FAQ (CSS-only accordion via <details>) ─────────────────── */
.faq-list { margin-top: 40px; }

.faq-list details { border-top: 1px solid var(--hair); }
.faq-list details:last-child { border-bottom: 1px solid var(--hair); }

.faq-list summary {
  padding: 22px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 40px 24px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink2);
}

/* ── Events ──────────────────────────────────────────────────── */
.events-list { margin-top: 40px; }

.event-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--hair);
  align-items: baseline;
}
.event-row:last-child { border-bottom: 1px solid var(--hair); }

.event-date {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  white-space: nowrap;
}

.event-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.event-location {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 40px;
}

.contact-details { list-style: none; margin: 0; padding: 0; }
.contact-details li { padding: 16px 0; border-bottom: 1px solid var(--hair); }
.contact-details li:first-child { border-top: 1px solid var(--hair); }

.contact-label {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 17px;
  color: var(--ink);
}

/* ── Board ───────────────────────────────────────────────────── */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.board-card {
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 14px 24px;
}

.board-name {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 4px;
}

.board-role {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.board-email {
  font-size: 14px;
  color: var(--muted);
}

.board-email:hover { color: var(--ink); }

/* ── Form ────────────────────────────────────────────────────── */
.form-field { margin-bottom: 24px; }

.form-field label {
  display: block;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--hair);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .15s;
  appearance: none;
}

.form-field input:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ── Donate page ─────────────────────────────────────────────── */
.donate-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  margin-top: 40px;
}

.donate-cta-box {
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 40px;
  text-align: center;
}

.donate-cta-box h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 12px;
}

.donate-cta-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ── Mission Section ─────────────────────────────────────────── */
.mission-section {
  background: var(--navy, #0d1b2a);
  color: #fff;
  padding: 40px var(--pad);
}

.mission-inner {
  max-width: var(--max);
}

.mission-section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--gold);
  margin-bottom: 28px;
}

.mission-lead {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 760px;
  margin-bottom: 24px;
  opacity: .85;
}

.mission-section p:not(.mission-lead) {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  opacity: .85;
  max-width: 760px;
  margin-bottom: 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--hair);
  padding: 48px var(--pad);
}

.footer-inner {
  max-width: var(--max);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--display);
  font-size: 15px;
  color: var(--ink2);
  margin-bottom: 8px;
}

.footer-legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--ink); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --pad: 24px; }

  /* Mobile nav: hamburger shows, links collapse */
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-basis: 100%;       /* full row below brand/toggle */
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--hair);
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: none;
  }

  .nav-donate {
    display: block;
    margin-top: 8px;
    text-align: center;
    padding: 12px;
  }

  /* Hero photo hidden on mobile */
  .hero-photo { display: none; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(36px, 10vw, 72px); }

  /* Layout adjustments */
  .campaign-inner  { grid-template-columns: 1fr; gap: 40px; }
  .pullquotes      { grid-template-columns: 1fr; }
  .giving-grid     { grid-template-columns: 1fr 1fr; }
  .contact-grid    { grid-template-columns: 1fr; gap: 48px; }
  .donate-layout   { grid-template-columns: 1fr; }
  .footer-inner    { flex-direction: column; }
}

@media (max-width: 480px) {
  .giving-grid { grid-template-columns: 1fr; }
  .officer-row { flex-direction: column; gap: 4px; }
}
