:root {
  --cream: #F7F3EA;
  --bg: #FAF8F2;
  --surface: #FFFFFF;
  --tint: #EAF0E3;
  --line: #DCE4D3;
  --ink: #1C2620;
  --muted: #56645A;
  --brand: #1F3B2D;
  --brand-2: #2F5A43;
  --accent: #C8402E;
  --accent-hover: #A93222;
  --gold: #E8B04A;
  --good: #2F7D4F;
  --warn: #A5562A;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 38, 32, .06), 0 6px 20px rgba(28, 38, 32, .07);
  --serif: "Lora", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand-2); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--brand); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }

/* header */
.disclosure-bar { background: var(--brand); color: var(--cream); font-size: .82rem; text-align: center; padding: 6px 16px; }
.disclosure-bar a { color: var(--gold); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--brand); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text small { display: block; margin-top: 4px; font-family: var(--sans); font-weight: 700; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { background: var(--tint); color: var(--brand); }
.menu-btn { display: none; font: 600 .95rem var(--sans); background: var(--tint); color: var(--brand); border: 0; border-radius: 8px; padding: 8px 14px; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem var(--sans); text-decoration: none; border-radius: 999px; padding: 13px 24px; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--cream); }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand); color: var(--cream); }
.btn-buy { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(200, 64, 46, .28); }
.btn-buy:hover { background: var(--accent-hover); color: #fff; }
.btn-buy::after { content: "\2197"; font-size: .9em; }
.btn-sm { padding: 9px 16px; font-size: .9rem; white-space: nowrap; }

/* home hero */
.hero { margin-top: 0; background: radial-gradient(900px 420px at 85% 0%, #F3E3C3 0, transparent 60%), radial-gradient(700px 400px at 0% 100%, #D5E4C8 0, transparent 60%), var(--tint); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 72px 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent-hover); margin-bottom: .6em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-art { display: grid; place-items: center; }
.hero-ico { width: min(320px, 100%); height: auto; color: var(--accent); background: var(--surface); border-radius: 50%; padding: 56px; box-shadow: var(--shadow); stroke-width: 1.6; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; padding: 48px 16px; } .hero-art { order: -1; justify-items: start; } }

section { margin: 56px 0; }
.section-title { margin-bottom: 20px; }

/* gift band */
.gift-band { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; background: var(--brand); color: var(--cream); border-radius: 22px; padding: 40px; align-items: center; }
.gift-band h2 { color: #fff; }
.gift-band .eyebrow { color: var(--gold); }
.gift-band .btn-primary { background: var(--accent); color: #fff; }
.gift-band .btn-primary:hover { background: var(--accent-hover); }
@media (max-width: 820px) { .gift-band { grid-template-columns: 1fr; padding: 28px 20px; } }

/* cards */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.guide-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.guide-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--ink); }
.guide-card strong { display: block; font-family: var(--serif); color: var(--brand); font-size: 1.12rem; margin-bottom: 4px; }
.guide-card-body span { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.guide-ico, .mini-ico, .product-ico { flex: none; display: grid; place-items: center; background: var(--tint); color: var(--brand); border-radius: 12px; }
.guide-ico { width: 56px; height: 56px; }
.guide-ico .ico { width: 34px; height: 34px; }

.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.mini-list { display: grid; gap: 12px; }
.mini { display: flex; gap: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.mini strong { font-family: var(--serif); color: var(--brand); font-size: 1.05rem; }
.mini p { font-size: .9rem; color: var(--muted); margin: 4px 0 12px; line-height: 1.5; }
.mini-ico { width: 52px; height: 52px; }
.mini-ico .ico { width: 30px; height: 30px; }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--muted); box-shadow: var(--shadow); }
.tool .ico { width: 40px; height: 40px; color: var(--accent); margin-bottom: 8px; }
.tool strong { font-family: var(--serif); font-size: 1.25rem; color: var(--brand); }
.tool:hover { border-color: var(--accent); }
@media (max-width: 820px) { .tools { grid-template-columns: 1fr; } }

.trust { background: var(--tint); border-radius: 22px; padding: 36px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-grid strong { display: block; color: var(--brand); margin-bottom: 4px; }
.trust-grid p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 720px) { .trust-grid { grid-template-columns: 1fr; } .trust { padding: 24px 20px; } }

/* guide pages */
.guide-hero { background: var(--tint); border-bottom: 1px solid var(--line); padding: 40px 0 28px; margin: 0 0 28px !important; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.dek { font-size: 1.15rem; color: var(--muted); }
.meta { font-size: .88rem; color: var(--muted); margin: 0; }
.note { background: #FBF6EA; border: 1px solid #EBDDBB; border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; font-size: .9rem; color: var(--muted); margin: 0 0 28px; }

.quick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-top: 0; }
.picks { width: 100%; border-collapse: collapse; }
.picks th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 8px 8px; border-bottom: 1px solid var(--line); }
.picks td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.picks tr:last-child td { border-bottom: 0; }
.picks td:last-child { text-align: right; }
.picks a:not(.btn) { font-weight: 600; color: var(--ink); text-decoration: none; }
.picks a:not(.btn):hover { color: var(--accent-hover); }
.for { display: block; font-size: .85rem; color: var(--muted); }
.badge { display: inline-block; background: var(--tint); color: var(--brand-2); font-size: .74rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; border-radius: 6px; padding: 3px 8px; }
@media (max-width: 640px) {
  .picks thead { display: none; }
  .picks tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .picks tr:last-child { border-bottom: 0; }
  .picks td { padding: 0; border: 0; }
  .picks td:first-child { grid-column: 1 / -1; }
}

.prose { margin: 32px 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 24px 0; }
.toc summary { cursor: pointer; font-weight: 600; }

.product { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin: 24px 0; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.product-head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.product-ico { width: 84px; height: 84px; }
.product-ico .ico { width: 50px; height: 50px; }
.product h2 { margin: 8px 0 2px; font-size: 1.5rem; }
.product .num { color: var(--accent); }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 20px; }
.proscons h3 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.proscons ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.proscons li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.pros li::before { content: "\2713"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.cons li::before { content: "\2013"; position: absolute; left: 2px; color: var(--warn); font-weight: 700; }
.product .btn-buy { width: 100%; max-width: 340px; }
@media (max-width: 600px) { .product { padding: 20px; } .proscons { grid-template-columns: 1fr; } .product-ico { width: 64px; height: 64px; } .product .btn-buy { max-width: none; } }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--brand); color: var(--cream); border-radius: 18px; padding: 28px; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { margin: 0; }
.cta-band .btn-primary { background: var(--accent); color: #fff; }

/* quiz */
.quiz { display: grid; gap: 20px; }
.q { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 20px; margin: 0; }
.q legend { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--brand); padding: 0 4px; }
.step { display: block; font: 600 .75rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-hover); }
.opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 10px; cursor: pointer; }
.opt:hover { border-color: var(--accent); }
.opt:has(input:checked) { border-color: var(--accent); background: #FBF1EE; }
.opt input { margin-top: 5px; accent-color: var(--accent); }
.opt strong { display: block; }
.opt span { font-size: .92rem; color: var(--muted); }
.opt strong { color: var(--ink); }
.quiz-result { scroll-margin-top: 90px; background: var(--tint); border-radius: 18px; padding: 28px; margin-top: 28px; }

/* calculator */
.calc { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.calc label { display: grid; gap: 6px; font-weight: 600; }
.calc select, .calc input[type=number] { font: 1rem var(--sans); padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.calc input[type=range] { accent-color: var(--accent); }
.range-labels { display: flex; justify-content: space-between; font-weight: 400; font-size: .85rem; color: var(--muted); }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.calc-out div { background: var(--brand); color: var(--cream); border-radius: var(--radius); padding: 18px; display: grid; }
.calc-out span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.calc-out strong { font-family: var(--serif); font-size: 1.9rem; color: #fff; }
.calc-out small { opacity: .8; }
.calc-tips { color: var(--muted); }
@media (max-width: 560px) { .calc-out { grid-template-columns: 1fr; } }

.related { margin-bottom: 72px; }

/* footer */
.site-footer { background: var(--brand); color: #D9E4D6; padding: 48px 0 24px; font-size: .92rem; }
.site-footer .logo { color: #fff; }
.site-footer .logo-text small { color: var(--gold); }
.site-footer a { color: var(--gold); }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 16px; }
.site-footer li { margin-bottom: 6px; }
.site-footer .muted { color: #B9C9B8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 32px; padding-top: 20px; font-size: .82rem; color: #B9C9B8; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo-mark circle { fill: var(--brand-2); }

/* winter band */
.season { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: linear-gradient(135deg, #E4EEF2, #F1F5F6); border: 1px solid #D3E0E5; border-radius: 22px; padding: 36px 40px; }
.season .eyebrow { color: #2E6A80; }
.season p:not(.eyebrow) { color: var(--muted); max-width: 40em; }
.season-ico { width: 140px; height: 140px; color: #2E6A80; stroke-width: 1.8; }
.season-bird { width: 170px; height: 170px; border-radius: 50%; box-shadow: var(--shadow); }
.season-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 22px; }
.season-links a { display: grid; gap: 2px; padding: 14px 16px; background: var(--surface); border: 1px solid #D3E0E5; border-radius: 12px; text-decoration: none; color: var(--brand); }
.season-links a:hover { box-shadow: var(--shadow); }
.season-links strong { font-family: var(--serif); font-size: 1.05rem; }
.season-links span { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .season { grid-template-columns: 1fr; padding: 28px 20px; } .season-ico, .season-bird { display: none; } .season-links { grid-template-columns: 1fr; } }

/* how-to articles */
.step-section { border-top: 1px solid var(--line); padding-top: 28px; }
.step-section .mini-list { margin-top: 16px; }

/* bird illustrations on guides */
.hero-with-bird { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.guide-hero-bird { width: 130px; height: 130px; flex: none; border-radius: 50%; box-shadow: var(--shadow); }
@media (max-width: 600px) { .guide-hero-bird { width: 76px; height: 76px; align-self: flex-start; } }
.attracts { margin: 4px 0 18px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.attracts h3 { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--sans); }
.attracts ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.attracts li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--brand); }
.bird-chip { width: 40px; height: 40px; flex: none; }
.attracts a { font-size: .88rem; font-weight: 600; color: var(--accent-hover); }
@media (max-width: 600px) { .attracts ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .attracts li { font-size: .85rem; } .bird-chip { width: 34px; height: 34px; } }

/* bird cards */
.bird-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 760px) { .bird-grid { grid-template-columns: repeat(3, 1fr); } }
.bird-card { display: grid; justify-items: center; gap: 8px; padding: 16px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--brand); text-align: center; font-family: var(--serif); transition: transform .15s, box-shadow .15s; }
.bird-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.bird-card-art { width: 84px; height: 84px; }
.hub-cta { margin-top: 40px; }
.more-link { margin-top: 14px; font-weight: 600; }
.more-link a { color: var(--accent-hover); }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.result-bird { width: 88px; height: 88px; flex: none; }
.attracts li a { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.attracts li a:hover span { text-decoration: underline; }
a.bird-cell { color: inherit; text-decoration: none; }
a.bird-cell:hover span { text-decoration: underline; }
@media (max-width: 600px) { .bird-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .bird-card { padding: 12px 6px; font-size: .85rem; } .bird-card-art { width: 60px; height: 60px; } .result-bird { width: 64px; height: 64px; } }

/* feeding chart */
.bird-cell { display: flex; align-items: center; gap: 12px; }
.bird-art { width: 64px; height: 64px; flex: none; }
.hero-bird { width: min(320px, 100%); height: auto; border-radius: 50%; box-shadow: var(--shadow); }
@media (max-width: 820px) { .hero-bird { width: 120px; } }
.narrow-inline { max-width: 780px; margin: 0 auto; }
.chart-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 40px; }
.chart { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 760px; }
.chart th, .chart td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.chart thead th { background: var(--brand); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.chart tbody th { font-family: var(--serif); color: var(--brand); font-size: 1.02rem; white-space: nowrap; }
.chart tbody tr:nth-child(even) { background: #FBFCF9; }
.chart tbody tr:last-child th, .chart tbody tr:last-child td { border-bottom: 0; }
.chart-links a { display: block; font-weight: 600; color: var(--accent-hover); margin-bottom: 4px; }
@media (max-width: 760px) {
  .chart { min-width: 0; }
  .chart thead { display: none; }
  .chart tr { display: grid; gap: 4px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .chart th, .chart td { padding: 0; border: 0; }
  .chart td:nth-child(2)::before { content: "Eats: "; font-weight: 700; }
  .chart td:nth-child(3)::before { content: "Feeders: "; font-weight: 700; }
  .chart-links { margin-top: 6px; }
}

/* nectar refresh table */
.refresh { width: 100%; border-collapse: collapse; margin: 8px 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.refresh th, .refresh td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.refresh thead th { background: var(--tint); font-size: .85rem; }
