/*
Theme Name: Lux Yard
Theme URI: https://luxyardproperties.com/
Author: Lux Yard Decor
Description: Theme for Lux Yard Decor, online room design. Built around the brand's jade-and-black logo and a sage-and-oak palette: the page reads like a room, with a scalloped sage wainscot under the hero and an oak floor footer. Works with the Lux Yard Decor plugin.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxyard
*/

/* Self-hosted Latin subsets (SIL OFL, see assets/fonts/OFL.txt).
   No requests to third-party font services. */

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/poppins-400.woff") format("woff");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/poppins-500.woff") format("woff");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url("assets/fonts/poppins-700.woff") format("woff");
}

@font-face {
	font-family: "Lux Yard Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/luxyard-serif-400.woff") format("woff");
}

@font-face {
	font-family: "Lux Yard Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/luxyard-serif-400-italic.woff") format("woff");
}

:root {
	--ly-ink: #000;
	--ly-text: #262a27;
	--ly-muted: #5f665f;
	--ly-jade: #5a967b;
	--ly-jade-deep: #3e7a5f;
	--ly-sage: #a9b39a;
	--ly-sage-soft: #e7ebe0;
	--ly-linen: #f3efe7;
	--ly-oak: #c9a577;
	--ly-oak-deep: #a9834f;
	--ly-line: #e2dfd6;
	--ly-font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	--ly-serif: "Lux Yard Serif", "Lora", Georgia, "Times New Roman", serif;
	--ly-scallop: 24px;
	--ly-wrap: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

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

body {
	margin: 0;
	background: #fff;
	color: var(--ly-text);
	font: 400 17px/1.65 var(--ly-font);
	-webkit-font-smoothing: antialiased;
	/* Keep the floor at the bottom on short pages. */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1 0 auto;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ly-jade-deep);
}

a:hover {
	color: var(--ly-ink);
}

:focus-visible {
	outline: 3px solid var(--ly-jade);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ly-skip:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: #fff;
	color: var(--ly-ink);
}

.ly-container {
	max-width: var(--ly-wrap);
	margin: 0 auto;
	padding: 0 24px;
}

h1,
h2,
h3 {
	font-family: var(--ly-font);
	color: var(--ly-ink);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

/* ---------- buttons ---------- */

.ly-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.75em 1.7em;
	border: 2px solid var(--ly-ink);
	border-radius: 999px;
	background: var(--ly-ink);
	color: #fff;
	font: 600 1rem/1.2 var(--ly-font);
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ly-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.45);
}

.ly-btn:active {
	transform: translateY(0);
	box-shadow: none;
}

.ly-btn:hover,
.wp-block-button__link:hover {
	background: var(--ly-jade-deep);
	border-color: var(--ly-jade-deep);
	color: #fff;
}

.ly-btn--small {
	min-height: 42px;
	padding: 0.5em 1.2em;
	font-size: 0.92rem;
}

.ly-btn--ghost {
	background: transparent;
	color: var(--ly-ink);
}

.ly-btn--ghost:hover {
	background: var(--ly-ink);
	color: #fff;
}

/* ---------- header ---------- */

.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.site-header.is-scrolled {
		background: rgba(255, 255, 255, 0.86);
		-webkit-backdrop-filter: saturate(1.4) blur(12px);
		backdrop-filter: saturate(1.4) blur(12px);
	}
}

.site-header.is-scrolled {
	box-shadow: 0 1px 0 var(--ly-line), 0 12px 30px -20px rgba(0, 0, 0, 0.3);
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 92px;
}

.site-logo {
	display: block;
	flex: none;
	line-height: 0;
}

.site-logo img {
	width: 92px;
	height: auto;
	transform-origin: 0 50%;
	transition: transform 0.3s ease;
}

.site-header.is-scrolled .site-logo img {
	transform: scale(0.82);
}

.ly-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	pointer-events: none;
}

.ly-progress span {
	display: block;
	height: 100%;
	background: var(--ly-jade);
	transform: scaleX(var(--p, 0));
	transform-origin: 0 50%;
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

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

.site-nav ul {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a {
	color: var(--ly-text);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
	color: var(--ly-ink);
	border-bottom-color: var(--ly-sage);
}

.site-header__cta {
	flex: none;
}

.site-menu {
	display: none;
	margin-left: auto;
}

.site-menu summary {
	list-style: none;
	cursor: pointer;
	font-weight: 600;
	padding: 8px 4px;
	color: var(--ly-ink);
}

.site-menu summary::-webkit-details-marker {
	display: none;
}

.site-menu[open] .site-menu__panel {
	display: block;
}

.site-menu__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 8px 24px 20px;
	background: #fff;
	border-bottom: 1px solid var(--ly-line);
}

.site-menu__panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-menu__panel li a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--ly-line);
	color: var(--ly-ink);
	text-decoration: none;
	font-weight: 500;
}

.site-menu__cta {
	width: 100%;
	margin-top: 18px;
}

/* Focused header on the design and catalogue pages */

.ly-focus .site-nav,
.ly-focus .site-header__cta {
	display: none;
}

.site-header__help {
	margin-left: auto;
	font-size: 0.92rem;
	color: var(--ly-muted);
}

@media (max-width: 880px) {
	.site-header__bar {
		gap: 14px;
	}

	.site-nav {
		display: none;
	}

	.site-header__cta {
		margin-left: auto;
	}

	.site-menu {
		display: block;
		margin-left: 0;
	}

	.ly-focus .site-menu {
		display: none;
	}

	.site-header__bar {
		min-height: 76px;
	}

	.site-logo img {
		width: 74px;
	}


}

@media (max-width: 420px) {
	.site-header__cta {
		display: none;
	}

	.site-menu {
		margin-left: auto;
	}
}

/* ---------- motion helpers ---------- */

html.ly-js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.ly-js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

/* ---------- hero: the upper wall, a showroom with price tags ---------- */

.ly-hero {
	padding: 36px 0 120px;
}

.ly-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: 64px;
	align-items: center;
}

.ly-hero__title {
	font-size: clamp(2.6rem, 1.4rem + 3.9vw, 4.7rem);
	line-height: 1.02;
	letter-spacing: -0.045em;
	margin: 0 0 24px;
}

.ly-hero__text {
	font-size: 1.12rem;
	max-width: 44ch;
	margin: 0 0 32px;
}

.ly-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}

.ly-hero__pay {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ly-muted);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.ly-mm {
	display: inline-flex;
	align-items: center;
	padding: 5px 11px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #fff;
	background: #d71d24;
}

.ly-mm--mtn {
	background: #ffcb05;
	color: #111;
}

.ly-hero__hint {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 34px 0 0;
	font-family: var(--ly-serif);
	font-style: italic;
	color: var(--ly-muted);
}

.ly-hero__hint::before {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--ly-ink);
	box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--ly-line);
}

.ly-showroom {
	position: relative;
}

.ly-showroom__tabs {
	display: flex;
	gap: 6px;
	margin: 0 0 14px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 2px;
}

.ly-showroom__tabs::-webkit-scrollbar {
	display: none;
}

.ly-showroom__tab {
	position: relative;
	flex: none;
	overflow: hidden;
	padding: 9px 18px;
	border: 1.5px solid var(--ly-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ly-text);
	font: 500 0.92rem/1.2 var(--ly-font);
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ly-showroom__tab:hover {
	border-color: var(--ly-ink);
}

.ly-showroom__tab[aria-selected="true"] {
	background: var(--ly-ink);
	border-color: var(--ly-ink);
	color: #fff;
}

.ly-showroom__timer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--ly-jade);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.ly-showroom.is-playing .ly-showroom__tab[aria-selected="true"] .ly-showroom__timer {
	animation: ly-timer var(--ly-cycle, 7s) linear both;
}

@keyframes ly-timer {
	to {
		transform: scaleX(1);
	}
}

.ly-showroom__stage {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: var(--ly-linen);
	box-shadow: 0 34px 70px -36px rgba(25, 40, 30, 0.55);
}

.ly-room {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.ly-room.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.8s ease;
	animation: ly-drift 16s ease-out both;
}

@keyframes ly-drift {
	from {
		transform: scale(1.06);
	}

	to {
		transform: scale(1);
	}
}

.ly-room__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ly-hotspots {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ly-hotspot {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 0;
	height: 0;
}

.ly-hotspot.is-on {
	z-index: 2;
}

.ly-hotspot__dot {
	position: absolute;
	left: -18px;
	top: -18px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
	cursor: pointer;
	transform: scale(0);
}

.ly-room.is-active .ly-hotspot__dot {
	animation: ly-pop 0.55s cubic-bezier(0.2, 1.5, 0.4, 1) both;
	animation-delay: calc(0.45s + var(--i) * 0.13s);
}

@keyframes ly-pop {
	from {
		transform: scale(0);
	}

	to {
		transform: scale(1);
	}
}

.ly-hotspot__dot::before {
	content: "";
	position: absolute;
	inset: 12px;
	border-radius: 50%;
	background: var(--ly-ink);
	transition: inset 0.2s ease, background-color 0.2s ease;
}

.ly-hotspot__dot::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.95);
	opacity: 0;
	animation: ly-ring 2.6s ease-out infinite;
	animation-delay: calc(1.2s + var(--i) * 0.4s);
}

@keyframes ly-ring {
	0% {
		transform: scale(0.75);
		opacity: 0.9;
	}

	70%,
	100% {
		transform: scale(1.45);
		opacity: 0;
	}
}

.ly-hotspot__dot:hover::before,
.ly-hotspot.is-on .ly-hotspot__dot::before {
	inset: 9px;
	background: var(--ly-jade-deep);
}

.ly-hotspot__tag {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 12px);
	transform: translate(-50%, 6px);
	width: max-content;
	max-width: 220px;
	padding: 9px 13px;
	border-radius: 8px;
	background: #fff;
	color: var(--ly-ink);
	font: 500 0.84rem/1.3 var(--ly-font);
	text-align: left;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.25s ease;
}

.ly-hotspot__tag strong {
	display: block;
	margin-top: 2px;
	font-size: 0.95rem;
	color: var(--ly-jade-deep);
}

.ly-hotspot--l .ly-hotspot__tag {
	left: -6px;
	transform: translate(0, 6px);
}

.ly-hotspot--r .ly-hotspot__tag {
	left: auto;
	right: -6px;
	transform: translate(0, 6px);
}

.ly-hotspot--b .ly-hotspot__tag {
	bottom: auto;
	top: calc(100% + 12px);
}

.ly-hotspot__dot:hover .ly-hotspot__tag,
.ly-hotspot__dot:focus-visible .ly-hotspot__tag,
.ly-hotspot.is-on .ly-hotspot__tag {
	opacity: 1;
	transform: translate(-50%, 0);
}

.ly-hotspot--l .ly-hotspot__dot:hover .ly-hotspot__tag,
.ly-hotspot--l .ly-hotspot__dot:focus-visible .ly-hotspot__tag,
.ly-hotspot--l.is-on .ly-hotspot__tag,
.ly-hotspot--r .ly-hotspot__dot:hover .ly-hotspot__tag,
.ly-hotspot--r .ly-hotspot__dot:focus-visible .ly-hotspot__tag,
.ly-hotspot--r.is-on .ly-hotspot__tag {
	transform: none;
}

.ly-receipt {
	position: relative;
	z-index: 3;
	width: min(310px, 78%);
	margin: -44px -22px 0 auto;
	padding: 16px 18px 14px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 26px 50px -22px rgba(20, 35, 25, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.ly-receipt__room[hidden] {
	display: none;
}

.ly-receipt__room.is-active {
	animation: ly-fade-up 0.45s ease both;
}

@keyframes ly-fade-up {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.ly-receipt__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 8px;
	font-family: var(--ly-serif);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--ly-muted);
}

.ly-receipt__palette {
	display: flex;
}

.ly-receipt__palette i {
	width: 15px;
	height: 15px;
	margin-left: -4px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 2px #fff;
}

.ly-receipt__rows {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.88rem;
}

.ly-receipt__rows li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0 -8px;
	padding: 5px 8px;
	border-radius: 6px;
	transition: background-color 0.2s ease;
}

.ly-receipt__rows li.is-on {
	background: var(--ly-sage-soft);
}

.ly-receipt__rows strong {
	font-weight: 600;
	color: var(--ly-ink);
	white-space: nowrap;
}

.ly-receipt__total {
	display: flex;
	justify-content: space-between;
	margin: 8px 0 0;
	padding-top: 9px;
	border-top: 2px solid var(--ly-ink);
	font-weight: 600;
	color: var(--ly-ink);
}

.ly-receipt__total strong {
	font-variant-numeric: tabular-nums;
}

/* Single photo hero (when an image is set in the Customizer). */

.ly-frame {
	margin: 0;
	padding: 12px;
	background: var(--ly-oak);
	border-radius: 4px;
	box-shadow: 0 30px 60px -30px rgba(25, 40, 30, 0.5);
}

.ly-frame img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 960px) {
	.ly-hero {
		padding: 14px 0 80px;
	}

	.ly-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.ly-hero__hint {
		display: none;
	}

	.ly-receipt {
		margin: -30px 10px 0 auto;
	}
}

@media (max-width: 560px) {
	.ly-hotspot__dot {
		left: -16px;
		top: -16px;
		width: 32px;
		height: 32px;
	}

	.ly-hotspot__dot::before {
		inset: 11px;
	}

	.ly-hotspot__tag {
		max-width: 170px;
		font-size: 0.78rem;
	}

	.ly-receipt {
		width: auto;
		margin: -24px 10px 0;
	}
}

/* ---------- room planner ---------- */

.ly-plan {
	padding: 30px 0 120px;
}

.ly-plan__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
	grid-template-areas:
		"intro card"
		"form card";
	gap: 0 72px;
	align-items: start;
}

.ly-plan__intro {
	grid-area: intro;
}

.ly-plan__intro .ly-section-lede {
	margin-bottom: 30px;
}

.ly-plan__form {
	grid-area: form;
	display: grid;
	gap: 26px;
}

.ly-plan__field {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.ly-plan__field legend,
.ly-plan__budget-label {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 12px;
	padding: 0;
	font-weight: 600;
	color: var(--ly-ink);
}

.ly-plan__hint {
	font-weight: 400;
	font-size: 0.88rem;
	color: var(--ly-muted);
}

.ly-plan__budget-label output {
	margin-left: auto;
	font-size: 1.3rem;
	font-variant-numeric: tabular-nums;
	color: var(--ly-jade-deep);
}

.ly-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ly-pill {
	position: relative;
	cursor: pointer;
}

.ly-pill input,
.ly-dot input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ly-pill span {
	display: inline-block;
	padding: 9px 16px;
	border: 1.5px solid var(--ly-line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.92rem;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ly-pill:hover span {
	border-color: var(--ly-ink);
}

.ly-pill input:checked + span {
	background: var(--ly-ink);
	border-color: var(--ly-ink);
	color: #fff;
}

.ly-pill input:focus-visible + span,
.ly-dot input:focus-visible + span {
	outline: 3px solid var(--ly-jade);
	outline-offset: 3px;
}

.ly-dots {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ly-dot {
	position: relative;
	cursor: pointer;
}

.ly-dot span:not(.screen-reader-text) {
	display: block;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.2s ease;
}

.ly-dot:hover span:not(.screen-reader-text) {
	transform: scale(1.08);
}

.ly-dot input:checked + span {
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px #fff, 0 0 0 5px var(--ly-ink);
	transform: scale(1.04);
}

.ly-dot input:disabled + span {
	opacity: 0.35;
	cursor: not-allowed;
}

.ly-range {
	width: 100%;
	height: 28px;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.ly-range::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--ly-jade) var(--fill, 20%), var(--ly-line) var(--fill, 20%));
}

.ly-range::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: var(--ly-line);
}

.ly-range::-moz-range-progress {
	height: 6px;
	border-radius: 999px;
	background: var(--ly-jade);
}

.ly-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 26px;
	height: 26px;
	margin-top: -10px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: var(--ly-ink);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ly-range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: var(--ly-ink);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ly-plan__card {
	grid-area: card;
	position: sticky;
	top: 100px;
	padding: 22px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 30px 60px -34px rgba(25, 40, 30, 0.45), 0 0 0 1px var(--ly-line);
	transition: opacity 0.25s ease;
}

.ly-plan__card.is-busy {
	opacity: 0.6;
}

.ly-plan__mood {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 8px;
	height: 112px;
	margin: 0 0 18px;
	padding: 0 16px;
	border-radius: 8px;
	background: var(--wall, #f1ece2);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: background-color 0.5s ease;
}

.ly-plan__mood::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 22px;
	background: repeating-linear-gradient(90deg, #c9a577 0 46px, #bf9a6a 46px 48px);
}

.ly-plan__mood i {
	position: relative;
	z-index: 1;
	width: 54px;
	height: 66px;
	margin-bottom: 10px;
	border-radius: 8px 8px 4px 4px;
	background: var(--c);
	box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
	animation: ly-rise 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

.ly-plan__mood i:nth-child(2) {
	height: 52px;
	animation-delay: 0.06s;
}

.ly-plan__mood i:nth-child(3) {
	height: 78px;
	width: 40px;
	animation-delay: 0.12s;
}

@keyframes ly-rise {
	from {
		transform: translateY(40px);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

.ly-plan__sum {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 0 0 14px;
}

.ly-plan__sum strong {
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--ly-ink);
}

.ly-plan__sum span {
	color: var(--ly-muted);
	font-size: 0.95rem;
}

.ly-plan__items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.ly-plan__items li {
	min-width: 0;
	animation: ly-fade-up 0.45s ease both;
	animation-delay: calc(var(--i, 0) * 0.05s);
}

.ly-plan__items img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 6px;
	background: var(--ly-linen);
}

.ly-plan__items span {
	display: block;
	margin-top: 5px;
	font-size: 0.76rem;
	line-height: 1.25;
	color: var(--ly-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ly-plan__sub {
	margin: 0 0 8px;
	font-family: var(--ly-serif);
	font-style: italic;
	color: var(--ly-muted);
}

.ly-plan__looks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.ly-plan__looks li {
	min-width: 0;
	animation: ly-fade-up 0.45s ease both;
}

.ly-plan__looks img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
}

.ly-plan__looks span {
	display: block;
	margin-top: 5px;
	font-size: 0.78rem;
	line-height: 1.25;
	color: var(--ly-text);
}

.ly-plan__cta {
	width: 100%;
}

.ly-plan__fine {
	margin: 10px 0 0;
	text-align: center;
	font-size: 0.84rem;
	color: var(--ly-muted);
}

@media (max-width: 960px) {
	.ly-plan {
		padding-bottom: 96px;
	}

	.ly-plan__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"intro"
			"form"
			"card";
		gap: 0;
	}

	.ly-plan__card {
		position: relative;
		top: 0;
		margin-top: 34px;
	}
}

@media (max-width: 480px) {
	.ly-plan__items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ly-dot span:not(.screen-reader-text) {
		width: 34px;
		height: 34px;
	}
}

/* ---------- wainscot: sage band with a scalloped top ---------- */

.ly-wainscot {
	position: relative;
	background: var(--ly-sage);
	padding: 80px 0 90px;
}

.ly-wainscot::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: calc(var(--ly-scallop) * -1 + 1px);
	height: var(--ly-scallop);
	background: radial-gradient(circle at 50% 100%, var(--ly-sage) calc(var(--ly-scallop) - 0.5px), transparent var(--ly-scallop)) 0 0 / calc(var(--ly-scallop) * 2) var(--ly-scallop) repeat-x;
}

.ly-section-title {
	font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
	margin: 0 0 14px;
}

.ly-section-lede {
	font-size: 1.08rem;
	max-width: 52ch;
	margin: 0 0 44px;
}

.ly-wainscot .ly-section-lede {
	color: #1f2420;
}

/* How it works: steps beside a phone showing each screen */

.ly-how__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 64px;
	align-items: center;
}

.ly-how__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.ly-how__step {
	position: relative;
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	width: 100%;
	padding: 14px 18px 16px 14px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.ly-how__step:hover {
	background: rgba(255, 255, 255, 0.3);
}

.ly-how__step[aria-pressed="true"] {
	background: rgba(255, 255, 255, 0.62);
}

.ly-how__n {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	color: var(--ly-ink);
	font-weight: 600;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ly-how__step[aria-pressed="true"] .ly-how__n {
	background: var(--ly-ink);
	color: #fff;
	transform: scale(1.06);
}

.ly-how__title {
	display: block;
	padding-top: 10px;
	font-size: 1.12rem;
	font-weight: 600;
	color: var(--ly-ink);
}

.ly-how__text {
	display: block;
	margin-top: 4px;
	color: #1f2420;
	font-size: 0.98rem;
}

html.ly-js .ly-how__text {
	max-height: 0;
	margin-top: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

html.ly-js .ly-how__step[aria-pressed="true"] .ly-how__text {
	max-height: 7em;
	margin-top: 4px;
	opacity: 1;
}

.ly-how__meter {
	position: absolute;
	left: 76px;
	right: 18px;
	bottom: 8px;
	height: 2px;
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.08);
	opacity: 0;
	overflow: hidden;
}

.ly-how__step[aria-pressed="true"] .ly-how__meter {
	opacity: 1;
}

.ly-how__meter::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ly-ink);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.is-playing .ly-how__step[aria-pressed="true"] .ly-how__meter::after {
	animation: ly-timer var(--ly-step, 5s) linear both;
}

.ly-phone {
	position: relative;
	justify-self: center;
	width: 300px;
	aspect-ratio: 9 / 17.6;
	padding: 11px;
	border-radius: 44px;
	background: #151515;
	box-shadow: 0 50px 80px -40px rgba(10, 20, 15, 0.6), inset 0 0 0 2px #2c2c2c;
}

.ly-phone::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 50%;
	z-index: 2;
	width: 84px;
	height: 22px;
	margin-left: -42px;
	border-radius: 999px;
	background: #151515;
}

.ly-phone__screen {
	position: relative;
	height: 100%;
	border-radius: 34px;
	overflow: hidden;
	background: #fff;
}

.ly-screen {
	position: absolute;
	inset: 0;
	padding: 58px 18px 20px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ly-screen.is-active {
	opacity: 1;
	transform: none;
}

.ly-screen__q {
	margin: 0 0 14px;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--ly-ink);
}

.ly-screen__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 16px;
}

.ly-screen__chips span {
	padding: 5px 10px;
	border: 1px solid var(--ly-line);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 500;
}

.ly-screen__chips .is-on {
	background: var(--ly-ink);
	border-color: var(--ly-ink);
	color: #fff;
}

.ly-screen__photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.ly-screen__photos img,
.ly-screen__add {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}

.ly-screen__add {
	display: grid;
	place-items: center;
	border: 2px dashed var(--ly-sage);
	color: var(--ly-jade-deep);
	font-size: 1.6rem;
}

.ly-screen.is-active .ly-screen__photos > * {
	animation: ly-drop 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}

.ly-screen.is-active .ly-screen__photos > :nth-child(2) {
	animation-delay: 0.25s;
}

.ly-screen.is-active .ly-screen__photos > :nth-child(3) {
	animation-delay: 0.5s;
}

.ly-screen.is-active .ly-screen__photos > :nth-child(4) {
	animation-delay: 0.75s;
}

@keyframes ly-drop {
	from {
		opacity: 0;
		transform: translateY(-14px) scale(0.92);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.ly-screen__room {
	position: relative;
	height: 190px;
	margin: 0 0 16px;
	border-radius: 10px;
	overflow: hidden;
	background: #f1ece1;
}

.ly-screen__wall {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 34px;
	height: 66px;
	background: radial-gradient(circle at 50% 0, transparent 9px, #a9b39a 9.5px) 0 0 / 20px 100%;
	transform-origin: bottom;
}

.ly-screen__floor {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 34px;
	background: repeating-linear-gradient(90deg, #c9a577 0 38px, #bd976a 38px 40px);
}

.ly-screen.is-active .ly-screen__wall {
	animation: ly-grow 0.7s ease both 0.15s;
}

@keyframes ly-grow {
	from {
		transform: scaleY(0);
	}

	to {
		transform: none;
	}
}

.ly-screen__swatches {
	display: flex;
	gap: 12px;
	margin: 0;
}

.ly-screen__swatches i {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--ly-line);
}

.ly-screen.is-active .ly-screen__swatches i {
	animation: ly-pop 0.45s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}

.ly-screen.is-active .ly-screen__swatches i:nth-child(2) {
	animation-delay: 0.2s;
}

.ly-screen.is-active .ly-screen__swatches i:nth-child(3) {
	animation-delay: 0.4s;
}

.ly-screen__looks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.ly-screen__looks span {
	position: relative;
	display: block;
	border-radius: 8px;
	overflow: hidden;
}

.ly-screen__looks img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.ly-screen__looks .is-on::after {
	content: "";
	position: absolute;
	top: 6px;
	right: 6px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ly-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
	box-shadow: 0 0 0 2px #fff;
}

.ly-screen.is-active .ly-screen__looks .is-on::after {
	animation: ly-pop 0.4s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}

.ly-screen.is-active .ly-screen__looks .is-on:nth-child(3)::after {
	animation-delay: 0.35s;
}

.ly-screen.is-active .ly-screen__looks .is-on:nth-child(4)::after {
	animation-delay: 0.7s;
}

.ly-screen__money {
	margin: 18px 0 10px;
	font-size: 2.3rem;
	font-weight: 600;
	letter-spacing: -0.04em;
	color: var(--ly-ink);
}

.ly-screen__slider {
	position: relative;
	height: 6px;
	margin: 0 0 22px;
	border-radius: 999px;
	background: var(--ly-line);
}

.ly-screen__slider span {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 34%;
	border-radius: 999px;
	background: var(--ly-jade);
}

.ly-screen__slider span::after {
	content: "";
	position: absolute;
	right: -11px;
	top: -8px;
	width: 22px;
	height: 22px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: var(--ly-ink);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.ly-screen.is-active .ly-screen__slider span {
	animation: ly-slide 1.4s cubic-bezier(0.3, 0.8, 0.3, 1) both 0.2s;
}

@keyframes ly-slide {
	from {
		width: 8%;
	}

	to {
		width: 34%;
	}
}

.ly-screen__preview {
	position: relative;
	margin: -58px -18px 18px;
}

.ly-screen__preview img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.ly-screen__ring {
	position: absolute;
	right: 14px;
	bottom: 14px;
	width: 46px;
	height: 46px;
	transform: rotate(-90deg);
}

.ly-screen__ring circle {
	fill: rgba(0, 0, 0, 0.35);
	stroke: #fff;
	stroke-width: 3;
	stroke-dasharray: 97.4;
	stroke-dashoffset: 0;
}

.ly-screen.is-active .ly-screen__ring circle {
	animation: ly-countdown 4.5s linear both;
}

@keyframes ly-countdown {
	to {
		stroke-dashoffset: 97.4;
	}
}

.ly-screen__next {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 22px;
	padding: 11px;
	border-radius: 999px;
	background: var(--ly-ink);
	color: #fff;
	text-align: center;
	font-size: 0.86rem;
	font-weight: 600;
}

.ly-screen.is-active .ly-screen__next {
	animation: ly-fade-up 0.4s ease both 0.9s;
}

.ly-screen__pay {
	margin: 0;
	padding: 12px;
	border-radius: 999px;
	background: var(--ly-ink);
	color: #fff;
	text-align: center;
	font-weight: 600;
}

@media (max-width: 900px) {
	.ly-how__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.ly-phone {
		order: -1;
		width: 240px;
	}

	.ly-screen {
		padding: 50px 14px 16px;
	}

	.ly-screen__preview {
		margin: -50px -14px 16px;
	}

	.ly-screen__preview img {
		height: 240px;
	}

	.ly-screen__room {
		height: 150px;
	}
}

/* What you get */

.ly-get {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 64px;
	align-items: center;
	margin-top: 110px;
}

.ly-get .ly-section-title {
	margin-bottom: 26px;
}

.ly-get__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 22px;
}

.ly-get__list li {
	display: grid;
	grid-template-columns: 46px 1fr;
	gap: 16px;
}

.ly-get__list h3 {
	margin: 0 0 3px;
	font-size: 1.12rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.ly-get__list p {
	margin: 0;
	color: #1f2420;
}

.ly-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	color: var(--ly-ink);
}

.ly-icon svg {
	width: 24px;
	height: 24px;
}

.ly-spread {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 20px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 40px 70px -40px rgba(20, 35, 25, 0.6);
	transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform 0.4s ease;
}

.ly-spread__page {
	min-width: 0;
	padding: 4px 16px 4px 0;
}

.ly-spread__page + .ly-spread__page {
	padding: 4px 0 4px 18px;
	border-left: 1px dashed var(--ly-line);
}

.ly-spread__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 3px;
}

.ly-spread__title {
	margin: 12px 0 6px;
	font-family: var(--ly-serif);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--ly-ink);
}

.ly-spread__title--list {
	margin-top: 0;
}

.ly-spread__dots {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ly-spread__dots li {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.ly-spread__row {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 7px 0;
	border-bottom: 1px solid var(--ly-line);
	font-size: 0.8rem;
	line-height: 1.3;
}

.ly-spread__row img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 4px;
}

.ly-spread__row strong {
	font-weight: 600;
	color: var(--ly-ink);
	white-space: nowrap;
}

.ly-spread__row--total {
	border-bottom: 0;
	border-top: 2px solid var(--ly-ink);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ly-ink);
}

@media (max-width: 900px) {
	.ly-get {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
		margin-top: 80px;
	}
}

@media (max-width: 520px) {
	.ly-spread {
		grid-template-columns: 1fr;
	}

	.ly-spread__page,
	.ly-spread__page + .ly-spread__page {
		padding: 0;
		border-left: 0;
	}

	.ly-spread__page + .ly-spread__page {
		margin-top: 14px;
	}
}

/* Skirting board between the wainscot and the rest of the page */

.ly-skirting {
	height: 14px;
	background: var(--ly-oak);
	border-top: 4px solid #fbfaf6;
}

/* ---------- looks ---------- */

.ly-section {
	padding: 104px 0 0;
}

.ly-looks-head .ly-section-lede {
	margin-bottom: 28px;
}

.ly-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 30px;
}

.ly-filter {
	padding: 9px 16px;
	border: 1.5px solid var(--ly-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ly-text);
	font: 500 0.92rem/1.2 var(--ly-font);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ly-filter:hover {
	border-color: var(--ly-ink);
}

.ly-filter[aria-pressed="true"] {
	background: var(--ly-ink);
	border-color: var(--ly-ink);
	color: #fff;
}

.ly-looks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ly-look[hidden],
.ly-looks[data-view="all"] .ly-look--extra {
	display: none;
}

.ly-look.is-entering {
	animation: ly-fade-up 0.45s ease both;
	animation-delay: calc(var(--i, 0) * 0.05s);
}

.ly-look__open {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: zoom-in;
}

.ly-look__img {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	background: var(--ly-linen);
}

.ly-look__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ly-look__open:hover .ly-look__img img,
.ly-look__open:focus-visible .ly-look__img img {
	transform: scale(1.05);
}

.ly-look__title {
	display: block;
	margin-top: 12px;
	font-weight: 600;
	color: var(--ly-ink);
}

.ly-look__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 2px;
	font-size: 0.9rem;
	color: var(--ly-muted);
}

.ly-look__palette {
	display: flex;
	flex: none;
	padding-left: 4px;
}

.ly-look__palette i {
	width: 15px;
	height: 15px;
	margin-left: -4px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 0 2px #fff;
}

.ly-lightbox {
	width: min(1080px, 94vw);
	max-width: none;
	max-height: 92vh;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: #fff;
	color: var(--ly-text);
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
	overflow: hidden;
}

.ly-lightbox[open] {
	animation: ly-zoom 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.ly-lightbox::backdrop {
	background: rgba(12, 18, 14, 0.74);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

@keyframes ly-zoom {
	from {
		opacity: 0;
		transform: scale(0.96);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.ly-lightbox__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
}

.ly-lightbox__img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 92vh;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--ly-linen);
}

.ly-lightbox__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 36px 32px;
}

.ly-lightbox__title {
	margin: 0;
	font-size: 1.8rem;
}

.ly-lightbox__tags {
	margin: 0;
	color: var(--ly-muted);
}

.ly-lightbox__palette {
	display: flex;
	gap: 8px;
	margin: 14px 0 22px;
}

.ly-lightbox__palette i {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.ly-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

@media (max-width: 1000px) {
	.ly-looks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.ly-lightbox__inner {
		grid-template-columns: 1fr;
	}

	.ly-lightbox__img {
		max-height: 52vh;
	}

	.ly-lightbox__info {
		padding: 22px 22px 26px;
	}
}

@media (max-width: 560px) {
	.ly-looks {
		grid-template-columns: 1fr;
	}
}

/* ---------- price ---------- */

.ly-price {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 56px;
	align-items: center;
	padding: 56px;
	background: var(--ly-linen);
	border-radius: 4px;
}

.ly-badge {
	width: 230px;
	height: 230px;
	margin: 0;
	border-radius: 50%;
	background: var(--ly-oak);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.35);
}

.ly-badge strong {
	display: block;
	font-size: 4.2rem;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 1;
	color: var(--ly-ink);
}

.ly-badge span {
	display: block;
	font-family: var(--ly-serif);
	font-style: italic;
	font-size: 1.05rem;
	color: #2b2416;
	margin-top: 4px;
}

.ly-price h2 {
	font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
	margin: 0 0 16px;
}

.ly-ticks {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ly-ticks li {
	position: relative;
	padding-left: 32px;
}

.ly-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--ly-sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

@media (max-width: 760px) {
	.ly-price {
		grid-template-columns: 1fr;
		padding: 34px 24px;
		gap: 30px;
	}

	.ly-badge {
		width: 170px;
		height: 170px;
	}

	.ly-badge strong {
		font-size: 3.2rem;
	}
}

/* ---------- questions ---------- */

.ly-faq {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 56px;
	padding-bottom: 110px;
}

.ly-faq__head {
	position: sticky;
	top: 24px;
	align-self: start;
}

.ly-faq__ask {
	margin: 0;
	font-size: 1.05rem;
}

.ly-faq details {
	border-bottom: 1px solid var(--ly-line);
}

.ly-faq details:first-of-type {
	border-top: 2px solid var(--ly-ink);
}

.ly-faq summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 20px 44px 20px 0;
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--ly-ink);
}

.ly-faq summary::-webkit-details-marker {
	display: none;
}

.ly-faq summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 22px;
	height: 22px;
	margin-top: -11px;
	border-radius: 50%;
	background: var(--ly-sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.ly-faq details[open] summary::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ly-faq__a {
	overflow: hidden;
}

.ly-faq__a p {
	margin: 0 0 22px;
	font-family: var(--ly-serif);
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 60ch;
}

@media (max-width: 860px) {
	.ly-faq {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.ly-faq__head {
		position: static;
	}
}

/* ---------- closing band ---------- */

.ly-closer {
	position: relative;
	margin-top: 20px;
	padding: 0 0 96px;
	background: #1d3a2d;
	color: #e9efe9;
	overflow: hidden;
}

.ly-marquee {
	padding: 54px 0 58px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ly-marquee__track {
	display: flex;
	gap: 16px;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: ly-marquee 70s linear infinite;
}

.ly-marquee:hover .ly-marquee__track {
	animation-play-state: paused;
}

.ly-marquee__track img {
	display: block;
	width: 260px;
	height: 195px;
	object-fit: cover;
	border-radius: 6px;
}

.ly-marquee__track li:nth-child(odd) img {
	transform: translateY(14px);
}

@keyframes ly-marquee {
	to {
		transform: translateX(-50%);
	}
}

.ly-closer__inner {
	text-align: center;
}

.ly-closer__title {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem);
	letter-spacing: -0.04em;
}

.ly-closer__text {
	max-width: 44ch;
	margin: 0 auto 30px;
	font-size: 1.1rem;
}

.ly-btn--lg {
	min-height: 58px;
	padding: 0.85em 2.1em;
	font-size: 1.05rem;
}

.ly-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--ly-ink);
}

.ly-btn--light:hover {
	background: var(--ly-sage);
	border-color: var(--ly-sage);
	color: var(--ly-ink);
}

/* ---------- sticky button on phones ---------- */

.ly-sticky {
	display: none;
}

@media (max-width: 760px) {
	.ly-sticky {
		display: block;
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		z-index: 60;
		transform: translateY(160%);
		transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
	}

	.ly-sticky.is-on {
		transform: none;
	}

	.ly-sticky .ly-btn {
		width: 100%;
		justify-content: space-between;
		box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.45);
	}

	.ly-sticky__price {
		padding: 3px 10px;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.16);
		font-size: 0.9rem;
	}
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html.ly-js [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.ly-room.is-active,
	.ly-room.is-active .ly-hotspot__dot,
	.ly-hotspot__dot::after,
	.ly-marquee__track,
	.ly-screen.is-active *,
	.ly-plan__mood i,
	.ly-plan__items li,
	.ly-plan__looks li,
	.ly-look.is-entering,
	.ly-receipt__room.is-active,
	.ly-lightbox[open] {
		animation: none !important;
	}

	.ly-hotspot__dot {
		transform: none;
	}

	.ly-marquee {
		overflow-x: auto;
	}

	.ly-spread {
		transform: none;
	}
}

/* ---------- pages ---------- */

.ly-page {
	padding: 30px 0 100px;
}

.ly-page__title {
	font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
	margin: 10px 0 28px;
}

.ly-content {
	max-width: 760px;
}

:where(.ly-content) > * {
	max-width: 70ch;
}

/* Page typography. :where() keeps it weaker than plugin and block classes. */

:where(.ly-content) h2 {
	font-size: 1.7rem;
	margin: 2em 0 0.5em;
}

:where(.ly-content) h3 {
	font-size: 1.25rem;
	margin: 1.6em 0 0.4em;
}

:where(.ly-content) p,
:where(.ly-content) ul,
:where(.ly-content) ol {
	margin: 0 0 1.1em;
}

:where(.ly-content) blockquote {
	margin: 1.6em 0;
	padding: 0.2em 0 0.2em 1.2em;
	border-left: 4px solid var(--ly-sage);
	font-family: var(--ly-serif);
	font-size: 1.15rem;
}

.ly-meta {
	margin: -18px 0 24px;
	color: var(--ly-muted);
	font-size: 0.92rem;
}

.ly-feature {
	margin: 0 0 32px;
	max-width: 900px;
	padding: 8px;
	background: var(--ly-oak);
}

.ly-feature img {
	display: block;
	width: 100%;
}

.ly-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 760px;
}

.ly-posts li {
	padding: 22px 0;
	border-top: 1px solid var(--ly-line);
}

.ly-posts h2 {
	font-size: 1.5rem;
	margin: 0 0 4px;
}

.ly-posts h2 a {
	color: var(--ly-ink);
	text-decoration: none;
}

.ly-posts .ly-meta {
	margin: 0 0 8px;
}

.nav-links {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}

.ly-missing p {
	max-width: 52ch;
	font-size: 1.08rem;
}

.ly-focus .ly-page {
	padding-top: 10px;
}

.ly-focus .ly-content,
.ly-focus :where(.ly-content) > * {
	max-width: none;
}

/* ---------- footer: the oak floor ---------- */

.site-footer {
	position: relative;
	background:
		repeating-linear-gradient(180deg, transparent 0 58px, rgba(60, 40, 10, 0.12) 58px 60px),
		var(--ly-oak);
	color: #241d10;
	border-top: 14px solid #fbfaf6;
	padding: 56px 0 30px;
}

.site-footer a {
	color: var(--ly-ink);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 40px;
}

.site-footer__brand img {
	width: 96px;
	height: auto;
}

.site-footer__brand p {
	margin: 14px 0 0;
	max-width: 30ch;
	font-family: var(--ly-serif);
	font-style: italic;
}

.site-footer h2 {
	font-size: 1rem;
	letter-spacing: 0;
	margin: 0 0 12px;
}

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

.site-footer li {
	margin-bottom: 8px;
}

.site-footer__small {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin: 44px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(36, 29, 16, 0.25);
	font-size: 0.85rem;
}

.site-footer__small p {
	margin: 0;
}

.site-footer__small ul {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.site-footer__small li {
	margin: 0;
}

.ly-focus .site-footer {
	padding: 26px 0 22px;
}

.ly-focus .site-footer__grid {
	display: none;
}

.ly-focus .site-footer__small {
	margin: 0;
	padding: 0;
	border: 0;
}

.ly-focus .site-footer {
	border-top-width: 8px;
}

@media (max-width: 760px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media print {
	.site-header,
	.site-footer {
		display: none !important;
	}

	body {
		font-size: 12pt;
	}
}
