/* ==========================================================================
   Intege Holdings — design system
   Brand: Dark Teal Pantone 7476 C #00403E · Sand Pantone 400 C #C5BCB1 · Aptos
   ========================================================================== */

:root {
	--teal: #00403E;
	--teal-800: #003634;
	--teal-900: #072C2A;
	--teal-rgb: 0, 64, 62;
	--sand: #C5BCB1;
	--sand-100: #EDE6DE;
	--sand-50: #F6F2EC;
	--ink: #142E2C;
	--text: #273634;
	--muted: #5A6765;
	--line: #DCD4C9;
	--white: #FFFFFF;

	--font: "Aptos", "Intege Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1.0625rem;
	--fs-body-lg: clamp(1.0625rem, 0.4vw + 0.95rem, 1.1875rem);
	--fs-lead: clamp(1.25rem, 1vw + 0.95rem, 1.75rem);
	--fs-h-statement: clamp(1.875rem, 2.4vw + 1.05rem, 3.125rem);
	--fs-h-hero: clamp(2.25rem, 3vw + 1.2rem, 3.75rem);

	--header-h: 96px;
	--subnav-h: 0px;
	--gutter: clamp(20px, 4.9vw, 72px);
	--max: 1440px;
	--section-y: clamp(56px, 6.5vw, 104px);

	--ease: cubic-bezier(.22, .61, .21, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--dur: .8s;
}

@media (max-width: 900px) {
	:root { --header-h: 72px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--sand-50);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-kerning: normal;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; color: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--teal); color: var(--white); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.tone-teal :focus-visible, .hero__panel :focus-visible, .site-footer :focus-visible, .site-nav.is-open :focus-visible { outline-color: var(--sand); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -100px; z-index: 1000;
	background: var(--teal); color: var(--white); padding: 12px 18px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.site-main { display: block; outline: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.tone-white { background: var(--white); }
.tone-sand { background: var(--sand-100); }
.tone-teal { background: var(--teal); color: var(--white); }

/* ---------- Typography primitives ---------- */
.eyebrow {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.4;
}
.label {
	font-size: clamp(.9375rem, .3vw + .85rem, 1.0625rem);
	font-weight: 600;
	color: var(--teal);
	letter-spacing: .005em;
	line-height: 1.4;
	margin-bottom: 1rem;
}
.label__link { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; }
.label__arrow { width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.label__link:hover .label__arrow, .label__link:focus-visible .label__arrow { opacity: 1; transform: none; }
.label__link:hover { text-decoration: underline; }

.lead {
	font-size: var(--fs-lead);
	font-weight: 400;
	line-height: 1.45;
	color: var(--ink);
	max-width: 62em;
	letter-spacing: -.003em;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--white);
	height: var(--header-h);
	transition: box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(var(--teal-rgb), .08), 0 8px 24px -16px rgba(var(--teal-rgb), .35); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__img { width: auto; height: 30px; }
@media (min-width: 1200px) { .brand--header .brand__img { height: 32px; } }

.site-nav__list { display: flex; align-items: center; gap: clamp(20px, 4.2vw, 72px); }
.site-nav__list a {
	position: relative; display: inline-block;
	padding: 10px 0;
	font-size: .8125rem; font-weight: 600; letter-spacing: .045em; text-transform: uppercase;
	color: #4B5957; text-decoration: none;
	transition: color .25s var(--ease);
}
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
	background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.site-nav__list a:hover { color: var(--teal); }
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a, .site-nav__list a[aria-current="page"] { color: var(--teal); }
.site-nav__list .current-menu-item > a::after, .site-nav__list .current_page_item > a::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 48px; height: 48px; margin-right: -12px;
		background: none; border: 0; cursor: pointer; position: relative; z-index: 120;
	}
	.nav-toggle__bars { position: relative; width: 26px; height: 12px; }
	.nav-toggle__bars span {
		position: absolute; left: 0; width: 100%; height: 2px; background: var(--teal);
		transition: transform .4s var(--ease), top .4s var(--ease), background .3s;
	}
	.nav-toggle__bars span:first-child { top: 0; }
	.nav-toggle__bars span:last-child { top: 10px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { background: var(--white); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

	.site-nav {
		position: fixed; inset: 0; z-index: 110;
		background: var(--teal);
		display: flex; align-items: flex-end;
		padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
		visibility: hidden; opacity: 0;
		clip-path: inset(0 0 100% 0);
		transition: clip-path .6s var(--ease-out), opacity .3s, visibility 0s .6s;
	}
	.site-nav.is-open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease-out), opacity .2s, visibility 0s; }
	.site-nav__list { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
	.site-nav__list li { width: 100%; border-top: 1px solid rgba(255,255,255,.14); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out); }
	.site-nav.is-open .site-nav__list li { opacity: 1; transform: none; }
	.site-nav.is-open .site-nav__list li:nth-child(2) { transition-delay: .06s; }
	.site-nav.is-open .site-nav__list li:nth-child(3) { transition-delay: .12s; }
	.site-nav.is-open .site-nav__list li:nth-child(4) { transition-delay: .18s; }
	.site-nav__list a { display: block; padding: 18px 0; font-size: 1.375rem; font-weight: 300; letter-spacing: .02em; color: var(--white); }
	.site-nav__list a::after { display: none; }
	.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list a[aria-current="page"] { color: var(--sand); }
	body.nav-open { overflow: hidden; }
	body.nav-open .brand--header { position: relative; z-index: 120; }
	body.nav-open .brand--header .brand__img { box-shadow: 0 0 0 4px var(--white); background: var(--white); }
}

/* ---------- Dropdown / submenus ---------- */
.site-nav__list .current-menu-ancestor > a, .site-nav__list .current-menu-parent > a { color: var(--teal); }
.site-nav__list .current-menu-ancestor > a::after, .site-nav__list .current-menu-parent > a::after { transform: scaleX(1); }
.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; margin-left: 2px; padding: 0;
	background: none; border: 0; color: #4B5957; cursor: pointer; vertical-align: middle;
}
.submenu-toggle svg { transition: transform .35s var(--ease-out); }
.menu-item-has-children.is-open > .submenu-toggle svg { transform: rotate(180deg); }

@media (min-width: 901px) {
	.site-nav__list > li { position: relative; display: flex; align-items: center; }
	.site-nav__list > .menu-item-has-children:hover > .submenu-toggle,
	.site-nav__list > .current-menu-ancestor > .submenu-toggle { color: var(--teal); }
	.site-nav__list > .menu-item-has-children:hover > .submenu-toggle svg { transform: rotate(180deg); }
	.site-nav__list .sub-menu {
		position: absolute; top: 100%; left: -24px; z-index: 50;
		min-width: 320px; margin-top: 26px; padding: 10px 0;
		background: var(--white);
		border-top: 2px solid var(--teal);
		box-shadow: 0 24px 48px -20px rgba(20, 46, 44, .35), 0 2px 6px rgba(20, 46, 44, .06);
		opacity: 0; visibility: hidden; transform: translateY(8px);
		transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility 0s .35s;
	}
	.site-nav__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }
	.site-nav__list > li:hover > .sub-menu,
	.site-nav__list > li:focus-within > .sub-menu,
	.site-nav__list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility 0s; }
	.site-nav__list .sub-menu a {
		display: block; padding: 11px 24px;
		font-size: .9375rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.35;
		color: var(--text); white-space: nowrap;
		transition: color .2s, background-color .2s, padding-left .3s var(--ease-out);
	}
	.site-nav__list .sub-menu a::after { display: none; }
	.site-nav__list .sub-menu a:hover, .site-nav__list .sub-menu a:focus-visible { background: var(--sand-50); color: var(--teal); padding-left: 30px; }
	.site-nav__list .sub-menu .current-menu-item > a { color: var(--teal); font-weight: 600; background: var(--sand-50); }
}

@media (max-width: 900px) {
	.site-nav { flex-direction: column; align-items: stretch; overflow-y: auto; overscroll-behavior: contain; }
	.site-nav__list { margin-top: auto; }
	.site-nav__list > li { display: grid; grid-template-columns: 1fr auto; align-items: center; }
	.submenu-toggle { width: 48px; height: 48px; margin-right: -12px; color: var(--white); }
	.submenu-toggle svg { width: 16px; height: 16px; }
	.site-nav__list .sub-menu { grid-column: 1 / -1; display: none; padding: 0 0 14px 2px; }
	.site-nav__list .is-open > .sub-menu { display: block; animation: subIn .4s var(--ease-out) both; }
	.site-nav__list .sub-menu li { border-top: 0; }
	.site-nav__list .sub-menu a { padding: 9px 0 9px 16px; font-size: 1.0625rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .82); border-left: 1px solid rgba(255, 255, 255, .2); }
	.site-nav__list .sub-menu .current-menu-item > a { color: var(--sand); border-left-color: var(--sand); }
	.site-nav__list .current-menu-ancestor > a, .site-nav__list .current-menu-parent > a { color: var(--sand); }
	@keyframes subIn { from { opacity: 0; transform: translateY(-6px); } }
}

/* ---------- Hero (split teal panel + photo) ---------- */
.hero {
	display: grid;
	grid-template-columns: minmax(0, 57.5fr) minmax(0, 42.5fr);
	min-height: clamp(480px, 40vw, 620px);
	background: var(--teal);
	color: var(--white);
	overflow: hidden;
}
.hero--lg { min-height: clamp(520px, 44vw, 660px); }
.hero__panel { display: flex; align-items: center; padding-block: clamp(56px, 6vw, 96px); }
.hero__content {
	width: 100%;
	max-width: calc(var(--max) * .575);
	margin-left: max(0px, calc((100vw - var(--max)) / 2));
	padding-inline: var(--gutter) clamp(24px, 3.4vw, 56px);
}
.hero--sector .hero__panel, .hero:not(.hero--lg):not(.hero--statement) .hero__panel { align-items: flex-start; padding-top: clamp(56px, 5.4vw, 80px); }
.hero__eyebrow { margin-bottom: clamp(28px, 3vw, 44px); color: rgba(255,255,255,.9); }
.hero__heading { font-size: clamp(1.25rem, 1vw + .95rem, 1.875rem); font-weight: 600; line-height: 1.25; margin-bottom: clamp(16px, 1.6vw, 24px); }
.hero__title {
	font-size: var(--fs-h-hero);
	font-weight: 300;
	line-height: 1.12;
	letter-spacing: -.012em;
}
.hero__title .line { display: block; }
.hero--lg .hero__title { font-size: clamp(2.25rem, 2.6vw + 1.1rem, 3.5rem); }
@media (min-width: 1100px) { .hero--lg .hero__title .line { white-space: nowrap; } }
.hero__title strong { font-weight: 600; }
.hero--statement .hero__title { font-size: var(--fs-h-statement); line-height: 1.2; }
.hero--sector .hero__title { font-size: clamp(2.125rem, 2.8vw + 1.1rem, 3.625rem); }
.hero__rule { display: block; width: 120px; height: 2px; margin-top: clamp(14px, 1.4vw, 22px); background: var(--sand); transform-origin: left; }
.hero__text { margin-top: clamp(22px, 2vw, 30px); max-width: 38em; font-size: var(--fs-body-lg); line-height: 1.55; color: rgba(255,255,255,.92); }

.hero__media { position: relative; overflow: hidden; background: var(--teal-800); }
.hero__media::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(90deg, rgba(var(--teal-rgb), .55) 0%, rgba(var(--teal-rgb), 0) 22%);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
	.hero, .hero--lg { grid-template-columns: 1fr; min-height: 0; }
	.hero__media { order: -1; aspect-ratio: 16 / 10; }
	.hero__media::before { background: linear-gradient(0deg, rgba(var(--teal-rgb), .45) 0%, rgba(var(--teal-rgb), 0) 35%); }
	.hero__content { max-width: none; margin: 0; padding-inline: var(--gutter); }
	.hero__panel, .hero--sector .hero__panel, .hero:not(.hero--lg):not(.hero--statement) .hero__panel { padding-block: 40px 48px; }
	.hero__eyebrow { margin-bottom: 20px; }
}

/* ---------- Intro (sand, large lead text) ---------- */
.intro { padding-block: clamp(56px, 6vw, 96px) clamp(64px, 8vw, 128px); }
.intro--sector { padding-bottom: clamp(64px, 9vw, 140px); }
.rule { border: 0; height: 1px; background: rgba(var(--teal-rgb), .16); margin: clamp(24px, 2.4vw, 36px) 0; max-width: 1180px; }
.narrative { max-width: 66em; font-size: var(--fs-body-lg); line-height: 1.65; color: var(--text); }
.narrative p + p { margin-top: 1em; }

/* ---------- Split rows ---------- */
.split { padding-block: var(--section-y); border-top: 1px solid rgba(var(--teal-rgb), .06); }
.split__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__text { max-width: 36em; }
.split--reverse .split__text { justify-self: start; }
.split__body { font-size: var(--fs-body-lg); line-height: 1.6; color: var(--text); }
.split__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sand); box-shadow: 0 24px 48px -32px rgba(20, 46, 44, .45); }
.split__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.split__media:hover .split__img { transform: scale(1.03); }
@media (max-width: 900px) {
	.split__grid { grid-template-columns: 1fr; }
	.split__media, .split--reverse .split__media { order: -1; }
}

/* ---------- Portfolio intro + cards ---------- */
.portfolio-intro { padding-block: var(--section-y) clamp(32px, 3vw, 48px); border-top: 1px solid rgba(var(--teal-rgb), .06); }
.portfolio-intro .lead { color: var(--ink); }
.cards-section { padding-block: clamp(28px, 2.4vw, 40px) var(--section-y); border-top: 1px solid var(--line); }
.cards-section--page { border-top: 0; padding-top: var(--section-y); }

.cards { display: grid; gap: clamp(12px, 1.2vw, 18px); }
.cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { display: flex; min-width: 0; }
.card__link {
	display: flex; flex-direction: column; width: 100%;
	background: var(--white); color: var(--text); text-decoration: none;
	border: 1px solid var(--line);
	transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease-out);
}
.card__media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9.4; background: var(--sand); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 16px 18px; min-height: clamp(220px, 19vw, 300px); }
.card__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.card__subtitle { display: block; margin-top: 4px; font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--teal); }
.card__text { display: block; margin-top: 12px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.card__arrow {
	margin-top: auto; padding-top: 18px; color: var(--teal);
	display: inline-flex; width: 40px; height: 40px; padding: 0; align-items: center; justify-content: flex-start;
}
.card__arrow .icon-arrow { transition: transform .45s var(--ease-out); }
.card__link:hover, .card__link:focus-visible { border-color: rgba(var(--teal-rgb), .45); box-shadow: 0 22px 40px -28px rgba(20, 46, 44, .55); transform: translateY(-4px); }
.card__link:hover .card__img, .card__link:focus-visible .card__img { transform: scale(1.06); }
.card__link:hover .icon-arrow, .card__link:focus-visible .icon-arrow { transform: translateX(8px); }
.card__body > .card__arrow { margin-top: auto; }

.tone-teal .card__link { border-color: transparent; }
.tone-teal .card__link:hover { box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .55); }

/* Tablet & mobile: cards become a swipeable rail */
@media (max-width: 1100px) {
	.cards--5, .cards--4 {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: clamp(250px, 40vw, 320px);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--gutter);
		margin-inline: calc(var(--gutter) * -1);
		padding: 4px var(--gutter) 20px;
		scrollbar-width: thin;
		scrollbar-color: rgba(var(--teal-rgb), .35) transparent;
	}
	.tone-teal .cards { scrollbar-color: rgba(255, 255, 255, .4) transparent; }
	.card { scroll-snap-align: start; }
	.card__body { min-height: 240px; }
	.card__link:hover { transform: none; }
}
@media (max-width: 560px) {
	.cards--5, .cards--4 { grid-auto-columns: 78%; }
}

/* ---------- Explore the portfolio (sector pages) ---------- */
.explore { padding-block: clamp(48px, 5vw, 72px) clamp(56px, 6vw, 96px); }
.explore__title { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.125rem); font-weight: 300; line-height: 1.25; margin-bottom: clamp(22px, 2.2vw, 32px); }

/* ---------- CTA band ---------- */
.cta { padding-block: clamp(48px, 4.6vw, 72px); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta__title { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.125rem); font-weight: 300; line-height: 1.25; }
.cta__sub { margin-top: 6px; font-size: var(--fs-base); color: rgba(255, 255, 255, .85); }

/* ---------- Buttons ---------- */
.btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	min-height: 54px; padding: 14px 28px; min-width: 210px;
	font-size: .9375rem; font-weight: 600; letter-spacing: .02em; text-decoration: none;
	border: 1.5px solid currentColor; background: transparent; cursor: pointer;
	transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .icon-arrow { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(5px); }
.btn--outline-light { color: var(--white); }
.btn--outline-light::before { background: var(--white); }
.btn--outline-light:hover, .btn--outline-light:focus-visible { color: var(--teal); border-color: var(--white); }
.btn--solid { color: var(--white); background: var(--teal); border-color: var(--teal); }
.btn--solid::before { background: var(--teal-900); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Full-width visual ---------- */
.visual { position: relative; overflow: hidden; height: clamp(300px, 36vw, 560px); background: var(--sand); }
.visual--short { height: clamp(260px, 29vw, 440px); }
.visual__img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }

/* ---------- Approach sub-navigation ---------- */
.subnav {
	position: sticky; top: var(--header-h); z-index: 90;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; gap: clamp(20px, 3vw, 48px); overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__link {
	position: relative; flex: none; padding: 16px 0;
	font-size: .875rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap;
	transition: color .25s;
}
.subnav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.subnav__link:hover, .subnav__link.is-active { color: var(--teal); }
.subnav__link.is-active::after { transform: scaleX(1); }
body.has-subnav { --subnav-h: 54px; }
.hero--inline { min-height: clamp(420px, 36vw, 580px); }
.hero--inline .hero__panel { align-items: center !important; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(56px, 5.5vw, 88px) clamp(56px, 6vw, 96px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 4.4vw, 64px); }
.contact__heading { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.details { margin: 0; font-size: var(--fs-body-lg); line-height: 1.75; color: var(--text); }
.details div { display: block; }
.details dt, .details dd { display: inline; margin: 0; }
.details a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.details a:hover { background-size: 100% 1px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 14px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; }
.field__input {
	display: block; width: 100%;
	height: 58px; padding: 22px 18px 8px;
	background: var(--white); border: 1px solid #C9C1B6; border-radius: 0;
	font-size: 1rem; color: var(--ink);
	transition: border-color .25s, box-shadow .25s;
	-webkit-appearance: none; appearance: none;
}
.field__input--area { height: auto; min-height: 150px; padding-top: 28px; resize: vertical; line-height: 1.5; }
.field__input::placeholder { color: transparent; }
.field__label {
	position: absolute; left: 19px; top: 18px; pointer-events: none;
	font-size: 1rem; color: var(--muted); line-height: 1.3;
	transform-origin: left top; transition: transform .25s var(--ease), color .25s;
}
.field__input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--teal-rgb), .14); }
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label { transform: translateY(-11px) scale(.75); color: var(--teal); }
.field__error { display: none; margin-top: 6px; font-size: .8125rem; color: #A3271F; }
.field.has-error .field__input { border-color: #A3271F; }
.field.has-error .field__error { display: block; }
.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 4px; font-size: .9375rem; line-height: 1.5; }
.field--check .field__error { grid-column: 2; margin-top: 0; }
.check {
	-webkit-appearance: none; appearance: none; margin: 1px 0 0;
	width: 22px; height: 22px; border: 1px solid #A99F93; background: var(--white); display: grid; place-content: center; cursor: pointer;
	transition: background .2s, border-color .2s;
}
.check::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease-out); }
.check:checked { background: var(--teal); border-color: var(--teal); }
.check:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.field--check.has-error .check { border-color: #A3271F; }
.field--check a { color: var(--teal); font-weight: 600; }
.form .btn { justify-self: start; margin-top: 8px; }
.notice { padding: 14px 18px; margin-bottom: 14px; font-size: .9375rem; border-left: 3px solid; background: var(--white); }
.notice--ok { border-color: var(--teal); color: var(--teal); }
.notice--error { border-color: #A3271F; color: #7E1F18; }

/* ---------- Generic pages ---------- */
.page-head { padding-block: clamp(56px, 6vw, 96px); }
.page-head--tall { min-height: 60vh; display: flex; align-items: center; }
.page-head__title { font-size: var(--fs-h-statement); font-weight: 300; line-height: 1.15; }
.page-head__text { margin-top: 32px; }
.page-head .eyebrow { margin-bottom: 28px; }
.page-content { padding-block: var(--section-y); }
.prose { max-width: 860px; font-size: var(--fs-body-lg); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.625rem; font-weight: 400; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255, 255, 255, .86); padding-block: clamp(32px, 3vw, 44px) 24px; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand--footer { background: var(--white); padding: 9px 16px; }
.brand--footer .brand__img { height: 22px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; }
.footer-nav a { font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .86); transition: color .25s; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--sand); }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .75rem; color: rgba(255, 255, 255, .55); }
.site-footer__legal a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover { color: var(--sand); }
@media (max-width: 760px) {
	.site-footer__inner { grid-template-columns: 1fr; justify-items: start; }
	.footer-nav { justify-content: flex-start; flex-direction: column; gap: 12px; }
}

/* ==========================================================================
   Motion (only with JS + motion enabled; disabled for prefers-reduced-motion)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.js .has-motion .reveal,
	.js .has-motion .reveal-group > * {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
		transition: opacity var(--dur) var(--ease), transform 1s var(--ease-out);
	}
	.js .has-motion .reveal--media { transform: translate3d(0, 40px, 0); clip-path: inset(6% 0 0 0); transition: opacity var(--dur) var(--ease), transform 1.2s var(--ease-out), clip-path 1.2s var(--ease-out); }
	.js .has-motion .reveal.is-visible,
	.js .has-motion .reveal-group.is-visible > * { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
	.js .has-motion .reveal-group.is-visible > *:nth-child(2) { transition-delay: .08s; }
	.js .has-motion .reveal-group.is-visible > *:nth-child(3) { transition-delay: .16s; }
	.js .has-motion .reveal-group.is-visible > *:nth-child(4) { transition-delay: .24s; }
	.js .has-motion .reveal-group.is-visible > *:nth-child(5) { transition-delay: .32s; }
	.js .has-motion .split--reverse .split__text.reveal { transition-delay: .1s; }

	/* Hero entrance */
	.has-motion .hero__img { animation: heroZoom 2.4s var(--ease-out) both; }
	.has-motion .hero [data-anim] { animation: heroUp 1.1s var(--ease-out) both; }
	.has-motion .hero [data-anim="1"] { animation-delay: .1s; }
	.has-motion .hero [data-anim="2"] { animation-delay: .2s; }
	.has-motion .hero [data-anim="3"] { animation-delay: .28s; }
	.has-motion .hero [data-anim="4"] { animation-delay: .55s; }
	.has-motion .hero__rule { animation: ruleGrow 1.2s .6s var(--ease-out) both; }
	.has-motion .hero--inline .hero__img, .has-motion .hero--inline [data-anim], .has-motion .hero--inline .hero__rule { animation: none; }

	@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
	@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
	@keyframes ruleGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

	/* Slow drift on sector "motion moment" */
	.has-motion .visual--motion img.visual__img { animation: drift 24s ease-in-out infinite alternate; }
	@keyframes drift { from { scale: 1; } to { scale: 1.07; } }

	/* Smooth cross-page transitions (Chromium, Safari 18.2+) */
	@view-transition { navigation: auto; }
	::view-transition-old(root) { animation: vtOut .28s var(--ease) both; }
	::view-transition-new(root) { animation: vtIn .45s var(--ease-out) both; }
	@keyframes vtOut { to { opacity: 0; } }
	@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
	.site-header { view-transition-name: site-header; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Print */
@media print {
	.site-header, .site-footer, .nav-toggle, .subnav, .visual, .form { display: none !important; }
	.hero { grid-template-columns: 1fr; background: none; color: #000; }
	.hero__media { display: none; }
}
