/* Shared look for the Metal Mash public pages: the Audio and Tech artwork over a steel plate. */
:root {
  --bg: #15161a;
  --panel: #1f2026;
  --line: #3a3d45;
  --text: #e8e4dc;
  --muted: #9da0a8;
  --ember: #ffb74d;
  --ember-deep: #ff8f00;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
header.banner {
  position: relative;
  /* The artwork is 1600 x 1249 with the lettering in its top half: show it full width, top half only. */
  background: #2a2b2f url("audio-and-tech.jpg") center top / 100% auto no-repeat;
  aspect-ratio: 1600 / 760;
  min-height: 160px;
}
header.banner .fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(to bottom, rgba(21, 22, 26, 0), var(--bg));
}
header.banner .strap {
  position: absolute; left: 0; right: 0; bottom: 10px;
  padding: 0 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 2px 6px #000;
}
main { max-width: 820px; margin: 0 auto; padding: 8px 20px 64px; overflow-wrap: anywhere; }
h1 { color: var(--ember); font-size: 2rem; line-height: 1.15; margin: 8px 0 4px; }
h2 { color: var(--ember); font-size: 1.25rem; margin-top: 2rem; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
h3 { font-size: 1.05rem; margin-bottom: 4px; }
.meta { color: var(--muted); font-size: 0.9rem; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ember); }
/* Table cells break between words, never inside them. The page allows breaking anywhere (for long
   addresses and links), and inside a table that let a narrow column shrink to a letter or two wide. */
th, td { overflow-wrap: break-word; }
a { color: var(--ember); }
code { background: #2a2c33; padding: 1px 5px; border-radius: 4px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; }
ol li, ul li { margin-bottom: 6px; }
nav.pages { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 18px; font-size: 0.95rem; }
nav.pages a { color: var(--muted); text-decoration: none; }
nav.pages a.here, nav.pages a:hover { color: var(--ember); }
footer { max-width: 820px; margin: 0 auto; padding: 0 20px 40px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); }
footer p { margin: 12px 0 0; }
.wide { overflow-x: auto; }

/* On a phone the three-column "What we collect" table has no room for three columns: each row
   becomes a card instead, the item as its heading, the reason under it, where it lives last. */
@media (max-width: 600px) {
  table.collect, table.collect tbody, table.collect tr, table.collect td { display: block; width: 100%; }
  table.collect tr:first-child { display: none; }
  table.collect tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  table.collect td { border: 0; padding: 2px 0; }
  table.collect td:first-child { color: var(--ember); font-weight: 600; font-size: 1.05rem; }
  table.collect td:last-child { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
  table.collect td:last-child::before { content: "Where it lives: "; font-weight: 600; }
}
