/* =========================================================
   HAPPIE TOONS — studio hub + show pages
   Loaded only on /toons/ pages, after styles.css.
   Each show sets its own tokens under [data-show]; layout is shared.
   ========================================================= */

@font-face { font-family: "Toon Fredoka"; src: url("../fonts/toons/fredoka.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Toon Cinzel"; src: url("../fonts/toons/cinzel.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Toon Chakra"; src: url("../fonts/toons/chakra.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Toon Cormorant"; src: url("../fonts/toons/cormorant.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Toon Elite"; src: url("../fonts/toons/specialelite.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Toon Teko"; src: url("../fonts/toons/teko.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Toon Grandstander"; src: url("../fonts/toons/grandstander.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --toon-navy: #2E3546;      /* sampled from the Happie Toons logo */
  --toon-night: #1C2130;
  --toon-paper: #F6F5F3;
}

/* ---------- Show tokens ---------- */
[data-show] {
  --t-bg: #FFFFFF; --t-bg2: #F6F5F3; --t-surface: #FFFFFF;
  --t-ink: #1C1C1C; --t-muted: #4A4A4A; --t-line: rgba(0, 0, 0, .12);
  --t-accent: var(--red); --t-accent-ink: var(--red); --t-accent2: var(--toon-navy);
  --t-btn-bg: var(--red); --t-btn-ink: #FFFFFF;
  --t-font: "Poppins", sans-serif; --t-title-case: none; --t-title-track: -.01em; --t-title-scale: 1;
  --t-radius: 6px;
}
[data-show="zayn"] {
  --t-bg: #22123A; --t-bg2: #2C1848; --t-surface: rgba(255, 245, 232, .06);
  --t-ink: #FFF5E8; --t-muted: rgba(255, 245, 232, .74); --t-line: rgba(255, 245, 232, .16);
  --t-accent: #F5B83D; --t-accent-ink: #F5B83D; --t-accent2: #D94FB8;
  --t-btn-bg: #F5B83D; --t-btn-ink: #22123A;
  --t-font: "Toon Fredoka", "Poppins", sans-serif; --t-title-scale: 1.04; --t-radius: 22px;
}
[data-show="kingdom"] {
  --t-bg: #FBF4EA; --t-bg2: #F3E6D3; --t-surface: #FFFFFF;
  --t-ink: #241F3D; --t-muted: #575170; --t-line: rgba(36, 31, 61, .14);
  --t-accent: #C3922F; --t-accent-ink: #855C12; --t-accent2: #2E4597;
  --t-btn-bg: #2E4597; --t-btn-ink: #FFFFFF;
  --t-font: "Toon Cinzel", Georgia, serif; --t-title-case: uppercase; --t-title-track: .02em; --t-title-scale: .9; --t-radius: 2px;
}
[data-show="starforge"] {
  --t-bg: #091230; --t-bg2: #0E1A42; --t-surface: rgba(234, 240, 255, .05);
  --t-ink: #EAF0FF; --t-muted: rgba(234, 240, 255, .74); --t-line: rgba(234, 240, 255, .16);
  --t-accent: #E0B451; --t-accent-ink: #E0B451; --t-accent2: #6FA8FF;
  --t-btn-bg: #E0B451; --t-btn-ink: #091230;
  --t-font: "Toon Chakra", "Poppins", sans-serif; --t-title-case: uppercase; --t-title-track: .04em; --t-title-scale: .88; --t-radius: 0;
}
[data-show="atlas"] {
  --t-bg: #0C343D; --t-bg2: #0F404A; --t-surface: rgba(243, 232, 208, .06);
  --t-ink: #F3E8D0; --t-muted: rgba(243, 232, 208, .76); --t-line: rgba(243, 232, 208, .2);
  --t-accent: #D8A65C; --t-accent-ink: #E4B46C; --t-accent2: #7CCFC6;
  --t-btn-bg: #D8A65C; --t-btn-ink: #0C343D;
  --t-font: "Toon Cormorant", Georgia, serif; --t-title-scale: 1.12; --t-title-track: 0; --t-radius: 4px;
}
[data-show="cluecraft"] {
  --t-bg: #16110D; --t-bg2: #201812; --t-surface: rgba(241, 228, 207, .05);
  --t-ink: #F1E4CF; --t-muted: rgba(241, 228, 207, .74); --t-line: rgba(241, 228, 207, .16);
  --t-accent: #E4A846; --t-accent-ink: #E4A846; --t-accent2: #C0453A;
  --t-btn-bg: #E4A846; --t-btn-ink: #16110D;
  --t-font: "Toon Elite", "Courier New", monospace; --t-title-scale: .86; --t-title-track: 0; --t-radius: 2px;
}
[data-show="fluxball"] {
  --t-bg: #EFF3FA; --t-bg2: #E2E9F6; --t-surface: #FFFFFF;
  --t-ink: #0D1A3A; --t-muted: #46526F; --t-line: rgba(13, 26, 58, .14);
  --t-accent: #1E73F0; --t-accent-ink: #0E5AD0; --t-accent2: #F2B705;
  --t-btn-bg: #0E5AD0; --t-btn-ink: #FFFFFF;
  --t-font: "Toon Teko", "Poppins", sans-serif; --t-title-case: uppercase; --t-title-track: .01em; --t-title-scale: 1.3; --t-radius: 0;
}
[data-show="wobblewood"] {
  --t-bg: #FFF6E2; --t-bg2: #FCEACA; --t-surface: #FFFFFF;
  --t-ink: #3A2A1C; --t-muted: #69553F; --t-line: rgba(58, 42, 28, .15);
  --t-accent: #E5483A; --t-accent-ink: #24742F; --t-accent2: #2D7FD3;
  --t-btn-bg: #24742F; --t-btn-ink: #FFFFFF;
  --t-font: "Toon Grandstander", "Poppins", sans-serif; --t-title-scale: .98; --t-radius: 20px;
}

/* Toons pages always use the solid navigation so it reads over dark art */
.is-toons .nav { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }

/* ---------- Shared pieces ---------- */
.tx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-chips li { padding: 6px 13px; border: 1px solid var(--t-line, rgba(0,0,0,.14)); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--t-ink, var(--ink)); }
.th-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 500; color: var(--t-muted); }
.th-meta span + span { position: relative; }
.th-meta span + span::before { content: ""; position: absolute; left: -12px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--t-accent); }
.tx-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 28px; border-radius: 999px; background: var(--t-btn-bg); color: var(--t-btn-ink); font-size: 15.5px; font-weight: 600; text-decoration: none; line-height: 1; transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s; }
.tx-btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); }
.tx-btn--ghost { background: transparent; color: var(--t-ink); box-shadow: inset 0 0 0 1.5px var(--t-line); }
.tx-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--t-accent); }
.tx-btn:focus-visible, .th-back:focus-visible { outline-color: var(--t-accent); }

/* Worlds reel: seven angled slices { --cut: 34px; display: flex; height: clamp(320px, 54vh, 580px); padding: 0; margin: 0; }

/* =========================================================
   HUB — studio + updates
   ========================================================= */
.tx-studio { padding: clamp(88px, 10vw, 150px) 0; background: var(--toon-night); color: rgba(255, 255, 255, .8); }
.tx-studio__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px clamp(40px, 6vw, 100px); align-items: center; }
.tx-studio__copy p:not(.eyebrow) { margin-top: 24px; font-size: 17px; line-height: 1.8; max-width: 52ch; }
.tx-studio__ident { margin: 0; }
.tx-studio__ident video { width: 100%; height: auto; display: block; border-radius: 18px; background: #FFFFFF; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); }
.tx-studio__ident figcaption { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.tx-principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(16px, 3vw, 40px); }
.tx-principles li { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); position: relative; }
.tx-principles li::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--red); }
.tx-principles h3 { font-size: 17px; font-weight: 600; color: var(--white); }
.tx-principles p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .66); }
.tx-updates { padding: clamp(88px, 10vw, 140px) 0; background: var(--white); }
.tx-updates__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 100px); align-items: center; }
.tx-updates .lead-muted { margin-top: 18px; }
.notify--toon { width: 100%; }
.notify--toon .notify__field { box-shadow: 0 0 0 1px var(--grey-300), 0 20px 50px -30px rgba(0, 0, 0, .35); }
.tx-partners { margin-top: 12px; font-size: 14.5px; color: var(--ink-soft); }
.tx-partners a { color: var(--red); font-weight: 500; text-underline-offset: 3px; }
.tx-partners + .tx-partners { margin-top: 4px; }
.th-contact { margin-top: 14px; font-size: 15px; color: var(--t-muted); }
.th-contact a { color: var(--t-accent-ink); font-weight: 600; text-underline-offset: 3px; }

/* =========================================================
   SHOW PAGE
   ========================================================= */
.toon { background: var(--t-bg); color: var(--t-ink); }
.th-hero { position: relative; }
.th-hero__stage { position: relative; isolation: isolate; display: grid; place-items: center; padding: calc(var(--nav-h) + 20px) clamp(0px, 3vw, 48px) 0; overflow: hidden; }
.th-hero__blur { position: absolute; inset: -40px; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; filter: blur(38px) saturate(1.2); opacity: .75; }
.th-hero__stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--t-bg) 30%, transparent) 0%, color-mix(in srgb, var(--t-bg) 10%, transparent) 50%, var(--t-bg) 100%); }
.th-hero__art { width: auto; max-width: min(100%, 1400px); max-height: calc(100vh / var(--z) - var(--nav-h) - 160px); min-height: 0; object-fit: contain; border-radius: var(--t-radius); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .7); animation: thArt 1.4s var(--ease) both; }
@keyframes thArt { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.th-hero__panel { padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(56px, 6vw, 88px); }
.th-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--t-muted); margin-bottom: clamp(24px, 3vw, 36px); }
.th-crumbs a { color: var(--t-muted); text-decoration: none; }
.th-crumbs a:hover { color: var(--t-accent-ink); }
.th-crumbs [aria-current] { color: var(--t-ink); }
.th-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px clamp(40px, 6vw, 100px); align-items: start; }
.th-title { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(clamp(44px, 5.4vw, 84px) * var(--t-title-scale)); font-weight: 600; line-height: .98; }
.th-title__sub { display: block; margin-top: 14px; font-family: "Poppins", sans-serif; font-size: clamp(14px, 1.15vw, 17px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t-accent-ink); line-height: 1.3; }
.th-tagline { margin-top: 24px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 300; line-height: 1.45; color: var(--t-ink); max-width: 30ch; }
.th-hero__side { display: grid; gap: 20px; justify-items: start; padding-top: 6px; }
.th-intro { font-size: 17px; line-height: 1.7; color: var(--t-muted); }
.th-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 6px; }
.th-back { font-size: 14.5px; font-weight: 500; color: var(--t-ink); text-decoration: none; border-bottom: 1px solid var(--t-line); padding-bottom: 2px; transition: border-color .25s, color .25s; }
.th-back:hover { color: var(--t-accent-ink); border-color: var(--t-accent); }

/* Sub-navigation */
.th-subnav { position: sticky; top: 74px; z-index: 40; background: color-mix(in srgb, var(--t-bg) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); }
.th-subnav__inner { display: flex; align-items: center; gap: 28px; min-height: 54px; }
.th-subnav__name { flex: none; font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(18px * var(--t-title-scale)); font-weight: 600; color: var(--t-ink); text-decoration: none; }
.th-subnav ul { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.th-subnav ul::-webkit-scrollbar { display: none; }
.th-subnav ul a { display: block; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--t-muted); text-decoration: none; white-space: nowrap; transition: color .2s, background-color .2s; }
.th-subnav ul a:hover { color: var(--t-ink); }
.th-subnav ul a.is-current { color: var(--t-btn-ink); background: var(--t-btn-bg); }

/* Sections */
.th-sec { padding: clamp(80px, 9vw, 136px) 0; scroll-margin-top: 120px; }
.th-sec:nth-of-type(even) { background: var(--t-bg2); }
.th-sec__head { margin-bottom: clamp(36px, 4vw, 56px); }
.th-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--t-accent-ink); margin-bottom: 14px; }
.th-h2 { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(clamp(30px, 3.2vw, 48px) * var(--t-title-scale)); font-weight: 600; line-height: 1.08; }
.th-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 110px); align-items: start; }
.th-facts { margin-top: 36px; display: grid; }
.th-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--t-line); }
.th-facts div:last-child { border-bottom: 1px solid var(--t-line); }
.th-facts dt { font-size: 13.5px; color: var(--t-muted); }
.th-facts dd { font-size: 15px; font-weight: 500; }
.th-story__copy { display: grid; gap: 1em; }
.th-story__copy > p:not(.th-note) { font-size: clamp(19px, 1.55vw, 24px); line-height: 1.55; font-weight: 400; max-width: 34ch; }
.th-story__copy > p:first-child { font-weight: 500; }
.th-note { margin-top: 14px; font-size: 14px; color: var(--t-muted); }
.th-play { margin-top: 14px; padding: 22px 24px; border: 1px dashed var(--t-accent); border-radius: var(--t-radius); max-width: 46ch; }
.th-play p:last-child { font-size: 16px; line-height: 1.65; }

/* Characters */
.th-chars__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.th-char { display: grid; grid-template-rows: auto 1fr; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; }
.th-char__art { margin: 0; overflow: hidden; background: var(--t-bg2); }
.th-char__art { aspect-ratio: 5 / 4; }
.th-char__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.th-char__art--pending { aspect-ratio: 16 / 6; display: grid; place-items: center; min-height: 150px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--t-muted); background: repeating-linear-gradient(135deg, transparent 0 12px, var(--t-line) 12px 13px), var(--t-bg2); }
.th-char__body { padding: clamp(22px, 2.4vw, 34px); display: grid; gap: 12px; align-content: start; }
.th-char h3 { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(clamp(26px, 2.4vw, 36px) * var(--t-title-scale)); font-weight: 600; line-height: 1.05; }
.th-char__intro { font-size: 17px; line-height: 1.55; }
.th-traits { display: flex; flex-wrap: wrap; gap: 8px; }
.th-traits li { padding: 5px 12px; border-radius: 999px; background: var(--t-accent); color: var(--t-btn-ink); font-size: 13px; font-weight: 600; }
[data-theme="light"] .th-traits li { color: #1C1C1C; }
.th-char__role { font-size: 15px; line-height: 1.65; color: var(--t-muted); }
.th-char__role span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--t-accent-ink); }
.th-char--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-rows: auto; }
.th-char--wide .th-char__art { aspect-ratio: auto; }
.th-char--wide .th-char__art img { height: auto; }
.th-char--wide .th-char__body { align-content: center; }
.th-char--pending .th-char__body { opacity: .92; }
.th-chars .th-note { margin-top: 24px; }

/* World */
.th-world__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "copy one" "copy two"; column-gap: clamp(32px, 5vw, 88px); align-items: center; }
.th-world__copy { grid-area: copy; display: grid; gap: 16px; align-self: center; }
.th-world__copy > p:not(.th-eyebrow):not(.th-note) { font-size: 18px; line-height: 1.7; color: var(--t-ink); max-width: 40ch; }
.th-world__img { margin: 0; overflow: hidden; border-radius: var(--t-radius); }
.th-world__img img { width: 100%; height: 100%; object-fit: cover; }
.th-world__img--1 { grid-area: one; aspect-ratio: 16 / 10; }
.th-world__img--2 { grid-area: two; justify-self: end; width: 58%; aspect-ratio: 16 / 10; margin-top: -12%; margin-right: -2%; position: relative; z-index: 1; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65); }
.th-world__grid--1 { grid-template-areas: "copy one"; }
.th-world__grid--has-pano { grid-template-areas: "copy one" "pano pano"; row-gap: clamp(32px, 4vw, 56px); }
.th-world__grid--0.th-world__grid--has-pano { grid-template-areas: "copy" "pano"; }
.th-world__img--pano { grid-area: pano; justify-self: center; width: 100%; }
.th-world__img--pano img { height: auto; }

/* Episodes */
.th-soon { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.th-soon__screen { aspect-ratio: 16 / 9; display: grid; place-items: center; border-radius: var(--t-radius); border: 1px solid var(--t-line); background: radial-gradient(60% 80% at 50% 40%, var(--t-surface), transparent), var(--t-bg2); }
.th-soon__screen svg { width: 64px; height: 64px; fill: none; stroke: var(--t-accent); stroke-width: 1.5; stroke-linejoin: round; }
.th-soon__copy { display: grid; gap: 14px; justify-items: start; }
.th-soon__copy h3 { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(clamp(26px, 2.4vw, 34px) * var(--t-title-scale)); font-weight: 600; }
.th-soon__copy p { font-size: 16.5px; line-height: 1.7; color: var(--t-muted); max-width: 44ch; }
.th-eps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; }
.th-ep__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; overflow: hidden; border-radius: var(--t-radius); background: var(--t-bg2); cursor: default; }
button.th-ep__media { cursor: pointer; }
.th-ep__media img, .th-ep__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.th-ep__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--t-btn-bg); }
.th-ep__play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 16px solid var(--t-btn-ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.th-ep__body { padding-top: 14px; }
.th-ep__num { font-size: 13px; color: var(--t-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.th-ep__status { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--t-line); font-size: 12px; font-weight: 600; }
.th-ep__status.is-live { background: var(--t-btn-bg); color: var(--t-btn-ink); border-color: transparent; }
.th-ep h3 { margin-top: 6px; font-size: 18px; font-weight: 600; }
.th-ep__body > p:last-child { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--t-muted); }

/* Gallery */
.th-gallery__grid { columns: 3 280px; column-gap: clamp(16px, 2vw, 28px); }
.th-gallery__grid li { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 28px); }
.th-gallery__item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--t-radius); }
.th-gallery__item img { width: 100%; transition: transform .9s var(--ease); }
.th-gallery__item:hover img { transform: scale(1.03); }
.th-gallery__item:focus-visible { outline: 2px solid var(--t-accent); outline-offset: 3px; }
.th-gallery__grid p { margin-top: 10px; font-size: 13.5px; color: var(--t-muted); }

/* Updates + more shows */
.th-updates__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 100px); align-items: center; }
.th-updates__grid > div > p:not(.th-eyebrow) { margin-top: 16px; font-size: 17px; line-height: 1.65; color: var(--t-muted); }
.toon .notify--toon .notify__field { box-shadow: 0 0 0 1px var(--t-line), 0 20px 50px -30px rgba(0, 0, 0, .5); }
.toon .notify--toon .form-msg { color: var(--t-ink); }
.toon[data-theme="dark"] .notify--toon .form-msg.is-error { color: #FFB4AC; }
.toon[data-theme="dark"] .notify--toon .form-msg.is-success { color: #B9F0C8; }
.th-more { padding: clamp(64px, 7vw, 100px) 0 clamp(72px, 8vw, 110px); background: var(--white); color: var(--ink); }
.th-more__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.th-more__head h2 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.01em; }
.th-more .th-back { color: var(--ink); border-color: var(--grey-300); }
.th-more .th-back:hover { color: var(--red); border-color: var(--red); }
.th-more__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.th-more__list a { display: grid; gap: 10px; text-decoration: none; color: var(--ink); }
.th-more__list img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.th-more__list a:hover img { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
.th-more__list span { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(16px * var(--t-title-scale)); font-weight: 600; line-height: 1.15; }
.th-more__list a:hover span { color: var(--red); }
.th-pager { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--grey-300); }
.th-pager a { display: block; padding-top: 24px; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; color: var(--ink); text-decoration: none; }
.th-pager a[rel="next"] { text-align: right; }
.th-pager a span { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-500); }
.th-pager a:hover { color: var(--red); }

/* Lightbox */
.lightbox { width: min(calc(96vw / var(--z)), 1400px); max-height: calc(94vh / var(--z)); padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 8, 12, .9); }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lightbox__fig img { max-width: 100%; max-height: calc(84vh / var(--z)); width: auto; border-radius: 6px; }
.lightbox__fig figcaption { color: rgba(255, 255, 255, .8); font-size: 14px; }
.lightbox__close, .lightbox__btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #FFFFFF; font-size: 20px; cursor: pointer; transition: background-color .2s; }
.lightbox__close:hover, .lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -24px; }
.lightbox__close:focus-visible, .lightbox__btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }

/* =========================================================
   PER-SHOW ART DIRECTION (motifs on top of shared layout)
   ========================================================= */
/* Zayn & Zayd — genie glow, rounded storybook cards */
[data-show="zayn"].toon .th-hero__blur { opacity: .9; }
[data-show="zayn"] .th-eyebrow::before { content: "✦ "; color: var(--t-accent2); }
[data-show="zayn"] .th-char { border-color: color-mix(in srgb, var(--t-accent) 40%, transparent); box-shadow: 0 30px 70px -40px rgba(217, 79, 184, .55); }

/* The Kingdom — gilded rules and framed art */
[data-show="kingdom"] .th-eyebrow { display: flex; align-items: center; gap: 12px; }
[data-show="kingdom"] .th-eyebrow::before, [data-show="kingdom"] .th-eyebrow::after { content: ""; height: 1px; width: 28px; background: var(--t-accent); }
[data-show="kingdom"] .th-frame { outline: 1px solid var(--t-accent); outline-offset: 6px; }
[data-show="kingdom"] .th-gallery__item.th-frame { outline-offset: 4px; }
[data-show="kingdom"] .th-char { border-color: color-mix(in srgb, var(--t-accent) 45%, transparent); }

/* StarForge Academy — HUD corners and cut edges */
[data-show="starforge"] .th-frame { position: relative; }
[data-show="starforge"] .th-frame::after { content: ""; position: absolute; inset: 8px; pointer-events: none;
  background:
    linear-gradient(var(--t-accent), var(--t-accent)) 0 0 / 22px 2px, linear-gradient(var(--t-accent), var(--t-accent)) 0 0 / 2px 22px,
    linear-gradient(var(--t-accent), var(--t-accent)) 100% 0 / 22px 2px, linear-gradient(var(--t-accent), var(--t-accent)) 100% 0 / 2px 22px,
    linear-gradient(var(--t-accent), var(--t-accent)) 0 100% / 22px 2px, linear-gradient(var(--t-accent), var(--t-accent)) 0 100% / 2px 22px,
    linear-gradient(var(--t-accent), var(--t-accent)) 100% 100% / 22px 2px, linear-gradient(var(--t-accent), var(--t-accent)) 100% 100% / 2px 22px;
  background-repeat: no-repeat; }
[data-show="starforge"] .th-char { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
[data-show="starforge"] .tx-btn { border-radius: 0; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-inline: 32px; }

/* Atlas of the Unfound — cartographer's dashed borders and compass */
[data-show="atlas"] .th-frame { border: 1px dashed var(--t-accent); padding: 6px; }
[data-show="atlas"] .th-frame img { border-radius: 2px; }
[data-show="atlas"] .th-story { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23D8A65C' stroke-opacity='.16' stroke-width='1'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='70'/%3E%3Cpath d='M100 4v192M4 100h192M100 30l12 70-12 70-12-70z'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 92% 40%; background-size: min(46vw, 560px); }
[data-show="atlas"] .th-h2 { font-style: italic; }

/* Cluecraft Files — case-file stamps and pinned photographs */
[data-show="cluecraft"] .th-eyebrow { display: inline-block; justify-self: start; width: max-content; max-width: 100%; padding: 4px 10px; border: 2px solid var(--t-accent2); color: #F0A398; transform: rotate(-2deg); letter-spacing: .18em; }
[data-show="cluecraft"] .th-gallery__item.th-frame, [data-show="cluecraft"] .th-world__img.th-frame { padding: 10px 10px 30px; background: #F1E4CF; border-radius: 2px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
[data-show="cluecraft"] .th-gallery__grid li:nth-child(odd) .th-frame { transform: rotate(-1.2deg); }
[data-show="cluecraft"] .th-gallery__grid li:nth-child(even) .th-frame { transform: rotate(1deg); }
[data-show="cluecraft"] .th-char { position: relative; overflow: visible; margin-top: 18px; border-top-left-radius: 0; }
[data-show="cluecraft"] .th-char::before { content: "CASE FILE"; position: absolute; left: -1px; top: -26px; padding: 4px 14px; font-size: 11px; letter-spacing: .2em; background: var(--t-bg2); border: 1px solid var(--t-line); border-bottom: 0; color: var(--t-accent); }

/* Fluxball — speed stripes and angled buttons */
[data-show="fluxball"] .th-hero__panel { background-image: repeating-linear-gradient(115deg, transparent 0 22px, rgba(30, 115, 240, .05) 22px 24px); }
[data-show="fluxball"] .tx-btn { border-radius: 0; transform: skewX(-10deg); }
[data-show="fluxball"] .tx-btn > span { display: inline-block; transform: skewX(10deg); }
[data-show="fluxball"] .tx-btn:hover { transform: skewX(-10deg) translateY(-1px); }
[data-show="fluxball"] .tx-chips li, [data-show="fluxball"] .th-traits li { border-radius: 0; transform: skewX(-10deg); }
[data-show="fluxball"] .th-h2 { line-height: .95; }
[data-show="fluxball"] .th-eyebrow::before { content: ""; display: inline-block; width: 26px; height: 4px; margin-right: 10px; vertical-align: middle; background: var(--t-accent2); transform: skewX(-20deg); }

/* Wobblewood — stickers and wobbly edges */
[data-show="wobblewood"] .tx-chips li { border: 0; background: #FFFFFF; box-shadow: 0 2px 0 rgba(58, 42, 28, .18); }
[data-show="wobblewood"] .tx-chips li:nth-child(odd) { transform: rotate(-2deg); }
[data-show="wobblewood"] .tx-chips li:nth-child(even) { transform: rotate(1.6deg); }
[data-show="wobblewood"] .tx-chips li:nth-child(3n+1) { background: #FFE07A; }
[data-show="wobblewood"] .tx-chips li:nth-child(3n+2) { background: #BDE6B4; }
[data-show="wobblewood"] .tx-chips li:nth-child(3n) { background: #BFDDF8; }
[data-show="wobblewood"] .th-frame { border: 6px solid #FFFFFF; box-shadow: 0 18px 40px -22px rgba(58, 42, 28, .55); }
[data-show="wobblewood"] .th-sec:nth-of-type(even) { position: relative; }
[data-show="wobblewood"] .th-sec:nth-of-type(even)::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M0 20V10Q15 0 30 10T60 10T90 10T120 10V20z' fill='%23FCEACA'/%3E%3C/svg%3E") 0 0 / 120px 20px repeat-x; }
[data-show="wobblewood"] .th-char:nth-child(odd) { transform: rotate(-.4deg); }
[data-show="wobblewood"] .th-char:nth-child(even) { transform: rotate(.4deg); }

/* =========================================================
   CAST CARDS, PLACES, OLDER-AUDIENCE SLATE (v2 content)
   ========================================================= */
.th-cast__group { margin-top: clamp(36px, 4vw, 56px); }
.th-cast__group:first-of-type { margin-top: 0; }
.th-cast__title { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t-muted); padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--t-line); }
.th-cast__grid { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); list-style: none; padding: 0; }
.th-cast__grid--few { grid-template-columns: repeat(var(--cols, 2), minmax(0, 260px)); }
.th-cast__group--lg .th-cast__grid--few { grid-template-columns: repeat(var(--cols, 2), minmax(0, 340px)); }
@media (max-width: 1100px) { .th-cast__grid:not(.th-cast__grid--few) { grid-template-columns: repeat(min(var(--cols), 4), minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .th-cast__grid, .th-cast__grid:not(.th-cast__grid--few), .th-cast__grid--few, .th-cast__group--lg .th-cast__grid--few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-cast__group--xs .th-cast__grid:not(.th-cast__grid--few) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .th-card__body { padding: 12px 12px 14px; }
  .th-card h4 { font-size: calc(17px * var(--t-title-scale)); }
  .th-card__intro { font-size: 13.5px; }
}
.th-card { display: flex; flex-direction: column; background: var(--t-surface); border: 1px solid var(--t-line); border-radius: var(--t-radius); overflow: hidden; }
.th-card__art { aspect-ratio: var(--art-ar, 4 / 5); overflow: hidden; background: var(--t-bg2); }
.th-card__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .8s var(--ease); }
.th-card:hover .th-card__art img { transform: scale(1.03); }
.th-cast__group--contain .th-card__art { background: var(--sheet-bg, #F7F1E6); }
[data-show="cluecraft"] .th-cast__group--contain { --sheet-bg: #EDE2D0; }
[data-show="wobblewood"] .th-cast__group--contain { --sheet-bg: #FDF7EA; }
.th-cast__group--contain .th-card__art img { object-fit: contain; object-position: 50% 100%; padding: 12px 8px 0; }
.th-cast__group--contain .th-card:hover .th-card__art img { transform: none; }
.th-card__body { padding: 16px 16px 18px; display: grid; gap: 6px; align-content: start; }
.th-card h4 { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(20px * var(--t-title-scale)); font-weight: 600; line-height: 1.1; color: var(--t-ink); }
.th-cast__group--lg .th-card h4 { font-size: calc(26px * var(--t-title-scale)); }
.th-card__meta { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--t-accent-ink); }
.th-card__intro { font-size: 14.5px; line-height: 1.55; color: var(--t-muted); }
.th-cast__group--lg .th-card__intro { font-size: 16px; }
.th-card__quote { margin-top: 4px; font-size: 14px; font-style: italic; line-height: 1.45; color: var(--t-ink); }
.th-cast__group--xs .th-card__art { aspect-ratio: 1 / 1; }
.th-cast__group--xs .th-card__body { padding: 10px 12px 12px; gap: 2px; }
.th-cast__group--xs .th-card h4 { font-size: calc(15px * var(--t-title-scale)); }
.th-cast__group--xs .th-card__meta { font-size: 11.5px; }
.th-also { margin-top: 28px; font-size: 15px; line-height: 1.7; color: var(--t-muted); max-width: 72ch; }
.th-places { margin-top: clamp(40px, 4vw, 64px); display: grid; gap: 28px clamp(20px, 2.4vw, 36px); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); list-style: none; padding: 0; }
.th-place { padding-top: 16px; border-top: 2px solid var(--t-accent); }
.th-places--img .th-place { padding-top: 0; border-top: 0; }
.th-place__art { aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--t-radius); margin-bottom: 14px; }
.th-place__art img { width: 100%; height: 100%; object-fit: cover; }
/* location art is cut from thin strips on the series sheets: keep close to that shape */
[data-show="cluecraft"] .th-place__art { aspect-ratio: 7 / 2; }
[data-show="wobblewood"] .th-place__art { aspect-ratio: 23 / 10; }
.th-place h3 { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(19px * var(--t-title-scale)); font-weight: 600; line-height: 1.15; }
.th-place p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--t-muted); }
.th-world__grid--0 { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy"; }
.th-world__grid--0 .th-world__copy > p { max-width: 62ch; }
.th-rating { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--t-accent); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--t-ink); }
.th-rating::before { content: "!"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--t-accent); color: var(--t-btn-ink); font-size: 12px; font-weight: 700; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .tx-studio__grid, .tx-updates__grid, .th-hero__grid, .th-split, .th-updates__grid, .th-soon { grid-template-columns: 1fr; }
  .tx-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-subnav { top: 74px; }
  .th-world__grid, .th-world__grid--1 { grid-template-columns: 1fr; grid-template-areas: "copy" "one" "two"; row-gap: 28px; }
  .th-world__grid--1 { grid-template-areas: "copy" "one"; }
  .th-world__grid--has-pano { grid-template-areas: "copy" "one" "pano"; }
  .th-world__grid--0.th-world__grid--has-pano { grid-template-areas: "copy" "pano"; }
  .th-more__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .th-eps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tx-principles { grid-template-columns: 1fr; }
  .th-hero__stage { padding: calc(var(--nav-h) + 8px) 0 0; }
  .th-hero__art { max-height: none; width: 100%; border-radius: 0; }
  .th-subnav__name { display: none; }
  .th-subnav ul { margin-left: -12px; }
  .th-chars__grid { grid-template-columns: 1fr; }
  .th-char--wide { grid-template-columns: 1fr; }
  .th-char__art img { max-height: 520px; }
  .th-world__img--2 { width: 72%; margin-top: -18%; }
  .th-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-eps { grid-template-columns: 1fr; }
  .th-places--img { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .th-places--img .th-place h3 { font-size: calc(16px * var(--t-title-scale)); }
  .th-places--img .th-place p { font-size: 13.5px; }
  .th-pager { grid-template-columns: 1fr; }
  .th-pager a[rel="next"] { text-align: left; }
  [data-show="cluecraft"] .th-char { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .th-hero__art { animation: none; }
}

/* =========================================================
   TOONS HUB v3 — spotlight, poster wall, character parade
   ========================================================= */
.tz-spot { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + clamp(20px, 3vh, 36px)) 0 clamp(28px, 4vh, 44px); background: var(--t-bg); color: var(--t-ink); transition: background-color .9s var(--ease), color .6s var(--ease); }
.tz-spot__glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--t-accent) 30%, transparent), transparent); transition: background .9s var(--ease); pointer-events: none; }
.tz-spot__top { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.tz-badge { flex: none; display: grid; place-items: center; padding: 10px 18px; background: #FFFFFF; border-radius: 16px; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .55); }
.tz-badge img { width: clamp(110px, 10vw, 150px); }
.tz-spot__intro h1 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--t-ink); }
.tz-spot__intro p { margin-top: 6px; font-size: 15px; color: var(--t-muted); }
.tz-pause { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--t-line); background: transparent; color: var(--t-ink); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.tz-pause[hidden] { display: none; }
.tz-pause:hover { border-color: var(--t-accent); }
.tz-pause__icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.tz-pause[aria-pressed="true"] .tz-pause__icon { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.tz-spot__stage { margin-top: clamp(20px, 3vh, 36px); }
.tz-spot__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 4vw, 72px); align-items: center; }
.tz-spot__panel[hidden] { display: none; }
.tz-spot__panel:not([hidden]) { animation: tzIn .8s var(--ease) both; }
@keyframes tzIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tz-spot__copy { display: grid; gap: 16px; justify-items: start; }
.tz-spot__title { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(clamp(42px, 5vw, 80px) * var(--t-title-scale)); font-weight: 600; line-height: .98; color: var(--t-ink); }
.tz-spot__sub { display: block; margin-top: 12px; font-family: "Poppins", sans-serif; font-size: clamp(13px, 1vw, 16px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t-accent-ink); line-height: 1.3; }
.tz-spot__tagline { font-size: clamp(19px, 1.5vw, 23px); font-weight: 300; line-height: 1.4; max-width: 30ch; }
.tz-spot__logline { font-size: 16px; line-height: 1.65; color: var(--t-muted); max-width: 46ch; }
.tz-spot__actions { margin-top: 6px; }
.tz-spot__art { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.tz-spot__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tz-spot__art:hover img { transform: scale(1.025); }
.tz-tabs { margin-top: clamp(24px, 4vh, 40px); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; }
.tz-tab { position: relative; width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px 10px 8px; border: 1px solid var(--t-line); border-radius: 12px; background: color-mix(in srgb, var(--t-bg) 94%, transparent); color: var(--t-ink); cursor: pointer; text-align: left; overflow: hidden; transition: border-color .3s, background-color .3s; }
.tz-tab img { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.tz-tab__name { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(14px * var(--t-title-scale)); font-weight: 600; line-height: 1.15; color: var(--t-ink); }
.tz-tab:hover { border-color: var(--t-accent); }
.tz-tab[aria-pressed="true"] { border-color: var(--t-accent); background: color-mix(in srgb, var(--t-accent) 14%, transparent); }
.tz-tab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--t-accent); transform: scaleX(0); transform-origin: left; }
.tz-tab[aria-pressed="true"] .tz-tab__bar { transform: scaleX(1); }
.tz-spot.is-playing .tz-tab[aria-pressed="true"] .tz-tab__bar { animation: tzBar var(--tz-dur, 7s) linear both; }
.tz-spot.is-held .tz-tab[aria-pressed="true"] .tz-tab__bar { animation-play-state: paused; }
@keyframes tzBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* each tab carries its own show's colours and typeface via [data-show] on its li */

.tz-wall { padding: clamp(80px, 9vw, 130px) 0; background: #FFFFFF; }
.tz-wall__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.tz-wall__label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 10px; }
.tz-filters { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tz-filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--grey-300); background: #FFFFFF; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.tz-filter:hover { border-color: var(--toon-navy); }
.tz-filter[aria-pressed="true"] { background: var(--toon-navy); border-color: var(--toon-navy); color: #FFFFFF; }
.tz-wall__status { min-height: 1.5em; margin-top: 8px; font-size: 13.5px; color: var(--grey-500); }
.tz-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 25vw, 400px); gap: clamp(12px, 1.4vw, 20px); list-style: none; padding: 0; }
.tz-card { position: relative; grid-column: span 4; border-radius: 18px; overflow: hidden; background: var(--t-bg); }
.tz-card--w7 { grid-column: span 7; } .tz-card--w5 { grid-column: span 5; } .tz-card--w6 { grid-column: span 6; } .tz-card--w4 { grid-column: span 4; }
.tz-grid.is-filtered .tz-card { grid-column: span 4; }
.tz-card[hidden] { display: none; }
.tz-card a { position: absolute; inset: 0; display: block; color: #FFFFFF; text-decoration: none; }
.tz-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tz-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 58%); }
.tz-card:hover img, .tz-card a:focus-visible img { transform: scale(1.04); }
.tz-card a:focus-visible { outline: 3px solid var(--t-accent); outline-offset: -3px; }
.tz-card__body { position: absolute; z-index: 1; left: clamp(16px, 2vw, 28px); right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 26px); display: grid; gap: 6px; }
.tz-card__genre { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--t-accent); color: #111; font-size: 12px; font-weight: 600; }
.tz-card__title { font-family: var(--t-font); text-transform: var(--t-title-case); letter-spacing: var(--t-title-track); font-size: calc(clamp(24px, 2.2vw, 36px) * var(--t-title-scale)); font-weight: 600; line-height: 1.02; text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.tz-card--w7 .tz-card__title, .tz-card--w6 .tz-card__title { font-size: calc(clamp(28px, 2.8vw, 44px) * var(--t-title-scale)); }
.tz-card__sub { display: block; margin-top: 6px; font-family: "Poppins", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.tz-card__tag { font-size: 14.5px; line-height: 1.45; opacity: .92; max-width: 44ch; }

.tz-parade { padding: clamp(72px, 8vw, 120px) 0; background: var(--toon-paper); overflow: hidden; }
.tz-parade__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.tz-parade__nav { display: flex; gap: 10px; }
.tz-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--grey-300); background: #FFFFFF; color: var(--ink); font-size: 18px; cursor: pointer; transition: background-color .25s, color .25s; }
.tz-arrow:hover { background: var(--toon-navy); color: #FFFFFF; border-color: var(--toon-navy); }
.tz-parade__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw / var(--z) - var(--max)) / 2)); padding: 4px max(var(--gutter), calc((100vw / var(--z) - var(--max)) / 2)) 16px; list-style: none; margin: 0; scrollbar-width: thin; }
.tz-parade__track:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.tz-face { flex: 0 0 clamp(168px, 15vw, 210px); scroll-snap-align: start; }
.tz-face a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.tz-face__art { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--t-bg2); margin-bottom: 8px; box-shadow: 0 0 0 3px #FFFFFF, 0 14px 30px -18px rgba(0, 0, 0, .45); }
.tz-face__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .8s var(--ease); }
.tz-face--contain .tz-face__art { background: #F7F1E6; }
.tz-face--contain .tz-face__art img { object-fit: contain; object-position: 50% 100%; padding: 10px 6px 0; }
.tz-face a:hover img { transform: scale(1.04); }
.tz-face--contain a:hover img { transform: none; }
.tz-face__name { font-size: 16px; font-weight: 600; }
.tz-face__show { font-size: 13px; color: var(--grey-500); }
.tz-face a:hover .tz-face__name { color: var(--red); }


@media (max-width: 1100px) {
  .tz-tabs { grid-template-columns: none; display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none; }
  .tz-tabs::-webkit-scrollbar { display: none; }
  .tz-tabs li { flex: 0 0 auto; scroll-snap-align: start; }
  .tz-tab { width: auto; padding-right: 16px; }
  .tz-wall__head { grid-template-columns: 1fr; }
  .tz-grid, .tz-grid.is-filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 40vw, 360px); }
  .tz-card, .tz-grid .tz-card--w7, .tz-grid .tz-card--w5, .tz-grid .tz-card--w6, .tz-grid .tz-card--w4, .tz-grid.is-filtered .tz-card { grid-column: span 1; }
  .tz-grid:not(.is-filtered) .tz-card--w7 { grid-column: span 2; }
}
@media (max-width: 860px) {
  .tz-spot__panel { grid-template-columns: 1fr; gap: 22px; }
  .tz-spot__art { order: -1; }
}
@media (max-width: 760px) {
  .tz-spot__top { flex-wrap: wrap; }
  .tz-spot__intro { flex: 1 1 200px; }
  .tz-pause { margin-left: 0; }
  .tz-spot__title { font-size: calc(40px * var(--t-title-scale)); }
  .tz-grid, .tz-grid.is-filtered { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .tz-grid:not(.is-filtered) .tz-card--w7 { grid-column: span 1; }
  .tz-parade__nav { display: none; }
  .tz-face { flex-basis: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .tz-spot, .tz-spot__glow { transition: none; }
  .tz-spot__panel:not([hidden]) { animation: none; }
}

/* Body copy is justified (see styles.css) */
.th-world__copy > p, .tx-studio__copy p, .th-also, .th-story__copy p, .th-intro, .tz-spot__logline,
.th-soon__copy p, .th-play p, .th-card__intro, .th-place p, .tx-principles p, .tx-partners {
  text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3;
}

/* =========================================================
   PRIVATE PREVIEW (link to the password-protected pitch)
   ========================================================= */
.th-lock { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.th-ppbtn { gap: 8px; }
.th-pp { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 8vw, 120px) 0; background: #1d0f26; color: #FFF4DE; scroll-margin-top: 120px; }
.th-pp__bg { position: absolute; inset: -40px; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; filter: blur(26px) saturate(1.15); opacity: .55; }
.th-pp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 20% 50%, rgba(29, 15, 38, .55), rgba(29, 15, 38, .92) 70%); }
.th-pp__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px clamp(28px, 4vw, 56px); align-items: center; }
.th-pp__seal { width: clamp(96px, 9vw, 132px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #1d0f26; background: radial-gradient(circle at 40% 35%, #FFF1C9, #F6A623 55%, #C9781A); box-shadow: 0 0 0 10px rgba(246, 166, 35, .14), 0 0 60px rgba(246, 166, 35, .45); }
.th-pp__seal .th-lock { width: 44%; height: 44%; stroke-width: 2.2; }
.th-pp .th-eyebrow { color: #F6A623; }
.th-pp .th-h2 { color: #FFF4DE; }
.th-pp__copy > p:not(.th-eyebrow) { margin-top: 14px; max-width: 60ch; font-size: 17px; line-height: 1.65; color: rgba(255, 244, 222, .86); }
.th-pp__copy > p.th-pp__note { font-size: 14.5px; color: rgba(255, 244, 222, .68); }
.th-pp__note a { color: #F6A623; font-weight: 600; text-underline-offset: 3px; }
.th-pp__go { gap: 10px; background: #F6A623; color: #1d0f26; white-space: nowrap; }
.th-pp__actions { display: grid; gap: 12px; justify-items: stretch; }
.th-pp__pw { margin: 0; font-size: 14.5px; font-weight: 600; color: rgba(255, 244, 222, .78); text-align: center; }
.th-pp__go--alt { background: transparent; color: #FFF4DE; box-shadow: inset 0 0 0 2px rgba(255, 244, 222, .65); }
.th-pp__go--alt:hover { background: rgba(255, 244, 222, .1); box-shadow: inset 0 0 0 2px #F6A623; color: #FFF4DE; }
@media (max-width: 1100px) {
  .th-pp__inner { grid-template-columns: auto minmax(0, 1fr); }
  .th-pp__go, .th-pp__actions { grid-column: 2; justify-self: start; }
  .th-pp__actions .th-pp__go { grid-column: auto; justify-self: stretch; }
  .th-pp__pw { text-align: left; }
}
@media (max-width: 640px) {
  .th-pp__inner { grid-template-columns: 1fr; text-align: left; }
  .th-pp__go, .th-pp__actions { grid-column: 1; width: 100%; white-space: normal; }
  .th-pp__actions .th-pp__go { grid-column: auto; }
}
