/*
Theme Name: LiveLife Support
Theme URI: https://www.livelifesupport.co.uk
Author: LiveLife Support
Author URI: https://www.livelifesupport.co.uk
Description: A warm, welcoming block theme for LiveLife Support. Activating it sets up the whole site: Home, About Us, Our Services (with a page for each service), How It Works, News and Contact, plus the menu, a contact form, a quick exit button, gentle animation and a chat helper that can use Claude AI. Everything can be edited in the WordPress editor.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: livelife-support
Tags: full-site-editing, block-patterns, custom-colors, one-column, wide-blocks
*/

/* ---------- Basics ---------- */

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, h4) {
	text-wrap: balance;
}

:where(p, li) {
	text-wrap: pretty;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--magenta);
	outline-offset: 3px;
	border-radius: 4px;
}

.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--magenta);
}

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

@media (min-width: 782px) {
	.wp-site-blocks > header.wp-block-template-part {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0px);
		z-index: 50;
	}
}

.lls-topbar {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
}

.lls-topbar p {
	margin: 0;
}

.lls-topbar a {
	color: inherit;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lls-topbar a:focus-visible,
.lls-footer a:focus-visible,
.lls-cta a:focus-visible {
	outline-color: var(--wp--preset--color--sunflower);
}

.lls-header {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.lls-brand {
	text-decoration: none;
}

.lls-brand .wp-block-image {
	margin: 0;
	flex-shrink: 0;
}

.lls-brand .wp-block-image img {
	width: 52px;
	height: 52px;
	display: block;
}

.lls-wordmark {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 1.625rem;
	line-height: 1;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.lls-wordmark a {
	text-decoration: none;
	color: var(--wp--preset--color--magenta);
}

.lls-wordmark .lls-wordmark__support {
	color: var(--wp--preset--color--teal-dark);
}

@media (max-width: 480px) {
	.lls-brand .wp-block-image img { width: 42px; height: 42px; }
	.lls-wordmark { font-size: 1.3rem; }
	.lls-header-call { display: none; }
}

.wp-block-navigation .wp-block-navigation-item__content {
	padding-block: 0.35em;
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--magenta);
}

.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--magenta);
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--sunflower);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
	box-shadow: var(--wp--custom--shadow--card);
	padding: 0.5rem;
	min-width: 270px;
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.55em 0.8em;
	border-radius: var(--wp--custom--radius--small);
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--blush);
}

.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--ink);
	padding: var(--wp--preset--spacing--50);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	font-size: var(--wp--preset--font-size--large);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0;
	box-shadow: none;
	background: transparent;
	padding: 0 0 0 1rem;
}

.lls-header-call .wp-block-button__link {
	font-size: var(--wp--preset--font-size--small);
	padding: 0.7em 1.2em;
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.lls-header-call { display: none; }
}

/* Switch to the menu button on tablets as well as phones. */
@media (min-width: 600px) and (max-width: 1023px) {
	.lls-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.lls-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

.lls-main-page {
	padding-bottom: var(--wp--preset--spacing--70);
}

.lls-main-page > .wp-block-post-content,
.lls-main-page > .wp-block-post-featured-image {
	margin-top: var(--wp--preset--spacing--60);
}

.lls-single-image img {
	border-radius: var(--wp--custom--radius--large);
}

/* ---------- Quick exit ---------- */

.lls-quick-exit {
	position: fixed;
	right: max(16px, env(safe-area-inset-right, 0px));
	bottom: max(16px, env(safe-area-inset-bottom, 0px));
	z-index: 999;
	margin: 0 !important;
}

.lls-quick-exit .wp-block-button__link {
	background-color: var(--wp--preset--color--teal-dark);
	color: var(--wp--preset--color--white);
	box-shadow: 0 8px 24px -6px rgba(20, 105, 109, 0.55);
	font-size: var(--wp--preset--font-size--small);
	padding: 0.75em 1.25em;
}

.lls-quick-exit .wp-block-button__link:hover,
.lls-quick-exit .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

/* In the editor, keep the button in the flow so it does not cover content. */
.editor-styles-wrapper .lls-quick-exit,
.block-editor-block-list__layout .lls-quick-exit {
	position: static;
}

/* ---------- Section helpers ---------- */

.lls-eyebrow {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal-dark);
	margin-bottom: 0;
}

.lls-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.lls-muted {
	color: var(--wp--preset--color--muted);
}

.lls-hero,
.lls-page-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.lls-hero::before,
.lls-page-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	background: var(--wp--preset--color--sunflower);
	width: min(52vw, 560px);
	aspect-ratio: 1;
	top: -22%;
	right: -12%;
	opacity: 0.85;
	pointer-events: none;
}

.lls-hero::after,
.lls-page-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	background: var(--wp--preset--color--teal-soft);
	width: min(30vw, 300px);
	aspect-ratio: 1;
	bottom: -14%;
	left: -8%;
	pointer-events: none;
}

.lls-page-hero::before {
	width: min(40vw, 380px);
	top: -40%;
	right: -8%;
}

.lls-page-hero::after {
	width: min(22vw, 200px);
	bottom: -30%;
	left: -6%;
	background: var(--wp--preset--color--white);
	opacity: 0.7;
}

.lls-hero h1 {
	margin-top: 0.25em;
}

.lls-rounded {
	border-radius: var(--wp--custom--radius--large);
}

/* Images with soft corners (block style "Soft corners"). */
.wp-block-image.is-style-lls-soft img {
	border-radius: var(--wp--custom--radius--large);
}

/* ---------- Cards ---------- */

.wp-block-group.is-style-lls-card {
	background-color: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--radius--large);
	box-shadow: var(--wp--custom--shadow--card);
	padding: var(--wp--preset--spacing--50);
	height: 100%;
}

.lls-service-card {
	display: flex;
	flex-direction: column;
}

.lls-service-card > .lls-card-link {
	margin-top: auto;
	padding-top: 0.5rem;
}

.lls-card-link a {
	font-weight: 800;
	text-decoration: none;
}

.lls-card-link a:hover {
	text-decoration: underline;
}

.lls-icon {
	margin: 0;
}

.lls-icon img {
	width: 88px;
	height: 88px;
	display: block;
}

.lls-icon--large img {
	width: 120px;
	height: 120px;
}

.wp-block-columns.lls-equal > .wp-block-column {
	display: flex;
	flex-direction: column;
}

.wp-block-columns.lls-equal > .wp-block-column > * {
	flex: 1;
}

/* ---------- Checklist (list block style) ---------- */

ul.is-style-lls-checklist {
	list-style: none;
	padding-left: 0;
}

ul.is-style-lls-checklist li {
	position: relative;
	padding-left: 2.1em;
	margin-bottom: 0.65em;
}

ul.is-style-lls-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 1.35em;
	height: 1.35em;
	border-radius: 50%;
	background-color: var(--wp--preset--color--teal-dark);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
	background-size: 70%;
	background-position: center;
	background-repeat: no-repeat;
}

/* ---------- Numbered steps ---------- */

.lls-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--wp--preset--color--magenta);
	color: var(--wp--preset--color--white) !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 1.35rem;
	line-height: 1;
	margin: 0 0 0.25rem;
}

.lls-step:nth-of-type(2) .lls-step-number,
.wp-block-column:nth-child(2) > .lls-step .lls-step-number { background: var(--wp--preset--color--teal-dark); }
.lls-step:nth-of-type(3) .lls-step-number,
.wp-block-column:nth-child(3) > .lls-step .lls-step-number { background: var(--wp--preset--color--sunflower); color: var(--wp--preset--color--ink) !important; }
.lls-step:nth-of-type(4) .lls-step-number,
.wp-block-column:nth-child(4) > .lls-step .lls-step-number { background: var(--wp--preset--color--magenta-dark); }
.lls-step:nth-of-type(5) .lls-step-number { background: var(--wp--preset--color--teal-dark); }

/* On phones, keep the picture above the text in rows that are flipped on desktop. */
@media (max-width: 781px) {
	.wp-block-columns.lls-flip > .wp-block-column:last-child { order: -1; }
}

.lls-step h3 {
	margin-top: 0.5rem;
	margin-bottom: 0.35rem;
}

.lls-step p {
	margin-top: 0;
}

/* ---------- Quote panel ---------- */

.lls-quote-panel {
	position: relative;
}

.lls-quote-panel .wp-block-quote {
	border: 0;
	padding: 0;
	margin: 0;
	color: var(--wp--preset--color--ink);
}

.lls-quote-panel .wp-block-quote::before {
	content: "\201C";
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 6rem;
	line-height: 0.6;
	height: 0.45em;
	color: var(--wp--preset--color--magenta);
}

.lls-quote-panel .wp-block-quote p {
	font-size: var(--wp--preset--font-size--large);
	font-family: var(--wp--preset--font-family--body);
	line-height: 1.65;
}

.lls-quote-panel .wp-block-quote p:first-child {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--wp--preset--color--magenta);
	line-height: 1.35;
}

.lls-quote-panel .wp-block-quote cite {
	display: block;
	margin-top: 1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal-dark);
}

/* ---------- FAQs ---------- */

.lls-faq .wp-block-details {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--medium);
	padding: 0;
	margin-top: 0.75rem;
}

.lls-faq .wp-block-details summary {
	cursor: pointer;
	list-style: none;
	padding: 1.1rem 3.25rem 1.1rem 1.4rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--ink);
	position: relative;
}

.lls-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.lls-faq .wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	background: var(--wp--preset--color--blush);
	color: var(--wp--preset--color--magenta);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 800;
	font-size: 1.2rem;
	line-height: 1;
}

.lls-faq .wp-block-details[open] summary::after {
	content: "\2212";
	background: var(--wp--preset--color--magenta);
	color: var(--wp--preset--color--white);
}

.lls-faq .wp-block-details > :not(summary) {
	padding: 0 1.4rem;
	margin-top: 0;
}

.lls-faq .wp-block-details > :last-child {
	padding-bottom: 1.2rem;
}

/* ---------- Bands ---------- */

.lls-safety .wp-block-heading {
	color: var(--wp--preset--color--teal-dark);
}

.lls-safety a {
	color: var(--wp--preset--color--teal-dark);
	font-weight: 800;
}

.lls-big-number {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1.1;
	margin-bottom: 0;
}

.lls-cta,
.lls-cta :where(h1, h2, h3, p) {
	color: var(--wp--preset--color--white);
}

.lls-cta a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--white);
}

.lls-cta .wp-block-button__link {
	background-color: var(--wp--preset--color--sunflower);
	color: var(--wp--preset--color--ink);
}

.lls-cta .wp-block-button__link:hover,
.lls-cta .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--magenta);
}

.lls-cta .is-style-outline .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--white);
}

.lls-cta .is-style-outline .wp-block-button__link:hover,
.lls-cta .is-style-outline .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--magenta);
}

.lls-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.lls-cta::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 340px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--wp--preset--color--magenta-dark);
	right: -90px;
	top: -120px;
	pointer-events: none;
}

.lls-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 160px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--wp--preset--color--sunflower);
	left: -50px;
	bottom: -70px;
	opacity: 0.9;
	pointer-events: none;
}

/* ---------- Contact details ---------- */

.lls-contact-item p {
	margin: 0;
}

.lls-contact-item .lls-contact-label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal-dark);
}

.lls-contact-item .lls-contact-value {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.lls-contact-item .lls-contact-value a {
	text-decoration: none;
}

.lls-contact-item .lls-contact-value a:hover {
	text-decoration: underline;
}

/* ---------- Posts ---------- */

.lls-post-card {
	height: 100%;
}

.lls-post-card .wp-block-post-featured-image img {
	border-radius: var(--wp--custom--radius--medium);
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.lls-post-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--magenta);
}

.wp-block-query-pagination a {
	font-weight: 800;
}

.lls-prose > * + * {
	margin-block-start: 1.2em;
}

/* ---------- Footer ---------- */

.lls-footer,
.lls-footer :where(p, li, h2, h3, h4) {
	color: var(--wp--preset--color--white);
}

.lls-footer a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.lls-footer a:hover {
	text-decoration: underline;
	color: var(--wp--preset--color--sunflower);
}

.lls-footer .lls-footer-heading {
	color: var(--wp--preset--color--sunflower);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.lls-footer ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.lls-footer ul li {
	margin-bottom: 0.5rem;
}

.lls-footer .lls-wordmark a {
	color: var(--wp--preset--color--white);
}

.lls-footer .lls-wordmark .lls-wordmark__support {
	color: var(--wp--preset--color--sunflower);
}

.lls-footer-safety {
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--wp--custom--radius--medium);
}

.lls-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: var(--wp--preset--font-size--small);
}

.lls-footer-bottom p {
	color: rgba(255, 255, 255, 0.85);
}

/* ---------- Contact form ---------- */

.lls-form {
	display: grid;
	gap: 1.1rem;
}

.lls-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
}

@media (max-width: 640px) {
	.lls-form__row { grid-template-columns: minmax(0, 1fr); }
}

.lls-form label {
	display: block;
	font-weight: 800;
	margin-bottom: 0.35rem;
}

.lls-form .lls-form__hint {
	display: block;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	margin-top: 0.1rem;
}

.lls-form input[type="text"],
.lls-form input[type="email"],
.lls-form input[type="tel"],
.lls-form select,
.lls-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--small);
	padding: 0.75rem 0.9rem;
	min-height: 48px;
}

.lls-form textarea {
	min-height: 150px;
	resize: vertical;
}

.lls-form input:focus,
.lls-form select:focus,
.lls-form textarea:focus {
	border-color: var(--wp--preset--color--magenta);
	outline: none;
	box-shadow: 0 0 0 3px rgba(142, 31, 94, 0.18);
}

.lls-form__check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.lls-form__check input {
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.2rem;
	accent-color: var(--wp--preset--color--magenta);
	flex-shrink: 0;
}

.lls-form__check label {
	font-weight: 400;
	margin: 0;
}

.lls-form__trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lls-form button[type="submit"] {
	justify-self: start;
	border: 0;
	cursor: pointer;
}

.lls-form-notice {
	border-radius: var(--wp--custom--radius--medium);
	padding: 1rem 1.25rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

.lls-form-notice--success {
	background: var(--wp--preset--color--teal-soft);
	color: var(--wp--preset--color--teal-dark);
}

.lls-form-notice--error {
	background: var(--wp--preset--color--blush);
	color: var(--wp--preset--color--magenta-dark);
}

/* Sections sit edge to edge, with no gaps between coloured bands. */
.wp-block-post-content > .alignfull,
header.wp-block-template-part > *,
footer.wp-block-template-part > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* ---------- Animation ---------- */
/* Everything here is switched off for visitors who ask for reduced motion. */

@keyframes lls-rise {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: none; }
}

@keyframes lls-pop {
	0% { opacity: 0; transform: scale(0.6); }
	70% { opacity: 1; transform: scale(1.08); }
	100% { opacity: 1; transform: scale(1); }
}

@keyframes lls-pop-in {
	from { opacity: 0; transform: translateY(14px) scale(0.94); }
	to { opacity: 1; transform: none; }
}

@keyframes lls-float {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(-18px, 22px) scale(1.06); }
}

@keyframes lls-wiggle {
	0%, 100% { transform: rotate(0); }
	25% { transform: rotate(-7deg) scale(1.06); }
	60% { transform: rotate(5deg) scale(1.06); }
}

@keyframes lls-fade {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {

	/* Hero entrance on page load */
	.lls-hero .wp-block-column > *,
	.lls-page-hero .wp-block-column > *,
	.lls-page-hero > .wp-block-group > *,
	.lls-page-hero > .wp-block-post-title,
	.lls-page-hero > .lls-eyebrow,
	.lls-page-hero > h1,
	.lls-page-hero > .lls-lead {
		animation: lls-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.lls-hero .wp-block-column > :nth-child(2),
	.lls-page-hero .wp-block-column > :nth-child(2),
	.lls-page-hero > .wp-block-group > :nth-child(2) { animation-delay: 0.08s; }
	.lls-hero .wp-block-column > :nth-child(3),
	.lls-page-hero .wp-block-column > :nth-child(3),
	.lls-page-hero > .wp-block-group > :nth-child(3) { animation-delay: 0.16s; }
	.lls-hero .wp-block-column > :nth-child(4),
	.lls-page-hero .wp-block-column > :nth-child(4),
	.lls-page-hero > .wp-block-group > :nth-child(4) { animation-delay: 0.24s; }
	.lls-hero .wp-block-column > :nth-child(5),
	.lls-page-hero .wp-block-column > :nth-child(5) { animation-delay: 0.32s; }

	.lls-hero .wp-block-column:last-child > .wp-block-image,
	.lls-page-hero .wp-block-column:last-child > .wp-block-image {
		animation: lls-pop-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
	}

	/* Slowly drifting background shapes */
	.lls-hero::before,
	.lls-page-hero::before {
		animation: lls-float 14s ease-in-out infinite alternate;
	}

	.lls-hero::after,
	.lls-page-hero::after,
	.lls-cta::after {
		animation: lls-float 18s ease-in-out infinite alternate-reverse;
	}

	.lls-cta::before {
		animation: lls-float 16s ease-in-out infinite alternate;
	}

	/* Scroll reveals (prepared by animations.js only for content below the fold) */
	.lls-anim [data-lls-reveal] {
		opacity: 0;
		transform: translateY(26px);
		transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
		transition-delay: var(--lls-delay, 0s);
	}

	.lls-anim [data-lls-reveal].is-visible {
		opacity: 1;
		transform: none;
	}

	.lls-anim .lls-step[data-lls-reveal].is-visible .lls-step-number {
		animation: lls-pop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--lls-delay, 0s) + 0.15s) both;
	}

	/* Friendly hovers */
	.wp-block-group.is-style-lls-card {
		transition: transform 0.25s ease, box-shadow 0.25s ease;
	}

	.lls-service-card:hover,
	.lls-post-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 2px 4px rgba(43, 26, 38, 0.06), 0 22px 44px -16px rgba(110, 23, 72, 0.3);
	}

	.lls-service-card:hover .lls-icon img,
	.lls-brand:hover .wp-block-image img {
		animation: lls-wiggle 0.7s ease;
	}

	.lls-faq .wp-block-details[open] > :not(summary) {
		animation: lls-fade 0.35s ease both;
	}

	.lls-faq .wp-block-details summary::after {
		transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	}

	.lls-faq .wp-block-details summary:hover::after {
		transform: translateY(-50%) scale(1.12);
	}
}

/* No animation in the editor, and never hide anything when printing. */
.editor-styles-wrapper *,
.editor-styles-wrapper *::before,
.editor-styles-wrapper *::after {
	animation: none !important;
}

@media print {
	[data-lls-reveal] { opacity: 1 !important; transform: none !important; }
	.lls-quick-exit, .lls-chat, .lls-chat-launcher { display: none !important; }
}
