:root {
  color-scheme: light;
  --paper: #F4E7D0;
  --cream: #FFF8EB;
  --ink: #20362B;
  --muted: #4D5C50;
  --terracotta: #8E3D31;
  --orange: #D8754C;
  --sky: #4D91A8;
  --sage: #DDE6CF;
  --yellow: #F2C14E;
  --display: "Bree Serif", Georgia, serif;
  --body: "Nunito", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; }
h1 { margin-bottom: 24px; font-size: clamp(4rem, 7.4vw, 7.4rem); letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(2.9rem, 4.6vw, 4.8rem); letter-spacing: -.035em; }
h3 { font-size: 1.9rem; }
em { font-weight: 400; }
button, input { font-family: var(--body); }
.skip-link { position: fixed; top: -90px; left: 16px; z-index: 3000; padding: 12px 18px; border: 2px solid var(--ink); border-radius: 16px; background: var(--yellow); color: var(--ink); }
.skip-link:focus { top: 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 94px; padding: 18px clamp(20px, 4vw, 64px); border-bottom: 2px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); font-family: var(--display); font-size: 1.7rem; line-height: 1; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: var(--sage); font-family: var(--body); font-size: 10px; font-weight: 800; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 800; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--terracotta); text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(52px, 7vw, 96px) clamp(20px, 5vw, 80px); background: var(--sage); }
.eyebrow { margin-bottom: 20px; color: var(--terracotta); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 em, .page-intro h1 em { color: var(--terracotta); }
.lead { color: var(--muted); font-size: 19px; }
.hero .lead { max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 800; text-decoration: none; }
.button:hover { background: var(--terracotta); border-color: var(--terracotta); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 800; }
.hero-art { margin: 0; }
.hero-art img { width: 100%; border: 2px solid var(--ink); border-radius: 40px; }
.hero-art figcaption { margin-top: 12px; color: var(--muted); font-size: 11px; text-align: right; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--yellow); }
.facts > div { display: flex; align-items: baseline; gap: 12px; padding: 20px clamp(20px, 4vw, 64px); border-right: 2px solid var(--ink); }
.facts > div:last-child { border-right: 0; }
.facts strong { font-family: var(--display); font-size: 2.6rem; font-weight: 400; }
.facts span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section { padding: clamp(52px, 7vw, 94px) clamp(20px, 4vw, 64px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 48px; align-items: end; margin-bottom: 36px; }
.section-heading h2 { margin: 0; }
.section-heading > p { margin-bottom: 6px; color: var(--muted); }
.species-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.species-card { display: block; min-width: 0; padding: 16px 16px 24px; border: 2px solid var(--ink); border-radius: 32px; background: var(--cream); color: var(--ink); text-decoration: none; }
.species-card img { width: 100%; margin-bottom: 20px; border: 2px solid var(--ink); border-radius: 24px; }
.species-card > span { color: var(--terracotta); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.species-card h3 { margin: 16px 0 10px; }
.species-card p { margin: 0; color: var(--muted); font-size: 14px; }
.species-card:hover h3 { color: var(--terracotta); text-decoration: underline; }
.note-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 2px solid var(--ink); background: var(--cream); }
.note-section h2 { margin: 0; }
.note-section p { margin-bottom: 20px; }
.demo-note { padding-left: 16px; border-left: 3px solid var(--terracotta); color: var(--muted); font-size: 13px; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); gap: 48px; align-items: end; padding: clamp(48px, 6vw, 82px) clamp(20px, 4vw, 64px) 44px; border-bottom: 2px solid var(--ink); }
.page-intro h1 { margin: 0; }
.intro-copy { padding-bottom: 8px; }
.intro-copy p { margin-bottom: 18px; }
.intro-copy .demo-note { margin-bottom: 0; }
.directory-section, .table-section { padding-top: 30px; }
.directory-rule { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 12px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.table-foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--ink); }
.table-foot p { margin: 0; color: var(--muted); }
.table-foot .button { flex: 0 0 auto; }
.site-footer { padding: 50px clamp(20px, 4vw, 64px) 24px; background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 48px; padding-bottom: 40px; }
.footer-brand { color: var(--paper); font-family: var(--display); font-size: clamp(3.6rem, 6vw, 6rem); line-height: .9; text-decoration: none; }
.footer-brand em { color: var(--yellow); }
.footer-label { margin-bottom: 14px; color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid nav { display: grid; gap: 8px; }
.footer-grid a:not(.footer-brand) { color: var(--paper); }
.footer-grid p:not(.footer-label) { max-width: 370px; color: #DDE6CF; font-size: 14px; }
.site-footer a:focus-visible { outline-color: var(--yellow); }
.footer-bottom { margin: 0; padding-top: 18px; border-top: 1px solid #DDE6CF; color: #DDE6CF; font-size: 11px; text-transform: uppercase; }
@media (min-width: 768px) and (max-width: 1100px) {
  .hero h1, .page-intro h1 { font-size: 5.6rem; }
}
@media (max-width: 767px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px 20px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 6px 12px; }
  .site-nav a { font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding: 48px 20px; }
  .hero h1, .page-intro h1 { font-size: clamp(3.6rem, 17vw, 4.8rem); }
  .hero .lead { font-size: 17px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .facts > div:last-child { border-bottom: 0; }
  .section { padding: 48px 20px; }
  .section-heading, .note-section, .page-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .species-grid { grid-template-columns: 1fr; }
  .page-intro { padding: 44px 20px 32px; }
  .directory-section, .table-section { padding-top: 24px; }
  .directory-rule { align-items: flex-start; flex-direction: column; gap: 4px; }
  .table-foot { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
