:root {
  --ink: #16211c;
  --paper: #f6f2e9;
  --white: #ffffff;
  --leaf: #2d6b4f;
  --leaf-dark: #163f31;
  --sky: #cfe3df;
  --clay: #b65f3a;
  --sun: #e1b85f;
  --muted: #68756f;
  --line: rgba(22, 33, 28, 0.14);
  --shadow: 0 24px 70px rgba(20, 39, 30, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.legal-page .site-header,
.spark-page .site-header,
.recommendations-page .site-header,
.post-page .site-header {
  padding-block: 10px;
  background: rgba(22, 33, 28, 0.94);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  line-height: 1.05;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  opacity: 1;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--sun);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  min-height: 94vh;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr);
  padding: 160px clamp(20px, 5vw, 72px) 46px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 22, 15, 0.84), rgba(6, 22, 15, 0.54) 43%, rgba(6, 22, 15, 0.12)),
    url("assets/birding-hero.png") center / cover no-repeat;
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 28px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.legal-hero .section-kicker {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5.4vw, 4.9rem);
  line-height: 1.04;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(182, 95, 58, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #974a2d;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.hero-note {
  width: min(520px, 100%);
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(22, 33, 28, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-note strong {
  color: var(--sun);
}

.hero-note span {
  color: rgba(255, 255, 255, 0.84);
}

.ad-section {
  padding: 28px clamp(20px, 5vw, 72px) 0;
  background: var(--paper);
}

.gumroad-ad {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(22, 33, 28, 0.18);
  isolation: isolate;
}

.gumroad-ad::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22, 33, 28, 0.86), rgba(22, 33, 28, 0.36) 62%, rgba(22, 33, 28, 0.08));
}

.gumroad-ad img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gumroad-ad:hover img,
.gumroad-ad:focus-visible img {
  transform: scale(1.035);
}

.gumroad-ad-wide {
  width: min(1120px, 100%);
  min-height: 190px;
  margin: 0 auto;
  padding: 28px;
}

.ad-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ad-copy {
  display: grid;
  max-width: 500px;
  gap: 8px;
}

.ad-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1;
}

.ad-copy span {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.ad-cta {
  display: inline-flex;
  margin-top: 22px;
  color: var(--sun);
  font-weight: 900;
}

.section {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  margin-bottom: 42px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.gear-grid,
.product-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gear-card,
.product-card,
.post-card,
.newsletter-box,
.article-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.gear-card,
.product-card {
  min-height: 300px;
  padding: 28px;
}

.gear-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--leaf);
  font-weight: 900;
}

.gear-card p,
.product-card p,
.article-block p,
.newsletter-box p {
  color: #495852;
}

.gear-card a {
  color: var(--leaf-dark);
  font-weight: 900;
}

.text-link,
.article-block a,
.post-card a {
  color: #12382c;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.text-link:hover,
.text-link:focus-visible,
.article-block a:hover,
.article-block a:focus-visible,
.post-card a:hover,
.post-card a:focus-visible {
  color: #0a241b;
}

.field-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.9fr);
  gap: clamp(32px, 6vw, 84px);
  background: var(--white);
}

.field-copy p:last-child {
  margin-bottom: 0;
  color: #495852;
  font-size: 1.08rem;
}

.tip-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.tip-list article {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 18px;
  padding: 22px;
  background: #f8fbf7;
}

.tip-list strong {
  color: var(--leaf-dark);
}

.tip-list span {
  color: #52615b;
}

.content-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
  background: #e8efe7;
}

.main-column {
  display: grid;
  gap: 18px;
}

.article-block {
  padding: clamp(28px, 5vw, 54px);
}

.quick-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.quick-steps span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--leaf-dark);
  font-weight: 900;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.gumroad-ad-box {
  min-height: 250px;
  padding: 18px;
}

.gumroad-ad-box::after {
  background: linear-gradient(180deg, rgba(22, 33, 28, 0.2), rgba(22, 33, 28, 0.88));
}

.gumroad-ad-box .ad-label {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
}

.gumroad-ad-box .ad-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.gumroad-ad-box .ad-copy strong {
  font-size: 1.55rem;
}

.newsletter-box {
  padding: 24px;
}

.shop-section {
  background: var(--paper);
}

.store-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.5fr);
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
  overflow: hidden;
  min-height: 360px;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  background: var(--leaf-dark);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.store-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(22, 33, 28, 0.88), rgba(22, 33, 28, 0.46) 54%, rgba(22, 33, 28, 0.12));
}

.store-feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.store-feature:hover img,
.store-feature:focus-visible img {
  transform: scale(1.035);
}

.store-feature-copy {
  display: grid;
  max-width: 620px;
  gap: 14px;
}

.store-feature-copy .section-kicker {
  margin: 0;
  color: var(--sun);
}

.store-feature-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.store-feature-copy span:last-child {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  font-weight: 700;
}

.spark-section {
  background: var(--white);
}

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

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
}

.post-card span {
  margin-bottom: 28px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.post-card p {
  flex: 1;
  color: #495852;
}

.spark-button {
  margin-top: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-card p {
  flex: 1;
}

.legal-page {
  background: var(--white);
}

.legal-page .site-header,
.spark-page .site-header,
.recommendations-page .site-header {
  position: sticky;
}

.legal-hero,
.spark-hero,
.recommendations-hero {
  padding: 148px clamp(20px, 5vw, 72px) 64px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(22, 33, 28, 0.92), rgba(22, 33, 28, 0.68)),
    url("assets/birding-hero.png") center / cover no-repeat;
}

.legal-hero h1,
.spark-hero h1,
.recommendations-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.legal-hero p,
.spark-hero p,
.recommendations-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.spark-hero .hero-actions,
.recommendations-hero .hero-actions {
  margin-top: 26px;
}

.spark-page-section {
  padding-top: clamp(64px, 8vw, 104px);
}

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

.amazon-section {
  background: var(--white);
}

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

.recommendations-button {
  margin-top: 24px;
}

.legal-content {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.legal-content p {
  color: #31403a;
  font-size: 1.06rem;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.28rem;
  line-height: 1.22;
}

.post-page .site-header {
  position: sticky;
}

.post-hero {
  padding: 148px clamp(20px, 5vw, 72px) 64px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(22, 33, 28, 0.93), rgba(22, 33, 28, 0.7)),
    url("assets/birding-hero.png") center / cover no-repeat;
}

.post-hero h1 {
  max-width: 980px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

.post-hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.post-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.post-content p {
  color: #31403a;
  font-size: 1.08rem;
}

.post-content h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.post-source {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #101914;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.site-footer div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 800;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

@media (max-width: 980px) {
  .section-heading,
  .field-section,
  .content-band,
  .store-feature {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    max-width: 230px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(22, 33, 28, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.35rem);
  }

  .gear-grid,
  .product-grid,
  .post-grid,
  .sidebar {
    grid-template-columns: 1fr;
  }

  .tip-list article {
    grid-template-columns: 1fr;
  }

  .gear-card,
  .product-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
