/*
 * Ormond theme styles.
 *
 * Desktop values are taken from Figma "Homepage V01" (PcGkpPDimPXeYZbjEv97rD,
 * 7890:85) at 1440px. About and Services reuse the same tokens. Below 1440px
 * the 80px side gutter scales down; layouts stack under 1100px / 768px.
 */

/* ------------------------------------------------------------------ tokens */
:root {
	--navy: #0b0d26;
	--ink: #0a0c25;
	--orange: #ff5c00;
	--plum: #281a39;
	--page: #f0f0f2;            /* white + rgba(10,12,37,.06), the Figma frame fill */
	--line: rgba(11, 13, 38, 0.1);
	--muted: rgba(10, 12, 37, 0.8);
	--white-10: rgba(255, 255, 255, 0.1);
	--radius: 16px;
	--gutter: clamp(16px, 5.556vw, 80px);
	--container: 1280px;
	--section-gap: 100px;
	--header-h: 101px;
	--grad-btn: linear-gradient(110deg, #ff5c00 5.08%, rgba(255, 92, 0, 0.5) 85.1%), #fff;
	--grad-peach: linear-gradient(129.07deg, rgba(255, 92, 0, 0.24) 4.79%, rgba(255, 92, 0, 0.12) 96.07%), #fff;
	--pattern: url(../img/bg_pattern.webp);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 140px; }

body {
	margin: 0;
	background: var(--page);
	color: var(--navy);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: normal;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
button { font: inherit; }

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

.ss-skip {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	padding: 12px 20px; border-radius: 51px;
	background: var(--navy); color: #fff;
}
.ss-skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.ss-container {
	width: min(var(--container), 100% - 2 * var(--gutter));
	margin-inline: auto;
}

.ss-section { margin-top: var(--section-gap); }

/* ------------------------------------------------------------------ type */
.ss-h1 { font-size: 40px; font-weight: 700; line-height: normal; text-wrap: balance; }
.ss-h2 { font-size: 36px; font-weight: 700; line-height: normal; }
.ss-h3 { font-size: 24px; font-weight: 700; line-height: normal; }

/* ------------------------------------------------------------------ buttons */
.ss-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 32px;
	border-radius: 51px;
	border: 1px solid var(--white-10);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.ss-btn--primary {
	background: var(--grad-btn);
	color: var(--navy);         /* navy, not Figma's white: white was hard to read on the light end */
	filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.1));
}
.ss-btn--primary:hover { filter: brightness(1.06) drop-shadow(0 4px 8px rgba(255, 92, 0, 0.25)); }

.ss-btn--call {
	background: #fff;
	border-color: rgba(40, 26, 57, 0.2);
	color: var(--plum);
}
.ss-btn--call:hover { box-shadow: 0 4px 12px rgba(11, 13, 38, 0.12); }
.ss-btn__icon { width: 16px; height: 16px; flex: none; }

.ss-btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ------------------------------------------------------------------ badges */
.ss-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	border: 1px solid var(--white-10);
	border-radius: 16px;
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
	white-space: nowrap;
}
.ss-badge__icon {
	width: 24px; height: 24px; flex: none;
	background: currentColor;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.ss-badge--light {
	padding: 6px 8px;
	color: var(--navy);
	background: linear-gradient(90deg, rgba(11, 13, 38, 0.24) 0%, rgba(11, 13, 38, 0) 100%), #fff;
}
.ss-badge--dark {
	padding: 4px 8px;
	color: #fff;
	background: linear-gradient(90deg, rgba(255, 92, 0, 0.24), rgba(11, 13, 38, 0.24));
}

/* ------------------------------------------------------------------ section heads */
.ss-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 40px;
}
.ss-head__title {
	display: flex;
	flex-direction: column;
	gap: 13px;
	max-width: 669px;
}
.ss-head--split { align-items: flex-end; }
.ss-head__text { max-width: 470px; }

/* ------------------------------------------------------------------ navy bands */
.ss-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--navy);
	color: #fff;
}
.ss-band__pattern {
	position: absolute; inset: 0; z-index: -3;
	background: var(--pattern) center / contain no-repeat;
	pointer-events: none;
}
.ss-band--flat .ss-band__pattern { opacity: 0.24; }

.ss-glow {
	position: absolute; z-index: -1;
	width: 544px; height: 544px;
	border-radius: 50%;
	background: var(--orange);
	opacity: 0.1;
	filter: blur(50px);
	pointer-events: none;
}
.ss-glow--a { left: -168px; top: -124px; }
.ss-glow--b { right: -144px; top: 423px; }

/* ------------------------------------------------------------------ header */
.ss-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(var(--container), 100% - 2 * var(--gutter));
	margin: 24px auto calc(-1 * (var(--header-h) + 24px));
	padding: 24px;
	border-radius: 120px;
	background: linear-gradient(137.45deg, rgba(255, 92, 0, 0.14) 5.08%, rgba(255, 92, 0, 0.2) 85.1%), #fff;
	filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.1));
}
.admin-bar .ss-header { top: 32px; }

.ss-header__logo { flex: none; }
.ss-header__logo img { width: 235px; height: 42px; object-fit: contain; }

.ss-nav { display: flex; gap: 57px; align-items: center; }
.ss-nav a {
	position: relative;
	color: #000;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}
.ss-nav a:hover,
.ss-nav .current-menu-item > a { color: var(--orange); }

.ss-header__actions { display: flex; gap: 16px; align-items: center; }

.ss-header__toggle {
	display: none;
	width: 48px; height: 48px;
	align-items: center; justify-content: center;
	border: 1px solid rgba(40, 26, 57, 0.2);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}
.ss-header__toggle-close { display: none; }
.ss-header.is-open .ss-header__toggle-open { display: none; }
.ss-header.is-open .ss-header__toggle-close { display: block; }

.ss-mobile-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0; right: 0;
	padding: 24px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(11, 13, 38, 0.18);
}
.ss-mobile-menu[hidden] { display: none; }
.ss-mobile-menu__nav a {
	display: block;
	padding: 14px 4px;
	border-bottom: 1px solid var(--line);
	font-size: 18px;
	font-weight: 500;
}
.ss-mobile-menu__nav .current-menu-item > a { color: var(--orange); }
.ss-mobile-menu__actions { display: grid; gap: 12px; margin-top: 20px; }

/* ------------------------------------------------------------------ home hero */
.ss-home-hero {
	padding: 175px 0 108px;
	border-radius: 0 0 var(--radius) var(--radius);
}
/* Figma layers: navy fill, pattern (contain), the gradient, then the glows. */
.ss-home-hero::after,
.ss-page-hero::after {
	content: "";
	position: absolute; inset: 0; z-index: -2;
	background: linear-gradient(63.4deg, var(--navy) 12.43%, rgba(11, 13, 38, 0) 86.54%);
	pointer-events: none;
}

.ss-home-hero__media {
	height: 470px;
	border: 1px solid var(--white-10);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
}
.ss-home-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.ss-home-hero__row {
	display: flex;
	gap: 32px;
	align-items: center;
	margin-top: 50px;
}
.ss-home-hero__title {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 19px;
}
.ss-home-hero__title .ss-h1 { max-width: 747px; }
.ss-home-hero__aside {
	flex: none;
	width: 428px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* ------------------------------------------------------------------ stats */
.ss-stats-wrap { position: relative; z-index: 2; margin-top: -58px; }
.ss-stats {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	padding: 32px;
	border-radius: var(--radius);
	background: var(--grad-peach);
	filter: drop-shadow(0 4px 12px rgba(11, 13, 38, 0.04));
}
.ss-stats__item {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.ss-stats__item:first-child { flex: none; width: 142px; }
/* Client edit #21: the DCAA stat (3rd item, after two dividers) gets a narrower box. */
.ss-stats__item:nth-child(5) { flex: none; width: 160px; }
.ss-stats__item strong { font-size: 32px; font-weight: 700; }
.ss-stats__item strong.is-long { font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.ss-stats__item span { font-size: 16px; font-weight: 500; }
.ss-stats__divider {
	flex: none;
	width: 0;
	height: 111px;
	position: relative;
}
.ss-stats__divider img {
	position: absolute;
	left: 50%; top: 50%;
	width: 111px; height: 1px;
	max-width: none;
	transform: translate(-50%, -50%) rotate(90deg);
}

/* ------------------------------------------------------------------ capability cards */
.ss-capabilities__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.ss-cap-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
a.ss-cap-card__inner:hover { box-shadow: 0 12px 28px rgba(11, 13, 38, 0.1); transform: translateY(-2px); }
.ss-cap-card__num { color: var(--orange); font-weight: 700; }
.ss-cap-card__media {
	display: block;
	height: 256px;
	margin-top: 16px;
	border-radius: var(--radius);
	overflow: hidden;
	background: rgba(217, 217, 217, 0.1);
}
.ss-cap-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ss-cap-card__title { margin-top: 24px; color: var(--ink); font-size: 20px; font-weight: 700; }
.ss-cap-card__text { margin-top: 16px; color: var(--muted); }

/* ------------------------------------------------------------------ split (why / story) */
.ss-split--dark { margin-top: var(--section-gap); padding: 80px 0; }
.ss-split__inner { display: flex; align-items: center; gap: 80px; }
.ss-split--images-right .ss-split__inner { flex-direction: row-reverse; justify-content: space-between; }

.ss-split__media {
	position: relative;
	flex: none;
	width: 624px;
	aspect-ratio: 624 / 689;
}
.ss-split__img {
	position: absolute;
	width: 72.115%;             /* 450 / 624 */
	aspect-ratio: 1;
	border-radius: var(--radius);
	overflow: hidden;
	background: #d9d9d9;
}
.ss-split__img img { width: 100%; height: 100%; object-fit: cover; }
.ss-split__img--back { left: 0; top: 0; }
.ss-split__img--front { left: 27.885%; top: 34.688%; }   /* 174 / 624, 239 / 689 */

.ss-split__copy {
	flex: none;
	width: 563px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ss-split__copy .ss-btn { align-self: flex-start; margin-top: 16px; }
.ss-split--light .ss-split__copy p { color: var(--muted); }
/* Both photos cleared in the editor: the copy takes the row on its own. */
.ss-split--no-media .ss-split__copy { flex: 1 1 auto; width: auto; max-width: 820px; }

/* ------------------------------------------------------------------ industries */
.ss-industries__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 23px;
}
.ss-industry {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	height: 245px;
	padding: 48px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(180deg, rgba(11, 13, 38, 0.01), rgba(11, 13, 38, 0.1)),
		var(--pattern) center / contain no-repeat;
	text-align: center;
}
.ss-industry__icon {
	width: 60px; height: 60px;
	position: relative;
	flex: none;
}
.ss-industry__icon::before {
	content: "";
	position: absolute;
	left: 10px; top: 10px;
	width: 40px; height: 40px;
	background: var(--orange);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.ss-industry__icon--wide::before { left: 3.5px; width: 53.333px; }
.ss-industry__title {
	min-height: 38.73px;        /* two lines, as in Figma */
	font-weight: 700;
	color: var(--navy);
}

/* ------------------------------------------------------------------ featured work */
.ss-featured {
	margin-top: var(--section-gap);
	padding: 100px 0;
	background: linear-gradient(0deg, rgba(11, 13, 38, 0.24) 0%, rgba(11, 13, 38, 0) 100%), #fff;
}
.ss-featured__all { flex: 1 1 0; max-width: 244px; }
.ss-featured__viewport { position: relative; }
.ss-featured__track {
	display: flex;
	gap: 40px;
	overflow: hidden;
	border-radius: var(--radius);
}
.ss-work-card {
	position: relative;
	flex: 0 0 calc(50% - 20px);
	aspect-ratio: 620 / 490;
	border-radius: var(--radius);
	overflow: hidden;
}
.ss-work-card img { width: 100%; height: 100%; object-fit: cover; }
.ss-work-card::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(11, 13, 38, 0), var(--navy));
}
.ss-work-card__title {
	position: absolute;
	left: 32px; right: 32px; bottom: 32px;
	z-index: 1;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
}

/* Featured Work page: every photo in a grid (cards reuse .ss-work-card). */
.ss-gallery { padding: 100px 0; }
.ss-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ss-gallery__grid .ss-work-card { flex: none; }
.ss-gallery__grid .ss-work-card__title { left: 24px; right: 24px; bottom: 24px; font-size: 20px; }
@media (max-width: 960px) {
	.ss-gallery { padding: 64px 0; }
	.ss-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 640px) {
	.ss-gallery__grid { grid-template-columns: minmax(0, 1fr); }
}

.ss-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 71.75px;
	height: 66.917px;
	padding: 0;
	border: 0;
	border-radius: 33.46px;
	background: none;
	cursor: pointer;
	transform: translate(-50%, -50%);
}
.ss-arrow--prev { left: 0; }
.ss-arrow--next { left: 100%; }
.ss-arrow img {
	position: absolute;
	inset: -26.67% -33.16% -44.44% -33.16%;
	width: auto; height: auto;
	max-width: none;
}
.ss-arrow:hover { filter: brightness(1.15); }

/* ------------------------------------------------------------------ contact */
.ss-contact { padding: 100px 0; }
.ss-contact__inner { display: flex; align-items: center; gap: 81px; }
.ss-contact__left {
	flex: none;
	width: 599.5px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.ss-contact__map {
	position: relative;
	display: block;
	height: 528px;
	border-radius: var(--radius);
	overflow: hidden;
}
.ss-contact__map > img { width: 100%; height: 100%; object-fit: cover; }
.ss-contact__address {
	position: absolute;
	left: 50%; top: 253px;
	transform: translateX(-50%);
	width: 324px;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(90deg, rgba(11, 13, 38, 0.1) 0%, rgba(255, 255, 255, 0.1) 143.36%), #fff;
	filter: drop-shadow(0 4px 4px rgba(11, 13, 38, 0.12));
	color: var(--navy);
}
.ss-contact__address img { width: 40px; height: 40px; flex: none; }
.ss-contact__address > span { display: flex; flex-direction: column; gap: 16px; }
.ss-contact__address strong { font-size: 20px; font-weight: 500; }

.ss-contact__note {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px 16px;
	border: 1px solid var(--orange);
	border-radius: var(--radius);
	background: var(--navy);
}
.ss-contact__note-title { font-size: 20px; font-weight: 500; }

.ss-contact__right {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.ss-contact__copy { display: flex; flex-direction: column; gap: 16px; }
.ss-contact__copy .ss-h2 { max-width: 577px; }

/* ------------------------------------------------------------------ form */
.ss-form__fields { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.ss-form__grid {
	align-self: stretch;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.ss-form__field--full { grid-column: 1 / -1; }
.ss-form input,
.ss-form textarea {
	width: 100%;
	padding: 16px 24px;
	border: 1px solid var(--white-10);
	border-radius: 40px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font: inherit;
	line-height: normal;
}
.ss-form textarea { height: 197px; border-radius: var(--radius); resize: vertical; }
.ss-form ::placeholder { color: rgba(255, 255, 255, 0.5); opacity: 1; }
.ss-form input:focus,
.ss-form textarea:focus { outline: none; border-color: var(--orange); }
.ss-form__hp { position: absolute; left: -9999px; }
.ss-form__status {
	margin-bottom: 24px;
	padding: 16px 24px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.1);
}
.ss-form__status--sent { border: 1px solid #3fbf7f; }
.ss-form__status--error { border: 1px solid var(--orange); }

/* ------------------------------------------------------------------ footer */
.ss-footer { padding: 100px 0; background: #fff; color: var(--navy); }
.ss-footer__grid { display: flex; gap: 80px; align-items: flex-start; }
.ss-footer__brand { flex: none; width: 368px; display: flex; flex-direction: column; gap: 24px; }
.ss-footer__logo { display: flex; align-items: center; }
.ss-footer__logo img { width: 100%; height: auto; }
.ss-footer__col { display: flex; flex-direction: column; gap: 16px; }
.ss-footer__col--wide { flex: 1 1 0; min-width: 0; }
.ss-footer__col--pages { flex: none; width: 142px; }
.ss-footer__col ul { display: flex; flex-direction: column; gap: 16px; }
.ss-footer__col a:hover { color: var(--orange); }
.ss-footer__title { font-size: 20px; font-weight: 500; }
.ss-footer__contact { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.ss-footer__contact div { display: flex; flex-direction: column; gap: 8px; }
.ss-footer__contact dt { font-weight: 500; }
.ss-footer__contact dd { margin: 0; overflow-wrap: anywhere; }
.ss-footer__copy { margin-top: 64px; text-align: center; }
.ss-footer__credit { display: block; margin-top: 8px; }
.ss-footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ================================================================== subpages */

/* ------------------------------------------------------------------ page hero */
.ss-page-hero {
	padding: 185px 0 108px;
	border-radius: 0 0 var(--radius) var(--radius);
}
.ss-page-hero + .ss-section,
.ss-page-hero + .ss-band { margin-top: var(--section-gap); }
.ss-page-hero__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 64px;
}
.ss-page-hero__copy {
	flex: 1 1 0;
	min-width: 0;
	max-width: 640px;
	display: flex;
	flex-direction: column;
	gap: 19px;
}
.ss-page-hero__copy p { max-width: 560px; }
.ss-page-hero__copy .ss-btn-row { margin-top: 13px; }
.ss-page-hero__media {
	flex: none;
	width: 540px;
	height: 440px;
	border: 1px solid var(--white-10);
	border-radius: var(--radius);
	overflow: hidden;
}
.ss-page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.ss-page-hero__cards {
	flex: none;
	width: 540px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ss-glass-card {
	display: flex;
	gap: 20px;
	padding: 24px;
	border: 1px solid var(--white-10);
	border-radius: var(--radius);
	background: linear-gradient(110deg, rgba(255, 92, 0, 0.12), rgba(255, 255, 255, 0.04));
	backdrop-filter: blur(6px);
}
.ss-glass-card__num { flex: none; color: var(--orange); font-weight: 700; }
.ss-glass-card__title { display: block; font-size: 20px; font-weight: 700; }
.ss-glass-card__text { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.8); }

/* ------------------------------------------------------------------ process */
.ss-process { margin-top: var(--section-gap); padding: 100px 0; }
.ss-process .ss-head__text { color: rgba(255, 255, 255, 0.8); }
.ss-process__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.ss-process__steps::before {
	content: "";
	position: absolute;
	left: 48px; right: 48px; top: 56px;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 92, 0, 0), var(--orange) 50%, rgba(255, 92, 0, 0));
}
.ss-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px 24px;
	border: 1px solid var(--white-10);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.04);
}
.ss-step__num {
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	border: 1px solid var(--orange);
	border-radius: 50%;
	background: var(--navy);
	color: var(--orange);
	font-weight: 700;
	margin-bottom: 8px;
}
.ss-step__title { font-size: 20px; font-weight: 700; }
.ss-step__text { color: rgba(255, 255, 255, 0.8); }

/* ------------------------------------------------------------------ credentials */
.ss-credentials__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.ss-cred {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}
.ss-cred__icon {
	display: grid;
	place-items: center;
	width: 60px; height: 60px;
	border-radius: var(--radius);
	background: var(--grad-peach);
	margin-bottom: 8px;
}
.ss-cred__icon span {
	width: 28px; height: 28px;
	background: var(--orange);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.ss-cred__title { font-size: 20px; font-weight: 700; color: var(--ink); }
.ss-cred__text { color: var(--muted); }

/* ------------------------------------------------------------------ mosaic */
.ss-mosaic .ss-head__text { color: var(--muted); }
.ss-mosaic__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 260px 260px;
	gap: 24px;
}
.ss-mosaic__grid li { border-radius: var(--radius); overflow: hidden; background: #d9d9d9; }
.ss-mosaic__grid li:first-child { grid-row: span 2; }
.ss-mosaic__grid img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ capability detail */
.ss-detail__layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.ss-detail__index {
	position: sticky;
	top: 150px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}
.admin-bar .ss-detail__index { top: 182px; }
.ss-detail__index-label {
	margin-bottom: 12px;
	color: var(--muted);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.ss-detail__index a {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid var(--line);
	font-weight: 500;
	transition: color 0.2s ease;
}
.ss-detail__index li:first-child a { border-top: 0; }
.ss-detail__index a span { flex: none; width: 22px; color: var(--orange); font-weight: 700; }
.ss-detail__index a:hover,
.ss-detail__index a.is-active { color: var(--orange); }

.ss-detail__items { display: flex; flex-direction: column; gap: 24px; }
.ss-cap {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 40px;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	scroll-margin-top: 140px;
}
.ss-cap--flip .ss-cap__copy { order: 2; }
/* No photo and no stat: the copy spans the card. */
.ss-cap--solo { grid-template-columns: minmax(0, 1fr); }
.ss-cap--solo .ss-cap__copy { order: 0; }
.ss-cap__copy { display: flex; flex-direction: column; gap: 16px; }
.ss-cap__copy > p { color: var(--muted); }
.ss-cap__meta { display: flex; align-items: center; gap: 12px; }
.ss-cap__num { color: var(--orange); font-weight: 700; }
.ss-cap__tag {
	padding: 4px 10px;
	border-radius: 16px;
	background: var(--grad-peach);
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
}
.ss-checks { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ss-checks li { position: relative; padding-left: 28px; font-weight: 500; }
.ss-checks li::before {
	content: "";
	position: absolute;
	left: 0; top: 2px;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--grad-btn);
}
.ss-checks li::after {
	content: "";
	position: absolute;
	left: 5px; top: 6px;
	width: 6px; height: 3px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg);
}
.ss-cap__side { display: flex; flex-direction: column; gap: 16px; }
.ss-cap__media {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	background: rgba(217, 217, 217, 0.3);
}
.ss-cap__media img { width: 100%; height: 100%; object-fit: cover; }
.ss-cap__stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 24px;
	border-radius: var(--radius);
	background: var(--grad-peach);
}
.ss-cap__stat strong { font-size: 32px; font-weight: 700; }
.ss-cap__stat span { font-weight: 500; }

/* ------------------------------------------------------------------ materials */
.ss-materials { margin-top: var(--section-gap); padding: 100px 0; }
.ss-materials .ss-head__text { color: rgba(255, 255, 255, 0.8); }
.ss-materials__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.ss-material {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--white-10);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.04);
}
.ss-material__title { font-size: 20px; font-weight: 700; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-chips li {
	padding: 6px 12px;
	border: 1px solid rgba(255, 92, 0, 0.35);
	border-radius: 40px;
	background: rgba(255, 92, 0, 0.1);
	font-size: 14px;
	font-weight: 500;
}
.ss-materials__highlight {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 32px;
	margin-top: 24px;
	padding: 24px;
	border: 1px solid var(--orange);
	border-radius: var(--radius);
	background: linear-gradient(90deg, rgba(255, 92, 0, 0.18), rgba(255, 92, 0, 0.04));
	font-size: 20px;
	font-weight: 500;
	text-align: center;
}

/* The contact band sits flush under Featured Work (as in Figma) and 100px below light sections. */
.ss-section + .ss-contact { margin-top: var(--section-gap); }

/* Two navy bands in a row sit flush (no light strip between them), split by a hairline. */
.ss-band + .ss-band { margin-top: 0; border-top: 1px solid var(--white-10); }

/* ================================================================== links + gallery */

/* Card whose title link covers the whole card (industry tiles, Services hero cards). */
.ss-industry.is-link,
.ss-glass-card.is-link { position: relative; }
.ss-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ss-stretch:focus-visible { outline: none; }
.ss-industry.is-link:has(.ss-stretch:focus-visible),
.ss-glass-card.is-link:has(.ss-stretch:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
.ss-industry__title,
.ss-glass-card__title { transition: color 0.25s ease; }

/* "Request a Consultation" under each capability. */
.ss-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-top: 8px;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--orange);
	color: var(--ink);
	font-weight: 700;
}
.ss-text-link::after { content: "\2192"; color: var(--orange); transition: transform 0.25s ease; }
.ss-text-link:hover::after { transform: translateX(4px); }

a.ss-materials__highlight { color: #fff; transition: background-color 0.25s ease, box-shadow 0.25s ease; }
a.ss-materials__highlight:hover { background-color: rgba(255, 92, 0, 0.16); box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.12); }

/* Gallery photos (About mosaic, Featured Work) open in the lightbox. */
.ss-zoom,
.ss-work-card__zoom {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: inherit;
	overflow: hidden;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: zoom-in;
}
.ss-zoom:focus-visible,
.ss-work-card__zoom:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.ss-zoom img { width: 100%; height: 100%; object-fit: cover; }
.ss-work-card::after { pointer-events: none; }
.ss-zoom::after,
.ss-work-card__zoom::after {
	content: "";
	position: absolute; top: 16px; right: 16px; z-index: 2;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0d26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 18px no-repeat;
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.ss-zoom:hover::after,
.ss-zoom:focus-visible::after,
.ss-work-card__zoom:hover::after,
.ss-work-card__zoom:focus-visible::after { opacity: 1; transform: none; }
.ss-zoom__caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 48px 20px 16px;
	background: linear-gradient(180deg, rgba(11, 13, 38, 0), rgba(11, 13, 38, 0.85));
	color: #fff;
	font-weight: 700;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.ss-zoom:hover .ss-zoom__caption,
.ss-zoom:focus-visible .ss-zoom__caption { opacity: 1; transform: none; }
@media (hover: none) {
	.ss-zoom__caption { opacity: 1; transform: none; }   /* touch: no hover, so always show the title */
}

.ss-lightbox {
	width: 100vw; height: 100vh;
	max-width: none; max-height: none;
	margin: 0; padding: 0;
	border: 0;
	background: transparent;
	overflow: hidden;
}
.ss-lightbox[open] { display: grid; place-items: center; }
.ss-lightbox::backdrop { background: rgba(11, 13, 38, 0.9); }
html:has(.ss-lightbox[open]) { overflow: hidden; }
.ss-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: min(1200px, 100vw - 160px);
	margin: 0;
}
.ss-lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 180px);
	width: auto; height: auto;
	border-radius: var(--radius);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	animation: ss-lb-in 0.35s cubic-bezier(.22, .61, .36, 1);
}
.ss-lightbox__caption { color: #fff; font-size: 18px; font-weight: 500; text-align: center; }
.ss-lightbox__count { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.ss-lightbox__btn {
	position: absolute;
	display: grid; place-items: center;
	width: 52px; height: 52px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}
.ss-lightbox__btn:hover { background: var(--orange); border-color: var(--orange); }
.ss-lightbox__btn svg { width: 22px; height: 22px; }
.ss-lightbox__btn[hidden] { display: none; }
.ss-lightbox__close { top: 24px; right: 24px; }
.ss-lightbox__prev { left: 24px; top: calc(50% - 26px); }
.ss-lightbox__next { right: 24px; top: calc(50% - 26px); }
@keyframes ss-lb-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
	.ss-lightbox__figure { max-width: calc(100vw - 32px); }
	.ss-lightbox__img { max-height: calc(100vh - 240px); }
	.ss-lightbox__close { top: 16px; right: 16px; }
	.ss-lightbox__prev,
	.ss-lightbox__next { top: auto; bottom: 24px; }
	.ss-lightbox__prev { left: calc(50% - 64px); }
	.ss-lightbox__next { right: calc(50% - 64px); }
}

/* ================================================================== motion
 * Not in Figma; added 10/7 at Deann's request. script.js adds .ss-motion to
 * <html> and data-reveal to the blocks it animates, so nothing is hidden
 * without JS or for visitors who prefer reduced motion. Only transform and
 * opacity animate. */

/* ------------------------------------------------------------------ scroll reveal */
.ss-motion [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 32px, 0);
	transition: opacity 0.8s cubic-bezier(.22, .61, .36, 1), transform 0.8s cubic-bezier(.22, .61, .36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}
.ss-motion [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.ss-motion [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.ss-motion [data-reveal="zoom"] { transform: scale(0.95); }
.ss-motion [data-reveal="none"] { opacity: 1; transform: none; }
@media (max-width: 960px) {
	/* Stacked layouts: side slides could push past the screen edge. */
	.ss-motion [data-reveal="left"],
	.ss-motion [data-reveal="right"] { transform: translate3d(0, 32px, 0); }
}
.ss-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Lets script.js hide the blocks without them fading out first. */
.ss-motion-init *,
.ss-motion-init *::before,
.ss-motion-init *::after { transition: none !important; }

/* Hero headline: each word rises out of a mask. */
.ss-word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.1em;
	margin-bottom: -0.1em;
}
.ss-word > span { display: inline-block; }
.ss-motion .ss-word > span {
	animation: ss-rise 0.9s cubic-bezier(.22, .61, .36, 1) both;
	animation-delay: calc(var(--w, 0) * 40ms + 120ms);
}

/* Hero photos settle in from a slight zoom; the orange glows drift. */
.ss-motion .ss-home-hero__media img,
.ss-motion .ss-page-hero__media img { animation: ss-settle 2.4s cubic-bezier(.22, .61, .36, 1) both; }
.ss-motion .ss-glow { will-change: transform; }
.ss-motion .ss-glow--a { animation: ss-drift 16s ease-in-out infinite; }
.ss-motion .ss-glow--b { animation: ss-drift 20s ease-in-out infinite reverse; }

/* Process line draws across, then each step number pops. */
.ss-motion .ss-process__steps::before {
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 1.6s cubic-bezier(.22, .61, .36, 1) 0.3s;
}
.ss-motion .ss-process__steps.is-in::before { transform: none; }
.ss-motion .ss-step .ss-step__num {
	opacity: 0;
	transform: scale(0.4);
	transition: opacity 0.5s ease calc(var(--reveal-delay, 0ms) + 350ms), transform 0.6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--reveal-delay, 0ms) + 350ms), box-shadow 0.3s ease;
}
.ss-motion .ss-step.is-in .ss-step__num { opacity: 1; transform: none; }

/* Material chips and capability checklists pop in one after another. */
.ss-chips li,
.ss-checks li { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.ss-motion .ss-material .ss-chips li,
.ss-motion .ss-cap .ss-checks li {
	opacity: 0;
	transform: translate3d(0, 8px, 0) scale(0.92);
	--chip-delay: calc(var(--reveal-delay, 0ms) + 300ms + var(--i, 0) * 35ms);
	transition: opacity 0.4s ease var(--chip-delay), transform 0.4s cubic-bezier(.34, 1.56, .64, 1) var(--chip-delay), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ss-motion .ss-material.is-in .ss-chips li,
.ss-motion .ss-cap.is-in .ss-checks li { opacity: 1; transform: none; }

.ss-stats__item strong { font-variant-numeric: tabular-nums; }

/* The address pin bobs gently. */
.ss-motion .ss-contact__address img { animation: ss-bob 3.2s ease-in-out infinite; }

/* ------------------------------------------------------------------ hero fx
 * Toolpath background from ss_theme_hero_fx(): faint traces, orange pulses
 * that run along them, pulsing crosshairs and a slow scan line. It fades
 * out toward the bottom-left so the headline stays easy to read. */
.ss-fx {
	position: absolute; inset: 0; z-index: -1;
	width: 100%; height: 100%;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(63deg, rgba(0, 0, 0, 0.4) 15%, #000 65%);
	mask-image: linear-gradient(63deg, rgba(0, 0, 0, 0.4) 15%, #000 65%);
}
.ss-fx__trace { fill: none; stroke: rgba(255, 255, 255, 0.15); stroke-width: 1.2; }
.ss-fx__pulse {
	visibility: hidden;
	fill: none;
	stroke: #ffb27a;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 7 93;
	stroke-dashoffset: 100;
}
.ss-fx__pulse--glow { stroke: var(--orange); stroke-width: 7; opacity: 0.28; }
.ss-fx__node circle,
.ss-fx__node path { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; }
.ss-fx__node--hot circle { stroke: var(--orange); }
.ss-fx__scan { opacity: 0; }

.ss-motion .ss-fx__pulse { visibility: visible; animation: ss-current var(--d, 16s) linear var(--o, 0s) infinite; }
.ss-motion .ss-fx__node { animation: ss-node 4s ease-in-out var(--o, 0s) infinite; }
.ss-motion .ss-fx__scan { will-change: transform; animation: ss-scan 12s cubic-bezier(.45, .05, .55, .95) 1.5s infinite; }
.ss-fx.is-off,
.ss-fx.is-off * { animation-play-state: paused !important; }

@keyframes ss-current { to { stroke-dashoffset: 0; } }
@keyframes ss-node {
	0%, 100% { opacity: 0.35; }
	50% { opacity: 1; }
}
@keyframes ss-scan {
	0% { transform: translateX(-160px); opacity: 0; }
	6%, 50% { opacity: 1; }
	56%, 100% { transform: translateX(1600px); opacity: 0; }
}

/* ------------------------------------------------------------------ header + progress */
.ss-header { transition: filter 0.3s ease; }
.ss-header.is-scrolled { filter: drop-shadow(0 10px 24px rgba(11, 13, 38, 0.18)); }

.ss-progress {
	position: fixed;
	left: 0; right: 0; top: 0;
	z-index: 150;
	height: 3px;
	background: var(--grad-btn);
	transform: scaleX(0);
	transform-origin: left center;
	pointer-events: none;
}
.admin-bar .ss-progress { top: 32px; }

.ss-nav a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -6px;
	height: 2px;
	border-radius: 2px;
	background: var(--orange);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 0.3s cubic-bezier(.22, .61, .36, 1);
}
.ss-nav .current-menu-item > a::after { transform: scaleX(1); }

/* ------------------------------------------------------------------ form focus */
.ss-form input,
.ss-form textarea { transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.ss-form input:focus,
.ss-form textarea:focus { background: rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.18); }

/* ------------------------------------------------------------------ card spotlight
 * script.js adds .ss-spot and tracks the pointer in --mx / --my (mouse only). */
.ss-spot { position: relative; isolation: isolate; }
.ss-spot::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	border-radius: inherit;
	background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 92, 0, 0.18), transparent 70%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}
.ss-spot:hover::before { opacity: 1; }

/* ------------------------------------------------------------------ hovers (mouse only) */
.ss-cap-card__media img,
.ss-mosaic__grid img,
.ss-work-card img,
.ss-contact__map > img { transition: transform 0.8s cubic-bezier(.22, .61, .36, 1); }

@media (hover: hover) and (pointer: fine) {
	.ss-btn { transition: filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
	.ss-btn:hover { transform: translateY(-2px); }
	.ss-btn--primary { position: relative; overflow: hidden; }
	.ss-btn--primary::after {
		content: "";
		position: absolute; top: 0; bottom: 0; left: 0;
		width: 60%;
		background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
		transform: translateX(-160%) skewX(-20deg);
		pointer-events: none;
	}
	.ss-btn--primary:hover::after {
		transform: translateX(260%) skewX(-20deg);
		transition: transform 0.8s cubic-bezier(.22, .61, .36, 1);
	}
	.ss-btn--call:hover .ss-btn__icon { animation: ss-ring 0.8s ease; }

	.ss-nav a:hover::after { transform: scaleX(1); transform-origin: left center; }

	.ss-cap-card__inner { position: relative; overflow: hidden; transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(.22, .61, .36, 1), border-color 0.35s ease; }
	.ss-cap-card__inner::before {
		content: "";
		position: absolute; left: 0; right: 0; top: 0;
		height: 3px;
		background: var(--grad-btn);
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 0.45s cubic-bezier(.22, .61, .36, 1);
	}
	.ss-cap-card__title { transition: color 0.25s ease; }
	a.ss-cap-card__inner:hover { transform: translateY(-6px); border-color: rgba(255, 92, 0, 0.3); box-shadow: 0 18px 36px rgba(11, 13, 38, 0.12); }
	a.ss-cap-card__inner:hover::before { transform: scaleX(1); }
	a.ss-cap-card__inner:hover .ss-cap-card__title { color: var(--orange); }
	a.ss-cap-card__inner:hover .ss-cap-card__media img { transform: scale(1.07); }

	/* Cards that link somewhere lift; the rest only get the soft spotlight. */
	.ss-industry,
	.ss-glass-card { transition: transform 0.4s cubic-bezier(.22, .61, .36, 1), box-shadow 0.4s ease, border-color 0.4s ease; }
	.ss-industry.is-link:hover { transform: translateY(-6px); border-color: rgba(255, 92, 0, 0.45); box-shadow: 0 16px 32px rgba(11, 13, 38, 0.1); }
	.ss-industry.is-link:hover .ss-industry__title,
	.ss-glass-card.is-link:hover .ss-glass-card__title { color: var(--orange); }
	.ss-industry.is-link:hover .ss-industry__icon { animation: ss-pop 0.7s cubic-bezier(.34, 1.56, .64, 1); }
	.ss-glass-card.is-link:hover { transform: translateX(6px); border-color: rgba(255, 92, 0, 0.45); }
	.ss-step:hover .ss-step__num { box-shadow: 0 0 0 6px rgba(255, 92, 0, 0.15); }

	.ss-mosaic__grid li:hover img,
	.ss-work-card:hover img { transform: scale(1.06); }
	.ss-contact__map:hover > img { transform: scale(1.04); }

	.ss-work-card__title { transition: transform 0.4s cubic-bezier(.22, .61, .36, 1); }
	.ss-work-card__title::after {
		content: "";
		position: absolute; left: 0; bottom: -14px;
		width: 56px; height: 3px;
		border-radius: 3px;
		background: var(--orange);
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 0.4s cubic-bezier(.22, .61, .36, 1);
	}
	.ss-work-card:hover .ss-work-card__title { transform: translateY(-8px); }
	.ss-work-card:hover .ss-work-card__title::after { transform: scaleX(1); }

	.ss-detail__index a { transition: color 0.2s ease, transform 0.25s ease; }
	.ss-detail__index a:hover { transform: translateX(4px); }
}

/* ------------------------------------------------------------------ keyframes */
@keyframes ss-rise { from { transform: translate3d(0, 105%, 0); } to { transform: none; } }
@keyframes ss-settle { from { transform: scale(1.12); } to { transform: none; } }
@keyframes ss-drift {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(60px, 40px, 0) scale(1.15); }
}
@keyframes ss-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-5px); }
}
@keyframes ss-ring {
	0%, 100% { transform: rotate(0); }
	20% { transform: rotate(-14deg); }
	40% { transform: rotate(12deg); }
	60% { transform: rotate(-8deg); }
	80% { transform: rotate(5deg); }
}
@keyframes ss-pop {
	0%, 100% { transform: none; }
	40% { transform: scale(1.18) rotate(-8deg); }
	70% { transform: scale(0.96) rotate(4deg); }
}

/* ================================================================== responsive */
@media (max-width: 1360px) {
	.ss-nav { gap: 32px; }
	.ss-footer__grid { gap: 48px; }
	.ss-footer__brand { width: 300px; }
	.ss-split__media { width: 46%; }
	.ss-split__copy { width: auto; flex: 1 1 0; }
	.ss-contact__left { width: 47%; }
	.ss-contact__inner { gap: 56px; }
	.ss-page-hero__media,
	.ss-page-hero__cards { width: 44%; }
	.ss-home-hero__aside { width: 36%; }
}

/* Header: the Call Us pill drops out up to 1220px so the four nav items and the consult button fit. */
@media (max-width: 1220px) {
	.ss-header__actions .ss-btn--call { display: none; }
	.ss-nav { gap: 24px; }
}

/* Header: the mobile menu takes over at 1024px, where the four-item nav no longer fits. */
@media (max-width: 1024px) {
	.ss-header__nav,
	.ss-header__actions { display: none; }
	.ss-header__toggle { display: inline-flex; }
	.ss-header { padding: 16px 16px 16px 24px; --header-h: 82px; }
	.ss-header__logo img { width: 188px; height: 34px; object-fit: contain; }
}

@media (max-width: 1180px) {
	/* Stats: three across, then the last two centered at the same width. */
	.ss-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 32px; }
	.ss-stats__divider { display: none; }
	.ss-stats__item,
	.ss-stats__item:first-child,
	.ss-stats__item:nth-child(5) { grid-column: span 2; width: auto; }
	.ss-stats__item:nth-child(7) { grid-column: 2 / span 2; }
	.ss-stats__item:nth-child(9) { grid-column: 4 / span 2; }

	.ss-capabilities__grid,
	.ss-materials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-industries__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: none; }
	.ss-industry { grid-column: span 2; }
	.ss-industry:nth-child(4) { grid-column: 2 / span 2; }
	.ss-industry:nth-child(5) { grid-column: 4 / span 2; }
	.ss-process__steps,
	.ss-credentials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-process__steps::before { display: none; }

	.ss-detail__layout { grid-template-columns: minmax(0, 1fr); }
	.ss-detail__index { position: static; }
	.ss-detail__index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.ss-detail__index li:nth-child(2) a { border-top: 0; }

	.ss-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
	.ss-footer__brand { grid-column: 1 / -1; width: 100%; max-width: 368px; }
	.ss-footer__logo { height: auto; }
	.ss-footer__col--pages { width: auto; }
}

@media (max-width: 960px) {
	:root { --section-gap: 72px; }
	.ss-h1 { font-size: 34px; }
	.ss-h2 { font-size: 30px; }

	.ss-home-hero { padding-top: 140px; }
	.ss-home-hero__media { height: 340px; }
	.ss-home-hero__row,
	.ss-page-hero__inner,
	.ss-split__inner,
	.ss-split--images-right .ss-split__inner,
	.ss-contact__inner { flex-direction: column; align-items: stretch; }
	.ss-home-hero__aside,
	.ss-split__media,
	.ss-split__copy,
	.ss-contact__left,
	.ss-page-hero__media,
	.ss-page-hero__cards { width: 100%; }
	.ss-page-hero { padding-top: 150px; }
	.ss-page-hero__media { height: 360px; }
	.ss-split__media { max-width: 560px; }
	.ss-split--dark { padding: 72px 0; }
	.ss-split__inner { gap: 48px; }

	.ss-head,
	.ss-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }

	.ss-cap,
	.ss-cap--flip { grid-template-columns: minmax(0, 1fr); }
	.ss-cap--flip .ss-cap__copy { order: 0; }

	.ss-mosaic__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
	.ss-mosaic__grid li:first-child { grid-column: span 2; grid-row: auto; }

	.ss-work-card { flex-basis: 100%; }
}

@media (max-width: 640px) {
	.ss-h1 { font-size: 30px; }
	.ss-h2 { font-size: 26px; }
	.ss-h3 { font-size: 22px; }

	.ss-badge { white-space: normal; }
	.ss-home-hero__media { height: 240px; }
	.ss-page-hero__media { height: 260px; }
	.ss-btn-row .ss-btn { flex: 1 1 auto; }

	/* Stats: one list, a row per stat (value left, description right) with
	   thin dividers. Two columns made word values and long labels wrap
	   unevenly and left the last stat on its own row. */
	.ss-stats { padding: 20px 22px; grid-template-columns: 1fr; gap: 14px; }
	.ss-stats__item,
	.ss-stats__item:first-child,
	.ss-stats__item:nth-child(5),
	.ss-stats__item:nth-child(7),
	.ss-stats__item:nth-child(9) {
		grid-column: auto;
		width: auto;
		display: grid;
		/* min-content keeps a long single word ("Customers") inside its column at 320px. */
		grid-template-columns: minmax(min-content, 0.85fr) minmax(0, 1.15fr);
		align-items: baseline;
		gap: 4px 16px;
	}
	.ss-stats__item:not(:first-child) { border-top: 1px solid rgba(255, 92, 0, 0.22); padding-top: 14px; }
	.ss-stats__item strong,
	.ss-stats__item strong.is-long { font-size: 22px; line-height: 1.15; }
	.ss-stats__item span { font-size: 15px; line-height: 1.4; }

	.ss-materials__grid,
	.ss-process__steps,
	.ss-credentials__grid { grid-template-columns: minmax(0, 1fr); }
	/* What We Build: swipe row instead of six stacked photo cards. */
	.ss-capabilities__grid {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 8px;
	}
	.ss-capabilities__grid > * { flex: 0 0 82%; scroll-snap-align: start; }
	.ss-cap-card__media { height: 200px; }
	.ss-industries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.ss-industry,
	.ss-industry:nth-child(4),
	.ss-industry:nth-child(5) { grid-column: auto; }
	.ss-industry:nth-child(5) { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
	.ss-industry { height: 200px; padding: 32px 12px; }

	.ss-detail__index ol { grid-template-columns: minmax(0, 1fr); }
	.ss-detail__index li:nth-child(2) a { border-top: 1px solid var(--line); }
	.ss-cap { padding: 24px; }

	.ss-work-card__title { left: 20px; right: 20px; bottom: 20px; font-size: 20px; }
	.ss-arrow { transform: translate(-50%, -50%) scale(0.75); }
	.ss-arrow--prev { left: 28px; }
	.ss-arrow--next { left: calc(100% - 28px); }

	.ss-contact__map { height: 380px; }
	.ss-contact__address { top: auto; bottom: 24px; width: calc(100% - 32px); }
	.ss-form__grid { grid-template-columns: minmax(0, 1fr); }

	.ss-mosaic__grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
	.ss-mosaic__grid li:first-child { grid-column: auto; }

	.ss-footer { padding: 64px 0; }
	.ss-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.ss-footer__copy { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ================================================================== design QA fixes (10/28) */
.ss-footer__title { display: block; list-style: none; cursor: default; }
@media (min-width: 641px) { .ss-footer__title { pointer-events: none; } }
.ss-footer__title::-webkit-details-marker { display: none; }
@media (max-width: 640px) {
	.ss-footer__col { gap: 0; border-bottom: 1px solid var(--line); }
	.ss-footer__title {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 48px;
		cursor: pointer;
	}
	.ss-footer__title::after {
		content: '';
		width: 8px; height: 8px;
		margin-right: 4px;
		border-right: 2px solid var(--orange);
		border-bottom: 2px solid var(--orange);
		transform: rotate(45deg);
		transition: transform 0.2s ease;
	}
	.ss-footer__col[open] > .ss-footer__title::after { transform: rotate(-135deg); }
	.ss-footer__col ul { gap: 0; padding-bottom: 12px; }
	.ss-footer__col li a { display: flex; align-items: center; min-height: 44px; }
	.ss-footer__contact { padding-bottom: 12px; }
}
@media (max-width: 960px) {
	.ss-footer__col li a { display: flex; align-items: center; min-height: 44px; }
	.ss-footer__col ul { gap: 0; }
}

.ss-404__lead { max-width: 480px; }
.ss-404__links { display: flex; gap: 24px; margin-top: 8px; }
.ss-404__links a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ss-404__links a:hover { color: var(--orange); }
