/* Radiant Lights USA — built on Homshi. Midnight + warm amber; light is drawn with SVG, not photos. */
:root {
  --night: #0b0d1a; --night-2: #12152a; --night-3: #1b1f38; --line-d: #2a2f52;
  --amber: #f2b544; --amber-2: #e09a1f; --glow: #ffe2a3; --cream: #faf6ee; --paper: #fffdf8;
  --ink: #12152a; --text: #3d4058; --muted: #6d7090; --line: #e9e3d6;
  --r: 14px; --r-lg: 22px; --shadow: 0 10px 30px rgba(11, 13, 26, .10); --shadow-lg: 0 30px 80px rgba(0, 0, 0, .45);
  --serif: Fraunces, Georgia, serif; --sans: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--text); background: var(--paper); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); } h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); } h3 { font-size: 1.3rem; }
em { font-style: italic; font-weight: 400; color: var(--amber); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; } .narrow { width: min(860px, 100% - 40px); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber-2); margin-bottom: 14px; }
.lead { font-size: 1.2rem; }
.note { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; font-family: var(--sans); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-glow { background: linear-gradient(135deg, var(--glow), var(--amber)); color: var(--night); box-shadow: 0 0 0 0 rgba(242, 181, 68, .5), 0 10px 30px rgba(242, 181, 68, .35); }
.btn-glow:hover { box-shadow: 0 0 40px rgba(242, 181, 68, .55); }
.btn-line-light { border-color: rgba(255, 255, 255, .35); color: #fff; } .btn-line-light:hover { border-color: var(--amber); color: var(--glow); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; } .btn-line:hover { border-color: var(--amber); }
.btn-dark { background: var(--night); color: #fff; }

/* header */
header.site { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
header.site.solid { background: rgba(11, 13, 26, .86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-d); }
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
header.site .brand { flex-shrink: 0; } header.site .wrap { width: min(1440px, 100% - 40px); } /* the logo never gives way to a long menu */
.brand-word { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 600 1.35rem/1 var(--serif); }
.brand-word b { font: 600 .66rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--amber); margin-left: 8px; vertical-align: middle; }
.brand-word.lg { font-size: 1.6rem; } .brand-word .mark { filter: drop-shadow(0 0 10px rgba(242, 181, 68, .7)); }
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main > a, .dd > a { color: #d8d9e8; padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .96rem; }
nav.main > a:hover, .dd > a:hover, nav.main [aria-current] { color: #fff; background: rgba(255, 255, 255, .07); }
.dd { position: relative; } .caret { font-size: .7em; opacity: .7; }
.dd-menu { position: absolute; top: 100%; left: -20px; width: 420px; background: var(--night-2); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #fff; font-weight: 600; font-size: .95rem; }
.dd-menu a:hover { background: var(--night-3); } .dd-menu svg { color: var(--amber); flex: none; margin-top: 3px; }
.dd-menu small { display: block; color: #9a9db8; font-weight: 400; font-size: .82rem; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; } .phone svg { color: var(--amber); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* hero */
.hero, .page-hero { position: relative; background: var(--night); color: #c9cbe0; overflow: hidden; isolation: isolate; }
.hero { padding: 150px 0 110px; min-height: 92vh; display: flex; align-items: center; }
.page-hero { padding: 140px 0 80px; } .page-hero.slim { padding: 150px 0 70px; }
.hero h1, .page-hero h1 { color: #fff; } .hero .lead, .page-hero .lead { color: #b9bcd6; max-width: 34em; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.rays { position: absolute; inset: -20% -10% auto auto; width: 90%; height: 140%;
  background: conic-gradient(from 200deg at 85% 0%, transparent 0deg, rgba(255, 226, 163, .16) 12deg, transparent 22deg, rgba(255, 226, 163, .1) 34deg, transparent 46deg, rgba(255, 226, 163, .12) 60deg, transparent 75deg);
  filter: blur(6px); animation: sway 14s ease-in-out infinite alternate; }
.glow-orb { position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 163, .55), rgba(242, 181, 68, .18) 40%, transparent 70%); filter: blur(20px); animation: breathe 7s ease-in-out infinite; pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
@keyframes sway { to { transform: rotate(-6deg) translateX(-3%); } }
@keyframes breathe { 50% { opacity: .7; transform: scale(1.06); } }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero .hero-grid { grid-template-columns: 1.15fr .85fr; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 8px; color: #d6d8ea; font-size: .97rem; }
.hero-points li { display: flex; gap: 10px; align-items: center; } .hero-points svg { color: var(--amber); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--amber); }
.crumbs { font-size: .88rem; color: #8e91ad; margin-bottom: 18px; } .crumbs a:hover { color: var(--glow); }
.hero-card { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 8px; min-height: 420px; position: relative; box-shadow: var(--shadow-lg), 0 0 80px rgba(242, 181, 68, .18); }
.hero-card::before { content: ""; position: absolute; inset: -1px; border-radius: calc(var(--r-lg) + 1px); padding: 1px; background: linear-gradient(135deg, var(--glow), transparent 50%, var(--amber)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero-card homshi-consultation { display: block; min-height: 400px; }
.svc-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(242, 181, 68, .14); color: var(--amber-2); margin-bottom: 14px; }
.svc-ico.big { width: 58px; height: 58px; color: var(--amber); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list .li { display: flex; gap: 14px; align-items: center; color: #fff; font-weight: 600; font-size: 1.1rem; }
.contact-list svg { color: var(--amber); } .contact-list small { display: block; font-weight: 400; color: #9a9db8; font-size: .88rem; }

/* promise strip */
.promise { background: var(--night-2); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); color: #c9cbe0; }
.promise .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.promise .t { display: flex; gap: 14px; align-items: center; } .promise svg { color: var(--amber); flex: none; }
.promise b { display: block; color: #fff; font-weight: 600; } .promise span { font-size: .9rem; }

/* sections */
.s { padding: 110px 0; } .s-soft { background: var(--cream); }
.s-dark { background: var(--night); color: #b9bcd6; } .s-dark h2 { color: #fff; } .s-dark .eyebrow { color: var(--amber); }
.section-head { max-width: 680px; margin-bottom: 56px; } .section-head.center { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .split-top { align-items: start; grid-template-columns: 1.4fr .9fr; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11, 13, 26, .14), 0 0 0 1px var(--amber); border-color: transparent; }
.svc-art { aspect-ratio: 3 / 2; overflow: hidden; background: var(--night); }
.svc-art .scene { width: 100%; height: 100%; transition: transform .6s; } .svc:hover .scene { transform: scale(1.05); }
.svc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body .svc-ico { margin-top: -50px; background: var(--night); color: var(--amber); border: 1px solid var(--line-d); box-shadow: 0 0 20px rgba(242, 181, 68, .3); }
.svc p { font-size: .97rem; color: var(--muted); }
.more { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ink); font-size: .94rem; }
.svc:hover .more { color: var(--amber-2); }

/* scenes */
.scene .beam { animation: flick 6s ease-in-out infinite; animation-delay: var(--d, 0s); transform-origin: top center; }
.scene .bulb { animation: bulb 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes flick { 0%, 100% { opacity: .9; } 50% { opacity: 1; } 52% { opacity: .82; } }
@keyframes bulb { 50% { filter: brightness(1.15); } }

/* dimmer */
.room { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-d); aspect-ratio: 3 / 2; }
.room .scene { width: 100%; height: 100%; transition: filter .3s; }
.room-tint { position: absolute; inset: 0; mix-blend-mode: color; background: var(--tint, transparent); pointer-events: none; transition: background .3s; }
.dial { display: grid; gap: 10px; margin: 26px 0 0; color: #fff; font-weight: 600; }
.dial span { display: flex; justify-content: space-between; } .dial output { color: var(--amber); font-weight: 600; }
.dial input { -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #ff9d3a, #ffd58a, #fff3df, #dfeaff); outline-offset: 6px; }
.dial input[data-bright] { background: linear-gradient(90deg, #22264a, var(--glow)); }
.dial input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--amber); box-shadow: 0 0 18px rgba(242, 181, 68, .8); cursor: pointer; }
.dial input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--amber); cursor: pointer; }
.presets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.presets button { background: var(--night-3); color: #e3e4f0; border: 1px solid var(--line-d); padding: 9px 16px; border-radius: 999px; font: 500 .92rem var(--sans); cursor: pointer; }
.presets button:hover, .presets button[aria-pressed="true"] { border-color: var(--amber); color: var(--glow); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--amber), transparent); }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; }
.steps .n { position: absolute; top: -14px; right: 20px; font: 600 .8rem var(--sans); background: var(--night); color: var(--amber); border-radius: 99px; padding: 6px 11px; }
.steps svg { color: var(--amber-2); margin-bottom: 14px; } .steps p { font-size: .95rem; color: var(--muted); margin: 0; }

/* calculator */
.tool { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; background: #fff; border: 1px solid var(--line); padding: 22px; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.tool label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.tool input, .tool select { font: 500 1rem var(--sans); padding: 12px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; }
.tool input:focus, .tool select:focus { border-color: var(--amber); outline: none; }
.tool-out { margin-top: 20px; }
.calc-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-res div { background: var(--night); color: #b9bcd6; border-radius: var(--r); padding: 20px; text-align: center; }
.calc-res b { display: block; font: 600 2.2rem/1.1 var(--serif); color: var(--glow); text-shadow: 0 0 24px rgba(242, 181, 68, .6); }
.calc-note { margin-top: 14px; font-size: .9rem; color: var(--muted); text-align: center; }

/* prose, faq, chips */
.prose h2 { margin-top: 1.4em; } .prose h3 { margin-top: 1.6em; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 1.2em; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0 35%, rgba(242, 181, 68, .25) 36%); }
.aside-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.aside-art { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; } .aside-art .scene { width: 100%; height: 100%; }
.aside-card .btn { justify-content: center; } .aside-card h3 { margin: 6px 0 0; } .aside-card p { margin: 0; color: var(--muted); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 40px 22px 0; font: 600 1.12rem var(--serif); color: var(--ink); list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font: 300 1.6rem var(--sans); color: var(--amber-2); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); } .faq p { padding-bottom: 20px; color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; } a.chip:hover { border-color: var(--amber); }

/* cta + footer */
.cta-band { position: relative; overflow: hidden; background: var(--night-2); color: #b9bcd6; padding: 90px 0; isolation: isolate; }
.cta-band .glow-orb { right: auto; left: 50%; top: -360px; transform: translateX(-50%); z-index: -1; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; } .cta-band p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
footer.site { background: var(--night); color: #8e91ad; padding: 70px 0 30px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { margin-top: 18px; max-width: 30em; }
footer h4 { color: #fff; font: 600 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } footer a:hover { color: var(--glow); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-d); margin-top: 50px; padding-top: 24px; font-size: .86rem; }
.book-pill { position: fixed; right: 22px; bottom: 96px; z-index: 40; display: inline-flex; gap: 8px; align-items: center; background: var(--night); color: #fff; border: 1px solid var(--amber); padding: 12px 18px; border-radius: 99px; font-weight: 600; box-shadow: 0 0 30px rgba(242, 181, 68, .35); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s; }
.book-pill.show { opacity: 1; transform: none; pointer-events: auto; } .book-pill svg { color: var(--amber); }
.sticky-call { display: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; } .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* contact card page */
.vcard-page { background: radial-gradient(circle at 50% -10%, #3a2f1a, var(--night) 55%); min-height: 100vh; padding: 28px 16px; }
.vcard { max-width: 460px; margin: 0 auto; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.vcard-top { background: var(--night); padding: 34px 26px 28px; text-align: center; color: #b9bcd6; }
.vcard-top .brand-word { justify-content: center; margin-bottom: 14px; } .vcard-top h1 { color: #fff; font-size: 1.8rem; margin: 0 0 6px; } .vcard-top p { margin: 0; font-size: .92rem; }
.vcard-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.vcard-tags span { font-size: .74rem; font-weight: 600; color: var(--amber); border: 1px solid var(--line-d); padding: 6px 10px; border-radius: 999px; }
.vcard-actions { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.vcard-actions a { display: grid; justify-items: center; gap: 6px; padding: 16px 4px; font-size: .8rem; font-weight: 600; color: var(--ink); } .vcard-actions svg { color: var(--amber-2); }
.vcard-list { display: grid; padding: 8px 18px; }
.vcard-list > * { display: flex; gap: 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.vcard-list svg { color: var(--amber-2); flex: none; } .vcard-list small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; }
.vcard-foot { padding: 20px 22px 26px; display: grid; gap: 12px; } .vcard-foot .btn { justify-content: center; }
.vcard-qr { display: grid; justify-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin-top: 10px; }

/* roofline scenes */
.svc-grid.four { grid-template-columns: repeat(4, 1fr); }
.scene .px { transition: fill .5s; animation: tw 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.13s); }
@keyframes tw { 50% { opacity: .55; } }
.house-demo { max-width: 980px; margin: 0 auto; }
.house-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-d); box-shadow: var(--shadow-lg), 0 0 120px rgba(242, 181, 68, .12); aspect-ratio: 3 / 2; }
.house-frame .scene { width: 100%; height: 100%; }
.house-ctrl { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 22px; }
.themes { display: flex; flex-wrap: wrap; gap: 8px; }
.themes button { display: inline-flex; align-items: center; gap: 8px; background: var(--night-3); color: #e3e4f0; border: 1px solid var(--line-d); padding: 9px 15px; border-radius: 999px; font: 500 .92rem var(--sans); cursor: pointer; transition: .2s; }
.themes button i { width: 26px; height: 8px; border-radius: 9px; }
.themes button:hover, .themes button[aria-pressed="true"] { border-color: var(--amber); color: #fff; box-shadow: 0 0 18px rgba(242, 181, 68, .3); }
.daynight { display: inline-flex; align-items: center; gap: 10px; color: #e3e4f0; font-weight: 500; cursor: pointer; }
.daynight input { position: absolute; opacity: 0; }
.daynight .sw { width: 46px; height: 26px; border-radius: 99px; background: var(--night-3); border: 1px solid var(--line-d); position: relative; transition: .3s; }
.daynight .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #c9cbe0; transition: .3s; }
.daynight input:checked + .sw { background: #7fb8ea; } .daynight input:checked + .sw::after { left: 23px; background: #fff7d6; }
.daynight input:focus-visible + .sw { outline: 3px solid var(--amber); outline-offset: 3px; }
.scene.is-day stop:first-child { stop-color: #8ec3f0; } .scene.is-day stop:last-child { stop-color: #d9ecfb; }
.scene.is-day path[fill="#151a36"], .scene.is-day path[fill="#191f40"], .scene.is-day rect[fill="#141935"] { fill: #d8cfc0; }
.scene.is-day rect[fill="#10142b"] { fill: #b9ae9d; } .scene.is-day rect[fill="#ffcf7a"] { fill: #7d93a8; opacity: .8; } .scene.is-day circle[fill="#ffcf7a"] { opacity: 0; }
.scene.is-day path[fill="#0a1410"] { fill: #6e9a5a; } .scene.is-day circle[fill="#fff"] { opacity: 0; }
.scene.is-day .halo { opacity: 0; } .scene.is-day .px { fill: #cfc5b5 !important; animation: none; r: 2.2; }
.scene { transition: filter .4s; } .scene stop, .scene path, .scene rect { transition: fill .5s, stop-color .5s; }
.daynight-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.daynight-pair figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.daynight-pair .scene { width: 100%; height: 100%; }
.daynight-pair figcaption { position: absolute; left: 12px; bottom: 10px; background: rgba(11, 13, 26, .75); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 99px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-f { background: var(--night-2); border: 1px solid var(--line-d); border-radius: var(--r-lg); padding: 26px; }
.app-f svg { color: var(--amber); margin-bottom: 12px; } .app-f h3 { color: #fff; } .app-f p { margin: 0; font-size: .95rem; }
.vs { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.vs-row { display: grid; grid-template-columns: 1fr 1.6fr 1.3fr; gap: 20px; padding: 18px 24px; border-top: 1px solid var(--line); align-items: start; }
.vs-head { background: var(--night); color: #fff; border: 0; } .vs-head b:first-of-type { color: var(--amber); }
.vs-row > span { font-weight: 600; color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }
.vs-row p { margin: 0; font-size: .95rem; } .vs .yes { display: flex; gap: 10px; color: var(--ink); } .vs .yes svg { color: var(--amber-2); flex: none; margin-top: 2px; } .vs .no { color: var(--muted); }

/* responsive */
@media (max-width: 1480px) { /* 'Book with Homeshi' joined the menu 10-30: below this the full menu does not fit */
  nav.main, .phone span { display: none; }
  header.site .nav-cta { margin-left: auto; }
  .burger { display: block; }
  body.menu-open nav.main { display: flex; flex-direction: column; position: fixed; inset: 76px 0 0; background: var(--night); padding: 20px; overflow: auto; }
  body.menu-open .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; width: auto; box-shadow: none; border: 0; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); } body.menu-open .burger span:nth-child(2) { opacity: 0; } body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid, .page-hero .hero-grid, .split, .split-top { grid-template-columns: 1fr; }
  .steps, .svc-grid.four, .app-grid { grid-template-columns: 1fr 1fr; } .steps::before { display: none; }
  .promise .wrap { grid-template-columns: 1fr 1fr; } .foot-grid { grid-template-columns: 1fr 1fr; }
  .tool { grid-template-columns: 1fr 1fr; } .tool .btn { grid-column: 1 / -1; justify-content: center; }
  .aside-card { position: static; }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .s { padding: 72px 0; } .hero { padding: 120px 0 70px; min-height: 0; }
  .nav-cta .btn-sm { display: none; }
  .steps, .promise .wrap, .foot-grid, .calc-res, .svc-grid.four, .app-grid { grid-template-columns: 1fr; }
  .vs-row { grid-template-columns: 1fr; gap: 6px; } .vs-head { display: none; } .vs .no::before { content: "DIY kit: "; font-weight: 600; }
  .daynight-pair { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .book-pill { display: none; }
  .sticky-call { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 45; background: var(--night); border-top: 1px solid var(--line-d); }
  .sticky-call a { display: flex; justify-content: center; gap: 8px; padding: 15px; color: #fff; font-weight: 600; } .sticky-call a + a { background: var(--amber); color: var(--night); }
  footer.site { padding-bottom: 90px; }
}

/* the Homshi card brings its own frame and width — no wrapper box around it */
.hero-card { background: none; padding: 0; min-height: 0; box-shadow: none; display: flex; justify-content: center; }
.hero-card::before { display: none; }
.hero-card homshi-consultation { width: 100%; max-width: 520px; min-height: 0; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.aside-card .hero-card { justify-content: stretch; }

/* neon — the glow colour follows the season/theme (--neon, set by site.js) */
:root { --neon: #f2b544; --neon-2: #ffe2a3; }
.hero h1 em, .page-hero h1 em, .s-dark h2 em, .cta-band h2 em { color: var(--neon-2); text-shadow: 0 0 6px var(--neon), 0 0 18px var(--neon), 0 0 42px var(--neon); transition: color .6s, text-shadow .6s; }
.reveal.in h2 em, .hero h1 em { animation: neon-on 1.6s steps(1) 1; }
@keyframes neon-on { 0% { opacity: .2; } 8% { opacity: 1; } 12% { opacity: .3; } 20% { opacity: 1; } 24% { opacity: .5; } 30%, 100% { opacity: 1; } }
.btn-glow { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 22px color-mix(in srgb, var(--neon) 70%, transparent), 0 10px 30px rgba(0, 0, 0, .3); }
.btn-line-light:hover { box-shadow: 0 0 18px var(--neon); border-color: var(--neon-2); }
.hero::after, .page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--neon), var(--neon-2), var(--neon), transparent); box-shadow: 0 0 16px var(--neon), 0 0 40px var(--neon); opacity: .9; }
.glow-orb { background: radial-gradient(circle, color-mix(in srgb, var(--neon-2) 60%, transparent), color-mix(in srgb, var(--neon) 22%, transparent) 40%, transparent 70%); }
.s-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--neon-2); text-shadow: 0 0 10px var(--neon); }
.house-frame { box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--neon) 40%, transparent), 0 0 90px color-mix(in srgb, var(--neon) 30%, transparent); }
.patterns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.patterns span { color: #9a9db8; font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }
.patterns button { background: transparent; color: #e3e4f0; border: 1px solid var(--line-d); padding: 7px 14px; border-radius: 999px; font: 500 .88rem var(--sans); cursor: pointer; }
.patterns button[aria-pressed="true"], .patterns button:hover { border-color: var(--neon-2); color: #fff; box-shadow: 0 0 14px color-mix(in srgb, var(--neon) 60%, transparent); }
.season-bar { background: linear-gradient(90deg, var(--neon), var(--neon-2)); color: var(--night); text-align: center; font: 600 .9rem/1.3 var(--sans); padding: 8px 16px; }
.season-bar a { text-decoration: underline; margin-left: 6px; }
.house-scene .px { animation: none; }

/* see it on your house */
.vis { max-width: 1100px; margin: 0 auto; }
.vis-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-d); background: var(--night-2); min-height: 420px; display: grid; box-shadow: 0 0 90px color-mix(in srgb, var(--neon) 22%, transparent); }
.vis.has-img .vis-stage { min-height: 0; }
.vis-stage canvas { width: 100%; display: block; cursor: crosshair; touch-action: manipulation; }
.vis-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; padding: 24px; color: #b9bcd6; }
.vis-empty svg { color: var(--neon-2); filter: drop-shadow(0 0 10px var(--neon)); } .vis-empty h3 { color: #fff; margin: 8px 0 0; }
.vis-start { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 14px; }
.vis-hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); background: rgba(11, 13, 26, .82); color: #fff; padding: 9px 16px; border-radius: 99px; font-size: .9rem; white-space: nowrap; pointer-events: none; }
.vis-ctrl { display: grid; gap: 16px; margin-top: 20px; }
.vis-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vis-row .lbl { color: #9a9db8; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; min-width: 92px; }
.vis-row .patterns { margin: 0; } .vis-dials { gap: 28px; } .vis-dials .dial { flex: 1 1 240px; margin: 0; }
.vis-dials .dial input { background: linear-gradient(90deg, #8ec3f0, #1b1f38); }
.vis-ctrl label.btn { cursor: pointer; } .vis-note { margin-top: 18px; color: #8e91ad; }
@media (max-width: 640px) { .vis-hint { white-space: normal; width: 88%; text-align: center; } .vis-stage { min-height: 360px; } }
[hidden] { display: none !important; }
button.btn { background-color: transparent; } button.btn-glow { background: linear-gradient(135deg, var(--glow), var(--amber)); }
.phone, .btn, nav.main > a, .dd > a { white-space: nowrap; }

/* real install photos */
.hero-photo .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-photo .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 18, .88) 0%, rgba(8, 9, 18, .6) 40%, rgba(8, 9, 18, .12) 72%, rgba(8, 9, 18, .4) 100%), linear-gradient(0deg, rgba(8, 9, 18, .7), transparent 30%); }
.hero-photo .hero-bg::after { display: none; }
.svc-art img, .aside-art img, .daynight-pair img, .photo-room img { width: 100%; height: 100%; object-fit: cover; }
.svc-art img { transition: transform .6s; } .svc:hover .svc-art img { transform: scale(1.05); }
.svc-grid.four .svc-art { aspect-ratio: 4 / 5; }
.photo-room { aspect-ratio: 4 / 5; }
.daynight-pair figure { aspect-ratio: 3 / 4; }
.gallery { columns: 3 300px; column-gap: 16px; }
.g-item { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: var(--r); overflow: hidden; position: relative; }
.g-item figure { margin: 0; position: relative; } .g-item img { width: 100%; height: auto; transition: transform .6s; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; color: #fff; font-size: .9rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 6, 12, .94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; } .lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px; width: auto; }
.lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #e3e4f0; margin: 0; font-weight: 600; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }
@media (max-width: 640px) { .gallery { columns: 2 150px; column-gap: 10px; } .g-item { margin-bottom: 10px; } .g-item figcaption { font-size: .78rem; padding: 20px 10px 8px; }
  .hero-photo .hero-shade { background: linear-gradient(180deg, rgba(8, 9, 18, .55), rgba(8, 9, 18, .88) 55%); } .lb-prev, .lb-next { top: auto; bottom: 60px; } }
/* never distort a photo: explicit intrinsic ratio + contain/cover everywhere */
.g-item img { height: auto !important; aspect-ratio: auto; object-fit: cover; }
.lightbox { z-index: 300; } .lightbox img { width: auto !important; height: auto !important; max-width: 100%; max-height: 82vh; object-fit: contain; }
.hero-photo .hero-img { height: 100% !important; }
