/* Landon Graphics Local: styles theme.json can't express. Keep this file small. */

/* Browser surfaces in the site's own colors: selection, caret, link underlines. */
::selection { background: color-mix(in srgb, var(--wp--preset--color--accent) 30%, transparent); color: inherit; }
:where(input, textarea) { caret-color: var(--wp--preset--color--accent); }
:where(a) { text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }

/* Corner scale for the shared sections (FAQ, services, photos, contact, hero cards). Looks with their
   own shape language (Porchlight, Console, Ledger) keep their own values. */
:root { --lg-r-sm: 1rem; --lg-r-md: 1.5rem; --lg-r-lg: 2rem; }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

/* Menu links to #sections land below the sticky header, not under it. */
:where(section[id]) { scroll-margin-top: 5rem; }

/* A bound business detail left blank in Settings shouldn't leave an empty gap. */
p:empty,
.wp-block-button:has(> a:empty) { display: none; }

:where(a, button, summary, input, textarea, select):focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}
:where(.has-contrast-background-color, .has-accent-background-color, .has-band-background-color, .wp-block-cover) :where(a, button, summary, input, textarea, select):focus-visible {
	outline-color: var(--wp--preset--color--base);
}

/* Header: stays at the top on every look. The preview banner above it scrolls away, so no offset. */
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 50; }
.lg-header .wp-block-site-title a { color: inherit; }
.lg-header .lg-nav { flex: 1; }
.lg-header-call .wp-block-button__link { padding: 0.6rem 1.2rem; font-size: var(--wp--preset--font-size--small); }

/* Template parts sit flush: no gap between the last section and the footer. */
.wp-site-blocks > * { margin-block-start: 0; }

/* Hero: the one loud thing on the page */
.lg-hero.wp-block-cover .wp-block-cover__inner-container {
	width: 100% !important;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto !important;
}
.lg-hero .wp-block-cover__inner-container > * {
	margin-block: 0;
	margin-inline: 0 !important;
	max-width: none;
}
.lg-hero .wp-block-cover__inner-container > * + * { margin-block-start: 1.5rem; }
.lg-hero .lg-statement {
	line-height: 0.8;
	letter-spacing: -0.01em;
	margin-block-start: 0.75rem;
}
.lg-hero .lg-hero-lede { max-width: 36ch !important; }
/* Measure, then cut: a tape measure runs out under the trade word, then the word rises up off it. */
.lg-hero .lg-statement { position: relative; width: fit-content; padding-bottom: 0.2em; }
.lg-hero .lg-statement::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0.13em; border-radius: 2px; transform-origin: left center;
	background: repeating-linear-gradient(90deg, rgba(31, 35, 38, 0.9) 0 2px, transparent 2px 3em) top left / 100% 75% no-repeat, repeating-linear-gradient(90deg, rgba(31, 35, 38, 0.75) 0 1px, transparent 1px 0.3em) top left / 100% 40% no-repeat, #F2C14E;
	box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.6); }
@media (prefers-reduced-motion: no-preference) {
	.lg-hero .lg-statement { animation: lg-cut 1.7s cubic-bezier(0.65, 0, 0.35, 1) 0.2s both; }
	.lg-hero .lg-statement::after { animation: lg-tape 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
	.lg-hero .lg-hero-lede, .lg-hero .wp-block-buttons { animation: lg-hr-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both; }
}
@keyframes lg-tape { from { transform: scaleX(0); } }
@keyframes lg-cut { 0%, 45% { clip-path: inset(82% -5% -10% -5%); } 100% { clip-path: inset(-15% -5% -10% -5%); } }

.lg-rating { font-weight: 600; }
.lg-rating::before {
	content: "\2605\2605\2605\2605\2605";
	color: #F2C14E;
	letter-spacing: 0.1em;
	margin-inline-end: 0.6rem;
}
.lg-rating--dark::before { color: #C98A00; }

/* Proof band */
.lg-proof > .wp-block-columns { margin: 0; }
.lg-proof .wp-block-column > .wp-block-heading { margin-block-start: 0; }
.lg-figure {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(3.25rem, 6vw, 5.5rem);
	line-height: 0.9;
	margin-block-end: 0.25rem;
}
.lg-stats { margin-block-end: var(--wp--preset--spacing--40); }
.lg-stats .wp-block-column > p:last-child { margin-block-start: 0.25rem; }

.lg-ticks {
	list-style: none;
	padding: 0;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
}
.lg-ticks li {
	padding-block: 0.8rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

/* Section rhythm */
.lg-section > .wp-block-heading:first-child,
.lg-section .wp-block-column > .wp-block-heading:first-child { margin-block-start: 0; }
.lg-section > h2 { margin-block-end: var(--wp--preset--spacing--40); }

/* Services: rows separated by rules, not cards */
.lg-service {
	border-top: 1px solid var(--wp--preset--color--line);
	padding-block: 1.4rem;
}
.lg-service:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.lg-service h3 { margin: 0 0 0.35rem; font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.2; }
.lg-service p { margin: 0; color: var(--wp--preset--color--muted); max-width: 52ch; }

/* Photos */
.lg-photo img {
	border-radius: var(--lg-r-md);
	width: 100%;
	height: auto;
	object-fit: cover;
}
.lg-photo img { aspect-ratio: 4 / 3; }
.lg-photo figcaption {
	text-align: left;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	margin-top: 0.6rem;
}

/* Reviews */
.lg-quotes .wp-block-quote {
	margin: 0;
	padding: 1.25rem 0 0;
	border: 0;
	border-top: 1px solid var(--wp--preset--color--line);
}
.lg-quotes .wp-block-quote::before {
	content: "\201C";
	display: block;
	height: 0.55em;
	font: 700 3.5rem/1 var(--wp--preset--font-family--display, Georgia, serif);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 70%, var(--wp--preset--color--contrast));
}
.lg-quotes cite {
	display: block;
	margin-top: 0.75rem;
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	font-weight: 700;
	color: var(--wp--preset--color--muted);
}

/* FAQ: each question is a soft card with a plus that turns into a cross */
.wp-block-details {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--lg-r-sm);
	padding: 0 1.25rem;
	margin-block: 0.75rem 0;
	background: color-mix(in srgb, var(--wp--preset--color--base) 85%, transparent);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wp-block-details:hover, .wp-block-details[open] {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 45%, var(--wp--preset--color--line));
	box-shadow: 0 12px 30px -22px color-mix(in srgb, var(--wp--preset--color--contrast) 60%, transparent);
}
.wp-block-details summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.1rem;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	flex: none;
	font: 400 1.6rem/1 var(--wp--preset--font-family--body, inherit);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 70%, var(--wp--preset--color--contrast));
	transition: transform 0.25s ease;
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details[open] summary { margin-bottom: 0; }
.wp-block-details > :not(summary) { margin-block: 0 1.1rem; color: var(--wp--preset--color--muted); max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .wp-block-details, .wp-block-details summary::after { transition: none; } }

/* Contact: the form sits on its own panel and the hours and area on a quieter card, both tinted from the
   section's text color so they work on light and dark bands alike. */
.lg-contact .lg-form {
	max-width: 620px;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: var(--lg-r-md);
	background: color-mix(in srgb, currentColor 7%, transparent);
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.lg-contact .lg-details {
	align-self: flex-start;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border-radius: var(--lg-r-md);
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.lg-contact .lg-details h3 { margin-block: 1.5rem 0.25rem; }
.lg-contact .lg-details h3:first-child { margin-block-start: 0; }
.lg-contact .lg-details p { margin-block: 0; }
.lg-contact .lg-details .wp-block-buttons { margin-top: 1.25rem; }
.lg-contact .wp-block-button__link:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }

/* Footer */
.lg-footer p { margin-block: 0.25rem; }
.lg-footer a { color: inherit; }

/* Call bar on phones */
.lg-callbar { display: none; }
@media (max-width: 781px) {
	.lg-header .lg-header-call { display: none; }
	.lg-callbar {
		display: block;
		position: fixed;
		inset: auto 0 0 0;
		z-index: 50;
		padding: 1rem;
		background: var(--wp--preset--color--accent);
		color: var(--wp--preset--color--base);
		text-align: center;
		font-weight: 700;
		font-size: 1.125rem;
		text-decoration: none;
		box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
	}
	.lg-footer.lg-footer { padding-bottom: calc(var(--wp--preset--spacing--50) + 3.5rem) !important; }
	.lg-hero { min-height: 78vh !important; }
	.lg-proof .wp-block-column { flex-basis: 100% !important; }
}

/* Neighborly hero: centered headline, photo resting on a three-part band. Behind the photo a freshly
   mowed lawn: light and dark stripes that a mower pass reveals from left to right on load. */
@property --lg-mow { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.lg-hero-n { position: relative; isolation: isolate; overflow: hidden; }
.lg-hero-n::before { content: ""; position: absolute; inset: auto 0 0; height: 58%; z-index: -1;
	background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--accent-soft) 70%, var(--wp--preset--color--contrast)) 0 clamp(3rem, 7vw, 6rem), color-mix(in srgb, var(--wp--preset--color--accent-soft) 88%, var(--wp--preset--color--contrast)) clamp(3rem, 7vw, 6rem) clamp(6rem, 14vw, 12rem));
	-webkit-mask: linear-gradient(90deg, #000 calc(var(--lg-mow) - 4%), transparent var(--lg-mow)); mask: linear-gradient(90deg, #000 calc(var(--lg-mow) - 4%), transparent var(--lg-mow)); }
@media (prefers-reduced-motion: no-preference) {
	.lg-hero-n::before { animation: lg-mow 2.2s cubic-bezier(0.45, 0, 0.2, 1) 0.2s both; }
	.lg-hero-n .lg-hero-n-photo { animation: lg-hr-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }
	.lg-hero-n .lg-statement { animation: lg-hr-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
}
@keyframes lg-mow { from { --lg-mow: 0%; } to { --lg-mow: 104%; } }
.lg-hero-n .lg-statement { margin-block: 0.25rem 0; }
.lg-hero-n .lg-hero-lede { max-width: 40ch !important; margin-inline: auto !important; }
.lg-hero-n .lg-hero-n-photo {
	position: relative;
	z-index: 1;
	max-width: min(1180px, 100%) !important;
	margin-block: var(--wp--preset--spacing--40) 0;
}
.lg-hero-n .lg-hero-n-photo img { border-radius: var(--lg-r-lg); aspect-ratio: 21 / 9; object-fit: cover; width: 100%; box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--wp--preset--color--contrast) 55%, transparent); }
/* The rating, quote and review count float as one card over the bottom of the photo. */
.lg-n-band {
	position: relative;
	z-index: 2;
	max-width: min(980px, calc(100% - 2rem)) !important;
	margin: -4.5rem auto var(--wp--preset--spacing--50) !important;
	border-radius: var(--lg-r-md);
	overflow: hidden;
	box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--wp--preset--color--contrast) 60%, transparent);
}
.lg-n-band > .wp-block-column {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.lg-n-band > .wp-block-column > * { margin-block: 0.25rem; }
@media (max-width: 781px) {
	.lg-hero-n .lg-hero-n-photo img { aspect-ratio: 4 / 3; }
	.lg-n-band { margin-top: -2.5rem !important; }
}

/* Tidy hero: one big rounded card, and a facts bar like a search bar */
.lg-t-card {
	border-radius: 2.5rem;
	padding: var(--wp--preset--spacing--50);
	overflow: visible;
}
.lg-t-card .lg-statement { margin-block: 0.5rem 0; }
.lg-t-card .lg-hero-lede { max-width: 34ch; }
.lg-t-photo img { border-radius: 2rem; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
/* Wiped clean: a fogged film over the photo is squeegeed off on a diagonal, with a bright wet edge. */
@property --lg-wipe { syntax: "<percentage>"; inherits: false; initial-value: 130%; }
.lg-t-photo { position: relative; }
.lg-t-photo::after { content: ""; position: absolute; inset: 0; border-radius: 2rem; pointer-events: none;
	background: linear-gradient(115deg, transparent calc(var(--lg-wipe) - 30%), rgba(255, 255, 255, 0.95) calc(var(--lg-wipe) - 29%), rgba(255, 255, 255, 0.95) calc(var(--lg-wipe) - 27.5%), rgba(214, 220, 226, 0.88) calc(var(--lg-wipe) - 27%)); }
@media (prefers-reduced-motion: no-preference) {
	.lg-t-photo::after { animation: lg-wipe 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.45s both; }
}
@keyframes lg-wipe { from { --lg-wipe: -2%; } to { --lg-wipe: 132%; } }
@media (min-width: 782px) {
	.lg-t-photo { margin-block: calc(-1 * var(--wp--preset--spacing--50) - 2rem) 0 !important; }
	.lg-t-card { padding-bottom: calc(var(--wp--preset--spacing--50) + 1.25rem); }
}
.lg-t-bar {
	position: relative;
	z-index: 2;
	margin: -1.75rem auto 0 !important;
	width: min(100% - 2rem, 1100px);
	padding: 1rem 1rem 1rem 1.75rem;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--line);
}
.lg-t-fact p { margin: 0; }
.lg-t-fact p:not(.lg-t-label) { font-weight: 600; }
.lg-t-label { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
@media (max-width: 781px) {
	.lg-t-bar { border-radius: 1.5rem; flex-direction: column; align-items: flex-start !important; margin-top: 1rem !important; width: 100%; }
}

/* Estimate request form */
.lg-form { max-width: 560px; }
.lg-form p { margin: 0 0 1rem; }
.lg-form label { display: block; font-weight: 600; font-size: var(--wp--preset--font-size--small); margin-bottom: 0.35rem; }
.lg-form input, .lg-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.8rem 1rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.2);
	font: inherit;
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base);
	min-height: 48px;
}
.lg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .lg-form-row { grid-template-columns: 1fr; } }
.lg-form button { cursor: pointer; border: 0; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
.lg-form button:hover { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.lg-req { font-weight: 400; }
.lg-form-hint { font-size: var(--wp--preset--font-size--small); margin: -0.25rem 0 1rem !important; }
.lg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lg-form-note { padding: 0.9rem 1.1rem; border-radius: 0.75rem; background: rgba(255, 255, 255, 0.15); font-weight: 600; }

/* Full-width sections stack flush, with no strip of page background between them. */
.wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }

/* Featured product hero (premium) */
.lg-hero-feature {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr minmax(0, 560px) 1fr;
	grid-template-areas: "kicker kicker kicker" "word word word" "left object right" "actions actions actions";
	align-items: center;
	background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--wp--preset--color--accent) 70%, #fff 30%), var(--wp--preset--color--accent) 62%) !important;
}
.lg-hero-feature > * { max-width: none !important; margin: 0 !important; }
.lg-hero-feature .lg-kicker {
	grid-area: kicker;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	text-transform: uppercase;
	opacity: 0.55;
	line-height: 1;
}
.lg-hero-feature .lg-feature-word { grid-area: word; position: relative; z-index: 1; line-height: 0.82; }
.lg-hero-feature .lg-feature-object {
	grid-area: object;
	position: relative;
	z-index: 2;
	margin-top: calc(-0.38 * var(--wp--preset--font-size--statement)) !important;
	justify-self: center;
	width: min(100%, 520px);
}
.lg-hero-feature .lg-feature-object img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.lg-feature-stat { text-align: center; }
.lg-feature-stat--left { grid-area: left; }
.lg-feature-stat--right { grid-area: right; }
.lg-feature-stat p { margin: 0.2rem 0; }
.lg-hero-feature .lg-figure { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.lg-hero-feature .lg-rating::before { display: block; margin: 0 0 0.2rem; }
.lg-chip {
	grid-area: object;
	position: relative;
	z-index: 3;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-weight: 600;
	white-space: nowrap;
}
.lg-chip--a { align-self: start; justify-self: start; }
.lg-chip--b { align-self: end; justify-self: end; }
.lg-feature-actions { grid-area: actions; margin-top: var(--wp--preset--spacing--40) !important; }
@media (max-width: 781px) {
	.lg-hero-feature { grid-template-columns: 1fr 1fr; grid-template-areas: "kicker kicker" "word word" "object object" "left right" "actions actions"; }
	.lg-hero-feature .lg-feature-object { margin-top: calc(-0.12 * var(--wp--preset--font-size--statement)) !important; width: min(86%, 360px); }
	/* The sticky Call bar is always on screen on phones, so the hero keeps only its main action. */
	.lg-hero-feature .lg-feature-actions .is-style-outline { display: none; }
	.lg-chip { display: none; }
}

/* Hero with info card: a framed photo, headline on the left, a small card of business details on the right */
.lg-hero-card { border-radius: 1.5rem; overflow: hidden; margin-block: var(--wp--preset--spacing--30) 0 !important; }
.lg-hero-card .wp-block-cover__inner-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem);
	align-items: end;
	gap: var(--wp--preset--spacing--50);
}
.lg-hero-card .wp-block-cover__inner-container > * + * { margin-block-start: 0; }
.lg-hc-text > * { margin-block: 0; }
.lg-hc-text > * + * { margin-block-start: 1.5rem; }
.lg-hc-title { line-height: 0.95; max-width: 14ch; text-wrap: balance; }
.lg-hc-card {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	border-radius: 1rem;
	padding: 1.1rem 1.35rem 1.2rem;
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
}
.lg-hc-card > * { margin-block: 0; }
.lg-hc-card-title { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-block-end: 0.5rem !important; }
.lg-hc-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding-block: 0.55rem;
	border-top: 1px solid var(--wp--preset--color--line);
}
.lg-hc-row > p { margin: 0; }
.lg-hc-row > p:first-child { flex: none; white-space: nowrap; }
.lg-hc-row > p:first-child::before {
	content: "";
	display: inline-block;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 2px;
	margin-inline-end: 0.55rem;
	background: var(--wp--preset--color--accent);
}
.lg-hc-row:nth-of-type(3) > p:first-child::before { opacity: 0.75; }
.lg-hc-row:nth-of-type(4) > p:first-child::before { opacity: 0.5; }
.lg-hc-row:nth-of-type(5) > p:first-child::before { opacity: 0.3; }
.lg-hc-value { font-weight: 700; text-align: right; }
.lg-hc-row:not(:has(.lg-hc-value)) { display: none; }
.lg-hc-note { margin-block-start: 0.5rem !important; padding-top: 0.6rem; border-top: 1px dashed var(--wp--preset--color--line); color: var(--wp--preset--color--muted); }
@media (prefers-reduced-motion: no-preference) {
	.lg-hc-card { animation: lg-card-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
}
@keyframes lg-card-rise { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 781px) {
	.lg-hero-card { border-radius: 1rem; }
	.lg-hero-card .wp-block-cover__inner-container { grid-template-columns: 1fr; }
}

/* Numbers with gauges: the half ring fills to the number typed (set as --lg-gauge when the page renders) */
@property --lg-gauge-p { syntax: "<number>"; inherits: false; initial-value: 1; }
.lg-gauges-lede { max-width: 52ch; margin-inline: auto !important; color: var(--wp--preset--color--muted); }
.lg-gauge-row { margin-block-start: var(--wp--preset--spacing--50) !important; }
.lg-gauge { text-align: center; }
.lg-gauge > * { margin-block: 0; }
.lg-gauge::before {
	content: "";
	display: block;
	width: min(100%, 15rem);
	aspect-ratio: 2 / 1;
	margin-inline: auto;
	--lg-gauge-p: var(--lg-gauge, 1);
	background: conic-gradient(from -90deg at 50% 100%, var(--wp--preset--color--accent) calc(var(--lg-gauge-p) * 0.5turn), color-mix(in srgb, currentColor 14%, transparent) 0 0.5turn, transparent 0);
	-webkit-mask: radial-gradient(circle farthest-side at 50% 100%, transparent 72%, #000 calc(72% + 1px) calc(100% - 1px), transparent 100%);
	mask: radial-gradient(circle farthest-side at 50% 100%, transparent 72%, #000 calc(72% + 1px) calc(100% - 1px), transparent 100%);
}
.lg-gauge .lg-figure { position: relative; font-size: clamp(2.25rem, 4vw, 3.1rem); line-height: 1; margin-top: -1.05em; }
.lg-gauge-label { font-weight: 700; font-size: var(--wp--preset--font-size--large); margin-block: 1rem 0.3rem !important; }
.lg-gauge-note { color: var(--wp--preset--color--muted); max-width: 30ch; margin-inline: auto !important; }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.lg-gauge::before { animation: lg-gauge-fill linear both; animation-timeline: view(); animation-range: entry 25% cover 45%; }
	}
}
@keyframes lg-gauge-fill { from { --lg-gauge-p: 0; } to { --lg-gauge-p: var(--lg-gauge, 1); } }
@media (max-width: 781px) {
	.lg-gauge-row { gap: var(--wp--preset--spacing--50) !important; }
}

/* Image style: slow scroll depth */
.is-style-lg-depth { overflow: hidden; border-radius: 1.25rem; }
.is-style-lg-depth img { scale: 1.12; }

/* Steps (premium): a numbered list, or a held section with a progress ring when motion is on */
.lg-steps-list { counter-reset: lg-step; display: grid; gap: var(--wp--preset--spacing--40); }
.lg-step { counter-increment: lg-step; padding-left: 3.25rem; position: relative; }
.lg-step::before {
	content: counter(lg-step, decimal-leading-zero);
	position: absolute; left: 0; top: 0.1rem;
	font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.6rem;
	color: var(--wp--preset--color--accent-soft);
}
.lg-step h3 { margin: 0 0 0.3rem; }
.lg-step p { margin: 0; opacity: 0.85; max-width: 46ch; }
.lg-steps.is-pinned {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 240px minmax(0, 620px);
	grid-template-areas: "head head" "ring list";
	justify-content: center;
	align-content: center;
	column-gap: var(--wp--preset--spacing--50);
}
.lg-steps.is-pinned > * { max-width: none !important; margin: 0 !important; }
.lg-steps.is-pinned > .wp-block-heading { grid-area: head; font-size: var(--wp--preset--font-size--x-large); margin-bottom: var(--wp--preset--spacing--40) !important; }
.lg-steps.is-pinned .lg-ring { grid-area: ring; position: relative; width: 220px; height: 220px; align-self: center; }
.lg-steps.is-pinned .lg-steps-list { grid-area: list; align-self: center; }
.lg-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lg-ring circle { fill: none; stroke-width: 3; }
.lg-ring-track { stroke: currentColor; opacity: 0.2; }
.lg-ring-fill { stroke: var(--wp--preset--color--accent-soft); transition: stroke-dashoffset 0.35s ease-out; }
.lg-ring-count { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.6rem; }
.lg-steps.is-pinned .lg-steps-list { display: grid; }
.lg-steps.is-pinned .lg-step { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; }
.lg-steps.is-pinned .lg-step.is-active { opacity: 1; transform: none; }
.lg-steps.is-pinned .lg-step h3 { font-size: var(--wp--preset--font-size--x-large); }
/* GSAP wraps a pinned section in .pin-spacer; let it span the page like the full-width section inside. */
.pin-spacer:has(> .alignfull) {
	max-width: none !important;
	width: auto !important;
	margin-left: calc(-1 * var(--wp--style--root--padding-left)) !important;
	margin-right: calc(-1 * var(--wp--style--root--padding-right)) !important;
}
.pin-spacer > .alignfull { margin-inline: 0 !important; width: 100% !important; max-width: none !important; }

/* Price list: name, dotted leader, price; note underneath */
.lg-price-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 0 var(--wp--preset--spacing--50); margin-bottom: var(--wp--preset--spacing--40); }
.lg-price { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "name dots price" "note note note"; align-items: baseline; padding-block: 0.9rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.lg-price::before { content: ""; grid-area: dots; border-bottom: 2px dotted var(--wp--preset--color--line); margin: 0 0.6rem; transform: translateY(-0.3em); }
.lg-price p { margin: 0; }
.lg-price-name { grid-area: name; font-weight: 700; font-size: var(--wp--preset--font-size--large); }
.lg-price-amount { grid-area: price; font-weight: 800; font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--accent); }
.lg-price-note { grid-area: note; color: var(--wp--preset--color--muted); }

/* Urgent call band */
.lg-urgent .wp-block-heading { margin: 0 0 0.3rem; }
.lg-urgent p { margin: 0; }
.lg-urgent-call .wp-block-button__link { font-size: var(--wp--preset--font-size--large); padding: 1.1rem 2rem; }
.lg-price-list > .lg-price { margin-block-start: 0 !important; }

/* Menu: courses side by side, rows reuse the price list styling */
.lg-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: var(--wp--preset--spacing--50); margin-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); }
.lg-menu > .lg-menu-course, .lg-menu-course > .lg-price { margin-block-start: 0 !important; }
.lg-menu-title { margin: 0 0 0.4rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--large); }
.lg-menu-course .lg-price-name, .lg-menu-course .lg-price-amount { font-size: var(--wp--preset--font-size--medium); }
/* Short intro lines: narrow, but lined up with the section's left edge (content width 1180px) */
.lg-menu-section > .lg-menu-intro, .lg-ba-section > .lg-ba-intro { max-width: 60ch; margin-left: max(0px, (100% - 1180px) / 2) !important; }
.lg-menu-key { margin-bottom: var(--wp--preset--spacing--40); }

/* Header logo: replaces the text name once a logo is added */
.lg-brand { gap: 0.75rem; }
.lg-logo img { height: 2.75rem !important; width: auto !important; max-width: 13rem; object-fit: contain; }
@media (max-width: 600px) { .lg-logo img { height: 2.25rem !important; max-width: 10rem; } }
/* "On a light plate": for dark logos that would disappear on the dark header */
.wp-block-site-logo.is-style-lg-plate img { box-sizing: border-box; padding: 0.3rem 0.6rem; border-radius: 0.5rem; background: #fff; }

/* Before and after: side by side by default, a drag slider once before-after.js runs */
.lg-ba { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--wp--preset--spacing--30); margin-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30); }
.lg-ba > figure { margin: 0 !important; position: relative; }
.lg-ba img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1rem; }
.lg-ba figcaption { position: absolute; top: 0.75rem; left: 0.75rem; margin: 0; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgb(0 0 0 / 0.74); color: #fff; font-size: var(--wp--preset--font-size--small); font-weight: 700; }
.lg-ba.is-ready { display: block; position: relative; --lg-ba: 50%; border-radius: 1rem; overflow: hidden; }
.lg-ba.is-ready img { border-radius: 0; }
.lg-ba.is-ready > figure + figure { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--lg-ba)); }
.lg-ba.is-ready > figure + figure figcaption { left: auto; right: 0.75rem; }
.lg-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--lg-ba); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.15); pointer-events: none; }
.lg-ba-handle::after { content: "\2039\00a0\203A"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #fff; color: var(--wp--preset--color--contrast); font-size: 1.5rem; font-weight: 700; line-height: 1; box-shadow: 0 4px 16px rgb(0 0 0 / 0.25); }
.lg-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.lg-ba:has(.lg-ba-range:focus-visible) .lg-ba-handle::after { outline: 3px solid var(--wp--preset--color--accent-soft); outline-offset: 3px; }
.lg-ba-note { margin-top: 0; }

/* Small mono labels (Press look uses Space Mono; other looks fall back to their body font) */
.lg-label { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; color: var(--wp--preset--color--muted); }

/* Line-by-line headline reveal: SplitText adds the line masks */
.lg-lines em { font-style: normal; color: var(--wp--preset--color--accent); }

/* Hero, live halftone (premium) */
.lg-hero-press { position: relative; overflow: hidden; isolation: isolate; }
.lg-hero-press::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--wp--preset--color--accent) 34%, transparent), transparent 60%), radial-gradient(circle at 30% 70%, color-mix(in srgb, var(--wp--preset--color--accent-soft) 26%, transparent), transparent 62%); filter: blur(30px); z-index: -1; pointer-events: none; }
.lg-hero-press::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--wp--preset--color--contrast) 12%, transparent) 1px, transparent 1.3px); background-size: 18px 18px; mask-image: linear-gradient(100deg, transparent 35%, #000 75%); z-index: -1; pointer-events: none; }
.lg-press-title { font-size: clamp(2.75rem, 6.4vw, 6rem); line-height: 0.95; margin-block: 0.75rem 1.25rem; }
.lg-press-stats { gap: var(--wp--preset--spacing--40) !important; margin-top: var(--wp--preset--spacing--50) !important; }
.lg-press-stat .lg-figure { font-family: var(--wp--preset--font-family--mono, inherit); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--wp--preset--color--accent); margin: 0; line-height: 1; }
.lg-press-stat p { margin: 0.35rem 0 0; }
.lg-press-photo { position: relative; margin: 0 auto !important; max-width: 560px; }
.lg-press-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.lg-press-caption { margin-top: 0.75rem !important; }

/* Live halftone image style: the canvas sits over the photo once ready */
.is-style-lg-halftone { position: relative; touch-action: pan-y; }
.is-style-lg-halftone img { transition: opacity 0.5s ease; }
.is-style-lg-halftone.is-halftone img { opacity: 0; }
.lg-halftone-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Colors come together (premium) */
.lg-ink { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.lg-ink-stage { position: relative; width: min(64vw, 440px); aspect-ratio: 1 / 1; margin: 0 auto var(--wp--preset--spacing--40) !important; isolation: isolate; }
.lg-ink-photo { margin: 0 !important; position: absolute; inset: 0; z-index: 1; }
.lg-ink-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 80px color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent); }
.lg-ink-dot { position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen; z-index: 2; box-shadow: 0 0 60px currentColor; }
.lg-ink-dot--0 { background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--accent-soft); }
.lg-ink-dot--1 { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
.lg-ink-dot--2 { background: var(--wp--preset--color--band); color: var(--wp--preset--color--band); }
.lg-ink .wp-block-heading { font-size: clamp(2.25rem, 5vw, 4.25rem); }
.lg-ink-text { max-width: 52ch; margin-inline: auto !important; }

/* Pick a version (premium): a grid until picker.js turns it into a stage with chips */
.lg-picker-section > .lg-picker-intro { max-width: 60ch; margin-left: max(0px, (100% - 1180px) / 2) !important; }
.lg-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--wp--preset--spacing--30); margin-top: var(--wp--preset--spacing--50) !important; }
.lg-picker figure { margin: 0 !important; text-align: center; }
.lg-picker figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.lg-picker.is-ready { display: block; position: relative; }
.lg-picker-stage { display: grid; place-items: center; position: relative; isolation: isolate; }
.lg-picker-stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent-soft) 30%, transparent), transparent 65%); filter: blur(20px); z-index: -1; }
.lg-picker-stage > figure { grid-area: 1 / 1; width: min(100%, 520px); opacity: 0; transform: scale(0.9) rotate(-6deg); transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1); pointer-events: none; }
.lg-picker-stage > figure.is-active { opacity: 1; transform: none; pointer-events: auto; }
.lg-picker-stage figcaption { display: none; }
.lg-picker-name { text-align: center; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: var(--wp--preset--font-size--x-large); margin: 0.5rem 0 var(--wp--preset--spacing--30); }
.lg-picker-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.lg-picker-chip { display: grid; justify-items: center; gap: 0.4rem; padding: 0.6rem; width: 6.5rem; border: 1px solid var(--wp--preset--color--line); border-radius: 1.25rem; background: color-mix(in srgb, var(--wp--preset--color--contrast) 10%, var(--wp--preset--color--surface)); color: inherit; font: inherit; font-size: 0.8rem; cursor: pointer; transform: translateY(var(--lift, 0)); transition: transform 0.3s ease, border-color 0.3s ease; }
.lg-picker-chip img { width: 4rem; height: 4rem; object-fit: contain; }
.lg-picker-chip:hover { transform: translateY(calc(var(--lift, 0px) - 4px)); }
.lg-picker-chip[aria-pressed="true"] { border-color: var(--wp--preset--color--accent); box-shadow: 0 0 0 1px var(--wp--preset--color--accent); }
.lg-picker-chip:focus-visible { outline: 3px solid var(--wp--preset--color--accent-soft); outline-offset: 3px; }
@media (max-width: 600px) { .lg-picker-chip { width: 5.25rem; transform: none; } .lg-picker-chip img { width: 3.25rem; height: 3.25rem; } }

/* Phones: giant headlines shrink so whole words always fit (never split mid-word), and the menu
   button gets a thumb-sized tap area. */
.lg-statement { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 700px) {
	.lg-statement { font-size: min(var(--wp--preset--font-size--statement), 14vw) !important; }
	.wp-block-navigation__responsive-container-open { padding: 10px; margin: -10px; }
	.wp-block-navigation__responsive-container-close { padding: 10px; margin: -10px; }
}

/* One-ink halftone: crop marks around the print and an ink switch below it */
.lg-halftone-ink { padding: 1.25rem; }
.lg-halftone-ink::before, .lg-halftone-ink::after { content: ""; position: absolute; width: 1.6rem; height: 1.6rem; pointer-events: none; border-color: var(--wp--preset--color--contrast); opacity: 0.55; }
.lg-halftone-ink::before { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.lg-halftone-ink::after { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }
.lg-halftone-ink .lg-halftone-canvas { inset: 1.25rem; width: calc(100% - 2.5rem); height: calc(100% - 2.5rem); }
.lg-ink-switch { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.9rem; }
.lg-ink-switch button { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); background: transparent; color: inherit; font: 600 0.85rem var(--wp--preset--font-family--body, inherit); cursor: pointer; }
.lg-ink-switch button::before { content: ""; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--ink); }
.lg-ink-switch button[aria-pressed="true"] { border-color: var(--wp--preset--color--contrast); box-shadow: inset 0 0 0 1px var(--wp--preset--color--contrast); }

/* Colors line up (premium): ink layers slide into register */
.lg-register-title { position: relative; isolation: isolate; font-size: clamp(2.4rem, 6.4vw, 5.6rem); }
.lg-register > .lg-register-title { max-width: 16ch; margin-block: 0.75rem var(--wp--preset--spacing--50) !important; margin-left: max(0px, (100% - 1180px) / 2) !important; }
.lg-reg-layer { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; }
.lg-reg-layer--a { color: var(--wp--preset--color--accent); }
.lg-reg-layer--b { color: var(--wp--preset--color--accent-soft); }
.lg-reg-label::before { content: ""; display: inline-block; width: 0.9em; height: 0.9em; margin-right: 0.5em; vertical-align: -0.12em; border-radius: 50%; border: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 1px 140% no-repeat, linear-gradient(currentColor, currentColor) center / 140% 1px no-repeat; }
.lg-reg-photo img { border-radius: 1.25rem; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Liquid glass (Estate look, any section can use the class): frosted blur, a bright rim that catches
   the light, and a soft sheen that follows the cursor (--lg-gx/--lg-gy, set by motion.js). Text on glass
   is white, so glass sits on photos or dark sections. */
.lg-glass {
	--lg-gx: 25%;
	--lg-gy: 0%;
	position: relative;
	isolation: isolate;
	color: #fff;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06)) rgba(18, 20, 23, 0.44);
	-webkit-backdrop-filter: blur(22px) saturate(170%);
	backdrop-filter: blur(22px) saturate(170%);
	border-radius: 1.25rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px -24px rgba(0, 0, 0, 0.55);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}
.lg-glass::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.06) 38%, rgba(255, 255, 255, 0.06) 62%, rgba(255, 255, 255, 0.5));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
}
.lg-glass::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(120% 90% at var(--lg-gx) var(--lg-gy), rgba(255, 255, 255, 0.32), transparent 55%);
	pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.lg-glass { background-color: rgba(18, 20, 23, 0.6); }
}

/* Estate hero: a framed photo with the headline, a glass search bar and two floating glass cards */
.lg-hero-estate .lg-es-frame { border-radius: 2rem; overflow: hidden; min-height: min(88vh, calc(100svh - 6.5rem)) !important; padding-top: var(--wp--preset--spacing--40) !important; }
/* Darker toward the bottom, where the headline and search sit, so text stays readable on any photo. */
.lg-es-frame > .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(22, 24, 27, 0.4) 0%, rgba(22, 24, 27, 0) 65%), linear-gradient(180deg, rgba(22, 24, 27, 0.32) 0%, rgba(22, 24, 27, 0.44) 35%, rgba(22, 24, 27, 0.76) 100%) !important; }
.lg-hero-estate h1.lg-es-title em, .lg-hv-card h2 em { color: var(--wp--preset--color--accent-soft); }
.lg-es-pill, .lg-es-tag { background-color: rgba(18, 20, 23, 0.74); }
.lg-es-frame > .wp-block-cover__inner-container {
	align-self: stretch;
	width: 100% !important;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: 1fr auto auto;
	grid-template-areas: ". rate" "text just" "search search";
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}
.lg-es-frame > .wp-block-cover__inner-container > * { margin: 0 !important; max-width: none; }
.lg-es-text { grid-area: text; align-self: end; }
.lg-es-text > * { margin-block: 0; }
.lg-es-text > * + * { margin-block-start: 1.25rem; }
.lg-es-pill { display: inline-block; padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em; }
.lg-es-title { color: #fff; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45); font-size: clamp(3.1rem, 7vw, 7.25rem); line-height: 0.93; max-width: 12ch; text-wrap: balance; }
.lg-hero-estate .lg-hero-lede { color: rgba(255, 255, 255, 0.88); max-width: 38ch; }
.lg-es-search {
	grid-area: search;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	align-items: center;
	padding: 0.6rem 0.6rem 0.6rem 0.4rem;
	border-radius: 999px;
}
.lg-es-search > * { margin: 0; }
.lg-es-field { padding: 0.35rem 1.4rem; border-right: 1px solid rgba(255, 255, 255, 0.22); }
.lg-es-field > p { margin: 0; }
.lg-es-field-label { font-size: 0.85rem; letter-spacing: 0.01em; opacity: 0.8; }
.lg-es-field-value { font-weight: 500; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-es-go { margin-inline-start: 0.6rem; }
.lg-es-go .wp-block-button__link { background: #fff; color: var(--wp--preset--color--contrast); padding: 1rem 1.75rem; text-shadow: none; }
.lg-es-go .wp-block-button__link:hover { background: var(--wp--preset--color--accent); color: #fff; }
.lg-es-float { padding: 1rem 1.25rem; max-width: 16.5rem; }
.lg-es-float > p { margin: 0; }
.lg-es-big { font-family: var(--wp--preset--font-family--display); font-size: 2.4rem; line-height: 1.05; }
.lg-es-small { font-size: 0.88rem; opacity: 0.85; }
.lg-es-rate { grid-area: rate; justify-self: end; align-self: start; }
.lg-es-rate .lg-es-big::after { content: "\2605\2605\2605\2605\2605"; font-family: var(--wp--preset--font-family--body); font-size: 0.85rem; letter-spacing: 0.12em; color: #F5CD6B; margin-inline-start: 0.6rem; vertical-align: 0.5em; }
.lg-es-just { grid-area: just; justify-self: end; align-self: end; }
.lg-es-just .lg-es-big { font-size: 1.9rem; margin-block: 0.15rem; }
@media (max-width: 960px) {
	.lg-es-frame > .wp-block-cover__inner-container { grid-template-columns: minmax(0, 1fr); grid-template-areas: "rate" "text" "search"; grid-template-rows: 1fr auto auto; }
	.lg-es-rate { justify-self: start; }
	.lg-es-just { display: none; }
	.lg-es-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 1.5rem; padding: 0.5rem; gap: 0.25rem 0; }
	.lg-es-field { padding: 0.55rem 0.9rem; border-right: 0; }
	.lg-es-field:nth-child(3) { display: none; }
	.lg-es-go { grid-column: 1 / -1; margin: 0.25rem 0 0; }
	.lg-es-go .wp-block-button, .lg-es-go .wp-block-button__link { width: 100%; }
}
@media (max-width: 600px) {
	.lg-hero-estate { padding-inline: 0.6rem !important; }
	.lg-hero-estate .lg-es-frame { border-radius: 1.4rem; min-height: 90svh !important; padding: 1.25rem !important; }
	.lg-es-rate { display: none; }
	.lg-es-field-value { font-size: 0.95rem; white-space: normal; }
}

/* Section head: heading on the left, a button on the right */
.lg-es-head { margin-block-end: var(--wp--preset--spacing--50); gap: 1.5rem; }
.lg-es-head .wp-block-heading { margin: 0.5rem 0 0; max-width: 14ch; }

/* Featured homes: photo cards with a glass tag, price and size */
.lg-es-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem; }
.lg-es-home { position: relative; }
.lg-es-home > * { margin-block: 0; }
.lg-es-photo { margin: 0 0 1.1rem !important; border-radius: 1.4rem; overflow: hidden; aspect-ratio: 4 / 3; background: var(--wp--preset--color--surface); }
.lg-es-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lg-es-home:hover .lg-es-photo img { transform: scale(1.05); }
.lg-es-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 500; }
.lg-es-price { font-family: var(--wp--preset--font-family--display); font-size: 2.1rem; line-height: 1; }
.lg-es-address { font-family: var(--wp--preset--font-family--body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-block-start: 0.55rem !important; }
.lg-es-meta { color: var(--wp--preset--color--muted); font-size: 0.95rem; }
.lg-es-specs { margin-block-start: 0.85rem !important; padding-block-start: 0.85rem; border-top: 1px solid var(--wp--preset--color--line); font-size: 0.92rem; }
@media (max-width: 960px) {
	.lg-es-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: calc(-1 * var(--wp--style--root--padding-left)); padding-inline: var(--wp--style--root--padding-left); scrollbar-width: none; }
	.lg-es-grid::-webkit-scrollbar { display: none; }
	.lg-es-home { flex: 0 0 min(82%, 22rem); scroll-snap-align: start; }
}

/* Track record: intro, a photo and four number tiles */
.lg-es-intro { margin-block-end: var(--wp--preset--spacing--50) !important; }
.lg-es-intro .wp-block-heading { margin: 0; }
.lg-es-tiles { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; }
.lg-es-tiles > * { margin: 0 !important; }
.lg-es-tile-photo { grid-row: span 2; border-radius: 1.4rem; overflow: hidden; min-height: 22rem; }
.lg-es-tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.lg-es-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 13rem; padding: 1.6rem 1.75rem; border-radius: 1.4rem; background: var(--wp--preset--color--surface); }
.lg-es-tile > p { margin: 0; }
.lg-es-tile-dark { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.lg-es-num { font-family: var(--wp--preset--font-family--display); font-size: clamp(3.2rem, 5.4vw, 5rem); line-height: 0.95; font-variant-numeric: tabular-nums; }
.lg-es-tile-label { font-size: 0.95rem; color: var(--wp--preset--color--muted); }
.lg-es-tile-dark .lg-es-tile-label { color: color-mix(in srgb, var(--wp--preset--color--base) 75%, transparent); }
@media (max-width: 781px) {
	.lg-es-tiles { grid-template-columns: 1fr 1fr; }
	.lg-es-tile-photo { grid-row: auto; grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 10; }
	.lg-es-tile { min-height: 10rem; padding: 1.25rem; }
}

/* Neighborhood guide: photo cards with a glass caption, and one dark card that invites a question */
.lg-areas > .wp-block-heading { margin-block: 0.5rem var(--wp--preset--spacing--50); max-width: 18ch; margin-left: max(0px, (100% - 1280px) / 2) !important; }
.lg-area .wp-block-heading { font-family: var(--wp--preset--font-family--display); font-weight: 400; letter-spacing: -0.01em; }
.lg-areas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.lg-areas-grid > * { margin: 0 !important; }
.lg-area { position: relative; min-height: 30rem; border-radius: 1.6rem; overflow: hidden; }
.lg-area-photo { position: absolute !important; inset: 0; margin: 0; }
.lg-area-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.lg-area-card { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1.3rem 1.5rem; }
.lg-area-card > * { margin: 0; }
.lg-area-card .wp-block-heading { font-size: 2.3rem; line-height: 1.05; color: #fff; }
.lg-area-card > p { margin-block-start: 0.4rem; max-width: 38ch; }
.lg-area-price { font-weight: 600; font-size: 0.9rem; opacity: 0.92; margin-block-start: 0.75rem !important; }
.lg-area-ask { display: flex; flex-direction: column; justify-content: flex-end; gap: 1.1rem; padding: clamp(1.75rem, 4vw, 3rem); }
.lg-area-ask > * { margin: 0; }
.lg-area-ask .wp-block-heading { max-width: 10ch; }
@media (max-width: 781px) {
	.lg-areas-grid { grid-template-columns: 1fr; }
	.lg-area { min-height: 25rem; }
	.lg-area-ask { min-height: 0; }
}

/* Home value band: full-width photo with a glass card */
.lg-home-value .wp-block-cover__inner-container { display: flex; justify-content: flex-end; }
.lg-hv-card { background-color: rgba(18, 20, 23, 0.68); max-width: 36rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: 1.75rem; }
.lg-hv-card > * { margin-block: 0; }
.lg-hv-card > * + * { margin-block-start: 1.1rem; }
.lg-hv-card .lg-label { color: #fff; }
.lg-hv-card .wp-block-heading { color: #fff; }
.lg-hv-points { padding-inline-start: 1.2rem; }
.lg-hv-points li { margin-block: 0.3rem; }
.lg-hv-points li::marker { color: var(--wp--preset--color--accent-soft); }

@media (prefers-reduced-motion: reduce) {
	.lg-es-photo img { transition: none; }
}

/* Ledger look (finance and crypto): glowing cards, a soft light and fine grain on near-black. */
.lg-hero-ledger { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.lg-hero-ledger::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 38%;
	width: min(1100px, 130vw);
	aspect-ratio: 1.6;
	transform: translateX(-50%);
	background: radial-gradient(40% 45% at 34% 58%, rgba(240, 120, 70, 0.42), transparent 70%), radial-gradient(38% 42% at 68% 52%, rgba(142, 227, 195, 0.3), transparent 70%), radial-gradient(30% 30% at 50% 40%, rgba(240, 180, 106, 0.28), transparent 70%);
	filter: blur(40px);
	z-index: -2;
	pointer-events: none;
}
/* Fine vertical rules and film grain over the light. */
.lg-hero-ledger::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29' opacity='.55'/%3E%3C/svg%3E"), repeating-linear-gradient(90deg, rgba(244, 241, 234, 0.045) 0 1px, transparent 1px calc(100% / 6));
	opacity: 0.22;
	mix-blend-mode: soft-light;
	-webkit-mask-image: linear-gradient(#000 55%, transparent);
	mask-image: linear-gradient(#000 55%, transparent);
	z-index: -1;
	pointer-events: none;
}
.lg-lx-head > * { margin-block: 0; margin-inline: auto; }
.lg-lx-head > * + * { margin-block-start: 1.5rem; }
.lg-lx-chip { display: inline-flex !important; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: color-mix(in srgb, var(--wp--preset--color--surface) 70%, transparent); font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lg-lx-chip::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--wp--preset--color--accent-soft); box-shadow: 0 0 12px var(--wp--preset--color--accent-soft); }
.lg-lx-title { font-size: clamp(3.3rem, 8.4vw, 8.25rem); line-height: 0.92; max-width: 12ch; text-wrap: balance; }
.lg-lx-title em, .lg-lx-big em, .lg-fee-keep strong, .lg-fee-flat {
	background: linear-gradient(100deg, #F6CB8C 0%, #F0B46A 35%, #EE8A5E 65%, #8EE3C3 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-inline-end: 0.06em;
}
.lg-hero-ledger .lg-hero-lede { color: var(--wp--preset--color--muted); max-width: 44ch; }
.lg-lx-actions { margin-block-start: 2.25rem !important; gap: 0.75rem; }
.lg-lx-actions .is-style-outline .wp-block-button__link { border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--contrast); background: color-mix(in srgb, var(--wp--preset--color--surface) 60%, transparent); }
.lg-lx-actions .is-style-outline .wp-block-button__link:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); background: transparent; }

/* Two cards, tilted toward each other, with a glass note between them. */
.lg-lx-stage { position: relative; height: clamp(19rem, 34vw, 29rem); margin-block-start: var(--wp--preset--spacing--50) !important; perspective: 1400px; text-align: left; }
.lg-lx-stage > * { margin: 0 !important; }
.lg-lx-card {
	position: absolute;
	top: 1rem;
	width: min(25rem, 40vw);
	aspect-ratio: 1.586;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(1.1rem, 2vw, 1.6rem);
	border-radius: 1.4rem;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 90px -30px var(--lg-glow, rgba(238, 138, 94, 0.55));
	will-change: transform;
}
.lg-lx-card > p { margin: 0; position: relative; }
.lg-lx-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lg-card); }
/* The card chip, top right. */
.lg-lx-card::after { content: ""; position: absolute; top: clamp(1.1rem, 2vw, 1.6rem); right: clamp(1.1rem, 2vw, 1.6rem); width: 2.6rem; height: 2rem; border-radius: 0.45rem; background: linear-gradient(135deg, #F7D9A6, #B98A45 55%, #F2D29B); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); opacity: 0.9; }
.lg-lx-card-a { left: calc(50% - min(26rem, 44vw)); transform: rotate(-11deg); --lg-glow: rgba(238, 120, 80, 0.6); --lg-card: radial-gradient(120% 120% at 0% 100%, #FF6B3D 0%, rgba(255, 107, 61, 0) 55%), radial-gradient(90% 90% at 100% 0%, #F0B46A 0%, rgba(240, 180, 106, 0) 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 45%), #1A1418; }
.lg-lx-card-b { right: calc(50% - min(26rem, 44vw)); top: 3.5rem; transform: rotate(9deg); --lg-glow: rgba(110, 200, 170, 0.5); --lg-card: radial-gradient(110% 120% at 100% 100%, #5ED3B0 0%, rgba(94, 211, 176, 0) 55%), radial-gradient(90% 100% at 0% 0%, #7B6CF6 0%, rgba(123, 108, 246, 0) 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 45%), #12161A; }
.lg-lx-card-top { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em; opacity: 0.88; }
.lg-lx-card-big { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; margin-block-start: auto !important; }
.lg-lx-card-small { font-size: 0.85rem; opacity: 0.82; margin-block-start: 0.45rem !important; max-width: 26ch; }
.lg-lx-note { position: absolute; left: 50%; bottom: 0.5rem; width: 17.5rem; transform: translateX(-50%); padding: 1rem 1.2rem; z-index: 3; }
.lg-lx-note > p { margin: 0; }
.lg-lx-note-big { font-family: var(--wp--preset--font-family--display); font-size: 1.8rem; line-height: 1; }
.lg-lx-note-big::after { content: "\2713"; font-family: var(--wp--preset--font-family--body); font-size: 0.8rem; margin-inline-start: 0.6rem; padding: 0.15rem 0.4rem; border-radius: 999px; background: var(--wp--preset--color--accent-soft); color: #0A0A0D; vertical-align: 0.35em; text-shadow: none; }
.lg-lx-note-small { font-size: 0.85rem; opacity: 0.85; margin-block-start: 0.35rem !important; }
.lg-lx-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; margin-block-start: var(--wp--preset--spacing--50) !important; padding-block-start: 1.5rem; border-top: 1px solid var(--wp--preset--color--line); }
.lg-lx-strip > p { margin: 0; font-size: 0.95rem; font-weight: 500; color: var(--wp--preset--color--muted); }
.lg-lx-strip > p::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; rotate: 45deg; background: var(--wp--preset--color--accent); margin-inline-end: 0.7rem; vertical-align: 0.12em; }
@media (max-width: 781px) {
	.lg-lx-stage { height: 31rem; }
	.lg-lx-card { width: min(19rem, 76vw); }
	.lg-lx-card-a { left: 0; top: 0; transform: rotate(-7deg); }
	.lg-lx-card-b { right: 0; top: 11.5rem; transform: rotate(6deg); }
	.lg-lx-note { left: 0.5rem; bottom: 0; width: 15rem; transform: none; }
	.lg-lx-strip { justify-content: flex-start; gap: 0.6rem 1.5rem; text-align: left; }
}

/* What we do: five tiles of different sizes */
.lg-lx-bento-wrap > .wp-block-heading { max-width: 15ch; margin-block: 0.75rem var(--wp--preset--spacing--50) !important; margin-left: max(0px, (100% - 1280px) / 2) !important; }
.lg-lx-bento-wrap > .lg-label { margin-block-end: 0; }
.lg-lx-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lg-lx-bento > * { margin: 0 !important; }
.lg-lx-tile { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.75rem; min-height: 17rem; padding: clamp(1.4rem, 2.6vw, 2.1rem); border-radius: 1.6rem; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); transition: border-color 0.4s ease; }
.lg-lx-tile:hover { border-color: color-mix(in srgb, var(--wp--preset--color--accent) 45%, var(--wp--preset--color--line)); }
.lg-lx-tile > * { margin: 0; max-width: 40ch; }
.lg-lx-tile > p { color: var(--wp--preset--color--muted); }
.lg-lx-tile .wp-block-heading { font-family: var(--wp--preset--font-family--display); font-weight: 400; letter-spacing: -0.01em; font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1; max-width: 16ch; }
.lg-lx-tile-wide { grid-column: span 2; min-height: 21rem; }
/* Rings of light behind the retirement tile. */
.lg-lx-tile-wide::before { content: ""; position: absolute; right: -12%; top: -45%; width: 34rem; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: repeating-radial-gradient(circle, rgba(244, 241, 234, 0.09) 0 1px, transparent 1px 2.4rem); mask-image: radial-gradient(circle, #000 25%, transparent 70%); }
.lg-lx-tile-wide::after { content: ""; position: absolute; right: 10%; top: 8%; width: 12rem; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(240, 180, 106, 0.5), transparent 65%); filter: blur(18px); }
.lg-lx-num { font-family: var(--wp--preset--font-family--display); font-size: clamp(4rem, 7.2vw, 6.75rem) !important; line-height: 0.9; color: var(--wp--preset--color--contrast) !important; font-variant-numeric: tabular-nums; margin-block-end: auto !important; }
.lg-lx-tile-gold { background: linear-gradient(150deg, #F7D3A0 0%, #F0B46A 45%, #E9805A 100%); border-color: transparent; }
.lg-lx-tile-gold .lg-lx-num { color: #0A0A0D !important; }
.lg-lx-tile-gold > p { color: rgba(10, 10, 13, 0.78); font-weight: 500; }
/* Two coins stacked in the corner of the crypto tile. */
.lg-lx-tile-coins::before, .lg-lx-tile-coins::after { position: absolute; top: 1.6rem; width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border-radius: 50%; font: 600 1.5rem/1 var(--wp--preset--font-family--body); }
.lg-lx-tile-coins::before { content: "\20BF"; left: 1.8rem; color: #0A0A0D; background: linear-gradient(140deg, #F7D3A0, #F0B46A 50%, #C9803C); box-shadow: 0 10px 30px -8px rgba(240, 180, 106, 0.7); z-index: 1; }
.lg-lx-tile-coins::after { content: "\039E"; left: 4.4rem; color: #fff; background: linear-gradient(140deg, #8C80FA, #4D3FD0); box-shadow: 0 10px 30px -8px rgba(123, 108, 246, 0.7); }
.lg-lx-tile-coins { padding-block-start: 6.5rem; }
@media (max-width: 960px) {
	.lg-lx-bento { grid-template-columns: 1fr 1fr; grid-auto-flow: row dense; }
	.lg-lx-tile { grid-column: span 2; min-height: 0; }
	.lg-lx-tile-num { grid-column: span 1; min-height: 14rem; }
	.lg-lx-tile-wide { min-height: 17rem; }
	.lg-lx-num { font-size: clamp(3rem, 13vw, 4.5rem) !important; }
}

/* Fee calculator */
.lg-fees-cols .wp-block-heading { margin-block: 0.75rem 1.25rem; max-width: 12ch; }
.lg-fee-flat-box { display: flex; align-items: center; gap: 1.25rem; margin-block-start: 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--wp--preset--color--line); border-radius: 1.4rem; background: var(--wp--preset--color--surface); }
.lg-fee-flat-box > p { margin: 0; }
.lg-fee-flat { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.8rem, 4.5vw, 3.75rem); line-height: 1; flex: none; }
.lg-fee-flat-label { color: var(--wp--preset--color--muted); font-size: 0.95rem; max-width: 30ch; }
.lg-fee-calc { position: relative; padding: clamp(1.4rem, 3vw, 2.5rem); border-radius: 1.75rem; border: 1px solid var(--wp--preset--color--line); background: radial-gradient(80% 60% at 100% 0%, rgba(240, 180, 106, 0.12), transparent 60%), var(--wp--preset--color--surface); box-shadow: 0 40px 100px -40px rgba(238, 138, 94, 0.35); }
.lg-fee-calc > p { margin: 0; }
.lg-fee-example { font-size: 1.2rem; line-height: 1.5; }
.lg-fee-note { color: var(--wp--preset--color--muted); margin-block-start: 1.5rem !important; }
.lg-fee-calc.is-live .lg-fee-example { display: none; }
.lg-fee-ctrl { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.35rem 1rem; margin-block-end: 1.4rem; }
.lg-fee-ctrl label { font-size: 0.95rem; color: var(--wp--preset--color--muted); }
.lg-fee-ctrl output { font-family: var(--wp--preset--font-family--mono, monospace); font-size: 1rem; color: var(--wp--preset--color--contrast); }
.lg-fee-ctrl input { grid-column: 1 / -1; width: 100%; height: 2rem; margin: 0; accent-color: var(--wp--preset--color--accent); background: transparent; cursor: pointer; }
.lg-fee-bars { display: grid; gap: 1rem; margin-block: 1.75rem 0; padding-block-start: 1.75rem; border-top: 1px solid var(--wp--preset--color--line); }
.lg-fee-bar { display: grid; grid-template-columns: 1fr auto; gap: 0.45rem 1rem; font-size: 0.95rem; }
.lg-fee-bar span:last-of-type { font-family: var(--wp--preset--font-family--mono, monospace); }
.lg-fee-bar i { grid-column: 1 / -1; display: block; height: 0.6rem; border-radius: 999px; background: var(--wp--preset--color--line); overflow: hidden; }
.lg-fee-bar b { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, #EE8A5E, #FF6B3D); transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.lg-fee-bar.is-ours b { background: linear-gradient(90deg, #5ED3B0, #8EE3C3); }
.lg-fee-keep { margin-block-start: 1.75rem !important; font-size: 1rem; color: var(--wp--preset--color--muted); }
.lg-fee-keep strong { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 400; font-size: clamp(2.8rem, 5.5vw, 4.5rem); line-height: 1; margin-block-start: 0.35rem; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
	.lg-fee-bar b, .lg-lx-tile { transition: none; }
}

/* Big statement with tilted tags */
.lg-lx-statement { overflow: hidden; }
.lg-lx-words { position: relative; }
.lg-lx-words > * { margin: 0; }
.lg-lx-big { font-family: var(--wp--preset--font-family--body); font-weight: 800; font-size: clamp(4rem, 15vw, 13.5rem); line-height: 0.88; letter-spacing: -0.055em; }
.lg-lx-big em { font-family: var(--wp--preset--font-family--display); font-weight: 400; letter-spacing: -0.02em; }
.lg-lx-line { display: block; }
.lg-lx-line:nth-child(2) { padding-inline-start: 18%; }
.lg-lx-line:nth-child(3) { padding-inline-start: 6%; }
.lg-lx-tag { position: absolute; padding: 0.55rem 1.1rem; border-radius: 999px; font-family: var(--wp--preset--font-family--mono, inherit); font-size: clamp(0.7rem, 1.1vw, 0.9rem); letter-spacing: 0.08em; text-transform: uppercase; color: #0A0A0D; white-space: nowrap; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7); }
.lg-lx-tag-1 { top: 10%; left: 52%; transform: rotate(-8deg); background: var(--wp--preset--color--accent); }
.lg-lx-tag-2 { top: 44%; right: 2%; transform: rotate(7deg); background: var(--wp--preset--color--accent-soft); }
.lg-lx-tag-3 { bottom: 4%; left: 58%; transform: rotate(-4deg); background: var(--wp--preset--color--contrast); }
.lg-lx-aside { max-width: 34ch; margin-inline-start: auto !important; margin-block-start: var(--wp--preset--spacing--40) !important; }
@media (max-width: 781px) {
	.lg-lx-words { display: flex; flex-wrap: wrap; gap: 0.6rem; }
	.lg-lx-big { flex: 1 0 100%; margin-block-end: 1rem !important; }
	.lg-lx-tag { position: static; }
	.lg-lx-line:nth-child(2) { padding-inline-start: 10%; }
}

/* Ledger hero on wide screens: the cards move out to the edges beside the headline (cards bleed off
   the screen), and the credentials become a row of cells. */
@media (min-width: 1180px) {
	.lg-hero-ledger { min-height: min(calc(100svh - 4.5rem), 60rem); display: flex; flex-direction: column; justify-content: center; }
	.lg-hero-ledger::before { top: 18%; }
	.lg-lx-stage { position: absolute !important; inset: 0; height: auto; margin: 0 !important; pointer-events: none; z-index: -1; }
	.lg-lx-card { width: 30rem; top: 50%; }
	.lg-lx-card-a { left: calc(50% - 55rem); margin-top: -15rem !important; transform: rotate(-24deg); }
	.lg-lx-card-b { right: calc(50% - 56rem); top: 50%; margin-top: -8rem !important; transform: rotate(21deg); }
	.lg-lx-note { display: none; }
	/* Only part of the left card shows at the screen edge, so it carries no words there. */
	.lg-lx-card-a > p { visibility: hidden; }
	.lg-lx-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; margin-block-start: var(--wp--preset--spacing--60) !important; text-align: left; }
	.lg-lx-strip > p { padding: 1.5rem 1.5rem 0.25rem; border-left: 1px solid var(--wp--preset--color--line); }
	.lg-lx-strip > p:first-child { border-left: 0; padding-left: 0; }
}

/* Plans: three price cards over a band of light, the middle one glowing */
.lg-plans { position: relative; overflow: hidden; isolation: isolate; }
.lg-plans::before { content: ""; position: absolute; left: 50%; bottom: -38%; width: 140%; aspect-ratio: 2.4; transform: translateX(-50%); border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(240, 180, 106, 0.32), rgba(238, 138, 94, 0.14) 45%, transparent 70%); box-shadow: inset 0 2px 0 rgba(246, 203, 140, 0.55); filter: blur(2px); -webkit-mask-image: linear-gradient(#000 30%, transparent 62%); mask-image: linear-gradient(#000 30%, transparent 62%); pointer-events: none; }
.lg-plans-ghost { position: absolute; left: 0; right: 0; top: 2.5rem; margin: 0 !important; max-width: none !important; text-align: center; font-family: var(--wp--preset--font-family--display); font-size: clamp(7rem, 24vw, 22rem); line-height: 0.8; letter-spacing: -0.04em; z-index: -1; pointer-events: none; color: transparent; background: linear-gradient(180deg, rgba(244, 241, 234, 0.13), rgba(244, 241, 234, 0)); -webkit-background-clip: text; background-clip: text; }
.lg-plans > .wp-block-heading { margin-block: 0 1rem; }
.lg-plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; margin-block-start: var(--wp--preset--spacing--50) !important; }
.lg-plans-grid > * { margin: 0 !important; }
.lg-plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 2.6vw, 2.25rem); border-radius: 1.75rem; border: 1px solid var(--wp--preset--color--line); background: color-mix(in srgb, var(--wp--preset--color--surface) 85%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lg-plan > * { margin: 0; }
.lg-plan-name { font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lg-plan-price { font-family: var(--wp--preset--font-family--display); font-size: clamp(3rem, 4.5vw, 4rem); line-height: 1; margin-block-start: 1.25rem !important; }
.lg-plan-price span { font-family: var(--wp--preset--font-family--body); font-size: 1rem; color: var(--wp--preset--color--muted); }
.lg-plan-desc { color: var(--wp--preset--color--muted); margin-block-start: 0.85rem !important; min-height: 3.2em; }
.lg-plan-list { list-style: none; padding: 1.25rem 0 0 !important; margin-block: 1.25rem 1.75rem !important; border-top: 1px solid var(--wp--preset--color--line); flex: 1; }
.lg-plan-list li { position: relative; padding-inline-start: 1.6rem; margin-block: 0.55rem; }
.lg-plan-list li::before { content: "\2713"; position: absolute; left: 0; top: 0.05em; color: var(--wp--preset--color--accent-soft); font-weight: 700; }
.lg-plan .wp-block-button__link { width: 100%; }
.lg-plan .is-style-outline .wp-block-button__link { border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--contrast); background: transparent; }
.lg-plan .is-style-outline .wp-block-button__link:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
.lg-plan-featured { border-color: transparent; background: linear-gradient(var(--wp--preset--color--surface), var(--wp--preset--color--surface)) padding-box, linear-gradient(150deg, #F6CB8C, #EE8A5E 50%, #8EE3C3) border-box; box-shadow: 0 40px 90px -40px rgba(238, 138, 94, 0.6); }
.lg-plan-featured::before { content: "Most chosen"; position: absolute; top: -0.85rem; right: 1.5rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--wp--preset--color--accent); color: #0A0A0D; font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lg-plan-featured .lg-plan-name { color: var(--wp--preset--color--accent); }
@media (max-width: 960px) {
	.lg-plans-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto !important; }
	.lg-plan-desc { min-height: 0; }
}

/* Console look (arcade bars, game rooms): a game-console start screen. Indigo night over a field of
   little cubes, a glowing cube with the menu on its four sides, cube-built tiles, clock and switches. */
.lg-cm { --cm-k: var(--wp--preset--color--accent); --cm-edge: color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent); }
.lg-cm em { font-style: normal; background: linear-gradient(100deg, #C9BFFF 0%, var(--wp--preset--color--accent) 45%, var(--wp--preset--color--accent-soft) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* A little cube made with one element: a hexagon with three shaded faces. */
.lg-cm-hex { --k: var(--cm-k); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); aspect-ratio: 0.866; background: conic-gradient(from -60deg at 50% 50%, color-mix(in srgb, var(--k), #fff 30%) 0 120deg, color-mix(in srgb, var(--k), #000 45%) 0 240deg, color-mix(in srgb, var(--k), #000 15%) 0); }

/* Hero: headline, then the cube menu. */
.lg-hero-console { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.lg-hero-console::before {
	content: ""; position: absolute; inset: -60px 0 0; z-index: -2;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31.18' height='54' viewBox='0 0 31.18 54'%3E%3Cpolygon points='0.00,9.00 15.59,0.00 31.18,9.00 15.59,18.00' fill='%23241D63'/%3E%3Cpolygon points='0.00,9.00 15.59,18.00 15.59,36.00 0.00,27.00' fill='%23181248'/%3E%3Cpolygon points='15.59,18.00 31.18,9.00 31.18,27.00 15.59,36.00' fill='%23110C35'/%3E%3Cpolygon points='15.59,36.00 31.18,27.00 46.77,36.00 31.18,45.00' fill='%23241D63'/%3E%3Cpolygon points='15.59,36.00 31.18,45.00 31.18,63.00 15.59,54.00' fill='%23181248'/%3E%3Cpolygon points='31.18,45.00 46.77,36.00 46.77,54.00 31.18,63.00' fill='%23110C35'/%3E%3Cpolygon points='-15.59,36.00 0.00,27.00 15.59,36.00 0.00,45.00' fill='%23241D63'/%3E%3Cpolygon points='-15.59,36.00 0.00,45.00 0.00,63.00 -15.59,54.00' fill='%23181248'/%3E%3Cpolygon points='0.00,45.00 15.59,36.00 15.59,54.00 0.00,63.00' fill='%23110C35'/%3E%3Cpolygon points='0.00,63.00 15.59,54.00 31.18,63.00 15.59,72.00' fill='%23241D63'/%3E%3Cpolygon points='0.00,63.00 15.59,72.00 15.59,90.00 0.00,81.00' fill='%23181248'/%3E%3Cpolygon points='15.59,72.00 31.18,63.00 31.18,81.00 15.59,90.00' fill='%23110C35'/%3E%3Cpolygon points='15.59,-18.00 31.18,-27.00 46.77,-18.00 31.18,-9.00' fill='%23241D63'/%3E%3Cpolygon points='15.59,-18.00 31.18,-9.00 31.18,9.00 15.59,0.00' fill='%23181248'/%3E%3Cpolygon points='31.18,-9.00 46.77,-18.00 46.77,0.00 31.18,9.00' fill='%23110C35'/%3E%3Cpolygon points='-15.59,-18.00 0.00,-27.00 15.59,-18.00 0.00,-9.00' fill='%23241D63'/%3E%3Cpolygon points='-15.59,-18.00 0.00,-9.00 0.00,9.00 -15.59,0.00' fill='%23181248'/%3E%3Cpolygon points='0.00,-9.00 15.59,-18.00 15.59,0.00 0.00,9.00' fill='%23110C35'/%3E%3C/svg%3E") 0 0 / 31.18px 54px;
	-webkit-mask-image: radial-gradient(70% 55% at 50% 62%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
	mask-image: radial-gradient(70% 55% at 50% 62%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
}
.lg-hero-console::after { content: ""; position: absolute; left: 50%; top: 62%; width: min(70rem, 140vw); aspect-ratio: 1.6; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(closest-side, rgba(140, 116, 255, 0.42), rgba(140, 116, 255, 0.1) 55%, transparent); pointer-events: none; }
.lg-cm-head > * { margin-block: 0; margin-inline: auto; }
.lg-cm-head > * + * { margin-block-start: 1.25rem; }
.lg-cm-chip { display: inline-flex !important; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem; border: 1px solid var(--cm-edge); border-radius: 999px; background: color-mix(in srgb, var(--wp--preset--color--surface) 75%, transparent); font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
@media (max-width: 600px) { .lg-cm-chip { letter-spacing: 0.04em; font-size: 0.72rem; } }
.lg-cm-chip::before { content: ""; flex: none; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: #3DDC84; box-shadow: 0 0 10px #3DDC84; transform: rotate(45deg); }
.lg-cm-title { font-size: clamp(2.3rem, 5.6vw, 5rem); font-weight: 700; line-height: 1.02; max-width: 15ch; text-wrap: balance; }
.lg-hero-console .lg-hero-lede { color: var(--wp--preset--color--muted); max-width: 46ch; }

.lg-cm-stage {
	--cm-s: clamp(8.5rem, 15vw, 12rem);
	position: relative; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto auto;
	grid-template-areas: "top top top" "left core right" "bottom bottom bottom"; align-items: center; gap: 1.25rem clamp(1rem, 4vw, 3.5rem);
	max-width: 60rem; margin: var(--wp--preset--spacing--40) auto 0 !important;
}
.lg-cm-stage > * { margin: 0 !important; }
.lg-cm-core { grid-area: core; position: relative; width: calc(var(--cm-s) * 1.75); height: calc(var(--cm-s) * 1.75); display: grid; place-items: center; }
.lg-cm-spin { perspective: 900px; }
.lg-cm-cube { --rx: -24deg; --ry: -36deg; position: relative; width: var(--cm-s); height: var(--cm-s); transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.lg-cm-face {
	position: absolute; inset: 0; display: grid; place-items: center; border-radius: 0.9rem;
	background: linear-gradient(150deg, rgba(178, 164, 255, 0.5), rgba(92, 64, 224, 0.42) 55%, rgba(48, 30, 150, 0.55));
	border: 2px solid rgba(214, 206, 255, 0.75);
	box-shadow: inset 0 0 calc(var(--cm-s) * 0.25) rgba(160, 140, 255, 0.55), 0 0 26px rgba(140, 116, 255, 0.35);
	color: #fff; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: calc(var(--cm-s) * 0.14); letter-spacing: 0.02em; text-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
	backface-visibility: visible;
}
.lg-cm-face { transform-style: preserve-3d; }
.lg-cm-face b { transform: translateZ(1px); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lg-cm-face-front b, .lg-cm-face-back b { font-size: calc(var(--cm-s) * 0.5); line-height: 1; }
.lg-cm-face-front { transform: translateZ(calc(var(--cm-s) / 2)); }
.lg-cm-face-back { transform: rotateY(180deg) translateZ(calc(var(--cm-s) / 2)); }
.lg-cm-face-right { transform: rotateY(90deg) translateZ(calc(var(--cm-s) / 2)); }
.lg-cm-face-left { transform: rotateY(-90deg) translateZ(calc(var(--cm-s) / 2)); }
.lg-cm-face-top { transform: rotateX(90deg) translateZ(calc(var(--cm-s) / 2)); }
.lg-cm-face-bottom { transform: rotateX(-90deg) translateZ(calc(var(--cm-s) / 2)); }
.lg-cm-floor { position: absolute; left: 50%; bottom: 2%; width: 70%; height: 14%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(140, 116, 255, 0.55), transparent); filter: blur(6px); }
.lg-cm-shards { position: absolute; inset: 0; pointer-events: none; }
.lg-cm-shards i { --k: #A193FF; position: absolute; left: 50%; top: 50%; width: calc(var(--cm-s) * 0.16); margin: calc(var(--cm-s) * -0.09) 0 0 calc(var(--cm-s) * -0.08); opacity: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); aspect-ratio: 0.866; background: conic-gradient(from -60deg at 50% 50%, color-mix(in srgb, var(--k), #fff 35%) 0 120deg, color-mix(in srgb, var(--k), #000 45%) 0 240deg, color-mix(in srgb, var(--k), #000 15%) 0); }
.lg-cm-shards i:nth-child(1) { --x: -9; --y: -6; } .lg-cm-shards i:nth-child(2) { --x: 8; --y: -7; --k: #FFB547; }
.lg-cm-shards i:nth-child(3) { --x: -11; --y: 3; } .lg-cm-shards i:nth-child(4) { --x: 10; --y: 4; }
.lg-cm-shards i:nth-child(5) { --x: -4; --y: -10; --k: #C9BFFF; } .lg-cm-shards i:nth-child(6) { --x: 5; --y: 9; }
.lg-cm-shards i:nth-child(7) { --x: -7; --y: 9; --k: #3DDC84; } .lg-cm-shards i:nth-child(8) { --x: 2; --y: -11; }
.lg-cm-shards i:nth-child(9) { --x: 12; --y: -1; --k: #C9BFFF; } .lg-cm-shards i:nth-child(10) { --x: -12; --y: -2; }
.lg-cm-shards i:nth-child(11) { --x: -2; --y: 12; --k: #FFB547; } .lg-cm-shards i:nth-child(12) { --x: 7; --y: -2; }

.lg-cm-opt {
	position: relative; padding: 1rem 1.25rem; border-radius: 1.1rem; text-align: left;
	border: 1px solid var(--cm-edge); background: color-mix(in srgb, var(--wp--preset--color--surface) 78%, transparent);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s, box-shadow 0.25s, background-color 0.2s;
}
.lg-cm-opt > p { margin: 0; }
.lg-cm-opt-top { grid-area: top; justify-self: center; text-align: center; }
.lg-cm-opt-bottom { grid-area: bottom; justify-self: center; text-align: center; }
.lg-cm-opt-left { grid-area: left; justify-self: end; text-align: right; }
.lg-cm-opt-right { grid-area: right; justify-self: start; }
.lg-cm-opt-title { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.1; white-space: nowrap; }
.lg-cm-opt-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.lg-cm-opt-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lg-cm-opt-title a:focus-visible { outline: none; }
.lg-cm-opt-text { color: var(--wp--preset--color--muted); font-size: 0.95rem; margin-block-start: 0.3rem !important; }
.lg-cm-opt-title::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-inline-end: 0.45em; vertical-align: 0.12em; background: var(--wp--preset--color--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lg-cm-opt-left .lg-cm-opt-title::before { clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.lg-cm-opt-right .lg-cm-opt-title::before { clip-path: polygon(100% 50%, 0 0, 0 100%); }
.lg-cm-opt-bottom .lg-cm-opt-title::before { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.lg-cm-opt:hover, .lg-cm-opt:focus-within, .lg-cm-opt.is-on { border-color: #D6CEFF; background: color-mix(in srgb, #2A2080 70%, transparent); box-shadow: 0 0 0 1px #D6CEFF, 0 0 34px rgba(140, 116, 255, 0.55); }
.lg-cm-opt:has(a:focus-visible) { outline: 3px solid var(--wp--preset--color--accent-soft); outline-offset: 4px; }
.lg-cm-opt-top:hover, .lg-cm-opt-top:focus-within { transform: translateY(6px); }
.lg-cm-opt-bottom:hover, .lg-cm-opt-bottom:focus-within { transform: translateY(-6px); }
.lg-cm-opt-left:hover, .lg-cm-opt-left:focus-within { transform: translateX(6px); }
.lg-cm-opt-right:hover, .lg-cm-opt-right:focus-within { transform: translateX(-6px); }
.lg-cm-hints { display: flex; justify-content: center; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-block-start: var(--wp--preset--spacing--40) !important; font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lg-cm-hints kbd { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font: 800 0.85rem/1 var(--wp--preset--font-family--body); background: #3DDC84; color: #0D0A26; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.lg-cm-hints kbd + kbd, .lg-cm-hints kbd:nth-of-type(2) { margin-inline-start: 1rem; background: #CFCBE6; }
@media (hover: none) { .lg-cm-hints:not(.has-pad) { display: none; } .lg-cm-hints .lg-cm-legend { display: none; } }
.lg-cm-legend { display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.lg-cm-hints.has-pad { gap: 1.1rem 1.5rem; }
/* On-screen pad: a d-pad and an A button, lit by the arrow keys, a mouse, a finger or a controller. */
.lg-cm-pad { display: inline-flex; align-items: center; gap: 1.4rem; padding: 0.75rem 1.1rem 0.75rem 0.85rem; border: 1px solid var(--cm-edge); border-radius: 2.2rem; background: linear-gradient(160deg, color-mix(in srgb, var(--wp--preset--color--surface) 92%, #fff 4%), color-mix(in srgb, var(--wp--preset--color--base) 85%, transparent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 44px -24px rgba(140, 116, 255, 0.9); touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.lg-cm-pad button { appearance: none; margin: 0; padding: 0; border: 0; font: inherit; color: inherit; cursor: pointer; }
.lg-cm-dpad { display: grid; grid-template-columns: repeat(3, 2.75rem); grid-template-rows: repeat(3, 2.75rem); }
.lg-cm-dpad button { position: relative; background: #CFCBE6; box-shadow: inset 0 -4px 0 rgba(13, 10, 38, 0.28); transition: background-color 0.15s, box-shadow 0.12s, translate 0.12s; }
.lg-cm-dpad button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0.75rem; height: 0.75rem; margin: -0.42rem 0 0 -0.375rem; background: #3A3470; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lg-cm-dpad [data-k="top"] { grid-area: 1 / 2; border-radius: 0.55rem 0.55rem 0 0; }
.lg-cm-dpad [data-k="bottom"] { grid-area: 3 / 2; border-radius: 0 0 0.55rem 0.55rem; }
.lg-cm-dpad [data-k="left"] { grid-area: 2 / 1; border-radius: 0.55rem 0 0 0.55rem; }
.lg-cm-dpad [data-k="right"] { grid-area: 2 / 3; border-radius: 0 0.55rem 0.55rem 0; }
.lg-cm-dpad [data-k="bottom"]::before { rotate: 180deg; }
.lg-cm-dpad [data-k="left"]::before { rotate: -90deg; }
.lg-cm-dpad [data-k="right"]::before { rotate: 90deg; }
.lg-cm-dpad-hub { grid-area: 2 / 2; background: #CFCBE6; box-shadow: inset 0 -4px 0 rgba(13, 10, 38, 0.28); }
.lg-cm-dpad-hub::before { content: ""; display: block; width: 46%; aspect-ratio: 1; margin: 27% auto 0; border-radius: 50%; background: rgba(58, 52, 112, 0.22); }
.lg-cm-dpad button:hover { background: #E4E0F7; }
.lg-cm-dpad button.is-down, .lg-cm-dpad button:active { background: var(--wp--preset--color--accent); box-shadow: inset 0 2px 0 rgba(13, 10, 38, 0.3), 0 0 22px rgba(161, 147, 255, 0.9); }
.lg-cm-abtn { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: #3DDC84 !important; color: #0D0A26 !important; font: 800 1.35rem/1 var(--wp--preset--font-family--display) !important; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(61, 220, 132, 0); transition: box-shadow 0.12s, translate 0.12s, scale 0.12s; }
.lg-cm-abtn.is-down, .lg-cm-abtn:active { translate: 0 2px; box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.25), 0 0 26px rgba(61, 220, 132, 0.9); }
@media (prefers-reduced-motion: no-preference) {
	.lg-cm-dpad button.is-down { translate: 0 2px; }
	.is-armed .lg-cm-abtn { animation: lg-cm-ready 1.3s ease-in-out infinite; }
	.lg-cm-pad { animation: lg-cm-pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 1.35s both; }
}
@keyframes lg-cm-ready { 50% { box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.25), 0 0 0 9px rgba(61, 220, 132, 0.22), 0 0 28px rgba(61, 220, 132, 0.6); } }
/* The pad sits in the corner under the left choice, beside the bottom one; on phones right under the cube. */
.lg-cm-stage:has(> .lg-cm-pad) { grid-template-areas: "top top top" "left core right" "pad bottom ."; }
.lg-cm-stage > .lg-cm-pad { grid-area: pad; justify-self: end; position: relative; z-index: 1; }
.lg-cm-stage:not(.is-live) > .lg-cm-pad { visibility: hidden; }
@media (min-width: 782px) {
	.lg-cm-stage > .lg-cm-pad { gap: 1rem; padding: 0.6rem 0.9rem 0.6rem 0.7rem; }
	.lg-cm-stage .lg-cm-dpad { grid-template-columns: repeat(3, 2.4rem); grid-template-rows: repeat(3, 2.4rem); }
	.lg-cm-stage .lg-cm-abtn { width: 3.4rem; height: 3.4rem; font-size: 1.15rem !important; }
}
/* The beam from the cube to the chosen side, and the ring that pulses out of the cube. */
.lg-cm-opt { z-index: 1; }
.lg-cm-beam { position: absolute; z-index: 0; height: 2px; margin-top: -1px; transform-origin: 0 50%; border-radius: 2px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(214, 206, 255, 0), #D6CEFF 25%, #FFB547); box-shadow: 0 0 12px rgba(161, 147, 255, 0.9); }
.lg-cm-beam::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #FFB547; box-shadow: 0 0 14px 3px rgba(255, 181, 71, 0.85); }
.lg-cm-beam.is-on { opacity: 1; }
.lg-cm-ring { position: absolute; left: 50%; top: 50%; width: var(--cm-s); aspect-ratio: 1; margin: calc(var(--cm-s) / -2) 0 0 calc(var(--cm-s) / -2); border: 2px solid rgba(214, 206, 255, 0.85); border-radius: 50%; opacity: 0; pointer-events: none; }
.lg-cm-stage:not([data-face="idle"]) .lg-cm-face { border-color: #EDE9FF; box-shadow: inset 0 0 calc(var(--cm-s) * 0.3) rgba(190, 176, 255, 0.7), 0 0 40px rgba(161, 147, 255, 0.6); }
@media (prefers-reduced-motion: no-preference) {
	.lg-cm-beam.is-on { animation: lg-cm-beam 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.lg-cm-ring.is-on { animation: lg-cm-ring 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
	.lg-cm-stage.is-going .lg-cm-beam { opacity: 0; transition: opacity 0.2s; }
	.lg-hero-console::after { translate: calc(var(--cm-px, 0) * 2.5rem) calc(var(--cm-py, 0) * 1.5rem); transition: translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
	.lg-cm-floor { translate: calc(var(--cm-px, 0) * -0.8rem) 0; transition: translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
}
@keyframes lg-cm-beam { from { clip-path: inset(-8px 100% -8px 0); } to { clip-path: inset(-8px -12px -8px 0); } }
@keyframes lg-cm-ring { from { opacity: 0.9; transform: scale(0.7); } to { opacity: 0; transform: scale(2.1); } }
@media (max-width: 781px) {
	.lg-cm-stage { --cm-s: 7.5rem; grid-template-columns: 1fr 1fr; grid-template-areas: "core core" "top right" "left bottom"; gap: 0.75rem; }
	.lg-cm-core { justify-self: center; width: calc(var(--cm-s) * 1.6); height: calc(var(--cm-s) * 1.6); }
	.lg-cm-opt, .lg-cm-opt-top, .lg-cm-opt-bottom, .lg-cm-opt-left, .lg-cm-opt-right { justify-self: stretch; text-align: left; padding: 0.85rem 1rem; }
	.lg-cm-opt-text { font-size: 0.875rem; }
}

/* Boot: little cubes fly in and the big cube forms. Picking a choice bursts it back out. */
@media (prefers-reduced-motion: no-preference) {
	.lg-cm-spin { animation: lg-cm-form 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s both; }
	.lg-cm-stage:not(.is-live) .lg-cm-cube { animation: lg-cm-spin 18s linear 1.5s infinite; }
	.lg-cm-shards i { animation: lg-cm-in 0.9s cubic-bezier(0.5, 0, 0.2, 1) both; animation-delay: calc(var(--d, 0) * 1ms); }
	.lg-cm-shards i:nth-child(odd) { --d: 60; } .lg-cm-shards i:nth-child(3n) { --d: 140; }
	.lg-cm-opt { animation: lg-cm-pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.lg-cm-opt-top { animation-delay: 0.9s; } .lg-cm-opt-right { animation-delay: 1s; } .lg-cm-opt-bottom { animation-delay: 1.1s; } .lg-cm-opt-left { animation-delay: 1.2s; }
	.lg-cm-stage.is-going .lg-cm-spin { animation: lg-cm-go 0.5s cubic-bezier(0.6, 0, 0.8, 0.4) both; }
	.lg-cm-stage.is-going .lg-cm-shards i { animation: lg-cm-out 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
	.lg-cm-stage.is-going .lg-cm-opt:not(.is-on) { opacity: 0.35; transition: opacity 0.3s; }
	.lg-cm-floor { animation: lg-cm-breathe 4s ease-in-out infinite; }
	.lg-hero-console::before { animation: lg-cm-drift 40s linear infinite; }
}
@keyframes lg-cm-form { from { opacity: 0; scale: 0.15; } 55% { opacity: 1; } to { opacity: 1; scale: 1; } }
@keyframes lg-cm-spin { from { transform: rotateX(-24deg) rotateY(-36deg); } to { transform: rotateX(-24deg) rotateY(324deg); } }
@keyframes lg-cm-in { 0% { opacity: 0; transform: translate(calc(var(--x) * 1.4rem), calc(var(--y) * 1.4rem)) rotate(90deg); } 30% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(0, 0) scale(0.4); } }
@keyframes lg-cm-out { 0% { opacity: 1; transform: translate(0, 0) scale(0.6); } 100% { opacity: 0; transform: translate(calc(var(--x) * 2.6rem), calc(var(--y) * 2.6rem)) rotate(-120deg) scale(1.3); } }
@keyframes lg-cm-go { to { opacity: 0; scale: 1.9; } }
@keyframes lg-cm-pop { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes lg-cm-breathe { 50% { opacity: 0.55; } }
@keyframes lg-cm-drift { to { background-position: 31.18px 54px; } }

/* Game library: tiles like save blocks on a memory card, with filters and a counter. */
.lg-cm-lib-head > * { max-width: 52rem; }
.lg-cm-lib-head > * { margin-block: 0; }
.lg-cm-lib-head > * + * { margin-block-start: 1rem; }
.lg-cm-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-block: var(--wp--preset--spacing--40) 1.25rem; padding: 0.6rem; border: 1px solid var(--cm-edge); border-radius: 999px; background: color-mix(in srgb, var(--wp--preset--color--surface) 80%, transparent); }
.lg-cm-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.lg-cm-filters button { min-height: 44px; padding: 0.5rem 1.1rem; border: 0; border-radius: 999px; font: 700 0.95rem/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--contrast); background: transparent; cursor: pointer; }
.lg-cm-filters button:hover { background: rgba(161, 147, 255, 0.16); }
.lg-cm-filters button[aria-pressed="true"] { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }
.lg-cm-filters button:focus-visible { outline: 3px solid var(--wp--preset--color--accent-soft); outline-offset: 2px; }
.lg-cm-count { margin: 0 1rem 0 auto; font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lg-cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 0.9rem; margin-block-start: var(--wp--preset--spacing--40); }
.lg-cm-bar + .lg-cm-grid { margin-block-start: 0; }
.lg-cm-game { --k: #A193FF; position: relative; display: grid; grid-template-columns: 2.6rem 1fr; grid-template-rows: auto auto 1fr; column-gap: 0.9rem; padding: 1rem 1.1rem 1.1rem; border-radius: 1rem; border: 1px solid var(--wp--preset--color--line); background: linear-gradient(160deg, color-mix(in srgb, var(--k) 12%, var(--wp--preset--color--surface)), var(--wp--preset--color--surface) 60%); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; margin: 0 !important; }
.lg-cm-game[hidden] { display: none; }
.lg-cm-game::before { content: ""; grid-row: 1 / span 3; align-self: start; width: 2.6rem; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); aspect-ratio: 0.866; background: conic-gradient(from -60deg at 50% 50%, color-mix(in srgb, var(--k), #fff 30%) 0 120deg, color-mix(in srgb, var(--k), #000 45%) 0 240deg, color-mix(in srgb, var(--k), #000 15%) 0); }
.lg-cm-game > p { margin: 0; grid-column: 2; }
.lg-cm-game[data-k="1"] { --k: #FFB547; }
.lg-cm-game[data-k="2"] { --k: #3DDC84; }
.lg-cm-game[data-k="3"] { --k: #FF8AC2; }
.lg-cm-game:hover { transform: translateY(-3px); border-color: var(--k); box-shadow: 0 10px 30px -12px var(--k); }
.lg-cm-game-tag { font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--k); }
.lg-cm-game-name { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.02rem; line-height: 1.2; margin-block-start: 0.2rem !important; }
.lg-cm-game-meta { font-size: 0.9rem; color: var(--wp--preset--color--muted); margin-block-start: 0.3rem !important; }
.lg-cm-lib-note { color: var(--wp--preset--color--muted); margin-block-start: 1.5rem !important; }
@media (prefers-reduced-motion: no-preference) {
	.lg-cm-game:hover::before { animation: lg-cm-wobble 0.7s ease-in-out; }
}
@keyframes lg-cm-wobble { 30% { transform: rotate(-12deg) scale(1.08); } 65% { transform: rotate(8deg); } }
@media (max-width: 781px) { .lg-cm-bar { border-radius: 1.25rem; } .lg-cm-count { margin: 0 0.5rem; } }

/* Party builder: an options screen with rows, switches and a live price. */
.lg-cm-builder { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.5rem; border: 1px solid var(--cm-edge); background: linear-gradient(170deg, #1E1750, var(--wp--preset--color--surface) 55%); box-shadow: 0 30px 80px -40px rgba(140, 116, 255, 0.7); }
.lg-cm-builder > * { margin-block: 0; }
.lg-cm-sheet-title { font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.85rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--accent-soft); }
.lg-cm-rates { margin-block-start: 0.75rem !important; }
.lg-cm-rates p { margin: 0; padding: 0.7rem 0; border-bottom: 1px dashed var(--wp--preset--color--line); }
.lg-cm-sheet-note { color: var(--wp--preset--color--muted); margin-block-start: 0.9rem !important; }
.lg-cm-builder .wp-block-buttons { margin-block-start: 1.25rem !important; }
.lg-cm-builder.is-live .lg-cm-rates p { padding: 0.35rem 0; border: 0; font-size: 0.9rem; color: var(--wp--preset--color--muted); }
.lg-cm-builder.is-live .lg-cm-sheet-title { margin-block-start: 1.5rem !important; }
.lg-cm-ui { display: grid; gap: 0.4rem; }
.lg-cm-ui > .lg-cm-ui-title { margin: 0 0 0.6rem; font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--accent-soft); }
.lg-cm-row { display: grid; grid-template-columns: minmax(7rem, 0.8fr) 1.5fr; align-items: center; gap: 0.5rem 1rem; padding: 0.75rem 1rem; border-radius: 0.9rem; border: 1px solid transparent; background: rgba(13, 10, 38, 0.45); transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.lg-cm-row:focus-within, .lg-cm-row:hover { border-color: rgba(214, 206, 255, 0.7); background: rgba(42, 32, 128, 0.55); box-shadow: 0 0 22px rgba(140, 116, 255, 0.35); }
.lg-cm-row > .lg-cm-row-label, .lg-cm-row legend { font-weight: 800; font-size: 1rem; padding: 0; }
.lg-cm-row fieldset, fieldset.lg-cm-row { margin: 0; min-width: 0; }
fieldset.lg-cm-row { display: grid; }
fieldset.lg-cm-row legend { float: left; }
.lg-cm-ctl { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.lg-cm-ctl output { min-width: 6.5rem; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.05rem; text-align: center; }
.lg-cm-step { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #8F84D6; background: transparent; color: var(--wp--preset--color--contrast); cursor: pointer; font-size: 0.9rem; }
.lg-cm-step:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--accent); }
.lg-cm-step:disabled { opacity: 0.4; cursor: default; background: transparent; color: var(--wp--preset--color--contrast); }
.lg-cm-ui input[type="range"] { flex: 1 1 10rem; min-width: 8rem; height: 44px; accent-color: var(--wp--preset--color--accent); background: transparent; }
.lg-cm-switches { display: grid; gap: 0.35rem; }
.lg-cm-switch { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; cursor: pointer; font-size: 0.98rem; }
.lg-cm-switch input { appearance: none; -webkit-appearance: none; flex: none; width: 3.1rem; height: 1.75rem; margin: 0; border-radius: 999px; border: 1px solid #8F84D6; background: #0D0A26; position: relative; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.lg-cm-switch input::after { content: ""; position: absolute; top: 50%; left: 0.2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #CFCBE6; transform: translateY(-50%); transition: left 0.2s, background-color 0.2s; }
.lg-cm-switch input:checked { background: #3DDC84; border-color: #3DDC84; }
.lg-cm-switch input:checked::after { left: calc(100% - 1.4rem); background: #0D0A26; }
.lg-cm-switch small { display: block; color: var(--wp--preset--color--muted); font-size: 0.85rem; }
.lg-cm-ui :focus-visible { outline: 3px solid var(--wp--preset--color--accent-soft); outline-offset: 2px; }
.lg-cm-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; margin: 0.75rem 0 0; padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(61, 220, 132, 0.1); border: 1px solid rgba(61, 220, 132, 0.45); }
.lg-cm-total strong { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: #fff; }
.lg-cm-total span { color: var(--wp--preset--color--muted); font-size: 0.95rem; }
.lg-cm-perks { padding-inline-start: 0; list-style: none; }
.lg-cm-perks li { position: relative; padding-inline-start: 1.6rem; margin-block: 0.55rem; }
.lg-cm-perks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 0.85rem; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); aspect-ratio: 0.866; background: conic-gradient(from -60deg at 50% 50%, #E1DBFF 0 120deg, #4B3BA8 0 240deg, #8C74FF 0); }
@media (max-width: 600px) { .lg-cm-row { grid-template-columns: 1fr; } }

/* Week calendar with a clock made of cubes. */
.lg-cm-calendar { position: relative; overflow: hidden; }
.lg-cm-cal-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem; }
.lg-cm-cal-head > * { grid-column: 1; margin: 0; }
.lg-cm-cal-head > * + * { margin-block-start: 1rem; }
.lg-cm-clock { grid-column: 2 !important; grid-row: 1 / span 3; align-self: center; display: grid; justify-items: end; gap: 0.6rem; margin: 0 !important; }
.lg-cm-digits { display: flex; gap: 0.55rem; align-items: center; }
.lg-cm-digit { display: grid; grid-template-columns: repeat(3, var(--px)); gap: 2px; --px: clamp(0.6rem, 1.3vw, 1rem); }
.lg-cm-digit.is-colon { grid-template-columns: var(--px); }
.lg-cm-digit i { width: var(--px); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); aspect-ratio: 0.866; background: rgba(161, 147, 255, 0.12); }
.lg-cm-digit i.on { background: conic-gradient(from -60deg at 50% 50%, #E9E4FF 0 120deg, #5B45D6 0 240deg, #9C88FF 0); filter: drop-shadow(0 0 4px rgba(161, 147, 255, 0.8)); }
.lg-cm-clock-day { font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin: 0; }
.lg-cm-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.75rem; margin-block-start: var(--wp--preset--spacing--40) !important; }
.lg-cm-day { position: relative; padding: 1.1rem 1rem 1.2rem; border-radius: 1rem; border: 1px solid var(--wp--preset--color--line); background: color-mix(in srgb, var(--wp--preset--color--base) 55%, transparent); margin: 0 !important; }
.lg-cm-day > p { margin: 0; }
.lg-cm-day-name { font-family: var(--wp--preset--font-family--mono, inherit); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.lg-cm-day-event { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; margin-block-start: 0.5rem !important; }
.lg-cm-day-text { font-size: 0.92rem; color: var(--wp--preset--color--muted); margin-block-start: 0.45rem !important; }
.lg-cm-day.is-today { border-color: var(--wp--preset--color--accent-soft); background: linear-gradient(170deg, rgba(255, 181, 71, 0.14), color-mix(in srgb, var(--wp--preset--color--base) 55%, transparent) 60%); box-shadow: 0 0 0 1px var(--wp--preset--color--accent-soft), 0 18px 40px -22px rgba(255, 181, 71, 0.8); }
.lg-cm-tonight { display: inline-block; margin-inline-start: 0.5rem; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--wp--preset--color--accent-soft); color: #0D0A26; font-weight: 800; letter-spacing: 0.06em; }
@media (max-width: 1100px) { .lg-cm-week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 781px) {
	.lg-cm-week { grid-template-columns: 1fr 1fr; }
	.lg-cm-cal-head { grid-template-columns: 1fr; }
	.lg-cm-clock { grid-column: 1 !important; grid-row: auto; justify-items: start; margin-block-start: 1.25rem !important; }
}
@media (max-width: 480px) { .lg-cm-week { grid-template-columns: 1fr; } }
/* Wide screens: headline on the left, cube menu on the right, so the whole start screen fits. */
@media (min-width: 1180px) {
	.lg-hero-console { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); padding-inline: max(var(--wp--style--root--padding-left, 1.5rem), calc((100% - 1280px) / 2 + var(--wp--style--root--padding-left, 0px))) !important; column-gap: 3rem; align-items: center; min-height: min(calc(100svh - 4.5rem), 41rem); text-align: left; }
	.lg-hero-console > * { max-width: none !important; margin-inline: 0 !important; }
	.lg-hero-console > .lg-cm-head { grid-column: 1; grid-row: 1; }
	.lg-hero-console > .lg-cm-stage { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; --cm-s: clamp(7.5rem, 9vw, 9.5rem); grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 1.5rem; }
	.lg-hero-console .lg-cm-core { width: calc(var(--cm-s) * 1.6); height: calc(var(--cm-s) * 1.6); }
	.lg-hero-console .lg-cm-opt-left, .lg-hero-console .lg-cm-opt-right { width: 100%; max-width: 15rem; }
	.lg-hero-console .lg-cm-opt-title { font-size: 1.35rem; }
	.lg-hero-console > .lg-cm-hints { grid-column: 1; grid-row: 2; align-self: start; justify-content: flex-start; margin-block-start: 2rem !important; }
	.lg-hero-console .lg-cm-head > * { margin-inline: 0; }
	.lg-hero-console .lg-cm-title { font-size: clamp(2.6rem, 4.2vw, 4.3rem); }
	.lg-hero-console::after { left: 68%; top: 50%; }
	.lg-hero-console::before { -webkit-mask-image: radial-gradient(50% 58% at 66% 50%, #000 0%, rgba(0, 0, 0, 0.4) 55%, transparent 100%); mask-image: radial-gradient(50% 58% at 66% 50%, #000 0%, rgba(0, 0, 0, 0.4) 55%, transparent 100%); }
}
@media (max-width: 781px) {
	.lg-cm-hints { display: none; }
	.lg-cm-stage:has(> .lg-cm-pad) { grid-template-areas: "core core" "pad pad" "top right" "left bottom"; }
	.lg-cm-stage > .lg-cm-pad { justify-self: center; gap: 1.1rem; margin-block-end: 0.5rem !important; }
}
@media (max-width: 600px) {
	.lg-cm-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
	.lg-cm-game { grid-template-columns: 1fr; padding: 0.85rem; }
	.lg-cm-game::before { grid-row: auto; width: 1.9rem; margin-block-end: 0.5rem; }
	.lg-cm-game > p { grid-column: 1; }
	.lg-cm-game-name { font-size: 0.95rem; }
	.lg-cm-game-meta { font-size: 0.85rem; }
}

/* Console look: mini game section ("Stack the cubes") and its pop-up. */
.lg-cm-play-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: var(--wp--preset--spacing--50); padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid var(--cm-edge, #2F2870); border-radius: 1.75rem; overflow: hidden; background: radial-gradient(60% 90% at 85% 50%, rgba(140, 116, 255, 0.28), transparent 70%), linear-gradient(160deg, var(--wp--preset--color--surface), var(--wp--preset--color--base)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.lg-cm-play-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px); }
.lg-cm-play-text > * { margin-block: 0; }
.lg-cm-play-text > * + * { margin-block-start: 1.1rem; }
.lg-cm-play-text .wp-block-buttons { margin-block-start: 1.75rem; }
.lg-cm-start .wp-block-button__link { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 3.25rem; padding: 0.8rem 1.6rem 0.8rem 0.8rem; font-family: var(--wp--preset--font-family--display); letter-spacing: 0.04em; text-transform: uppercase; background: #3DDC84; color: #0D0A26; border-radius: 999px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22), 0 14px 30px -14px rgba(61, 220, 132, 0.8); }
.lg-cm-start .wp-block-button__link::before { content: "A"; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #0D0A26; color: #3DDC84; font-size: 0.9rem; }
.lg-cm-start .wp-block-button__link:hover { background: #5BE89A; }
.lg-cm-start .wp-block-button__link:focus-visible { outline: 3px solid var(--wp--preset--color--accent-soft); outline-offset: 4px; }
.lg-cm-play-art { position: relative; justify-self: center; width: min(100%, 21rem); }
.lg-cm-play-art svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 30px rgba(140, 116, 255, 0.45)); }
.lg-cm-play-score { position: absolute; top: 0; right: 0; padding: 0.3rem 0.6rem; border: 1px solid var(--cm-edge, #2F2870); border-radius: 0.5rem; background: rgba(13, 10, 38, 0.7); font: 700 0.8rem/1 var(--wp--preset--font-family--mono, monospace); letter-spacing: 0.12em; color: var(--wp--preset--color--accent-soft); }
@media (prefers-reduced-motion: no-preference) {
	.lg-cm-art-top { animation: lg-cm-slide 2.4s ease-in-out infinite alternate; }
}
@keyframes lg-cm-slide { from { transform: translate(-30px, 17px); } to { transform: translate(6px, -3px); } }
@media (max-width: 781px) {
	.lg-cm-play-card { grid-template-columns: 1fr; text-align: left; }
	.lg-cm-play-art { grid-row: 1; width: min(70%, 12rem); }
}

.lg-cm-gamebox { width: min(34rem, 100vw); height: min(46rem, 100dvh); max-width: none; max-height: none; margin: auto; padding: 0; border: 1px solid #3A3290; border-radius: 1.5rem; overflow: hidden; color: #F2EFFF; background: radial-gradient(70% 60% at 50% 30%, #241C66, #0D0A26 75%); box-shadow: 0 40px 90px -30px rgba(140, 116, 255, 0.7); font-family: var(--wp--preset--font-family--body, system-ui); }
.lg-cm-gamebox[open] { display: grid; grid-template-rows: auto 1fr; }
.lg-cm-gamebox::backdrop { background: rgba(8, 6, 26, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lg-cm-gamebox:focus { outline: none; }
.lg-cm-game-hud { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 1rem 0 1.25rem; }
.lg-cm-game-hud p { margin: 0; display: grid; gap: 0.15rem; }
.lg-cm-game-hud span { font: 0.7rem/1 var(--wp--preset--font-family--mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: #B9B2E6; }
.lg-cm-game-hud b { font: 700 1.25rem/1 var(--wp--preset--font-family--display, inherit); }
.lg-cm-game-score b { font-size: 2rem; color: #FFB547; }
.lg-cm-game-close { margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid #3A3290; border-radius: 50%; background: rgba(23, 18, 58, 0.8); color: #F2EFFF; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lg-cm-game-close:focus-visible, .lg-cm-game-go:focus-visible { outline: 3px solid #FFB547; outline-offset: 3px; }
.lg-cm-game-canvas { grid-row: 2; grid-column: 1; width: 100%; height: 100%; min-height: 0; touch-action: manipulation; cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.lg-cm-game-flash { grid-row: 2; grid-column: 1; align-self: start; justify-self: center; margin: 1rem 0 0; opacity: 0; pointer-events: none; font: 700 1.1rem/1 var(--wp--preset--font-family--display, inherit); letter-spacing: 0.06em; text-transform: uppercase; color: #3DDC84; text-shadow: 0 0 18px rgba(61, 220, 132, 0.7); }
.lg-cm-game-flash.is-on { animation: lg-cm-flash 0.9s ease-out both; }
@keyframes lg-cm-flash { 0% { opacity: 0; transform: translateY(8px) scale(0.9); } 15% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { @keyframes lg-cm-flash { 0%, 80% { opacity: 1; } 100% { opacity: 0; } } }
.lg-cm-game-panel { grid-row: 2; grid-column: 1; align-self: end; margin: 1rem; padding: 1.25rem 1.25rem 1.4rem; border: 1px solid #3A3290; border-radius: 1.1rem; background: rgba(13, 10, 38, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-align: center; }
.lg-cm-game-panel[hidden] { display: none; }
.lg-cm-game-title { margin: 0; font: 700 1.5rem/1.1 var(--wp--preset--font-family--display, inherit); }
.lg-cm-game-text { margin: 0.6rem auto 1.1rem; max-width: 28ch; color: #B9B2E6; }
.lg-cm-game-go { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.6rem 1.4rem 0.6rem 0.6rem; border: 0; border-radius: 999px; background: #3DDC84; color: #0D0A26; font: 800 1rem/1 var(--wp--preset--font-family--display, inherit); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22); }
.lg-cm-game-go kbd { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #0D0A26; color: #3DDC84; font: inherit; font-size: 0.85rem; }
@media (max-width: 600px) { .lg-cm-gamebox { width: 100vw; height: 100dvh; border-radius: 0; border: 0; } }

/* ---------- Porchlight look (property management): giant name, owner dashboard, lit-up words ---------- */
.lg-hero-porch { position: relative; overflow: hidden; }
.lg-pc-frame { overflow: hidden; }
.lg-pc-frame > .wp-block-cover__inner-container { position: relative; z-index: 2; }
.lg-pc-frame > .wp-block-cover__inner-container { display: grid; grid-template-rows: auto 1fr auto auto; gap: clamp(1rem, 2vw, 1.75rem); min-height: calc(92vh - var(--wp--preset--spacing--50) - var(--wp--preset--spacing--40)); color: #fff; }
.lg-pc-frame .wp-block-cover__image-background { transform-origin: 50% 70%; }
/* The porch light comes on: a warm glow over the front door flickers twice and holds. */
.lg-pc-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
	background: radial-gradient(42% 38% at 50% 58%, rgba(255, 190, 110, 0.55), rgba(255, 170, 80, 0.18) 45%, rgba(255, 170, 80, 0) 70%); }
@media (prefers-reduced-motion: no-preference) {
	.lg-pc-frame::after { animation: lg-porch-on 1.6s steps(1, end) 0.6s both, lg-porch-warm 1.2s ease-out 2.2s both; }
}
@keyframes lg-porch-on { 0% { opacity: 0; } 18% { opacity: 0.7; } 26% { opacity: 0.05; } 40% { opacity: 0.85; } 48% { opacity: 0.2; } 100% { opacity: 0.6; } }
@keyframes lg-porch-warm { from { opacity: 0.6; } to { opacity: 1; } }
.lg-pc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; }
.lg-pc-top > * { margin: 0; }
.lg-pc-top .lg-label { color: rgba(255, 255, 255, 0.8); }
.lg-pc-avail { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.9rem 0.45rem 0.7rem; border-radius: 6px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); font-weight: 600; font-size: 0.95rem; }
.lg-pc-avail::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--wp--preset--color--contrast); box-shadow: 0 0 0 0 rgba(17, 18, 20, 0.45); animation: lg-pc-ping 2.2s ease-out infinite; }
@keyframes lg-pc-ping { 0% { box-shadow: 0 0 0 0 rgba(17, 18, 20, 0.45); } 70%, 100% { box-shadow: 0 0 0 0.6rem rgba(17, 18, 20, 0); } }
.lg-pc-word { align-self: end; margin: 0; max-width: 100%; font-size: clamp(2.4rem, 10.8vw, 12rem); line-height: 0.82; letter-spacing: -0.035em; font-stretch: 125%; font-weight: 800; color: #fff; white-space: nowrap; }
.lg-pc-word .lg-pc-ch { display: inline-block; }
.lg-pc-row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(16rem, 0.9fr); gap: clamp(1rem, 3vw, 3rem); align-items: end; }
.lg-pc-row > * { margin: 0; }
.lg-pc-lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.45; max-width: 30ch; color: rgba(255, 255, 255, 0.92); }
.lg-pc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; font-size: 1.02rem; }
.lg-pc-list li { display: flex; align-items: center; gap: 0.6rem; }
.lg-pc-list li::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--wp--preset--color--accent); border-radius: 1px; flex: none; }
.lg-pc-card { padding: 1.2rem 1.3rem 1.1rem; border-radius: 10px; background: rgba(17, 18, 20, 0.55); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lg-pc-card > * { margin: 0; }
.lg-pc-card-label { font-size: 0.95rem; font-weight: 600; color: rgba(255, 255, 255, 0.78); }
.lg-pc-card-price { font-family: var(--wp--preset--font-family--display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin-block: 0.25rem 0.9rem !important; }
.lg-pc-card-price span { font-size: 0.4em; font-weight: 600; margin-left: 0.2em; opacity: 0.8; }
.lg-pc-go .wp-block-button, .lg-pc-go .wp-block-button__link { width: 100%; }
.lg-pc-go .wp-block-button__link { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); text-align: center; }
.lg-pc-go .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--contrast); }
.lg-pc-card-note { margin-top: 0.75rem !important; font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }
.lg-pc-card-note a { color: #fff; }
.lg-pc-points { display: grid; align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); padding-top: clamp(1rem, 2vw, 1.5rem); border-top: 1px solid rgba(255, 255, 255, 0.25); }
.lg-pc-point > * { margin: 0; }
.lg-pc-point-title { font-size: 1.05rem; letter-spacing: 0; text-transform: none; margin-bottom: 0.35rem !important; color: var(--wp--preset--color--accent); }
.lg-pc-point p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); max-width: 34ch; }
@media (max-width: 900px) {
	.lg-pc-row { grid-template-columns: minmax(0, 1fr); }
	.lg-pc-list { display: none; }
	.lg-pc-points { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
	.lg-pc-word { font-size: 10.8vw; }
}
@media (max-width: 600px) {
	.lg-pc-frame { min-height: 100svh !important; padding: 1.1rem !important; }
	.lg-pc-frame > .wp-block-cover__inner-container { min-height: calc(100svh - 2.2rem); }
	.lg-pc-word { font-size: 10.6vw; letter-spacing: -0.04em; }
	.lg-pc-points .lg-pc-point:nth-child(n+2) { display: none; }
}

/* Owners: dark band with a sample dashboard and a hub of services */
.lg-porch-owners .lg-label { color: var(--wp--preset--color--accent); }
.lg-po-head { max-width: 46rem; margin-bottom: var(--wp--preset--spacing--50); }
.lg-po-head > * { margin-block: 0 1rem; }
.lg-po-lede { color: rgba(243, 241, 236, 0.75); max-width: 38ch; }
.lg-po-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.lg-po-dash { padding: clamp(1.1rem, 2vw, 1.6rem); border-radius: 14px; background: #1B1C1F; border: 1px solid #2B2D31; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.lg-po-dash > * { margin-block: 0; }
.lg-po-dash-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.9rem; margin-bottom: 1rem !important; border-bottom: 1px solid #2B2D31; }
.lg-po-dash-top > * { margin: 0; }
.lg-po-dash-name { font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.lg-po-dash-name::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 2px; background: var(--wp--preset--color--accent); }
.lg-po-dash-month { font-size: 0.85rem; padding: 0.25rem 0.6rem; border-radius: 4px; background: #2B2D31; color: rgba(243, 241, 236, 0.8); }
.lg-po-tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.75rem; }
.lg-po-tile { padding: 0.9rem 1rem; border-radius: 10px; background: #232428; }
.lg-po-tile > * { margin: 0; }
.lg-po-tile-main { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.lg-po-tile-label { font-size: 0.8rem; opacity: 0.75; }
.lg-po-num { font-family: var(--wp--preset--font-family--display); font-stretch: 110%; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; margin-top: 0.25rem !important; font-variant-numeric: tabular-nums; }
.lg-po-chart { display: block; width: 100%; height: clamp(90px, 12vw, 140px); margin-top: 1.1rem !important; }
.lg-po-chart-line { fill: none; stroke: var(--wp--preset--color--accent); stroke-width: 3; vector-effect: non-scaling-stroke; }
.lg-po-chart-fill { fill: color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent); }
.lg-po-dash-note { margin-top: 0.75rem !important; font-size: 0.82rem; color: rgba(243, 241, 236, 0.55); }
.lg-po-hub { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 1rem 1.25rem; align-items: center; }
.lg-po-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.lg-po-wires path { fill: none; stroke: color-mix(in srgb, var(--wp--preset--color--accent) 70%, transparent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; }
.lg-po-core { grid-column: 1 / -1; grid-row: 2; justify-self: center; z-index: 1; padding: 1.1rem 1.6rem; border-radius: 12px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); text-align: center; box-shadow: 0 0 0 10px color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent), 0 0 60px color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent); }
.lg-po-core > * { margin: 0; }
.lg-po-core-name { font-family: var(--wp--preset--font-family--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 1.25rem; }
.lg-po-core-sub { font-size: 0.85rem; }
.lg-po-node { align-self: stretch; position: relative; z-index: 1; padding: 1rem 1.1rem; border-radius: 10px; background: #1B1C1F; border: 1px solid #2B2D31; }
.lg-po-node > * { margin: 0; }
.lg-po-node:nth-of-type(2) { grid-row: 1; grid-column: 1; }
.lg-po-node:nth-of-type(3) { grid-row: 1; grid-column: 2; }
.lg-po-node:nth-of-type(4) { grid-row: 3; grid-column: 1; }
.lg-po-node:nth-of-type(5) { grid-row: 3; grid-column: 2; }
.lg-po-node-title { font-size: 1rem; letter-spacing: 0.03em; margin-bottom: 0.3rem !important; }
.lg-po-node p { font-size: 0.92rem; color: rgba(243, 241, 236, 0.7); }
.lg-po-cta { margin-top: var(--wp--preset--spacing--50); }
.lg-po-cta .wp-block-button__link { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.lg-po-cta .wp-block-button__link:hover { background: #fff; }
@media (max-width: 900px) {
	.lg-po-grid { grid-template-columns: minmax(0, 1fr); }
	.lg-po-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lg-po-num { font-size: 1.45rem; }
	.lg-po-tile-main { grid-column: 1 / -1; }
}

/* Statement: words light up one by one */
.lg-ps-text { font-family: var(--wp--preset--font-family--display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -0.015em; margin-top: 1rem; text-wrap: balance; }
.lg-ps-w { display: inline; }

/* Residents: three cards and a ticker */
.lg-pr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: var(--wp--preset--spacing--40); }
.lg-pr-head > * { margin: 0; }
.lg-pr-cards { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 1rem; align-items: stretch; }
.lg-pr-card { position: relative; display: flex; flex-direction: column; gap: 0.7rem; min-height: 26rem; padding: 1.4rem; border-radius: 14px; overflow: hidden; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); }
.lg-pr-card > * { margin: 0; position: relative; z-index: 1; }
.lg-pr-card .wp-block-buttons { margin-top: auto; }
.lg-pr-num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.1em; opacity: 0.6; }
.lg-pr-card-title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.lg-pr-card-lime { background: var(--wp--preset--color--accent); border-color: transparent; }
.lg-pr-card-dark { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); border-color: transparent; }
.lg-pr-card-dark .wp-block-button__link { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--contrast); }
.lg-pr-card-photo { color: #fff; border-color: transparent; justify-content: flex-end; }
.lg-pr-card-photo .wp-block-buttons { margin-top: 0.4rem; }
.lg-pr-card-photo .wp-block-button__link { background: #fff; color: var(--wp--preset--color--contrast); }
.lg-pr-photo { position: absolute !important; inset: 0; margin: 0 !important; z-index: 0 !important; }
.lg-pr-photo img { width: 100%; height: 100%; object-fit: cover; }
.lg-pr-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 18, 20, 0.88) 15%, rgba(17, 18, 20, 0.1) 70%); }
.lg-pr-ticker { width: 100vw; max-width: none !important; margin: var(--wp--preset--spacing--50) calc(50% - 50vw) 0 !important; padding-block: 1rem; border-block: 1px solid var(--wp--preset--color--line); overflow: hidden; white-space: nowrap; font-family: var(--wp--preset--font-family--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 3.6vw, 3rem); line-height: 1.1; }
.lg-pr-track { display: inline-flex; will-change: transform; }
.lg-pr-track span { padding-right: 0.4em; }
@media (max-width: 900px) {
	.lg-pr-cards { grid-template-columns: minmax(0, 1fr); }
	.lg-pr-card { min-height: 17rem; }
}
.lg-porch-residents { overflow-x: clip; }
.lg-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Call-now hero with today's next opening (urgent trades) ---------- */
.lg-hero-dispatch { position: relative; overflow: hidden; background-color: var(--wp--preset--color--base); background-image: linear-gradient(color-mix(in srgb, var(--wp--preset--color--accent) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--accent) 7%, transparent) 1px, transparent 1px); background-size: 32px 32px; }
.lg-hd-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.lg-hd-copy > * { margin-block: 0 1.1rem; }
.lg-hd-open { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); font-size: 0.9rem; font-weight: 600; }
.lg-hd-title { font-size: clamp(2.1rem, 3.9vw, 3.6rem); line-height: 1; text-wrap: balance; }
.lg-hd-mark { display: block; }
.lg-hd-lede { max-width: 34ch; color: var(--wp--preset--color--muted); }
.lg-hd-buttons .wp-block-button__link { font-size: 1.1rem; padding: 0.95rem 1.6rem; }
.lg-hd-call .wp-block-button__link { display: inline-flex; align-items: center; gap: 0.55rem; }
.lg-hd-call .wp-block-button__link::before { content: ""; width: 1.05em; height: 1.05em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.lg-hd-next { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; align-items: center; max-width: 26rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.35); }
.lg-hd-next > * { margin: 0; grid-column: 2; }
.lg-hd-next::before { content: ""; grid-row: 1 / span 3; grid-column: 1; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: #1F9D55; box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.5); }
.lg-hd-next.is-live::before { animation: lg-hd-ping 2s ease-out 3; }
.lg-hd-said { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lg-hd-flap { display: inline-block; transform-origin: 50% 50%; animation: lg-flap 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes lg-flap { from { transform: perspective(300px) rotateX(-90deg); opacity: 0; } }
@keyframes lg-hd-ping { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.5); } 70%, 100% { box-shadow: 0 0 0 0.7rem rgba(31, 157, 85, 0); } }
.lg-hd-next-label { font-size: 0.9rem; font-weight: 600; color: var(--wp--preset--color--muted); }
.lg-hd-next-time { font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; line-height: 1.1; }
.lg-hd-next-note { font-size: 0.88rem; color: var(--wp--preset--color--muted); }
.lg-hd-trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-weight: 600; font-size: 0.95rem; }
.lg-hd-trust li { display: flex; align-items: center; gap: 0.45rem; }
.lg-hd-trust li::before { content: ""; width: 0.35rem; height: 0.7rem; margin-inline: 0.15rem 0.1rem; border: solid var(--wp--preset--color--accent); border-width: 0 2.5px 2.5px 0; rotate: 45deg; translate: 0 -0.12rem; }
.lg-hd-media { position: relative; }
.lg-hd-photo { margin: 0 !important; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; }
.lg-hd-photo img { width: 100%; height: 100%; object-fit: cover; }
.lg-hd-price { position: absolute; left: -1.5rem; bottom: 1.75rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.lg-hd-price > * { margin: 0; }
.lg-hd-price-label { font-size: 0.85rem; opacity: 0.8; }
.lg-hd-price-num { font-family: var(--wp--preset--font-family--display); font-size: 2.4rem; line-height: 1.05; }
.lg-hd-price-note { font-size: 0.8rem; opacity: 0.75; }
@media (max-width: 900px) {
	.lg-hd-grid { grid-template-columns: minmax(0, 1fr); }
	.lg-hd-photo { aspect-ratio: 4 / 3; }
	.lg-hd-price { left: 1rem; bottom: 1rem; }
}
@media (max-width: 600px) {
	.lg-hero-dispatch { padding-top: var(--wp--preset--spacing--40) !important; }
	.lg-hd-lede { font-size: 1.1rem !important; }
	.lg-hd-buttons .wp-block-button__link { padding: 0.85rem 1.2rem; font-size: 1rem; }
}

/* ---------- Service area ZIP check ---------- */
.lg-zip-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.lg-zip-copy > * { margin-block: 0 1rem; }
.lg-zip-towns { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lg-zip-towns li { padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); font-size: 0.92rem; }
.lg-zip-box { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 18px; background: var(--wp--preset--color--base); border: 2px solid var(--wp--preset--color--line); transition: border-color 0.3s; }
.lg-zip-box > * { margin: 0; }
.lg-zip-box.is-yes { border-color: #1F9D55; }
.lg-zip-box.is-no { border-color: var(--wp--preset--color--accent); }
.lg-zip-ask { display: block; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem !important; }
.lg-zip-form { display: flex; gap: 0.5rem; margin-bottom: 1rem !important; }
.lg-zip-form input { flex: 1; min-width: 0; font: inherit; font-size: 1.3rem; letter-spacing: 0.08em; padding: 0.8rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); }
.lg-zip-form input:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.lg-zip-form button { font: inherit; font-weight: 700; padding: 0 1.4rem; border: 0; border-radius: 10px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); cursor: pointer; min-height: 48px; }
.lg-zip-result { color: var(--wp--preset--color--muted); }
.lg-zip-result strong { display: block; color: var(--wp--preset--color--contrast); font-size: 1.1rem; margin-bottom: 0.2rem; }
.lg-zip-result a { display: inline-block; margin-top: 0.4rem; font-weight: 700; color: var(--wp--preset--color--accent); }
.lg-zip-list { font-size: 0.75rem; color: var(--wp--preset--color--muted); margin-top: 1rem !important; }
.lg-zip-form ~ .lg-zip-list { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .lg-zip-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Today's specials board with open-now tag (cafes) ---------- */
/* A real chalkboard in a wood frame is the focal point. On load each special is chalked in, left to right,
   one after another, and the open/closed sign swings on its string and settles. Reduced motion: all still. */
.lg-hb-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.lg-hb-head > * { margin: 0; }
.lg-hb-title { font-size: clamp(2.7rem, 6.2vw, 5.75rem); line-height: 0.96; letter-spacing: -0.035em; text-wrap: balance; }
.lg-hb-side > * { margin-block: 0 1rem; }
.lg-hb-lede { font-size: 1.15rem; color: var(--wp--preset--color--muted); max-width: 32ch; }
.lg-hb-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.lg-hb-media { position: relative; padding-top: 2.5rem; }
.lg-hb-photo { margin: 0 !important; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -32px rgba(30, 42, 34, 0.55); }
.lg-hb-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Open/closed sign hanging from a string over the photo. */
.lg-hb-status { position: absolute; left: 50%; top: 0; z-index: 2; margin: 0; translate: -50% 0; transform-origin: 50% -2.5rem; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.7rem 1.1rem; border-radius: 8px; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); font-weight: 800; font-size: 1rem; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.6), inset 0 0 0 2px var(--wp--preset--color--contrast); white-space: nowrap; }
.lg-hb-status::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 2.5rem; translate: -1px 0; background: linear-gradient(var(--wp--preset--color--muted), var(--wp--preset--color--contrast)); }
.lg-hb-status::before { content: ""; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #B0412E; flex: none; }
.lg-hb-status.is-open::before { background: #1F9D55; box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.22); }
/* The board: dark slate in a wood frame, chalky text. */
.lg-hb-board { position: relative; padding: clamp(1.5rem, 3.4vw, 2.6rem); border-radius: 10px; background: radial-gradient(120% 90% at 20% 0%, #33433A 0%, #24312A 55%, #1C2620 100%); color: #F4F1EA; rotate: -0.6deg;
	box-shadow: inset 0 0 0 0.85rem #7A4E2D, inset 0 0 0 1rem #5B3820, inset 0 0 40px 1rem rgba(0, 0, 0, 0.35), 0 34px 70px -34px rgba(0, 0, 0, 0.6); }
.lg-hb-board > * { margin: 0; }
.lg-hb-day { font-family: var(--wp--preset--font-family--board, var(--wp--preset--font-family--display)); font-style: italic; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; margin: 0.5rem 0.6rem 1rem !important; padding-bottom: 0.9rem; border-bottom: 2px dashed rgba(244, 241, 234, 0.32); }
.lg-hb-item { display: grid; grid-template-columns: 1fr auto; column-gap: 0.75rem; margin-inline: 0.6rem !important; padding-block: 0.8rem; border-bottom: 1px solid rgba(244, 241, 234, 0.12); }
.lg-hb-item > * { margin: 0; }
.lg-hb-name { font-family: var(--wp--preset--font-family--board, inherit); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.15; }
.lg-hb-price { font-weight: 800; font-size: 1.2rem; color: #F2C66D; font-variant-numeric: tabular-nums; }
.lg-hb-note { grid-column: 1 / -1; font-size: 0.95rem; color: rgba(244, 241, 234, 0.75); }
.lg-hb-hours { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 1.1rem 0.6rem 0.3rem !important; font-size: 0.88rem; color: rgba(244, 241, 234, 0.75); }
.lg-hb-hours > * { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
	.lg-hb-day, .lg-hb-name, .lg-hb-note { animation: lg-chalk 0.7s cubic-bezier(0.65, 0, 0.35, 1) both; }
	.lg-hb-price { animation: lg-chalk-dot 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }
	.lg-hb-day { animation-delay: 0.25s; }
	.lg-hb-item:nth-of-type(2) > * { animation-delay: 0.65s; } .lg-hb-item:nth-of-type(2) .lg-hb-price { animation-delay: 1.1s; }
	.lg-hb-item:nth-of-type(3) > * { animation-delay: 1s; } .lg-hb-item:nth-of-type(3) .lg-hb-price { animation-delay: 1.45s; }
	.lg-hb-item:nth-of-type(4) > * { animation-delay: 1.35s; } .lg-hb-item:nth-of-type(4) .lg-hb-price { animation-delay: 1.8s; }
	.lg-hb-item:nth-of-type(5) > * { animation-delay: 1.7s; } .lg-hb-item:nth-of-type(5) .lg-hb-price { animation-delay: 2.15s; }
	.lg-hb-status { animation: lg-sign-swing 2.2s cubic-bezier(0.25, 0.8, 0.3, 1) 0.4s both; }
	.lg-hb-photo { animation: lg-hb-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
}
@keyframes lg-chalk { from { clip-path: inset(0 100% 0 0); opacity: 0.4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes lg-chalk-dot { from { opacity: 0; transform: scale(0.6); } }
@keyframes lg-sign-swing { 0% { transform: rotate(-16deg); opacity: 0; } 12% { opacity: 1; } 30% { transform: rotate(10deg); } 52% { transform: rotate(-5deg); } 72% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
@keyframes lg-hb-rise { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 900px) {
	.lg-hb-head, .lg-hb-grid { grid-template-columns: minmax(0, 1fr); }
	.lg-hb-photo { aspect-ratio: 4 / 3; }
	.lg-hb-board { rotate: 0deg; }
}
.lg-hb-grid > *, .lg-hd-grid > *, .lg-zip-grid > *, .lg-po-grid > *, .lg-pr-cards > *, .lg-po-tiles > *, .lg-po-hub > * { margin-block-start: 0; }

/* ---------- Book a chair (barbers, salons) ---------- */
.lg-hero-chair { position: relative; overflow: hidden; }
.lg-hc-grid { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; }
.lg-hc-grid > * { margin-block-start: 0; }
/* The barber pole: a glass tube with chrome caps and stripes that run up it. It turns once on load and
   once for every pick in the booking card, then rests (no endless motion beside the form). */
.lg-hc-pole { position: relative; align-self: stretch; min-height: 26rem; border-radius: 2.25rem; overflow: hidden; background: #F7F4EE;
	border-block: 0.9rem solid #C9D2DE; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.lg-hc-pole::before { content: ""; position: absolute; inset: -6.364rem 0 0; background: repeating-linear-gradient(-45deg, var(--wp--preset--color--accent) 0 1.125rem, #F7F4EE 1.125rem 2.25rem, #2E4E8F 2.25rem 3.375rem, #F7F4EE 3.375rem 4.5rem); will-change: transform; }
.lg-hc-pole::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, 0.4)); }
@keyframes lg-pole { to { transform: translateY(6.364rem); } }
@media (prefers-reduced-motion: no-preference) {
	.lg-hc-pole::before { animation: lg-pole 0.45s linear 0.2s 3, lg-pole 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.55s 1; }
	.lg-hc-pole.is-turning::before { animation: lg-pole 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1; }
	.lg-hc-title { animation: lg-hc-sign 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
	.lg-hc-chips button, .lg-hc-days button { animation: lg-hc-chip 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
	.lg-hc-chips button:nth-child(2) { animation-delay: 0.06s; } .lg-hc-chips button:nth-child(3) { animation-delay: 0.12s; } .lg-hc-chips button:nth-child(4) { animation-delay: 0.18s; }
	.lg-hc-chips button:active, .lg-hc-days button:active, .lg-hc-times button:active { transform: scale(0.97); }
}
@keyframes lg-hc-sign { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes lg-hc-chip { from { opacity: 0; transform: translateY(8px); } }
.lg-hc-copy > * { margin-block: 0 1.25rem; }
.lg-hc-title { font-size: clamp(2.6rem, 5.2vw, 4.75rem); line-height: 0.95; word-spacing: 0.1em; color: inherit; }
.lg-hc-lede { font-size: 1.15rem; max-width: 34ch; opacity: 0.88; }
.lg-hc-photo { margin: 0.75rem 0 0 !important; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; }
.lg-hc-photo img { width: 100%; height: 100%; object-fit: cover; }
.lg-hc-card { padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: 20px; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.lg-hc-card > * { margin: 0 0 0.85rem; }
.lg-hc-step { font-weight: 800; font-size: 0.95rem; }
.lg-hc-services { list-style: none; padding: 0; display: grid; gap: 0.3rem; }
.lg-hc-hours { font-size: 0.9rem; color: var(--wp--preset--color--muted); }
.lg-hc-hours > * { margin: 0; }
.lg-hc-card.is-live .lg-hc-hours { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lg-hc-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.lg-hc-chips button, .lg-hc-days button, .lg-hc-times button { font: inherit; cursor: pointer; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); border-radius: 12px; min-height: 44px; transition: border-color 0.2s, background 0.2s; }
.lg-hc-chips button { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.65rem 0.85rem; text-align: left; }
.lg-hc-chips button strong { color: var(--wp--preset--color--accent); }
.lg-hc-chips button[aria-pressed="true"], .lg-hc-days button[aria-pressed="true"], .lg-hc-times button[aria-pressed="true"] { border-color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.lg-hc-chips button[aria-pressed="true"] strong { color: inherit; }
.lg-hc-chips button:focus-visible, .lg-hc-days button:focus-visible, .lg-hc-times button:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.lg-hc-days { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; }
.lg-hc-days button { display: grid; flex: 1 0 4.4rem; padding: 0.45rem 0.4rem; text-align: center; line-height: 1.2; }
.lg-hc-days small { font-size: 0.75rem; opacity: 0.7; }
.lg-hc-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr)); gap: 0.4rem; max-height: 10.5rem; overflow-y: auto; padding: 0.1rem; }
.lg-hc-times button { padding: 0.4rem; font-size: 0.92rem; }
.lg-hc-summary { font-weight: 600; min-height: 1.4em; }
.lg-hc-go .wp-block-button, .lg-hc-go .wp-block-button__link { width: 100%; text-align: center; }
@media (max-width: 900px) {
	.lg-hc-grid { grid-template-columns: minmax(0, 1fr); }
	.lg-hc-photo { display: none; }
	/* On phones the pole lies down as a striped band across the top of the hero. */
	.lg-hc-pole { min-height: 0; height: 1.1rem; border-block: 0; border-inline: 0.6rem solid #C9D2DE; border-radius: 1rem; }
	.lg-hc-pole::before { inset: 0 0 0 -6.364rem; }
	.lg-hc-pole::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0.3)); }
	.lg-hc-pole::before { animation-name: lg-pole-x, lg-pole-x; }
	.lg-hc-pole.is-turning::before { animation-name: lg-pole-x; }
}
@keyframes lg-pole-x { to { transform: translateX(6.364rem); } }

/* ---------- Restored hero (decks, paint, washing) ---------- */
/* The before photo fills the screen; the after photo sweeps across it from left to right behind a bright
   leading edge, like the first coat going on, then the edge fades. Reduced motion: the after photo, still. */
@property --lg-coat { syntax: "<percentage>"; inherits: true; initial-value: 100%; }
.lg-hero-restore { position: relative; display: grid; min-height: min(86vh, 56rem); overflow: hidden; isolation: isolate; background: var(--wp--preset--color--contrast); }
.lg-hero-restore > * { grid-area: 1 / 1; margin: 0 !important; }
.lg-hr-before, .lg-hr-after { position: relative; z-index: -2; }
.lg-hr-before img, .lg-hr-after img { width: 100%; height: 100%; object-fit: cover; }
.lg-hr-after { clip-path: inset(0 calc(100% - var(--lg-coat)) 0 0); }
.lg-hero-restore::before { content: ""; z-index: -1; grid-area: 1 / 1; background: linear-gradient(90deg, rgba(10, 16, 12, 0.82) 0%, rgba(10, 16, 12, 0.45) 45%, rgba(10, 16, 12, 0) 75%), linear-gradient(0deg, rgba(10, 16, 12, 0.6), rgba(10, 16, 12, 0) 45%); }
/* The leading edge of the coat. */
.lg-hero-restore::after { content: ""; z-index: -1; grid-area: 1 / 1; width: 4px; justify-self: start; opacity: 0; background: linear-gradient(180deg, transparent, rgba(255, 214, 160, 0.95) 20%, rgba(255, 214, 160, 0.95) 80%, transparent); box-shadow: 0 0 24px 6px rgba(255, 190, 120, 0.45); }
.lg-hr-copy { align-self: end; padding: var(--wp--preset--spacing--60) max(var(--wp--preset--spacing--40), (100% - 1240px) / 2) var(--wp--preset--spacing--50); }
.lg-hr-copy > * { margin-block: 0 1.25rem; margin-inline: 0 !important; }
.lg-hr-title { font-size: clamp(3.2rem, 8.4vw, 8rem); line-height: 0.88; letter-spacing: -0.04em; text-wrap: balance; max-width: 9ch !important; }
.lg-hr-copy .lg-hero-lede { max-width: 40ch !important; opacity: 0.92; }
@media (prefers-reduced-motion: no-preference) {
	.lg-hero-restore { animation: lg-coat 2.4s cubic-bezier(0.65, 0, 0.35, 1) 0.5s both; }
	.lg-hero-restore::after { animation: lg-coat-edge 2.4s cubic-bezier(0.65, 0, 0.35, 1) 0.5s both; }
	.lg-hr-title { animation: lg-hr-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
	.lg-hr-copy .lg-hero-lede, .lg-hr-copy .wp-block-buttons { animation: lg-hr-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }
}
@keyframes lg-coat { from { --lg-coat: 0%; } to { --lg-coat: 100%; } }
@keyframes lg-coat-edge { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(100vw - 4px)); } }
@keyframes lg-hr-rise { from { opacity: 0; transform: translateY(28px); } }
@media (max-width: 700px) {
	.lg-hero-restore { min-height: 88svh; }
	.lg-hero-restore::before { background: linear-gradient(0deg, rgba(10, 16, 12, 0.85) 0%, rgba(10, 16, 12, 0.35) 60%, rgba(10, 16, 12, 0.1)); }
}
