﻿/* Broken Bunny Studios - dark, accessible static site (targets WCAG 2.1 AA).
   Brand kit palette: Orange #FF6A00, Bone #F3E9DD, Charcoal #1A1A1A, Black #000, White #FFF.
   Contrast on #1A1A1A: bone text ~13:1, orange ~6.3:1, muted #cfc6bb ~9:1. Black text on orange ~7:1. */
:root {
  --bbs-orange: #FF6A00;
  --bbs-bone: #F3E9DD;
  --bbs-charcoal: #1A1A1A;
  --bbs-black: #000000;
  --bbs-white: #FFFFFF;
  --bg: var(--bbs-charcoal);
  --panel: #111111;
  --border: #4a4540;
  --text: var(--bbs-bone);
  --muted: #cfc6bb;
  --accent: var(--bbs-orange);
  --brand: var(--bbs-orange);
  --focus: #ffd24a;
  --display: Bahnschrift, "Arial Narrow", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--bbs-white); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--accent); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 68ch; }

.skip-link { position: absolute; left: 0.5rem; top: -4rem; background: var(--focus); color: #000; padding: 0.75rem 1rem; font-weight: 700; z-index: 100; border-radius: 4px; }
.skip-link:focus { top: 0.5rem; }

.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
header.site { border-bottom: 2px solid var(--brand); background: var(--bbs-black); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 0.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; }
.brand img { height: 2.75rem; width: auto; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; }
nav a { display: inline-block; padding: 0.6rem 0.9rem; min-height: 44px; color: var(--text); text-decoration: none; border-radius: 4px; }
nav a:hover { background: #000; color: #fff; text-decoration: underline; }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 3px; }

main { display: block; }
section { padding-block: 3rem; }
section + section { border-top: 1px solid #333; }

.hero { padding-block: 0 3rem; background: linear-gradient(var(--bbs-black), var(--bbs-charcoal) 40%); }
.hero img.banner { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
.hero .intro { padding-top: 2rem; }
.hero .lead { font-size: 1.3rem; color: var(--muted); }

.btn { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; display: inline-block; padding: 0.8rem 1.4rem; min-height: 44px; border: 2px solid var(--accent); border-radius: 6px; background: var(--accent); color: #000; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--bbs-bone); border-color: var(--bbs-bone); color: #000; }
.btn.secondary { background: transparent; color: var(--accent); }
.btn.secondary:hover { background: var(--bbs-bone); color: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.card img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; }
.card .body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card p { color: var(--muted); }
.card .btn-row { margin-top: auto; }
.tag { display: inline-block; font-size: 0.85rem; font-weight: 700; padding: 0.15rem 0.6rem; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); margin-bottom: 0.75rem; }

.old-list { columns: 2 16rem; column-gap: 2rem; padding-left: 1.2rem; }
.old-list li { margin-bottom: 0.6rem; break-inside: avoid; }
.old-list span { color: var(--muted); display: block; font-size: 0.95rem; }

footer.site { background: var(--bbs-black); border-top: 2px solid var(--brand); padding-block: 2rem; color: var(--muted); }
footer.site ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
footer.site a { display: inline-block; padding: 0.5rem 0; min-height: 44px; }

.prose h2 { margin-top: 2rem; }
.prose ul { max-width: 68ch; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .btn { border: 2px solid ButtonText; } }

.sr-note { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.game-art { width: 100%; max-width: 46rem; height: auto; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 1.5rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }

