/* Swiss / International style. Light only: black on white, one red (#e30613), square corners, black rules.
   No dark panels, no green, no pills, no shadows, no rounded cards, no letter-spaced uppercase labels. */
:root {
  --bg: #ffffff; --ink: #000000; --ink-2: #222222; --muted: #666666; --line: #dddddd; --line-2: #bbbbbb;
  --red: #e30613; --focus: #ffc400;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
code { font-size: .9em; background: #f0f0f0; padding: 1px 4px; }
.small { font-size: 15px; color: var(--muted); }

/* header */
.top { background: #fff; border-bottom: 2px solid var(--ink); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 56px; flex-wrap: wrap; }
.brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.topnav { display: flex; margin-left: auto; }
.topnav a { padding: 8px 12px; text-decoration: none; font-size: 16px; }
.topnav a:hover, .topnav a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 560px) { .topnav a { padding: 8px 8px; font-size: 15px; } }

/* type */
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 700; margin: 0; }
h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin: 36px 0 10px; }
h3 { font-size: 18px; margin: 22px 0 4px; font-weight: 700; }
.lede { color: var(--ink-2); margin: 12px 0 0; font-size: 20px; line-height: 1.45; max-width: 62ch; }
.page-top { padding: 28px 0 22px; }
.crumbs { font-size: 15px; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); }

/* player */
.player { border-top: 6px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 0 0 12px; }
.clips { list-style: none; margin: 0; padding: 0; }
.clip { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.clips .clip:last-child { border-bottom: 0; }
.play { appearance: none; width: 72px; height: 72px; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer;
        display: grid; place-items: center; padding: 0; border-radius: 0; touch-action: manipulation; }
.play:hover { background: var(--red); border-color: var(--red); }
.play[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.pi { width: 0; height: 0; border-left: 20px solid currentColor; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 5px; }
.play[aria-pressed="true"] .pi { width: 18px; height: 22px; border: 0; margin: 0; border-left: 6px solid currentColor; border-right: 6px solid currentColor; }
.clip-h { margin: 0 0 6px; display: flex; gap: 12px; align-items: baseline; }
.clip-l { font-weight: 700; font-size: 19px; }
.clip-d { color: var(--muted); font-size: 15px; }
.wave { display: block; width: 100%; height: 40px; cursor: pointer; }
.wave .wb rect { fill: #c8c8c8; }
.wave .wf rect { fill: var(--red); }
.credit { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.4; }
.credit a { color: var(--muted); }
.hint { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
@media (max-width: 560px) { .clip { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; } .play { width: 60px; height: 60px; } }

/* body */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding-bottom: 40px; }
@media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--ink-2); }
.calls { margin: 0; }
.calls dt { font-weight: 700; margin-top: 14px; border-top: 2px solid var(--ink); padding-top: 8px; }
.calls dd { margin: 4px 0 0; }
.calls dd p { margin: 0; }
.tag { font-weight: 400; font-size: 14px; color: var(--red); margin-left: 6px; }
.faq h3 { border-top: 1px solid var(--line); padding-top: 14px; }
.faq p { margin: 4px 0 0; }
.refs { padding-left: 20px; font-size: 15px; }
.side { border-top: 2px solid var(--ink); align-self: start; margin-top: 36px; }
.side h2 { font-size: 17px; margin: 16px 0 6px; letter-spacing: 0; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; }

/* home grid */
.grp h2 { border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 30px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 24px; }
.card { grid-template-columns: 60px minmax(0, 1fr); gap: 12px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.card .play { width: 60px; height: 60px; }
.card-a { text-decoration: none; display: grid; }
.card-n { font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.card-a:hover .card-n { color: var(--red); text-decoration: underline; }
.card-c { font-size: 14px; color: var(--muted); }
.card .wave { grid-column: 1 / -1; height: 22px; }

/* sources */
.src-a h2 { font-size: 20px; margin: 26px 0 6px; border-top: 2px solid var(--ink); padding-top: 8px; }
.src-list { font-size: 15px; padding-left: 22px; margin: 0; }
.src-list li { margin: 4px 0; }

/* footer */
.foot { border-top: 6px solid var(--ink); margin-top: 40px; padding: 24px 0 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(auto-fit, minmax(130px, 1fr)); gap: 18px 24px; }
.foot h2 { font-size: 15px; margin: 0 0 6px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 3px 0; }
.foot-brand { font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.foot-about p { margin: 0 0 8px; color: var(--ink-2); }
.legal { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 12px; color: var(--muted); }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* ── kid picture grid (home + /play/) ─────────────────────────────── */
.kgrid { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.ktile { display: block; padding: 0; border: 0; }
.kbtn { appearance: none; display: block; width: 100%; height: auto; padding: 0; border: 0; border-radius: 0; background: #000; color: #fff; cursor: pointer;
        text-align: left; touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.kart { display: block; width: 100%; height: auto; aspect-ratio: 1; pointer-events: none; }
.kname { display: block; padding: 10px 12px; font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.kbtn:hover { background: #000; }
.kbtn:hover .kname { background: #222222; }
.kbtn[aria-pressed="true"] { background: #000; }
.kbtn[aria-pressed="true"] { outline: 8px solid #000; outline-offset: -8px; }
.kbtn[aria-pressed="true"] .kname { background: var(--red); }
.kbtn[aria-pressed="true"] .kname::after { content: " \25B6"; }
.kbtn:active .kart { transform: scale(.97); }
.kmore { display: block; font-size: 14px; color: var(--muted); padding: 6px 0 0; }
.kid-cta { margin: 18px 0 4px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-kid { display: inline-block; background: #000; color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px; border: 2px solid #000; }
.btn-kid:hover { background: var(--red); border-color: var(--red); color: #fff; }
.grown h3 { margin-top: 18px; }
.glist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 20px; }
.glist a { display: block; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; }

/* full-screen kid mode */
body.kidmode { background: #fff; overscroll-behavior: none; }
.khead { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); border-bottom: 6px solid #000; }
.kbrand { margin: 0; font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.kexit { appearance: none; border: 2px solid #bbbbbb; background: #fff; color: #666666; font: 400 14px var(--sans); padding: 8px 12px; border-radius: 0;
         -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none; }
.kexit.holding { border-color: var(--red); color: var(--red); }
.kidmode main { padding: 14px; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
.kidmode .kgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (min-width: 1000px) { .kidmode .kgrid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 480px) { .kgrid, .kidmode .kgrid { grid-template-columns: 1fr 1fr; gap: 10px; } .kname { font-size: 18px; } }

/* ── animal page extras ───────────────────────────────────────────── */
.page-top.with-art { display: flex; gap: 24px; align-items: center; }
.hero-art { width: 160px; height: 160px; flex: none; }
@media (max-width: 560px) { .page-top.with-art { gap: 14px; } .hero-art { width: 96px; height: 96px; } }
.photo { margin: 0 0 18px; }
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption, .range figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.photo figcaption a, .range figcaption a { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; margin: 0 0 18px; border-top: 2px solid #000; }
.facts div { border-bottom: 1px solid var(--line); padding: 8px 0; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; }
.fsrc { font-weight: 400; font-size: 12px; color: var(--muted); text-decoration: none; vertical-align: super; }
.range { margin: 0 0 18px; }
.range img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
