/* ==========================================================================
   The Other World — main stylesheet (mobile-first)

   Streaming-network layout: black header bar, full-bleed key art with the
   title block over its lower-left corner, centred shelf titles, horizontal
   shelves of 16:9 tiles, a dark sign-up band and a grey footer.
   Light scheme by default; `.scheme-dark` (TOW → Site settings) flips it.
   ========================================================================== */

/* Font (self-hosted, OFL) -------------------------------------------------- */
@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/public-sans-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/public-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Public Sans";
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/public-sans-latin-wght-italic.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens ------------------------------------------------------------------ */
:root {
	--bg: #fff;
	--surface: #f2f2f2;
	--surface-2: #e8e8e8;
	--text: #404040;
	--heading: #262626;
	--muted: #737373;
	--line: #e0e0e0;
	--accent: #2aa7d4;
	--accent-ink: #fff;
	--header-bg: #000;
	--header-ink: #fff;
	--header-muted: #b8b8b8;
	--band-bg: #141414;
	--footer-bg: #404040;
	--footer-ink: #fff;
	--tile-bg: #d9d9d9;

	--font: "Public Sans", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(16px, 4vw, 48px);
	--wrap: 1360px;
	--measure: 44rem;
	--header-h: 56px;
	--gap: clamp(12px, 1.6vw, 24px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}
.scheme-dark {
	--bg: #000;
	--surface: #141414;
	--surface-2: #1f1f1f;
	--text: #d6d6d6;
	--heading: #fff;
	--muted: #9a9a9a;
	--line: #2a2a2a;
	--band-bg: #0d0d0d;
	--footer-bg: #141414;
	--tile-bg: #1c1c1c;
}
@media (min-width: 1024px) {
	:root { --header-h: 64px; }
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 56px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--heading); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000;
	width: auto; height: auto; clip: auto; margin: 0;
	padding: .75rem 1rem; background: #fff; color: #000; font-weight: 600;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { display: block; min-height: 50vh; outline: none; }
.page-pad { padding-top: clamp(1.5rem, 4vw, 2.5rem); }

/* Header (black bar) ------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: var(--header-bg);
	color: var(--header-ink);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	height: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
	display: grid;
	grid-template-columns: 44px 1fr auto;
	align-items: center;
	gap: 12px;
}
.brand { display: inline-flex; align-items: center; color: var(--header-ink); text-decoration: none; justify-self: center; }
.brand:hover { color: var(--header-ink); }
.brand__word { font-weight: 800; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.brand__logo { max-height: 30px; width: auto; }
.nav-primary { display: none; }
.nav-primary__list { list-style: none; display: flex; flex-wrap: wrap; }
.nav-primary__list a {
	display: block;
	padding: 8px 12px;
	font-size: .75rem;
	font-weight: 400;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--header-muted);
	text-decoration: none;
	white-space: nowrap;
}
.nav-primary__list a:hover,
.nav-primary__list .current-menu-item > a { color: var(--header-ink); }
.nav-primary__list .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--accent); }
.site-header__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0;
	border: 0; background: none; color: inherit; cursor: pointer;
}
.icon-btn .icon { width: 20px; height: 20px; }
.header-cta {
	display: none;
	align-items: center;
	height: 36px;
	padding: 0 16px;
	background: #fff;
	color: #000;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2px;
	white-space: nowrap;
}
.header-cta:hover { background: var(--accent); color: #fff; }
.header-account {
	display: none;
	align-items: center;
	gap: 6px;
	height: 44px;
	padding: 0 8px;
	color: inherit;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	max-width: 11ch;
	overflow: hidden;
}
.header-account .icon { width: 18px; height: 18px; flex: none; }
.header-account span { overflow: hidden; text-overflow: ellipsis; }
.header-account:hover { color: var(--accent); }
@media (min-width: 560px) { .header-account { display: inline-flex; } }
.header-account--panel { display: inline-flex; max-width: none; margin-bottom: 16px; }

.menu-toggle__bars { position: relative; display: block; width: 22px; height: 16px; }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 7px; }
.menu-toggle__bars span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
	.site-header__inner { grid-template-columns: auto 1fr auto; gap: 24px; }
	.menu-toggle { display: none; }
	.brand { justify-self: start; }
	.nav-primary { display: block; }
}

/* Mobile menu: white sheet under the bar */
.menu-panel {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 90;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 8px var(--gutter) max(24px, env(safe-area-inset-bottom));
	background: var(--bg);
	overflow-y: auto;
}
.menu-panel[hidden] { display: none; }
.menu-panel__list { list-style: none; }
.menu-panel__list li { border-bottom: 1px solid var(--line); }
.menu-panel__list a {
	display: block;
	padding: 16px 0;
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--heading);
	text-decoration: none;
}
.menu-panel__list .current-menu-item > a { color: var(--accent); }
.menu-panel__foot { padding-top: 24px; }
@media (min-width: 1024px) { .menu-panel { display: none !important; } }

/* Search dialog */
.search-dialog {
	width: 100%; max-width: none; margin: 0; padding: 0; border: 0;
	background: var(--bg); color: var(--text);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.search-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.search-dialog__inner { position: relative; max-width: var(--wrap); margin-inline: auto; padding: 48px var(--gutter) 32px; }
.search-dialog__row { display: flex; align-items: center; gap: 12px; }
.search-dialog__close { flex: none; width: 48px; height: 48px; }
.search-dialog__close .icon { width: 24px; height: 24px; }
.search-dialog__hint { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.search-form { flex: 1; min-width: 0; display: flex; align-items: center; border-bottom: 2px solid var(--heading); }
.search-form__input {
	flex: 1; min-width: 0; padding: 10px 0; border: 0; background: none;
	color: var(--heading); font: inherit; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 300; outline: none;
	line-height: 1.2;
}
.search-form__input::placeholder { color: var(--muted); }
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form__submit { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--heading); }
.search-form__submit .icon { width: 24px; height: 24px; }

/* Buttons ------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s, color .2s, filter .2s;
}
.btn .icon { width: 12px; height: 12px; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { filter: brightness(.9); color: var(--accent-ink); }
.btn--outline, .btn--ghost { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--outline:hover, .btn--ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn--light { background: #fff; border-color: #fff; color: #000; }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: .7rem; }
.btn--disabled { background: var(--surface); border-color: var(--line); color: var(--muted); cursor: not-allowed; }

/* Status text */
.status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}
.status--open, .status--casting { color: var(--accent); }
.status--open::before, .status--casting::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--closed { color: var(--muted); }

/* Artwork placeholder: a dark title card ------------------------------- */
.art {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 8%;
	background:
		radial-gradient(ellipse 70% 60% at 70% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
		linear-gradient(160deg, #2c3136 0%, #121417 70%);
	overflow: hidden;
}
.art__mark {
	color: rgba(255, 255, 255, .92);
	font-weight: 800;
	font-size: clamp(1rem, 2.4vw, 1.6rem);
	letter-spacing: .14em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.15;
}
.hero .art__mark { display: none; }
.art--poster .art__mark { font-size: .95rem; letter-spacing: .1em; }

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; background: var(--bg); }
.hero__media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.hero__media > img,
.hero__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, center); }
.hero__video { opacity: 0; transition: opacity 1s; }
.hero__video.is-playing { opacity: 1; }
.hero__body { position: relative; }
.hero__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: 20px var(--gutter) 8px;
	text-align: center;
}
.hero__eyebrow { font-size: .75rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: pre-wrap; }
.hero__title { margin-top: 6px; font-size: clamp(1.9rem, 6vw, 3.5rem); line-height: 1.1; letter-spacing: -.01em; color: var(--heading); }
.hero__title.is-xlong { font-size: clamp(1.6rem, 4.6vw, 2.75rem); }
.hero__text { margin: 10px auto 0; max-width: 46ch; font-size: 1.05rem; line-height: 1.5; }
.hero__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.hero__actions .btn { width: 100%; }
.hero__note, .frame__note { font-size: .875rem; color: var(--muted); }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.hero__meta a { color: inherit; }
.hero__meta > * + *::before { content: ""; display: inline-block; width: 1px; height: .9em; margin-right: 16px; vertical-align: -.1em; background: var(--line); }

@media (min-width: 640px) {
	.hero__actions { flex-direction: row; justify-content: center; }
	.hero__actions .btn { width: auto; }
}
@media (min-width: 960px) {
	.hero__media { aspect-ratio: 1440 / 504; min-height: 440px; max-height: 72vh; }
	.hero--page .hero__media { aspect-ratio: 3 / 1; min-height: 380px; max-height: 60vh; }
	.hero__media::after {
		content: "";
		position: absolute;
		inset: 0;
		background:
			linear-gradient(to right, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 42%, transparent 65%),
			linear-gradient(to top, rgba(0, 0, 0, .65) 0%, transparent 45%);
		pointer-events: none;
	}
	.hero__body { position: absolute; inset: auto 0 0; z-index: 2; }
	.hero__inner { padding: 0 var(--gutter) clamp(32px, 4.5vw, 64px); text-align: left; }
	.hero__eyebrow { color: rgba(255, 255, 255, .85); }
	.hero__title { color: #fff; max-width: 22ch; }
	.hero__text { margin-left: 0; color: rgba(255, 255, 255, .92); }
	.hero__actions { justify-content: flex-start; }
	.hero .btn--outline, .hero .btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff; }
	.hero .btn--outline:hover, .hero .btn--ghost:hover { background: #fff; color: #000; }
	.hero__meta { justify-content: flex-start; color: rgba(255, 255, 255, .8); }
	.hero__meta > * + *::before { background: rgba(255, 255, 255, .4); }
}

/* In-page tabs (show pages) */
.pagetabs {
	position: sticky;
	top: var(--header-h);
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.admin-bar .pagetabs { top: calc(var(--header-h) + 32px); }
.pagetabs__list {
	list-style: none;
	display: flex;
	justify-content: flex-start;
	gap: 4px;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
}
.pagetabs__list::-webkit-scrollbar { display: none; }
.pagetabs__list a {
	display: block;
	padding: 16px 12px 14px;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.pagetabs__list a:hover { color: var(--heading); border-color: var(--accent); }
@media (min-width: 960px) { .pagetabs__list { justify-content: center; } }

/* Sub-header bar (listing pages) */
.subheader { border-bottom: 1px solid var(--line); background: var(--bg); }
.subheader__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: 18px var(--gutter) 0;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 6px 24px;
}
.subheader__title { padding-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.1; color: var(--heading); }
.subheader__nav { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.subheader__nav::-webkit-scrollbar { display: none; }
.subheader__nav ul { list-style: none; display: flex; gap: 2px; }
.subheader__nav a {
	display: block;
	padding: 10px 12px 14px;
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.subheader__nav a:hover { color: var(--heading); }
.subheader__nav a.is-current { color: var(--heading); border-color: var(--accent); }

/* Breadcrumbs */
.crumbs { padding-top: 14px; font-size: .75rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }

/* Page heads (search, contact, character) */
.page-head { padding-bottom: 16px; }
.page-title { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.01em; }
.page-intro { max-width: 40rem; margin-top: 12px; font-size: 1.05rem; color: var(--text); }
.page-head .crumbs { padding-top: 0; margin-bottom: 14px; }

/* Sections ------------------------------------------------------------ */
.section { padding-block: clamp(40px, 6vw, 72px); }
.section--top-tight { padding-top: 24px; }
.section--tint { background: var(--surface); }
.section-head { display: flex; justify-content: center; text-align: center; margin-bottom: clamp(20px, 3vw, 32px); }
.section-title { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 300; line-height: 1.25; color: var(--heading); }
.section-head--split { justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; text-align: left; }
.section-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--accent);
	text-decoration: none;
}
.section-link .icon { width: 14px; height: 14px; }
.section-link:hover { text-decoration: underline; }
.section-intro { max-width: 46ch; margin: -12px auto 28px; text-align: center; color: var(--muted); }
.block-title { margin-bottom: 12px; font-size: 1.35rem; line-height: 1.25; }
.empty-note { color: var(--muted); }
.empty { padding: 40px 0; text-align: center; }
.empty__title { font-size: 1.5rem; font-weight: 300; color: var(--heading); margin-bottom: 8px; }
.empty p:not(.empty__title) { color: var(--muted); }

/* Tiles --------------------------------------------------------------- */
.tile__link { display: block; color: var(--text); text-decoration: none; }
.tile__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: var(--tile-bg); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile__link:hover .tile__media img { transform: scale(1.04); }
.tile__play {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	border: 1.5px solid rgba(255, 255, 255, .9);
	color: #fff;
}
.tile__play .icon { width: 16px; height: 16px; margin-left: 2px; }
.tile__badge {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 3px 6px;
	border-radius: 2px;
	background: rgba(0, 0, 0, .7);
	color: #fff;
	font-size: .68rem;
	font-weight: 500;
	letter-spacing: .03em;
}
.tile__body { display: grid; gap: 3px; padding-top: 12px; }
.tile__super { font-size: .68rem; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tile__sep { display: inline-block; width: 1px; height: .85em; margin: 0 8px; vertical-align: -.08em; background: var(--line); }
.tile__title { font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--heading); }
.tile__link:hover .tile__title { text-decoration: underline; text-underline-offset: .2em; }
.tile__desc {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .875rem;
	line-height: 1.5;
}
.tile--untitled .tile__title { font-weight: 400; font-style: italic; color: var(--muted); }
.tile.is-current .tile__media { box-shadow: 0 0 0 3px var(--accent); }

.tile-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px var(--gap); }
@media (min-width: 600px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); } }
.tile-grid--portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .tile-grid--portrait { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .tile-grid--portrait { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Shelves (horizontal rails with arrows) ------------------------------ */
.rail { position: relative; max-width: var(--wrap); margin-inline: auto; }
.rail__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}
.rail__viewport::-webkit-scrollbar { display: none; }
.rail__track { list-style: none; display: flex; gap: var(--gap); padding-inline: var(--gutter); width: max-content; }
.rail__track > li { width: min(78vw, 360px); scroll-snap-align: start; }
.rail--large .rail__track > li { width: min(88vw, 640px); }
.rail--portrait .rail__track > li { width: min(42vw, 200px); }
@media (min-width: 600px) {
	.rail__track > li { width: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 2 * var(--gap)) / 2.4); }
}
@media (min-width: 960px) {
	.rail__track > li { width: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 3 * var(--gap)) / 4); }
	.rail--large .rail__track > li { width: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - var(--gap)) / 2); }
	.rail--portrait .rail__track > li { width: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 5 * var(--gap)) / 6); }
}
.rail__arrow {
	position: absolute;
	top: 0;
	z-index: 3;
	display: none;
	place-items: center;
	width: var(--gutter);
	min-width: 32px;
	height: var(--rail-media-h, 56%);
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	cursor: pointer;
}
.rail__arrow:hover { color: var(--heading); }
.rail__arrow .icon { width: 28px; height: 28px; }
.rail__arrow--prev { left: 0; }
.rail__arrow--next { right: 0; }
@media (min-width: 960px) and (hover: hover) {
	.rail__arrow:not([hidden]) { display: grid; }
}

/* Featured "slots" (grey cards, like a schedule) */
.slots { list-style: none; display: grid; gap: var(--gap); }
@media (min-width: 720px) { .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.slot a { display: grid; gap: 6px; height: 100%; padding: 18px 20px; border-radius: 2px; background: var(--surface); color: var(--text); text-decoration: none; transition: background-color .2s; }
.section--tint .slot a { background: var(--bg); }
.slot a:hover { background: var(--surface-2); }
.slot__title { font-weight: 700; color: var(--heading); }
.slot__meta { font-size: .8rem; color: var(--muted); }

/* Project page --------------------------------------------------------- */
.about-project__grid { display: grid; gap: 32px; }
.about-project__poster { max-width: 200px; margin-bottom: 20px; border-radius: 2px; overflow: hidden; }
@media (min-width: 960px) {
	.about-project__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
	.about-project__poster { max-width: 240px; }
}
.facts { display: grid; margin: 0; }
.facts > div { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
.facts dd { margin: 0; font-size: .95rem; }
.facts dd a { color: var(--accent); }
.facts--inline { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 12px; }
.facts--inline > div, .facts--inline > div:last-child { display: block; padding: 0; border: 0; }

.prose { max-width: var(--measure); font-size: 1rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose--lead { font-size: 1.1rem; }
.prose a { color: var(--accent); }
.prose h2, .prose h3 { margin-top: 1.8em; line-height: 1.25; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin-inline: 0; padding-left: 1.1rem; border-left: 3px solid var(--accent); font-size: 1.15em; color: var(--heading); }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { margin-top: .5rem; font-size: .8rem; color: var(--muted); }
.prose img { width: 100%; height: auto; border-radius: 2px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose .alignwide, .prose .alignfull { max-width: none; }

.season__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: -8px 0 24px; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.season__meta > * + *::before { content: ""; display: inline-block; width: 1px; height: .9em; margin-right: 16px; vertical-align: -.1em; background: var(--line); }
.season-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 40px; }

/* Tabs */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs__tab {
	flex: none;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: none;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted);
	cursor: pointer;
}
.tabs__tab[aria-selected="true"] { background: var(--heading); border-color: var(--heading); color: var(--bg); }

/* Chapter page */
.chapter-nav { display: grid; gap: 12px; padding-bottom: 40px; }
.chapter-nav__link { display: grid; gap: 4px; padding: 16px 20px; border-radius: 2px; background: var(--surface); color: var(--text); text-decoration: none; }
.chapter-nav__link:hover { background: var(--surface-2); }
.chapter-nav__dir { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.chapter-nav__dir .icon { width: 14px; height: 14px; }
.chapter-nav__title { font-weight: 700; color: var(--heading); }
.chapter-nav__link--next { text-align: right; justify-items: end; }
@media (min-width: 640px) { .chapter-nav { grid-template-columns: 1fr 1fr; } .chapter-nav__link--next { grid-column: 2; } }

/* Characters */
.character-card { display: grid; gap: 2px; color: var(--text); text-decoration: none; }
.character-card__art { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: linear-gradient(160deg, #2c3136, #121417); margin-bottom: 10px; }
.character-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.character-card:hover img { transform: scale(1.04); }
.character-card__initial { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 800; color: rgba(255, 255, 255, .55); }
.character-card__name { font-weight: 700; color: var(--heading); }
.character-card:hover .character-card__name { text-decoration: underline; }
.character-card__actor { font-size: .85rem; color: var(--muted); }

.character__grid { display: grid; gap: 28px; padding-bottom: 40px; }
.character__art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: linear-gradient(160deg, #2c3136, #121417); max-width: 480px; }
.character__art img { width: 100%; height: 100%; object-fit: cover; }
.character__body .crumbs { padding-top: 0; margin-bottom: 18px; }
.character__body .frame__setting { margin-bottom: 6px; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.character__body .frame__setting a { color: var(--accent); text-decoration: none; }
.character__body .frame__tagline { margin: 10px 0 16px; font-size: 1.1rem; }
.character__actor { margin: 10px 0 18px; color: var(--muted); }
.character__actor strong { color: var(--heading); }
@media (min-width: 960px) { .character__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; } }

/* People */
.people__grid { display: grid; gap: 40px; }
.people__heading { margin-bottom: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cast { list-style: none; display: grid; gap: 14px var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.cast__item { display: flex; align-items: center; gap: 12px; }
.cast__photo { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.cast__photo img { width: 100%; height: 100%; object-fit: cover; }
.cast__initial { font-weight: 700; color: var(--muted); }
.cast__text { display: grid; }
.cast__name { font-weight: 700; color: var(--heading); text-decoration: none; }
.cast__role { font-size: .85rem; color: var(--muted); }
.crew { margin: 0; display: grid; }
.crew > div { display: grid; grid-template-columns: minmax(7rem, 40%) 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.crew dt { color: var(--muted); }
.crew dd { margin: 0; }
@media (min-width: 960px) { .people__grid { grid-template-columns: 3fr 2fr; gap: 64px; } }

/* Gallery */
.gallery__grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; grid-auto-flow: dense; }
.gallery__item { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: var(--tile-bg); }
.gallery__item.is-tall { grid-row: span 2; aspect-ratio: auto; }
.gallery__item.is-wide { grid-column: span 2; aspect-ratio: 21 / 9; }
.gallery__link { display: block; height: 100%; cursor: zoom-in; }
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__link:hover img { transform: scale(1.03); }
@media (min-width: 960px) { .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }

/* Casting --------------------------------------------------------------- */
.casting-stack { display: grid; gap: var(--gap); }
.casting-card { position: relative; display: grid; border-radius: 2px; background: var(--surface); overflow: hidden; }
.casting-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.casting-card__media img { width: 100%; height: 100%; object-fit: cover; }
.casting-card__body { display: grid; gap: 8px; align-content: start; justify-items: start; padding: clamp(18px, 3vw, 32px); }
.casting-card__status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: .8rem; color: var(--muted); }
.casting-card__project { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.casting-card__title { font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.2; }
.casting-card__title a { color: var(--heading); text-decoration: none; }
.casting-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.casting-card:hover .casting-card__title a { text-decoration: underline; }
.casting-card__roles-label { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.casting-card .btn { margin-top: 10px; }
.casting-card--closed { opacity: .75; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 10px; border-radius: 2px; background: var(--bg); font-size: .8rem; font-weight: 500; color: var(--heading); }
@media (min-width: 960px) {
	.casting-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
	.casting-card__media { aspect-ratio: auto; min-height: 100%; }
}
.closed-list { list-style: none; border-top: 1px solid var(--line); }
.closed-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.closed-list a { font-weight: 600; color: var(--heading); text-decoration: none; }
.closed-list span { font-size: .85rem; color: var(--muted); }
.notice-line { margin-top: 16px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--surface); }

.roles__list { display: grid; gap: var(--gap); }
.role { padding: clamp(18px, 3vw, 28px); border-radius: 2px; background: var(--surface); }
.role__head { display: grid; gap: 2px; }
.role__name { font-size: 1.35rem; }
.role__name a { color: var(--heading); }
.role__type { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.role__desc { margin-top: 12px; font-size: .95rem; }
@media (min-width: 720px) { .roles__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .roles__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.how__grid { display: grid; gap: 28px; }
.how__grid .section-head { margin-bottom: 0; }
.how__block h3 { margin-bottom: 12px; font-size: 1.1rem; }
.how__block p + p { margin-top: 10px; }
.how__block .btn { margin-top: 18px; }
.how__deadline { color: var(--muted); }
.how__deadline strong { color: var(--heading); }
.lines { list-style: none; display: grid; gap: 10px; counter-reset: line; }
.lines li { position: relative; padding-left: 28px; }
ul.lines li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
ol.lines li { counter-increment: line; }
ol.lines li::before { content: counter(line); position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
@media (min-width: 960px) {
	.how__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
	.how__grid .section-head { grid-column: 1 / -1; }
	.how__block--submit { padding: 24px; border-radius: 2px; background: var(--surface); align-self: start; }
}

/* Article --------------------------------------------------------------- */
.article__grid { display: grid; gap: 40px; }
.article__aside { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1024px) {
	.article__grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 80px; }
	.article__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share__label { width: 100%; margin-bottom: 4px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.share__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--heading); cursor: pointer; }
.share__btn:hover { border-color: var(--accent); color: var(--accent); }
.share__btn .icon { width: 16px; height: 16px; }
.share__status { font-size: .8rem; color: var(--muted); margin-left: 6px; }
.related-project { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 2px; background: var(--surface); text-decoration: none; color: var(--text); }
.related-project:hover { background: var(--surface-2); }
.related-project__art { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 2px; background: var(--tile-bg); }
.related-project__art img { width: 100%; height: 100%; object-fit: cover; }
.related-project__art .art__mark { font-size: .5rem; }
.related-project__body { display: grid; gap: 2px; }
.related-project__label { font-size: .65rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.related-project__title { font-weight: 700; color: var(--heading); }
.related-project__cta { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }

/* About ---------------------------------------------------------------- */
.split__grid { display: grid; gap: 24px; }
.split__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: var(--tile-bg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text .section-title { margin-bottom: 14px; }
@media (min-width: 960px) {
	.split__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
	.split--flip .split__media { order: 2; }
}
.work__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: var(--gap); }
.work__item { padding: 22px; border-radius: 2px; background: var(--surface); }
.work__title { font-size: 1.05rem; }
.work__text { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.work__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.team__grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); }
.person__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--tile-bg); margin-bottom: 12px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-size: 1rem; }
.person__name a { color: var(--heading); }
.person__role { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.person__bio { margin-top: 8px; font-size: .9rem; color: var(--muted); }
@media (min-width: 960px) { .team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Contact --------------------------------------------------------------- */
.contact { padding-bottom: clamp(40px, 6vw, 72px); }
.contact__grid { display: grid; gap: 32px; }
.contact__email { display: flex; align-items: center; gap: 8px; margin-block: 16px; }
.contact__email a { color: var(--accent); }
@media (min-width: 1024px) {
	.contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
}
.contact-form { display: grid; gap: 20px; padding: clamp(18px, 3vw, 32px); border-radius: 2px; background: var(--surface); }
.depts { border: 0; margin: 0; padding: 0; min-width: 0; }
.depts__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
@media (min-width: 640px) { .depts__options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dept { position: relative; cursor: pointer; }
.dept input { position: absolute; opacity: 0; pointer-events: none; }
.dept__box { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.dept__label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--heading); }
.dept__desc { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.dept:hover .dept__box { border-color: var(--muted); }
.dept input:checked + .dept__box { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.dept input:checked + .dept__box .dept__label { color: var(--accent); }
.dept input:focus-visible + .dept__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field__label { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--bg);
	color: var(--heading);
	font: inherit;
	font-weight: 400;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field textarea:focus, .join__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.contact-form .btn { justify-self: start; }
.form-note { margin-bottom: 16px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--surface); font-size: .95rem; }
.form-note.is-error { border-color: #d0453a; }
.join .form-note { background: rgba(255, 255, 255, .08); color: #fff; }
.form-done { display: grid; gap: 12px; justify-items: start; padding: clamp(20px, 4vw, 40px); border-radius: 2px; background: var(--surface); }
.form-done__title { font-size: 1.5rem; font-weight: 700; color: var(--heading); }

/* Accounts --------------------------------------------------------------- */
.auth-page .contact__head { text-align: center; }
.auth-page .crumbs ol { justify-content: center; }
.auth-page .page-intro { margin-inline: auto; }
.auth-single { max-width: 440px; margin-inline: auto; }
.auth-card { padding: clamp(18px, 3vw, 32px); border-radius: 2px; background: var(--surface); }
.auth-card__title { font-size: 1.1rem; font-weight: 700; color: var(--heading); margin-bottom: 16px; }
.auth-form { display: grid; gap: 20px; }
.auth-form .btn { justify-self: start; }
.auth-form__remember { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin: -4px 0 0; }
.auth-form__remember label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.auth-switch { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.auth-switch a { color: var(--accent); margin-left: 4px; }

/* Search results ------------------------------------------------------- */
.page-head .search-form { margin-top: 18px; max-width: 48rem; }
.filters { display: flex; gap: 6px; overflow-x: auto; margin-top: 18px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters__item { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 2px; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.filters__item span { color: var(--accent); }
.filters__item:hover, .filters__item.is-active { color: var(--heading); border-color: var(--heading); }
.results + .results { margin-top: 36px; }
.results__title { margin-bottom: 12px; font-size: 1.25rem; font-weight: 300; }
.results__list { list-style: none; border-top: 1px solid var(--line); }
.result { border-bottom: 1px solid var(--line); }
.result__link { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; color: var(--text); text-decoration: none; }
.result__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: var(--tile-bg); }
.result__thumb img { width: 100%; height: 100%; object-fit: cover; }
.result__thumb .art__mark { font-size: .55rem; }
.result__body { display: grid; gap: 2px; align-content: start; }
.result__sub { font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.result__title { font-weight: 700; color: var(--heading); }
.result__link:hover .result__title { text-decoration: underline; }
.result__excerpt { font-size: .875rem; }
@media (min-width: 640px) { .result__link { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; } }

/* Pagination */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 2px; text-decoration: none; font-weight: 600; font-size: .85rem; }
.pagination .page-numbers.current { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.pagination .icon { width: 14px; height: 14px; }

/* 404 */
.lost { position: relative; display: grid; align-items: center; padding-block: clamp(48px, 10vw, 120px); }
.lost > .art { display: none; }
.lost__inner { display: grid; gap: 14px; max-width: 44rem; }
.lost .frame__setting { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Join band (dark) ------------------------------------------------------ */
.join { background: var(--band-bg); color: #fff; }
.join__inner { max-width: var(--wrap); margin-inline: auto; padding: clamp(40px, 7vw, 80px) var(--gutter); display: grid; gap: 32px; align-items: center; }
.join__collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; width: 100%; margin-inline: auto; }
.join__poster { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 2px; background: #222; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.join__poster img { width: 100%; height: 100%; object-fit: cover; }
.join__copy { display: grid; gap: 12px; justify-items: center; text-align: center; }
.join__brand { font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; }
.join__title { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 300; line-height: 1.25; }
.join__text { max-width: 36ch; color: rgba(255, 255, 255, .78); }
.join__form { display: grid; gap: 8px; width: 100%; max-width: 30rem; margin-top: 8px; }
.join__form input { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 2px; background: #fff; color: #222; font: inherit; font-weight: 400; }
.join__form .btn { min-height: 46px; }
.join__follow { margin-top: 12px; display: grid; justify-items: center; gap: 10px; }
.join__follow-title { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
@media (min-width: 560px) { .join__form { grid-template-columns: 1fr auto; } }
@media (min-width: 960px) {
	.join__inner { grid-template-columns: 1fr 1fr; gap: 64px; }
	.join__collage { margin-inline: 0 0; justify-self: end; }
}

.socials { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; color: inherit; opacity: .85; text-decoration: none; }
.socials a:hover { opacity: 1; color: var(--accent); }
.socials .icon { width: 18px; height: 18px; }
.socials span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.socials--contact { justify-content: flex-start; color: var(--heading); }
.menu-panel .socials { justify-content: flex-start; color: var(--heading); }

/* Footer (grey) ------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); }
.site-footer__inner { max-width: var(--wrap); margin-inline: auto; padding: 40px var(--gutter) 32px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.brand--footer { justify-self: center; color: var(--footer-ink); }
.brand--footer .brand__word { font-size: 1.1rem; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; }
.footer-menu a { display: block; padding: 10px 12px; font-size: .8rem; font-weight: 300; letter-spacing: .04em; text-transform: uppercase; color: var(--footer-ink); text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: .75rem; }
.site-footer__legal a { color: var(--footer-ink); opacity: .85; }
.site-footer__copy { font-size: .72rem; opacity: .7; }

/* Player / lightbox ---------------------------------------------------- */
.player, .lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: #fff; }
.player[open], .lightbox[open] { display: grid; place-items: center; }
.player::backdrop, .lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.player__stage { width: min(94vw, calc(84svh * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.player__stage iframe, .player__stage video { width: 100%; height: 100%; border: 0; }
.player__close, .lightbox__close { position: absolute; top: max(8px, env(safe-area-inset-top)); right: 8px; color: #fff; }
.lightbox__figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.lightbox__figure img { max-width: 92vw; max-height: 82svh; width: auto; height: auto; object-fit: contain; }
.lightbox__figure figcaption { font-size: .85rem; color: #bbb; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; }
.lightbox__prev { left: 6px; }
.lightbox__next { right: 6px; }

.wp-block-button__link { border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Chapter lists on phones: thumbnail left, text right (keeps long seasons scannable). */
@media (max-width: 599px) {
	.tile-grid--episodes { gap: 18px; }
	.tile-grid--episodes .tile__link { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 12px; align-items: start; }
	.tile-grid--episodes .tile__body { padding-top: 0; }
	.tile-grid--episodes .tile__desc { -webkit-line-clamp: 2; font-size: .8rem; }
	.tile-grid--episodes .tile__play { left: 8px; bottom: 8px; width: 30px; height: 30px; }
	.tile-grid--episodes .tile__play .icon { width: 12px; height: 12px; }
}

/* Homepage hero slideshow ------------------------------------------- */
.slideshow { position: relative; background: var(--bg); }
.slideshow__track { display: grid; }
.hero--slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.hero--slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.hero--slide .hero__img { transform: scale(1.06); transition: transform 8s ease-out; }
.hero--slide.is-active .hero__img { transform: scale(1); }
.slideshow__controls { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 4px var(--gutter) 20px; }
.slideshow__dots { display: flex; gap: 2px; }
.slideshow__dot, .slideshow__btn { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--heading); cursor: pointer; }
.slideshow__dot span { display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.slideshow__dot[aria-current="true"] span { width: 36px; }
.slideshow__dot[aria-current="true"] span::after { content: ""; position: absolute; inset: 0; background: var(--heading); transform-origin: left; animation: slideshow-progress var(--slide-ms, 7000ms) linear forwards; }
.slideshow.is-paused .slideshow__dot[aria-current="true"] span::after { animation: none; transform: none; }
.slideshow__btn { font-size: 1.6rem; line-height: 1; opacity: .8; }
.slideshow__btn:hover { opacity: 1; }
.slideshow__btn--pause span { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.slideshow.is-paused .slideshow__btn--pause span { border: 0; width: 0; height: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; }
@keyframes slideshow-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (min-width: 960px) {
	.slideshow__controls { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(32px, 4.5vw, 64px); padding: 0; }
	.slideshow__dot, .slideshow__btn { color: #fff; }
	.slideshow__dot span { background: rgba(255, 255, 255, .35); }
	.slideshow__dot[aria-current="true"] span::after { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
	.hero--slide, .hero--slide.is-active, .hero--slide .hero__img { transition: none; transform: none; }
	.slideshow__dot[aria-current="true"] span::after { animation: none; transform: none; }
}
