/* ==========================================================================
   Exhibit — Selected Work Portfolio
   1. Tokens and themes
   2. Section header
   3. Slider chrome (counter, arrows, dots)
   4. Project layout
   5. Device mockup
   6. Footer meta
   7. Responsive
   8. Reduced motion / print
   ========================================================================== */

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

.ex {
	--ex-brand: #3d8749;
	--ex-ink: #16204a;

	--ex-gap: clamp(1.25rem, 2vw, 2rem);
	--ex-pad: clamp(1.25rem, 5vw, 5rem);
	--ex-section: clamp(4rem, 8vw, 7rem);
	--ex-radius: 6px;

	--ex-sans: inherit;
	--ex-display: inherit;
	--ex-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

	--ex-ease: cubic-bezier(0.16, 1, 0.3, 1);

	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	padding: var(--ex-section) var(--ex-pad);
	font-family: var(--ex-sans);
	overflow-x: clip;
}

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

.ex__inner {
	max-width: 78rem;
	margin: 0 auto;
}

/* Typography options */

.ex--font-editorial {
	--ex-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ex-display: ui-serif, "Iowan Old Style", Georgia, "Times New Roman", serif;
}

.ex--font-system {
	--ex-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ex-display: var(--ex-sans);
}

/* Brand light: white with a soft mint wash. Matches a white services section. */

.ex--brand {
	--ex-bg: #ffffff;
	--ex-surface: #ffffff;
	--ex-text: #4d5866;
	--ex-heading: var(--ex-ink);
	--ex-muted: #6b7684;
	--ex-faint: #98a1ad;
	--ex-line: #e3e7ea;
	--ex-line-soft: #eef1f3;
	--ex-alu-1: #d9dde0;
	--ex-alu-2: #b9bfc4;
	--ex-alu-edge: rgba(255, 255, 255, 0.85);
	--ex-bezel: #1a1d21;
	background: var(--ex-bg);
	color: var(--ex-text);
	color-scheme: light;
}

.ex--brand::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--ex-brand) 7%, #ffffff) 0%, #ffffff 46%, color-mix(in srgb, var(--ex-brand) 5%, #ffffff) 100%);
}

.ex--light {
	--ex-bg: #f7f8f7;
	--ex-surface: #ffffff;
	--ex-text: #4a5158;
	--ex-heading: var(--ex-ink);
	--ex-muted: #6b7278;
	--ex-faint: #9aa1a7;
	--ex-line: #e2e5e7;
	--ex-line-soft: #edeff0;
	--ex-alu-1: #d9dde0;
	--ex-alu-2: #b9bfc4;
	--ex-alu-edge: rgba(255, 255, 255, 0.85);
	--ex-bezel: #1a1d21;
	background: var(--ex-bg);
	color: var(--ex-text);
	color-scheme: light;
}

.ex--dark {
	--ex-bg: #0a0b0a;
	--ex-surface: #121412;
	--ex-text: rgba(243, 244, 242, 0.72);
	--ex-heading: #f3f4f2;
	--ex-muted: rgba(243, 244, 242, 0.56);
	--ex-faint: rgba(243, 244, 242, 0.34);
	--ex-line: rgba(255, 255, 255, 0.12);
	--ex-line-soft: rgba(255, 255, 255, 0.06);
	--ex-alu-1: #2a2c2b;
	--ex-alu-2: #171918;
	--ex-alu-edge: rgba(255, 255, 255, 0.16);
	--ex-bezel: #050605;
	background: var(--ex-bg);
	color: var(--ex-text);
	color-scheme: dark;
}

.ex--dark::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(60rem 40rem at 82% -8%, color-mix(in srgb, var(--ex-brand) 13%, transparent), transparent 62%),
		radial-gradient(48rem 34rem at 6% 108%, color-mix(in srgb, var(--ex-brand) 8%, transparent), transparent 60%);
}

/* Screen reader utility, in case the theme does not define it */

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

/* 2. Section header -------------------------------------------------------- */

.ex__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ex__head-text {
	max-width: 40rem;
}

.ex__eyebrow {
	display: inline-block;
	margin: 0 0 1.25rem;
	padding: 0.4rem 0.75rem;
	border-radius: 3px;
	background: color-mix(in srgb, var(--ex-brand) 12%, transparent);
	color: color-mix(in srgb, var(--ex-brand) 88%, var(--ex-heading));
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
}

.ex--dark .ex__eyebrow {
	background: color-mix(in srgb, var(--ex-brand) 18%, transparent);
	color: #ffffff;
}

.ex__headline {
	margin: 0;
	font-family: var(--ex-display);
	font-size: clamp(1.875rem, 3.6vw, 3rem);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.015em;
	color: var(--ex-heading);
	text-wrap: balance;
}

.ex--font-editorial .ex__headline {
	font-weight: 400;
	letter-spacing: -0.02em;
}

.ex__intro {
	margin: 1rem 0 0;
	max-width: 44ch;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ex-text);
	text-wrap: pretty;
}

/* 3. Slider chrome --------------------------------------------------------- */

.ex__nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding-bottom: 0.25rem;
}

.ex__counter {
	margin: 0;
	font-family: var(--ex-mono);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
	color: var(--ex-faint);
}

.ex__counter-now {
	color: var(--ex-heading);
	font-weight: 600;
}

.ex__counter-slash {
	margin: 0 0.15rem;
	color: var(--ex-brand);
}

.ex__arrows {
	display: flex;
	gap: 0.5rem;
}

.ex__arrow {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0!important;
	border: 1px solid var(--ex-line)!important;
	border-radius: 50%!important;
	background: var(--ex-surface)!important;
	color: var(--ex-heading);
	cursor: pointer!important;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.ex__arrow:hover:not(:disabled) {
	background: var(--ex-brand);
	border-color: var(--ex-brand);
	color: #ffffff;
}

.ex__arrow:focus-visible {
	outline: 2px solid var(--ex-brand);
	outline-offset: 3px;
}

.ex__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Dots */

.ex__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.ex__dot {
	display: block;
	width: 1.75rem;
	height: 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--ex-line);
	text-decoration: none;
	cursor: pointer;
	transition: width 0.4s var(--ex-ease), background-color 0.3s ease;
}

.ex__dot:hover {
	background: color-mix(in srgb, var(--ex-brand) 45%, var(--ex-line));
}

.ex__dot[aria-current="true"] {
	width: 3.25rem;
	background: var(--ex-brand);
}

.ex__dot:focus-visible {
	outline: 2px solid var(--ex-brand);
	outline-offset: 3px;
}

/* 4. Project layout -------------------------------------------------------- */

.ex__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Slider track */

.ex--slider .ex__viewport {
	position: relative;
	margin-inline: calc(var(--ex-pad) * -1);
	padding-inline: var(--ex-pad);
}

.ex--slider .ex__list {
	display: flex;
	gap: clamp(1.5rem, 4vw, 4rem);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.ex--slider .ex__list::-webkit-scrollbar {
	display: none;
}

.ex--slider .ex__item {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	padding: 0;
	border: 0;
}

/* Stacked list */

.ex--stack .ex__item {
	position: relative;
	padding: clamp(3rem, 7vw, 6rem) 0;
	border-top: 1px solid var(--ex-line-soft);
	content-visibility: auto;
	contain-intrinsic-size: auto 900px;
}

.ex--stack .ex__item:first-child {
	border-top: 0;
	padding-top: 0;
}

/* Project intro */

.ex__intro-row {
	display: flex;
	align-items: baseline;
	gap: clamp(0.875rem, 2.5vw, 2rem);
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ex__num {
	flex: none;
	font-family: var(--ex-display);
	font-size: clamp(2.25rem, 5.5vw, 4.5rem);
	font-weight: 700;
	line-height: 0.82;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
	color: color-mix(in srgb, var(--ex-heading) 14%, transparent);
	user-select: none;
}

.ex__intro-text {
	min-width: 0;
}

.ex__name {
	margin: 0;
	font-family: var(--ex-display);
	font-size: clamp(1.375rem, 2.6vw, 2.125rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--ex-heading);
	text-wrap: balance;
}

.ex--font-editorial .ex__name {
	font-weight: 400;
}

.ex__name-link {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(var(--ex-brand), var(--ex-brand));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 2px;
	transition: background-size 0.45s var(--ex-ease);
}

.ex__name-link:hover {
	background-size: 100% 2px;
}

.ex__desc {
	margin: 0.5rem 0 0;
	max-width: 52ch;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--ex-muted);
	text-wrap: pretty;
	overflow-wrap: break-word;
}

/* Stage */

.ex__stage {
	position: relative;
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	align-items: center;
	gap: clamp(0.75rem, 2vw, 1.75rem);
}

/* Reveal, only once JS confirms it can also reveal it again. */
.ex.is-js.ex--stack .ex__stage {
	opacity: 0;
	transform: translateY(2.5rem) scale(0.97);
	transition: opacity 0.7s ease, transform 0.9s var(--ex-ease);
}

.ex.is-js.ex--stack .ex__item.is-inview .ex__stage {
	opacity: 1;
	transform: none;
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.ex--stack .ex__stage {
			opacity: 1;
			transform: none;
			transition: none;
			animation: ex-cinema linear both;
			animation-timeline: view();
			animation-range: entry 0% exit 100%;
		}
	}
}

@keyframes ex-cinema {
	0% {
		opacity: 0;
		transform: translateY(3rem) scale(0.95);
	}
	24%,
	76% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
	100% {
		opacity: 0.4;
		transform: translateY(-1.5rem) scale(0.95);
	}
}

/* Progress rail */

.ex__rail {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.875rem;
	align-self: stretch;
	padding: 1.25rem 0;
	font-family: var(--ex-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	font-variant-numeric: tabular-nums;
	color: var(--ex-faint);
}

.ex__rail-count {
	writing-mode: vertical-rl;
	white-space: nowrap;
}

.ex__rail-slash {
	color: var(--ex-brand);
}

.ex__rail-track {
	position: relative;
	flex: 1;
	width: 2px;
	min-height: 3rem;
	border-radius: 2px;
	background: var(--ex-line);
	overflow: hidden;
}

.ex__rail-bar {
	position: absolute;
	inset: 0 0 auto;
	height: 100%;
	border-radius: 2px;
	background: var(--ex-brand);
	transform: scaleY(0);
	transform-origin: top center;
	will-change: transform;
}

/* 5. Device ---------------------------------------------------------------- */

.ex__device {
	position: relative;
	display: block;
	width: 100%;
	max-width: 62rem;
	margin: 0 auto;
	padding: 0;
	border: 0;
	background: none;
	perspective: 1600px;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transform-style: preserve-3d;
	transform: rotateX(var(--ex-rx, 0deg)) rotateY(var(--ex-ry, 0deg)) translateZ(0);
	transition: transform 0.6s var(--ex-ease);
}

/* In slide view the whole project must fit one screen, so cap by height too. */
.ex--slider .ex__device {
	max-width: min(56rem, max(30rem, calc(42vh * 1.6)));
}

.ex__device.is-tilting {
	transition: transform 0.12s linear;
}

.ex__device:focus {
	outline: none;
}

.ex__device:focus-visible {
	outline: 2px solid var(--ex-brand);
	outline-offset: 0.75rem;
	border-radius: 1rem;
}

.ex__device--empty {
	display: grid;
	place-items: center;
	min-height: 16rem;
	border: 1px dashed var(--ex-line);
	border-radius: var(--ex-radius);
	cursor: default;
}

.ex__empty {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ex-faint);
}

.ex__lid {
	position: relative;
	padding: clamp(0.45rem, 0.8vw, 0.75rem);
	border-radius: clamp(0.5rem, 0.9vw, 0.85rem) clamp(0.5rem, 0.9vw, 0.85rem) 0.25rem 0.25rem;
	background: linear-gradient(168deg, var(--ex-alu-1), var(--ex-alu-2) 64%);
	box-shadow:
		inset 0 1px 0 var(--ex-alu-edge),
		inset 0 0 0 1px rgba(0, 0, 0, 0.12),
		0 1.25rem 2.5rem rgba(22, 32, 74, 0.16);
}

.ex--dark .ex__lid {
	box-shadow:
		inset 0 1px 0 var(--ex-alu-edge),
		inset 0 0 0 1px rgba(0, 0, 0, 0.55),
		0 1.5rem 3rem rgba(0, 0, 0, 0.45);
}

.ex__bezel {
	position: relative;
	padding: clamp(0.3rem, 0.55vw, 0.55rem);
	padding-top: clamp(0.65rem, 1.1vw, 1rem);
	border-radius: 0.35rem;
	background: var(--ex-bezel);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.ex__camera {
	position: absolute;
	top: clamp(0.25rem, 0.45vw, 0.45rem);
	left: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	transform: translateX(-50%);
	background: #33373c;
	box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.35);
}

.ex__screen {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 0.2rem;
	background: #ffffff;
	transform: translateZ(0);
}

.ex__track {
	position: absolute;
	inset: 0 0 auto;
	width: 100%;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.ex__shot {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	user-select: none;
	-webkit-user-drag: none;
}

.ex__glare {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		104deg,
		rgba(255, 255, 255, 0) 32%,
		rgba(255, 255, 255, 0.16) 46%,
		rgba(255, 255, 255, 0.04) 54%,
		rgba(255, 255, 255, 0) 66%
	);
	opacity: 0.7;
	transition: opacity 0.5s ease;
}

.ex__vignette {
	position: absolute;
	inset: 0;
	pointer-events: none;
	box-shadow: inset 0 0 3rem rgba(22, 32, 74, 0.12);
}

.ex__device:hover .ex__glare,
.ex__device.is-active .ex__glare {
	opacity: 0.25;
}

.ex__base {
	position: relative;
	width: 116%;
	height: clamp(0.55rem, 0.9vw, 0.8rem);
	margin: 0 auto;
	margin-left: -8%;
	border-radius: 0 0 0.4rem 0.4rem;
	background: linear-gradient(180deg, #eef0f2 0%, #c9ced3 40%, #9aa1a8 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		0 0.65rem 1.25rem rgba(22, 32, 74, 0.18);
}

.ex--dark .ex__base {
	background: linear-gradient(180deg, #3a3d3b 0%, #212423 38%, #101211 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		0 0.75rem 1.5rem rgba(0, 0, 0, 0.5);
}

.ex__notch {
	position: absolute;
	top: 0;
	left: 50%;
	width: 13%;
	height: 42%;
	transform: translateX(-50%);
	border-radius: 0 0 0.35rem 0.35rem;
	background: linear-gradient(180deg, #b4bac0, #cfd4d8);
}

.ex--dark .ex__notch {
	background: linear-gradient(180deg, #0d0f0e, #1a1c1b);
}

.ex__shadow {
	position: absolute;
	left: 12%;
	right: 12%;
	bottom: -2rem;
	height: 3rem;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(22, 32, 74, 0.24), transparent);
	filter: blur(0.5rem);
	pointer-events: none;
	transition: opacity 0.5s ease, transform 0.5s var(--ex-ease);
}

.ex--dark .ex__shadow {
	background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent);
}

.ex__device:hover .ex__shadow,
.ex__device.is-active .ex__shadow {
	transform: translateY(0.4rem) scaleX(0.94);
	opacity: 0.85;
}

/* Hint pill */

.ex__hint {
	position: absolute;
	left: 50%;
	bottom: -3rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0.4rem 0.85rem;
	transform: translateX(-50%);
	border: 1px solid var(--ex-line);
	border-radius: 999px;
	background: color-mix(in srgb, var(--ex-surface) 82%, transparent);
	backdrop-filter: blur(10px);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--ex-muted);
	transition: opacity 0.4s ease, transform 0.5s var(--ex-ease);
}

.ex__hint-dot {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background: var(--ex-brand);
}

.ex__device.is-active .ex__hint {
	opacity: 0;
	transform: translateX(-50%) translateY(0.4rem);
}

/* 6. Footer meta ----------------------------------------------------------- */

.ex__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem var(--ex-gap);
	margin-top: clamp(3rem, 5vw, 4rem);
	padding-top: 1.25rem;
	border-top: 1px solid var(--ex-line-soft);
	font-size: 0.875rem;
}

.ex__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--ex-muted);
}

.ex__sep {
	color: var(--ex-brand);
}

.ex__year {
	margin: 0;
	margin-left: auto;
	font-family: var(--ex-mono);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
	color: var(--ex-faint);
}

.ex__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	text-decoration: none;
	font-weight: 600;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Solid button, matching the site's primary buttons */
.ex--cta-button .ex__cta {
	padding: 0.75rem 1.35rem;
	border-radius: var(--ex-radius);
	background: var(--ex-brand);
	color: #ffffff;
	font-size: 0.875rem;
}

.ex--cta-button .ex__cta:hover {
	background: color-mix(in srgb, var(--ex-brand) 85%, #000000);
}

/* Underlined text link */
.ex--cta-link .ex__cta {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--ex-line);
	color: var(--ex-heading);
}

.ex--cta-link .ex__cta:hover {
	color: var(--ex-brand);
	border-color: var(--ex-brand);
}

.ex__cta:focus-visible {
	outline: 2px solid var(--ex-brand);
	outline-offset: 3px;
}

.ex__cta-arrow {
	display: inline-flex;
	transition: transform 0.35s var(--ex-ease);
}

.ex__cta:hover .ex__cta-arrow {
	transform: translateX(0.25rem);
}

/* Browser frame variant ---------------------------------------------------- */

.ex--browser .ex__lid {
	padding: 0;
	border-radius: 0.6rem;
}

.ex--browser .ex__bezel {
	padding: 0;
	padding-top: 2rem;
	border-radius: 0.6rem;
}

.ex--browser .ex__camera {
	top: 0.8rem;
	left: 1rem;
	width: 0.45rem;
	height: 0.45rem;
	transform: none;
	background: #4a4d52;
	box-shadow: 0.75rem 0 0 #4a4d52, 1.5rem 0 0 #4a4d52;
}

.ex--browser .ex__base,
.ex--browser .ex__notch {
	display: none;
}

/* 7. Responsive ------------------------------------------------------------ */

@media (max-width: 1024px) {
	.ex__stage {
		grid-template-columns: 2rem minmax(0, 1fr);
	}

	.ex--slider .ex__device {
		max-width: min(46rem, max(24rem, calc(40vh * 1.6)));
	}
}

@media (max-width: 767px) {
	.ex__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.ex__nav {
		width: 100%;
		justify-content: space-between;
		padding-bottom: 0;
	}

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

	.ex__rail {
		flex-direction: row;
		align-items: center;
		gap: 0.75rem;
		padding: 0 0 0.875rem;
	}

	.ex__rail-count {
		writing-mode: horizontal-tb;
	}

	.ex__rail-track {
		flex: 1;
		width: auto;
		height: 2px;
		min-height: 0;
	}

	.ex__rail-bar {
		transform-origin: left center;
		transform: scaleX(0);
	}

	/* Compact browser frame on small screens */
	.ex__lid {
		padding: 0;
		border-radius: 0.6rem;
	}

	.ex__bezel {
		padding: 0;
		padding-top: 1.6rem;
		border-radius: 0.6rem;
	}

	.ex__camera {
		top: 0.65rem;
		left: 0.8rem;
		width: 0.35rem;
		height: 0.35rem;
		transform: none;
		background: #4a4d52;
		box-shadow: 0.6rem 0 0 #4a4d52, 1.2rem 0 0 #4a4d52;
	}

	.ex__base,
	.ex__notch,
	.ex__glare {
		display: none;
	}

	.ex__screen {
		aspect-ratio: 4 / 3;
		border-radius: 0 0 0.5rem 0.5rem;
	}

	.ex--slider .ex__device {
		max-width: 100%;
	}

	.ex__hint {
		bottom: -2.5rem;
	}

	.ex__num {
		font-size: 2.25rem;
	}

	.ex__foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.ex__year {
		margin-left: 0;
	}

	.ex--cta-button .ex__cta {
		width: 100%;
		justify-content: center;
	}
}

/* 8. Reduced motion and print ---------------------------------------------- */

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

	.ex--slider .ex__list {
		scroll-behavior: auto;
	}

	.ex__stage {
		opacity: 1;
		transform: none;
	}

	.ex__device {
		transform: none !important;
		cursor: default;
	}

	.ex__screen {
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.ex__track {
		position: static;
		transform: none !important;
	}

	.ex__hint-label {
		font-size: 0;
	}

	.ex__hint-label::after {
		content: "Scroll inside the screen";
		font-size: 0.6875rem;
	}
}

@media print {
	.ex {
		background: #fff;
		color: #000;
	}

	.ex__rail,
	.ex__hint,
	.ex__glare,
	.ex__shadow,
	.ex__nav,
	.ex__dots {
		display: none;
	}

	.ex--slider .ex__list {
		display: block;
		overflow: visible;
	}
}
