/* boomjack.okbyus.com — one stylesheet for every page.
   System fonts only: the site loads nothing from anyone else, which the
   privacy page says, so it must stay true. */
:root {
  --ground: #f6f3ec;
  --panel: #ffffff;
  --ink: #17140f;
  --ink-soft: #57503f;
  --rule: #e2dbc9;
  --accent: #9a5a00;
  --accent-soft: #fff1d6;
  --cherry: #c41d26;
  --shadow: rgba(23, 20, 15, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0d0e10;
    --panel: #16181b;
    --ink: #f2ede2;
    --ink-soft: #b4ab98;
    --rule: #2a2d31;
    --accent: #ffba3d;
    --accent-soft: #2a2110;
    --cherry: #ff5a5a;
    --shadow: rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  --ground: #0d0e10;
  --panel: #16181b;
  --ink: #f2ede2;
  --ink-soft: #b4ab98;
  --rule: #2a2d31;
  --accent: #ffba3d;
  --accent-soft: #2a2110;
  --cherry: #ff5a5a;
  --shadow: rgba(0, 0, 0, .45);
}
/* The landing page is night in the attic whatever the setting: its pictures
   are photographs of a dark room, and a pale page around them fights them. */
body.night {
  --ground: #0a0b0d;
  --panel: #14161a;
  --ink: #f2ede2;
  --ink-soft: #b4ab98;
  --rule: #26292e;
  --accent: #ffba3d;
  --accent-soft: #2a2110;
  --cherry: #ff4d4d;
  --shadow: rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img, video { display: block; max-width: 100%; height: auto; }

/* Lettering: heavy capitals, spaced out, the way the app letters BROADCAST. */
.letters {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.eyebrow {
  font: 800 .74rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem;
}

/* ---------- Text pages: support, privacy, press, 404 ---------- */
.wrap { max-width: 44rem; margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem) 16px 5rem; }
.wrap.wide { max-width: 60rem; }
.home {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 2.4rem;
  color: var(--ink); text-decoration: none;
}
.home img { width: 34px; height: 34px; border-radius: 8px; }
.home span { font-weight: 900; letter-spacing: .16em; text-transform: uppercase; font-size: .9rem; }
h1 {
  font-weight: 900; font-size: clamp(2rem, 6vw, 2.9rem); line-height: 1.08;
  letter-spacing: -.01em; margin: 0 0 .7rem; text-wrap: balance;
}
.lede { font-size: 1.1rem; color: var(--ink-soft); margin: 0 0 2.2rem; }
.updated { color: var(--ink-soft); font-size: .93rem; margin: 0 0 2.4rem; }
.wrap h2 {
  font-weight: 800; font-size: 1.25rem; line-height: 1.3; margin: 2.6rem 0 .7rem; text-wrap: balance;
}
.wrap h3 { font-weight: 700; font-size: 1.02rem; margin: 1.6rem 0 .4rem; }
.wrap p, .wrap li { color: var(--ink); }
.wrap ul { padding-left: 1.2rem; }
.wrap li { margin: .35rem 0; }
.note {
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  padding: .9rem 1.1rem; border-radius: 8px; margin: 1.5rem 0;
}
.note p { margin: 0; }
dl.facts { display: grid; grid-template-columns: 11rem 1fr; gap: .5rem 1.2rem; margin: 0; }
dl.facts dt { font-weight: 700; }
dl.facts dd { margin: 0; color: var(--ink-soft); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 1rem 0; }
.shots figure { margin: 0; background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.shots img { width: 100%; height: 14rem; object-fit: cover; background: #000; }
.shots figcaption { padding: .6rem .8rem; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Footer, every page ---------- */
footer { border-top: 1px solid var(--rule); }
footer .inner {
  max-width: 64rem; margin: 0 auto; padding: 1.6rem 16px 2.4rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; justify-content: space-between;
  font-size: .92rem; color: var(--ink-soft);
}
footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .credit { flex-basis: 100%; font-size: .82rem; }

@media (max-width: 34rem) {
  dl.facts { grid-template-columns: 1fr; gap: .1rem; }
  dl.facts dd { margin-bottom: .6rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
