@font-face {
	font-family: 'Golos Text Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 400 900;
	src: url(/fonts/golos-text-cyrillic-ext-wght-normal.woff2) format('woff2');
	unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
	font-family: 'Golos Text Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 400 900;
	src: url(/fonts/golos-text-cyrillic-wght-normal.woff2) format('woff2');
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'Golos Text Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 400 900;
	src: url(/fonts/golos-text-latin-ext-wght-normal.woff2) format('woff2');
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: 'Golos Text Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 400 900;
	src: url(/fonts/golos-text-latin-wght-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: 'Literata';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url(/fonts/literata-cyrillic-ext-400-normal.woff2) format('woff2');
	unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
	font-family: 'Literata';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url(/fonts/literata-cyrillic-400-normal.woff2) format('woff2');
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'Literata';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url(/fonts/literata-latin-ext-400-normal.woff2) format('woff2');
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: 'Literata';
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url(/fonts/literata-latin-400-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: 'Literata';
	font-style: italic;
	font-display: swap;
	font-weight: 400;
	src: url(/fonts/literata-cyrillic-ext-400-italic.woff2) format('woff2');
	unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
	font-family: 'Literata';
	font-style: italic;
	font-display: swap;
	font-weight: 400;
	src: url(/fonts/literata-cyrillic-400-italic.woff2) format('woff2');
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
	font-family: 'Literata';
	font-style: italic;
	font-display: swap;
	font-weight: 400;
	src: url(/fonts/literata-latin-ext-400-italic.woff2) format('woff2');
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: 'Literata';
	font-style: italic;
	font-display: swap;
	font-weight: 400;
	src: url(/fonts/literata-latin-400-italic.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
	--font-golos: "Golos Text Variable";
	--font-literata: "Literata";
}

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

/* Remove default padding */
ul[class],
ol[class] {
	padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
}

/* Set core body defaults */
body {
	font-family: sans-serif;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
	height: inherit;
	min-height: 100vh;
	min-height: -webkit-fill-available;
}

html {
	height: -webkit-fill-available;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
	list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
	text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
	max-width: 100%;
	display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
	margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
	font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
:root {
	color-scheme: light dark;
	--color-bg: #fff;
	--color-surface: #fafafa;
	--color-surface-subtle: #efefef;
	--color-text: #3f3f3f;
	--color-muted: #646464;
	--color-line: #d9d9d9;
	--color-accent: #ffc800;
	--color-link: #2065c0;
	--color-focus: #2065c0;
	--color-status-bg: #fff6d6;
	--color-status-text: #705300;
	--color-success-bg: #e9f2ff;
	--color-success-text: #235da0;
	--color-logo-bg: #404040;
	--color-brand-text: #fff;
	--color-brand-muted: #d0d0d0;
	--color-brand-line: #666;
	--color-link-inverse: #79b4ff;
	--color-ticket: #ffcf33;
	--color-ticket-ink: #303030;
	--color-ticket-muted: #574d32;
	--color-ticket-line: #ab8a2b;
	--color-ticket-success: #174f92;
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;
	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.125rem;
	--text-xl: clamp(1.5rem, 2.5vw, 2rem);
	--text-display: clamp(3.5rem, 7vw, 6rem);
	--page-width: 72rem;
	--page-gutter: clamp(1.25rem, 4vw, 3rem);
	--radius-sm: 0.375rem;
	--radius-md: 0.75rem;
	--radius-lg: 1.25rem;
	--transition: 140ms ease;
}

@media (prefers-color-scheme: dark) {
	:root {
		--color-bg: #282828;
		--color-surface: #333;
		--color-surface-subtle: #373737;
		--color-text: #f5f5f5;
		--color-muted: #bdbdbd;
		--color-line: #525252;
		--color-link: #79b4ff;
		--color-focus: #79b4ff;
		--color-status-bg: #3d3520;
		--color-status-text: #ffdc75;
		--color-success-bg: #22344c;
		--color-success-text: #93c1ff;
	}
}
@media print {
	:root {
		color-scheme: light;
		--color-bg: #fff;
		--color-surface: #fff;
		--color-surface-subtle: #f5f5f5;
		--color-text: #111;
		--color-muted: #444;
		--color-line: #ccc;
		--color-link: #111;
		--color-status-bg: #f5f5f5;
		--color-status-text: #333;
		--color-success-bg: #f5f5f5;
		--color-success-text: #333;
	}
}
html {
	scroll-padding-top: var(--space-6);
	background: var(--color-bg);
}

body {
	color: var(--color-text);
	background: var(--color-bg);
	font-size: var(--text-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

::selection {
	color: var(--color-ticket-ink);
	background: var(--color-accent);
}

a {
	color: var(--color-link);
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	transition: color var(--transition), background-color var(--transition);
}
a:hover {
	color: var(--color-text);
	text-decoration: underline;
}

:focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 5px;
	border-radius: 2px;
}

h1, h2, h3 {
	font-weight: 550;
	line-height: 1.2;
	text-wrap: balance;
}

h2 {
	font-size: var(--text-xl);
	letter-spacing: -0.035em;
}

h3 {
	font-size: var(--text-lg);
	letter-spacing: -0.02em;
}

p {
	text-wrap: pretty;
}

svg {
	flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
	html, body {
		scroll-behavior: auto;
	}
}
.page {
	--font-body: var(--font-golos, sans-serif);
	--font-editorial: var(--font-literata, Georgia), var(--font-body);
	max-width: calc(var(--page-width) + var(--page-gutter) * 2);
	margin: 0 auto;
	padding: var(--space-7) var(--page-gutter) 0;
	font-family: var(--font-body);
}

.skipLink {
	position: absolute;
	top: var(--space-3);
	left: var(--space-4);
	z-index: 10;
	padding: var(--space-3) var(--space-4);
	background: var(--color-surface);
	transform: translateY(-200%);
}

.skipLink:focus {
	transform: none;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
	align-items: center;
	gap: clamp(1.75rem, 4vw, 4rem);
	margin: 0 0 var(--space-8);
	padding: clamp(2rem, 4vw, 3rem);
	border-radius: var(--radius-sm);
	background: var(--color-logo-bg);
	color: var(--color-brand-text);
}

.intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.intro h1 {
	margin: 0 0 var(--space-5);
	width: 100%;
}

.productLogo img {
	width: 100%;
	max-width: 27rem;
	height: auto;
}

.eyebrow {
	font-size: var(--text-xs);
	font-weight: 500;
	letter-spacing: 0.045em;
}

.intro .eyebrow {
	color: var(--color-brand-muted);
}

.heroTitle {
	max-width: 30rem;
	font-size: clamp(1.375rem, 2.6vw, 2rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.25;
	text-wrap: balance;
}

.heroDescription {
	margin-top: var(--space-4);
	color: var(--color-brand-muted);
	font-size: var(--text-sm);
}

.ticketCaption {
	margin-top: var(--space-5);
	padding-top: var(--space-3);
	border-top: 1px solid var(--color-brand-line);
	color: var(--color-brand-muted);
	font-size: var(--text-xs);
}

.heroVisual {
	min-width: 0;
	margin: 0;
}

.heroVisual figcaption {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-top: var(--space-3);
	color: var(--color-brand-muted);
	font-size: var(--text-sm);
}

.heroVisual figcaption::before {
	content: "";
	width: 1.25rem;
	height: 2px;
	background: var(--color-accent);
}

.heroCrop {
	position: relative;
	aspect-ratio: 1.75;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--color-brand-line);
}

.heroCrop img {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 220%;
	max-width: none;
	height: auto;
	transform: translate(-50%, -50%);
}

.documentSection {
	margin-bottom: var(--space-9);
}

.documentHeading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-6);
	margin-bottom: var(--space-7);
}

.documentHeading h2 {
	font-family: var(--font-editorial);
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 400;
	letter-spacing: -0.055em;
}

.documentHeading p {
	max-width: 23rem;
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.documents {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-5);
	padding-top: var(--space-3);
}

.document {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: var(--space-5) var(--space-5) var(--space-2);
	border: 1px solid var(--color-line);
	background: var(--color-surface);
}

.document::before {
	content: "";
	position: absolute;
	left: -1px;
	top: -0.75rem;
	width: 40%;
	height: 0.75rem;
	border: 1px solid var(--color-line);
	border-bottom: 0;
	border-radius: 6px 10px 0 0;
	background: var(--color-surface);
}

.document h3 {
	font-family: var(--font-editorial);
	font-size: clamp(1.375rem, 2.1vw, 1.875rem);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.document p {
	margin: var(--space-3) 0 var(--space-4);
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.documentTitle {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
}

.documentSymbol {
	width: 24px;
	height: 24px;
	margin-top: 0.2em;
	color: var(--color-link);
}

.documentFooter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 var(--space-3);
	margin-top: auto;
	border-top: 1px solid var(--color-line);
	color: var(--color-muted);
	font-size: var(--text-sm);
	font-variant-numeric: tabular-nums;
}

.documentFooter a {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 44px;
	font-weight: 600;
	text-decoration: underline;
}

.aboutSection {
	padding: var(--space-8) 0;
	border-top: 1px solid var(--color-line);
}

.aboutIntro {
	display: grid;
	grid-template-columns: 1fr;
	align-items: end;
	gap: var(--space-8);
}

.aboutIntro h2 {
	margin: var(--space-4) 0 var(--space-6);
	font-family: var(--font-editorial);
	font-size: clamp(2.5rem, 4.5vw, 4rem);
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 1.03;
}

.lead {
	max-width: 52rem;
	font-size: var(--text-lg);
	line-height: 1.55;
	letter-spacing: -0.025em;
}

.muted {
	max-width: 33rem;
	margin-top: var(--space-4);
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.facts {
	font-size: var(--text-sm);
}

.facts div {
	padding: var(--space-4) 0;
	border-top: 1px solid var(--color-line);
}

.facts dt {
	margin-bottom: var(--space-1);
	color: var(--color-muted);
	font-size: var(--text-xs);
}

.subheading {
	margin: var(--space-6) 0 var(--space-4);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 600;
}

.aboutIntro .functionalHeading {
	font-size: clamp(1.75rem, 4vw, 3.5rem);
	overflow-wrap: anywhere;
}

.purposeParagraph {
	max-width: 52rem;
}

.purposeParagraph + .purposeParagraph {
	margin-top: var(--space-4);
}

.aboutSection .featureList {
	max-width: 52rem;
	margin-top: var(--space-5);
	padding-left: 1.5rem;
	list-style: disc;
}

.aboutSection .featureList li + li {
	margin-top: var(--space-3);
}

.featureGroup {
	max-width: 52rem;
	margin-top: var(--space-5);
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-line);
}

.featureGroup h4 {
	color: var(--color-muted);
	font-size: var(--text-sm);
	font-weight: 400;
}

.featureGroup .featureList {
	margin-top: var(--space-3);
}

.featureGroup .featureList li + li {
	margin-top: var(--space-2);
}

.featureLabel {
	display: block;
	margin-bottom: var(--space-1);
	color: var(--color-text);
	font-size: var(--text-lg);
	font-weight: 600;
	line-height: 1.3;
}

.capabilities {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-6);
}

.capabilities li {
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-line);
	flex: 1 1 33%;
	min-width: 200px;
}

.capabilities h4 {
	font-size: var(--text-base);
	font-weight: 550;
	line-height: 1.3;
}

.capabilities p {
	margin-top: var(--space-3);
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.featureSymbol, .serviceSymbol {
	display: block;
	margin-bottom: var(--space-5);
	color: var(--color-link);
}

.note {
	max-width: 46rem;
	margin-top: var(--space-6);
	color: var(--color-muted);
	font-size: var(--text-xs);
}

.serviceSection {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: var(--space-8);
	padding: var(--space-7) 0 var(--space-8);
	border-top: 1px solid var(--color-line);
}

.infoBlock a {
	display: inline-block;
	min-height: 24px;
	overflow-wrap: anywhere;
}

.infoBlock h2 {
	margin-bottom: var(--space-5);
	font-family: var(--font-editorial);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 400;
	letter-spacing: -0.04em;
}

.infoBlock p {
	max-width: 34rem;
	margin-top: var(--space-3);
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.textLink {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	min-height: 44px;
	margin-top: var(--space-3);
	font-size: var(--text-sm);
	font-weight: 500;
}

.contactSection {
	--color-text: var(--color-brand-text);
	--color-muted: var(--color-brand-muted);
	--color-line: var(--color-brand-line);
	--color-link: var(--color-link-inverse);
	--color-focus: var(--color-link-inverse);
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	align-items: center;
	gap: var(--space-8);
	margin: var(--space-5) 0 var(--space-6);
	padding: var(--space-7);
	color: var(--color-text);
	background: var(--color-logo-bg);
}

.contactTitle h2 {
	margin: 0;
}

.companyLogo {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: 44px;
}

.companyLogo img {
	width: 17rem;
	height: auto;
}

.companyLogo [hidden] {
	display: none;
}

.companyLogo span {
	color: var(--color-brand-text);
	font-size: clamp(1.375rem, 3vw, 2rem);
}

.companyCaption {
	margin-top: var(--space-5);
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.contactGrid {
	display: grid;
	gap: var(--space-5);
}

.contactGrid a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: clamp(1.375rem, 3vw, 2rem);
	letter-spacing: -0.04em;
	overflow-wrap: anywhere;
}

.contactLabel {
	display: block;
	color: var(--color-muted);
	font-size: var(--text-xs);
}

.legal {
	margin-top: var(--space-5);
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-line);
	font-size: var(--text-xs);
}

.requisites {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-5);
	margin-top: var(--space-2);
	font-size: var(--text-xs);
	font-variant-numeric: tabular-nums;
}

.requisites div {
	display: flex;
	gap: var(--space-2);
}

.requisites dt {
	color: var(--color-muted);
}

.footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--space-4);
	padding-bottom: var(--space-6);
	color: var(--color-muted);
	font-size: var(--text-xs);
}

.footer a {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 44px;
}

@media (max-width: 64rem) {
	.document {
		padding-inline: var(--space-4);
	}
	.aboutIntro, .serviceSection, .contactSection {
		gap: var(--space-6);
	}
}
@media (max-width: 48rem) {
	.page {
		padding-top: var(--space-5);
	}
	.hero {
		grid-template-columns: 1fr;
		margin-bottom: var(--space-6);
		padding: var(--space-5);
	}
	.intro h1 {
		margin-bottom: var(--space-4);
	}
	.heroTitle {
		font-size: 1.25rem;
	}
	.ticketCaption {
		margin-top: var(--space-4);
	}
	.heroVisual {
		display: none;
	}
	.documentSection {
		margin-bottom: var(--space-7);
	}
	.documentHeading {
		display: block;
	}
	.documentHeading p {
		max-width: 32rem;
		margin-top: var(--space-4);
	}
	.documents {
		grid-template-columns: 1fr;
		gap: var(--space-5);
	}
	.document {
		padding: var(--space-4) var(--space-4) var(--space-1);
	}
	.document h3 {
		font-size: 1.5rem;
	}
	.aboutIntro, .serviceSection, .contactSection {
		grid-template-columns: 1fr;
	}
	.aboutSection, .serviceSection {
		padding: var(--space-7) 0;
	}
	.capabilities {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-5);
	}
	.contactSection {
		padding: var(--space-6);
	}
}
@media (max-width: 30rem) {
	.capabilities {
		grid-template-columns: 1fr;
	}
}
@media print {
	.page {
		max-width: none;
		padding: 0;
	}
	.skipLink, .footer {
		display: none;
	}
	.hero {
		grid-template-columns: 1fr;
		margin-bottom: var(--space-6);
		print-color-adjust: exact;
	}
	.heroVisual {
		display: none;
	}
	.documentSection {
		margin-bottom: var(--space-5);
	}
	.documents {
		grid-template-columns: repeat(3, 1fr);
	}
	.aboutSection, .serviceSection {
		padding: var(--space-5) 0;
	}
	.document, .infoBlock, .facts, .contactSection {
		break-inside: avoid;
	}
}
.gallery {
	margin-top: var(--space-7);
}

.heading {
	margin-bottom: var(--space-5);
	font-size: var(--text-lg);
	font-weight: 600;
}

.previews {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--space-4);
}

.preview {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	color: var(--color-text);
	text-align: left;
	cursor: zoom-in;
}

.preview img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: calc(var(--radius-sm) - 1px) calc(var(--radius-sm) - 1px) 0 0;
}

.preview:disabled {
	cursor: default;
}

.preview:enabled:hover .previewCaption span {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.previewCaption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	width: 100%;
	flex: 1;
	min-height: 44px;
	padding: var(--space-2) var(--space-3);
	font-size: var(--text-sm);
	font-weight: 500;
	line-height: 1.3;
}

.previewCaption svg {
	color: var(--color-link);
}

.dialog {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: #202020;
	color: #fff;
	font: inherit;
	overflow: hidden;
	overscroll-behavior: none;
}

.dialog::backdrop {
	background: #202020;
}

.stage, .track, .slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.stage {
	outline-offset: -4px;
	touch-action: none;
	user-select: none;
	overflow: hidden;
}

.track {
	will-change: transform;
	pointer-events: none;
}

.activeImage, .neighbor {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	max-width: none;
	transform-origin: 0 0;
	pointer-events: none;
	user-select: none;
}

.activeImage {
	will-change: transform;
}

.neighbor {
	width: 100%;
	height: 100%;
	object-fit: scale-down;
}

.close {
	position: absolute;
	top: max(var(--space-3), env(safe-area-inset-top));
	right: max(var(--space-3), env(safe-area-inset-right));
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	cursor: pointer;
}

.close:hover {
	background: #000;
}

.srOnly {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 48rem) {
	.previews {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--space-3);
	}
	.preview:first-child {
		grid-column: 1/-1;
	}
}
@media (max-width: 30rem) {
	.previews {
		grid-template-columns: 1fr;
	}
	.preview:not(:first-child) {
		flex-direction: row;
		align-items: center;
	}
	.preview:not(:first-child) img {
		width: 28%;
		border-radius: calc(var(--radius-sm) - 1px) 0 0 calc(var(--radius-sm) - 1px);
	}
}
@media print {
	.dialog {
		display: none !important;
	}
	.gallery {
		break-inside: avoid;
	}
}
