/* ============================================================
   TWILIGHT ZONE PERMANENT LIGHTING
   Cinematic · Interactive · Immersive
   ============================================================ */

:root {
  --bg: #050505;
  --bg-2: #0d0d0d;
  --bg-3: #131313;
  --bg-elev: #1a1a1a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-mute: rgba(255, 255, 255, 0.52);
  --text-faint: rgba(255, 255, 255, 0.32);

  --purple-100: #f3e8ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;

  --p-peach: #f5e6d3;
  --p-pink: #f4d4e0;
  --p-mint: #d6e9d8;
  --p-lilac: #ddd6f0;
  --p-sky: #d4e4f0;

  --container: 1280px;
  --container-wide: 1440px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 100px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(3rem, 7.5vw, 7.5rem); font-weight: 700; }
h2 { font-size: clamp(2.2rem, 5vw, 4.8rem); font-weight: 600; letter-spacing: -0.04em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
h4 { font-size: 1.05rem; font-weight: 600; }

em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-purple { color: var(--purple-300); }

/* ============================================================
   CINEMATIC LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  text-align: center;
  position: relative;
}
.loader-mark {
  width: 200px;
  height: 100px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.6));
}
.loader-orbit {
  stroke-dasharray: 350;
  stroke-dashoffset: 350;
  animation: drawOrbit 1.4s var(--ease-out) forwards;
}
@keyframes drawOrbit { to { stroke-dashoffset: 0; } }
.loader-bulb {
  opacity: 0;
  animation: bulbOn 0.6s var(--ease-out) forwards;
  filter: drop-shadow(0 0 6px #fff);
}
.loader-bulb:nth-child(3) { animation-delay: 0.5s; }
.loader-bulb:nth-child(4) { animation-delay: 0.7s; }
.loader-bulb:nth-child(5) { animation-delay: 0.9s; }
.loader-bulb:nth-child(6) { animation-delay: 1.1s; }
@keyframes bulbOn {
  0% { opacity: 0; transform: scale(0); }
  60% { opacity: 1; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}
.loader-text {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 2.4rem;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.6s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(168, 85, 247, 0.15);
  border-radius: 2px;
  margin: 24px auto 0;
  overflow: hidden;
}
.loader-bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #f0abfc);
  animation: loadFill 1.6s var(--ease-out) 0.4s forwards;
}
@keyframes loadFill { to { width: 100%; } }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor, .cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .3s, width .25s var(--ease), height .25s var(--ease), background .25s, border .25s;
  opacity: 0;
}
.cursor {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(168, 85, 247, 0.55);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 70%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.9);
}
.cursor.visible, .cursor-dot.visible { opacity: 1; }
.cursor.hover {
  width: 64px;
  height: 64px;
  border-color: rgba(192, 132, 252, 0.85);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 70%);
}
.cursor.click {
  width: 22px;
  height: 22px;
  background: rgba(168, 85, 247, 0.4);
}

.cursor, .cursor-dot { display: none !important; }

/* ============================================================
   SECTION DOT NAV
   ============================================================ */
.dot-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transition: opacity .5s;
}
.dot-nav.visible { opacity: 1; }
.dot-nav a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  transition: all .3s var(--ease);
}
.dot-nav a:hover {
  background: rgba(168, 85, 247, 0.6);
  transform: scale(1.3);
}
.dot-nav a.active {
  background: var(--purple-500);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
  transform: scale(1.4);
}
.dot-nav a::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
.dot-nav a:hover::before, .dot-nav a.active::before { opacity: 1; }
@media (max-width: 1100px) { .dot-nav { display: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .3s var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: #fff; color: #000; }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  opacity: 0;
  transition: opacity .35s;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.4);
}
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #f0e8ff; transform: translateY(-2px); }
.btn-text {
  color: var(--text-soft);
  padding: 14px 0;
  font-weight: 500;
  position: relative;
}
.btn-text::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .35s var(--ease);
}
.btn-text:hover { color: #fff; }
.btn-text:hover::after { width: 100%; }

[data-magnetic] {
  transition: transform .3s var(--ease-out);
  will-change: transform;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: relative;
  z-index: 100;
  background: #000;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}
.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; cursor: pointer; }
.brand-logo {
  display: block;
  height: 68px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.18));
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.55));
  transform: translateY(-1px);
}
.brand-logo-foot {
  height: 110px;
  filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.22));
}
/* legacy classes kept hidden in case any old reference */
.brand-mark, .brand-name, .brand-divider, .brand-tag { display: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-soft);
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-phone { font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 132px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 60px;
  overflow: hidden;
  background: #000;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ken-burns {
  width: 110%;
  height: 110%;
  object-fit: cover;
  position: absolute;
  inset: -5% 0 0 -5%;
  filter: brightness(0.5) saturate(1.1) contrast(1.05);
  animation: kenBurns 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2%, -3%); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 25%, transparent 55%, rgba(0,0,0,0.95) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(168, 85, 247, 0.22), transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(139, 92, 246, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Cursor-following spotlight */
.hero-spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(20px);
  opacity: 0;
  transition: opacity .4s var(--ease);
  mix-blend-mode: screen;
  will-change: transform;
  left: 50%;
  top: 50%;
}
.hero:hover .hero-spotlight { opacity: 1; }

.hero-glow {
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.4), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  0% { opacity: 0.55; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 0.85; transform: translateX(-50%) scale(1.05); }
}

.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7), 0 0 18px rgba(168, 85, 247, 0.5);
  opacity: 0;
  animation: floatUp 14s linear infinite;
}
.hero-particles span:nth-child(1) { left: 8%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 22%; animation-delay: 1.8s; }
.hero-particles span:nth-child(3) { left: 38%; animation-delay: 3.6s; }
.hero-particles span:nth-child(4) { left: 52%; animation-delay: 5.4s; }
.hero-particles span:nth-child(5) { left: 66%; animation-delay: 7.2s; }
.hero-particles span:nth-child(6) { left: 78%; animation-delay: 9s; }
.hero-particles span:nth-child(7) { left: 88%; animation-delay: 10.8s; }
.hero-particles span:nth-child(8) { left: 96%; animation-delay: 12.6s; }
@keyframes floatUp {
  0% { transform: translateY(110vh) scale(0); opacity: 0; }
  10% { opacity: 1; transform: translateY(95vh) scale(1); }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(0); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 28px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}
.hero-title {
  font-size: clamp(3rem, 9vw, 8.5rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero-title span {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.1s var(--ease-out) forwards;
}
.hero-title .hero-line-1 { animation-delay: 0.4s; }
.hero-title .hero-line-2 { animation-delay: 0.6s; }
.hero-title .hero-line-3 { animation-delay: 0.8s; }
.hero-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #c084fc 0%, #f0abfc 50%, #d8b4fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.hero-est {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin: 0 0 40px;
  font-weight: 400;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}
.hero-foot {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 60px auto 0;
  padding: 60px 32px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.4s forwards;
}
.hero-foot-item .num {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero-foot-item .lab {
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-mute);
  opacity: 0;
  animation: fadeIn 1s 1.8s forwards;
}
.cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--purple-400), transparent);
  animation: cueAnim 2s ease-in-out infinite;
}
@keyframes cueAnim {
  0%, 100% { opacity: 0.2; transform: scaleY(0.4); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   STATEMENT (ACT I)
   ============================================================ */
.statement {
  padding: 200px 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
}
.statement-eyebrow {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--purple-300);
  letter-spacing: 0.3em;
  margin: 0 0 32px;
  position: relative;
}
.statement-title {
  font-size: clamp(2.8rem, 8vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 32px;
  position: relative;
  will-change: transform;
}
.statement-title em {
  background: linear-gradient(135deg, #c084fc 0%, #f0abfc 50%, #d8b4fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.statement-sub {
  color: var(--text-soft);
  font-size: 1.15rem;
  max-width: 50ch;
  margin: 0 auto;
  position: relative;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 60px;
  animation: marquee 40s linear infinite;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}
.marquee-track span:nth-child(odd) {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions { padding: 140px 0; background: var(--bg); }
.solutions-head { margin-bottom: 64px; text-align: center; }
.solutions-head h2 { max-width: 22ch; margin: 0 auto; }
.solutions-intro {
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 56ch;
  margin: 18px auto 0;
  line-height: 1.6;
}
.solutions-intro strong { color: #fff; font-weight: 600; }
.sol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.sol-card {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .5s var(--ease);
  transform-style: preserve-3d;
}
.sol-image { aspect-ratio: 4 / 5; overflow: hidden; }
.sol-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.sol-card:hover .sol-image img { transform: scale(1.08); }
.sol-body { padding: 28px 28px 32px; }
.sol-body h3 { font-size: 2rem; margin-bottom: 10px; font-weight: 600; }
.sol-body p { color: var(--text-soft); font-size: 0.95rem; margin: 0 0 20px; line-height: 1.5; }
.sol-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: all .25s;
}
.sol-link span { transition: transform .25s; }
.sol-link:hover { border-color: var(--purple-400); color: var(--purple-300); }
.sol-link:hover span { transform: translateX(4px); }

/* ============================================================
   INTERACTIVE SCENE PICKER
   ============================================================ */
.scene {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.08), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.scene-head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.scene-head h2 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 600;
  margin-bottom: 20px;
}
.scene-head p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 56ch;
}
.scene-stage {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.04), rgba(168, 85, 247, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(10px);
}
.scene-house-wrap {
  position: relative;
  background: #050208;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}
.scene-house { width: 100%; height: 100%; display: block; }
.scene-photo-wrap { position: relative; width: 100%; height: 100%; }
.scene-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity;
}
.scene-photo.scene-photo-active { opacity: 1; }
.scene-name-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.scene-name-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  font-weight: 700;
}
.scene-name {
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}

.scene-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scene-controls-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin: 0;
  font-weight: 700;
}
.scene-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.scene-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: all .3s var(--ease);
  text-align: left;
}
.scene-btn:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: var(--line-strong);
  color: #fff;
  transform: translateX(4px);
}
.scene-btn.active {
  background: rgba(168, 85, 247, 0.18);
  border-color: var(--purple-500);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}
.scene-swatch {
  width: 26px; height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.5);
  border: 1px solid rgba(255,255,255,0.15);
}
.scene-swatch-custom {
  background: conic-gradient(from 180deg, #ef4444, #f59e0b, #22c55e, #3b82f6, #a855f7, #ef4444) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.scene-btn-custom { grid-column: 1 / -1; }
.scene-btn-custom.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(217, 70, 239, 0.15));
}
.scene-hint {
  font-size: 0.82rem;
  color: var(--text-mute);
  margin: 0;
  line-height: 1.5;
  padding: 12px 16px;
  background: rgba(168, 85, 247, 0.06);
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
}
.scene-hint strong { color: var(--purple-300); }

/* ============================================================
   EMOTIONAL BREAK (ACT II)
   ============================================================ */
.emotion {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}
.emotion-media { position: absolute; inset: 0; overflow: hidden; }
.emotion-media img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  position: absolute;
  inset: -5% 0 0 -5%;
  filter: brightness(0.45) saturate(1.15);
  will-change: transform;
}
.emotion-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(20, 10, 40, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}
.emotion-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 32px;
}
.emotion-eyebrow {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--purple-300);
  letter-spacing: 0.3em;
  margin: 0 0 32px;
}
.emotion-quote {
  font-size: clamp(2rem, 5.5vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 22ch;
  margin: 0 auto 32px;
}
.emotion-quote em {
  background: linear-gradient(135deg, #f0abfc, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.emotion-by {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================================
   TRUSTED
   ============================================================ */
.trusted { padding: 140px 0; background: var(--bg); }
.trusted-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; align-items: center; }
.trusted-text h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; margin-bottom: 24px; }
.trusted-text .num-big {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trusted-text p { color: var(--text-soft); font-size: 1.05rem; max-width: 56ch; margin: 0; line-height: 1.6; }
.trusted-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transform-style: preserve-3d;
}
.g-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #4285F4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.g-icon svg { width: 28px; height: 28px; }
.g-stars { color: #fbbf24; font-size: 1.4rem; letter-spacing: 0.1em; }
.g-rating { font-size: 0.78rem; letter-spacing: 0.18em; color: var(--text-soft); font-weight: 700; margin-top: 4px; }
.g-count { font-size: 0.82rem; color: var(--text-mute); margin-top: 4px; }

/* ============================================================
   MEGA STATS
   ============================================================ */
.mega-stats {
  padding: 140px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ms-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 80px;
  gap: 64px;
  flex-wrap: wrap;
}
.ms-eyebrow {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--purple-300);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}
.ms-headline {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 0;
}
.ms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.ms-item { display: flex; flex-direction: column; gap: 12px; }
.ms-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ms-num span {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 4px;
  vertical-align: super;
  background: none;
  -webkit-text-fill-color: var(--text-mute);
}
.ms-label { font-size: 0.92rem; color: var(--text-mute); max-width: 22ch; line-height: 1.4; }

/* ============================================================
   TEMP
   ============================================================ */
.temp-section { padding: 140px 0; background: var(--bg); }
.temp-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.temp-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #000;
  --temp: 50%;
}
.temp-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Cool image is the base layer (full coverage). */
.temp-pic-cool { z-index: 1; }
/* Warm image overlays via clip-path; only shows the slice from --temp to right edge. */
.temp-pic-warm {
  z-index: 2;
  clip-path: inset(0 0 0 var(--temp));
  -webkit-clip-path: inset(0 0 0 var(--temp));
  transition: clip-path 0.18s ease-out, -webkit-clip-path 0.18s ease-out;
}
/* Vertical divider line that tracks the split boundary so the user sees both halves */
.temp-photo::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--temp);
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.35));
  box-shadow: 0 0 14px rgba(255,255,255,0.4);
  z-index: 3;
  pointer-events: none;
  transition: left 0.18s ease-out;
}
.temp-photo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: var(--temp);
  width: 36px;
  height: 36px;
  margin-left: -18px;
  margin-top: -18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 18px rgba(0,0,0,0.5), 0 0 0 4px rgba(255,255,255,0.18);
  z-index: 4;
  pointer-events: none;
  transition: left 0.18s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .temp-pic-warm,
  .temp-photo::after,
  .temp-photo::before { transition: none; }
}
.temp-image { position: relative; }
.temp-slider {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: min(440px, calc(100% - 64px));
}
.temp-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.temp-icon-cool { background: linear-gradient(135deg, #6366f1, #3b82f6); color: #fff; }
.temp-icon-warm { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff; }
#tempRange {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, #3b82f6 0%, #fff 50%, #fbbf24 100%);
  height: 4px;
  border-radius: 4px;
  flex-grow: 1;
  outline: none;
  cursor: pointer;
}
#tempRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  cursor: pointer;
}
.temp-text h2 { margin-bottom: 24px; font-weight: 600; }
.temp-text h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.temp-text p { color: var(--text-soft); font-size: 1.05rem; margin: 0 0 18px; line-height: 1.6; max-width: 50ch; }

/* ============================================================
   LIGHTS ON/OFF TOGGLE DEMO
   ============================================================ */
.lights-demo {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 60vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--line);
}
.ld-stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.ld-day, .ld-night {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.ld-day { z-index: 1; }
.ld-night { z-index: 2; }
/* Subtle glow when lights are on */
.lights-demo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0) 60%, rgba(168, 85, 247, 0) 100%);
  transition: background 1.1s ease;
}
.lights-demo.on::after {
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0) 50%, rgba(168, 85, 247, 0.18) 100%);
}

.ld-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.ld-state {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: color .4s cubic-bezier(0.23, 1, 0.32, 1);
}
.lights-demo:not(.on) .ld-state-off { color: #fff; }
.lights-demo.on .ld-state-on {
  color: #fff;
  text-shadow: 0 0 12px rgba(217, 70, 239, 0.6);
}

/* The switch — uiverse style, scoped */
.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
  flex-shrink: 0;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #d4acfb;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}
.switch .switch-slider::before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  left: 0.3em;
  bottom: 0.3em;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.switch input:checked + .switch-slider {
  background: #b84fce;
}
.switch input:focus + .switch-slider {
  box-shadow: 0 0 0 3px rgba(184, 79, 206, 0.4);
}
.switch input:checked + .switch-slider::before {
  transform: translateX(1.6em);
  width: 2em;
  height: 2em;
  bottom: 0;
}

@media (max-width: 720px) {
  .lights-demo { aspect-ratio: 4 / 3; }
  .ld-controls { bottom: 18px; padding: 10px 16px; gap: 12px; }
  .ld-state { font-size: 0.7rem; letter-spacing: 0.14em; }
  .switch { font-size: 14px; }
}

/* ============================================================
   BEFORE / AFTER SLIDER (legacy — kept for safety)
   ============================================================ */
.hidden-section { padding: 140px 0; background: var(--bg); }
.hidden-head { text-align: center; margin-bottom: 56px; }
.hidden-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  margin: 0 0 16px;
  max-width: 22ch;
  margin-inline: auto;
}
.hidden-head h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hidden-head p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--purple-300);
  margin: 0;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
}
.ba-after, .ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  will-change: width;
}
.ba-before-wrap .ba-before {
  width: 100vw;
  max-width: var(--container);
}
@media (min-width: 1280px) { .ba-before-wrap .ba-before { width: var(--container); } }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.5);
  will-change: left;
}
.ba-handle-line {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #fff 20%, #fff 80%, transparent);
  transform: translateX(-50%);
}
.ba-handle-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(12px);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: auto;
  cursor: ew-resize;
  font-size: 0.78rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 32px rgba(168, 85, 247, 0.4);
  transition: transform .25s var(--ease);
}
.ba-handle-knob:hover, .ba-handle:focus .ba-handle-knob { transform: translate(-50%, -50%) scale(1.08); }
.ba-label {
  position: absolute;
  top: 24px;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 100px;
  pointer-events: none;
}
.ba-label-day { left: 24px; color: #1a0b2e; background: rgba(255, 255, 255, 0.85); }
.ba-label-night { right: 24px; }

/* ============================================================
   APP FEATURES
   ============================================================ */
.app-features-section { padding: 140px 0; background: var(--bg); }
.afs-head { text-align: center; margin-bottom: 64px; }
.afs-head h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 600; margin-bottom: 16px; }
.afs-head p { color: var(--text-soft); font-size: 1.1rem; margin: 16px auto 0; max-width: 56ch; }
.afs-head p em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.afs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.afs-card {
  border-radius: var(--radius-xl);
  padding: 36px 28px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  color: #1a1a1a;
  transition: transform .5s var(--ease);
  transform-style: preserve-3d;
}
.afs-card > h4 { margin-top: auto; }
.afs-card > h3 { margin-bottom: 0; }
.afs-card h4 { font-size: 0.95rem; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.afs-card h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.1; margin: 0 0 24px; letter-spacing: -0.02em; }
.afs-1 { background: var(--p-peach); }
.afs-2 { background: var(--p-pink); }
.afs-3 { background: var(--p-mint); }
.afs-4 { background: var(--p-lilac); }
.afs-5 { background: var(--p-sky); }
.afs-phone {
  margin-top: auto;
  background: #0a0a0a;
  border-radius: 32px 32px 0 0;
  width: calc(100% + 56px);
  margin-left: -28px;
  margin-right: -28px;
  aspect-ratio: 600 / 1000;
  overflow: hidden;
}
.afs-phone-screen {
  background: #0a0a0a;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  padding: 0;
  overflow: hidden;
}
.afs-phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.afs-screen-head { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 14px; font-size: 0.85rem; color: #fff; }
.afs-screen-head span { color: #888; font-weight: 400; }
.afs-bulb-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.afs-bulb-grid span {
  aspect-ratio: 1;
  background: #2a2a2a;
  border-radius: 50%;
  border: 1px solid #444;
}
.afs-bulb-grid span.on { background: #fbbf24; box-shadow: 0 0 10px rgba(251, 191, 36, 0.6); border-color: #fbbf24; }
.afs-color-row { display: flex; gap: 4px; margin-bottom: 14px; }
.afs-color-row span { flex: 1; height: 22px; border-radius: 50%; border: 1px solid #333; }
.afs-zone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 0.78rem;
}
.afs-zone strong { color: #fff; font-weight: 500; }
.afs-zone small { color: #888; font-size: 0.7rem; }
.afs-tog {
  width: 32px; height: 18px;
  background: #333;
  border-radius: 100px;
  position: relative;
  flex-shrink: 0;
}
.afs-tog::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform .3s;
}
.afs-tog.on { background: #34d399; }
.afs-tog.on::after { transform: translateX(14px); }
.afs-sched { display: flex; flex-direction: column; gap: 8px; }
.afs-sched-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #1a1a1a;
  border-radius: 10px;
  font-size: 0.74rem;
}
.afs-sched-row strong { color: #fff; font-weight: 500; }
.afs-sched-row small { color: #888; font-size: 0.66rem; }
.afs-pattern { display: flex; flex-direction: column; gap: 8px; }
.afs-pat-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: #ccc; }
.afs-pat-row strong { color: #fff; font-weight: 500; }
.afs-slider { width: 60px; height: 4px; background: #333; border-radius: 4px; position: relative; }
.afs-slider i {
  position: absolute;
  left: 60%; top: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
}
.afs-cats { display: flex; flex-direction: column; gap: 8px; }
.afs-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #1a1a1a;
  border-radius: 10px;
  font-size: 0.82rem;
  color: #fff;
}
.afs-cat-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* ============================================================
   COMMERCIAL
   ============================================================ */
.commercial-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 24px 32px 64px;
  border-radius: var(--radius-xl);
  background: #000;
  box-shadow:
    0 0 30px rgba(168, 85, 247, 0.16),
    0 0 70px rgba(168, 85, 247, 0.10),
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(168, 85, 247, 0.12);
  animation: commercialGlow 5s ease-in-out infinite alternate;
  will-change: box-shadow;
}
@keyframes commercialGlow {
  0% {
    box-shadow:
      0 0 24px rgba(168, 85, 247, 0.14),
      0 0 60px rgba(168, 85, 247, 0.08),
      0 30px 80px rgba(0, 0, 0, 0.5),
      inset 0 0 0 1px rgba(168, 85, 247, 0.10);
  }
  100% {
    box-shadow:
      0 0 42px rgba(217, 70, 239, 0.20),
      0 0 90px rgba(168, 85, 247, 0.13),
      0 30px 80px rgba(0, 0, 0, 0.5),
      inset 0 0 0 1px rgba(217, 70, 239, 0.16);
  }
}
.ch-video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.ch-media { position: absolute; inset: 0; overflow: hidden; }
.ch-media img {
  width: 110%; height: 110%;
  object-fit: cover;
  position: absolute;
  inset: -5% 0 0 -5%;
  filter: brightness(0.6);
  will-change: transform;
}
.ch-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.5) 50%, rgba(168, 85, 247, 0.18) 100%),
    radial-gradient(ellipse at bottom right, rgba(168, 85, 247, 0.45), transparent 60%);
}
.ch-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 64px;
  width: 100%;
}
.ch-content h2 { font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 600; margin-bottom: 24px; letter-spacing: -0.04em; }
.ch-content p { color: var(--text-soft); font-size: 1.1rem; max-width: 50ch; margin: 0 0 36px; line-height: 1.5; }

.comm-verticals { padding: 140px 0; background: var(--bg); }
.cv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.cv { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.cv-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--purple-400);
  margin-bottom: 16px;
}
.cv h4 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.02em; }
.cv p { color: var(--text-soft); font-size: 0.95rem; margin: 0; line-height: 1.55; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 140px 0; background: var(--bg); }
.t-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}
.t-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; margin: 0; }
.t-head h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.t-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 12px 22px 12px 14px;
}
.g-icon-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #4285F4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-icon-sm svg { width: 22px; height: 22px; }
.t-stars { color: #fbbf24; font-size: 1.05rem; letter-spacing: 0.08em; }
.t-meta { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; color: var(--text-soft); line-height: 1.3; }
.t-meta span { color: var(--text-mute); }
.t-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.t-card {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}
.t-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.t-card:hover .t-photo img { transform: scale(1.05); }
.t-body { padding: 24px 24px 28px; }
.t-stars-sm { color: #fbbf24; font-size: 0.9rem; letter-spacing: 0.08em; margin-bottom: 14px; }
.t-body p { font-size: 0.92rem; line-height: 1.55; color: var(--text-soft); margin: 0 0 20px; }
.t-body strong { color: #fff; font-weight: 600; }
.t-author { font-size: 0.78rem; letter-spacing: 0.12em; font-weight: 700; color: #fff; text-transform: uppercase; }
.t-author span { color: var(--text-mute); font-weight: 400; letter-spacing: 0.05em; text-transform: none; }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.service-area {
  padding: 140px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.sa-head { text-align: center; margin-bottom: 64px; }
.sa-head h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 600; margin-bottom: 16px; }
.sa-head h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sa-head p { color: var(--text-soft); font-size: 1.05rem; max-width: 56ch; margin: 16px auto 0; }
.sa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sa-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .35s var(--ease);
  min-height: 160px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.sa-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-400), transparent);
  opacity: 0;
  transition: opacity .35s;
}
.sa-tile:hover {
  background: var(--bg-3);
  border-color: var(--line-strong);
}
.sa-tile:hover::before { opacity: 1; }
.sa-city {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}
.sa-zip { font-size: 0.78rem; color: var(--text-mute); letter-spacing: 0.1em; font-weight: 500; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 140px 0; background: var(--bg); }
.faq-head { text-align: center; margin-bottom: 56px; }
.faq-head h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 600; }
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s var(--ease);
}
.faq-item[open] { background: var(--bg-3); border-color: var(--line-strong); }
.faq-item summary {
  padding: 24px 28px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--purple-300);
  font-weight: 300;
  transition: transform .3s;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 28px 24px; }
.faq-body p { color: var(--text-soft); font-size: 0.96rem; line-height: 1.65; margin: 0; }
.faq-body p strong { color: #d8b4fe; }

/* ============================================================
   NEXT STEPS
   ============================================================ */
.next-steps { padding: 140px 0; background: var(--bg); border-top: 1px solid var(--line); }
.ns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.ns-text .eyebrow {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--purple-300);
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}
.ns-text h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  margin-bottom: 48px;
  letter-spacing: -0.04em;
}
.ns-text h2 em {
  background: linear-gradient(135deg, #c084fc 0%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ns-steps { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.ns-steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.5;
}
.ns-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}
.ns-progress {
  width: 100%;
  height: 4px;
  background: var(--bg-elev);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 32px;
}
.ns-pct {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #a855f7);
  border-radius: 4px;
}
.ns-call {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.ns-call span { color: var(--text-mute); font-size: 0.92rem; }
.ns-call a {
  font-size: 1.4rem;
  font-weight: 600;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ns-form { display: flex; flex-direction: column; gap: 14px; }
.ns-field {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  transition: all .25s;
}
.ns-field:focus-within { border-color: var(--purple-500); background: #1c1224; }
.ns-field label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: 2px;
  display: block;
}
.ns-field input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  padding: 0;
  width: 100%;
}
.ns-field input::placeholder { color: var(--text-faint); }
.ns-field-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 12px; }
.ns-fine { text-align: center; font-size: 0.82rem; color: var(--text-mute); margin: 16px 0 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 80px 0 32px; background: var(--bg-2); border-top: 1px solid var(--line); }
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.foot-col h5 { white-space: nowrap; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p {
  color: var(--text-soft);
  font-size: 0.92rem;
  max-width: 360px;
  margin: 0 0 20px;
  line-height: 1.55;
}
.foot-nap { font-size: 0.88rem; line-height: 1.7; color: var(--text-mute); }
.foot-nap strong { color: #fff; }
.foot-nap a { color: var(--purple-300); }
.foot-top h5 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--text);
}
.foot-top ul { display: flex; flex-direction: column; gap: 10px; }
.foot-top ul li, .foot-top ul a { color: var(--text-mute); font-size: 0.92rem; transition: color .2s; }
.foot-top ul a:hover { color: var(--purple-300); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-bottom a { color: var(--text-mute); }
.foot-bottom a:hover { color: var(--purple-300); }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 99;
  gap: 10px;
}
.sticky-cta a {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.sticky-call {
  background: rgba(5, 5, 5, 0.95);
  border: 1px solid var(--line-strong);
  color: #fff;
  backdrop-filter: blur(10px);
}
.sticky-quote { background: #fff; color: #000; }

/* ============================================================
   CONFETTI CANVAS
   ============================================================ */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  display: none;
}
#confettiCanvas.firing { display: block; }

/* ============================================================
   REVEAL ANIM
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .afs-grid { grid-template-columns: repeat(2, 1fr); }
  .cv-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .ns-grid { grid-template-columns: 1fr; gap: 64px; }
  .trusted-grid { grid-template-columns: 1fr; gap: 48px; }
  .temp-grid { grid-template-columns: 1fr; gap: 48px; }
  .ms-grid { grid-template-columns: repeat(2, 1fr); }
  .sa-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .scene-stage { grid-template-columns: 1fr; }
  .scene-presets { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; gap: 12px; }
  .brand-tag, .brand-divider { display: none; }
  .nav-cta .btn { padding: 10px 18px; font-size: 0.85rem; }
  .hero { padding: 40px 0 40px; min-height: calc(90vh - 110px); }
  .hero-foot { grid-template-columns: repeat(2, 1fr); gap: 24px; padding-top: 40px; margin-top: 40px; }
  .statement { padding: 120px 0; }
  .marquee-track { gap: 36px; }
  .sol-grid { grid-template-columns: 1fr; }
  .afs-grid { grid-template-columns: 1fr; }
  .cv-grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .ms-grid { grid-template-columns: 1fr; gap: 48px; }
  .sa-grid { grid-template-columns: 1fr; }
  .commercial-hero { margin: 0 16px; min-height: 540px; border-radius: var(--radius-lg); }
  .ch-content { padding: 56px 32px; }
  .ns-field-row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  .emotion { min-height: 70vh; }
  .scene-stage { padding: 16px; }
  .scene-presets { grid-template-columns: 1fr; }
  .ba-handle-knob { width: 44px; height: 44px; }
  .ba-label { font-size: 0.65rem; padding: 6px 10px; top: 14px; }
  .scroll-cue { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .t-head { flex-direction: column; align-items: flex-start; }
}

.nav.open .nav-links {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  background: rgba(5, 5, 5, 0.98);
  padding: 32px 24px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  gap: 24px;
}
.nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .hamburger span:nth-child(2) { opacity: 0; }
.nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .ken-burns, .hero-glow, .marquee-track, .hero-particles span, .parallax-img, .loader-orbit, .loader-bulb, .loader-bar-fill, .ann-track {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cursor, .cursor-dot { display: none !important; }
  body, a, button { cursor: auto !important; }
}

/* ============================================================
   OUR WORK / REEL CAROUSEL
   ============================================================ */
.reel {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.reel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
  flex-wrap: wrap;
}
.reel-title-wrap { flex: 1; min-width: 320px; }
.reel-title-wrap h2 {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.reel-title-wrap h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.reel-sub {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-soft);
  margin: 0;
}
.reel-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.reel-counter {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.reel-counter strong {
  font-weight: 400;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
}
.reel-arrows { display: flex; gap: 8px; }
.reel-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.reel-arrow svg { width: 20px; height: 20px; }
.reel-arrow:not(:disabled):hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(217, 70, 239, 0.15));
  border-color: var(--purple-400);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25);
}
.reel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.reel-track-wrap {
  position: relative;
  margin: 0 -32px;
  padding: 0 32px 4px;
}
.reel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 32px;
  cursor: grab;
  user-select: none;
}
.reel-track::-webkit-scrollbar { display: none; }
.reel-track.dragging { cursor: grabbing; scroll-behavior: auto; }
.reel-track.dragging * { pointer-events: none; }

.reel-card {
  flex: 0 0 auto;
  width: clamp(320px, 38vw, 520px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .5s var(--ease);
}
.reel-card:hover { transform: translateY(-4px); }

.reel-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0710;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(168, 85, 247, 0.08),
    0 0 40px rgba(168, 85, 247, 0.06);
}
/* aspect-ratio fallback for older browsers / narrow-viewport edge cases */
@supports not (aspect-ratio: 9 / 16) {
  .reel-video { height: 0; padding-bottom: 177.77%; }
  .reel-video > * { position: absolute; inset: 0; }
}
.reel-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Active card gets a subtle highlight ring */
.reel-card.is-active .reel-video {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(168, 85, 247, 0.5),
    0 0 60px rgba(168, 85, 247, 0.25);
}
@media (max-width: 720px) {
  .reel-card { width: 78vw; }
}
.reel-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 25%, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
  border-radius: var(--radius-lg);
}
.reel-mute {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.reel-mute svg { width: 18px; height: 18px; }
.reel-mute:hover {
  background: rgba(168, 85, 247, 0.55);
  border-color: var(--purple-400);
  transform: scale(1.06);
}

.reel-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.reel-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--purple-300);
  letter-spacing: 0.05em;
}
.reel-meta h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.reel-loc {
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}

.reel-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin: 8px 32px 0;
}
.reel-progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-400));
  border-radius: 2px;
  transition: width .3s var(--ease);
}

.reel-hint {
  text-align: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--text-mute);
  font-size: 0.95rem;
  margin: 32px 0 0;
}

@media (max-width: 720px) {
  .reel { padding: 100px 0; }
  .reel-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 32px; }
  .reel-card { width: clamp(240px, 78vw, 320px); }
  .reel-arrow { width: 48px; height: 48px; }
  .reel-counter { font-size: 1.3rem; }
  .reel-counter strong { font-size: 1.6rem; }
}

/* ============================================================
   PHILOSOPHY MARQUEE BANNER
   ============================================================ */
.phil-banner {
  position: relative;
  height: clamp(200px, 26vh, 280px);
  margin: 0;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  isolation: isolate;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.pb-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.pb-img {
  width: 110%;
  height: 110%;
  position: absolute;
  inset: -5% 0 0 -5%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.05) contrast(1.05);
  transform: scale(1.05);
  will-change: transform;
  animation: pbZoom linear both;
  animation-timeline: view();
  animation-range: cover;
}
@keyframes pbZoom {
  from { transform: scale(1.0) translateX(2%); }
  to   { transform: scale(1.15) translateX(-4%); }
}
.pb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.3) 25%, rgba(5,5,5,0.3) 75%, rgba(5,5,5,0.85) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.pb-marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pb-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 56px;
  animation: pbScroll 38s linear infinite;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  will-change: transform;
}
.pb-track em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pb-line { display: inline-block; }
.pb-dot {
  display: inline-block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--purple-400);
  font-size: 0.6em;
  opacity: 0.7;
  flex-shrink: 0;
}
@keyframes pbScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.pb-eyebrow {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--purple-300);
  text-transform: uppercase;
  margin: 0;
  background: rgba(5,5,5,0.6);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .phil-banner { height: clamp(160px, 22vh, 220px); margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-img { animation: none !important; transform: scale(1.05) !important; }
  .pb-track { animation-duration: 90s; }
}

/* ============================================================
   PROCESS / HOW IT WORKS
   ============================================================ */
.process {
  padding: 140px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.process-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}
.process-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.process-head h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-sub {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
  pointer-events: none;
}
.proc-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  position: relative;
  transition: all .35s var(--ease);
}
.proc-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.proc-card-mid {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), rgba(168, 85, 247, 0.02));
  border-color: rgba(168, 85, 247, 0.3);
}

.proc-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.4));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.proc-time {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--purple-300);
  background: rgba(168, 85, 247, 0.12);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.proc-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 14px;
}
.proc-card p {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.proc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.proc-list li {
  font-size: 0.88rem;
  color: var(--text-mute);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.proc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1px;
  background: var(--purple-400);
}

.process-cta {
  text-align: center;
  margin-top: 56px;
}

/* ============================================================
   PRICING MATH CALLOUT
   ============================================================ */
.pricing-callout {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(217, 70, 239, 0.06));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-lg);
  margin: 0 auto 48px;
  max-width: 760px;
}
.pc-call-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 3rem;
  font-weight: 400;
  background: linear-gradient(135deg, #fff, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  flex-shrink: 0;
}
.pc-call-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pc-call-text strong {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pc-call-text span {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-grid::before { display: none; }
}
@media (max-width: 720px) {
  .process { padding: 100px 0; }
  .pricing-callout { flex-direction: column; align-items: flex-start; padding: 20px; text-align: left; }
  .pc-call-num { font-size: 2.5rem; }
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.header-stack {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
}
.ann-bar {
  position: relative;
  background: linear-gradient(90deg, #1a0b2e, #2d1466, #1a0b2e);
  overflow: hidden;
  padding: 10px 0;
}
.ann-track {
  display: flex;
  width: max-content;
  animation: ann-scroll 38s linear infinite;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #e9d5ff;
  will-change: transform;
}
.ann-track > span {
  padding-right: 56px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ann-track strong { color: #fff; font-weight: 800; }
.ann-pulse {
  display: inline-block;
  width: 6px; height: 6px;
  background: #a855f7;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px #a855f7;
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes ann-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
/* nav top now controlled by .header-stack flex layout */

/* ============================================================
   HERO INLINE FORM
   ============================================================ */
.hero-est strong { color: #fff; font-weight: 700; font-style: normal; font-family: 'Inter', sans-serif; }

.hero-form {
  margin: 0 0 24px;
  max-width: 720px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}
.hf-fields {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr auto;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 6px;
  transition: all .3s var(--ease);
}
.hf-fields:focus-within {
  background: rgba(168, 85, 247, 0.12);
  border-color: var(--purple-400);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.25);
}
.hf-fields input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 14px 18px;
  width: 100%;
}
.hf-fields input::placeholder { color: rgba(255, 255, 255, 0.55); }
.hf-submit {
  background: #fff;
  color: #000;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.hf-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  opacity: 0;
  transition: opacity .3s;
}
.hf-submit > * { position: relative; z-index: 1; }
.hf-submit:hover::before { opacity: 1; }
.hf-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(168, 85, 247, 0.4); }
.hf-fine {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin: 12px 0 0 16px;
  letter-spacing: 0.05em;
}

/* ============================================================
   TRUST BAND (RISK REVERSAL)
   ============================================================ */
.trust-band {
  background: var(--bg);
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line);
}
.tb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.tb-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
}
.tb-item strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}
.tb-item span {
  display: block;
  color: var(--text-mute);
  font-size: 0.86rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.pricing-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.pricing-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 20px;
}
.pricing-head h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-head p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.price-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .35s var(--ease);
  transform-style: preserve-3d;
}
.price-card:hover { border-color: var(--line-strong); }
.pc-popular {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.02));
  border-color: var(--purple-500);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.25), 0 30px 80px rgba(168, 85, 247, 0.15);
  transform: scale(1.02);
}
.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  color: #1a0b2e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pc-name {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.pc-price {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 6px;
}
.pc-price strong {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 400;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  vertical-align: middle;
}
.pc-monthly {
  font-size: 0.85rem;
  color: var(--purple-300);
  margin-bottom: 12px;
  font-weight: 500;
}
.pc-desc {
  font-size: 0.88rem;
  color: var(--text-mute);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.pc-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.pc-features li {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.4;
}
.pricing-grid .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.pricing-grid .btn-ghost:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: var(--purple-500);
}

.pricing-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.02));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}
.pf-item { display: flex; flex-direction: column; gap: 4px; }
.pf-item strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.pf-item span {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ============================================================
   INSTA-QUOTE CALCULATOR
   ============================================================ */
.calc {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(168, 85, 247, 0.08), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.calc-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.calc-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.calc-head h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.calc-head p { color: var(--text-soft); font-size: 1.05rem; }

.calc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.05), rgba(168, 85, 247, 0.01));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calc-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calc-row label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.calc-val {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-pill);
  padding: 4px;
  border: 1px solid var(--line);
}
.calc-toggle button {
  padding: 12px 16px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  background: transparent;
  border: none;
  transition: all .25s var(--ease);
}
.calc-toggle button:hover { color: #fff; }
.calc-toggle button.active {
  background: var(--purple-500);
  color: #fff;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.4);
}

.calc-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-400));
  outline: none;
  cursor: pointer;
}
.calc-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple-500);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.5);
  cursor: pointer;
}
.calc-row input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--purple-500);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.5);
  cursor: pointer;
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}

.calc-extras {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.calc-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-soft);
  cursor: pointer;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  transition: all .2s;
}
.calc-check:hover { background: rgba(168, 85, 247, 0.08); border-color: var(--line-strong); }
.calc-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--purple-500);
  cursor: pointer;
}

.calc-output {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.18), rgba(168, 85, 247, 0.04));
  border: 1px solid var(--purple-500);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.calc-output::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.4), transparent 70%);
  filter: blur(40px);
}
.calc-out-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--purple-300);
  margin-bottom: 4px;
  position: relative;
}
.calc-out-price {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  background: linear-gradient(135deg, #fff, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
}
.calc-out-monthly {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
  position: relative;
}
.calc-out-monthly strong { color: #fff; font-weight: 700; }
.calc-tier {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-200);
  background: rgba(168, 85, 247, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin: 8px 0 16px;
  width: fit-content;
  position: relative;
}
.calc-output .btn { position: relative; z-index: 2; }
.calc-fine {
  font-size: 0.76rem;
  color: var(--text-mute);
  margin: 12px 0 0;
  text-align: center;
  position: relative;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.compare-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.compare-head h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.compare-head h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.compare-head p { color: var(--text-soft); font-size: 1.02rem; }

.compare-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-elev);
}
/* Mobile: collapse the 3-col table into a card stack — every row is a tile
   with a feature label on top and Ours-vs-Theirs in a side-by-side mini-grid. */
@media (max-width: 720px) {
  .compare-table-wrap { border-radius: 16px; padding: 8px; }
  .compare-table { display: block; min-width: 0; }
  .compare-table thead { display: none; }
  .compare-table tbody { display: block; }
  .compare-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "feat feat" "ours theirs";
    gap: 8px;
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }
  .compare-table tbody tr:last-child { border-bottom: none; }
  .compare-table tbody tr:hover { background: transparent; }
  .compare-table tbody td {
    display: block;
    border: none;
    padding: 0;
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .compare-table tbody td.ct-feat {
    grid-area: feat;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.55);
    padding: 0 0 4px;
  }
  .compare-table tbody td.ct-ours {
    grid-area: ours;
    text-align: center;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.18), rgba(168, 85, 247, 0.06));
    border-radius: 10px;
    padding: 10px 8px;
    color: var(--purple-200, #d8b4fe);
    font-weight: 700;
    font-size: 0.86rem;
  }
  .compare-table tbody td:not(.ct-feat):not(.ct-ours) {
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 0.84rem;
    color: var(--text-soft);
  }
  .compare-table tbody td.ct-ours::before {
    content: 'Twilight Zone';
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(192, 132, 252, 0.85);
    margin-bottom: 4px;
    font-weight: 700;
  }
  .compare-table tbody td:not(.ct-feat):not(.ct-ours)::before {
    content: 'Annual service';
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
    font-weight: 700;
  }
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table thead th {
  padding: 22px 16px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--text-mute);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.3);
  vertical-align: middle;
}
.compare-table thead th.ct-feat { text-align: left; padding-left: 24px; }
.compare-table thead th.ct-ours {
  background: var(--grad-purple, linear-gradient(135deg, #a855f7, #d946ef));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.compare-table tbody td {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  vertical-align: middle;
}
.compare-table tbody td.ct-feat {
  text-align: left;
  padding-left: 24px;
  font-weight: 600;
  color: #fff;
}
.compare-table tbody td.ct-ours {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.04));
  color: var(--purple-200);
  font-weight: 700;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(168, 85, 247, 0.04); }
.compare-fine {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-mute);
  margin: 24px 0 0;
}

/* ============================================================
   ABOUT / FOUNDER
   ============================================================ */
.about {
  padding: 140px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-photo {
  position: relative;
  align-self: stretch;
}
.about-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.about-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 5, 5, 0.5) 100%);
  pointer-events: none;
}
.about-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 18px;
}
.ab-strong {
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}
.ab-soft {
  color: var(--purple-300);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.about-text h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
}
.about-text h2 em {
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-lead {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #fff;
  line-height: 1.45;
  border-left: 2px solid var(--purple-500);
  padding-left: 24px;
  margin: 0 0 28px;
}
.about-text p {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 18px;
}
.about-text strong { color: #fff; }

.about-sig {
  margin: 32px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sig-name {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #c084fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sig-role { font-size: 0.85rem; color: var(--text-mute); letter-spacing: 0.05em; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.ast {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ast strong {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 400;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.6));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.ast span {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
}

/* ============================================================
   SERVICE AREA — neighborhood list
   ============================================================ */
.sa-neighborhoods {
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.sa-neighborhoods p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}
.sa-neighborhoods strong { color: #fff; }

/* ============================================================
   RESPONSIVE additions for new sections
   ============================================================ */
@media (max-width: 1100px) {
  .tb-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-foot { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; padding: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .compare-table { font-size: 0.82rem; }
  .compare-table thead th, .compare-table tbody td { padding: 14px 10px; }
}
@media (max-width: 720px) {
  /* nav top now controlled by .header-stack flex layout */
  .ann-bar { padding: 8px 0; }
  .ann-track { gap: 36px; font-size: 0.7rem; }
  .hf-fields { grid-template-columns: 1fr; gap: 4px; padding: 8px; border-radius: var(--radius-lg); }
  .hf-submit { width: 100%; padding: 14px; }
  .tb-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pc-popular { transform: none; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .sa-neighborhoods { padding: 20px; }
  .calc-toggle { grid-template-columns: 1fr; }
}

/* ============================================================
   GLOBAL MOBILE OPTIMIZATION + SMOOTH SCROLL
   ============================================================ */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* No horizontal overflow anywhere */
html, body { max-width: 100vw; overflow-x: clip; }

/* Body padding-top so first content isn't hidden behind fixed ann-bar + nav */
body { padding-top: 152px; }
@media (max-width: 720px) { body { padding-top: 122px; } }

/* ============================================================
   TABLET (≤1024)
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .brand-logo { height: 56px; }
  .brand-logo-foot { height: 88px; }
  .hero-title { font-size: clamp(2.5rem, 8vw, 5rem); }
  .nav-inner { padding: 14px 24px; }
  .scene-stage { padding: 20px; }
  .pricing-callout { padding: 20px 24px; gap: 20px; }
}

/* ============================================================
   MOBILE (≤720)
   ============================================================ */
@media (max-width: 720px) {
  /* Reset core sizing */
  .container { padding: 0 18px; }
  body { font-size: 16px; }

  /* Smaller logo on mobile */
  .brand-logo { height: 48px; }
  .brand-logo-foot { height: 76px; }

  /* Nav layout */
  .nav-inner { padding: 12px 18px; gap: 8px; }
  .nav-cta .btn { padding: 9px 16px; font-size: 0.82rem; }

  /* Announcement bar */
  .ann-bar { padding: 7px 0; }
  .ann-track { gap: 28px; font-size: 0.66rem; letter-spacing: 0.10em; }

  /* Hero — tighter spacing */
  .hero { min-height: calc(88vh - 110px); padding: 32px 0 32px; }
  .hero-content { padding: 0 18px; }
  .hero-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
    line-height: 0.96;
    margin-bottom: 18px;
  }
  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.20em;
    margin-bottom: 18px;
  }
  .hero-est { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-form { max-width: 100%; }
  .hf-fine { margin: 8px 0 0 12px; font-size: 0.72rem; }
  .hero-actions { gap: 10px; flex-direction: column; align-items: flex-start; }
  .hero-foot {
    margin-top: 32px;
    padding: 32px 18px 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .hero-foot-item .num { font-size: 1.3rem; }
  .hero-foot-item .lab { font-size: 0.68rem; letter-spacing: 0.10em; }

  /* Universal section padding */
  .solutions, .scene, .reel, .process, .temp-section, .hidden-section,
  .app-features-section, .pricing, .calc, .compare, .commercial-hero,
  .comm-verticals, .testimonials, .service-area, .faq, .next-steps,
  .trust-band {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  /* Trust band — stack and tighten */
  .trust-band { padding: 48px 0; }
  .tb-grid { gap: 24px; }
  .tb-item { padding-left: 16px; }
  .tb-item strong { font-size: 1rem; }
  .tb-item span { font-size: 0.82rem; }

  /* Solutions */
  .sol-card { border-radius: 18px; }
  .sol-image { aspect-ratio: 4 / 3; }
  .sol-body { padding: 22px 22px 24px; }
  .sol-body h3 { font-size: 1.6rem; }
  .sol-body p { font-size: 0.92rem; }

  /* Scene picker */
  .scene-stage {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 18px;
  }
  .scene-house-wrap { aspect-ratio: 4 / 3; }
  .scene-presets { grid-template-columns: 1fr 1fr; gap: 6px; }
  .scene-btn { padding: 10px 12px; font-size: 0.82rem; gap: 8px; }
  .scene-swatch { width: 22px; height: 22px; }
  .scene-name-overlay { bottom: 14px; left: 14px; padding: 10px 16px; }
  .scene-name { font-size: 1.1rem; }

  /* Reel carousel */
  .reel-card { width: clamp(220px, 76vw, 300px); }
  .reel-arrow { width: 44px; height: 44px; }
  .reel-counter { font-size: 1.15rem; }
  .reel-counter strong { font-size: 1.4rem; }

  /* Process steps */
  .proc-card { padding: 28px 24px 26px; border-radius: 22px; }
  .proc-num { font-size: 3rem; margin-bottom: 18px; }
  .proc-card h3 { font-size: 1.3rem; }
  .proc-card p { font-size: 0.9rem; }

  /* Temperature slider */
  .temp-grid { gap: 32px; }
  .temp-text h2 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .temp-slider { width: calc(100% - 28px); padding: 12px 16px; }

  /* Lights demo */
  .lights-demo {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }
  .ld-controls { bottom: 16px; padding: 9px 14px; gap: 12px; }
  .ld-state { font-size: 0.68rem; }
  .switch { font-size: 14px; }

  /* App features */
  .afs-card { padding: 28px 22px 0; gap: 20px; }
  .afs-card h3 { font-size: 1.4rem; }
  .afs-phone { width: calc(100% + 44px); margin-left: -22px; margin-right: -22px; }

  /* Pricing */
  .price-card { padding: 28px 24px; border-radius: 22px; }
  .pc-price strong { font-size: 2.6rem; }
  .pricing-callout { padding: 18px 20px; gap: 16px; }
  .pc-call-num { font-size: 2.2rem; }
  .pricing-foot { padding: 20px; gap: 18px; }

  /* Calculator */
  .calc-grid { padding: 22px; gap: 22px; }
  .calc-output { padding: 24px 22px; }
  .calc-out-price { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  /* Compare table mobile rules live in the dedicated block above (line ~3206). */

  /* Commercial */
  .commercial-hero { margin: 16px 12px; min-height: 480px; border-radius: 22px; }
  .ch-content { padding: 44px 24px; }
  .ch-content h2 { font-size: clamp(2rem, 9vw, 3.4rem); }

  /* Commercial verticals */
  .cv-grid { gap: 32px; }
  .cv h4 { font-size: 1.15rem; }

  /* Testimonials */
  .t-head h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .t-card { border-radius: 18px; }
  .t-body { padding: 20px 22px 24px; }
  .t-body p { font-size: 0.88rem; }

  /* Service area */
  .sa-grid { gap: 8px; }
  .sa-tile {
    padding: 22px 20px;
    min-height: 110px;
    border-radius: 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .sa-city { font-size: 1.4rem; }
  .sa-zip { font-size: 0.7rem; }

  /* FAQ */
  .faq-item summary { padding: 18px 22px; font-size: 0.95rem; }
  .faq-body { padding: 0 22px 20px; }
  .faq-body p { font-size: 0.88rem; }

  /* Quote form */
  .ns-text h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .ns-form { gap: 10px; }
  .ns-field { padding: 10px 18px; }
  .ns-field input { font-size: 16px; /* prevents iOS zoom */ }
  .ns-call a { font-size: 1.2rem; }

  /* Footer */
  .footer { padding: 56px 0 24px; }
  .foot-top { gap: 28px; }
  .foot-brand p { font-size: 0.88rem; }
  .foot-nap { font-size: 0.84rem; }
  .foot-bottom { font-size: 0.76rem; padding-top: 22px; }

  /* Statement / philosophy banner */
  .phil-banner { height: clamp(140px, 18vh, 180px); }
  .pb-track { font-size: clamp(1.4rem, 5vw, 2rem); gap: 36px; }

  /* Sticky CTA breathing room — already handled via body padding-bottom */
  body { padding-bottom: 72px; }
}

/* ============================================================
   SMALL PHONE (≤480)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .brand-logo { height: 42px; }
  .nav-cta .btn { padding: 8px 14px; font-size: 0.78rem; }
  .ann-track { font-size: 0.62rem; gap: 22px; }
  .hero { min-height: 84vh; }
  .hero-foot-item .num { font-size: 1.15rem; }
  .scene-presets { grid-template-columns: 1fr; }
  .pricing-callout { flex-direction: column; align-items: flex-start; }
  .ms-grid { grid-template-columns: 1fr; }
  .sa-tile { padding: 18px 16px; min-height: 92px; }
  .reel-arrow { width: 40px; height: 40px; }
}

/* iOS form-zoom prevention (font ≥ 16px on inputs) */
@media (max-width: 720px) {
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="password"], select, textarea {
    font-size: 16px !important;
  }
}

/* ============================================================
   GENERATED PAGE COMPONENTS — service/city/vertical/comparison/cost/guide
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  padding: 18px 0 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: #c084fc; }
.breadcrumb .sep { margin: 0 6px; opacity: 0.4; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 500; }

/* Hero (page variant) */
.hero-page {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0 80px;
}
.hero-page.hero-compact { min-height: 44vh; padding: 80px 0 60px; }
.hero-page .hero-media {
  position: absolute; inset: 0; z-index: -2;
}
.hero-page .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.1) brightness(0.55);
}
.hero-page .hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(168, 85, 247, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(5,5,5,0.75) 0%, rgba(5,5,5,0.55) 50%, rgba(5,5,5,0.95) 100%);
}
.hero-page .hero-content {
  position: relative; z-index: 1;
  max-width: 920px;
}
.hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: #fff;
}
.hero-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}
.hero-meta strong { color: #fff; font-weight: 600; }

/* Buttons (large variants used by pages) */
.btn-lg {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Trust bar */
.trustbar {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item strong {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}
.trust-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* Section spacing for generated pages */
.intro-block, .use-cases, .tech-specs, .neighborhood-list, .guarantees,
.cost-section, .city-grid, .service-grid, .specs-block, .stats-block,
.faq-section, .climate-block, .article-body, .city-row, .service-row,
.compare-table-section, .price-tiers, .review-grid, .gallery-grid,
.quote-form-block {
  padding: 64px 0;
}
.intro-block h2, .use-cases h2, .tech-specs h2, .neighborhood-list h2,
.guarantees h2, .cost-section h2, .city-grid h2, .service-grid h2,
.specs-block h2, .stats-block h2, .faq-section h2, .climate-block h2,
.compare-table-section h2, .price-tiers h2, .review-grid h2,
.gallery-grid h2, .city-row h3, .service-row h3, .article-body h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: #fff;
}
.faq-section { text-align: center; }
.faq-section h2 { margin: 0 auto 36px; }
.faq-section .faq-list { text-align: left; }

/* Honeypot — visible to bots that fill every input, hidden from humans */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* In-page lead thanks state */
.ns-thanks {
  text-align: center;
  padding: 36px 28px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 16px;
  animation: nsThanksIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.ns-thanks-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: #22c55e;
  filter: drop-shadow(0 0 16px rgba(34, 197, 94, 0.45));
}
.ns-thanks-icon svg {
  width: 100%;
  height: 100%;
  animation: nsCheckPop 0.7s cubic-bezier(0.2, 1.4, 0.2, 1) both 0.2s;
}
.ns-thanks h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.ns-thanks p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  margin: 0 auto 22px;
}
.ns-thanks p strong { color: #fff; }
.ns-thanks p a { color: #c084fc; text-decoration: none; border-bottom: 1px solid rgba(192,132,252,0.4); }
.ns-thanks .btn { margin-top: 6px; }
@keyframes nsThanksIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes nsCheckPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* TLDR / one-sentence answer callout for blog posts (AI/GEO citation bait) */
.post-tldr {
  margin: 12px 0 36px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(168, 85, 247, 0.02));
  border-left: 3px solid rgba(192, 132, 252, 0.7);
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.post-tldr strong {
  display: inline-block;
  margin-right: 8px;
  font-weight: 700;
  color: #d8b4fe;
  letter-spacing: 0.01em;
}

/* NAP block on city hubs — visible business contact for local SEO */
.nap-block {
  margin: 24px 0;
  padding: 18px 22px;
  background: rgba(168, 85, 247, 0.04);
  border-left: 3px solid rgba(192, 132, 252, 0.5);
  border-radius: 8px;
}
.nap-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}
.nap-block strong { color: #fff; }
.nap-block a { color: #c084fc; text-decoration: none; }
.nap-block a:hover { text-decoration: underline; }
.intro-block p, .article-body p, .climate-block p, .cost-section p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 780px;
  margin: 0 0 16px;
}

/* Use case grid */
.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.use-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.3s;
}
.use-card:hover {
  background: rgba(168, 85, 247, 0.05);
  border-color: rgba(168, 85, 247, 0.25);
  transform: translateY(-2px);
}
.use-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}
.use-card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Spec grid */
.tech-specs { position: relative; overflow: hidden; }
.tech-specs-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  contain: layout paint;
}
.tech-specs-bg span { will-change: transform; }
.process-rail::after { will-change: top; contain: layout; }
.tech-specs-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.tech-specs-bg span:nth-child(1) {
  width: 380px; height: 380px; left: -120px; top: -80px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35), transparent 70%);
  animation: ts-drift1 18s ease-in-out infinite alternate;
}
.tech-specs-bg span:nth-child(2) {
  width: 320px; height: 320px; right: -80px; top: 40%;
  background: radial-gradient(circle, rgba(216, 180, 254, 0.28), transparent 70%);
  animation: ts-drift2 22s ease-in-out infinite alternate;
}
.tech-specs-bg span:nth-child(3) {
  width: 260px; height: 260px; left: 40%; bottom: -80px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.25), transparent 70%);
  animation: ts-drift3 26s ease-in-out infinite alternate;
}
@keyframes ts-drift1 { from { transform: translate(0,0); } to { transform: translate(40px, 30px); } }
@keyframes ts-drift2 { from { transform: translate(0,0); } to { transform: translate(-30px, -40px); } }
@keyframes ts-drift3 { from { transform: translate(0,0); } to { transform: translate(20px, -20px); } }
.tech-specs > .section-head, .tech-specs > .spec-grid { position: relative; z-index: 1; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}
.spec-card {
  position: relative;
  padding: 26px 24px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s, box-shadow 0.5s;
  isolation: isolate;
}
.spec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(216, 180, 254, 0.08) 45%, transparent 75%);
  transform: translateX(-100%);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}
.spec-card:hover::before { transform: translateX(100%); }
.spec-card::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px;
  width: 110px; height: 110px;
  background: radial-gradient(circle at 80% 20%, rgba(216, 180, 254, 0.35), transparent 65%);
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 0;
}
.spec-card:hover::after { opacity: 1; }
.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow:
    0 14px 44px rgba(168, 85, 247, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.spec-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 28px;
  height: 28px;
  color: #c084fc;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.35));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.4s;
}
.spec-card:hover .spec-icon {
  color: #d8b4fe;
  transform: scale(1.08) rotate(-3deg);
}
.spec-card dt {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(216, 180, 254, 0.65);
  margin: 0 0 8px;
  font-weight: 600;
}
.spec-card dd {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.spec-card[data-spec="lifespan"] dd,
.spec-card[data-spec="colors"] dd,
.spec-card[data-spec="patterns"] dd {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .tech-specs-bg span { animation: none; }
  .spec-card::before { display: none; }
}
.spec-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.spec-list li {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.spec-list strong { color: #fff; }

/* Pills (cities, neighborhoods, services) */
.nbhd-pills, .city-pills, .service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
}
a.pill:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.4);
  color: #fff;
}
.muted {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 14px;
}

/* Guarantee grid */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.g-card {
  padding: 26px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 14px;
}
.g-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #c084fc;
  margin: 0 0 8px;
}
.g-card p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 880px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: rgba(168, 85, 247, 0.7);
  font-weight: 300;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item > div {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(99, 102, 241, 0.12));
  border-top: 1px solid rgba(168, 85, 247, 0.25);
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  margin: 0 0 14px;
  color: #fff;
}
.cta-band p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin: 0 auto 28px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* City row / service row (related links) */
.city-row, .service-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.city-row h3, .service-row h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

/* Service / city card grid */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.svc-card {
  display: block;
  padding: 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
}
.svc-card:hover {
  background: rgba(168, 85, 247, 0.06);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.12);
}
.svc-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}
.svc-card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 14px;
}
.svc-card .from {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #c084fc;
  letter-spacing: 0.04em;
}

/* Compare table (reused on comparison pages) */
.compare-wrap {
  overflow-x: auto;
  margin: 0 0 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.compare-table-section .compare-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
}
.compare-table-section .compare-table th,
.compare-table-section .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.compare-table-section .compare-table thead th {
  background: rgba(168, 85, 247, 0.08);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.compare-table-section tr.winner-us td:nth-child(2) {
  background: rgba(168, 85, 247, 0.08);
  color: #fff;
  font-weight: 500;
}
.compare-table-section tr.winner-them td:nth-child(3) {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 500;
}
.verdict {
  padding: 22px 26px;
  background: rgba(168, 85, 247, 0.08);
  border-left: 3px solid #c084fc;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.verdict strong { color: #fff; }

/* Cost / Price tables */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.price-table thead th {
  background: rgba(168, 85, 247, 0.08);
  font-weight: 600;
  color: #fff;
}

/* Pricing tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.tier {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: left;
}
.tier h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}
.tier .price {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  color: #c084fc;
  margin: 0 0 14px;
}
.tier p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Stats grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.stat-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  color: #c084fc;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

/* Fact-grid: full-sentence stats with a leading number callout */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.fact-card {
  position: relative;
  padding: 28px 26px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.4s var(--ease, ease), border-color 0.3s, box-shadow 0.4s;
}
.fact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 12px 36px rgba(168, 85, 247, 0.18);
}
.fact-card strong {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
  color: #d8b4fe;
  letter-spacing: -0.02em;
}
.fact-card span {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.fact-card.fact-card-quote {
  justify-content: center;
}
.fact-card.fact-card-quote span {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 19px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.01em;
}
.fact-card.fact-card-quote::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 18px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 38px;
  line-height: 1;
  color: rgba(192, 132, 252, 0.45);
  font-style: italic;
}

/* Reviews */
.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.review-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}
.review-card .stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review-card p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px;
  font-style: italic;
}
.review-card cite {
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* Galleries */
.gallery-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.gallery-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-photo:hover img { transform: scale(1.04); }

/* Process steps */
.process-steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
}
.process-steps li {
  position: relative;
  padding: 22px 22px 22px 78px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  counter-increment: step;
}
.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 18px;
  border-radius: 999px;
}
.process-steps li strong { color: #fff; font-weight: 600; }

/* Link list */
.link-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 8px;
}
.link-list li a {
  display: block;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}
.link-list li a:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.3);
  color: #fff;
}

/* Article body */
.article-body h2 { margin-top: 36px; }
.article-body h2:first-child { margin-top: 0; }

/* Mobile tuning for generated pages */
@media (max-width: 720px) {
  .hero-page { min-height: 56vh; padding: 100px 0 60px; }
  .hero-page.hero-compact { min-height: 36vh; padding: 70px 0 50px; }
  .intro-block, .use-cases, .tech-specs, .neighborhood-list, .guarantees,
  .cost-section, .city-grid, .service-grid, .specs-block, .stats-block,
  .faq-section, .climate-block, .article-body, .city-row, .service-row,
  .compare-table-section, .price-tiers, .review-grid, .gallery-grid {
    padding: 44px 0;
  }
  .cta-band { padding: 56px 0; }
  .compare-table-section .compare-table th,
  .compare-table-section .compare-table td { padding: 11px 12px; font-size: 13px; }
}

/* ============================================================
   BLOG (post hero, post body, blog index)
   ============================================================ */
.post-hero {
  padding: 100px 0 50px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(168,85,247,0.18), transparent 55%),
    linear-gradient(180deg, rgba(5,5,5,1), rgba(5,5,5,0.95));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.post-hero-inner { max-width: 880px; }
.post-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.post-h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 22px;
}
.post-lead {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.post-body {
  max-width: 760px;
  padding: 56px 24px 64px;
}
.post-body .post-section { margin-bottom: 36px; }
.post-body h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.post-body p {
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 16px;
}

/* Related posts */
.related-posts {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.related-card {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s;
  overflow: hidden;
}
.related-card:hover {
  background: rgba(168, 85, 247, 0.06);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}
.related-card-img {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}
.related-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease, ease);
}
.related-card:hover .related-card-img img {
  transform: scale(1.04);
}
.related-card-body {
  padding: 24px;
}
.related-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 10px;
}
.related-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}
.related-card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Blog index */
.blog-bucket {
  padding: 50px 0;
}
.blog-bucket h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  color: #fff;
  margin: 0 0 24px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.blog-card {
  display: block;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s;
}
.blog-card:hover {
  background: rgba(168, 85, 247, 0.06);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.1);
}
.blog-card-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}
.blog-card p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

@media (max-width: 720px) {
  .post-hero { padding: 80px 0 40px; }
  .post-body { padding: 40px 20px 50px; }
  .post-body h2 { font-size: 24px; }
  .post-body p { font-size: 16px; }
}

/* Active nav state */
.nav-links a.is-active {
  color: #fff;
  position: relative;
}
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #c084fc, #6366f1);
  border-radius: 2px;
}

/* Footer responsive: 6-col → 3-col → 2-col → 1-col */
@media (max-width: 1180px) {
  .foot-top { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .foot-top { grid-template-columns: 1fr 1fr !important; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-top { grid-template-columns: 1fr !important; }
}
.foot-col ul { font-size: 0.88rem; }
.foot-col ul li { line-height: 1.5; }

/* Mobile menu — make sure new pages-nav stacks cleanly */
@media (max-width: 980px) {
  .nav.open .nav-links { gap: 4px; padding: 18px 20px; }
  .nav.open .nav-links a { padding: 10px 12px; font-size: 16px; }
}

/* ============================================================
   GENERATED-PAGE OVERRIDES — make subpages match homepage gravitas
   while staying scrolls-friendly (shorter than 100vh).
   ============================================================ */
.hero.hero-sub {
  min-height: 78vh;
  padding: 80px 0 56px;
}
.hero.hero-sub .hero-content {
  padding-top: 0;
}
@media (max-width: 720px) {
  .hero.hero-sub { min-height: 72vh; padding: 60px 0 40px; }
}

/* Section head pattern (eyebrow + big h2 + intro) */
.section-head {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: left;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 22px;
}
.section-head h2 em {
  font-style: italic;
  background: linear-gradient(135deg, #c084fc, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head .section-intro {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 720px;
  margin: 0;
}

/* Tighten section padding inside .solutions wrapper when used standalone */
section.solutions { padding: 100px 0; }
@media (max-width: 720px) { section.solutions { padding: 60px 0; } }

/* Make sure the .sol-card link label looks like an action affordance */
.sol-link span {
  display: inline-block;
  transition: transform 0.25s var(--ease, ease);
}
.sol-card:hover .sol-link span { transform: translateX(4px); }

/* ============================================================
   DEEP REDESIGN — components for matrix/blog/utility pages
   to match homepage gravitas
   ============================================================ */

/* ----- TESTIMONIAL SECTION (photo + big quote) ----- */
.testimonial-section {
  padding: 120px 0;
  position: relative;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-2, #0a0a0a), var(--bg-1, #050505));
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.testimonial-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.testimonial-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.testimonial-photo:hover img { transform: scale(1.04); }
.testimonial-photo-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.4), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0.6;
}
.testimonial-content {
  max-width: 640px;
}
.testimonial-quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  font-style: italic;
  color: #fff;
  margin: 16px 0 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 0;
}
.quote-mark {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 80px;
  color: rgba(168, 85, 247, 0.5);
  line-height: 0.6;
  vertical-align: -0.18em;
  margin-right: 8px;
  font-style: normal;
}
.testimonial-attribution {
  font-style: normal;
  display: block;
}
.testimonial-attribution strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.testimonial-attribution span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 0.02em;
}
@media (max-width: 980px) {
  .testimonial-section { padding: 80px 0; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-photo { max-width: 360px; aspect-ratio: 4 / 3; }
}

/* ----- PROCESS TIMELINE (vertical rail) ----- */
.process-rail-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.process-rail-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(168, 85, 247, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 35% at 80% 70%, rgba(192, 132, 252, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.process-rail-section > .container,
.process-rail-section > * { position: relative; z-index: 1; }
.process-rail {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  position: relative;
  max-width: 880px;
}
.process-rail::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(168, 85, 247, 0.15) 0%,
    rgba(192, 132, 252, 0.55) 30%,
    rgba(192, 132, 252, 0.55) 70%,
    rgba(168, 85, 247, 0.1) 100%);
}
.process-rail::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  width: 12px;
  height: 80px;
  background: radial-gradient(ellipse at center,
    rgba(216, 180, 254, 0.95) 0%,
    rgba(168, 85, 247, 0.55) 35%,
    transparent 70%);
  border-radius: 50%;
  filter: blur(2px);
  animation: rail-pulse 5.5s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes rail-pulse {
  0%   { top: -8%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 102%; opacity: 0; }
}
.process-rail-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  margin-bottom: 36px;
  position: relative;
}
.process-rail-step:last-child { margin-bottom: 0; }
.step-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px;
  font-style: italic;
  color: #d8b4fe;
  background:
    radial-gradient(circle at 30% 25%, rgba(216, 180, 254, 0.22), transparent 70%),
    rgba(168, 85, 247, 0.12);
  border: 1.5px solid rgba(192, 132, 252, 0.55);
  border-radius: 999px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  text-shadow: 0 0 12px rgba(216, 180, 254, 0.5);
  animation: step-glow 3.4s ease-in-out infinite;
}
.process-rail-step:nth-child(1) .step-num { animation-delay: 0s; }
.process-rail-step:nth-child(2) .step-num { animation-delay: 0.5s; }
.process-rail-step:nth-child(3) .step-num { animation-delay: 1s; }
.process-rail-step:nth-child(4) .step-num { animation-delay: 1.5s; }
.process-rail-step:nth-child(5) .step-num { animation-delay: 2s; }
@keyframes step-glow {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(168, 85, 247, 0),
      0 0 18px rgba(168, 85, 247, 0.18) inset;
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(168, 85, 247, 0),
      0 0 22px rgba(168, 85, 247, 0.4) inset;
  }
}
.step-body {
  padding-top: 8px;
  transition: transform 0.4s var(--ease, ease);
}
.process-rail-step:hover .step-body { transform: translateX(4px); }
.process-rail-step:hover .step-num {
  border-color: rgba(216, 180, 254, 0.95);
  color: #fff;
}
.step-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.step-body p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
@media (max-width: 720px) {
  .process-rail-section { padding: 60px 0; }
  .process-rail-step { grid-template-columns: 44px 1fr; gap: 18px; }
  .process-rail::before { left: 21px; }
  .process-rail::after { left: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 18px; }
  .step-body h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .process-rail::after,
  .step-num { animation: none; }
}

/* ----- INSTALL PHOTO GRID (asymmetric masonry) ----- */
.install-grid-section { padding: 100px 0; }
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.install-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
}
.install-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.install-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.install-photo:hover img { transform: scale(1.06); }
.install-photo:hover::after { opacity: 1; }
.install-photo-large { grid-column: span 2; grid-row: span 2; }
.install-photo-wide { grid-column: span 2; }
@media (max-width: 980px) {
  .install-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .install-photo-large { grid-column: span 2; grid-row: span 2; }
  .install-photo-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .install-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .install-photo-large, .install-photo-wide { grid-column: 1; grid-row: span 1; }
}

/* ----- REEL MOMENT (atmospheric video block) ----- */
.reel-moment {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 100px 0;
}
.reel-moment .reel-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.45) saturate(1.15);
  /* override homepage .reel-video aspect-ratio inside reel-moment context */
  aspect-ratio: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.reel-moment .reel-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(168, 85, 247, 0.3), transparent 60%),
    linear-gradient(180deg, rgba(5,5,5,0.4) 0%, rgba(5,5,5,0.8) 100%);
}
.reel-moment .reel-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.reel-moment .reel-h {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 16px 0 18px;
}
.reel-moment .reel-h em {
  font-style: italic;
  background: linear-gradient(135deg, #c084fc, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reel-moment .reel-p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 600px;
}

/* ----- PULL QUOTE ----- */
.pull-quote {
  margin: 56px auto;
  max-width: 720px;
  padding: 0 32px;
  position: relative;
  border-left: 3px solid #c084fc;
}
.pull-quote-text {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  font-style: italic;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.pull-quote-attr {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ----- STATS COUNTERS (standalone) ----- */
.stats-counters { padding: 56px 0; }
.stats-counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 36px 24px;
  backdrop-filter: blur(10px);
}
.counter-item { text-align: center; }
.counter-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  background: linear-gradient(135deg, #c084fc, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.counter-lab {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* ----- COMPARE VISUAL (us vs them photo split) ----- */
.compare-visual-section { padding: 100px 0; }
.compare-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cv-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
}
.cv-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.cv-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  z-index: 1;
}
.cv-badge-us {
  background: rgba(168, 85, 247, 0.85);
  color: #fff;
}
.cv-badge-them {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (max-width: 720px) {
  .compare-visual-grid { grid-template-columns: 1fr; }
}

/* ----- ROI CALLOUT ----- */
.roi-callout { padding: 60px 0; }
.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.roi-item {
  padding: 32px 24px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  text-align: center;
}
.roi-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  background: linear-gradient(135deg, #c084fc, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.roi-context {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

/* ----- BLOG POST ENHANCEMENTS ----- */
.post-byline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  margin: 0 0 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ----- PRICING TIERS (enhanced) ----- */
.tier-popular {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.12), rgba(168, 85, 247, 0.04)) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
  position: relative;
  transform: translateY(-8px);
}
.tier-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 12px;
}
.tier-mo {
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px !important;
  color: rgba(168, 85, 247, 0.9) !important;
  font-weight: 500;
}
@media (max-width: 980px) {
  .tier-popular { transform: none; }
}

/* ----- QUOTE OPTIONS ----- */
.quote-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.quote-option {
  display: block;
  padding: 32px 26px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.quote-option:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(168, 85, 247, 0.15);
}
.quote-option-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px;
  font-style: italic;
  color: #c084fc;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.12);
  border-radius: 999px;
  margin-bottom: 18px;
}
.quote-option h3 {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}
.quote-option-cta {
  font-size: 18px;
  color: #c084fc;
  font-weight: 600;
  margin: 0 0 8px !important;
}
.quote-option-detail {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55) !important;
  margin: 0 !important;
}

/* ----- GALLERY FEATURE PHOTO ----- */
.gallery-photo-feature {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
  margin-bottom: 4px;
}
@media (min-width: 981px) {
  .gallery-photos { grid-template-columns: repeat(3, 1fr); }
  .gallery-photo-feature { grid-column: span 3; aspect-ratio: 21 / 9; }
}

/* ----- SUBPAGE HERO TIGHTER ----- */
.hero.hero-sub .hero-foot {
  margin-top: 40px;
  position: relative;
  bottom: auto;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== SERVICE-AREA MAP (replaces sa-grid box layout) ===== */
.sa-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}
.sa-map {
  position: relative;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(168,85,247,0.08);
  aspect-ratio: 1448 / 1086;
}
.sa-map-img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}
/* SVG overlay sits exactly on top of the image. Browser scales SVG
   coordinates to match the image's rendered size — clicks ALWAYS
   land on the right pixel. */
.sa-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; /* let image show through; only ellipses are clickable */
}
.sa-hot {
  cursor: pointer;
  pointer-events: auto;
  outline: none;
}
.sa-hot ellipse {
  fill: transparent;
  stroke: transparent;
  stroke-width: 0;
  transition: fill 0.25s, stroke 0.25s, stroke-width 0.25s, filter 0.25s;
}
.sa-hot:hover ellipse,
.sa-hot:focus ellipse,
.sa-hot.is-active ellipse {
  fill: rgba(168, 85, 247, 0.18);
  stroke: rgba(168, 85, 247, 0.85);
  stroke-width: 4;
  filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.7));
}
.sa-hot-hq ellipse {
  /* HQ pulses softly so it's always visible as the anchor */
  animation: hqRingPulse 2.6s ease-in-out infinite;
}
@keyframes hqRingPulse {
  0%, 100% { stroke: rgba(168, 85, 247, 0.25); stroke-width: 2; fill: rgba(168, 85, 247, 0.04); }
  50%      { stroke: rgba(168, 85, 247, 0.6);  stroke-width: 3; fill: rgba(168, 85, 247, 0.10); }
}
.sa-hot-hq:hover ellipse,
.sa-hot-hq.is-active ellipse {
  fill: rgba(168, 85, 247, 0.22);
  stroke: rgba(168, 85, 247, 0.95);
  stroke-width: 5;
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.8));
  animation: none;
}

.sa-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: stretch;
  /* Cap to map height so list never overshoots the map visually */
  max-height: 100%;
}
.sa-county h5 {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c084fc;
  margin: 0 0 6px;
  font-weight: 600;
}
.sa-county ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  /* Multi-county = single column; Fresno (the big one) gets 2-col via :has() below */
  grid-template-columns: 1fr;
  column-gap: 18px;
}
/* The first county block (Fresno) has 9 cities — split into 2 columns to compact */
.sa-list .sa-county:first-child ul {
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}
.sa-county li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.sa-county li:last-child { border-bottom: none; }
.sa-county li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 7px 4px;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  transition: all 0.2s;
  gap: 8px;
}
.sa-county li a:hover, .sa-county li a.is-active {
  color: #fff;
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(168,85,247,0.08), transparent);
}
.sa-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.sa-meta { white-space: nowrap; }
@media (max-width: 720px) {
  .sa-list .sa-county:first-child ul { grid-template-columns: 1fr; }
}
.sa-meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  font-family: Inter, sans-serif;
}

@media (max-width: 980px) {
  .sa-layout { grid-template-columns: 1fr; gap: 32px; }
  .sa-map { aspect-ratio: 3 / 2; }
}

/* ============================================================
   MOBILE: convert key grids to horizontal-scroll carousels
   so users can swipe instead of scrolling forever vertically.
   Same UX pattern as the work reel — manual swipe, scroll-snap.
   ============================================================ */
@media (max-width: 720px) {
  /* Generic carousel pattern applied to multiple grids */
  .afs-grid,
  .t-grid,
  .sol-grid,
  .tier-grid,
  .service-cards,
  .related-grid,
  .review-cards,
  .blog-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* bleed past container so first/last cards align with the side */
    margin: 0 -20px;
    padding: 4px 20px 24px;
    scroll-padding-left: 20px;
  }
  .afs-grid::-webkit-scrollbar,
  .t-grid::-webkit-scrollbar,
  .sol-grid::-webkit-scrollbar,
  .tier-grid::-webkit-scrollbar,
  .service-cards::-webkit-scrollbar,
  .related-grid::-webkit-scrollbar,
  .review-cards::-webkit-scrollbar,
  .blog-grid::-webkit-scrollbar { display: none; }

  /* Each card snaps to the start, takes ~78% of viewport — peek of next card visible */
  .afs-card,
  .t-card,
  .sol-card,
  .tier,
  .svc-card,
  .related-card,
  .review-card,
  .blog-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
    max-width: 78vw;
  }
  /* Make sure popular tier doesn't translateY -8px on mobile (looks broken in scroll) */
  .tier-popular { transform: none; }

  /* Hint that you can swipe — small text under each carousel */
  .afs-grid::after,
  .t-grid::after,
  .sol-grid::after { content: none; } /* placeholder; section-level hints below */

  /* Section-level swipe hint: append a 1-line hint below grids that became scrollers */
  .app-features-section .afs-head::after,
  .trusted-section .trusted-head::after,
  .solutions-head::after {
    content: '↔ swipe';
    display: block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(168, 85, 247, 0.7);
    margin-top: 14px;
    font-weight: 600;
  }

  /* Ensure container padding doesn't double when scrollers bleed */
  .afs-grid + *, .t-grid + *, .sol-grid + *, .tier-grid + * { margin-top: 24px; }

  /* Tighten section-head padding on mobile */
  .section-head { margin-bottom: 28px; }

  /* App-features cards on mobile: keep their visual identity but constrain height */
  .afs-card {
    min-height: 460px;
    padding: 28px 24px;
  }
  .afs-card h3 { font-size: 1.4rem; }

  /* Testimonial cards: shorter height, full width minus peek */
  .t-card { min-height: auto; }
  .t-photo { aspect-ratio: 16 / 10; }

  /* Solutions cards: same treatment */
  .sol-card { width: 78vw; }
  .sol-image { aspect-ratio: 16 / 10; }

  /* Pricing tiers stay full width on phones; horizontal scroll lets users compare */
  .tier { padding: 24px 22px; }

  /* Service-area map: already stacks via earlier rule. Make it tight. */
  .sa-layout { gap: 24px; }
  .sa-list .sa-county:first-child ul { grid-template-columns: 1fr; }

  /* General mobile body padding to keep content from kissing edges */
  .container { padding: 0 20px; }

  /* Hide pseudo-after hints on sections that already have them in markup */
  .reel-hint { font-size: 12px; }
}

/* Tablet middle ground — 2 columns instead of horizontal scroll */
@media (min-width: 721px) and (max-width: 1024px) {
  .afs-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SCROLL-REVEAL ANIMATIONS (homepage sections)
   Uses native scroll-driven animations where supported (Chromium 115+,
   Safari 18+). Graceful fallback: content visible by default if not.
   ============================================================ */
@supports (animation-timeline: view()) {
  .solutions,
  .scene,
  .reel,
  .process,
  .temp-section,
  .hidden-section,
  .app-features-section,
  .pricing,
  .calculator-section,
  .compare-section,
  .testimonials-section,
  .service-area,
  .faq,
  .next-steps {
    animation: section-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  /* Inner cards stagger in */
  .sol-card,
  .reel-card,
  .proc-card,
  .afs-card,
  .tier,
  .t-card,
  .sa-tile,
  .faq-item {
    animation: card-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
  /* Section heads slide up */
  .solutions-head,
  .scene-head,
  .process-head,
  .pricing-head,
  .reel-head,
  .afs-head,
  .compare-head,
  .testimonials-head,
  .sa-head,
  .faq-head {
    animation: head-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
  }
}
@keyframes section-reveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes card-rise {
  from { opacity: 0; transform: translateY(28px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes head-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Honor user accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  .solutions, .scene, .reel, .process, .temp-section, .hidden-section,
  .app-features-section, .pricing, .calculator-section, .compare-section,
  .testimonials-section, .service-area, .faq, .next-steps,
  .sol-card, .reel-card, .proc-card, .afs-card, .tier, .t-card, .sa-tile, .faq-item,
  .solutions-head, .scene-head, .process-head, .pricing-head, .reel-head,
  .afs-head, .compare-head, .testimonials-head, .sa-head, .faq-head {
    animation: none;
  }
}

/* Blog index cards with images */
.blog-card { display: flex; flex-direction: column; overflow: hidden; }
.blog-card-img {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #0a0710;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 18px 6px 0; }

/* ============================================================
   SCROLL-REVEAL via .is-in-view class (cross-browser fallback)
   Works in every browser, including Safari < 18.
   ============================================================ */
.solutions, .scene, .reel, .process, .temp-section, .hidden-section,
.app-features-section, .pricing, .calculator-section, .compare-section,
.testimonials-section, .service-area, .faq, .next-steps {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.solutions.is-in-view, .scene.is-in-view, .reel.is-in-view, .process.is-in-view,
.temp-section.is-in-view, .hidden-section.is-in-view, .app-features-section.is-in-view,
.pricing.is-in-view, .calculator-section.is-in-view, .compare-section.is-in-view,
.testimonials-section.is-in-view, .service-area.is-in-view, .faq.is-in-view,
.next-steps.is-in-view {
  opacity: 1;
  transform: translateY(0);
}
.sol-card, .reel-card, .proc-card, .afs-card, .tier, .t-card, .faq-item,
.install-photo, .blog-card, .related-card {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sol-card.is-in-view, .reel-card.is-in-view, .proc-card.is-in-view, .afs-card.is-in-view,
.tier.is-in-view, .t-card.is-in-view, .faq-item.is-in-view, .install-photo.is-in-view,
.blog-card.is-in-view, .related-card.is-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.section-head, .solutions-head, .scene-head, .process-head, .pricing-head,
.reel-head, .afs-head, .compare-head, .testimonials-head, .sa-head, .faq-head {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.section-head.is-in-view, .solutions-head.is-in-view, .scene-head.is-in-view,
.process-head.is-in-view, .pricing-head.is-in-view, .reel-head.is-in-view,
.afs-head.is-in-view, .compare-head.is-in-view, .testimonials-head.is-in-view,
.sa-head.is-in-view, .faq-head.is-in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .solutions, .scene, .reel, .process, .temp-section, .hidden-section,
  .app-features-section, .pricing, .calculator-section, .compare-section,
  .testimonials-section, .service-area, .faq, .next-steps,
  .sol-card, .reel-card, .proc-card, .afs-card, .tier, .t-card, .faq-item,
  .install-photo, .blog-card, .related-card,
  .section-head, .solutions-head, .scene-head, .process-head, .pricing-head,
  .reel-head, .afs-head, .compare-head, .testimonials-head, .sa-head, .faq-head {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
