.oapc {
	--oapc-navy: #12284a;
	--oapc-navy-deep: #071d3b;
	--oapc-green: #287758;
	--oapc-green-bright: #52c997;
	--oapc-green-pale: #edf8f2;
	--oapc-ink: #0b2345;
	--oapc-muted: #789193;
	--oapc-paper: #ffffff;
	--oapc-cream: #f8f6f0;
	--oapc-border: #dce7e2;
	position: relative;
	width: 100%;
	color: var(--oapc-ink);
	font-family: inherit;
}

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

.oapc__controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin: 0 2px 28px;
}

.oapc__arrow {
	display: inline-grid;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--oapc-navy);
	color: #fff;
	cursor: pointer;
	transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.oapc__arrow svg,
.oapc-modal__close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.oapc__arrow:hover:not(:disabled),
.oapc__arrow:focus-visible:not(:disabled) {
	background: var(--oapc-green);
	transform: translateY(-2px);
}

.oapc__arrow:disabled {
	background: #e9f1ee;
	color: #9eb6b2;
	cursor: default;
}

.oapc__track {
	display: flex;
	gap: 20px;
	margin: -4px;
	padding: 4px 4px 22px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
}

.oapc__track::-webkit-scrollbar {
	display: none;
}

.oapc-card {
	position: relative;
	flex: 0 0 clamp(270px, 27vw, 320px);
	min-width: 0;
	overflow: hidden;
	scroll-snap-align: start;
	border: 1px solid var(--oapc-border);
	border-radius: 17px;
	background: var(--oapc-paper);
	box-shadow: 0 3px 9px rgba(10, 40, 54, 0.07);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.oapc-card:hover,
.oapc-card:focus-within {
	border-color: #9bcdb8;
	box-shadow: 0 12px 28px rgba(10, 40, 54, 0.13);
	transform: translateY(-4px);
}

.oapc-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9.7;
	background: linear-gradient(140deg, #dcece3, #b8d8c7);
}

.oapc-card__media::after {
	position: absolute;
	inset: 55% 0 0;
	content: "";
	background: linear-gradient(transparent, rgba(2, 21, 34, 0.18));
	pointer-events: none;
}

.oapc-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.oapc-card:hover .oapc-card__media img,
.oapc-card:focus-within .oapc-card__media img {
	transform: scale(1.035);
}

.oapc-card__badge,
.oapc-project__badge {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	border: 1px solid rgba(40, 119, 88, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--oapc-green);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}

.oapc-card__badge {
	position: absolute;
	z-index: 1;
	top: 14px;
	left: 14px;
	padding: 8px 12px;
}

.oapc-card__content {
	display: flex;
	min-height: 148px;
	padding: 18px 17px 16px;
	flex-direction: column;
}

.oapc-card__title {
	margin: 0 0 10px;
	color: var(--oapc-navy-deep);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.18;
}

.oapc-card__location,
.oapc-card__trees {
	display: flex;
	align-items: center;
	gap: 5px;
}

.oapc-card__location {
	margin: 0 0 10px;
	color: var(--oapc-muted);
	font-size: 12px;
	line-height: 1.35;
}

.oapc-card__location svg,
.oapc-project__heading p svg {
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.oapc-card__type {
	margin: 0 0 13px;
	color: #34a66f;
	font-size: 12px;
	line-height: 1.35;
}

.oapc-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	color: #86a29e;
	font-size: 12px;
}

.oapc-card__trees svg {
	width: 14px;
	height: 14px;
	fill: #6dc699;
	stroke: #6dc699;
}

.oapc-card__view {
	color: #789792;
	font-weight: 650;
	white-space: nowrap;
}

.oapc-card__view span {
	display: inline-block;
	margin-left: 4px;
	transition: transform 180ms ease;
}

.oapc-card:hover .oapc-card__view span {
	transform: translateX(3px);
}

.oapc-card__hit {
	position: absolute;
	z-index: 3;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: inherit;
	background: transparent;
	cursor: pointer;
}

.oapc-card__hit:focus-visible {
	outline: 3px solid var(--oapc-green-bright);
	outline-offset: -4px;
}

.oapc__dots {
	display: flex;
	min-height: 9px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 3px;
}

.oapc__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #cfe9de;
	cursor: pointer;
	transition: width 180ms ease, background-color 180ms ease;
}

.oapc__dot[aria-current="true"] {
	width: 24px;
	background: var(--oapc-green);
}

.oapc-modal[hidden] {
	display: none;
}

.oapc-modal {
	--oapc-navy: #12284a;
	--oapc-navy-deep: #071d3b;
	--oapc-green: #287758;
	--oapc-green-bright: #52c997;
	--oapc-green-pale: #edf8f2;
	--oapc-ink: #0b2345;
	--oapc-muted: #789193;
	--oapc-paper: #ffffff;
	--oapc-cream: #f8f6f0;
	--oapc-border: #dce7e2;
	position: fixed;
	z-index: 2147483647;
	inset: 0;
	display: grid;
	padding: 34px 16px;
	place-items: center;
	isolation: isolate;
	color: var(--oapc-ink);
	font-family: inherit;
	transform: none !important;
	filter: none !important;
	perspective: none !important;
	contain: none !important;
}

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

.oapc-modal__backdrop {
	position: absolute;
	z-index: 0;
	inset: 0;
	background: rgba(7, 25, 55, 0.58);
	backdrop-filter: blur(7px);
}

.oapc-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(760px, 100%);
	max-height: min(90vh, 880px);
	overflow: auto;
	border-radius: 18px;
	background: var(--oapc-paper);
	box-shadow: 0 30px 80px rgba(4, 18, 39, 0.3);
	overscroll-behavior: contain;
	animation: oapc-modal-in 220ms ease both;
}

.oapc-modal__close {
	position: absolute;
	z-index: 5;
	top: 17px;
	right: 17px;
	display: grid;
	width: 38px;
	height: 38px;
	padding: 0;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(13, 32, 64, 0.82);
	color: #fff;
	cursor: pointer;
	transition: background-color 180ms ease, transform 180ms ease;
}

.oapc-modal__close:hover,
.oapc-modal__close:focus-visible {
	background: var(--oapc-green);
	transform: rotate(4deg);
}

body.oapc-modal-open {
	overflow: hidden;
}

.oapc-project__hero {
	position: relative;
	min-height: 275px;
	overflow: hidden;
	background: linear-gradient(135deg, #204d46, var(--oapc-navy-deep));
}

.oapc-project__hero > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oapc-project__hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(4, 19, 39, 0.04) 20%, rgba(4, 19, 39, 0.88) 100%);
}

.oapc-project__heading {
	position: absolute;
	z-index: 1;
	right: 27px;
	bottom: 23px;
	left: 27px;
	color: #fff;
}

.oapc-project__badge {
	margin-bottom: 11px;
	padding: 8px 12px;
}

.oapc-project__heading h2 {
	margin: 0;
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(25px, 4.2vw, 34px);
	font-weight: 700;
	line-height: 1.08;
	text-wrap: balance;
}

.oapc-project__heading p {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 9px 0 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 13px;
}

.oapc-project__body {
	padding: 30px 28px 32px;
}

.oapc-project__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
	margin-bottom: 29px;
}

.oapc-project__stat {
	display: flex;
	min-height: 88px;
	padding: 17px 16px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border: 1px solid #e8ebe8;
	border-radius: 14px;
	background: var(--oapc-cream);
	text-align: center;
}

.oapc-project__stat span,
.oapc-project__section > h3,
.oapc-project__objective > h3 {
	color: #8ba8a3;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.055em;
	line-height: 1.3;
	text-transform: uppercase;
}

.oapc-project__stat strong {
	margin-top: 7px;
	color: var(--oapc-navy);
	font-size: 14px;
	line-height: 1.35;
}

.oapc-project__section {
	margin-top: 24px;
}

.oapc-project__section > h3,
.oapc-project__objective > h3 {
	margin: 0 0 11px;
	color: #54b68b;
}

.oapc-project__species {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.oapc-project__species > span {
	display: inline-flex;
	padding: 8px 13px;
	align-items: center;
	gap: 6px;
	border: 1px solid #b9ddca;
	border-radius: 999px;
	background: var(--oapc-green-pale);
	color: #2f7559;
	font-size: 13px;
	line-height: 1.2;
}

.oapc-project__species svg {
	width: 14px;
	height: 14px;
	fill: #7fcf39;
	stroke: none;
}

.oapc-project__wysiwyg {
	color: #516a82;
	font-size: 14px;
	line-height: 1.65;
}

.oapc-project__wysiwyg > :first-child {
	margin-top: 0;
}

.oapc-project__wysiwyg > :last-child {
	margin-bottom: 0;
}

.oapc-project__objective {
	margin-top: 22px;
	padding: 19px 20px;
	border: 1px solid #acd8be;
	border-radius: 14px;
	background: #eff8f1;
}

.oapc-project__objective > h3 {
	color: #2f7559;
}

@keyframes oapc-modal-in {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 767px) {
	.oapc__controls {
		margin-bottom: 18px;
	}

	.oapc__arrow {
		width: 40px;
		height: 40px;
	}

	.oapc-card {
		flex-basis: min(86vw, 310px);
	}

	.oapc-modal {
		padding: 12px;
	}

	.oapc-modal__dialog {
		max-height: 94vh;
		border-radius: 15px;
	}

	.oapc-project__hero {
		min-height: 235px;
	}

	.oapc-project__heading {
		right: 20px;
		bottom: 19px;
		left: 20px;
	}

	.oapc-project__heading h2 {
		padding-right: 8px;
		font-size: 25px;
	}

	.oapc-project__body {
		padding: 22px 18px 25px;
	}

	.oapc-project__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 25px;
	}

	.oapc-project__stats .oapc-project__stat:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 390px) {
	.oapc-project__stats {
		grid-template-columns: 1fr;
	}

	.oapc-project__stats .oapc-project__stat:last-child:nth-child(odd) {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oapc__track {
		scroll-behavior: auto;
	}

	.oapc-card,
	.oapc-card__media img,
	.oapc__arrow,
	.oapc-modal__dialog {
		animation: none;
		transition: none;
	}
}
