/* ==========================================================================
   hub-brand.css — Dead Brands styling for the Hub / Commons page
   https://mcp.deadbrands.co/hub  (and /commons, which 302-redirects to /hub)
   Packet: hub-style-packet-1349 — SteTy builds, Rock deploys.
   Dependency-free: no external fonts, no frameworks, no images.
   Brand: Dead Brands red #c1121f on a near-black dark theme, matching
   deadbrands.co / the homepage dark theme.
   The live page (2026-11-08, 2,373 B) is bare semantic HTML — h1, p, a,
   code, b only, no classes or ids — so this sheet styles elements first
   and the .db-header / .db-footer blocks from hub-head-snippet.html second.
   ========================================================================== */

/* --- Page shell ---------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  background: #0b0b0e;
  color: #f2f2f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 880px;
  padding: 0 20px 64px;
  background: #0b0b0e;
}

/* --- Headings ------------------------------------------------------------ */
h1 {
  margin: 28px 0 8px;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  border-left: 6px solid #c1121f;
  padding-left: 14px;
}

h1::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, #c1121f 0%, #c1121f 22%, #2a2a30 22%);
}

/* --- Body copy ----------------------------------------------------------- */
p { margin: 14px 0; color: #d8d8d4; }

b, strong { color: #ffffff; font-weight: 700; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.88em;
  color: #ffd7da;
  background: #1d1d22;
  border: 1px solid #33333a;
  border-radius: 5px;
  padding: 1px 6px;
  white-space: nowrap;
}

/* --- Links --------------------------------------------------------------- */
a { color: #ff5a66; text-decoration: none; border-bottom: 1px solid #c1121f; }
a:hover { color: #ff8a92; border-bottom-color: #ff5a66; }
a:visited { color: #e04855; }
a:focus-visible { outline: 2px solid #ff5a66; outline-offset: 2px; }

/* Rooms line reads as a chip row once the header/footer blocks land; until
   then the bold "Rooms:" lead keeps it scannable. */
p b:first-child { color: #ffffff; }

/* --- Branded header (markup from hub-head-snippet.html) ------------------ */
.db-header {
  margin: 0 -20px 8px;
  padding: 16px 20px 14px;
  background: #141419;
  border-bottom: 3px solid #c1121f;
}

.db-header .db-wordmark {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c1121f;
  margin-bottom: 2px;
}

.db-header .db-title {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.db-header .db-tagline {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: #9a9aa2;
}

.db-nav { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

.db-nav a {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f2f2f0;
  background: #232329;
  border: 1px solid #33333a;
  border-bottom: 1px solid #33333a;
  border-radius: 999px;
}
.db-nav a:hover {
  color: #ffffff;
  background: #c1121f;
  border-color: #c1121f;
}
.db-nav a.db-nav-cta { background: #c1121f; border-color: #c1121f; color: #fff; }
.db-nav a.db-nav-cta:hover { background: #e01322; }

/* --- Branded footer (markup from hub-head-snippet.html) ------------------- */
.db-footer {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid #2a2a30;
  font-size: 0.82rem;
  color: #8a8a92;
  line-height: 1.6;
}

.db-footer a { color: #ff5a66; border-bottom: none; }
.db-footer a:hover { color: #ff8a92; }

.db-footer .db-footer-brand { color: #ffffff; font-weight: 700; }

/* --- Small screens -------------------------------------------------------- */
@media (max-width: 560px) {
  html { font-size: 16px; }
  body { padding: 0 16px 48px; }
  h1 { font-size: 1.6rem; }
  .db-header { margin: 0 -16px 8px; padding: 14px 16px 12px; }
}

/* --- Print: keep it readable, drop the dark theme ------------------------ */
@media print {
  html, body { background: #fff; color: #111; }
  h1 { color: #111; }
  p { color: #222; }
  a { color: #c1121f; }
  .db-header { background: #fff; }
  .db-nav { display: none; }
}