/*
 * Littlesoms — pages.css (lot PAGES)
 * Layout of the showcase sections: Home, About, Contact, Hamlet, 404, footer.
 * Shared components (tokens, .ls-card, .ls-banner, fills, buttons, motion) live in main.css: not redefined here.
 * Breakpoints: mobile < 640px, tablet < 1024px, desktop >= 1024px.
 */

/* ------------------------------------------------------------------ page shell */

/* Pattern-built pages: sections touch each other (main.css already zeroes Blocksy's vertical spacing). */
.ls-immersive .entry-content > * {
	margin-block: 0;
}

/* Grids built from groups: no flow margins between grid items. */
:where(.ls-feature__grid, .ls-home-about__grid, .ls-home-spots__grid, .ls-about-things__grid, .ls-promises, .ls-steps,
	.ls-contact__grid, .ls-hamlet__grid, .ls-404__grid, .ls-footer__cols, .ls-footer__bar) > * {
	margin-block: 0;
}

/* Post titles inside fallback cards / mini rows: the link covers the whole card (same contract as .ls-card__link). */
.ls-card .wp-block-post-title,
.ls-mini-spot .wp-block-post-title {
	margin: 0;
}
.ls-card .wp-block-post-title a,
.ls-mini-spot .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}
.ls-card .wp-block-post-title a::after,
.ls-mini-spot .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

/* Lists rendered by core/post-template. */
.ls-home-magic__cards,
.ls-mini-spots {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ls-home-magic__cards > li,
.ls-mini-spots > li {
	margin: 0;
}

/* ----------------------------------------------------------------------- hero */
/* Layout, scrims, title, intro animation: main.css §8. Here: the layer holding the falling stars + scroll hint. */

.ls-hero .wp-block-cover__inner-container > .ls-hero__decor {
	position: absolute;
	inset: 0;
	z-index: 1;
	max-width: none !important;
	margin: 0 !important;
	pointer-events: none;
	animation: none;
}
.ls-hero__scroll {
	position: absolute;
	bottom: calc(clamp(2rem, 6svh, 4.5rem) * -.6);
	left: 50%;
	width: 14px;
	height: 14px;
	translate: -50% 0;
	background: var(--ls-gold, #ffe88b);
	-webkit-mask: url("../svg/star.svg") center / contain no-repeat;
	mask: url("../svg/star.svg") center / contain no-repeat;
}
.ls-hero__baseline > * {
	margin-block: 0;
}
@media (max-width: 639px) {
	.ls-hero__scroll {
		display: none;
	}
}

/* ----------------------------------------------------- home: great joys banner */

.ls-home-joys > :is(.ls-eyebrow, .ls-lead) {
	text-align: center;
}
.ls-home-joys > .ls-lead {
	max-width: 34ch;
}
@media (max-width: 639px) {
	.ls-home-joys > :is(.ls-eyebrow, .ls-lead) {
		text-align: start;
	}
	.ls-home-joys > .ls-lead {
		margin-inline: 0 !important;
	}
	.ls-home-joys { padding-inline: var(--ls-gutter, 16px); }
}

/* ------------------------------------------------------------------- trinkets */

.ls-trinkets__title {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.ls-trinkets__title::after {
	content: "";
	flex: none;
	width: 46px;
	height: 88px;
	background: url("../svg/stars-cluster.svg") center / contain no-repeat;
	rotate: 90deg;
}
/* Home: the cards overlap the golden-night banner. */
.ls-home-joys + .ls-trinkets {
	position: relative;
	z-index: 2;
	margin-block-start: var(--ls-overlap, -6rem) !important;
	padding-block-start: 0;
}

/* -------------------------------------------------------- featured illustration */

.ls-feature__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.ls-feature__art {
	position: relative;
	max-width: 440px;
	margin-inline: auto;
}
.ls-feature__art::after {
	content: "";
	position: absolute;
	right: -48px;
	bottom: -36px;
	width: 96px;
	height: 160px;
	background: url("../svg/buttercup-sprig.svg") center / contain no-repeat;
	rotate: 12deg;
	pointer-events: none;
}
.ls-feature__art .wp-block-image {
	margin: 0;
}
.ls-feature__title {
	margin-block: .25rem 0;
}
.ls-feature__subtitle {
	margin-block-start: .5rem;
	font-family: var(--ls-font-serif, serif);
	font-size: var(--ls-fs-h3, 1.75rem);
	color: var(--ls-gold, #ffe88b);
	line-height: 1.2;
}
@media (min-width: 1024px) {
	.ls-feature__grid {
		grid-template-columns: 5fr 7fr;
	}
}

/* ------------------------------------------------------------ home: about preview */

.ls-home-about__grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}
.ls-home-about__photo {
	position: relative;
	max-width: 420px;
	margin-inline: auto;
}
.ls-home-about__photo::after {
	content: "";
	position: absolute;
	left: -56px;
	bottom: -72px;
	width: 80px;
	height: 152px;
	background: url("../svg/stars-cluster.svg") center / contain no-repeat;
	pointer-events: none;
}
.ls-home-about__photo .wp-block-image {
	margin: 0;
	--ls-tilt: 2deg;
}
.ls-home-about__ctas {
	margin-block: 1.5rem 1rem;
}
@media (min-width: 1024px) {
	.ls-home-about__grid {
		grid-template-columns: 6fr 1fr 5fr;
	}
	.ls-home-about__photo {
		grid-column: 3;
	}
}
@media (max-width: 1023px) {
	.ls-home-about__photo {
		order: -1;
	}
	.ls-home-about__title {
		position: relative;
		z-index: 2;
		margin-block-start: -2.5rem;
	}
}

/* ------------------------------------------------------------ home: spots preview */

.ls-home-spots__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
	margin-block-start: 2rem !important;
}
.ls-home-spots__map > * {
	margin-block: 0;
}
.ls-home-spots__map .ls-map {
	--ls-tilt: -1deg;
}
.ls-home-spots__caption {
	margin-block-start: 1.25rem;
	font-family: var(--ls-font-serif, serif);
	font-size: var(--ls-fs-lead, 1.25rem);
	text-align: center;
}
.ls-home-spots__list {
	display: grid;
	gap: 1.5rem;
}
.ls-home-spots__list > * {
	margin-block: 0;
}
.ls-mini-spots {
	display: grid;
	gap: 1rem;
}
.ls-mini-spot {
	position: relative;
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 1rem;
	align-items: center;
	padding: .75rem;
	border-radius: var(--ls-r-field, 6px);
	background: var(--ls-gold-a06, rgb(255 232 139 / .06));
	box-shadow: var(--ls-shadow-flat);
	transition: background var(--ls-dur-s, .18s) var(--ls-ease-out, ease-out);
}
.ls-mini-spot:hover,
.ls-mini-spot:focus-within {
	background: var(--ls-gold-a12, rgb(255 232 139 / .12));
}
.ls-mini-spot > *,
.ls-mini-spot__body > * {
	margin: 0;
}
.ls-mini-spot__media {
	position: relative;
	width: 96px;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--ls-r-photo, 4px);
}
.ls-mini-spot__media .wp-block-post-featured-image,
.ls-mini-spot__media img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.ls-mini-spot__title {
	font-size: var(--ls-fs-h3, 1.6rem);
}
.ls-mini-spot__place {
	font-size: .875rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ls-parchment, #f4e4ab);
}
.ls-mini-spot__rating {
	color: var(--ls-gold, #ffe88b);
}
.ls-note {
	max-width: 380px;
	padding: 1.75rem 1.5rem 1.5rem;
	rotate: -1.5deg;
}
.ls-note__text {
	margin: 0;
	font-family: var(--ls-font-serif, serif);
	font-style: italic;
	font-size: var(--ls-fs-h3, 1.6rem);
	line-height: 1.2;
}
@media (min-width: 1024px) {
	.ls-home-spots__grid {
		grid-template-columns: 7fr 5fr;
	}
}

/* --------------------------------------------------------------- home: magic */

.ls-home-magic__sub {
	margin-block: clamp(2.5rem, 5vw, 4rem) 1.5rem !important;
}
.ls-card__media .wp-block-post-featured-image {
	height: 100%;
	margin: 0;
}
.ls-card__media .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ls-card__media:has(img) .ls-fill__big {
	display: none;
}
.ls-card__verdict {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: var(--ls-font-script, cursive);
	font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
	line-height: 1;
	color: var(--ls-gold, #ffe88b);
}
.ls-home-magic > .wp-block-buttons {
	margin-block-start: 2.5rem;
	justify-content: center;
}

/* --------------------------------------------------------------- newsletter */

.ls-newsletter-section {
	text-align: center;
}
.ls-newsletter-section .ls-measure {
	margin-inline: auto;
}
.ls-envelope-art {
	display: block;
	width: clamp(150px, 22vw, 240px);
	aspect-ratio: 4 / 3;
	margin-inline: auto;
	background: url("../svg/envelope-seal.svg") center / contain no-repeat;
	rotate: -4deg;
	filter: drop-shadow(0 14px 18px rgb(10 12 5 / .45));
}
/* The big envelope above already plays the seal: no second one from the plugin form. */
:is(.ls-newsletter-section, .ls-hamlet__paper) .ls-newsletter__seal {
	display: none;
}
.ls-newsletter-section__form {
	max-width: 560px;
	margin-inline: auto;
	text-align: start;
}

/* ---------------------------------------------------------------- About: hero */

.ls-about-hero {
	position: relative;
	display: grid;
	background: var(--ls-forest, #242c17);
}
.ls-about-hero > * {
	margin: 0;
}
.ls-about-hero__photo .wp-block-image,
.ls-about-hero__photo img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}
.ls-about-hero__text {
	position: relative;
	z-index: 1;
	padding: 0 var(--ls-gutter, 1rem) var(--ls-section-y, 4rem);
}
.ls-about-hero__join {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-block-start: 2rem;
}
.ls-about-hero__join > * {
	margin: 0;
}
.ls-envelope-link {
	display: block;
	width: 132px;
	aspect-ratio: 4 / 3;
	background: url("../svg/envelope-seal.svg") center / contain no-repeat;
	filter: drop-shadow(0 10px 14px rgb(10 12 5 / .45));
	transition: rotate var(--ls-dur-m, .3s) var(--ls-spring, ease-out), translate var(--ls-dur-m, .3s) var(--ls-spring, ease-out);
}
.ls-envelope-link:hover,
.ls-envelope-link:focus-visible {
	rotate: -6deg;
	translate: 0 -4px;
}
.ls-about-hero::after { /* paper stars between portrait and text */
	content: "";
	position: absolute;
	z-index: 2;
	width: 90px;
	height: 172px;
	background: url("../svg/stars-cluster.svg") center / contain no-repeat;
	pointer-events: none;
}
@media (min-width: 1024px) {
	.ls-about-hero {
		grid-template-columns: repeat(12, 1fr);
		min-height: min(100svh, 880px);
	}
	.ls-about-hero__text {
		grid-column: 1 / 7;
		grid-row: 1;
		align-self: center;
		padding: calc(var(--ls-header-h, 88px) + 2rem) clamp(2rem, 4vw, 4rem) var(--ls-section-y, 4rem) max(var(--ls-gutter, 1rem), calc((100vw - 1200px) / 2));
	}
	.ls-about-hero__photo {
		grid-column: 7 / 13;
		grid-row: 1;
		position: relative;
	}
	.ls-about-hero__photo::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(to right, var(--ls-forest, #242c17) 0, transparent 12%);
		pointer-events: none;
	}
	.ls-about-hero::after {
		left: 50%;
		bottom: 6%;
		translate: -50% 0;
	}
}
@media (max-width: 1023px) {
	.ls-about-hero__photo .wp-block-image,
	.ls-about-hero__photo img {
		aspect-ratio: 4 / 5;
		max-height: 80svh;
	}
	.ls-about-hero__title {
		display: inline-block;
		margin-block-start: -2.5rem !important;
		padding: .3em .5em;
		background: var(--ls-forest, #242c17);
	}
	.ls-about-hero::after {
		right: 4%;
		top: 52svh;
		width: 60px;
		height: 115px;
	}
}

/* ------------------------------------------------------------ About: sections */

.ls-about-story {
	text-align: start;
}

.ls-about-things__grid {
	display: grid;
	gap: 2.5rem;
	margin-block-start: 2.5rem !important;
}
.ls-polaroid--illustrated {
	width: 100%;
	max-width: 320px;
	margin-inline: auto;
}
.ls-polaroid--illustrated > * {
	margin-block: 0;
}
.ls-about-things__grid > :nth-child(1) { --ls-tilt: -3deg; }
.ls-about-things__grid > :nth-child(2) { --ls-tilt: 2deg; }
.ls-about-things__grid > :nth-child(3) { --ls-tilt: -1deg; }
@media (min-width: 768px) {
	.ls-about-things__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 767px) {
	.ls-about-things__grid {
		gap: 0;
	}
	.ls-about-things__grid > * + * {
		margin-block-start: -1rem;
	}
	.ls-about-things__grid > :nth-child(2) {
		translate: 12% 0;
	}
}

.ls-promises {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	gap: 1.5rem;
	margin-block-start: 2rem !important;
}
.ls-promise {
	padding: 1.5rem 1.25rem;
}
.ls-promise:nth-child(odd) { --ls-tilt: -1deg; }
.ls-promise:nth-child(even) { --ls-tilt: 1deg; }
.ls-promise > * {
	margin: 0;
}
.ls-promise > * + * {
	margin-block-start: .5rem;
}
.ls-promise__title {
	font-size: 1.5rem;
}

.ls-steps {
	display: grid;
	gap: 2rem;
	margin-block: 2.5rem !important;
}
.ls-step > * {
	margin: 0;
}
.ls-step__num {
	font-family: var(--ls-font-serif, serif);
	font-weight: 700;
	font-size: clamp(3rem, 2rem + 3vw, 5rem);
	line-height: 1;
	color: var(--ls-gold-a40, rgb(255 232 139 / .4));
}
.ls-step__title {
	margin-block: .25rem .5rem !important;
}
@media (min-width: 768px) {
	.ls-steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ls-about-outro {
	text-align: center;
}
.ls-about-outro__quote {
	max-width: 30ch;
	margin-inline: auto;
	font-family: var(--ls-font-serif, serif);
	font-style: italic;
	font-size: var(--ls-fs-h3, 2rem);
	line-height: 1.25;
	color: var(--ls-gold, #ffe88b);
}
.ls-about-outro .ls-signature::after {
	content: "";
	display: inline-block;
	width: .5em;
	height: .5em;
	margin-inline-start: .3em;
	background: url("../svg/star-paper.svg") center / contain no-repeat;
}
.ls-about-outro__title {
	margin-block-start: clamp(3rem, 6vw, 5rem) !important;
}

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

.ls-contact-banner {
	text-align: center;
}
.ls-contact-banner .ls-measure {
	margin-inline: auto;
}
.ls-contact__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
.ls-contact__info > * {
	margin-block: 0;
}
.ls-contact__info > * + * {
	margin-block-start: 1rem;
}
.ls-contact__line--mail {
	font-size: var(--ls-fs-lead, 1.25rem);
}
.ls-contact__faq,
.ls-contact__privacy {
	font-size: .9375rem;
}
.ls-contact__paper {
	padding: clamp(1.5rem, 4vw, 3rem);
	--ls-tilt: -.5deg;
}
.ls-contact__paper > * {
	margin-block: 0;
}
@media (min-width: 1024px) {
	.ls-contact__grid {
		grid-template-columns: 5fr 7fr;
	}
}
@media (max-width: 1023px) {
	.ls-contact__paper {
		order: -1; /* the form is the action: first on mobile */
	}
}

/* --------------------------------------------------------------------- Hamlet */

.ls-hamlet {
	--ls-banner-h: 92svh;
	--ls-banner-h-m: auto;
}
.ls-hamlet__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.ls-hamlet__text > * {
	margin-block: 0;
}
.ls-hamlet__text > * + * {
	margin-block-start: 1.25rem;
}
.ls-hamlet__perks {
	display: grid;
	gap: .5rem;
}
.ls-hamlet__perk {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0;
}
.ls-hamlet__perk .ls-icon {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--ls-gold, #ffe88b);
}
.ls-hamlet__paper {
	position: relative;
	padding: clamp(4.5rem, 8vw, 6rem) clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
	--ls-tilt: 1deg;
}
.ls-hamlet__paper .ls-envelope-art {
	position: absolute;
	top: -64px;
	left: 50%;
	width: 150px;
	translate: -50% 0;
}
.ls-hamlet__note {
	margin-block-start: 1rem;
	font-size: .875rem;
}
.ls-hamlet__alt {
	margin-block-start: 2rem;
	text-align: center;
}
.ls-hamlet-welcome {
	--ls-banner-h: 80svh;
	text-align: center;
}
@media (min-width: 1024px) {
	.ls-hamlet__grid {
		grid-template-columns: 6fr 5fr;
	}
}

/* ------------------------------------------------------------------------ 404 */

.ls-404 {
	width: 100%;
	padding-block: clamp(7rem, 14vh, 10rem) var(--ls-section-y, 4rem);
	padding-inline: var(--ls-gutter, 1rem);
	overflow-x: clip;
}
.ls-404__grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: center;
}
.ls-404__text {
	position: relative;
}
.ls-404__text > * {
	position: relative;
	z-index: 1;
	margin-block: 0;
}
.ls-404__text > * + * {
	margin-block-start: 1.25rem;
}
.ls-404__text > .ls-404__num {
	position: absolute;
	z-index: 0;
	top: -.45em;
	left: -.05em;
	margin: 0;
	font-family: var(--ls-font-serif, serif);
	font-weight: 700;
	font-style: normal;
	font-size: clamp(7rem, 22vw, 16rem);
	line-height: 1;
	color: var(--ls-gold-a12, rgb(255 232 139 / .12));
	pointer-events: none;
	user-select: none;
}
.ls-404__zero {
	display: inline-block;
	width: .72em;
	height: .72em;
	margin-inline: .04em;
	vertical-align: -.02em;
	background: currentColor;
	-webkit-mask: url("../svg/doily.svg") center / contain no-repeat;
	mask: url("../svg/doily.svg") center / contain no-repeat;
	animation: ls-404-spin 60s linear infinite;
}
@keyframes ls-404-spin {
	to { rotate: 360deg; }
}
.ls-404__title {
	padding-block-start: clamp(2.5rem, 7vw, 6rem);
}
.ls-404__ctas {
	gap: .75rem;
}
.ls-404 .ls-search {
	max-width: 420px;
}
.ls-404 .ls-search .wp-block-search__input {
	min-height: 48px;
	border: 1px solid var(--ls-gold-a24, rgb(255 232 139 / .24));
	border-radius: var(--ls-r-field, 6px);
	background: var(--ls-moss, #2f3920);
	color: var(--ls-parchment, #f4e4ab);
}
.ls-404 .ls-search .wp-block-search__input::placeholder {
	color: var(--ls-parchment, #f4e4ab);
	opacity: .7;
}
.ls-404__map {
	position: relative;
	max-width: 520px;
	margin-inline: auto;
}
.ls-404__map .wp-block-image {
	margin: 0;
}
.ls-404__wander {
	position: absolute;
	inset: 0;
	margin: 0;
	pointer-events: none;
}
.ls-404__pin {
	position: absolute;
	left: 34%;
	top: 30%;
	width: 32px;
	height: 48px;
	background: url("../svg/pin.svg") center / contain no-repeat;
	transform-origin: 50% 97.2%;
	animation: ls-404-hesitate 2s ease-in-out infinite alternate;
}
@keyframes ls-404-hesitate {
	from { rotate: -8deg; }
	to { rotate: 8deg; }
}
.ls-404__path {
	position: absolute;
	left: 38%;
	top: 36%;
	width: 30%;
	height: 26%;
	border: 2px dashed var(--ls-pin, #f2aeb9);
	border-color: var(--ls-pin, #f2aeb9) var(--ls-pin, #f2aeb9) transparent transparent;
	border-radius: 0 100% 0 0;
	clip-path: inset(0 100% 0 0);
	animation: ls-404-path 2.4s var(--ls-ease-io, ease-in-out) .4s forwards;
}
@keyframes ls-404-path {
	to { clip-path: inset(0 0 0 0); }
}
.ls-404__question {
	position: absolute;
	left: 66%;
	top: 56%;
	font-family: var(--ls-font-script, cursive);
	font-size: 3.5rem;
	line-height: 1;
	color: var(--ls-pin, #f2aeb9);
	rotate: 10deg;
}
@media (min-width: 1024px) {
	.ls-404__grid {
		grid-template-columns: 7fr 5fr;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ls-404__zero,
	.ls-404__pin {
		animation: none;
	}
	.ls-404__path {
		animation: none;
		clip-path: none;
	}
}

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

/* The brand footer (pattern littlesoms/footer) replaces Blocksy's default footer rows. */
#footer.ct-footer {
	display: none;
}
.ls-footer {
	position: relative;
	margin: clamp(40px, 4vw, 56px) 0 0;
	--ls-lace-color: var(--ls-forest-deep, #1b2111);
	padding: clamp(3.5rem, 6vw, 5.5rem) var(--ls-gutter, 1rem) 0;
	background: var(--ls-forest-deep, #1b2111);
	color: var(--ls-parchment, #f4e4ab);
}
.ls-footer p {
	margin: 0;
}
.ls-footer a {
	color: var(--ls-parchment, #f4e4ab);
	text-decoration: none;
}
.ls-footer a:hover,
.ls-footer a:focus-visible {
	color: var(--ls-gold, #ffe88b);
	text-decoration: underline 1px var(--ls-gold-a40, rgb(255 232 139 / .4));
	text-underline-offset: .22em;
}
.ls-footer__cols {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem 1.5rem;
}
.ls-footer__brand {
	grid-column: 1 / -1;
}
.ls-footer__brand > * + *,
.ls-footer__col > * + * {
	margin-block-start: .6rem;
}
.ls-footer__logo a {
	font-family: var(--ls-font-script, cursive);
	font-size: 2.6rem;
	line-height: 1;
	color: var(--ls-gold, #ffe88b);
}
.ls-footer__social a {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 44px;
}
.ls-footer__social .ls-icon {
	width: 20px;
	height: 20px;
}
.ls-footer__title {
	margin: 0 0 .75rem;
	font-family: var(--ls-font-body, sans-serif);
	font-style: normal;
	font-weight: 700;
	font-size: .8125rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ls-gold, #ffe88b);
}
.ls-footer__link a {
	display: inline-block;
	padding-block: .2rem;
}
.ls-footer__join {
	grid-column: 1 / -1;
}
.ls-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-block-start: clamp(2.5rem, 5vw, 4rem) !important;
	padding-block: 1.5rem;
	border-top: 1px solid var(--ls-gold-a12, rgb(255 232 139 / .12));
	font-size: .875rem;
}
.ls-footer__legal a {
	display: inline-block;
	padding-block: .6rem; /* 44 px targets */
}
.ls-footer__watermark {
	height: calc(24vw * .5);
	overflow: hidden;
	max-width: none !important;
	margin-inline: calc(var(--ls-gutter, 1rem) * -1) !important;
	font-family: var(--ls-font-script, cursive);
	font-size: 24vw;
	line-height: .7;
	white-space: nowrap;
	text-align: center;
	color: var(--ls-gold-a06, rgb(255 232 139 / .06));
	user-select: none;
	pointer-events: none;
}
/* Back-to-top star: component .ls-to-top in main.css (fixed, scroll-timeline reveal). */
.ls-footer .ls-to-top,
.ls-footer .ls-to-top:is(:hover, :focus-visible) {
	color: var(--ls-forest, #242c17);
	text-decoration: none;
}
@media (min-width: 1024px) {
	.ls-footer__cols {
		grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	}
	.ls-footer__brand,
	.ls-footer__join {
		grid-column: auto;
	}
}

/* --------------------------------------------- trinkets: one even grid (2026-10-05)
   Same size for the 3 cards, effects (tape, pin, photo corner, tilt) kept. Media = top 70 %,
   title + line below, whatever the card holds (print in its mat, letter paper, laundry line). */
.ls-trinkets .ls-card-grid--even { align-items: stretch; }
.ls-trinkets .ls-card {
	aspect-ratio: 3 / 4;
	height: auto;
	justify-content: flex-end;
}
.ls-trinkets .ls-card:nth-child(1) { --ls-tilt: -1deg; }
.ls-trinkets .ls-card:nth-child(2) { --ls-tilt: .8deg; }
.ls-trinkets .ls-card:nth-child(3) { --ls-tilt: -.6deg; }
.ls-trinkets .ls-card__media {
	inset: 0 0 auto;
	height: 70%;
	border-radius: var(--ls-r-photo) var(--ls-r-photo) 0 0;
}
.ls-trinkets .ls-card__media :is(.wp-block-image, figure) {
	position: absolute;
	inset: 0;
	height: 100%;
	margin: 0;
	padding: 9% 9% 0;
}
.ls-trinkets .ls-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}
.ls-trinkets .ls-card .ls-card__title,
.ls-trinkets .ls-card:has(:is(.ls-fill-letter, .ls-fill-print)):not(:has(.ls-card__media img)) .ls-card__title {
	padding: .9rem 1rem 0;
	margin: 0;
	text-align: center;
}
.ls-trinkets .ls-card .ls-card__meta {
	min-height: 3.4em;
	margin: .35rem 1rem 1rem;
	text-align: center;
}
/* Titles on cream paper: olive ink, never gold on cream. */
.ls-card:has(.ls-card__media :is(.ls-mat, .is-style-ls-mat)) :is(.ls-card__title, .ls-card__title a),
.ls-card:has(:is(.ls-fill-letter, .ls-fill-postcard, .ls-fill-print)):not(:has(.ls-card__media img)) :is(.ls-card__title, .ls-card__title a) {
	color: var(--ls-olive-ink);
}

/* --------------------------------------------- hero + « Little things, great joys » (merged 2026-10-05) */
.ls-hero .ls-hero__baseline { display: grid; justify-items: center; gap: .35rem; }
.ls-hero .ls-hero__baseline .ls-eyebrow { margin: 0; color: var(--ls-gold); }
.ls-hero .ls-hero__duo { margin: .2rem auto .35rem; }
.ls-hero .ls-hero__duo em { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.9rem); }
.ls-hero .ls-hero__duo strong { font-size: clamp(1.9rem, 1.15rem + 2.5vw, 3.4rem); margin-inline-start: 1.6em; }
.ls-hero :is(.ls-hero__baseline .ls-eyebrow, .ls-hero__duo, .ls-hero__subline) {
	text-shadow: 0 0 2px rgb(18 22 11 / .6), 0 2px 16px rgb(18 22 11 / .75);
}
.ls-hero .ls-hero__subline { max-width: 40ch; margin: 0 auto .5rem; color: var(--ls-parchment); }
/* The title sits a bit higher now that the baseline carries the duo. */
.ls-hero .wp-block-cover__inner-container > h1 { margin-top: calc(34svh - var(--ls-header-h, 88px) - .5em); }
@media (min-width: 1024px) {
	.ls-hero .wp-block-cover__inner-container > h1 { margin-top: calc(40svh - var(--ls-header-h, 88px) - .5em); }
}
@media (max-width: 639px) {
	.ls-hero .ls-hero__duo strong { margin-inline-start: 1.2em; }
}

/* --------------------------------------------- home: Hello & Welcome + Join our hamlet (merged 2026-10-05) */
.ls-home-welcome .ls-home-about__grid { align-items: center; }
.ls-home-welcome__hamlet {
	position: relative;
	margin-block-start: clamp(1.75rem, 3vw, 2.5rem);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	padding-inline-start: calc(clamp(1.25rem, 2.5vw, 1.75rem) + 84px);
	border: 1px solid var(--ls-gold-a24);
	border-radius: var(--ls-r-photo);
	background: rgb(255 232 139 / .03);
}
.ls-home-welcome__envelope {
	position: absolute;
	inset-block-start: clamp(1.25rem, 2.5vw, 1.75rem);
	inset-inline-start: clamp(1rem, 2vw, 1.5rem);
	width: 68px;
	aspect-ratio: 4 / 3;
	min-height: 0;
	margin: 0;
	rotate: -6deg;
}
.ls-home-welcome__title { margin: 0 0 .35rem; font-size: var(--ls-fs-h3); }
.ls-home-welcome__lead { margin: 0 0 1rem; max-width: 46ch; color: var(--ls-parchment); font-size: .975rem; }
.ls-home-welcome__form .ls-newsletter__seal { display: none; }
@media (max-width: 639px) {
	.ls-home-welcome__hamlet { padding-inline-start: clamp(1.25rem, 2.5vw, 1.75rem); padding-block-start: 5.25rem; }
}
/* Phones: the buttercups near the title would sit on the text; keep only the star cascade. */
@media (max-width: 639px) {
	.ls-hero::before { background: url(../svg/stars-cluster.svg) right 6% top 14% / 110px auto no-repeat; }
}

/* --------------------------------------------- coming soon (whole site, pilot) — 2026-10-05 */
.ls-coming-soon-page #header,
.ls-coming-soon-page .ct-footer,
.ls-coming-soon-page footer.wp-block-group,
.ls-coming-soon-page .ls-to-top { display: none !important; }
.ls-coming-soon-main { margin: 0; }
.ls-cs { color: var(--ls-gold); }
.ls-cs .wp-block-cover__background { background: none; }
.ls-cs::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(70% 60% at 50% 55%, rgb(18 22 11 / .55), transparent 75%),
		linear-gradient(to top, rgb(18 22 11 / .85), transparent 45%),
		linear-gradient(to bottom, rgb(18 22 11 / .5), transparent 30%);
}
.ls-cs .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: .6rem;
	max-width: 760px;
	padding-block: clamp(2rem, 6vh, 4rem);
	text-align: center;
	text-shadow: 0 0 2px rgb(18 22 11 / .6), 0 2px 18px rgb(18 22 11 / .75);
}
.ls-cs__brand {
	margin: 0;
	font: 400 clamp(2.2rem, 1.6rem + 2.2vw, 3.4rem) / 1 var(--ls-font-script);
	color: var(--ls-gold);
}
.ls-cs__title { margin: .25rem auto .2rem; }
.ls-cs__title em { font-size: clamp(3rem, 2rem + 4vw, 5.6rem); }
.ls-cs__title strong { font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.8rem); }
.ls-cs__soon { margin: 0; color: var(--ls-gold); letter-spacing: .32em; }
.ls-cs__lead { max-width: 46ch; margin: .25rem auto 0; color: var(--ls-gold-soft, #f6e6a8); }
.ls-cs__letter { width: 100%; margin-block-start: clamp(1rem, 3vh, 2rem); text-shadow: none; }
.ls-cs__links { margin-block-start: 1.5rem; font-size: .875rem; }
.ls-cs__links a { color: var(--ls-gold); }
/* Coming soon: the text sits on the bright sky — an even night veil + vignette keeps every line readable. */
.ls-cs::after {
	background:
		radial-gradient(120% 90% at 50% 45%, transparent 35%, rgb(18 22 11 / .65) 100%),
		linear-gradient(rgb(18 22 11 / .58), rgb(18 22 11 / .48) 45%, rgb(18 22 11 / .8));
}
.ls-cs .wp-block-cover__image-background { filter: saturate(.9); }
/* Coming soon: the page text already invites; the envelope stands alone, centred, its card rising into the space above. */
.ls-cs .ls-env__intro { display: none; }
.ls-cs .ls-env__layout {
	grid-template-areas: "stage";
	grid-template-columns: minmax(0, var(--env-width, 420px));
	justify-content: center;
}
.ls-cs__letter { margin-block-start: clamp(-9rem, -12vh, -4rem); }
/* Coming soon, desktop: words on the left, the envelope on the right — everything above the fold. */
@media (min-width: 1024px) {
	.ls-cs .wp-block-cover__inner-container {
		max-width: 1180px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
		column-gap: clamp(3rem, 6vw, 6rem);
		align-items: center;
		justify-items: start;
		text-align: start;
	}
	.ls-cs .wp-block-cover__inner-container > :not(.ls-cs__letter) { grid-column: 1; }
	.ls-cs__letter { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; }
	.ls-cs__title.has-text-align-center { justify-items: start; margin-inline: 0; text-align: start; }
	.ls-cs__lead { margin-inline: 0; }
}
@media (min-width: 1024px) {
	.ls-cs .wp-block-cover__inner-container > :not(.ls-cs__letter) { justify-self: start; text-align: start; }
}

/* QA 2026-10-05 — footer: typed text and the language switcher in the gold family, never white/navy. */
footer :is(input[type="email"], input[type="text"]) { color: var(--ls-gold); }
footer :is(input[type="email"], input[type="text"])::placeholder { color: var(--ls-gold-a75, rgb(255 232 139 / .75)); }
footer .trp-language-switcher,
footer .trp-language-switcher :is(.trp-language-item, .trp-current-language-item__wrapper, a, span) {
	background: transparent !important;
	border-color: var(--ls-gold-a24, rgb(255 232 139 / .24)) !important;
	color: var(--ls-gold) !important;
	box-shadow: none !important;
}
