/* ==========================================================================
   HOSS GROUP — ARCHITECTURAL LUXURY DESIGN SYSTEM (v1.0.0)
   Strict Light Cream Canvas | Zero Borders/Lines | 60fps GPU Motion
   ========================================================================== */

:root {
	color-scheme: only light;

	/* Natural Architectural Palette — Single Unified Warm Alabaster Canvas */
	--bg-cream: #FCFBF9;
	--bg-sand: #FCFBF9;
	--bg-sand-deep: #F2EFE9;
	--ink-primary: #1E1B18;
	--ink-muted: #6E685F;
	--accent-bronze: #9A7B4F;
	--accent-bronze-deep: #7B603A;
	--surface-glass: rgba(252, 251, 249, 0.9);
	--backdrop-umber: rgba(30, 27, 24, 0.32);

	/* Typography */
	--font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-serif: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

	/* Motion & Easing */
	--ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
	--duration-reveal: 0.78s;
	--duration-ui: 0.35s;

	/* Layout Rhythm */
	--container-max: 1360px;
	--gutter: clamp(1.25rem, 4vw, 3.5rem);
	--section-pad: clamp(4rem, 7.5vw, 7.5rem);
	--header-h: 78px;
}

/* Reset & Strict Light Mode Lock */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	color-scheme: only light;
	background-color: #FCFBF9;
	color: #1E1B18;
	font-size: 16px;
	scroll-behavior: smooth;
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

body {
	color-scheme: only light;
	background-color: #FCFBF9;
	color: #1E1B18;
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.65;
	overflow-x: clip;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html.hg-lock-scroll,
body.hg-lock-scroll {
	overflow: hidden;
	height: 100%;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
	color: #1E1B18;
	background-color: transparent;
	border: none;
	outline: none;
}

button {
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 2px solid var(--accent-bronze);
	outline-offset: 4px;
}

.hg-scroll-rail {
	position: fixed;
	top: 18vh;
	right: 6px;
	width: 22px;
	height: 64vh;
	z-index: 95;
	cursor: pointer;
	display: flex;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.42s ease;
	user-select: none;
	touch-action: none;
}

.hg-scroll-rail:hover,
.hg-scroll-rail.is-scrolling,
.hg-scroll-rail.is-dragging {
	opacity: 1;
}

.hg-scroll-rail__track {
	position: relative;
	width: 1px;
	height: 100%;
	background: linear-gradient(
		180deg,
		rgba(30, 27, 24, 0) 0%,
		rgba(30, 27, 24, 0.16) 18%,
		rgba(30, 27, 24, 0.16) 82%,
		rgba(30, 27, 24, 0) 100%
	);
}

.hg-scroll-rail__thumb {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 44px;
	background: linear-gradient(
		180deg,
		rgba(154, 123, 79, 0) 0%,
		var(--accent-bronze) 22%,
		var(--ink-primary) 50%,
		var(--accent-bronze) 78%,
		rgba(154, 123, 79, 0) 100%
	);
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

@media (max-width: 768px) {
	.hg-scroll-rail {
		display: none;
	}
}

.hg-skip-link {
	position: fixed;
	top: -120px;
	left: 1rem;
	z-index: 9999;
	padding: 0.75rem 1.25rem;
	background-color: var(--ink-primary);
	color: var(--bg-cream);
	font-size: 0.875rem;
	transition: transform 0.2s ease;
}

.hg-skip-link:focus {
	top: 1rem;
}

/* ==========================================================================
   TYPOGRAPHY SCALE
   ========================================================================== */

.hg-display-xl {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2.35rem, 6.2vw, 5.4rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--ink-primary);
}

.hg-serif-italic {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 500;
	letter-spacing: -0.01em;
	font-size: 1.08em;
	color: var(--accent-bronze-deep);
}

.hg-display-lg {
	font-family: var(--font-serif);
	font-weight: 500;
	font-size: clamp(2.15rem, 4.4vw, 3.85rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
	color: var(--ink-primary);
}

.hg-display-lg .hg-serif-italic {
	font-size: 1em;
	color: var(--accent-bronze-deep);
}

.hg-display-md {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.4rem, 2.5vw, 2.15rem);
	line-height: 1.16;
	letter-spacing: -0.02em;
	color: var(--ink-primary);
}

.hg-display-sm {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(1.18rem, 1.7vw, 1.48rem);
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--ink-primary);
}

.hg-lead {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: clamp(1.05rem, 1.45vw, 1.32rem);
	line-height: 1.62;
	color: var(--ink-muted);
}

.hg-body-text {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.68;
	color: var(--ink-muted);
}

.hg-mono-label,
.hg-eyebrow {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-bronze);
}

/* ==========================================================================
   SEAMLESS FULL-BLEED CANVAS & CONTAINERS (NO BORDERS / NO HR)
   ========================================================================== */

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

.hg-section {
	position: relative;
	width: 100%;
	padding-block: var(--section-pad);
}

.hg-section--cream {
	background-color: var(--bg-cream);
}

.hg-section--sand {
	background-color: var(--bg-sand);
}

.hg-section-head {
	max-width: 780px;
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.hg-section-head .hg-mono-label {
	margin-bottom: 0.9rem;
}

/* ==========================================================================
   BUTTONS, PILLS & TAPERED HAIRLINE LINKS
   ========================================================================== */

.hg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-height: 46px;
	padding: 0.85rem 1.85rem;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.92rem;
	letter-spacing: -0.01em;
	transition: transform var(--duration-ui) var(--ease-editorial),
		background-color var(--duration-ui) ease,
		color var(--duration-ui) ease,
		opacity var(--duration-ui) ease;
	will-change: transform;
}

.hg-btn--primary {
	background-color: var(--ink-primary);
	color: var(--bg-cream);
}

.hg-btn--primary:hover,
.hg-btn--primary:focus-visible {
	background-color: var(--accent-bronze-deep);
	color: var(--bg-cream);
}

.hg-btn--secondary {
	background-color: var(--bg-sand-deep);
	color: var(--ink-primary);
}

.hg-btn--secondary:hover,
.hg-btn--secondary:focus-visible {
	background-color: var(--ink-primary);
	color: var(--bg-cream);
}

.hg-btn--ghost {
	padding-inline: 0.25rem;
	background-color: transparent;
	color: var(--ink-primary);
}

.hg-btn--ghost:hover .hg-arrow {
	transform: translateY(3px);
}

.hg-btn--full {
	width: 100%;
}

/* Weighted 180deg Two-Sided Espresso-to-Bronze 3D Pill Flip */
.hg-btn--flip-pill {
	padding: 0;
	background-color: transparent;
	perspective: 720px;
}

.hg-btn--flip-pill:hover,
.hg-btn--flip-pill:focus-visible {
	background-color: transparent;
}

.hg-pill-3d {
	position: relative;
	display: inline-grid;
	width: 100%;
	transform-style: preserve-3d;
	transition: transform 0.56s var(--ease-editorial);
	will-change: transform;
}

.hg-pill-3d__face {
	grid-area: 1 / 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.85rem 1.85rem;
	border-radius: 999px;
	color: var(--bg-cream);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.hg-pill-3d__face--front {
	background-color: var(--ink-primary);
}

.hg-pill-3d__face--back {
	background-color: var(--accent-bronze-deep);
	transform: rotateX(180deg);
}

.hg-btn--flip-pill:hover .hg-pill-3d,
.hg-btn--flip-pill:focus-visible .hg-pill-3d {
	transform: rotateX(180deg);
}

.hg-arrow {
	display: inline-block;
	transition: transform 0.3s var(--ease-editorial);
}

.hg-tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.hg-tag {
	display: inline-block;
	padding: 0.38rem 0.85rem;
	border-radius: 999px;
	background-color: var(--bg-cream);
	color: var(--ink-muted);
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
}

.hg-section--cream .hg-tag {
	background-color: var(--bg-sand);
}

/* Tapered Hairline Link Utility */
.hg-link-taper {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-block: 0.45rem;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.94rem;
	color: var(--ink-primary);
	transition: color 0.3s ease;
}

.hg-link-taper::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.35rem;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(30, 27, 24, 0) 0%,
		rgba(30, 27, 24, 0.35) 22%,
		rgba(30, 27, 24, 0.85) 50%,
		rgba(30, 27, 24, 0.35) 78%,
		rgba(30, 27, 24, 0) 100%
	);
	transform: scaleX(0);
	transform-origin: center;
	opacity: 0;
	transition: transform 0.45s var(--ease-editorial), opacity 0.32s ease;
}

.hg-link-taper:hover::after,
.hg-link-taper:focus-visible::after,
.hg-link-taper.is-active::after {
	transform: scaleX(1);
	opacity: 1;
}

/* ==========================================================================
   SMART AUTO-HIDING HEADER & TAPERED HAIRLINE ACTIVE NAV
   ========================================================================== */

.hg-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding-top: env(safe-area-inset-top, 0px);
	background-color: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.48s var(--ease-editorial),
		transform 0.52s var(--ease-editorial),
		background-color 0.45s ease;
	will-change: opacity, transform;
}

.hg-header.is-scrolled {
	background-color: var(--surface-glass);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.hg-header.is-hidden {
	opacity: 0;
	transform: translateY(-14px);
	pointer-events: none;
}

/* Header hidden state handled above with smooth opacity + subtle lift */

.hg-header__inner {
	max-width: var(--container-max);
	height: var(--header-h);
	margin-inline: auto;
	padding-inline: var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.hg-brand {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.hg-brand__wordmark {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.14em;
	color: var(--ink-primary);
}

.hg-brand__logo {
	height: 30px;
	width: auto;
}

.hg-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 2.75rem);
	list-style: none;
}

.hg-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-block: 0.5rem;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.92rem;
	color: var(--ink-muted);
	transition: color 0.3s ease;
}

.hg-nav__link:hover,
.hg-nav__link:focus-visible,
.hg-nav__link.is-active {
	color: var(--accent-bronze-deep);
}

/* Ultra-thin 1px Razor-Sharp Tapered Hairline Underline */
.hg-nav__link::after {
	content: '';
	position: absolute;
	left: -4%;
	right: -4%;
	bottom: 0.42rem;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(154, 123, 79, 0) 0%,
		rgba(154, 123, 79, 0.45) 22%,
		rgba(123, 96, 58, 0.92) 50%,
		rgba(154, 123, 79, 0.45) 78%,
		rgba(154, 123, 79, 0) 100%
	);
	transform: scaleX(0);
	transform-origin: center;
	opacity: 0;
	transition: transform 0.48s var(--ease-editorial), opacity 0.32s ease;
}

.hg-nav__link:hover::after,
.hg-nav__link:focus-visible::after,
.hg-nav__link.is-active::after {
	transform: scaleX(1);
	opacity: 1;
}

.hg-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hg-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 7px;
	width: 44px;
	height: 44px;
	background-color: transparent;
}

.hg-burger__line {
	display: block;
	width: 24px;
	height: 1.5px;
	background-color: var(--ink-primary);
	transition: transform 0.3s var(--ease-editorial);
}

/* Full-Screen Mobile Navigation Overlay */
.hg-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 200;
	background-color: #FCFBF9;
	color: #1E1B18;
	height: 100dvh;
	padding-top: env(safe-area-inset-top, 0px);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	transition: opacity 0.38s var(--ease-editorial),
		transform 0.38s var(--ease-editorial),
		visibility 0.38s;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.hg-mobile-nav.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.hg-mobile-nav__inner {
	min-height: 100%;
	padding: 1.25rem var(--gutter) 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2.5rem;
}

.hg-mobile-nav__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
}

.hg-mobile-nav__close {
	position: relative;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hg-mobile-nav__close span {
	position: absolute;
	width: 22px;
	height: 1.5px;
	background-color: var(--ink-primary);
}

.hg-mobile-nav__close span:first-child {
	transform: rotate(45deg);
}

.hg-mobile-nav__close span:last-child {
	transform: rotate(-45deg);
}

.hg-mobile-nav__links {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
}

.hg-mobile-nav__link {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: 1rem;
	min-height: 52px;
	padding-block: 0.65rem;
	width: fit-content;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.45s var(--ease-editorial), transform 0.45s var(--ease-editorial);
	transition-delay: calc(var(--stagger, 0) * 75ms + 80ms);
}

.hg-mobile-nav.is-open .hg-mobile-nav__link {
	opacity: 1;
	transform: translateY(0);
}

.hg-mobile-nav__text {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.75rem, 7vw, 2.5rem);
	letter-spacing: -0.025em;
	color: var(--ink-muted);
}

.hg-mobile-nav__link.is-active .hg-mobile-nav__text,
.hg-mobile-nav__link:hover .hg-mobile-nav__text {
	color: var(--accent-bronze-deep);
}

.hg-mobile-nav__link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.25rem;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(154, 123, 79, 0) 0%,
		rgba(154, 123, 79, 0.45) 22%,
		rgba(123, 96, 58, 0.92) 50%,
		rgba(154, 123, 79, 0.45) 78%,
		rgba(154, 123, 79, 0) 100%
	);
	transform: scaleX(0);
	transform-origin: center;
	opacity: 0;
	transition: transform 0.45s var(--ease-editorial), opacity 0.3s ease;
}

.hg-mobile-nav__link.is-active::after,
.hg-mobile-nav__link:hover::after {
	transform: scaleX(1);
	opacity: 1;
}

.hg-mobile-nav__footer {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hg-mobile-nav__meta {
	font-family: var(--font-display);
	font-size: 0.74rem;
	letter-spacing: 0.12em;
	color: var(--ink-muted);
	text-align: center;
}

/* ==========================================================================
   HOME HERO (FULL-BLEED CAMPAIGN + DIRECTIONAL FADE) & DIVISION HERO
   ========================================================================== */

.hg-hero {
	position: relative;
	min-height: 100dvh;
	padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(1.25rem, 3.2vh, 2.75rem));
	padding-bottom: clamp(2.25rem, 5vh, 4rem);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hg-hero__backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.hg-hero__bg-layer {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.75s var(--ease-editorial);
	will-change: opacity;
}

.hg-hero__bg-layer.is-active {
	opacity: 1;
}

.hg-hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}

/* Directional Warm Alabaster Fade (Left-to-Right + Bottom Seamless Melt) */
.hg-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		90deg,
		#FCFBF9 0%,
		rgba(252, 251, 249, 0.94) 34%,
		rgba(252, 251, 249, 0.62) 62%,
		rgba(252, 251, 249, 0.14) 100%
	);
}

.hg-hero__scrim::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(252, 251, 249, 0.72) 0%,
		rgba(252, 251, 249, 0) 26%,
		rgba(252, 251, 249, 0) 70%,
		#FCFBF9 100%
	);
}

.hg-hero__container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hg-hero__copy {
	max-width: 680px;
	display: flex;
	flex-direction: column;
	gap: clamp(1rem, 1.8vw, 1.5rem);
}

.hg-hero__headline {
	font-size: clamp(2.6rem, 5.5vw, 5.35rem);
	max-width: 12.5ch;
}

.hg-hero__subheadline {
	max-width: 48ch;
	color: var(--ink-primary);
	opacity: 0.78;
}

.hg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	margin-top: 0.35rem;
}

.hg-hero__practices {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
}

.hg-hero__dot {
	color: var(--accent-bronze);
	font-size: 1rem;
}

.hg-hero__practices .hg-link-taper:hover,
.hg-hero__practices .hg-link-taper:focus-visible {
	color: var(--accent-bronze-deep);
}

.hg-hero__practices .hg-link-taper::after {
	background: linear-gradient(
		90deg,
		rgba(154, 123, 79, 0) 0%,
		rgba(154, 123, 79, 0.45) 22%,
		rgba(123, 96, 58, 0.92) 50%,
		rgba(154, 123, 79, 0.45) 78%,
		rgba(154, 123, 79, 0) 100%
	);
}

.hg-division-hero__visual {
	overflow: hidden;
	border-radius: 6px;
}

.hg-division-hero__visual .hg-media-img,
.hg-division-hero__visual .hg-editorial-plate {
	transform: scale(1.06);
	transition: transform 1.1s var(--ease-editorial);
}

.hg-division-hero__visual.is-visible .hg-media-img,
.hg-division-hero__visual.is-visible .hg-editorial-plate {
	transform: scale(1);
}

/* Division Hero (Design & Consulting) */
.hg-division-hero {
	padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(3rem, 7vh, 5.5rem));
}

.hg-division-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: center;
}

.hg-division-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.hg-division-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	margin-top: 0.5rem;
}

/* Editorial Media & Architectural Plate */
.hg-media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
}

.hg-editorial-plate {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	background: linear-gradient(145deg, var(--bg-sand) 0%, var(--bg-sand-deep) 100%);
	display: flex;
	align-items: flex-end;
	padding: clamp(1.25rem, 3vw, 2rem);
	position: relative;
	overflow: hidden;
}

.hg-editorial-plate__monolith {
	position: absolute;
	top: 16%;
	right: 12%;
	width: 42%;
	height: 58%;
	border-radius: 4px;
	background: linear-gradient(180deg, rgba(154, 123, 79, 0.16) 0%, rgba(30, 27, 24, 0.05) 100%);
}

/* ==========================================================================
   INTERACTIVE DUAL-DIVISION PORTAL (EXPANDING INDEX + PURE VISUAL STAGE)
   ========================================================================== */

.hg-portal__switcher {
	display: grid;
	grid-template-columns: 0.96fr 1.04fr;
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}

.hg-portal__nav {
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 2.2vw, 1.85rem);
}

.hg-portal__item {
	position: relative;
	padding-bottom: 1.1rem;
	opacity: 0.42;
	transition: opacity 0.48s var(--ease-editorial);
}

.hg-portal__item::after {
	content: '';
	position: absolute;
	left: 0;
	right: 12%;
	bottom: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(30, 27, 24, 0) 0%,
		rgba(154, 123, 79, 0.55) 20%,
		rgba(30, 27, 24, 0.85) 55%,
		rgba(30, 27, 24, 0) 100%
	);
	transform: scaleX(1);
	opacity: 0.25;
	transition: opacity 0.48s var(--ease-editorial);
}

.hg-portal__item:hover,
.hg-portal__item.is-active {
	opacity: 1;
}

.hg-portal__item.is-active::after {
	opacity: 1;
}

.hg-portal__tab {
	display: flex;
	align-items: baseline;
	gap: 1.25rem;
	transform: translateX(0);
	transition: transform 0.48s var(--ease-editorial);
}

.hg-portal__item:hover .hg-portal__tab,
.hg-portal__item.is-active .hg-portal__tab {
	transform: translateX(6px);
}

.hg-portal__num {
	font-size: clamp(1.5rem, 2.4vw, 2.25rem);
	color: var(--accent-bronze-deep);
	line-height: 1;
	flex-shrink: 0;
}

.hg-portal__tab-body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hg-portal__tab-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.75rem, 3vw, 2.65rem);
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: var(--ink-primary);
}

.hg-portal__tab-sub {
	font-size: 0.96rem;
	color: var(--ink-muted);
}

.hg-portal__drawer {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 0.52s var(--ease-editorial), opacity 0.4s ease;
}

.hg-portal__item.is-active .hg-portal__drawer {
	grid-template-rows: 1fr;
	opacity: 1;
}

.hg-portal__drawer-inner {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.7rem;
	padding-left: clamp(2.1rem, 3.6vw, 3.25rem);
	padding-top: 0.85rem;
}

.hg-portal__caps {
	color: var(--ink-muted);
	letter-spacing: 0.14em;
}

.hg-portal__mobile-visual {
	display: none;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: 1.35rem;
}

.hg-portal__stage {
	display: grid;
	align-self: start;
}

.hg-portal__panel {
	grid-area: 1 / 1;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.65s var(--ease-editorial);
	will-change: opacity;
}

.hg-portal__panel.is-active {
	opacity: 1;
	pointer-events: auto;
}

.hg-portal__visual {
	aspect-ratio: 11 / 10;
	max-height: min(62dvh, 570px);
	width: 100%;
	overflow: hidden;
	border-radius: 6px;
}

.hg-editorial-stat__value {
	font-size: clamp(1.45rem, 2.2vw, 1.95rem);
	color: var(--accent-bronze-deep);
	line-height: 1.15;
}

.hg-portal__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
	margin-top: 0;
}

.hg-portal__links .hg-link-taper {
	min-height: 36px;
	padding-block: 0.2rem;
}

.hg-portal__links .hg-link-taper::after {
	display: none;
}

.hg-portal__links .hg-link-taper:hover,
.hg-portal__links .hg-link-taper:focus-visible {
	color: var(--accent-bronze-deep);
}

@keyframes hgFadeSlide {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hg-standard__layout {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: start;
}

.hg-standard__sticky {
	position: sticky;
	top: 18vh;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.hg-standard__lead {
	margin-top: 0.25rem;
	max-width: 44ch;
}

.hg-standard__chapters {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(4.5rem, 11vh, 8.5rem);
	padding-block: 0.5rem 2rem;
	padding-left: clamp(2.5rem, 5vw, 5rem);
}

.hg-standard__chapters::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: linear-gradient(
		180deg,
		rgba(30, 27, 24, 0) 0%,
		rgba(154, 123, 79, 0.45) 18%,
		rgba(30, 27, 24, 0.85) 50%,
		rgba(154, 123, 79, 0.45) 82%,
		rgba(30, 27, 24, 0) 100%
	);
	opacity: 0.22;
}

.hg-standard-chapter {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	opacity: 0.24;
	transform: translate3d(0, 12px, 0);
	transition: opacity 0.68s var(--ease-editorial), transform 0.68s var(--ease-editorial);
	will-change: opacity, transform;
}

.hg-standard-chapter.is-illuminated {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.hg-standard-chapter__num {
	font-size: clamp(1.85rem, 2.8vw, 2.5rem);
	line-height: 1;
	margin-bottom: 0.2rem;
}

.hg-standard-chapter__summary {
	max-width: 50ch;
	font-size: 1.06rem;
}

/* ==========================================================================
   DESIGN GROUP: PILLARS, INTERACTIVE SHOWCASE & WORKFLOW
   ========================================================================== */

.hg-pillars__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(2.5rem, 4.5vw, 4.5rem);
}

.hg-pillar-item {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.hg-showcase__list {
	display: flex;
	flex-direction: column;
	gap: clamp(4rem, 7vw, 6.5rem);
}

.hg-project__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 4.5vw, 4.5rem);
	align-items: center;
}

.hg-project__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	overflow: hidden;
}

.hg-project__primary,
.hg-project__hover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hg-project__hover {
	opacity: 0;
	transition: opacity 0.55s var(--ease-editorial);
}

.hg-project__media:hover .hg-project__hover,
.hg-project__media.is-touched .hg-project__hover {
	opacity: 1;
}

.hg-project__info {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.hg-project__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
}

.hg-project__client {
	font-size: 0.95rem;
	color: var(--ink-muted);
}

.hg-project__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	margin-top: 0.5rem;
}

.hg-project__breakdown {
	margin-top: 1.25rem;
	padding: 1.75rem;
	border-radius: 6px;
	background-color: var(--bg-sand);
	animation: hgFadeSlide 0.38s var(--ease-editorial);
}

.hg-project__breakdown[hidden] {
	display: none;
}

.hg-breakdown-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.hg-breakdown-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.hg-workflow__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.75rem, 3vw, 3rem);
}

.hg-step-item {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hg-step-item__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.hg-step-item__time {
	color: var(--ink-muted);
}

.hg-stack {
	margin-top: clamp(3.5rem, 6vw, 5rem);
}

/* ==========================================================================
   CONSULTING GROUP: KPIS, ADVISORY, OUTCOMES & ROADMAP
   ========================================================================== */

.hg-kpis__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(2rem, 3.5vw, 3.5rem);
}

.hg-kpi {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.hg-kpi__value {
	display: flex;
	align-items: baseline;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.4rem, 4.2vw, 3.8rem);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--ink-primary);
}

.hg-kpi__affix {
	color: var(--accent-bronze);
}

.hg-kpi__label {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--ink-primary);
	margin-top: 0.35rem;
}

.hg-kpi__context {
	font-size: 0.9rem;
	color: var(--ink-muted);
}

.hg-advisory__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2rem, 4vw, 3.75rem);
}

.hg-advisory-item {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hg-advisory-item__sub {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--accent-bronze-deep);
}

.hg-outcomes__list {
	display: flex;
	flex-direction: column;
	gap: clamp(3rem, 5vw, 4.5rem);
}

.hg-outcome {
	padding: clamp(1.75rem, 3.5vw, 3rem);
	border-radius: 8px;
	background-color: var(--bg-sand-deep);
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.hg-outcome__header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.hg-roadmap__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.hg-roadmap-step {
	text-align: left;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	border-radius: 8px;
	background-color: var(--bg-sand);
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	transition: background-color 0.35s ease, transform 0.35s var(--ease-editorial);
}

.hg-roadmap-step.is-active,
.hg-roadmap-step:hover {
	background-color: var(--bg-sand-deep);
	transform: translateY(-4px);
}

.hg-roadmap-step__top {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.hg-roadmap-step__time {
	color: var(--ink-muted);
}

.hg-roadmap-step__output {
	margin-top: auto;
	padding-top: 0.75rem;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.74rem;
	letter-spacing: 0.06em;
	color: var(--accent-bronze-deep);
}

/* ==========================================================================
   CONVERSION BAND & PRIVACY PAGE
   ========================================================================== */

.hg-cta-band__inner {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.hg-privacy {
	padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(3rem, 7vh, 5.5rem));
}

.hg-privacy__container {
	max-width: 820px;
}

.hg-privacy__header {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 3rem;
}

.hg-prose p {
	margin-bottom: 1.45rem;
	color: var(--ink-muted);
	font-size: 1.05rem;
	line-height: 1.78;
}

/* ==========================================================================
   ARCHITECTURAL FOOTER (TWO-TIER DESKTOP & 2-COL MOBILE)
   ========================================================================== */

.hg-footer {
	--footer-progress: 0;
	--footer-inset: calc((1 - var(--footer-progress)) * clamp(14px, 4.5vw, 68px));
	--footer-radius: calc((1 - var(--footer-progress)) * clamp(26px, 3.6vw, 48px));
	padding-top: clamp(5rem, 10vw, 8.5rem);
	padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
	background-color: #2E2823;
	color: #FCFBF9;
	clip-path: inset(0 var(--footer-inset) 0 var(--footer-inset) round var(--footer-radius) var(--footer-radius) 0 0);
	will-change: clip-path;
}

@media (prefers-reduced-motion: reduce) {
	.hg-footer {
		--footer-progress: 0;
		will-change: auto;
	}
}

.hg-footer .hg-mono-label {
	color: #C9AB81;
}

.hg-footer .hg-footer__rotator-line {
	color: #FCFBF9;
}

.hg-footer .hg-rotator__word {
	color: #C9AB81;
}

.hg-footer .hg-link-taper {
	color: rgba(252, 251, 249, 0.86);
	font-size: 0.94rem;
	text-align: left;
}

.hg-footer .hg-link-taper:hover,
.hg-footer .hg-link-taper:focus-visible {
	color: #C9AB81;
}

.hg-footer .hg-link-taper::after {
	background: linear-gradient(
		90deg,
		rgba(252, 251, 249, 0) 0%,
		rgba(201, 171, 129, 0.55) 22%,
		rgba(252, 251, 249, 0.92) 50%,
		rgba(201, 171, 129, 0.55) 78%,
		rgba(252, 251, 249, 0) 100%
	);
}

.hg-footer .hg-pill-3d__face--front {
	background-color: #FCFBF9;
	color: #1E1B18;
}

.hg-footer .hg-pill-3d__face--back {
	background-color: #9A7B4F;
	color: #FCFBF9;
}

.hg-footer .hg-footer__oversized {
	color: rgba(252, 251, 249, 0.14);
}

.hg-footer .hg-footer__copy {
	color: rgba(252, 251, 249, 0.6);
}

.hg-footer__top {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: clamp(2rem, 4.5vw, 4.5rem);
	align-items: start;
	margin-bottom: clamp(4rem, 7vw, 6.5rem);
}

.hg-footer__statement {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.15rem;
}

.hg-footer__rotator-line {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2rem, 4.3vw, 3.65rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: var(--ink-primary);
}

.hg-rotator {
	display: block;
	position: relative;
	overflow: hidden;
	margin-top: 0.06em;
	min-height: 1.22em;
	padding-bottom: 0.18em;
	margin-bottom: -0.18em;
	padding-right: 0.1em;
}

.hg-rotator__word {
	display: inline-block;
	color: var(--accent-bronze-deep);
	opacity: 0;
	transform: translateY(55%);
	transition: transform 0.52s var(--ease-editorial), opacity 0.42s ease;
	will-change: transform, opacity;
}

.hg-rotator__word.is-active {
	opacity: 1;
	transform: translateY(0);
}

.hg-rotator__word.is-leaving {
	opacity: 0;
	transform: translateY(-55%);
}

.hg-footer__columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2.5rem);
	width: 100%;
	padding-top: 0.25rem;
}

.hg-footer__col .hg-mono-label {
	margin-bottom: 0.85rem;
}

.hg-footer__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.hg-footer__monolith {
	margin-block: clamp(4rem, 8vw, 7rem) clamp(2rem, 4vw, 3rem);
	overflow: hidden;
	text-align: center;
}

.hg-footer__oversized {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.4rem, 12.6vw, 11.8rem);
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: var(--ink-primary);
	white-space: nowrap;
	user-select: none;
}

.hg-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem 2rem;
	padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.hg-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(201, 171, 129, 0) 0%,
		rgba(201, 171, 129, 0.22) 18%,
		rgba(201, 171, 129, 0.42) 50%,
		rgba(201, 171, 129, 0.22) 82%,
		rgba(201, 171, 129, 0) 100%
	);
	pointer-events: none;
}

.hg-footer__colophon-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.75rem;
}

.hg-footer__copy {
	font-size: 0.86rem;
	color: var(--ink-muted);
}

/* ==========================================================================
   SLIDE-OVER PROJECT SCOPING DRAWER (AJAX)
   ========================================================================== */

.hg-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 290;
	background-color: var(--backdrop-umber);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	touch-action: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.38s ease, visibility 0.38s;
}

.hg-drawer-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.hg-drawer {
	position: fixed;
	top: 14px;
	right: 14px;
	bottom: 14px;
	z-index: 300;
	width: min(560px, calc(100vw - 28px));
	height: calc(100dvh - 28px);
	border-radius: 24px;
	background-color: #FCFBF9;
	color: #1E1B18;
	box-shadow: 0 28px 80px rgba(30, 27, 24, 0.24), 0 0 0 1px rgba(154, 123, 79, 0.14);
	transform: translateX(calc(100% + 28px));
	transition: transform 0.48s var(--ease-editorial);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	will-change: transform;
}

.hg-drawer.is-open {
	transform: translateX(0);
}

@media (max-width: 640px) {
	.hg-drawer {
		top: 0;
		right: 0;
		bottom: 0;
		width: 100vw;
		height: 100dvh;
		border-radius: 0;
		padding-top: env(safe-area-inset-top, 0px);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		transform: translateX(102%);
	}
}

.hg-drawer__inner {
	padding: clamp(1.75rem, 4vw, 2.75rem);
	display: flex;
	flex-direction: column;
	gap: 1.85rem;
}

.hg-drawer__header {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	padding-bottom: 1.5rem;
}

.hg-drawer__header .hg-display-sm {
	font-size: clamp(1.9rem, 3vw, 2.35rem);
	line-height: 1.08;
}

.hg-drawer__header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: rgba(30, 27, 24, 0.12);
	transform: scaleY(0.5);
	transform-origin: bottom;
	pointer-events: none;
}

.hg-drawer__progress {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 1px;
	width: 50%;
	background: linear-gradient(90deg, var(--accent-bronze-deep), var(--accent-bronze));
	transform: scaleY(0.5);
	transform-origin: bottom;
	transition: width 0.45s var(--ease-editorial);
	z-index: 1;
}

.hg-drawer[data-step="2"] .hg-drawer__progress {
	width: 100%;
}

.hg-drawer__steps-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.hg-drawer__step-tag.is-current {
	color: var(--accent-bronze-deep);
	font-weight: 500;
}

.hg-drawer__subtitle {
	margin-top: 0.55rem;
	font-size: 0.94rem;
	line-height: 1.5;
	color: var(--ink-muted);
}

.hg-drawer__close {
	position: relative;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: var(--bg-sand-deep);
	transition: background-color 0.3s ease, transform 0.35s var(--ease-editorial);
}

.hg-drawer__close:hover,
.hg-drawer__close:focus-visible {
	background-color: var(--ink-primary);
	transform: rotate(90deg);
}

.hg-drawer__close span {
	position: absolute;
	width: 16px;
	height: 1.5px;
	background-color: var(--ink-primary);
	transition: background-color 0.3s ease;
}

.hg-drawer__close:hover span,
.hg-drawer__close:focus-visible span {
	background-color: #FCFBF9;
}

.hg-drawer__close span:first-child {
	transform: rotate(45deg);
}

.hg-drawer__close span:last-child {
	transform: rotate(-45deg);
}

.hg-drawer__form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.hg-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.hg-form-group {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.hg-form-label {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.hg-drawer__step {
	display: flex;
	flex-direction: column;
	gap: 1.65rem;
}

#hgDrawerStep2.hg-drawer__step {
	gap: 1.25rem;
}

.hg-drawer__step[hidden] {
	display: none;
}

.hg-drawer__step-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
}

.hg-drawer__back {
	font-size: 0.85rem;
	color: var(--ink-muted);
	padding-block: 0.25rem;
}

.hg-drawer__back:hover,
.hg-drawer__back:focus-visible {
	color: var(--accent-bronze-deep);
}

.hg-drawer__summary {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-bronze-deep);
}

.hg-seg-group {
	display: grid;
	gap: 0.65rem;
}

.hg-seg-group--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hg-seg-group--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hg-seg-btn {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.25rem;
	min-height: 46px;
	padding: 0.65rem 0.75rem;
	border: 0;
	border-radius: 6px 6px 0 0;
	background-color: transparent;
	color: var(--ink-muted);
	font-size: 0.9rem;
	font-weight: 500;
	text-align: left;
	line-height: 1.25;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.hg-seg-btn::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background-color: rgba(30, 27, 24, 0.12);
	transform: scaleY(0.5);
	transform-origin: bottom;
	transition: background-color 0.25s ease;
	pointer-events: none;
}

.hg-seg-btn:hover {
	color: var(--ink-primary);
	background-color: rgba(242, 239, 233, 0.45);
}

.hg-seg-btn:hover::after {
	background-color: rgba(154, 123, 79, 0.55);
}

.hg-seg-btn.is-selected {
	background-color: rgba(242, 239, 233, 0.9);
	color: var(--accent-bronze-deep);
}

.hg-seg-btn.is-selected::after {
	background-color: var(--accent-bronze-deep);
}

.hg-seg-btn__num {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 0.96rem;
	color: rgba(123, 96, 58, 0.65);
	line-height: 1;
	transition: color 0.25s ease;
}

.hg-seg-btn.is-selected .hg-seg-btn__num {
	color: var(--accent-bronze-deep);
}

@media (max-width: 520px) {
	.hg-seg-group--3 {
		grid-template-columns: 1fr;
	}
}

.hg-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem 1.5rem;
}

.hg-field {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.hg-field::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background-color: rgba(30, 27, 24, 0.14);
	transform: scaleY(0.5);
	transform-origin: bottom;
	transition: background-color 0.25s ease;
	pointer-events: none;
}

.hg-field:focus-within::after {
	background-color: var(--accent-bronze-deep);
}

.hg-field label {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-muted);
	transition: color 0.25s ease;
}

.hg-field:focus-within label {
	color: var(--accent-bronze-deep);
}

.hg-field input,
.hg-field textarea {
	width: 100%;
	min-height: 42px;
	padding: 0.55rem 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	color: #1E1B18;
	font-size: 0.96rem;
}

.hg-field input::placeholder,
.hg-field textarea::placeholder {
	color: rgba(110, 104, 95, 0.55);
}

.hg-field input:focus,
.hg-field textarea:focus {
	outline: none;
}

.hg-drawer__status {
	font-size: 0.9rem;
	color: var(--accent-bronze-deep);
}

.hg-drawer__status:empty {
	display: none;
}

.hg-drawer__reassurance {
	font-size: 0.85rem;
	color: var(--ink-muted);
	text-align: center;
	margin-top: -0.5rem;
}

.hg-drawer__success {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
	padding-block: 2rem;
}

.hg-drawer__success[hidden] {
	display: none;
}

/* ==========================================================================
   KINETIC & SCROLL REVEAL MOTION (GPU-COMPOSITED ONLY)
   ========================================================================== */

[data-reveal],
[data-kinetic] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity var(--duration-reveal) var(--ease-editorial),
		transform var(--duration-reveal) var(--ease-editorial);
	will-change: opacity, transform;
}

.hg-hero [data-reveal],
.hg-hero [data-kinetic],
.hg-division-hero [data-reveal],
.hg-division-hero [data-kinetic],
[data-reveal].is-visible,
[data-kinetic].is-visible {
	opacity: 1;
	transform: translateY(0);
	will-change: auto;
}

.hg-word-wrap {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.22em;
	margin-bottom: -0.18em;
	padding-right: 0.08em;
	margin-right: -0.08em;
}

.hg-word {
	display: inline-block;
	transform: translateY(108%);
	opacity: 0;
	transition: transform 0.78s var(--ease-editorial), opacity 0.6s ease;
	transition-delay: calc(var(--word-index, 0) * 42ms);
}

.is-visible .hg-word {
	transform: translateY(0);
	opacity: 1;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET, iOS SAFARI & ANDROID CHROME)
   ========================================================================== */

@media (max-width: 1024px) {
	.hg-division-hero__grid,
	.hg-portal__switcher,
	.hg-standard__layout,
	.hg-project__grid,
	.hg-footer__top {
		grid-template-columns: 1fr;
	}

	.hg-standard__sticky {
		position: static;
	}

	.hg-standard__chapters {
		padding-left: 0;
	}

	.hg-standard__chapters::before {
		display: none;
	}

	.hg-advisory__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hg-workflow__grid,
	.hg-kpis__grid,
	.hg-roadmap__grid,
	.hg-breakdown-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	:root {
		--header-h: 68px;
	}

	.hg-portal__stage {
		display: none;
	}

	.hg-portal__mobile-visual {
		display: block;
	}

	.hg-portal__item {
		opacity: 1;
	}

	.hg-portal__drawer {
		grid-template-rows: 1fr;
		opacity: 1;
	}

	.hg-portal__drawer-inner {
		padding-left: 0;
	}

	.hg-hero__scrim {
		background: linear-gradient(
			180deg,
			rgba(252, 251, 249, 0.88) 0%,
			rgba(252, 251, 249, 0.78) 55%,
			#FCFBF9 100%
		);
	}

	.hg-nav,
	.hg-header__cta {
		display: none;
	}

	.hg-burger {
		display: flex;
	}

	.hg-pillars__grid,
	.hg-advisory__grid,
	.hg-workflow__grid,
	.hg-kpis__grid,
	.hg-roadmap__grid,
	.hg-breakdown-grid,
	.hg-form-grid {
		grid-template-columns: 1fr;
	}

	.hg-footer__columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.25rem 1.5rem;
	}

	.hg-footer__col--engage {
		grid-column: 1 / -1;
	}

	.hg-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.65rem;
	}

	.hg-hero__actions .hg-btn,
	.hg-division-hero__actions .hg-btn {
		width: 100%;
	}
}

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

	[data-reveal],
	[data-kinetic],
	.hg-word {
		opacity: 1 !important;
		transform: none !important;
	}
}
