@font-face {
	font-family: "Gilroy";
	src: url("../fonts/Gilroy/Gilroy-Regular_0.ttf") format("truetype");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Gilroy";
	src: url("../fonts/Gilroy/Gilroy-Medium_0.ttf") format("truetype");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "Gilroy";
	src: url("../fonts/Gilroy/Gilroy-Semibold_0.ttf") format("truetype");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "Gilroy";
	src: url("../fonts/Gilroy/Gilroy-Bold_0.ttf") format("truetype");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	--accent: #e04b4b;
	--accent-dark: #bf3838;
	--accent-soft: #fff0ee;
	--ink: #202225;
	--ink-soft: #4d5157;
	--muted: #777c83;
	--paper: #fff;
	--warm: #f7f5f1;
	--warm-2: #eeebe5;
	--line: #e6e2dc;
	--line-dark: #d8d2cb;
	--dark: #202224;
	--content: 1240px;
	--reading: 760px;
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow: 0 20px 60px rgba(41, 35, 29, 0.09);
	--font: "Gilroy", "Arial", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
}

body.is-menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--accent-dark);
}

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

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid rgba(224, 75, 75, 0.38);
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	z-index: 1000;
	top: -200px;
	left: 16px;
	padding: 10px 16px;
	background: var(--ink);
	border-radius: 8px;
	color: #fff;
	text-decoration: none;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
}

.icon {
	display: inline-block;
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	vertical-align: -0.12em;
}

.site-header {
	position: sticky;
	z-index: 50;
	top: 0;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(230, 226, 220, 0.9);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.site-header__inner,
.site-main,
.site-footer__inner,
.site-footer__bottom {
	width: min(100% - 48px, var(--content));
	margin-inline: auto;
}

.site-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(190px, 1fr) auto auto;
	align-items: center;
	gap: 18px;
	min-height: 68px;
}

.site-branding {
	display: flex;
	height: 100%;
	align-items: center;
}

.site-branding,
.brand-text {
	min-width: 0;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
}

.site-header .brand-link {
	transform: translateY(1px);
}

.brand-link:hover {
	color: var(--ink);
}

.brand-logo {
	width: 44px;
	height: 34px;
	object-fit: contain;
}

.custom-logo {
	width: auto;
	max-width: 236px;
	max-height: 48px;
	object-fit: contain;
}

.site-title,
.footer-title {
	display: block;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.015em;
}

.site-description,
.footer-brand .brand-text > span:last-child {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.1;
}

.primary-menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu li {
	position: relative;
}

.primary-menu a {
	display: inline-flex;
	align-items: center;
	padding: 10px 8px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.primary-menu > li > a::after {
	position: absolute;
	right: 10px;
	bottom: 2px;
	left: 10px;
	height: 2px;
	background: var(--accent);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.primary-menu > li > a:hover::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.primary-menu .sub-menu {
	position: absolute;
	z-index: 30;
	top: calc(100% + 16px);
	left: -14px;
	display: none;
	width: 270px;
	margin: 0;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow);
	list-style: none;
}

.primary-menu .sub-menu::before {
	position: absolute;
	top: -18px;
	right: 0;
	left: 0;
	height: 20px;
	content: "";
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu,
.primary-menu .is-submenu-open > .sub-menu {
	display: block;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--ink-soft);
	line-height: 1.3;
	white-space: normal;
}

.primary-menu .sub-menu a:hover {
	background: var(--accent-soft);
	color: var(--accent-dark);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.header-join {
	padding: 10px 16px;
	background: var(--accent);
	border-radius: 999px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background 160ms ease, transform 160ms ease;
}

.header-join:hover {
	background: var(--accent-dark);
	color: #fff;
	transform: translateY(-1px);
}

.icon-button,
.menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ink);
	cursor: pointer;
}

.icon-button:hover,
.menu-toggle:hover {
	background: var(--warm);
}

.search-toggle .icon {
	transform: translateY(-1px);
	vertical-align: 0;
}

.menu-toggle {
	display: none;
}

.header-search {
	position: absolute;
	z-index: 35;
	top: calc(100% + 22px);
	right: 0;
	width: min(420px, calc(100vw - 48px));
	padding: 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow);
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid var(--line-dark);
	border-radius: 10px;
	color: var(--ink);
}

.search-submit {
	padding: 0 18px;
	background: var(--accent);
	border: 0;
	border-radius: 10px;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.site-main {
	padding-bottom: 96px;
}

.home-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
	align-items: center;
	gap: 70px;
	min-height: 610px;
	padding: 62px 0 54px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.11em;
	line-height: 1.2;
	text-transform: uppercase;
}

.eyebrow > span {
	width: 28px;
	height: 2px;
	background: currentColor;
}

.eyebrow--light {
	color: #f4aaaa;
}

.home-hero h1 {
	max-width: 600px;
	margin: 0;
	font-size: clamp(48px, 5.1vw, 72px);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.97;
}

.home-hero__lead {
	max-width: 560px;
	margin: 24px 0 0;
	color: var(--ink-soft);
	font-size: 19px;
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 22px;
	background: var(--accent);
	border: 1px solid var(--accent);
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button-link:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	color: #fff;
	transform: translateY(-2px);
}

.button-link .icon,
.text-link .icon,
.story-link .icon,
.project-card em .icon {
	transition: transform 160ms ease;
}

.button-link:hover .icon,
.text-link:hover .icon,
.story-link:hover .icon,
.project-card:hover em .icon {
	transform: translateX(4px);
}

.button-link--ghost {
	background: #fff;
	border-color: var(--line-dark);
	color: var(--ink);
}

.button-link--ghost:hover {
	background: var(--warm);
	border-color: var(--line-dark);
	color: var(--ink);
}

.button-link--light {
	flex: 0 0 auto;
	background: #fff;
	border-color: #fff;
	color: var(--ink);
}

.button-link--light:hover {
	background: var(--warm);
	border-color: var(--warm);
	color: var(--ink);
}

.home-hero__visual {
	position: relative;
	min-height: 510px;
}

.home-hero__visual > img {
	width: 100%;
	height: 510px;
	border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 110px;
	object-fit: cover;
	filter: saturate(0.82) contrast(1.03);
}

.home-hero__visual::before {
	position: absolute;
	z-index: -1;
	top: -26px;
	right: -12px;
	width: 150px;
	height: 150px;
	background: repeating-linear-gradient(135deg, transparent 0 7px, rgba(224, 75, 75, 0.2) 7px 9px);
	border-radius: 50%;
	content: "";
}

.home-hero__caption {
	position: absolute;
	right: 28px;
	bottom: 28px;
	display: flex;
	align-items: center;
	gap: 13px;
	max-width: 310px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 14px;
	box-shadow: 0 14px 38px rgba(26, 24, 22, 0.16);
	backdrop-filter: blur(12px);
}

.home-hero__caption-icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 40px;
	height: 40px;
	background: var(--accent-soft);
	border-radius: 50%;
	color: var(--accent);
}

.home-hero__caption p {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.3;
}

.home-hero__caption strong {
	display: block;
	margin-bottom: 3px;
	color: var(--ink);
	font-size: 14px;
}

.mission-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.mission-strip a {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	min-height: 92px;
	padding: 20px 28px;
	color: var(--ink);
	text-decoration: none;
}

.mission-strip a + a {
	border-left: 1px solid var(--line);
}

.mission-strip a:hover {
	background: var(--accent-soft);
	color: var(--accent-dark);
}

.mission-strip__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: var(--accent-soft);
	border-radius: 12px;
	color: var(--accent);
	font-size: 20px;
	transition: background 160ms ease, color 160ms ease;
}

.mission-strip__icon .icon {
	width: 20px;
	height: 20px;
}

.mission-strip a:hover .mission-strip__icon {
	background: var(--accent);
	color: #fff;
}

.mission-strip strong {
	font-size: 15px;
	line-height: 1.25;
}

.home-section {
	padding: 110px 0 0;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 36px;
	margin-bottom: 42px;
}

.section-head h2,
.results-band h2,
.about-grid h2,
.join-banner h2 {
	margin: 0;
	font-size: clamp(38px, 4.1vw, 58px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
}

.section-head__lead {
	max-width: 620px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 16px;
}

.text-link,
.story-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.text-link {
	padding-bottom: 5px;
	border-bottom: 2px solid var(--accent);
}

.text-link:hover,
.story-link:hover {
	color: var(--accent-dark);
}

.news-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(390px, 0.7fr);
	gap: 46px;
}

.lead-story {
	overflow: hidden;
	background: var(--warm);
	border-radius: var(--radius-lg);
}

.lead-story__media {
	position: relative;
	display: block;
	overflow: hidden;
	height: 390px;
}

.lead-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.lead-story:hover .lead-story__media img {
	transform: scale(1.025);
}

.lead-story__tag {
	position: absolute;
	top: 20px;
	left: 20px;
	padding: 8px 12px;
	background: var(--accent);
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.lead-story__body {
	padding: 30px 34px 34px;
}

.lead-story time,
.news-row time,
.entry-meta {
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.lead-story h3 {
	margin: 11px 0 12px;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.13;
}

.lead-story h3 a,
.news-row h3 a,
.post-card h2 a {
	color: inherit;
	text-decoration: none;
}

.lead-story p {
	margin: 0 0 20px;
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.5;
}

.news-stack {
	display: flex;
	flex-direction: column;
}

.news-row {
	display: grid;
	grid-template-columns: 148px 1fr;
	align-items: start;
	gap: 22px;
	padding: 21px 0;
	border-bottom: 1px solid var(--line);
}

.news-row:first-child {
	padding-top: 0;
}

.news-row__media {
	display: block;
	overflow: hidden;
	height: 112px;
	border-radius: 12px;
}

.news-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 320ms ease;
}

.news-row:hover .news-row__media img {
	transform: scale(1.05);
}

.news-row h3 {
	margin: 6px 0 12px;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.22;
}

.story-link {
	color: var(--accent-dark);
	font-size: 12px;
}

.results-band {
	position: relative;
	display: grid;
	grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
	gap: 70px;
	margin: 110px calc((100vw - min(100vw - 48px, var(--content))) / -2) 0;
	padding: 82px max(24px, calc((100vw - var(--content)) / 2));
	overflow: hidden;
	background: var(--dark);
	color: #fff;
}

.results-band::after {
	position: absolute;
	right: -110px;
	bottom: -160px;
	width: 420px;
	height: 420px;
	border: 80px solid rgba(224, 75, 75, 0.12);
	border-radius: 50%;
	content: "";
}

.results-band__intro {
	position: relative;
	z-index: 1;
}

.results-band__intro p:last-child {
	max-width: 450px;
	margin: 22px 0 0;
	color: #b8b9ba;
	font-size: 15px;
}

.results-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.results-grid div {
	min-height: 154px;
	padding: 6px 32px 26px;
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.results-grid div:nth-child(n + 3) {
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.results-grid strong {
	display: block;
	color: #fff;
	font-size: clamp(46px, 4.8vw, 68px);
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 1;
}

.results-grid span {
	display: block;
	margin-top: 10px;
	color: #b8b9ba;
	font-size: 14px;
	line-height: 1.3;
}

.projects-slider {
	position: relative;
}

.projects-slider__controls {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin: -10px 0 18px;
}

.slider-button {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	padding: 0;
	background: #fff;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
	color: var(--ink);
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.slider-button:hover:not(:disabled) {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.slider-button:disabled {
	opacity: 0.34;
	cursor: default;
}

.slider-button .icon {
	width: 18px;
	height: 18px;
}

.slider-button--prev .icon {
	transform: rotate(180deg);
}

.projects-slider__track {
	display: grid;
	grid-auto-columns: calc((100% - 36px) / 3);
	grid-auto-flow: column;
	gap: 18px;
	padding: 4px 2px 28px;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-padding-inline: 2px;
	scroll-snap-type: inline mandatory;
	scrollbar-color: var(--line-dark) transparent;
	scrollbar-width: thin;
}

.projects-slider__track:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 5px;
}

.project-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	background: var(--warm);
	border: 1px solid transparent;
	border-radius: var(--radius);
	color: var(--ink);
	scroll-snap-align: start;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card:hover {
	border-color: var(--line-dark);
	box-shadow: 0 18px 42px rgba(44, 38, 31, 0.09);
	color: var(--ink);
	transform: translateY(-5px);
}

.project-card__media {
	display: block;
	overflow: hidden;
	height: 215px;
	background: var(--warm-2);
}

.project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.project-card:hover .project-card__media img {
	transform: scale(1.04);
}

.project-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.project-card small {
	color: var(--accent-dark);
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.project-card strong {
	margin-top: 10px;
	font-size: 23px;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.project-card__body > span {
	margin-top: 12px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
}

.project-card em {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 22px;
	color: var(--ink);
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
}

.partners-section {
	padding-top: 108px;
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.partner-card {
	position: relative;
	display: flex;
	min-height: 225px;
	flex-direction: column;
	align-items: flex-start;
	padding: 26px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.partner-card:hover {
	border-color: var(--line-dark);
	box-shadow: 0 18px 42px rgba(44, 38, 31, 0.08);
	color: var(--ink);
	transform: translateY(-4px);
}

.partner-card__logo {
	display: grid;
	width: 100%;
	height: 82px;
	place-items: center start;
	margin-bottom: 24px;
}

.partner-card__logo img {
	width: auto;
	max-width: 100%;
	max-height: 72px;
	object-fit: contain;
	object-position: left center;
}

.partner-card strong {
	max-width: 240px;
	padding-right: 28px;
	font-size: 15px;
	line-height: 1.35;
}

.partner-card__arrow {
	position: absolute;
	right: 22px;
	bottom: 24px;
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	background: var(--accent-soft);
	border-radius: 50%;
	color: var(--accent-dark);
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.partner-card__arrow .icon {
	width: 15px;
	height: 15px;
}

.partner-card:hover .partner-card__arrow {
	background: var(--accent);
	color: #fff;
	transform: translateX(2px);
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(480px, 0.9fr);
	gap: 100px;
	margin-top: 120px;
	padding: 82px;
	background: var(--warm);
	border-radius: var(--radius-lg);
}

.about-grid__copy > p:not(.eyebrow) {
	max-width: 660px;
	margin: 22px 0 0;
	color: var(--ink-soft);
	font-size: 16px;
}

.about-grid__copy .text-link {
	margin-top: 28px;
}

.about-grid__directions {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-content: center;
	gap: 14px;
}

.about-grid__directions > div {
	display: flex;
	flex-direction: column;
	min-height: 190px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
}

.about-grid__directions > div > span {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	background: var(--accent-soft);
	border-radius: 50%;
	color: var(--accent);
	font-size: 20px;
}

.about-grid__directions p {
	margin: auto 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.35;
}

.about-grid__directions strong {
	display: block;
	margin-bottom: 4px;
	color: var(--ink);
	font-size: 17px;
	line-height: 1.15;
}

.join-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
	margin-top: 32px;
	padding: 58px 66px;
	background: var(--accent);
	border-radius: var(--radius-lg);
	color: #fff;
}

.join-banner > div {
	max-width: 780px;
}

.join-banner h2 {
	font-size: clamp(36px, 3.6vw, 52px);
}

.join-banner p:last-child {
	margin: 17px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
}

.map-section {
	display: grid;
	grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
	align-items: center;
	gap: clamp(42px, 6vw, 86px);
	margin-top: 120px;
	padding: clamp(42px, 5.5vw, 76px);
	background: var(--warm);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.map-section__intro h2 {
	margin: 0;
	font-size: clamp(38px, 4vw, 56px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
}

.map-section__intro > p:not(.eyebrow) {
	max-width: 520px;
	margin: 22px 0 0;
	color: var(--ink-soft);
	font-size: 16px;
}

.map-section__intro .text-link {
	margin-top: 28px;
}

.map-section__canvas {
	min-width: 0;
	padding: clamp(18px, 3vw, 34px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: 0 18px 50px rgba(41, 35, 29, 0.08);
}

.map-section__canvas .ru_mosHtml5MapContainer,
.map-section__canvas .fm-map-container,
.map-section__canvas svg {
	max-width: 100%;
}

/* Interactive map tooltips */

.map-section__canvas .fm-tooltip {
	z-index: 20 !important;
	min-width: 250px !important;
	max-width: min(330px, calc(100vw - 48px)) !important;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(32, 34, 37, 0.12);
	border-radius: 15px;
	box-shadow: 0 18px 48px rgba(32, 34, 37, 0.2);
	color: var(--ink);
	font-family: var(--font);
}

.map-section__canvas .fm-tooltip-name {
	min-height: 48px;
	padding: 15px 48px 14px 17px !important;
	background: var(--accent);
	border-radius: 14px 14px 0 0;
	color: #fff !important;
	font-family: var(--font) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
	line-height: 1.25 !important;
	text-shadow: none !important;
}

.map-section__canvas table.fm-tooltip-frame {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0 0 14px 14px !important;
	border-collapse: separate !important;
	box-shadow: none !important;
	font-family: var(--font) !important;
	opacity: 1 !important;
}

.map-section__canvas table.fm-tooltip-frame td {
	padding: 0 !important;
	background: #fff !important;
	border: 0 !important;
}

.map-section__canvas table.fm-tooltip-frame td.fm-tooltip-comment {
	position: static !important;
	padding: 16px 17px 17px !important;
	color: var(--ink-soft) !important;
	font-family: var(--font) !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
}

.map-section__canvas .fm-tooltip-comment > span {
	display: grid;
	gap: 5px;
}

.map-section__canvas .fm-tooltip-comment p {
	margin: 0 !important;
	overflow-wrap: anywhere;
}

.map-section__canvas .fm-tooltip-comment p:first-child {
	margin-bottom: 4px !important;
	color: var(--ink) !important;
	font-size: 14px;
	font-weight: 700;
}

.map-section__canvas .fm-tooltip-comment p:last-child {
	color: var(--accent-dark);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.map-section__canvas .fm-tooltip-x {
	position: absolute !important;
	z-index: 4;
	top: 10px !important;
	right: 10px !important;
	display: grid !important;
	float: none !important;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.16);
	border: 0 !important;
	border-radius: 50%;
	opacity: 0.88;
	transition: background 160ms ease, opacity 160ms ease;
}

.map-section__canvas .fm-tooltip-x:hover {
	background: rgba(255, 255, 255, 0.26);
	opacity: 1;
}

.map-section__canvas .fm-tooltip-x img {
	width: 13px !important;
	height: 13px !important;
	filter: brightness(0) invert(1);
}

.map-section__fallback {
	display: grid;
	place-items: center;
	min-height: 360px;
	padding: 36px;
	color: var(--muted);
	text-align: center;
}

.map-section__fallback .icon {
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	color: var(--accent);
}

.map-section__fallback p {
	max-width: 420px;
	margin: 0;
}

/* Shared inner-page components */

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 28px 0 0;
	color: var(--muted);
	font-size: 12px;
}

.breadcrumbs a {
	text-decoration: none;
}

.archive-header,
.page-header,
.entry-header {
	max-width: 920px;
	margin: 72px 0 42px;
}

.archive-header h1,
.page-header h1,
.entry-header h1,
.search-title {
	margin: 0;
	font-size: clamp(40px, 5vw, 68px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
}

.archive-description {
	max-width: var(--reading);
	margin-top: 20px;
	color: var(--muted);
}

.category-nav {
	display: grid;
	gap: 14px;
	margin-bottom: 36px;
	padding: 22px;
	background: var(--warm);
	border-radius: 16px;
}

.category-nav__group p {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.category-nav__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.category-nav__links a {
	padding: 8px 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.category-nav__links a:hover,
.category-nav__links .is-active {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.post-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	background: var(--warm);
	border-radius: var(--radius);
}

.post-card__media {
	position: relative;
	display: block;
	height: 230px;
	overflow: hidden;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 320ms ease;
}

.medyany-image-placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: flex-end;
	padding: 22px;
	background:
		linear-gradient(135deg, rgba(224, 75, 75, 0.92), rgba(111, 31, 31, 0.92)),
		url("../images/poiskmo-mark.svg") center / 108px auto no-repeat;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-card:hover .post-card__media img {
	transform: scale(1.035);
}

.post-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--warm-2), var(--accent-soft));
}

.post-card__category {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 7px 10px;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	color: var(--accent-dark);
	font-size: 11px;
	font-weight: 700;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.post-card h2 {
	margin: 11px 0 12px;
	font-size: 23px;
	letter-spacing: -0.02em;
	line-height: 1.13;
}

.post-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

.post-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 20px;
	color: var(--accent-dark);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.entry-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
}

.entry-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.entry-meta .icon {
	transform: translateY(-1px);
	vertical-align: 0;
}

.entry-layout,
.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 64px;
	align-items: start;
	padding-top: 22px;
}

.single-article {
	min-width: 0;
}

.single-header {
	max-width: 930px;
	margin: 48px 0 38px;
}

.single-header h1 {
	margin: 14px 0 0;
	font-size: clamp(42px, 5.3vw, 72px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
}

.single-header .lead {
	max-width: var(--reading);
	margin: 22px 0 0;
	color: var(--muted);
	font-size: 19px;
}

.single-cover {
	max-width: 930px;
	margin: 0 0 38px;
}

.single-cover img {
	width: 100%;
	border-radius: var(--radius);
}

.post-sidebar {
	position: sticky;
	top: 94px;
	max-height: calc(100vh - 112px);
	padding-right: 4px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-color: var(--line-dark) transparent;
	scrollbar-width: thin;
}

.post-sidebar::-webkit-scrollbar {
	width: 5px;
}

.post-sidebar::-webkit-scrollbar-thumb {
	background: var(--line-dark);
	border-radius: 999px;
}

.entry-content,
.page-content {
	max-width: var(--reading);
}

.page-article .single-header,
.page-article .entry-content {
	max-width: none;
}

.entry-content > *,
.page-content > * {
	max-width: 100%;
}

.entry-content p,
.page-content p,
.entry-content li,
.page-content li {
	color: #35383c;
}

.entry-content h2,
.page-content h2 {
	margin: 2.2em 0 0.65em;
	font-size: 34px;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.entry-content h3,
.page-content h3 {
	margin: 1.9em 0 0.55em;
	font-size: 26px;
	line-height: 1.15;
}

.entry-content img,
.page-content img,
.post-thumbnail img {
	border-radius: 16px;
}

.post-thumbnail {
	margin-bottom: 36px;
}

.sidebar-widget {
	margin-bottom: 14px;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
}

.sidebar-widget__title {
	margin: 0 0 14px;
	font-size: 18px;
	letter-spacing: -0.012em;
	line-height: 1.2;
}

.sidebar-widget > p {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
}

.sidebar-widget--accent {
	position: relative;
	overflow: hidden;
	padding: 26px;
	background: linear-gradient(145deg, var(--accent), #c93e3e);
	border-color: transparent;
	color: #fff;
}

.sidebar-widget--accent::after {
	position: absolute;
	right: -52px;
	bottom: -72px;
	width: 150px;
	height: 150px;
	border: 30px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.sidebar-widget--accent .sidebar-widget__title,
.sidebar-widget--accent p {
	color: rgba(255, 255, 255, 0.86);
}

.sidebar-widget--accent .sidebar-widget__title {
	color: #fff;
}

.sidebar-widget__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	background: rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	font-size: 20px;
}

.sidebar-widget__link {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.sidebar-widget__link:hover {
	color: #fff;
}

.sidebar-search .search-form {
	gap: 6px;
}

.sidebar-search .search-field {
	height: 42px;
	font-size: 13px;
}

.sidebar-search .search-submit {
	padding: 0 13px;
	font-size: 12px;
}

.sidebar-section-links,
.sidebar-posts {
	display: grid;
	gap: 0;
}

.sidebar-section-links a {
	display: grid;
	grid-template-columns: 34px 1fr auto;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.sidebar-section-links a:last-child {
	border-bottom: 0;
}

.sidebar-section-links a > span {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	background: var(--accent-soft);
	border-radius: 9px;
	color: var(--accent);
	font-size: 16px;
}

.sidebar-section-links a > .icon {
	width: 15px;
	color: var(--muted);
}

.sidebar-section-links a:hover > .icon {
	color: var(--accent);
	transform: translateX(2px);
}

.sidebar-widget__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.sidebar-widget__head .sidebar-widget__title {
	margin: 0;
}

.sidebar-widget__head > a {
	color: var(--accent-dark);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.sidebar-posts > a {
	display: grid;
	grid-template-columns: 68px 1fr;
	align-items: center;
	gap: 13px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
}

.sidebar-posts > a:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.sidebar-posts__media,
.sidebar-posts__placeholder {
	display: block;
	width: 68px;
	height: 58px;
	overflow: hidden;
	border-radius: 10px;
}

.sidebar-posts__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.sidebar-posts > a:hover img {
	transform: scale(1.05);
}

.sidebar-posts__placeholder {
	display: grid;
	place-items: center;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 20px;
}

.sidebar-posts__copy {
	min-width: 0;
}

.sidebar-posts__copy strong {
	display: -webkit-box;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sidebar-posts__copy small {
	display: block;
	margin-top: 5px;
	color: var(--muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.sidebar-custom-widgets {
	margin-top: 14px;
}

.post-toc {
	max-width: var(--reading);
	margin: 0 0 30px;
	padding: 18px 20px;
	background: var(--warm);
	border-radius: 12px;
}

.post-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
	cursor: pointer;
}

.post-toc ol {
	margin: 16px 0 0;
}

.post-toc a {
	color: var(--ink-soft);
}

.single-footer {
	max-width: var(--reading);
	margin-top: 52px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	display: flex;
	min-width: 0;
}

.post-navigation a {
	display: flex;
	width: 100%;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
	padding: 18px;
	background: var(--warm);
	border: 1px solid transparent;
	border-radius: 12px;
	color: var(--ink);
	text-decoration: none;
	transition: border-color 180ms ease, background-color 180ms ease;
}

.post-navigation a:hover {
	background: #fff;
	border-color: var(--line-dark);
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.post-navigation .nav-direction {
	color: var(--accent-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.post-navigation .post-title {
	font-size: 14px;
	font-weight: 650;
	line-height: 1.35;
}

.related-posts {
	max-width: 930px;
	margin-top: 68px;
}

.related-posts__head h2 {
	margin: 0 0 26px;
	font-size: 34px;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.related-card {
	overflow: hidden;
	background: var(--warm);
	border-radius: 14px;
	color: var(--ink);
	text-decoration: none;
}

.related-card__media {
	display: block;
	height: 135px;
}

.related-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-card__body {
	display: flex;
	min-height: 150px;
	flex-direction: column;
	padding: 18px;
}

.related-card__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.related-card__footer {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
	color: var(--muted);
	font-size: 11px;
}

.related-card__more {
	color: var(--accent-dark);
	font-weight: 700;
}

.sidebar-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar-widget li + li {
	margin-top: 10px;
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 42px;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 11px;
	border: 1px solid var(--line);
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.page-numbers.prev,
.page-numbers.next {
	display: inline-flex;
	width: auto;
	padding-inline: 16px;
}

.page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.comments-area {
	max-width: var(--reading);
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid var(--line);
}

.comment-list {
	padding-left: 22px;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--line-dark);
	border-radius: 10px;
}

.comment-form .submit {
	padding: 12px 20px;
	background: var(--accent);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
}

.site-footer {
	background: var(--dark);
	color: #fff;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(320px, 1.4fr) 0.7fr 0.9fr;
	gap: 90px;
	padding-top: 68px;
	padding-bottom: 58px;
}

.site-footer .brand-link {
	color: #fff;
}

.site-footer .brand-logo {
	filter: none;
}

.footer-brand > p {
	max-width: 450px;
	margin: 22px 0;
	color: #aeb0b3;
	font-size: 14px;
}

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

.footer-column h2 {
	margin: 0 0 8px;
	color: #878a8e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-column a {
	color: #e5e5e5;
	font-size: 14px;
	text-decoration: none;
}

.footer-column a:hover {
	color: #fff;
}

.footer-contacts p {
	margin: 0 0 3px;
	color: #bfc1c3;
	font-size: 14px;
	line-height: 1.45;
}

.footer-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.footer-social-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	text-decoration: none;
}

.footer-social-links a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.footer-social-links a > span {
	line-height: 1;
	transform: translateY(1px);
}

.footer-social-links a[href*="vk.com"] .icon {
	transform: scale(1.16);
	transform-origin: center;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	padding-top: 22px;
	padding-bottom: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #8e9194;
	font-size: 12px;
}

.site-footer__bottom p {
    margin: 0;
}

.footer-credits {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
}

.footer-developer {
    color: #c4c6c8;
    text-decoration: none;
}

.footer-developer:hover {
    color: #fff;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 1180px) {
	.site-header {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto auto;
		min-height: 66px;
	}

	.menu-toggle {
		display: inline-grid;
		grid-column: 3;
		grid-row: 1;
	}

	.header-actions {
		grid-column: 2;
		grid-row: 1;
	}

	.header-join {
		display: none;
	}

	.primary-nav {
		position: fixed;
		z-index: 40;
		top: 66px;
		right: 0;
		bottom: auto;
		display: none;
		width: min(460px, 100%);
		height: calc(100vh - 66px);
		height: calc(100dvh - 66px);
		padding: 22px 28px max(40px, calc(24px + env(safe-area-inset-bottom)));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		background: #fff;
		border-left: 1px solid var(--line);
		box-shadow: -20px 30px 50px rgba(25, 23, 20, 0.12);
	}

	.is-menu-open .primary-nav {
		display: block;
	}

	.primary-menu {
		display: block;
	}

	.primary-menu a {
		display: flex;
		justify-content: space-between;
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
		font-size: 16px;
		line-height: 1.25;
		white-space: normal;
	}

	.primary-menu > li > a::after {
		position: static;
		display: inline-block;
		width: 8px;
		height: 8px;
		margin-left: 14px;
		background: transparent;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		content: "";
		transform: rotate(45deg);
		transition: transform 160ms ease;
	}

	.primary-menu > li:not(.menu-item-has-children) > a::after {
		display: none;
	}

	.primary-menu > .is-submenu-open > a::after {
		transform: rotate(225deg);
	}

	.primary-menu .sub-menu {
		position: static;
		display: none;
		width: auto;
		padding: 4px 0 10px 18px;
		border: 0;
		box-shadow: none;
	}

	.primary-menu .is-submenu-open > .sub-menu {
		display: block;
	}

	.primary-menu .sub-menu a {
		padding: 10px 0;
		font-size: 14px;
	}

	.header-search {
		position: static;
		width: 100%;
		margin-bottom: 12px;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.home-hero {
		grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
		gap: 42px;
	}

	.home-hero__visual > img {
		height: 470px;
	}

	.news-layout {
		gap: 30px;
	}

	.projects-slider__track {
		grid-auto-columns: calc((100% - 18px) / 2);
	}

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

	.about-grid {
		grid-template-columns: 1fr;
		gap: 52px;
		padding: 62px;
	}
}

@media (max-width: 900px) {
	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto auto;
		min-height: 66px;
	}

	.menu-toggle {
		display: inline-grid;
		grid-column: 3;
		grid-row: 1;
	}

	.header-actions {
		grid-column: 2;
		grid-row: 1;
	}

	.primary-nav {
		position: fixed;
		z-index: 40;
		top: 66px;
		right: 0;
		bottom: auto;
		display: none;
		width: min(420px, 100%);
		height: calc(100vh - 66px);
		height: calc(100dvh - 66px);
		padding: 20px 24px max(36px, calc(22px + env(safe-area-inset-bottom)));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		background: #fff;
		border-left: 1px solid var(--line);
		box-shadow: -20px 30px 50px rgba(25, 23, 20, 0.12);
	}

	.is-menu-open .primary-nav {
		display: block;
	}

	.primary-menu {
		display: block;
	}

	.primary-menu a {
		display: flex;
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
		font-size: 16px;
	}

	.primary-menu > li > a::after {
		display: inline-block;
	}

	.primary-menu > li:not(.menu-item-has-children) > a::after {
		display: none;
	}

	.primary-menu .sub-menu {
		position: static;
		display: none;
		width: auto;
		padding: 0 0 8px 18px;
		border: 0;
		box-shadow: none;
	}

	.primary-menu .is-submenu-open > .sub-menu {
		display: block;
	}

	.primary-menu .sub-menu a {
		padding: 10px 0;
		font-size: 14px;
	}

	.header-search {
		position: static;
		width: 100%;
		margin-bottom: 12px;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.home-hero {
		grid-template-columns: 1fr;
		padding-top: 58px;
	}

	.home-hero__visual {
		min-height: 460px;
	}

	.home-hero__visual > img {
		height: 460px;
	}

	.home-hero__copy {
		max-width: 760px;
	}

	.mission-strip {
		grid-template-columns: 1fr;
	}

	.mission-strip a + a {
		border-top: 1px solid var(--line);
		border-left: 0;
	}

	.news-layout {
		grid-template-columns: 1fr;
	}

	.results-band {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.about-grid {
		margin-top: 90px;
	}

	.join-banner {
		align-items: flex-start;
		flex-direction: column;
	}

	.map-section {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.entry-layout,
	.single-layout {
		grid-template-columns: 1fr;
	}

	.post-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
		max-height: none;
		padding-right: 0;
		overflow: visible;
	}

	.post-sidebar .sidebar-widget {
		margin-bottom: 0;
	}

	.sidebar-custom-widgets {
		display: contents;
	}

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

	.related-posts__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.site-footer__inner {
		grid-template-columns: 1.5fr 1fr;
		gap: 50px;
	}
}

@media (max-width: 620px) {
	.site-header__inner,
	.site-main,
	.site-footer__inner,
	.site-footer__bottom {
		width: min(100% - 32px, var(--content));
	}

	body {
		font-size: 16px;
	}

	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px;
		min-height: 62px;
	}

	.brand-logo {
		width: 40px;
		height: 32px;
	}

	.custom-logo {
		max-width: 160px;
		max-height: 38px;
	}

	.site-title {
		font-size: 15px;
	}

	.site-description {
		font-size: 10px;
	}

	.header-actions {
		display: none;
	}

	.menu-toggle {
		grid-column: 2;
	}

	.primary-nav {
		top: 62px;
		width: 100%;
		height: calc(100vh - 62px);
		height: calc(100dvh - 62px);
	}

	.home-hero {
		gap: 38px;
		padding: 44px 0;
	}

	.home-hero h1 {
		font-size: 46px;
	}

	.home-hero__lead {
		font-size: 17px;
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.button-link {
		width: 100%;
	}

	.home-hero__visual,
	.home-hero__visual > img {
		min-height: 380px;
		height: 380px;
	}

	.home-hero__visual > img {
		border-radius: 22px 22px 22px 70px;
	}

	.home-hero__caption {
		right: 14px;
		bottom: 14px;
		left: 52px;
	}

	.mission-strip a {
		min-height: 78px;
		padding: 18px 4px;
	}

	.home-section {
		padding-top: 78px;
	}

	.section-head {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 28px;
	}

	.section-head h2,
	.results-band h2,
	.about-grid h2,
	.join-banner h2 {
		font-size: 38px;
	}

	.lead-story__media {
		height: 270px;
	}

	.lead-story__body {
		padding: 24px;
	}

	.lead-story h3 {
		font-size: 25px;
	}

	.news-row {
		grid-template-columns: 108px 1fr;
		gap: 16px;
	}

	.news-row__media {
		height: 92px;
	}

	.news-row h3 {
		font-size: 16px;
	}

	.results-band {
		margin-top: 80px;
		margin-right: -16px;
		margin-left: -16px;
		padding: 62px 20px;
	}

	.results-grid div {
		min-height: 120px;
		padding: 4px 16px 20px;
	}

	.results-grid div:nth-child(n + 3) {
		padding-top: 22px;
	}

	.results-grid strong {
		font-size: 41px;
	}

	.about-grid__directions,
	.post-grid,
	.related-posts__grid {
		grid-template-columns: 1fr;
	}

	.projects-slider__controls {
		justify-content: flex-start;
		margin-top: 0;
	}

	.projects-slider__track {
		grid-auto-columns: min(86vw, 430px);
		margin-right: -16px;
		padding-right: 16px;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		grid-column: 1;
		text-align: left;
	}

	.post-sidebar {
		grid-template-columns: 1fr;
	}

	.project-card {
		display: grid;
		grid-template-columns: 118px 1fr;
	}

	.project-card__media {
		height: 100%;
		min-height: 230px;
	}

	.project-card__body {
		padding: 20px;
	}

	.project-card strong {
		font-size: 20px;
	}

	.partners-section {
		padding-top: 78px;
	}

	.partners-grid {
		grid-template-columns: 1fr;
	}

	.partner-card {
		min-height: 190px;
	}

	.about-grid {
		gap: 40px;
		margin-right: -16px;
		margin-left: -16px;
		padding: 52px 20px;
		border-radius: 0;
	}

	.map-section {
		margin-top: 80px;
		margin-right: -16px;
		margin-left: -16px;
		padding: 48px 20px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.map-section__intro h2 {
		font-size: 38px;
	}

	.map-section__canvas {
		padding: 12px;
		border-radius: 16px;
	}

	.map-section__canvas .fm-tooltip {
		min-width: 230px !important;
		max-width: min(300px, calc(100vw - 36px)) !important;
	}

	.join-banner {
		margin-right: -16px;
		margin-left: -16px;
		padding: 44px 20px;
		border-radius: 0;
	}

	.archive-header,
	.page-header,
	.entry-header {
		margin-top: 52px;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
