/* Hornet Defense League: light, bee-inspired palette.
   Honey and amber on warm cream, with black as the accent.
   Change colors here and they update across the whole site. */
:root {
  --amber: #f5b301;
  --amber-dark: #c98f00;
  --honey: #ffd95a;
  --amber-light: #fff1c2;
  --cream: #fffaf0;
  --black: #16130e;
  --charcoal: #2a251d;
  --text: #221e17;
  --muted: #5a5246;
  --link: #7a4f00;
  --line: #ecdcae;
  --radius: 12px;
  --maxw: 1100px;
  /* Black and amber bee stripe used as a divider */
  --stripe: repeating-linear-gradient(90deg, var(--black) 0 22px, var(--amber) 22px 44px);
  /* Honeycomb outline pattern */
  --honeycomb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23e9a800' stroke-opacity='.32' stroke-width='2'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23e9a800' stroke-opacity='.32' stroke-width='2'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

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

a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; color: var(--black); }
h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); margin: 0 0 1.25rem; }
h2::after {
  content: ""; display: block; width: 64px; height: 5px; margin-top: .6rem;
  background: repeating-linear-gradient(90deg, var(--amber) 0 16px, var(--black) 16px 24px);
  border-radius: 3px;
}
.center h2::after { margin-left: auto; margin-right: auto; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 .4rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--muted); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--black); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--amber);
  box-shadow: 0 2px 10px rgba(22,19,14,.12);
}
.site-header::after { content: ""; display: block; height: 6px; background: var(--stripe); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--black); text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 44px; height: auto; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .9rem; }
.site-header nav a { color: var(--black); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .3rem 0; }
.site-header nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.site-header nav .nav-donate { background: var(--black); color: #fff; padding: .3rem .8rem; border-radius: 999px; }
.site-header nav .nav-donate:hover { background: var(--charcoal); color: var(--honey); text-decoration: none; }

@media (max-width: 860px) {
  .site-header { position: static; }
  .header-inner { justify-content: center; }
  .site-header nav ul { justify-content: center; }
}

/* Buttons */
.btn {
  display: inline-block; padding: .75rem 1.3rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform .1s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--black); border-color: var(--black); }
.btn-primary:hover { background: var(--honey); color: var(--black); }
.btn-ghost, .btn-ghost-dark { color: var(--black); border-color: var(--black); background: transparent; }
.btn-ghost:hover, .btn-ghost-dark:hover { background: var(--black); color: #fff; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--charcoal); color: var(--honey); }
.btn-lg { font-size: 1.15rem; padding: 1rem 2rem; }

/* Hero */
.hero {
  background: var(--honeycomb), linear-gradient(180deg, var(--honey) 0%, var(--amber-light) 100%);
  color: var(--text); padding: 3.5rem 0;
}
.hero-inner { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: 2.5rem; align-items: center; }
.hero h1 { color: var(--black); font-size: clamp(2rem, 5vw, 3.1rem); margin: .3rem 0 1rem; }
.hero .lead { font-size: 1.2rem; max-width: 36em; }
.eyebrow { color: var(--black); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .85rem; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (max-width: 760px) {
  .hero { padding: 2.5rem 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hero-logo { max-width: 200px; margin: 0 auto; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* Sections */
.section { padding: 4rem 0; }
@media (max-width: 760px) { .section { padding: 3rem 0; } }
.section-honey { background: var(--amber-light); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tint { background: var(--amber-light); }
.section-comb { background: var(--honeycomb), var(--cream); }
.section-amber { background: var(--amber); }
.section-amber h2::after { background: var(--black); }
sup a { text-decoration: none; font-weight: 700; }

.mission {
  background: #fff; border-left: 6px solid var(--amber); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; box-shadow: 0 6px 24px rgba(0,0,0,.06);
  font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem;
}
.mission p:first-child { margin-top: 0; }
.mission p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.split h3:first-of-type { margin-top: 1.25rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.photo { margin: 0; }
.photo img { border-radius: var(--radius); border: 4px solid var(--amber); }
.photo figcaption { font-size: .9rem; margin-top: .5rem; color: var(--muted); }
.photo-wide { max-width: 420px; margin: 2.5rem auto; }
.photo-wide figcaption { text-align: center; }
.photo-mission { max-width: 560px; margin: 2rem auto 0; }
.photo-mission figcaption { text-align: center; }

/* South Carolina numbers */
.stats-block { margin-top: 2.5rem; }
.stats-block h3 { margin-top: 0; }
.stats { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--black); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.stat-number { display: block; font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--black); }
.stat-label { display: block; margin-top: .3rem; color: var(--text); }
.stats-note { margin-bottom: 0; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* Hawking photos */
.gallery-block { margin-top: 2.5rem; }
.gallery-block h3 { margin-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }
.gallery .photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.callout {
  margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: #fff; border: 2px solid var(--amber);
}
.callout h3 { margin-top: 0; }
.callout p { margin-bottom: 0; }

/* ID cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.card { background: #fff; border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--line); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card-target { background: var(--honey); color: var(--text); border: 3px solid var(--black); }
.card-target ul { padding-left: 1.1rem; margin: 0; }
.tag { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: var(--amber-light); color: var(--muted); padding: .1rem .45rem; border-radius: 999px; vertical-align: middle; }
.source-note { font-size: .9rem; color: var(--muted); }

.report { background: var(--amber-light); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin: 2rem 0; border: 2px dashed var(--amber-dark); scroll-margin-top: 90px; }
.report h3 { margin-top: 0; }
.report-links { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; }
.report-links li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.report-links span { color: var(--muted); font-size: .95rem; }

.tips { padding-left: 1.2rem; }
.tips li { margin-bottom: .6rem; }

/* Get involved */
.involve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.involve .card { border-top: 6px solid var(--amber); display: flex; flex-direction: column; }
.involve .card .btn { align-self: flex-start; margin-top: auto; }
.involve .card p:last-of-type { margin-bottom: 1.1rem; }
.big-fact { font-size: 1.15rem; font-weight: 700; color: var(--black); }
@media (max-width: 860px) { .involve { grid-template-columns: 1fr; } }

.sources li { margin-bottom: .5rem; scroll-margin-top: 90px; }
.sources li:target { background: #fff; outline: 2px solid var(--amber); border-radius: 4px; }

.contact-email { font-size: clamp(1.15rem, 3.5vw, 1.5rem); font-weight: 700; word-break: break-word; }

.section-amber .small { color: var(--black); opacity: .85; }

/* Footer */
.site-footer { background: var(--amber-light); color: var(--text); padding: 0 0 2rem; text-align: center; }
.site-footer::before { content: ""; display: block; height: 8px; background: var(--stripe); margin-bottom: 2rem; }
.site-footer a { color: var(--link); }
.site-footer p { margin: .3rem 0; }
.site-footer .small { color: var(--muted); }
