/* ==========================================================================
   R&R Discovery — main stylesheet
   Edit the variables in :root to change the site's colors and fonts.
   ========================================================================== */

:root {
  --color-primary: #1f5c5a;        /* deep teal */
  --color-primary-dark: #154341;
  --color-accent: #e0953a;         /* warm amber */
  --color-accent-dark: #c27a22;
  --color-bg: #fbf8f3;             /* warm cream */
  --color-surface: #ffffff;
  --color-surface-alt: #f1ebe1;
  --color-text: #2a2a2a;
  --color-text-muted: #5f5f5f;
  --color-border: #e3dccf;

  --font-heading: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --shadow: 0 6px 24px rgba(31, 92, 90, 0.08);
  --max-width: 1120px;
  --gutter: 20px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-primary-dark);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--color-primary); }
a:hover { color: var(--color-accent-dark); }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--color-accent); color: #1d1d1d; }
.btn-primary:hover { background: var(--color-accent-dark); color: #fff; }

.btn-outline { border-color: currentColor; color: var(--color-primary); background: transparent; }
.btn-outline:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.btn-light { border-color: #fff; color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--color-primary-dark); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: -0.5px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--color-primary-dark);
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 8px 11px;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--color-surface-alt); color: var(--color-primary-dark); }
.site-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 600; }
.site-nav .btn { margin-left: 8px; padding: 0.55em 1.3em; }
.site-nav .btn:hover { background: var(--color-accent-dark); color: #fff; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 20px;
  }
  .site-nav a { padding: 12px 8px; }
  .site-nav .btn { margin: 8px 0 0; text-align: center; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(64px, 10vw, 120px) 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(224, 149, 58, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(31, 92, 90, 0.12), transparent 50%);
}
.hero-inner { max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 12px;
}
.hero .lead { font-size: 1.2rem; color: var(--color-text-muted); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Smaller hero for inner pages */
.page-hero {
  padding: clamp(48px, 8vw, 88px) 0 clamp(32px, 5vw, 56px);
  background: var(--color-surface-alt);
}
.page-hero p { max-width: 640px; color: var(--color-text-muted); font-size: 1.15rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--color-surface-alt); }
.section-header { max-width: 640px; margin-bottom: 40px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { color: var(--color-text-muted); }

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 4px; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(31, 92, 90, 0.1);
  color: var(--color-primary);
  margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; }

/* Two-column text + visual block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.placeholder-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(31, 92, 90, 0.85), rgba(224, 149, 58, 0.75));
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: center;
  padding: 20px;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}
.stat-label { color: var(--color-text-muted); margin-top: 8px; }

/* ---------- Quote ---------- */
.quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  line-height: 1.45;
  color: var(--color-primary-dark);
  margin: 0 0 16px;
}
.quote cite { font-style: normal; color: var(--color-text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 8vw, 88px) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 580px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Team ---------- */
.team-member { text-align: center; }
.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--color-surface-alt);
  border: 3px solid var(--color-border);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
}
.team-role { color: var(--color-accent-dark); font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-surface);
  border: 2px solid var(--color-accent);
}

/* ---------- Donation tiers ---------- */
.tier { text-align: center; }
.tier-amount {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--color-primary);
}
.tier.featured { border: 2px solid var(--color-accent); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 92, 90, 0.15);
}
.form textarea { min-height: 140px; resize: vertical; }

.form-status {
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(31, 92, 90, 0.1);
  color: var(--color-primary-dark);
  display: none;
}
.form-status.is-visible { display: block; }

.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-details li { margin-bottom: 20px; }
.contact-details strong { display: block; color: var(--color-primary-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 28px;
  font-size: 0.95rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: 12px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 32px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .logo-mark { background: var(--color-accent); color: #1d1d1d; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Additional components
   ========================================================================== */

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--color-primary-dark);
  color: #fff;
  font-size: 0.92rem;
  padding: 9px 0;
}
.announcement .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 14px;
  text-align: center;
}
.announcement a { color: #f6c27e; font-weight: 600; text-decoration: none; white-space: nowrap; }
.announcement a:hover { color: #fff; text-decoration: underline; }

/* ---------- Layout helpers ---------- */
.narrow { max-width: 780px; }
.section-tight { padding: 40px 0; }
.split-top { align-items: start; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.muted { color: var(--color-text-muted); }
.center-text { text-align: center; }
.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 32px;
}
.section-header-row h2 { margin-bottom: 0; }
.check-list.two-col { columns: 2; column-gap: 24px; }
.check-list.two-col li { break-inside: avoid; }
@media (max-width: 480px) { .check-list.two-col { columns: 1; } }

.tag {
  display: inline-block;
  background: rgba(224, 149, 58, 0.16);
  color: var(--color-accent-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---------- Quick facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fact {
  padding: 22px 24px;
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fact:last-child { border-right: 0; }
@media (max-width: 860px) { .fact { border-right: 0; border-bottom: 1px solid var(--color-border); } .fact:last-child { border-bottom: 0; } }
.fact-label { font-size: 0.85rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.fact-value { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 600; color: var(--color-primary-dark); }

/* ---------- Numbered steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 22px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.steps strong { color: var(--color-primary-dark); }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
  border-left: 2px solid var(--color-border);
}
.timeline li {
  position: relative;
  padding: 0 0 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-surface-alt);
}
.timeline-date { font-weight: 600; color: var(--color-primary-dark); min-width: 110px; }
.timeline-text { color: var(--color-text); }

/* ---------- Forms (extras) ---------- */
.checkbox-group { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.checkbox-group legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.form .checkbox-group label,
.form .checkbox-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  margin: 0;
}
.form input[type="checkbox"] { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; accent-color: var(--color-primary); }

/* ---------- Donation breakdown (single-series bar list) ---------- */
.breakdown-title { margin-bottom: 20px; }
.breakdown { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.breakdown-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 0.98rem; }
.breakdown-row strong { color: var(--color-text); font-variant-numeric: tabular-nums; }
.breakdown-track { height: 12px; border-radius: 4px; background: var(--color-surface-alt); }
.breakdown-bar { height: 100%; min-width: 8px; border-radius: 4px; background: var(--color-primary); }

/* ---------- Stories ---------- */
.story-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.story-head h3 { margin: 0; font-size: 1.1rem; }
.story-head .team-role { margin: 2px 0 0; font-size: 0.88rem; }
.avatar-sm { width: 56px; height: 56px; font-size: 1.2rem; margin: 0; border-width: 2px; flex-shrink: 0; }
.story blockquote { margin: 0; color: var(--color-text); font-style: italic; }

/* ---------- News & events ---------- */
.news-card { display: flex; flex-direction: column; }
.news-card p { flex-grow: 1; }
.news-card a { font-weight: 600; text-decoration: none; }
.news-date { font-size: 0.85rem; font-weight: 600; color: var(--color-accent-dark); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }

.event-list { display: grid; gap: 18px; }
.event {
  display: flex;
  gap: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.event-date {
  flex-shrink: 0;
  width: 76px;
  height: 84px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.event-month { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; font-weight: 600; opacity: 0.85; }
.event-day { font-family: var(--font-heading); font-size: 2rem; font-weight: 600; line-height: 1; }
.event-body h3 { margin-bottom: 2px; }
.event-meta { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 8px; }
.event-body p:last-of-type { margin-bottom: 8px; }
.event-body a { font-weight: 600; text-decoration: none; }
@media (max-width: 560px) { .event { flex-direction: column; gap: 14px; } .event-date { flex-direction: row; gap: 8px; width: auto; height: auto; padding: 8px 14px; align-self: flex-start; } .event-day { font-size: 1.3rem; } }

/* ---------- FAQ accordion ---------- */
.faq-group-title { margin-top: 48px; font-size: 1.6rem; }
.faq-group-title:first-child { margin-top: 0; }
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-weight: 600;
  position: relative;
  color: var(--color-primary-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-accent-dark);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--color-text-muted); }

/* ---------- Long-form text (privacy policy) ---------- */
.prose h2 { font-size: 1.5rem; margin-top: 36px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- 404 ---------- */
.not-found { padding: clamp(80px, 14vw, 160px) 0; }
.not-found-code { font-family: var(--font-heading); font-size: clamp(5rem, 16vw, 8rem); font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: 8px; }

/* ---------- Footer: newsletter + social ---------- */
.newsletter { margin: 20px 0; max-width: 380px; }
.newsletter label { display: block; color: #fff; font-weight: 600; margin-bottom: 8px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter .btn { padding: 0.6em 1.2em; }
.newsletter .form-status { margin-top: 10px; background: rgba(255, 255, 255, 0.12); color: #fff; }

.social { display: flex; gap: 10px; }
.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
}
.social a:hover { background: var(--color-accent); color: #1d1d1d; text-decoration: none; }
.social svg { width: 18px; height: 18px; }

/* ---------- Program pills & card links ---------- */
.pill-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.pill-nav a:hover { border-color: var(--color-primary); }
.card-link { display: inline-block; margin-top: 4px; font-weight: 600; text-decoration: none; }
#education, #science, #culture { scroll-margin-top: 90px; }
.card:has(> .card-link) { display: flex; flex-direction: column; align-items: flex-start; }
.card:has(> .card-link) .card-link { margin-top: auto; padding-top: 8px; }

/* ---------- Coming soon placeholder ---------- */
.coming-soon {
  text-align: center;
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 48px);
}
.coming-soon p { color: var(--color-text-muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.badge {
  display: inline-block;
  background: rgba(224, 149, 58, 0.16);
  color: var(--color-accent-dark);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.notify-form { max-width: 480px; margin: 28px auto 0; }
.notify-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.notify-row:hover { border-color: #cfc5b4; }
.notify-row:focus-within {
  background: var(--color-surface);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(31, 92, 90, 0.12);
}
.notify-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f5f5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E") no-repeat 16px center / 18px;
  padding: 12px 12px 12px 44px;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
}
.notify-row input::placeholder { color: #8a8a8a; }
.notify-row .btn { flex-shrink: 0; padding: 0.75em 1.5em; }
@media (max-width: 480px) {
  .notify-row { flex-direction: column; align-items: stretch; border-radius: 16px; }
  .notify-row .btn { width: 100%; }
}
.notify-form .form-status { margin-top: 12px; }
.note {
  margin-top: 20px;
  padding: 12px 16px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Logo name with "A Family Foundation" subtitle */
.logo-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.15rem; }
.logo-text small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-top: 3px;
}
.site-footer .logo-text small { color: #f6c27e; }
