/* ============================================================
   Birdies Fore Logan — Website stylesheet
   Real, hostable static site. Reuses the brand tokens.
   ============================================================ */
@import url('styles.css');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--surface-page);
  line-height: var(--lh-relaxed);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--text-link); }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 52px 0; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.auto-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); line-height: var(--lh-snug); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
p.lead { font-size: 1.19rem; line-height: 1.6; }
.muted { color: var(--text-muted); }
.eyebrow {
  font-family: var(--font-mono); font-weight: 700; font-size: var(--text-eyebrow);
  letter-spacing: var(--ls-stamp); text-transform: uppercase; color: var(--text-brand);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow.red { color: var(--gold-500); }
.eyebrow.on-brand { color: var(--green-200); }
.eyebrow.rule::before, .eyebrow.rule::after { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .5; border-radius: 2px; }
.years { font-family: var(--font-mono); font-weight: 700; letter-spacing: .14em; color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 12px 22px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 16px 30px; font-size: 1.06rem; }
.btn-sm { padding: 8px 16px; font-size: .82rem; }
.btn-xs { padding: 6px 13px; font-size: .78rem; }
.btn-primary { background: var(--green-600); color: var(--sand-50); border-color: var(--green-600); box-shadow: var(--shadow-brand); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: transparent; color: var(--green-700); border-color: var(--green-600); }
.btn-secondary:hover { background: var(--green-100); }
.btn-flag { background: var(--gold-500); color: var(--green-900); border-color: var(--gold-500); box-shadow: 0 8px 20px rgba(200,162,74,.30); }
.btn-flag:hover { filter: brightness(1.06); }
.btn-gold { background: var(--gold-500); color: var(--green-900); border-color: var(--gold-500); box-shadow: 0 8px 20px rgba(200,162,74,.30); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--green-700); }
.btn-ghost:hover { background: var(--green-100); }
.on-dark .btn-secondary { color: var(--sand-50); border-color: var(--green-300); }
.on-dark .btn-secondary:hover { background: rgba(255,255,255,.08); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-weight: 700;
  font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); line-height: 1;
}
.badge-green { background: var(--green-600); color: var(--sand-50); }
.badge-gold { background: var(--gold-500); color: var(--green-900); }
.badge-gold-soft { background: var(--gold-300); color: var(--green-800); }
.badge-sand { background: var(--sand-200); color: var(--sand-700); }
.badge-red { background: var(--gold-500); color: var(--green-900); }

/* ---------- Cards ---------- */
.card { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); }
.card-cream { background: var(--sand-100); border-color: var(--sand-300); }
.card-brand { background: var(--green-600); color: var(--sand-50); border-color: var(--green-700); box-shadow: var(--shadow-brand); }
.card-hover { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Divider (tee) ---------- */
.divider { border: none; height: 1.5px; background: var(--border-hairline); margin: 0; }
.tee { display: flex; align-items: center; gap: 12px; color: var(--green-300); }
.tee::before, .tee::after { content: ""; flex: 1; height: 1.5px; background: currentColor; }
.tee .ball { width: 9px; height: 9px; border-radius: 50%; background: var(--green-600); flex: none; }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; background:
    repeating-linear-gradient(45deg, var(--sand-200), var(--sand-200) 12px, var(--sand-100) 12px, var(--sand-100) 24px);
  border: 1.5px dashed var(--sand-500); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--sand-700); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  min-height: 180px; overflow: hidden;
}
.ph span { max-width: 80%; opacity: .85; }
.ph.ratio-16-9 { aspect-ratio: 16 / 9; }
.ph.ratio-4-3 { aspect-ratio: 4 / 3; }
.ph.ratio-1-1 { aspect-ratio: 1 / 1; }
.ph.round { border-radius: 50%; }
.ph.on-dark { background: repeating-linear-gradient(45deg, rgba(255,255,255,.06), rgba(255,255,255,.06) 12px, rgba(255,255,255,.02) 12px, rgba(255,255,255,.02) 24px); border-color: var(--green-400); color: var(--green-200); }

/* ---------- Stats ---------- */
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; letter-spacing: -.02em; color: var(--green-600); }
.stat .lbl { font-family: var(--font-mono); font-weight: 700; font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }
.stat.red .num { color: var(--gold-500); }
.on-dark .stat .num { color: var(--sand-50); }
.on-dark .stat .lbl { color: var(--green-200); }

/* ---------- Donation meter ---------- */
.meter-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.meter-raised { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--text-brand); }
.meter-goal { font-family: var(--font-mono); font-size: .8rem; color: var(--text-muted); }
.meter-track { position: relative; height: 14px; background: var(--sand-300); border-radius: var(--radius-pill); overflow: hidden; }
.meter-fill { position: absolute; inset: 0; width: 0; background: var(--green-500); border-radius: var(--radius-pill); transition: width 1s var(--ease-out); }

/* ---------- Campaign card ---------- */
.campaign { display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; }
.campaign .ribbon { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; font-family: var(--font-mono); font-weight: 700; font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; }
.ribbon-memory { background: var(--sand-200); color: var(--sand-700); }
.ribbon-honor { background: var(--gold-300); color: var(--green-800); }
.ribbon-survivor { background: var(--green-100); color: var(--green-700); }
.campaign .founder-chip { font-size: .62rem; letter-spacing: .1em; color: var(--green-700); background: #fff; padding: 3px 8px; border-radius: var(--radius-pill); }
.campaign .body { padding: var(--space-5); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.campaign .who { display: flex; align-items: center; gap: 14px; }
.campaign .avatar { flex: none; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: var(--green-600); display: flex; align-items: center; justify-content: center; border: 2px solid var(--green-200); color: var(--sand-50); font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.campaign .avatar img { width: 100%; height: 100%; object-fit: cover; }
.campaign .name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.1; }
.campaign .story { margin: 0; font-size: .94rem; line-height: 1.6; color: var(--text-muted); }
.campaign .foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklch, var(--sand-50) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-hairline); }
.site-header .bar { display: flex; align-items: center; gap: 22px; padding: 12px 24px; max-width: var(--container-max); margin: 0 auto; }
.brand-lock { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-lock .brand-mark { height: 38px; display: block; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-wm { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1; text-transform: uppercase; color: var(--green-700); letter-spacing: .005em; white-space: nowrap; }
.brand-wm .fore { color: var(--gold-500); }
.brand-tag { font-family: var(--font-mono); font-weight: 700; font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--green-700); white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--text-muted); text-decoration: none; padding: 7px 10px; border-radius: var(--radius-sm); white-space: nowrap; }
.nav a:hover { color: var(--green-700); background: var(--green-100); }
.nav a.active { color: var(--green-700); }
.header-social { display: flex; gap: 6px; align-items: center; }
.header-social a { color: var(--green-600); display: inline-flex; padding: 6px; border-radius: var(--radius-sm); }
.header-social a:hover { background: var(--green-100); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-cta { margin-left: 4px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--border-hairline); border-radius: var(--radius-sm); padding: 8px 10px; cursor: pointer; color: var(--green-700); }

/* ---------- Hero ---------- */
.hero { background: var(--green-800); color: var(--sand-50); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 80% -10%, rgba(46,139,90,.5), transparent 60%); }
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 84px 24px 92px; }
.hero h1 .accent { color: var(--gold-300); }
.hero p { color: var(--green-100); }

/* ---------- Page banner (interior pages) ---------- */
.banner { background: var(--green-800); color: var(--sand-50); position: relative; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 85% -20%, rgba(46,139,90,.45), transparent 60%); }
.banner .inner { position: relative; padding: 66px 24px; text-align: center; max-width: var(--container-narrow); margin: 0 auto; }
.banner p { color: var(--green-100); }

/* ---------- Impact strip ---------- */
.impact { background: var(--sand-100); border-top: 1px solid var(--sand-300); border-bottom: 1px solid var(--sand-300); }
.impact .row { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-around; padding: 40px 24px; }

/* ---------- Sponsor tiers ---------- */
.tier { text-align: center; }
.tier .amt { font-family: var(--font-mono); font-weight: 700; color: var(--text-muted); letter-spacing: .08em; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.logo-slot { aspect-ratio: 3 / 2; }

/* ---------- Steps ---------- */
.step .n { font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--gold-500); }

/* ---------- Event rows ---------- */
.event-row { display: flex; gap: 16px; align-items: center; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.event-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.event-row .info { flex: 1; min-width: 0; }
.event-row .t { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.event-row .meta { font-size: .9rem; color: var(--text-muted); margin-top: 3px; }
.date-chip { flex: none; width: 64px; height: 64px; border-radius: var(--radius-md); background: var(--green-600); color: var(--sand-50); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-chip .m { font-family: var(--font-mono); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-200); }
.date-chip .d { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1; }

/* ---------- Video cards ---------- */
.video-card .video-thumb { position: relative; cursor: pointer; margin-bottom: 12px; }
.video-card .video-thumb .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(251,249,244,.92); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow-md); transition: transform var(--dur-fast) var(--ease-out); }
.video-card:hover .video-thumb .play { transform: translate(-50%,-50%) scale(1.08); }
.video-card .video-thumb iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-lg); display: block; }

/* ---------- Utility ---------- */
.hide-sm { }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: var(--green-200); padding: 56px 0 30px; }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.site-footer .about { flex: 1 1 280px; }
.site-footer .about img { height: 72px; }
.footer-lock { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 4px; }
.footer-lock .brand-mark { height: 46px; }
.brand-wm.foot { color: #fff; font-size: 20px; }
.brand-tag.foot { color: var(--gold-300); }
.site-footer .about p { margin-top: 16px; max-width: 340px; font-size: 14px; line-height: 1.6; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--green-100); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { color: var(--green-100); display: inline-flex; padding: 8px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); }
.footer-social a:hover { color: #fff; border-color: var(--green-300); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--green-300); }

/* ---------- Donate modal ---------- */
.modal-scrim { position: fixed; inset: 0; z-index: 100; background: rgba(12,46,29,.55); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-scrim.open { display: flex; }
.modal { background: var(--surface-card); border-radius: var(--radius-xl); width: 100%; max-width: 460px; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal .head { background: var(--green-700); color: var(--sand-50); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.modal .head .t { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.modal .head img { height: 34px; }
.modal .close { background: none; border: none; color: var(--green-200); font-size: 24px; cursor: pointer; line-height: 1; }
.modal .body { padding: 24px; }
.amount-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.amount { padding: 16px; border-radius: var(--radius-md); cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 20px; border: 1.5px solid var(--border-hairline); background: var(--surface-card); color: var(--text-body); }
.amount.sel { border-color: var(--green-600); background: var(--green-100); color: var(--green-700); }
.donate-links { display: flex; flex-direction: column; gap: 10px; }
.mono-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: .69rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 1rem; color: var(--text-body); background: var(--surface-card); border: 1.5px solid var(--border-hairline); border-radius: var(--radius-md); padding: 11px 14px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px var(--focus-ring); }

/* ---------- FAQ / prose ---------- */
.prose p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-700); }
.callout { background: var(--green-100); border-left: 4px solid var(--green-500); border-radius: var(--radius-md); padding: 18px 22px; }
.fact-card { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); padding: var(--space-5); }
.fact-card .big { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--green-600); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-social { display: none; }
}
@media (max-width: 1040px) {
  .brand-tag { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .bar { gap: 12px; }
  .header-actions { margin-left: auto; }
  .site-header.menu-open .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--sand-50); border-bottom: 1px solid var(--border-hairline); padding: 8px 16px 16px; gap: 2px; }
  .site-header.menu-open .nav a { padding: 12px; font-size: 15px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 60px 24px 64px; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  /* keep the logo + wordmark visible and legible on phones */
  .brand-text { display: flex; }
  .brand-wm { font-size: 15px; }
  .brand-mark { height: 30px; }
  .site-header .bar { gap: 10px; padding: 10px 14px; }
  .impact .row { gap: 28px 32px; }
  .hide-sm { display: none; }
}
@media (max-width: 380px) {
  /* very small screens: trim wordmark a touch more so nothing overflows */
  .brand-wm { font-size: 13.5px; }
  .brand-mark { height: 28px; }
}
