:root {
  --bg: #f7f4ef;
  --bg-deep: #ebe4d8;
  --ink: #1a1814;
  --muted: #5c574e;
  --line: #d4ccc0;
  --accent: #0f4c3a;
  --accent-soft: #dceee7;
  --card: #fffcf7;
  --max: 720px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #e8f0ea 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #f0e6d8 0%, transparent 50%),
    var(--bg);
}

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

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 2.5rem 0 2rem;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.pill strong {
  color: var(--ink);
  font-weight: 600;
  margin-right: 0.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 0.45rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: #f7f4ef;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--card);
}

section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

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

@media (max-width: 560px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1rem 0.9rem;
}

.stat .value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.stat .label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.proof-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.proof-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  align-items: baseline;
}

.proof-list .title {
  font-weight: 600;
}

.proof-list .views {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.proof-list .note {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--muted);
}

.card-stack {
  display: grid;
  gap: 0.85rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.1rem 1.15rem;
}

.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}

.card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.rates {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.rates th,
.rates td {
  text-align: left;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.rates th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.fineprint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.contact-box {
  background: var(--accent);
  color: #f2f7f4;
  border-radius: 0.75rem;
  padding: 1.5rem 1.35rem;
}

.contact-box h2 {
  color: inherit;
  margin-bottom: 0.4rem;
}

.contact-box p {
  margin: 0 0 1rem;
  opacity: 0.9;
}

.contact-box a.btn-primary {
  background: #f7f4ef;
  color: var(--accent);
}

.contact-box .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.contact-box .links a {
  color: #dceee7;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Multi-page Navigation, Wide Layout, Projects Timeline & Gear Page
   ========================================================================== */

.wrap-wide {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.nav a.active {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.15rem;
}

/* Platform Brand Frames (Instagram Gradient, TikTok Teal/Slate, YouTube Red) */
:root {
  --ig-grad: linear-gradient(135deg, #9b2def 0%, #e1306c 52%, #f77737 82%, #fcaf45 100%);
  --tt-grad: linear-gradient(135deg, #25f4ee 0%, #162238 48%, #fe2c55 100%);
  --yt-grad: linear-gradient(135deg, #ff1a1a 0%, #cc0000 65%, #8f0000 100%);
}

.project-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.35rem 1.35rem 1.5rem;
  margin-bottom: 1.75rem;
}

.project-block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.project-title-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.project-title-btn:hover {
  color: var(--accent);
}

.project-title-static {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.project-sub {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0.25rem 0 0;
  max-width: 54rem;
}

.project-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.project-stat {
  background: #f7f2e9;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.project-stat .ps-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.project-stat .ps-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.peak-stat-list {
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.55rem;
}

.peak-stat-list > div {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.peak-stat-list dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.peak-stat-list dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.peak-platform-peaks {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.mini-peak {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
}

.mini-peak:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mini-peak.is-static {
  cursor: default;
}

.mini-peak.is-static:hover {
  border-color: var(--line);
  color: var(--ink);
}

.peak-card-link {
  text-decoration: none;
  display: block;
}

.clip-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  text-align: center;
  width: 100%;
}

.feed-filters {
  display: inline-flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.feed-filter {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
}

.feed-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.feed-filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Platform logo badges + views chips (Projects) */
.plat-logo-badge {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.plat-logo-badge svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

.plat-logo-badge.sm {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.35rem;
}

.plat-logo-badge.sm svg {
  width: 0.78rem;
  height: 0.78rem;
}

.plat-logo-badge.ig {
  background: linear-gradient(135deg, #833ab4, #e1306c 55%, #f77737);
}

.plat-logo-badge.tiktok {
  background: #111827;
  border: 1px solid rgba(37, 244, 238, 0.65);
  color: #25f4ee;
}

.plat-logo-badge.youtube {
  background: #ff0000;
}

.plat-logo-badge.muted {
  opacity: 0.55;
  margin-bottom: 0.35rem;
}

.views-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
}

.views-chip.solid {
  background: #f3ede2;
  color: var(--ink);
  border: 1px solid var(--line);
}

.views-icon {
  width: 0.85rem;
  height: 0.85rem;
  display: inline-flex;
}

.views-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.phone-card-btn {
  border: none;
  padding: 4px;
  font: inherit;
  text-align: left;
  width: 100%;
}

.phone-screen.is-compact {
  height: 220px;
}

.phone-screen.is-long-screen {
  height: 170px;
}

.peak-panel {
  width: 220px;
}

.peak-stats-toggle {
  width: 100%;
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

.peak-stats-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.peak-stats-toggle .chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
  display: inline-flex;
}

.peak-stats-toggle .chevron svg {
  width: 100%;
  height: 100%;
}

.peak-stats-toggle.is-open .chevron {
  transform: rotate(180deg);
}

.peak-stats-drawer {
  display: block;
  margin-top: 0.35rem;
}

.peak-stats-drawer.is-open {
  display: block;
}

.title-chevron {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  transition: transform 0.2s ease;
  color: var(--muted);
}

.title-chevron svg {
  width: 100%;
  height: 100%;
}

.title-chevron.is-open {
  transform: rotate(180deg);
  color: var(--accent);
}

.mode-pill {
  background: #efe8db;
}

.hint-pill {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}

.mini-peak-plat {
  display: inline-flex;
  align-items: center;
}

.timeline-split.is-matrix .matrix-scroll-right {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.matrix-plat-gutter {
  width: 52px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  position: sticky;
  left: 0;
  z-index: 2;
  background: linear-gradient(90deg, #f2ede4 70%, rgba(242, 237, 228, 0));
  padding-right: 0.35rem;
}

.matrix-plat-name {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.matrix-header-row,
.matrix-plat-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: max-content;
}

/*
 * Peak-matching matrix chrome.
 * Base .matrix-* rules further down set height:100% / 248px rows which
 * squashes the gradient phone-card frame into a thin top line — override hard.
 */
.project-block .matrix-header-row,
.project-block .matrix-plat-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: max-content;
  height: auto;
}

/* Episode labels: text only (no bordered pill = no “random line” above cards) */
.project-block .matrix-col-hdr {
  width: 186px;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0.15rem 0.35rem;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-block .matrix-header-row {
  height: auto;
  min-height: 1.5rem;
  margin-bottom: 0.15rem;
}

.project-block .matrix-cell {
  width: 186px;
  flex-shrink: 0;
  height: auto;
  align-self: flex-start;
}

/* Match Peak Post phone-card exactly — gradient bezel via 4px padding */
.project-block .matrix-cell .phone-card,
.project-block .matrix-cell a.phone-card {
  height: auto !important;
  width: 100%;
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  padding: 4px;
  border-radius: 0.85rem;
  overflow: visible;
  isolation: isolate;
}

.project-block .matrix-cell .phone-screen {
  width: 100%;
  flex: none;
  border-radius: 0.65rem;
  overflow: hidden;
}

/* Shorts / Reels: true 9:16 tall frame */
.project-block .matrix-cell .phone-screen.is-tall-screen,
.project-block .matrix-cell .phone-screen:not(.is-wide-screen) {
  aspect-ratio: 9 / 16;
  height: auto !important;
  min-height: 316px;
}

/* Landscape YouTube film at timeline end */
.project-block .matrix-cell.is-film-col,
.project-block .matrix-col-hdr.is-film-col {
  width: 340px;
}

.project-block .matrix-cell .phone-screen.is-wide-screen,
.project-block .matrix-cell .phone-screen.is-long-screen {
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0;
}

.project-block .matrix-blank-slot {
  width: 186px;
  aspect-ratio: 9 / 16;
  min-height: 324px; /* tall blank matching Shorts frame */
  height: auto;
  box-sizing: border-box;
  align-self: flex-start;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0.85rem;
}

.project-block .matrix-cell.is-film-col .matrix-blank-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

/* Collapsed = visual retract only. Full IG/TT/YT matrix stays in the DOM. */
.project-block.is-collapsed .matrix-plat-row[data-plat-row="tiktok"] {
  height: 78px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.95;
}

.project-block.is-collapsed .proj-yt-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.project-block.is-expanded .proj-yt-wrap {
  max-height: none;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
}

.project-block.is-collapsed .proj-expand-peek[hidden],
.project-block.is-expanded .proj-expand-peek {
  display: none !important;
}

.project-block.is-collapsed .proj-expand-peek:not([hidden]) {
  display: flex;
}

.proj-matrix-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.proj-expand-peek {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  margin-top: -2.75rem;
  min-height: 4.5rem;
  padding: 0 1rem 0.85rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  z-index: 4;
}

.proj-expand-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.5rem;
  background: linear-gradient(
    180deg,
    rgba(242, 237, 228, 0) 0%,
    rgba(242, 237, 228, 0.72) 38%,
    rgba(242, 237, 228, 0.97) 100%
  );
  pointer-events: none;
}

.proj-expand-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(26, 24, 20, 0.12);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.proj-expand-peek:hover .proj-expand-cta {
  transform: translateY(-2px);
  background: #fffcf7;
  border-color: var(--accent);
  color: var(--accent);
}

.proj-expand-cta .chevron.down {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  transform: rotate(0deg);
}

.proj-expand-cta .chevron.down svg {
  width: 100%;
  height: 100%;
}

.proj-collapse-bar {
  display: flex;
  justify-content: center;
  padding: 0.85rem 0 0.25rem;
}

.collapse-btn {
  min-width: 12rem;
}

/* .btn { display:flex } otherwise wins over the HTML hidden attribute */
.project-block [hidden] {
  display: none !important;
}

/* Highlight stats stay visible collapsed + expanded */
.project-block .peak-stats-drawer {
  display: block !important;
}

@media (max-width: 820px) {
  .timeline-split {
    flex-direction: column;
  }

  .timeline-pinned-left,
  .peak-panel {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #bfb5a4;
  }

  .timeline-pinned-left .timeline-track {
    width: 100% !important;
    max-width: 240px;
  }

  .project-block.is-collapsed .matrix-plat-row.is-peek {
    height: 56px;
  }
}

.project-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.42rem 0.8rem;
  font-size: 0.82rem;
  border-radius: 0.4rem;
}

/* Split Horizontal Track: Fixed Left Peak + Scrollable Chronological Right */
.timeline-split {
  display: flex;
  align-items: flex-start;
  background: #f2ede4;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
}

.timeline-pinned-left {
  flex-shrink: 0;
  padding: 0.9rem 1rem 1.1rem;
  background: linear-gradient(180deg, #faf6ef 0%, #f3ede2 100%);
  border-right: 2px solid #bfb5a4;
  box-shadow: 6px 0 18px rgba(26, 24, 20, 0.06);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-scroll-right {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 0.9rem 1.1rem 1.15rem;
  scroll-behavior: smooth;
}

.timeline-col-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.timeline-col-label .fixed-pill {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 0.35rem;
  min-width: max-content;
}

/* Each Timeline Slot Column (Holds Primary Card + Animated Unroll Stack Underneath) */
.clip-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 186px;
  flex-shrink: 0;
  position: relative;
}

.clip-column.is-long {
  width: 268px;
}

.clip-column.is-post {
  width: 196px;
}

/* Platform-Colored Card Shell */
.phone-card {
  width: 100%;
  border-radius: 0.85rem;
  padding: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  user-select: none;
}

.phone-card:hover {
  transform: translateY(-2px);
}

.phone-card.plat-ig {
  background: var(--ig-grad);
  box-shadow: 0 6px 18px rgba(225, 48, 108, 0.24);
}

.phone-card.plat-tiktok {
  background: var(--tt-grad);
  box-shadow: 0 6px 18px rgba(22, 34, 56, 0.26);
}

.phone-card.plat-youtube {
  background: var(--yt-grad);
  box-shadow: 0 6px 18px rgba(204, 0, 0, 0.24);
}

.phone-card.is-expanded {
  box-shadow: 0 10px 26px rgba(15, 76, 58, 0.32);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 316px;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #141413;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.clip-column.is-long .phone-screen {
  height: 182px;
}

.clip-column.is-post .phone-screen {
  height: 245px;
}

.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.phone-card:hover .phone-screen img {
  transform: scale(1.02);
}

.phone-screen-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0.12) 62%,
    rgba(0, 0, 0, 0.82) 100%
  );
  pointer-events: none;
}

/* Top & Bottom Overlay Chrome Inside Phone Screen */
.phone-top-bar {
  position: relative;
  z-index: 2;
  padding: 0.5rem 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.plat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.48rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.plat-badge.ig {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.92), rgba(225, 48, 108, 0.92), rgba(252, 175, 69, 0.92));
}

.plat-badge.tiktok {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(37, 244, 238, 0.55);
}

.plat-badge.youtube {
  background: rgba(204, 0, 0, 0.92);
}

.step-badge {
  background: rgba(20, 20, 19, 0.72);
  color: #f7f4ef;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.45rem;
  border-radius: 0.3rem;
  backdrop-filter: blur(4px);
}

.phone-bottom-bar {
  position: relative;
  z-index: 2;
  padding: 0.6rem 0.6rem 0.55rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.phone-views-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.phone-views-pill {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  padding: 0.14rem 0.45rem;
  border-radius: 0.3rem;
  color: #fff;
}

.phone-direct-link {
  color: #fff;
  background: rgba(15, 76, 58, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.14rem 0.45rem;
  border-radius: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.phone-direct-link:hover {
  background: #146950;
}

/* Caption + "Click to unroll other platforms" cue under each card */
.clip-meta {
  width: 100%;
  padding: 0.5rem 0.2rem 0.15rem;
}

.clip-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clip-expand-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.28rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.clip-expand-btn:hover,
.clip-expand-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.mini-plat-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.mini-dot.ig {
  background: #e1306c;
}

.mini-dot.tiktok {
  background: #162238;
  border: 1px solid #25f4ee;
}

.mini-dot.youtube {
  background: #ff0000;
}

/* Animated Vertical Unroll Stack Underneath Clicked Card (Screenshot #2) */
.unroll-stack {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition:
    max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.unroll-stack.open {
  max-height: 920px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 2px dashed #bfb5a4;
  pointer-events: auto;
}

.unroll-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.unroll-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.unroll-card-link .phone-screen {
  height: 268px;
}

/* Sketch #3: Aligned 3-Row Cross-Platform Matrix */
.matrix-wrapper {
  display: flex;
  align-items: stretch;
  background: #f2ede4;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
}

.matrix-pinned-left {
  flex-shrink: 0;
  background: linear-gradient(180deg, #faf6ef 0%, #f3ede2 100%);
  border-right: 2px solid #bfb5a4;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 2;
}

.matrix-scroll-right {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.matrix-header-row,
.matrix-plat-row {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  min-width: max-content;
}

.matrix-header-row {
  height: 32px;
  align-items: center;
}

.matrix-plat-row {
  height: 248px;
}

.matrix-plat-label {
  width: 112px;
  flex-shrink: 0;
  border-radius: 0.6rem;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
}

.matrix-plat-label.ig {
  background: var(--ig-grad);
}

.matrix-plat-label.tiktok {
  background: var(--tt-grad);
}

.matrix-plat-label.youtube {
  background: var(--yt-grad);
}

.matrix-plat-label span {
  font-size: 0.72rem;
  opacity: 0.88;
  font-weight: 400;
  margin-top: 0.15rem;
}

.matrix-cell {
  width: 164px;
  flex-shrink: 0;
  height: 100%;
}

.matrix-cell .phone-card {
  height: 100%;
}

.matrix-cell .phone-screen {
  height: 100%;
}

.matrix-blank-slot {
  width: 164px;
  flex-shrink: 0;
  height: 100%;
  border: 1px dashed #c4b9a8;
  border-radius: 0.75rem;
  background: rgba(255, 252, 247, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.76rem;
}

.matrix-col-hdr {
  width: 164px;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Projects matrix: win over base .matrix-* height:100% squash (must follow those rules) */
.project-block .matrix-header-row,
.project-block .matrix-plat-row {
  align-items: flex-start;
  height: auto;
}

.project-block .matrix-col-hdr,
.project-block .matrix-cell,
.project-block .matrix-blank-slot {
  width: 186px;
}

.project-block .matrix-col-hdr {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.project-block .matrix-cell,
.project-block .matrix-blank-slot {
  height: auto;
  align-self: flex-start;
}

.project-block .matrix-cell .phone-card,
.project-block .matrix-cell a.phone-card {
  height: auto !important;
  padding: 4px !important;
  border-radius: 0.85rem !important;
  overflow: visible !important;
}

.project-block .matrix-cell .phone-screen {
  border-radius: 0.65rem !important;
}

.project-block .matrix-cell .phone-screen.is-tall-screen,
.project-block .matrix-cell .phone-screen:not(.is-wide-screen) {
  aspect-ratio: 9 / 16;
  height: auto !important;
  min-height: 316px;
}

.project-block .matrix-cell.is-film-col,
.project-block .matrix-col-hdr.is-film-col {
  width: 340px;
}

.project-block .matrix-cell .phone-screen.is-wide-screen,
.project-block .matrix-cell .phone-screen.is-long-screen {
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0;
}

.project-block .matrix-blank-slot {
  aspect-ratio: 9 / 16;
  min-height: 324px;
  height: auto;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  /* visually empty — gap is the signal */
  color: transparent;
  font-size: 0;
}

.project-block .matrix-cell.is-film-col .matrix-blank-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

/* Gear Page Styles */
.gear-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
}

.gear-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.84rem;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #f7f4ef;
  border-color: var(--accent);
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1rem;
}

.gear-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
}

.gear-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.gear-badge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.gear-badge.direct {
  background: var(--accent-soft);
  color: var(--accent);
}

.gear-badge.match {
  background: #fef3c7;
  color: #92400e;
}

.gear-badge.exact-only {
  background: #ebe4d8;
  color: var(--muted);
}

.gear-badge.partner {
  background: #e0e7ff;
  color: #3730a3;
}

.gear-result-count {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.gear-aff-note {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.gear-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
}

.gear-meta-line {
  font-size: 0.83rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.no-print {
  /* kept for print hiding */
}

@media print {
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }

  .no-print,
  .nav,
  .cta-row .btn-ghost {
    display: none !important;
  }

  .wrap {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  section,
  .hero {
    padding: 0.75rem 0;
    break-inside: avoid;
  }

  .card,
  .stat,
  .proof-list li,
  .contact-box {
    break-inside: avoid;
    box-shadow: none;
  }

  .contact-box {
    background: white;
    color: black;
    border: 1px solid #ccc;
  }

  .contact-box a {
    color: black;
  }

  a[href]::after {
    content: none;
  }
}

/* ==========================================================================
   All Posts Library
   ========================================================================== */

.lib-toolbar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lib-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
}

.lib-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 9rem;
  flex: 1 1 9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.lib-field-narrow {
  flex: 0 1 7rem;
  min-width: 6.5rem;
}

.lib-field input,
.lib-field select {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.45rem 0.55rem;
  width: 100%;
}

.lib-fieldset {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  margin: 0;
  padding: 0.45rem 0.7rem 0.55rem;
  flex: 1 1 14rem;
}

.lib-fieldset legend {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.25rem;
}

.lib-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.85;
}

.lib-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.lib-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.lib-check input {
  accent-color: var(--accent);
}

.lib-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.15rem;
  border-top: 1px dashed var(--line);
}

.lib-result-count {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.lib-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--card);
  margin-bottom: 1rem;
}

.lib-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 820px;
}

.lib-table th,
.lib-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.lib-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(15, 76, 58, 0.04);
  position: sticky;
  top: 0;
  z-index: 1;
}

.lib-table th.num,
.lib-table td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lib-table tbody tr:hover {
  background: rgba(15, 76, 58, 0.035);
}

.lib-table tbody tr:last-child td {
  border-bottom: none;
}

.lib-plat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  color: #fff;
  margin-right: 0.25rem;
}

.lib-plat.ig {
  background: linear-gradient(135deg, #9b2def, #e1306c);
}

.lib-plat.yt {
  background: #cc0000;
}

.lib-plat.tt {
  background: #162238;
}

.lib-type {
  font-size: 0.75rem;
  color: var(--muted);
}

.lib-date {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.lib-title {
  max-width: 28rem;
}

.lib-title-text {
  display: block;
  line-height: 1.35;
}

.lib-suggest {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--bg-deep);
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
}

.lib-project {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
}

.lib-project.unassigned {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-weight: 500;
}

.lib-open {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.lib-open:hover {
  text-decoration: underline;
}

.lib-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem !important;
}

.lib-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 0.5rem 0 1.5rem;
}

.lib-page-btn {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 0.4rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.lib-page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.lib-page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #f7f4ef;
}

.lib-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lib-page-ellipsis {
  align-self: center;
  color: var(--muted);
  padding: 0 0.2rem;
}

.lib-footnote {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 48rem;
}

.lib-footnote code {
  font-size: 0.8em;
  background: var(--bg-deep);
  padding: 0.05rem 0.3rem;
  border-radius: 0.25rem;
}

@media (max-width: 720px) {
  .lib-fieldset-projects {
    flex-basis: 100%;
  }
}

.lib-stats {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem 0.85rem;
  margin-bottom: 1rem;
}

.lib-stats-totals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.lib-stat {
  background: rgba(15, 76, 58, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lib-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.lib-stat-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lib-stats-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.lib-plat-card {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

.lib-plat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.lib-plat-card dl {
  margin: 0;
  display: grid;
  gap: 0.25rem;
}

.lib-plat-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.lib-plat-card dt {
  color: var(--muted);
  font-weight: 500;
}

.lib-plat-card dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.lib-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.lib-chart {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem 0.35rem;
  background: #fff;
}

.lib-chart figcaption {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.lib-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.lib-bar.ig {
  fill: #c13584;
}

.lib-bar.yt {
  fill: #cc0000;
}

.lib-bar.tt {
  fill: #162238;
}

.lib-bar-val,
.lib-bar-label {
  font-size: 11px;
  fill: var(--muted);
  font-family: var(--font-body);
}

.lib-bar-val {
  font-weight: 600;
  fill: var(--ink);
}

.lib-stats-note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .lib-stats-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lib-stats-breakdown {
    grid-template-columns: 1fr;
  }
}
