/* Maple Ridge Home Services — theme.css
   Plumbing & electrical contractor: white ground, strong workwear blue,
   red emergency accent, bold geometric sans, maple-leaf mark. */

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */

:root {
  /* Two-part lockup: line 1 over line 2. --brand-name is the full-name fallback. */
  --brand-name: "Maple Ridge Home Services";
  --brand-name-1: "Maple Ridge";
  --brand-name-2: "Home Services";

  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #f2f5fa;
  --color-ink: #16233a;
  --color-ink-muted: #5a6b84;
  --color-brand: #1c4e9e;
  --color-brand-deep: #143a77;
  --color-navy: #0f1c30;
  --color-on-brand: #ffffff;
  --color-accent: #d92d2a;
  --color-border: #dbe3ee;
  --color-link: #1c4e9e;
  --color-star: #f0a828;

  --font-display: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 6px;
  --shadow-sm: 0 1px 3px rgba(15, 28, 48, 0.08);
  --shadow-md: 0 10px 28px rgba(15, 28, 48, 0.12);

  --container-max: 1140px;
  --section-pad: 5rem;

  /* Maple-leaf brand mark traced from the mockup, brand blue + white.
     Used by brand marks (header, footer, van door) & media slots. */
  --leaf-blue: url("../../assets/img/maple-ridge/brand-mark-leaf.svg");
  --leaf-white: url("../../assets/img/maple-ridge/brand-mark-leaf-white.svg");
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

a { color: var(--color-link); }

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-pad); }
.section-alt { background: var(--color-surface-alt); }

.section-head {
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: 2.75rem;
  text-align: center;
}

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0.7rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--color-ink-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

/* The leaf sits bare on whatever it is placed over: no tile, border, or
   radius behind it. Height drives the size; the SVG's own 416x496 ratio
   gives the width. */
.brand-mark {
  height: 2.75rem;
  aspect-ratio: 416 / 496;
  flex: none;
  background: var(--leaf-blue) center / contain no-repeat;
}

/* Two-part lockup. Shared HTML ships an empty .brand-name span, so the two
   parts come from its pseudo-elements; bespoke pages may supply the same two
   parts as real markup (.brand-name-1 / .brand-name-2) instead. */
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--color-brand);
}

.brand-name:empty::before { content: var(--brand-name-1); }
.brand-name:empty::after { content: var(--brand-name-2); }

.brand-name:empty::before,
.brand-name-1 {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.brand-name:empty::after,
.brand-name-2 {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-block: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink);
  padding-block: 0.35rem;
}

.nav-link:hover { color: var(--color-brand); }

.nav-link.is-active { color: var(--color-brand); }

.nav-cta { margin-left: 0.25rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--color-brand);
  color: var(--color-on-brand);
  border-color: var(--color-brand);
}

.btn-primary:hover {
  background: var(--color-brand-deep);
  border-color: var(--color-brand-deep);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.btn-secondary:hover {
  background: var(--color-surface-alt);
}

.btn-small {
  font-size: 0.76rem;
  padding: 0.55rem 1rem;
}

/* ---------- Cards & media ---------- */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover { box-shadow: var(--shadow-md); }

.card-media { flex: none; }

.card-media .media-ph { border-radius: 0; border: 0; }

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.card-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
}

.card-text {
  color: var(--color-ink-muted);
  font-size: 0.94rem;
  margin: 0;
  flex: 1;
}

.card-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-brand);
  margin-top: 0.6rem;
}

.card-link::after { content: " \2192"; color: var(--color-accent); }

.card-link:hover { color: var(--color-brand-deep); }

/* Photography mood: cool mountain-sky gradient with a faint white leaf */
.media-ph {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    var(--leaf-white) center / 34% no-repeat,
    linear-gradient(155deg, #cfdff2 0%, #8fb0d8 42%, #40699f 78%, #26497d 100%);
  background-blend-mode: soft-light, normal;
  min-height: 120px;
}

.media-ph--wide { aspect-ratio: 16 / 9; }
.media-ph--square { aspect-ratio: 1 / 1; }
.media-ph--tall { aspect-ratio: 3 / 4; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-navy);
  color: #b6c3d6;
  margin-top: var(--section-pad);
  border-top: 4px solid var(--color-brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.25rem;
  padding-block: 3.25rem 2.5rem;
}

.footer-col { display: flex; flex-direction: column; gap: 0.45rem; align-items: flex-start; }

.footer-about .brand-mark {
  background-image: var(--leaf-white);
}

.footer-about .brand-name { color: #ffffff; }

.footer-tagline { color: #8fa1ba; font-size: 0.92rem; margin: 0.85rem 0 0; }

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.6rem;
}

.footer-link {
  color: #b6c3d6;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-link:hover { color: #ffffff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  color: #8fa1ba;
}

/* ---------- Dashboard ---------- */

.dash-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 2rem;
  align-items: start;
  padding-block: 2.5rem;
}

.dash-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem;
  position: sticky;
  top: 1.25rem;
}

.dash-nav { display: flex; flex-direction: column; gap: 2px; }

.dash-nav-link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink-muted);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
}

.dash-nav-link:hover { background: var(--color-surface-alt); color: var(--color-ink); }

.dash-nav-link.is-active {
  background: var(--color-surface-alt);
  color: var(--color-brand);
  border-left-color: var(--color-accent);
}

.dash-main { display: flex; flex-direction: column; gap: 1.75rem; min-width: 0; }

.dash-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.page-title { font-size: 1.75rem; font-weight: 800; margin: 0 0 0.25rem; }

.page-sub { color: var(--color-ink-muted); margin: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-brand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

.stat-delta {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.stat-delta.is-up { color: #1d7a3e; }
.stat-delta.is-down { color: var(--color-accent); }
.stat-delta.is-info { color: var(--color-brand); }

.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

.panel-body { padding: 1.4rem; overflow-x: auto; }

/* ---------- Table ---------- */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.table thead th {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--color-on-brand);
  background: var(--color-brand);
  padding: 0.65rem 0.9rem;
}

.table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.table tbody tr:nth-child(even) { background: var(--color-surface-alt); }

.table tbody tr:hover { background: #e8eef8; }

/* ---------- Badges ---------- */

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
  color: var(--color-ink-muted);
  border: 1px solid var(--color-border);
}

.badge.is-success { background: #e2f2e7; color: #1d7a3e; border-color: #bfe0ca; }
.badge.is-warning { background: #fdecec; color: #b32220; border-color: #f3c6c5; }
.badge.is-info { background: #e6eefb; color: var(--color-brand); border-color: #c4d5ef; }

/* ---------- Activity & avatar ---------- */

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.94rem;
}

.activity-item:last-child { border-bottom: 0; }

.activity-time {
  margin-left: auto;
  flex: none;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-on-brand);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Forms ---------- */

.form-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.1rem; }

.form-label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.form-input,
.form-select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  max-width: 26rem;
}

.form-input:focus,
.form-select:focus {
  outline: 2px solid var(--color-brand);
  outline-offset: 0;
  border-color: var(--color-brand);
}

.form-actions { margin-bottom: 0; }

/* ---------- Blog post ---------- */

.post { padding-top: 3rem; }

.post-header {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 2.25rem;
}

.post-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  margin: 0.85rem 0 0.6rem;
}

.post-excerpt {
  font-size: 1.12rem;
  color: var(--color-ink-muted);
  margin-bottom: 1.4rem;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}

.post-meta .avatar { width: 32px; height: 32px; font-size: 0.72rem; }

.post-meta-author { font-weight: 600; color: var(--color-ink); }

.post-meta-sep { color: var(--color-border); }

.post-hero { max-width: 54rem; margin-inline: auto; margin-bottom: 3rem; }

.tag-list {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-brand);
  background: #e6eefb;
  border: 1px solid #c4d5ef;
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.7rem;
}

.tag:hover { background: #d7e4f7; }

/* ---------- Prose ---------- */

.prose {
  max-width: 44rem;
  margin-inline: auto;
  font-size: 1.05rem;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 2.2em;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--color-border);
}

.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }

.prose p { margin-bottom: 1.15em; }

.prose a { color: var(--color-link); text-decoration-color: var(--color-accent); }

.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.15em; }

.prose li { margin-bottom: 0.4em; }

.prose li::marker { color: var(--color-brand); font-weight: 700; }

.prose blockquote {
  margin: 1.75em 0;
  padding: 1rem 1.4rem;
  background: var(--color-surface-alt);
  border-left: 4px solid var(--color-brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-brand-deep);
}

.prose blockquote p { margin: 0; }

.prose figure { margin: 2em 0; }

.prose figcaption {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  text-align: center;
  margin-top: 0.6rem;
}

.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.12em 0.4em;
  color: var(--color-brand-deep);
}

.prose pre {
  background: var(--color-navy);
  color: #dbe6f5;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose pre code { background: none; border: 0; padding: 0; color: inherit; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin: 1.5em 0;
}

@media (max-width: 640px) {
  /* keep wide tables scrolling inside their own box, not the page */
  .prose table { display: block; overflow-x: auto; }
}

.prose table th {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--color-on-brand);
  background: var(--color-brand);
  padding: 0.6rem 0.85rem;
}

.prose table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

.prose table tbody tr:nth-child(even) { background: var(--color-surface-alt); }

.prose hr {
  border: 0;
  border-top: 3px solid var(--color-border);
  margin: 2.5em 0;
}

.prose .media-ph { min-height: 200px; }

/* ---------- Author card & related ---------- */

.author-card {
  max-width: 44rem;
  margin: 3rem auto 0;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
}

.author-card .avatar { width: 48px; height: 48px; }

.author-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.author-card-bio { color: var(--color-ink-muted); font-size: 0.94rem; margin: 0; }

.related-posts { padding-bottom: 1rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---------- Photography (shared pages) ----------
   Real imagery layered over each slot's painted gradient (kept as the
   loading/fallback layer). A soft brand-blue tint multiplies into each
   photo so the pack sits in the theme's cool palette. */

.post-hero .media-ph {
  background:
    linear-gradient(rgba(28, 78, 158, 0.12), rgba(28, 78, 158, 0.12)),
    url("../../assets/img/pack/blog-hero.webp") center / cover no-repeat,
    linear-gradient(155deg, #cfdff2 0%, #8fb0d8 42%, #40699f 78%, #26497d 100%);
  background-blend-mode: multiply, normal, normal;
}

.prose figure .media-ph {
  background:
    linear-gradient(rgba(28, 78, 158, 0.12), rgba(28, 78, 158, 0.12)),
    url("../../assets/img/pack/blog-figure.webp") center / cover no-repeat,
    linear-gradient(155deg, #cfdff2 0%, #8fb0d8 42%, #40699f 78%, #26497d 100%);
  background-blend-mode: multiply, normal, normal;
}

.related-grid .card:nth-child(1) .media-ph {
  background:
    linear-gradient(rgba(28, 78, 158, 0.12), rgba(28, 78, 158, 0.12)),
    url("../../assets/img/pack/blog-rel-1.webp") center / cover no-repeat,
    linear-gradient(155deg, #cfdff2 0%, #8fb0d8 42%, #40699f 78%, #26497d 100%);
  background-blend-mode: multiply, normal, normal;
}

.related-grid .card:nth-child(2) .media-ph {
  background:
    linear-gradient(rgba(28, 78, 158, 0.12), rgba(28, 78, 158, 0.12)),
    url("../../assets/img/pack/blog-rel-2.webp") center / cover no-repeat,
    linear-gradient(155deg, #cfdff2 0%, #8fb0d8 42%, #40699f 78%, #26497d 100%);
  background-blend-mode: multiply, normal, normal;
}

.related-grid .card:nth-child(3) .media-ph {
  background:
    linear-gradient(rgba(28, 78, 158, 0.12), rgba(28, 78, 158, 0.12)),
    url("../../assets/img/pack/blog-rel-3.webp") center / cover no-repeat,
    linear-gradient(155deg, #cfdff2 0%, #8fb0d8 42%, #40699f 78%, #26497d 100%);
  background-blend-mode: multiply, normal, normal;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-nav-link { border-left: 0; border-bottom: 3px solid transparent; }
  .dash-nav-link.is-active { border-left: 0; border-bottom-color: var(--color-accent); }
}

@media (max-width: 640px) {
  :root { --section-pad: 3.25rem; }
  .site-header-inner { justify-content: center; }
  .site-nav { justify-content: center; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .dash-header { align-items: flex-start; flex-direction: column; }
  .activity-item { flex-wrap: wrap; }
  .activity-time { margin-left: 0; width: 100%; padding-left: calc(38px + 0.9rem); }
}
