/* ==========================================================================
   Space City Glow — Luxe Night × Texas Warmth
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Night palette */
  --night-950: #060B17;
  --night-900: #0A1222;
  --night-850: #0D172B;
  --night-800: #111D34;
  --night-700: #1A2944;
  --night-600: #263858;

  /* Warm metals */
  --gold-200: #FBE7BC;
  --gold-300: #F7D998;
  --gold-400: #F2C46D;
  --gold-500: #E0A84A;
  --amber-500: #F08A2E;
  --ember-600: #C8641A;

  /* Light surfaces */
  --ivory: #FBF6EC;
  --ivory-200: #F1E9D8;
  --ink: #0B1426;

  /* Brand accents (from logo) */
  --holly: #1F6B35;
  --berry: #C42B26;

  /* Semantic */
  --bg: var(--night-900);
  --surface: var(--night-800);
  --surface-2: var(--night-700);
  --text: #F6F0E4;
  --text-2: #CFC6B4;
  --text-3: #A79F8F;
  --line: rgba(247, 217, 152, .14);
  --line-strong: rgba(247, 217, 152, .28);
  --accent: var(--gold-400);
  --on-accent: #1A1204;
  --focus: #FFE3A3;
  --danger: #FF8A80;
  --success: #7EE2A1;

  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --fs-2xl: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --fs-3xl: clamp(2.6rem, 1.4rem + 4.6vw, 5.25rem);

  /* Space (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  /* Layers */
  --z-base: 1; --z-raised: 10; --z-nav: 40; --z-sticky: 50; --z-overlay: 100; --z-toast: 1000;

  --shadow-glow: 0 0 0 1px rgba(247, 217, 152, .18), 0 18px 60px -20px rgba(240, 138, 46, .45);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 48px -28px rgba(0, 0, 0, .8);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
svg.icon { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sr-only { 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: 16px; top: -100px; z-index: var(--z-toast); background: var(--ivory); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-300);
}
.eyebrow .spark { width: 14px; height: 14px; color: var(--gold-400); flex: none; }
.lede { font-size: var(--fs-lg); color: var(--text-2); max-width: 60ch; }
.gold-text {
  background: linear-gradient(100deg, var(--gold-200) 0%, var(--gold-400) 45%, var(--amber-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
em.serif { font-style: italic; font-family: var(--font-display); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em; text-decoration: none;
  touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--amber-500));
  --btn-fg: var(--on-accent); --btn-bd: transparent;
  background: var(--btn-bg);
  box-shadow: 0 10px 30px -10px rgba(240, 138, 46, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 900ms var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(240, 138, 46, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost:hover { --btn-bd: var(--gold-400); background: rgba(247, 217, 152, .06); }
.btn-ink { --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink); background: var(--ink); }
.btn-ink:hover { background: #18243c; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: var(--fs-md); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: var(--z-nav);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  width: min(100% - 24px, 1240px); margin-inline: auto;
  display: flex; align-items: center; gap: var(--s-4);
  padding: 8px 8px 8px 18px;
  background: rgba(251, 246, 236, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  color: var(--ink);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(11, 20, 38, .04);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.nav.is-hidden .nav__bar { transform: translateY(-140%); }
.nav__logo { display: block; flex: none; line-height: 0; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: none; list-style: none; gap: 2px; margin-inline: auto; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none; color: #2A3550;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.nav__links a:hover { background: rgba(11, 20, 38, .06); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); background: rgba(224, 168, 74, .2); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__phone {
  display: none; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-sm); text-decoration: none; color: var(--ink); white-space: nowrap;
}
.nav__phone svg { width: 18px; height: 18px; color: var(--ember-600); }
.nav__phone:hover { background: rgba(11, 20, 38, .06); }
.nav .btn-primary { min-height: 44px; padding: 10px 18px; white-space: nowrap; }
.nav__menu-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 999px; background: rgba(11, 20, 38, .06); color: var(--ink);
}
.nav__menu-btn svg { width: 22px; height: 22px; }
.nav__drawer {
  pointer-events: auto;
  width: min(100% - 24px, 1240px); margin: 8px auto 0;
  background: rgba(251, 246, 236, .98); color: var(--ink);
  border-radius: 24px; padding: 10px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  transform-origin: top center;
  animation: drawer-in var(--dur) var(--ease-out);
}
.nav__drawer[hidden] { display: none; }
.nav__drawer a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; font-weight: 600; text-decoration: none; }
.nav__drawer a:hover { background: rgba(11, 20, 38, .06); }
.nav__drawer .btn { width: 100%; margin-top: 6px; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

@media (min-width: 560px) { .nav__phone { display: inline-flex; } .nav__phone span { display: none; } }
@media (min-width: 1080px) {
  .nav__links { display: flex; }
  .nav__menu-btn { display: none; }
  .nav__phone span { display: inline; }
  .nav__logo img { height: 52px; }
}
@media (max-width: 400px) { .nav .btn-primary .label-long { display: none; } .nav__logo img { height: 38px; } }
@media (min-width: 401px) { .nav .btn-primary .label-short { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 980px);
  display: grid; align-items: end;
  padding: 150px 0 clamp(48px, 8vw, 96px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%;
  transform: scale(1.08);
  animation: kenburns 16s var(--ease-out) forwards;
}
@keyframes kenburns { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 11, 23, .55) 0%, rgba(6, 11, 23, .1) 30%, rgba(6, 11, 23, .55) 62%, var(--night-900) 100%),
    linear-gradient(90deg, rgba(6, 11, 23, .85) 0%, rgba(6, 11, 23, .35) 55%, rgba(6, 11, 23, 0) 80%);
}
@media (max-width: 720px) {
  .hero::before { background: linear-gradient(180deg, rgba(6, 11, 23, .7) 0%, rgba(6, 11, 23, .55) 45%, rgba(6, 11, 23, .75) 75%, var(--night-900) 100%); }
}
.hero__bokeh { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__string { position: absolute; top: 88px; left: 0; right: 0; height: 130px; z-index: 0; pointer-events: none; }
@media (min-width: 1080px) { .hero__string { top: 96px; } }
.hero__content { max-width: 760px; }
.hero h1 { font-size: var(--fs-3xl); margin: 18px 0 22px; font-weight: 400; }
.hero h1 .line { display: block; }
.hero .lede { color: #E4DCCB; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; list-style: none; color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold-400); }

.word { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); animation: word-in 900ms var(--ease-out) forwards; animation-delay: calc(var(--w, 0) * 70ms + 250ms); }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }
.fade-up { opacity: 0; transform: translateY(16px); animation: word-in 900ms var(--ease-out) forwards; animation-delay: var(--d, 900ms); }

/* ---------- Light string (SVG) ---------- */
.lights .bulb { opacity: .08; }
.lights.is-lit .bulb { animation: ignite 520ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 34ms); }
.lights .bulb .halo { transform-box: fill-box; transform-origin: center; }
.lights.is-lit .bulb.tw .halo { animation: twinkle var(--tw, 3s) ease-in-out infinite alternate; animation-delay: calc(var(--i) * 34ms + 900ms); }
.lights .wire { stroke: #0F1A12; stroke-width: 2; fill: none; opacity: .9; }
@keyframes ignite { 0% { opacity: .08; } 60% { opacity: 1; } 75% { opacity: .7; } 100% { opacity: 1; } }
@keyframes twinkle { 0%, 40% { opacity: 1; transform: scale(1); } 100% { opacity: .35; transform: scale(.82); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section--tint { background: linear-gradient(180deg, var(--night-900), var(--night-850) 20%, var(--night-850) 80%, var(--night-900)); }
.section__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { font-size: var(--fs-2xl); }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }

.divider-lights { height: 70px; margin-top: -35px; margin-bottom: -35px; position: relative; z-index: 2; pointer-events: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--r, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- How it works (designer teaser) ---------- */
.how { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .how { grid-template-columns: 1.05fr 1fr; } }
.how__demo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #1B2B4A 0%, var(--night-950) 70%);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.how__demo svg.house { position: absolute; inset: 0; width: 100%; height: 100%; }
.how__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(242, 196, 109, .18) 85%, rgba(247, 217, 152, .7) 100%);
  border-bottom: 1px solid var(--gold-300);
  opacity: 0; transform: translateY(-100%);
}
.how__demo.is-in .how__scan { animation: scan 1.8s var(--ease-in) 300ms 1 forwards; }
@keyframes scan { 0% { opacity: 0; transform: translateY(-100%); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(340%); } }
.how__tags { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(6, 11, 23, .78); border: 1px solid var(--line-strong); color: var(--gold-200);
  opacity: 0; transform: translateY(6px) scale(.96);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-spring);
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 10px var(--gold-400); }
.how__demo.is-detected .tag { opacity: 1; transform: none; }
.how__demo.is-detected .tag:nth-child(2) { transition-delay: 120ms; }
.how__demo.is-detected .tag:nth-child(3) { transition-delay: 240ms; }
.how__demo.is-detected .tag:nth-child(4) { transition-delay: 360ms; }
.how__price {
  position: absolute; right: 16px; bottom: 16px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(251, 246, 236, .96); color: var(--ink); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(12px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.how__price small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6A5A3A; }
.how__price strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.how__demo.is-priced .how__price { opacity: 1; transform: none; }
.house .roof-guide, .house .box-guide { fill: none; stroke: var(--gold-300); stroke-width: 2; stroke-dasharray: 6 6; opacity: 0; transition: opacity 600ms; }
.how__demo.is-detected .house .roof-guide, .how__demo.is-detected .house .box-guide { opacity: .9; }
.how__demo.is-priced .house .roof-guide, .how__demo.is-priced .house .box-guide { opacity: 0; }

.steps { list-style: none; display: grid; gap: 14px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start;
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0));
  transition: border-color var(--dur), background-color var(--dur), transform var(--dur) var(--ease-out);
}
.step:hover { border-color: var(--line-strong); transform: translateX(4px); }
.step__num {
  counter-increment: step; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-300);
  background: radial-gradient(circle at 50% 35%, rgba(242, 196, 109, .25), rgba(242, 196, 109, .04));
  border: 1px solid var(--line-strong);
}
.step__num::before { content: counter(step); }
.step h3 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; margin-bottom: 4px; letter-spacing: 0; }
.step p { color: var(--text-2); font-size: var(--fs-sm); }

/* ---------- Gallery ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--text-2); font-weight: 600; font-size: var(--fs-sm);
  transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover { color: var(--text); border-color: var(--gold-400); }
.chip[aria-pressed="true"] { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.gallery { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1024px) { .gallery { columns: 3; column-gap: 20px; } }
.gallery__item {
  position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden;
  background: var(--night-800); cursor: zoom-in;
  box-shadow: var(--shadow-card);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
@media (min-width: 1024px) { .gallery__item { margin-bottom: 20px; } }
.gallery__item[hidden] { display: none; }
.gallery__item button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.gallery__item button:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.gallery__item img { width: 100%; transition: transform 900ms var(--ease-out), filter 900ms var(--ease-out); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(247, 217, 152, .12);
  transition: box-shadow var(--dur) var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.045); filter: saturate(1.12) brightness(1.06); }
.gallery__item:hover::after { box-shadow: inset 0 0 0 1px rgba(247, 217, 152, .5), inset 0 -80px 80px -40px rgba(6, 11, 23, .7); }
.gallery__cap {
  position: absolute; left: 14px; bottom: 12px; right: 14px; pointer-events: none;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; color: var(--ivory);
  opacity: 0; transform: translateY(6px); transition: all var(--dur) var(--ease-out);
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-within .gallery__cap { opacity: 1; transform: none; }
@media (hover: none) { .gallery__cap { opacity: 1; transform: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); } }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(4, 7, 15, .94); color: var(--text);
}
.lightbox::backdrop { background: rgba(4, 7, 15, .6); }
.lightbox[open] { display: grid; place-items: center; animation: fade-in var(--dur) var(--ease-out); }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 16px 24px; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 78dvh; width: auto; border-radius: 12px; animation: zoom-in 420ms var(--ease-out); }
.lightbox figcaption { color: var(--text-2); font-size: var(--fs-sm); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(10, 18, 34, .8); color: var(--text);
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { border-color: var(--gold-400); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }

/* ---------- Pricing ---------- */
.rates { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); min-height: 280px; }
.rate {
  position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .005));
  transition: border-color var(--dur), transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.rate:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.rate__icon { width: 40px; height: 40px; color: var(--gold-400); margin-bottom: 16px; }
.rate h3 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; letter-spacing: 0; }
.rate__price { margin-top: 10px; font-family: var(--font-display); font-size: 2rem; font-variant-numeric: tabular-nums; }
.rate__price small { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--text-3); font-weight: 600; }
.rate p { color: var(--text-3); font-size: var(--fs-sm); margin-top: 4px; }
.rate--feature { border-color: rgba(242, 196, 109, .45); background: radial-gradient(120% 100% at 0% 0%, rgba(242, 196, 109, .16), rgba(242, 196, 109, 0) 60%), var(--night-800); }
.rate--feature::before { content: "Most popular"; position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-accent); background: var(--gold-400); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 640px) {
  .rates { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rate { padding: 16px; }
  .rate--feature { grid-column: 1 / -1; }
  .rate__icon { width: 30px; height: 30px; margin-bottom: 10px; }
  .rate__price { font-size: 1.5rem; }
  .rate p { font-size: var(--fs-xs); }
}
.pricing-notes { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 860px) { .pricing-notes { grid-template-columns: 1fr 1fr; } }
.note-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--night-850); }
.note-card svg { width: 28px; height: 28px; color: var(--gold-400); flex: none; margin-top: 2px; }
.note-card h3 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.note-card p { color: var(--text-2); font-size: var(--fs-sm); }
.note-card--hero { border-color: rgba(196, 43, 38, .45); background: linear-gradient(135deg, rgba(196, 43, 38, .14), rgba(31, 107, 53, .12)), var(--night-850); }

/* ---------- Included (timeline) ---------- */
.included { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; }
.included li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--night-800); border: 1px solid var(--line); overflow: hidden; }
.included li::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 138, 46, .22), transparent 70%);
  transition: transform 900ms var(--ease-out);
}
.included li:hover::before { transform: translate(-30px, -30px) scale(1.2); }
.included .month { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.included h3 { font-size: var(--fs-xl); margin: 10px 0 8px; }
.included p { color: var(--text-2); font-size: var(--fs-sm); position: relative; }

/* ---------- Service area ---------- */
.area { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .area { grid-template-columns: 1fr 1fr; } }
.area__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 28px; }
.area__list li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, .02); }
.area__map { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.area__map svg { width: 100%; height: 100%; }
.area__map .ring { fill: none; stroke: var(--line-strong); stroke-dasharray: 2 8; transform-origin: 260px 260px; animation: spin 90s linear infinite; }
.area__map .ring--2 { animation-direction: reverse; animation-duration: 140s; }
.area__map .dot { fill: var(--gold-300); }
.area__map .dot-halo { fill: var(--gold-400); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.area__map text { fill: var(--text-2); font: 600 13px var(--font-body); }
.area__map .hq text { fill: var(--gold-200); font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(2.2); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--night-850); transition: border-color var(--dur), background-color var(--dur); }
.faq details[open] { border-color: var(--line-strong); background: var(--night-800); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 22px; font-weight: 700; font-size: var(--fs-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 22px; height: 22px; flex: none; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--gold-400); border-radius: 2px; transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease-out); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq details[open] .answer { animation: answer-in 420ms var(--ease-out); }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 160px) 0 0; text-align: center; background: radial-gradient(90% 70% at 50% 100%, rgba(240, 138, 46, .22), transparent 70%), var(--night-950); }
.cta-band h2 { font-size: var(--fs-3xl); font-weight: 400; }
.cta-band .lede { margin: 20px auto 0; }
.cta-band__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.skyline { margin-top: clamp(48px, 7vw, 80px); width: 100%; height: auto; }
.skyline .bldg { fill: #08101F; }
.skyline .win { fill: rgba(247, 217, 152, .14); }

/* ---------- Footer ---------- */
.footer { background: var(--night-950); padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer__brand { display: inline-block; padding: 16px 20px; border-radius: 20px; background: var(--ivory); line-height: 0; }
.footer__brand img { width: 240px; height: auto; }
.footer h3 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--text-2); text-decoration: none; transition: color var(--dur-fast); }
.footer a:hover { color: var(--gold-200); }
.footer a svg { width: 18px; height: 18px; color: var(--gold-400); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--text-3); font-size: var(--fs-xs); }

/* ---------- Toast ---------- */
.toast-region { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: var(--z-toast); display: grid; gap: 8px; width: min(92vw, 460px); pointer-events: none; }
.toast { pointer-events: auto; padding: 14px 18px; border-radius: 14px; background: var(--ivory); color: var(--ink); font-weight: 600; font-size: var(--fs-sm); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); animation: toast-in 380ms var(--ease-spring); }
.toast--warn { border-left: 5px solid var(--amber-500); }
.toast.is-leaving { animation: toast-out 220ms var(--ease-in) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .hero__media img { transform: none; }
  .word, .fade-up, .reveal { opacity: 1; transform: none; filter: none; }
  .lights .bulb { opacity: 1; }
}

/* ---------- Pricing plan tabs ---------- */
.plan-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.plan-tagline { color: var(--text-2); margin-bottom: 22px; max-width: 70ch; }
.plan-tagline a { color: var(--gold-300); font-weight: 700; white-space: nowrap; }

/* ==========================================================================
   Landing pages (city, permanent, cost guide, events guide)
   ========================================================================== */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(150px, 18vw, 210px) 0 clamp(64px, 8vw, 110px); }
.lp-hero__bg { position: absolute; inset: 0; z-index: -2; }
.lp-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 11, 23, .94) 0%, rgba(6, 11, 23, .82) 45%, rgba(6, 11, 23, .55) 100%), linear-gradient(0deg, var(--night-900), transparent 40%); }
.lp-hero__inner > * { max-width: 820px; }
.lp-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); font-weight: 400; margin: 16px 0 20px; }
.lp-hero .lede { color: #E4DCCB; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-updated { margin-top: 18px; font-size: var(--fs-xs); color: var(--text-3); }
.crumbs { font-size: var(--fs-sm); color: var(--text-3); margin-bottom: 18px; }
.crumbs a { color: var(--gold-300); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.nav__links a[aria-current="page"] { color: var(--gold-200); }

.prose { max-width: 72ch; color: var(--text-2); font-size: var(--fs-md); line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose ul { padding-left: 1.2em; display: grid; gap: .6em; }
.prose li::marker { color: var(--gold-400); }
.prose strong { color: var(--text); }
.prose a, .faq .answer a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.section .prose + .table-wrap, .table-wrap + .prose, .table-wrap + .table-wrap, .prose + .hood-grid { margin-top: 28px; }

.plan-grid { display: grid; gap: 18px; }
@media (min-width: 960px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--night-800); }
.plan-card--feature { border-color: rgba(242, 196, 109, .45); background: radial-gradient(120% 100% at 0% 0%, rgba(242, 196, 109, .14), rgba(242, 196, 109, 0) 60%), var(--night-800); }
.plan-card__flag { position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 999px; background: var(--gold-400); color: var(--on-accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.plan-card h3 { font-size: var(--fs-xl); }
.plan-card__price { color: var(--text-3); }
.plan-card__price strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--gold-200); }
.plan-card > p { color: var(--text-2); font-size: var(--fs-sm); }
.plan-card ul { list-style: none; display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--text-2); }
.plan-card li { display: flex; gap: 8px; }
.plan-card li svg { width: 16px; height: 16px; color: var(--gold-400); flex: none; margin-top: 3px; }
.plan-card__note { color: var(--success) !important; font-weight: 600; }
.plan-card .btn { margin-top: auto; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--night-850); }
.price-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 520px; }
.price-table caption { caption-side: bottom; text-align: left; padding: 12px 16px; color: var(--text-3); font-size: var(--fs-xs); }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { color: var(--gold-300); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }
.price-table tbody th { font-weight: 600; color: var(--text); }
.price-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.price-table tbody tr:last-child > * { border-bottom: 0; }

.hood-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hood { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--night-850); }
.hood h3 { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.hood h3 svg { width: 18px; height: 18px; color: var(--gold-400); }
.hood p { color: var(--text-2); font-size: var(--fs-sm); }

.cta-band { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); border: 1px solid rgba(242, 196, 109, .35); background: radial-gradient(90% 140% at 100% 0%, rgba(240, 138, 46, .22), transparent 60%), var(--night-800); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { font-size: var(--fs-2xl); margin-bottom: 10px; }
.cta-band p { color: var(--text-2); max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }
@media (min-width: 860px) { .footer__grid--4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.lp .section { padding: clamp(56px, 8vw, 104px) 0; }
.hood--link { display: block; color: inherit; text-decoration: none; transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.hood--link:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.hood--link h3 { color: var(--gold-200); }
