/* The studio's site. Two looks: the studio's own (dark, for the home page and samples) and each series' own
   (Andora's is warm paper in the films' own ink). Phone first. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: var(--track); }
h1 { font-size: clamp(32px, 7vw, 60px); font-weight: var(--h-weight); }
h2 { font-size: clamp(22px, 4vw, 30px); font-weight: var(--h-weight); margin-bottom: 18px; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.theme-studio {
  --bg: #0E0D0C; --ink: #F3EDE2; --muted: #A39A8C; --line: rgba(243, 237, 226, .10); --panel: #181614;
  --accent: #E9C46A; --accent-ink: #1A1408; --display: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --h-weight: 750; --track: -0.02em; --radius: 10px;
}
.theme-andora {
  --bg: #FBF6EC; --ink: #5E150D; --muted: rgba(94, 21, 13, .66); --line: #E6DDCB; --panel: #F6EEDE;
  --accent: #E9C46A; --accent-ink: #5E150D; --teal: #2A9D8F; --display: Fredoka, system-ui, sans-serif;
  --h-weight: 600; --track: 0; --radius: 18px;
}

/* bar */
.bar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.mark { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.bar nav { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.bar nav a { text-decoration: none; color: var(--muted); white-space: nowrap; font-size: 15px; padding: 6px 0; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--ink); }
.bar nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
@media (max-width: 520px) { .bar-in { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0 2px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink);
  font-weight: 650; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 0; font-size: 16px; }
.btn::before { content: ""; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent;
  border-bottom: 7px solid transparent; }
.btn:hover { filter: brightness(1.05); }
.theme-andora .btn { font-family: var(--display); font-weight: 600; box-shadow: 0 3px 0 #C9A227; }

/* thumbs and cards */
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius);
  background: var(--panel); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .2s; }
.play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 18px solid #fff;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.play.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; opacity: 1; }
.play.big::after { left: 30px; top: 23px; border-left-width: 24px; border-top-width: 15px; border-bottom-width: 15px; }
.len { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 13px;
  font-weight: 600; padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.grid { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.card:hover .thumb img { transform: scale(1.03); }
.card:hover .play { opacity: 1; }
.card-t { font-weight: 650; line-height: 1.3; }
.theme-andora .card-t { font-family: var(--display); font-weight: 600; font-size: 18px; }
.card-s { color: var(--muted); font-size: 14px; margin-top: -4px; }

/* sections */
.block { padding: 34px 0; }
.block h1 { margin-bottom: 24px; }

/* home */
.hero-home { padding: 26px 0 8px; }
.tag { color: var(--muted); margin-bottom: 18px; }
.feature { position: relative; display: block; border-radius: 14px; overflow: hidden; text-decoration: none;
  aspect-ratio: 16 / 9; background: var(--panel); }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14, 13, 12, .88) 100%); }
.feature-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(16px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 4px; }
.feature-t { font-size: clamp(28px, 6vw, 56px); font-weight: 780; letter-spacing: -0.02em; line-height: 1.05; }
.feature-s { color: #D9D1C4; }
.eyebrow { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; }
.theme-andora .eyebrow { color: var(--teal); letter-spacing: .04em; }
@media (max-width: 640px) {
  .feature { aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; }
  .feature img { aspect-ratio: 16 / 9; border-radius: 12px; }
  .feature::after { display: none; }
  .feature-text { position: static; padding: 14px 0 0; }
}

/* series */
.hero-series { padding: 34px 0 10px; }
.hero-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 5fr 6fr; gap: 44px; } }
.hero-text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.lede { font-size: clamp(17px, 2.2vw, 20px); max-width: 36em; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 14px;
  font-weight: 600; }
.hero-art { position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(94, 21, 13, .45); }
.hero-art img { width: 100%; }

.eps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ep { display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; padding: 16px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; }
.ep-made { grid-template-columns: 52px minmax(0, 220px) 1fr; background: #fff; }
.ep-made:hover .play { opacity: 1; }
@media (max-width: 640px) { .ep-made { grid-template-columns: 52px 1fr; } .ep-made .ep-thumb { grid-column: 1 / -1; grid-row: 2; } }
.ep-n { font-family: var(--display); font-weight: 600; font-size: 22px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.ep-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ep-t { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; }
.ep-place { color: var(--teal, var(--accent)); font-weight: 600; font-size: 14px; }
.ep-m { color: var(--muted); }
.ep-soon { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* film page */
.watch { padding: 18px 0 8px; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player video { width: 100%; height: 100%; display: block; background: #000; }
@media (max-width: 640px) { .watch .wrap { width: 100%; } .player { border-radius: 0; } .film-head { padding-inline: 16px; } }
.film-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 18px; }
.film-head h1 { font-size: clamp(26px, 5vw, 44px); margin-top: 4px; }
.meta { color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.share { flex: none; font: inherit; font-weight: 650; font-size: 15px; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer; margin-top: 6px; }
.share:hover { border-color: var(--muted); }
.notes { padding: 22px 0; }
.notes-in { display: grid; gap: 22px; }
@media (min-width: 900px) { .notes-in { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.notes h2 { font-size: 19px; margin-bottom: 8px; }
.notes p { color: var(--ink); opacity: .9; }
.credits ul { list-style: none; margin: 0; padding: 14px 0 4px; border-top: 1px solid var(--line); color: var(--muted);
  font-size: 13px; display: grid; gap: 4px; }
.pn { padding: 22px 0 10px; }
.pn-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pn-a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; background: var(--panel); }
.pn-a:hover { border-color: var(--muted); }
.pn-next { text-align: right; }
.pn-l { font-size: 13px; color: var(--muted); }
.pn-t { font-weight: 650; }
.theme-andora .pn-t { font-family: var(--display); font-weight: 600; }

.foot { padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.foot .mark { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .thumb img, .play { transition: none; } }
