/* Lights-on call to action: flip the switch (added by assets/js/site.js) and the house lights up */
.pf-lights { position: relative; background: var(--wp--preset--color--night); color: var(--wp--preset--color--base); overflow: hidden; padding: clamp(90px, 11vw, 150px) clamp(1.25rem, 3.5vw, 3rem); transition: background-color 1s; }
.pf-lights::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 75% 70%, rgba(255, 190, 61, 0.55), rgba(255, 190, 61, 0.12) 45%, transparent 70%); opacity: 0; transition: opacity 1.2s var(--wp--custom--ease); pointer-events: none; }
.pf-lights.on::before { opacity: 1; }
.pf-lights .pf-lights__in { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; max-width: 1280px; margin: 0 auto; }
.pf-lights .pf-lights__in > * { margin: 0; }
.pf-lights .pf-lights__text > * { margin: 0; }
.pf-lights .pf-lights__swap { display: grid; }
.pf-lights .pf-lights__swap > * { grid-area: 1 / 1; margin: 0; transition: opacity 0.35s, transform 0.6s var(--wp--custom--ease); font-size: clamp(2.4rem, 5.2vw, 4.6rem); max-width: 13ch; color: var(--wp--preset--color--base); }
.pf-lights .pf-lights__b { opacity: 0; transform: translateY(20px); pointer-events: none; }
.pf-lights.is-enhanced .pf-lights__a { transition-delay: 0.3s; }
.pf-lights.on .pf-lights__a { opacity: 0; transform: translateY(-20px); transition-delay: 0s; }
.pf-lights.on .pf-lights__b { opacity: 1; transform: none; transition-delay: 0.3s; pointer-events: auto; }
.pf-lights .pf-lights__lede { margin-top: 18px; color: var(--wp--preset--color--muted-light); max-width: 46ch; font-size: 1.1rem; }
.pf-lights .pf-switch { display: flex; align-items: center; gap: 16px; margin-top: 34px; font-weight: 700; }
.pf-lights .pf-switch button { position: relative; width: 84px; height: 46px; border-radius: 999px; background: rgba(202, 219, 255, 0.18); border: 1.5px solid rgba(202, 219, 255, 0.4); cursor: pointer; transition: background-color 0.5s, border-color 0.5s; }
.pf-lights .pf-switch button::after { content: ""; position: absolute; left: 5px; top: 5px; width: 33px; height: 33px; border-radius: 50%; background: var(--wp--preset--color--base); transition: transform 0.6s cubic-bezier(0.3, 1.5, 0.5, 1), background-color 0.4s, box-shadow 0.4s; }
.pf-lights .pf-switch button[aria-checked="true"] { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
.pf-lights .pf-switch button[aria-checked="true"]::after { transform: translateX(38px); box-shadow: 0 0 18px rgba(255, 255, 255, 0.9); }
.pf-lights .pf-switch span { font-family: var(--wp--preset--font-family--hand); font-size: 1.15rem; font-weight: 400; }
.pf-lights .pf-lights__actions { margin-top: 30px; }
.pf-lights .pf-lights__house { width: 100%; max-width: 480px; justify-self: end; display: none; }
.pf-lights.is-enhanced .pf-lights__house { display: block; }
.pf-lights .pf-lights__house .lw { fill: #1b2a55; transition: fill 0.8s, filter 0.8s; }
.pf-lights.on .pf-lights__house .lw { fill: var(--wp--preset--color--accent); filter: drop-shadow(0 0 14px rgba(255, 190, 61, 0.95)); }
.pf-lights.on .pf-lights__house .lw:nth-of-type(2) { transition-delay: 0.12s; }
.pf-lights.on .pf-lights__house .lw:nth-of-type(3) { transition-delay: 0.24s; }
.pf-lights.on .pf-lights__house .lw:nth-of-type(4) { transition-delay: 0.36s; }
.pf-lights .pf-lights__house .cross { fill: #2b3a66; transition: fill 0.8s, filter 0.8s; }
.pf-lights.on .pf-lights__house .cross { fill: var(--wp--preset--color--success); filter: drop-shadow(0 0 10px rgba(24, 168, 116, 0.9)); }
@media (max-width: 900px) {
	.pf-lights .pf-lights__in { grid-template-columns: 1fr; }
	.pf-lights .pf-lights__house { justify-self: center; max-width: 340px; }
}
