/*
Theme Name: Roma Theme One
Author: Dmitry
Version: 0.5.1
Text Domain: romathemeone
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
	--paper-0: #ffffff;
	--paper-1: #f6f6f6;
	--paper-2: #ececec;
	--paper-3: #dcdcdc;
	--accent-1: #eeeeee;
	--accent-2: #e1e1e1;
	--accent-3: #d2d2d2;
	--ink-1: #b6b6b6;
	--ink-2: #8f8f8f;
	--ink-3: #666666;
	--ink-4: #3f3f3f;
	--ink-5: #242424;
	--ink-6: #0f0f0f;
	--header-hero-ink: rgb(24, 24, 36);
	--radius-sm: 5px;
	--radius-md: 8px;
	--radius-lg: 13px;
	--header-offset: 55px;
	--admin-bar-offset: 0px;
}

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

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
	color: var(--ink-6);
	background-color: var(--paper-1);
	font-family: "Inter", "Segoe UI", sans-serif;
	line-height: 1.6;
	letter-spacing: 0.01em;
}

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

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

.shell {
	width: min(calc(100% - 34px), 1144px);
	margin-inline: auto;
	min-width: 0;
	container-type: inline-size;
}

.has-breakpoint-markers {
	position: relative;
}

.breakpoint-markers,
.current-width-marker {
	display: none !important;
}

body.romathemeone-debug-breakpoints .breakpoint-markers,
body.romathemeone-debug-breakpoints .current-width-marker {
	display: block !important;
}

.has-breakpoint-markers > .breakpoint-markers {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 0;
	pointer-events: none;
	z-index: 30;
}

.has-breakpoint-markers > .breakpoint-markers .breakpoint-dot {
	position: absolute;
	top: 0;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #ff3b30;
	transform: translate(-50%, -40%);
}

.has-breakpoint-markers > .breakpoint-markers .breakpoint-dot::after {
	content: attr(data-bp);
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 10px;
	line-height: 1;
	letter-spacing: 0.06em;
	color: #ff3b30;
	white-space: nowrap;
}

.has-breakpoint-markers > .breakpoint-markers .breakpoint-dot.bp-499 {
	left: 499px;
}

.has-breakpoint-markers > .breakpoint-markers .breakpoint-dot.bp-560 {
	left: 560px;
}

.has-breakpoint-markers > .breakpoint-markers .breakpoint-dot.bp-570 {
	left: 570px;
}

.has-breakpoint-markers > .breakpoint-markers .breakpoint-dot.bp-760 {
	left: 760px;
}

.has-breakpoint-markers > .breakpoint-markers .breakpoint-dot.bp-980 {
	left: 980px;
}

.has-breakpoint-markers > .breakpoint-markers .breakpoint-dot.bp-1100 {
	left: 1100px;
}

.site-header {
	position: fixed;
	top: var(--admin-bar-offset);
	left: 0;
	right: 0;
	z-index: 50;
	border-bottom: 0;
	background: transparent;
	backdrop-filter: none;
	--header-blur-progress: 0;
	transform: translate3d(0, 0, 0);
	transition: transform 0.56s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.56s ease;
	will-change: transform;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(246, 246, 246, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: var(--header-blur-progress);
	transition: opacity 0.56s cubic-bezier(0.25, 0.1, 0.25, 1);
	pointer-events: none;
}

body.header-visible .site-header {
	transform: translate3d(0, 0, 0);
	pointer-events: auto;
}

body.header-hidden .site-header {
	transform: translate3d(0, calc(-100% - 8px), 0);
	pointer-events: none;
}

.header-shell {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 5px;
	--header-hero-padding-extra: 13px;
	min-height: calc(55px + (var(--header-hero-padding-extra) * (1 - var(--header-blur-progress))));
	padding-top: calc(5px + (var(--header-hero-padding-extra) * (1 - var(--header-blur-progress))));
	padding-bottom: 5px;
	container-type: inline-size;
	transition: min-height 0.56s cubic-bezier(0.25, 0.1, 0.25, 1), padding-top 0.56s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.header-identity {
	display: grid;
	gap: 5px;
	width: max-content;
	max-width: 100%;
	justify-items: center;
}

.site-mark {
	display: inline-flex;
	align-items: center;
	font-family: "Inter", "Segoe UI", sans-serif;
	font-size: 21px;
	font-size: clamp(21px, calc(17px + 1.5cqi), 34px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	color: var(--header-hero-ink);
}

.site-nav {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-evenly;
	gap: 8px;
	width: 100%;
	align-self: auto;
	overflow: visible;
	background: transparent;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 0;
	min-width: 0;
	height: auto;
	border: 0;
	background: transparent;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--header-hero-ink);
	transition: color 0.21s ease;
}

.nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.21s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
	background: transparent;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
	transform: scaleX(1);
}

.nav-link.is-active {
	color: var(--header-hero-ink);
	background: transparent;
}

.language-switcher {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--header-hero-ink);
}

.language-switcher--desktop {
	position: absolute;
	top: calc(50% + ((var(--header-hero-padding-extra, 0px) * (1 - var(--header-blur-progress))) / 2));
	right: 0;
	transform: translateY(-50%);
}

.language-switcher__link {
	position: relative;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.52;
	transition: opacity 0.21s ease;
}

.language-switcher__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -5px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.21s ease;
}

.language-switcher__link:hover,
.language-switcher__link:focus-visible,
.language-switcher__link.is-active {
	opacity: 1;
}

.language-switcher__link.is-active::after {
	transform: scaleX(1);
}

.site-main {
	display: grid;
	gap: 0;
	padding-block: calc(var(--admin-bar-offset) + var(--header-offset) + 34px) 55px;
}

.site-main.page-home {
	padding-bottom: 0;
}

.site-main.page-about {
	padding-bottom: 0;
}

.site-main > * {
	min-width: 0;
}

.page-home > section:nth-of-type(odd) {
	background: #ececec;
}

.page-home > section:nth-of-type(even) {
	background: #ffffff;
}

.page-home > section.shell,
.page-home > section:not(.hero-fold) .shell {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.split,
.contact-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
}

.frame {
	padding: 21px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	min-width: 0;
}

.kicker {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	margin: 0 0 13px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: var(--radius-sm);
	background: var(--accent-1);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-4);
}

.display-title {
	--display-title-min: 34px;
	--display-title-fluid: calc(18px + 6.2cqi);
	--display-title-max: 70px;
	--display-title-line-height: 0.97;
	--display-title-letter-spacing: -0.02em;
	--display-title-transform: none;
	--display-title-color: var(--header-hero-ink);
	margin: 0;
	font-family: "Inter", "Segoe UI", sans-serif;
	font-size: clamp(var(--display-title-min), var(--display-title-fluid), var(--display-title-max));
	font-weight: 700;
	line-height: var(--display-title-line-height);
	letter-spacing: var(--display-title-letter-spacing);
	text-transform: var(--display-title-transform);
	color: var(--display-title-color);
}

.display-title-small {
	--display-title-min: 34px;
	--display-title-fluid: calc(24px + 2.8cqi);
	--display-title-max: 55px;
}

.lead {
	margin: 13px 0 21px;
	max-width: 55ch;
	color: var(--ink-4);
}

.page-contact {
	background: var(--paper-0);
	padding-bottom: 0;
}

.contact-page {
	display: grid;
	gap: 56px;
	width: min(calc(100% - 34px), 960px);
	padding: 64px 0 72px;
}

.contact-page__intro {
	display: grid;
	gap: 18px;
	max-width: 760px;
}

.contact-page .kicker {
	width: fit-content;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink-3);
}

.contact-page__title {
	margin: 0;
	max-width: 12ch;
	font-family: "Inter", "Segoe UI", sans-serif;
	font-size: clamp(46px, calc(28px + 4.2cqi), 72px);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: 0;
	color: var(--ink-6);
	text-wrap: balance;
}

.contact-page__lead {
	margin: 0;
	max-width: 62ch;
	font-size: clamp(18px, calc(15px + 0.5cqi), 21px);
	line-height: 1.52;
	letter-spacing: 0;
	color: var(--ink-4);
	text-wrap: pretty;
}

.contact-page__actions {
	display: grid;
	gap: 0;
	max-width: 860px;
	margin: 0;
	padding: 42px 0 0;
	border-top: 1px solid rgba(15, 15, 15, 0.14);
}

.contact-page__action {
	display: grid;
	grid-template-columns: minmax(170px, 0.32fr) minmax(0, 1fr);
	gap: 56px;
	padding: 42px 0;
	border-bottom: 1px solid rgba(15, 15, 15, 0.1);
}

.contact-page__action:first-child {
	padding-top: 0;
}

.contact-page__action:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.contact-page__action-head,
.contact-page__action-body {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.contact-page__action-body {
	gap: 22px;
}

.contact-page__step-title {
	margin: 0;
	font-family: "Inter", "Segoe UI", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink-6);
}

.contact-page__action-copy {
	margin: 0;
	max-width: 28ch;
	font-size: 15px;
	line-height: 1.55;
	letter-spacing: 0;
	color: var(--ink-4);
	text-wrap: pretty;
}

.contact-page__email {
	width: fit-content;
	max-width: 100%;
	font-size: clamp(24px, calc(19px + 1.1cqi), 34px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0;
	color: var(--ink-6);
	overflow-wrap: anywhere;
}

.contact-page__email:hover,
.contact-page__email:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.contact-page__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 54px;
	padding: 0 26px;
	border: 1px solid rgba(15, 15, 15, 0.72);
	background: var(--ink-6);
	color: var(--paper-0);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background-color 0.21s ease, color 0.21s ease;
}

.contact-page__button:hover,
.contact-page__button:focus-visible {
	background: transparent;
	color: var(--ink-6);
}

.contact-page__checklist {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-page__checklist li {
	position: relative;
	padding-left: 18px;
	font-size: 16px;
	line-height: 1.48;
	letter-spacing: 0;
	color: var(--ink-4);
}

.contact-page__checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ink-5);
}

.page-about {
	background: var(--paper-0);
}

.about-article {
	display: grid;
	gap: 48px;
	width: min(calc(100% - 34px), 1080px);
	padding-bottom: 34px;
}

.about-article__hero {
	display: grid;
	gap: 18px;
	max-width: 850px;
	padding: 38px 0 34px;
	border-bottom: 1px solid rgba(15, 15, 15, 0.12);
}

.about-article__kicker {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.about-article__title {
	margin: 0;
	max-width: 13ch;
	font-family: "Inter", "Segoe UI", sans-serif;
	font-size: clamp(42px, calc(29px + 4.6cqi), 78px);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: 0;
	color: var(--ink-6);
	text-wrap: balance;
}

.about-article__lead {
	margin: 0;
	max-width: 68ch;
	font-size: clamp(18px, calc(15px + 0.55cqi), 22px);
	font-weight: 400;
	line-height: 1.48;
	letter-spacing: 0;
	color: var(--ink-4);
	text-wrap: pretty;
}

.about-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
	gap: 64px;
	align-items: start;
}

.about-article__body {
	display: grid;
	gap: 42px;
	max-width: 720px;
}

.about-article__section {
	display: grid;
	gap: 18px;
}

.about-article__section h2,
.about-article__aside-title {
	margin: 0;
	font-family: "Inter", "Segoe UI", sans-serif;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: var(--ink-6);
}

.about-article__section h2 {
	font-size: clamp(26px, calc(20px + 1.8cqi), 40px);
	line-height: 1.04;
}

.about-article__section p {
	margin: 0;
	font-size: 18px;
	line-height: 1.68;
	letter-spacing: 0;
	color: var(--ink-4);
	text-wrap: pretty;
}

.about-article__aside {
	position: sticky;
	top: calc(var(--admin-bar-offset) + var(--header-offset) + 28px);
	display: grid;
	gap: 34px;
	padding-left: 24px;
	border-left: 1px solid rgba(15, 15, 15, 0.12);
}

.about-article__aside-section {
	display: grid;
	gap: 14px;
}

.about-article__aside-title {
	font-size: 15px;
	line-height: 1.1;
	letter-spacing: 0;
}

.about-fact-list {
	display: grid;
	gap: 16px;
	margin: 0;
}

.about-fact-list div {
	display: grid;
	gap: 5px;
	padding-top: 14px;
	border-top: 1px solid rgba(15, 15, 15, 0.1);
}

.about-fact-list dt {
	margin: 0;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.about-fact-list dd {
	margin: 0;
	font-size: 14px;
	line-height: 1.38;
	letter-spacing: 0;
	color: var(--ink-5);
}

.about-source-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-source-list a {
	display: inline;
	font-size: 13px;
	line-height: 1.32;
	letter-spacing: 0;
	color: var(--ink-4);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.about-source-list a:hover,
.about-source-list a:focus-visible {
	color: var(--ink-6);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 13px;
	border: 1px solid var(--accent-3);
	border-radius: var(--radius-sm);
	background: var(--accent-2);
	color: var(--ink-5);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background-color 0.21s ease, color 0.21s ease;
}

.btn:hover,
.btn:focus-visible {
	background: var(--accent-3);
}

.btn-ghost {
	background: transparent;
	color: var(--ink-5);
	border-color: rgba(0, 0, 0, 0.28);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
	background: var(--accent-1);
}

.placeholder {
	position: relative;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 21px;
	background: rgba(234, 234, 234, 0.38);
}

.placeholder-tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-4);
}

.placeholder-portrait {
	aspect-ratio: 21 / 34;
	min-height: 377px;
}

.placeholder-card {
	aspect-ratio: 13 / 8;
	min-height: 144px;
	margin-top: 13px;
}

.placeholder-wide {
	aspect-ratio: 34 / 21;
	min-height: 233px;
}

h2,
.display-heading,
.card-title,
.section-title {
	margin: 0;
	font-family: "Inter", "Segoe UI", sans-serif;
	font-weight: 900;
	font-size: clamp(21px, calc(14px + 2.8cqi), 56px);
	line-height: 0.96;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--ink-5);
}

.card-copy,
.section-copy {
	margin: 13px 0 0;
	color: var(--ink-4);
}

.section-head {
	display: grid;
	gap: 8px;
	margin-bottom: 13px;
}

.process-list,
.contact-points,
.timeline-list,
.mini-list {
	margin: 13px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.process-list li,
.contact-points li,
.timeline-list li,
.mini-list li {
	padding: 8px 13px;
	background: transparent;
	color: var(--ink-4);
}

.timeline-list li {
	position: relative;
	padding-left: 34px;
}

.timeline-list li::before {
	content: "";
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ink-4);
}

.stat-list {
	list-style: none;
	margin: 21px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.stat-list li {
	display: grid;
	gap: 5px;
	padding: 13px;
}

.stat-list strong {
	font-family: "Inter", "Segoe UI", sans-serif;
	font-size: 21px;
	font-size: clamp(21px, calc(18px + 1.4cqi), 34px);
	font-weight: 800;
	line-height: 1;
	color: var(--ink-5);
}

.stat-list span {
	font-size: 12px;
	color: var(--ink-4);
}

.wire-form {
	display: grid;
	gap: 13px;
}

.field {
	display: grid;
	gap: 5px;
}

.field-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-4);
}

.field input,
.field textarea {
	width: 100%;
	padding: 8px 13px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: var(--radius-sm);
	background: rgba(232, 232, 232, 0.52);
	color: var(--ink-6);
	font: inherit;
}

.field textarea {
	min-height: 144px;
	resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--ink-2);
}

.signal-bars {
	display: grid;
	gap: 8px;
	margin-top: 21px;
}

.signal-bars span {
	display: block;
	height: 8px;
	border-radius: var(--radius-sm);
	background: rgba(0, 0, 0, 0.24);
}

.reveal-on-scroll {
	opacity: 1;
	transform: none;
}

.site-footer {
	position: relative;
	border-top: 0;
	background: #0b0b0b;
	color: #f6f6f6;
}

.site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: min(calc(100% - 68px), 1144px);
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
	transform: translateX(-50%);
	pointer-events: none;
}

.footer-shell {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 0;
	padding-top: 34px;
	padding-bottom: 34px;
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 34px 21px;
	padding-bottom: 18px;
}

.footer-brand {
	display: grid;
	gap: 5px;
}

.footer-social-wrap {
	justify-self: end;
	align-self: end;
}

.footer-title,
.footer-note {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.84);
}

.footer-note {
	font-weight: 400;
	color: rgba(255, 255, 255, 0.58);
}

.footer-links {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 13px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.footer-social {
	display: grid;
	gap: 8px;
	justify-items: end;
	text-align: right;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.footer-social a,
.footer-links a,
.footer-link-inert {
	color: rgba(255, 255, 255, 0.78);
	transition: color 0.21s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
	color: rgba(255, 255, 255, 1);
}

.footer-social span,
.footer-links span {
	color: rgba(255, 255, 255, 0.36);
}

.footer-links .footer-link-inert {
	color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 13px 21px;
	margin-top: 0;
	padding-top: 21px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-right {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 13px;
}

.footer-legal {
	margin: 0;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.42);
	white-space: nowrap;
}

@media (max-width: 980px) {
	:root {
		--header-offset: 55px;
	}

	.split,
	.contact-layout,
	.stat-list {
		grid-template-columns: 1fr;
	}

	.about-article__layout {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.about-article__aside {
		position: static;
		padding-left: 0;
		padding-top: 28px;
		border-left: 0;
		border-top: 1px solid rgba(15, 15, 15, 0.12);
	}

	.about-fact-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.placeholder-portrait,
	.placeholder-wide {
		aspect-ratio: 34 / 21;
		min-height: 233px;
	}
}

@media (max-width: 760px) {
	.shell {
		width: min(calc(100% - 21px), 1144px);
	}

	.site-main {
		padding-block: calc(var(--admin-bar-offset) + var(--header-offset) + 21px) 34px;
		gap: 0;
	}

	.site-main.page-home {
		padding-bottom: 0;
	}

	.site-main.page-about {
		padding-bottom: 0;
	}

	.contact-page {
		width: min(calc(100% - 21px), 960px);
		gap: 42px;
		padding: 36px 0 48px;
	}

	.contact-page__intro {
		gap: 15px;
	}

	.contact-page__title {
		font-size: clamp(40px, calc(30px + 3cqi), 54px);
		line-height: 1;
	}

	.contact-page__lead {
		font-size: 16px;
		line-height: 1.58;
	}

	.contact-page__actions {
		padding-top: 34px;
	}

	.contact-page__action {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 34px 0;
	}

	.contact-page__action-copy {
		max-width: none;
	}

	.contact-page__action-head,
	.contact-page__action-body {
		gap: 18px;
	}

	.contact-page__button {
		width: 100%;
	}

	.contact-page__email {
		font-size: clamp(20px, calc(17px + 1cqi), 24px);
	}

	.about-article {
		width: min(calc(100% - 21px), 1080px);
		gap: 34px;
	}

	.about-article__hero {
		gap: 15px;
		padding: 24px 0 28px;
	}

	.about-article__title {
		font-size: clamp(36px, calc(28px + 3.4cqi), 52px);
		line-height: 0.98;
	}

	.about-article__lead,
	.about-article__section p {
		font-size: 16px;
		line-height: 1.58;
	}

	.about-article__body {
		gap: 34px;
	}

	.about-article__section {
		gap: 14px;
	}

	.about-fact-list {
		grid-template-columns: 1fr;
	}

	.frame {
		padding: 13px;
	}

	.hero-actions {
		width: 100%;
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}

	.stat-list {
		grid-template-columns: 1fr;
	}

	.footer-shell {
		min-height: 0;
		padding-top: 21px;
		padding-bottom: 21px;
	}

	.site-footer::before {
		width: min(calc(100% - 21px), 1144px);
	}

	.footer-top {
		grid-template-columns: 1fr;
		gap: 21px;
	}

	.footer-social-wrap {
		justify-self: start;
		align-self: start;
	}

	.footer-social {
		justify-items: start;
		text-align: left;
	}

	.footer-bottom {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 13px;
	}

	.footer-right {
		order: 1;
		justify-content: flex-start;
	}

	.footer-legal {
		order: 2;
		white-space: normal;
	}
}

.admin-bar {
	--admin-bar-offset: 32px;
}

@media (max-width: 782px) {
	.admin-bar {
		--admin-bar-offset: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header {
		transition: none;
	}

	.site-header::before {
		transition: none;
	}

	.header-shell {
		transition: none;
	}
}
