:root {
  --forest: #143d2a;
  --deep: #092818;
  --emerald: #1f6a45;
  --cream: #f4efdf;
  --sand: #e7dbc1;
  --brown: #594437;
  --ink: #1d2b22;
  --white: #fffdf7;
  --line: rgba(20,61,42,.16);
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); }
body, button, input, select { font-family: inherit; }
a { color: inherit; }
button, input, select { font-size: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 100; background: white; padding: 10px; }
.skip-link:focus { top: 12px; }
.navbar {
  height: 82px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, calc((100% - 1180px)/2)); position: absolute; z-index: 20; left: 0; right: 0;
  color: #fffdf7; border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 22px; }
.brand > span:last-child { display: grid; }
.brand strong { font-size: 17px; }
.brand small { margin-top: 3px; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .12em; opacity: .72; }
.nav-links { display: flex; gap: 28px; font-family: Arial, sans-serif; font-size: 13px; color:#fffdf7; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.theme-button, .menu-button { border: 1px solid rgba(255,255,255,.38); color: inherit; background: rgba(9,40,24,.24); border-radius: 30px; padding: 9px 13px; cursor: pointer; }
.menu-button { display: none; }
.hero { min-height: 690px; position: relative; display: grid; align-items: end; overflow: hidden; background: var(--deep); color: white; }
.hero-image { position:absolute; inset:0; background-position:center 38%; background-size:cover; }
.hero-overlay { position:absolute; inset:0; background: linear-gradient(90deg, rgba(5,31,19,.82) 0%, rgba(7,42,25,.42) 55%, rgba(7,42,25,.12)), linear-gradient(0deg, rgba(5,31,19,.72), transparent 48%); }
.hero-copy { width:min(1180px,calc(100% - 48px)); margin:0 auto; position:relative; z-index:2; padding:160px 0 78px; }
.eyebrow { margin:0 0 16px; font-family:Arial,sans-serif; text-transform:uppercase; letter-spacing:.18em; font-size:11px; font-weight:700; }
.hero h1 { max-width:760px; margin:0; font-size:clamp(58px,8vw,112px); line-height:.86; letter-spacing:-.055em; }
.tagline { max-width:590px; margin:24px 0 28px; font-size:clamp(20px,2.5vw,30px); line-height:1.3; }
.hero-actions { display:flex; gap:10px; flex-wrap:wrap; }
.button { min-height:48px; display:inline-flex; align-items:center; justify-content:center; border-radius:3px; padding:12px 18px; text-decoration:none; font-family:Arial,sans-serif; font-size:13px; cursor:pointer; }
.button-primary { background:var(--cream); color:var(--deep); border:1px solid var(--cream); }
.button-glass { color:white; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.45); backdrop-filter:blur(8px); }
.hero-credit { margin:18px 0 0; font-family:Arial,sans-serif; font-size:11px; opacity:.78; }
.hero-credit a { text-underline-offset:3px; }
.discovery-strip { min-height:96px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px max(24px,calc((100% - 1180px)/2)); background:var(--forest); color:white; }
.discovery-strip > div { display:flex; align-items:center; gap:14px; }
.leaf-mark { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; border:1px solid rgba(255,255,255,.28); color:#d9c78e; }
.discovery-strip small { display:block; margin-bottom:3px; font-family:Arial,sans-serif; text-transform:uppercase; letter-spacing:.12em; opacity:.64; }
.discovery-strip strong { font-size:20px; }
.discovery-strip p { font-family:Arial,sans-serif; font-size:12px; opacity:.78; }
.section { width:min(1180px,calc(100% - 48px)); margin:0 auto; padding:110px 0; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:38px; }
.section-heading h2,.species-card h2,.conservation-section h2,.facts-section h2 { margin:0; font-size:clamp(42px,6vw,72px); line-height:.95; letter-spacing:-.04em; }
.section-heading .eyebrow { color:var(--emerald); }
.gallery-controls { display:flex; gap:8px; }
.gallery-controls label { display:grid; gap:6px; font-family:Arial,sans-serif; font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.gallery-controls input,.gallery-controls select { height:43px; min-width:180px; border:1px solid var(--line); border-radius:2px; background:var(--white); color:var(--ink); padding:0 11px; font-family:Arial,sans-serif; text-transform:none; }
.photo-grid { columns:3 260px; column-gap:16px; }
.photo-card { break-inside:avoid; margin:0 0 16px; background:var(--white); border:1px solid var(--line); border-radius:5px; overflow:hidden; }
.photo-card > button { width:100%; display:block; position:relative; border:0; padding:0; background:var(--sand); cursor:zoom-in; overflow:hidden; }
.photo-card img { width:100%; max-height:none; transition:transform .5s ease; }
.photo-card:hover img { transform:scale(1.025); }
.photo-category { position:absolute; left:10px; top:10px; padding:6px 8px; border-radius:30px; background:rgba(9,40,24,.78); color:white; font-family:Arial,sans-serif; font-size:9px; text-transform:uppercase; letter-spacing:.08em; }
.photo-meta { min-height:86px; display:flex; justify-content:space-between; align-items:center; gap:10px; padding:14px; }
.photo-meta h3 { margin:0 0 6px; font-size:17px; }
.photo-meta p { margin:0; color:#6e766f; font-family:Arial,sans-serif; font-size:10px; line-height:1.5; }
.favorite-button { flex:0 0 38px; height:38px; border:1px solid var(--line); border-radius:50%; background:transparent; color:#9a4e43; cursor:pointer; font-size:20px; }
.species-section { background:var(--sand); padding:110px max(24px,calc((100% - 1180px)/2)); }
.species-card { max-width:820px; margin-left:auto; }
.species-card > p:not(.eyebrow) { max-width:680px; font-size:20px; line-height:1.7; }
.species-card .eyebrow { color:var(--emerald); }
.species-facts { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:38px 0 30px; }
.species-facts div { padding:18px; border-top:1px solid rgba(89,68,55,.24); }
.species-facts dt { font-family:Arial,sans-serif; text-transform:uppercase; letter-spacing:.12em; font-size:10px; color:var(--emerald); }
.species-facts dd { margin:8px 0 0; line-height:1.5; }
.text-link { font-family:Arial,sans-serif; font-size:12px; text-underline-offset:5px; }
.video-section { padding-bottom:70px; }
.video-section .section-heading > p { max-width:380px; font-family:Arial,sans-serif; line-height:1.7; color:#6e766f; }
.video-placeholder { display:grid; grid-template-columns:1fr 1fr; min-height:360px; border:1px solid var(--line); background:var(--white); }
.placeholder-art { min-height:360px; display:grid; place-items:center; background:linear-gradient(135deg,var(--deep),var(--emerald)); color:white; }
.placeholder-art span { width:72px; height:72px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.5); border-radius:50%; }
.video-placeholder > div:last-child { display:flex; flex-direction:column; justify-content:center; padding:40px; }
.video-placeholder small { color:var(--emerald); font-family:Arial,sans-serif; text-transform:uppercase; letter-spacing:.12em; }
.video-placeholder h3 { font-size:32px; }
.video-placeholder p { line-height:1.7; color:#6e766f; }
.video-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.video-card { border:1px solid var(--line); background:var(--white); overflow:hidden; }
.video-player { aspect-ratio:16/9; background:#091422; }
.video-player iframe { width:100%; height:100%; border:0; display:block; }
.video-meta { padding:20px; }
.video-meta small { color:var(--emerald); font-family:Arial,sans-serif; text-transform:uppercase; letter-spacing:.08em; }
.video-meta h3 { margin:10px 0 8px; }
.video-meta p { color:#667067; line-height:1.6; }
.conservation-section { display:grid; grid-template-columns:1fr 1fr; align-items:end; gap:60px; padding:110px max(24px,calc((100% - 1180px)/2)); background:var(--deep); color:white; }
.conservation-section .eyebrow { color:#b9cba9; }
.conservation-section > p { max-width:520px; margin:0 0 8px; font-size:20px; line-height:1.7; }
.news-section { width:min(1180px,calc(100% - 48px)); margin:0 auto; padding:110px 0; }
.news-section .section-heading > p { max-width:340px; font-family:Arial,sans-serif; font-size:12px; color:#667067; }
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.news-card { min-height:260px; display:flex; flex-direction:column; padding:24px; border:1px solid var(--line); background:var(--white); }
.news-card > div { display:flex; justify-content:space-between; gap:12px; font-family:Arial,sans-serif; font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:var(--emerald); }
.news-card time { color:#777; }
.news-card h3 { margin:28px 0 12px; font-size:23px; line-height:1.25; }
.news-card p { flex:1; margin:0 0 20px; color:#667067; line-height:1.55; }
.news-card a { font-family:Arial,sans-serif; font-size:12px; text-underline-offset:4px; }
.news-disclaimer { max-width:780px; margin:24px 0 0; color:#667067; font-family:Arial,sans-serif; font-size:11px; line-height:1.6; }
.facts-section { width:min(1180px,calc(100% - 48px)); margin:0 auto; padding:110px 0; }
.fact-grid { display:grid; grid-template-columns:repeat(3,1fr); margin-top:38px; border-top:1px solid var(--line); }
.fact-grid article { min-height:240px; padding:24px 28px 24px 0; border-right:1px solid var(--line); }
.fact-grid article + article { padding-left:28px; }
.fact-grid article:last-child { border-right:0; }
.fact-grid span { color:var(--emerald); font-family:Arial,sans-serif; font-size:11px; }
.fact-grid h3 { font-size:26px; }
.fact-grid p { line-height:1.7; color:#667067; }
footer { min-height:150px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:30px max(24px,calc((100% - 1180px)/2)); border-top:1px solid var(--line); background:#e9e1ca; }
.footer-brand { display:grid; }
.footer-brand span { margin-top:5px; font-size:12px; }
footer nav { display:flex; gap:18px; font-family:Arial,sans-serif; font-size:12px; }
footer p { font-family:Arial,sans-serif; font-size:11px; }
.lightbox { width:100vw; height:100vh; max-width:none; max-height:none; margin:0; border:0; padding:0; background:rgba(5,20,12,.96); color:white; }
.lightbox::backdrop { background:rgba(5,20,12,.96); }
.lightbox figure { width:min(980px,calc(100% - 140px)); height:100%; margin:0 auto; display:grid; grid-template-columns:minmax(0,1fr) 260px; align-items:center; gap:30px; }
.lightbox figure img { max-height:82vh; width:100%; object-fit:contain; }
.lightbox figcaption h2 { font-size:28px; }
.lightbox figcaption p { line-height:1.6; opacity:.78; }
.lightbox figcaption div { font-family:Arial,sans-serif; font-size:11px; line-height:1.8; }
.lightbox figcaption a { text-underline-offset:3px; }
.lightbox-close,.lightbox-nav { position:absolute; z-index:2; width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.25); border-radius:50%; background:rgba(0,0,0,.2); color:white; cursor:pointer; font-size:24px; }
.lightbox-close { right:24px; top:24px; }
.lightbox-nav { top:50%; }
.lightbox-nav.previous { left:24px; }
.lightbox-nav.next { right:24px; }
.empty-state { grid-column:1/-1; padding:60px; text-align:center; font-family:Arial,sans-serif; color:#6e766f; }
:root[data-theme="dark"] { --cream:#102419; --sand:#173425; --white:#183526; --ink:#edf3e9; --line:rgba(220,235,214,.15); background:#102419; }
:root[data-theme="dark"] .navbar,
:root[data-theme="dark"] .brand,
:root[data-theme="dark"] .nav-links,
:root[data-theme="dark"] .nav-links a,
:root[data-theme="dark"] .theme-button,
:root[data-theme="dark"] .menu-button { color:#fffdf7; }
:root[data-theme="dark"] .brand-mark { color:#fffdf7; border-color:rgba(255,255,255,.7); }
:root[data-theme="dark"] .hero-overlay { background:linear-gradient(90deg,rgba(5,20,12,.88),rgba(7,42,25,.25)),linear-gradient(0deg,rgba(5,20,12,.78),transparent 50%); }
:root[data-theme="dark"] .photo-meta p,:root[data-theme="dark"] .video-placeholder p,:root[data-theme="dark"] .fact-grid p,:root[data-theme="dark"] .video-section .section-heading > p { color:#b3c1b5; }
:root[data-theme="dark"] .species-card .eyebrow,
:root[data-theme="dark"] .species-facts dt,
:root[data-theme="dark"] .section-heading .eyebrow,
:root[data-theme="dark"] .news-card > div,
:root[data-theme="dark"] .news-card a,
:root[data-theme="dark"] .video-meta small { color:#9bd09f; }
:root[data-theme="dark"] .news-card time,
:root[data-theme="dark"] .news-card p,
:root[data-theme="dark"] .news-disclaimer,
:root[data-theme="dark"] .news-section .section-heading > p,
:root[data-theme="dark"] .video-meta p,
:root[data-theme="dark"] .empty-state { color:#c3d1c5; }
:root[data-theme="dark"] .photo-card,
:root[data-theme="dark"] .news-card,
:root[data-theme="dark"] .video-card,
:root[data-theme="dark"] .video-placeholder { background:#183526; }
:root[data-theme="dark"] .species-facts div { border-top-color:rgba(220,235,214,.22); }
:root[data-theme="dark"] footer { background:#0c2015; }
@media (max-width:850px) {
  .navbar { height:70px; padding:0 18px; }
  .menu-button { display:block; order:3; }
  .theme-button { margin-left:auto; margin-right:8px; }
  .nav-links { display:none; position:absolute; left:0; right:0; top:70px; padding:18px; flex-direction:column; background:var(--deep); }
  .nav-links.open { display:flex; }
  .hero { min-height:650px; }
  .hero-copy { width:calc(100% - 36px); padding-bottom:55px; }
  .hero h1 { font-size:64px; }
  .discovery-strip { align-items:flex-start; flex-direction:column; }
  .section-heading { align-items:flex-start; flex-direction:column; }
  .gallery-controls { width:100%; }
  .gallery-controls label { flex:1; }
  .gallery-controls input,.gallery-controls select { min-width:0; width:100%; }
  .species-facts { grid-template-columns:1fr; }
  .video-placeholder { grid-template-columns:1fr; }
  .video-grid { grid-template-columns:1fr; }
  .conservation-section { grid-template-columns:1fr; }
  .news-grid { grid-template-columns:1fr; }
  .fact-grid { grid-template-columns:1fr; }
  .fact-grid article,.fact-grid article + article { min-height:0; border-right:0; border-bottom:1px solid var(--line); padding:24px 0; }
  .lightbox figure { width:calc(100% - 100px); grid-template-columns:1fr; align-content:center; }
  .lightbox figure img { max-height:60vh; }
  .lightbox figcaption { max-height:24vh; overflow:auto; }
}
@media (max-width:560px) {
  .brand strong { font-size:14px; }
  .brand small { display:none; }
  .brand-mark { width:38px; height:38px; }
  .theme-button { font-size:11px; }
  .hero h1 { font-size:50px; }
  .tagline { font-size:19px; }
  .hero-actions { align-items:stretch; flex-direction:column; }
  .button { width:100%; }
  .discovery-strip p { margin:0; }
  .section,.facts-section { width:calc(100% - 28px); }
  .section { padding:76px 0; }
  .gallery-controls { flex-direction:column; }
  .photo-grid { columns:1; }
  .species-section,.conservation-section { padding:76px 14px; }
  .news-section { width:calc(100% - 28px); padding:76px 0; }
  .species-card h2,.conservation-section h2,.facts-section h2 { font-size:44px; }
  .species-card > p:not(.eyebrow),.conservation-section > p { font-size:17px; }
  .facts-section { padding:76px 0; }
  footer { align-items:flex-start; flex-direction:column; }
  footer nav { flex-wrap:wrap; }
  .lightbox figure { width:calc(100% - 28px); }
  .lightbox-nav.previous { left:8px; }
  .lightbox-nav.next { right:8px; }
}
