:root {
  --bg: #FBFAF6;
  --ink: #111111;
  --muted: #5E5D57;
  --card: #FFFFFF;
  --yellow: #FFDF1F;
  --red: #E8322E;
  --display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: Caveat, 'Comic Sans MS', cursive;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.main { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px max(20px, env(safe-area-inset-right)) 48px max(20px, env(safe-area-inset-left)); }

.dog { display: block; width: 100%; max-width: 340px; height: auto; }

.intro { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.intro h1 { width: 100%; margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 8vw, 56px); line-height: 0.95; letter-spacing: -0.03em; text-wrap: balance; }
.wordmark { display: block; width: min(560px, 100%); height: auto; margin: 0 auto; }
.intro p { margin: 0; font-size: 17px; line-height: 1.45; color: #3E3D39; max-width: 34ch; text-wrap: balance; }

.socials { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.socials a, .row, .big-btn { border: 2px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.socials a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px; background: var(--card); text-decoration: none; font-weight: 600; font-size: 16px; transition: transform .1s, box-shadow .1s, background .1s; }
.socials a:hover { background: var(--yellow); }
.socials a:active, .big-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.handle { font-weight: 400; font-size: 14px; color: var(--muted); }

/* sound effects page */
.big-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 26px; background: var(--yellow); text-decoration: none; font-weight: 700; font-size: 17px; transition: transform .1s, box-shadow .1s; }
.big-btn small { font-weight: 400; font-size: 13px; color: #3E3D39; }
.list { width: 100%; max-width: 480px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list-label { width: 100%; max-width: 480px; margin: 10px 0 -4px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.row { display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; background: var(--card); }
.play { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.play:hover { background: var(--red); }
.play .i-stop { display: none; }
.play[aria-pressed="true"] { background: var(--red); }
.play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-stop { display: block; }
.name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.name strong { font-size: 16px; font-weight: 600; }
.name span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dl { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.dl:hover { background: var(--yellow); }

.foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--muted); text-align: center; }
.foot a { color: var(--muted); }

@media (max-width: 380px) { .dl { padding: 0 10px; } .row { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
