 :root {
  --avo-green: #84966f;
  --avo-dark: #232421;
  --avo-ink: #373a36;
  --avo-paper: #fffdf8;
  --avo-cream: #f5f1e8;
  --avo-line: #d9d3c3;
  --avo-muted: #6f7469;
  --avo-accent: #5f714e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--avo-paper);
  color: var(--avo-ink);
  font-family: "Space Mono", "Courier New", monospace;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--avo-line);
  backdrop-filter: blur(10px);
}

.brand img {
  width: 118px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.82rem;
  text-transform: uppercase;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.guide-article {
  padding-bottom: 80px;
}

.hero,
.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 72vh;
  padding: clamp(48px, 8vw, 96px) 0;
}

.hub-hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--avo-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--avo-dark);
  line-height: 1.05;
}

h1 {
  max-width: 780px;
  font-family: "Arial Narrow", "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

.dek {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--avo-muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.meta-row,
.hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.meta-row span,
.hub-stats span,
.chip-list span {
  border: 1px solid var(--avo-line);
  background: var(--avo-cream);
  padding: 8px 10px;
  font-size: 0.78rem;
}

.hub-stats {
  flex-direction: column;
}

.hub-stats span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 82px;
}

.hub-stats strong {
  font-size: 2.4rem;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--avo-line);
}

figcaption {
  margin-top: 10px;
  color: var(--avo-muted);
  font-size: 0.72rem;
}

.answer-box,
.strategy-band,
.yoast-box,
.seo-panel {
  border: 1px solid var(--avo-line);
  background:
    linear-gradient(135deg, rgba(132, 150, 111, 0.12), rgba(255, 253, 248, 0.92)),
    var(--avo-cream);
  padding: clamp(22px, 4vw, 42px);
}

.answer-box p:last-child {
  max-width: 880px;
  margin: 0;
  font-size: clamp(1.18rem, 2.4vw, 1.8rem);
  line-height: 1.45;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(42px, 7vw, 76px) 0;
}

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

.check-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--avo-line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 10px;
  background: var(--avo-green);
  transform: rotate(45deg);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.article-section {
  width: min(880px, 100%);
  padding: clamp(32px, 5vw, 54px) 0;
  border-top: 1px solid var(--avo-line);
}

.article-section p {
  margin: 0;
  color: var(--avo-muted);
  font-size: 1.02rem;
}

.article-section p + p {
  margin-top: 18px;
}

.internal-links,
.faq-section {
  padding: clamp(34px, 5vw, 62px) 0;
  border-top: 1px solid var(--avo-line);
}

.internal-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.internal-links li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--avo-line);
  background: #fff;
}

.internal-links span,
.guide-card span {
  color: var(--avo-muted);
  font-size: 0.78rem;
}

details {
  border-top: 1px solid var(--avo-line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--avo-line);
}

summary {
  cursor: pointer;
  color: var(--avo-dark);
  font-weight: 700;
}

details p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--avo-muted);
}

.nutrition-table {
  width: min(720px, 100%);
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border: 1px solid var(--avo-line);
}

.nutrition-table th,
.nutrition-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--avo-line);
  text-align: left;
  vertical-align: top;
}

.nutrition-table th {
  background: var(--avo-cream);
  color: var(--avo-dark);
}

.nutrition-table tr:last-child td {
  border-bottom: 0;
}

.source-note {
  font-size: 0.9rem;
}

.yoast-box {
  margin-top: 34px;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(55, 58, 54, 0.16);
}

dt {
  font-weight: 700;
}

dd {
  margin: 0;
  color: var(--avo-muted);
}

.strategy-band {
  margin-bottom: 48px;
}

.batch-section {
  padding: clamp(38px, 7vw, 78px) 0;
  border-top: 1px solid var(--avo-line);
}

.batch-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.batch-heading p:last-child {
  color: var(--avo-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-card {
  min-height: 174px;
  padding: 18px;
  border: 1px solid var(--avo-line);
  background: #fff;
}

.guide-card p {
  margin: 0 0 28px;
  color: var(--avo-accent);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.guide-card h3 {
  margin-bottom: 14px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--avo-line);
  color: var(--avo-muted);
  font-size: 0.8rem;
}

@media (max-width: 880px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .hub-hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero,
  .hub-hero {
    min-height: auto;
  }

  figure img {
    aspect-ratio: 16 / 11;
  }

  .internal-links ul,
  .card-grid {
    grid-template-columns: 1fr;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
