/* Theme for how-i-built-this, generated from shows/how-i-built-this/show.json - edit it there. */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/how-i-built-this/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"), url(/how-i-built-this/fonts/archivo-latin-wdth-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/how-i-built-this/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"), url(/how-i-built-this/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/how-i-built-this/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/how-i-built-this/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { --bg: #484848; --surface: #2b2b2b; --surface-2: #3a3a3a; --ink: #ffffff; --ink-2: #c8c8c8; --line: #6e6e6e; --rule: #8a8a8a; --accent: #f0c018; --accent-ink: #1c1c1c; --accent-2: #c8c8c8; --focus: #f0c018; --saved: #f0c018; --playing: #ffffff; --playing-ink: #1c1c1c; --footer-bg: #2b2b2b; --footer-ink: #ffffff; --footer-ink-2: #c8c8c8; --footer-ink-3: #c8c8c8; --footer-fine: #c8c8c8; --footer-rule: rgba(200,200,200,.35); --footer-field-bg: #f2f0eb; --footer-field-ink: #1c1c1c; --danger: #ffb4ab; --danger-strong: #ffb4ab; --danger-ink: #3b0a06; --error-bg: #4a2420; --error-ink: #ffd9d4; --error-line: #ffb4ab; --backdrop: rgba(10,10,10,.62); --c0: #f28e2b; --c1: #4da8e8; --c2: #f178b6; --c3: #9d8df1; --c4: #59c27b; --c5: #3cc7c0; --c6: #d9b77e; --c7: #a7b1bc; --c8: #b7d63f; --c9: #ee5d50; --serif: "Archivo", "Arial Narrow", Arial, sans-serif; --sans: "Archivo", "Arial Narrow", Arial, sans-serif; --texture: none; --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M1 1v10M199 1v10M1 6H199' fill='none' stroke='%23f0c018' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); --map-cluster: #f0c018; --map-place: #f0c018; --map-ring: #ffffff; --map-label: #e6e6e6; --map-halo: #2b2b2b; --map-stroke: #1c1c1c; --map-land: #383838; --map-water: #232323; --map-line: #505050; --map-text: #c8c8c8; --map-bg: #2b2b2b; --map-status-bg: #2b2b2b; --map-status-ink: #ffffff; --map-ctrl-line: #8a8a8a; }
/* shows/how-i-built-this/theme.css */
/* How I Built This - theme layer 2. A job site at dusk: flat graphite, hazard-tape yellow used like paint on asphalt
   (the line you follow, the thing you press, the marks that measure), concrete spec-sheet surfaces for dense lists.
   Restyles; it never moves or hides the engine's markup. The tokens in show.json are the graphite scheme; surfaces
   that read as concrete re-scope them below, so everything the engine draws there (text, links, buttons, chips)
   picks the concrete values up without a rule of its own.
   Contrast pairs follow the design brief: white on graphite 9.15, hazard on graphite 5.34, ink on hazard 9.95,
   chalk on graphite 5.47, ink on concrete 14.96, rebar on concrete 5.87, hazard-deep on concrete 5.70.
   Never white on hazard, never steel as text. */

:root {
  color-scheme: dark;
  --graphite: #484848; --asphalt: #2b2b2b; --hb-ink: #1c1c1c; --concrete: #f2f0eb; --chalk: #c8c8c8; --steel: #8a8a8a;
  --rebar: #5c5c5c; --hazard: #f0c018; --hazard-deep: #765a00; --hazard-tint: #fbefc4;
  --hb-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --cut: 12px;
  --hb-grid: linear-gradient(rgba(138, 138, 138, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(138, 138, 138, .1) 1px, transparent 1px);
}
::selection { background: var(--hazard); color: var(--hb-ink); }

/* ---------- concrete: where the engine's lists and detail pages sit ---------- */
.card, table.list, .mappanel, dialog.drawer, ul.elist, ol.elist, .hb-concrete {
  --bg: var(--concrete); --surface: var(--concrete); --surface-2: #e6e2d8; --ink: var(--hb-ink); --ink-2: var(--rebar);
  --line: #c9c4b8; --rule: var(--hb-ink); --accent: var(--hazard); --accent-ink: var(--hb-ink); --accent-2: var(--hb-ink);
  --focus: var(--hb-ink); --saved: var(--hazard); --playing: var(--hb-ink); --playing-ink: var(--hazard);
  --danger: #b3261e; --danger-strong: #b3261e; --danger-ink: #fff;
  --c0: #b85a08; --c1: #1f78b4; --c2: #be2f7c; --c3: #5b49c9; --c4: #2a8049; --c5: #12807b; --c6: #8c6b2d; --c7: #5e6b78; --c8: #667f0c; --c9: #c0392b;
  color: var(--ink);
}
.hb-concrete, ul.elist, ol.elist { background: var(--concrete); }
.card a, table.list a, .mappanel a, dialog.drawer a:not(.btn), .hb-concrete a:not(.btn),
.card .linkbtn, .mappanel .linkbtn, dialog.drawer .linkbtn, .hb-concrete .linkbtn { color: var(--hazard-deep); }
dialog.drawer .rel-item .ver, .hb-concrete details.more summary { color: var(--hazard-deep); }
.card .chip.guest, dialog.drawer .chip.guest, .hb-concrete .chip.guest { color: var(--hazard-deep); border-color: var(--hazard-deep); }

/* ---------- type ---------- */
body { font-family: var(--serif); font-stretch: 100%; font-weight: 400; font-size: 16px; line-height: 1.55; letter-spacing: .005em; }
h1, h2, h3 { font-weight: 900; font-stretch: 62%; text-transform: uppercase; letter-spacing: .005em; line-height: .98; }
h1 { font-size: 28px; } h2 { font-size: 32px; } h3 { font-size: 21px; }
.mono, .hb-dim, .card .sub, .erow .sub, .toolbar .count, .group-head .meta, .legend, .pl-label, .fan-tag, .chip .n, .bar .cnt, .bar .lbl,
.facts dt, .heard-tag, .sc .when, .sc .sub, table.list th, .ltabs .count, .pill, .rank .v, table.heat th, .spot, .foot .contact span, .nf-status {
  font-family: var(--hb-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-stretch: 100%;
}
.card .sub, .erow .sub, .toolbar .count, .group-head .meta, .legend, .sc .when, .sc .sub, .bar .cnt, .bar .lbl, .spot, .foot .contact span, .nf-status, table.heat th { font-size: 11.5px; }
.pill, .chip .n, .rank .v, .fan-tag, .heard-tag, .facts dt, .pl-label { font-size: 12px; }
table.list th { font-size: 12px; }

/* ---------- header: the name, a dimension line under it, the tabs ---------- */
header.top { border-bottom: 1px solid var(--steel); padding-bottom: 0; }
.head-row { align-items: center; }
.head-row .brand { flex: 1 1 560px; max-width: 900px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.wordmark { font-size: clamp(30px, 3.6vw, 50px); line-height: .94; }
.wordmark a.home { text-decoration: none; }
.fan-tag { font-size: 12px; letter-spacing: .06em; border-color: var(--hazard); color: var(--hazard); padding: 2px 7px; top: -6px; margin-left: 12px; vertical-align: middle; }
/* the dimension line: end ticks, the catalog's own numbers in the middle (so the label is never stale) */
.brand #stats { display: flex; align-items: center; gap: 12px; margin: 0; font: 500 12px/1.3 var(--hb-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--chalk); }
.brand #stats::before, .brand #stats::after { content: ""; flex: 1 1 20px; min-width: 20px; height: 14px; }
.brand #stats::before { background: linear-gradient(var(--hazard), var(--hazard)) center / 100% 1.5px no-repeat, linear-gradient(var(--hazard), var(--hazard)) left center / 1.5px 100% no-repeat; }
.brand #stats::after { background: linear-gradient(var(--hazard), var(--hazard)) center / 100% 1.5px no-repeat, linear-gradient(var(--hazard), var(--hazard)) right center / 1.5px 100% no-repeat; }
nav.tabs { margin-top: 18px; gap: 2px; }
nav.tabs a { font: 800 15px/1 var(--serif); font-stretch: 75%; text-transform: uppercase; letter-spacing: .03em; padding: 8px 18px; color: var(--chalk); }
nav.tabs a:hover { color: #fff; }
nav.tabs a[aria-current="page"] { color: var(--hb-ink); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
nav.tabs a:focus-visible { outline-offset: -4px; clip-path: none; }
nav.tabs a .pill { background: var(--asphalt); color: #fff; border-radius: 0; }
.filterbar { border-bottom-color: var(--line); }
.filterbar.active { border-bottom: 2px solid var(--hazard); }

/* ---------- buttons, chips, fields ---------- */
.btn { border-width: 2px; border-color: #fff; color: #fff; font: 800 15px/1 var(--serif); font-stretch: 75%; text-transform: uppercase; letter-spacing: .03em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.btn.small { font-size: 13.5px; }
.btn:hover { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
.btn.primary { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
.btn.primary:hover { background: var(--hb-ink); border-color: var(--hazard); color: var(--hazard); }
.btn.danger { border-color: var(--danger); color: var(--danger); }
.btn.danger:hover { background: var(--danger-strong); border-color: var(--danger-strong); color: var(--danger-ink); }
.btn:disabled { color: #fff; border-color: #fff; }
.btn:focus-visible, .star:focus-visible, .chip:focus-visible { clip-path: none; outline: 2px solid var(--focus); outline-offset: 2px; }
.card .btn, table.list .btn, .mappanel .btn, dialog.drawer .btn, .hb-concrete .btn { border-color: var(--hb-ink); color: var(--hb-ink); }
.card .btn:hover, table.list .btn:hover, .mappanel .btn:hover, dialog.drawer .btn:hover, .hb-concrete .btn:hover { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
.mappanel .btn.primary, dialog.drawer .btn.primary, .hb-concrete .btn.primary { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
.mappanel .btn.primary:hover, dialog.drawer .btn.primary:hover, .hb-concrete .btn.primary:hover { background: var(--hb-ink); border-color: var(--hb-ink); color: var(--hazard); }
dialog.drawer .btn[data-save][aria-pressed="true"], .hb-concrete .btn[data-save][aria-pressed="true"] { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
.btn[data-save][aria-pressed="true"]:hover { background: var(--hb-ink); border-color: var(--hb-ink); color: var(--hazard); }
.linkbtn { color: var(--hazard); }

.chip { background: var(--surface); border-color: #a3a3a3; font-family: var(--serif); font-stretch: 85%; font-weight: 600; font-size: 13.5px; }
button.chip:hover { border-color: #fff; }
button.chip[aria-pressed="true"] { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
button.chip[aria-pressed="true"] .n { color: var(--hb-ink); opacity: 1; }
.card .chip, dialog.drawer .chip, .hb-concrete .chip { border-color: #a39e91; }
.card .tags .chip { font-size: 12.5px; }
.chip .n { font-weight: 500; }
/* the filter rail's short lists read as a spec sheet: names left, counts in mono on the right */
.rail #f-format, .rail #f-industry, .rail #f-crisis { flex-direction: column; flex-wrap: nowrap; gap: 3px; }
.rail #f-format .chip, .rail #f-industry .chip, .rail #f-crisis .chip { width: 100%; justify-content: flex-start; }
.rail #f-format .chip .n, .rail #f-industry .chip .n, .rail #f-crisis .chip .n { margin-left: auto; }
.rail h2 { font-size: 21px; margin: 26px 0 10px; padding-top: 12px; border-top: 1px solid var(--steel); }
.rail h2:first-child { border-top: 0; padding-top: 0; }
.field label { font-family: var(--hb-mono); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--chalk); }
.field input[type="search"], .field select, select.inline { background-color: var(--asphalt); border-color: #a3a3a3; border-width: 1px; }
:focus-visible { outline-width: 2px; }
.dot { border-radius: 0; }
.star { border-radius: 0; border: 2px solid var(--steel); background: transparent; }
.card .star, table.list .star, .elist .star, .hb-concrete .star, .minilist .star, dialog.drawer .star { border-color: var(--hb-ink); }
.star svg { stroke: #fff; }
.card .star svg, table.list .star svg, .elist .star svg, .hb-concrete .star svg, .minilist .star svg, dialog.drawer .star svg { stroke: var(--hb-ink); }
.star[aria-pressed="true"] { background: var(--hazard); border-color: var(--hazard); }
.star[aria-pressed="true"] svg { stroke: var(--hb-ink); fill: var(--hb-ink); }
.star.heard-btn[aria-pressed="true"] { background: var(--chalk); border-color: var(--chalk); }
.star.heard-btn[aria-pressed="true"] svg { stroke: var(--hb-ink); fill: none; }
.card .star.heard-btn[aria-pressed="true"], table.list .star.heard-btn[aria-pressed="true"], .elist .star.heard-btn[aria-pressed="true"], .hb-concrete .star.heard-btn[aria-pressed="true"] { background: var(--hb-ink); border-color: var(--hb-ink); }
.card .star.heard-btn[aria-pressed="true"] svg, table.list .star.heard-btn[aria-pressed="true"] svg, .elist .star.heard-btn[aria-pressed="true"] svg, .hb-concrete .star.heard-btn[aria-pressed="true"] svg { stroke: var(--concrete); }
/* the one round thing on the site: the play button */
.star.play-btn { border-radius: 50%; background: var(--hazard); border-color: var(--hazard); }
.star.play-btn svg { fill: var(--hb-ink); stroke: none; }
.star.play-btn[aria-pressed="true"] { background: #fff; border-color: #fff; }
.card .star.play-btn[aria-pressed="true"], .elist .star.play-btn[aria-pressed="true"], table.list .star.play-btn[aria-pressed="true"], .hb-concrete .star.play-btn[aria-pressed="true"], dialog.drawer .star.play-btn[aria-pressed="true"] { background: var(--hb-ink); border-color: var(--hb-ink); }
.card .star.play-btn[aria-pressed="true"] svg, .elist .star.play-btn[aria-pressed="true"] svg, table.list .star.play-btn[aria-pressed="true"] svg, .hb-concrete .star.play-btn[aria-pressed="true"] svg, dialog.drawer .star.play-btn[aria-pressed="true"] svg { fill: var(--hazard); }
.heard-tag { color: var(--chalk); }
.card .heard-tag, dialog.drawer .heard-tag { color: var(--hb-ink); }

/* ---------- where to start ---------- */
details.start { background: var(--asphalt); border-color: var(--line); }
details.start > summary { outline-offset: -4px; }
details.start h2 { font-size: 34px; }
details.start > summary .hint { color: var(--hazard); font-family: var(--hb-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sc { background: var(--graphite); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); border-color: var(--line); }
.sc h3 { font: 500 12.5px/1.2 var(--hb-mono); letter-spacing: .08em; color: var(--hazard); }
.sc h3 span { color: var(--chalk); font-weight: 500; }
.sc .what { font-weight: 800; font-stretch: 80%; font-size: 17px; }
.sc li { border-top-color: var(--line); }
.sc-guides p a { color: #fff; }
.sc-guides p a:hover { color: var(--hazard); }
.sc button.go { color: #fff; font-family: var(--serif); font-size: 15px; }

/* ---------- the time strip and panels on the blueprint grid ---------- */
.strip, .panel { background-color: var(--surface); background-image: var(--hb-grid); background-size: 24px 24px; border-color: var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.strip-head p, .panel > p.note { color: var(--chalk); }
.panel h2, .strip h2 { font-size: 34px; }
.bar[aria-pressed="true"] .stack { outline-color: var(--hazard); }
.bar .stack { background: var(--surface-2); }
.rank .track, .group-head .mix { background: #3d3d3d; }
.rank li button { font-family: var(--serif); font-size: 14.5px; }
table.heat tbody th { background: var(--asphalt); color: var(--chalk); font-family: var(--serif); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 13px; }
table.heat th { color: var(--chalk); }
table.heat td button.zero { background: #333; }
svg text { fill: var(--chalk); }
svg .gridline { stroke: rgba(138, 138, 138, .35); }
svg .mark.saved { stroke: #fff; stroke-width: 2; }
/* an episode with a founding year but no industry (a nonprofit, say) has no color; the engine leaves its fill unset */
svg .mark[fill="undefined"] { fill: var(--chalk); }
.tip { font-family: var(--hb-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; background: #fff; color: var(--hb-ink); }

/* ---------- the list: group heads with a dimension line, concrete cards ---------- */
.group-head { border-bottom: 0; padding: 4px 0 0; row-gap: 6px; }
.group-head::after { content: ""; flex: 0 0 100%; height: 14px; margin-bottom: 4px;
  background: linear-gradient(var(--hazard), var(--hazard)) center / 100% 1.5px no-repeat, linear-gradient(var(--hazard), var(--hazard)) left center / 1.5px 100% no-repeat, linear-gradient(var(--hazard), var(--hazard)) right center / 1.5px 100% no-repeat; }
.group-head h2 { font-size: 38px; }
.group-head .meta { color: var(--chalk); }
.cards { gap: 10px; }
.card { background: var(--concrete); border: 0; border-bottom: 3px solid var(--concrete); padding: 14px 16px 12px; gap: 14px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); transition: border-color var(--t); }
.card:hover { border-bottom-color: var(--hazard); }
.card.saved { box-shadow: inset 6px 0 0 var(--hazard); padding-left: 22px; }
.card .body { display: flex; flex-direction: column; }
.card .sub { order: -1; margin: 0 0 7px; color: var(--rebar); }
.card .ttl { font: 800 19px/1.14 var(--serif); font-stretch: 78%; letter-spacing: .005em; color: var(--hb-ink); }
.card .tags { margin-top: 10px; }
.card .tags .chip { background: transparent; }
.empty { background: var(--asphalt); border-color: var(--line); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.empty p { color: var(--chalk); }
.toolbar .count { color: var(--chalk); }

/* ---------- saved, timeline lists, map panel (concrete) ---------- */
table.list { border-color: var(--hb-ink); }
table.list th { background: #e0dcd0; border-bottom: 2px solid var(--hb-ink); }
table.list td.ttlc button { font-family: var(--serif); font-weight: 800; font-stretch: 80%; font-size: 17px; }
ul.elist, ol.elist { padding: 0 16px; }
.erow .ttl { font-weight: 800; font-stretch: 80%; font-size: 17px; }
.erow .yr { font-family: var(--hb-mono); font-weight: 500; font-size: 14px; }
.erow.saved { box-shadow: inset 5px 0 0 var(--hazard); padding-left: 14px; }
h3.era-h { font-size: 24px; border-bottom: 1.5px solid var(--hazard); color: #fff; margin-top: 28px; }
.ltabs { border-bottom: 1.5px solid var(--hazard); }
.ltabs button { font: 800 17px/1.15 var(--serif); font-stretch: 75%; text-transform: uppercase; color: var(--chalk); }
.ltabs button[aria-selected="true"] { color: var(--hb-ink); }
.mappanel { border: 1px solid var(--hb-ink); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.mappanel .rank .track { background: #ddd8cb; }
.mapbox { border-color: var(--steel); }
.map-reset { background: var(--asphalt); color: #fff; border-color: #fff; }
.mapbox .maplibregl-ctrl-group { border-radius: 0; }

/* ---------- drawer: the detail page, concrete ---------- */
dialog.drawer { border-left: 5px solid var(--hazard); }
.drawer-top h2 { font-size: 32px; line-height: 1.04; text-transform: none; font-stretch: 78%; letter-spacing: .005em; }
.drawer .facts { gap: 8px 18px; }
.drawer .facts dt { color: var(--rebar); padding-top: 3px; }
.drawer .desc.own .hook { font-size: 19px; line-height: 1.4; font-weight: 500; }
.drawer .minilist button.go { font-family: var(--serif); font-weight: 600; }
.rerun-line > span:first-child { font-family: var(--hb-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.drawer h3 { font-size: 24px; }

/* ---------- player: asphalt with the hazard stripe on its top edge ---------- */
.player { background: var(--asphalt); border-top: 0; padding-top: 14px; }
.player::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(45deg, var(--hb-ink) 0 8px, var(--hazard) 8px 16px); }
.pl-play { width: 48px; height: 48px; background: var(--hazard); }
.pl-play svg { fill: var(--hb-ink); }
.pl-skip, .pl-close { border-color: #fff; color: #fff; border-width: 2px; font-family: var(--hb-mono); }
.pl-skip:hover, .pl-close:hover { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
.pl-title { font-family: var(--serif); font-weight: 800; font-stretch: 80%; }
.pl-seek input { accent-color: var(--hazard); }

/* ---------- dialogs, toast, footer ---------- */
dialog.ask { border-color: var(--steel); }
dialog.ask h2 { font-size: 30px; }
.rel-list { border-top: 1.5px solid var(--hazard); }
.rel-item .new { color: var(--hb-ink); }
.rel-item h3, .rel-item summary { font-stretch: 80%; text-transform: none; font-size: 18px; font-weight: 800; }
.toast { font-family: var(--serif); font-weight: 600; }
.foot { background: var(--asphalt); border-top: 1px solid var(--steel); }
.foot h2 { font-size: 40px; }
.foot h3 { font-size: 22px; }
.foot p { font-weight: 400; }
.foot a { color: #fff; }
.foot .btn { color: #fff; border-color: #fff; }
.foot .btn:hover { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
.foot .fine p, .foot .fine { color: var(--chalk); }
.note-box summary { color: #fff; }

/* ---------- shared pieces of the show's components ---------- */
.hb-dim { margin: 0; font-size: 12px; color: var(--chalk); line-height: 1.4; }
.hb-concrete .hb-dim, .hb-row .hb-dim { color: var(--rebar); }
.hb-tb { background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer; font: 800 19px/1.14 var(--serif); font-stretch: 78%; color: inherit; }
.hb-tb:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.hb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; font: 700 12px/1.3 var(--serif); font-stretch: 75%; text-transform: uppercase; letter-spacing: .04em; border: 1.5px solid currentColor; }
.hb-f-full { color: var(--hb-ink); }
.hb-f-advice { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
.hb-f-lab { color: var(--hazard-deep); border-color: var(--hazard-deep); }
.hb-f-resil { background: var(--chalk); border-color: var(--chalk); color: var(--hb-ink); }
.hb-f-live { background: var(--hb-ink); border-color: var(--hb-ink); color: #fff; }
.hb-f-special { color: var(--rebar); border-style: dashed; }
.hb-f-rebro { color: var(--hb-ink); border-left: 6px solid var(--hazard); }
.hb-dot { width: 8px; height: 8px; background: var(--hazard); display: inline-block; }
.hb-ind { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 12.5px; font-stretch: 85%; color: var(--rebar); border-color: #a39e91; }
.hb-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 14px 0 14px 12px; border-bottom: 1px solid #c9c4b8; list-style: none; }
.hb-row-main { display: grid; gap: 6px; min-width: 0; align-content: start; }
.hb-row-main > p { margin: 0; }
.hb-t { margin: 0; font-size: inherit; line-height: 1; text-transform: none; font-stretch: 100%; font-weight: inherit; }
.hb-hook { font-size: 15.5px; line-height: 1.45; color: var(--hb-ink); max-width: 62ch; }
.hb-status { font: 500 12px/1.4 var(--hb-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--rebar); border: 1px solid #a39e91; padding: 2px 8px; justify-self: start; }
.hb-orig { font-size: 14px; color: var(--rebar); }
.hb-rerun { border-left: 6px solid var(--hazard); padding-left: 14px; }
.hb-acts { display: flex; gap: 8px; align-items: flex-start; }
@media (max-width: 600px) {
  .head-row .brand { flex-basis: 100%; }
  .brand #stats { display: block; border-top: 1.5px solid var(--hazard); padding-top: 6px; font-size: 11px; }
  .brand #stats::before, .brand #stats::after { display: none; }
  .group-head h2 { font-size: 32px; }
  .hb-row { grid-template-columns: minmax(0, 1fr); }
  .hb-acts { justify-content: flex-start; }
}

/* ---------- the Founding Skyline's box (skyline.js) ---------- */
.sk { background-color: var(--asphalt); background-image: var(--hb-grid); background-size: 24px 24px; border: 1px solid var(--line); padding: 32px 28px 24px; margin-bottom: 24px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.sk-head { max-width: 880px; }
.sk-h { font-size: clamp(46px, 7.6vw, 96px); line-height: .9; margin: 0 0 14px; }
.sk-lede { font-size: 17px; line-height: 1.55; max-width: 64ch; margin: 0; color: #fff; }
.sk-controls { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; margin: 22px 0 14px; }
.sk-ctl { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.sk-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.sk-lab { font: 500 12px/1 var(--hb-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--chalk); margin-right: 6px; }
.sk-filt { font: 500 12px/1.4 var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--hazard); margin: 0 0 8px; }
.sk-filt[hidden], .sk-stage[hidden], .sk-readout[hidden], .sk-listbox[hidden] { display: none; }
.sk-scroll { overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; }
.sk-svg { display: block; max-width: none; }
.sk-grid { stroke: rgba(138, 138, 138, .4); stroke-width: 1; stroke-dasharray: 2 5; }
.sk-base { stroke: var(--steel); stroke-width: 1.5; }
.sk-tick { stroke: var(--steel); stroke-width: 1; }
svg text.sk-t { font: 500 11px var(--hb-mono); letter-spacing: .06em; fill: var(--chalk); }
svg text.sk-dimt { fill: #fff; font-size: 11.5px; }
svg text.sk-note { fill: #fff; }
svg text.sk-y10 { fill: var(--hazard); }
.sk-dim { stroke: var(--hazard); stroke-width: 1.5; fill: none; }
.sk-knock { fill: var(--asphalt); }
.sk-lead { stroke: var(--steel); stroke-width: 1; }
.sk-stripe { fill: url(#skHaz); }
.sk-bar { cursor: pointer; transition: opacity .18s; }
.sk-bar.sk-off { opacity: .15; }
.sk-bar.sk-sel { stroke: #fff; stroke-width: 1.5; }
.sk-bar:focus { outline: none; }
.sk-bar:focus-visible { stroke: #fff; stroke-width: 2.5; }
.sk-cursor { stroke: var(--hazard); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
@keyframes sk-rise { from { transform: scaleY(.02); } to { transform: scaleY(1); } }
.sk-grow { transform-box: fill-box; transform-origin: 50% 100%; animation: sk-rise .75s cubic-bezier(.2, .7, .2, 1) both; }
.sk-readout { min-height: 96px; margin: 14px 0 12px; padding: 12px 16px 14px; background: var(--graphite); border-left: 5px solid var(--hazard); }
.sk-r-t { margin: 4px 0 10px; }
.sk-r-t .hb-tb { font-size: 25px; color: #fff; }
.sk-r-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-r-hint { margin: 0; color: var(--chalk); padding-top: 22px; }
.sk-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--chalk); align-items: center; }
.sk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sk-legend .sk-lab { margin-right: 0; }
.sk-listbox { margin-top: 14px; padding: 8px 18px 18px; }
.sk-count { font: 500 12px var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--rebar); margin: 10px 0 0; }
.sk-ol { list-style: none; margin: 0; padding: 0; }
.sk-ol li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t p" "d p"; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid #c9c4b8; }
.sk-ol .hb-tb { grid-area: t; font-size: 18px; }
.sk-ol .hb-dim { grid-area: d; }
.sk-ol .play-btn { grid-area: p; align-self: center; }
.sk-more { text-align: center; margin: 14px 0 0; }
@media (max-width: 600px) {
  .sk { padding: 22px 16px 18px; }
  .sk-h { font-size: 52px; }
  .sk-lede { font-size: 16px; }
  .sk-r-t .hb-tb { font-size: 21px; }
}
/* the engine's strip has a column for episodes that span many years; no company has one, so it stays out of the way */
.bar.sep { display: none; }
.bar.sep + .bar { border-left: 1px dashed var(--line); padding-left: 3px; }

/* ---------- The Blueprint (blueprint.js) ---------- */
.bp, .hw, .sa, .sw, .pw { max-width: 1280px; }
.bp-head, .hw-head, .sa-head, .sw-head, .pw-head { margin-bottom: 18px; }
.bp-h, .hw-h, .sa-h, .sw-h, .pw-h { font-size: clamp(44px, 6.4vw, 84px); line-height: .92; margin: 0 0 10px; }
.bp-lede, .hw-lede, .sa-lede, .sw-lede, .pw-lede { max-width: 66ch; margin: 0; font-size: 17px; line-height: 1.55; }
.bp-gauge { margin: 0 0 22px; max-width: 640px; }
.bp-g-t { margin: 0 0 6px; font: 800 22px/1.1 var(--serif); font-stretch: 78%; text-transform: uppercase; letter-spacing: .01em; }
.bp-g-t strong { color: var(--hazard); font-weight: 800; }
.bp-g-svg { display: block; margin: 0 0 6px; }
.bp-g-track { fill: none; stroke: var(--steel); stroke-width: 1.5; }
.bp-g-fill { fill: var(--hazard); }
.bp-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1.5px solid var(--hazard); }
.bp-tab { display: inline-flex; align-items: baseline; gap: 10px; background: none; border: 0; cursor: pointer; padding: 12px 18px; min-height: 48px; color: var(--chalk);
  font: 800 19px/1.1 var(--serif); font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em; }
.bp-tab:hover { color: #fff; }
.bp-tab[aria-selected="true"] { background: var(--hazard); color: var(--hb-ink); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.bp-tab:focus-visible { outline-offset: -4px; clip-path: none; }
.bp-n { font: 500 12px var(--hb-mono); letter-spacing: .04em; }
.bp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 16px 0; }
.bp-count { margin: 0; font: 500 12px/1.4 var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--chalk); }
.bp-bar-acts { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.bp-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px 0 10px; background: var(--asphalt); border: 2px solid #fff; color: #fff; cursor: pointer;
  font: 800 15px/1 var(--serif); font-stretch: 75%; text-transform: uppercase; letter-spacing: .03em; }
.bp-switch[aria-disabled="true"] { opacity: .5; cursor: default; }
.bp-knob { position: relative; width: 38px; height: 22px; background: #4a4a4a; border: 2px solid var(--steel); flex: none; }
.bp-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: var(--chalk); transition: transform var(--t); }
.bp-switch[aria-checked="true"] { border-color: var(--hazard); }
.bp-switch[aria-checked="true"] .bp-knob { background: var(--hazard); border-color: var(--hazard); }
.bp-switch[aria-checked="true"] .bp-knob::after { transform: translateX(16px); background: var(--hb-ink); }
.bp-build { margin: 0 0 18px; padding: 14px 18px 16px; background: var(--hazard); color: var(--hb-ink); display: grid; gap: 8px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.bp-build .hb-dim { color: var(--hb-ink); }
.bp-build .hb-chips .hb-chip { color: var(--hb-ink); }
.bp-build .hb-f-advice { background: var(--hb-ink); border-color: var(--hb-ink); color: var(--hazard); }
.bp-build .hb-f-resil { background: transparent; border-color: var(--hb-ink); }
.bp-build .hb-f-rebro { border-left-color: var(--hb-ink); }
.bp-build .hb-dot { background: var(--hazard); }
.bp-b-t { margin: 0; }
.bp-b-t .hb-tb { font-size: 28px; }
.bp-build .star { border-color: var(--hb-ink); }
.bp-build .star svg { stroke: var(--hb-ink); }
.bp-build .star.play-btn { background: var(--hb-ink); border-color: var(--hb-ink); }
.bp-build .star.play-btn svg { fill: var(--hazard); stroke: none; }
.bp-build .star[aria-pressed="true"]:not(.play-btn) { background: var(--hb-ink); border-color: var(--hb-ink); }
.bp-build .star[aria-pressed="true"]:not(.play-btn) svg { stroke: var(--hazard); fill: var(--hazard); }
.bp-build .star.heard-btn[aria-pressed="true"] svg { fill: none; }
.bp-build :focus-visible { outline-color: var(--hb-ink); }
.bp-panel { padding: 4px 22px 22px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.bp-year { font-size: 30px; margin: 22px 0 4px; padding-bottom: 6px; border-bottom: 2px solid var(--hb-ink); color: var(--hb-ink); }
.hb-list { list-style: none; margin: 0; padding: 0; }
.bp-more { text-align: center; margin: 18px 0 0; }
.bp-empty { padding: 40px 8px; text-align: center; }
.bp-empty h3 { font-size: 40px; margin-bottom: 8px; }
.bp-empty p { margin: 0 0 12px; }
@media (max-width: 600px) {
  .bp-tab { padding: 10px 12px; font-size: 16px; }
  .bp-bar-acts { margin-left: 0; }
  .bp-panel { padding: 2px 14px 18px; }
  .bp-g-t { font-size: 19px; }
  .bp-b-t .hb-tb { font-size: 23px; }
}

/* ---------- The Hardware Store (hardware.js) ---------- */
.hw-find { max-width: 560px; margin: 0 0 14px; }
.hw-lab { display: block; font: 500 12px/1 var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--chalk); margin-bottom: 6px; }
.hw-q { width: 100%; min-height: 48px; padding: 0 16px; background: var(--asphalt); color: #fff; border: 1px solid #a3a3a3; border-radius: 0; font: 400 17px var(--serif); }
.hw-aisles, .hw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.hw-chips { padding-top: 4px; }
.hw-count { margin: 6px 0 18px; font: 500 12px/1.4 var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--chalk); }
.hw-aisle { margin: 0 0 34px; }
.hw-sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; background: var(--hb-ink); padding: 12px 20px 12px; margin-bottom: 14px; border-bottom: 3px solid var(--hazard);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.hw-num { font: 500 13px/1 var(--hb-mono); letter-spacing: .1em; color: var(--hazard); }
.hw-sign h3 { font-size: 34px; display: inline-flex; align-items: center; gap: 12px; }
.hw-sign .dot { width: 16px; height: 16px; }
.hw-ct { margin-left: auto; font: 500 12px var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--chalk); }
.hw-shelf { list-style: none; margin: 0 0 6px; padding: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; border-bottom: 6px solid #3a3a3a; }
.hw-sec { margin-bottom: 8px; }
.hw-shelf-h { font-size: 22px; margin: 18px 0 10px; display: flex; align-items: baseline; gap: 10px; color: #fff; }
.hw-shelf-h span { font: 500 12px var(--hb-mono); color: var(--chalk); letter-spacing: .06em; }
.hw-box { position: relative; display: flex; flex-direction: column; border-top: 6px solid var(--ind); min-height: 112px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.hw-main { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; background: none; border: 0; padding: 12px 14px 8px; cursor: pointer; color: var(--hb-ink); min-width: 0; width: 100%; }
.hw-main:hover .hw-co { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hw-main:focus-visible { outline-offset: -4px; }
.hw-co { font: 900 25px/.98 var(--serif); font-stretch: 62%; text-transform: uppercase; overflow-wrap: anywhere; }
.hw-fd { font: 500 14px/1.3 var(--serif); font-stretch: 100%; color: var(--rebar); }
.hw-pc { margin-top: auto; padding-top: 6px; font: 500 11px/1.3 var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--rebar); }
.hw-hk { font-size: 13.5px; line-height: 1.35; color: var(--hb-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hw-also { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 12px 12px; }
.hw-also-b { background: none; border: 1.5px solid var(--hb-ink); padding: 2px 8px; min-height: 24px; cursor: pointer; font: 500 11px/1.2 var(--hb-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--hb-ink); }
.hw-also-b:hover { background: var(--hazard); }
.hw-more-n { font: 500 11px var(--hb-mono); align-self: center; color: var(--rebar); }
.hw-box mark, .hw-main mark { background: var(--hazard-tint); color: var(--hb-ink); padding: 0 1px; box-shadow: 0 -1px 0 var(--hazard) inset; }
.hw-walk { margin: 10px 0 0; }
.hw-empty { padding: 36px 24px; text-align: center; }
.hw-empty h3 { font-size: 40px; margin-bottom: 8px; }
.hw-empty p { margin: 0 0 12px; }
@media (max-width: 600px) {
  .hw-shelf { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .hw-co { font-size: 22px; }
  .hw-sign { padding: 10px 14px; }
  .hw-sign h3 { font-size: 28px; }
  .hw-ct { margin-left: 0; }
}

/* ---------- Second Acts (second-acts.js) ---------- */
.hb-ord { margin: 0; font: 500 12px/1 var(--hb-mono); letter-spacing: .1em; color: var(--hazard-deep); }
.hb-reair { font: 500 12px/1.5 var(--hb-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--rebar); }
.hb-reair .linkbtn { font: inherit; text-transform: inherit; padding: 0 2px; min-height: 24px; }
.sa-detail { padding: 22px 24px 8px; margin: 0 0 26px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.sa-name { font-size: clamp(40px, 5.6vw, 72px); line-height: .92; margin: 6px 0 4px; }
.sa-name:focus { outline: none; }
.sa-name:focus-visible { outline: 2px solid var(--hb-ink); outline-offset: 4px; }
.sa-scroll { overflow-x: auto; margin: 4px 0 10px; }
.sa-svg { display: block; max-width: none; }
.sa-axis { stroke: var(--hb-ink); stroke-width: 2; }
.sa-tick { stroke: var(--rebar); stroke-width: 1; }
.sa-leader { stroke: var(--rebar); stroke-width: 1; }
svg text.sa-t { font: 500 11px var(--hb-mono); letter-spacing: .05em; fill: var(--rebar); }
svg text.sa-lab { fill: var(--hb-ink); paint-order: stroke; stroke: var(--concrete); stroke-width: 5px; stroke-linejoin: round; }
.sa-mark { fill: var(--hb-ink); }
.sa-arrow { fill: none; stroke: var(--hazard); stroke-width: 3; }
.sa-head { fill: var(--hazard); stroke: none; }
.sa-steps .hb-row:last-child { border-bottom: 0; }
.sa-find { max-width: 560px; margin: 0 0 8px; }
.sa-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.sa-card { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px; text-align: left; background: var(--asphalt); color: #fff; border: 2px solid var(--steel); padding: 12px 14px; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); font: inherit; }
.sa-card:hover { border-color: #fff; }
.sa-card[aria-pressed="true"] { background: var(--hazard); border-color: var(--hazard); color: var(--hb-ink); }
.sa-card:focus-visible { clip-path: none; outline: 2px solid #fff; outline-offset: 2px; }
.sa-top { display: flex; align-items: baseline; gap: 10px; }
.sa-cn { font: 900 34px/1 var(--serif); font-stretch: 62%; }
.sa-cname { font: 900 22px/1 var(--serif); font-stretch: 62%; text-transform: uppercase; overflow-wrap: anywhere; }
.sa-cco { font-size: 14px; line-height: 1.3; color: var(--chalk); }
.sa-card[aria-pressed="true"] .sa-cco { color: var(--hb-ink); }
.sa-card .sa-axis { stroke: var(--steel); stroke-width: 1.5; }
.sa-card .sa-mark { fill: var(--hazard); }
.sa-card[aria-pressed="true"] .sa-axis { stroke: var(--hb-ink); }
.sa-card[aria-pressed="true"] .sa-mark { fill: var(--hb-ink); }
.sa-cspan { font: 500 11px var(--hb-mono); letter-spacing: .06em; }
.sa-more { text-align: center; margin: 18px 0 0; }
.sa-empty { padding: 36px 24px; text-align: center; margin-bottom: 24px; }
.sa-empty h3 { font-size: 40px; margin-bottom: 8px; }
@media (max-width: 600px) {
  .sa-detail { padding: 18px 14px 4px; }
  .sa-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .sa-cn { font-size: 28px; }
  .sa-cname { font-size: 19px; }
}

/* ---------- The Advice Line Switchboard (switchboard.js) ---------- */
.sw-find { max-width: 600px; margin: 0 0 18px; }
.sw-ph { font-size: 22px; margin: 4px 0 10px; }
.sw-places { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 4px 28px; }
.sw-pb { width: 100%; display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) 2.2em; gap: 10px; align-items: center; min-height: 36px; padding: 2px 8px; text-align: left; background: none; border: 0; border-left: 4px solid transparent; color: #fff; cursor: pointer; font: 600 15px var(--serif); }
.sw-pb:hover { background: var(--asphalt); }
.sw-pb[aria-pressed="true"] { background: var(--hazard); color: var(--hb-ink); border-left-color: var(--hb-ink); }
.sw-pn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-track { height: 10px; background: #3d3d3d; display: block; }
.sw-track span { display: block; height: 100%; background: var(--hazard); }
.sw-pb[aria-pressed="true"] .sw-track { background: rgba(28, 28, 28, .25); }
.sw-pb[aria-pressed="true"] .sw-track span { background: var(--hb-ink); }
.sw-pv { font: 500 12px var(--hb-mono); text-align: right; letter-spacing: .04em; }
.sw-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.sw-call { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 14px; border-top: 6px solid var(--hb-ink); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.sw-line { margin: 0; font: 500 11.5px/1.3 var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--rebar); display: flex; align-items: center; gap: 8px; }
.sw-jack { width: 14px; height: 14px; border: 3px solid var(--hb-ink); position: relative; flex: none; }
.sw-jack::after { content: ""; position: absolute; inset: 2px; background: var(--hazard); }
.sw-name { font-size: 40px; line-height: .92; margin: 6px 0 0; }
.sw-biz { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 500; }
.sw-place { margin: 0; font: 500 12px/1.3 var(--hb-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--hazard-deep); }
.sw-ans { margin-top: auto; padding-top: 10px; border-top: 1px solid #c9c4b8; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "by p" "who p"; gap: 2px 10px; align-items: center; }
.sw-by { grid-area: by; font: 500 11px var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--rebar); }
.sw-who { grid-area: who; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: var(--hb-ink); font: 800 16px/1.2 var(--serif); font-stretch: 85%; }
.sw-who:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sw-ans .play-btn { grid-area: p; }
.sw-call mark { background: var(--hazard-tint); color: var(--hb-ink); box-shadow: 0 -1px 0 var(--hazard) inset; }
.sw-more { text-align: center; margin: 18px 0 0; }
@media (max-width: 600px) {
  .sw-grid { grid-template-columns: minmax(0, 1fr); }
  .sw-places { grid-template-columns: minmax(0, 1fr); }
  .sw-name { font-size: 36px; }
}

/* ---------- The Pivot Wall (pivot-wall.js) ---------- */
.pw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.pw-wall { margin: 0 0 34px; }
.pw-sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; background: var(--hb-ink); padding: 12px 20px; margin-bottom: 14px; border-bottom: 3px solid var(--hazard); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.pw-sign h3 { font-size: 34px; }
.pw-ct { margin-left: auto; font: 500 12px var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--chalk); }
.pw-care { margin: 0 0 12px; max-width: 70ch; color: var(--chalk); font-size: 15px; }
.pw-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.pw-card { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); border-bottom: 3px solid var(--concrete); }
.pw-card:hover { border-bottom-color: var(--hazard); }
.pw-card > p { margin: 0; }
.pw-co { margin: 0; }
.pw-b { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--hb-ink); font: 900 28px/.98 var(--serif); font-stretch: 62%; text-transform: uppercase; overflow-wrap: anywhere; }
.pw-b:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pw-fd { font-size: 15px; color: var(--rebar); }
.pw-card .hb-hook { font-size: 15px; }
.pw-cn { font-size: 13px; color: var(--rebar); line-height: 1.4; }
.pw-cn span { font: 500 11px var(--hb-mono); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; color: var(--hb-ink); }
.pw-card .hb-acts { margin-top: auto; padding-top: 8px; }
.pw-more { margin: 12px 0 0; }
@media (max-width: 600px) { .pw-grid { grid-template-columns: minmax(0, 1fr); } .pw-sign h3 { font-size: 28px; } .pw-ct { margin-left: 0; } }

/* the Patterns grids have a column for episodes that span many years; no company does. It's the 12th cell of a
   row (the row label, ten founding-decade columns, then this one), so it goes if the periods in show.json change. */
table.heat thead th:nth-child(12), table.heat tbody td:nth-child(12) { display: none; }

