/* ═══════════════════════════════════════════════════
   Dragonbane Campaign Site — shared.css
   Fonts: Barlow Condensed (≈ Hideout) · EB Garamond (≈ Minion Pro)
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ── Color System ── */
:root {
  --parchment:     #EAE0C2;
  --parchment-mid: #DFD4AC;
  --parchment-dark:#C8BA8E;
  --green-dark:    #2A3E2E;
  --green-mid:     #3A5840;
  --green-light:   #4D7A58;
  --teal:          #3E6E5A;
  --teal-light:    #5A9478;
  --red:           #C42020;
  --ink:           #1C1408;
  --ink-mid:       #3A2A10;
  --ink-light:     #5A4830;
  --muted:         #7A6A48;
  --gold:          #B8961A;
  --gold-light:    #D4B040;
  --cream:         #F5EDD8;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Base ── */
body {
  font-family: 'EB Garamond', Georgia, serif;
  background-color: var(--parchment);
  background-image: url('art/parchment_grain.png');
  background-size: 512px 512px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.78;
  -webkit-text-size-adjust: 100%;
}

/* ── Hamburger button (floating pill, no nav bar) ── */
.db-hamburger {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 200;
  background: rgba(20, 28, 16, 0.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(90, 148, 120, 0.35);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  transition: background 0.15s, border-color 0.15s;
}
.db-hamburger:hover {
  background: rgba(20, 28, 16, 0.85);
  border-color: rgba(90, 148, 120, 0.6);
}
.db-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #c0d8b0;
  border-radius: 1px;
  transition: background 0.15s;
}
.db-hamburger:hover span { background: #e8f0e0; }

/* ── Drawer backdrop ── */
.db-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.db-drawer-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Drawer panel ── */
.db-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100dvh;
  background: var(--green-dark);
  border-left: 1px solid var(--teal);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.db-drawer.open { transform: translateX(0); }

.db-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 48px;
  border-bottom: 1px solid rgba(90, 148, 120, 0.25);
  flex-shrink: 0;
}
.db-drawer-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment);
  text-decoration: none;
  transition: color 0.15s;
}
.db-drawer-title:hover { color: #fff; }
.db-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #7a9878;
  font-size: 16px;
  padding: 6px 8px;
  line-height: 1;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
}
.db-drawer-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

.db-drawer-inner { padding: 0.5rem 0 2rem; flex: 1; }

.db-drawer-home {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b0c8a8;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.db-drawer-home:hover { background: rgba(255,255,255,0.05); color: #e8f0e0; }
.db-drawer-home.active { color: #e8f0e0; border-left-color: var(--teal-light); }

.db-drawer-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  padding: 1.1rem 1.25rem 0.4rem;
  margin-top: 0.25rem;
}

.db-drawer-link {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  color: #8aaa88;
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  line-height: 1.3;
  border-left: 2px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.db-drawer-link:hover { background: rgba(255,255,255,0.05); color: #d8e8d0; border-left-color: var(--teal); }
.db-drawer-link.active { color: #e0ead8; border-left-color: var(--teal-light); background: rgba(255,255,255,0.05); }
.db-drawer-link-title {
  display: block;
}
.db-drawer-link-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1px;
}
.db-drawer-link-sub {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a8868;
  margin-top: 2px;
}

/* ── Hero Banner ── */
.hero {
  position: relative;
  background: var(--green-dark);
  overflow: hidden;
}
.hero-art {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  opacity: 0.88;
}
.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(20,28,16,0.45) 18%, rgba(20,28,16,0.92) 48%);
  padding: 3rem 1.5rem 1.75rem;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 5vw, 38px);
  color: #F0E8D0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 6px;
}
.hero-title .db-red { color: var(--red); }
.hero-subtitle {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: #90a888;
  font-style: italic;
}

/* ── Session Info Bar ── */
.session-bar {
  background: var(--green-mid);
  border-bottom: 1px solid var(--teal);
  padding: 0.6rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  align-items: center;
}
.session-bar-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #a0c098;
}
.session-bar-meta strong {
  color: #e0ecd8;
  font-weight: 700;
}

.party-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  color: #c0d8b0;
}

/* ── Page Wrapper ── */
.page { max-width: 920px; margin: 0 auto; padding: 0 1.25rem 5rem; }
.page-wide { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem 5rem; }

/* ── Status Bar (Home) ── */
.status-bar {
  background: var(--green-mid);
  border-bottom: 1px solid var(--teal);
  padding: 0.6rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.status-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #a0c098;
}
.status-item strong {
  color: #e0ecd8;
  font-weight: 700;
}

/* ── Section Headers ── */
.section-divider {
  margin-top: 2rem;
}
.section-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--green-dark);
  color: #d8ecd0;
  padding: 8px 16px;
  margin: 0;
  border-top: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-header::before,
.section-header::after {
  content: '\2726';
  font-size: 8px;
  color: var(--teal-light);
  opacity: 0.6;
}

/* ── Part Headers (within narrative) ── */
.part-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.55rem 0 0.25rem;
  margin: 1.75rem 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.part-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--teal);
  opacity: 0.4;
}
.part-header:first-child { margin-top: 0; }

/* ── Body Text ── */
.narrative { margin-top: 1.5rem; }

.body-p {
  font-size: 19px;
  line-height: 1.82;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.body-p:last-child { margin-bottom: 0; }
.body-p em { color: var(--ink-mid); }

/* ── Previously Block ── */
.previously {
  background: var(--cream);
  border: 1px solid var(--parchment-dark);
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--ink-mid);
  font-size: 17px;
  line-height: 1.82;
  position: relative;
}
.previously::before {
  content: '\201C';
  font-family: 'EB Garamond', serif;
  font-size: 72px;
  color: var(--teal);
  opacity: 0.15;
  position: absolute;
  top: -14px; left: 6px;
  line-height: 1;
}

/* ── Pull Quote ── */
.pull-quote {
  border-left: 3px solid var(--gold);
  margin: 1.1rem 0;
  padding: 0.5rem 1rem;
  font-style: italic;
  color: var(--ink-mid);
  font-size: 17px;
  line-height: 1.7;
}

/* ── Art Aside (floated image) ── */
.art-aside {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
  max-width: 210px;
  width: 35%;
  min-width: 130px;
}
.art-aside img {
  width: 100%;
  display: block;
  border: 1.5px solid var(--parchment-dark);
}
.clearfix::after { content: ''; display: table; clear: both; }

/* ── Beats / Lore Lists ── */
.beats-list {
  list-style: none;
  margin-top: 1rem;
}
.beats-list li {
  font-size: 16.5px;
  color: var(--ink-mid);
  padding: 7px 0 7px 22px;
  border-bottom: 0.5px solid var(--parchment-dark);
  position: relative;
  line-height: 1.6;
}
.beats-list li:last-child { border-bottom: none; }
.beats-list li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 10px;
  top: 11px;
}

/* ── Critical Rolls ── */
.crits-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 1rem;
}
.crit-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.45rem;
  padding: 9px 12px;
  border-radius: 2px;
  border: 1px solid;
}
.crit-dragon { background: rgba(184,150,26,0.1); border-color: rgba(184,150,26,0.35); }
.crit-demon  { background: rgba(196,32,32,0.07); border-color: rgba(196,32,32,0.28); }
.crit-char { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: 0.04em; }
.crit-arrow { color: var(--muted); font-size: 12px; }
.crit-dot { color: var(--muted); font-size: 16px; line-height: 1; }
.crit-type {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.crit-type-dragon { color: #8A6400; }
.crit-type-demon  { color: #8A2020; }
.crit-desc { color: var(--ink-mid); font-size: 15px; }

/* ── Open Threads ── */
.threads-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 1rem;
}
.thread-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--parchment-dark);
  border-left: 3px solid var(--teal);
  background: var(--cream);
}
.thread-icon { font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.thread-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.thread-hint { font-size: 15.5px; color: var(--muted); font-style: italic; margin-top: 2px; }

/* ── Tables ── */
.db-table-wrap { margin-top: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.db-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 400px;
}
table.db-table th {
  background: var(--green-dark);
  color: #c8d8c0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,0.07);
}
table.db-table th:last-child { border-right: none; }
table.db-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--parchment-dark);
  color: var(--ink-mid);
  vertical-align: top;
  line-height: 1.55;
}
table.db-table tr:last-child td { border-bottom: none; }
table.db-table tr:nth-child(even) td { background: rgba(0,0,0,0.025); }
.td-name { font-weight: 600; color: var(--ink); }
.td-sub  { font-size: 12px; color: var(--muted); margin-top: 2px; font-style: italic; }

/* ── Lore Items ── */
.lore-item {
  padding: 10px 0 10px 22px;
  border-bottom: 0.5px solid var(--parchment-dark);
  position: relative;
  font-size: 16.5px;
  line-height: 1.65;
}
.lore-item:last-child { border-bottom: none; }
.lore-item::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 9px;
  top: 18px;
}
.lore-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.lore-text { color: var(--ink-mid); margin-top: 3px; }

/* ── Where Things Stand ── */
.where-box {
  margin-top: 1.25rem;
  background: var(--green-dark);
  border: 1px solid var(--teal);
  padding: 1.25rem 1.5rem;
  color: #b8d0b0;
  font-size: 17px;
  line-height: 1.82;
  position: relative;
}
/* Inner border — nod to handbook chapter frame style */
.where-box::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(90, 148, 120, 0.3);
  pointer-events: none;
}
.where-box strong { color: #e0ecd8; }

/* ── Session Cards (Home / Session list) ── */
.session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0;
  margin-top: 0;
  border: 1px solid var(--parchment-dark);
  border-bottom: none;
}
.session-card {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--parchment-dark);
  border-right: 1px solid var(--parchment-dark);
  cursor: pointer;
  background: var(--parchment);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.12s;
  position: relative;
}
.session-card:hover { background: var(--parchment-mid); }
.session-card.latest { background: var(--cream); }
.session-latest-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 2px 7px;
}
.session-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 3px;
}
.session-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.session-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.2;
}
.session-beat {
  font-family: 'EB Garamond', serif;
  font-size: 15.5px;
  color: var(--ink-mid);
  font-style: italic;
  line-height: 1.5;
}

/* ── Home Main Layout ── */
.home-layout {
  display: grid;
  grid-template-columns: 1fr 265px;
  gap: 0;
  align-items: start;
}
.home-sidebar {
  border-left: 1px solid var(--parchment-dark);
  padding: 1.25rem 1.1rem;
}
.sidebar-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--parchment-dark);
}
.sidebar-section { margin-bottom: 1.5rem; }
.thread-mini {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  color: var(--ink-mid);
  padding: 5px 0;
  border-bottom: 0.5px solid var(--parchment-dark);
  line-height: 1.4;
}
.thread-mini:last-child { border-bottom: none; }
.thread-mini-icon { font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.thread-mini-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--teal);
  font-style: italic;
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.party-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 0.5px solid var(--parchment-dark);
  gap: 8px;
}
.party-row:last-child { border-bottom: none; }
.party-char {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.party-player { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Story So Far (Home) ── */
.story-so-far {
  background: var(--cream);
  border: 1px solid var(--parchment-dark);
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  margin-top: 2rem;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink-mid);
  line-height: 1.82;
  position: relative;
}
.story-so-far .previously-label {
  font-size: 17px;
  letter-spacing: 0.14em;
}
.story-so-far::before {
  content: '\201C';
  font-family: 'EB Garamond', serif;
  font-size: 72px;
  color: var(--teal);
  opacity: 0.15;
  position: absolute;
  top: -14px; left: 6px;
  line-height: 1;
}

/* ── Sources (session pages — sits just above the ornament) ── */
.sources-block {
  margin-top: 2.5rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--parchment-dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.sources-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-light);
  margin-right: 0.5rem;
}
.sources-text { font-style: italic; }
.sources-block a { color: var(--teal); text-decoration: none; }
.sources-block a:hover { color: var(--teal-light); text-decoration: underline; }

/* ── Session Prev/Next Nav ── */
.session-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--parchment-dark);
  margin-bottom: 1.75rem;
}
.session-nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: color 0.15s;
  max-width: 38%;
}
.session-nav-link:hover { color: var(--teal); }
.session-nav-link.prev { text-align: left; }
.session-nav-link.next { text-align: right; }
.session-nav-link-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  opacity: 0.65;
}
.session-nav-link-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}
.session-nav-link-title {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}

/* ── Previously Label (inside the previously box) ── */
.previously-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--parchment-dark);
}

/* ── Ornament ── */
.ornament {
  font-family: 'Barlow Condensed', sans-serif;
  text-align: center;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 8px;
  margin: 2rem 0 0;
  opacity: 0.5;
}

/* ── Footer ── */
.db-footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 2px solid var(--teal);
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  line-height: 1.7;
}
.db-footer a { color: var(--teal); text-decoration: none; }
.db-footer a:hover { text-decoration: underline; }

/* ══════════════════════════════
   RESPONSIVE — Mobile First
   ══════════════════════════════ */

/* Stack the home sidebar on mobile */
@media (max-width: 680px) {
  .home-layout {
    grid-template-columns:                     