/* ===========================================================
   Showcase sections — Real-time ambient lighting · Discord bots
   Same anatomy as Statics/ROYA: glow, centred title, hairline
   lists, one signature moment each.
   =========================================================== */
:root {
	--lights-brand: #3ddc97;
	--lights-brand-soft: rgba(61, 220, 151, 0.16);
	--bots-brand: #7983f5;
	--bots-brand-soft: rgba(121, 131, 245, 0.16);
}

/* The lights section is one live colour: --lt-color cycles, and the bulb, the screen,
   the heading, the tags and the background wash all read from it. */
@property --lt-color { syntax: '<color>'; inherits: true; initial-value: #ff7a3d; }
@property --wx-color { syntax: '<color>'; inherits: true; initial-value: #ffc247; }

/* The cycle runs on two children (not the <section>, which already has its own
   fade-in animation). They share keyframes + start time, so they stay in step. */
#lights-experience .lights-glow,
#lights-experience .lights-content-shell {
	--lt-color: #ff7a3d;
	animation: lt-cycle 12s linear infinite;
}

#lights-experience .lights-content-shell {
	--accent: var(--lt-color);
	--accent-soft: color-mix(in srgb, var(--lt-color) 16%, transparent);
}
#bots-experience { --accent: var(--bots-brand); --accent-soft: var(--bots-brand-soft); }

@keyframes lt-cycle {
	0%, 20%  { --lt-color: #ff7a3d; }
	25%, 45% { --lt-color: #2fd07b; }
	50%, 70% { --lt-color: #3aa0ff; }
	75%, 95% { --lt-color: #ff4fd8; }
	100%     { --lt-color: #ff7a3d; }
}

.lights-section,
.bots-section {
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 6vw, 4rem);
	text-align: center;
	color: var(--text-color);
	background: var(--background-color);
}

/* lights: a soft pool of light + a faint dot matrix, like an LED panel */
.lights-glow,
.bots-glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

/* the room itself takes on the light: two broad washes of the current colour… */
.lights-glow {
	background:
		radial-gradient(75% 55% at 82% 0%, color-mix(in srgb, var(--lt-color) 20%, transparent), transparent 72%),
		radial-gradient(60% 50% at 6% 100%, color-mix(in srgb, var(--lt-color) 12%, transparent), transparent 72%);
}

/* …and a faint LED-panel dot matrix in the same colour */
.lights-glow::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.2;
	background-image: radial-gradient(circle, var(--lt-color) 1.2px, transparent 1.6px);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(110% 90% at 75% 15%, #000 0%, transparent 76%);
	mask-image: radial-gradient(110% 90% at 75% 15%, #000 0%, transparent 76%);
}

/* bots: a quiet hash-grid, a nod to channel names */
.bots-glow {
	opacity: 0.14;
	overflow: hidden;
	-webkit-mask-image: radial-gradient(110% 90% at 30% 15%, #000 0%, transparent 76%);
	mask-image: radial-gradient(110% 90% at 30% 15%, #000 0%, transparent 76%);
}

/* exact 46px period, so the drift loops without a seam */
.bots-glow::before {
	content: "";
	position: absolute;
	inset: -46px;
	background-image:
		repeating-linear-gradient(to right, var(--bots-brand) 0 1px, transparent 1px 46px),
		repeating-linear-gradient(to bottom, var(--bots-brand) 0 1px, transparent 1px 46px);
	animation: bots-drift 40s linear infinite;
}

@keyframes bots-drift { to { transform: translate3d(46px, 46px, 0); } }

.lights-content-shell,
.bots-content-shell {
	position: relative;
	z-index: 1;
	width: min(1200px, calc(100vw - 4rem));
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
	padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.lights-content-shell .section__title,
.bots-content-shell .section__title {
	margin: 0 0 0.4rem;
	text-align: center;
	text-shadow: none;
}

.lights-wordmark,
.bots-wordmark {
	color: var(--accent);
	font-weight: 800;
	letter-spacing: 0.02em;
}

/* ---------- shared bits ---------- */
.lights-hero-copy,
.lights-summary-card,
.bots-hero-copy {
	background: var(--surface-1);
	border: 1px solid var(--line);
	border-radius: 4px;
}

.lights-role-pills,
.bots-role-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.lights-role-pill,
.bots-role-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.85rem;
	border-radius: 4px;
	border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
	color: var(--ink-dim);
	font-family: var(--font-mono);
	font-size: 0.78rem;
}

/* ---------- Lights: hero ---------- */
.lights-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
	gap: 1.25rem;
	align-items: stretch;
}

.lights-hero-copy {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.1rem;
}

.lights-intro-text p,
.bots-intro {
	margin: 0;
	text-align: left;
	font-size: 1.04rem;
	line-height: 1.8;
	font-weight: 300;
	color: var(--ink-dim);
}

.lights-summary-card {
	padding: 1.4rem;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.85rem;
}

.lights-summary-label {
	margin: 0;
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.lights-summary-card h2 { font-size: 1.45rem; line-height: 1.2; margin: 0; color: var(--ink); }
.lights-summary-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.lights-summary-card li { position: relative; padding-left: 1.15rem; color: var(--ink-dim); line-height: 1.55; }
.lights-summary-card li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 999px;
	background: var(--accent);
}

/* ---------- Lights: scene ---------- */
.lights-scene {
	--cycle: 12s;
	width: 100%;
	max-width: 760px;
	margin: 0.4rem auto;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(19, 19, 22, 0.55);
	overflow: hidden;
}

.lights-scene svg { display: block; width: 100%; height: auto; }

.lt-bezel { fill: #0d0d10; stroke: var(--ink-dim); stroke-width: 1.5; }
.lt-stand { fill: none; stroke: var(--ink-faint); stroke-width: 2; stroke-linecap: round; }
.lt-sky, .lt-bulb, .lt-glow, .lt-wash { fill: var(--lt-color); }
.lt-ground { fill: var(--lt-color); opacity: 0.32; }
.lt-sun { fill: #fff; opacity: 0.8; }
.lt-glow { filter: blur(16px); opacity: 0.5; }
.lt-wash { opacity: 0.09; }
.lt-bulb { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; }
.lt-filament { fill: none; stroke: rgba(0, 0, 0, 0.45); stroke-width: 1.4; stroke-linejoin: round; }
.lt-base { fill: var(--surface-2); stroke: var(--line-strong); }
.lt-cord { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }

.lt-region {
	fill: none;
	stroke: var(--accent);
	stroke-width: 1.2;
	stroke-dasharray: 4 3;
	opacity: 0.35;
	animation: lt-region 2.4s ease-in-out infinite;
}
.lt-region--2 { animation-delay: 0.6s; }
.lt-region--3 { animation-delay: 1.2s; }
.lt-region--4 { animation-delay: 1.8s; }

.lt-path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.lt-flow { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 16; animation: lt-flow 1s linear infinite; }

.lt-label, .lt-rgb { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; fill: var(--ink-dim); text-anchor: middle; }
.lt-label--dim { fill: var(--ink-faint); }
.lt-rgb { font-size: 11px; opacity: 0; animation: lt-rgb var(--cycle) steps(1, end) infinite; }
.lt-rgb--2 { animation-delay: calc(var(--cycle) * 0.25); }
.lt-rgb--3 { animation-delay: calc(var(--cycle) * 0.5); }
.lt-rgb--4 { animation-delay: calc(var(--cycle) * 0.75); }

@keyframes lt-region { 50% { opacity: 0.95; } }
@keyframes lt-flow { to { stroke-dashoffset: -36; } }
@keyframes lt-rgb { 0% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }

/* ---------- Lights: how it works ---------- */
.lights-features { width: 100%; max-width: 760px; margin: 0 auto; }
.lights-feature-log, .bots-log {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

.lights-feature-row,
.bots-row {
	display: grid;
	grid-template-columns: 7rem 1fr;
	gap: 1.25rem;
	padding: 1.05rem 0;
	border-top: 1px solid var(--line);
}

.lights-feature-tag,
.bots-row__tag {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
	padding-top: 0.25rem;
}

.lights-feature-text h3,
.bots-row__text h3 { font-size: 1.1rem; margin: 0 0 0.3rem; color: var(--ink); }
.lights-feature-text p,
.bots-row__text p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink-dim); }
.lights-feature-text code { font-family: var(--font-mono); font-size: 0.85em; color: var(--ink); }

/* ---------- Bots ---------- */
.bots-hero-copy {
	box-sizing: border-box;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.bots-log { width: 100%; max-width: 760px; margin: 0 auto; }

/* ---------- Bots: a channel that actually behaves like one ---------- */
.bots-chat {
	--cycle: 24s;
	text-align: left;
	background: var(--background-color);
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
	font-size: 0.9rem;
}

.bots-chat__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.55rem 0.9rem;
	border-bottom: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.76rem;
	color: var(--ink-dim);
}

.bots-chat__hash { color: var(--ink-faint); margin-right: 0.15rem; }

.bots-chat__presence { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink-faint); }
.bots-chat__presence i {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #43b581;
	animation: bots-online 2s ease-in-out infinite;
}
@keyframes bots-online { 50% { box-shadow: 0 0 0 4px rgba(67, 181, 129, 0.2); } }

.bots-chat__stage { display: grid; padding: 0.9rem 1rem 0.4rem; min-height: 9.4rem; }

.bots-chat__ex {
	grid-area: 1 / 1;
	display: grid;
	align-content: start;
	gap: 0.8rem;
	opacity: 0;
	animation: bots-ex var(--cycle) ease-out infinite;
	animation-delay: calc(var(--cycle) * var(--i) / 6);
}

.bots-chat__msg { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.7rem; }

.bots-av {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 0.8rem;
	color: #0a0a0b;
}
.bots-av--me { background: #e8e8ee; }
.bots-av--bot { background: var(--accent); }

.bots-chat__who { font-weight: 700; color: var(--ink); margin-right: 0.5rem; }
.bots-chat__time { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-faint); }
.bots-chat__tag {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.08rem 0.32rem;
	border-radius: 3px;
	background: var(--accent);
	color: #0a0a0b;
	vertical-align: 0.1em;
}
.bots-chat__body p { margin: 0.15rem 0 0; color: var(--ink-dim); }
.bots-chat__body code { font-family: var(--font-mono); color: var(--accent); }

.bots-chat__slot { display: grid; }
.bots-chat__typing,
.bots-chat__reply { grid-area: 1 / 1; }

.bots-chat__typing {
	display: grid;
	grid-template-columns: 2rem auto;
	align-items: center;
	gap: 0.7rem;
	opacity: 0;
	animation: bots-typing var(--cycle) linear infinite;
	animation-delay: calc(var(--cycle) * var(--i) / 6);
}

.bots-chat__dots {
	display: inline-flex;
	gap: 0.28rem;
	padding: 0.45rem 0.65rem;
	border-radius: 999px;
	background: var(--surface-2);
}
.bots-chat__dots i {
	width: 0.38rem;
	height: 0.38rem;
	border-radius: 50%;
	background: var(--ink-dim);
	animation: bots-bounce 0.9s ease-in-out infinite;
}
.bots-chat__dots i:nth-child(2) { animation-delay: 0.15s; }
.bots-chat__dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bots-bounce { 40% { transform: translateY(-4px); opacity: 1; } 0%, 80%, 100% { transform: none; opacity: 0.55; } }

.bots-chat__reply {
	opacity: 0;
	animation: bots-reply var(--cycle) ease-out infinite;
	animation-delay: calc(var(--cycle) * var(--i) / 6);
}

.bots-embed {
	display: flex;
	gap: 0.7rem;
	max-width: 30rem;
	margin-top: 0.35rem;
	padding: 0.55rem 0.7rem;
	background: var(--surface-1);
	border-radius: 4px;
}
.bots-embed i { flex-shrink: 0; width: 3px; border-radius: 2px; background: var(--accent); }
.bots-embed b { display: block; color: var(--ink); font-size: 0.88rem; }
.bots-embed span { color: var(--ink-dim); font-size: 0.82rem; }

.bots-chat__progress { display: flex; justify-content: center; gap: 0.4rem; padding: 0.4rem 0 0.85rem; }
.bots-chat__progress i {
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--line-strong);
	animation: bots-pip var(--cycle) steps(1, end) infinite;
	animation-delay: calc(var(--cycle) * var(--i) / 6);
}

/* each exchange owns one sixth of the cycle: command → typing dots → reply */
@keyframes bots-ex {
	0%      { opacity: 0; transform: translateY(6px); }
	1%      { opacity: 1; transform: translateY(0); }
	15.5%   { opacity: 1; transform: translateY(0); }
	16.667%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes bots-typing {
	0%, 1.5% { opacity: 0; }
	2.5%, 6% { opacity: 1; }
	6.5%, 100% { opacity: 0; }
}
@keyframes bots-reply {
	0%, 6%  { opacity: 0; transform: translateY(5px); }
	7.2%    { opacity: 1; transform: translateY(0); }
	15.5%   { opacity: 1; transform: translateY(0); }
	16.667%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes bots-pip {
	0%      { background: var(--accent); }
	16.667%, 100% { background: var(--line-strong); }
}

/* ---------- Bots: at a glance + the list ---------- */
.bots-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
}

.bots-metric {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--surface-1);
	text-align: center;
}

.bots-metric__value {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--accent);
}

.bots-metric__label { font-size: 0.82rem; line-height: 1.3; color: var(--ink-dim); }

.bots-row {
	grid-template-columns: 7rem minmax(0, 1fr) auto;
	align-items: start;
	transition: background-color 0.25s ease;
}

.bots-row__cmds { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem; padding-top: 0.15rem; }

.bots-row__cmds code {
	font-family: var(--font-mono);
	font-size: 0.74rem;
	padding: 0.18rem 0.5rem;
	border: 1px solid var(--line-strong);
	border-radius: 4px;
	color: var(--ink-dim);
	transition: border-color 0.25s ease, color 0.25s ease;
}

.bots-row:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.bots-row:hover .bots-row__cmds code { border-color: var(--accent); color: var(--ink); }

/* rows slide in one after another */
.bots-row { opacity: 0; transform: translateX(-14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease; }
#bots-experience.bots-visible .bots-row { opacity: 1; transform: translateX(0); }
#bots-experience.bots-visible .bots-row:nth-child(1) { transition-delay: 0.35s, 0.35s, 0s; }
#bots-experience.bots-visible .bots-row:nth-child(2) { transition-delay: 0.43s, 0.43s, 0s; }
#bots-experience.bots-visible .bots-row:nth-child(3) { transition-delay: 0.51s, 0.51s, 0s; }
#bots-experience.bots-visible .bots-row:nth-child(4) { transition-delay: 0.59s, 0.59s, 0s; }
#bots-experience.bots-visible .bots-row:nth-child(5) { transition-delay: 0.67s, 0.67s, 0s; }
#bots-experience.bots-visible .bots-row:nth-child(6) { transition-delay: 0.75s, 0.75s, 0s; }
#bots-experience.bots-visible .bots-row:nth-child(7) { transition-delay: 0.83s, 0.83s, 0s; }

/* ---------- reveal ---------- */
.lights-content-shell > *,
.bots-content-shell > * {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

#lights-experience.lights-visible .lights-content-shell > *,
#bots-experience.bots-visible .bots-content-shell > * {
	opacity: 1;
	transform: translateY(0);
}

#lights-experience.lights-visible .lights-content-shell > *:nth-child(2) { transition-delay: 0.12s; }
#lights-experience.lights-visible .lights-content-shell > *:nth-child(3) { transition-delay: 0.24s; }
#lights-experience.lights-visible .lights-content-shell > *:nth-child(4) { transition-delay: 0.36s; }
#bots-experience.bots-visible .bots-content-shell > *:nth-child(2) { transition-delay: 0.12s; }
#bots-experience.bots-visible .bots-content-shell > *:nth-child(3) { transition-delay: 0.24s; }

/* pause off-screen */
#lights-experience:not(.lights-visible) .lights-scene *,
#bots-experience:not(.bots-visible) .bots-chat * {
	animation-play-state: paused;
}

@media (max-width: 768px) {
	.lights-hero-grid { grid-template-columns: 1fr; }
	.lights-feature-row, .bots-row { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.9rem; }
	.bots-row__cmds { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 560px) {
	.bots-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.lt-label { font-size: 17px; }
	.lt-label--dim { display: none; }
	.lt-rgb { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.lights-scene * { animation-play-state: paused !important; animation-delay: calc(var(--cycle) * -0.1) !important; }
	.lights-content-shell > *, .bots-content-shell > * { opacity: 1; transform: none; transition: none; }
	.bots-glow::before { animation: none; }
	.bots-chat * { animation: none !important; }
	.bots-chat__ex { opacity: 1; }
	.bots-chat__ex:not(:first-child) { display: none; }
	.bots-chat__typing { display: none; }
	.bots-chat__reply { opacity: 1; }
	.bots-row { opacity: 1; transform: none; }
}

/* ===========================================================
   Lights — expanded: metrics, weather mode, captions
   =========================================================== */
.lights-intro-text { display: grid; gap: 0.8rem; }

.lights-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
}

.lights-metric {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--surface-1);
	text-align: center;
}

.lights-metric__value {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--accent);
}

.lights-metric__label { font-size: 0.82rem; line-height: 1.3; color: var(--ink-dim); }

.lights-scene figcaption,
.lights-weather figcaption {
	padding: 0.7rem 1rem;
	border-top: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 0.74rem;
	text-align: left;
	color: var(--ink-faint);
}

.lights-summary-card li b { color: var(--ink); font-weight: 600; }

/* weather mode: the sky decides the colour */
.lights-weather {
	--cycle: 16s;
	width: 100%;
	max-width: 760px;
	margin: 0.4rem auto;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: rgba(19, 19, 22, 0.55);
	overflow: hidden;
	animation: wx-cycle var(--cycle) linear infinite;
}

.lights-weather svg { display: block; width: 100%; height: auto; }

@keyframes wx-cycle {
	0%, 22%  { --wx-color: #ffc247; }
	25%, 47% { --wx-color: #9fb3c8; }
	50%, 72% { --wx-color: #3a86ff; }
	75%, 97% { --wx-color: #7a5cff; }
	100%     { --wx-color: #ffc247; }
}

.wx-ink { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wx-ink--fill { fill: var(--ink); stroke: none; }

.wx-glyph, .wx-name { opacity: 0; animation: wx-vis var(--cycle) steps(1, end) infinite; }
.wx-glyph--2, .wx-name--2 { animation-delay: calc(var(--cycle) * 0.25); }
.wx-glyph--3, .wx-name--3 { animation-delay: calc(var(--cycle) * 0.5); }
.wx-glyph--4, .wx-name--4 { animation-delay: calc(var(--cycle) * 0.75); }
@keyframes wx-vis { 0% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }

.wx-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; fill: var(--ink-dim); text-anchor: middle; }

.wx-wall { fill: #0d0d10; stroke: var(--ink-dim); stroke-width: 1.5; }
.wx-wall-sky { fill: var(--wx-color); opacity: 0.85; }
.wx-wall-land { fill: var(--wx-color); opacity: 0.25; }
.wx-bulb { fill: var(--wx-color); stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; }
.wx-glow { fill: var(--wx-color); filter: blur(14px); opacity: 0.5; }

/* pause off-screen (the live colour itself is an animation on the section) */
#lights-experience:not(.lights-visible) .lights-glow,
#lights-experience:not(.lights-visible) .lights-content-shell,
#lights-experience:not(.lights-visible) .lights-weather,
#lights-experience:not(.lights-visible) .lights-weather * {
	animation-play-state: paused;
}

@media (max-width: 860px) {
	.lights-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.wx-name { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
	#lights-experience .lights-glow,
	#lights-experience .lights-content-shell,
	.lights-weather { animation: none; }
	.lights-weather * { animation-play-state: paused !important; animation-delay: 0s !important; }
	.wx-glyph--1, .wx-name--1 { opacity: 1; }
}
