/* FRP Mocoat – SystemO components (SRTM-2028). Fonts inherit the site's Lexend. */

:root {
	--so-green: #019337;
	--so-green-dark: #017a2e;
	--so-navy: #1f4586;
	--so-navy-dark: #183a72;
	--so-text: #333;
	--so-muted: #6b7280;
	--so-line: #e3e6ea;
	--so-card: #f6f7f8;
	--so-radius: 8px;
}

.so-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.so-icon { width: 16px; height: 16px; flex: 0 0 16px; }

.so-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 22px;
	border-radius: 50px;
	background: var(--so-green);
	color: #fff !important;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color .2s;
}
.so-btn:hover, .so-btn:focus-visible { background: var(--so-green-dark); }

:where(.so-showcase, .so-docs, .so-videos, .so-gallery) :focus-visible {
	outline: 2px solid var(--so-navy);
	outline-offset: 2px;
}

/* ---------- Project Showcase ---------- */
/* The slide track is 100% × N wide; inline-size containment stops it from widening
   the Elementor column it sits in. */
.so-showcase { min-width: 0; contain: inline-size; }
.so-showcase__heading {
	margin: 0 0 16px;
	color: var(--so-green);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}
.so-showcase__frame { position: relative; }
.so-showcase__viewport {
	overflow: hidden;
	border-radius: var(--so-radius);
	background: #dfe3e6;
	touch-action: pan-y;
}
.so-showcase__track {
	display: flex;
	transition: transform .5s ease;
	will-change: transform;
}
.so-slide {
	position: relative;
	flex: 0 0 100%;
	aspect-ratio: 16 / 9;
	min-height: 300px;
	overflow: hidden;
	color: #fff;
}
.so-slide__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.so-slide__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,0) 62%);
}
.so-slide__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 5px 12px;
	border-radius: 50px;
	background: var(--so-green);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.so-slide__body {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 26px;
}
.so-slide__title {
	margin: 0 0 4px;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}
.so-slide__meta {
	margin: 0 0 14px;
	color: rgba(255,255,255,.92);
	font-size: 14px;
	line-height: 1.45;
	max-width: 60ch;
}
.so-showcase__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--so-text);
	box-shadow: 0 1px 4px rgba(0,0,0,.25);
	cursor: pointer;
}
.so-showcase__arrow:hover { background: #f1f1f1; }
.so-showcase__arrow--prev { left: 12px; }
.so-showcase__arrow--next { right: 12px; }
.so-showcase__dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
}
.so-showcase__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #cfd3d8;
	cursor: pointer;
}
.so-showcase__dot[aria-current="true"] { background: var(--so-green); }

@media (max-width: 767px) {
	.so-slide { aspect-ratio: 4 / 5; min-height: 0; }
	.so-slide__body { left: 18px; right: 18px; bottom: 20px; }
	.so-slide__title { font-size: 20px; }
	.so-showcase__arrow { width: 34px; height: 34px; top: 38%; }
}

/* ---------- Design Documents ---------- */
.so-docs {
	padding: 22px 24px 18px;
	border: 1px solid var(--so-line);
	border-radius: var(--so-radius);
	background: var(--so-card);
	color: var(--so-text);
}
.so-docs__title {
	margin: 0 0 2px;
	color: var(--so-green);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}
.so-docs__subtitle {
	margin: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--so-line);
	color: var(--so-muted);
	font-size: 13px;
}
.so-docs__group { padding: 14px 0 10px; border-bottom: 1px solid var(--so-line); }
.so-docs__group:last-child { border-bottom: 0; padding-bottom: 0; }
.so-docs__group-title {
	margin: 0 0 6px;
	color: var(--so-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}
.so-docs__list { margin: 0; padding: 0; list-style: none; }
.so-docs__item { margin: 0; padding: 0; }
.so-docs__item::before { content: none; }
.so-docs__link {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 5px 0;
	color: var(--so-text);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}
.so-docs__link .so-icon { margin-top: 2px; color: var(--so-navy); }
a.so-docs__link:hover, a.so-docs__link:focus-visible { color: var(--so-green); }
a.so-docs__link:hover .so-icon { color: var(--so-green); }
.so-docs__item--soon .so-docs__link { color: var(--so-muted); cursor: default; }
.so-docs__item--soon .so-icon { color: var(--so-muted); }
.so-docs__soon {
	margin-left: 4px;
	padding: 1px 7px;
	border-radius: 50px;
	background: #e9ecef;
	font-size: 11px;
	font-style: normal;
	white-space: nowrap;
}

/* Collapsed panel (mobile placement) */
.so-docs--collapsible { padding: 0; }
.so-docs__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
}
.so-docs__summary::-webkit-details-marker { display: none; }
.so-docs__summary .so-docs__title { margin: 0; font-size: 20px; }
.so-docs__summary .so-icon { color: var(--so-green); transform: rotate(90deg); transition: transform .2s; }
.so-docs--collapsible[open] .so-docs__summary .so-icon { transform: rotate(-90deg); }
.so-docs__body { padding: 0 20px 16px; }

/* ---------- Side links (classes for Elementor buttons/containers, optional) ---------- */
.so-side-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-radius: var(--so-radius);
	color: #fff !important;
	text-decoration: none !important;
}
.so-side-link--navy { background: var(--so-navy); }
.so-side-link--green { background: var(--so-green); }

/* ---------- Video Gallery ---------- */
.so-videos {
	padding: 26px 28px 28px;
	border-radius: var(--so-radius);
	background: var(--so-navy);
	color: #fff;
}
.so-videos__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}
.so-videos__player {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	background: #000;
}
.so-videos__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.so-videos__poster,
.so-videos__thumb {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
}
.so-videos__poster { position: absolute; inset: 0; display: block; }
.so-videos__poster img,
.so-videos__thumb-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.so-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 68px;
	height: 48px;
	transform: translate(-50%, -50%);
	opacity: .92;
	transition: opacity .2s;
}
.so-videos__poster:hover .so-play,
.so-videos__thumb:hover .so-play { opacity: 1; }
.so-videos__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}
.so-videos__row li { margin: 0; padding: 0; }
.so-videos__row li::before { content: none; }
.so-videos__thumb { display: block; width: 100%; }
.so-videos__thumb-img {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	outline: 2px solid transparent;
	outline-offset: 2px;
}
.so-videos__thumb .so-play { width: 44px; height: 31px; }
.so-videos__thumb.is-active .so-videos__thumb-img { outline-color: #fff; }
.so-videos__thumb:focus-visible .so-videos__thumb-img { outline-color: #fff; }
.so-videos__caption {
	display: block;
	margin-top: 8px;
	color: rgba(255,255,255,.88);
	font-size: 13px;
	line-height: 1.35;
}
@media (max-width: 767px) {
	.so-videos { padding: 20px 16px; }
	.so-videos__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Project Gallery ---------- */
.so-gallery {
	display: grid;
	grid-template-columns: repeat(var(--so-cols, 4), minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.so-tile {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--so-line);
	border-radius: var(--so-radius);
	background: #fff;
}
.so-tile::before { content: none; }
.so-tile__media { display: block; aspect-ratio: 16 / 10; background: #e9ecef; }
.so-tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.so-tile__placeholder { display: block; width: 100%; height: 100%; }
.so-tile__body { display: flex; flex: 1; flex-direction: column; padding: 16px 16px 18px; }
.so-tile__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.so-tile__title a { color: var(--so-green); text-decoration: none; }
.so-tile__title a:hover { text-decoration: underline; }
.so-tile__text { margin: 0 0 14px; color: var(--so-text); font-size: 14px; line-height: 1.5; }
.so-tile__more {
	margin-top: auto;
	color: var(--so-navy);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.so-tile__more:hover { text-decoration: underline; }
.so-gallery__empty { color: var(--so-muted); }
@media (max-width: 1024px) { .so-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .so-gallery { grid-template-columns: 1fr; } }

/* ---------- Visually hidden H1 (add class so-sr to the Elementor Heading widget) ---------- */
.elementor-widget.so-sr { position: absolute !important; }

@media (prefers-reduced-motion: reduce) {
	.so-showcase__track, .so-docs__summary .so-icon { transition: none; }
}
