/* Lawyers Advising Lawyers on GeneratePress + WPBakery (docs/lal_wpbakery_theme.md).
   Sizes are the live Oscend site's computed values at 1440px. WPBakery's own CSS lays out rows and columns. */

/* ---------- Fonts (assets/fonts/README.md) ----------
   The files and faces live's Google Fonts request returns (latin): one variable file per family,
   declared at Montserrat 400/700 and Raleway 300/400/700 only, so Raleway set at 500 renders at 400. */

@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/montserrat-v31-latin.woff2") format("woff2");
}

@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/montserrat-v31-latin.woff2") format("woff2");
}

@font-face {
	font-family: Raleway;
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/raleway-v37-latin.woff2") format("woff2");
}

@font-face {
	font-family: Raleway;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/raleway-v37-latin.woff2") format("woff2");
}

@font-face {
	font-family: Raleway;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/raleway-v37-latin.woff2") format("woff2");
}

@font-face {
	font-family: Roboto;
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2");
}

:root {
	--lal-blue: #5b8fbe;
	--lal-gold: #e6b109;
	--lal-ink: #333;
	--lal-muted: #999;
	--lal-tint: #eff2f7;
	--lal-dark: #1a1a1a;
	/* Live asks Google Fonts for "Playfair%2BDisplay", which returns nothing, so its italics render in the default serif. */
	--lal-serif: serif;
	--lal-slant: 5.24vw; /* Oscend's bottom effect: a 3° rotated band */
}

/* ---------- Base ---------- */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 81px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	background: #fff;
	color: var(--lal-ink);
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: #337ab7;
}

a:hover,
a:focus {
	color: #23527c;
}

.lal-one-page .lal-main a:not(.lal-button) {
	color: var(--lal-blue);
	text-decoration: none;
}

.lal-one-page .lal-main a:not(.lal-button):hover,
.lal-one-page .lal-main a:not(.lal-button):focus-visible {
	color: #337ab7;
	text-decoration: underline;
}

:focus-visible {
	outline: 2px solid var(--lal-gold);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--lal-ink);
	font-family: inherit;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

/* The one-page layout: full width, WPBakery rows inside a 1170px container like Oscend's. */
.lal-one-page .site.grid-container {
	max-width: none;
	padding: 0;
}

.lal-one-page .site-content {
	display: block;
	padding: 0;
}

/* Full-bleed section breaks are 100vw wide, which includes the scrollbar. */
body {
	overflow-x: clip;
}

/* WPBakery pads columns of rows with a background (and the row after one) by 35px; Oscend took that off. */
.vc_row.vc_row-has-fill > .vc_column_container > .vc_column-inner,
.vc_row.vc_row-has-fill + .vc_row > .vc_column_container > .vc_column-inner,
.vc_row.vc_row-has-fill + .vc_row-full-width + .vc_row > .vc_column_container > .vc_column-inner {
	padding-top: 0;
}

.lal-container {
	box-sizing: border-box;
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
}

.lal-button {
	display: inline-block;
	padding: 10px 30px;
	border: 0;
	border-radius: 3px;
	background: rgba(230, 177, 9, 0.75);
	color: #fff;
	font: 500 14px/14px Roboto, Arial, sans-serif;
	text-decoration: none;
}

.lal-button:hover,
.lal-button:focus-visible {
	background: #fff;
	color: #000;
}

/* Icons are SVG masks, so they take the text colour (inc/helpers.php). */
.lal-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: var(--lal-icon) center / contain no-repeat;
	mask: var(--lal-icon) center / contain no-repeat;
	vertical-align: middle;
}

/* ---------- Header ---------- */

.lal-header {
	position: relative;
	z-index: 50;
	background: var(--lal-dark);
}

.lal-header--overlay {
	position: absolute;
	inset: 0 0 auto;
	background: transparent;
}

.admin-bar .lal-header--overlay {
	top: 32px;
}

.lal-header--overlay.is-scrolled {
	position: fixed;
	background: rgba(198, 198, 198, 0.8);
}

.lal-header__inner {
	display: flex;
	align-items: flex-start;
	box-sizing: border-box;
	max-width: 1170px;
	margin: 0 auto;
	padding: 35px 15px;
	transition: padding 0.3s;
}

.is-scrolled .lal-header__inner {
	padding-block: 15px;
}

.lal-header__brand {
	display: block;
	align-self: center;
	margin-left: -15px;
	line-height: 0;
}

.lal-logo {
	width: 399px;
	max-width: 60vw;
	height: auto;
}

.lal-logo--dark,
.lal-logo--mobile,
.is-scrolled .lal-logo--light {
	display: none;
}

.is-scrolled .lal-logo--dark {
	display: block;
}

.lal-nav {
	margin-left: auto;
}

.lal-nav__list {
	display: flex;
	margin: 0 -15px 0 0;
	padding: 0;
	list-style: none;
}

.lal-nav a,
.lal-header__button {
	display: block;
	padding: 15px;
	color: #fff;
	font-size: 13px;
	line-height: 20px;
	text-decoration: none;
	text-transform: uppercase;
}

.is-scrolled .lal-nav a,
.is-scrolled .lal-header__button {
	color: var(--lal-ink);
}

.lal-nav a:hover,
.lal-nav a:focus-visible,
.lal-header__button:hover,
.lal-header__button:focus-visible {
	color: var(--lal-gold);
}

.lal-header__button,
.lal-header__button:hover,
.lal-header__button:focus {
	border: 0;
	background: none; /* over GeneratePress's grey button:hover/:focus */
	cursor: pointer;
}

.lal-header__menu-toggle {
	display: none;
	margin-left: auto;
}

.lal-burger,
.lal-burger::before,
.lal-burger::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
}

.lal-burger {
	position: relative;
}

.lal-burger::before,
.lal-burger::after {
	content: "";
	position: absolute;
	left: 0;
}

.lal-burger::before {
	top: -6px;
}

.lal-burger::after {
	top: 6px;
}

/* ---------- Section breaks (inc/row.php) ---------- */

.lal-break {
	position: relative;
	z-index: 2;
	height: 0;
}

.lal-break--band {
	height: 205px;
	margin-inline: calc(50% - 50vw);
	background: #fff url("../icons/divider.svg") 0 15px / 100% 148px no-repeat;
}

.lal-break__disc {
	position: absolute;
	top: -25px;
	left: 50%;
	box-sizing: border-box;
	width: 50px;
	height: 50px;
	margin-left: -25px;
	padding: 4px;
	border-radius: 50%;
	background: var(--lal-tint);
}

.lal-break--band .lal-break__disc {
	top: 30px;
}

.lal-break__disc::before {
	content: "";
	display: block;
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	border: 1px solid #dcdfe4;
	border-radius: 50%;
	background: #fff;
}

.lal-break__icon {
	position: absolute;
	top: 17px;
	left: 17px;
	width: 16px;
	height: 16px;
	color: #666;
}

/* ---------- Rows ---------- */

.lal-row--light,
.lal-row--light h1,
.lal-row--light h2,
.lal-row--light h3 {
	color: #fff;
}

.lal-row--slant {
	/* Oscend laid a white 2900x148px band, rotated -3deg, over the row's bottom (bottom: -50px; left: -100px):
	   its top edge starts 27px above the row's bottom on the left and rises 5.24% of the width. */
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 27px - var(--lal-slant)), 0 calc(100% - 27px));
}

/* ---------- Hero (inc/hero.php) ---------- */

.vc_row:has(.lal-hero),
.vc_row:has(.lal-hero) .vc_column-inner {
	padding: 0 !important;
}

.vc_row:has(.lal-hero) .vc_row {
	margin: 0;
}

/* Inset 15px: the slider sits inside Oscend's padded column, not edge to edge. */
.lal-hero {
	position: relative;
	display: flex;
	margin-inline: 15px;
	align-items: flex-start;
	justify-content: center;
	box-sizing: border-box;
	min-height: 868px; /* Slider Revolution grid: 868px tall from 1280px wide */
	padding: 288px 15px 94px;
	overflow: hidden;
	color: #fff;
	text-align: center;
}

/*
 * The two slides on live's Slider Revolution timing (docs/lal_wpbakery_theme.md, Hero): 9 s each,
 * the incoming one fades in over 0.6 s, and each photo's Ken Burns zoom (100% to 105% over 10 s,
 * anchored top centre) starts when it comes in, so it never jumps back while on screen.
 * The first photo stays opaque underneath; it resets while the second covers it.
 */
.lal-hero::before,
.lal-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--lal-hero-1) center top / cover no-repeat;
	transform-origin: 50% 0;
	animation: lal-hero-zoom-1 18s linear infinite;
}

.lal-hero::after {
	background-image: var(--lal-hero-2);
	opacity: 0;
	animation: lal-hero-zoom-2 18s linear 9s infinite backwards;
}

/* 53.333% = 9.6 s: shown 9 s plus the 0.6 s the next slide takes to fade in; 1.048 = 9.6 s of 10. */
@keyframes lal-hero-zoom-1 {
	0% { transform: scale(1); }
	53.333%, 75% { transform: scale(1.048); }
	75.001%, 100% { transform: scale(1); }
}

@keyframes lal-hero-zoom-2 {
	0% { opacity: 0; transform: scale(1); }
	3.333%, 50% { opacity: 1; }
	53.333%, 100% { opacity: 0; transform: scale(1.048); }
}

/* Each slide's text replays on live: gone at the slide change, then in from 0.5 s. */
.lal-hero__title {
	animation: lal-hero-fade 9s infinite;
}

.lal-hero__subtitle {
	animation: lal-hero-rise 9s infinite;
}

.lal-hero__buttons {
	animation: lal-hero-buttons 9s infinite;
}

@keyframes lal-hero-fade {
	0%, 5.556% { opacity: 0; animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
	16.667%, 100% { opacity: 1; }
}

@keyframes lal-hero-rise {
	0%, 5.556% { opacity: 0; transform: translateY(50px); animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
	14%, 100% { opacity: 1; transform: none; }
}

@keyframes lal-hero-buttons {
	0%, 5.556% { opacity: 0; animation-timing-function: ease-in-out; }
	8.889%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.lal-hero::before,
	.lal-hero::after,
	.lal-hero__title,
	.lal-hero__subtitle,
	.lal-hero__buttons {
		animation: none;
	}
}

.lal-hero__inner {
	position: relative;
	z-index: 1;
}

.lal-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 54px;
}

.lal-hero__subtitle {
	margin: 19px 0 0;
	font-size: 20px;
	line-height: 22px;
}

.lal-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px 39px;
	margin-top: 67px;
}

/* ---------- [box_title] ---------- */

.lal-heading {
	padding-bottom: 30px;
	text-align: center;
}

.lal-heading--right {
	text-align: right;
}

.lal-heading--left {
	text-align: left;
}

.lal-heading__title {
	margin: 0 0 10px;
	font-size: 26px;
	line-height: 28.6px;
	letter-spacing: 1px;
}

.lal-heading__above {
	margin: 0 0 10px;
	color: #666;
	font-size: 18px;
	font-weight: 400;
	line-height: 19.8px;
}

.lal-heading__subtitle {
	margin: 0 0 15px;
	color: var(--lal-muted);
	font-family: var(--lal-serif);
	font-size: 16px;
	font-style: italic;
	line-height: 17.6px;
}

/* Oscend's design arrow: a 50px line ending in a ring. */
.lal-heading__arrow {
	position: relative;
	display: block;
	width: 1px;
	height: 50px;
	margin: 10px auto;
	background: #ddd;
}

.lal-heading--right .lal-heading__arrow {
	margin-right: 0;
}

.lal-heading--left .lal-heading__arrow {
	margin-left: 0;
}

.lal-heading__arrow::after {
	content: "";
	position: absolute;
	top: 50px;
	left: -5px;
	box-sizing: border-box;
	width: 11px;
	height: 11px;
	border: 2px solid var(--lal-blue);
	border-radius: 50%;
}

.lal-heading__content {
	margin-top: 45px;
	font-family: Raleway, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 28px;
}

.lal-heading__content p {
	margin: 0;
}

/* ---------- Text columns ---------- */

.lal-one-page .wpb_text_column {
	font-size: 17px;
	line-height: 29px;
}

.lal-one-page .wpb_text_column p:last-child {
	margin-bottom: 0;
}

/* "How it works" step text. */
#works .wpb_text_column {
	font-size: 12px;
	line-height: 20px;
}

#works h5 {
	margin: 0 0 25px;
	font-size: 14px;
	line-height: 15.4px;
}

#works h5::after {
	content: "";
	display: block;
	width: 25px;
	height: 4px;
	margin-top: 20px;
	background: var(--lal-blue);
}

#works h4 {
	margin: 0 0 30px;
	font-size: 18px;
	line-height: 19.8px;
}

/* ---------- [box_title2] ---------- */

.lal-fobox {
	padding-right: 10px;
}

.lal-fobox__title {
	margin: 0 0 25px;
	font-size: 18.1px;
	line-height: 19.91px;
}

.lal-fobox__title::after,
.lal-feature__title::after {
	content: "";
	display: block;
	width: 25px;
	height: 4px;
	margin-top: 20px;
	background: var(--lal-blue);
}

.lal-fobox__content {
	font-size: 14.7px;
	line-height: 30px;
}

.lal-fobox__content p,
.lal-fobox__content ul {
	margin: 0;
}

/* ---------- [box_icon_step] ---------- */

.lal-step-badge {
	position: relative;
	margin-bottom: 60px;
	text-align: center;
}

.lal-step-badge__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 75px;
	height: 75px;
	margin-right: 15px;
	border-radius: 50%;
	background: var(--lal-blue);
	color: #fff;
	font-size: 22px;
	vertical-align: middle;
}

.lal-step-badge__icon::before {
	content: attr(data-step);
	position: absolute;
	top: -5px;
	left: -5px;
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	border: 5px solid var(--lal-tint);
	border-radius: 50%;
	background: var(--lal-ink);
	color: #fff;
	font-size: 14px;
	line-height: 20px;
}

.lal-step-badge__title {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	text-transform: uppercase;
	vertical-align: middle;
}

/* Dotted arrow from one step to the next. */
.wpb_column + .wpb_column .lal-step-badge::after {
	content: "";
	position: absolute;
	top: 90px;
	left: -99.75px;
	width: 178px;
	height: 29px;
	background: url("../icons/step-arrow.svg") center / contain no-repeat;
}

/* ---------- [box_amount] ---------- */

/* Bottom padding: the 17.6px line of the empty pie-chart canvas Oscend put under each label. */
.lal-stat {
	position: relative;
	margin: 0 30px 15px;
	padding-bottom: 17.6px;
	text-align: center;
}

/* Small ring between the figures. */
.wpb_column + .wpb_column .lal-stat::before {
	content: "";
	position: absolute;
	top: 137px;
	left: -20px;
	box-sizing: border-box;
	width: 12px;
	height: 12px;
	border: 2px solid var(--lal-blue);
	border-radius: 50%;
}

.lal-stat__icon {
	display: block;
	width: 46px;
	height: 46px;
	margin: 0 auto;
}

.lal-stat__count {
	margin: 0;
	padding: 30px 0;
	font-size: 30px;
	font-weight: 700;
	line-height: 33px;
	font-variant-numeric: tabular-nums;
}

.lal-stat__label {
	margin: 0;
	color: #ddd;
	font-size: 14px;
	line-height: 15.4px;
	text-transform: uppercase;
}

/* ---------- [box_feature] ---------- */

.lal-feature {
	margin: 0 30px 15px;
	text-align: center;
}

/* 88px tinted disc inside a 110px ringed circle. */
.lal-feature__icon {
	box-sizing: border-box;
	width: 110px;
	height: 110px;
	margin: 0 auto 50px;
	padding: 10px;
	border: 1px solid var(--lal-tint);
	border-radius: 50%;
	background: #fff;
}

.lal-feature__icon .lal-icon {
	display: block;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--lal-tint);
	-webkit-mask: none;
	mask: none;
	position: relative;
}

.lal-feature__icon .lal-icon::after {
	content: "";
	position: absolute;
	inset: 28px;
	background: #666;
	-webkit-mask: var(--lal-icon) center / contain no-repeat;
	mask: var(--lal-icon) center / contain no-repeat;
}

.lal-feature__title {
	margin: 0;
	font-size: 14px;
	line-height: 15.4px;
}

.lal-feature__title::after {
	margin-inline: auto;
}

.lal-feature__text {
	margin: 20px 0 5px;
	font-size: 15px;
	line-height: 25px;
}

.lal-feature__text p {
	margin: 0;
}

/* ---------- Accordions (WPBakery's own, restyled to match) ---------- */

.lal-one-page .vc_tta.vc_general .vc_tta-panel-heading {
	border: 1px solid #f7f7f7;
	border-radius: 5px;
	background: #fff;
}

.lal-one-page .vc_tta.vc_general .vc_tta-panel-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 15px;
	text-transform: uppercase;
}

.lal-one-page .vc_tta.vc_general .vc_tta-panel-title > a {
	padding: 14px 20px;
	color: #666;
}

.lal-one-page .vc_tta.vc_general .vc_tta-panel-body {
	padding: 14px 20px;
	border: 1px solid #f7f7f7;
	border-radius: 5px;
	background: #fff;
}

.lal-one-page .vc_tta-panel-body .wpb_text_column {
	font-size: 13px;
	line-height: 28px;
}

/* ---------- [section_reviews] ---------- */

.lal-reviews {
	padding-top: 20px;
}

/*
 * Carousel (assets/js/lal.js): the slides sit side by side on a track that slides 0.8s ease, as Owl Carousel did,
 * and the row is as tall as the longest quote. The frame clips the other slides; its padding (offset by the negative
 * margin) keeps the quote's shadow, and the gap keeps the next slide out of that padding.
 */
.lal-reviews-frame {
	--lal-frame-pad: 14px;
	margin: 0 calc(-1 * var(--lal-frame-pad)) calc(-1 * var(--lal-frame-pad));
	padding: 0 var(--lal-frame-pad) var(--lal-frame-pad);
	overflow: hidden;
	cursor: grab;
	touch-action: pan-y;
}

.lal-reviews.is-carousel {
	--lal-slide: 0;
	--lal-drag: 0px;
	--lal-slide-gap: calc(2 * var(--lal-frame-pad));
	display: flex;
	gap: var(--lal-slide-gap);
	transform: translateX(calc(var(--lal-slide) * -1 * (100% + var(--lal-slide-gap)) + var(--lal-drag)));
	transition: transform 0.8s ease;
}

.lal-reviews.is-carousel > .lal-review {
	flex: 0 0 100%;
	min-width: 0;
}

.lal-reviews.is-dragging {
	transition: none;
	user-select: none;
	cursor: grabbing;
}

.lal-reviews-frame img {
	-webkit-user-drag: none;
}

@media (prefers-reduced-motion: reduce) {
	.lal-reviews.is-carousel {
		transition: none;
	}
}

.lal-reviews:not(.is-carousel) > .lal-review + .lal-review {
	margin-top: 40px;
}

/* align-content: wrapped lines stay at the top when the shared grid cell is taller. */
.lal-review {
	display: flex;
	align-content: flex-start;
	text-align: left;
}

.lal-review__photo {
	flex: 0 0 300px;
}

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

.lal-review__body {
	flex: 1;
	min-width: 0;
}

.lal-review__name {
	margin: 0;
	padding: 20px 15px 30px 35px;
	font-size: 14px;
	font-weight: 700;
	line-height: 15.4px;
	text-transform: uppercase;
}

.lal-review__firm {
	margin-left: 10px;
	color: var(--lal-muted);
	font-family: var(--lal-serif);
	font-size: 13px;
	font-style: italic;
	font-weight: 400;
	text-transform: capitalize;
}

.lal-review__quote {
	position: relative;
	margin: 0 0 0 -30px;
	padding: 50px;
	border: 1px solid #eee;
	background: #fff;
	box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.08);
	color: #666;
	font-family: var(--lal-serif);
	font-size: 16px;
	font-style: italic;
	line-height: 30px;
}

.lal-review__quote p {
	margin: 0;
}

.lal-review__quote::before {
	content: "";
	position: absolute;
	top: -20px;
	right: 50px;
	width: 40px;
	height: 34px;
	background: #eee;
	-webkit-mask: url("../icons/fa-quote-right.svg") center / contain no-repeat;
	mask: url("../icons/fa-quote-right.svg") center / contain no-repeat;
}

.lal-dots {
	padding: 15px 0;
	line-height: 18px;
	text-align: right;
}

.lal-dots button {
	box-sizing: border-box;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	padding: 0;
	border: 1px solid #cfcfcf;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	vertical-align: middle;
}

.lal-dots button[aria-current="true"] {
	border-color: #666;
	background: #666;
}

/* ---------- [section_brands] ---------- */

.lal-brands {
	margin: 0;
	padding: 30px 0 0;
	list-style: none;
	text-align: center;
}

.lal-brand {
	display: inline-block;
	box-sizing: border-box;
	width: 200px;
	margin: 0 0 15px;
	padding: 0 30px;
	font-size: 16px;
	line-height: 16px;
	vertical-align: middle;
}

/* No width: auto: with sizes="auto" that lets the browser upscale a small logo to 140px. */
.lal-brand img {
	max-width: 140px;
	height: auto;
}

/* ---------- Footer: staticblock (inc/staticblocks.php) ---------- */

.site-footer {
	background: var(--lal-dark);
}

.lal-social {
	text-align: center;
}

.lal-social__title {
	margin: 0;
	color: var(--lal-muted);
	font-family: var(--lal-serif);
	font-size: 16px;
	font-style: italic;
	line-height: 16px;
}

.lal-social__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 15px 0 3px;
	list-style: none;
}

.lal-social__item a {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	border: 2px solid #5a5a5a;
	border-radius: 50%;
	color: var(--lal-muted);
	font-size: 16px;
	transition: background-color 0.5s ease-out, border-color 0.5s ease-out, color 0.5s ease-out;
}

/* Live's hover: filled blue with a white icon, in fast (0.1s) and out slow (0.5s). */
.lal-social__item a:hover,
.lal-social__item a:focus-visible {
	border-color: var(--lal-blue);
	background-color: var(--lal-blue);
	color: #fff;
	transition-duration: 0.1s;
}

/*
 * Scroll-in animations (assets/js/lal.js): the content's css_animation, played once as Oscend's WOW.js and
 * animate.css did (1s ease, moving by the element's own size). Hidden until revealed; never with reduced motion.
 */
.lal-reveal-pending {
	visibility: hidden;
}

[data-lal-reveal].is-revealed {
	animation-duration: 1s;
	animation-timing-function: ease;
	animation-fill-mode: both;
}

[data-lal-reveal="fadeIn"].is-revealed {
	animation-name: lal-fade-in;
}

[data-lal-reveal="fadeInLeft"].is-revealed {
	animation-name: lal-fade-in-left;
}

[data-lal-reveal="fadeInRight"].is-revealed {
	animation-name: lal-fade-in-right;
}

[data-lal-reveal="fadeInUp"].is-revealed {
	animation-name: lal-fade-in-up;
}

[data-lal-reveal="fadeInDown"].is-revealed {
	animation-name: lal-fade-in-down;
}

@keyframes lal-fade-in {
	from { opacity: 0; }
}

@keyframes lal-fade-in-left {
	from { opacity: 0; transform: translate3d(-100%, 0, 0); }
}

@keyframes lal-fade-in-right {
	from { opacity: 0; transform: translate3d(100%, 0, 0); }
}

@keyframes lal-fade-in-up {
	from { opacity: 0; transform: translate3d(0, 100%, 0); }
}

@keyframes lal-fade-in-down {
	from { opacity: 0; transform: translate3d(0, -100%, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.lal-reveal-pending {
		visibility: visible;
	}

	[data-lal-reveal].is-revealed {
		animation: none;
	}
}

/* Printed before scrolling, the sections still waiting to reveal would come out blank. */
@media print {
	.lal-reveal-pending {
		visibility: visible;
	}
}

.lal-footer .lal-fobox__title {
	color: #ccc;
	font-size: 14px;
	line-height: 21px;
}

.lal-footer .lal-fobox__content {
	color: var(--lal-muted);
	font-size: 14px;
	line-height: 21px;
}

.lal-footer .lal-fobox__content ul {
	padding: 0;
	list-style: none;
}

/* Live's Contact content ends in a stray empty <p> whose 10px margin pads the footer; keep the space. */
.lal-footer .lal-fobox__content > ul:last-child {
	margin-bottom: 10px;
}

.lal-footer .lal-fobox__content a {
	color: var(--lal-muted);
	text-decoration: none;
}

.lal-footer .lal-fobox__content a:hover,
.lal-footer .lal-fobox__content a:focus-visible {
	color: #ccc;
	text-decoration: underline;
}

.lal-footer .vc_custom_heading {
	margin: 0;
	font-weight: 700;
	line-height: 11px;
	text-transform: uppercase;
}

.lal-footer .wpb_content_element:last-child {
	margin-bottom: 0;
}

/* ---------- Smaller screens ---------- */

/* Hero at Slider Revolution's smaller grids (1024, 778, 480). */
@media (max-width: 1023px) {
	.lal-hero {
		min-height: 768px;
		padding-top: 253px;
	}
}

@media (max-width: 777px) {
	.lal-hero {
		min-height: 640px;
		padding-top: 178px;
	}
}

/* Slider Revolution's 480x720 phone grid, scaled to the column width; layers at its 54px/30px/15px. */
@media (max-width: 479px) {
	.lal-hero {
		min-height: 0;
		aspect-ratio: 480 / 720;
		padding: calc((100vw - 30px) * 0.15) 0 0;
	}

	.lal-hero__title {
		font-size: 30px;
		line-height: 41px;
	}

	.lal-hero__subtitle {
		max-width: 260px;
		margin: 17px auto 0;
	}

	.lal-hero__buttons {
		flex-direction: column;
		align-items: center;
		gap: 20px;
		margin-top: 14px;
	}
}

@media (max-width: 991px) {
	.lal-step-badge {
		display: none;
	}

	.wpb_column + .wpb_column .lal-stat::before {
		display: none;
	}
}

@media (max-width: 782px) {
	.admin-bar .lal-header--overlay {
		top: 46px;
	}
}

@media (max-width: 767px) {
	/* Oscend on phones: a 110px bar above the hero, menu button left, the bulb logo from the
	   centre line (its brand box is 40px wide) and cut off by the bar's bottom edge. */
	.lal-header--overlay,
	.lal-header--overlay.is-scrolled {
		position: relative;
		top: 0;
		background: #2b2e33;
	}

	.lal-header__inner {
		position: relative;
		flex-wrap: wrap;
		justify-content: center;
		min-height: 110px;
		padding-block: 35px;
	}

	.lal-header__inner:not(:has(.lal-nav.is-open)) {
		height: 110px;
		overflow: hidden;
	}

	.lal-header__brand {
		position: absolute;
		top: 35px;
		left: calc(50% - 20px);
		margin: 0;
	}

	.lal-logo--light,
	.is-scrolled .lal-logo--dark {
		display: none;
	}

	.lal-logo--mobile {
		display: block;
		width: 97px;
		max-width: none;
		height: auto;
	}

	.lal-header__menu-toggle {
		position: absolute;
		top: 35px;
		left: 15px;
		display: flex;
		align-items: center;
		width: 14px;
		height: 40px;
		padding: 0;
		color: var(--lal-muted);
	}

	/* Grey on tap as on live (not gold hover, nor GeneratePress's white button:focus);
	   keyboard focus still shows gold. */
	.lal-header__menu-toggle:hover,
	.lal-header__menu-toggle:focus:not(:focus-visible) {
		color: var(--lal-muted);
	}

	/* Font Awesome 4's bars glyph, as Oscend's toggle. */
	.lal-burger {
		width: 14px;
		height: 16px;
		background: currentColor;
		-webkit-mask: url("../icons/fa-bars.svg") center / contain no-repeat;
		mask: url("../icons/fa-bars.svg") center / contain no-repeat;
	}

	.lal-burger::before,
	.lal-burger::after {
		display: none;
	}

	/* Stacked counters: 20px more above the second and third. */
	.wpb_column + .wpb_column .lal-stat {
		padding-top: 20px;
	}

	.lal-review__photo {
		padding: 0 30px 4px;
	}

	/* Opens below the 110px bar, above the bulb logo that hangs over its edge, with
	   Oscend's rule on top and full-width 41px rows (measured on live). The toggle and
	   logo are absolutely placed, so the 35px top padding is all that's above this. */
	.lal-nav {
		position: relative;
		z-index: 1;
		display: none;
		flex-basis: calc(100% + 30px);
		margin: 70px -15px 0;
		border-top: 1px solid #404347;
	}

	.lal-nav.is-open {
		display: block;
	}

	.lal-nav__list {
		flex-direction: column;
		margin: 0;
		padding-block: 7px;
	}

	.lal-nav a,
	.is-scrolled .lal-nav a {
		padding: 10px 15px 11px;
		color: #fff;
	}

	.lal-hero__title {
		line-height: 1.25;
	}

	.lal-hero__subtitle {
		font-size: 15px;
		line-height: 17px;
	}

	.lal-review {
		flex-wrap: wrap;
	}

	.lal-review__photo,
	.lal-review__body {
		flex: 0 0 100%;
	}

	.lal-review__name {
		text-align: center;
	}

	.lal-review__quote {
		margin-left: 0;
		padding: 25px;
	}
}
