/*
 * ASL homepage (page-templates/template-home.php, asl-home.css).
 * Everything is scoped to .asl-home so the theme's global element rules
 * (10px rem, h1-h5 margins, orange h3, input/button styles, link transitions)
 * don't leak in, and nothing here leaks out to other pages.
 */

/* ------------------------------------------------------------ Page shell */
.asl-home-page #container { overflow: hidden; }
@supports (overflow: clip) {
	/* clip instead of hidden so the sticky contact form can stick */
	.asl-home-page #container { overflow: clip; }
}

.asl-home {
	--ah-navy: #00226C;
	--ah-deep: #071A44;
	--ah-mid: #394B8E;
	--ah-orange: #F08E30;
	--ah-orange-dark: #EE7C1B;
	--ah-grey: #F2F4F8;
	--ah-line: #D9DDE6;
	--ah-ink: #212121;
	--ah-soft: #3A3A3A;
	--ah-on-dark: #C9D0E2;
	--ah-muted: #9AA6C9;
	--ah-rule-dark: #2A3D74;
	--ah-max: 1100px;
	--ah-header: 110px;

	font-family: "Noto Sans", system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
	color: var(--ah-ink);
	background: #fff;
	text-align: center;
	overflow-x: clip;
}

/* Resets against the theme's global element styles */
.asl-home *,
.asl-home *::before,
.asl-home *::after { box-sizing: border-box; }
.asl-home h1,
.asl-home h2,
.asl-home h3,
.asl-home h4 {
	margin: 0;
	font-family: inherit;
	font-weight: 900;
	line-height: 1.2; /* the theme gives h3 a 50px line height */
	color: var(--ah-navy);
	letter-spacing: -0.01em;
	text-wrap: balance;
	position: static;
}
.asl-home p,
.asl-home figure,
.asl-home blockquote { margin: 0; padding: 0; border: 0; }
.asl-home ul,
.asl-home ol { margin: 0; padding: 0; list-style: none; }
.asl-home img { max-width: 100%; height: auto; display: block; }
.asl-home a,
.asl-home button { transition: none; }
.asl-home a { color: var(--ah-navy); }
.asl-home a:hover { color: var(--ah-mid); }
/* :where() keeps this reset at low specificity, so each component's own button styles win */
:where(.asl-home) button[class^="ah-"] {
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font: inherit;
	line-height: inherit;
	text-align: inherit;
	cursor: pointer;
}
.asl-home :focus-visible { outline: 3px solid var(--ah-orange); outline-offset: 3px; }
.asl-home [id] { scroll-margin-top: calc(var(--ah-header) + 16px); }
.asl-home .ah-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------- Layout rhythm */
.asl-home .ah-wrap { max-width: calc(var(--ah-max) + 48px); margin: 0 auto; padding: 0 24px; }
.asl-home .ah-plain { padding-top: 104px; }
.asl-home .ah-band { padding: 96px 0 104px; background: var(--ah-grey); }
.asl-home .ah-plain + .ah-band { margin-top: 104px; }
.asl-home .ah-band--navy { background: var(--ah-deep); color: #fff; }
.asl-home .ah-last { padding-bottom: 120px; }

/* -------------------------------------------------------- Type pieces */
.asl-home .ah-head { max-width: 640px; margin: 0 auto 40px; }
.asl-home .ah-head--wide { max-width: 720px; margin-bottom: 40px; }
.asl-home .ah-h2 { font-size: 40px; line-height: 1.36; margin-bottom: 12px; }
.asl-home .ah-h3 { font-size: 30px; line-height: 1.2; margin-bottom: 14px; }
.asl-home .ah-lead { font-size: 17px; line-height: 1.6; }
.asl-home .ah-head .ah-lead + .ah-p--soft { margin-top: 14px; }
.asl-home .ah-p--soft { font-size: 16px; line-height: 1.7; color: var(--ah-soft); }
.asl-home .ah-hint { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ah-mid); }
.asl-home .ah-kicker {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ah-orange);
}
.asl-home .ah-band--navy .ah-h2 { color: #fff; }
.asl-home .ah-band--navy .ah-lead { color: var(--ah-on-dark); }
.asl-home .ah-more { margin-top: 56px; }
.asl-home .ah-more-link { margin-top: 32px; }
.asl-home .ah-more-link a { font-weight: 800; font-size: 15px; }

/* ------------------------------------------------------------- Buttons */
.asl-home .ah-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.asl-home .ah-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: 3px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.asl-home .ah-btn--lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.asl-home .ah-btn--orange { background: var(--ah-orange); color: var(--ah-deep); font-weight: 900; }
.asl-home .ah-btn--orange:hover { background: var(--ah-orange-dark); color: var(--ah-deep); }
.asl-home .ah-btn--navy { background: var(--ah-navy); color: #fff; }
.asl-home .ah-btn--navy:hover { background: var(--ah-mid); color: #fff; }
.asl-home .ah-btn--outline { border-color: #fff; color: #fff; }
.asl-home .ah-btn--outline:hover { background: #fff; color: var(--ah-deep); }
.asl-home .ah-btn--block { display: flex; width: 100%; min-height: 54px; }
.asl-home .ah-btn--narrow { max-width: 480px; margin: 0 auto; }

/* ---------------------------------------------------------------- Hero */
.asl-home .ah-hero {
	position: relative;
	min-height: 760px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 120px 24px;
	background: #5A6788;
	color: #fff;
	overflow: hidden;
}
.asl-home .ah-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center 45%;
}
.asl-home .ah-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 26, 68, 0.55) 0%, rgba(7, 26, 68, 0.7) 55%, rgba(7, 26, 68, 0.92) 100%);
}
.asl-home .ah-hero__inner { position: relative; max-width: 780px; margin: 0 auto; }
.asl-home .ah-hero__title {
	margin-bottom: 20px;
	font-size: 58px;
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: #fff;
}
.asl-home .ah-hero__text { max-width: 580px; margin: 0 auto 32px; font-size: 19px; line-height: 1.6; color: #E6E9F4; }
.asl-home .ah-hero__trust { margin-top: 24px; font-size: 14px; color: #E6E9F4; }

/* --------------------------------------------------------------- About */
.asl-home .ah-tabs-wrap { display: flex; justify-content: center; margin: 0 auto 52px; }
.asl-home .ah-tabs {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--ah-tab-count, 4), minmax(0, 1fr));
	width: 100%;
	max-width: 780px;
	border-bottom: 2px solid var(--ah-line);
}
.asl-home .ah-tab {
	position: relative;
	min-height: 54px;
	padding: 0 16px;
	text-align: center;
	font-size: 16px;
	font-weight: 800;
	color: var(--ah-mid);
	transition: color 0.2s ease;
}
.asl-home .ah-tab:hover,
.asl-home .ah-tab.is-on { color: var(--ah-navy); }
.asl-home .ah-tab__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	background: var(--ah-orange);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.35s ease;
}
.asl-home .ah-tab.is-on .ah-tab__bar { transform: scaleX(1); }
.asl-home .ah-tab.is-on.is-auto .ah-tab__bar { animation: ah-tabfill 7s linear; }

.asl-home .ah-panel {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 56px;
	align-items: center;
}
.asl-home .ah-panel[hidden] { display: none; }
.asl-home .ah-panel.is-on { animation: ah-panel-in 0.6s ease; }

.asl-home .ah-photo { position: relative; padding: 0 22px 22px 0; }
.asl-home .ah-photo__block { position: absolute; right: 0; bottom: 0; width: 72%; height: 72%; background: var(--ah-orange); }
.asl-home .ah-photo__frame { position: relative; overflow: hidden; background: var(--ah-line); min-height: 200px; }
.asl-home .ah-photo__frame img { width: 100%; height: 480px; object-fit: cover; object-position: center 35%; }
.asl-home .ah-panel.is-on .ah-photo__frame img { animation: ah-shot-in 1.2s ease; }
.asl-home .ah-badge {
	position: absolute;
	left: -14px;
	top: 32px;
	padding: 16px 20px;
	background: var(--ah-deep);
	color: #fff;
	text-align: left;
	box-shadow: 0 14px 30px rgba(7, 26, 68, 0.3);
}
.asl-home .ah-panel.is-on .ah-badge { animation: ah-badge-in 0.7s 0.25s ease both; }
.asl-home .ah-badge__num { font-size: 30px; font-weight: 900; line-height: 1; color: var(--ah-orange); }
.asl-home .ah-badge__label { margin-top: 4px; font-size: 12px; font-weight: 700; }

.asl-home .ah-panel__copy .ah-p { max-width: 460px; margin: 0 auto 14px; font-size: 17px; line-height: 1.7; }
.asl-home .ah-panel__copy .ah-p--soft { margin-bottom: 26px; font-size: 16px; }
.asl-home .ah-points { max-width: 400px; margin: 0 auto; border-top: 1px solid var(--ah-line); }
.asl-home .ah-points--desc { max-width: 440px; }
.asl-home .ah-points li {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	padding: 13px 0;
	border-bottom: 1px solid var(--ah-line);
	font-weight: 600;
	color: var(--ah-navy);
}
.asl-home .ah-points .ah-tick { flex: none; color: var(--ah-orange); }
.asl-home .ah-points li.ah-points__desc { display: block; padding: 12px 0; font-weight: 400; color: var(--ah-ink); }
.asl-home .ah-points__desc strong { display: block; color: var(--ah-navy); }
.asl-home .ah-points__desc span { font-size: 14px; line-height: 1.5; }

.asl-home .ah-accwall {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 26px;
	background: var(--ah-navy);
	border-radius: 28px;
}
.asl-home .ah-acc {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 150px;
	padding: 14px 10px;
	background: #fff;
	border-radius: 20px;
	transition: transform 0.25s ease;
}
.asl-home .ah-acc:hover { transform: translateY(-4px); }
.asl-home .ah-acc img { width: auto; height: auto; max-width: 82%; max-height: 76px; }
.asl-home .ah-acc span { font-size: 12px; font-weight: 800; line-height: 1.3; color: var(--ah-navy); }
.asl-home .ah-acc--count { background: var(--ah-orange); }
.asl-home .ah-acc--count span { color: var(--ah-deep); }
.asl-home .ah-acc--count .ah-acc__num { font-size: 26px; font-weight: 900; line-height: 1; }
.asl-home .ah-panel.is-on .ah-acc { animation: ah-acc-in 0.5s ease both; }
.asl-home .ah-panel.is-on .ah-acc:nth-child(2) { animation-delay: 0.06s; }
.asl-home .ah-panel.is-on .ah-acc:nth-child(3) { animation-delay: 0.12s; }
.asl-home .ah-panel.is-on .ah-acc:nth-child(4) { animation-delay: 0.18s; }
.asl-home .ah-panel.is-on .ah-acc:nth-child(5) { animation-delay: 0.24s; }
.asl-home .ah-panel.is-on .ah-acc:nth-child(n+6) { animation-delay: 0.3s; }

/* ------------------------------------------------ Fixed-price clearance */
.asl-home .ah-book {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 28px 0;
	align-items: center;
	padding: 40px;
	background: var(--ah-navy);
	color: #fff;
	border-top: 5px solid var(--ah-orange);
}
.asl-home .ah-book__copy,
.asl-home .ah-book__offer { padding: 0 32px; }
.asl-home .ah-book__offer { border-left: 1px solid var(--ah-rule-dark); }
.asl-home .ah-book__title { margin-bottom: 12px; font-size: 32px; line-height: 1.15; color: #fff; }
.asl-home .ah-book__text { max-width: 440px; margin: 0 auto; font-size: 16px; line-height: 1.6; color: var(--ah-on-dark); }
.asl-home .ah-price { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.asl-home .ah-price__num { font-size: 64px; font-weight: 900; line-height: 1; color: var(--ah-orange); }
.asl-home .ah-price__note { font-size: 20px; font-weight: 800; color: #fff; }
.asl-home .ah-book__terms { margin-top: 16px; font-size: 13px; color: var(--ah-muted); }

/* ------------------------------------------------------------ Services */
.asl-home .ah-seg-wrap { display: flex; justify-content: center; margin: -16px 0 44px; }
.asl-home .ah-seg {
	position: relative;
	display: inline-grid;
	grid-template-columns: repeat(var(--ah-seg-count, 3), 1fr);
	padding: 5px;
	background: #E9ECF3;
	border-radius: 999px;
}
.asl-home .ah-seg__knob {
	position: absolute;
	top: 5px;
	bottom: 5px;
	left: 5px;
	width: calc((100% - 10px) / var(--ah-seg-count, 3));
	background: var(--ah-navy);
	border-radius: 999px;
	transform: translateX(calc(100% * var(--ah-seg-pos, 0)));
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s ease;
}
.asl-home .ah-seg[data-pos="1"] .ah-seg__knob { background: var(--ah-orange); }
.asl-home .ah-seg[data-pos="2"] .ah-seg__knob { background: var(--ah-deep); }
.asl-home .ah-seg__btn {
	position: relative;
	z-index: 1;
	min-height: 44px;
	padding: 0 26px;
	font-size: 15px;
	font-weight: 800;
	text-align: center;
	color: var(--ah-navy);
	transition: color 0.3s ease;
}
.asl-home .ah-seg__btn.is-on { color: #fff; }
.asl-home .ah-seg[data-pos="1"] .ah-seg__btn.is-on { color: var(--ah-deep); }

.asl-home .ah-svc {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 48px;
	align-items: center;
}
.asl-home .ah-svc[hidden] { display: none; }
.asl-home .ah-svc.is-on { animation: ah-panel-in 0.5s ease; }
.asl-home .ah-svc__img { background: var(--ah-line); min-height: 200px; }
.asl-home .ah-svc__img img { width: 100%; height: 400px; object-fit: cover; object-position: center 40%; }
.asl-home .ah-svc__copy .ah-h3 { margin-bottom: 10px; }
.asl-home .ah-svc__intro { margin-bottom: 18px; font-size: 16px; line-height: 1.65; }
.asl-home .ah-list { margin-bottom: 22px; border-top: 1px solid var(--ah-line); }
.asl-home .ah-list li { padding: 12px 0; border-bottom: 1px solid var(--ah-line); }
.asl-home .ah-svc__body {
	grid-column: 1 / -1;
	max-width: 780px;
	margin: 8px auto 0;
	padding-top: 36px;
	border-top: 1px solid var(--ah-line);
	font-size: 17px;
	line-height: 1.75;
}
.asl-home .ah-svc__body p { margin-bottom: 16px; }
.asl-home .ah-svc__body > :last-child { margin-bottom: 0; }

.asl-home .ah-svc--all { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.asl-home .ah-svc__head { max-width: 640px; margin: 0 auto; }
.asl-home .ah-svc__head .ah-svc__intro { margin-bottom: 0; }
.asl-home .ah-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.asl-home .ah-cell {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 200px;
	padding: 26px 18px;
	background: var(--ah-grey);
	border-radius: 28px;
	text-decoration: none;
	transition: box-shadow 0.3s ease;
}
.asl-home .ah-cell:hover { box-shadow: 0 14px 30px rgba(0, 34, 108, 0.14); }
.asl-home .ah-cell__title { display: block; font-size: 17px; font-weight: 900; color: var(--ah-navy); }
.asl-home .ah-cell__subs { display: block; margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ah-soft); }
.asl-home .ah-cell__desc {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 12px;
	padding: 18px;
	background: var(--ah-navy);
	color: #fff;
	font-size: 14px;
	line-height: 1.55;
	transform: translateY(101%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.asl-home .ah-cell:hover .ah-cell__desc,
.asl-home .ah-cell:focus-visible .ah-cell__desc,
.asl-home .ah-cell:focus-within .ah-cell__desc { transform: none; }
.asl-home .ah-cell__more { font-size: 13px; font-weight: 800; color: var(--ah-orange); }

/* -------------------------------------------------------- How it works */
.asl-home .ah-how { padding-left: 16px; padding-right: 16px; }
.asl-home .ah-pill {
	max-width: 1408px;
	margin: 0 auto;
	padding: 80px 160px;
	background: var(--ah-navy);
	color: #fff;
	border-radius: 240px;
	box-shadow: 0 24px 50px rgba(0, 34, 108, 0.18);
}
.asl-home .ah-pill .ah-head { max-width: 640px; margin-bottom: 48px; }
.asl-home .ah-pill .ah-h2 { color: #fff; }
.asl-home .ah-pill .ah-lead { color: var(--ah-on-dark); }
.asl-home .ah-journey { position: relative; }
.asl-home .ah-journey__line {
	position: absolute;
	top: 28px;
	left: calc(50% / var(--ah-steps, 4));
	right: calc(50% / var(--ah-steps, 4));
	height: 4px;
	background: var(--ah-rule-dark);
	border-radius: 2px;
}
.asl-home .ah-journey__fill {
	width: 100%;
	height: 100%;
	background: var(--ah-orange);
	border-radius: 2px;
	transform-origin: left center;
}
.asl-home .ah-journey__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--ah-steps, 4), minmax(0, 1fr));
	gap: 0 28px;
}
.asl-home .ah-step { display: flex; flex-direction: column; align-items: center; }
.asl-home .ah-step__dot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border: 3px solid var(--ah-orange);
	border-radius: 50%;
	background: var(--ah-orange);
	color: var(--ah-deep);
	font-size: 22px;
	font-weight: 900;
}
.asl-home .ah-step__dot::after {
	content: "";
	position: absolute;
	inset: -3px;
	border: 3px solid var(--ah-orange);
	border-radius: 50%;
	opacity: 0;
}
.asl-home .ah-step__kicker {
	margin: 26px 0 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ah-orange);
}
.asl-home .ah-step__txt > :first-child:not(.ah-step__kicker) { margin-top: 26px; }
.asl-home .ah-step__title { margin-bottom: 10px; font-size: 21px; line-height: 1.25; color: #fff; }
.asl-home .ah-step__text { max-width: 260px; margin: 0 auto; font-size: 15px; line-height: 1.65; color: var(--ah-on-dark); }

/* Journey animation: only when asl-home.js has armed it (in view, motion allowed).
   Arming hides everything at once. The timings sit on .is-in so the stagger only runs on the way in;
   on the armed state they made steps 3 and 4 linger, then fade out seconds after page load. */
.asl-home .ah-journey.ah-armed .ah-journey__fill { transform: scaleX(0); }
.asl-home .ah-journey.ah-armed.is-in .ah-journey__fill {
	transform: scaleX(1);
	transition: transform calc((var(--ah-steps, 4) - 1) * 1s) cubic-bezier(0.45, 0, 0.25, 1) 0.2s;
}
.asl-home .ah-journey.ah-armed .ah-step__dot {
	opacity: 0;
	transform: scale(0.5);
	background: var(--ah-navy);
	border-color: var(--ah-mid);
	color: var(--ah-on-dark);
}
.asl-home .ah-journey.ah-armed.is-in .ah-step__dot {
	opacity: 1;
	transform: none;
	background: var(--ah-orange);
	border-color: var(--ah-orange);
	color: var(--ah-deep);
	transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
	transition-delay: calc(var(--i, 0) * 1s + 0.2s);
}
.asl-home .ah-journey.ah-armed.is-in .ah-step__dot::after {
	animation: ah-ping 1s ease-out both;
	animation-delay: calc(var(--i, 0) * 1s + 0.2s);
}
.asl-home .ah-journey.ah-armed .ah-step__txt { opacity: 0; transform: translateY(18px); }
.asl-home .ah-journey.ah-armed.is-in .ah-step__txt {
	opacity: 1;
	transform: none;
	transition: opacity 0.6s ease, transform 0.6s ease;
	transition-delay: calc(var(--i, 0) * 1s + 0.45s);
}

/* ------------------------------------------- Case study and article cards */
.asl-home .ah-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.asl-home .ah-story {
	display: block;
	overflow: hidden;
	background: var(--ah-navy);
	color: #fff;
	border-radius: 28px;
	text-decoration: none;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.asl-home .ah-story:hover { color: #fff; box-shadow: 0 18px 40px rgba(0, 34, 108, 0.16); transform: translateY(-4px); }
.asl-home .ah-story:focus-visible { outline-offset: 4px; }
.asl-home .ah-story__media { position: relative; display: block; height: 250px; overflow: hidden; background: var(--ah-line); }
.asl-home .ah-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.asl-home .ah-story:hover .ah-story__media img,
.asl-home .ah-story:focus-visible .ah-story__media img { transform: scale(1.07); }
.asl-home .ah-story__intro {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 20px 24px;
	background: rgba(0, 34, 108, 0.93);
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.asl-home .ah-story:hover .ah-story__intro,
.asl-home .ah-story:focus-visible .ah-story__intro { opacity: 1; transform: none; }
.asl-home .ah-story__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--ah-orange);
	font-size: 14px;
	font-weight: 800;
	color: var(--ah-orange);
}
.asl-home .ah-story__body { display: block; padding: 22px 22px 26px; }
.asl-home .ah-story__tag {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ah-orange);
}
.asl-home .ah-story__tag--muted { color: var(--ah-muted); }
.asl-home .ah-story__title { display: block; font-size: 20px; font-weight: 900; line-height: 1.3; color: #fff; }

/* ------------------------------------------------------------- Reviews */
.asl-home .ah-rgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 24px;
	align-items: stretch;
}
.asl-home .ah-rcol { display: flex; flex-direction: column; overflow: hidden; background: var(--ah-grey); border-radius: 28px; }
.asl-home .ah-rcol__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 84px;
	padding: 26px 26px 0;
}
.asl-home .ah-rcol__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 800;
	color: var(--ah-navy);
	text-decoration: none;
	text-align: left;
}
.asl-home .ah-rcol__brand img { width: auto; height: auto; max-width: 170px; max-height: 38px; }
.asl-home .ah-rcol__brand--named img { width: 28px; height: 28px; max-width: none; object-fit: contain; }
.asl-home .ah-rscore { text-align: right; line-height: 1.1; }
.asl-home .ah-rscore b { display: block; font-size: 26px; font-weight: 900; color: var(--ah-orange); }
.asl-home .ah-rscore span { font-size: 12px; color: var(--ah-mid); }
.asl-home .ah-rcol__body { flex: 1; min-height: 300px; padding: 22px 26px 6px; }
.asl-home .ah-rslide[hidden] { display: none; }
.asl-home .ah-rslide.is-on { animation: ah-fade-up 0.45s ease; }
.asl-home .ah-stars { margin-bottom: 16px; font-size: 17px; letter-spacing: 3px; color: var(--ah-orange); }
.asl-home .ah-quote { margin-bottom: 18px; quotes: none; }
.asl-home .ah-quote p { font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--ah-navy); }
.asl-home .ah-rcap { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--ah-mid); }
.asl-home .ah-rcap strong { font-size: 15px; color: var(--ah-ink); }
.asl-home .ah-rnav { display: flex; justify-content: center; padding: 8px 16px 24px; }
.asl-home .ah-rdot { display: flex; align-items: center; justify-content: center; width: 20px; height: 44px; }
.asl-home .ah-rdot span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #C3C9D8;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.asl-home .ah-rdot.is-on span { background: var(--ah-orange); transform: scale(1.35); }

/* ------------------------------------------------------------- Gallery */
.asl-home .ah-gal { overflow: hidden; }
.asl-home .ah-gal__track { display: flex; width: max-content; animation: ah-gal var(--ah-gal-time, 70s) linear infinite; }
.asl-home .ah-gal:hover .ah-gal__track { animation-play-state: paused; }
.asl-home .ah-gal__track img {
	flex: none;
	width: 340px;
	height: 240px;
	max-width: none;
	margin-right: 18px;
	object-fit: cover;
	border-radius: 22px;
}

/* --------------------------------------------------------------- Areas */
.asl-home .ah-map {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 600px;
	padding: 64px max(24px, 7vw);
	background: var(--ah-line);
}
.asl-home .ah-map__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 30% 60%;
}
.asl-home .ah-map__fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 26, 68, 0) 28%, rgba(7, 26, 68, 0.5) 62%, rgba(7, 26, 68, 0.82) 100%);
}
.asl-home .ah-map__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	width: 100%;
	max-width: 620px;
	padding: 44px 40px;
	background: var(--ah-deep);
	color: #fff;
	border-bottom: 5px solid var(--ah-orange);
	box-shadow: 0 24px 50px rgba(7, 26, 68, 0.3);
}
.asl-home .ah-map__check { width: 100%; max-width: 520px; }
.asl-home .ah-map__logo img { width: auto; height: 46px; margin: 0 auto 22px; }
.asl-home .ah-map__title { margin-bottom: 8px; font-size: 26px; color: #fff; }
.asl-home .ah-map__address { margin-bottom: 18px; font-size: 15px; color: var(--ah-on-dark); }
.asl-home .ah-pc { max-width: 440px; margin: 0 auto; }
.asl-home .ah-pc__row { display: flex; flex-wrap: wrap; }
.asl-home .ah-pc__input {
	flex: 1 1 220px;
	width: auto;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 3px 0 0 3px;
	background: #fff;
	color: var(--ah-ink);
	font-size: 16px;
	line-height: normal;
}
.asl-home .ah-pc__input:focus { outline: 3px solid var(--ah-orange); outline-offset: 1px; }
.asl-home .ah-pc__btn {
	display: inline-flex;
	align-items: center;
	height: 52px;
	padding: 0 22px;
	background: var(--ah-mid);
	color: #fff;
	border-radius: 0 3px 3px 0;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.asl-home .ah-pc__btn:hover { background: var(--ah-navy); color: #fff; }
.asl-home .ah-pc .pc_msg {
	display: none;
	position: static;
	width: auto;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: #fff;
}
.asl-home .ah-pc .ah-pc__msg--error { color: var(--ah-orange); }
.asl-home .ah-map__help-label { margin-bottom: 6px; font-size: 14px; color: var(--ah-on-dark); }
.asl-home .ah-map__note { max-width: 640px; margin: 40px auto 0; font-size: 15px; line-height: 1.6; }
.asl-home .ah-map__note a { font-weight: 800; }

/* ---------------------------------------------------- FAQs and contact */
.asl-home .ah-faqgrid {
	display: grid;
	grid-template-columns: 380px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}
.asl-home .ah-faqs { grid-column: 2; grid-row: 1; }
.asl-home .ah-faqs .ah-h2 { margin-bottom: 32px; }
.asl-home .ah-faq-list { border-top: 2px solid var(--ah-navy); }
.asl-home .ah-faq { padding: 22px 4px; border-bottom: 1px solid var(--ah-line); }
.asl-home .ah-faq__q {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	list-style: none;
	cursor: pointer;
	font-size: 19px;
	font-weight: 800;
	color: var(--ah-navy);
}
.asl-home .ah-faq__q::-webkit-details-marker { display: none; }
.asl-home .ah-faq__q::after {
	content: "+";
	flex: none;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	color: var(--ah-orange);
	transition: transform 0.25s ease;
}
.asl-home .ah-faq[open] > .ah-faq__q::after { transform: rotate(45deg); }
.asl-home .ah-faq__a { max-width: 680px; margin: 14px auto 0; font-size: 16px; line-height: 1.7; }
.asl-home .ah-faq__a p { margin-bottom: 12px; }
.asl-home .ah-faq__a > :last-child { margin-bottom: 0; }

.asl-home .ah-form-card {
	grid-column: 1;
	grid-row: 1;
	position: sticky;
	top: calc(var(--ah-header) + 24px);
	padding: 30px 28px 32px;
	background: var(--ah-navy);
	color: #fff;
	border-radius: 28px;
}
.asl-home .ah-form-card__title { margin-bottom: 8px; font-size: 26px; color: #fff; }
.asl-home .ah-form-card__text { margin-bottom: 22px; font-size: 15px; line-height: 1.6; color: var(--ah-on-dark); }
.asl-home .ah-form-card__note { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--ah-muted); }
.asl-home .ah-form-card__note a { color: #fff; font-weight: 700; }
.asl-home .ah-form-card__note a:hover { color: var(--ah-orange); }

/* WPForms inside the navy card. Its own CSS sets these variables on #wpforms-ID,
   so !important is needed to win against the ID selector. */
.asl-home .ah-form .wpforms-container {
	--wpforms-field-border-radius: 10px !important;
	--wpforms-field-border-size: 0px !important;
	--wpforms-field-background-color: #FFFFFF !important;
	--wpforms-field-text-color: #212121 !important;
	--wpforms-field-size-input-height: 48px !important;
	--wpforms-label-color: #FFFFFF !important;
	--wpforms-label-sublabel-color: #C9D0E2 !important;
	--wpforms-label-error-color: #F08E30 !important;
	--wpforms-button-background-color: #F08E30 !important;
	--wpforms-button-text-color: #071A44 !important;
	--wpforms-button-border-radius: 3px !important;
	--wpforms-button-size-height: 52px !important;
	--wpforms-button-size-font-size: 17px !important;
	margin: 0 !important;
	text-align: left;
}
/* The theme's style.css styles every WPForms form with !important rules
   (grey fields, hidden labels, small pill button with a navy hover).
   These selectors are more specific, so they win inside the card only. */
.asl-home .ah-form .wpforms-container.wpforms-container-full form { width: 100%; max-width: none; }
.asl-home .ah-form .wpforms-container.wpforms-container-full .wpforms-field-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.asl-home .ah-form .wpforms-container.wpforms-container-full .wpforms-field {
	grid-column: 1 / -1;
	float: none;
	width: auto;
	margin: 0 !important;
	padding: 0 !important;
}
/* Phone and Postcode side by side (form 305, fields 3 and 4) */
.asl-home .ah-form #wpforms-305-field_3-container,
.asl-home .ah-form #wpforms-305-field_4-container { grid-column: auto; }

.asl-home .ah-form .wpforms-container.wpforms-container-full .wpforms-field-label,
.asl-home .ah-form .wpforms-container.wpforms-container-full .wpforms-field-label.wpforms-label-hide {
	position: static !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	clip-path: none !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	text-align: left;
}
.asl-home .ah-form .wpforms-container.wpforms-container-full .wpforms-required-label { color: var(--ah-orange) !important; }

.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="text"],
.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="email"],
.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="tel"],
.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="number"],
.asl-home .ah-form .wpforms-container.wpforms-container-full select,
.asl-home .ah-form .wpforms-container.wpforms-container-full textarea,
.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="text"]:hover,
.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="email"]:hover,
.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="tel"]:hover,
.asl-home .ah-form .wpforms-container.wpforms-container-full select:hover,
.asl-home .ah-form .wpforms-container.wpforms-container-full textarea:hover,
.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="text"]:focus,
.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="email"]:focus,
.asl-home .ah-form .wpforms-container.wpforms-container-full input[type="tel"]:focus,
.asl-home .ah-form .wpforms-container.wpforms-container-full select:focus,
.asl-home .ah-form .wpforms-container.wpforms-container-full textarea:focus {
	width: 100% !important;
	max-width: none !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background-color: #fff !important; /* keeps the theme's select arrow image */
	color: var(--ah-ink) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	line-height: normal !important;
	box-shadow: none !important;
}
.asl-home .ah-form .wpforms-container.wpforms-container-full textarea,
.asl-home .ah-form .wpforms-container.wpforms-container-full textarea:hover,
.asl-home .ah-form .wpforms-container.wpforms-container-full textarea:focus {
	height: 110px !important;
	padding: 12px 14px !important;
	resize: vertical !important;
}
.asl-home .ah-form .wpforms-container.wpforms-container-full input:focus,
.asl-home .ah-form .wpforms-container.wpforms-container-full select:focus,
.asl-home .ah-form .wpforms-container.wpforms-container-full textarea:focus {
	outline: 3px solid var(--ah-orange) !important;
	outline-offset: 1px;
}
/* Labels now sit above the fields, so the placeholder copies of them are hidden */
.asl-home .ah-form .wpforms-container.wpforms-container-full input::placeholder,
.asl-home .ah-form .wpforms-container.wpforms-container-full textarea::placeholder { color: transparent !important; }

.asl-home .ah-form .wpforms-container.wpforms-container-full em.wpforms-error,
.asl-home .ah-form .wpforms-container.wpforms-container-full label.wpforms-error {
	position: static !important;
	display: block;
	margin-top: 4px !important;
	color: var(--ah-orange) !important;
	font-size: 12px !important;
	text-align: left;
}

.asl-home .ah-form .wpforms-container.wpforms-container-full .wpforms-submit-container {
	margin: 12px 0 0 !important;
	padding: 4px 0 0 !important;
	text-align: center;
}
.asl-home .ah-form .wpforms-container.wpforms-container-full button[type="submit"],
.asl-home .ah-form .wpforms-container.wpforms-container-full .wpforms-submit-container button {
	display: block;
	width: 100% !important;
	max-width: none !important;
	min-height: 52px;
	height: auto !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 3px !important;
	background: var(--ah-orange) !important;
	color: var(--ah-deep) !important;
	font-family: inherit !important;
	font-size: 17px !important;
	font-weight: 900 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	transition: background-color 0.2s ease;
}
.asl-home .ah-form .wpforms-container.wpforms-container-full button[type="submit"]:hover,
.asl-home .ah-form .wpforms-container.wpforms-container-full .wpforms-submit-container button:hover {
	background: var(--ah-orange-dark) !important;
	color: var(--ah-deep) !important;
}
.asl-home .ah-form .wpforms-container.wpforms-container-full button[type="submit"]:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 3px;
}

/* ------------------------------------------- Per-section values from the design */
.asl-home .ah-about { padding-top: 104px; padding-bottom: 104px; }
.asl-home .ah-about .ah-head { max-width: 680px; }
.asl-home .ah-about .ah-h2 { font-size: 44px; line-height: 1.1; margin-bottom: 14px; }
.asl-home .ah-about .ah-lead { font-size: 18px; line-height: 1.65; }
.asl-home #services .ah-head,
.asl-home .ah-pill .ah-head { margin-bottom: 48px; }
.asl-home .ah-svc .ah-h3 { line-height: 1.36; }
.asl-home #reviews .ah-head { max-width: none; margin-bottom: 44px; }
.asl-home #reviews .ah-lead { max-width: 620px; margin: 0 auto; }
.asl-home #gallery .ah-head { max-width: 720px; }
.asl-home #areas .ah-h2 { margin-bottom: 14px; }
.asl-home #areas .ah-lead { line-height: 1.7; }
.asl-home #how,
.asl-home #reviews,
.asl-home #areas,
.asl-home #faqs { padding-top: 112px; }
.asl-home .ah-plain + #cases,
.asl-home .ah-plain + #gallery,
.asl-home .ah-plain + #news { margin-top: 112px; }
.asl-home #gallery { padding-top: 84px; padding-bottom: 88px; }
.asl-home .ah-book .ah-btn { padding: 0 22px; }
.asl-home .ah-map__help .ah-btn { padding: 0 28px; font-size: 20px; }
.asl-home .ah-map__title,
.asl-home .ah-form-card__title { line-height: 1.36; }

/* --------------------------------------------------- Scroll reveal (JS) */
.asl-home .ah-armed .ah-rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.asl-home .ah-armed.is-in .ah-rv { opacity: 1; transform: none; }
.asl-home .ah-armed.is-in .ah-d1 { transition-delay: 0.1s; }
.asl-home .ah-armed.is-in .ah-d2 { transition-delay: 0.25s; }
.asl-home .ah-armed.is-in .ah-d3 { transition-delay: 0.4s; }
.asl-home .ah-armed.is-in .ah-d4 { transition-delay: 0.55s; }

/* ---------------------------------------------------------- Keyframes */
@keyframes ah-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ah-panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ah-shot-in { from { transform: scale(1.05); } to { transform: scale(1); } }
@keyframes ah-badge-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes ah-acc-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes ah-tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ah-ping { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes ah-gal { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- Responsive */
@media (max-width: 900px) {
	.asl-home .ah-pill { padding: 56px 28px; border-radius: 48px; }
	.asl-home .ah-book__offer { border-left: 0; }
	.asl-home .ah-map { justify-content: center; }
	.asl-home .ah-map__fade { background: rgba(7, 26, 68, 0.45); }
	.asl-home .ah-faqgrid { grid-template-columns: minmax(0, 1fr); }
	.asl-home .ah-faqs,
	.asl-home .ah-form-card { grid-column: 1; grid-row: auto; }
	.asl-home .ah-form-card { position: static; }
}

@media (max-width: 760px) {
	.asl-home .ah-plain { padding-top: 72px; }
	.asl-home .ah-band { padding: 64px 0 72px; }
	.asl-home .ah-plain + .ah-band { margin-top: 72px; }
	.asl-home .ah-last { padding-bottom: 80px; }
	.asl-home .ah-more { margin-top: 40px; }
	.asl-home .ah-hero { min-height: 560px; padding: 88px 20px; }
	.asl-home .ah-hero__text { font-size: 17px; }
	.asl-home .ah-photo__frame img { height: 340px; }
	.asl-home .ah-badge { left: 0; }
	.asl-home .ah-book { padding: 32px 20px; }
	.asl-home .ah-book__copy,
	.asl-home .ah-book__offer { padding: 0; }
	.asl-home .ah-svc { gap: 32px; }
	.asl-home .ah-svc__img img { height: 280px; }
	.asl-home .ah-journey__line { display: none; }
	.asl-home .ah-journey__steps { grid-template-columns: minmax(0, 1fr); }
	.asl-home .ah-step { margin-bottom: 40px; }
	.asl-home .ah-step:last-child { margin-bottom: 0; }
	.asl-home .ah-gal__track img { width: 260px; height: 184px; margin-right: 14px; }
	.asl-home .ah-map { min-height: 0; padding: 48px 16px; }
	.asl-home .ah-map__panel { padding: 32px 20px; }
	.asl-home .ah-about { padding-top: 64px; padding-bottom: 72px; }
	.asl-home #how,
	.asl-home #reviews,
	.asl-home #areas,
	.asl-home #faqs { padding-top: 72px; }
	.asl-home .ah-plain + #cases,
	.asl-home .ah-plain + #gallery,
	.asl-home .ah-plain + #news { margin-top: 72px; }
	.asl-home #gallery { padding-top: 64px; padding-bottom: 72px; }
}

@media (max-width: 600px) {
	.asl-home .ah-hero__title { font-size: 40px; }
	.asl-home .ah-h2,
	.asl-home .ah-about .ah-h2 { font-size: 31px; }
	.asl-home .ah-h3 { font-size: 26px; }
	.asl-home .ah-price__num { font-size: 52px; }
	.asl-home .ah-tab { padding: 0 6px; font-size: 13px; }
	.asl-home .ah-pc__input { border-radius: 3px 3px 0 0; }
	.asl-home .ah-pc__btn { width: 100%; justify-content: center; border-radius: 0 0 3px 3px; }
}

@media (max-width: 520px) {
	.asl-home .ah-accwall { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
}

@media (max-width: 480px) {
	.asl-home .ah-seg__btn { padding: 0 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.asl-home *,
	.asl-home *::before,
	.asl-home *::after { animation: none !important; transition: none !important; }
	.asl-home .ah-gal { overflow-x: auto; }
	.asl-home .ah-gal__track [aria-hidden="true"] { display: none; }
}
