/* ==========================================================================
   SoGlow — Outdoor Lighting · South Florida
   ========================================================================== */

:root {
  --navy-900: #120c26;
  --navy: #1a1233;
  --navy-700: #241b45;
  --navy-600: #2f2557;
  --ink: #1a1233;
  --ink-soft: #4a4466;
  --orange: #ff8723;
  --pink: #ff338d;
  --orchid: #e44da8;
  --sky: #7dc1f5;
  --pink-ink: #c8155f; /* accessible pink for small text on white (4.9:1) */
  --lavender: #d9d4ee;
  --lavender-soft: #b9b2d6; /* 8.6:1 on navy */
  --white: #ffffff;
  --mist: #f6f4fb;

  --grad-glow: linear-gradient(90deg, var(--orange) 0%, var(--pink) 50%, var(--sky) 100%);
  --grad-title: linear-gradient(90deg, #ff3d7f 0%, var(--pink) 40%, var(--orchid) 100%);
  --grad-frond: linear-gradient(180deg, var(--orange) 0%, var(--pink) 45%, var(--sky) 100%);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --radius-pill: 999px;
  --shadow-glow: 0 10px 40px -10px rgba(255, 51, 141, 0.55);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; }

/* ---------- Accessibility utilities ---------- */
.visually-hidden {
  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;
  left: 1rem; top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 0 0 3px var(--pink);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-light :focus-visible,
.section--light :focus-visible,
.legal :focus-visible,
.contact-card :focus-visible { outline-color: var(--pink-ink); }
.section--light .carousel :focus-visible { outline-color: var(--sky); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--light { background: var(--white); color: var(--ink); }
.section--mist { background: var(--mist); color: var(--ink); }
.section--dark { background: var(--navy); color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--pink-ink);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--sky); }
.eyebrow::before {
  content: ""; width: 28px; height: 3px; border-radius: 3px;
  background: var(--grad-glow);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.section-title strong { font-weight: 800; }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 640px; }
.section--dark .section-lead { color: var(--lavender); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }

.text-glow {
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.85rem; --pad-x: 1.6rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px;
  padding: var(--pad-y) var(--pad-x);
  border: 0; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-position 0.6s var(--ease);
}
.btn--glow {
  color: var(--navy);
  background: var(--grad-glow);
  background-size: 160% 100%;
  background-position: 0% 50%;
  box-shadow: var(--shadow-glow);
}
@media (hover: hover) and (pointer: fine) {
  .btn--glow:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 16px 50px -12px rgba(255, 51, 141, 0.75); }
}
.btn--ghost {
  color: var(--white);
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--white); background: rgba(255, 255, 255, 0.06); }
}
.btn--dark { color: var(--white); background: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: var(--navy-600); transform: translateY(-2px); }
}
.btn--sm { --pad-y: 0.55rem; --pad-x: 1.2rem; min-height: 44px; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; flex: none; pointer-events: none; }
.btn, .switch, .swatch label { touch-action: manipulation; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 8, 26, 0.97);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  backdrop-filter: saturate(120%) blur(14px);
  color: var(--white);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.5); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--grad-glow); opacity: 0; transition: opacity 0.3s;
}
.site-header.is-scrolled::after { opacity: 0.6; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; padding: 0.25rem 0; }
.brand img { width: 128px; height: auto; }
.brand-tag {
  margin-top: 4px; padding-left: 3px;
  font-size: 0.5rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--lavender-soft); font-weight: 500;
}
.nav { display: flex; align-items: center; }
.nav-list { list-style: none; padding: 0; display: flex; align-items: center; gap: 0.35rem; }
.nav-link {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 0.85rem;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none; color: var(--white);
}
.nav-link::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--grad-glow);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { margin-left: 0.6rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 12px; cursor: pointer; color: var(--white);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
    padding: 0.75rem 1.25rem 1.5rem;
  }
  .js .nav-panel[data-open="false"] { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: flex; min-height: 52px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-link::after { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 120%, #3a1d5c 0%, var(--navy) 55%, var(--navy-900) 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(8rem, 15vw, 12rem);
}
.hero-inner { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(2.6rem, 8.5vw, 6rem);
  max-width: 14ch; margin-inline: auto;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.hero-title .text-glow { display: inline-block; padding-bottom: 0.08em; filter: drop-shadow(0 0 40px rgba(255, 51, 141, 0.35)); }
.hero-tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 300;
  color: var(--lavender);
  max-width: 720px; margin: 0 auto 2.25rem; text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; justify-content: center;
  list-style: none; padding: 0; margin-top: 3rem;
  font-size: 0.85rem; color: var(--lavender-soft);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 12px var(--pink);
}

/* decorative layers */
.hero-stars, .hero-beams, .hero-spot, .hero-horizon { position: absolute; inset: 0; pointer-events: none; }
.hero-stars {
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(1px 1px at 63% 30%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(2px 2px at 78% 16%, rgba(125,193,245,0.9), transparent 60%),
    radial-gradient(1px 1px at 88% 44%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 6% 58%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 94% 66%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(2px 2px at 20% 8%, rgba(255,135,35,0.8), transparent 60%),
    radial-gradient(1px 1px at 52% 52%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,255,255,0.5), transparent 60%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 1; } }

.hero-horizon {
  z-index: 0;
  top: auto; height: 45%;
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(255, 51, 141, 0.35), transparent 70%),
    radial-gradient(40% 70% at 20% 100%, rgba(255, 135, 35, 0.25), transparent 70%),
    radial-gradient(40% 70% at 80% 100%, rgba(125, 193, 245, 0.25), transparent 70%);
}
.hero-beams { z-index: 1; }
.beam {
  position: absolute; bottom: -10%;
  width: 22vw; max-width: 280px; min-width: 120px; height: 90%;
  transform-origin: 50% 100%;
  clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0);
  filter: blur(14px);
  opacity: 0.35;
  animation: sway 9s ease-in-out infinite alternate;
}
.beam--1 { left: 4%;  background: linear-gradient(0deg, rgba(255,135,35,0.9), transparent 85%); --r: -14deg; animation-delay: -2s; }
.beam--2 { left: 22%; background: linear-gradient(0deg, rgba(255,51,141,0.9), transparent 85%); --r: -5deg; animation-delay: -5s; opacity: 0.25; }
.beam--3 { right: 22%; background: linear-gradient(0deg, rgba(228,77,168,0.9), transparent 85%); --r: 5deg; animation-delay: -1s; opacity: 0.25; }
.beam--4 { right: 4%; background: linear-gradient(0deg, rgba(125,193,245,0.9), transparent 85%); --r: 14deg; animation-delay: -7s; }
@keyframes sway {
  from { transform: rotate(calc(var(--r) - 4deg)); }
  to   { transform: rotate(calc(var(--r) + 4deg)); }
}
.hero-spot {
  z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 51, 141, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.6s;
}
.hero:hover .hero-spot { opacity: 1; }
.hero-palms {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  height: clamp(90px, 16vw, 200px);
  color: var(--navy-900);
  pointer-events: none;
}
.hero-palms svg { width: 100%; height: 100%; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.5rem; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.5);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--pink); animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Page hero (sub pages) */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 120% at 50% 130%, #3a1d5c 0%, var(--navy) 60%, var(--navy-900) 100%);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { color: var(--lavender); max-width: 620px; margin: 0 auto; font-size: 1.1rem; font-weight: 300; }
.page-hero .hero-stars { opacity: 0.7; }
.page-hero .hero-horizon { height: 70%; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; gap: 0.5rem; justify-content: center; font-size: 0.85rem; margin-bottom: 1.25rem; color: var(--lavender-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.breadcrumb a { color: var(--lavender); }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy-900); color: var(--lavender);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-list {
  list-style: none; padding: 1.25rem 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  font-size: 0.9rem; font-weight: 500;
}
.trust-list li { display: flex; align-items: center; gap: 0.75rem; justify-content: center; text-align: left; }
.trust-list svg { width: 26px; height: 26px; flex: none; }
@media (max-width: 860px) { .trust-list { grid-template-columns: repeat(2, 1fr); } .trust-list li { justify-content: flex-start; } }

/* ---------- How it works ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
  position: relative; counter-reset: step;
}
.steps::before {
  content: ""; position: absolute; top: 34px; left: 16.66%; right: 16.66%; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--sky));
  opacity: 0.35;
}
.step { text-align: center; position: relative; }
.step-num {
  position: relative;
  width: 68px; height: 68px; margin: 0 auto 1.25rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-glow);
  color: var(--navy);
  font-size: 1.5rem; font-weight: 800;
  box-shadow: 0 0 0 8px var(--white), var(--shadow-glow);
  transition: transform 0.4s var(--ease);
}
.step:hover .step-num { transform: scale(1.08) rotate(-6deg); }
.step h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); max-width: 300px; margin-inline: auto; font-size: 0.95rem; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 34px; bottom: 34px; left: 50%; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--orange), var(--pink), var(--sky)); }
  .step { background: var(--white); padding-bottom: 0.5rem; }
}

/* ---------- Carousel ---------- */
.projects-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.projects-head .section-title { margin-bottom: 0; }
.projects { padding-bottom: 0; padding-top: clamp(2.5rem, 5vw, 4rem); }
.carousel { position: relative; margin-top: 2rem; background: var(--navy); }
.carousel-viewport {
  position: relative; overflow: hidden;
  width: 100%;
  height: clamp(420px, 62vw, 86vh);
  touch-action: pan-y;
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.slide {
  position: relative; flex: 0 0 100%; height: 100%; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-700), var(--navy));
}
.slide.is-hidden { visibility: hidden; }
.slide.is-active, .carousel.is-moving .slide { visibility: visible; }
.slide-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  transform: scale(1.06);
  transition: transform 6s linear;
}
.slide.is-active .slide-img { transform: scale(1); }
.slide-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(50% 60% at 50% 110%, rgba(255, 51, 141, 0.18), transparent 70%),
    radial-gradient(30% 40% at 15% 100%, rgba(255, 135, 35, 0.12), transparent 70%),
    radial-gradient(30% 40% at 85% 100%, rgba(125, 193, 245, 0.12), transparent 70%),
    linear-gradient(180deg, #251c4a 0%, var(--navy) 100%);
}
.slide-placeholder span {
  font-size: 0.8rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--lavender-soft);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.slide-placeholder svg { width: 56px; height: 56px; opacity: 0.6; }
.slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  padding: 5rem clamp(1rem, 3vw, 2.5rem) clamp(4.25rem, 6vw, 5rem);
  background: linear-gradient(0deg, rgba(18, 12, 38, 0.92) 0%, rgba(18, 12, 38, 0.55) 55%, transparent 100%);
  color: var(--white);
}
.slide-title { font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 700; margin: 0; }
.slide-detail { display: block; font-size: 0.85rem; font-weight: 400; color: var(--lavender); margin-top: 0.15rem; }
.slide-city { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.slide-city svg { width: 16px; height: 16px; color: var(--pink); }

.carousel-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.9rem 1rem 1.1rem;
  pointer-events: none;
}
.carousel-controls > * { pointer-events: auto; }
.carousel-btn {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--white);
  transition: background 0.25s, transform 0.25s;
}
.carousel-btn:hover { background: rgba(255, 255, 255, 0.28); transform: scale(1.06); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 54px; height: 54px; }
.carousel-arrow:hover { transform: translateY(-50%) scale(1.06); }
.carousel-arrow--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.carousel-arrow--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.carousel-dots { list-style: none; padding: 0; margin: 0; display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; justify-content: center; }
.carousel-dot {
  width: 24px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.carousel-dot::before {
  content: ""; width: 9px; height: 9px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.35s var(--ease), background 0.35s;
}
.carousel-dot:hover::before { background: rgba(255, 255, 255, 0.85); }
.carousel-dot[aria-current="true"] { width: 40px; }
.carousel-dot[aria-current="true"]::before { width: 30px; background: linear-gradient(90deg, var(--orange), var(--pink)); }
.carousel-status { position: absolute; top: 1rem; right: clamp(1rem, 3vw, 2.5rem); z-index: 3; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; color: var(--white); background: rgba(18,12,38,0.55); padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); }
.carousel-progress { position: absolute; left: 0; top: 0; height: 3px; z-index: 3; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad-glow); }
.carousel.is-playing .carousel-progress { animation: progress var(--interval, 6s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.no-js .carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
.no-js .slide { scroll-snap-align: start; }
.no-js .carousel-controls, .no-js .carousel-arrow, .no-js .carousel-status { display: none; }
@media (max-width: 640px) {
  .slide-caption { flex-direction: column; align-items: flex-start; }
  .lightbox .carousel-arrow {
    display: grid;
    top: auto;
    bottom: 0.85rem;
    transform: none;
    width: 44px;
    height: 44px;
    z-index: 6;
    touch-action: manipulation;
  }
  .lightbox .carousel-arrow:hover { transform: none; }
  .lightbox .carousel-arrow:active { background: rgba(255, 255, 255, 0.34); }
  .lightbox .carousel-arrow--prev { left: 0.7rem; }
  .lightbox .carousel-arrow--next { right: 0.7rem; }
  .lightbox .carousel-controls {
    padding-left: 3.7rem;
    padding-right: 3.7rem;
  }
  .lightbox .carousel-dot {
    width: 14px;
    height: 36px;
  }
  .lightbox .carousel-dot[aria-current="true"] { width: 22px; }
  .lightbox .carousel-dot::before { width: 6px; height: 6px; }
  .lightbox .carousel-dot[aria-current="true"]::before { width: 16px; }
}

/* ---------- Split projects ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; width: 100%; position: relative; }
.split::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; z-index: 2;
  background: linear-gradient(180deg, var(--orange), var(--pink), var(--sky)); pointer-events: none;
}
.split-tile {
  position: relative; isolation: isolate; overflow: hidden; cursor: pointer;
  min-height: clamp(380px, 52vw, 76vh);
  border: 0; padding: clamp(1.5rem, 4vw, 3.5rem); margin: 0;
  display: flex; align-items: flex-end; text-align: left;
  color: var(--white); background: var(--navy);
}
.split-tile:focus-visible { outline: 4px solid var(--sky); outline-offset: -8px; border-radius: 0; }
.split-bg { position: absolute; inset: 0; z-index: -1; transition: transform 0.9s var(--ease); }
.split-tile--soffit .split-bg { background: radial-gradient(70% 70% at 50% 15%, rgba(255,51,141,0.28), transparent 70%), linear-gradient(180deg, #2a1d52, var(--navy-900)); }
.split-tile--landscape .split-bg { background: radial-gradient(70% 60% at 50% 100%, rgba(255,135,35,0.3), transparent 70%), linear-gradient(180deg, #1f1745, var(--navy-900)); }
.split-art { position: absolute; left: 50%; top: 8%; width: min(78%, 520px); transform: translateX(-50%); opacity: 0.9; }
.split-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-bg:has(.split-photo:not([hidden])) .split-art { opacity: 0.15; }
.split-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(0deg, rgba(18,12,38,0.92) 0%, rgba(18,12,38,0.45) 45%, transparent 75%);
}
.split-tile { touch-action: manipulation; }
.split-tile svg, .split-tile img, .split-cta { pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .split-tile:hover .split-bg { transform: scale(1.05); }
}
.split-content { position: relative; z-index: 1; display: grid; gap: 0.35rem; max-width: 420px; }
.split-num { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; color: var(--sky); }
.split-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.split-sub { font-size: 1rem; color: var(--lavender); }
.split-cta {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; justify-self: start;
  padding: 0.65rem 1.3rem; border-radius: var(--radius-pill);
  background: var(--grad-glow); color: var(--navy); font-weight: 700; font-size: 0.92rem;
  box-shadow: var(--shadow-glow); transition: transform 0.3s var(--ease);
}
.split-cta svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .split-tile:hover .split-cta { transform: translateX(4px); }
}
@media (max-width: 700px) {
  .split { grid-template-columns: 1fr; }
  .split::after { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 3px; margin: -1.5px 0 0; background: linear-gradient(90deg, var(--orange), var(--pink), var(--sky)); }
  .split-tile { min-height: 62vw; min-height: max(62vw, 300px); }
}

/* ---------- Lightbox galleries ---------- */
.lightbox[hidden] { display: none !important; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  color: var(--white);
}
.lightbox.is-open {
  display: flex !important;
}
.lightbox-scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 8, 26, 0.78);
}
.lightbox-panel {
  position: relative;
  z-index: 1;
  display: flex;
  outline: none;
  flex-direction: column;
  width: min(96vw, 1240px);
  height: min(86vh, 860px);
  max-height: calc(100dvh - 2rem);
  background: #1a1233;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(16px, 3vw, 28px);
  box-shadow:
    0 40px 100px -24px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.lightbox-close {
  position: absolute;
  top: clamp(0.65rem, 2vw, 1.1rem);
  right: clamp(0.65rem, 2vw, 1.1rem);
  z-index: 30;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--white);
  background: rgba(18, 12, 38, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  transition: background 0.25s, transform 0.25s;
}
.lightbox-close:hover { background: rgba(18, 12, 38, 0.65); transform: rotate(90deg); }
.lightbox-close svg { width: 22px; height: 22px; pointer-events: none; }
.lightbox .carousel {
  flex: 1 1 auto; min-height: 0; height: 100%; margin: 0;
  display: flex; flex-direction: column;
  position: relative;
  background: var(--navy);
  border-radius: inherit;
}
.lightbox .carousel-viewport {
  flex: 1 1 auto;
  min-height: 12rem;
  height: 100%;
}
.lightbox .carousel-btn { background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.12); }
.lightbox .carousel-status { right: calc(clamp(0.65rem, 2vw, 1.1rem) + 3.5rem); }
.lightbox .slide-caption { display: none; }
.lightbox .carousel-controls { padding-bottom: 1rem; }
.lightbox .slide:has(.slide-img--contain) {
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
}
.lightbox .slide-img--contain {
  position: static;
  flex: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  transition: none;
}
.lightbox .slide.is-active .slide-img--contain,
.lightbox .slide.is-moving .slide-img--contain { transform: none !important; }
@media (max-width: 800px) {
  .lightbox-panel {
    width: calc(100vw - 1.25rem);
    height: min(calc((100vw - 1.25rem) * 0.72 + 6.6rem), 78vh);
    max-height: calc(100dvh - 1.5rem);
    border-radius: 20px;
  }
  .lightbox .slide,
  .lightbox .slide:has(.slide-img--contain) {
    background: #100a24;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.1rem 0.65rem 4.25rem;
  }
  .lightbox .slide:has(.slide-img:not([hidden])) .slide-placeholder {
    display: none;
  }
  .lightbox .slide-img,
  .lightbox .slide-img--contain {
    position: static;
    inset: auto;
    flex: none;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none !important;
    transition: none;
  }
  .lightbox .slide.is-active .slide-img,
  .lightbox .slide.is-moving .slide-img,
  .lightbox .slide.is-active .slide-img--contain,
  .lightbox .slide.is-moving .slide-img--contain {
    transform: none !important;
  }
}
@media (forced-colors: active) {
  .lightbox-panel { border: 2px solid CanvasText; background: Canvas; }
  .lightbox-scrim { background: CanvasText; opacity: 0.35; }
}
html.lightbox-open { overflow: hidden; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem;
  list-style: none; padding: 0; margin: 0;
}
.service-card {
  position: relative; isolation: isolate;
  height: 100%;
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #e9e5f4;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(260px circle at var(--cx, 50%) var(--cy, 0%), rgba(255, 51, 141, 0.10), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(26, 18, 51, 0.35); border-color: #f3c3db; }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--navy);
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 24px -12px rgba(26, 18, 51, 0.8);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.service-card p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* ---------- Flip the switch (interactive scene) ---------- */
.glow-lab { overflow: hidden; }
.glow-lab-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 960px) {
  .glow-lab { overflow: visible; }
  .glow-lab-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: clamp(0.75rem, 2.5vw, 1.1rem);
    align-items: start;
  }
  .glow-lab-grid .wizard,
  .glow-lab-grid .scene-wrap { min-width: 0; }
  .glow-lab-grid .wizard { position: relative; z-index: 2; }
  .glow-lab-grid .scene-wrap {
    position: sticky;
    top: calc(var(--header-h) + 6px);
    z-index: 1;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    max-height: min(72vh, 480px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0d0820;
  }
  .glow-lab-grid .scene {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: 50% 53.5%;
    transition: transform 1s var(--ease);
  }
  .scene-wrap.is-soffit:not(.is-up) .scene {
    transform: scale(1.85);
  }
  .glow-lab-grid .lab-controls { margin-top: 1rem; gap: 1.1rem; }
  .glow-lab-grid .switch-row { flex-direction: column; align-items: stretch; }
  .glow-lab-grid .switch { width: 100%; justify-content: flex-start; }
  .glow-lab-grid .swatch-list { flex-direction: column; align-items: stretch; }
  .glow-lab-grid .swatch label { width: 100%; justify-content: flex-start; }
  .wiz-progress { margin-top: 1rem; }
  .wiz-progress li { font-size: 0.78rem; padding: 0.3rem 0.55rem 0.3rem 0.35rem; }
  .wiz-dot { width: 22px; height: 22px; font-size: 0.72rem; }
  .glow-lab.is-estimate .glow-lab-grid { grid-template-columns: 1fr; }
  .glow-lab.is-estimate .scene-wrap { display: none; }
}
@media (max-width: 700px) {
  .glow-lab-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .glow-lab-grid .scene-wrap {
    order: -1;
    z-index: 4;
    aspect-ratio: 16 / 11;
    max-height: min(38vh, 280px);
  }
  .glow-lab-grid .wizard {
    z-index: 5;
    background: var(--navy);
  }
}
@media (max-width: 520px) {
  .glow-lab-grid .wiz-dot-label { clip: rect(0 0 0 0); clip-path: inset(50%); position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .wiz-progress li { padding: 0.35rem; }
}
.scene-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.06);
  --glow: #ffc877;
  --lit: 0;
}
.scene-wrap { --up: 0; --soffit: 0; --any: 0; --s1: #ffc877; --s2: #ffc877; --s3: #ffc877; --s4: #ffc877; --s5: #ffc877; }
.scene-wrap.is-up { --up: 1; }
.scene-wrap.is-soffit { --soffit: 1; }
.scene-wrap.is-up, .scene-wrap.is-soffit { --any: 1; }
.scene-wrap.is-rgb { --s1: #ff8723; --s2: #ff338d; --s3: #b06bff; --s4: #7dc1f5; --s5: #5eeabf; }
.scene { display: block; width: 100%; height: auto; }
.scene .light { transition: opacity 0.9s var(--ease); }
.scene .light--up { opacity: var(--up); }
.scene .light--soffit { opacity: var(--soffit); }
.scene .light--any { opacity: var(--any); }
.scene .soffit-stop { transition: stop-color 0.6s; }
.scene .light--delay-1 { transition-delay: 0.1s; }
.scene .light--delay-2 { transition-delay: 0.25s; }
.scene .light--delay-3 { transition-delay: 0.4s; }
.scene .glow-fill { fill: var(--glow); transition: fill 0.6s; }
.scene .path-lights { mix-blend-mode: screen; }
.scene .uplight-front { mix-blend-mode: screen; }
.scene .glow-stop { stop-color: var(--glow); transition: stop-color 0.6s; }
.scene .glow-stroke { stroke: var(--glow); transition: stroke 0.6s; }
.scene .house-body { transition: fill 0.9s; }
.scene-wrap.is-up .house-body, .scene-wrap.is-soffit .house-body { fill: #3a2f63; }

.switch-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lab-controls { display: grid; gap: 1.75rem; margin-top: 2rem; }
.switch {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  min-height: 56px;
  border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white); font-weight: 600; font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: background 0.3s;
  justify-self: start;
}
@media (hover: hover) and (pointer: fine) {
  .switch:hover { background: rgba(255, 255, 255, 0.14); }
}
.switch-track {
  position: relative; width: 64px; height: 36px; border-radius: 36px; flex: none;
  background: var(--navy-600);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2);
  transition: background 0.35s;
}
.switch-thumb {
  position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--white);
  transition: transform 0.35s var(--ease);
  display: grid; place-items: center;
}
.switch-track, .switch-thumb, .switch-thumb svg { pointer-events: none; }
.switch-thumb svg { width: 16px; height: 16px; color: var(--navy); }
.switch[aria-pressed="true"] .switch-track { background: var(--grad-glow); }
.switch[aria-pressed="true"] .switch-thumb { transform: translateX(28px); }

.swatches { border: 0; padding: 0; margin: 0; }
.swatches legend { font-weight: 600; margin-bottom: 0.75rem; padding: 0; }
.swatch-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 46px; padding: 0.45rem 1rem 0.45rem 0.5rem;
  border-radius: var(--radius-pill); cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  font-size: 0.9rem; transition: background 0.25s, box-shadow 0.25s;
}
@media (hover: hover) and (pointer: fine) {
  .swatch label:hover { background: rgba(255, 255, 255, 0.12); }
}
.swatch-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); flex: none; }
.swatch-dot--rgb { background: conic-gradient(var(--orange), var(--pink), var(--orchid), var(--sky), var(--orange)); box-shadow: 0 0 14px var(--pink); }
.swatch-dot--rgb-white {
  background: conic-gradient(var(--orange), var(--pink), var(--orchid), var(--sky), var(--orange));
  box-shadow: 0 0 14px var(--pink), inset -10px -8px 0 0 #fff, 0 0 10px rgba(255, 255, 255, 0.55);
  position: relative;
}
.swatch-dot--rgb-white::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 0 1px rgba(26, 18, 51, 0.2);
}
.swatch input:checked + label { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 2px var(--white); }
.swatch input:focus-visible + label { outline: 3px solid var(--sky); outline-offset: 3px; }
.swatch small { color: var(--lavender-soft); font-size: 0.78rem; }
.scene-status { font-size: 0.95rem; color: var(--lavender); min-height: 1.6em; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(180px, 230px) 1fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; justify-items: center; }
  .about-grid > .reveal:last-child { justify-self: stretch; }
}
.about-figure { margin: 0; width: 100%; max-width: 230px; }
.about-visual {
  position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, #251c4a, var(--navy));
  display: grid; place-items: center;
}
.about-visual img.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; z-index: 1; }
.about-caption {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.values li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.values .v-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); }
.values .v-icon svg { width: 24px; height: 24px; }
.values h3 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.values p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.85rem; }
.faq-item { border-radius: 16px; background: var(--white); border: 1px solid #e9e5f4; transition: box-shadow 0.3s, border-color 0.3s; }
.faq-item[open] { border-color: #f3c3db; box-shadow: 0 20px 40px -28px rgba(26,18,51,0.4); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; min-height: 56px;
  font-weight: 600; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2px 12px no-repeat,
    var(--mist);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: #ffd9ea; }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: 16px; }
.faq-body { padding: 0 1.4rem 1.25rem; color: var(--ink-soft); }
.faq-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--white); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--navy);
  color: var(--white);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; z-index: -1;
  background: radial-gradient(50% 50% at 30% 50%, rgba(255,135,35,0.35), transparent 70%),
              radial-gradient(50% 50% at 60% 60%, rgba(255,51,141,0.4), transparent 70%),
              radial-gradient(40% 50% at 90% 40%, rgba(125,193,245,0.35), transparent 70%);
  filter: blur(10px);
}
.cta-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 300; margin-bottom: 0.4rem; }
.cta-card h2 strong { font-weight: 800; }
.cta-card p { color: var(--lavender); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--lavender); padding: 4rem 0 2rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-glow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; max-width: 300px; }
.footer-col h2 { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.25rem; }
.footer-col a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 36px; text-decoration: none; color: var(--lavender); font-size: 0.93rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-col svg { width: 18px; height: 18px; color: var(--pink); flex: none; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.85rem; color: var(--lavender-soft);
}
.footer-bottom ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-bottom a { color: var(--lavender); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 1rem; }
.info-card {
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid #e9e5f4;
}
.info-card .v-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; }
.info-card .v-icon svg { width: 24px; height: 24px; }
.info-card h2 { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 0.2rem; font-weight: 600; }
.info-card p, .info-card a { margin: 0; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.info-card a { text-decoration: underline; text-decoration-color: rgba(200,21,95,0.4); text-underline-offset: 4px; }
.info-card a:hover { color: var(--pink-ink); }
.info-card .muted { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }

.contact-card {
  background: var(--white); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid #e9e5f4; box-shadow: 0 30px 60px -40px rgba(26,18,51,0.4);
}
.contact-card h2 { font-size: 1.6rem; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); }
.req { color: var(--pink-ink); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field .hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 50px;
  padding: 0.75rem 1rem;
  border: 2px solid #8c86a6; /* 3.6:1 against white */
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1233' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--navy); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none; border-color: var(--pink-ink); box-shadow: 0 0 0 4px rgba(255, 51, 141, 0.25);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #b3123f; }
.field-error { display: flex; align-items: center; gap: 0.4rem; color: #b3123f; font-size: 0.88rem; font-weight: 600; margin: 0; }
.field-error:empty { display: none; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #b3123f; color: #fff; font-size: 0.75rem; flex: none; }

fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.6rem; margin-top: 0.35rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.35rem; }
.choice {
  position: relative; display: flex; align-items: center; gap: 0.7rem;
  min-height: 48px; padding: 0.6rem 0.9rem;
  border: 2px solid #ddd8ec; border-radius: 12px; cursor: pointer;
  font-size: 0.93rem; font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.choice:hover { border-color: var(--navy); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--pink-ink); flex: none; }
.choice:has(input:checked) { border-color: var(--pink-ink); background: #fff3f8; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--pink-ink); flex: none; }
.consent a { color: var(--pink-ink); font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.form-alert {
  border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-weight: 500;
}
.form-alert:empty { display: none; }
.form-alert--error { background: #fde8ee; color: #8a0f33; border: 2px solid #b3123f; }
.form-alert--error ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.form-alert--error a { color: #8a0f33; font-weight: 700; }
.form-alert--success { background: #eaf6ee; color: #14532d; border: 2px solid #1f7a44; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--navy); color: var(--white); padding: 1.5rem;
}
.map-card h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-list li { padding: 0.35rem 0.85rem; border-radius: var(--radius-pill); background: rgba(255,255,255,0.08); font-size: 0.85rem; color: var(--lavender); }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.5rem; border-radius: var(--radius); background: var(--mist); }
@media (max-width: 900px) { .toc { position: static; } }
.toc h2 { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.75rem; font-weight: 600; }
.toc ol { padding-left: 1.25rem; margin: 0; display: grid; gap: 0.15rem; font-size: 0.92rem; }
.toc a { display: block; padding: 0.3rem 0; line-height: 1.4; color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--pink-ink); text-decoration: underline; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; padding-top: 0.25rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.prose p, .prose li { color: #37314f; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--pink-ink); font-weight: 600; }
.prose strong { color: var(--ink); }
.legal-meta { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; color: var(--ink-soft); background: var(--mist); padding: 0.45rem 1rem; border-radius: var(--radius-pill); margin-bottom: 2rem; }
.callout { border-left: 4px solid var(--pink); background: #fff3f8; padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-spot { display: none; }
}

/* ---------- Forced colors / high contrast ---------- */
@media (forced-colors: active) {
  .btn, .carousel-btn, .switch, .swatch label, .choice { border: 2px solid ButtonText; }
  .text-glow { color: CanvasText; background: none; }
  .carousel-dot::before { background: ButtonText; }
  .carousel-dot[aria-current="true"]::before { background: Highlight; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .carousel, .cta-band, .hero-beams, .hero-stars, .glow-lab, .toc { display: none !important; }
  body { color: #000; }
  .page-hero { background: none; color: #000; padding: 1rem 0; }
  .page-hero p { color: #000; }
}

/* ---------- Soffit pattern selector ---------- */
.soffit-layer { opacity: 0; transition: opacity 0.5s var(--ease); }
.scene-wrap.is-pat-1 .soffit-layer--cone-all,
.scene-wrap.is-pat-3 .soffit-layer--cone-l,
.scene-wrap.is-pat-1 .soffit-layer--wash-all,
.scene-wrap.is-pat-3 .soffit-layer--wash-l,
.scene-wrap.is-pat-2 .soffit-layer--even,
.scene-wrap.is-pat-3 .soffit-layer--narrow { opacity: 1; }
.pat-icon { flex: none; width: 34px; height: 30px; border-radius: 8px; background: var(--navy-900); position: relative; overflow: hidden; }
.pat-icon::before, .pat-icon::after { content: ""; position: absolute; inset: 0; }
.pat-icon--cone::before { background: radial-gradient(ellipse 60% 85% at 30% 0, var(--pink), transparent 70%), radial-gradient(ellipse 60% 85% at 75% 0, var(--orange), transparent 70%); }
.pat-icon--even::before { background: linear-gradient(180deg, var(--pink), var(--sky) 90%, transparent); }
.pat-icon--both::before { background: radial-gradient(ellipse 45% 70% at 25% 0, var(--pink), transparent 70%); }
.pat-icon--both::after { left: 50%; background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(255,255,255,.9) 5px 6px, transparent 6px 11px); }
.opt-photo { margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 1100px; }
.opt-photo img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.14); }
.opt-photo figcaption { margin-top: 0.75rem; text-align: center; color: var(--lavender-soft); font-size: 0.9rem; }
.options-cta { text-align: center; margin: 2rem 0 0; }
@media (prefers-reduced-motion: reduce) { .soffit-layer { transition: none; } }


/* ---------- Build-your-glow steps ---------- */
.wiz-progress { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin: 1.5rem 0 1.25rem; flex-wrap: wrap; }
.wiz-progress li { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem 0.35rem 0.4rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--lavender); font-size: 0.85rem; font-weight: 600; }
.wiz-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: var(--white); font-size: 0.8rem; }
.wiz-progress li.is-current { color: var(--white); border-color: var(--pink); background: rgba(255, 51, 141, 0.18); }
.wiz-progress li.is-current .wiz-dot, .wiz-progress li.is-done .wiz-dot { background: var(--grad-glow); color: var(--navy-900); }
.wiz-title { font-size: 1.35rem; margin-bottom: 0.4rem; }
.wiz-title:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.wiz-help { color: var(--lavender); margin-bottom: 0; }
.wiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.wiz-actions .btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none; }
.wiz-note { margin: 0; color: var(--lavender-soft); font-size: 0.9rem; }
.wiz-summary { display: grid; gap: 0.5rem; margin: 1rem 0 1.25rem; padding: 1rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); }
.wiz-summary div { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; }
.wiz-summary dt { color: var(--lavender-soft); font-size: 0.9rem; min-width: 7rem; }
.wiz-summary dd { margin: 0; font-weight: 600; }
.wiz-form { display: grid; gap: 1rem; }
.wiz-field { display: grid; gap: 0.35rem; }
.wiz-field label, .wiz-coverage legend { font-weight: 600; font-size: 0.95rem; }
.wiz-input { width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.wiz-input:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.wiz-input[aria-invalid="true"] { border-color: #ff7a9c; }
.wiz-error { margin: 0; color: #ffb3c6; font-size: 0.88rem; font-weight: 600; }
.wiz-error:empty { display: none; }
.wiz-coverage { border: 0; padding: 0; margin: 0; }
.wiz-radios { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.6rem; margin-top: 0.5rem; }
.wiz-radio { display: flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.55rem 0.9rem; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); cursor: pointer; }
.wiz-radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--pink); flex: none; }
.wiz-radio:has(input:checked) { border-color: var(--pink); background: rgba(255, 51, 141, 0.2); }
.wiz-radio:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.wiz-privacy { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0; padding: 0.8rem 1rem; border-radius: 12px; background: rgba(125, 193, 245, 0.1); border: 1px solid rgba(125, 193, 245, 0.35); color: var(--lavender); font-size: 0.9rem; }
.wiz-privacy svg { flex: none; margin-top: 0.15rem; color: var(--sky); }
.wiz-privacy a { color: var(--white); }
.wizard .form-alert:empty { display: none; }
.wizard .form-alert--error { color: #ffb3c6; margin: 0 0 1rem; }
.wiz-done { padding: 1.25rem; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); }
.wiz-done h4 { font-size: 1.3rem; }
.wiz-done h4:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.wizard .scene-status { margin-top: 1.5rem; }
