/* ============================================================================
   DDI · Service Grid — the Services HERO + areas.
   The hero has two treatments, picked per-block via the Services Hero block's
   "Surface" option (variant attribute):
     • DARK  (default) – brand navy overlay, white text. The original look,
       still the block default so any reuse stays navy.
     • LIGHT (.service-grid--hero--light) – dark-on-off-white, matching the
       /apply/ light page-hero. The header flips to dark text via the
       `has-light-hero` body class (functions.php detects the --light class).
   Then three white "areas of expertise" blocks. The "Browse by role" popup
   mirrors the /register/ "Speak Directly" modal and searches a role index.
   ============================================================================ */

.service-grid--hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--ddi-white);
	overflow: hidden;
	/* Extra foot of navy so the edge-to-edge card band can rise UP onto it. */
	padding: clamp(120px, 12vw, 168px) clamp(20px, 5vw, 60px) clamp(200px, 18vw, 260px);
	background: var(--ddi-deep-navy);
}

/* Background image + site-standard dark hero treatment (matches .page-hero--dark):
   a heavy navy diagonal so the photo reads as quiet texture, not a feature. */
.service-hero__bg { position: absolute; inset: 0; z-index: 0; }
.service-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.service-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(140deg, rgba(26, 39, 68, 0.88) 0%, rgba(15, 23, 42, 0.90) 100%);
}

.service-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
}

.service-grid--hero .service-grid__eyebrow {
	color: var(--ddi-gold) !important;
	margin: 0 0 20px;
}
.service-grid--hero .service-grid__heading {
	font-family: var(--ddi-font-display);
	font-style: normal;
	font-weight: 300;
	font-size: clamp(34px, 4.6vw, 60px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--ddi-white);
	margin: 0 0 clamp(22px, 2.6vw, 32px);
	text-shadow: 0 2px 30px rgba(15, 23, 42, 0.4);
}
.service-hero__summary {
	max-width: 620px;
	margin: 0 auto clamp(32px, 3.6vw, 44px);
	font-family: var(--ddi-font-body);
	font-weight: 300;
	font-size: clamp(15px, 1.4vw, 17px);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
}

/* ---- Hero CTAs: primary "Explore areas" + ghost "Browse by role" ---- */
.service-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
.service-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 36px;
	font-family: var(--ddi-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.service-hero__btn svg { width: 16px; height: 16px; }
.service-hero__btn--primary {
	background: var(--ddi-gold);
	color: var(--ddi-deep-navy);
	border: 1px solid var(--ddi-gold);
}
.service-hero__btn--primary:hover {
	/* Match .btn--gold: invert to a gold outline with gold-mid label. */
	background: transparent;
	border-color: var(--ddi-gold);
	color: var(--ddi-gold-mid);
}
/* The services hero is a dark section that sets `-webkit-text-fill-color:#fff`
   on links (inherited from the parent theme), which overrides `color` for the
   rendered glyphs. Reset BOTH so the primary CTA keeps its navy-on-gold label. */
.service-grid--hero .service-hero__btn--primary {
	color: var(--ddi-deep-navy);
	-webkit-text-fill-color: var(--ddi-deep-navy);
}
.service-grid--hero .service-hero__btn--primary:hover {
	color: var(--ddi-gold-mid);
	-webkit-text-fill-color: var(--ddi-gold-mid);
}
.service-hero__btn--ghost {
	background: transparent;
	color: var(--ddi-white);
	border: 1px solid rgba(255, 255, 255, 0.5);
}
.service-hero__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--ddi-white);
}

/* Scroll cue — sits in the deep navy below the buttons (above the card
   overlap zone), gently bobbing. Positioned via vh so it tracks 100vh hero. */
.service-hero__cue {
	position: absolute;
	left: 50%;
	bottom: clamp(80px, 9vh, 110px);
	transform: translateX(-50%);
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	animation: ddiCueBob 2.6s ease-in-out infinite;
	transition: color 0.3s ease;
}
.service-hero__cue:hover { color: var(--ddi-white); }
.service-hero__cue svg { width: 22px; height: 22px; }
@keyframes ddiCueBob {
	0%, 100% { transform: translate(-50%, 0); opacity: 0.55; }
	50%      { transform: translate(-50%, 8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.service-hero__cue { animation: none; }
}


/* ============================================================================
   LIGHT treatment — Services Hero block "Surface" = Light. Dark-on-off-white,
   mirroring .page-hero--light (/apply/). Only the .service-grid--hero--light
   instance flips; the bare .service-grid--hero default stays navy. The site
   header text flips to dark via the `has-light-hero` body class, which
   functions.php adds when the page content carries `service-grid--hero--light`.
   ============================================================================ */
.service-grid--hero--light {
	color: var(--ddi-midnight);
	/* off-white surface + soft cool-grey wash + faint warm gold radial top-right */
	background:
		radial-gradient(ellipse at 80% 20%, rgba(209, 180, 133, 0.08) 0%, transparent 55%),
		linear-gradient(180deg, var(--ddi-off-white) 0%, var(--ddi-cool-grey) 100%);
}
/* No image → transparent overlay so the light surface reads clean. With an
   image set, drop a heavy off-white wash over it (barely-there warmth). */
.service-grid--hero--light .service-hero__overlay { background: transparent; }
.service-grid--hero--light:has(.service-hero__bg img) .service-hero__overlay {
	background: linear-gradient(180deg, rgba(248, 246, 242, 0.90) 0%, rgba(243, 244, 246, 0.92) 100%);
}
.service-grid--hero--light .service-grid__eyebrow { color: var(--ddi-gold-mid) !important; }
.service-grid--hero--light .service-grid__heading {
	color: var(--ddi-midnight);
	text-shadow: none;
}
.service-grid--hero--light .service-hero__summary { color: var(--ddi-body-text); }
/* Ghost / secondary CTA → dark outline (like /apply/'s "Read our faqs"). */
.service-grid--hero--light .service-hero__btn--ghost {
	color: var(--ddi-deep-navy);
	-webkit-text-fill-color: var(--ddi-deep-navy);
	border-color: rgba(26, 39, 68, 0.45);
}
.service-grid--hero--light .service-hero__btn--ghost:hover {
	background: var(--ddi-deep-navy);
	border-color: var(--ddi-deep-navy);
	color: var(--ddi-white);
	-webkit-text-fill-color: var(--ddi-white);
}
/* Scroll cue → dark on the light surface. */
.service-grid--hero--light .service-hero__cue { color: rgba(26, 39, 68, 0.45); }
.service-grid--hero--light .service-hero__cue:hover { color: var(--ddi-deep-navy); }


/* ---- Pin wrapper. The sticky inner pins for ~120vh of scroll. Inside,
       the intro stays at the top and the cards sequence in BELOW it as the
       user scrolls through the pin (rAF drives the per-card translateY). ---- */
.service-areas-scroll {
	position: relative;
	/* --ec-bg = the Expertise-Cards "Background" control (block bgColor). Falls
	   back to white. Set on the wrapper only — the cards' own --ddi-white text
	   stays untouched. */
	background: var(--ec-bg, var(--ddi-white));
	height: 180vh;                /* 80vh of pin distance after sticky engages */
}
.service-areas {
	position: sticky;
	/* Pin sits below the fixed header so the nav stays visible above the
	   pinned section throughout the rise + held pause. */
	top: var(--ddi-header-h-scrolled, 72px);
	height: calc(100vh - var(--ddi-header-h-scrolled, 72px));
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--ec-bg, var(--ddi-white));
}
.service-areas-intro {
	flex-shrink: 0;
	padding: clamp(48px, 5vw, 84px) clamp(24px, 5vw, 60px) clamp(28px, 3vw, 44px);
	text-align: center;
}
.service-areas-intro__text {
	max-width: 720px;
	margin: 0 auto;
	font-family: var(--ddi-font-body);
	font-weight: 300;
	font-size: clamp(15px, 1.4vw, 17.5px);
	line-height: 1.75;
	color: var(--ddi-body-text);
}
.service-areas__grid {
	flex: 1 1 auto;                          /* fills 100vh – intro height */
	min-height: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	background: var(--ec-bg, var(--ddi-white)); /* the chosen surface shows through wherever cards aren't */
	width: 100%;
}
@media (max-width: 1023px) {
	.service-areas-scroll { height: auto; }
	.service-areas { position: static; height: auto; display: block; }
	.service-areas__grid { flex: none; min-height: 380px; }
}

/* ---- Buff role band — revealed underneath the cards as the pin releases.
       Carries the "Browse by role" CTA into normal flow scroll. ---- */
.service-roles-band {
	background: var(--ddi-off-white);
	padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 60px);
}
.service-roles-band__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}
.service-roles-band__eyebrow {
	color: var(--ddi-gold-mid) !important;
	margin: 0 0 18px;
}
.service-roles-band__heading {
	font-family: var(--ddi-font-display);
	font-style: normal;
	font-weight: 300;
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--ddi-midnight);
	margin: 0 0 22px;
}
.service-roles-band__intro {
	font-family: var(--ddi-font-body);
	font-weight: 300;
	font-size: clamp(15px, 1.4vw, 17px);
	line-height: 1.7;
	color: var(--ddi-body-text);
	margin: 0 auto clamp(28px, 3.4vw, 40px);
	max-width: 540px;
}
.service-roles-band__btn {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	padding: 16px 30px;
	background: transparent;
	border: 1px solid rgba(26, 39, 68, 0.45);
	color: var(--ddi-deep-navy);
	font-family: var(--ddi-font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.service-roles-band__btn svg {
	width: 16px;
	height: 16px;
	color: var(--ddi-gold-mid);
	transition: color 0.3s ease;
}
.service-roles-band__btn:hover {
	background: var(--ddi-deep-navy);
	border-color: var(--ddi-deep-navy);
	color: var(--ddi-white);
}
.service-roles-band__btn:hover svg { color: var(--ddi-gold-light, #e3c7a3); }
@media (max-width: 768px) {
	.service-roles-band { padding: 64px 22px; }
	.service-roles-band__btn { padding: 14px 24px; font-size: 11px; }
}
.service-area {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: calc(100% + 1px);
	height: 100%;                /* full sticky height = 100vh per card */
	background: var(--ddi-deep-navy);
	text-decoration: none;
	color: var(--ddi-white);
	overflow: hidden;
	isolation: isolate;
}
.service-area__bg {
	position: absolute;
	/* Extra height + top offset gives the GSAP per-card drift (up to 100px)
	   slack above + below the visible card without exposing image edges. */
	top: -15%;
	left: 0;
	right: 0;
	height: 130%;
	z-index: 0;
	overflow: hidden;
}
.service-area__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	will-change: transform;
}

/* Brand-tonal overlay: a touch darker overall — image still reads,
   but the cards register more as a deliberate moody band than a photo gallery. */
.service-area__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(180deg,
			rgba(15, 23, 42, 0.34) 0%,
			rgba(15, 23, 42, 0.56) 36%,
			rgba(15, 23, 42, 0.88) 76%,
			rgba(15, 23, 42, 0.96) 100%),
		linear-gradient(140deg, rgba(26, 39, 68, 0.42) 0%, rgba(15, 23, 42, 0.18) 100%);
	transition: opacity 0.5s ease;
}
.service-area:hover .service-area__overlay { opacity: 0.75; }

.service-area__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(26px, 2.6vw, 36px) clamp(24px, 2.4vw, 34px) clamp(28px, 3vw, 38px);
}
.service-area__num {
	font-family: var(--ddi-font-display);
	font-weight: 300;
	font-size: clamp(28px, 2.6vw, 38px);
	line-height: 1;
	color: var(--ddi-gold);
	margin-bottom: 6px;
}
.service-area__title {
	font-family: var(--ddi-font-display);
	font-style: normal;
	font-weight: 300;
	font-size: clamp(25px, 2.4vw, 32px);
	line-height: 1.18;
	color: var(--ddi-white);
	margin: 0;
	/* Reserve two lines of title space AND bottom-align so single-line
	   titles ("Childcare & Education", "Family Office & Lifestyle") sit at
	   the same vertical baseline as the last line of two-line titles
	   ("Private Household Management"). */
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: calc(1.18em * 2);
}
.service-area__blurb {
	font-family: var(--ddi-font-body);
	font-weight: 300;
	font-size: 15.5px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
	/* Slight negative top keeps the summary (and roles + Explore below it) nudged
	   up, while still leaving a small gap under the title. */
	margin: -2px 0 0;
	/* Reserve 3 lines so shorter blurbs don't collapse the content height. */
	min-height: calc(1.65em * 3);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
/* The roles each area covers — the seeker's scan target, quiet and
   typographically demoted under a hairline rule. */
.service-area__roles {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.20);
	font-family: var(--ddi-font-body);
	font-weight: 300;
	font-size: 13.5px;
	line-height: 1.7;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.66);
	/* Fixed total height: 14px padding-top + 1px border + 2 × line (13.5 × 1.7
	   ≈ 22.95) ≈ 62px. Locks all three cards' roles strip to the same height so
	   the 01/02/03 numerals and titles above sit at identical vertical positions. */
	min-height: 62px;
	box-sizing: border-box;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.service-area__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	font-family: var(--ddi-font-ui);
	font-size: 13px;        /* matched to the normal .btn label size */
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ddi-gold);
}
.service-area__more svg { width: 16px; height: 16px; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.service-area:hover .service-area__more svg { transform: translateX(6px); }

/* Hover-armed gate. When .ddi-hover-suppressed is set on the wrapper (no
   pointer movement since the last scroll — e.g. right after the hero "Explore
   our services" button smooth-scrolls down here), neutralise the hover state so
   a card the cursor happens to land on doesn't pre-highlight. Cleared on the
   next pointermove — see initCardHoverGate() in _shared/index.js. Higher
   specificity than the :hover rules above, so it wins regardless of order. */
.service-areas-scroll.ddi-hover-suppressed .service-area:hover .service-area__overlay { opacity: 1; }
.service-areas-scroll.ddi-hover-suppressed .service-area:hover .service-area__more svg { transform: none; }

/* Cards are hidden by GSAP's gsap.set(yPercent: 100) on init. We DO
   NOT set a CSS transform here because that would override GSAP's
   inline transform updates each frame on some browsers. Mobile bails. */
.service-area { will-change: transform; }
@media (max-width: 1023px) {
	.service-area { will-change: auto; transform: none !important; }
}

/* ---- Role popup — mirrors the /register/ "Speak Directly" modal ---- */
html.is-search-open { overflow: hidden; }
.service-search__modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 4vw, 32px);
	background: rgba(15, 23, 42, 0.6);
	-webkit-backdrop-filter: blur(6px) saturate(140%);
	backdrop-filter: blur(6px) saturate(140%);
	animation: ddiSearchFade 0.25s ease both;
}
.service-search__modal[hidden] { display: none; }
.service-search__backdrop { position: absolute; inset: 0; }
.service-search__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 620px;
	/* Fixed height — the panel does NOT resize when results filter. The
	   results list scrolls internally. Capped on short viewports so it
	   still fits without overflowing. */
	height: min(680px, 88vh);
	background: var(--ddi-deep-navy);
	color: var(--ddi-white);
	border-radius: 10px;
	padding: clamp(28px, 4vw, 48px);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
	animation: ddiSearchPanel 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes ddiSearchFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ddiSearchPanel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.service-search__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 0;
	color: var(--ddi-white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
}
.service-search__close:hover { background: rgba(255, 255, 255, 0.14); color: var(--ddi-gold); }
.service-search__close svg { width: 18px; height: 18px; }

.service-search__head {
	margin-bottom: clamp(20px, 2.6vw, 30px);
	padding-right: 40px;
}
.service-search__head .service-search__eyebrow { color: var(--ddi-gold) !important; margin: 0 0 10px; }
.service-search__title {
	font-family: var(--ddi-font-display);
	font-weight: 300;
	font-size: clamp(24px, 2.8vw, 32px);
	line-height: 1.2;
	color: var(--ddi-white);
	margin: 0 0 10px;
}
.service-search__sub {
	font-family: var(--ddi-font-body);
	font-weight: 300;
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
}

.service-search__form {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	padding: 12px 2px;
	margin-bottom: 4px;
	border-bottom: 1px solid var(--ddi-gold);
}
.service-search__icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--ddi-gold-light, #e3c7a3); }
.service-search__input {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none;
	margin: 0 !important;
	height: auto !important;
	padding: 4px 0 !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: var(--ddi-font-body);
	font-weight: 300;
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.4;
	color: var(--ddi-white) !important;
}
.service-search__input::placeholder { color: rgba(255, 255, 255, 0.45); opacity: 1; }

/* Results — a wrap-grid of role PILLS. Navy box, thin white border,
   uppercase letterspaced label. As the user types, the grid filters
   in place to show only matching roles. */
.service-search__results {
	flex: 1 1 auto;
	min-height: 0;
	list-style: none;
	margin: 0;
	padding: 8px 0 4px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-content: flex-start;
}
.service-search__pill-cell {
	display: contents;
}
/* Same proportions as the homepage service-card pills (services-v__roles):
   padding 8/14, 0.08em letterspacing, content-sized. */
.service-search__pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.34);
	color: var(--ddi-white);
	font-family: var(--ddi-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.service-search__pill:hover {
	background: var(--ddi-white);
	border-color: var(--ddi-white);
	color: var(--ddi-deep-navy);
}
.service-search__empty {
	margin: 0;
	padding: 18px 2px 2px;
	font-family: var(--ddi-font-body);
	font-weight: 300;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.6);
}
.service-search__empty[hidden] { display: none; }

/* ============================================================
   ENTRANCE ANIMATION — mirrors the page-hero pattern (Our Story et al.):
   text composition fades up in stagger first, then the background
   image eases in under the overlay. `backwards` keeps elements
   invisible before their delay so nothing flashes on first paint.
   ============================================================ */
@keyframes ddi-hero-text-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes ddi-hero-image-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.service-grid--hero .service-grid__eyebrow,
.service-grid--hero .service-grid__heading,
.service-grid--hero .service-hero__summary,
.service-grid--hero .service-hero__ctas,
.service-grid--hero .service-hero__cue {
	animation: ddi-hero-text-in 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}
.service-grid--hero .service-grid__eyebrow  { animation-delay: 0.10s; }
.service-grid--hero .service-grid__heading  { animation-delay: 0.25s; }
.service-grid--hero .service-hero__summary  { animation-delay: 0.45s; }
.service-grid--hero .service-hero__ctas     { animation-delay: 0.60s; }
.service-grid--hero .service-hero__cue      { animation-delay: 0.80s; }

.service-grid--hero .service-hero__bg {
	animation: ddi-hero-image-in 1.2s ease-out 0.45s backwards;
}

@media (prefers-reduced-motion: reduce) {
	.service-grid--hero .service-grid__eyebrow,
	.service-grid--hero .service-grid__heading,
	.service-grid--hero .service-hero__summary,
	.service-grid--hero .service-hero__ctas,
	.service-grid--hero .service-hero__cue,
	.service-grid--hero .service-hero__bg {
		animation: none;
	}
}

@media (max-width: 768px) {
	/* Client: hero too tall on mobile — size it to its content instead of
	   100vh, ease the type down slightly, and drop the scroll cue (there's
	   no full-screen height to scroll past). Mobile only. */
	.service-grid--hero { min-height: auto; padding: 100px 22px 72px; }
	.service-grid--hero .service-grid__eyebrow { font-size: 12px; }
	.service-grid--hero .service-grid__heading { font-size: clamp(27px, 7.2vw, 33px); }
	.service-hero__summary { font-size: 14px; }
	.service-hero__btn { padding: 14px 22px; font-size: 11px; }
	.service-hero__cue { display: none; }
	.service-hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; max-width: 320px; margin-left: auto; margin-right: auto; }
	.service-hero__btn { justify-content: center; }

	.service-areas { padding: 0; }
	.service-areas__grid { grid-template-columns: 1fr; }
	.service-area { aspect-ratio: 3 / 4; min-height: 420px; max-height: none; }

	/* Modal: panel uses near-full viewport, pills shrink slightly. */
	.service-search__panel { padding: 24px 18px 22px; height: 90vh; max-width: 100%; }
	.service-search__head { padding-right: 34px; margin-bottom: 18px; }
	.service-search__title { font-size: 22px; }
	.service-search__sub { font-size: 13.5px; }
	.service-search__form { padding: 8px 0; }
	.service-search__input { font-size: 16px !important; }
	.service-search__pill { padding: 7px 11px; font-size: 11px; letter-spacing: 0.06em; }
}
