:root {
	--page-bg: #f7fbff;
	--footer-bg: #d8efff;
	--text: #20334b;
	--blue: #0051b8;
	--blue-medium: #00aaff;
	--orange: #ff5c00;
	--peach: #ffe6db;
	--line: linear-gradient(90deg, #00aaff 0%, #6236ff 20%, #b620e0 40%, #e02020 60%, #fa6400 80%, #6dd400 100%);
	--shadow: 0 24px 60px rgba(18, 42, 72, .08);
	--radius-xl: 24px;
	--radius-lg: 20px;
	--radius-md: 16px;
	--content: 1024px;
	--copy: 672px;
}

* {
	box-sizing: border-box;
}

html {
	color-scheme: light;
}

body {
	margin: 0;
	font-family: 'Montserrat', system-ui, sans-serif;
	letter-spacing: 0.01em;
	color: var(--text);
	background: #fff;
}

img {
	display: block;
	max-width: 100%;
}

.site-shell {
	width: min(100%, 1088px);
	margin: 0 auto;
}

.site-header {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	min-height: 120px;
	padding: 40px 32px;
	border-bottom: 0;
	z-index: 0;
}

.site-header::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% - 50vw);
	right: calc(50% - 50vw);
	background: #d8efff;
	z-index: -1;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	flex-wrap: nowrap;
	flex-shrink: 0;
	text-decoration: none;
	color: var(--blue);
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

.site-brand span {
	transition: color .18s ease;
}

.site-brand__icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	position: relative;
}

.site-brand__icon img {
	position: absolute;
	inset: 0;
	transition: opacity .18s ease;
}

.site-brand__icon-hover {
	opacity: 0;
}

a.site-brand:hover span,
a.site-brand:focus-visible span {
	color: var(--orange);
}

a.site-brand:hover .site-brand__icon-default,
a.site-brand:focus-visible .site-brand__icon-default {
	opacity: 0;
}

a.site-brand:hover .site-brand__icon-hover,
a.site-brand:focus-visible .site-brand__icon-hover {
	opacity: 1;
}

.site-brand img {
	width: 40px;
	height: 40px;
}

.site-nav {
	display: flex;
	flex-wrap: nowrap;
	flex-shrink: 0;
	justify-content: flex-end;
	gap: 8px;
}

.nav-pill,
.tag-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 999px;
	line-height: 1;
	white-space: nowrap;
}

.nav-pill {
	min-height: 35px;
	padding: 8px 24px;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 16px;
	font-weight: 600;
	border: 2px solid transparent;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.tag-pill {
	min-height: 27px;
	padding: 6px 16px;
	font-size: 12px;
	font-weight: 800;
}

.tag-row--top .tag-pill {
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	border: 1px solid transparent;
	appearance: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.tag-row--top .tag-pill.is-on {
	background: #fff;
	border-color: var(--blue-medium);
	color: var(--blue-medium);
	cursor: default;
}

.tag-row--top .tag-pill.is-normal {
	background: #fff;
	border-color: var(--peach);
	color: var(--orange);
	cursor: pointer;
}

.tag-row--top .tag-pill.is-normal:hover,
.tag-row--top .tag-pill.is-normal:focus-visible {
	background: var(--peach);
	border-color: var(--peach);
	color: var(--orange);
}

.tag-row--top .tag-pill.is-normal:active {
	background: var(--orange);
	border-color: var(--orange);
	color: #fff;
}

.nav-pill.is-on {
	background: #fff;
	border-color: var(--blue-medium);
	color: var(--blue-medium);
}

.page-project a.nav-pill.is-on:hover,
.page-project a.nav-pill.is-on:focus-visible {
	background: #fff;
	border-color: var(--orange);
	color: var(--orange);
}

.tag-pill.is-current {
	background: #fff;
	border: 2px solid var(--blue);
	color: var(--blue);
}

.tag-pill.is-normal {
	background: #fff;
	border: 1px solid var(--peach);
	color: var(--orange);
}

.nav-pill.is-normal {
	background: var(--footer-bg);
	border-color: var(--footer-bg);
	color: var(--orange);
}

a.nav-pill.is-normal:hover,
a.nav-pill.is-normal:focus-visible {
	background: #fff;
	border: 2px solid var(--orange);
	color: var(--orange);
}

a.nav-pill.is-normal:active {
	background: var(--orange);
	border-color: var(--orange);
	color: #fff;
}

.rainbow-divider {
	position: relative;
	height: 4px;
	background: transparent;
	border-radius: 0;
}

.rainbow-divider::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% - 50vw);
	right: calc(50% - 50vw);
	background: var(--line);
	border-radius: 0;
}

main {
	padding: 0 32px;
}

.page-project main {
	padding-top: 0;
}

.page-index main {
	padding-bottom: 0;
}

body:not(.page-index) main > :last-child {
	margin-bottom: 0;
}

.spacer {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	pointer-events: none;
}

.spacer4 {
	height: 4px;
}

.spacer8 {
	height: 8px;
}

.spacer16 {
	height: 16px;
}

.spacer24 {
	height: 24px;
}

.spacer32 {
	height: 32px;
}

.spacer40 {
	height: 40px;
}

.spacer60 {
	height: 60px;
}

.spacer80 {
	height: 80px;
}

.divider {
	display: block;
	margin: 0 auto;
	padding: 0;
	width: fit-content;
	pointer-events: none;
}

.hero-copy h1,
.page-title {
	margin: 0;
	color: var(--blue);
	line-height: 1.14;
}

.hero-copy h1 {
	font-size: clamp(2.6rem, 5vw, 4rem);
	font-weight: 900;
}

.page-title {
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 48px;
	font-weight: 900;
}

.hero-copy--home {
	max-width: 1024px;
	margin-bottom: 0;
}

.hero-copy--home .home-hero-title {
	font-size: 24px;
}

.hero-copy--home .index-hero-title {
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 24px;
	font-weight: 900;
}

.hero-media {
	margin: 0 auto;
	max-width: 1063px;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.hero-media--about {
	max-width: 1024px;
}

.hero-media--project {
	position: relative;
	max-width: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	height: min(550px, calc(100vw * 0.4166667));
}

.page-project .hero-media--project {
	margin-bottom: 0;
}

.hero-media--project img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-media--project::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 24px;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, .3) 0,
		rgba(0, 0, 0, .27) 4px,
		rgba(0, 0, 0, .15) 12px,
		rgba(0, 0, 0, .03) 19px,
		rgba(0, 0, 0, 0) 24px
	);
}

.copy-block {
	max-width: var(--copy);
	margin: 0 auto;
}

.page-project .copy-block {
	margin-bottom: 0;
}

.copy-block--compact {
	margin-top: 0;
}

.copy-block--about {
	margin-bottom: 0;
}

.about-intro {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
	align-items: start;
	column-gap: 32px;
	margin-bottom: 16px;
}

.about-intro__lead {
	margin: 0;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 18px;
	line-height: 32px;
	font-weight: 700;
	color: #1f1f1f;
}

.about-intro__portrait {
	width: 100%;
	align-self: start;
}

.copy-block--about .inline-link {
	color: var(--orange);
	display: flex;
	width: fit-content;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 16px;
	font-weight: 700;
	margin-top: 0;
	transition: transform .18s ease;
}

.copy-block--about > p:last-of-type {
	margin-bottom: 0;
}

.copy-block--about .inline-link:hover,
.copy-block--about .inline-link:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
	transform: translateX(4px);
}

.project-subtitle,
.section-kicker {
	margin: 20px 0 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.project-subtitle {
	color: var(--orange);
}

.page-project .copy-block > .project-subtitle {
	margin: 8px 0 0;
	color: var(--blue-medium);
}

.section-kicker {
	color: var(--blue);
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 24px;
}

.section-rule,
.section-divider-wide {
	height: 4px;
	background: var(--line);
	border-radius: 0;
}

.section-rule {
	margin: 16px 0 28px;
	max-width: 100%;
}

.page-title + .section-rule {
	margin-top: 8px;
}

.copy-block:not(.copy-block--contact):not(.copy-block--compact) > .page-title + .section-rule {
	margin: 8px 0 32px;
}

.section-kicker + .section-rule {
	margin-top: 16px;
}

.section-divider-wide {
	margin: 0 0 56px;
}

.copy-block > p:not(.project-subtitle):not(.section-kicker) {
	margin: 0 0 10px;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #1f1f1f;
}

.copy-block > .page-title + p:not(.project-subtitle):not(.section-kicker),
.copy-block > .section-rule + p:not(.project-subtitle):not(.section-kicker) {
	margin-bottom: 16px;
	font-size: 18px;
	line-height: 32px;
	font-weight: 700;
}

.page-project .copy-block > .project-subtitle + .section-rule {
	margin: 16px 0 32px;
}

.page-project .copy-block > p:last-of-type {
	margin-bottom: 0;
}

.copy-block > ul {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #1f1f1f;
}

.copy-block > ul:last-child {
	margin-bottom: 0;
}

.copy-block > ul li {
	margin: 0;
	display: flex;
}

.copy-block > ul li::before {
	content: '\2022';
	display: inline-block;
	width: 1em;
	/* margin-left: -1em; */
	color: var(--blue-medium);
	font-weight: 900;
}

.copy-block--compact > .section-rule + p:not(.project-subtitle):not(.section-kicker) {
	margin-bottom: 0;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
}

.copy-block--compact > .section-rule {
	margin-bottom: 16px;
}

.copy-block--compact > .download-card {
	margin-top: 16px;
}

.copy-block--contact > .page-title + p:not(.project-subtitle):not(.section-kicker),
.copy-block--contact > .section-rule + p:not(.project-subtitle):not(.section-kicker) {
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
}

.prototype-panel p {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.75;
	font-weight: 500;
	color: #1f1f1f;
}

.recognition-panel {
	width: min(100%, var(--copy));
	margin: 0 auto;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: var(--footer-bg);
	border: 1px solid #a1deff;
	border-radius: var(--radius-md);
	box-shadow: none;
}

.recognition-panel__title {
	margin: 0;
	color: var(--blue);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.recognition-panel__rule {
	width: 100%;
	height: 4px;
	background: var(--line);
	border-radius: 0;
}

.recognition-panel__details {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: #000;
	font-size: 14px;
	font-weight: 500;
	line-height: 26px;
}

.recognition-panel__details p {
	margin: 0;
}

.recognition-panel__list {
	margin: 0;
	padding-left: 1.1em;
	line-height: 24px;
}

.recognition-panel__list li {
	margin: 0;
}

.recognition-panel__list li + li {
	margin-top: 4px;
}

.recognition-panel__sublist {
	margin: 4px 0 0;
	padding-left: 1.25em;
	list-style: none;
	line-height: 24px;
}

.recognition-panel__sublist li {
	position: relative;
}

.recognition-panel__sublist li::before {
	content: "-";
	position: absolute;
	left: -1.1em;
	color: #000;
	font-weight: 500;
}

.recognition-panel__sublist li + li {
	margin-top: 4px;
}

.recognition-panel__link {
	color: var(--orange);
	font-weight: 700;
	text-decoration: none;
}

.recognition-panel__link:hover,
.recognition-panel__link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.resource-section {
	max-width: var(--copy);
	margin: 0 auto;
}

.resource-section__title {
	margin: 0;
}

.resource-section__rule {
	margin: 16px 0 24px;
}

.resource-section__body {
	margin: 0;
	color: #000;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
}

.resource-section--prototype .resource-section__rule {
	margin: 16px 0;
}

.prototype-link-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	margin-top: 16px;
}

.prototype-link-card {
	min-height: 68px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: #fff;
	border: 0;
	border-radius: var(--radius-md);
	text-decoration: none;
	color: inherit;
	box-shadow: none;
	position: relative;
	transition: box-shadow .18s ease, transform .18s ease;
}

.prototype-link-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius-md);
	pointer-events: none;
	box-shadow: inset 0 0 0 1px #a1deff;
	transition: box-shadow .18s ease;
}

.prototype-link-card::after {
	content: none;
}

.prototype-link-card:hover,
.prototype-link-card:focus-visible {
	box-shadow: 0 6px 16px rgba(255, 92, 0, .4);
	transform: translateY(-4px);
}

.prototype-link-card:hover::before,
.prototype-link-card:focus-visible::before {
	box-shadow: inset 0 0 0 1.5px var(--orange);
}

.prototype-link-card:hover::after,
.prototype-link-card:focus-visible::after {
	content: '';
	position: absolute;
	inset: 1.5px;
	border-radius: calc(var(--radius-md) - 1.5px);
	pointer-events: none;
	z-index: 2;
	box-shadow: inset 0 0 0 1.5px #fff;
}

.prototype-link-card__icon {
	flex: 0 0 64px;
	width: 64px;
	height: 44px;
	position: relative;
	display: block;
}

.prototype-link-card__icon img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: opacity .18s ease;
}

.prototype-link-card__icon-hover {
	opacity: 0;
}

.prototype-link-card:hover .prototype-link-card__icon-default,
.prototype-link-card:focus-visible .prototype-link-card__icon-default {
	opacity: 0;
}

.prototype-link-card:hover .prototype-link-card__icon-hover,
.prototype-link-card:focus-visible .prototype-link-card__icon-hover {
	opacity: 1;
}

.prototype-link-card__title {
	display: block;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--orange);
}

.resource-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.resource-card {
	min-height: 88px;
	display: grid;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: #fff;
	border: 0;
	border-radius: var(--radius-md);
	box-shadow: none;
	color: inherit;
	text-decoration: none;
	position: relative;
	transition: box-shadow .18s ease, transform .18s ease;
}

.resource-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius-md);
	pointer-events: none;
	box-shadow: inset 0 0 0 1px #a1deff;
	transition: box-shadow .18s ease;
}

.resource-card::after {
	content: none;
}

.resource-card--app-store {
	grid-template-columns: 64px minmax(0, 1fr) auto;
}

.resource-card--see-also {
	grid-template-columns: 64px minmax(0, 1fr);
}

.resource-card__thumb {
	width: 64px;
	height: 64px;
	object-fit: cover;
}

.resource-card--app-store .resource-card__thumb {
	border-radius: 6px;
}

.resource-card--see-also .resource-card__thumb {
	border-radius: 8px;
}

.resource-card__title {
	font-family: 'Montserrat', system-ui, sans-serif;
	color: var(--orange);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.resource-card--app-store .resource-card__title {
	max-width: 154px;
}

.resource-card--see-also .resource-card__title {
	max-width: 220px;
}

.resource-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 27px;
	padding: 6px 16px;
	border: 1px solid #e6e6e6;
	border-radius: 20px;
	background: #e6e6e6;
	font-family: 'Montserrat', system-ui, sans-serif;
	color: var(--blue-medium);
	font-size: 12px;
	font-weight: 600;
	line-height: 15px;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.resource-card:hover,
.resource-card:focus-visible {
	box-shadow: 0 6px 16px rgba(255, 92, 0, .4);
	transform: translateY(-4px);
	color: inherit;
	text-decoration: none;
	outline: none;
}

.resource-card:hover::before,
.resource-card:focus-visible::before {
	box-shadow: inset 0 0 0 1.5px var(--orange);
}

.resource-card:hover::after,
.resource-card:focus-visible::after {
	content: '';
	position: absolute;
	inset: 1.5px;
	border-radius: calc(var(--radius-md) - 1.5px);
	pointer-events: none;
	box-shadow: inset 0 0 0 1px #fff;
}

.resource-card--app-store:hover .resource-card__cta,
.resource-card--app-store:focus-visible .resource-card__cta {
	background: var(--blue-medium);
	border-color: var(--blue-medium);
	color: #fff;
}

ul li::marker {
	color: var(--blue-medium);
	font-size: 1em;
	font-weight: 900;
}

.inline-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--blue);
	font-weight: 800;
	text-decoration: none;
	margin-top: 8px;
}

.tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-row--top {
	margin: 0;
}

.tag-row--bottom {
	margin-top: 40px;
}

.page-project .related-work {
	padding-top: 20px;
}

.page-project .related-work .section-divider-wide {
	margin-bottom: 80px;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	column-gap: 32px;
	row-gap: 24px;
}

.card-grid--home {
	margin-bottom: 0;
}

.work-card {
	display: block;
	background: #fff;
	position: relative;
	border-radius: var(--radius-md);
	overflow: visible;
	box-shadow: none;
	text-decoration: none;
	color: inherit;
	transition: box-shadow .18s ease, transform .18s ease;
}

.work-card.is-normal {
	box-shadow: inset 0 0 0 2px #fff;
}

.work-card.is-normal:hover,
.work-card.is-normal:focus-visible {
	box-shadow: 0 6px 16px rgba(255, 92, 0, .4);
	transform: translateY(-4px);
}

.work-card.is-normal:hover::after,
.work-card.is-normal:focus-visible::after,
.work-card.is-current::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius-md);
	pointer-events: none;
	z-index: 2;
	transition: box-shadow .18s ease;
}

.work-card.is-normal:hover::after,
.work-card.is-normal:focus-visible::after {
	box-shadow:
		inset 0 0 0 1.5px var(--orange),
		inset 0 0 0 3px #fff;
}

.work-card.is-current {
	box-shadow: none;
}

.work-card.is-current::after {
	box-shadow:
		inset 0 0 0 1.5px var(--blue-medium),
		inset 0 0 0 3px #fff;
}

.work-card__image {
	width: 100%;
	aspect-ratio: 232/175;
	object-fit: cover;
	border-radius: var(--radius-md);
	-webkit-mask-image: -webkit-radial-gradient(white, black);
}

.work-card.is-normal:hover .work-card__image,
.work-card.is-normal:focus-visible .work-card__image,
.work-card.is-current .work-card__image {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.work-card__body {
	padding: 16px 16px 18px;
}

.work-card.is-normal .work-card__body {
	padding-left: 0;
	padding-right: 32px;
}

.work-card.is-normal:hover .work-card__body,
.work-card.is-normal:focus-visible .work-card__body,
.work-card.is-current .work-card__body {
	padding-left: 16px;
	padding-right: 16px;
}

.work-card__body h3 {
	margin: 0 0 4px;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--orange);
}

.work-card.is-current .work-card__body h3 {
	color: var(--blue-medium);
}

.work-card__body p {
	margin: 0;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 12px;
	line-height: 1.5;
	color: var(--blue);
	font-weight: 500;
}

.download-card,
.contact-card,
.action-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: #fff;
	border: 1px solid #a1deff;
	border-radius: var(--radius-md);
	padding: 20px 24px;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow);
}

.download-card {
	max-width: 320px;
	justify-content: flex-start;
	gap: 12px;
	padding: 12px;
	border: 0;
	box-shadow: none;
	position: relative;
	transition: box-shadow .18s ease, transform .18s ease;
}

.download-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius-md);
	pointer-events: none;
	box-shadow: inset 0 0 0 1px #a1deff;
	transition: box-shadow .18s ease;
}

.download-card::after {
	content: none;
}

.download-card:hover,
.download-card:focus-visible {
	box-shadow: 0 6px 16px rgba(255, 92, 0, .4);
	transform: translateY(-4px);
}

.download-card:hover::before,
.download-card:focus-visible::before {
	box-shadow: inset 0 0 0 1.5px var(--orange);
}

.download-card:hover::after,
.download-card:focus-visible::after {
	content: '';
	position: absolute;
	inset: 1.5px;
	border-radius: calc(var(--radius-md) - 1.5px);
	pointer-events: none;
	z-index: 2;
	box-shadow: inset 0 0 0 1.5px #fff;
}

.download-card img,
.action-card img {
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.download-card__icon {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	position: relative;
}

.download-card__icon img {
	position: absolute;
	inset: 0;
	transition: opacity .18s ease;
}

.download-card__icon-hover {
	opacity: 0;
}

.download-card:hover .download-card__icon-default,
.download-card:focus-visible .download-card__icon-default {
	opacity: 0;
}

.download-card:hover .download-card__icon-hover,
.download-card:focus-visible .download-card__icon-hover {
	opacity: 1;
}

.download-card__copy strong,
.contact-card__copy strong,
.action-card__copy strong {
	display: block;
	font-family: 'Montserrat', system-ui, sans-serif;
	color: var(--blue);
	font-size: 20px;
	line-height: 1.2;
}

.download-card__copy strong,
.contact-card__copy strong {
	font-weight: 800;
}

.action-card__copy strong {
	font-weight: 900;
}

.download-card__copy span,
.contact-card__copy span {
	display: block;
	margin-top: 4px;
	font-family: 'Montserrat', system-ui, sans-serif;
	color: var(--orange);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.contact-card__copy strong,
.contact-card__copy span {
	transition: color .18s ease;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	max-width: 1024px;
	margin: 0 auto;
}

.contact-card {
	min-height: 68px;
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	column-gap: 12px;
	row-gap: 4px;
	align-items: start;
	padding: 22px 24px;
	border: 0;
	box-shadow: none;
	position: relative;
	transition: box-shadow .18s ease, transform .18s ease;
}

.contact-card__copy {
	display: contents;
}

.contact-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--radius-md);
	pointer-events: none;
	box-shadow: inset 0 0 0 1px #a1deff;
	transition: box-shadow .18s ease;
}

.contact-card::after {
	content: none;
}

.contact-card:hover,
.contact-card:focus-visible {
	box-shadow: 0 6px 16px rgba(255, 92, 0, .4);
	transform: translateY(-4px);
}

.contact-card:hover::before,
.contact-card:focus-visible::before {
	box-shadow: inset 0 0 0 1.5px var(--orange);
}

.contact-card:hover::after,
.contact-card:focus-visible::after {
	content: '';
	position: absolute;
	inset: 1.5px;
	border-radius: calc(var(--radius-md) - 1.5px);
	pointer-events: none;
	z-index: 2;
	box-shadow: inset 0 0 0 1.5px #fff;
}

.contact-card__icon {
	grid-column: 1;
	grid-row: 1;
	width: 24px;
	height: 24px;
	position: relative;
}

.contact-card__copy strong {
	grid-column: 2;
	grid-row: 1;
}

.contact-card__copy span {
	grid-column: 1 / -1;
	grid-row: 2;
	margin-top: 0;
}

.contact-card__icon img {
	position: absolute;
	inset: 0;
	width: 24px;
	height: 24px;
	object-fit: contain;
	display: block;
	pointer-events: none;
	transition: opacity .18s ease;
}

.contact-card__icon-hover {
	opacity: 0;
}

.contact-card:hover .contact-card__icon-default,
.contact-card:focus-visible .contact-card__icon-default {
	opacity: 0;
}

.contact-card:hover .contact-card__icon-hover,
.contact-card:focus-visible .contact-card__icon-hover {
	opacity: 1;
}

.media-section,
.media-grid,
.prototype-panel,
.related-work {
	max-width: 1024px;
	margin: 0 auto;
}

.media-section.media-bleed {
	max-width: 1320px;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

.media-section img,
.media-section video {
	width: 100%;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
}

.media-section iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
}

.media-section--radius-md {
	border-radius: var(--radius-md);
	overflow: hidden;
}

.media-section--radius-md img,
.media-section--radius-md video,
.media-section--radius-md iframe {
	border-radius: 0;
}

.media-section--html5-embed {
	aspect-ratio: 1000 / 800;
	border: 1px solid #BFBFBF;
	box-sizing: border-box;
	background: #fff;
}

.media-section--html5-embed iframe {
	box-shadow: none;
}

.media-section--work-sample-3 img {
	display: block;
	box-shadow: none;
}

.sketch-embed {
	max-width: 1024px;
	margin: 0 auto;
}

.sketch-embed__frame {
	aspect-ratio: 1024 / 677;
	border: 1px solid #BFBFBF;
	border-radius: 8px 8px 0 0;
	box-sizing: border-box;
	overflow: hidden;
}

.sketch-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.description-centred.sketch-embed__caption {
	margin-top: 0;
	width: 100%;
	max-width: none;
	padding: 11px 16px;
	border: 1px solid #BFBFBF;
	border-top: 0;
	border-radius: 0 0 8px 8px;
	box-sizing: border-box;
	color: #808080;
}

.sketch-embed__icon {
	display: inline-block;
	width: 17px;
	height: 17px;
	vertical-align: -0.18em;
}

.sketch-embed__segment {
	display: inline-block;
	white-space: nowrap;
}

.sketch-embed__emphasis {
	color: #000;
	font-weight: 600;
}

.media-video {
	display: block;
}

.media-video-frame {
	position: relative;
}

.media-video-frame::after {
	content: '';
	position: absolute;
	inset: 0;
	background: center / clamp(72px, 9vw, 120px) clamp(72px, 9vw, 120px) no-repeat url('../shared/video-assets/video-play-normal.png');
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}

.media-video-frame.is-poster-active::after {
	opacity: 1;
}

.media-video-frame.is-poster-active:hover::after,
.media-video-frame.is-poster-active:focus-within::after {
	background-image: url('../shared/video-assets/video-play-hover.png');
}

.media-video-frame.is-poster-active,
.media-video-frame.is-poster-active video {
	cursor: pointer;
}

.media-video-frame.is-portrait-video-frame {
	width: fit-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.media-section--carousel-frame {
	--media-frame-color: #FFBF00;
	--media-frame-width: 640px;
	width: min(100%, 1024px);
	max-width: 1024px;
	margin: 0 auto;
	padding: 30px;
	background: var(--media-frame-color);
	border-radius: var(--radius-md);
	box-sizing: border-box;
	display: flex;
	justify-content: center;
}

.media-section--carousel-frame.media-video-frame.is-portrait-video-frame {
	width: min(100%, 1024px);
}

.media-section--carousel-frame img,
.media-section--carousel-frame video,
.media-section--carousel-frame iframe {
	width: auto;
	max-width: min(100%, var(--media-frame-width));
	box-shadow: none;
	border: 2px solid rgba(0, 0, 0, .08);
	border-radius: var(--radius-md);
	box-sizing: border-box;
}

.media-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.captioned-gallery {
	max-width: 1024px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	row-gap: 24px;
}

.captioned-gallery__item {
	margin: 0;
}

.captioned-gallery__link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: inherit;
	text-decoration: none;
	transition: transform .18s ease;
}

.captioned-gallery__link:hover,
.captioned-gallery__link:focus-visible {
	transform: translateY(-4px);
	outline: none;
}

.captioned-gallery__frame {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	aspect-ratio: 496 / 212;
	box-shadow: none;
}

.captioned-gallery__frame img,
.captioned-gallery__frame video {
	position: absolute;
	top: 0;
	left: 50%;
	display: block;
	width: auto;
	height: 100%;
	max-width: none;
	transform: translateX(-50%);
	border-radius: 0;
	box-shadow: none;
	pointer-events: none;
}

.captioned-gallery__caption {
	margin: 0;
	color: #000;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 26px;
}

.captioned-gallery__caption::after {
	content: ' \2192';
	color: var(--orange);
	opacity: 0;
	transition: opacity .18s ease;
}

.captioned-gallery__link:hover .captioned-gallery__caption::after,
.captioned-gallery__link:focus-visible .captioned-gallery__caption::after {
	opacity: 1;
}

.project-carousel {
	--carousel-gap: 32px;
	--carousel-center-width: min(672px, calc(100vw - 128px));
	--carousel-side-peek: max(32px, calc((100vw - var(--carousel-center-width) - (var(--carousel-gap) * 2)) / 2));
	--carousel-fade-size: min(80px, var(--carousel-side-peek));
	--carousel-arrow-size: 44px;
	--carousel-arrow-offset: 30px;
	width: 100vw;
	max-width: none;
	margin: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.project-carousel--wide {
	--carousel-center-width: min(1024px, calc(100vw - 128px));
}

.project-carousel--framed {
	--carousel-gap: 0px;
	--carousel-arrow-offset: 0px;
	--carousel-nav-gap: 30px;
	--carousel-frame-width: 640px;
	width: min(100%, 1024px);
	max-width: 1024px;
	margin: 0 auto;
	box-sizing: border-box;
}

.project-carousel__viewport {
	position: relative;
	overflow: hidden;
	background: #fff;
	touch-action: pan-y;
}

.project-carousel__viewport::before,
.project-carousel__viewport::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: var(--carousel-fade-size);
	pointer-events: none;
	z-index: 3;
}

.project-carousel__viewport::before {
	left: 0;
	background: linear-gradient(to right, #fff 0, rgba(255, 255, 255, 0) 100%);
}

.project-carousel__viewport::after {
	right: 0;
	background: linear-gradient(to left, #fff 0, rgba(255, 255, 255, 0) 100%);
}

.project-carousel--framed .project-carousel__viewport {
	padding: 30px;
	background: var(--carousel-frame-color);
	border-radius: var(--radius-md);
	box-sizing: border-box;
}

.project-carousel--framed .project-carousel__viewport::before,
.project-carousel--framed .project-carousel__viewport::after {
	display: none;
}

.project-carousel__window {
	width: 100%;
}

.project-carousel--framed .project-carousel__window {
	width: var(--carousel-frame-width);
	max-width: calc(100% - ((var(--carousel-arrow-size) + var(--carousel-nav-gap)) * 2));
	margin: 0 auto;
	box-sizing: content-box;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: transparent;
}

.project-carousel__track {
	display: flex;
	align-items: flex-start;
	gap: var(--carousel-gap);
	width: max-content;
	will-change: transform;
	transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.project-carousel--framed .project-carousel__track {
	display: block;
	position: relative;
	width: var(--carousel-frame-width);
	height: var(--carousel-frame-height, auto);
	will-change: auto;
}

.project-carousel__slide {
	flex: 0 0 var(--carousel-center-width);
	margin: 0;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: none;
	background: #fff;
}

.project-carousel--framed .project-carousel__slide {
	position: absolute;
	top: 0;
	left: 0;
	flex: 0 0 auto;
	width: var(--carousel-frame-width);
	box-sizing: border-box;
	border: 2px solid rgba(0, 0, 0, .08);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: transparent;
}

.project-carousel__slide img,
.project-carousel__slide video {
	width: 100%;
	height: auto;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

.project-carousel__slide img {
	pointer-events: none;
}

.project-carousel--framed .project-carousel__slide video {
	pointer-events: auto;
	max-height: calc(882px - 4px);
}

.project-carousel__slide.is-portrait-video-slide {
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

video.is-portrait-video {
	width: auto;
	max-width: 100%;
	max-height: 768px;
	margin-left: auto;
	margin-right: auto;
}

.project-carousel__nav {
	position: absolute;
	top: 0;
	bottom: 0;
	width: var(--carousel-side-peek);
	padding: 0;
	border: 0;
	background: transparent;
	display: flex;
	align-items: center;
	z-index: 4;
	cursor: pointer;
}

.project-carousel__nav:focus-visible {
	outline: none;
}

.project-carousel__nav::after {
	content: '';
	width: var(--carousel-arrow-size);
	height: var(--carousel-arrow-size);
	flex: none;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	transition: transform .2s ease;
}

.project-carousel__nav--prev {
	left: 0;
	justify-content: flex-end;
}

.project-carousel__nav--prev::after {
	margin-right: var(--carousel-arrow-offset);
	background-image: url('../shared/carousel-assets/arrow-left-normal.svg');
}

.project-carousel__nav--prev:hover::after,
.project-carousel__nav--prev:focus-visible::after {
	background-image: url('../shared/carousel-assets/arrow-left-hover.svg');
}

.project-carousel__nav--prev:active::after {
	background-image: url('../shared/carousel-assets/arrow-left-press.svg');
}

.project-carousel__nav--next {
	right: 0;
	justify-content: flex-start;
}

.project-carousel__nav--next::after {
	margin-left: var(--carousel-arrow-offset);
	background-image: url('../shared/carousel-assets/arrow-right-normal.svg');
}

.project-carousel__nav--next:hover::after,
.project-carousel__nav--next:focus-visible::after {
	background-image: url('../shared/carousel-assets/arrow-right-hover.svg');
}

.project-carousel__nav--next:active::after {
	background-image: url('../shared/carousel-assets/arrow-right-press.svg');
}

.project-carousel--framed .project-carousel__nav {
	top: 30px;
	bottom: 30px;
	width: calc(var(--carousel-arrow-size) + (var(--carousel-nav-gap) * 2));
}

.project-carousel--framed .project-carousel__nav--prev {
	left: 0;
	justify-content: center;
}

.project-carousel--framed .project-carousel__nav--next {
	right: 0;
	justify-content: center;
}

.project-carousel--framed .project-carousel__nav--prev::after,
.project-carousel--framed .project-carousel__nav--next::after {
	margin: 0;
}

.project-carousel__dots {
	margin-top: 16px;
	position: relative;
	display: flex;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	align-items: center;
	gap: 12px;
}

.description-centred {
	margin: 16px auto 0;
	width: 100%;
	max-width: none;
	color: #000;
	font-size: 14px;
	font-weight: 400;
	line-height: 26px;
	text-align: center;
}

.copy-block a:not(.inline-link),
.copy-block a:not(.inline-link):visited,
.description-centred a,
.description-centred a:visited {
	color: var(--blue-medium);
	text-decoration: none;
	transition: color .18s ease;
}

.copy-block a:not(.inline-link):hover,
.copy-block a:not(.inline-link):focus-visible,
.copy-block a:not(.inline-link):active,
.description-centred a:hover,
.description-centred a:focus-visible,
.description-centred a:active {
	color: var(--orange);
	text-decoration: none;
}

.project-carousel.is-arrow-hidden .project-carousel__nav::after {
	display: none;
}

.project-carousel__dot-indicator {
	position: absolute;
	top: 50%;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--blue-medium);
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 2;
}

.project-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	flex: none;
	position: relative;
	z-index: 1;
	background: center / contain no-repeat url('../shared/carousel-assets/dot-normal.svg');
	cursor: pointer;
}

.project-carousel__playback {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	flex: none;
	position: relative;
	z-index: 1;
	background: center / contain no-repeat url('../shared/carousel-assets/dot-play-normal.svg');
	cursor: pointer;
}

.project-carousel__playback:focus-visible {
	outline: none;
}

.project-carousel__playback.is-playing {
	background-image: url('../shared/carousel-assets/dot-pause-normal.svg');
}

.project-carousel__playback.is-playing:hover,
.project-carousel__playback.is-playing:focus-visible {
	background-image: url('../shared/carousel-assets/dot-pause-hover.svg');
}

.project-carousel__playback.is-playing:active {
	background-image: url('../shared/carousel-assets/dot-pause-press.svg');
}

.project-carousel__playback:not(.is-playing):hover,
.project-carousel__playback:not(.is-playing):focus-visible {
	background-image: url('../shared/carousel-assets/dot-play-hover.svg');
}

.project-carousel__playback:not(.is-playing):active {
	background-image: url('../shared/carousel-assets/dot-play-press.svg');
}

.project-carousel__dot:hover,
.project-carousel__dot:focus-visible {
	background-image: url('../shared/carousel-assets/dot-hover.svg');
	outline: none;
}

.project-carousel__dot:active {
	background-image: url('../shared/carousel-assets/dot-press.svg');
}

.project-carousel__dot.is-selected,
.project-carousel__dot:disabled {
	background: transparent;
	cursor: default;
}

.media-grid__item img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.prototype-panel {
	padding: 0;
}

.prototype-panel .section-kicker {
	margin-bottom: 16px;
}

.action-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	margin-top: 24px;
}

.prototype-panel > .section-rule + p {
	margin-bottom: 0;
}

.prototype-panel > .section-rule {
	margin-bottom: 16px;
}

.prototype-panel > .action-grid {
	margin-top: 16px;
}

.site-footer {
	margin-top: 0;
	background: var(--footer-bg);
	border-top: 4px solid transparent;
	border-image: var(--line) 1;
}

.site-footer__inner {
	width: min(100%, 1088px);
	margin: 0 auto;
	min-height: 100px;
	padding: 40px 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.site-footer__copy {
	margin: 0;
	color: var(--blue);
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
}

.social-row {
	display: flex;
	align-items: center;
	gap: 32px;
}

.social-link {
	display: inline-flex;
	width: 16px;
	height: 16px;
	padding: 8px;
	margin: -8px;
	align-items: center;
	justify-content: center;
	box-sizing: content-box;
	position: relative;
}

.social-link img {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 16px;
	height: 16px;
	object-fit: contain;
	transform: translate(-50%, -50%);
	pointer-events: none;
	transition: opacity .18s ease;
}

.social-link__icon-hover {
	opacity: 0;
}

.social-link[aria-label="email"] img {
	width: 18px;
	height: 14px;
}

.social-link:hover .social-link__icon-default,
.social-link:focus-visible .social-link__icon-default {
	opacity: 0;
}

.social-link:hover .social-link__icon-hover,
.social-link:focus-visible .social-link__icon-hover {
	opacity: 1;
}

@media (max-width:1100px) {

	.site-header,
	.site-footer__inner,
	main {
		padding-left: 32px;
		padding-right: 32px;
	}

	.card-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width:760px) {
	.site-shell {
		width: 100%;
	}

	.resource-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.captioned-gallery {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.site-footer__inner {
		min-height: auto;
		flex-direction: column;
		align-items: flex-start;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.site-header {
		min-height: auto;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.site-brand {
		font-size: 28px;
	}

	.site-nav {
		width: 100%;
		margin-left: 0;
		justify-content: flex-start;
	}

	.hero-media,
	.hero-media--project {
		margin-bottom: 0;
	}

	.hero-media--project {
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		width: 100vw;
		border-radius: 0;
	}

		.card-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
			column-gap: 32px;
			row-gap: 24px;
		}

		.page-project .related-work .card-grid {
			grid-template-columns: repeat(3, minmax(0, 1fr));
			row-gap: 16px;
		}

		.page-project .related-work .work-card__body h3 {
			font-size: 18px;
		}

			.contact-grid,
			.media-grid,
		.action-grid,
	.prototype-link-grid {
		grid-template-columns: 1fr;
	}

	.contact-grid,
	.prototype-link-grid {
		gap: 16px;
	}

	main {
		padding-top: 0;
		padding-bottom: 0;
	}

	.page-project main {
		padding-top: 0;
	}

	.hero-copy h1 {
		font-size: clamp(2rem, 8vw, 2.8rem);
	}

		.about-intro {
			grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
			column-gap: 16px;
		}

	}


/* ============================================================
   Work Sample Lightbox — Main Page Thumbnail Grid
   ============================================================ */

.lightbox-gallery {
	max-width: 1024px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 32px;
	row-gap: 24px;
}

.lightbox-gallery__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	cursor: pointer;
}

.lightbox-gallery__frame {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.lightbox-gallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
	box-shadow: none;
	transition: transform .3s ease;
}

.lightbox-gallery__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 84px;
	height: 84px;
	object-fit: contain;
	pointer-events: none;
	opacity: 0;
	transition: opacity .18s ease;
	z-index: 2;
	display: block;
}

.lightbox-gallery__caption {
	color: #000;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 26px;
}

.lightbox-gallery__item:hover .lightbox-gallery__play {
	opacity: 1;
}

.lightbox-gallery__item:hover .lightbox-gallery__img {
	transform: scale(1.05);
}

@media (max-width: 760px) {
	.lightbox-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* ============================================================
   Work Sample Lightbox — Lightbox Overlay
   ============================================================ */

.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 1000;
	cursor: default;
}

.lightbox[hidden] {
	display: none;
}

.lightbox__body {
	position: absolute;
	inset: 0;
	overflow: hidden;
	touch-action: pan-y;
}

/* Each slide IS its own independently-sized card.
   Centering via translate(-50%, -50%) so the position is always derived
   from the element's own height. The aspect-ratio set on .lightbox__video-wrap
   in JS ensures the wrap (and therefore the slide) always has the correct height
   even before the video src is loaded — which is what makes this safe in Safari. */
.lightbox__slide {
	position: absolute;
	left: 50%;
	top: calc(50% + 24px);        /* 24px = (80px top clearance − 32px bottom) / 2 */
	transform: translate(-50%, -50%);
	width: calc(100% - 184px);    /* 92px side clearance × 2 */
	max-width: 1024px;            /* overridden per-slide by JS */
	border-radius: var(--radius-md);
	outline: 2px solid rgba(0, 0, 0, 0.16);
	box-shadow: 0 0 32px 16px rgba(0, 0, 0, 0.16);
	overflow: hidden;
	visibility: hidden;
	pointer-events: none;
}

.lightbox__slide.is-active {
	visibility: visible;
	pointer-events: auto;
}

.lightbox__video-wrap {
	background: #000;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 0;
}

.lightbox__video {
	display: block;
	max-width: 100%;
	max-height: 576px;
	width: auto;
	height: auto;
	flex-shrink: 0;
}

.lightbox__text {
	background: #fff;
	padding: 32px;
}

.lightbox__headline {
	margin: 0;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 24px;
	font-weight: 800;
	color: var(--blue);
	line-height: 1.2;
}

.lightbox__description {
	margin: 8px 0 0;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #000;
	line-height: 28px;
}

.lightbox__description + .lightbox__description {
	margin-top: 10px;
}

.lightbox__nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent center / contain no-repeat;
	cursor: pointer;
	z-index: 1001;
}

.lightbox__nav:focus-visible {
	outline: none;
}

.lightbox__nav--prev {
	left: 32px;
	background-image: url('../shared/carousel-assets/arrow-white-left-normal.svg');
}

.lightbox__nav--prev:hover,
.lightbox__nav--prev:focus-visible {
	background-image: url('../shared/carousel-assets/arrow-left-hover.svg');
}

.lightbox__nav--prev:active {
	background-image: url('../shared/carousel-assets/arrow-left-press.svg');
}

.lightbox__nav--next {
	right: 32px;
	background-image: url('../shared/carousel-assets/arrow-white-right-normal.svg');
}

.lightbox__nav--next:hover,
.lightbox__nav--next:focus-visible {
	background-image: url('../shared/carousel-assets/arrow-right-hover.svg');
}

.lightbox__nav--next:active {
	background-image: url('../shared/carousel-assets/arrow-right-press.svg');
}

.lightbox__close {
	position: fixed;
	top: 32px;
	right: 32px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent center / contain no-repeat;
	background-image: url('../shared/carousel-assets/close-normal.svg');
	cursor: pointer;
	z-index: 1002;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
	background-image: url('../shared/carousel-assets/close-hover.svg');
	outline: none;
}

.lightbox__close:active {
	background-image: url('../shared/carousel-assets/close-press.svg');
}

@media (max-width: 760px) {
	.lightbox__nav {
		display: none;
	}

	.lightbox__slide {
		width: calc(100% - 64px);  /* 32px side clearance × 2 */
	}
}
