/* BeeSpace — Long Beach pollinator habitat (forest / editorial) */
:root {
  --ink: #1f3524;
  --ink-muted: #3d5c45;
  --forest: #2f6a3a;
  --forest-deep: #234f2d;
  --sage: #adbca4;
  --sage-light: #edf6ea;
  --paper: #fffaf4;
  --paper-warm: #f5e6d7;
  --white: #ffffff;
  --accent: #adbca4;
  --accent-hover: #3f7035;
  --gold: #b9d98c;
  --shadow: 0 16px 48px rgba(35, 79, 45, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1080px;
}

*,
*::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(--ink);
  background: var(--paper);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--forest-deep);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--forest);
}

/* Header */
.site-header {
  background: #adbca4;
  color: var(--white);
  padding: 1.25rem 1.5rem 2.25rem;
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 100% 0%, rgba(185, 217, 140, 0.2), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(255, 255, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo span {
  color: var(--gold);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.logo-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  padding: 0.18rem;
  background: #c3b091;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font: inherit;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  line-height: 1.18;
  margin: 0 0 1rem;
  max-width: 20ch;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--gold);
}

.hero-subbar {
  display: inline-block;
  max-width: 100%;
  background: rgba(79, 138, 66, 0.22);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(185, 217, 140, 0.62);
  line-height: 1.35;
}

.hero-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.08rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
}

.hero-video-btn {
  margin-top: 1rem;
  background: rgba(35, 79, 45, 0.8);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero-video-btn:hover {
  background: rgba(35, 79, 45, 1);
}

.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.video-modal-dialog {
  position: relative;
  max-width: 900px;
  margin: 5vh auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  width: min(92vw, 900px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.app-modal-dialog {
  max-width: 1100px;
  width: min(94vw, 1100px);
}

.video-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.9rem;
  background: #f2f9ef;
  border-bottom: 1px solid #d3e5c9;
}

.video-modal-header h2 {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
}

.video-close-btn {
  font-size: 1.6rem;
  line-height: 1;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.video-modal-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.app-modal-frame iframe {
  aspect-ratio: 16 / 10;
  min-height: 70vh;
}

.app-modal-note {
  margin: 0;
  padding: 0.7rem 0.9rem 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  border-top: 1px solid #d3e5c9;
  background: #f8fbf6;
}

/* Main */
main {
  padding: 0 1.5rem 3rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--forest-deep);
  margin: 0 0 1.2rem;
  letter-spacing: -0.02em;
}

.subsection-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--forest-deep);
  margin: 1.75rem 0 0.75rem;
}

/* Visual */
.visual-section {
  margin-top: -1.5rem;
  padding-top: 0;
}

.visual-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--paper-warm);
}

.visual-hero-frame {
  background: linear-gradient(180deg, var(--sage-light) 0%, var(--white) 50%);
  border-bottom: 1px solid var(--paper-warm);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
}

.compare-item {
  background: var(--white);
  border: 1px solid var(--paper-warm);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.compare-label {
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-weight: 700;
  color: var(--forest-deep);
  border-bottom: 1px solid var(--paper-warm);
  background: var(--paper);
}

.visual-hero {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.visual-card figcaption {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  background: var(--white);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  border: 1px solid var(--paper-warm);
  box-shadow: 0 4px 24px rgba(26, 46, 40, 0.06);
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--forest);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.benefit-heading-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--paper-warm);
}

.benefit-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.benefit-card li {
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.benefit-card li:last-child {
  margin-bottom: 0;
}

.why-bees-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--paper-warm);
  box-shadow: 0 4px 24px rgba(26, 46, 40, 0.06);
}

.why-bees-panel p {
  margin: 0 0 1rem;
}

.why-bees-panel p:last-child {
  margin-bottom: 0;
}

.stat-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.stat {
  background: #f2f9ef;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  border-left: 4px solid #adbca4;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest-deep);
  margin-bottom: 0.25rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--paper-warm);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}

.process-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  color: var(--forest);
}

.process-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.proof-strip {
  margin-top: 1rem;
  background: var(--white);
  border: 1px solid #d3e5c9;
  border-radius: var(--radius);
  padding: 0.9rem 1.15rem;
}

.proof-strip p {
  margin: 0.35rem 0;
}

.volunteer-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--paper-warm);
  box-shadow: 0 4px 24px rgba(26, 46, 40, 0.06);
}

.volunteer-panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.volunteer-panel li {
  margin-bottom: 0.5rem;
}

.onboarding-list {
  margin: 0.65rem 0 1rem;
  padding-left: 1.25rem;
}

.onboarding-list li {
  margin-bottom: 0.45rem;
}

.volunteer-cta {
  margin-top: 0.85rem;
  font-weight: 700;
}

.volunteer-image-card {
  margin: 0 0 1rem;
  border: 1px solid var(--paper-warm);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.volunteer-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.volunteer-image-card figcaption {
  margin: 0;
  padding: 0.65rem 0.8rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--paper-warm);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--paper-warm);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.faq-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 1.02rem;
}

.faq-card p {
  margin: 0;
  color: var(--ink-muted);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--paper-warm);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.resource-card:hover {
  border-color: rgba(74, 107, 84, 0.45);
  box-shadow: 0 8px 28px rgba(26, 46, 40, 0.08);
}

.resource-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--forest);
}

.resource-card p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.resource-card a {
  font-weight: 700;
  text-decoration: none;
}

.resource-card a:hover {
  text-decoration: underline;
}

.mission-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--paper-warm);
}

.mission-panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.mission-panel li {
  margin-bottom: 0.45rem;
}

.community-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.community-list li {
  margin-bottom: 0.5rem;
}

.resource-footer-links {
  margin-top: 1rem;
}

.footer-links {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  margin: 0 0.35rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* CTA panel */
.cta-panel {
  background: linear-gradient(145deg, #adbca4 0%, #6b9578 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 12px 40px rgba(26, 46, 40, 0.2);
}

.cta-panel h2 {
  color: #fff8ef;
  margin-bottom: 1rem;
}

.cta-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.cta-panel li {
  margin-bottom: 0.55rem;
  font-weight: 600;
  color: rgba(255, 248, 239, 0.98);
}

.cta-panel li strong {
  font-family: var(--font-body);
  font-size: 1.02em;
}

.cta-disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 245, 231, 0.9);
  margin: 1.15rem 0 0;
  font-style: italic;
}

.contact-cta-line {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 0 0 0.25rem;
}

.why-bees-edu {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

/* Contact */
.contact-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin-top: 2.5rem;
  border: 1px solid var(--paper-warm);
  box-shadow: var(--shadow);
}

.contact-section > p:first-of-type {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 1.5rem;
    left: 1.5rem;
    flex-direction: column;
    background: #6b9578;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-bar {
    position: relative;
  }

  .nav-links.is-open {
    display: flex;
  }
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li {
  margin-bottom: 0.75rem;
}

.contact-details strong {
  color: var(--forest-deep);
}

/* Form */
.say-yes-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--forest-deep);
}

.say-yes-form input,
.say-yes-form textarea,
.say-yes-form select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--paper-warm);
  border-radius: var(--radius-sm);
  font: inherit;
  margin-bottom: 1rem;
  background: var(--paper);
}

.say-yes-form input:focus-visible,
.say-yes-form textarea:focus-visible,
.say-yes-form select:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  border-color: var(--sage);
}

.say-yes-form button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  cursor: pointer;
  width: 100%;
  margin-top: 0.25rem;
}

.say-yes-form button:hover {
  background: var(--accent-hover);
}

.say-yes-form button:focus-visible {
  outline: 2px solid var(--forest-deep);
  outline-offset: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: #6b9578;
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer p {
  margin: 0.5rem 0;
}

.site-footer .tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  margin-top: 1rem;
}

.site-footer .subtag {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.35rem;
}

.site-footer a {
  color: var(--gold);
}
