@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/bricolage.ttf') format('truetype');
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #141126;
  --panel: #211c35;
  --text: #f9f5f1;
  --muted: #c5bfd2;
  --lilac: #b9a3ff;
  --peach: #ffc49e;
  --mint: #beefd6;
  --line: #ffffff24;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 1rem/1.6 'Bricolage Grotesque', 'Segoe UI', sans-serif; }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 100; left: 1rem; top: -80px; background: var(--mint); color: var(--ink); padding: 1rem; border-radius: 1rem; }
.skip:focus { top: 1rem; }
.topbar { height: 98px; display: flex; align-items: center; justify-content: space-between; padding: 0 4.5%; gap: 2rem; background: #141126ed; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); }
.wordmark { display: inline-flex; align-items: center; gap: .22em; font-weight: 800; font-size: 1.85rem; letter-spacing: -.065em; line-height: 1; white-space: nowrap; }
.wordmark > span:not(.brand-star) { color: var(--lilac); }
.brand-star { color: var(--peach); font-size: 1.9rem; margin-right: .2em; }
.topbar nav { display: flex; gap: 2.3rem; margin-right: auto; margin-left: 3rem; font-weight: 600; }
.topbar nav a { opacity: .85; transition: opacity .2s; }
.topbar nav a:hover { opacity: 1; color: var(--peach); }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.icon-button { background: transparent; font-size: 2rem; padding: .3rem .7rem; line-height: 1; }
.language { display: flex; gap: .45rem; align-items: center; }
.language button { padding: .4rem .2rem; background: transparent; color: var(--muted); font-size: .875rem; font-weight: 700; }
.language button[aria-pressed=true] { color: var(--peach); }
.language > span { opacity: .3; }
.sponsor-banner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .7rem 4.5%; background: #302341; border-bottom: 1px solid #ffc49e26; }
.sponsor-banner > span { font-size: .875rem; color: #e8d9ee; white-space: nowrap; }
.sponsor-banner > a { display: flex; gap: 1.5rem; align-items: center; font-size: .9rem; }
.sponsor-banner strong { color: var(--peach); white-space: nowrap; }
.sponsor-banner a:hover strong { text-decoration: underline; }
.hero { position: relative; min-height: 660px; height: min(79vh, 900px); overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.hero-image { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 70% 57%; z-index: -3; animation: settle 16s ease-out both; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #141126 0%, #141126f2 21%, #141126b5 41%, #1411260d 69%), linear-gradient(0deg, var(--ink) 0%, transparent 25%); }
.hero-content { padding: 3.5rem 4.5% 6rem; width: min(57%, 880px); }
.eyebrow { font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--peach); font-weight: 700; margin: 0 0 1rem; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { font-size: clamp(2.7rem, 4.5vw, 5.7rem); line-height: 1.02; letter-spacing: -.065em; margin: 1.2rem 0 1.5rem; font-weight: 800; }
h1 em { font-style: normal; color: var(--peach); }
.hero-description { color: #ddd6e2; max-width: 430px; font-size: 1.08rem; line-height: 1.7; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin: 1.7rem 0; color: #eee6e9; font-size: .875rem; }
.free-label { border: 1px solid #beefd67a; color: var(--mint); padding: .23rem .7rem; border-radius: 30px; }
.hero-buttons { display: flex; gap: .8rem; flex-wrap: wrap; }
.button { padding: .9rem 1.3rem; display: inline-flex; justify-content: center; align-items: center; gap: .7rem; border-radius: 12px; font-weight: 700; line-height: 1.4; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); }
.primary { color: #201528; background: var(--peach); box-shadow: 0 6px 30px #ffaf7826; }
.primary:hover { background: #ffd6ba; box-shadow: 0 8px 35px #ffaf7845; }
.quiet { background: #ffffff10; border: 1px solid var(--line); }
.outline { border: 1px solid #ffffff40; background: #ffffff06; }
.outline:hover { background: #ffffff16; }
.floating-star { position: absolute; color: #ffd686; text-shadow: 0 0 25px #ffc57f; animation: float 6s ease-in-out infinite; pointer-events: none; }
.star-one { top: 8%; left: 5%; font-size: 2.5rem; transform: rotate(10deg); }
.star-two { top: 8%; right: 11%; font-size: 2.5rem; animation-delay: -2s; }
.star-three { bottom: 22%; right: 8%; font-size: 1.4rem; animation-delay: -4s; }
.hero-caption { position: absolute; bottom: 3.2rem; right: 4.5%; font-size: .875rem; display: flex; align-items: center; gap: .65rem; color: #fff1e4; }
.hero-caption > span:first-child { color: var(--peach); font-size: 1.4rem; }
.section-wrap { width: 91%; max-width: 1560px; margin: 0 auto; }
.catalogue { padding-top: 3rem; padding-bottom: 5rem; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.1rem; }
h2 { font-size: clamp(1.8rem, 2.6vw, 3rem); line-height: 1.15; letter-spacing: -.045em; margin: 0; }
.section-heading .eyebrow { color: var(--lilac); }
.section-note { color: var(--muted); font-size: .95rem; margin: 0 0 .2rem; }
.catalogue-tools { margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.filters button { background: transparent; border: 1px solid var(--line); border-radius: 30px; padding: .65rem 1.1rem; color: var(--muted); font-size: .875rem; }
.filters button[aria-pressed=true] { background: var(--lilac); color: #20172f; border-color: var(--lilac); font-weight: 700; }
.search-box { display: flex; align-items: center; gap: .7rem; color: var(--muted); }
.search-box input { background: var(--panel); border: 1px solid var(--line); padding: .7rem 1rem; border-radius: 10px; color: var(--text); min-width: 220px; width: 100%; }
.episode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem; }
.episode-card { min-width: 0; }
.card-art { width: 100%; position: relative; overflow: hidden; aspect-ratio: 16/10; display: block; border-radius: 18px; background: var(--panel); padding: 0; border: 1px solid #ffffff0e; text-align: left; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.card-art:hover img { transform: scale(1.055); }
.card-art:after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #100d22bd); pointer-events: none; }
.episode-card.train .card-art img { object-position: 72% 65%; }
.episode-card.meeting .card-art img { object-position: 50% 50%; }
.card-badge { position: absolute; top: 1rem; left: 1rem; border-radius: 6px; background: #141126b8; backdrop-filter: blur(12px); padding: .25rem .6rem; font-size: .78rem; color: var(--mint); z-index: 1; }
.card-badge.premium { color: var(--peach); }
.card-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; background: #fff3; border: 1px solid #fff6; backdrop-filter: blur(7px); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; font-size: 1.2rem; padding-left: 3px; transition: background .2s; }
.card-art:hover .card-play { background: var(--peach); color: var(--ink); }
.duration { position: absolute; bottom: .8rem; right: .9rem; z-index: 1; font-size: .82rem; color: #fff; }
.card-caption { padding: 1rem .1rem; }
.episode-meta { font-size: .82rem; color: var(--muted); margin: 0 0 .4rem; }
.card-caption h3 { font-size: clamp(1.1rem, 1.3vw, 1.4rem); line-height: 1.35; letter-spacing: -.025em; margin: 0; }
.card-caption h3 button { background: none; padding: 0; text-align: left; font-weight: 700; }
.progress { height: 3px; background: #ffffff25; position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; }
.progress span { height: 100%; background: var(--peach); display: block; }
.flynts { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: 28px; background: #24203a; overflow: hidden; margin-bottom: 5rem; border: 1px solid var(--line); }
.flynts-art { position: relative; min-height: 440px; overflow: hidden; }
.flynts-art > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1s; }
.flynts:hover .flynts-art > img { transform: scale(1.035); }
.world-tag { position: absolute; top: 1.6rem; left: 1.6rem; color: #112d27; background: var(--mint); border-radius: 30px; padding: .4rem .9rem; font-size: .85rem; font-weight: 700; }
.flynts-content { padding: 3.2rem; align-self: center; }
.flynts-content .eyebrow { color: var(--mint); }
.flynts-content h2 { font-size: clamp(3.5rem, 6vw, 6.5rem); font-weight: 800; }
.flynts-content h2 > span { display: inline-block; color: var(--mint); margin-left: .1em; font-size: .6em; transform: rotate(20deg); }
.flynts-content > p:not(.eyebrow) { color: var(--muted); max-width: 390px; }
.flynts-content .coming-soon { color: var(--mint) !important; font-weight: 600; }
.flynts-content .button { margin-top: .7rem; }
.next-story { display: flex; align-items: center; gap: 2rem; padding: 2.5rem; background: linear-gradient(110deg, #362448, #242039); border-radius: 20px; margin-bottom: 5rem; border: 1px solid #b9a3ff32; }
.premium-star { font-size: 4.3rem; color: var(--peach); line-height: 1; }
.next-story h2 { font-size: 1.65rem; }
.next-story p { margin: .5rem 0 0; color: var(--muted); }
.next-story .button { margin-left: auto; flex-shrink: 0; }
.service-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.next-story .service-links .button { margin: 0; }
.footer { padding: 2.8rem 0; border-top: 1px solid var(--line); }
.footer .wordmark { font-size: 1.5rem; }
.footer > p { color: var(--muted); font-size: .9rem; }
.footer > div { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; color: #a29aae; font-size: .85rem; }
.footer button { color: var(--muted); background: none; padding: 0; text-align: left; }
.footer > div > span { margin-left: auto; }
dialog { color: var(--text); border: 1px solid #ffffff29; background: var(--ink); border-radius: 20px; padding: 0; box-shadow: 0 35px 120px #000b; }
dialog::backdrop { background: #060512e8; backdrop-filter: blur(15px); }
.player-dialog { width: min(1180px, 96vw); max-height: 94dvh; }
.player-topline { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.player-topline .wordmark { font-size: 1.4rem; }
.close-button { background: #ffffff0d; color: white; border-radius: 50%; font: 400 1.8rem/1 sans-serif; height: 42px; width: 42px; display: grid; place-items: center; }
.video-stage { aspect-ratio: 16/9; background: black; position: relative; }
video { width: 100%; height: 100%; display: block; }
.player-message { position: absolute; inset: 0; background: #121022ec; padding: 2rem; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; gap: 1rem; }
.player-message h3 { font-size: 1.8rem; margin: 0; }
.player-message p { margin: 0; max-width: 490px; color: var(--muted); }
.player-details { padding: 1.6rem 2rem; }
.player-details .eyebrow { margin-bottom: .6rem; }
.player-details h2 { font-size: 1.7rem; }
.player-details > div > p:not(.eyebrow) { color: var(--muted); }
.player-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.reactions { display: flex; gap: .55rem; }
.reactions button { background: var(--panel); border: 1px solid var(--line); padding: .7rem .85rem; border-radius: 10px; display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; }
.reactions button[aria-pressed=true] { border-color: var(--lilac); background: #b9a3ff28; }
.reactions button > span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.feedback { font-size: .875rem; color: var(--mint); min-height: 1.4em; }
.info-dialog { width: min(620px, 92vw); max-height: 90dvh; padding: 2.4rem; }
.info-dialog > .close-button { margin-left: auto; margin-bottom: 1rem; }
.info-dialog p { color: var(--muted); }
.info-dialog h2 { padding-right: .5rem; }
.info-dialog img { width: 100%; border-radius: 12px; margin-top: 1rem; }
.share-options { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.share-options a { border: 1px solid var(--line); border-radius: 10px; padding: .7rem 1rem; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 1.5rem; padding: .8rem 1.3rem; background: var(--mint); color: #183127; font-weight: 600; border-radius: 12px; z-index: 100; box-shadow: 0 8px 30px #0007; max-width: 90vw; text-align: center; }
@keyframes float { 0%, 100% { translate: 0 0; opacity: .7; } 50% { translate: 0 -15px; opacity: 1; } }
@keyframes settle { from { scale: 1.045; } to { scale: 1; } }
@media (min-width: 1800px) { .hero-content { padding-left: max(4.5%, calc((100vw - 1560px)/2)); } }
@media (max-width: 1000px) {
  .topbar nav { margin-left: 1rem; gap: 1.3rem; }
  .hero { min-height: 620px; }
  .hero-content { width: 65%; }
  .hero-shade { background: linear-gradient(90deg, #141126 0%, #141126df 24%, #14112670 62%, #14112605), linear-gradient(0deg, var(--ink), transparent 35%); }
  .hero-image { object-position: 65% 50%; }
  .hero-buttons { max-width: 400px; }
  .hero-caption { display: none; }
  .section-note { display: none; }
  .episode-grid { gap: 1rem; }
  .flynts-content { padding: 2rem; }
  .next-story { gap: 1.2rem; flex-wrap: wrap; }
  .next-story .button { margin-left: 5.5rem; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 85px; }
  .topbar { height: 76px; gap: .5rem; }
  .topbar .wordmark { font-size: 1.45rem; }
  .topbar nav { display: none; }
  .sponsor-banner { padding: .8rem 6%; align-items: flex-start; flex-direction: column; gap: .35rem; }
  .sponsor-banner > a { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .header-actions { gap: .5rem; }
  .icon-button { font-size: 1.8rem; }
  .hero { height: auto; min-height: 800px; align-items: flex-end; }
  .hero-image { height: 51%; object-position: 62% 65%; animation: none; }
  .hero-shade { background: linear-gradient(0deg, var(--ink) 35%, #141126f2 48%, #14112600 82%); }
  .hero-content { width: 100%; padding: 20rem 6% 2rem; }
  h1 { font-size: clamp(2.6rem, 9.5vw, 4.1rem); margin-top: 1rem; }
  .hero-content .eyebrow { margin-top: 1.5rem; }
  .hero-description { font-size: 1rem; max-width: 100%; }
  .hero-meta { margin: 1.4rem 0; gap: .8rem; }
  .hero-buttons { max-width: none; }
  .hero-buttons .button { width: 100%; }
  .hero-buttons .quiet { background: transparent; }
  .star-one { top: 28%; left: 13%; font-size: 2.2rem; }
  .star-two { top: 10%; right: 12%; font-size: 1.5rem; }
  .star-three { display: none; }
  .section-wrap { width: 88%; }
  .catalogue { padding-top: 2rem; padding-bottom: 2.5rem; }
  .section-heading { margin-bottom: 1.5rem; }
  .episode-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .card-art { aspect-ratio: 16/9; }
  .card-caption h3 { font-size: 1.25rem; }
  .filters { gap: .4rem; }
  .filters button { font-size: .83rem; padding: .6rem .8rem; }
  .search-box { width: 100%; flex-direction: column; align-items: flex-start; }
  .flynts { display: flex; flex-direction: column; border-radius: 20px; margin-bottom: 2.5rem; }
  .flynts-art { min-height: 260px; }
  .flynts-content { padding: 1.8rem; }
  .flynts-content h2 { font-size: 4rem; }
  .next-story { padding: 1.7rem; margin-bottom: 2.5rem; }
  .premium-star { display: none; }
  .next-story .button { margin-left: 0; width: 100%; }
  .service-links { width: 100%; }
  .footer { padding-top: 2rem; }
  .footer > div { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .footer > div > span { margin-left: 0; }
  .player-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  .player-details { padding: 1.3rem; }
  .player-details h2 { font-size: 1.5rem; }
  .player-actions { align-items: stretch; flex-direction: column; }
  .reactions { justify-content: space-between; }
  .reactions button { flex: 1; justify-content: center; }
  .player-message { padding: 1rem; gap: .6rem; }
  .player-message h3 { font-size: 1.3rem; }
  .player-message p { font-size: .875rem; }
  .info-dialog { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
