:root {
  color-scheme: dark;
  --base: #101317;
  --panel: #181d23;
  --panel-raised: #1d232b;
  --line: #343c47;
  --ink: #f6f3ec;
  --muted: #b9c3cf;
  --gold: #f5d976;
  --blue: #82dbea;
  --violet: #ceb9ff;
  --green: #a8e09d;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.frame { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 12px; background: var(--gold); color: var(--base); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid #2c333d; }
.site-bar, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-bar { min-height: 75px; }
.wordmark { display: inline-flex; gap: 0.27em; align-items: center; white-space: nowrap; font-weight: 750; letter-spacing: -0.025em; font-size: 1.1rem; min-height: 44px; }
.wordmark img { margin-right: 4px; border-radius: 7px; }
.wordmark span { color: var(--gold); }
.site-bar nav { display: flex; gap: clamp(12px, 3vw, 34px); align-items: center; }
.site-bar nav a, .footer-inner > a:last-child { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.site-bar nav a:hover, .footer-inner > a:last-child:hover { color: var(--gold); }

.hero { display: grid; grid-template-columns: 1.14fr minmax(360px, .86fr); align-items: center; gap: clamp(24px, 5vw, 78px); padding-block: clamp(48px, 5.5vw, 82px) 42px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--gold); font: 700 .75rem/1.5 var(--mono); letter-spacing: .11em; }
.eyebrow > span { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--gold); }
h1, h2, h3, p { margin-block-start: 0; }
h1 { margin-block-end: 22px; font-size: clamp(3.2rem, 5.9vw, 5.5rem); line-height: 1.01; font-weight: 740; letter-spacing: -.052em; }
h1 em { color: var(--gold); font-style: normal; display: block; }
.hero-description { max-width: 43ch; margin-block-end: 24px; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 44px; padding: 10px 15px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; line-height: 1.25; }
.primary { background: var(--gold); color: #1a170f; padding-inline: 17px; }
.primary:hover { background: #ffe799; }
.text-button, .subtle { color: var(--muted); background: none; }
.text-button:hover, .subtle:hover { color: var(--gold); }
.secondary { background: var(--panel); border-color: var(--line); color: var(--ink); }
.secondary:hover { border-color: var(--gold); }
.hero-note { display: flex; flex-wrap: wrap; gap: 4px 11px; margin: 21px 0 0; color: var(--muted); font: .78rem/1.65 var(--mono); }
.hero-note strong { color: var(--ink); }
.hero-note > span { color: #8594a6; }
.creator-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 3px 7px; min-height: 44px; margin-top: 2px; color: var(--muted); font-size: .87rem; }
.creator-link:hover { color: var(--gold); }
.creator-link strong { color: var(--gold); }

.cover-stage { position: relative; isolation: isolate; min-height: 400px; border: 1px solid var(--line); border-radius: 19px; overflow: hidden; background: radial-gradient(ellipse at 50% 52%, #3d3629, #1c232a 58%, #14191e 92%); }
.cover-grid { position: absolute; inset: 0; background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px); background-size: 29px 29px; mask-image: linear-gradient(black 15%, #0006 90%); }
.stage-marker, .stage-footer { position: absolute; inset-inline: 17px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 600 .7rem/1 var(--mono); letter-spacing: .08em; }
.stage-marker { top: 16px; }
.stage-footer { bottom: 16px; justify-content: flex-start; gap: 8px; }
.stage-live { width: 6px; height: 6px; border-radius: 100%; background: var(--gold); }
.stack-cover { position: absolute; top: 50%; left: 50%; width: clamp(120px, 40%, 177px); height: auto; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid #6e7277; border-radius: 11px; box-shadow: 0 18px 36px #030405b8; }
.cover-left { transform: translate(-97%, -47%) rotate(-13deg); }
.cover-right { transform: translate(-4%, -47%) rotate(13deg); }
.cover-front { transform: translate(-50%, -51%); border-color: var(--gold); }

.social-band { display: grid; grid-template-columns: 176px 1fr; align-items: center; gap: 24px; padding-block: 22px; border-block: 1px solid var(--line); }
.social-band > p { margin: 0; color: var(--muted); line-height: 1.35; font-size: .95rem; }
.social-band strong { color: var(--ink); }
.social-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; }
.social-link { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: #171c22; font-size: .91rem; font-weight: 650; }
.social-link > span:last-child { margin-left: auto; color: var(--muted); }
.social-link:hover { border-color: var(--gold); }
.platform-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--muted); }
.platform-dot.youtube { background: #ff7476; }
.platform-dot.instagram { background: #ed94c2; }
.platform-dot.tiktok { background: #82dbea; }
.platform-dot.facebook { background: #9bbaff; }
.platform-dot.linkedin { background: #6bb8ff; }

.section { padding-block: clamp(47px, 7vw, 87px) 0; scroll-margin-top: 16px; }
.section-intro { margin-bottom: 22px; }
.section-intro .eyebrow { margin-block-end: 10px; }
h2 { margin-block-end: 6px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 730; line-height: 1.09; letter-spacing: -.058em; }
.section-intro > p:last-child { max-width: 57ch; margin-block-end: 0; color: var(--muted); }
.playlist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.playlist-card {
  --tone: var(--gold);
  display: flex;
  flex-direction: column;
  min-height: 149px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 14px;
  background: var(--panel);
}
.playlist-card[data-tone="blue"] { --tone: var(--blue); }
.playlist-card[data-tone="violet"] { --tone: var(--violet); }
.playlist-card[data-tone="green"] { --tone: var(--green); }
.playlist-card:hover { border-color: var(--tone); background: var(--panel-raised); }
.playlist-meta { display: flex; justify-content: space-between; align-items: center; gap: 5px; margin-bottom: 10px; font: .75rem/1.35 var(--mono); color: var(--muted); }
.playlist-number, .playlist-arrow { color: var(--tone); font-weight: 700; }
.playlist-card h3 { margin-block-end: 4px; font-size: 1.08rem; letter-spacing: -.022em; }
.playlist-card p { margin-block-end: 0; color: var(--muted); font-size: .85rem; line-height: 1.42; }
.store-teaser { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(37px, 6vw, 72px); padding: clamp(18px, 3vw, 30px); border: 1px solid #514634; border-radius: 14px; background: linear-gradient(110deg, #211e18, var(--panel)); }
.store-teaser .eyebrow { margin-block-end: 7px; }
.store-teaser h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.store-teaser p:last-child { margin-block-end: 0; color: var(--muted); }
.store-teaser p a, .shop-note a { text-decoration: underline; text-underline-offset: 3px; }

.library { padding-block-end: clamp(55px, 8vw, 96px); }
.lesson-directory { margin-bottom: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.lesson-directory summary { min-height: 44px; padding: 11px 15px; color: var(--gold); font-weight: 700; cursor: pointer; }
.lesson-directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 18px 24px; padding: 0 15px 16px; }
.lesson-directory-grid h3 { margin-bottom: 4px; font-size: 1rem; }
.lesson-directory-grid ul { margin: 0; padding: 0; list-style: none; }
.lesson-directory-grid a { display: flex; align-items: center; min-height: 44px; padding: 5px 0; border-top: 1px solid var(--line); color: var(--muted); overflow-wrap: anywhere; }
.lesson-directory-grid a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.controls { display: grid; grid-template-columns: 1.45fr 1fr; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.controls > div { min-width: 0; }
.controls label { display: block; margin-bottom: 4px; color: var(--ink); font-size: .85rem; font-weight: 650; }
.controls input, .controls select { width: 100%; min-width: 0; min-height: 47px; padding: 9px 11px; border: 1px solid #535e6b; border-radius: 7px; color: var(--ink); background: var(--base); }
.controls input::placeholder { color: #a2aebb; opacity: 1; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-height: 54px; color: var(--muted); font-size: .91rem; }
.results-bar p { margin: 0; }
.results-bar .button { padding-inline: 7px; font-size: .9rem; }
.episode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lesson {
  display: grid;
  grid-template-columns: clamp(76px, 9vw, 115px) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
}
.lesson img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid #444e59; border-radius: 7px; background: #101317; }
.lesson-meta { margin: 0 0 5px; color: var(--gold); font: 650 .7rem/1.45 var(--mono); }
.lesson h3 { margin-block-end: 6px; font-size: 1.02rem; line-height: 1.23; letter-spacing: -.016em; overflow-wrap: anywhere; }
.lesson h3 a { text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 3px; }
.lesson h3 a:hover { text-decoration-color: var(--gold); }
.lesson-summary { margin-block-end: 6px; color: var(--muted); font-size: .83rem; line-height: 1.38; overflow-wrap: anywhere; }
.lesson-links { display: flex; flex-wrap: wrap; gap: 4px 7px; align-items: center; }
.lesson-link { display: inline-flex; gap: 5px; align-items: center; min-height: 44px; padding: 4px 0; color: var(--ink); font-size: .83rem; font-weight: 680; }
.lesson-link:first-child { color: var(--gold); }
.lesson-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.lesson-link + .lesson-link { margin-left: 3px; }
.lesson-pending { margin: 10px 0 0; color: var(--muted); font-size: .8rem; }
.playlist-page { padding-block-end: clamp(55px, 8vw, 96px); }
.playlist-lessons { list-style: none; padding: 0; margin: 0; }
.playlist-lesson { height: 100%; }
.playlist-lesson:hover { border-color: var(--gold); background: var(--panel-raised); }
.playlist-lesson-action { color: var(--gold); font-size: .83rem; font-weight: 680; }
.load-row { display: flex; justify-content: center; margin-top: 19px; }
.empty-state { grid-column: 1 / -1; margin: 0; padding: 20px; border: 1px dashed #535e6b; border-radius: 12px; color: var(--muted); }
.empty-state strong { color: var(--ink); }
.creator-section { margin-bottom: clamp(40px, 7vw, 75px); }
.creator-card { display: flex; align-items: center; justify-content: space-between; gap: 20px 35px; padding: clamp(22px, 4vw, 45px); background: linear-gradient(115deg, #211e18, var(--panel)); border: 1px solid #524b3c; border-radius: 15px; }
.creator-card .eyebrow { margin-block-end: 9px; }
.creator-card p:last-child { max-width: 59ch; margin-block-end: 0; color: var(--muted); }
.creator-card > a { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 80px; color: var(--muted); font-size: .9rem; }
.footer-inner .wordmark { color: var(--ink); }
.footer-inner p { margin: 0; }
.shop { padding-block: clamp(36px, 6vw, 77px) clamp(49px, 8vw, 93px); }
.shop-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(24px, 6vw, 85px); }
.shop h1 { font-size: clamp(2.65rem, 5.9vw, 5.3rem); }
.shop-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 13px; margin-bottom: 17px; color: var(--muted); font-size: .9rem; }
.shop-price strong { color: var(--ink); font-size: 2.15rem; line-height: 1; letter-spacing: -.05em; }
.shop-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.shop-note { margin: 13px 0 0; color: var(--muted); font-size: .89rem; }
.sample-card { max-width: 405px; margin: 0; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.sample-card img { width: 100%; height: auto; border-radius: 8px; background: #fff; }
.sample-card figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.sample-card figcaption span { color: var(--gold); font-family: var(--mono); }
.shop-details { margin-top: clamp(39px, 7vw, 78px); }
.shop-details .eyebrow { margin-bottom: 7px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 18px; }
.shop-grid article { padding: 17px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.shop-grid h3 { margin-bottom: 5px; font-size: 1rem; }
.shop-grid p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.site-bar nav a[aria-current="page"] { color: var(--gold); }
.lesson-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 250px); align-items: start; gap: clamp(24px, 6vw, 68px); max-width: 940px; padding-block: clamp(42px, 7vw, 88px); }
.lesson-page h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); overflow-wrap: anywhere; }
.lesson-page-cover { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.lesson-page--watch { grid-template-columns: minmax(0, 1fr); max-width: 700px; }
.lesson-start { margin-bottom: 12px; }
.lesson-player {
  display: block;
  width: min(100%, 252px);
  height: auto;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.lesson-tools { margin-top: 12px; }
.lesson-tools .button { padding-inline: 0; }
.lesson-share-status { margin: 0; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.lesson-playlists { margin-top: 25px; }
.lesson-playlists h2 { margin-bottom: 9px; font-size: 1.16rem; }
.lesson-playlists ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lesson-playlists li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 12px; padding-inline: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.lesson-playlists .button { justify-content: flex-start; padding-inline: 0; overflow-wrap: anywhere; }
.lesson-playlist-title { flex-wrap: wrap; color: var(--ink); }
.lesson-playlist-position { color: var(--muted); font: .78rem/1.25 var(--mono); }
.lesson-playlist-next { color: var(--gold); }

@media (max-width: 1050px) {
  .frame { width: calc(100% - 56px); }
  .episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 23px; }
  .cover-stage { min-height: 325px; }
  .stack-cover { width: 40%; }
  .social-band { grid-template-columns: 1fr; gap: 11px; }
  .social-band br { display: none; }
  .social-band strong { margin-left: .22em; }
  .playlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .frame { width: calc(100% - 32px); }
  .site-bar { min-height: 60px; gap: 12px; }
  .site-bar .wordmark { font-size: .98rem; }
  .site-bar .wordmark img { width: 30px; height: 30px; margin-right: 1px; }
  .site-bar nav { gap: 12px; }
  .site-bar nav a { font-size: .86rem; }
  .site-bar .about-nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 40px 28px; }
  h1 { font-size: clamp(2.43rem, 10.4vw, 4.35rem); margin-block-end: 15px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero-description { margin-block-end: 17px; }
  .hero-actions .button { padding-inline: 11px; }
  .hero-note { margin-top: 14px; }
  .cover-stage { min-height: 290px; }
  .stack-cover { width: min(39%, 133px); }
  .social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-band { padding-block: 15px; }
  .playlist-card { min-height: 140px; padding: 12px; }
  .controls, .episode-grid { grid-template-columns: minmax(0, 1fr); }
  .lesson { grid-template-columns: 95px minmax(0, 1fr); }
  .lesson-page { grid-template-columns: minmax(0, 1fr); }
  .lesson-page-cover { width: min(60%, 220px); }
  .creator-card { align-items: flex-start; flex-direction: column; }
  .store-teaser { align-items: flex-start; flex-direction: column; }
  .shop-hero, .shop-grid { grid-template-columns: minmax(0, 1fr); }
  .sample-card { max-width: 360px; }
  .footer-inner { flex-wrap: wrap; gap: 0 13px; padding-block: 12px; }
  .footer-inner p { order: 3; flex: 0 0 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
