:root {
  color-scheme: light;
  background: #f6f2e9;
  color: #212723;
  font: 18px/1.65 system-ui, sans-serif;
}
body { max-width: 64rem; margin: auto; padding: 0 clamp(1rem, 5vw, 4rem); }
header, nav { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.5rem; }
header { justify-content: space-between; padding: 1.5rem 0; border-bottom: 1px solid #a9ad9f; }
a { color: #224c3e; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #224c3e; outline-offset: 4px; }
.brand { font: bold 2rem Georgia, serif; text-decoration: none; }
.brand span, footer span { color: #9f4429; }
main { padding: clamp(2.5rem, 8vw, 6rem) 0; max-width: 43rem; }
.kicker { color: #224c3e; font-size: .75rem; font-weight: 750; letter-spacing: .16em; }
h1, h2 { font-family: Georgia, serif; line-height: 1.1; }
h1 { font-size: clamp(2.7rem, 8vw, 5.5rem); margin: .3em 0; }
h2 { margin: 1.7em 0 .4em; }
footer { border-top: 1px solid #a9ad9f; padding: 1rem 0 2rem; font-size: .85rem; }

.studio {
  --ink: #f0f1f4;
  --paper: #131314;
  --line: #383b42;
  color: var(--ink);
  max-width: 76rem;
  background: var(--paper);
}
html:has(.studio) { background: #131314; }
.studio header { align-items: center; border-color: var(--line); }
.studio .brand span { color: #8ab4f8; }
.studio .brand small { font: 600 .65rem system-ui, sans-serif; vertical-align: middle; }
.studio nav { font-size: .78rem; }
.studio main { max-width: none; padding: 0; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem;
  padding: clamp(2.5rem, 7vw, 6rem) 0 2.75rem;
}
.hero .kicker { font-size: .75rem; letter-spacing: .04em; }
.hero h1 { font-size: clamp(2.75rem, 7vw, 6.25rem); font-weight: 500; letter-spacing: -.065em; margin: .1em 0 0; }
.intro { max-width: 27rem; }
.intro p { margin-top: 0; }
.cta { display: inline-flex; gap: 1.25rem; padding: .65rem 1rem; background: #8ab4f8; color: #132742; text-decoration: none; font-size: .85rem; }
.product { margin: 0; color: #e3e3e3; background: #131314; border: 1px solid #45474f; border-radius: 1rem; overflow: hidden; box-shadow: 0 1rem 2rem #0008; scroll-margin-top: 1rem; }
.product figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem 1.2rem; border-bottom: 1px solid #35373c; font-size: .82rem; }
.product figcaption span { color: #d8e5ff; border: 1px solid #516583; border-radius: 2rem; padding: .15rem .65rem; }
.workspace-preview { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 4fr); }
.workspace-preview aside { padding: 1.25rem; border-right: 1px solid #35373c; font-size: .75rem; }
.workspace-preview ul { list-style: none; padding: 0; }
.workspace-preview aside li { padding: .45rem .6rem; color: #c6cad2; }
.workspace-preview .selected { background: #284570; color: white; border-left: 2px solid #8ab4f8; }
.workspace-body { background: #1e1f20; padding: clamp(1rem, 4vw, 2.5rem); }
.breadcrumb { font-size: .72rem; color: #c6cad2; margin: 0; }
.workspace-body h2 { margin: .3em 0 .6em; font-weight: 500; font-size: clamp(1.65rem, 4vw, 2.8rem); }
.episode-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: #252629; border: 1px solid #45474f; }
.cover-art {
  position: relative; display: grid; align-content: end; isolation: isolate;
  min-height: 9rem; padding: 1rem; overflow: hidden; color: #f9e8c5;
  background: repeating-linear-gradient(150deg, transparent 0 16px, #d2b67a33 17px 18px), #633c2d;
}
.cover-art span { font: bold clamp(1.2rem, 3vw, 2rem)/1 Georgia, serif; }
.cover-art b { position: absolute; z-index: -1; right: -.04em; top: -.22em; font: bold 9rem Georgia, serif; color: #e5b67358; }
.episode-info { padding: clamp(.75rem, 3vw, 1.5rem); }
.status { display: inline-block; color: #fce5b7; background: #523e27; padding: .15rem .5rem; font-size: .72rem; }
.episode-info h3 { margin: .6em 0 .2em; line-height: 1.25; }
.episode-info p { margin: 0; font-size: .75rem; color: #c6cad2; }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 1rem 0 0; }
.stages li { border-top: 2px solid #8ab4f8; padding-top: .5rem; font-size: .75rem; }
.stages li:last-child { border-top-color: #626775; }
.stages span { margin-right: .35rem; color: #bcd4ff; }
.editorial { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.editorial h2, .editorial h3 { margin: 0; }
.editorial p { font-size: .87rem; margin-bottom: 0; }
@media (max-width: 720px) {
  .hero, .editorial, .workspace-preview { grid-template-columns: 1fr; }
  .hero { gap: .75rem; }
  .workspace-preview aside { padding: .7rem 1rem; border-right: 0; }
  .workspace-preview aside ul { display: flex; flex-wrap: wrap; gap: .25rem; margin: .25rem 0 0; }
}
@media (max-width: 420px) {
  .episode-preview { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.studio { color-scheme: dark; }
.studio a:not(.cta), .studio .kicker { color: #bcd4ff; }
.studio footer { border-color: var(--line); color: #c6cad2; }
.studio a:focus-visible { outline-color: #8ab4f8; }
.hero h1 { font-family: system-ui, sans-serif; font-weight: 650; font-size: clamp(2.5rem, 6.25vw, 5.4rem); }
.studio .brand, .workspace-body h2 { font-family: system-ui, sans-serif; }
.studio .brand { font-size: 1.45rem; letter-spacing: -.04em; }
.studio .brand small { color: #c6cad2; border: 1px solid #45474f; padding: .22rem .38rem; border-radius: .35rem; }
.studio .cta { border-radius: 1.5rem; font-weight: 650; }
.channel { display: block; padding: .5rem; border: 1px solid #45474f; border-radius: .45rem; }
.new-video { display: inline-block; padding: .3rem .65rem; border-radius: .5rem; background: #304c74; color: #e0ebff; font-weight: 650; }
.workspace-preview { grid-template-columns: minmax(11rem, 1fr) minmax(0, 4fr); }
.workspace-preview .selected { border-left: 0; border-radius: 1rem; }
.workspace-body h2 { font-size: clamp(1.55rem, 4vw, 2.2rem); }
.cover-art { background: repeating-linear-gradient(150deg, transparent 0 16px, #9dcbff35 17px 18px), linear-gradient(135deg, #132947, #375c85); color: #edf5ff; }
.cover-art b { color: #afcfff56; }
.editorial { border-top: 1px solid var(--line); margin-top: 3rem; }
.editorial p, .intro p { color: #c6cad2; }
@media (max-width: 720px) { .workspace-preview { grid-template-columns: 1fr; } }

.studio .brand span, .product figcaption strong::before {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: .5rem;
  color: #161521;
  background: linear-gradient(135deg, #9bb5ff, #a995df 55%, #efabbb);
}
.studio .hero { padding-bottom: 2rem; }
.product { border-color: #424246; }
.product figcaption { background: #1e1f20; }
.workspace-preview aside { background: #1e1f20; }
.workspace-preview aside li { padding: .55rem .65rem; }
.workspace-preview .selected { background: #303640; color: #a8beee; font-weight: 650; }
.channel { background: #292a2d; }
.new-video { display: block; text-align: center; background: #9bb5ee; color: #131b2b; border-radius: 2rem; }
.workspace-body { background: #141414; }
.workspace-body .breadcrumb { padding-bottom: .9rem; border-bottom: 1px solid #343438; }
.series-label { color: #ee8197; font-size: .72rem; font-weight: 700; margin: 1rem 0 0; }
.workspace-body h2 { font-family: Georgia, serif; margin-bottom: .3rem; }
.workspace-help { font-size: .8rem; color: #c6cad2; margin: 0 0 .8rem; }
.review-notice { display: flex; gap: .5rem 1rem; justify-content: space-between; flex-wrap: wrap; background: #202b23; border: 1px solid #405744; color: #d0ebd1; border-radius: .4rem; padding: .6rem .75rem; font-size: .75rem; }
.format-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin: .85rem 0; font-size: .75rem; }
.format-strip span { background: #28292b; border: 1px solid #45474f; border-radius: .35rem; padding: .35rem .65rem; }
.format-strip span:first-child { border-color: #9bb5ee; }
.format-strip small { display: block; color: #c6cad2; }
.episode-preview { border-radius: .45rem; overflow: hidden; }
.episode-info ul { margin: .55rem 0; font-size: .76rem; }
.episode-info li { border-bottom: 1px solid #45474f; padding: .25rem 0; }

.legal main { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5.5rem) 0; }
.legal h1 { font-size: clamp(2.55rem, 7vw, 4.6rem); font-weight: 500; letter-spacing: -.04em; }
.legal h2 { border-top: 1px solid var(--line); padding-top: 1.15rem; font: 650 1rem system-ui, sans-serif; }
.legal main p:not(.kicker) { color: #c6cad2; }
.legal nav [aria-current="page"] { color: #e3e3e3; text-decoration-thickness: 2px; }
