/* ==========================================================================
   Front page (homepage) — section styles.
   Shared primitives (.hl-section, .hl-h2, .hl-btn, .hl-strip, .hl-accordion,
   .hl-tab, .hl-ba …) come from main.css.
   ========================================================================== */

/* ==========================================================================
   Section rhythm (homepage)

   This file only loads on the homepage, so retuning the shared --hl-section-y
   token here changes the homepage alone and leaves the inner pages on the
   site-wide 64px. Sections that the design had at 96px land on 72px; the two
   that carry their own padding (Instagram, Inside the Practice) are set with
   the rest of their rules further down.
   ========================================================================== */

:root { --hl-section-y: 72px; }

@media (max-width: 820px) {
	:root { --hl-section-y: 56px; }
}

/* ---------- Hero video ---------- */

.hl-home-hero { background: var(--hl-navy); }
.hl-home-hero__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 82vh;
	min-height: 420px;
	background: var(--hl-navy);
	overflow: hidden;
}
.hl-home-hero__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* The container is often cropped wider than the source 16:9 footage (see
	   max-height/min-height above), and people's faces sit close to the top
	   of this clip's frame. A centered crop (the object-fit default) shaves
	   that top sliver off and clips them, so anchor the crop toward the top
	   of the source instead — the open floor/background at the bottom is
	   what gets cropped away rather than anyone's face. */
	object-position: center 5%;
	display: block;
}

/* ---------- Intro ---------- */

/* Sits directly under the hero video — this was the "white blank space" the
   client called out, at 110px the largest gap on the page. Now the standard
   section rhythm so the intro copy starts close under the video. */
.hl-home-intro { padding-top: var(--hl-section-y); padding-bottom: var(--hl-section-y); }
/*
   Two columns: the copy on the left, the award plaque on the right, vertically
   centred against each other. The award used to sit in its own band under the
   trust bar — it appears here instead, once.
*/
.hl-home-intro__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 72px;
}
.hl-home-intro__text { flex: 1 1 auto; min-width: 0; text-align: left; }
.hl-home-intro__award { flex: 0 0 auto; }

/*
   Capped at 250px: the source file is 360px wide, so anything larger is being
   scaled up and goes soft on a retina screen.
*/
.hl-home-intro__award-img {
	display: block;
	width: clamp(170px, 19vw, 250px);
	height: auto;
	filter: drop-shadow(0 22px 28px rgba(11, 34, 51, 0.2));
	transition: transform 0.25s ease;
}
.hl-home-intro__award-img:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
	.hl-home-intro__award-img { transition: none; }
	.hl-home-intro__award-img:hover { transform: none; }
}

.hl-home-intro .hl-h1 { margin-top: 22px; }
.hl-home-intro__lead { max-width: 760px; margin-top: 28px; }
.hl-home-intro__lead div { font-size: 18px; line-height: 1.75; color: var(--hl-body); margin: 0 0 14px; }
.hl-home-intro__lead div:last-child { margin-bottom: 0; }
.hl-home-intro__lead strong { color: var(--hl-navy); font-weight: 600; }
.hl-home-intro__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 40px;
}

/* Below 900px the award moves above the copy and both align left. */
@media (max-width: 900px) {
	.hl-home-intro__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 40px;
	}
	.hl-home-intro__award { order: -1; }
}

/* ---------- Trust bar ---------- */

.hl-home-trust { background: var(--hl-navy); }
/* The column count comes from the item count (--cols / --cols-t, set in front-page.php by
   hl_ads_cols()): 4 items = 4 across, then 2 x 2 on tablets, then 1 column on phones;
   never 3 + 1. A short last row is centred. */
.hl-home-trust__grid {
	max-width: var(--hl-max);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.hl-home-trust__cell {
	flex: 0 0 calc(100% / var(--cols, 4));
	min-width: 0;
	box-sizing: border-box;
	padding: 44px 36px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.2s ease;
}
.hl-home-trust__cell:hover { background: #12314A; }
.hl-home-trust__rule { width: 30px; height: 1px; background: var(--hl-blue); margin-bottom: 22px; }
.hl-home-trust__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hl-sky);
}
.hl-home-trust__value { font-size: 19px; line-height: 1.5; font-weight: 500; color: #fff; margin-top: 12px; }
@media (max-width: 960px) {
	.hl-home-trust__cell { flex-basis: calc(100% / var(--cols-t, 2)); }
}
@media (max-width: 480px) {
	.hl-home-trust__cell { flex-basis: 100%; }
}

/* ---------- Meet the surgeon ---------- */

/* The two sections read as one movement: Dr M closes up tight and Real Results
   opens with a hairline rule instead of a gap, so the divider does the
   separating rather than empty space. */
.hl-home-dr { overflow: clip; }
.hl-section.hl-home-dr { padding-bottom: 40px; }

@media (max-width: 820px) {
	.hl-section.hl-home-dr { padding-bottom: 32px; }
}
.hl-home-dr__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 72px;
	align-items: stretch;
}
.hl-home-dr__media { position: relative; }
.hl-home-dr__frame {
	position: sticky;
	top: 164px;
	height: calc(100vh - 220px);
	max-height: 900px;
	min-height: 560px;
	padding: 0 28px 56px 0;
	display: flex;
	flex-direction: column;
}
.hl-home-dr__border {
	position: absolute;
	top: 28px; right: 0; bottom: 28px; left: 28px;
	border: 1px solid var(--hl-blue);
	pointer-events: none;
}
.hl-home-dr__ticks {
	position: absolute;
	top: 28px; bottom: 84px; right: 6px;
	width: 14px;
	background: repeating-linear-gradient(to bottom, var(--hl-blue) 0, var(--hl-blue) 1px, transparent 1px, transparent 14px);
	opacity: 0.55;
	pointer-events: none;
}
.hl-home-dr__photo {
	position: relative;
	flex: 1;
	min-height: 0;
	box-shadow: 0 40px 80px -30px rgba(11, 34, 51, 0.45), 0 12px 28px -12px rgba(11, 34, 51, 0.25);
}
.hl-home-dr__photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 8%;
	cursor: zoom-in;
}
.hl-home-dr__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(11, 34, 51, 0.35) 0%, rgba(11, 34, 51, 0) 35%);
	pointer-events: none;
}
.hl-home-dr__plate {
	position: absolute;
	left: -24px;
	bottom: 16px;
	background: var(--hl-navy);
	color: #fff;
	padding: 22px 28px;
	box-shadow: 0 18px 40px -16px rgba(11, 34, 51, 0.5);
}
.hl-home-dr__plate-name { font-family: var(--hl-serif); font-size: 28px; line-height: 1.1; }
.hl-home-dr__plate-role {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hl-sky);
	margin-top: 8px;
}
.hl-home-dr__subtitle { font-size: clamp(23px, 2.4vw, 29px); font-weight: 600; line-height: 1.3; margin: 26px 0 22px; }
.hl-home-dr__content div { font-size: 18px; line-height: 1.8; color: var(--hl-body); margin: 0 0 20px; }
.hl-home-dr__content strong { color: var(--hl-navy); font-weight: 600; }
.hl-home-dr__creds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	column-gap: 40px;
	row-gap: 34px;
	margin-top: 20px;
}
.hl-home-dr__cred { position: relative; padding-top: 20px; border-top: 1px solid #D1D9DF; }
.hl-home-dr__cred::before {
	content: "";
	position: absolute;
	top: -1px; left: 0;
	width: 36px; height: 2px;
	background: var(--hl-blue);
}
.hl-home-dr__cred-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hl-blue);
}
.hl-home-dr__cred-value {
	font-family: var(--hl-serif);
	font-size: 24px;
	line-height: 1.25;
	color: var(--hl-navy);
	margin-top: 10px;
	text-wrap: pretty;
}
.hl-home-dr__btn { margin-top: 40px; }

@media (max-width: 1023px) {
	.hl-home-dr__frame {
		position: static;
		height: auto;
		min-height: 0;
		max-height: none;
	}
	.hl-home-dr__photo { aspect-ratio: 4 / 5; flex: none; }
}

/* ---------- Office photo strip ---------- */

/* Inside the Practice runs tighter than the standard rhythm. */
.hl-home-office { background: var(--hl-navy); padding: 64px 0; overflow: hidden; }

@media (max-width: 820px) {
	.hl-home-office { padding: 48px 0; }
}
.hl-home-office__head {
	max-width: var(--hl-max);
	margin: 0 auto 40px;
	padding: 0 var(--hl-gutter);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
}
.hl-home-office__head .hl-eyebrow { color: var(--hl-sky); }
.hl-home-office__head .hl-h2 { color: #fff; margin-top: 18px; }
.hl-home-office__hint { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.hl-home-office .hl-strip__track { gap: 16px; }
.hl-home-office .hl-strip__item img {
	height: 320px;
	width: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	cursor: zoom-in;
}
@media (max-width: 640px) {
	.hl-home-office .hl-strip__item img { height: 220px; }
}

/* ---------- Height visualizer ---------- */

.hl-home-viz { position: relative; overflow: hidden; }
.hl-home-viz__ruler-motif {
	position: absolute;
	right: 5%;
	top: 96px;
	height: 260px;
	width: auto;
	opacity: 0.07;
	pointer-events: none;
}
.hl-home-viz__head { position: relative; max-width: 640px; }
.hl-home-viz__head .hl-lead { margin: 22px 0 0; }
.hl-home-viz__controls {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-end;
	justify-content: space-between;
	margin-top: 48px;
}
.hl-home-viz__ctl-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hl-muted);
	margin-bottom: 10px;
}
.hl-home-viz__selects { display: flex; gap: 10px; }
.hl-home-viz__selects select {
	padding: 14px 16px;
	border: 1px solid #D1D9DF;
	border-radius: var(--hl-radius);
	background: #fff;
	font-size: 16px;
	font-family: var(--hl-sans);
	color: var(--hl-navy);
}
.hl-home-viz__readout { text-align: right; }
.hl-home-viz__badge {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hl-blue);
}
.hl-home-viz__total { font-family: var(--hl-serif); font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
.hl-home-viz__sub { font-size: 14px; color: var(--hl-muted); margin-top: 6px; }
.hl-home-viz__stagebox {
	position: relative;
	margin-top: 28px;
	background: #fff;
	border: 1px solid var(--hl-line);
	padding: 56px 40px 0;
	overflow-x: auto;
}
.hl-home-viz__stage {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 4px;
	padding-bottom: 34px;
	min-width: 640px;
}
.hl-home-viz__baseline {
	position: absolute;
	left: 0; right: 0;
	border-top: 1px solid #C9D3DA;
}
.hl-home-viz__baseline span {
	position: absolute;
	right: 0; top: 6px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: #8794A0;
}
.hl-home-viz__crown {
	position: absolute;
	left: 0; right: 0;
	border-top: 1px dashed var(--hl-blue);
	transition: top 300ms ease;
	z-index: 2;
}
.hl-home-viz__crown span {
	position: absolute;
	right: 0; top: -24px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: var(--hl-blue);
}
.hl-home-viz__rulercol {
	position: relative;
	flex: 0 0 66px;
	width: 66px;
	height: 392px;
	border-right: 1px solid #8192A0;
}
.hl-home-viz__tick { position: absolute; right: 0; width: 14px; border-top: 1px solid var(--hl-tick); }
.hl-home-viz__tick span { position: absolute; right: 20px; top: -9px; font-size: 11px; color: var(--hl-muted-2); }
.hl-home-viz__frame {
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	flex: 0 0 98px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	font-family: var(--hl-sans);
}
.hl-home-viz__fig {
	display: block;
	height: 392px;
	background-size: 600% 100%;
	background-repeat: no-repeat;
	transition: filter 250ms ease, opacity 250ms ease;
	filter: grayscale(1);
	opacity: 0.26;
}
.hl-home-viz__frame.is-active .hl-home-viz__fig { filter: none; opacity: 1; }
.hl-home-viz__bar { display: block; height: 3px; background: transparent; transition: background 250ms ease; }
.hl-home-viz__frame.is-active .hl-home-viz__bar { background: var(--hl-blue); }
.hl-home-viz__chip {
	display: block;
	margin-top: 20px;
	padding: 12px 0;
	border-radius: var(--hl-radius-btn);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: center;
	transition: all 200ms ease;
	background: transparent;
	color: var(--hl-body);
	border: 1px solid #D1D9DF;
}
.hl-home-viz__frame.is-active .hl-home-viz__chip { background: var(--hl-navy); color: #fff; border-color: var(--hl-navy); }

/* ---------- How it works / bone sequence ---------- */

/* The heading gets a wider measure than the paragraph: "How Does Limb
   Lengthening Surgery Work?" is long enough to break awkwardly at 720px, while
   body copy still reads best at that width. */
.hl-home-how__head { max-width: 960px; }
.hl-home-how__head .hl-lead { margin: 24px 0 0; max-width: 720px; }
.hl-home-bone {
	--hl-sticky-top: 144px;
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 64px;
	align-items: start;
}

/*
   Separation between the section's intro copy and the animation, matched to the
   design: measured there, the gap below the paragraph is 1.3x the gap above it
   (55px against 42px), which works out at about this margin once the lead's own
   line spacing is taken off. Sitting the paragraph in roughly even space top and
   bottom is the point — 88px made the gap below more than twice the one above.

   The .hl-inner part of the selector is load-bearing: this element carries both
   classes, and main.css resets `.hl-section > .hl-inner { margin: 0 auto }`,
   which out-specifies a lone `.hl-home-bone` and silently zeroed the gap. Two
   classes tie that on specificity, and this file loads later, so it wins.
*/
.hl-inner.hl-home-bone {
	margin-top: 40px;
}
.hl-home-bone__sticky { position: sticky; top: var(--hl-sticky-top); }
.hl-home-bone__card { background: #fff; border: 1px solid var(--hl-line); padding: clamp(18px, 2.4vh, 32px); }
.hl-home-bone__meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}
.hl-home-bone__kicker {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hl-blue);
}
.hl-home-bone__count { font-size: 12px; font-weight: 600; color: var(--hl-muted-2); }
.hl-home-bone__stage-label { font-size: clamp(18px, 2.2vh, 22px); font-weight: 600; margin: 8px 0 clamp(12px, 2vh, 24px); }
.hl-home-bone__fig-row {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 20px;
	height: min(340px, 46vh);
}
.hl-home-bone__fig {
	width: min(152px, 20.6vh);
	height: min(340px, 46vh);
	background-size: 700% 134.4%;
	background-repeat: no-repeat;
	background-position: 0% top;
	transition: background-position 180ms linear;
}
.hl-home-bone__ruler {
	width: 22px;
	border-left: 1px solid #8192A0;
	background: repeating-linear-gradient(to bottom, transparent 0, transparent 11px, var(--hl-tick) 11px, var(--hl-tick) 12px);
}
.hl-home-bone__ticks { display: flex; gap: 6px; margin-top: clamp(14px, 2vh, 24px); }
.hl-home-bone__tick { flex: 1; height: 3px; background: #DDE4E9; transition: background 200ms ease; }
.hl-home-bone__tick.is-on { background: var(--hl-blue); }
.hl-home-bone__arrows { display: flex; justify-content: center; gap: 16px; margin-top: 22px; }
.hl-home-bone__arrow {
	width: 58px; height: 58px;
	border-radius: 50%;
	border: 2px solid var(--hl-navy);
	background: #fff;
	color: var(--hl-navy);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
}
.hl-home-bone__arrow:hover { background: var(--hl-blue); border-color: var(--hl-blue); color: #fff; }

.hl-home-bone__steps { padding-bottom: min(40vh, 320px); }
.hl-home-bone__step {
	position: sticky;
	margin-bottom: 24px;
	background: #fff;
	border: 1px solid var(--hl-line);
	border-top: 3px solid var(--hl-blue);
	box-shadow: 0 -10px 34px rgba(11, 34, 51, 0.07);
	padding: 40px 44px;
	min-height: 220px;
	display: grid;
	grid-template-columns: minmax(0, 84px) minmax(0, 1fr);
	gap: 24px;
	align-content: start;
}
.hl-home-bone__step-num { font-family: var(--hl-serif); font-size: 42px; line-height: 1; color: var(--hl-blue); }
.hl-home-bone__step-title { font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; line-height: 1.25; margin: 0 0 12px; }
.hl-home-bone__step-body { font-size: 18px; line-height: 1.8; color: var(--hl-body); margin: 0; }

@media (max-width: 900px) {
	.hl-home-bone { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	/* Slightly tighter on a phone, where vertical space is the scarce thing.
	   Same two-class selector as above, for the same reason. */
	.hl-inner.hl-home-bone { margin-top: 32px; }
	.hl-home-bone__sticky { position: static; }
	.hl-home-bone__steps { padding-bottom: 0; }
	.hl-home-bone__step { position: static; padding: 28px 24px; min-height: 0; grid-template-columns: minmax(0, 56px) minmax(0, 1fr); gap: 16px; }
}

/* ---------- PRECICE MAX ---------- */

.hl-home-precice { overflow: hidden; }
.hl-home-precice__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 56px;
	align-items: start;
}
.hl-home-precice .hl-h2 { color: #fff; }
.hl-home-precice__subtitle { font-size: clamp(23px, 2.4vw, 29px); font-weight: 600; line-height: 1.3; margin: 26px 0 22px; color: #fff; }
.hl-home-precice__content div { font-size: 18px; line-height: 1.8; color: rgba(255, 255, 255, 0.75); margin: 0 0 20px; }
.hl-home-precice__content div:last-child { margin-bottom: 40px; }
.hl-home-precice__panel {
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: #0E2A3F;
	padding: 24px 32px 24px 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	min-height: 420px;
}
/* Bases sized to fit the column the unified container gives this section;
   at 360/220 the panel wrapped and the viewer dropped above the hotspots.
   Heights trimmed back from 660/460/480: the 3D model scales to its frame, so
   a shorter frame is what makes the animation itself read smaller. */
.hl-home-precice__viewer { flex: 1.6 1 290px; align-self: stretch; min-height: 520px; min-width: 0; }
@media (max-width: 768px) { .hl-home-precice__viewer { min-height: 420px; } }
.hl-home-precice__viewer iframe {
	display: block;
	width: 100%;
	height: 100%;
	/* Kept below the viewer's own min-height at every breakpoint, so the
	   frame controls the size rather than the iframe overriding it. */
	min-height: 360px;
	border: 0;
	background: #0E2A3F;
}
.hl-home-precice__aside { flex: 1 1 170px; min-width: 0; padding-left: 24px; }
.hl-home-precice__hs-kicker {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hl-sky);
}
.hl-home-precice__hs-list { display: grid; gap: 8px; margin-top: 16px; }
.hl-home-precice__hs {
	font-family: var(--hl-sans);
	text-align: left;
	cursor: pointer;
	padding: 14px 18px;
	border-radius: var(--hl-radius);
	font-size: 15px;
	font-weight: 600;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.28);
	transition: all 0.2s ease;
}
.hl-home-precice__hs:hover { border-color: var(--hl-blue); }
.hl-home-precice__hs.is-active { background: var(--hl-blue); border-color: var(--hl-blue); }
.hl-home-precice__hs-body { font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, 0.72); margin: 22px 0 0; }
.hl-home-precice__note { font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, 0.5); margin: 20px 0 0; }

@media (max-width: 560px) {
	.hl-home-precice__panel { padding: 16px; }
	.hl-home-precice__aside { padding-left: 0; }
	/* The frame is made taller (was 300px) so the model is not tiny; the caption and slider sit
	   outside the model's area (see viewer/femur.html). */
	.hl-home-precice__viewer, .hl-home-precice__viewer iframe { min-height: 480px; }
}

/* ---------- Segmented tab control (Results / Video hub) ---------- */

.hl-home-seg {
	display: flex;
	gap: 4px;
	padding: 4px;
	border-radius: 8px;
	background: #EEF2F5;
	flex-wrap: wrap;
}
.hl-home-seg .hl-tab {
	border: 0;
	border-radius: 6px;
	padding: 13px 24px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: transparent;
	color: var(--hl-body);
	gap: 0;
}
.hl-home-seg .hl-tab.is-active {
	background: #fff;
	color: var(--hl-navy);
	box-shadow: 0 2px 8px rgba(11, 34, 51, 0.1);
}
.hl-home-seg--dark { background: rgba(255, 255, 255, 0.08); }
.hl-home-seg--dark .hl-tab { color: rgba(255, 255, 255, 0.75); }
.hl-home-seg--dark .hl-tab.is-active { background: #fff; color: var(--hl-navy); box-shadow: none; }

/* ---------- Results & stories ---------- */

.hl-home-results { position: relative; overflow: hidden; }
/* Opens on the divider below, so no top padding of its own. */
.hl-section.hl-home-results { padding-top: 0; }

/* The divider: full container width, fading out at both ends so it reads as a
   seam between the two sections rather than a hard line across the page. */
.hl-home-results__divider {
	width: 100%;
	max-width: var(--hl-max);
	height: 1px;
	margin: 0 auto 48px;
	background: linear-gradient(to right, transparent, #D1D9DF 15%, #D1D9DF 85%, transparent);
}

.hl-home-results .hl-btn { line-height: normal; }
.hl-home-results__ruler-motif {
	position: absolute;
	right: 5%;
	top: 80px;
	height: 240px;
	width: auto;
	opacity: 0.07;
	pointer-events: none;
}
.hl-home-results .hl-inner { position: relative; }
/* Centred header: eyebrow, heading and intro stacked and centred, with the
   Before & After / Patient Stories toggle centred beneath them. */
.hl-home-results__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.hl-home-results__intro { max-width: 760px; }
.hl-home-results__intro .hl-lead {
	margin: 22px 0 0;
	font-size: 18px;
	line-height: 1.85;
	color: var(--hl-body);
	text-wrap: balance;
}
.hl-home-results__head .hl-home-seg { margin-top: 32px; }
.hl-home-results__intro .hl-eyebrow { line-height: normal; }
.hl-home-results__case {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	margin-top: 48px;
	align-items: center;
}
.hl-home-results__photo {
	flex: 1 1 380px;
	min-width: 0;
	max-width: 500px;
	display: block;
	padding: 0;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius);
	box-shadow: var(--hl-shadow);
	background: #fff;
	cursor: zoom-in;
	aspect-ratio: 1256 / 1000;
	max-height: 400px;
	overflow: hidden;
	transition: opacity 0.2s ease;
}
.hl-home-results__photo:hover { opacity: 0.94; }
.hl-home-results__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hl-home-results__detail { flex: 1 1 320px; min-width: 0; }
.hl-home-results__detail > .hl-eyebrow,
.hl-home-results__ba,
.hl-home-results__gain { line-height: normal; } /* design spacing: the body's 1.7 made the column 13px taller */
.hl-home-results__ba { margin-top: 22px; flex-wrap: wrap; gap: 22px; }
/* Design sizes for this section: 13px labels, 56px heights (the shared .hl-ba/.hl-stat are smaller). */
.hl-home-results__ba .hl-ba__label { font-size: 13px; letter-spacing: 0.18em; }
.hl-home-results__ba .hl-stat { font-size: 56px; margin-top: 6px; }
.hl-home-results__gain {
	display: inline-flex;
	margin-top: 22px;
	padding: 10px 16px;
	border-radius: var(--hl-radius-btn);
	background: #EAF4FB;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--hl-blue-dark);
}
.hl-home-results__thumbs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--hl-line);
}
.hl-home-results__thumb {
	font-family: var(--hl-sans);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: var(--hl-radius-btn);
	background: #fff;
	border: 1px solid var(--hl-line);
	text-align: left;
	transition: border-color 0.2s ease;
}
.hl-home-results__thumb:last-child:nth-child(odd) { grid-column: 1 / -1; } /* odd/lone thumb fills its row */
.hl-home-results__thumb:hover { border-color: var(--hl-blue); }
.hl-home-results__thumb.is-active { border-color: var(--hl-blue); }
.hl-home-results__thumb img {
	display: block;
	width: 64px;
	height: 51px;
	object-fit: cover;
	border-radius: 3px;
	opacity: 0.7;
}
.hl-home-results__thumb.is-active img { opacity: 1; }
.hl-home-results__thumb-num {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hl-muted);
}
.hl-home-results__thumb-gain { display: block; font-size: 15px; font-weight: 700; color: var(--hl-navy); margin-top: 4px; }
.hl-home-results__thumb.is-active .hl-home-results__thumb-gain { color: var(--hl-blue-dark); }
/* "See more … full gallery" row + View All Results button (design: hairline above, text left, button right; wraps on narrow screens). */
.hl-home-results__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--hl-line);
}
/* Scoped under .hl-home-results so the colours beat the generic ".hl-section p" body colour. */
.hl-home-results .hl-home-results__more-text { font-size: 18px; line-height: 1.6; font-weight: 600; color: var(--hl-navy); margin: 0; }
.hl-home-results .hl-home-results__note { font-size: 13px; line-height: 1.7; color: var(--hl-muted-2); margin: 20px 0 0; }
.hl-home-results .hl-home-results__case + .hl-home-results__note { margin-top: 32px; } /* gallery row hidden: keep the old gap */

.hl-home-results__thumb > span { min-width: 0; } /* design keeps two columns on phones; "PATIENT 02" wraps */

/* Story category buttons (design: square-cornered outline buttons, the chosen one navy). Wraps onto several lines. */
.hl-home-stories__cats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.hl-home-stories__cat {
	font-family: var(--hl-sans);
	cursor: pointer;
	border-radius: var(--hl-radius-btn);
	padding: 14px 26px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	background: transparent;
	color: var(--hl-body);
	border: 1px solid #D1D9DF;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hl-home-stories__cat:hover { border-color: var(--hl-navy); color: var(--hl-navy); }
.hl-home-stories__cat:focus-visible { outline: 2px solid var(--hl-blue); outline-offset: 2px; }
.hl-home-stories__cat.is-active { background: var(--hl-navy); border-color: var(--hl-navy); color: #fff; }
.hl-home-stories__tag { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hl-blue); margin-bottom: 10px; }
.hl-home-stories__card--video .hl-home-stories__tag { color: var(--hl-sky); }
.hl-home-stories__note { display: block; font-size: 14px; color: var(--hl-muted); margin-top: 8px; }
.hl-home-stories__card[hidden] { display: none; }

/* Every story card is the design's 4:3 card filling its column. video.css gives TikTok and
   Instagram frames a 330px-wide 9:16 shape elsewhere in the theme; these two classes
   out-rank that single attribute selector, so the poster keeps the design's shape here. */
.hl-home-stories__card[data-video-provider] {
	aspect-ratio: 4 / 3;
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

/* ---------- Story video lightbox (front-page.js) ----------
   The player takes the clip's shape: 9:16 for vertical clips, 16:9 for landscape, or an
   uploaded file's own ratio (--hl-vlb-ratio). It is as large as the screen allows: up to
   86% of the height and 92% of the width, landscape capped at 1280px wide. */
.hl-video-lb {
	position: fixed;
	inset: 0;
	z-index: 210;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5vh 4vw;
	background: rgba(7, 24, 37, 0.92);
}
.hl-video-lb[hidden] { display: none; }
html.hl-video-lb-open { overflow: hidden; } /* no page scroll behind the open video */
.hl-video-lb__frame {
	position: relative;
	overflow: hidden;
	background: #000;
	border-radius: var(--hl-radius);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
	--hl-vlb-ratio: 16 / 9;
	--hl-vlb-ratio-num: 1.7778;
	aspect-ratio: var(--hl-vlb-ratio);
}
.hl-video-lb__frame--landscape {
	width: min(92vw, 1280px, calc(86vh * var(--hl-vlb-ratio-num)));
	height: auto;
}
.hl-video-lb__frame--portrait {
	--hl-vlb-ratio: 9 / 16;
	--hl-vlb-ratio-num: 0.5625;
	height: min(86vh, calc(92vw / var(--hl-vlb-ratio-num)));
	width: auto;
}
/* video.css sizes TikTok / Instagram frames for in-page use (330px wide, centred); here the
   lightbox decides the size. Two classes out-rank its single attribute selector. */
.hl-video-lb__frame.hl-video-lb__frame--portrait[data-video-provider],
.hl-video-lb__frame.hl-video-lb__frame--landscape[data-video-provider] {
	max-width: none;
	margin: 0;
	aspect-ratio: var(--hl-vlb-ratio);
}
.hl-video-lb__frame.hl-video-lb__frame--portrait[data-video-provider] { width: auto; }
.hl-video-lb__frame > iframe:not([data-video-fit="instagram"]),
.hl-video-lb__frame > video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}
.hl-video-lb__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(7, 24, 37, 0.6);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
}
.hl-video-lb__close:hover,
.hl-video-lb__close:focus-visible { background: #fff; color: var(--hl-navy); outline: none; }

.hl-home-stories__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 24px;
	margin-top: 40px;
}
.hl-home-stories__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: 4 / 3;
	border: 1px dashed var(--hl-tick);
	background: var(--hl-mist);
	padding: 32px;
	color: var(--hl-navy);
	transition: border-color 0.2s ease;
}
.hl-home-stories__card:hover { border: 1px solid var(--hl-blue); color: var(--hl-navy); }

/* Video cards: the thumbnail fills the card, with the label over a scrim at
   the bottom. The non-video card keeps the original dashed placeholder. */
.hl-home-stories__card--video {
	position: relative;
	overflow: hidden;
	padding: 0;
	border: 1px solid transparent;
	background: var(--hl-navy);
	cursor: pointer;
	text-align: left;
	font: inherit;
	width: 100%;
}

.hl-home-stories__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.hl-home-stories__card--video:hover .hl-home-stories__thumb { transform: scale(1.04); }

.hl-home-stories__card--video .hl-home-stories__play {
	position: relative;
	margin: 28px 0 0 28px;
	border-color: #fff;
	background: rgba(11, 34, 51, 0.45);
}
.hl-home-stories__card--video .hl-home-stories__play span { border-left-color: #fff; }

.hl-home-stories__card--video .hl-home-stories__meta {
	position: relative;
	padding: 28px;
	color: #fff;
	background: linear-gradient(to top, rgba(7, 24, 37, 0.92) 0%, rgba(7, 24, 37, 0.72) 55%, transparent 100%);
}
.hl-home-stories__card--video .hl-home-stories__title { color: #fff; }

/* Once playing, the iframe replaces the whole card face. */
.hl-home-stories__card--video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.hl-home-stories__thumb { transition: none; }
	.hl-home-stories__card--video:hover .hl-home-stories__thumb { transform: none; }
}
.hl-home-stories__play {
	width: 52px;
	height: 52px;
	border: 1px solid #8192A0;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hl-home-stories__play span {
	width: 0;
	height: 0;
	border-left: 13px solid var(--hl-navy);
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	margin-left: 4px;
}
.hl-home-stories__title { display: block; font-size: 22px; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.hl-home-stories__buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* ---------- Candidacy quiz ---------- */

.hl-home-quiz__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 56px;
	align-items: stretch;
}
.hl-home-quiz__media {
	position: relative;
	min-height: 420px;
	order: 2;
	border-radius: var(--hl-radius);
	overflow: hidden;
}
.hl-home-quiz__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: zoom-in;
}
.hl-home-quiz__card {
	margin-top: 36px;
	background: #fff;
	border: 1px solid var(--hl-line);
	border-radius: var(--hl-radius);
	box-shadow: var(--hl-shadow);
	overflow: hidden;
}
.hl-home-quiz__progress { height: 3px; background: var(--hl-line); }
.hl-home-quiz__progress div { height: 3px; background: var(--hl-blue); transition: width 200ms ease; }
.hl-home-quiz__step { padding: 40px; }
.hl-home-quiz__question { font-size: clamp(21px, 2.2vw, 26px); font-weight: 600; line-height: 1.3; margin: 14px 0 26px; }
.hl-home-quiz__options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 12px;
}
.hl-home-quiz__option {
	font-family: var(--hl-sans);
	text-align: left;
	cursor: pointer;
	padding: 18px 20px;
	border-radius: var(--hl-radius);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	background: transparent;
	color: var(--hl-navy);
	border: 1px solid #D1D9DF;
	transition: border-color 0.2s ease;
}
.hl-home-quiz__option:hover { border-color: var(--hl-blue); }
.hl-home-quiz__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
}
.hl-home-quiz__back {
	font-family: var(--hl-sans);
	cursor: pointer;
	background: none;
	border: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--hl-muted);
	padding: 0;
	min-height: 44px;
	min-width: 44px;
}
.hl-home-quiz__back:hover { color: var(--hl-blue); }
.hl-home-quiz__disclaimer { font-size: 13px; color: var(--hl-muted-2); }
.hl-home-quiz__result-title { font-family: var(--hl-serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin: 16px 0 18px; }
.hl-home-quiz__result-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 30px; }

@media (max-width: 560px) {
	.hl-home-quiz__step { padding: 24px 20px; }
	.hl-home-quiz__media { min-height: 280px; }
}

/* ---------- Treatment journey ---------- */

.hl-home-journey__title { margin: 0; max-width: 820px; }
.hl-home-journey__track { margin-top: 56px; position: relative; }
/* Stepper: one column per step (--hl-n, set in front-page.php from the real step count),
   so 8 steps share one line instead of 7 + 1. The connecting line is drawn per step
   (the ::before on each button), so it stays tidy when the steps wrap into rows. */
.hl-home-journey__line { display: none; }
.hl-home-journey__dots {
	display: grid;
	grid-template-columns: repeat(var(--hl-n, 7), minmax(0, 1fr));
	align-items: start;
	gap: 28px 0;
}
.hl-home-journey__dotbtn {
	font-family: var(--hl-sans);
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	text-align: left;
	display: block;
	position: relative;
	min-height: 44px;
}
.hl-home-journey__dotbtn::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 8px;
	height: 1px;
	background: var(--hl-tick);
}
.hl-home-journey__dot {
	position: relative;
	z-index: 1;
	display: block;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	transition: all 200ms ease;
	background: #fff;
	border: 4px solid var(--hl-tick);
}
.hl-home-journey__dotbtn.is-active .hl-home-journey__dot { background: var(--hl-blue); border-color: #fff; }
.hl-home-journey__dot-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 16px;
	padding-right: 12px;
	color: var(--hl-muted);
	transition: color 200ms ease;
}
.hl-home-journey__dotbtn.is-active .hl-home-journey__dot-label { color: var(--hl-navy); }
.hl-home-journey__detail {
	margin-top: 48px;
	background: var(--hl-mist);
	border: 1px solid var(--hl-line);
	padding: 48px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 48px;
	align-items: center;
}
.hl-home-journey__stage { font-family: var(--hl-serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; margin: 16px 0 0; }
.hl-home-journey__body { font-size: 19px; line-height: 1.8; color: var(--hl-body); margin: 0; }

@media (max-width: 900px) {
	/* Tablets: --hl-n-t is the step count, or half of it (rounded up) when there are more than 5. */
	.hl-home-journey__dots { grid-template-columns: repeat(var(--hl-n-t, 4), minmax(0, 1fr)); }
	.hl-home-journey__detail { padding: 28px 24px; gap: 20px; }
}
@media (max-width: 640px) {
	.hl-home-journey__dotbtn::before { display: none; }
	.hl-home-journey__dots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.hl-home-journey__dotbtn:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Visit & travel ---------- */

.hl-home-visit { position: relative; overflow: hidden; background: var(--hl-navy); }
.hl-home-visit__bg {
	position: absolute;
	left: 0;
	top: -12%;
	width: 100%;
	height: 124%;
	object-fit: cover;
	will-change: transform;
}
.hl-home-visit__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 34, 51, 0.88) 0%, rgba(11, 34, 51, 0.62) 45%, rgba(11, 34, 51, 0.15) 80%, rgba(11, 34, 51, 0) 100%);
}
.hl-home-visit__inner {
	position: relative;
	max-width: var(--hl-max);
	margin: 0 auto;
	/* Taller than the standard rhythm on purpose: this band is a full-bleed
	   photo and needs height to read, but 120px was excessive. */
	padding: calc(var(--hl-section-y) * 1.25) var(--hl-gutter);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: center;
	justify-content: space-between;
}
.hl-home-visit__info { flex: 1 1 420px; max-width: 620px; min-width: 0; }
.hl-home-visit .hl-eyebrow { color: var(--hl-sky); }
.hl-home-visit .hl-h2 { color: #fff; }
.hl-home-visit__address { font-size: 21px; line-height: 1.6; color: #fff; margin: 28px 0 0; }
.hl-home-visit__hours { font-size: 16px; color: rgba(255, 255, 255, 0.75); margin-top: 10px; }
/* Inline phone link in a sentence: a 44px target that leaves the line where it was. */
.hl-home-visit__hours a { display: inline-block; padding-block: 12px; margin-block: -12px; color: #fff; font-weight: 600; }
.hl-home-visit__hours a:hover { color: var(--hl-sky); }
.hl-home-visit__copy { font-size: 18px; line-height: 1.8; color: rgba(255, 255, 255, 0.8); margin: 28px 0 0; }
.hl-home-visit__buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hl-home-visit__aside {
	flex: 1 1 420px;
	max-width: 640px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.hl-home-visit__map {
	border-radius: var(--hl-radius-btn);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.hl-home-visit__map img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.hl-home-visit__aside-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hl-home-visit__aside-buttons .hl-btn { flex: 1 1 220px; justify-content: center; }

@media (max-width: 768px) {
	.hl-home-visit__inner { padding-top: var(--hl-section-y); padding-bottom: var(--hl-section-y); }
}

/* ---------- Video hub ---------- */

.hl-home-videos__head {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	justify-content: space-between;
	align-items: flex-end;
}
.hl-home-videos__intro { max-width: 620px; }
.hl-home-videos__intro .hl-eyebrow { color: rgba(255, 255, 255, 0.62); }
.hl-home-videos__intro .hl-h2 { color: #fff; }
.hl-home-videos__intro .hl-lead { color: rgba(255, 255, 255, 0.75); margin: 20px 0 0; }
.hl-home-videos__arrows { display: flex; gap: 12px; justify-content: flex-end; margin-top: 40px; }
.hl-home-videos__arrow {
	font-family: var(--hl-sans);
	cursor: pointer;
	width: 52px;
	height: 52px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	font-size: 18px;
	color: #fff;
	transition: border-color 0.2s ease;
}
.hl-home-videos__arrow:hover { border-color: #fff; }
/* A paged slider (see [data-pager] in main.js): whole cards, buttons turn the page, no
   scroll bar. Without the script the cards simply wrap. */
.hl-home-videos__rail {
	--pager-gap: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 20px;
	padding-bottom: 8px;
}
.hl-home-videos__arrow[hidden] { display: none; }
.hl-home-videos__arrow[disabled] { opacity: 0.4; cursor: default; }
.hl-home-videos__arrow[disabled]:hover { border-color: rgba(255, 255, 255, 0.3); }
.hl-home-videos__item {
	flex: 0 0 264px;
	position: relative;
	aspect-ratio: 9 / 16;
	border-radius: var(--hl-radius-btn);
	overflow: hidden;
	background: var(--hl-navy-deep);
	border: 1px solid rgba(255, 255, 255, 0.14);
}
.hl-home-videos__item iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hl-home-videos__item > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.hl-home-videos__poster video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hl-home-videos__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	cursor: pointer;
	background: var(--hl-navy-deep);
}
.hl-home-videos__poster:hover { opacity: 0.92; }
.hl-home-videos__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-home-videos__poster-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 24, 37, 0.85) 0%, rgba(7, 24, 37, 0) 45%);
}
.hl-home-videos__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--hl-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.hl-home-videos__play span {
	width: 0;
	height: 0;
	border-left: 16px solid #fff;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	margin-left: 4px;
}
.hl-home-videos__poster-title {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: #fff;
}

.hl-home-media__intro { font-size: 19px; line-height: 1.8; color: rgba(255, 255, 255, 0.8); margin: 40px 0 0; max-width: 820px; }
.hl-home-media__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 20px;
	margin-top: 36px;
}
.hl-home-media__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--hl-line);
	border-top: 3px solid var(--hl-blue);
	border-radius: var(--hl-radius);
	color: var(--hl-navy);
	transition: border-color 0.2s ease;
}
.hl-home-media__card:hover { border-color: var(--hl-sky); border-top-color: var(--hl-blue); color: var(--hl-navy); }
.hl-home-media__logo {
	height: 72px;
	display: flex;
	align-items: center;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--hl-line-2);
}
.hl-home-media__logo img { display: block; width: auto; max-width: 180px; object-fit: contain; }
.hl-home-media__title {
	display: block;
	font-family: var(--hl-serif);
	font-size: 24px;
	line-height: 1.25;
	margin-top: 16px;
	text-wrap: pretty;
}
.hl-home-media__more {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hl-blue-dark);
}
.hl-home-media__btn { margin-top: 40px; }

/* ---------- FAQ ---------- */

.hl-home-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
	gap: 72px;
	align-items: start;
}
.hl-home-faq__title { margin: 0; position: sticky; top: 144px; }
.hl-home-faq .hl-accordion__q { padding: 28px 0; align-items: baseline; gap: 24px; font-size: 21px; }
.hl-home-faq .hl-accordion__a p { font-size: 18px; line-height: 1.85; max-width: 820px; }
.hl-home-faq__seo {
	margin-top: 48px;
	background: var(--hl-mist);
	border: 1px solid var(--hl-line);
}
.hl-home-faq__seo .hl-accordion__item { border-bottom: 0; }
.hl-home-faq__seo .hl-accordion__q { padding: 26px 30px; align-items: center; font-size: 19px; }
.hl-home-faq__readmore {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--hl-blue);
	white-space: nowrap;
	flex-shrink: 0;
}
.hl-home-faq__readmore .hl-accordion__icon { color: var(--hl-blue); font-size: 20px; }
.hl-home-faq__seo .hl-accordion__a { padding: 0 30px 32px; max-width: none; }
.hl-home-faq__seo-content div { font-size: 18px; line-height: 1.85; color: var(--hl-body); margin: 0 0 22px; }
.hl-home-faq__seo-content div:last-child { margin-bottom: 36px; }

@media (max-width: 900px) {
	.hl-home-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.hl-home-faq__title { position: static; }
	.hl-home-faq .hl-accordion__q { font-size: 18px; }
}

/* ---------- Instagram ---------- */

/* Instagram sits wider than the standard rhythm (the design had it at 110px). */
.hl-home-instagram { padding-top: 80px; padding-bottom: 80px; }

@media (max-width: 820px) {
	.hl-home-instagram { padding-top: 56px; padding-bottom: 56px; }
}

.hl-home-instagram .hl-home-instagram__embed { margin-top: 44px; }

/* ---------- Final CTA ---------- */

.hl-home-cta {
	position: relative;
	background: linear-gradient(180deg, var(--hl-navy) 0%, var(--hl-grad-mid) 50%, var(--hl-grad-end) 100%);
	color: #fff;
	padding: var(--hl-section-y) 0;
	overflow: hidden;
}
.hl-home-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(to bottom, transparent 0, transparent 47px, rgba(255, 255, 255, 0.04) 47px, rgba(255, 255, 255, 0.04) 48px);
	pointer-events: none;
}
.hl-home-cta__ruler-motif {
	position: absolute;
	left: 4%;
	bottom: 64px;
	height: 210px;
	width: auto;
	opacity: 0.14;
	filter: invert(1);
	pointer-events: none;
}
.hl-home-cta__inner {
	position: relative;
	max-width: var(--hl-max);
	margin: 0 auto;
	padding-inline: var(--hl-gutter);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 72px;
	align-items: center;
}
.hl-home-cta__title {
	font-family: var(--hl-serif);
	font-weight: 400;
	font-size: clamp(42px, 5vw, 72px);
	line-height: 1;
	letter-spacing: -0.025em;
	margin: 0;
	color: #fff;
}
.hl-home-cta__lead { font-size: 20px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); margin: 26px 0 0; max-width: 640px; }
.hl-home-cta__content div { font-size: 18px; line-height: 1.8; color: rgba(255, 255, 255, 0.72); margin: 18px 0 0; max-width: 660px; }
.hl-home-cta__content strong { color: #fff; font-weight: 600; }
.hl-home-cta__buttons { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 40px; }
.hl-home-cta__note { font-size: 15px; color: rgba(255, 255, 255, 0.65); }
.hl-home-cta__media {
	position: relative;
	order: -1;
	border-radius: var(--hl-radius);
	overflow: hidden;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.hl-home-cta__media img { display: block; width: 100%; height: auto; cursor: zoom-in; }

@media (max-width: 768px) {
	.hl-home-cta { padding-top: 72px; padding-bottom: 72px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.hl-home-visit__bg { transform: none !important; }
}

