:root {
  --ink: #5B2C85;
  --ink-soft: #47206b;
  --paper: #f4f0fc;
  --paper-dark: #e8e0f7;
  --cream: #f9f6ff;
  --mint: #1FD4A0;
  --mint-deep: #12A47C;
  --gold: #1FD4A0;
  --gold-light: #1FD4A0;
  --gold-pale: rgba(31, 212, 160, 0.16);
  --red: #e05275;
  --green: #1FD4A0;
  --green-light: #4fe3b8;
  --blue: #5B2C85;
  --blue-light: #7c53b8;
  --muted: #7a6a99;
  --border: rgba(91, 44, 133, 0.12);
  --border-strong: rgba(91, 44, 133, 0.25);
  --pf: #1FD4A0;

  --c-pain: #e05275;
  --c-psych: #7C4DBE;
  --c-fact: #2d4fa8;
  --c-teach: #1fa860;
  --c-story: #B8862B;
  --c-engage: #12707A;
  --c-news: #E07A3F;
  --c-video: #C2336B;
  --c-ad: #5B2C85;

  --f-display: 'Fraunces', 'Faktum', Georgia, serif;
  --f-body: 'Faktum', 'Poppins', 'Outfit', system-ui, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── LOGO ASSETS ── */
.logo { display: block; height: 100%; width: auto; }
.logo-a { display: none; }
.logo-b { display: block; }
.on-light .logo-a { display: block; }
.on-light .logo-b { display: none; }
html.dark .on-light .logo-a { display: none; }
html.dark .on-light .logo-b { display: block; }

.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 34px; width: auto; flex-shrink: 0; }
.brand-word { height: 26px; width: auto; }
.brand-lockup--lg .brand-mark { height: 54px; }
.brand-lockup--lg .brand-word { height: 40px; }

/* ── HEADER ── */
.site-header {
  background: var(--ink);
  color: var(--paper);
  padding: 0 48px;
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5B2C85, #1FD4A0, #5B2C85);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section {
  padding: 64px 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}

.hero-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold-light);
}

.plat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 22px;
  width: fit-content;
}
.plat-chip svg { width: 15px; height: 15px; fill: var(--pf-lite); }
.plat-chip span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.74);
  line-height: 1.75;
  max-width: 440px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}
.stat-box {
  background: var(--ink-soft);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.25s;
}
.stat-box:hover { background: rgba(255,255,255,0.05); }
.stat-num {
  font-family: var(--f-display);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: var(--gold-light);
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.66);
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ── PLATFORM NAV ── */
.pnav {
  background: var(--paper-dark);
  border-bottom: 1px solid var(--border);
  padding: 10px 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.pnav__label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
  white-space: nowrap;
}
.pnav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: 0.2s;
}
.pnav__item svg { width: 14px; height: 14px; fill: currentColor; }
.pnav__item:hover { border-color: var(--ink); color: var(--ink); }
.pnav__item.is-active {
  background: var(--pf);
  border-color: var(--pf);
  color: #fff;
}
html.dark .pnav__item.is-active { color: #0d0720; }
.pnav__item.is-active svg { fill: currentColor; }

body[data-platform="linkedin"] { --pf: #0A66C2; --pf-lite: #7FB2FF; }
body[data-platform="meta"] { --pf: #1877F2; --pf-lite: #82BEFF; }
body[data-platform="x"] { --pf: #16181c; --pf-lite: #E6E1F7; }
body[data-platform="youtube"] { --pf: #E0301E; --pf-lite: #FF9382; }
body[data-platform="tiktok"] { --pf: #FE2C55; --pf-lite: #FF92A8; }
html.dark body[data-platform="x"] { --pf: #cfc6e6; }
html.dark .pnav__item.is-active { background: var(--pf); color: #0d0720; }
html.dark body[data-platform="linkedin"] .pnav__item.is-active,
html.dark body[data-platform="meta"] .pnav__item.is-active,
html.dark body[data-platform="youtube"] .pnav__item.is-active,
html.dark body[data-platform="tiktok"] .pnav__item.is-active { color: #fff; }

/* ── LEGEND ── */
.legend-bar {
  background: var(--paper-dark);
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.legend-title {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: 0.2s;
}
.legend-item:hover, .legend-item.active {
  background: var(--ink);
  color: var(--paper);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── FILTER / SEARCH ── */
.controls-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}

.search-box { position: relative; flex: 1; max-width: 320px; }
.search-box input {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 9px 16px 9px 38px;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: 0.2s;
}
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-pale); }
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 15px;
  height: 15px;
}

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: transparent;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.results-count {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ── MAIN CONTENT ── */
.main {
  padding: 48px 48px 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.week-block { margin-bottom: 72px; }

.week-label-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.week-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 4px;
  white-space: nowrap;
}
.week-theme {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  opacity: 0.5;
}
.week-line { flex: 1; height: 1px; background: var(--border); }

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

/* ── DAY CARD ── */
.day-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: cardIn 0.4s ease both;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.day-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(14,14,14,0.1);
}
.day-card.hidden { display: none; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-color-bar { height: 4px; width: 100%; flex-shrink: 0; }

.card-head {
  padding: 20px 22px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.day-num {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  max-width: 260px;
}

.type-pill {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.plat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper-dark);
  border: 1px solid var(--border-strong);
  color: var(--muted);
  padding: 4px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.plat-badge svg { width: 11px; height: 11px; fill: currentColor; }

.card-body { padding: 16px 22px 0; }

.hook-row { margin-bottom: 12px; }
.hook-kicker {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.hook-text {
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  line-height: 1.55;
}

.divider { height: 1px; background: var(--border); margin: 14px 0; }

.caption-preview {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.65;
  opacity: 0.75;
}

.hashtag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}
.ht {
  font-size: 11px;
  font-family: var(--f-mono);
  color: var(--gold);
  font-weight: 400;
}

.card-foot {
  padding: 16px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.fmt-meta {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

.foot-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.expand-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 6px 14px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
}
.expand-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.expand-btn svg { width: 12px; height: 12px; transition: transform 0.3s; }
.day-card.open .expand-btn svg { transform: rotate(180deg); }

/* ── EXPANDED ── */
.expanded-panel {
  display: none;
  padding: 0 22px 24px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  animation: expandIn 0.3s ease both;
}
.day-card.open .expanded-panel { display: block; }

@keyframes expandIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.exp-block { margin-top: 20px; }

.exp-kicker {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.exp-kicker::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.script-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper-dark);
  border-left: 3px solid;
  border-radius: 0 10px 10px 0;
  padding: 16px 18px;
  white-space: pre-line;
}

.full-caption {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  font-style: italic;
  padding: 12px 16px;
  background: var(--gold-pale);
  border-radius: 8px;
  white-space: pre-line;
}

.slides-list { display: flex; flex-direction: column; gap: 6px; }
.slide-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  background: var(--paper-dark);
  border-radius: 8px;
}
.slide-n {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--muted);
  min-width: 22px;
  padding-top: 1px;
}
.slide-t { font-size: 13px; color: var(--ink); line-height: 1.5; }

/* ── VIDEO FRAME ── */
.video-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 2px 0 14px;
  background:
    radial-gradient(circle at 78% 20%, rgba(31,212,160,0.35), transparent 58%),
    linear-gradient(145deg, var(--ink) 0%, #341a5e 62%, #1d0e3d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame--tall { aspect-ratio: 9 / 16; max-height: 340px; margin-left: auto; margin-right: auto; width: auto; }
.video-frame--square { aspect-ratio: 1 / 1; }
.vf-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
}
.vf-play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.vf-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 1;
}
.vf-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  z-index: 1;
}
.vf-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 34px;
  text-align: center;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  z-index: 1;
}

/* ── TYPE STYLES ── */
.t-pain .card-color-bar { background: var(--c-pain); }
.t-pain .type-pill { background: rgba(224,82,117,0.1); color: var(--c-pain); }
.t-pain .script-body { border-color: var(--c-pain); }
.t-pain .exp-kicker { color: var(--c-pain); }

.t-psych .card-color-bar { background: var(--c-psych); }
.t-psych .type-pill { background: rgba(124,77,190,0.1); color: var(--c-psych); }
.t-psych .script-body { border-color: var(--c-psych); }
.t-psych .exp-kicker { color: var(--c-psych); }

.t-fact .card-color-bar { background: var(--c-fact); }
.t-fact .type-pill { background: rgba(45,79,168,0.1); color: var(--c-fact); }
.t-fact .script-body { border-color: var(--c-fact); }
.t-fact .exp-kicker { color: var(--c-fact); }

.t-teach .card-color-bar { background: var(--c-teach); }
.t-teach .type-pill { background: rgba(31,168,96,0.1); color: var(--c-teach); }
.t-teach .script-body { border-color: var(--c-teach); }
.t-teach .exp-kicker { color: var(--c-teach); }

.t-story .card-color-bar { background: var(--c-story); }
.t-story .type-pill { background: rgba(201,151,58,0.15); color: var(--c-story); }
.t-story .script-body { border-color: var(--c-story); }
.t-story .exp-kicker { color: var(--c-story); }

.t-engage .card-color-bar { background: var(--c-engage); }
.t-engage .type-pill { background: rgba(18,112,122,0.1); color: var(--c-engage); }
.t-engage .script-body { border-color: var(--c-engage); }
.t-engage .exp-kicker { color: var(--c-engage); }

.t-news .card-color-bar { background: var(--c-news); }
.t-news .type-pill { background: rgba(224,122,63,0.12); color: var(--c-news); }
.t-news .script-body { border-color: var(--c-news); }
.t-news .exp-kicker { color: var(--c-news); }

.t-video .card-color-bar { background: var(--c-video); }
.t-video .type-pill { background: rgba(194,51,107,0.1); color: var(--c-video); }
.t-video .script-body { border-color: var(--c-video); }
.t-video .exp-kicker { color: var(--c-video); }

.t-ad .card-color-bar { background: var(--ink); }
.t-ad .type-pill { background: rgba(91,44,133,0.1); color: var(--ink); }
html.dark .t-ad .type-pill { background: rgba(31,212,160,0.14); color: var(--gold-light); }
.t-ad .script-body { border-color: var(--ink); }
.t-ad .exp-kicker { color: var(--ink); }
html.dark .t-ad .exp-kicker { color: var(--gold-light); }

.day-card.t-ad { position: relative; overflow: hidden; }
.ad-ribbon {
  position: absolute;
  top: 14px;
  right: -30px;
  background: var(--mint);
  color: #08301f;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 34px;
  transform: rotate(38deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
}

.ad-canvas {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 26px 22px 20px;
  margin: 2px 0 14px;
  background: linear-gradient(145deg, var(--ink) 0%, #3a1c68 60%, #200f45 100%);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ad-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(31,212,160,0.35), transparent 55%);
  pointer-events: none;
}
.ad-sponsored {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  position: relative;
  z-index: 1;
}
.ad-headline {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: 21px;
  line-height: 1.2;
  color: #fff;
  margin: 10px 0 8px;
  position: relative;
  z-index: 1;
}
.ad-sub {
  font-family: var(--f-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}
.ad-cta-btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--mint);
  color: #08301f;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12.5px;
  padding: 9px 18px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.ad-wordmark {
  position: absolute;
  bottom: 10px;
  right: 14px;
  height: 20px;
  z-index: 1;
}
.ad-wordmark .logo { height: 100%; width: auto; }

/* ── HUB ── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}
.hub-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(91,44,133,0.14);
}
.hub-card__bar { height: 4px; background: var(--pf); }
.hub-card__head {
  padding: 22px 22px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hub-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--pf);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-card__icon svg { width: 22px; height: 22px; fill: #fff; }
.hub-card__name {
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hub-card__cadence {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.hub-card__body { padding: 16px 22px 0; font-size: 13.5px; line-height: 1.7; color: var(--ink); opacity: 0.75; }
.hub-card__stats {
  display: flex;
  gap: 20px;
  padding: 16px 22px 0;
}
.hub-card__stat b {
  display: block;
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--stat, var(--pf));
  line-height: 1;
}
.hub-card__stat span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hub-card__foot {
  padding: 18px 22px 22px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hub-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
}
.hub-open:hover { background: var(--pf); }
.hub-card__count {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.section-line { flex: 1; height: 1px; background: var(--border); }

.month-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.month-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: 0.25s;
}
.month-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.month-card__week {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 10px;
}
.month-card__theme {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
}
.month-card__note { font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* ── FULL CAPTION + HASHTAGS ── */
.long-caption {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper-dark);
  border-left: 3px solid var(--mint);
  border-radius: 0 10px 10px 0;
  padding: 16px 18px;
  white-space: pre-line;
}
.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seo-tags b {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--mint-deep);
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 10px;
}

/* ── HUB CARD ACCENTS ── */
.hub-card[data-pf="linkedin"] { --pf: #0A66C2; --stat: #0A66C2; }
.hub-card[data-pf="meta"] { --pf: #1877F2; --stat: #1877F2; }
.hub-card[data-pf="x"] { --pf: #16181c; --stat: #16181c; }
.hub-card[data-pf="youtube"] { --pf: #E0301E; --stat: #E0301E; }
.hub-card[data-pf="tiktok"] { --pf: #FE2C55; --stat: #FE2C55; }
html.dark .hub-card[data-pf="linkedin"] { --stat: #7FB2FF; }
html.dark .hub-card[data-pf="meta"] { --stat: #82BEFF; }
html.dark .hub-card[data-pf="x"] { --stat: #E6E1F7; }
html.dark .hub-card[data-pf="youtube"] { --stat: #FF9382; }
html.dark .hub-card[data-pf="tiktok"] { --stat: #FF92A8; }

.hub-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 7px 16px;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.62);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 3px solid #1FD4A0;
}
.footer-note { font-size: 12px; font-family: var(--f-mono); }

/* ── THEME TOGGLE ── */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s;
  white-space: nowrap;
}
.theme-toggle:hover {
  background: rgba(31,212,160,0.15);
  border-color: #1FD4A0;
  color: #1FD4A0;
}
.theme-toggle .toggle-track {
  width: 32px;
  height: 18px;
  border-radius: 100px;
  background: rgba(255,255,255,0.15);
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}
.theme-toggle .toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s, background 0.25s;
}
html.dark .theme-toggle .toggle-track { background: #1FD4A0; }
html.dark .theme-toggle .toggle-thumb { transform: translateX(14px); background: #0d0720; }
html.dark .theme-toggle { color: #1FD4A0; border-color: rgba(31,212,160,0.3); }

/* ── DARK MODE ── */
html.dark {
  --ink: #f0eaff;
  --ink-soft: #d8ccf5;
  --paper: #1e1040;
  --paper-dark: #160c35;
  --cream: #120a2e;
  --gold: #1FD4A0;
  --gold-light: #1FD4A0;
  --gold-pale: rgba(31,212,160,0.12);
  --muted: #a89ecd;
  --border: rgba(31,212,160,0.12);
  --border-strong: rgba(31,212,160,0.25);
  --c-pain: #f07090;
  --c-psych: #b08eee;
  --c-fact: #7aaef5;
  --c-teach: #3DCB80;
  --c-story: #e0b564;
  --c-engage: #56c7d4;
  --c-news: #f09a63;
  --c-video: #f07aa8;
}

html.dark body { background: var(--cream); color: var(--ink); }
html.dark .site-header { background: #0d0720; }
html.dark .site-header::after { background: linear-gradient(90deg, #5B2C85, #1FD4A0, #5B2C85); }
html.dark .brand-lockup .brand-mark { filter: none; }

html.dark .legend-bar { background: #160c35; border-color: rgba(31,212,160,0.12); }
html.dark .legend-item { color: var(--ink); }
html.dark .legend-item:hover, html.dark .legend-item.active {
  background: #1FD4A0;
  color: #0d0720;
  border-color: #1FD4A0;
}

html.dark .pnav { background: #160c35; border-color: rgba(31,212,160,0.12); }
html.dark .pnav__item { color: var(--muted); border-color: rgba(31,212,160,0.2); }
html.dark .pnav__item:hover { border-color: #1FD4A0; color: #1FD4A0; }
html.dark body[data-platform="x"] .pnav__item.is-active { color: #0d0720; }

html.dark .controls-bar {
  background: rgba(18,10,46,0.92);
  border-color: rgba(31,212,160,0.12);
}
html.dark .search-box input {
  background: #1e1040;
  border-color: rgba(31,212,160,0.25);
  color: var(--ink);
}
html.dark .search-box input:focus { border-color: #1FD4A0; box-shadow: 0 0 0 3px rgba(31,212,160,0.15); }
html.dark .chip { color: var(--muted); border-color: rgba(31,212,160,0.2); }
html.dark .chip:hover { border-color: #1FD4A0; color: #1FD4A0; }
html.dark .chip.active { background: #1FD4A0; color: #0d0720; border-color: #1FD4A0; }

html.dark .week-tag { background: #1FD4A0; color: #0d0720; }
html.dark .week-theme { color: rgba(240,234,255,0.55); }
html.dark .week-line { background: rgba(31,212,160,0.15); }

html.dark .day-card { background: var(--paper); border-color: rgba(31,212,160,0.12); }
html.dark .day-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
html.dark .divider { background: rgba(31,212,160,0.12); }
html.dark .plat-badge { background: #160c35; }

html.dark .t-pain .type-pill { background: rgba(240,112,144,0.15); }
html.dark .t-psych .type-pill { background: rgba(176,142,238,0.15); }
html.dark .t-fact .type-pill { background: rgba(122,174,245,0.15); }
html.dark .t-teach .type-pill { background: rgba(61,203,128,0.15); }
html.dark .t-story .type-pill { background: rgba(224,181,100,0.15); }
html.dark .t-engage .type-pill { background: rgba(86,199,212,0.15); }
html.dark .t-news .type-pill { background: rgba(240,154,99,0.15); }
html.dark .t-video .type-pill { background: rgba(240,122,168,0.15); }

html.dark .script-body { background: #160c35; }
html.dark .full-caption { background: rgba(31,212,160,0.08); }
html.dark .slide-row { background: #160c35; }
html.dark .expanded-panel { border-color: rgba(31,212,160,0.12); }
html.dark .seo-tags b { color: #3CE8B6; background: rgba(31,212,160,0.1); border-color: rgba(31,212,160,0.22); }
html.dark .long-caption { background: #160c35; border-left-color: #1FD4A0; }

html.dark .expand-btn { border-color: rgba(31,212,160,0.25); color: var(--muted); }
html.dark .expand-btn:hover { background: #1FD4A0; color: #0d0720; border-color: #1FD4A0; }

html.dark .hero-stats { background: rgba(31,212,160,0.05); border-color: rgba(31,212,160,0.1); }
html.dark .stat-box { background: rgba(255,255,255,0.03); }
html.dark .stat-box:hover { background: rgba(31,212,160,0.06); }

html.dark .hub-card { background: var(--paper); border-color: rgba(31,212,160,0.12); }
html.dark .hub-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
html.dark .hub-open { background: #1FD4A0; color: #0d0720; }
html.dark .month-card { background: var(--paper); border-color: rgba(31,212,160,0.12); }
html.dark .month-card:hover { border-color: #1FD4A0; }
html.dark .month-card__week { color: #1FD4A0; }

html.dark footer { background: #0d0720; border-color: #1FD4A0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-header, .legend-bar, .controls-bar, .main, footer, .pnav { padding-left: 24px; padding-right: 24px; }
  .hero-section { grid-template-columns: 1fr; gap: 40px; }
  .card-grid, .hub-grid, .month-grid { grid-template-columns: 1fr; }
  .header-top { flex-wrap: wrap; gap: 12px; }
  .results-count { display: none; }
}
