/*
 * One Stop Flix — main stylesheet.
 *
 * Mobile first. Pure black ground, one red accent, big type, generous space.
 * Font faces are injected by PHP only when the self-hosted files are present,
 * so the stacks below always carry a real fallback.
 */

/* ---------------------------------------------------------------------------
 * 1. Tokens
 * ------------------------------------------------------------------------ */

:root {
	--osf-black: #000000;
	--osf-surface: #111111;
	--osf-surface-2: #161616;
	--osf-border: #222222;
	--osf-white: #ffffff;
	--osf-gray: #a3a3a3;

	/* --osf-red and --osf-red-rgb are printed inline from theme settings. */
	--osf-red: #e1141e;
	--osf-red-rgb: 225, 20, 30;

	--osf-display: "Bebas Neue", "Anton", "Oswald", "Arial Narrow", sans-serif;
	--osf-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--osf-gutter: clamp(16px, 5vw, 64px);
	--osf-max: 1520px;
	--osf-prose: 720px;
	--osf-header-h: 62px;
	--osf-gap: 12px;
	--osf-radius: 6px;

	--osf-section-gap: clamp(56px, 9vw, 128px);
	--osf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	color-scheme: dark;
}

@media (min-width: 1024px) {
	:root {
		--osf-header-h: 80px;
		--osf-gap: 16px;
	}
}

/* ---------------------------------------------------------------------------
 * 2. Reset and base
 * ------------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--osf-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--osf-black);
	color: var(--osf-white);
	font-family: var(--osf-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--osf-white);
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.4em;
	font-family: var(--osf-display);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

hr {
	border: 0;
	border-top: 1px solid var(--osf-border);
	margin: 2rem 0;
}

:focus-visible {
	outline: 2px solid var(--osf-red);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background: var(--osf-red);
	color: var(--osf-white);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.osf-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 12px 20px;
	background: var(--osf-red);
	color: var(--osf-white);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.osf-skip-link:focus {
	left: 8px;
	top: 8px;
}

.osf-main {
	display: block;
	padding-top: var(--osf-header-h);
}


/* ---------------------------------------------------------------------------
 * 3. Shared pieces: buttons, badges, placeholders
 * ------------------------------------------------------------------------ */

.osf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 30px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-family: var(--osf-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	transition: transform 200ms var(--osf-ease), background-color 200ms ease,
		border-color 200ms ease, color 200ms ease;
	will-change: transform;
}

.osf-btn--primary {
	background: var(--osf-red);
	border-color: var(--osf-red);
	color: var(--osf-white);
}

.osf-btn--primary:hover,
.osf-btn--primary:focus-visible {
	color: var(--osf-white);
	transform: scale(1.03);
	background: color-mix(in srgb, var(--osf-red) 88%, #ffffff);
}

.osf-btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--osf-white);
}

.osf-btn--outline:hover,
.osf-btn--outline:focus-visible {
	transform: scale(1.03);
	border-color: var(--osf-red);
	color: var(--osf-red);
}

.osf-btn--block {
	width: 100%;
}

.osf-badge {
	display: inline-block;
	padding: 4px 8px;
	background: var(--osf-red);
	color: var(--osf-white);
	font-family: var(--osf-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	border-radius: 2px;
}

.osf-badge--card {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
}

.osf-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 8% 10%;
	background: #050505;
	border: 1px solid var(--osf-border);
	text-align: center;
}

.osf-placeholder__text {
	font-family: var(--osf-display);
	font-size: clamp(18px, 3.4vw, 34px);
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.osf-icon {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.osf-section-title {
	font-size: clamp(26px, 4vw, 44px);
	margin-bottom: 24px;
}

.osf-section-title__count {
	display: inline-block;
	margin-left: 10px;
	font-family: var(--osf-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--osf-gray);
	vertical-align: middle;
}

.osf-prose {
	font-size: 17px;
	color: #e6e6e6;
}

.osf-prose h2 {
	margin-top: 1.6em;
	font-size: clamp(22px, 3vw, 32px);
	color: var(--osf-white);
}

.osf-prose a {
	color: var(--osf-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.osf-empty {
	padding: 40px var(--osf-gutter);
	color: var(--osf-gray);
}

/* ---------------------------------------------------------------------------
 * 4. Header
 * ------------------------------------------------------------------------ */

.osf-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--osf-header-h);
	background: var(--osf-black);
	border-bottom: 1px solid var(--osf-border);
}

.osf-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 100%;
	max-width: var(--osf-max);
	margin: 0 auto;
	padding: 0 var(--osf-gutter);
}

.osf-header__logo img {
	width: auto;
	height: clamp(26px, 4vw, 38px);
	object-fit: contain;
}

.osf-menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 38px);
}

.osf-menu a {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #dcdcdc;
	transition: color 200ms ease;
}

.osf-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--osf-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 200ms var(--osf-ease);
}

.osf-menu a:hover,
.osf-menu a:focus-visible {
	color: var(--osf-white);
}

.osf-menu a:hover::after,
.osf-menu a:focus-visible::after,
.osf-menu .current-menu-item > a::after,
.osf-menu .current_page_item > a::after {
	transform: scaleX(1);
}

.osf-menu .current-menu-item > a,
.osf-menu .current_page_item > a {
	color: var(--osf-white);
}

.osf-burger {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
}

.osf-burger__box {
	position: relative;
	display: block;
	width: 24px;
	height: 2px;
}

.osf-burger__bar,
.osf-burger__bar::before,
.osf-burger__bar::after {
	position: absolute;
	left: 0;
	width: 24px;
	height: 2px;
	background: var(--osf-white);
	transition: transform 200ms var(--osf-ease), opacity 150ms ease;
}

.osf-burger__bar::before,
.osf-burger__bar::after {
	content: "";
}

.osf-burger__bar::before {
	top: -7px;
}

.osf-burger__bar::after {
	top: 7px;
}

.osf-burger[aria-expanded="true"] .osf-burger__bar {
	background: transparent;
}

.osf-burger[aria-expanded="true"] .osf-burger__bar::before {
	transform: translateY(7px) rotate(45deg);
}

.osf-burger[aria-expanded="true"] .osf-burger__bar::after {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 899px) {
	.osf-burger {
		display: flex;
	}

	.osf-nav {
		position: fixed;
		inset: 0;
		z-index: 99;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--osf-black);
		opacity: 0;
		visibility: hidden;
		transition: opacity 250ms ease, visibility 250ms ease;
	}

	.osf-nav.is-open {
		opacity: 1;
		visibility: visible;
	}

	.osf-menu {
		flex-direction: column;
		gap: 28px;
		text-align: center;
	}

	.osf-menu a {
		font-family: var(--osf-display);
		font-size: 34px;
		letter-spacing: 0.04em;
	}
}

/* ---------------------------------------------------------------------------
 * 5. Intro front door
 * ------------------------------------------------------------------------ */

.osf-intro-page {
	overflow: hidden;
}

.osf-intro {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	background: var(--osf-black);
	overflow: hidden;
}

.osf-intro__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--osf-black);
}

.osf-intro__poster,
.osf-intro__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.osf-intro__poster {
	z-index: 0;
	background-position: center;
	background-size: cover;
	transition: opacity 600ms ease;
}

.osf-intro__video {
	z-index: 1;
	opacity: 0;
	transition: opacity 800ms ease;
}

.osf-intro__video.is-playing {
	opacity: 1;
}

/*
 * Once the video is running it is the only thing in the media layer: the poster
 * is faded out and taken out of the way rather than left sitting on top of it.
 * The logo, the ENTER button and the email panel are separate layers above this
 * one and are meant to stay.
 */
.osf-intro.is-playing .osf-intro__poster {
	opacity: 0;
	pointer-events: none;
}

.osf-intro__logo {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	margin: 0;
	padding: clamp(28px, 9vh, 90px) var(--osf-gutter) 0;
	font-size: inherit;
	line-height: 1;
}

.osf-intro__logo img {
	width: clamp(180px, 42vw, 420px);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.6));
}

.osf-intro__center {
	position: relative;
	z-index: 3;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 22px;
	align-items: center;
	justify-content: center;
	padding: 24px var(--osf-gutter);
}

.osf-intro__tagline {
	margin: 0;
	max-width: 34ch;
	font-size: clamp(14px, 1.6vw, 17px);
	line-height: 1.5;
	text-align: center;
	color: rgba(255, 255, 255, 0.86);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.osf-btn--enter {
	padding: 20px 56px;
	border: 1px solid var(--osf-white);
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.28);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--osf-white);
	font-size: clamp(14px, 2vw, 18px);
	letter-spacing: 0.34em;
	text-indent: 0.34em;
}

.osf-btn--enter:hover,
.osf-btn--enter:focus-visible {
	transform: scale(1.05);
	border-color: var(--osf-red);
	color: var(--osf-red);
}

.osf-intro__bottom {
	position: relative;
	z-index: 3;
	padding: clamp(60px, 16vh, 180px) var(--osf-gutter) clamp(24px, 5vh, 56px);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 12%, rgba(0, 0, 0, 0) 100%);
}

.osf-intro__bottom-inner {
	max-width: 560px;
	margin: 0 auto;
}

/* ---------------------------------------------------------------------------
 * 6. Home hero slider
 * ------------------------------------------------------------------------ */

.osf-hero {
	position: relative;
	/* The full window under the fixed header, and nothing peeking up. */
	height: calc(100vh - var(--osf-header-h));
	height: calc(100svh - var(--osf-header-h));
	overflow: hidden;
	background: var(--osf-black);
}

.osf-hero__stage {
	position: absolute;
	inset: 0;
}

.osf-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 1500ms ease;
}

.osf-hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.osf-hero__art,
.osf-hero__art .osf-placeholder {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.osf-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 7500ms linear;
}

.osf-hero__slide.is-active .osf-hero__img {
	transform: scale(1.06);
}

.osf-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(0, 0, 0, 0.95) 6%, rgba(0, 0, 0, 0.25) 52%, rgba(0, 0, 0, 0.55) 100%),
		linear-gradient(to right, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0) 100%);
}

.osf-hero__blanket {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.osf-hero__content {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: clamp(90px, 16vh, 150px);
	max-width: 100%;
	padding: 0 var(--osf-gutter);
	pointer-events: none;
}

.osf-hero__content > * {
	pointer-events: auto;
}

.osf-hero__title {
	margin: 12px 0 4px;
	font-size: clamp(56px, 11vw, 120px);
	line-height: 0.88;
}

.osf-hero__subtitle {
	margin: 0 0 10px;
	font-family: var(--osf-display);
	font-size: clamp(20px, 3.2vw, 34px);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #d8d8d8;
}

.osf-hero__meta {
	margin: 0 0 12px;
	font-size: 13px;
	letter-spacing: 0.06em;
	color: var(--osf-gray);
}

.osf-hero__logline {
	max-width: 46ch;
	margin: 0 0 24px;
	font-size: 16px;
	color: #dcdcdc;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.osf-hero__dots {
	position: absolute;
	z-index: 3;
	left: 0;
	right: 0;
	bottom: 52px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.osf-hero__dot {
	width: 26px;
	height: 3px;
	padding: 10px 0;
	background: none;
	position: relative;
}

.osf-hero__dot::after {
	content: "";
	position: absolute;
	inset: 10px 0;
	background: rgba(255, 255, 255, 0.35);
	transition: background-color 250ms ease;
}

.osf-hero__dot.is-active::after,
.osf-hero__dot:hover::after {
	background: var(--osf-red);
}

.osf-hero__down {
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--osf-white);
	animation: osf-nudge 2.4s ease-in-out infinite;
}

.osf-hero__down .osf-icon {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
}

@keyframes osf-nudge {
	0%,
	100% {
		transform: translate(-50%, 0);
	}
	50% {
		transform: translate(-50%, 7px);
	}
}

/* The same nudge for the arrow once it sits in normal flow on phones, where it
   is no longer centered with a transform. */
@keyframes osf-nudge-flow {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(7px);
	}
}

/*
 * Phones only: show the whole 16:9 frame instead of a cropped slice of it.
 *
 * The art gets its own 16:9 box at full screen width, the hero shrinks to fit
 * that box instead of filling the screen, and the text stack moves underneath
 * so nothing is laid over the artwork.
 *
 * The slides stay stacked in a single grid cell rather than being taken out of
 * flow, so they still cross-fade, and the hero takes the height of the tallest
 * one instead of changing height as the slides swap.
 *
 * Desktop and tablet keep the full-screen cropped hero: everything here is
 * inside this query. The intro front door is a different component
 * (.osf-intro) and is not touched.
 */
@media (max-width: 767px) {
	.osf-hero {
		display: flex;
		flex-direction: column;
		height: auto;
	}

	.osf-hero__stage {
		position: relative;
		inset: auto;
		display: grid;
	}

	.osf-hero__slide {
		position: relative;
		inset: auto;
		grid-area: 1 / 1;
	}

	.osf-hero__art {
		position: relative;
		inset: auto;
		width: 100%;
		aspect-ratio: 16 / 9;
	}

	.osf-hero__img {
		object-fit: contain;
	}

	/* The slow drift would push the edges of the frame back out of view. */
	.osf-hero__img,
	.osf-hero__slide.is-active .osf-hero__img {
		transform: none;
	}

	/* The gradient only ever existed to carry text over the art. */
	.osf-hero__scrim {
		display: none;
	}

	.osf-hero__content {
		position: relative;
		inset: auto;
		padding: 18px var(--osf-gutter) 0;
	}

	.osf-hero__dots {
		position: relative;
		inset: auto;
		padding: 20px 0 0;
	}

	.osf-hero__down {
		position: relative;
		left: auto;
		bottom: auto;
		transform: none;
		margin: 8px auto 16px;
		animation-name: osf-nudge-flow;
	}
}

@media (min-width: 900px) {
	.osf-hero__content {
		left: 0;
		right: auto;
		bottom: auto;
		top: 52%;
		transform: translateY(-40%);
		width: min(46%, 660px);
		padding-left: var(--osf-gutter);
	}

	.osf-hero__logline {
		font-size: 18px;
	}

	.osf-hero__meta {
		font-size: 14px;
	}
}

/* ---------------------------------------------------------------------------
 * 7. Welcome block
 * ------------------------------------------------------------------------ */

.osf-welcome {
	padding: var(--osf-section-gap) var(--osf-gutter);
	text-align: center;
}

.osf-welcome__inner {
	max-width: var(--osf-prose);
	margin: 0 auto;
}

.osf-welcome__title {
	font-size: clamp(32px, 6vw, 60px);
	margin-bottom: 20px;
}

.osf-welcome__text {
	margin-bottom: 32px;
	font-size: 17px;
	color: #d6d6d6;
}

/* ---------------------------------------------------------------------------
 * 8. Rows and cards
 * ------------------------------------------------------------------------ */

.osf-rows {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 6vw, 72px);
	padding-bottom: var(--osf-section-gap);
}

.osf-row {
	position: relative;
}

.osf-row__title {
	margin: 0 0 16px;
	padding: 0 var(--osf-gutter);
	font-size: clamp(22px, 3.2vw, 34px);
}

.osf-row__viewport {
	position: relative;
}

.osf-row__track {
	display: flex;
	gap: var(--osf-gap);
	padding: 6px var(--osf-gutter) 18px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	/* Without this the first card snaps past the page gutter and its badge
	   gets clipped at the left edge. */
	scroll-padding-left: var(--osf-gutter);
	scroll-padding-right: var(--osf-gutter);
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.osf-row__track::-webkit-scrollbar {
	display: none;
}

.osf-row__arrow {
	position: absolute;
	top: 0;
	bottom: 18px;
	z-index: 4;
	display: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
	color: var(--osf-white);
	opacity: 0;
	transition: opacity 200ms ease;
}

.osf-row__arrow--prev {
	left: 0;
}

.osf-row__arrow--next {
	right: 0;
	background: linear-gradient(to left, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}

.osf-row__arrow .osf-icon {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
}

.osf-row__arrow--prev .osf-icon {
	transform: rotate(180deg);
}

.osf-row__arrow:hover .osf-icon {
	color: var(--osf-red);
}

@media (min-width: 900px) and (hover: hover) {
	.osf-row__arrow {
		display: flex;
	}

	.osf-row__viewport:hover .osf-row__arrow,
	.osf-row__arrow:focus-visible {
		opacity: 1;
	}
}

.osf-card {
	flex: 0 0 auto;
	width: 74%;
	scroll-snap-align: start;
}

.osf-card--library {
	width: 80%;
}

@media (min-width: 600px) {
	.osf-card {
		width: calc((100% - var(--osf-gap)) / 2);
	}

	.osf-card--library {
		width: calc((100% - var(--osf-gap)) / 2);
	}
}

@media (min-width: 900px) {
	.osf-card {
		width: calc((100% - 2 * var(--osf-gap)) / 3);
	}
}

@media (min-width: 1200px) {
	.osf-card {
		width: calc((100% - 3 * var(--osf-gap)) / 4);
	}

	.osf-card--library {
		width: calc((100% - 2 * var(--osf-gap)) / 3);
	}
}

.osf-card__link {
	display: block;
	transition: transform 200ms var(--osf-ease);
}

.osf-card__frame {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--osf-radius);
	background: #060606;
	border: 1px solid transparent;
	transition: border-color 200ms ease, box-shadow 200ms ease;
}

.osf-card__frame .osf-img,
.osf-card__frame .osf-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--osf-radius);
}

.osf-card__body {
	display: block;
	padding: 10px 2px 0;
}

.osf-card__title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--osf-white);
}

.osf-card__logline {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 4px;
	font-size: 14px;
	color: var(--osf-gray);
}

.osf-card__meta {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	letter-spacing: 0.06em;
	color: var(--osf-gray);
}

@media (hover: hover) {
	.osf-card__link:hover {
		transform: translateY(-4px) scale(1.04);
	}

	.osf-card__link:hover .osf-card__frame {
		border-color: rgba(var(--osf-red-rgb), 0.85);
		box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
	}
}

.osf-card__link:focus-visible {
	transform: translateY(-4px) scale(1.04);
}

.osf-card[data-status="coming-soon"] .osf-card__frame .osf-img {
	opacity: 0.85;
}

/* ---------------------------------------------------------------------------
 * 9. Submit banner
 * ------------------------------------------------------------------------ */

.osf-submit-banner {
	background: var(--osf-surface);
	border-top: 2px solid var(--osf-red);
	padding: clamp(44px, 7vw, 88px) var(--osf-gutter);
	text-align: center;
}

.osf-submit-banner__inner {
	max-width: 820px;
	margin: 0 auto;
}

.osf-submit-banner__title {
	font-size: clamp(26px, 4.4vw, 46px);
	margin-bottom: 12px;
}

.osf-submit-banner__text {
	margin-bottom: 28px;
	color: var(--osf-gray);
}

/* ---------------------------------------------------------------------------
 * 10. Library (Mini-Series)
 * ------------------------------------------------------------------------ */

.osf-library {
	padding-top: clamp(40px, 7vw, 88px);
}

.osf-library__head {
	padding: 0 var(--osf-gutter);
	margin-bottom: 28px;
}

.osf-library__title {
	font-size: clamp(44px, 9vw, 96px);
	margin-bottom: 8px;
}

.osf-library__sub {
	margin: 0;
	color: var(--osf-gray);
	font-size: 15px;
}

.osf-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0 var(--osf-gutter);
	margin-bottom: clamp(32px, 5vw, 56px);
}

.osf-pill-btn {
	padding: 9px 18px;
	border: 1px solid var(--osf-border);
	border-radius: 999px;
	background: transparent;
	color: #d4d4d4;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease,
		transform 200ms var(--osf-ease);
}

.osf-pill-btn:hover {
	border-color: var(--osf-red);
	color: var(--osf-white);
	transform: scale(1.03);
}

.osf-pill-btn.is-active {
	background: var(--osf-red);
	border-color: var(--osf-red);
	color: var(--osf-white);
}

.osf-library__rows {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 6vw, 72px);
	padding-bottom: var(--osf-section-gap);
}

.osf-row--grid .osf-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(20px, 3vw, 32px);
	padding: 0 var(--osf-gutter);
}

.osf-row--grid .osf-card {
	width: 100%;
}

@media (min-width: 600px) {
	.osf-row--grid .osf-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1200px) {
	.osf-row--grid .osf-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ---------------------------------------------------------------------------
 * 11. Series page
 * ------------------------------------------------------------------------ */

.osf-shero {
	position: relative;
	height: 70vh;
	height: 70svh;
	min-height: 420px;
	overflow: hidden;
	background: var(--osf-black);
}

@media (min-width: 900px) {
	.osf-shero {
		height: 80vh;
		height: 80svh;
	}
}

.osf-shero__stage {
	position: absolute;
	inset: 0;
}

.osf-shero__frame {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1500ms ease;
	overflow: hidden;
}

.osf-shero__frame.is-active {
	opacity: 1;
}

.osf-shero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 9000ms linear;
}

.osf-shero__frame.is-active .osf-shero__img {
	transform: scale(1.06);
}

.osf-shero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(0, 0, 0, 0.96) 4%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0.5) 100%),
		linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 62%, rgba(0, 0, 0, 0) 100%);
}

.osf-shero__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(28px, 6vh, 72px);
	padding: 0 var(--osf-gutter);
}

.osf-shero__title {
	margin: 12px 0 4px;
	font-size: clamp(50px, 10vw, 110px);
	line-height: 0.88;
}

.osf-shero__subtitle {
	margin: 0 0 10px;
	font-family: var(--osf-display);
	font-size: clamp(18px, 3vw, 32px);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #d8d8d8;
}

.osf-shero__meta {
	margin: 0 0 12px;
	font-size: 13px;
	letter-spacing: 0.06em;
	color: var(--osf-gray);
}

.osf-shero__logline {
	max-width: 52ch;
	margin: 0 0 24px;
	color: #dcdcdc;
}

@media (min-width: 900px) {
	.osf-shero__content {
		width: min(56%, 760px);
	}
}

/*
 * Phones only: the series hero shows the whole 16:9 frame, the same treatment
 * the Home hero gets further up this file.
 *
 * This hero is put together differently to the Home one. There the text lives
 * inside each slide, so the slides had to be grid-stacked to keep a height.
 * Here the text is already a sibling of the picture stage, so the stage just
 * becomes a 16:9 box in normal flow and the text follows underneath it. The
 * stills stay stacked inside that box and keep cross-fading.
 *
 * Every series page is rendered by the one template, single-series.php, so this
 * covers all of them. Desktop and tablet are untouched, and the intro front
 * door (.osf-intro) is a separate component that none of this reaches.
 */
@media (max-width: 767px) {
	.osf-shero {
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: 0;
	}

	.osf-shero__stage {
		position: relative;
		inset: auto;
		width: 100%;
		aspect-ratio: 16 / 9;
	}

	.osf-shero__img {
		object-fit: contain;
	}

	/* The slow drift would push the edges of the frame back out of view. */
	.osf-shero__img,
	.osf-shero__frame.is-active .osf-shero__img {
		transform: none;
	}

	/* The gradient only ever existed to carry text over the art. */
	.osf-shero__scrim {
		display: none;
	}

	.osf-shero__content {
		position: relative;
		inset: auto;
		padding: 18px var(--osf-gutter) 0;
	}
}

.osf-about-series {
	padding: var(--osf-section-gap) var(--osf-gutter) 0;
}

.osf-about-series__inner {
	max-width: var(--osf-prose);
	margin: 0 auto;
}

.osf-characters {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-top: 32px;
}

@media (min-width: 700px) {
	.osf-characters {
		grid-template-columns: repeat(2, 1fr);
	}
}

.osf-character {
	padding: 14px 16px;
	background: var(--osf-surface);
	border: 1px solid var(--osf-border);
	border-radius: var(--osf-radius);
}

.osf-character__name {
	display: block;
	font-family: var(--osf-display);
	font-size: 22px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.osf-character__role {
	display: block;
	font-size: 14px;
	color: var(--osf-gray);
}

.osf-episodes-section {
	padding: var(--osf-section-gap) var(--osf-gutter);
}

.osf-episodes-section__inner {
	max-width: 1080px;
	margin: 0 auto;
}

.osf-episodes {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.osf-episode__link {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 14px;
	background: var(--osf-surface);
	border: 1px solid var(--osf-border);
	border-radius: var(--osf-radius);
	transition: border-color 200ms ease, transform 200ms var(--osf-ease),
		background-color 200ms ease;
}

@media (min-width: 700px) {
	.osf-episode__link {
		flex-direction: row;
		align-items: center;
		gap: 20px;
	}
}

.osf-episode__thumb {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	background: #060606;
}

@media (min-width: 700px) {
	.osf-episode__thumb {
		width: 280px;
	}
}

.osf-episode__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.osf-episode__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	transition: opacity 200ms ease;
}

.osf-episode__play .osf-icon {
	width: 30px;
	height: 30px;
	padding: 14px;
	box-sizing: content-box;
	border-radius: 50%;
	background: var(--osf-red);
	fill: var(--osf-white);
}

.osf-episode__link:hover .osf-episode__play,
.osf-episode__link:focus-visible .osf-episode__play {
	opacity: 1;
}

@media (hover: hover) {
	.osf-episode__link:hover {
		transform: translateY(-2px);
		border-color: rgba(var(--osf-red-rgb), 0.7);
		background: var(--osf-surface-2);
	}
}

.osf-episode__body {
	display: block;
}

.osf-episode__title {
	display: block;
	font-family: var(--osf-display);
	font-size: clamp(20px, 2.6vw, 26px);
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.osf-episode__runtime {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	letter-spacing: 0.08em;
	color: var(--osf-gray);
}

.osf-episode__desc {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	color: #cfcfcf;
}

.osf-episode--soon {
	opacity: 0.45;
}

.osf-episode--soon .osf-episode__link {
	cursor: default;
}

.osf-episode--soon .osf-badge {
	margin-bottom: 8px;
}

/* Notify block */

.osf-notify {
	padding: var(--osf-section-gap) var(--osf-gutter);
}

.osf-notify__inner {
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 56px);
	background: var(--osf-surface);
	border: 1px solid var(--osf-border);
	border-radius: var(--osf-radius);
	text-align: center;
}

.osf-notify__title {
	font-size: clamp(28px, 5vw, 46px);
}

.osf-notify__text {
	margin-bottom: 26px;
	color: var(--osf-gray);
}

/* Lightbox */

.osf-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 4vw, 56px);
	background: rgba(0, 0, 0, 0.94);
	opacity: 0;
	visibility: hidden;
	transition: opacity 250ms ease, visibility 250ms ease;
}

.osf-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.osf-lightbox__dialog {
	position: relative;
	width: 100%;
	max-width: min(1200px, 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.osf-lightbox__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 78vh;
	background: #000;
}

/*
 * Vertical 9:16.
 *
 * The frame is centered, its height is capped, and its width follows the ratio.
 * The controls sit above and below it in their own grid rows, so nothing is
 * ever laid over the picture.
 *
 * Both terms of the min() are definite lengths on purpose. An earlier version
 * used `height: min(78vh, 100%)`, whose percentage resolved against an
 * auto-height flex parent: the stage collapsed to 0x0, so a Short loaded and
 * played its audio with no picture at all.
 */
.osf-lightbox--vertical {
	/* Room for the close button, the control row and the gaps between them. */
	--osf-v-chrome: 120px;
	--osf-v-budget: calc(90vh - var(--osf-v-chrome));
}

@supports (height: 90svh) {
	/* svh keeps the frame clear of the mobile browser's collapsing toolbars. */
	.osf-lightbox--vertical {
		--osf-v-budget: calc(90svh - var(--osf-v-chrome));
	}
}

.osf-lightbox--vertical .osf-lightbox__dialog {
	display: grid;
	grid-template-columns: 46px 1fr 46px;
	grid-template-areas:
		".     .     close"
		"stage stage stage"
		"prev  title next";
	align-items: center;
	justify-items: center;
	gap: 10px;
}

.osf-lightbox--vertical .osf-lightbox__stage {
	grid-area: stage;
	aspect-ratio: 9 / 16;
	width: min(100%, calc(var(--osf-v-budget) * 9 / 16));
	height: auto;
	max-height: var(--osf-v-budget);
	margin-inline: auto;
}

.osf-lightbox--vertical .osf-lightbox__title {
	grid-area: title;
	font-size: clamp(15px, 3.4vw, 20px);
}

/* Out of the overlay and into the layout, clear of the video. */
.osf-lightbox--vertical .osf-lightbox__close {
	position: static;
	grid-area: close;
}

.osf-lightbox--vertical .osf-lightbox__nav {
	position: static;
	transform: none;
	grid-area: prev;
}

.osf-lightbox--vertical .osf-lightbox__nav--next {
	grid-area: next;
}

.osf-lightbox--vertical .osf-lightbox__nav:hover {
	transform: scale(1.05);
}

/* A hidden arrow still has to hold its column so the title stays centered. */
.osf-lightbox--vertical .osf-lightbox__nav[hidden] {
	display: block;
	visibility: hidden;
}

.osf-lightbox__stage iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	/* Above the stage background; nothing else is allowed in this box. */
	z-index: 1;
	background: #000;
}

/*
 * Once a video is playing, the frame holds the iframe and nothing else. Any
 * stray poster, thumbnail or play-icon layer that ends up in here is taken out
 * of the stacking order rather than left sitting over the picture.
 */
.osf-lightbox__stage > :not(iframe) {
	display: none !important;
}

.osf-lightbox__title {
	margin: 0;
	font-size: clamp(18px, 3vw, 26px);
	text-align: center;
}

.osf-lightbox__close,
.osf-lightbox__nav {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	border: 1px solid var(--osf-border);
	color: var(--osf-white);
	transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.osf-lightbox__close:hover,
.osf-lightbox__nav:hover {
	background: var(--osf-red);
	border-color: var(--osf-red);
	transform: scale(1.05);
}

.osf-lightbox__close {
	top: calc(-1 * clamp(10px, 3vw, 22px) - 46px);
	right: 0;
}

.osf-lightbox__nav .osf-icon {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
}

.osf-lightbox__nav--prev {
	left: -8px;
	top: 50%;
	transform: translateY(-50%);
}

.osf-lightbox__nav--next {
	right: -8px;
	top: 50%;
	transform: translateY(-50%);
}

.osf-lightbox__nav--prev .osf-icon {
	transform: rotate(180deg);
}

.osf-lightbox__nav[hidden] {
	display: none;
}

@media (min-width: 1100px) {
	.osf-lightbox__nav--prev {
		left: -64px;
	}

	.osf-lightbox__nav--next {
		right: -64px;
	}
}

body.osf-lightbox-open {
	overflow: hidden;
}

/* ---------------------------------------------------------------------------
 * 12. About page
 * ------------------------------------------------------------------------ */

.osf-about-banner {
	padding: clamp(40px, 7vw, 92px) var(--osf-gutter);
	background: var(--osf-black);
	border-bottom: 1px solid var(--osf-border);
	text-align: center;
}

.osf-about-banner__logo {
	width: clamp(150px, 26vw, 260px);
	height: auto;
	margin: 0 auto 20px;
	object-fit: contain;
}

.osf-about-banner__title {
	margin: 0;
	font-size: clamp(34px, 7vw, 76px);
}

.osf-about {
	max-width: var(--osf-prose);
	margin: 0 auto;
	padding: var(--osf-section-gap) var(--osf-gutter);
}

.osf-pillars {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: clamp(40px, 6vw, 72px) 0;
}

@media (min-width: 700px) {
	.osf-pillars {
		grid-template-columns: repeat(3, 1fr);
	}
}

.osf-pillar {
	padding: 26px 20px;
	background: var(--osf-surface);
	border: 1px solid var(--osf-border);
	border-radius: var(--osf-radius);
	text-align: center;
}

.osf-pillar .osf-icon {
	width: 34px;
	height: 34px;
	margin-bottom: 12px;
	color: var(--osf-red);
	fill: none;
	stroke: var(--osf-red);
}

.osf-pillar__title {
	margin: 0;
	font-size: 22px;
	letter-spacing: 0.05em;
}

.osf-about__cta {
	text-align: center;
	color: #dcdcdc;
}

.osf-about__cta p {
	margin-bottom: 8px;
}

.osf-about__cta .osf-btn {
	margin-top: 22px;
}

/* ---------------------------------------------------------------------------
 * 13. Submit page
 * ------------------------------------------------------------------------ */

.osf-submit {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(40px, 7vw, 92px) var(--osf-gutter) var(--osf-section-gap);
}

.osf-submit__head {
	margin-bottom: clamp(36px, 6vw, 64px);
}

.osf-submit__title {
	font-size: clamp(42px, 8vw, 84px);
	margin-bottom: 10px;
}

.osf-submit__sub {
	margin: 0;
	font-size: 17px;
	color: var(--osf-gray);
}

.osf-steps {
	margin-bottom: clamp(36px, 5vw, 56px);
}

.osf-steps__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 800px) {
	.osf-steps__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.osf-step {
	padding: 26px 22px;
	background: var(--osf-surface);
	border: 1px solid var(--osf-border);
	border-radius: var(--osf-radius);
}

.osf-step__num {
	display: block;
	margin-bottom: 10px;
	font-family: var(--osf-display);
	font-size: 42px;
	line-height: 1;
	color: var(--osf-red);
}

.osf-step__title {
	margin: 0 0 8px;
	font-size: 22px;
	letter-spacing: 0.04em;
}

.osf-step__text {
	margin: 0;
	font-size: 15px;
	color: var(--osf-gray);
}

.osf-note {
	margin: 0 0 clamp(36px, 5vw, 56px);
	padding: 18px 22px;
	background: var(--osf-surface);
	border-left: 3px solid var(--osf-red);
	color: #e2e2e2;
}

.osf-guidelines {
	margin-bottom: clamp(36px, 5vw, 56px);
	color: #d6d6d6;
	scroll-margin-top: calc(var(--osf-header-h) + 24px);
}

.osf-form-panel {
	padding: clamp(24px, 4vw, 44px);
	background: var(--osf-surface);
	border: 1px solid var(--osf-border);
	border-radius: var(--osf-radius);
}

/* ---------------------------------------------------------------------------
 * 14. Forms
 * ------------------------------------------------------------------------ */

.osf-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-bottom: 24px;
}

@media (min-width: 700px) {
	.osf-form__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.osf-form__field--wide {
		grid-column: 1 / -1;
	}
}

.osf-form__field {
	margin: 0;
}

.osf-form__field label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #cfcfcf;
}

.osf-req {
	color: var(--osf-red);
}

.osf-input-field {
	width: 100%;
	padding: 13px 14px;
	background: #0a0a0a;
	border: 1px solid var(--osf-border);
	border-radius: 3px;
	color: var(--osf-white);
	font-family: var(--osf-body);
	font-size: 16px;
	transition: border-color 200ms ease;
}

.osf-input-field::placeholder {
	color: #6f6f6f;
}

.osf-input-field:focus {
	border-color: var(--osf-red);
	outline: none;
}

.osf-input-field:focus-visible {
	outline: 2px solid var(--osf-red);
	outline-offset: 1px;
}

textarea.osf-input-field {
	resize: vertical;
	min-height: 120px;
}

.osf-input-field.has-error {
	border-color: var(--osf-red);
}

.osf-form__error {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--osf-red);
	min-height: 1px;
}

.osf-form__fineprint {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--osf-gray);
	text-align: center;
}

.osf-form__message {
	margin: 14px 0 0;
	font-size: 15px;
	color: var(--osf-white);
}

.osf-form__message:empty {
	margin: 0;
}

.osf-form__message.is-error {
	color: var(--osf-red);
}

.osf-form-done {
	padding: clamp(28px, 5vw, 48px);
	text-align: center;
	font-size: 18px;
	color: var(--osf-white);
}

.osf-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.osf-subscribe__label {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #dcdcdc;
}

.osf-subscribe__row {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media (min-width: 560px) {
	.osf-subscribe__row {
		flex-direction: row;
	}

	.osf-subscribe__row .osf-input-field {
		flex: 1 1 auto;
	}

	.osf-subscribe__row .osf-btn {
		flex: 0 0 auto;
	}
}

.osf-subscribe--intro .osf-input-field {
	background: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* ---------------------------------------------------------------------------
 * 15. Plain pages and 404
 * ------------------------------------------------------------------------ */

.osf-page {
	max-width: var(--osf-prose);
	margin: 0 auto;
	padding: clamp(40px, 7vw, 92px) var(--osf-gutter) var(--osf-section-gap);
}

.osf-page__title {
	font-size: clamp(38px, 7vw, 72px);
	margin-bottom: 24px;
}

.osf-page__meta {
	margin: -12px 0 24px;
	color: var(--osf-gray);
	font-size: 14px;
}

.osf-list li {
	padding: 10px 0;
	border-bottom: 1px solid var(--osf-border);
}

.osf-404 {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(80px, 16vh, 200px) var(--osf-gutter);
	text-align: center;
}

.osf-404__title {
	font-size: clamp(48px, 10vw, 110px);
	margin-bottom: 14px;
}

.osf-404__text {
	margin-bottom: 30px;
	color: var(--osf-gray);
}

/* ---------------------------------------------------------------------------
 * 16. Footer
 * ------------------------------------------------------------------------ */

.osf-footer {
	border-top: 1px solid var(--osf-border);
	background: var(--osf-black);
}

.osf-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 5vw, 56px);
	max-width: var(--osf-max);
	margin: 0 auto;
	padding: clamp(44px, 6vw, 80px) var(--osf-gutter);
}

@media (min-width: 900px) {
	.osf-footer__inner {
		grid-template-columns: 1.1fr 1.6fr 1.1fr;
		align-items: start;
	}
}

.osf-footer__logo img {
	width: clamp(140px, 20vw, 200px);
	height: auto;
	object-fit: contain;
}

.osf-footer__tagline {
	margin: 14px 0 18px;
	max-width: 32ch;
	font-size: 15px;
	color: var(--osf-gray);
}

.osf-social {
	display: flex;
	gap: 14px;
}

.osf-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--osf-border);
	border-radius: 50%;
	color: #cfcfcf;
	transition: color 200ms ease, border-color 200ms ease, transform 200ms var(--osf-ease);
}

.osf-social a:hover,
.osf-social a:focus-visible {
	color: var(--osf-red);
	border-color: var(--osf-red);
	transform: scale(1.05);
}

.osf-footer__links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

@media (min-width: 700px) {
	.osf-footer__links {
		grid-template-columns: repeat(3, 1fr);
	}
}

.osf-footer__heading {
	margin: 0 0 12px;
	font-size: 18px;
	letter-spacing: 0.1em;
	color: var(--osf-white);
}

.osf-footer__col li {
	margin-bottom: 8px;
}

.osf-footer__col a {
	font-size: 15px;
	color: var(--osf-gray);
	transition: color 200ms ease;
}

.osf-footer__col a:hover,
.osf-footer__col a:focus-visible {
	color: var(--osf-white);
}

.osf-footer__signup .osf-subscribe__label {
	max-width: 26ch;
}

.osf-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	max-width: var(--osf-max);
	margin: 0 auto;
	padding: 18px var(--osf-gutter) 32px;
	border-top: 1px solid var(--osf-border);
}

.osf-footer__base p {
	margin: 0;
	font-size: 13px;
	color: #7c7c7c;
}

.osf-footer__credit a:hover,
.osf-footer__credit a:focus-visible {
	color: var(--osf-red);
}

/* ---------------------------------------------------------------------------
 * 17. Reduced motion
 * ------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.osf-intro__video {
		display: none;
	}

	.osf-hero__img,
	.osf-hero__slide.is-active .osf-hero__img,
	.osf-shero__img,
	.osf-shero__frame.is-active .osf-shero__img {
		transform: none !important;
	}

	.osf-hero__down {
		animation: none;
	}

	.osf-card__link:hover,
	.osf-btn:hover,
	.osf-pill-btn:hover {
		transform: none !important;
	}

	.osf-row__track {
		scroll-behavior: auto;
	}
}

/* ---------------------------------------------------------------------------
 * 1.2.3: submission artwork, creator links
 * ------------------------------------------------------------------------ */

.osf-form__group {
	margin: 8px 0 24px;
	padding: 20px 0 0;
	border: 0;
	border-top: 1px solid var(--osf-border);
	min-width: 0;
}

.osf-form__legend {
	padding: 0;
	margin-bottom: 6px;
	font-family: var(--osf-display);
	font-size: 26px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.osf-form__hint {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--osf-gray);
}

.osf-upload__help {
	display: block;
	margin: -2px 0 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--osf-gray);
}

.osf-upload__input {
	display: block;
	width: 100%;
	padding: 12px;
	background: #0a0a0a;
	border: 1px dashed #3a3a3a;
	border-radius: 3px;
	color: var(--osf-gray);
	font-family: var(--osf-body);
	font-size: 14px;
	cursor: pointer;
}

.osf-upload__input:hover,
.osf-upload__input:focus-visible {
	border-color: var(--osf-red);
	outline: none;
}

.osf-upload__input.has-error {
	border-color: var(--osf-red);
	border-style: solid;
}

.osf-upload__input::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	background: var(--osf-surface-2);
	border: 1px solid var(--osf-border);
	border-radius: 3px;
	color: var(--osf-white);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.osf-upload__preview {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin-top: 10px;
}

.osf-upload__preview:empty {
	display: none;
}

.osf-upload__preview--grid {
	grid-template-columns: repeat(3, 1fr);
}

.osf-upload__preview img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 3px;
	border: 1px solid var(--osf-border);
	background: #0a0a0a;
}

.osf-form__check {
	margin: 0 0 18px;
}

.osf-form__check label {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 16px;
	cursor: pointer;
}

.osf-form__check input {
	width: 20px;
	height: 20px;
	flex: none;
	accent-color: var(--osf-red);
}

.osf-socials-fields[hidden] {
	display: none;
}

.osf-creator {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--osf-border);
}

.osf-creator__name {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 600;
}

.osf-creator__by {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--osf-gray);
}

.osf-creator__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.osf-creator__link {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	background: var(--osf-surface);
	border: 1px solid var(--osf-border);
	border-radius: 999px;
	color: var(--osf-white);
	font-size: 14px;
	text-decoration: none;
	transition: border-color 200ms ease, color 200ms ease;
}

.osf-creator__link:hover,
.osf-creator__link:focus-visible {
	border-color: var(--osf-red);
	color: var(--osf-white);
}

.osf-creator__link .osf-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
}
