@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f7ef;
  --ink: #17271f;
  --green: #294e3a;
  --muted: #4d6053;
  --line: #dce3d5;
  --lime: #ddec9a;
  --heading: "Bricolage Grotesque", system-ui, sans-serif;
  font: 16px/1.55 "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #9b5d39; outline-offset: 5px; }
section[id] { scroll-margin-top: 2rem; }
.wrap { width: min(94%, 1360px); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .6rem 1rem;
  transform: translateY(-200%);
  background: var(--paper);
}
.skip-link:focus { transform: none; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.site-header { min-height: 88px; }
.site-header nav { display: flex; gap: clamp(1rem, 3.5vw, 2.8rem); }
.site-header nav a { font-weight: 650; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.brand {
  display: inline-flex;
  align-items: center;
  font: 800 clamp(1.35rem, 3.8vw, 1.85rem)/1 var(--heading);
  letter-spacing: -.05em;
  text-decoration: none;
}
.brand-dot { color: #698438; }
.brand-mark {
  width: 1.18em;
  height: 1.18em;
  margin-right: .35em;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 41%, var(--ink) 0 7%, transparent 8%),
    radial-gradient(circle at 66% 41%, var(--ink) 0 7%, transparent 8%),
    radial-gradient(ellipse at 50% 63%, #c8dd82 0 21%, transparent 22%),
    var(--lime);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(490px, 48vw, 655px);
  overflow: hidden;
  border-radius: 1.55rem;
  background: #10231d;
  color: #f8fbef;
}
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 46%; z-index: -2; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #0c1e17f5 0%, #0c1e17c7 26%, #0c1e1742 55%, transparent 76%);
}
.hero-content { max-width: 48rem; padding: 3rem clamp(1.4rem, 5.5vw, 5rem); }
.eyebrow {
  margin: 0 0 1.05rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--lime); }
h1, h2, h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.02;
}
h1 { font-size: clamp(3.3rem, 6.35vw, 6.25rem); }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.1rem); }
h3 { font-size: clamp(1.55rem, 2.3vw, 2.15rem); }
.hero-intro { max-width: 30ch; margin: 1.4rem 0 1.7rem; font-size: 1.06rem; color: #edf2e3; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.9rem;
  padding: .55rem 1rem .55rem 1.25rem;
  border-radius: 2rem;
  background: var(--lime);
  color: #1b301e;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #edf5c7; }
.button span { font-size: 1.2rem; }
.hero-caption {
  position: absolute;
  right: 1.3rem;
  bottom: 1.1rem;
  margin: 0;
  padding: .35rem .7rem;
  border-radius: .35rem;
  background: #0c1e17d9;
  font-size: .8rem;
  font-weight: 650;
}
.hero-caption span { color: #e1ebd1; font-weight: 400; }

.species { margin-block: clamp(3.15rem, 6vw, 5.5rem); }
.species-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.95rem, 2vw, 1.8rem);
  margin-top: 1.55rem;
}
.species-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fcfcf6;
}
.species-card img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.species-card:first-child img { object-position: 63% center; }
.card-content { display: flex; flex: 1; flex-direction: column; padding: clamp(1.05rem, 2vw, 1.6rem); }
.habitat { margin: 0 0 .8rem; color: var(--green); font-size: .81rem; font-weight: 700; }
.habitat span { font-weight: 450; }
.scientific { margin: .4rem 0 0; color: var(--muted); font-size: .93rem; }
.card-content > p:not([class]) { margin: .85rem 0 1.1rem; color: var(--muted); }
.card-content a, .text-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--green);
  font-size: .9rem;
  font-weight: 700;
  text-underline-offset: .22em;
}
.card-content a:hover, .text-link:hover { color: var(--ink); }

.field-notes {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #e4ebd7;
}
.field-notes div { padding: clamp(1.45rem, 5vw, 4.5rem); }
.field-notes .eyebrow { color: var(--green); }
.field-notes p:not([class]) { max-width: 44ch; color: var(--muted); }
.field-notes img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.site-footer {
  margin-top: 3.1rem;
  min-height: 94px;
  border-top: 1px solid var(--line);
}
.site-footer p { color: var(--muted); font-size: .84rem; }

@media (max-width: 850px) {
  .wrap { width: 93%; }
  .species-grid { gap: .85rem; }
}
@media (max-width: 650px) {
  .site-header { min-height: 66px; }
  .site-header nav { gap: .85rem; font-size: .87rem; }
  .hero { align-items: flex-end; min-height: 550px; border-radius: 1.05rem; }
  .hero-image { object-position: 68% center; }
  .hero::after { background: linear-gradient(0deg, #0b2119 1%, #0b2119ed 23%, #0b21197d 49%, #0b211917 74%); }
  .hero-content { padding: 1.2rem 1.25rem 3.6rem; }
  .hero-intro { margin: .75rem 0 1.15rem; font-size: .99rem; }
  .hero-caption { right: .7rem; bottom: .65rem; font-size: .72rem; }
  h1 { font-size: clamp(2.7rem, 11vw, 3.6rem); }
  .species-grid, .field-notes { grid-template-columns: 1fr; }
  .field-notes img { max-height: 260px; }
  .site-footer { min-height: 77px; }
}
