/* playcatd.com — shared styles (no external CSS besides Google Fonts). */
:root {
  --bg: #0d0a0a; --surface: #171211; --surface-2: #211816; --line: #33261f;
  --gold: #ffcf66; --amber: #ff9b31; --text: #f9f4ed; --muted: #b3aaa3; --ok: #7bd88f; --warn: #ffb35c;
  --radius: 18px; --shell: min(1120px, calc(100% - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 'DM Sans', system-ui, sans-serif; overflow-x: hidden; }
a { color: var(--gold); }
a:hover { color: var(--amber); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 7vw, 84px); letter-spacing: -.04em; font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.shell { width: var(--shell); margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(13, 10, 10, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 20px Outfit, sans-serif; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand small { display: block; font: 500 11px 'DM Sans', sans-serif; color: var(--muted); letter-spacing: .08em; }
nav ul { display: flex; gap: 6px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--gold); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: linear-gradient(180deg, var(--gold), var(--amber));
  color: #1a0f05; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { color: #1a0f05; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: grid; align-items: end; padding: 64px 0 56px; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,10,10,.2) 0%, rgba(13,10,10,.55) 55%, var(--bg) 100%); }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); max-width: 640px; color: #efe6dc; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(23,18,17,.8); font-size: 13px; font-weight: 700; color: var(--gold); }

/* sections */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); margin: 0; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; }
.split { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }

/* documents */
.doc { padding: 48px 0 72px; }
.doc .shell { max-width: 820px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); }
.doc h2 { font-size: 24px; margin-top: 2em; }
.doc h3 { font-size: 18px; margin-top: 1.5em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: .3em 0; }
.doc .meta { color: var(--muted); font-size: 14px; }
.note { background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 12px; padding: 16px 18px; margin: 1.5em 0; }
table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--gold); font-weight: 700; }
.table-wrap { overflow-x: auto; }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .92em; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .shell { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
footer ul { display: flex; gap: 8px 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
footer a { color: var(--muted); }
footer a:hover { color: var(--gold); }
.staging-banner { background: #5a2d00; color: #fff3e0; text-align: center; font-weight: 700; padding: 8px 16px; font-size: 14px; }

@media (max-width: 640px) {
  .top .shell { padding: 10px 0; }
  nav ul { gap: 4px 14px; }
  section.block { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
