:root { --forest:#163d2b; --deep:#0a281c; --cream:#fff7df; --paper:#f3e6c5; --gold:#c98a2f; --clay:#a54e2d; --ink:#26372e; --shadow:0 18px 55px rgba(8,31,21,.18); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:#f8f2e3; font-family:"Avenir Next","Segoe UI",sans-serif; font-size:16px; }
a { color:inherit; }
img { max-width:100%; }
.downloads-header { position:sticky; z-index:20; top:0; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px clamp(18px,4vw,60px); color:#fff; background:rgba(10,40,28,.96); box-shadow:0 6px 24px rgba(0,0,0,.2); }
.back-link { font-weight:800; text-decoration:none; }
.brand { display:grid; text-align:right; }
.brand strong { font-family:Georgia,serif; }
.brand span { font-size:.72rem; opacity:.8; }
main { overflow:hidden; }
.downloads-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.9fr); gap:clamp(28px,6vw,88px); align-items:center; min-height:680px; padding:clamp(70px,9vw,130px) clamp(20px,7vw,110px); color:#fff; background:radial-gradient(circle at 85% 25%,rgba(201,138,47,.36),transparent 32%),linear-gradient(135deg,#0a281c,#20543a); }
.eyebrow { margin:0 0 .7rem; color:var(--clay); font-size:.75rem; font-weight:900; letter-spacing:.15em; text-transform:uppercase; }
.downloads-hero .eyebrow,.final-cta .eyebrow { color:#ffd882; }
h1,h2,h3 { margin:.2em 0 .45em; font-family:Georgia,serif; line-height:1.03; }
h1 { max-width:760px; font-size:clamp(3rem,7vw,6.8rem); }
h2 { color:var(--forest); font-size:clamp(2.4rem,5vw,4.9rem); }
h3 { font-size:1.45rem; }
.lead { max-width:700px; font-size:clamp(1.05rem,1.6vw,1.35rem); line-height:1.7; }
.button { display:inline-flex; min-height:48px; align-items:center; justify-content:center; margin-top:1rem; padding:.8rem 1.2rem; border-radius:999px; color:#fff; background:var(--clay); font-weight:900; text-decoration:none; box-shadow:0 8px 25px rgba(0,0,0,.18); }
.hero-art { position:relative; display:grid; min-height:440px; place-items:center; padding:8px; border:1px solid rgba(255,255,255,.35); border-radius:36px; background:#f8e9be; box-shadow:0 28px 80px rgba(0,0,0,.25); cursor:zoom-in; overflow:hidden; }
.hero-art img { width:100%; height:100%; object-fit:cover; border-radius:28px; }
.hero-art span { position:absolute; right:18px; bottom:16px; padding:.45rem .7rem; border-radius:999px; background:rgba(10,40,28,.88); font-size:.72rem; font-weight:800; }
.hero-art:hover span,.hero-art:focus-visible span { background:var(--clay); box-shadow:0 0 0 4px rgba(255,255,255,.3); }
.section { padding:clamp(70px,9vw,130px) clamp(20px,7vw,110px); }
.section-heading { max-width:820px; margin-bottom:40px; }
.section-heading > p:last-child { font-size:1.1rem; line-height:1.7; }
.map-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.map-card { overflow:hidden; border-radius:28px; background:#fff; box-shadow:var(--shadow); }
.map-card img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.map-card div { padding:25px; }
.map-card p { line-height:1.55; }
.kit-section { color:#fff; background:var(--deep); }
.kit-section h2,.kit-section h3 { color:#fff; }
.kit-section .section-heading > p:last-child { color:#d9e8dc; }
.kit-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.safari-preview { position:relative; display:block; width:100%; margin:0 0 34px; padding:0; overflow:hidden; border:3px solid rgba(255,216,130,.72); border-radius:26px; color:#fff; background:#132d22; cursor:zoom-in; box-shadow:0 18px 44px rgba(0,0,0,.32); }
.safari-preview img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; transition:transform .35s ease; }
.safari-preview span { position:absolute; right:18px; bottom:18px; padding:10px 15px; border:2px solid rgba(255,255,255,.8); border-radius:999px; background:rgba(7,29,19,.84); font-size:.82rem; font-weight:900; letter-spacing:.02em; box-shadow:0 6px 18px rgba(0,0,0,.35); }
.safari-preview:hover img,.safari-preview:focus-visible img { transform:scale(1.015); }
.safari-preview:focus-visible { outline:4px solid #fff; outline-offset:4px; }
.kit-grid article { min-height:235px; padding:24px; border:1px solid rgba(255,255,255,.15); border-radius:22px; background:rgba(255,255,255,.075); }
.kit-grid article > span { color:#ffd882; font-size:.72rem; font-weight:900; letter-spacing:.12em; }
.kit-grid p { color:#d7e4da; line-height:1.55; }
.note { margin-top:28px; padding:20px 22px; border-left:5px solid var(--gold); border-radius:8px 18px 18px 8px; background:rgba(201,138,47,.13); line-height:1.65; }
.books-section { background:linear-gradient(180deg,#fff8e8 0%,#f3e4bd 100%); }
.book-series-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; align-items:stretch; }
.book-tile { position:relative; display:flex; min-height:390px; flex-direction:column; padding:23px 20px 21px; overflow:hidden; border:1px solid rgba(88,58,24,.18); border-radius:24px; background:#fffaf0; box-shadow:0 14px 34px rgba(68,42,16,.14); }
.book-tile::before { content:""; position:absolute; inset:0 0 auto; height:9px; background:var(--book-accent,#ad6c2b); }
.book-number { color:#74512e; font-size:.7rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.book-animal { display:grid; width:88px; height:88px; margin:20px 0 12px; place-items:center; border-radius:50%; background:var(--book-wash,#f4d7a1); font-size:3.8rem; box-shadow:inset 0 0 0 4px rgba(255,255,255,.72); }
.book-tile h3 { margin:.3rem 0 .7rem; color:#173f2d; font-size:clamp(1.35rem,2vw,1.8rem); }
.book-tile p { margin:0 0 20px; color:#536054; line-height:1.55; }
.book-status { width:max-content; margin-top:auto; padding:8px 11px; border-radius:999px; font-size:.72rem; letter-spacing:.05em; text-transform:uppercase; }
.book-status.ready { color:#fff; background:#2e704d; }
.book-status.making { color:#173f2d; background:#f1c860; }
.book-status.next { color:#fff; background:#a75431; }
.lion-book { --book-accent:#d69328; --book-wash:#f5d59b; }
.elephant-book { --book-accent:#73838a; --book-wash:#d8e0e1; }
.rhino-book { --book-accent:#8a806d; --book-wash:#ddd8ce; }
.leopard-book { --book-accent:#bd7823; --book-wash:#f2cf8e; }
.buffalo-book { --book-accent:#59422f; --book-wash:#d7c3a9; }
.buffalo-mark { color:#fff; background:#66503c; font-size:.8rem; font-weight:1000; letter-spacing:.08em; }
.books-note { display:grid; grid-template-columns:1.1fr .9fr; gap:24px; margin-top:28px; padding:24px 26px; border-radius:22px; background:rgba(255,255,255,.7); box-shadow:0 10px 28px rgba(68,42,16,.1); }
.books-note p { margin:0; line-height:1.65; }
.print-section { background:var(--paper); }
.priority-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.priority-card { padding:28px; border-radius:24px; background:#fff; box-shadow:var(--shadow); }
.priority-card.essential { border-top:8px solid var(--clay); }
.priority { margin:0; color:var(--clay); font-size:.72rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.priority-card li { margin:.55rem 0; }
.priority-card p:last-child { line-height:1.6; }
.size-table-wrap { margin-top:36px; overflow-x:auto; border-radius:22px; box-shadow:var(--shadow); }
table { width:100%; min-width:760px; border-collapse:collapse; background:#fff; }
th,td { padding:17px 18px; border-bottom:1px solid #e3dac4; text-align:left; vertical-align:top; }
th { color:#fff; background:var(--forest); }
tbody tr:last-child td { border-bottom:0; }
.explorer-number { display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(30px,7vw,100px); align-items:start; }
.explorer-number p { font-size:1.08rem; line-height:1.75; }
.final-cta { padding:clamp(70px,9vw,120px) 20px; color:#fff; background:linear-gradient(135deg,#924427,#c17b2c); text-align:center; }
.final-cta h2 { color:#fff; }
.final-cta p { font-size:1.12rem; }
.final-cta .button { color:var(--forest); background:#fff7df; }
footer { display:flex; flex-wrap:wrap; justify-content:center; gap:16px 30px; padding:30px 20px; color:#e7efe9; background:#071e15; text-align:center; }
footer p { margin:0; font-family:Georgia,serif; font-weight:700; }
footer small { width:100%; opacity:.7; }
.collection-dialog { width:min(1500px,calc(100vw - 30px)); max-height:calc(100vh - 30px); padding:0; border:6px solid #f8e9be; border-radius:22px; background:#f8e9be; box-shadow:0 30px 90px rgba(0,0,0,.48); overflow:visible; }
.collection-dialog::backdrop { background:rgba(7,29,19,.88); backdrop-filter:blur(7px); }
.collection-dialog img { display:block; width:100%; height:auto; max-height:calc(100vh - 42px); object-fit:contain; border-radius:15px; }
.collection-close { position:absolute; z-index:2; top:-17px; right:-17px; display:grid; width:46px; height:46px; place-items:center; border:2px solid var(--forest); border-radius:50%; color:var(--forest); background:#fff; font-size:1.6rem; cursor:pointer; box-shadow:0 5px 18px rgba(0,0,0,.35); }
.collection-close:hover,.collection-close:focus-visible { color:#fff; background:var(--forest); outline:3px solid #fff; }
@media (max-width:1100px) { .book-series-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:900px) { .downloads-hero { grid-template-columns:1fr; } .hero-art { min-height:330px; } .kit-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .book-series-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .downloads-header { align-items:flex-start; } .brand span { display:none; } .downloads-hero { min-height:0; padding-top:70px; } h1 { font-size:clamp(2.8rem,14vw,4.5rem); } .hero-art { min-height:270px; } .map-grid,.priority-grid,.explorer-number,.book-series-grid,.books-note { grid-template-columns:1fr; } .safari-preview span { right:10px; bottom:10px; font-size:.72rem; } .kit-grid { grid-template-columns:1fr; } .book-tile { min-height:0; } .section { padding-block:65px; } }
