/* ==========================================================================
   Anytime Electric (anytimeelectric.com) — Production Landing Page
   Visual Master: 01-twilight-dispatch-v2.png | Nov 26, 2026 Launch
   Strict Color Discipline: Deep Midnight Slate/Obsidian, Crisp White,
   Hairline Frosted Glass, ONE Warm Tungsten-Gold Accent.
   Red & Blue stay strictly inside untouched mascot logo & van wrap.
   ========================================================================== */

:root {
  --bg-obsidian: #060a12;
  --bg-slate: #0b121e;
  --bg-glass: rgba(10, 17, 29, 0.72);
  --bg-glass-strong: rgba(11, 18, 30, 0.88);
  --bg-glass-hover: rgba(18, 29, 48, 0.84);

  --ink-white: #ffffff;
  --ink-soft: #d2dce9;
  --ink-muted: #93a4bc;
  --ink-dark: #0a0f18;

  --border-hairline: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.30);

  /* Single warm tungsten-gold primary accent */
  --gold-light: #f9cc6c;
  --gold-mid: #efa634;
  --gold-deep: #d68416;
  --gold-glow: rgba(244, 174, 62, 0.34);
  --gold-border: rgba(249, 204, 108, 0.52);

  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, -apple-system, sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-btn: 11px;
  --radius-card: 16px;
  --radius-modal: 20px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg-obsidian);
  color: var(--ink-white);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ==========================================================================
   PAGE SHELL: Strict Logo -> Hero/CTA -> Footer
   ========================================================================== */

.page-shell {
  min-height: 100svh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  background: var(--bg-obsidian);
  position: relative;
}

.hero {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
  background: var(--bg-obsidian);
}

/* ==========================================================================
   GPU-ACCELERATED TWILIGHT SCENE LAYERS
   ========================================================================== */

.scene-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 60% 38%, #162235 0%, #070c14 68%, #04070d 100%);
}

.scene-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 52%;
  user-select: none;
  -webkit-user-drag: none;
}

/* Keep the rear bumper in frame when a desktop viewport crops the photo. */
@media (min-width: 769px) and (max-aspect-ratio: 8 / 5) {
  .scene-image { object-position: 94% 52%; }
}

/* Soft Warm Porch-Lantern Breath (GPU opacity + transform only) */
.lantern-glow {
  position: absolute;
  left: 56.2%;
  top: 37.2%;
  width: min(36vw, 480px);
  height: min(36vw, 480px);
  transform: translate3d(-50%, -50%, 0) scale(1);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 206, 118, 0.34) 0%,
    rgba(244, 162, 54, 0.16) 34%,
    rgba(235, 134, 24, 0.05) 62%,
    rgba(235, 134, 24, 0) 76%
  );
  mix-blend-mode: screen;
  will-change: transform, opacity;
  animation: lanternBreath 6.4s ease-in-out infinite;
}

/* Subtle Warm Living-Room Window Aura */
.window-glow {
  position: absolute;
  left: 44.5%;
  top: 41.5%;
  width: min(26vw, 340px);
  height: min(26vw, 340px);
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 194, 96, 0.22) 0%,
    rgba(242, 154, 46, 0.08) 48%,
    rgba(242, 154, 46, 0) 74%
  );
  mix-blend-mode: screen;
  will-change: opacity, transform;
  animation: windowWarmth 8.2s ease-in-out infinite;
}

/* Wet-Driveway Warm Specular Sheen (GPU opacity + transform only) */
.driveway-sheen {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  overflow: hidden;
  mix-blend-mode: screen;
}

.sheen-band {
  position: absolute;
  bottom: -14%;
  height: 110%;
  border-radius: 50%;
  will-change: transform, opacity;
}

.sheen-band--a {
  left: 28%;
  width: 34%;
  background: radial-gradient(
    ellipse at 50% 62%,
    rgba(255, 186, 82, 0.24) 0%,
    rgba(238, 150, 42, 0.09) 46%,
    rgba(238, 150, 42, 0) 74%
  );
  animation: drivewayShimmerA 7.6s ease-in-out infinite;
}

.sheen-band--b {
  left: 62%;
  width: 38%;
  background: radial-gradient(
    ellipse at 50% 66%,
    rgba(255, 178, 74, 0.20) 0%,
    rgba(230, 142, 36, 0.07) 48%,
    rgba(230, 142, 36, 0) 74%
  );
  animation: drivewayShimmerB 9.4s ease-in-out infinite;
}

/* Atmospheric Scrims: Preserve Van & House Clarity While Ensuring High Text Contrast */
.scene-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      95deg,
      rgba(5, 9, 16, 0.88) 0%,
      rgba(5, 9, 16, 0.72) 27%,
      rgba(5, 9, 16, 0.26) 44%,
      rgba(5, 9, 16, 0.04) 64%,
      rgba(5, 9, 16, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 9, 16, 0.42) 0%,
      rgba(5, 9, 16, 0) 24%,
      rgba(5, 9, 16, 0) 78%,
      rgba(5, 9, 16, 0.62) 100%
    );
}

@keyframes lanternBreath {
  0%, 100% {
    opacity: 0.62;
    transform: translate3d(-50%, -50%, 0) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1.07);
  }
}

@keyframes windowWarmth {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.92; }
}

@keyframes drivewayShimmerA {
  0%, 100% {
    opacity: 0.48;
    transform: translate3d(-1.5%, 0, 0) scaleX(0.96);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(2.2%, -2%, 0) scaleX(1.05);
  }
}

@keyframes drivewayShimmerB {
  0%, 100% {
    opacity: 0.42;
    transform: translate3d(1.5%, 0, 0) scaleX(1.03);
  }
  50% {
    opacity: 0.82;
    transform: translate3d(-2%, -1.5%, 0) scaleX(0.95);
  }
}

/* ==========================================================================
   FOREGROUND CONTENT: DESKTOP LAYOUT (Matches 01-twilight-dispatch-v2.png)
   ========================================================================== */

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(22px, 3.2vh, 42px) clamp(28px, 4.2vw, 64px) clamp(32px, 4.8vh, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(18px, 3vh, 36px);
}

.brand-stage {
  width: fit-content;
}

.brand-logo {
  --brand-shadow: 0 12px 28px rgba(0, 0, 0, 0.78);
  width: clamp(225px, 21.5vw, 316px);
  height: auto;
  /* Zero edits to PNG pixels — subtle shadow lifts logo cleanly off twilight sky */
  filter: drop-shadow(var(--brand-shadow));
  user-select: none;
  -webkit-user-drag: none;
}

.mobile-scene-window {
  display: none;
}

.hero-copy {
  width: 100%;
  max-width: 472px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 4.35vw, 4.25rem);
  font-weight: 800;
  font-style: italic;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--ink-white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.68);
}

/* 24/7 LIVE Indicator */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 390px;
}

.live-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(249, 204, 108, 0.85);
  flex-shrink: 0;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(249, 204, 108, 0.7);
  animation: beaconPulse 2.4s var(--ease-out) infinite;
  will-change: transform, opacity;
}

@keyframes beaconPulse {
  0% { transform: scale(0.75); opacity: 0.9; }
  100% { transform: scale(1.95); opacity: 0; }
}

.live-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  white-space: nowrap;
}

.live-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 100%);
}

/* ==========================================================================
   CTA STACK: Unmistakable Clickable Phone + Primary Gold + Secondary Glass
   ========================================================================== */

.cta-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Unmistakably clickable tel:+14012698463 interactive button */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 422px;
  padding: 12px 16px 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink-white);
  background: rgba(11, 18, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
  will-change: transform;
}

.btn-phone:hover {
  background: rgba(18, 29, 48, 0.86);
  border-color: rgba(249, 204, 108, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 32px rgba(0, 0, 0, 0.52),
    0 0 22px rgba(239, 166, 52, 0.14);
  transform: translate3d(0, -2px, 0);
}

.btn-phone:active {
  transform: translate3d(0, 0, 0) scale(0.99);
}

.btn-phone__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold-light);
  background: rgba(249, 204, 108, 0.12);
  border: 1px solid rgba(249, 204, 108, 0.34);
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.btn-phone:hover .btn-phone__icon {
  background: rgba(249, 204, 108, 0.20);
  transform: rotate(-6deg) scale(1.04);
}

.btn-phone__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
}

.btn-phone__vanity {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.3vw, 2.25rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.015em;
  color: var(--ink-white);
}

.btn-phone__digits {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.btn-phone__badge {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(249, 204, 108, 0.10);
  border: 1px solid rgba(249, 204, 108, 0.32);
  white-space: nowrap;
}

/* Action Row: Primary Warm Tungsten-Gold + Secondary Frosted Dark Glass */
.action-row {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 422px;
}

.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out);
  will-change: transform;
}

.btn-primary {
  color: var(--ink-dark);
  border: 1px solid rgba(255, 232, 178, 0.65);
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-mid) 58%, var(--gold-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 232, 0.75),
    0 10px 28px rgba(235, 152, 34, 0.34),
    0 4px 12px rgba(0, 0, 0, 0.45);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.36) 48%, transparent 72%);
  transform: translate3d(-120%, 0, 0);
  transition: transform 520ms var(--ease-out);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 232, 0.85),
    0 14px 34px rgba(239, 166, 52, 0.48),
    0 6px 16px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover::after {
  transform: translate3d(120%, 0, 0);
}

.btn-primary:active {
  transform: translate3d(0, 0, 0) scale(0.985);
}

.btn-secondary {
  color: var(--ink-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(11, 18, 30, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 22px rgba(0, 0, 0, 0.38);
}

.btn-secondary:hover {
  background: rgba(20, 32, 52, 0.84);
  border-color: rgba(255, 255, 255, 0.46);
  transform: translate3d(0, -2px, 0);
}

.btn-secondary:active {
  transform: translate3d(0, 0, 0) scale(0.985);
}

.btn-secondary--compact {
  min-height: 44px;
  padding: 0 28px;
  font-size: 1.08rem;
}

.btn-chevron {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 180ms var(--ease-out);
}

.btn-primary:hover .btn-chevron,
.btn-secondary:hover .btn-chevron {
  transform: translate3d(3px, 0, 0);
}

/* ==========================================================================
   FOOTER (Locked Copy)
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  padding: 13px 16px max(13px, env(safe-area-inset-bottom));
  background: rgba(6, 10, 18, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copy {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 8px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  white-space: normal;
  overflow-wrap: anywhere;
}

.footer-item {
  white-space: normal;
}

.footer-sep {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   PORTRAIT MOBILE LAYOUT (320px - 768px — 90% Traffic)
   Width-proportional (vw) choreography locks logo, house, van & headline
   cleanly across every phone size (320x568 through 430x932), allowing
   natural vertical scrolling on shorter screens with ZERO horizontal overflow.
   ========================================================================== */

@media (max-width: 768px) and (orientation: portrait) {
  .scene-picture {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    background: var(--bg-obsidian);
  }

  /* Keep the full portrait backdrop so the van clears the headline. */
  .scene-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  /* Warm glows anchored in vw so they stay locked onto porch lantern & window */
  .lantern-glow {
    left: 40.5%;
    top: 80.3vw;
    width: 54vw;
    height: 54vw;
  }

  .window-glow {
    left: 23%;
    top: 84vw;
    width: 42vw;
    height: 42vw;
  }

  .driveway-sheen {
    top: 120vw;
    bottom: auto;
    height: 58vw;
  }

  .scene-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(6, 10, 18, 0.96) 0%,
        rgba(6, 10, 18, 0.68) 14%,
        rgba(6, 10, 18, 0.16) 28%,
        rgba(6, 10, 18, 0.02) 40%,
        rgba(6, 10, 18, 0.04) 55%,
        rgba(6, 10, 18, 0.72) 66%,
        rgba(6, 10, 18, 0.94) 79%,
        rgba(6, 10, 18, 0.99) 92%,
        rgba(6, 10, 18, 1) 100%
      );
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: max(2.5vw, env(safe-area-inset-top)) 16px 18px;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
  }

  /* UNTOUCHED LOGO: full-width within symmetric clean side margins, optically
     centered (+2.2% corrects the master PNG's 0px left / 65px right alpha pad
     without touching a single pixel of the PNG) */
  .brand-stage {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-inline: 0;
    overflow: visible;
  }

  .brand-logo {
    --brand-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
    width: 84vw;
    max-width: 365px;
    height: auto;
    margin-inline: auto;
    transform: translateX(2.2%);
  }

  /* Clear viewing window calibrated to vw so the headline always clears the van tires */
  .mobile-scene-window {
    display: block;
    flex: 0 0 auto;
    height: 57vw;
    width: 100%;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    align-items: center;
    text-align: center;
    gap: 9px;
  }

  .hero-headline {
    font-size: clamp(2rem, 8.8vw, 2.65rem);
    line-height: 0.97;
  }

  .live-indicator {
    justify-content: center;
    max-width: 100%;
  }

  .live-label {
    font-size: clamp(0.9rem, 3.8vw, 1.05rem);
  }

  .live-rule {
    display: none;
  }

  .cta-stack {
    gap: 9px;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
  }

  /* On mobile: Request Service (primary warm gold) leads at top to keep Gerry safe off the phone,
     followed immediately by unmistakable clickable tel:+14012698463 button, then Our Services */
  .action-row {
    display: contents;
  }

  .btn-primary,
  .btn-phone,
  .btn-secondary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    align-self: stretch;
  }

  .btn-primary {
    order: 1;
    min-height: 50px;
    font-size: clamp(1.2rem, 5.2vw, 1.36rem);
    padding-inline: 16px;
  }

  .btn-phone {
    order: 2;
    padding: 9px 12px;
    gap: 11px;
    text-align: left;
    border-radius: var(--radius-btn);
  }

  .btn-phone__icon {
    width: 38px;
    height: 38px;
  }

  .btn-phone__vanity {
    font-size: clamp(1.28rem, 5.6vw, 1.48rem);
  }

  .btn-phone__digits {
    font-size: clamp(0.78rem, 3.4vw, 0.88rem);
  }

  .btn-phone__badge {
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .btn-secondary {
    order: 3;
    min-height: 45px;
    font-size: clamp(1.08rem, 4.6vw, 1.2rem);
    padding-inline: 16px;
  }

  .site-footer {
    padding: 11px 12px max(11px, env(safe-area-inset-bottom));
  }

  .footer-copy {
    font-size: clamp(0.72rem, 3.1vw, 0.82rem);
    gap: 2px 6px;
  }
}

/* On portrait phones (<= 460px), wrap footer cleanly into two balanced lines without a stray pipe */
@media (max-width: 460px) and (orientation: portrait) {
  .footer-copy {
    flex-direction: column;
    gap: 2px;
  }
  .footer-sep {
    display: none;
  }
}

/* ==========================================================================
   LANDSCAPE MOBILE LAYOUT (e.g., 568x320, 667x375, 844x390)
   Uses the 16:9 widescreen hero backdrop with natural vertical scroll,
   compact top-left logo, and unobstructed van on the right.
   ========================================================================== */

@media (max-height: 520px) and (orientation: landscape) {
  .scene-picture {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .scene-image {
    object-fit: cover;
    object-position: 75% 50%;
  }

  .hero-content {
    padding: 14px max(20px, env(safe-area-inset-left)) 18px max(20px, env(safe-area-inset-left));
    gap: 12px;
    justify-content: flex-start;
  }

  .brand-logo {
    width: clamp(140px, 21vw, 195px);
  }

  .hero-copy {
    max-width: min(52vw, 370px);
    margin-top: 0;
    gap: 10px;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  }

  .live-label {
    font-size: 0.88rem;
  }

  .cta-stack {
    gap: 9px;
  }

  .btn-phone {
    padding: 8px 12px;
    gap: 10px;
  }

  .btn-phone__icon {
    width: 34px;
    height: 34px;
  }

  .btn-phone__vanity {
    font-size: 1.35rem;
  }

  .btn-phone__digits {
    font-size: 0.82rem;
  }

  .action-row {
    gap: 8px;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    font-size: 1.08rem;
    padding: 0 12px;
  }

  .site-footer {
    padding: 9px 16px;
  }

  .footer-copy {
    font-size: 0.78rem;
  }
}

/* Compact desktop heights (e.g., 1280x720) */
@media (min-width: 769px) and (max-height: 760px) {
  .brand-logo {
    width: clamp(195px, 18vw, 255px);
  }
  .hero-headline {
    font-size: clamp(2.4rem, 3.8vw, 3.35rem);
  }
  .hero-copy {
    gap: 13px;
  }
}

/* ==========================================================================
   MODALS: CONTACT ANYTIME & OUR SERVICES (Frosted Obsidian Glass)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 7, 13, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: modalFadeIn 200ms var(--ease-out);
}

.modal-backdrop[hidden] {
  display: none;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-panel {
  position: relative;
  width: 100%;
  max-height: min(92svh, 840px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
  padding: 26px 28px 22px;
  border-radius: var(--radius-modal);
  color: var(--ink-white);
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 174, 62, 0.11) 0%, rgba(11, 18, 30, 0) 54%),
    linear-gradient(180deg, rgba(14, 22, 37, 0.96) 0%, rgba(7, 12, 21, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 28px 70px rgba(0, 0, 0, 0.72);
  animation: panelRise 240ms var(--ease-out);
}

.modal-panel::-webkit-scrollbar {
  width: 6px;
}

.modal-panel::-webkit-scrollbar-track {
  background: transparent;
}

.modal-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.20);
  border-radius: 999px;
}

.modal-panel--contact {
  max-width: 560px;
}

.modal-panel--services {
  max-width: 820px;
}

@keyframes panelRise {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.modal-panel--contact .modal-close {
  z-index: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.30);
  color: var(--ink-white);
}

.step-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px 4px 6px;
  margin-bottom: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease;
}

.step-back:hover {
  color: var(--ink-white);
  background: rgba(255, 255, 255, 0.06);
}

.modal-header {
  text-align: center;
  margin-bottom: 22px;
}

.modal-header--compact {
  margin-bottom: 16px;
}

.modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.modal-icon--glass {
  color: var(--ink-white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.modal-icon--amber {
  color: var(--gold-light);
  background: rgba(244, 174, 62, 0.14);
  border: 1px solid rgba(249, 204, 108, 0.44);
}

.modal-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.modal-subtitle {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.accent-text {
  color: var(--gold-light);
  font-weight: 600;
}

/* Choice Cards (Step 1) */
.choice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choice-card {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.choice-card:hover {
  transform: translate3d(0, -1px, 0);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.choice-card--urgent {
  border-color: rgba(249, 204, 108, 0.48);
  background: linear-gradient(135deg, rgba(244, 174, 62, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 0 24px rgba(244, 174, 62, 0.10);
}

.choice-card--urgent:hover {
  border-color: var(--gold-light);
  background: linear-gradient(135deg, rgba(244, 174, 62, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.choice-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.choice-card__icon--amber {
  color: var(--gold-light);
  background: rgba(244, 174, 62, 0.14);
  border-color: rgba(249, 204, 108, 0.4);
}

.choice-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.choice-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-white);
}

.choice-card__desc {
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink-muted);
}

.choice-card__arrow {
  margin-left: auto;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.modal-aux {
  margin-top: 14px;
  text-align: center;
}

.text-link {
  background: none;
  border: none;
  padding: 4px 8px;
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: #ffe2a4;
}

.modal-call-bar {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  justify-content: center;
}

.inline-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-white);
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.inline-call-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(249, 204, 108, 0.45);
}

/* Emergency Info Callout */
.info-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid rgba(249, 204, 108, 0.36);
  background: rgba(244, 174, 62, 0.08);
}

.info-callout__icon {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-callout__text p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.48;
  color: var(--ink-soft);
}

.info-callout__text p + p {
  margin-top: 4px;
}

/* Modal Action Buttons */
.dual-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 12px;
  margin-top: 6px;
}

.btn-modal-primary,
.btn-modal-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 16px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn-modal-primary {
  color: var(--ink-dark);
  border: 1px solid rgba(255, 232, 178, 0.65);
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-mid) 60%, var(--gold-deep) 100%);
  box-shadow: 0 8px 22px rgba(235, 152, 34, 0.28);
}

.btn-modal-primary:hover {
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 10px 26px rgba(239, 166, 52, 0.42);
}

.btn-modal-primary--full {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}

.btn-modal-glass {
  color: var(--ink-white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.btn-modal-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translate3d(0, -1px, 0);
}

.btn-modal-glass span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.btn-modal-glass small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.btn-modal-glass--compact {
  min-height: 44px;
  padding: 0 16px;
}

.btn-modal-glass--compact span {
  flex-direction: row;
}

/* Intake Forms */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--zip {
  grid-template-columns: 1.25fr 1fr 0.55fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field__label {
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 9, 16, 0.72);
  color: var(--ink-white);
  font-size: 0.92rem;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.field select option {
  background: #0b121e;
  color: #ffffff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(147, 164, 188, 0.62);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  background: rgba(9, 15, 26, 0.92);
}

.field textarea {
  resize: vertical;
  min-height: 76px;
}

.mini-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.mini-tool-btn[hidden] {
  display: none;
}

.mini-tool-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.mini-tool-btn:not(:disabled):hover {
  background: rgba(249, 204, 108, 0.14);
  border-color: rgba(249, 204, 108, 0.48);
  color: var(--gold-light);
}

.mini-tool-btn.is-listening {
  border-color: var(--gold-light);
  background: rgba(244, 174, 62, 0.24);
  color: var(--gold-light);
}

.field__hint {
  font-size: 0.76rem;
  color: var(--ink-muted);
  min-height: 1em;
}

.field-row-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-group {
  border: none;
  padding: 0;
  margin: 0;
}

.radio-options {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.radio-pill input {
  accent-color: var(--gold-mid);
  width: 15px;
  height: 15px;
  margin: 0;
}

.form-error {
  margin: 0;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid rgba(249, 204, 108, 0.45);
  background: rgba(244, 174, 62, 0.12);
  color: #ffe2a4;
  font-size: 0.84rem;
}

.modal-footnote {
  margin: 2px 0 0;
  text-align: center;
  font-size: 0.77rem;
  color: var(--ink-muted);
}

/* Confirmation Step */
.confirm-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 10px 0 4px;
}

.confirm-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border: 2px solid var(--gold-light);
  background: rgba(244, 174, 62, 0.12);
  box-shadow: 0 0 32px rgba(244, 174, 62, 0.25);
}

.confirm-copy {
  max-width: 440px;
}

.confirm-urgent-box {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid rgba(249, 204, 108, 0.35);
  background: rgba(244, 174, 62, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
}

.confirm-urgent-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-white);
}

.confirm-urgent-box p {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   OUR SERVICES MODAL GRID
   ========================================================================== */

.services-kicker {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.service-card {
  padding: 13px 15px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.service-card--featured {
  grid-column: 1 / -1;
  border-color: rgba(249, 204, 108, 0.42);
  background: linear-gradient(135deg, rgba(244, 174, 62, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.service-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.service-badge {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-dark);
  background: var(--gold-light);
}

.service-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-white);
}

.service-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-muted);
  flex: 1;
}

.service-card__cta {
  align-self: flex-start;
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.service-card__cta:hover {
  color: #ffe3a8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .modal-backdrop {
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
    align-items: center;
    height: 100dvh;
    overflow-y: auto;
  }
  .modal-panel {
    padding: 20px 16px max(18px, env(safe-area-inset-bottom));
    border-radius: 18px;
    max-height: calc(100dvh - 20px);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .modal-panel--services .modal-header {
    padding-top: 26px;
  }
  /* Prevent iOS Safari zoom-on-focus (<16px) and keep touch targets comfortable */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 11px 12px;
  }
  .mini-tool-btn--voice {
    min-height: 40px;
  }
  .radio-options {
    flex-wrap: wrap;
    gap: 12px;
  }
  .radio-pill {
    min-height: 36px;
  }
  .form-grid--2,
  .form-grid--zip,
  .dual-actions,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .confirm-urgent-box {
    flex-direction: column;
    text-align: center;
  }
  .services-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Landscape mobile modal safety (short viewport height) */
@media (max-height: 520px) and (orientation: landscape) {
  .modal-backdrop {
    padding: 8px 16px;
    align-items: flex-start;
    overflow-y: auto;
  }
  .modal-panel {
    max-height: calc(100dvh - 16px);
    padding: 16px 20px;
  }
}

/* ==========================================================================
   STARTUP SEQUENCE
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .startup-pending :is(.brand-logo, .scene-backdrop, .hero-headline, .live-indicator,
    .btn-phone, .action-row > button, .site-footer) {
    opacity: 0;
  }

  .startup-running .hero-content::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: min(90vw, 560px);
    height: min(66vh, 420px);
    translate: -50% -50%;
    background: radial-gradient(ellipse, #ffd07885, #d5852630 37%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    animation: startupSurge 730ms ease-out 80ms;
  }

  .startup-running .brand-logo {
    animation:
      startupLogoIgnition 640ms ease-out backwards,
      startupLogoTravel 440ms cubic-bezier(0.55, 0, 0.22, 1) 450ms backwards;
  }

  .startup-running .scene-backdrop {
    animation: startupSceneExposure 1100ms linear backwards;
  }

  .startup-running :is(.lantern-glow, .window-glow)::before {
    content: '';
    position: absolute;
    inset: -15%;
    opacity: 0;
    animation: startupPorchIgnition 480ms ease-out var(--porch-ignition);
  }

  .startup-running .lantern-glow::before {
    --porch-ignition: 850ms;
    background: radial-gradient(circle, #ffe4b3d9, #ffb85573 23%, #f8a94024 48%, transparent 69%);
  }

  .startup-running .window-glow::before {
    --porch-ignition: 880ms;
    background: radial-gradient(circle, #ffd99ab3, #ffb45158 29%, transparent 68%);
  }

  .startup-running .scene-picture::after {
    content: '';
    position: absolute;
    inset: 40% -7% 10% 33%;
    background: linear-gradient(105deg, transparent 33%, #a1ceef22 42%, #d6ecffa1 49%, #a1ceef35 54%, transparent 66%);
    mask-image: radial-gradient(ellipse, #000 24%, #000b 48%, transparent 74%);
    mix-blend-mode: screen;
    opacity: 0;
    animation: startupVanSweep 400ms ease-in-out 1030ms;
  }

  .startup-running .driveway-sheen {
    animation: startupLight 200ms var(--ease-out) 870ms backwards;
  }

  .startup-running .driveway-sheen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 45% 0%, #ffb75a66, #db7e2d29 34%, transparent 68%);
    opacity: 0;
    animation: startupPorchIgnition 520ms ease-out 890ms;
  }

  .startup-running .hero-headline {
    animation: startupHeadline 260ms var(--ease-out) 1380ms backwards;
  }

  .startup-running :is(.live-indicator, .btn-phone, .action-row > button) {
    animation: startupControl 240ms var(--ease-out) var(--startup-delay) backwards;
  }

  .startup-running .live-indicator { --startup-delay: 1470ms; }
  .startup-running .btn-primary { --startup-delay: 1540ms; }
  .startup-running .btn-phone { --startup-delay: 1605ms; }
  .startup-running .btn-secondary { --startup-delay: 1670ms; }

  .startup-running .btn-phone { position: relative; }

  .startup-running :is(.btn-phone, .action-row > button)::before,
  .modal-backdrop:not([hidden]) .modal-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(115deg, #efa63414 18%, #f8ae3b 39%, #fff0c9 49%, #efa63422 68%);
    background-size: 220% 100%;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    animation: startupEdge 320ms ease-out var(--startup-delay, 0ms);
  }

  .startup-running .btn-primary::after {
    animation: startupButtonSweep 310ms var(--ease-out) var(--startup-delay);
  }

  .startup-running .site-footer {
    animation: startupLight 220ms ease-out 1780ms backwards;
  }

  .modal-step:not([hidden]) {
    animation: dialogLight 160ms ease-out;
  }

  .modal-step:not([hidden]) .confirm-check {
    animation: startupControl 220ms var(--ease-out);
  }
}

@media (max-width: 768px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) {
  .startup-running .scene-picture::after {
    inset: 84vw -5% auto;
    height: 40vw;
  }
}

@keyframes startupLight {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes startupLogoIgnition {
  0% {
    opacity: 0;
    filter: drop-shadow(var(--brand-shadow)) drop-shadow(0 0 0 #ffd78e00) brightness(0.84);
  }
  29% {
    opacity: 1;
    filter: drop-shadow(var(--brand-shadow)) drop-shadow(0 0 10px #ffd78e52) brightness(1);
  }
  66% {
    opacity: 1;
    filter: drop-shadow(var(--brand-shadow)) drop-shadow(0 0 26px #ffd78eaa) brightness(1.18);
  }
  100% {
    opacity: 1;
    filter: drop-shadow(var(--brand-shadow)) drop-shadow(0 0 0 #ffd78e00) brightness(1);
  }
}

@keyframes startupLogoTravel {
  from {
    translate: var(--startup-x) var(--startup-y);
    scale: var(--startup-scale);
  }
  to {
    translate: 0 0;
    scale: 1;
  }
}

@keyframes startupSceneExposure {
  0%, 38% { opacity: 0.06; }
  75% { opacity: 0.38; }
  82% { opacity: 0.91; }
  100% { opacity: 1; }
}

@keyframes startupPorchIgnition {
  0% { opacity: 0; scale: 0.68; }
  13% { opacity: 1; }
  43% { opacity: 0.66; }
  100% { opacity: 0; scale: 1.16; }
}

@keyframes startupSurge {
  0% { opacity: 0; scale: 0.55; }
  24% { opacity: 0.9; }
  52% { opacity: 0.52; }
  100% { opacity: 0; scale: 1.18; }
}

@keyframes startupVanSweep {
  0% { opacity: 0; translate: -59% 0; }
  30% { opacity: 0.8; }
  62% { opacity: 0.68; }
  100% { opacity: 0; translate: 59% 0; }
}

@keyframes startupHeadline {
  0% {
    opacity: 0;
    translate: 0 12px;
    clip-path: inset(0 0 100% 0);
  }
  46% {
    opacity: 1;
    text-shadow: 0 0 18px #ffe0a278, 0 4px 24px #000a;
  }
  100% {
    opacity: 1;
    translate: 0 0;
    clip-path: inset(0);
  }
}

@keyframes startupControl {
  0% {
    opacity: 0;
    translate: 0 6px;
  }
  36% { opacity: 1; }
  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes startupEdge {
  0% { opacity: 0; background-position: 100% 0; }
  28% { opacity: 1; }
  62% { opacity: 0.74; }
  100% { opacity: 0; background-position: 0 0; }
}

@keyframes startupButtonSweep {
  from { transform: translate3d(-120%, 0, 0); }
  to { transform: translate3d(120%, 0, 0); }
}

@keyframes dialogLight {
  0% { opacity: 0.65; }
  54%, 100% { opacity: 1; }
}

/* ==========================================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .scene-picture,
  .lantern-glow,
  .window-glow,
  .sheen-band,
  .live-dot::after,
  .modal-backdrop,
  .modal-panel {
    animation: none !important;
  }

  .btn-primary,
  .btn-secondary,
  .btn-phone,
  .btn-primary::after,
  .btn-chevron,
  .choice-card {
    transition: none !important;
  }
}
