:root {
  --ink: #182f26;
  --paper: #f6f6ef;
  --accent: #d9ef9d;
  --line: #cbd0c0;
  --serif: "Baskerville", "Times New Roman", serif;
  --edge: max(5vw, calc((100vw - 1360px)/2));
}
* { box-sizing: border-box }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 "Inter", "Helvetica Neue", Arial, sans-serif }
button,input { font: inherit }
button,summary { cursor: pointer }
a { color: inherit }
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible { outline: 3px solid #a46413; outline-offset: 4px }
[hidden] { display: none !important }
.sr,.sr-only,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden }
header,footer { padding: 16px var(--edge); display: flex; justify-content: space-between; align-items: center; gap: 18px }
header { background: var(--ink); color: var(--paper) }
.brand { display: inline-flex; align-items: center; font: bold 2rem/1 var(--serif); letter-spacing: -.045em; text-decoration: none }
.brand img { width: 34px; height: 34px; margin-right: 9px }
.brand span { color: #adc773 }
nav { display: flex; gap: clamp(14px,3vw,48px); align-items: center }
nav a { text-decoration: none; font-size: .91rem; padding: 7px 0; border-bottom: 1px solid transparent }
nav a:hover,nav [aria-current] { border-color: var(--accent); color: var(--accent) }
h1,h2,h3 { font: normal 3rem/1.05 var(--serif); letter-spacing: -.04em; margin: 0 }
p { margin: .8em 0 }
.hero { position: relative; background: var(--ink); color: white }
.slide { position: relative; isolation: isolate; min-height: clamp(495px,64vh,720px); display: flex; align-items: center }
.cover,.slide::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1 }
.cover { object-fit: cover; object-position: 50% 43% }
.slide::after { content: ""; background: linear-gradient(90deg,rgba(8,27,18,.96),rgba(8,27,18,.79) 29%,rgba(8,27,18,.05) 74%),linear-gradient(0deg,#0b201761,transparent 24%) }
.hero-copy { padding: 58px var(--edge) 62px; box-sizing: content-box; max-width: 515px }
.label,.species-body>span { font: 600 .78rem/1.4 "IBM Plex Mono", monospace; letter-spacing: .13em; text-transform: uppercase }
.rule { display: flex; gap: 12px; align-items: center; color: var(--accent) }
.rule::before { content: ""; width: 38px; border-top: 1px solid }
.hero h2 { margin: 20px 0; font-size: clamp(4rem,7.9vw,8.4rem); line-height: .93; letter-spacing: -.055em }
.hero h2 i { color: #ebf3cc }
.hero-copy p { max-width: 390px; font-size: 1.06rem }
.button { display: inline-block; margin-top: 12px; background: var(--accent); color: var(--ink); padding: 12px 22px; border-radius: 2px; font-weight: 600; text-decoration: none }
.button:hover { background: #eff7d5 }
.controls { position: absolute; bottom: 26px; right: var(--edge); display: flex; align-items: center; gap: 8px }
.controls span { font: .82rem monospace; background: #172d24da; padding: 6px 10px }
.controls button { border: 1px solid #ffffff9c; background: #172d24c9; color: white; font: 1.6rem/1 var(--serif); width: 42px; height: 42px; border-radius: 50% }
.section { padding: clamp(36px,5vw,78px) var(--edge) }
.section>h2 { font-size: clamp(2.2rem,3.5vw,4rem); margin-bottom: 28px }
.shelves,.care,.species-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px }
.shelf { text-decoration: none; display: flex; gap: 18px; align-items: center; border-top: 1px solid var(--line); padding-top: 20px }
.shelf img { width: 30%; aspect-ratio: 4/5; object-fit: cover }
.shelf h3,.species-card h3 { font-size: 1.8rem }
.shelf p { margin: 8px 0 0; color: #4c6053 }
.shelf:hover h3,footer a:hover { text-decoration: underline }
footer { border-top: 1px solid var(--line); padding-block: 26px }
footer>a:last-child { font-size: .9rem }
.intro { padding: 36px var(--edge); background: #e5e9d9; display: flex; align-items: center; justify-content: space-between; gap: 20px }
.intro h1 { font-size: clamp(3.4rem,7vw,7rem) }
.intro img { width: 28%; height: clamp(120px,15vw,220px); object-fit: cover }
.atlas-toolbar,.filter-list,.search-field { display: flex; align-items: center; flex-wrap: wrap; gap: 8px }
.atlas-toolbar { justify-content: space-between; gap: 18px }
.filter-button,.search-field { border: 1px solid #9da99b; padding: 9px 16px; background: transparent; color: inherit; border-radius: 24px }
.filter-button.active { background: var(--ink); color: white }
.search-field { flex-wrap: nowrap; background: white }
.search-field svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8 }
.search-field input { border: 0; width: 180px; max-width: 50vw }
.results-count { color: #536458; margin: 24px 0; font-size: .92rem }
.species-card { background: white; border: 1px solid var(--line) }
.species-image img { width: 100%; height: 180px; object-fit: cover; display: block }
.species-body { padding: 22px }
.species-body h3 { margin: 8px 0 4px }
.species-body p { margin-bottom: 0 }
.notes { display: grid; gap: 38px }
.note { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6%; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--line) }
.note img { width: 100%; max-height: 340px; object-fit: cover }
.note h2,.care h2 { font-size: clamp(2rem,3.5vw,3.5rem); margin-top: 12px }
.care article { border-top: 1px solid var(--ink); padding: 18px 10px 0 0 }
.tip { border-left: 3px solid #9eae6d; padding-left: 16px }
.faq { background: #e7ebdf; display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px }
details { border-top: 1px solid #aab6a6; padding: 16px 0 }
summary { font-weight: 600 }
summary span { display: none }
@media(max-width: 850px) {
  .shelves { grid-template-columns: 1fr }
  .shelf img { width: 130px; height: 90px }
  .species-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
}
@media(max-width: 620px) {
  header { flex-direction: column; align-items: flex-start; gap: 8px }
  nav { width: 100%; justify-content: space-between; gap: 6px }
  nav a { font-size: .88rem }
  .cover { object-position: 62% center }
  .slide::after { background: linear-gradient(90deg,#0b1d14df,#0b1d1477),linear-gradient(0deg,#10291edb,transparent 75%) }
  .hero-copy { padding-block: 48px 88px }
  .controls { bottom: 18px }
  .intro { display: block }
  .intro img { display: none }
  .species-grid,.note,.faq,.care { grid-template-columns: 1fr }
  .note { gap: 20px }
  .shelf img { width: 27% }
  footer { flex-wrap: wrap }
}
