@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/bricolage.woff') format('woff');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf5ea;
  --surface: #fffcf6;
  --ink: #211b16;
  --muted: #5e5147;
  --line: #ddd0c2;
  --accent: #b33324;
  --accent-hover: #95291d;
  --heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse 660px 480px at 93% 8%, #f3e4d4 0%, transparent 100%), var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-text-size-adjust: 100%;
}
:where(h1, h2, p, ul) { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }
:where(a, button, input):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: white; background: var(--accent); }

.icon-sprite, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.shell { width: min(calc(100% - 56px), 1120px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 4;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  color: white;
  background: var(--accent);
  translate: 0 -160%;
}
.skip-link:focus { translate: 0; }

.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-right: auto;
  font: 800 2rem/1 var(--heading);
  letter-spacing: -.075em;
}
.profile-photo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
}
.brand-dot { color: var(--accent); }
.top-nav { display: flex; gap: 22px; }
.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
}
.top-nav a:hover { color: var(--accent); }
.share-button, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
}
.share-button svg, .icon-button svg { width: 17px; height: 17px; }
.share-button:hover, .icon-button:hover { background: #f3e9dc; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(25px, 4.5vw, 60px);
  padding-top: 43px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.status-dot {
  display: block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
h1, h2 { font-family: var(--heading); }
h1 {
  margin-top: 19px;
  font-size: clamp(3.35rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.064em;
  word-spacing: .04em;
}
h1 span { display: block; color: var(--accent); }
.intro {
  max-width: 39ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.165rem);
  line-height: 1.57;
}
.intro strong { color: var(--ink); font-weight: 750; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 17px;
  margin-top: 23px;
}
.secondary-button, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-weight: 750;
  font-size: .875rem;
  line-height: 1.28;
  cursor: pointer;
}
.secondary-button svg { width: 16px; height: 16px; color: var(--accent); }
.secondary-button:hover { border-color: var(--accent); color: var(--accent); }
.primary-button {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}
.primary-button:hover { background: var(--accent-hover); }
.event-period {
  color: var(--muted);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.episode, .follow, .challenge { scroll-margin-top: 18px; }
.episode-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  aspect-ratio: 1.16;
  min-width: 0;
  min-height: 310px;
  padding: 25px;
  overflow: hidden;
  border-radius: 23px;
  color: #fffaf4;
  background: #32251e;
  box-shadow: 0 15px 36px #5329212b;
}
.episode-media, .episode-card::after { position: absolute; inset: 0; z-index: -1; }
.episode-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 67%;
  transition: scale .3s ease;
}
.episode-card::after {
  content: '';
  background: linear-gradient(0deg, #1c110ded 0%, #1c110dc5 18%, #1c110d3d 52%, #1c110d03 80%);
}
.episode-card:hover img { scale: 1.03; }
.episode-tag {
  position: absolute;
  top: 18px;
  left: 19px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 38px);
  padding: 6px 11px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 999px;
  font-size: .725rem;
  font-weight: 750;
}
.episode-caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
}
.episode-caption h2 {
  max-width: 15ch;
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  font-weight: 790;
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.episode-action { display: block; margin-top: 7px; color: #f9eee6; font-size: .895rem; font-weight: 650; }
.episode-play {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border: 2px solid #ffded1;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  transition: background .2s ease, translate .2s ease;
}
.episode-play svg { width: 25px; height: 25px; }
.episode-card:hover .episode-play { background: var(--accent-hover); translate: 0 -3px; }

.follow { padding-top: 44px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 20px;
  margin-bottom: 14px;
}
.section-head h2, .challenge h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1;
  font-weight: 780;
  letter-spacing: -.047em;
}
.section-head p, .challenge p { color: var(--muted); font-size: .9375rem; }
.channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  padding: 0;
  list-style: none;
}
.channel-featured { grid-column: span 2; }
.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: 108px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  transition: border-color .17s ease, background-color .17s ease, translate .17s ease;
}
.channel-featured .channel { padding: 16px; background: #fffaf1; }
.channel:hover {
  translate: 0 -2px;
  border-color: #c28d7e;
  background: #fff;
}
.channel-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
}
.channel-icon svg { width: 23px; height: 23px; }
.facebook { background: #e5edff; color: #2254ab; }
.tiktok { background: #dfeee9; color: #1f4c41; }
.youtube { background: #f8e4df; color: #a52e26; }
.threads, .x { background: #ede8dd; color: #302824; }
.douvi { background: #f7e7d3; color: #7d461e; }
.channel-copy { display: grid; align-content: center; min-width: 0; gap: 3px; }
.channel-copy strong { font: 780 1.13rem/1.13 var(--heading); letter-spacing: -.025em; }
.channel-copy > span { color: var(--muted); font-size: .81rem; line-height: 1.35; overflow-wrap: anywhere; }
.channel-copy > .channel-count {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.channel-featured .channel-copy > .channel-count { color: var(--accent); }
.out-arrow { width: 17px; height: 17px; margin-left: auto; color: var(--accent); }
.channel-count-note { margin-top: 10px; color: var(--muted); font-size: .775rem; }

.challenge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 28px;
  margin-top: 26px;
  padding: clamp(19px, 3.3vw, 31px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f2e8d9;
}
.challenge h2 { font-size: clamp(1.35rem, 2.8vw, 1.9rem); }
.challenge p { margin-top: 6px; }
.challenge p strong { color: var(--ink); }
.challenge .secondary-button { flex: none; }
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  margin-top: 24px;
  padding-top: 7px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8125rem;
}
.footer a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.footer a:hover { color: var(--accent); }
.footer svg { width: 14px; height: 14px; }

.share-dialog, .reel-dialog {
  width: min(calc(100% - 28px), 426px);
  max-height: calc(100% - 28px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 16px 70px #21150c61;
}
.share-dialog::backdrop, .reel-dialog::backdrop { background: #251713ba; }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.dialog-header h2 { font-size: 1.48rem; line-height: 1.1; letter-spacing: -.035em; }
.icon-button { padding: 8px; }
.share-dialog input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}
.dialog-copy { margin-top: 12px; }
.share-status { min-height: 1.25rem; margin-top: 8px; color: var(--muted); font-size: .875rem; }
.reel-dialog {
  width: min(calc(100% - 20px), 390px);
  max-height: calc(100dvh - 16px);
  padding: 12px;
  overscroll-behavior: contain;
}
.reel-player {
  display: block;
  width: min(100%, max(135px, calc((100dvh - 146px) * .5625)));
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 10px;
  background: #1e1612;
}
.facebook-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 4px;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 750;
}
.facebook-link svg { width: 16px; height: 16px; }
.facebook-link:hover { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1060px) {
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-featured { grid-column: auto; }
}
@media (max-width: 800px) {
  .shell { width: min(calc(100% - 32px), 600px); }
  .topbar { min-height: 65px; padding-top: env(safe-area-inset-top, 0px); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 19px; padding-top: 23px; }
  h1 { margin-top: 11px; font-size: clamp(2.55rem, 10.8vw, 4.3rem); }
  .intro { margin-top: 12px; }
  .hero-actions { margin-top: 14px; gap: 6px 12px; }
  .episode-card {
    aspect-ratio: 1.44;
    min-height: 205px;
    padding: 16px;
    border-radius: 17px;
    box-shadow: 0 12px 26px #53292129;
  }
  .episode-tag { top: 13px; left: 13px; }
  .episode-media img { object-position: center 66%; }
  .episode-caption h2 { font-size: clamp(1.55rem, 5.4vw, 2.15rem); }
  .episode-play { width: 49px; height: 49px; }
  .episode-play svg { width: 22px; height: 22px; }
  .follow { padding-top: 29px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 11px; }
}
@media (max-width: 640px) {
  .top-nav { display: none; }
  .challenge { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .channel, .channel-featured .channel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 8px;
    min-height: 116px;
    padding: 11px;
  }
  .channel-copy { grid-column: 1 / -1; min-width: 0; }
  .channel-icon { width: 36px; height: 36px; border-radius: 9px; }
  .channel-icon svg { width: 20px; height: 20px; }
  .out-arrow { grid-column: 2; grid-row: 1; align-self: center; }
}
@media (max-width: 350px) {
  .channels { grid-template-columns: minmax(0, 1fr); }
  .channel, .channel-featured .channel { display: flex; align-items: center; gap: 10px; min-height: 76px; }
  .episode-caption { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .episode-media img, .episode-play, .channel { transition: none; }
  .episode-card:hover img { scale: 1; }
  .episode-card:hover .episode-play, .channel:hover { translate: none; }
}
