:root {
  --ink: #18211e;
  --muted: #5b665f;
  --paper: #fffdf6;
  --soft: #eef4e8;
  --mint: #d9ead0;
  --leaf: #22634a;
  --leaf-dark: #153f32;
  --gold: #f4b83f;
  --clay: #bd6142;
  --sky: #d8edf2;
  --line: rgba(24, 33, 30, 0.14);
  --shadow: 0 18px 45px rgba(30, 43, 36, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -4rem;
  z-index: 10;
}

.skip-link:focus {
  background: var(--gold);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  top: 1rem;
}

.site-header {
  background: rgba(255, 253, 246, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0.8rem 1.25rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.brand-mark {
  overflow: hidden;
}

.brand-mark img {
  height: 2.25rem;
  object-fit: contain;
  transform: translateY(0.22rem);
  width: 2.95rem;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-domain {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: none;
  font: inherit;
  font-weight: 800;
  height: 2.4rem;
  min-width: 4.2rem;
  padding: 0 0.7rem;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  justify-content: flex-end;
}

.nav-links a {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.45rem 0.6rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--soft);
  color: var(--leaf-dark);
}

.button,
button.button {
  align-items: center;
  background: var(--leaf);
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  line-height: 1.1;
  min-height: 2.7rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.button:hover {
  background: var(--leaf-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--soft);
}

.hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(15, 31, 25, 0.78), rgba(15, 31, 25, 0.18)),
    url("assets/hero-bee.jpg") center / cover;
  color: #fff;
  display: grid;
  min-height: calc(88vh - 72px);
  padding: 5rem 1.25rem 3rem;
}

.hero-inner,
.section-inner,
.footer-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.hero-inner {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
}

.hero-copy {
  max-width: 760px;
}

.hero-mascot {
  align-self: end;
  justify-self: end;
  max-width: 360px;
  width: 100%;
}

.hero-mascot img {
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
  width: 100%;
}

.eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffdc73;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.9rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.24rem;
}

p {
  margin: 0;
}

.lede {
  color: #f7f3e8;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  margin-top: 1.25rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.section {
  padding: 5rem 1.25rem;
}

.hero + .section {
  padding-top: 3rem;
}

.section.alt {
  background: var(--soft);
}

.section.sky {
  background: var(--sky);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  max-width: 560px;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.merch-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(24, 33, 30, 0.06);
  overflow: hidden;
}

.card-body {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-image,
.product-logo-preview {
  aspect-ratio: 4 / 3;
  background: #f7f8f4;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
  width: 100%;
}

.product-logo-preview {
  align-items: center;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
}

.product-logo-preview img {
  filter: drop-shadow(0 12px 20px rgba(24, 33, 30, 0.18));
  max-height: 100%;
  object-fit: contain;
}

.card p,
.feature p,
.split p,
.resource-list p,
.timeline p {
  color: var(--muted);
}

.feature {
  align-items: start;
  display: grid;
  gap: 0.85rem;
}

.icon {
  align-items: center;
  background: var(--mint);
  border: 1px solid rgba(34, 99, 74, 0.22);
  border-radius: 50%;
  display: inline-flex;
  font-size: 1.3rem;
  height: 2.7rem;
  justify-content: center;
  width: 2.7rem;
}

.band {
  background: var(--leaf-dark);
  color: #fff;
}

.band p {
  color: #d9e5dd;
}

.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.page-hero {
  background: var(--leaf-dark);
  color: #fff;
  overflow: hidden;
  padding: 5.5rem 1.25rem 4rem;
  position: relative;
}

.page-hero::after {
  background: url("assets/logo-face-mark.png") center / contain no-repeat;
  bottom: -2.5rem;
  content: "";
  height: min(18rem, 38vw);
  opacity: 0.15;
  pointer-events: none;
  position: absolute;
  right: max(1rem, calc((100vw - 1180px) / 2));
  width: min(24rem, 42vw);
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
}

.page-hero.with-image {
  background:
    linear-gradient(90deg, rgba(15, 31, 25, 0.85), rgba(15, 31, 25, 0.24)),
    url("assets/hive-boxes.jpg") center / cover;
}

.page-hero.varroa-image {
  background:
    linear-gradient(90deg, rgba(15, 31, 25, 0.82), rgba(15, 31, 25, 0.24)),
    url("assets/varroa-bee.jpg") center / cover;
}

.page-hero p {
  color: #f3f1e9;
  font-size: 1.16rem;
  margin-top: 1rem;
  max-width: 760px;
}

.split {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
}

.list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.list li {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
  padding: 0.85rem 1rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  border-left: 3px solid var(--gold);
  display: grid;
  gap: 0.35rem;
  padding-left: 1rem;
}

.filter-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.filter-bar label {
  font-weight: 800;
}

select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  min-height: 2.6rem;
  min-width: 13rem;
  padding: 0.5rem 0.75rem;
}

.plant-results {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plant-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.plant-meta {
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  background: var(--soft);
  border-radius: 999px;
  color: var(--leaf-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
}

.resource-list {
  display: grid;
  gap: 1rem;
}

.resource-list a {
  color: var(--leaf);
  font-weight: 800;
}

.cta {
  background: var(--leaf-dark);
  color: #fff;
  padding: 4rem 1.25rem;
}

.cta .section-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.cta p {
  color: #d9e5dd;
  max-width: 660px;
}

.site-footer {
  background: #111916;
  color: #e9eee9;
  padding: 3rem 1.25rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.footer-inner p,
.footer-inner a {
  color: #b8c6bd;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 920px) {
  .nav {
    align-items: start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

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

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

  .grid.three,
  .grid.two,
  .merch-grid,
  .stats,
  .split,
  .plant-results,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-mascot {
    display: none;
  }

  .section-head,
  .cta .section-inner {
    align-items: start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 78vh;
    padding-top: 5rem;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  h1 {
    font-size: 3rem;
  }

  .brand-domain {
    display: none;
  }

  .page-hero::after {
    opacity: 0.1;
    width: 12rem;
  }
}
