:root {
  --bg: #f7f7f1;
  --surface: #ffffff;
  --surface-soft: #eff2ea;
  --text: #1c2e28;
  --muted: #75827b;
  --line: #e4e8df;
  --green: #173d35;
  --green-2: #235447;
  --accent: #d6f36b;
  --accent-ink: #223526;
  --cream: #f1f0e8;
  --shadow: 0 14px 38px rgba(26, 48, 37, .08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --font-head: 'Manrope', 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
:root[data-theme="dark"] {
  --bg: #101b18;
  --surface: #172521;
  --surface-soft: #20312b;
  --text: #eef2e9;
  --muted: #a5b2aa;
  --line: #2b3d35;
  --green: #10241f;
  --green-2: #254d41;
  --cream: #202a25;
  --shadow: 0 14px 38px rgba(0, 0, 0, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.6; transition: background .25s, color .25s; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { background: var(--accent); color: #1a2f28; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-160%); background: var(--accent); color: #182f27; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 82px; background: var(--bg); border-bottom: 1px solid var(--line); display: flex; align-items: center; position: sticky; top: 0; z-index: 80; transition: background .25s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 14px; color: var(--accent); background: var(--green); }
.brand-mark svg { width: 31px; height: 31px; }
.brand-word { display: flex; flex-direction: column; font: 800 22px/1 var(--font-head); letter-spacing: -.07em; }
.brand-dot { color: #9cc54b; }
.brand-word small { margin-top: 5px; font: 700 8px/1 var(--font-body); color: var(--muted); letter-spacing: .19em; }
.main-nav { display: flex; align-items: center; gap: 35px; margin-left: auto; margin-right: auto; }
.main-nav a, .mobile-nav a { color: var(--muted); font-size: 13px; font-weight: 600; transition: color .2s; }
.main-nav a:hover, .mobile-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; display: grid; place-items: center; position: relative; transition: background .2s, border-color .2s; }
.icon-button:hover { background: var(--surface-soft); border-color: var(--muted); }
.icon-button svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.favorite-nav svg { fill: none; }
.favorite-count { position: absolute; right: -3px; top: -2px; width: 18px; height: 18px; display: grid; place-items: center; background: var(--accent); color: #23362a; font-size: 10px; border-radius: 50%; font-weight: 800; border: 2px solid var(--bg); }
.moon-icon { display: none !important; }
:root[data-theme="dark"] .sun-icon { display: none; }
:root[data-theme="dark"] .moon-icon { display: block !important; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--text); margin: 6px 0; border-radius: 3px; }
.mobile-nav { position: absolute; top: 81px; inset-inline: 0; padding: 16px 24px 22px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 15px; }
.mobile-nav[hidden] { display: none; }
.hero-section { background: var(--green); color: #f5f6e9; min-height: 610px; position: relative; overflow: hidden; }
.hero-grid { min-height: 564px; display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 62px; padding-top: 48px; padding-bottom: 54px; position: relative; z-index: 1; }
.hero-copy { padding: 14px 0 15px; max-width: 570px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: #7a8e80; font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.3; }
.hero-eyebrow { color: #c4d6c7; }
.eyebrow-line { display: inline-block; width: 26px; height: 1px; background: #9cb852; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-head); }
h1 { font-size: clamp(40px, 4.6vw, 60px); letter-spacing: -.065em; font-weight: 600; line-height: 1.12; margin: 28px 0 22px; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.hero-text { color: #c0cdc3; font-size: 15px; line-height: 1.85; max-width: 490px; margin-bottom: 28px; }
.hero-buttons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 20px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .icon-button:focus-visible, .filter-chip:focus-visible, .text-button:focus-visible, a:focus-visible, .modal-close:focus-visible { outline: 3px solid #91b75a; outline-offset: 3px; }
.button-primary { background: var(--accent); color: #233629; }
.button-primary:hover { background: #e2ff8a; }
.button-ghost { border-color: rgba(255,255,255,.19); color: #f4f5e8; background: rgba(255,255,255,.04); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.button-ghost span { font-size: 18px; color: var(--accent); }
.hero-proof { display: flex; gap: 12px; align-items: center; margin-top: 44px; }
.avatar-stack { display: flex; padding-left: 2px; }
.avatar-stack span { display: grid; place-items: center; width: 31px; height: 31px; margin-left: -3px; border: 2px solid var(--green); background: #dfe8cc; border-radius: 50%; font-size: 15px; }
.hero-proof p { margin: 0; color: #f5f7ed; font-size: 11px; line-height: 1.55; }
.hero-proof p span { color: #a8bbae; font-size: 10px; }
.hero-visual { min-width: 0; position: relative; padding: 12px 9px 18px 0; }
.hero-photo-wrap { border-radius: 180px 180px 26px 26px; height: 425px; position: relative; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.2); background: #2c594a; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; filter: saturate(.94); }
.photo-gradient { position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent 0%, rgba(11,34,26,.8) 100%); }
.hero-photo-caption { position: absolute; left: 29px; bottom: 27px; display: grid; gap: 4px; }
.hero-photo-caption .caption-kicker { color: var(--accent); letter-spacing: .2em; font-size: 9px; font-weight: 800; }
.hero-photo-caption strong { color: white; font: 700 21px/1.25 var(--font-head); }
.hero-photo-caption > span:last-child { color: #d5e0d4; font-size: 11px; }
.photo-index { position: absolute; top: 25px; right: 23px; color: white; font-size: 11px; letter-spacing: .13em; }
.photo-index span { opacity: .55; padding: 0 4px; }
.floating-note { position: absolute; z-index: 2; color: #1d352a; background: rgba(250,251,242,.95); box-shadow: 0 14px 38px rgba(0,0,0,.15); border-radius: 15px; padding: 13px 17px; display: flex; gap: 11px; align-items: center; min-width: 218px; }
.floating-note strong { display: block; font: 800 11px/1.4 var(--font-head); }
.floating-note small { display: block; font-size: 9px; line-height: 1.5; color: #6a796d; margin-top: 2px; }
.note-icon { width: 35px; height: 35px; display: grid; place-items: center; flex-shrink: 0; border-radius: 11px; font-size: 17px; background: #e8f0d2; color: #557243; }
.note-top { top: 64px; left: -38px; }
.note-bottom { bottom: 47px; right: -25px; }
.mini-wave { display: grid; place-items: center; width: 35px; height: 35px; background: #e1eee5; color: #315b4b; border-radius: 11px; font-size: 21px; }
.hero-bg-orb { position: absolute; pointer-events: none; border: 1px solid rgba(222,245,193,.08); border-radius: 50%; }
.orb-one { width: 550px; height: 550px; right: -170px; top: -265px; }
.orb-two { width: 390px; height: 390px; right: -85px; top: -185px; }
.decor-dot { position: absolute; border-radius: 50%; background: var(--accent); }
.dot-a { width: 7px; height: 7px; top: 18px; right: 25px; }
.dot-b { width: 4px; height: 4px; bottom: 40px; left: 4px; opacity: .6; }
.hero-bottom-line { border-top: 1px solid rgba(255,255,255,.12); position: relative; z-index: 2; }
.hero-bottom-inner { height: 45px; display: flex; align-items: center; justify-content: space-between; color: #a8bcae; font-size: 9px; letter-spacing: .13em; }
.hero-bottom-inner a { font-size: 9px; color: #d6e0d1; letter-spacing: .12em; font-weight: 700; }
.hero-bottom-inner a span { color: var(--accent); font-size: 15px; margin-left: 9px; }
.section-pad { padding: 105px 0 96px; }
.catalog-section { background: var(--bg); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.section-heading h2, .protect-copy h2, .closing-inner h2 { font-weight: 600; font-size: clamp(34px, 4vw, 48px); line-height: 1.18; letter-spacing: -.06em; margin: 20px 0 14px; }
.section-heading h2 em, .protect-copy h2 em, .closing-inner h2 em { color: #658b42; }
.section-heading p { color: var(--muted); margin-bottom: 0; font-size: 13px; line-height: 1.75; }
.catalog-counter { display: flex; align-items: baseline; gap: 9px; padding-bottom: 7px; white-space: nowrap; }
.catalog-counter strong { font: 700 34px/1 var(--font-head); letter-spacing: -.07em; }
.catalog-counter span { font-size: 11px; color: var(--muted); }
.catalog-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 36px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.filter-list { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.filter-chip { border: 1px solid transparent; background: transparent; padding: 10px 14px; color: var(--muted); font-size: 11px; font-weight: 700; border-radius: 99px; cursor: pointer; transition: .2s; white-space: nowrap; }
.filter-chip:hover { background: var(--surface-soft); color: var(--text); }
.filter-chip.active { background: var(--green); border-color: var(--green); color: white; }
.filter-chip span { background: rgba(255,255,255,.17); padding: 2px 6px; border-radius: 20px; margin-left: 5px; font-size: 9px; }
.catalog-tools { display: flex; align-items: center; gap: 8px; }
.search-box { width: 205px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; display: flex; align-items: center; padding: 0 11px 0 13px; gap: 8px; transition: border-color .2s; }
.search-box:focus-within { border-color: #75975a; }
.search-box svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 11px; }
.search-box input::placeholder { color: var(--muted); }
.search-box kbd { color: var(--muted); border: 1px solid var(--line); border-radius: 4px; font-size: 10px; padding: 0px 5px; line-height: 19px; }
.sort-select-wrap select { appearance: none; height: 40px; max-width: 145px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 99px; padding: 0 29px 0 13px; font-size: 10px; cursor: pointer; outline-offset: 3px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2375827b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.active-view-row { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.active-view-row p { margin: 0; color: var(--muted); font-size: 10px; }
.text-button { border: 0; padding: 6px 0; background: transparent; color: var(--green-2); font-size: 11px; font-weight: 700; cursor: pointer; }
:root[data-theme="dark"] .text-button { color: var(--accent); }
.text-button span { font-size: 16px; margin-left: 5px; }
.bird-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.bird-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; animation: card-in .35s both; }
.bird-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.card-image-wrap { position: relative; overflow: hidden; height: 224px; background: var(--surface-soft); }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.bird-card:hover .card-image { transform: scale(1.045); }
.card-image-wrap:after { content: ''; position: absolute; inset: 55% 0 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(10,27,21,.15)); }
.card-category { position: absolute; z-index: 1; top: 13px; left: 13px; border-radius: 99px; padding: 6px 10px; background: rgba(250,250,242,.94); color: #36533f; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.heart-button { position: absolute; top: 11px; right: 11px; z-index: 2; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(249,250,242,.9); color: #526d58; cursor: pointer; transition: transform .18s, background .18s, color .18s; }
.heart-button:hover { transform: scale(1.06); }
.heart-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.heart-button.is-favorite { color: #c45555; background: white; }
.heart-button.is-favorite svg { fill: currentColor; }
.card-body { padding: 20px 21px 18px; }
.card-title-row { display: flex; gap: 10px; align-items: start; justify-content: space-between; }
.card-title { font: 800 19px/1.25 var(--font-head); letter-spacing: -.045em; margin: 0; }
.card-latin { color: var(--muted); font: italic 11px/1.5 Georgia, serif; margin: 5px 0 12px; }
.card-description { color: var(--muted); font-size: 11px; line-height: 1.75; min-height: 58px; margin: 0 0 16px; }
.card-facts { border-top: 1px solid var(--line); padding-top: 13px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fact-label { font-size: 9px; color: var(--muted); display: block; margin-bottom: 2px; }
.fact-value { font-size: 11px; font-weight: 700; display: block; }
.detail-link { border: 0; background: var(--surface-soft); color: var(--text); border-radius: 50%; width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.detail-link:hover { background: var(--accent); color: #213526; transform: rotate(45deg); }
.detail-link svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.empty-state { text-align: center; padding: 75px 20px 65px; }
.empty-state[hidden] { display: none; }
.empty-emoji { font-size: 34px; display: inline-block; margin-bottom: 12px; }
.empty-state h3 { font-size: 22px; margin-bottom: 7px; }
.empty-state p { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.catalog-footnote { display: flex; align-items: start; gap: 10px; margin-top: 30px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.footnote-icon { color: #83a358; font-size: 15px; }
.discover-section { background: var(--surface-soft); }
.discover-heading { align-items: end; margin-bottom: 42px; }
.discover-heading > p { max-width: 350px; padding-bottom: 7px; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.insight-card { position: relative; border-radius: 23px; min-height: 402px; padding: 25px 26px 23px; overflow: hidden; display: flex; flex-direction: column; }
.insight-dark { background: var(--green); color: #f6f7ee; }
.insight-light { background: var(--surface); border: 1px solid var(--line); }
.insight-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.insight-number { font-size: 9px; letter-spacing: .16em; font-weight: 800; opacity: .75; }
.insight-symbol { font-size: 19px; opacity: .6; }
.insight-illustration { position: relative; height: 135px; display: grid; place-items: center; margin: 0 -8px 8px; color: #cfed9b; }
.insight-illustration svg { width: 100%; height: 100%; }
.insight-card h3 { font-size: 22px; line-height: 1.22; letter-spacing: -.045em; margin: auto 0 12px; }
.insight-card p { font-size: 11px; line-height: 1.75; color: var(--muted); margin-bottom: 18px; }
.insight-dark p { color: #b7c8bd; }
.insight-link { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 800; margin-top: auto; width: max-content; }
.insight-link span { color: #8aac50; font-size: 15px; transition: transform .2s; }
.insight-link:hover span { transform: translate(3px,-3px); }
.insight-photo { padding: 0; color: #fff; background: #385c4a; }
.insight-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.insight-photo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,32,23,.14) 10%, rgba(8,24,17,.9) 100%); }
.insight-photo-content { position: relative; display: flex; flex-direction: column; height: 100%; padding: 25px 26px 23px; z-index: 1; flex: 1; }
.insight-photo-content .insight-number { color: #edf2df; }
.insight-photo h3 { margin-top: auto; }
.insight-photo p { color: #d0ded1; }
.migration-art { flex: 1; min-height: 145px; position: relative; color: #91ac72; margin: 5px -8px 4px; }
.migration-art svg { width: 100%; height: 100%; min-height: 145px; }
.map-label { position: absolute; font-size: 8px; color: var(--muted); letter-spacing: .13em; font-weight: 800; }
.label-start { left: 9px; bottom: 18px; }
.label-end { right: 6px; top: 8px; }
.protect-section { padding: 105px 0; background: var(--bg); }
.protect-grid { display: grid; grid-template-columns: .94fr 1fr; align-items: center; gap: 90px; }
.protect-visual { height: 490px; position: relative; padding: 0 28px 20px 0; }
.protect-visual > img { width: 100%; height: 100%; border-radius: 180px 180px 24px 24px; object-fit: cover; background: var(--surface-soft); }
.protect-badge { position: absolute; width: 128px; height: 128px; border-radius: 50%; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: var(--accent); color: #26422f; box-shadow: 0 10px 32px rgba(0,0,0,.11); transform: rotate(7deg); }
.protect-badge span { font-size: 20px; margin-bottom: 4px; }
.protect-badge strong { font: 800 12px/1.35 var(--font-head); }
.protect-copy h2 { margin-top: 19px; }
.protect-copy > p { color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 480px; margin-bottom: 25px; }
.protect-actions { display: grid; gap: 0; margin-bottom: 26px; }
.protect-action { display: flex; gap: 14px; border-top: 1px solid var(--line); padding: 15px 0; }
.action-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #4a6940; background: #e7efda; font-size: 17px; }
.protect-action strong { display: block; font-size: 12px; font-weight: 800; margin-bottom: 3px; }
.protect-action p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.protect-button { min-height: 47px; }
.closing-section { padding: 70px 0; background: var(--cream); }
.closing-inner { display: grid; grid-template-columns: 88px 1fr .62fr; align-items: center; gap: 30px; }
.closing-mark { width: 70px; height: 70px; background: var(--green); color: var(--accent); border-radius: 23px; display: grid; place-items: center; font-size: 31px; }
.closing-inner h2 { font-size: clamp(32px, 3.4vw, 43px); margin-bottom: 0; }
.closing-aside p { font-size: 12px; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.button-outline { border-color: var(--line); color: var(--text); background: transparent; min-height: 42px; }
.button-outline:hover { border-color: #98b867; background: var(--surface); }
.button-outline span { font-size: 17px; color: #72934b; }
.site-footer { background: var(--green); color: #eff4e7; }
.footer-main { display: flex; align-items: center; gap: 28px; padding: 35px 0 31px; }
.footer-brand .brand-mark { background: rgba(255,255,255,.1); }
.footer-brand .brand-word small { color: #9db4a4; }
.footer-tagline { margin: 0 auto 0 0; font-size: 11px; color: #9fb4a6; }
.footer-links { display: flex; align-items: center; gap: 26px; }
.footer-links a { font-size: 11px; color: #d4e0d4; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; display: flex; align-items: center; gap: 24px; color: #91a99a; font-size: 9px; }
.photo-credit { margin-left: auto; }
.photo-credit a { text-decoration: underline; text-underline-offset: 2px; }
.back-top { color: #eaf0e5; white-space: nowrap; }
.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 200; inset: 0; padding: 24px; display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,24,18,.72); backdrop-filter: blur(8px); animation: fade-in .18s ease-out; }
.modal-panel { position: relative; z-index: 1; max-height: min(760px, calc(100vh - 48px)); width: min(860px, 100%); overflow-y: auto; background: var(--surface); color: var(--text); border-radius: 26px; box-shadow: 0 30px 100px rgba(0,0,0,.25); animation: modal-in .22s ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 4; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.92); color: #20372b; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1; }
.modal-hero { position: relative; height: 310px; background: var(--surface-soft); }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero:after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg,transparent,rgba(8,25,17,.72)); }
.modal-hero-caption { position: absolute; z-index: 1; bottom: 24px; left: 30px; right: 30px; color: white; }
.modal-hero-caption .eyebrow { color: #d8e7c7; }
.modal-hero-caption h2 { font-size: 34px; letter-spacing: -.05em; margin: 9px 0 4px; line-height: 1.2; }
.modal-hero-caption p { color: #dce7dc; font: italic 14px Georgia, serif; margin: 0; }
.modal-details { padding: 27px 30px 32px; }
.modal-description { font-size: 13px; line-height: 1.9; color: var(--muted); max-width: 740px; }
.modal-fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.modal-fact { border: 1px solid var(--line); border-radius: 14px; padding: 15px; }
.modal-fact span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.modal-fact strong { display: block; font: 700 13px/1.4 var(--font-head); }
.modal-funfact { padding: 17px 19px; border-radius: 14px; background: var(--surface-soft); display: flex; align-items: start; gap: 12px; font-size: 12px; line-height: 1.75; }
.modal-funfact .fact-star { color: #71964b; font-size: 19px; }
.modal-funfact strong { display: block; margin-bottom: 3px; font-size: 11px; }
.modal-bottom { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.modal-source { font-size: 10px; color: var(--muted); }
.modal-source a { text-decoration: underline; text-underline-offset: 2px; }
.modal-favorite { background: var(--green); color: #f4f7ea; border: 0; }
.modal-favorite.saved { background: #f9e1e1; color: #9a3434; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 300; background: var(--text); color: var(--bg); padding: 12px 19px; border-radius: 99px; box-shadow: var(--shadow); font-size: 11px; font-weight: 700; transition: opacity .22s, transform .22s; white-space: nowrap; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
:root[data-theme="dark"] .action-icon { background: #2b4334; color: #c9ec8a; }
:root[data-theme="dark"] .brand-mark { color: var(--accent); }
:root[data-theme="dark"] .hero-photo { filter: saturate(.85) brightness(.82); }
:root[data-theme="dark"] .card-category { background: rgba(24,40,31,.92); color: #d3e8b1; }
:root[data-theme="dark"] .heart-button { background: rgba(24,40,31,.94); color: #b8cbb7; border-color: rgba(255,255,255,.1); }
:root[data-theme="dark"] .heart-button.is-favorite { color: #f18e8e; }
@media (max-width: 1050px) {
  .hero-grid { gap: 35px; grid-template-columns: 1fr .86fr; }
  .hero-photo-wrap { height: 390px; }
  .note-top { left: -18px; }
  .note-bottom { right: -10px; }
  .main-nav { gap: 22px; }
  .bird-grid { gap: 17px; }
  .card-body { padding-inline: 17px; }
  .card-image-wrap { height: 195px; }
  .protect-grid { gap: 54px; }
}
@media (max-width: 820px) {
  .container { width: min(100% - 36px, 680px); }
  .site-header { height: 72px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { top: 71px; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 25px; padding-top: 46px; padding-bottom: 42px; min-height: auto; }
  h1 { font-size: clamp(38px, 6vw, 50px); }
  .hero-text { font-size: 13px; }
  .hero-photo-wrap { height: 330px; }
  .floating-note { min-width: unset; padding: 10px 12px; }
  .floating-note small { max-width: 125px; }
  .note-top { left: -26px; top: 48px; }
  .note-bottom { right: -8px; bottom: 38px; }
  .section-pad { padding: 78px 0; }
  .catalog-controls { align-items: stretch; }
  .filter-list { order: 1; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: thin; }
  .catalog-tools { order: 0; width: 100%; }
  .search-box { flex: 1; }
  .sort-select-wrap select { max-width: none; width: 155px; }
  .bird-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .card-image-wrap { height: 205px; }
  .discover-heading { align-items: start; flex-direction: column; gap: 12px; }
  .discover-heading > p { max-width: 540px; }
  .insight-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .insight-card { min-height: 370px; }
  .insight-light { grid-column: 1 / -1; min-height: 320px; }
  .migration-art { min-height: 100px; }
  .protect-grid { grid-template-columns: .8fr 1fr; gap: 35px; }
  .protect-visual { height: 420px; }
  .closing-inner { grid-template-columns: 64px 1fr; gap: 20px; }
  .closing-mark { width: 58px; height: 58px; border-radius: 18px; font-size: 25px; }
  .closing-aside { grid-column: 2; }
  .closing-inner h2 { margin-top: 13px; }
  .footer-main { flex-wrap: wrap; gap: 18px; }
  .footer-tagline { margin-right: auto; }
  .footer-links { width: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .brand-word { font-size: 20px; }
  .header-actions { gap: 5px; }
  .icon-button { width: 37px; height: 37px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 36px; padding-top: 50px; padding-bottom: 38px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 9px; }
  h1 { margin: 20px 0 17px; font-size: clamp(39px, 11vw, 51px); }
  .hero-text { font-size: 13px; line-height: 1.8; max-width: 100%; }
  .hero-buttons { gap: 9px; }
  .button { min-height: 45px; padding: 0 17px; font-size: 11px; gap: 12px; }
  .hero-proof { margin-top: 27px; }
  .hero-visual { max-width: 360px; width: 93%; align-self: center; padding: 0 0 16px; }
  .hero-photo-wrap { height: 360px; border-radius: 155px 155px 22px 22px; }
  .hero-photo-caption { left: 23px; bottom: 22px; }
  .hero-photo-caption strong { font-size: 19px; }
  .note-top { left: -15px; top: 46px; }
  .note-bottom { right: -12px; bottom: 30px; }
  .floating-note { gap: 8px; }
  .floating-note strong { font-size: 10px; }
  .floating-note small { font-size: 8px; }
  .note-icon, .mini-wave { width: 30px; height: 30px; border-radius: 9px; }
  .hero-bottom-inner { height: 42px; }
  .hero-bottom-inner > span { font-size: 8px; }
  .hero-bottom-inner a { font-size: 7px; }
  .section-pad { padding: 66px 0; }
  .section-heading { align-items: start; }
  .section-heading h2, .protect-copy h2, .closing-inner h2 { font-size: 36px; margin: 16px 0 12px; }
  .section-heading p { font-size: 12px; }
  .catalog-heading { flex-direction: column; gap: 15px; }
  .catalog-counter { gap: 8px; padding: 0; }
  .catalog-counter strong { font-size: 27px; }
  .catalog-counter span { font-size: 10px; }
  .catalog-controls { margin-top: 25px; }
  .filter-list { margin-right: -16px; width: calc(100% + 16px); }
  .filter-chip { padding: 9px 12px; font-size: 10px; }
  .search-box { height: 42px; }
  .sort-select-wrap select { height: 42px; width: 132px; font-size: 9px; }
  .active-view-row p { font-size: 9px; }
  .bird-grid { gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-image-wrap { height: 154px; }
  .card-category { top: 8px; left: 8px; font-size: 7px; padding: 5px 7px; max-width: calc(100% - 52px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .heart-button { width: 30px; height: 30px; top: 7px; right: 7px; }
  .heart-button svg { width: 15px; height: 15px; }
  .card-body { padding: 13px 12px 12px; }
  .card-title { font-size: 15px; }
  .card-latin { font-size: 9px; margin: 4px 0 8px; }
  .card-description { font-size: 9px; line-height: 1.65; min-height: 60px; margin-bottom: 12px; }
  .card-facts { padding-top: 10px; gap: 5px; }
  .fact-label { font-size: 8px; }
  .fact-value { font-size: 9px; }
  .detail-link { width: 29px; height: 29px; }
  .detail-link svg { width: 14px; height: 14px; }
  .catalog-footnote { margin-top: 22px; font-size: 9px; }
  .discover-heading { margin-bottom: 25px; }
  .insight-grid { grid-template-columns: 1fr; gap: 13px; }
  .insight-card, .insight-light { min-height: 350px; grid-column: auto; padding: 23px; }
  .insight-photo { padding: 0; }
  .insight-photo-content { padding: 23px; }
  .insight-card h3 { font-size: 23px; }
  .insight-card p { font-size: 11px; }
  .insight-illustration { height: 120px; }
  .protect-section { padding: 66px 0; }
  .protect-grid { grid-template-columns: 1fr; gap: 36px; }
  .protect-visual { height: 365px; width: min(100%, 350px); margin: auto; padding: 0 20px 18px 0; }
  .protect-visual > img { border-radius: 145px 145px 20px 20px; }
  .protect-badge { width: 108px; height: 108px; }
  .protect-badge strong { font-size: 11px; }
  .protect-copy h2 { font-size: 37px; }
  .protect-copy > p { font-size: 12px; }
  .closing-section { padding: 52px 0; }
  .closing-inner { grid-template-columns: 48px 1fr; gap: 15px; }
  .closing-mark { width: 46px; height: 46px; border-radius: 14px; font-size: 20px; }
  .closing-inner h2 { font-size: 33px; }
  .closing-inner .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .closing-aside { grid-column: 1 / -1; padding-left: 1px; margin-top: 3px; }
  .closing-aside p { font-size: 11px; margin-bottom: 12px; }
  .footer-main { padding: 27px 0 24px; }
  .footer-tagline { width: calc(100% - 165px); font-size: 9px; }
  .footer-links { gap: 17px; }
  .footer-links a { font-size: 10px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 14px; font-size: 8px; }
  .photo-credit { margin-left: 0; }
  .back-top { margin-left: auto; }
  .modal { padding: 10px; }
  .modal-panel { max-height: calc(100vh - 20px); border-radius: 20px; }
  .modal-hero { height: 245px; }
  .modal-hero-caption { left: 20px; bottom: 18px; right: 20px; }
  .modal-hero-caption h2 { font-size: 26px; }
  .modal-details { padding: 21px 20px 23px; }
  .modal-description { font-size: 12px; }
  .modal-fact-grid { grid-template-columns: 1fr 1fr; gap: 7px; margin: 17px 0; }
  .modal-fact { padding: 12px; }
  .modal-fact:last-child { grid-column: 1 / -1; }
  .modal-funfact { font-size: 11px; padding: 14px; }
  .modal-bottom { align-items: start; flex-direction: column; }
  .toast { bottom: 14px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
