/*
 * Holiday House Lights theme.
 *
 * Mobile-first, dark-first. Colours and fonts come from custom properties printed from
 * Site Settings (see inc/design-tokens.php); the values below are only fallbacks.
 */

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

:root {
	--color-bg: #0d1411;
	--color-surface: #17231d;
	--color-text: #fff;
	--color-muted: #b8c5be;
	--color-primary: #0b9444;
	--color-accent: #ec1d38;
	--color-highlight: #ffcb08;
	--color-link: #3fd27a;
	--color-on-primary: #fff;
	--color-border: rgba(255, 255, 255, 0.18);
	--font-heading: "Roboto Slab", Georgia, serif;
	--font-body: "Atkinson Hyperlegible", system-ui, sans-serif;
	--base-size: 18px;
	--radius: 0.75rem;
	--radius-large: 1rem;
	--gutter: 1rem;
	--header-height: 4.25rem;
	--shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
	--hhl-radius: var(--radius);
}

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

html {
	font-size: var(--base-size);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
}

h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
}

h3 {
	font-size: 1.3rem;
}

p,
ul,
ol {
	margin: 0 0 1rem;
}

a {
	color: var(--color-link);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 0.15em;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 3px solid var(--color-highlight);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

.icon {
	flex: none;
	width: 1.35em;
	height: 1.35em;
}

/* ---------- Utilities ---------- */

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

.skip-link {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	border-radius: var(--radius);
	background: var(--color-highlight);
	color: #000;
	font-weight: 700;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.site-main:focus {
	outline: none;
}

.container {
	width: 100%;
	max-width: 75rem;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.container--narrow {
	max-width: 46rem;
}

.notice-box {
	padding: 1rem 1.25rem;
	border-left: 6px solid var(--color-highlight);
	border-radius: var(--radius);
	background: var(--color-surface);
	font-weight: 700;
}

.empty-state {
	display: grid;
	gap: 1rem;
	justify-items: start;
	padding: 2rem 0 3rem;
	font-size: 1.15rem;
}

/* ---------- Buttons ---------- */

.button {
	display: inline-flex;
	gap: 0.6rem;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.7rem 1.4rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--color-primary);
	color: var(--color-on-primary);
	font: inherit;
	font-size: 1.07rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.button:hover {
	filter: brightness(1.1);
}

.button--accent {
	background: var(--color-accent);
}

.button--secondary {
	border-color: currentColor;
	background: transparent;
	color: var(--color-text);
}

.button--secondary:hover {
	background: var(--color-surface);
	filter: none;
}

.button--large {
	min-height: 3.5rem;
	padding: 0.85rem 1.6rem;
	font-size: 1.2rem;
}

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 2px solid var(--color-border);
	border-radius: 50%;
	background: transparent;
	color: var(--color-text);
	cursor: pointer;
}

.icon-button:hover {
	border-color: var(--color-text);
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-bg);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: center;
	justify-content: space-between;
	max-width: 75rem;
	min-height: var(--header-height);
	margin: 0 auto;
	padding: 0.5rem var(--gutter);
}

.site-header__brand {
	display: block;
	flex: 0 1 auto;
	min-width: 0;
}

.site-logo--header {
	width: auto;
	height: 2.75rem;
}

/* Small phones (320–350 px): a slightly smaller logo keeps the header on one line. */
@media (max-width: 22em) {
	.site-header__inner {
		column-gap: 0.5rem;
	}

	.site-logo--header {
		height: 2.25rem;
	}
}

.site-header__tools {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.theme-toggle__to-dark {
	display: none;
}

[data-theme="light"] .theme-toggle__to-light {
	display: none;
}

[data-theme="light"] .theme-toggle__to-dark {
	display: inline;
}

.theme-toggle span svg {
	width: 1.4rem;
	height: 1.4rem;
}

.site-logo--light-only {
	display: none;
}

[data-theme="light"] .site-logo--dark-only {
	display: none;
}

[data-theme="light"] .site-logo--light-only {
	display: block;
}

/* Navigation: a drop-down panel on phones (only when JavaScript can open it). */
.site-nav {
	flex: 1 0 100%;
	padding: 0.5rem 0 1rem;
}

.js .site-nav:not(.is-open) {
	display: none;
}

.site-nav__list {
	display: grid;
	gap: 0.25rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	display: flex;
	align-items: center;
	min-height: 3rem;
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius);
	color: var(--color-text);
	font-size: 1.15rem;
	font-weight: 700;
	text-decoration: none;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
	background: var(--color-surface);
}

.site-nav__list .current-menu-item > a {
	box-shadow: inset 4px 0 0 var(--color-accent);
}

.site-nav__cta {
	width: 100%;
}

/* The full menu fits on one line from 80em; below that it's the drop-down. */
@media (min-width: 80em) {
	:root {
		--header-height: 5rem;
	}

	.site-header__inner {
		flex-wrap: nowrap;
	}

	.site-logo--header {
		height: 3.25rem;
	}

	.site-header__tools {
		order: 3;
	}

	.site-header__menu-button {
		display: none;
	}

	.site-nav,
	.js .site-nav:not(.is-open) {
		display: flex;
		flex: 1 1 auto;
		gap: 1rem;
		align-items: center;
		justify-content: flex-end;
		padding: 0;
	}

	.site-nav__list {
		display: flex;
		flex-wrap: wrap;
		gap: 0.15rem;
		margin: 0;
	}

	.site-nav__list a {
		padding: 0.5rem 0.6rem;
		font-size: 1rem;
		white-space: nowrap;
	}

	.site-nav__list .current-menu-item > a {
		box-shadow: inset 0 -3px 0 var(--color-accent);
	}

	/* The menu already has "Submit a Display"; the button stays in the phone menu. */
	.site-nav__cta {
		display: none;
		width: auto;
		white-space: nowrap;
	}
}


/* String of lights under the header. */
.garland {
	position: relative;
	height: 1.1rem;
	overflow: hidden;
	background:
		radial-gradient(circle at 12.5% 70%, #ec1d38 0 0.28rem, transparent 0.3rem),
		radial-gradient(circle at 37.5% 70%, #0b9444 0 0.28rem, transparent 0.3rem),
		radial-gradient(circle at 62.5% 70%, #ffcb08 0 0.28rem, transparent 0.3rem),
		radial-gradient(circle at 87.5% 70%, #fff4d6 0 0.28rem, transparent 0.3rem);
	background-size: 7rem 1.1rem;
	background-repeat: repeat-x;
}

.garland::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 0.55rem;
	border-bottom: 2px solid var(--color-border);
	border-radius: 0 0 50% 50% / 0 0 100% 100%;
	opacity: 0.8;
}

.garland--footer {
	transform: scaleY(-1);
}

@media (prefers-reduced-motion: no-preference) {
	.garland {
		animation: hhl-twinkle 3.2s ease-in-out infinite alternate;
	}

	@keyframes hhl-twinkle {
		from {
			filter: brightness(0.85) saturate(0.9);
		}

		to {
			filter: brightness(1.25) saturate(1.2);
		}
	}
}

/* ---------- Sponsors ---------- */

.sponsors {
	border-bottom: 1px solid var(--color-border);
	background: var(--color-surface);
}

.sponsors__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.25rem 0.75rem;
	align-items: center;
	max-width: 75rem;
	margin: 0 auto;
	padding: 0.5rem var(--gutter);
}

.sponsors__list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sponsors__item {
	grid-area: 1 / 1;
}

.sponsors__link {
	display: block;
	border-radius: 0.4rem;
}

.sponsors__image {
	width: 100%;
	height: 3.5rem;
	object-fit: contain;
	object-position: left center;
}

.sponsors__toggle {
	width: 2.75rem;
	height: 2.75rem;
}

.sponsors__icon-play,
.sponsors.is-paused .sponsors__icon-pause {
	display: none;
}

.sponsors.is-paused .sponsors__icon-play {
	display: inline;
}

@media (min-width: 40em) {
	.sponsors__image {
		height: 5.5rem;
		object-position: center;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.sponsors__item.is-entering {
		animation: hhl-fade 0.6s ease;
	}

	@keyframes hhl-fade {
		from {
			opacity: 0;
		}

		to {
			opacity: 1;
		}
	}
}

/* ---------- Home / map ---------- */

.home-map {
	position: relative;
	display: grid;
	min-height: max(30rem, calc(100svh - var(--header-height) - 6rem));
}

.home-map__canvas {
	grid-area: 1 / 1;
	min-height: inherit;
	background:
		radial-gradient(circle at 20% 30%, rgba(236, 29, 56, 0.18), transparent 35%),
		radial-gradient(circle at 75% 60%, rgba(11, 148, 68, 0.2), transparent 40%),
		radial-gradient(circle at 50% 90%, rgba(255, 203, 8, 0.12), transparent 35%),
		var(--color-surface);
}

.home-map__intro {
	position: relative;
	z-index: 2;
	grid-area: 1 / 1;
	align-self: start;
	max-width: 32rem;
	margin: 0.75rem var(--gutter);
	padding: 1rem 1.25rem;
	border-radius: var(--radius-large);
	background: color-mix(in srgb, var(--color-bg) 88%, transparent);
	box-shadow: var(--shadow);
	backdrop-filter: blur(6px);
}

.home-map__heading {
	margin-bottom: 0.25rem;
	font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
}

.home-map__text {
	margin: 0;
	color: var(--color-muted);
}

.home-map__soon {
	display: grid;
	gap: 0.5rem;
	place-content: center;
	justify-items: center;
	min-height: inherit;
	padding: 12rem 1.5rem 7rem;
	text-align: center;
}

.home-map__soon .icon {
	width: 3.5rem;
	height: 3.5rem;
	color: var(--color-highlight);
}

.home-map__soon-title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
}

.home-map__browse {
	position: relative;
	z-index: 2;
	grid-area: 1 / 1;
	align-self: end;
	justify-self: start;
	margin: 0 var(--gutter) 1.25rem;
	box-shadow: var(--shadow);
}

/* ---------- Page layout ---------- */

.page {
	padding-bottom: 3rem;
}

.page-hero {
	position: relative;
	margin-bottom: 1.5rem;
	padding: 2.25rem 0 1.5rem;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 46rem;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.page--gallery .page-hero__inner {
	max-width: 75rem;
}

.page-hero__intro {
	color: var(--color-muted);
	font-size: 1.15rem;
}

.page-hero__intro p:last-child {
	margin-bottom: 0;
}

.page-hero--image {
	display: grid;
	min-height: 18rem;
	align-items: end;
	padding-bottom: 2rem;
}

.page-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero--image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, var(--color-bg) 8%, color-mix(in srgb, var(--color-bg) 55%, transparent) 60%, transparent);
}

.page-hero--image .page-hero__intro {
	color: var(--color-text);
}

/* ---------- Gallery ---------- */

.city-filter {
	margin-bottom: 1.5rem;
}

.city-filter__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.city-filter__link {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0.45rem 1.1rem;
	border: 2px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-text);
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.city-filter__link:hover {
	border-color: var(--color-text);
}

.city-filter__link[aria-current="page"] {
	border-color: var(--color-primary);
	background: var(--color-primary);
	/* Page-background text on green passes AA at this size in both modes. */
	color: var(--color-bg);
}

.city-filter__count {
	font-size: 0.8rem;
	font-weight: 400;
	opacity: 0.9;
}

/* Full strength on the selected (green) pill, where any fade drops below 4.5:1. */
.city-filter__link[aria-current="page"] .city-filter__count {
	opacity: 1;
}

.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

@media (min-width: 37.5em) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 62.5em) {
	.card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.display-card {
	position: relative;
	height: 100%;
}

/* Heart over the photo's corner (a sibling of the card link, so it isn't a link inside a link). */
.display-card__like {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
}

.display__like {
	margin: 0.25rem 0 0.75rem;
}

/* ---------- Leaderboard ---------- */

.leaderboard {
	display: grid;
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.leaderboard__item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 0.75rem;
	align-items: center;
	padding: 0.6rem 0.75rem;
	border: 2px solid transparent;
	border-radius: var(--radius-large);
	background: var(--color-surface);
}

.leaderboard__item--top {
	border-color: var(--color-border);
}

.leaderboard__rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: 1.2rem;
	font-weight: 700;
}

.leaderboard__item--1 .leaderboard__rank {
	background: #ffcb08;
	color: #15201a;
}

.leaderboard__item--2 .leaderboard__rank {
	background: #d9dee2;
	color: #15201a;
}

.leaderboard__item--3 .leaderboard__rank {
	background: #e0a36b;
	color: #15201a;
}

.leaderboard__link {
	display: flex;
	gap: 0.85rem;
	align-items: center;
	min-width: 0;
	min-height: 48px;
	color: var(--color-text);
	text-decoration: none;
}

.leaderboard__link:hover .leaderboard__title,
.leaderboard__link:focus-visible .leaderboard__title {
	text-decoration: underline;
}

.leaderboard__media {
	flex: none;
	width: 96px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 0.6rem;
	background: #000;
}

.leaderboard__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.leaderboard__text {
	display: grid;
	gap: 0.2rem;
	min-width: 0;
}

.leaderboard__title {
	overflow-wrap: anywhere;
	font-family: var(--font-heading);
	font-size: 1.15rem;
	font-weight: 700;
}

.leaderboard__city {
	display: flex;
	gap: 0.3rem;
	align-items: center;
	color: var(--color-muted);
	font-size: 0.95rem;
}

.leaderboard__city .icon {
	width: 1em;
	height: 1em;
	color: var(--color-accent);
}

@media (min-width: 40em) {
	.leaderboard__media {
		width: 160px;
	}
}

@media (max-width: 26em) {
	.leaderboard__item {
		grid-template-columns: auto 1fr;
	}

	.leaderboard__media {
		width: 64px;
	}

	.leaderboard__title {
		overflow-wrap: break-word;
	}

	.leaderboard__like {
		grid-column: 2;
		justify-self: start;
	}
}

.display-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--radius-large);
	background: var(--color-surface);
	color: var(--color-text);
	text-decoration: none;
}

.display-card__link:hover {
	border-color: var(--color-border);
}

.display-card__link:focus-visible {
	border-color: var(--color-highlight);
	outline-offset: 2px;
}

.display-card__media {
	aspect-ratio: 4 / 3;
	background: #000;
}

.display-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.display-card__body {
	display: grid;
	gap: 0.35rem;
	padding: 1rem 1.15rem 1.25rem;
}

.display-card__title {
	margin: 0;
	font-size: 1.3rem;
}

.display-card__city {
	display: flex;
	gap: 0.35rem;
	align-items: center;
	margin: 0;
	color: var(--color-muted);
	font-weight: 700;
}

.display-card__city .icon {
	width: 1.1em;
	height: 1.1em;
	color: var(--color-accent);
}

.display-card__text {
	margin: 0;
	color: var(--color-muted);
}

@media (prefers-reduced-motion: no-preference) {
	.display-card__link {
		transition: transform 0.15s ease, border-color 0.15s ease;
	}

	.display-card__link:hover {
		transform: translateY(-3px);
	}
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	min-height: 3rem;
	padding: 0 0.9rem;
	border: 2px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-text);
	font-weight: 700;
	text-decoration: none;
}

.pagination .current {
	border-color: var(--color-primary);
	background: var(--color-primary);
	color: var(--color-bg);
}

/* ---------- Single display ---------- */

.display__photo {
	margin: 0;
	background: #000;
}

.display__image {
	width: 100%;
	max-width: 75rem;
	max-height: 78svh;
	margin: 0 auto;
	object-fit: contain;
}

.display__body {
	max-width: 46rem;
	margin: 0 auto;
	padding: 1.5rem var(--gutter) 2rem;
}

.display__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 0.5rem;
	color: var(--color-muted);
	font-weight: 700;
}

.display__city {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
}

.display__city .icon {
	color: var(--color-accent);
}

.display__description {
	font-size: 1.1rem;
}

.display__actions {
	display: grid;
	gap: 0.75rem;
	margin: 1.5rem 0 0.5rem;
}

@media (min-width: 37.5em) {
	.display__actions {
		grid-template-columns: repeat(2, 1fr);
	}
}

.display__share-status {
	min-height: 1.6em;
	color: var(--color-muted);
}

.display__report a {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	min-height: 3rem;
}

.more-displays {
	padding: 2.5rem 0 1rem;
	border-top: 1px solid var(--color-border);
}

.more-displays__all {
	text-align: center;
}

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

.form-card {
	padding: 1.25rem;
	border-radius: var(--radius-large);
	background: var(--color-surface);
}

@media (min-width: 40em) {
	.form-card {
		padding: 2rem;
	}
}

.form-card .hhl-form-wrap {
	max-width: none;
}

.tips {
	margin-bottom: 1.5rem;
	padding: 1.1rem 1.25rem;
	border-left: 6px solid var(--color-highlight);
	border-radius: var(--radius);
	background: var(--color-surface);
}

.tips__heading {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	font-size: 1.2rem;
}

.tips ul {
	margin: 0;
	padding-left: 1.25rem;
}

.tips p:last-child {
	margin-bottom: 0;
}

.contact-details {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	font-size: 1.15rem;
}

.contact-details li {
	display: flex;
	gap: 0.6rem;
	align-items: center;
}

/* Long email addresses wrap instead of pushing the page sideways on small phones. */
.contact-details a,
.site-footer__contact-list a {
	min-width: 0;
	overflow-wrap: break-word;
}

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

.sections {
	display: grid;
	gap: 2.5rem;
}

.prose h2 {
	margin-top: 1.5em;
}

.prose h3 {
	margin-top: 1.25em;
}

.prose li {
	margin-bottom: 0.4rem;
}

.prose > :first-child {
	margin-top: 0;
}

.section--image {
	margin: 0;
}

.section--image img {
	border-radius: var(--radius-large);
}

.section--image figcaption {
	margin-top: 0.5rem;
	color: var(--color-muted);
}

.section--image-text {
	display: grid;
	gap: 1.25rem;
	align-items: center;
}

.section--image-text img {
	border-radius: var(--radius-large);
}

@media (min-width: 40em) {
	.section--image-text {
		grid-template-columns: 1fr 1fr;
	}

	.section--image-right .section__media {
		order: 2;
	}
}

.section--cta {
	padding: 1.75rem;
	border: 2px solid var(--color-accent);
	border-radius: var(--radius-large);
	background: var(--color-surface);
	text-align: center;
}

.faq {
	display: grid;
	gap: 0.75rem;
}

.faq__item {
	border-radius: var(--radius);
	background: var(--color-surface);
}

.faq__question {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	min-height: 3.5rem;
	padding: 0.75rem 1.25rem;
	font-size: 1.1rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question::after {
	content: "+";
	flex: none;
	color: var(--color-highlight);
	font-size: 1.6rem;
	line-height: 1;
}

.faq__item[open] .faq__question::after {
	content: "–";
}

.faq__answer {
	padding: 0 1.25rem 1rem;
}

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

.site-footer {
	margin-top: 2rem;
	background: var(--color-surface);
}

.site-footer__inner {
	display: grid;
	gap: 2rem;
	max-width: 75rem;
	margin: 0 auto;
	padding: 2rem var(--gutter) 1rem;
}

@media (min-width: 50em) {
	.site-footer__inner {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

.site-logo--footer {
	width: auto;
	height: 3rem;
	margin-bottom: 1rem;
}

.site-footer__heading {
	font-size: 1.1rem;
}

.site-footer__contact-list,
.site-footer__list,
.social-links {
	display: grid;
	gap: 0.25rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.site-footer__contact-list li {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.site-footer__list a,
.social-links a,
.site-footer__contact-list a {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
}

.site-footer__copyright {
	margin: 0;
	padding: 1rem var(--gutter) 2rem;
	color: var(--color-muted);
	font-size: 0.9rem;
	text-align: center;
}

/* ---------- Plugin form fine-tuning ---------- */

.hhl-form__legend {
	font-family: var(--font-heading);
}

.hhl-form__submit {
	border-radius: 999px;
}

/* ---------- Reduced motion ---------- */

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

/* ---------- Live map on the home page ---------- */

.home-map--live {
	display: block;
	min-height: 0;
}

.home .site-footer {
	margin-top: 0;
}

/* ---------- "Add to my route" on display pages ---------- */

.hhl-route-add {
	display: grid;
	gap: 0.5rem;
	margin: 0.5rem 0 1rem;
}

.hhl-route-add__button[aria-pressed="true"] {
	border-style: dashed;
}

.hhl-route-add__link {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	font-weight: 700;
}

.hhl-route-add__status {
	min-height: 1.5em;
	margin: 0;
	color: var(--color-muted);
}

/* ---------- Sponsors tree ---------- */

.sponsor-stage {
	max-width: 560px;
	margin: 0 auto;
}

.sponsor-tree {
	position: relative;
	aspect-ratio: var(--tree-ratio, 400 / 520);
	overflow: hidden;
	border-radius: 1.5rem;
	/* A night sky in both colour modes, so the lights read well. */
	background: radial-gradient(ellipse at 50% 20%, #13284d 0%, #0a1630 55%, #050b18 100%);
}

.sponsor-tree__art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.sponsor-tree__snow {
	fill: #fff;
	opacity: 0.45;
}

.sponsor-tree__ground {
	fill: #e9f1f6;
	opacity: 0.9;
}

.sponsor-tree__trunk {
	fill: #6b4423;
}

.sponsor-tree__tier {
	stroke: #0a5c2d;
	stroke-width: 1;
}

.sponsor-tree__garland {
	fill: none;
	stroke: #ffe9a8;
	stroke-width: 2;
	opacity: 0.45;
}

.sponsor-tree__light--0 { fill: #ec1d38; }
.sponsor-tree__light--1 { fill: #ffd84d; }
.sponsor-tree__light--2 { fill: #7fe3ff; }
.sponsor-tree__light--3 { fill: #ffffff; }

.sponsor-tree__star {
	fill: #ffcb08;
	stroke: #fff3b0;
	stroke-width: 1.5;
	stroke-linejoin: round;
}

.sponsor-tree__bulbs {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sponsor-bulb {
	--bulb: #ec1d38;
	--bulb-glow: rgba(236, 29, 56, 0.55);
	position: absolute;
	top: calc(var(--y) * 1%);
	left: calc(var(--x) * 1%);
	width: max(48px, calc(var(--d) * 1%));
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
}

.sponsor-bulb--gold { --bulb: #ffcb08; --bulb-glow: rgba(255, 203, 8, 0.55); }
.sponsor-bulb--green { --bulb: #0b9444; --bulb-glow: rgba(11, 148, 68, 0.55); }
.sponsor-bulb--blue { --bulb: #3d8bff; --bulb-glow: rgba(61, 139, 255, 0.55); }
.sponsor-bulb--pink { --bulb: #e05ad6; --bulb-glow: rgba(224, 90, 214, 0.55); }

/* The wire the bulb hangs from. */
.sponsor-bulb::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	width: 2px;
	height: 28%;
	background: rgba(255, 255, 255, 0.35);
}

.sponsor-bulb__link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	color: inherit;
	text-decoration: none;
}

.sponsor-bulb__link:focus-visible {
	outline: 3px solid #ffcb08;
	outline-offset: 4px;
}

.sponsor-bulb__cap {
	position: absolute;
	z-index: 1;
	top: -8%;
	left: 50%;
	width: 32%;
	height: 15%;
	border-radius: 3px 3px 2px 2px;
	background: linear-gradient(90deg, #8b8b8b, #e4e4e4 45%, #8b8b8b);
	transform: translateX(-50%);
}

.sponsor-bulb__glass {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 11%;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9) 0, var(--bulb) 34%, color-mix(in srgb, var(--bulb) 60%, #000) 100%);
	box-shadow: 0 0 16px 3px var(--bulb-glow), inset 0 -6px 12px rgba(0, 0, 0, 0.3);
}

.sponsor-bulb__logo {
	width: 100%;
	height: 100%;
	padding: 9%;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
}

.sponsor-stage__hint {
	margin: 1rem 0 0;
	color: var(--color-muted);
	font-weight: 700;
	text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
	.sponsor-bulb__link {
		transition: transform 0.15s ease;
	}

	.sponsor-bulb__link:hover,
	.sponsor-bulb__link:focus-visible {
		transform: scale(1.08);
	}

	.sponsor-bulb__glass {
		animation: hhl-bulb-glow 3.2s ease-in-out infinite;
		animation-delay: var(--delay, 0s);
	}

	.sponsor-tree__light {
		animation: hhl-twinkle 2.4s ease-in-out infinite;
		animation-delay: var(--delay, 0s);
	}

	.sponsor-tree__star {
		animation: hhl-twinkle 4s ease-in-out infinite;
	}

	@keyframes hhl-bulb-glow {
		50% {
			box-shadow: 0 0 26px 8px var(--bulb-glow), inset 0 -6px 12px rgba(0, 0, 0, 0.3);
		}
	}

	@keyframes hhl-twinkle {
		50% {
			opacity: 0.45;
		}
	}
}

/* ---------- Sponsor offer dialog ---------- */

.sponsor-dialog {
	width: min(92vw, 34rem);
	max-height: 90vh;
	padding: 0;
	border: 0;
	border-radius: 1.25rem;
	background: var(--color-surface);
	color: var(--color-text);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.sponsor-dialog::backdrop {
	background: rgba(3, 8, 16, 0.75);
}

/* Without JavaScript the offer shows in the page, under the tree. */
.sponsor-dialog[open]:not(:modal) {
	position: static;
	margin: 2rem auto 0;
}

.sponsor-dialog__inner {
	position: relative;
	display: grid;
	gap: 0.85rem;
	padding: 1.5rem;
}

.sponsor-dialog__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	font-size: 1.6rem;
	line-height: 1;
}

.sponsor-dialog__head {
	display: flex;
	gap: 1rem;
	align-items: center;
	padding-right: 3.25rem;
}

.sponsor-dialog__logo {
	flex: none;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 50%;
	background: #fff;
}

.sponsor-dialog__logo img {
	width: 100%;
	height: 100%;
	padding: 10%;
	object-fit: contain;
}

.sponsor-dialog__name {
	margin: 0;
	font-size: 1.4rem;
}

/* Phones: logo on its own row (beside the close button), so the name gets the full width. */
@media (max-width: 30em) {
	.sponsor-dialog__inner {
		padding: 1.25rem;
	}

	.sponsor-dialog__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
		padding-right: 0;
	}

	.sponsor-dialog__logo {
		width: 64px;
		height: 64px;
	}
}

.sponsor-dialog__name:focus {
	outline: none;
}

.sponsor-dialog__offer {
	margin: 0.2rem 0 0;
	color: var(--color-highlight);
	font-family: var(--font-heading);
	font-size: 1.3rem;
	font-weight: 700;
}

.sponsor-dialog__details,
.sponsor-dialog__ends {
	margin: 0;
}

.sponsor-dialog__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
}

.sponsor-dialog__ends {
	color: var(--color-muted);
	font-weight: 700;
}

.sponsor-join {
	max-width: 40rem;
	margin: 3rem auto 0;
	padding: 1.75rem;
	border-radius: var(--radius-large);
	background: var(--color-surface);
	text-align: center;
}

.sponsor-join h2 {
	margin-top: 0;
}

/* =========================================================================
   Home page
   ========================================================================= */

/* ---------- Hero: a night street, the same in light and dark mode ---------- */

.home-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(60rem 30rem at 15% 10%, rgba(11, 148, 68, 0.28), transparent 60%),
		radial-gradient(50rem 28rem at 90% 0%, rgba(236, 29, 56, 0.22), transparent 60%),
		linear-gradient(180deg, #050b1a 0%, #0b1934 55%, #13284d 100%);
}

.home-hero__sky {
	position: absolute;
	z-index: -1;
	inset: 0;
	pointer-events: none;
	/* Stars. */
	background-image:
		radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 44% 26%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
		radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
		radial-gradient(2px 2px at 79% 30%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
		radial-gradient(1px 1px at 91% 16%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 6% 40%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
		radial-gradient(1px 1px at 55% 40%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
		radial-gradient(1px 1px at 36% 48%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 72% 52%, rgba(255, 255, 255, 0.6) 50%, transparent 51%);
}

.home-hero__moon {
	position: absolute;
	top: 1.25rem;
	right: max(1rem, 6%);
	width: clamp(2.75rem, 8vw, 7rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 38% 36%, #fffbe8 0 30%, #f3e6b8 60%, #d9c98f 100%);
	box-shadow: 0 0 60px 18px rgba(255, 236, 170, 0.25), 0 0 140px 40px rgba(255, 236, 170, 0.12);
	opacity: 0.9;
}

/* Gentle snowfall: two layers of dots drifting down. */
.home-hero__snow {
	position: absolute;
	inset: -40% 0 0;
	background-image:
		radial-gradient(3px 3px at 10% 20%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
		radial-gradient(2px 2px at 30% 60%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
		radial-gradient(3px 3px at 55% 35%, rgba(255, 255, 255, 0.85) 50%, transparent 51%),
		radial-gradient(2px 2px at 75% 75%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
		radial-gradient(2.5px 2.5px at 90% 10%, rgba(255, 255, 255, 0.9) 50%, transparent 51%);
	background-size: 420px 420px;
	opacity: 0.7;
}

.home-hero__snow--far {
	background-size: 260px 260px;
	opacity: 0.4;
	filter: blur(0.5px);
}

@media (prefers-reduced-motion: no-preference) {
	.home-hero__snow--near {
		animation: hhl-snow 22s linear infinite;
	}

	.home-hero__snow--far {
		animation: hhl-snow 38s linear infinite;
	}

	@keyframes hhl-snow {
		to {
			transform: translateY(40%);
		}
	}
}

.home-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 62rem;
	margin: 0 auto;
	padding: clamp(3.5rem, 10vh, 7rem) var(--gutter) 0.5rem;
	text-align: center;
}

@media (max-width: 30em) {
	.home-hero__content {
		padding-top: 7rem;
	}

	.home-hero__moon {
		top: 0.75rem;
		right: 1rem;
		width: 2.25rem;
	}
}

.home-hero__title {
	margin: 0 0 1rem;
	color: #fff;
	font-size: clamp(2.3rem, 6.2vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.home-glow {
	color: #ffd95e;
	text-shadow: 0 0 18px rgba(255, 203, 8, 0.55), 0 0 42px rgba(255, 140, 0, 0.35);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
	.home-glow {
		background: linear-gradient(90deg, #ff6b7d 0%, #ffd95e 35%, #fff4c2 55%, #7cf0a8 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		filter: drop-shadow(0 0 14px rgba(255, 203, 8, 0.45));
		text-shadow: none;
	}
}

.home-hero__text {
	max-width: 42rem;
	margin: 0 auto 1.75rem;
	color: #e6edf5;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.6;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: center;
}

.home-hero__cta {
	min-width: 15rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.button--accent.home-hero__cta {
	box-shadow: 0 10px 34px rgba(236, 29, 56, 0.45);
}

.home-hero__cta--ghost {
	border-color: rgba(255, 255, 255, 0.85);
	background: rgba(5, 11, 26, 0.45);
	color: #fff;
}

.home-hero__cta--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	filter: none;
}

.home-hero__cta:focus-visible {
	outline: 3px solid #ffcb08;
	outline-offset: 3px;
}

/* A little glowing bulb on the "Find lights" button. */
.home-hero__cta-bulb {
	position: relative;
	width: 0.75rem;
	height: 1.05rem;
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	background: radial-gradient(circle at 35% 30%, #fff 0 15%, #ffcb08 55%);
	box-shadow: 0 0 10px 3px rgba(255, 203, 8, 0.7);
	transform: rotate(180deg);
}

.home-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.home-hero__stats li {
	display: flex;
	gap: 0.4rem;
	align-items: baseline;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: rgba(5, 11, 26, 0.55);
	color: #dce5ef;
}

.home-hero__stats strong {
	color: #fff;
	font-family: var(--font-heading);
	font-size: 1.35rem;
}

/* Phones: three tidy columns, number above its label. */
@media (max-width: 30em) {
	.home-hero__stats {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.home-hero__stats li {
		display: grid;
		gap: 0.15rem;
		justify-items: center;
		padding: 0.6rem 0.4rem;
		border-radius: 1rem;
		font-size: 0.8rem;
		line-height: 1.25;
		text-align: center;
	}
}

/* Grows with the screen so the rooftops are never cut off; on phones the minimum
   height crops the sides of the street instead. */
.home-scene {
	display: block;
	width: 100%;
	height: auto;
	min-height: 8rem;
	aspect-ratio: 1600 / 290;
	margin-top: -1rem;
}

.home-scene__hills { fill: #0c1a33; }
.home-scene__house { fill: #08101f; }
.home-scene__tree { fill: #0a2b1c; }
.home-scene__window { fill: #ffcf6e; filter: drop-shadow(0 0 6px rgba(255, 190, 80, 0.8)); }
.home-scene__door { fill: #3a2414; }
.home-scene__wire { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 1.2; }
.home-scene__star { fill: #ffcb08; }
.home-scene__light--r { fill: #ec1d38; }
.home-scene__light--g { fill: #0b9444; }
.home-scene__light--y { fill: #ffd84d; }
.home-scene__light--b { fill: #6ec8ff; }
.home-scene__light--w { fill: #fff6d8; }

.home-scene__light {
	filter: drop-shadow(0 0 4px currentColor);
}

.home-scene__route,
.home-scene__route-glow {
	fill: none;
	stroke-linecap: round;
}

.home-scene__route {
	stroke: #ffcb08;
	stroke-width: 4;
	stroke-dasharray: 2 12;
}

.home-scene__route-glow {
	stroke: rgba(255, 203, 8, 0.25);
	stroke-width: 14;
	filter: blur(3px);
}

.home-scene__stop path {
	fill: #ec1d38;
	stroke: #fff;
	stroke-width: 2;
}

.home-scene__stop text {
	fill: #fff;
	font: 700 14px/1 var(--font-body, sans-serif);
}

@media (prefers-reduced-motion: no-preference) {
	.home-scene__light {
		animation: hhl-twinkle 2.6s ease-in-out infinite;
		animation-delay: var(--d, 0s);
	}

	.home-scene__route {
		animation: hhl-route 1.6s linear infinite;
	}

	@keyframes hhl-route {
		to {
			stroke-dashoffset: -28;
		}
	}
}

/* ---------- Sections ---------- */

.home-section {
	padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.home-section:nth-of-type(even) {
	background: var(--color-surface);
}

.home-section__head {
	max-width: 44rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.home-section__head h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 5vw, 2.9rem);
	line-height: 1.1;
}

.home-section__head p {
	margin: 0;
	color: var(--color-muted);
	font-size: 1.15rem;
}

.home-section__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin: 2.5rem 0 0;
}

/* How it works: three glowing bulbs on a light string. */
.home-steps {
	position: relative;
	display: grid;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.home-step {
	position: relative;
	text-align: center;
}

.home-step h3 {
	margin: 1rem 0 0.5rem;
	font-size: 1.45rem;
}

.home-step p {
	max-width: 22rem;
	margin: 0 auto;
	color: var(--color-muted);
}

.home-step__bulb {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 4.5rem;
	height: 5.75rem;
}

/* The cap and the bulb (pointing down, like a real string light). */
.home-step__bulb::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 1.6rem;
	height: 1rem;
	border-radius: 4px 4px 2px 2px;
	background: linear-gradient(90deg, #6b7570, #c7cfcb 50%, #6b7570);
	transform: translateX(-50%);
}

.home-step__bulb span {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4.75rem;
	margin-top: 0.85rem;
	border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
	color: #1b1200;
	font-family: var(--font-heading);
	font-size: 1.8rem;
	font-weight: 700;
	background: radial-gradient(circle at 35% 28%, #fff 0 10%, #ffd84d 45%, #e8a500 100%);
	box-shadow: 0 0 26px 6px rgba(255, 203, 8, 0.45);
}

.home-step:nth-child(2) .home-step__bulb span {
	color: #fff;
	background: radial-gradient(circle at 35% 28%, #fff 0 10%, #ec1d38 50%);
	box-shadow: 0 0 26px 6px rgba(236, 29, 56, 0.45);
}

.home-step:nth-child(3) .home-step__bulb span {
	color: #04210f;
	background: radial-gradient(circle at 35% 28%, #fff 0 10%, #0b9444 50%);
	box-shadow: 0 0 26px 6px rgba(11, 148, 68, 0.45);
}

.home-step:nth-child(4) .home-step__bulb span {
	color: #04182b;
	background: radial-gradient(circle at 35% 28%, #fff 0 10%, #6ec8ff 45%, #1f6fbf 100%);
	box-shadow: 0 0 26px 6px rgba(61, 139, 255, 0.45);
}

@media (min-width: 50em) {
	.home-steps {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		grid-auto-flow: column;
	}

	/* The wire joining the bulbs. */
	.home-steps::before {
		content: "";
		position: absolute;
		top: 0.5rem;
		right: 12%;
		left: 12%;
		height: 2.5rem;
		border-top: 2px solid var(--color-border);
		border-radius: 50%;
	}
}

/* Feature cards with their illustrations. */
.home-features__grid {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 40em) {
	.home-features__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 62.5em) {
	.home-features__grid {
		grid-template-columns: repeat(6, 1fr);
	}

	/* Three across, then two centred. */
	.home-feature {
		grid-column: span 2;
	}

	.home-feature:nth-child(4):nth-last-child(2) {
		grid-column: 2 / span 2;
	}
}

.home-feature {
	position: relative;
	padding: 1.75rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	background: var(--color-bg);
}

.home-section:nth-of-type(odd) .home-feature {
	background: var(--color-surface);
}

.home-feature h3 {
	margin: 1rem 0 0.5rem;
	font-size: 1.35rem;
}

.home-feature h3 a {
	color: inherit;
	text-decoration: none;
}

/* The whole card is clickable through its heading link. */
.home-feature h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--radius-large);
}

.home-feature h3 a:focus-visible::after {
	outline: 3px solid var(--color-highlight);
	outline-offset: 2px;
}

/* Only cards with a link react to the pointer. */
.home-feature:has(h3 a):hover {
	border-color: var(--color-muted);
}

.home-feature p {
	margin: 0;
	color: var(--color-muted);
}

.home-art {
	display: block;
	width: 8.5rem;
	height: auto;
}

.home-art .a-panel { fill: #0f2244; }
.home-art .a-street { fill: none; stroke: #3b5b8f; stroke-width: 3; }
.home-art .a-red { fill: #ec1d38; }
.home-art .a-gold { fill: #ffcb08; }
.home-art .a-green { fill: #0b9444; }
.home-art .a-blue { fill: #4aa8ff; }
.home-art .a-pin path { filter: drop-shadow(0 0 4px rgba(255, 203, 8, 0.6)); }
.home-art .a-route { fill: none; stroke: #ffcb08; stroke-width: 3.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.home-art .a-route-glow { fill: none; stroke: rgba(255, 203, 8, 0.2); stroke-width: 10; stroke-linecap: round; }
.home-art .a-num { fill: #fff; font: 700 10px/1 sans-serif; text-anchor: middle; }
.home-art .a-num--dark { fill: #1b1200; }
.home-art .a-card { fill: #f4f1e8; stroke: rgba(0, 0, 0, 0.15); }
.home-art .a-night { fill: #0b1934; }
.home-art .a-house { fill: #050b16; }
.home-art .a-wire { fill: none; stroke: rgba(255, 255, 255, 0.4); }
.home-art .a-heart { fill: none; stroke: #ec1d38; stroke-width: 4; stroke-linejoin: round; }
.home-art .a-heart-glow { fill: rgba(236, 29, 56, 0.18); }
.home-art .a-red-fill { fill: #ec1d38; }
.home-art .a-red-dark { fill: #b30f26; }
.home-art .a-bow { fill: #ffcb08; }
.home-art .a-tag { fill: #f4f1e8; }

/* Display owners. */
.home-owners__inner {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 56em) {
	.home-owners__inner {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.home-owners h2 {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 5vw, 2.9rem);
	line-height: 1.1;
}

.home-owners__text > p {
	color: var(--color-muted);
	font-size: 1.15rem;
}

.home-owners__points {
	display: grid;
	gap: 0.75rem;
	margin: 1.5rem 0 2rem;
	padding: 0;
	list-style: none;
}

/* Each point hangs from a little light. */
.home-owners__points li {
	position: relative;
	padding-left: 2rem;
	font-weight: 700;
}

.home-owners__points li::before {
	content: "";
	position: absolute;
	top: 0.3rem;
	left: 0.35rem;
	width: 0.7rem;
	height: 1rem;
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	background: radial-gradient(circle at 35% 30%, #fff 0 15%, #ffcb08 55%);
	box-shadow: 0 0 8px 2px rgba(255, 203, 8, 0.6);
	transform: rotate(180deg);
}

.home-owners__points li:nth-child(4n + 2)::before { background: radial-gradient(circle at 35% 30%, #fff 0 15%, #ec1d38 55%); box-shadow: 0 0 8px 2px rgba(236, 29, 56, 0.6); }
.home-owners__points li:nth-child(4n + 3)::before { background: radial-gradient(circle at 35% 30%, #fff 0 15%, #0b9444 55%); box-shadow: 0 0 8px 2px rgba(11, 148, 68, 0.6); }
.home-owners__points li:nth-child(4n + 4)::before { background: radial-gradient(circle at 35% 30%, #fff 0 15%, #4aa8ff 55%); box-shadow: 0 0 8px 2px rgba(61, 139, 255, 0.6); }

.home-owners__art {
	overflow: hidden;
	border-radius: 1.5rem;
	background: linear-gradient(180deg, #050b1a 0%, #13284d 100%);
}

.home-house {
	display: block;
	width: 100%;
	height: auto;
}

.home-house__moon { fill: #fff3c6; opacity: 0.85; }
.home-house__body { fill: #08101f; }
.home-house__ladder { fill: none; stroke: #b98a4e; stroke-width: 5; stroke-linecap: round; }
.home-house__snow { fill: #dbe6f2; }

/* Sponsors. */
.home-sponsors__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-sponsors__item {
	display: grid;
	gap: 0.5rem;
	justify-items: center;
	width: 8.5rem;
	color: var(--color-text);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.home-sponsors__item img {
	width: 6rem;
	height: 6rem;
	padding: 0.6rem;
	border: 3px solid #ffcb08;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
	box-shadow: 0 0 18px rgba(255, 203, 8, 0.35);
}

.home-sponsors__item:hover span,
.home-sponsors__item:focus-visible span {
	text-decoration: underline;
}

/* Questions. */
.home-faq__list {
	display: grid;
	gap: 0.75rem;
}

.home-faq__item {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	background: var(--color-surface);
}

.home-section:nth-of-type(even) .home-faq__item {
	background: var(--color-bg);
}

.home-faq__item summary {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	min-height: 3.5rem;
	padding: 0.9rem 1.25rem;
	font-size: 1.1rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.home-faq__item summary::-webkit-details-marker {
	display: none;
}

.home-faq__item summary::after {
	content: "+";
	flex: none;
	color: var(--color-link);
	font-size: 1.6rem;
	line-height: 1;
}

.home-faq__item[open] summary::after {
	content: "−";
}

.home-faq__item summary:focus-visible {
	outline: 3px solid var(--color-highlight);
	outline-offset: 2px;
	border-radius: var(--radius-large);
}

.home-faq__answer {
	padding: 0 1.25rem 1.1rem;
	color: var(--color-muted);
}

.home-faq__answer p {
	margin: 0;
}

/* Closing call to action: back to the night sky. */
.home-close {
	position: relative;
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
	color: #fff;
	text-align: center;
	background:
		radial-gradient(40rem 20rem at 50% 120%, rgba(236, 29, 56, 0.3), transparent 70%),
		linear-gradient(180deg, #0b1934 0%, #050b1a 100%);
}

.home-close .garland {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}

.home-close h2 {
	margin: 0 0 0.75rem;
	color: #fff;
	font-size: clamp(2rem, 5vw, 3rem);
}

.home-close p {
	max-width: 36rem;
	margin: 0 auto 2rem;
	color: #e6edf5;
	font-size: 1.15rem;
}


/* "Lit in 2026 ✓": confirmed lit this season. */
.hhl-lit {
	display: inline-flex;
	gap: 0.3rem;
	align-items: center;
	padding: 0.15rem 0.6rem;
	border: 1px solid color-mix(in srgb, var(--color-link) 55%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-link) 14%, transparent);
	color: var(--color-text);
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
}

.hhl-lit > span {
	color: var(--color-link);
}

.display-card__city {
	flex-wrap: wrap;
}
