/* DickinsonBros LLC — shared styles. Plain CSS, no build step. */
:root {
  --bg: #ffffff;
  --surface: #f5f6f8;
  --surface-2: #eceef2;
  --text: #13161b;
  --muted: #4d5561;
  --border: #dde1e7;
  --accent: #0b6e66;
  --accent-ink: #ffffff;
  --accent-soft: #e2f3f1;
  --play: #d9480f;
  --play-ink: #ffffff;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
  --b-green-bg: #e3f5e8; --b-green: #1d6b35;
  --b-blue-bg: #e4eefc;  --b-blue: #1f4f9a;
  --b-amber-bg: #fdf0d9; --b-amber: #8a5300;
  --b-violet-bg: #efe7fb; --b-violet: #5b35a0;
  --b-gray-bg: #eceef2;  --b-gray: #454c57;
  --radius: 12px;
  --maxw: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1014;
    --surface: #151a20;
    --surface-2: #1c222a;
    --text: #e9ecf0;
    --muted: #a2abb7;
    --border: #29313b;
    --accent: #3cc7b6;
    --accent-ink: #06201d;
    --accent-soft: #12302d;
    --play: #ff7a3d;
    --play-ink: #1c0a02;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --b-green-bg: #143322; --b-green: #7fd99b;
    --b-blue-bg: #152844;  --b-blue: #8db8ff;
    --b-amber-bg: #3a2a0c; --b-amber: #f3c46b;
    --b-violet-bg: #2a1f42; --b-violet: #c3a6ff;
    --b-gray-bg: #232a33;  --b-gray: #b7c0cc;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 750; color: var(--text); text-decoration: none; letter-spacing: -0.01em; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1px solid transparent; font-size: 1rem; cursor: pointer; line-height: 1.2; }
.btn-play { background: var(--play); color: var(--play-ink); }
.btn-play:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--bg); }
.btn-ghost:hover { background: var(--surface); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 8px; }

/* Hero */
.hero { padding: 48px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.latest { margin-top: 22px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: .95rem; }
.latest time { font-weight: 700; color: var(--text); }
.latest .label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }

/* At-a-glance status panel */
.glance { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 6px 0; box-shadow: var(--shadow); }
.glance h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 18px 6px; margin: 0; }
.glance ul { list-style: none; margin: 0; padding: 0; }
.glance li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 18px; border-top: 1px solid var(--border); }
.glance li:first-child { border-top: 0; }
.glance a { color: var(--text); text-decoration: none; font-weight: 600; }
.glance a:hover { text-decoration: underline; }
.glance .kind { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.glance .badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* Badges */
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; letter-spacing: .01em; }
.b-green { background: var(--b-green-bg); color: var(--b-green); }
.b-blue { background: var(--b-blue-bg); color: var(--b-blue); }
.b-amber { background: var(--b-amber-bg); color: var(--b-amber); }
.b-violet { background: var(--b-violet-bg); color: var(--b-violet); }
.b-gray { background: var(--b-gray-bg); color: var(--b-gray); }

/* Sections */
section { padding: 48px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 46em; margin-bottom: 26px; }
.section-head p { color: var(--muted); }

/* Flagship game */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.feature ul { padding-left: 1.2em; margin: 0 0 1em; }
.feature li { margin: 4px 0; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.shots img, .tool-shot img { border-radius: 8px; border: 1px solid var(--border); cursor: zoom-in; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--surface-2); }
.shots figure, .tool-shot { margin: 0; }
.shots figcaption, .tool-shot figcaption { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.shots button, .tool-shot button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.shots button:focus-visible img, .tool-shot button:focus-visible img { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Tool write-ups */
.tool { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; padding: 30px 0; border-top: 1px solid var(--border); }
.tool:first-of-type { border-top: 0; padding-top: 0; }
.tool.no-shot { grid-template-columns: 1fr; max-width: 50em; }
.tool-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tool-title h3 { margin: 0; font-size: 1.3rem; }
.tool .what { font-size: 1.05rem; }
.tool dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0 0; font-size: .95rem; }
.tool dt { font-weight: 700; color: var(--text); }
.tool dd { margin: 0; color: var(--muted); }
.tool ul { margin: 6px 0 0; padding-left: 1.2em; color: var(--muted); }
.tool-shot img { aspect-ratio: auto; object-fit: contain; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; margin: 8px 0 0; }

/* Updates / timeline */
.updates { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.updates li { position: relative; padding: 0 0 22px 22px; }
.updates li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }
.updates time { font-weight: 700; font-variant-numeric: tabular-nums; }
.updates .tag { margin-left: 8px; }
.updates p { margin: 4px 0 0; color: var(--muted); }

/* About / contact */
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.facts { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--bg); }
.facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Legal pages */
.doc { max-width: 46em; padding-top: 36px; padding-bottom: 48px; }
.doc h2 { font-size: 1.25rem; margin-top: 1.8em; }
.draft-note { border: 1px solid var(--b-amber); background: var(--b-amber-bg); color: var(--text); border-radius: 10px; padding: 12px 16px; font-size: .95rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .9); display: none; align-items: center; justify-content: center; z-index: 200; padding: 16px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 6px; }
.lightbox p { color: #ddd; text-align: center; font-size: .9rem; margin: 10px 0 0; }
.lightbox figure { margin: 0; }
.lightbox .close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

@media (max-width: 880px) {
  .hero-grid, .feature, .tool, .two-col { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  section { padding: 38px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .glance li { padding: 9px 14px; }
  .btn { width: 100%; justify-content: center; }
  .tool dl, .facts dl { grid-template-columns: 1fr; gap: 2px 0; }
  .tool dd, .facts dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.subhead { margin-top: 44px; }
.two-col { align-items: start; }
