/*
Theme Name: Porchlight
Description: Local service marketplace theme.
Version: 1.0.0
*/

@font-face { font-family: "Young Serif"; src: url("fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    --dusk: #23244a;
    --dusk-2: #34366c;
    --paper: #faf5ec;
    --card: #fffdf8;
    --ink: #1f1d2b;
    --ink-soft: #4b4858;
    --ink-faint: #6a6676;
    --line: #e7dfd0;
    --amber: #f2a33a;
    --amber-glow: rgba(242, 163, 58, .55);
    --amber-text: #8f4c06;
    --sage: #5f7f5b;
    --brick: #9c3f2b;
    --teal: #2a6f71;
    --mustard: #a87d16;
    --plum: #6b3f63;
    --navy: #2f3e66;
    --serif: "Young Serif", Georgia, serif;
    --sans: "Hanken Grotesk", system-ui, sans-serif;
    --g: 8px;
    --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.05rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 calc(var(--g) * 2); letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
p { margin: 0 0 calc(var(--g) * 2); }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: var(--dusk); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 74rem; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: 16px; top: -100px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 50; border-radius: 8px; }
.skip:focus { top: 16px; }

/* header */
.masthead { background: var(--dusk); color: #fff; position: sticky; top: 0; z-index: 20; }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.45rem; color: inherit; text-decoration: none; margin: 0; }
.logo:hover { color: inherit; }
.logo__bulb { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 163, 58, .22), 0 0 18px 4px var(--amber-glow); }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.nav a { color: #eceaf7; text-decoration: none; font-weight: 500; }
.nav a:hover { color: #fff; text-decoration: underline; }
.nav__cta { background: var(--amber); color: var(--ink) !important; padding: 9px 16px; border-radius: 999px 999px 999px 4px; font-weight: 700 !important; text-decoration: none !important; }
.nav__cta:hover { background: #ffb95c; }

/* buttons */
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 12px 22px; font: inherit; font-weight: 700; background: var(--dusk); color: #fff; border: 2px solid var(--dusk); border-radius: 10px; text-decoration: none; cursor: pointer; }
.pl-btn:hover { background: var(--dusk-2); border-color: var(--dusk-2); color: #fff; }
.pl-btn--ghost { background: transparent; color: var(--dusk); }
.pl-btn--ghost:hover { background: var(--dusk); color: #fff; }
.pl-btn--small { min-height: 40px; padding: 8px 14px; font-size: .95rem; }

/* hero */
.hero {
    position: relative;
    background-color: var(--dusk);
    isolation: isolate;
    color: #fff;
    overflow: hidden;
    padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 10vw, 128px);
}
.hero__photo { position: absolute; inset: -12% 0 -12% 0; z-index: -2; background: url("img/hero.jpg") right center / cover no-repeat; transform: translate3d(0, var(--bg-shift, 0px), 0) scale(1.06); animation: hero-drift 26s ease-in-out infinite alternate; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23, 23, 52, .96) 0%, rgba(23, 23, 52, .88) 38%, rgba(23, 23, 52, .35) 70%, rgba(23, 23, 52, .15) 100%); pointer-events: none; }
@keyframes hero-drift { from { background-position: 100% 45%; scale: 1; } to { background-position: 88% 55%; scale: 1.08; } }
.fireflies { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fireflies i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 12px 5px rgba(255, 196, 92, .8); opacity: 0; animation: firefly 7s ease-in-out infinite; }
.fireflies i:nth-child(1) { left: 58%; top: 62%; animation-delay: 0s; }
.fireflies i:nth-child(2) { left: 66%; top: 48%; animation-delay: 1.1s; animation-duration: 8s; }
.fireflies i:nth-child(3) { left: 74%; top: 70%; animation-delay: 2.3s; }
.fireflies i:nth-child(4) { left: 82%; top: 40%; animation-delay: .6s; animation-duration: 9s; }
.fireflies i:nth-child(5) { left: 90%; top: 64%; animation-delay: 3.1s; }
.fireflies i:nth-child(6) { left: 62%; top: 80%; animation-delay: 4.2s; animation-duration: 6.5s; }
.fireflies i:nth-child(7) { left: 78%; top: 56%; animation-delay: 5s; }
.fireflies i:nth-child(8) { left: 94%; top: 30%; animation-delay: 1.8s; animation-duration: 8.5s; }
.fireflies i:nth-child(9) { left: 70%; top: 34%; animation-delay: 3.7s; }
.fireflies i:nth-child(10) { left: 86%; top: 78%; animation-delay: 2.6s; animation-duration: 7.5s; }
.fireflies i:nth-child(11) { left: 54%; top: 44%; animation-delay: 5.6s; }
.fireflies i:nth-child(12) { left: 96%; top: 52%; animation-delay: .3s; animation-duration: 6s; }
@keyframes firefly {
    0% { opacity: 0; transform: translate(0, 0); }
    20% { opacity: 1; }
    45% { opacity: .2; transform: translate(18px, -26px); }
    60% { opacity: 1; transform: translate(-10px, -40px); }
    100% { opacity: 0; transform: translate(14px, -70px); }
}
.hero__inner { position: relative; z-index: 1; max-width: 74rem; transform: translateY(var(--fg-shift, 0px)); opacity: var(--fg-fade, 1); will-change: transform; }
.hero h1 { max-width: 15ch; font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.1rem); }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: #f4e6cf; }
.hero__lede { max-width: 34rem; font-size: 1.2rem; color: #e9e6f3; }
.hero__search { max-width: 36rem; margin-top: calc(var(--g) * 4); }
.hero__search label { display: block; font-weight: 700; margin-bottom: 8px; }
.hero__field { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 14px; }
.hero__field input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.05rem; padding: 10px 12px; color: var(--ink); background: transparent; border-radius: 10px; }
.hero__field input:focus-visible { outline: 3px solid var(--amber); outline-offset: 0; }
.hero__field .pl-btn { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.hero__field .pl-btn:hover { background: #ffb95c; border-color: #ffb95c; }

/* porch light */
.porch__bulb { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(242, 163, 58, .25), 0 0 14px 3px var(--amber-glow); flex: none; }
.is-dark .porch__bulb { background: #b9b4c4; box-shadow: none; }
.porch__light { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--amber-text); }
.is-dark .porch__light, .porch__light.is-dark { color: var(--ink-faint); }

/* page blocks */
.page-content > h2 { margin-top: calc(var(--g) * 8); }
.page-content > p { max-width: 40rem; color: var(--ink-soft); }
.pagewrap { padding-top: calc(var(--g) * 6); padding-bottom: calc(var(--g) * 10); }
.page__title { margin-bottom: calc(var(--g) * 3); }

/* the street */
.street { list-style: none; margin: calc(var(--g) * 3) 0 calc(var(--g) * 6); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: calc(var(--g) * 3); }
.porch { --door: var(--sage); position: relative; background: var(--card); border-radius: var(--radius) var(--radius) 6px 6px; border: 1px solid var(--line); border-bottom: 6px solid var(--door); box-shadow: 0 1px 0 rgba(0, 0, 0, .03); transition: transform .2s ease, box-shadow .2s ease; }
.porch:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(35, 36, 74, .45); }
.porch--brick { --door: var(--brick); } .porch--teal { --door: var(--teal); } .porch--mustard { --door: var(--mustard); } .porch--plum { --door: var(--plum); } .porch--navy { --door: var(--navy); }
.porch__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.porch__photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--line); }
.porch__photo img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; transition: transform .1s linear; }
.porch.is-lit .porch__photo::after { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 3 / 2; border-radius: var(--radius) var(--radius) 0 0; background: radial-gradient(60% 55% at 85% 0%, rgba(242, 163, 58, .28), transparent 70%); pointer-events: none; }
.porch__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.porch__title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.porch__link:hover .porch__title { text-decoration: underline; text-underline-offset: .15em; }
.porch__meta { color: var(--ink-soft); font-size: .95rem; }
.porch__price { margin-top: 6px; font-weight: 700; font-size: 1.15rem; }
.porch__price small { font-weight: 400; color: var(--ink-faint); font-size: .9rem; }

/* doors */
.doors { list-style: none; margin: calc(var(--g) * 3) 0 calc(var(--g) * 6); padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: calc(var(--g) * 2); align-items: end; }
.door { --door: var(--sage); }
.door--brick { --door: var(--brick); } .door--teal { --door: var(--teal); } .door--mustard { --door: var(--mustard); } .door--plum { --door: var(--plum); } .door--navy { --door: var(--navy); }
.door a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 5 / 9; padding: 18px 16px; background: var(--door); color: #fff; text-decoration: none; border-radius: 10px 10px 2px 2px; border: 6px solid #fffdf8; outline: 1px solid var(--line); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14), inset 0 -40px 60px -30px rgba(0, 0, 0, .35); transition: transform .25s ease; transform-origin: left center; }
.door a::before { content: ""; position: absolute; inset: 14px 14px 46% 14px; border: 2px solid rgba(255, 255, 255, .22); border-radius: 4px; }
.door a:hover { transform: perspective(600px) rotateY(-14deg); }
.door__knob { position: absolute; right: 14px; top: 56%; width: 10px; height: 10px; border-radius: 50%; background: #f0d28a; box-shadow: 0 0 0 2px rgba(0, 0, 0, .15); }
.door__name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
.door__count { font-size: .85rem; color: rgba(255, 255, 255, .88); }

/* invite */
.invite { margin: calc(var(--g) * 8) 0 calc(var(--g) * 10); padding: clamp(24px, 4vw, 48px); background: var(--dusk); color: #fff; border-radius: 24px 24px 24px 6px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.invite h2 { margin-bottom: 8px; color: #fff; }
.invite p { color: #e2dff0; margin: 0; max-width: 40rem; }
.invite a { color: var(--amber); font-weight: 700; }

/* forms */
.pl-form label, .pl-filter label { display: block; font-weight: 700; margin-bottom: 6px; }
.pl-form input[type=text], .pl-form input[type=email], .pl-form input[type=password], .pl-form input[type=number], .pl-form input[type=date], .pl-form select, .pl-form textarea, .pl-filter input, .pl-filter select {
    display: block; width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #cfc6b5; border-radius: 10px; padding: 10px 12px; min-height: 48px;
}
.pl-form input:focus-visible, .pl-form select:focus-visible, .pl-form textarea:focus-visible, .pl-filter input:focus-visible, .pl-filter select:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--dusk); }
.pl-form input[type=file] { font: inherit; width: 100%; }
.pl-form--narrow { max-width: 30rem; }
.pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pl-opt { font-weight: 400; color: var(--ink-faint); }
.pl-small { font-size: .95rem; color: var(--ink-soft); margin-top: 16px; }
.pl-actions { display: flex; align-items: center; gap: 16px; }
.pl-choose { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.pl-choose legend { font-weight: 700; margin-bottom: 8px; }
.pl-choice { display: flex !important; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 2px solid var(--line); border-radius: 12px; font-weight: 400 !important; cursor: pointer; }
.pl-choice:has(input:checked) { border-color: var(--dusk); box-shadow: inset 4px 0 0 var(--amber); }
.pl-choice input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--dusk); }
.pl-choice strong { display: block; }
.pl-filter { display: grid; grid-template-columns: 2fr 1fr auto; gap: 16px; align-items: end; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pl-filter p { margin: 0; }
.pl-count { margin-top: 20px; color: var(--ink-soft); }
.pl-empty { padding: 20px; border: 2px dashed var(--line); border-radius: 12px; color: var(--ink-soft); }
.pl-notice, .pl-error { padding: 14px 18px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; }
.pl-notice { background: #fdf0d9; border: 1px solid #f0c27a; color: #5b3305; }
.pl-error { background: #fbe3dd; border: 1px solid #e4a091; color: #7c2412; }
.pl-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); max-width: 44rem; }

/* service page */
.service { padding-top: 24px; padding-bottom: 80px; }
.crumbs { font-size: .95rem; color: var(--ink-soft); }
.service__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.service__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.service__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); }
.service__desc { font-size: 1.1rem; max-width: 40rem; }
.service__side { position: sticky; top: 92px; display: grid; gap: 20px; }
.price-tag { font-family: var(--serif); }
.price-tag__num { font-size: 2.6rem; line-height: 1; }
.pl-ask { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--amber); border-radius: var(--radius); padding: 20px; }
.pl-ask h2 { font-size: 1.5rem; }
.provider { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 20px; background: #f3ecdf; border-radius: var(--radius); }
.provider p { margin: 0; }
.provider__face { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--dusk); color: var(--amber); font-family: var(--serif); font-size: 1.2rem; }
.provider__name { font-weight: 700; }
.provider__since { font-size: .9rem; color: var(--ink-soft); }
.provider__bio, .provider__more, .provider__list { grid-column: 1 / -1; }
.provider__bio { margin-top: 8px !important; color: var(--ink-soft); }
.provider__more { font-weight: 700; margin-top: 8px !important; }
.provider__list { margin: 0; padding-left: 1.1rem; }
.reviews { margin-top: 48px; }
.reviews ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.reviews li { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.reviews li p { margin: 0; }
.reviews__who { margin-top: 8px !important; color: var(--ink-soft); font-size: .95rem; }
.sample-tag { display: inline-block; vertical-align: middle; font-family: var(--sans); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #5b3305; background: #fdf0d9; border: 1px solid #f0c27a; padding: 2px 8px; border-radius: 999px; }

/* dashboard */
.pl-dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.pl-hello { font-family: var(--serif); font-size: 1.6rem; margin: 0; }
.pl-role { color: var(--ink-soft); margin: 0; }
.pl-lightswitch { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 20px; border-radius: var(--radius); background: #ecebf3; border: 1px solid #d6d4e4; margin-bottom: 32px; }
.pl-lightswitch:not(.is-lit) .porch__bulb { background: #b9b4c4; box-shadow: none; }
.pl-lightswitch.is-lit { background: #fdf0d9; border-color: #f0c27a; }
.pl-lightswitch span:nth-child(5) { flex: 1; min-width: 14rem; }
.pl-section { margin-bottom: 40px; }
.pl-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.pl-section__head h2, .pl-section > h2 { margin: 0; font-size: 1.6rem; }
.pl-section > h2 { margin-bottom: 12px; }
.pl-badge { font-family: var(--sans); font-size: .85rem; font-weight: 700; background: var(--amber); color: var(--ink); padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
.pl-requests, .pl-mylist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pl-request { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-left: 6px solid #cfc6b5; border-radius: 12px; }
.pl-request--pending { border-left-color: var(--amber); }
.pl-request--accepted { border-left-color: var(--sage); }
.pl-request--declined { border-left-color: var(--brick); }
.pl-request p { margin: 0; }
.pl-request__title { font-weight: 700; font-size: 1.1rem; }
.pl-request__meta { color: var(--ink-soft); font-size: .95rem; }
.pl-request__note { margin-top: 6px !important; }
.pl-request__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pl-status { font-size: .85rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f3ecdf; color: var(--ink-soft); white-space: nowrap; }
.pl-status--pending { background: #fdf0d9; color: #5b3305; }
.pl-status--accepted { background: #e2ecdf; color: #2c4a29; }
.pl-status--declined { background: #fbe3dd; color: #7c2412; }
.pl-inline { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin: 0; }
.pl-demo { font-weight: 400; font-size: .85rem; opacity: .9; }
.pl-paid { font-size: .9rem; font-weight: 700; color: #2c4a29; }
.pl-mylist li { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.pl-mylist li a:first-child { font-weight: 700; flex: 1; min-width: 12rem; }
.pl-mylist li span { color: var(--ink-soft); }
.pl-lede { font-size: 1.15rem; color: var(--ink-soft); }

/* footer */
.foot { background: var(--dusk); color: #d9d6ea; padding: 48px 0; }
.foot__inner { display: grid; gap: 12px; }
.foot .logo { color: #fff; }
.foot p { margin: 0; }
.foot__links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__links a { color: #fff; }

@media (max-width: 60rem) {
    .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service__grid { grid-template-columns: minmax(0, 1fr); }
    .service__side { position: static; }
}
@media (max-width: 40rem) {
    .hero::after { background: linear-gradient(180deg, rgba(23, 23, 52, .82), rgba(23, 23, 52, .92)); }
    .hero__photo { background-position: 70% center; }
    .hero__field { flex-direction: column; }
    .pl-filter, .pl-row { grid-template-columns: minmax(0, 1fr); }
    .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-request { grid-template-columns: minmax(0, 1fr); }
    .pl-request__side { align-items: flex-start; }
    .pl-inline { justify-content: flex-start; }
    .invite { grid-template-columns: minmax(0, 1fr); }
}
/* motion */
@keyframes bulb-on {
    0% { background: #b9b4c4; box-shadow: none; }
    18% { background: var(--amber); box-shadow: 0 0 0 3px rgba(242, 163, 58, .25), 0 0 16px 4px var(--amber-glow); }
    28% { background: #b9b4c4; box-shadow: none; }
    46%, 100% { background: var(--amber); box-shadow: 0 0 0 3px rgba(242, 163, 58, .25), 0 0 14px 3px var(--amber-glow); }
}
@keyframes bulb-breathe {
    0%, 100% { box-shadow: 0 0 0 3px rgba(242, 163, 58, .22), 0 0 10px 2px rgba(242, 163, 58, .45); }
    50% { box-shadow: 0 0 0 5px rgba(242, 163, 58, .3), 0 0 22px 7px rgba(242, 163, 58, .7); }
}
.porch.is-lit .porch__bulb, .pl-lightswitch.is-lit .porch__bulb, .porch__light.is-lit .porch__bulb { animation: bulb-breathe 2.6s ease-in-out infinite; }
@keyframes glow-in { from { opacity: 0; } to { opacity: 1; } }
.hero__kicker .porch__bulb, .logo__bulb { animation: bulb-on 1.4s .3s both, bulb-breathe 2.6s 1.8s ease-in-out infinite; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease var(--delay, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .porch.is-lit.reveal .porch__bulb { background: #b9b4c4; box-shadow: none; }
.js .porch.is-lit.reveal.is-in .porch__bulb { animation: bulb-on 1.2s calc(var(--delay, 0ms) + 450ms) both, bulb-breathe 2.6s calc(var(--delay, 0ms) + 1650ms) ease-in-out infinite; }
.js .porch.is-lit.reveal .porch__photo::after { opacity: 0; }
.js .porch.is-lit.reveal.is-in .porch__photo::after { animation: glow-in .9s calc(var(--delay, 0ms) + 700ms) both; }
.js .door.reveal { transform: translateY(28px) perspective(600px) rotateY(-24deg); transform-origin: left center; }
.js .door.reveal.is-in { transform: none; }
.js .reveal.is-in .porch:hover, .js .porch.reveal.is-in:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
    .porch, .door a { transition: none; }
    .hero__kicker .porch__bulb, .logo__bulb, .porch__bulb, .hero__photo, .fireflies i { animation: none !important; }
    .fireflies { display: none; }
    .porch__photo img { transform: none; }
    .porch:hover, .door a:hover { transform: none; }
}
