/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #faf6f0;
  --bg-card: #fff9f2;
  --bg-card-alt: #fffdf9;
  --accent: #c4622d;
  --accent-light: #e8865a;
  --accent-pale: #faeee6;
  --accent-winter: #7da3c8;
  --accent-winter-light: #d4e8f7;
  --text: #2a1f14;
  --text-muted: #8a7060;
  --text-light: #b09e8e;
  --border: #e8dcd0;
  --border-strong: #d4c0ac;
  --shadow-sm: 0 1px 4px rgba(42,31,20,0.07);
  --shadow-md: 0 4px 20px rgba(42,31,20,0.10);
  --shadow-lg: 0 8px 40px rgba(42,31,20,0.13);
  --radius: 12px;
  --radius-sm: 6px;
}

/* ─── Reset + Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
}

.seo-text { position: absolute; left: -9999px; font-size: 0; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  background: var(--text);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(42,31,20,0.15);
}

.nav__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--bg);
}

.nav__egg { font-size: 1.5rem; }

.nav__name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav__cta {
  color: var(--accent-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border: 1.5px solid rgba(232,134,90,0.4);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav__cta:hover {
  background: rgba(232,134,90,0.15);
  border-color: var(--accent-light);
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--text) 0%, #3d2e1f 100%);
  color: var(--bg);
  padding: 72px 0 64px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(196,98,45,0.2);
  border: 1px solid rgba(196,98,45,0.35);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero__headline em {
  font-style: italic;
  color: var(--accent-light);
}

.hero__subhead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(250,246,240,0.7);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── Buttons (landing page) ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 16px rgba(196,98,45,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196,98,45,0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  background: transparent;
  color: rgba(250,246,240,0.7);
  border: 1.5px solid rgba(250,246,240,0.2);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  color: var(--bg);
  border-color: rgba(250,246,240,0.4);
  background: rgba(250,246,240,0.05);
}

/* ─── Dial visual ──────────────────────────────────────────────────────────── */
.dial {
  position: relative;
}

.dial__ring {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(196,98,45,0.15);
  border: 3px solid rgba(196,98,45,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.dial__icon { font-size: 2rem; margin-bottom: 4px; }

.dial__number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--bg);
}

.dial__unit {
  font-size: 0.85rem;
  color: rgba(250,246,240,0.6);
  margin-top: 4px;
}

.dial__label {
  font-size: 0.7rem;
  color: rgba(250,246,240,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.dial__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dial__tag {
  background: rgba(250,246,240,0.08);
  border: 1px solid rgba(250,246,240,0.15);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(250,246,240,0.65);
}

/* ─── Section shared ───────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}

.section-title.display {
  font-size: 2rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ─── How It Works ─────────────────────────────────────────────────────────── */
.how {
  padding: 64px 0;
}

.how__header {
  text-align: center;
  margin-bottom: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step__num {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.step__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Why It Matters ───────────────────────────────────────────────────────── */
.why {
  padding: 64px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.why__benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.benefit__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit__title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text);
}

.benefit__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.why__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card--wide {
  grid-column: span 2;
}

.stat-card__num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── Breed Spotlight ──────────────────────────────────────────────────────── */
.breeds {
  padding: 64px 0;
}

.breeds__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.breed-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s;
}

.breed-link:hover { color: var(--accent-light); }

.breed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.breed-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.breed-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.breed-card__header {
  background: var(--text);
  color: var(--bg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.breed-card__emoji { font-size: 1.5rem; }

.breed-card__name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  flex: 1;
}

.breed-card__type {
  font-size: 0.75rem;
  color: rgba(250,246,240,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.breed-card__body { padding: 16px 18px; }

.breed-stat {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.breed-stat:last-of-type { border-bottom: none; }

.breed-stat__label { color: var(--text-muted); }

.breed-stat__val { font-weight: 600; color: var(--text); }

.breed-stat__val--highlight { color: var(--accent); }

.prod-bar { margin-top: 12px; }

.prod-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.prod-bar__track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.prod-bar__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* ─── Calculator Section ───────────────────────────────────────────────────── */
.calculator-section {
  padding: 64px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.calculator-section > .container > .section-label,
.calculator-section > .container > .section-title,
.calculator-section > .container > .section-sub {
  text-align: center;
}

.calc-card {
  margin-bottom: 20px;
}

/* ─── Sections (calculator cards) ──────────────────────────────────────────── */
.section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.section:hover { box-shadow: var(--shadow-md); }

/* ─── Empty State ───────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.empty-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* ─── Flock Rows ────────────────────────────────────────────────────────────── */
#flock-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.flock-row {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  animation: slideIn 0.2s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.flock-row:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.flock-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flock-breed-photo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.flock-breed-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-pale);
  font-size: 1.6rem;
}

.flock-breed-info {
  flex: 1;
  min-width: 160px;
}

.flock-breed-name {
  display: block;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--text);
  margin-bottom: 4px;
}

.flock-row-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
  line-height: 1.5;
}

/* ─── Tags ──────────────────────────────────────────────────────────────────── */
.breed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.tag-egg {
  background: var(--accent-pale);
  color: var(--accent);
}

.tag-yield {
  background: #eef7ee;
  color: #3d7a3d;
}

.tag-winter {
  background: var(--accent-winter-light);
  color: #2a5a80;
}

/* ─── Count Control ─────────────────────────────────────────────────────────── */
.flock-count-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.count-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.count-btn:hover {
  background: var(--accent-pale);
  border-color: var(--accent-light);
  color: var(--accent);
}

.count-input {
  width: 56px;
  height: 30px;
  text-align: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: 'Satoshi', sans-serif;
  font-size: 0.925rem;
  font-weight: 600;
  -moz-appearance: textfield;
  transition: border-color 0.15s ease;
}

.count-input::-webkit-inner-spin-button,
.count-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.count-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,98,45,0.12);
}

.count-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.remove-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: background 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.remove-btn:hover {
  background: #fde8e8;
  color: #c44;
}

/* ─── Breed Adder ───────────────────────────────────────────────────────────── */
.breed-adder {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.breed-select {
  flex: 1;
  min-width: 200px;
  height: 44px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: 'Satoshi', sans-serif;
  font-size: 0.9rem;
  padding: 0 14px;
  cursor: pointer;
  transition: border-color 0.15s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a7060' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.breed-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,98,45,0.12);
}

/* ─── Buttons (calculator) ─────────────────────────────────────────────────── */
.btn {
  height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Satoshi', sans-serif;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-add {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(196,98,45,0.25);
}

.btn-add:hover:not(:disabled) {
  box-shadow: 0 4px 16px rgba(196,98,45,0.35);
  transform: translateY(-1px);
}

/* ─── CTA Bar ───────────────────────────────────────────────────────────────── */
.cta-bar {
  display: flex;
  justify-content: center;
}

.btn-calc {
  background: var(--text);
  color: var(--bg);
  height: 52px;
  padding: 0 36px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
}

.btn-calc:hover {
  background: var(--accent);
  box-shadow: 0 6px 24px rgba(196,98,45,0.3);
  transform: translateY(-2px);
}

/* ─── Summary Card ──────────────────────────────────────────────────────────── */
.summary-card {
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.summary-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bg);
}

.hen-count {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.85rem;
  color: rgba(250,246,240,0.75);
  font-weight: 500;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  transition: background 0.15s ease;
}

.stat-block:hover { background: rgba(255,255,255,0.09); }

.stat-block.stat-primary {
  background: rgba(196,98,45,0.35);
  border: 1px solid rgba(196,98,45,0.5);
}

.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-primary .stat-number {
  font-size: 2.4rem;
  color: #fff;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(250,246,240,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.dozen-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(250,246,240,0.6);
  font-style: italic;
  text-align: center;
}

/* ─── Chart Card ────────────────────────────────────────────────────────────── */
.chart-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 16px;
}

.chart-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.chart-sub {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.chart-container {
  display: flex;
  align-items: flex-end;
  height: 140px;
  gap: 4px;
  padding-bottom: 0;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 4px;
}

.bar-val {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.bar {
  width: 100%;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  transition: height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
  min-height: 4px;
}

.bar:hover { background: var(--accent-light); }

.bar.bar-winter {
  background: var(--accent-winter);
}

.bar.bar-winter:hover { background: #9bbfda; }

.month-labels {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.month-labels span {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Breed Breakdown ───────────────────────────────────────────────────────── */
.breakdown-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.breakdown-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
}

.breakdown-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.15s ease;
}

.breakdown-row:last-child { border-bottom: none; }

.breakdown-breed {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.breakdown-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.breakdown-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breakdown-stats {
  display: flex;
  gap: 16px;
}

.bd-stat {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bd-stat strong {
  color: var(--text);
  font-weight: 600;
}

.breakdown-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ─── Hatchery Affiliate Links ──────────────────────────────────────────────── */
.hatchery-section {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.hatchery-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
}

.hatchery-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hatchery-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.hatchery-btn:hover {
  border-color: var(--accent);
  background: var(--accent-pale);
  color: var(--accent);
}

.hatchery-disclosure {
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--text-light);
  font-style: italic;
}

/* ─── Seasonal Alerts (email opt-in) ───────────────────────────────────────── */
.alerts-section {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--text) 0%, #3d2e1f 100%);
  color: var(--bg);
}

.alerts__inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.alerts__icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.alerts__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--bg);
}

.alerts__desc {
  font-size: 0.95rem;
  color: rgba(250,246,240,0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.alerts__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.alerts__input {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.alerts__input:focus {
  border-color: rgba(255,255,255,0.6);
}

.alerts__input::placeholder {
  color: rgba(255,255,255,0.4);
}

.alerts__note {
  font-size: 0.8rem;
  color: rgba(250,246,240,0.45);
  margin-top: 4px;
}

/* ─── Results Section ───────────────────────────────────────────────────────── */
.results-section {
  padding: 28px 0 0;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s;
}

.footer__links a:hover { color: var(--accent); }

/* ─── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero__headline { font-size: 2rem; }
  .hero__subhead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }

  .hero__visual { display: none; }

  .steps { grid-template-columns: 1fr; gap: 16px; }

  .why__inner { grid-template-columns: 1fr; gap: 32px; }

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

@media (max-width: 480px) {
  .summary-grid { grid-template-columns: repeat(2, 1fr); }

  .nav__cta { display: none; }

  .hero { padding: 48px 0 40px; }
  .hero__headline { font-size: 1.65rem; }

  .section { padding: 20px 16px; }

  .flock-row-main { flex-wrap: wrap; }
  .flock-count-control { gap: 4px; }

  .stat-number { font-size: 1.6rem; }
  .stat-primary .stat-number { font-size: 1.9rem; }

  .breed-adder { flex-direction: column; }
  .breed-select, .btn-add { width: 100%; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

/* ─── Share Plan Card ──────────────────────────────────────────────────────── */
.share-card {
  background: linear-gradient(135deg, #2d4a2e 0%, #3d5e3e 100%);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
  color: #fff;
}

.share-card__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-card__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.share-card__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  max-width: 420px;
}

.btn-share {
  background: #f5f0e8;
  color: #2d4a2e;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.btn-share:hover { opacity: 0.88; }
.btn-share:disabled { opacity: 0.65; cursor: default; }

.share-result {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.share-url-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  color: #fff;
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  outline: none;
  cursor: pointer;
  min-width: 200px;
}

.share-url-input::placeholder { color: rgba(255,255,255,0.45); }

.btn-copy-url {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-copy-url:hover { background: rgba(255,255,255,0.28); }

.share-feedback {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #a8d4a9;
  min-height: 1.2em;
}

/* ─── Feed Costs Section ────────────────────────────────────────────────────── */
.feed-section {
  background: var(--bg);
  padding: 56px 0 48px;
  border-top: 1px solid var(--border);
}

.feed-header {
  text-align: center;
  margin-bottom: 32px;
}

.feed-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .feed-stats { grid-template-columns: repeat(2, 1fr); }
}

.feed-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.feed-stat-card--primary {
  background: var(--text);
  border-color: var(--text);
}

.feed-stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.feed-stat-card--primary .feed-stat-num {
  color: var(--accent-light);
}

.feed-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.feed-stat-card--primary .feed-stat-label {
  color: rgba(250,246,240,0.55);
}

.feed-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-align: center;
  padding: 12px 16px;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
}

.feed-note__icon { margin-right: 6px; }

/* Feed retailer cards */
.feed-retailers { margin-top: 8px; }

.feed-retailers__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.feed-retailers__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-retailer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.feed-retailer-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.feed-retailer-logo {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 42px;
  text-align: center;
}

.feed-retailer-info {
  flex: 1;
  min-width: 0;
}

.feed-retailer-name {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 2px;
}

.feed-retailer-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.feed-retailer-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.feed-disclosure {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
}

/* ─── Coop Requirements Section ─────────────────────────────────────────────── */
.coop-section {
  background: var(--bg-card-alt);
  padding: 56px 0 48px;
  border-top: 1px solid var(--border);
}

.coop-header {
  text-align: center;
  margin-bottom: 32px;
}

.coop-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .coop-stats { grid-template-columns: repeat(2, 1fr); }
}

.coop-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.coop-stat-card--primary {
  background: var(--text);
  border-color: var(--text);
}

.coop-stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.coop-stat-card--primary .coop-stat-num {
  color: var(--accent-light);
}

.coop-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.coop-stat-card--primary .coop-stat-label {
  color: rgba(250,246,240,0.55);
}

.coop-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-align: center;
  padding: 12px 16px;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
}

.coop-note__icon { margin-right: 6px; }

/* Coop retailer cards */
.coop-retailers { margin-top: 8px; }

.coop-retailers__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.coop-retailers__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coop-retailer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.coop-retailer-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.coop-retailer-logo {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 42px;
  text-align: center;
}

.coop-retailer-info {
  flex: 1;
  min-width: 0;
}

.coop-retailer-name {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 2px;
}

.coop-retailer-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.coop-retailer-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.coop-disclosure {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
}
