:root {
  --bg: #fffaf1;
  --paper: #fffdf8;
  --ink: #171411;
  --muted: #625d66;
  --violet: #7b5bc7;
  --violet-dark: #50349a;
  --rose: #b95c82;
  --cream: #fbf4e8;
  --lavender: #e5daf5;
  --line: rgba(23, 20, 17, 0.14);
  --shadow: 0 16px 46px rgba(45, 34, 22, 0.1);
  --font: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 250, 246, 0.78), rgba(255, 250, 246, 0.9)),
    url("assets/pink-swarm.jpg") right -8vw top 64px / min(76vw, 880px) auto no-repeat fixed,
    radial-gradient(circle at 8% 6%, rgba(229, 218, 245, 0.32), transparent 28vw),
    radial-gradient(circle at 90% 0%, rgba(243, 229, 239, 0.28), transparent 24vw),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 12px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell,
.nav-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}

.brand-mark {
  color: var(--ink);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark span {
  color: var(--violet);
  font-weight: 400;
}

.nav-toggle {
  display: inline-grid;
  grid-template-columns: 18px auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  grid-column: 1;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.site-nav {
  position: fixed;
  inset: 69px 0 auto;
  display: none;
  padding: 12px 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.nav-open .site-nav {
  display: grid;
}

.site-nav a,
.hub-tabs a {
  padding: 12px 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.hub-tabs a:hover,
.footer-links a:hover,
.program-card a:hover,
.content-card a:hover,
.archive-item a:hover {
  color: var(--violet-dark);
}

.vcm-site {
  min-height: 70vh;
  overflow-x: hidden;
  overflow-y: visible;
}

.section,
.hero-section,
.hub-hero {
  padding: clamp(42px, 8vw, 88px) 0;
}

.hero-section {
  padding-top: clamp(44px, 8vw, 84px);
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow,
.card-label,
.archive-meta {
  color: var(--violet-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  margin-top: 10px;
  font-size: clamp(2.9rem, 14vw, 6.2rem);
  letter-spacing: 0;
  line-height: 0.92;
}

h2 {
  max-width: 820px;
  margin-top: 8px;
  font-size: clamp(2rem, 8vw, 4rem);
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  font-size: clamp(1.18rem, 4vw, 1.55rem);
  letter-spacing: 0;
  line-height: 1.18;
}

.hero-dek {
  max-width: 620px;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(1.1rem, 4vw, 1.45rem);
}

.hero-proof {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions,
.hub-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-secondary {
  background: var(--paper);
  color: var(--ink);
}

.hero-photo {
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.split-intro,
.hub-callout,
.footer-grid {
  display: grid;
  gap: 22px;
}

.split-intro p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
}

.pill-row,
.photo-strip,
.scroll-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scrollbar-width: none;
}

.pill-row::-webkit-scrollbar,
.photo-strip::-webkit-scrollbar,
.scroll-row::-webkit-scrollbar {
  display: none;
}

.pill-row span,
.hub-tabs a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.82);
}

.pill-row span {
  padding: 8px 12px;
  white-space: nowrap;
}

.photo-proof {
  padding: 8px 0 clamp(42px, 8vw, 90px);
}

.photo-strip {
  padding-inline: 0;
}

.photo-strip figure {
  flex: 0 0 min(78vw, 310px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-strip figcaption {
  min-height: 44px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-head > div:first-child {
  flex: 1 1 360px;
  min-width: 0;
}

.program-grid,
.content-grid {
  display: grid;
  gap: 14px;
}

.program-card,
.content-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.program-card img,
.content-card img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.program-card > :not(img),
.content-card__body {
  margin-right: 16px;
  margin-left: 16px;
}

.program-card .card-label,
.content-card .card-label {
  margin-top: 16px;
}

.program-card h3,
.content-card h3 {
  margin-top: 8px;
}

.program-card a,
.content-card a,
.archive-item a {
  display: inline-flex;
  margin-top: 16px;
  margin-bottom: 18px;
  color: var(--violet-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.content-card p {
  margin-top: 10px;
  color: var(--muted);
}

.band {
  border-top: 1px solid rgba(80, 52, 154, 0.1);
  border-bottom: 1px solid rgba(80, 52, 154, 0.1);
  background: rgba(255, 253, 248, 0.68);
}

.band-alt {
  border-top: 1px solid rgba(80, 52, 154, 0.1);
  border-bottom: 1px solid rgba(80, 52, 154, 0.1);
  background: rgba(251, 244, 232, 0.42);
}

.hub-callout {
  align-items: center;
}

.hub-page h1 {
  max-width: 780px;
  font-size: clamp(1.9rem, 6vw, 3.35rem);
  line-height: 1.05;
}

.hub-page .hub-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 5vw, 54px) 0 clamp(18px, 3vw, 30px);
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.97) 0%, rgba(255, 250, 241, 0.86) 48%, rgba(255, 250, 241, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.5), rgba(255, 250, 241, 0.78)),
    url("assets/pink-swarm.jpg") right 8% center / min(42vw, 500px) auto no-repeat,
    var(--bg);
}

.hub-page .hero-dek {
  max-width: 660px;
  margin-top: 12px;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
}

.hub-page .hero-proof {
  margin-top: 10px;
  font-size: 0.92rem;
}

.hub-page .section {
  padding-block: clamp(26px, 4vw, 46px);
}

.hub-explainer {
  padding: clamp(16px, 3vw, 26px) 0 10px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0), rgba(255, 250, 241, 0.88)),
    url("assets/pink-swarm.jpg") right -80px top -120px / min(42vw, 420px) auto no-repeat,
    var(--bg);
}

.hub-explainer p {
  max-width: 760px;
  padding: 13px 15px;
  border: 1px solid rgba(80, 52, 154, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(45, 34, 22, 0.06);
}

.section-head p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.hub-controls {
  padding: 0 0 clamp(20px, 4vw, 38px);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.58), rgba(255, 253, 248, 0.7)),
    url("assets/pink-swarm.jpg") left -130px bottom -220px / min(46vw, 440px) auto no-repeat;
}

.hub-controls .page-shell {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 14px 38px rgba(45, 34, 22, 0.07);
}

.search-box {
  display: grid;
  gap: 7px;
  color: var(--violet-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.filter-group {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.filter-group::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.92);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.result-count {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.hub-page .content-grid {
  align-items: stretch;
  row-gap: 24px;
}

.hub-page .content-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: visible;
  margin-top: 18px;
  padding-top: 0;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(251, 244, 232, 0.54)),
    var(--paper);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hub-page .content-card:hover {
  transform: translateY(-2px);
  border-color: rgba(80, 52, 154, 0.32);
  box-shadow: 0 16px 42px rgba(45, 34, 22, 0.1);
}

.hub-page .content-card:focus-visible {
  outline: 2px solid rgba(80, 52, 154, 0.5);
  outline-offset: 3px;
}

.hub-page .content-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  overflow: visible;
  padding: 18px 16px 16px;
}

.hub-page .content-card__top {
  position: absolute;
  top: -19px;
  right: 14px;
  left: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
  padding: 0;
}

.hub-page .content-card .card-label {
  width: auto;
  min-width: 0;
  max-width: calc(100% - 46px);
  margin-top: 0;
  margin-left: 0;
  padding: 9px 13px 10px;
  border: 1px solid rgba(80, 52, 154, 0.18);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.34), rgba(255, 255, 255, 0) 32%),
    linear-gradient(135deg, rgba(229, 218, 245, 0.98), rgba(243, 229, 239, 0.92) 48%, rgba(251, 244, 232, 0.95));
  color: #261d34;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  line-height: 1.15;
  box-shadow: 0 -8px 20px rgba(80, 52, 154, 0.08);
  text-align: left;
  overflow-wrap: anywhere;
  text-transform: none;
}

.hub-page .content-card:nth-child(3n + 2) .card-label {
  color: #2d2030;
}

.hub-page .content-card:nth-child(3n + 3) .card-label {
  color: #241f1a;
}

.card-level {
  display: none;
}

.card-emoji {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-top: 0;
  place-items: center;
  border: 1px solid rgba(80, 52, 154, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.92);
  font-size: 1.04rem;
  box-shadow: 0 8px 18px rgba(45, 34, 22, 0.08);
}

.hub-page .content-card h3 {
  margin-top: 28px;
  padding-right: 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 3.8vw, 1.34rem);
  line-height: 1.12;
}

.card-subtitle {
  margin-top: 9px;
  color: #3d383f;
  font-size: 0.98rem;
  line-height: 1.38;
}

.tip-list {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.tip-list li {
  padding: 8px 10px;
  border: 1px solid rgba(23, 20, 17, 0.09);
  border-radius: 8px;
  background: rgba(251, 244, 232, 0.62);
  color: #2f2a25;
  font-size: 0.86rem;
  line-height: 1.35;
}

.content-card__footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
}

.content-card__footer .card-proof {
  margin-top: 0;
  color: var(--ink);
  font-size: 0.84rem;
  white-space: nowrap;
}

.card-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(123, 91, 199, 0.26);
  border-radius: 999px;
  background: rgba(238, 232, 247, 0.72);
  color: var(--violet-dark);
  font-weight: 700;
  cursor: pointer;
}

.card-share:disabled {
  cursor: wait;
  opacity: 0.72;
}

.card-share:hover {
  border-color: rgba(80, 52, 154, 0.42);
  background: #eee8f7;
}

.hub-tabs {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.hub-tabs a {
  padding: 8px 12px;
}

.archive-list {
  display: grid;
  gap: 10px;
}

.archive-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.archive-item > a {
  color: var(--ink);
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.archive-item p {
  color: var(--muted);
}

.archive-item .archive-meta {
  margin-top: 0;
  color: var(--violet-dark);
}

.archive-item > a[aria-disabled="true"] {
  color: var(--muted);
  cursor: default;
  text-decoration-style: dotted;
}

.archive-empty,
.card-empty {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.site-footer {
  padding: 38px 0 22px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(229, 218, 245, 0.84), rgba(255, 253, 248, 0.92)),
    var(--lavender);
  color: var(--ink);
}

.site-footer .brand-mark {
  color: var(--ink);
}

.site-footer p,
.site-footer blockquote {
  color: rgba(23, 20, 17, 0.72);
}

.site-footer blockquote p {
  max-width: 440px;
}

.site-footer cite {
  display: block;
  margin-top: 10px;
  color: rgba(23, 20, 17, 0.54);
  font-style: normal;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-bottom {
  width: min(100% - 32px, 1120px);
  margin: 28px auto 0;
  color: rgba(23, 20, 17, 0.52);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.vcm-ready .reveal,
body.vcm-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

body.share-open {
  overflow: hidden;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(23, 20, 17, 0.22);
}

.share-modal__panel {
  width: min(100%, 420px);
  padding: 18px;
  border: 1px solid rgba(80, 52, 154, 0.22);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(23, 20, 17, 0.2);
}

.share-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.share-modal__head h3 {
  font-size: 1.2rem;
}

.share-modal__close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.share-modal__panel > p {
  margin-top: 8px;
  color: var(--muted);
}

.share-modal__options {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.62);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.share-option:hover {
  border-color: rgba(80, 52, 154, 0.32);
  background: #eee8f7;
}

.share-option span:first-child {
  font-size: 1.2rem;
}

.share-modal__status {
  min-height: 22px;
  color: var(--violet-dark);
  font-weight: 700;
}

.detail-modal {
  place-items: center;
  padding: clamp(12px, 3vw, 24px);
}

.detail-modal__panel {
  position: relative;
  width: min(100%, 680px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: clamp(18px, 5vw, 26px);
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(251, 244, 232, 0.76)),
    var(--paper);
}

.share-modal__panel > .detail-modal__meta,
.detail-modal__meta {
  margin-top: 0;
  color: var(--violet-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.detail-modal__emoji {
  display: grid;
  width: 42px;
  height: 42px;
  margin-top: 16px;
  place-items: center;
  border: 1px solid rgba(80, 52, 154, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  font-size: 1.35rem;
}

.detail-modal__panel h3 {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(1.45rem, 7vw, 2.2rem);
  line-height: 1.08;
}

.share-modal__panel > .detail-modal__subtitle,
.detail-modal__subtitle {
  margin-top: 10px;
  color: #3d383f;
  font-size: 1.05rem;
  line-height: 1.45;
}

.detail-modal__tips {
  margin-top: 10px;
}

.detail-modal__label {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-modal__tips li {
  padding: 11px 12px;
  background: rgba(255, 250, 241, 0.82);
  font-size: 0.98rem;
}

.detail-modal__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.detail-modal__actions .card-proof {
  margin-top: 0;
  color: var(--ink);
}

.resource-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.resource-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.resource-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.62);
  color: var(--ink);
}

.resource-form .card-share {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.hub-page {
  background: transparent;
}

.site-header .nav-shell {
  min-height: 56px;
}

.site-header .brand-mark {
  font-size: clamp(1.05rem, 3vw, 1.5rem);
}

.site-nav a {
  font-size: 0.88rem;
}

.hub-page .hub-hero {
  min-height: 0;
  padding: clamp(22px, 4vw, 42px) 0 clamp(14px, 3vw, 24px);
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.94) 0%, rgba(255, 250, 246, 0.78) 62%, rgba(255, 250, 246, 0.34) 100%);
}

.hub-page h1 {
  max-width: 720px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.04;
}

.hub-page .hero-dek {
  max-width: 660px;
  margin-top: 10px;
  color: #312d33;
  font-size: clamp(0.98rem, 2.2vw, 1.14rem);
}

.hero-instruction {
  max-width: 620px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.hub-tabs {
  margin-top: 14px;
}

.hub-tabs a {
  min-height: 32px;
  padding: 7px 11px;
  font-size: 0.86rem;
}

.hub-controls {
  padding: 8px 0 clamp(16px, 3vw, 28px);
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.72), rgba(255, 250, 246, 0.9));
}

.hub-controls .page-shell {
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(80, 52, 154, 0.15);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(245, 237, 250, 0.82)),
    var(--paper);
  box-shadow: 0 18px 48px rgba(45, 34, 22, 0.1);
}

.search-box {
  gap: 6px;
}

.search-box input {
  min-height: 50px;
  border: 1px solid rgba(23, 20, 17, 0.2);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.search-hint {
  color: #51475b;
  font-size: 0.84rem;
}

.filter-group {
  margin-top: 4px;
}

.filter-chip {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 0.86rem;
}

.library-row {
  border: 0;
  background: transparent;
}

.hub-page .library-row {
  padding-block: clamp(18px, 3.5vw, 34px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.section-head .eyebrow {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.section-head h2 {
  margin-top: 4px;
  font-size: clamp(1.45rem, 4vw, 2.35rem);
}

.section-head p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 6px;
  font-size: 0.92rem;
}

.library-row {
  position: relative;
  overflow: visible;
}

.library-row::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.92), rgba(255, 250, 246, 0.62)),
    url("assets/pink-swarm.jpg") right -160px top -180px / min(48vw, 520px) auto no-repeat;
  opacity: 0.28;
}

.library-row:nth-of-type(even)::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.9), rgba(255, 250, 246, 0.68)),
    url("assets/pink-swarm.jpg") left -200px top -160px / min(48vw, 520px) auto no-repeat;
}

.row-arrows {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.row-arrows button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(80, 52, 154, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(45, 34, 22, 0.08);
}

.row-arrows button:hover {
  background: var(--ink);
  color: var(--paper);
}

.section-visual {
  position: relative;
  display: block;
  flex: 0 0 180px;
  height: 86px;
  overflow: hidden;
  border: 1px solid rgba(80, 52, 154, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.86), rgba(229, 218, 245, 0.36)),
    var(--paper);
  box-shadow: 0 10px 28px rgba(45, 34, 22, 0.07);
}

.section-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92);
}

.section-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(23, 20, 17, 0.02), rgba(23, 20, 17, 0.28)),
    linear-gradient(135deg, rgba(229, 218, 245, 0.16), rgba(246, 213, 231, 0.1));
}

.section-visual figcaption {
  position: absolute;
  right: 10px;
  bottom: 9px;
  left: 10px;
  z-index: 1;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(23, 20, 17, 0.36);
}

.section-visual--placeholder {
  display: grid;
  place-items: end start;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.82), rgba(229, 218, 245, 0.38)),
    url("assets/pink-swarm.jpg") center / cover no-repeat,
    var(--paper);
}

.section-visual--placeholder figcaption {
  color: var(--ink);
  text-shadow: none;
}

.hub-page .content-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: stretch;
  width: 100vw;
  overflow-x: auto;
  overflow-y: visible;
  padding: 34px max(48px, calc((100vw - 1180px) / 2 + 48px)) 24px;
  margin-inline: calc(50% - 50vw);
  scroll-padding-left: max(48px, calc((100vw - 1180px) / 2 + 48px));
  scroll-padding-right: max(48px, calc((100vw - 1180px) / 2 + 48px));
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.hub-page .content-grid::-webkit-scrollbar {
  display: none;
}

.hub-page .content-card {
  flex: 0 0 350px;
  width: 350px;
  min-width: 350px;
  min-height: 190px;
  margin-top: 18px;
  border-radius: 10px;
  scroll-snap-align: start;
  box-shadow: 0 12px 34px rgba(45, 34, 22, 0.07);
}

.hub-page .collective-grid .content-card {
  flex-basis: 350px;
  width: 350px;
  min-width: 350px;
  min-height: 190px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(229, 218, 245, 0.36)),
    var(--paper);
}

.hub-page .content-card__body {
  padding: 18px 16px 16px;
}

.hub-page .content-card .card-label {
  max-width: calc(100% - 44px);
  padding: 8px 12px 9px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.card-emoji {
  width: 30px;
  height: 30px;
  font-size: 1rem;
}

.hub-page .content-card h3 {
  margin-top: 26px;
  font-size: clamp(1.08rem, 4.2vw, 1.26rem);
}

.card-subtitle {
  font-size: 0.92rem;
}

.content-card__footer {
  padding-top: 16px;
}

.content-card__footer .card-proof {
  color: #3b263d;
}

.collective-grid .card-share {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.detail-modal__panel {
  border-radius: 12px;
}

@media (min-width: 680px) {
  .page-shell,
  .nav-shell {
    width: min(100% - 48px, 1180px);
  }

  .program-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 8px 0;
    font-size: 0.95rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    align-items: center;
  }

  .split-intro,
  .hub-callout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.2fr 0.7fr;
  }

  .program-grid,
  .content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .program-grid,
  .content-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hub-page .content-grid {
  display: flex;
}

@media (max-width: 679px) {
  body {
    background:
      linear-gradient(rgba(255, 250, 246, 0.84), rgba(255, 250, 246, 0.92)),
      url("assets/pink-swarm.jpg") right -160px top 58px / 520px auto no-repeat,
      var(--bg);
  }

  .nav-shell {
    min-height: 54px;
  }

  .hub-page .hub-hero {
    padding-block: 20px 14px;
  }

  .hub-tabs {
    display: none;
  }

  .hub-controls .page-shell {
    width: min(100% - 24px, 1180px);
    padding: 14px;
  }

  .section-head {
    align-items: start;
    gap: 10px;
  }

  .section-visual {
    order: 2;
    flex: 1 0 100%;
    height: 76px;
  }

  .row-arrows {
    order: 1;
    margin-left: auto;
  }

  .row-arrows button {
    width: 34px;
    height: 34px;
  }

  .hub-page .content-grid {
    width: 100vw;
    gap: 18px;
    padding: 30px 20px 22px;
    margin-inline: calc(50% - 50vw);
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
  }

  .hub-page .content-card,
  .hub-page .collective-grid .content-card {
    flex: 0 0 82vw;
    width: 82vw;
    min-width: 82vw;
  }

  .detail-modal {
    place-items: stretch;
    padding: 0;
  }

  .detail-modal__panel {
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
}

@media (min-width: 900px) {
  .hub-page .content-card {
    flex-basis: 342px;
    width: 342px;
    min-width: 342px;
  }

  .hub-page .collective-grid .content-card {
    flex-basis: 342px;
    width: 342px;
    min-width: 342px;
  }
}

@media (min-width: 1200px) {
  .hub-page .content-card {
    flex-basis: 350px;
    width: 350px;
    min-width: 350px;
  }

  .hub-page .collective-grid .content-card {
    flex-basis: 350px;
    width: 350px;
    min-width: 350px;
  }
}

body.mobile-preview {
  max-width: 430px;
  margin: 0 auto;
  border-inline: 1px solid rgba(80, 52, 154, 0.16);
  box-shadow: 0 0 0 999px rgba(23, 20, 17, 0.04);
}

body.mobile-preview .page-shell,
body.mobile-preview .nav-shell {
  width: min(100% - 24px, 1180px);
}

body.mobile-preview .hub-tabs {
  display: none;
}

body.mobile-preview .section-head {
  align-items: start;
  gap: 10px;
}

body.mobile-preview .section-visual {
  order: 2;
  flex: 1 0 100%;
  height: 76px;
}

body.mobile-preview .row-arrows {
  order: 1;
  margin-left: auto;
}

body.mobile-preview .hub-page .content-grid {
  width: 100vw;
  gap: 18px;
  padding: 30px 20px 22px;
  margin-inline: calc(50% - 50vw);
  scroll-padding-left: 20px;
  scroll-padding-right: 20px;
}

body.mobile-preview .hub-page .content-card,
body.mobile-preview .hub-page .collective-grid .content-card {
  flex: 0 0 82vw;
  width: 82vw;
  min-width: 82vw;
  max-width: none;
}

body.mobile-preview .detail-modal {
  place-items: stretch;
  padding: 0;
}

body.mobile-preview .detail-modal__panel {
  width: 100%;
  min-height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
