/* The depth layer is decorative; content remains usable without motion or JS. */
:root {
	--surface-shadow: 0 1px 0 #fff inset, 0 2px 5px #15362d08, 0 15px 34px -21px #143c3370;
	--shadow-raised: 0 1px 0 #fff inset, 0 20px 36px -18px #173d3573;
}

.header {
	position: relative;
	z-index: 1;
	background: #102b25;
	border-bottom: 1px solid #d8fa8126;
}

.header .brand-mark { box-shadow: inset 0 1px 0 #f5ffd8, 0 3px 0 #627e42, 0 7px 16px #0919147a; }
.hero--dimensional {
	padding-block: clamp(2.6rem, 4.5vw, 4.8rem);
	background: radial-gradient(ellipse at 82% 34%, #285447, transparent 62%), #122d27;
	isolation: isolate;
}

.hero--dimensional::before {
	z-index: -1;
	background: repeating-radial-gradient(ellipse at 92% 35%, transparent 0 38px, #b1eb9b13 39px 40px, transparent 41px 69px);
	mask-image: linear-gradient(105deg, transparent 7%, #000 76%);
}

.hero--dimensional > .split { grid-template-columns: minmax(0, 1.22fr) minmax(0, .93fr); gap: clamp(1.75rem, 5.25vw, 4.75rem); align-items: center; }
.hero-copy h1 { max-width: none; font-size: clamp(3rem, 5.3vw, 4.8rem); line-height: 1.02; letter-spacing: -.064em; text-wrap: balance; }
.hero-copy h1 span { color: #defb92; text-shadow: 0 4px 29px #a4ed6a26; }
.hero-copy .eyebrow { line-height: 1.5; }
.hero-copy .actions { margin-top: 1.6rem; }
.hero-copy .btn:not(.secondary) { box-shadow: inset 0 1px 0 #f0ffbc, 0 3px 0 #68894d, 0 12px 23px #091b18b3; }
.hero-copy .btn.secondary { border-color: #b7deb879; }
.hero-audit { min-width: 0; }

.motion-control {
	min-height: 44px;
	border: 1px solid #b8efba65;
	border-radius: .45rem;
	padding: .4rem .65rem;
	background: #15372e;
	color: #e4fadf;
	cursor: pointer;
	font-size: .85rem;
}

.motion-control:hover { background: #285348; }
.motion-control:focus-visible { outline-color: #ddfa92; }
#instant-audit { scroll-margin-top: 1.4rem; }
.hero-audit .panel {
	background: linear-gradient(145deg, #fff, #f4faee);
	border-color: #d6fed581;
	box-shadow: var(--surface-shadow), 0 21px 40px -13px #071b17be;
	border-radius: 1.2rem;
	padding: clamp(1.15rem, 2.15vw, 1.55rem);
}

.hero-audit .panel h2 { font-size: clamp(1.65rem, 2.55vw, 2.25rem); }
.hero-audit .panel .eyebrow { margin-bottom: .6rem; }

.section--studies { background: radial-gradient(ellipse at 80% 7%, #d9eddb, transparent 62%), #f1f5e8; }
.section--services { background: radial-gradient(ellipse at 100% 80%, #e8f3da, transparent 52%), #fffef9; }
.section--studies .eyebrow, .section--services .eyebrow, .inner-page .eyebrow { color: #3a6757; }
.depth-grid { gap: clamp(.85rem, 2vw, 1.3rem); }
.depth-grid--services { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.depth-grid--services .depth-card { grid-column: span 2; }
.depth-grid--services .depth-card:nth-child(n+4) { grid-column: span 3; }
.depth-card {
	transform: perspective(850px) translateY(var(--card-lift, 0px)) rotateX(var(--card-x, 0deg)) rotateY(var(--card-y, 0deg));
	transition: transform .25s cubic-bezier(.2,.7,.28,1), box-shadow .25s ease, border-color .25s ease;
	background: linear-gradient(150deg, #fff, #f5f9ed);
	box-shadow: var(--surface-shadow), 0 3px 0 #dde8d9;
	border-color: #d6e4d9;
	min-width: 0;
}

.depth-card:focus-within { border-color: #86ad95; box-shadow: var(--shadow-raised); }
.depth-card__top { display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: .8rem; margin: 0 0 1.15rem; }
.depth-card__index { color: #53776b; font-size: .78rem; font-weight: 760; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.depth-card__icon {
	display: grid;
	place-items: center;
	width: 2.8rem;
	height: 2.8rem;
	border: 1px solid #a9c7a7;
	border-radius: .65rem;
	background: linear-gradient(145deg, #f4ffe5, #c8e6bf);
	box-shadow: inset 0 1px 0 #fcfff4, 0 3px 0 #aac3a4, 0 9px 13px -7px #3e674bb8;
	color: #285447;
}

.depth-card__icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.depth-grid--cases .depth-card { background: linear-gradient(145deg, #fff, #edf6e8); }
.depth-grid--cases .depth-card .stat { color: #235748; }

.cta--dimensional { background: #eff3e7; }
.cta-panel {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(1.6rem, 5vw, 4.2rem);
	background: radial-gradient(ellipse at 95% 65%, #2c6250, transparent 58%), #15372e;
	color: #f5f9ee;
	border-radius: 1.35rem;
	border: 1px solid #336b57;
	box-shadow: inset 0 1px 0 #d5ffbf40, 0 6px 0 #0d2c24, 0 22px 30px -17px #12322896;
}

.cta-panel::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-radial-gradient(ellipse at 100% 70%, transparent 0 21px, #b2f4a726 22px 23px, transparent 24px 45px); mask-image: linear-gradient(110deg, transparent 40%, #000); pointer-events: none; }
.cta-panel h2 { max-width: 20ch; }
.cta-panel p { color: #def1e4; }
.cta-panel .btn { background: var(--lime); color: var(--dark); box-shadow: 0 3px 0 #6a8950; }
.cta-panel .btn:hover { background: #edffc6; }
.cta-panel .btn:focus-visible { outline-color: #d9fb9f; }

.inner-page { background: radial-gradient(ellipse 70% 30rem at 100% 0, #dbeedf, transparent), var(--page); }
.inner-page .page-title { text-wrap: balance; }
.inner-page .panel, .inner-page .case-metrics .card, .inner-page .case-facts > div { box-shadow: var(--surface-shadow); }
.inner-page .case-metrics .card, .inner-page .case-facts > div { background: linear-gradient(150deg, #fff, #f4f8ee); }
.breadcrumbs { color: var(--soft); font-size: .9rem; margin: 0 0 clamp(1.25rem, 3vw, 2rem); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .55rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .55rem; color: #598172; }
.breadcrumbs a, .related-services a { font-weight: 700; }
.related-services ul { display: flex; flex-wrap: wrap; gap: .45rem 1.3rem; list-style: none; padding: 0; }
.related-services h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

@keyframes vd-reveal { from { opacity: .6; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
[data-reveal].has-entered { animation: vd-reveal .55s cubic-bezier(.2,.65,.3,1) both; animation-delay: var(--enter-delay, 0ms); }
.depth-grid > :nth-child(2n) { --enter-delay: 70ms; }
.depth-grid > :nth-child(3n) { --enter-delay: 120ms; }

@media (hover: hover) and (pointer: fine) {
	.depth-card:hover { --card-lift: -4px; border-color: #b0ccba; box-shadow: var(--shadow-raised); }
}

@media (max-width: 900px) {
	.hero-copy h1 { font-size: clamp(2.75rem, 7vw, 4.6rem); }
}

@media (max-width: 780px) {
	.hero--dimensional > .split { grid-template-columns: minmax(0, 1fr); }
	.hero--dimensional::before { mask-image: linear-gradient(160deg, transparent 35%, #000 90%); }
	.hero-copy h1 { max-width: 14ch; }
	.hero-audit { width: min(100%, 34rem); }
	.depth-grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.depth-grid--services .depth-card:nth-child(n) { grid-column: auto; }
	.depth-grid--services .depth-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 550px) {
	.depth-grid--services { grid-template-columns: minmax(0, 1fr); }
}

[data-motion-paused] .depth-card { transform: none; transition: none; }
[data-motion-paused] [data-reveal].has-entered { animation: none; }
@media (prefers-reduced-motion: reduce) {
	.depth-card { transform: none; transition: none; }
	[data-reveal].has-entered { animation: none; }
	.motion-control { display: none; }
}
