:root {
  --bg: #faf7f2;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --bg-warm: #f3ebe0;
  --line: rgba(90, 70, 50, 0.12);
  --text: #1c1916;
  --muted: #6b6258;
  --blue: #1f5f9c;
  --blue-deep: #164876;
  --blue-soft: #e8f1f9;
  --wood: #a67c52;
  --beige: #e8dcc8;
  --white: #ffffff;
  --radius: 16px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 242, 0.9);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.45rem 0;
}
.logo img {
  height: 120px;
  width: auto;
  max-width: min(520px, 46vw);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  color: var(--muted); font-size: 0.88rem; flex-shrink: 0;
}
.nav a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.15rem; border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  color: var(--white); font-weight: 600; font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 22px rgba(31, 95, 156, 0.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(31, 95, 156, 0.3); }
.menu-toggle {
  display: none; background: var(--white); border: 1px solid var(--line);
  color: var(--text); border-radius: 10px; padding: 0.45rem 0.65rem;
}

.hero {
  position: relative; overflow: hidden;
  min-height: clamp(420px, 62vh, 620px);
  display: flex; align-items: flex-end;
  padding: 0 0 3.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-warm);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero-anim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  overflow: hidden;
}
/* Midnight ↔ midday color-temperature cycle (synced with shades) */
.hero-temp {
  position: absolute; inset: 0;
  animation: hero-daynight 24s ease-in-out infinite;
  will-change: opacity;
}
.hero-temp-night {
  background:
    radial-gradient(ellipse 70% 55% at 68% 32%, rgba(28, 58, 110, 0.42), transparent 68%),
    linear-gradient(180deg, rgba(8, 18, 40, 0.38), rgba(12, 22, 44, 0.18) 45%, rgba(20, 28, 48, 0.28));
  mix-blend-mode: multiply;
  animation-name: hero-night;
}
.hero-temp-day {
  background:
    radial-gradient(ellipse 60% 50% at 74% 30%, rgba(255, 214, 150, 0.38), transparent 70%),
    radial-gradient(ellipse 45% 40% at 48% 58%, rgba(255, 236, 200, 0.22), transparent 65%),
    linear-gradient(180deg, rgba(255, 248, 230, 0.08), rgba(255, 220, 170, 0.16));
  mix-blend-mode: soft-light;
  animation-name: hero-day;
}
@keyframes hero-night {
  0%, 100% { opacity: 0.92; }
  35% { opacity: 0.15; }
  55% { opacity: 0.08; }
  80% { opacity: 0.55; }
}
@keyframes hero-day {
  0%, 100% { opacity: 0.12; }
  35% { opacity: 0.85; }
  55% { opacity: 1; }
  80% { opacity: 0.35; }
}
.hero-shade {
  position: absolute; top: 6%; width: 11%;
  background: linear-gradient(180deg, rgba(28, 24, 20, 0.34), rgba(28, 24, 20, 0.08));
  transform-origin: top center;
  border-radius: 0 0 3px 3px;
  animation: hero-shade 24s ease-in-out infinite;
  mix-blend-mode: multiply;
  opacity: 0.62;
  box-shadow: 1px 0 0 rgba(255,255,255,0.04);
}
.hero-shade-a { right: 16%; height: 46%; animation-delay: 0s; }
.hero-shade-b { right: 26%; height: 52%; width: 9%; animation-delay: -1.2s; opacity: 0.5; }
.hero-shade-c { right: 34%; height: 40%; width: 8%; animation-delay: -2.4s; opacity: 0.46; }
/* Closed at midnight, open toward midday, ease closed again */
@keyframes hero-shade {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }      /* midnight — closed */
  20% { transform: scaleY(0.78); opacity: 0.58; }
  40% { transform: scaleY(0.28); opacity: 0.35; }     /* midday — open */
  55% { transform: scaleY(0.22); opacity: 0.3; }
  75% { transform: scaleY(0.62); opacity: 0.5; }
  90% { transform: scaleY(0.9); opacity: 0.64; }
}
.hero-lightwash {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 70% 36%, rgba(255, 230, 175, 0.3), transparent 72%),
    radial-gradient(ellipse 38% 32% at 42% 60%, rgba(120, 170, 230, 0.14), transparent 68%);
  animation: hero-light 24s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
@keyframes hero-light {
  0%, 100% { opacity: 0.25; filter: hue-rotate(-18deg) brightness(0.88); } /* cool midnight */
  40% { opacity: 0.8; filter: hue-rotate(8deg) brightness(1.1); }          /* warm day */
  55% { opacity: 0.9; filter: hue-rotate(12deg) brightness(1.12); }
  80% { opacity: 0.4; filter: hue-rotate(-8deg) brightness(0.95); }
}
.hero-waves {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.55;
}
.hero-waves .wave {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 0.7;
  transform-origin: center;
  animation: hero-wave 6.5s ease-out infinite;
}
.hero-waves .w1 { animation-delay: 0s; }
.hero-waves .w2 { animation-delay: 1.6s; }
.hero-waves .w3 { animation-delay: 3.2s; }
.hero-waves .w4 { animation-delay: 4.8s; }
@keyframes hero-wave {
  0% { transform: scale(1); opacity: 0.55; }
  70% { opacity: 0.18; }
  100% { transform: scale(5.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shade, .hero-lightwash, .hero-temp, .hero-waves .wave { animation: none !important; }
  .hero-shade { transform: scaleY(0.55); opacity: 0.45; }
  .hero-lightwash { opacity: 0.55; filter: none; }
  .hero-temp-night { opacity: 0.25; }
  .hero-temp-day { opacity: 0.55; }
  .hero-waves { display: none; }
}

.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(250,247,242,0.92) 0%, rgba(250,247,242,0.72) 42%, rgba(250,247,242,0.28) 72%, rgba(250,247,242,0.15) 100%),
    linear-gradient(180deg, rgba(250,247,242,0.2) 0%, rgba(250,247,242,0.55) 100%);
}
.hero-copy { position: relative; z-index: 3; padding-top: 4rem; max-width: 36rem; }
.hero-kicker {
  color: var(--blue); font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.55rem);
  line-height: 1.08; letter-spacing: -0.03em;
  max-width: 18ch; margin: 0 0 1rem; color: var(--text);
}
.hero .sub {
  color: var(--muted); font-size: 1.1rem; max-width: 36ch; margin: 0 0 1.8rem;
}

section { padding: 4.5rem 0; border-bottom: 1px solid var(--line); }
.section-label {
  color: var(--blue); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em; margin: 0 0 1rem; max-width: 22ch;
  color: var(--text);
}
.lede { color: var(--muted); max-width: 62ch; margin: 0; font-size: 1.05rem; }

.grid-cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: 0 6px 18px rgba(90, 70, 50, 0.04);
  overflow: hidden;
}
.card-photo { padding: 0; display: flex; flex-direction: column; }
.card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-warm);
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.card-photo:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .brands {
  margin-top: 0.7rem; color: var(--blue); font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.card .brands-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.75rem 1rem; margin-top: 0.85rem; color: inherit;
  letter-spacing: 0;
}
.card .brands-logos img {
  display: block; height: 28px; width: auto;
  object-fit: contain; opacity: 0.9;
}

.gallery {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-warm);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.split {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}
.split .card h3 { font-size: 1.2rem; }

.steps {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 2rem;
}
.step {
  background: var(--bg-warm); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem;
}
.step .n {
  color: var(--blue); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.08em; margin-bottom: 0.45rem;
}
.step h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.88rem; }

#trust { background: #fffdf9; }
.trust-meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem;
  color: var(--muted); margin: 1.25rem 0 1.75rem; font-size: 0.95rem;
}
.pill {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.35rem 0.75rem; background: var(--white);
}
.pill strong { color: var(--text); font-weight: 600; }

.dealer-line {
  color: #111;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  border: none;
  background: transparent;
}
.dealer-line a.brand-link {
  color: #111;
  border-bottom-color: color-mix(in srgb, #111 45%, transparent);
}

.brand-tip {
  margin: 1.35rem 0 0.4rem;
  padding: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--muted, #6b6574);
  opacity: 0.85;
  font-weight: 400;
}

.partners {
  margin-top: 0;
  display: flex; flex-wrap: wrap; gap: 0.85rem 1.35rem;
  align-items: center; justify-content: flex-start;
}
.partner {
  display: block;
  height: 32px;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  opacity: 0.88;
  filter: none;
  color: #1c1916;
}
.partner[src*="origin-acoustics"] {
  height: 48px;
  max-width: none;
}

.partner.partner-samsung {
  height: 36px;
  padding: 0.35rem 0.55rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(28, 25, 22, 0.06);
  opacity: 1;
}

.partner:hover { opacity: 1; }

/* Official brand links */
a.brand-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  transition: color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
a.brand-link:hover,
a.brand-link:focus-visible {
  color: var(--blue, #5b7cfa);
  border-bottom-color: currentColor;
  outline: none;
}
a.brand-link.brand-logo {
  border-bottom: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
a.brand-link.brand-logo:hover,
a.brand-link.brand-logo:focus-visible {
  opacity: 1;
}
a.brand-link.brand-logo:hover img,
a.brand-link.brand-logo:focus-visible img {
  opacity: 1;
  filter: brightness(1.08);
}
.pill a.brand-link {
  border-bottom-color: color-mix(in srgb, currentColor 45%, transparent);
}
.partners a.brand-link.brand-logo {
  opacity: 0.85;
}
.partners a.brand-link.brand-logo:hover {
  opacity: 1;
}


.cta-block {
  text-align: center; padding: 4.5rem 0;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(31, 95, 156, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-warm), var(--bg));
  border-bottom: none;
}
.cta-block h2 { margin-inline: auto; }
.cta-block p { color: var(--muted); margin: 0.5rem auto 1.5rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem; color: var(--muted); font-size: 0.88rem;
  background: #f3ebe0;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: space-between; align-items: center;
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(250, 247, 242, 0.98); border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem; gap: 0.9rem;
  }
  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .logo img { height: 78px; max-width: min(300px, 68vw); }
  .hero { min-height: 460px; align-items: flex-end; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(250,247,242,0.25) 0%, rgba(250,247,242,0.88) 72%, rgba(250,247,242,0.96) 100%);
  }
  .hero-copy { max-width: none; padding-top: 2.5rem; }
  .split, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: span 1; aspect-ratio: 16 / 10; }
  .logo img { height: 68px; max-width: min(260px, 72vw); }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .logo img { height: 108px; max-width: min(460px, 42vw); }
}

.contact-email {
  margin: 0.75rem 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.contact-email a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer a:hover { color: var(--blue); }

.contact-wrap { max-width: 560px; margin-inline: auto; text-align: left; }

.contact-direct {
  text-align: center;
  margin: 0.75rem 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.contact-direct a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-direct a:hover { opacity: 0.85; }

.contact-wrap h2,
.contact-wrap > p { text-align: center; }
.contact-form {
  display: grid;
  gap: 0.95rem;
  margin-top: 0.35rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(28, 25, 22, 0.05);
}
.contact-form .field { display: grid; gap: 0.35rem; }
.contact-form .field span {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.contact-form input,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: #fffcf8;
}
.contact-form input:focus,
.contact-form select:focus {
  outline: 2px solid rgba(31, 95, 156, 0.35);
  outline-offset: 1px;
  border-color: var(--blue);
}
.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.contact-form .honey {
  position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden;
}
.form-note {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.form-note a { color: var(--blue); }
.form-success {
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(31, 95, 156, 0.1);
  color: #164876;
  font-weight: 600;
  text-align: center;
}


/* Control-in-hand scene (beneath hero) */

.form-privacy {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text);
  text-align: center;
  font-style: italic;
}

/* Control-in-hand scene (beneath hero) */
.control-scene {
  padding: 3.25rem 0 3.5rem;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 55%);
  border-bottom: 1px solid var(--line);
}
.control-scene-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 2.25rem;
  align-items: center;
}
.control-scene-copy h2 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.control-scene-copy .lede {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 36rem;
}
.control-scene-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.control-scene-list li {
  padding: 0.7rem 0.9rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
}
.control-scene-list strong { color: var(--blue-deep); }
.control-scene-copy .brands {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue);
  font-size: 0.92rem;
}
.control-scene-stage {
  position: relative;
  display: grid;
  gap: 0;
}
.control-scene-media {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(28, 25, 22, 0.12);
  background: var(--bg-elev);
}
.control-scene-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.95) contrast(1.02);
}

/* Wall-style touch panel overlaid on lifestyle photo */
.touch-panel {
  position: absolute;
  right: 4%;
  bottom: 6%;
  width: min(46%, 280px);
  z-index: 2;
  margin: 0;
  perspective: 900px;
  transform-style: preserve-3d;
}
.touch-panel-toggle {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 22px;
}
.touch-panel.is-popped .touch-panel-toggle {
  /* keep clickable to flatten again, but let UI feel nested */
  background: transparent;
}
.touch-panel-bezel {
  border-radius: 22px;
  padding: 9px;
  background: linear-gradient(160deg, #2a3038 0%, #15191f 55%, #0d1014 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 2px 8px rgba(16, 28, 44, 0.18);
  transform: translateZ(0) rotateX(0deg) rotateY(0deg) scale(1);
  transform-origin: 70% 80%;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, filter .45s ease;
  filter: none;
}
.touch-panel.is-popped .touch-panel-bezel {
  transform: translate3d(-6px, -18px, 48px) rotateX(8deg) rotateY(-14deg) scale(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 28px 48px rgba(16, 28, 44, 0.42),
    0 10px 18px rgba(31, 95, 156, 0.18);
  filter: drop-shadow(0 22px 28px rgba(16, 28, 44, 0.28));
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.touch-panel-screen {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(232, 241, 249, 0.22), transparent 55%),
    linear-gradient(165deg, #1a3048 0%, #122033 48%, #0e1826 100%);
  color: #eef4fa;
  padding: 0.75rem 0.7rem 0.55rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.tp-wash {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background: radial-gradient(ellipse at 30% 20%, rgba(120, 180, 230, 0.28), transparent 70%);
  animation: tpWash 7s ease-in-out infinite alternate;
}
.tp-shade-bars {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  opacity: 0.14;
}
.tp-shade-bars span {
  background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 70%);
  transform-origin: top;
  animation: tpShade 6.5s ease-in-out infinite alternate;
}
.tp-shade-bars span:nth-child(2) { animation-delay: .4s; }
.tp-shade-bars span:nth-child(3) { animation-delay: .9s; }
.tp-shade-bars span:nth-child(4) { animation-delay: 1.3s; }
.tp-waves {
  pointer-events: none;
  position: absolute;
  right: 10px;
  top: 54px;
  width: 56px;
  height: 24px;
  opacity: 0.45;
}
.tp-w {
  fill: none;
  stroke: rgba(170, 210, 245, 0.7);
  stroke-width: 1.2;
  transform-origin: 60px 24px;
  animation: tpWave 3.2s ease-out infinite;
}
.tp-w2 { animation-delay: .55s; }
.tp-w3 { animation-delay: 1.1s; }
@keyframes tpWash {
  from { opacity: 0.55; transform: translateY(0); }
  to { opacity: 1; transform: translateY(6px); }
}
@keyframes tpShade {
  from { transform: scaleY(0.55); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 0.7; }
}
@keyframes tpWave {
  0% { transform: scale(0.55); opacity: 0.75; }
  100% { transform: scale(2.1); opacity: 0; }
}
.tp-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.tp-room {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.tp-time {
  margin: 0.1rem 0 0;
  font-size: 0.68rem;
  color: rgba(230, 238, 246, 0.62);
}
.tp-climate {
  text-align: right;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.35rem 0.5rem;
  min-width: 3.4rem;
}
.tp-temp {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  color: #d7ebff;
}
.tp-mode {
  display: block;
  font-size: 0.62rem;
  color: rgba(210, 230, 250, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tp-rooms {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.28rem;
  overflow: auto;
  scrollbar-width: none;
}
.tp-rooms::-webkit-scrollbar { display: none; }
.tp-room-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(235, 242, 250, 0.78);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 550;
  cursor: default;
}
.tp-room-chip.is-active {
  background: rgba(88, 155, 220, 0.28);
  border-color: rgba(150, 200, 245, 0.45);
  color: #fff;
}
.tp-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  flex: 1;
}
.tp-tile {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 0.5rem 0.55rem 0.55rem;
}
.tp-tile-wide { grid-column: 1 / -1; }
.tp-label {
  margin: 0 0 0.4rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(210, 225, 240, 0.62);
  font-weight: 600;
}
.tp-tile-scenes {
  grid-column: 1 / -1;
}
.tp-scene-stack {
  display: grid;
  gap: 0.32rem;
}
.tp-scene-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(235, 242, 250, 0.82);
  border-radius: 10px;
  padding: 0.42rem 0.6rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: default;
  pointer-events: none;
}
.tp-scene-btn.is-on {
  background: linear-gradient(180deg, rgba(95,165,230,0.55), rgba(40,110,175,0.55));
  border-color: rgba(150, 200, 245, 0.45);
  color: #fff;
  box-shadow: 0 6px 14px rgba(31, 95, 156, 0.22);
}
.tp-grid {
  grid-template-columns: 1fr;
}
.tp-shade-meter {
  height: 7px;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  overflow: hidden;
  margin-bottom: 0.35rem;
}
.tp-shade-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9ec7ec, #5b9fd6);
}
.tp-meta {
  margin: 0;
  font-size: 0.66rem;
  color: rgba(210, 225, 240, 0.68);
}
.tp-audio {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.tp-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  width: 22px;
}
.tp-eq i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #8fc0ea;
  animation: tpEq 1.1s ease-in-out infinite alternate;
}
.tp-eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.tp-eq i:nth-child(2) { height: 70%; animation-delay: .15s; }
.tp-eq i:nth-child(3) { height: 100%; animation-delay: .3s; }
.tp-eq i:nth-child(4) { height: 55%; animation-delay: .45s; }
.tp-eq i:nth-child(5) { height: 80%; animation-delay: .6s; }
@keyframes tpEq {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}
.tp-track {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
}
.tp-dock {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
  margin-top: auto;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.tp-dock span {
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  color: rgba(210, 225, 240, 0.55);
  padding: 0.35rem 0 0.1rem;
}
.tp-dock span.is-active {
  color: #cfe6ff;
  font-weight: 600;
}
.touch-panel-caption {
  margin: 0.45rem 0 0;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(250, 247, 242, 0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
  font-weight: 500;
}
@media (max-width: 860px) {
  .control-scene-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .control-scene-stage { order: -1; }
  .touch-panel {
    width: min(58%, 250px);
    right: 3%;
    bottom: 5%;
  }
  .touch-panel-screen { min-height: 290px; }
}
@media (max-width: 520px) {
  .touch-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 300px);
    margin: -1.75rem auto 0;
  }
  .touch-panel-caption {
    color: var(--muted);
    text-shadow: none;
  }
}


/* Click-to-enlarge lightbox */
.zoom-trigger {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
}
.zoom-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.zoom-trigger:hover img,
.zoom-trigger:focus-visible img {
  transform: scale(1.02);
  filter: brightness(1.04);
}
.zoom-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.zoom-hint {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #eef5fc;
  background: linear-gradient(180deg, rgba(31,95,156,0.88), rgba(22,72,118,0.92));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 18px rgba(16, 40, 70, 0.28);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.zoom-trigger:hover .zoom-hint,
.zoom-trigger:focus-visible .zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(80, 140, 200, 0.22), transparent 60%),
    rgba(12, 18, 28, 0.78);
  backdrop-filter: blur(10px);
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(232, 241, 249, 0.16), transparent 55%),
    linear-gradient(165deg, #1a3048 0%, #122033 48%, #0e1826 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
}
.lightbox-wash {
  pointer-events: none;
  position: absolute;
  inset: -30% -20% auto;
  height: 55%;
  background: radial-gradient(ellipse at 40% 20%, rgba(120, 180, 230, 0.28), transparent 70%);
  animation: lbWash 6s ease-in-out infinite alternate;
}
.lightbox-shade-bars {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: 0.1;
}
.lightbox-shade-bars span {
  background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 70%);
  transform-origin: top;
  animation: lbShade 5.5s ease-in-out infinite alternate;
}
.lightbox-shade-bars span:nth-child(2) { animation-delay: .35s; }
.lightbox-shade-bars span:nth-child(3) { animation-delay: .7s; }
.lightbox-shade-bars span:nth-child(4) { animation-delay: 1.1s; }
@keyframes lbWash {
  from { opacity: .55; }
  to { opacity: 1; }
}
@keyframes lbShade {
  from { transform: scaleY(.5); }
  to { transform: scaleY(1); }
}
.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #eef5fc;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(95, 155, 220, 0.35);
  outline: none;
}
.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: min(78vh, 780px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  background: #0a1018;
}
.lightbox-caption {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 46rem;
  text-align: center;
  color: rgba(230, 238, 246, 0.82);
  font-size: 0.9rem;
}
body.lightbox-open { overflow: hidden; }

/* === AI scene card === */
.card-ai .card-img { position: relative; }
.ai-scene-hit {
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
  position: relative; overflow: hidden; border-radius: inherit;
  text-align: left;
}
.ai-scene-hit img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: filter 1.1s ease, transform 1.4s ease;
}
.ai-fx {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.ai-glow-core {
  position: absolute; left: 58%; top: 38%;
  width: 28%; aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(186,160,255,0.35) 0%, rgba(120,90,220,0.12) 45%, transparent 70%);
  filter: blur(2px);
  animation: ai-orb-breathe 5.5s ease-in-out infinite;
  mix-blend-mode: screen;
}
.ai-waves {
  position: absolute; inset: 0; width: 100%; height: 100%;
  mix-blend-mode: screen;
}
.ai-orb {
  animation: ai-orb-pulse 4.8s ease-in-out infinite;
  transform-origin: 1080px 420px;
}
.ai-orb-group {
  transform-origin: 1080px 420px;
}
.ai-scene.is-awake .ai-orb-group {
  animation: ai-orb-breathe 2.6s ease-in-out infinite;
}
.ai-orb-ripple {
  transform-origin: 1080px 420px;
  opacity: 0;
}
.ai-scene.is-awake .ai-orb-ripple {
  animation: ai-orb-ripple 2.8s ease-out infinite;
}
.ai-scene.is-awake .ai-orb-ripple.r2 { animation-delay: 0.7s; }
.ai-scene.is-awake .ai-orb-ripple.r3 { animation-delay: 1.4s; }
.ai-orb-wave {
  opacity: 0;
  transform-origin: 1080px 420px;
}
.ai-scene.is-awake .ai-orb-wave {
  opacity: 1;
  animation: ai-orb-wave-sway 2.4s ease-in-out infinite;
}
.ai-scene.is-awake .ai-orb-wave.w2 { animation-delay: 0.35s; animation-duration: 2.9s; }
/* Soft room blackout overlay on card */
.ai-scene::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 32% 12%, rgba(255,230,180,0.0), transparent 70%),
    linear-gradient(180deg, rgba(8,6,18,0), rgba(8,6,18,0));
  opacity: 0;
  transition: opacity 1.4s ease, background 1.4s ease;
  mix-blend-mode: multiply;
  z-index: 2;
  border-radius: inherit;
}
.ai-scene.is-awake::after {
  background:
    radial-gradient(ellipse 50% 35% at 32% 10%, rgba(40,30,20,0.15), transparent 65%),
    linear-gradient(180deg, rgba(6,4,16,0.35), rgba(4,2,12,0.55) 55%, rgba(2,1,8,0.62));
  animation: ai-room-dim-overlay 5.2s ease-in-out infinite;
}
.ai-filaments.ambient .f {
  stroke-dasharray: 14 22;
  animation: ai-filament-drift 7s linear infinite;
  opacity: 0.75;
}
.ai-filaments.ambient .f2 { animation-duration: 9s; animation-direction: reverse; opacity: 0.55; }
.ai-filaments.ambient .f3 { animation-duration: 11s; opacity: 0.45; }

.ai-hint {
  position: absolute; left: 0.75rem; bottom: 0.7rem;
  padding: 0.28rem 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.02em;
  color: rgba(240,236,255,0.92);
  background: rgba(20,16,36,0.45);
  border: 1px solid rgba(180,160,255,0.28);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.ai-target {
  position: absolute; border-radius: 50%;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.8s ease, transform 1s ease, box-shadow 1s ease;
  mix-blend-mode: screen;
}
.ai-target-cove {
  left: 28%; top: 8%; width: 36%; height: 10%;
  border-radius: 40%;
  background: radial-gradient(ellipse, rgba(180,210,255,0.55), transparent 70%);
  filter: blur(8px);
}
.ai-target-shelf {
  left: 4%; top: 22%; width: 14%; height: 28%;
  border-radius: 18%;
  background: linear-gradient(180deg, rgba(255,210,150,0.0), rgba(255,190,120,0.45), rgba(255,170,90,0.0));
  filter: blur(6px);
}
.ai-target-fire {
  right: 14%; bottom: 12%; width: 22%; height: 14%;
  border-radius: 40%;
  background: radial-gradient(ellipse, rgba(255,140,60,0.65), rgba(255,80,20,0.15) 55%, transparent 75%);
  filter: blur(4px);
}
.ai-fire-flicker {
  position: absolute; right: 16%; bottom: 10%; width: 18%; height: 12%;
  border-radius: 40%;
  background: radial-gradient(ellipse, rgba(255,170,80,0.55), transparent 70%);
  opacity: 0; filter: blur(3px);
  mix-blend-mode: screen;
}

/* Awake / clicked state */
.ai-scene.is-awake .ai-scene-hit img {
  transition: none;
  transform: scale(1.02);
  animation: ai-room-light-cycle 5.2s ease-in-out infinite;
}
.ai-scene.is-awake .ai-hint { opacity: 0; }
.ai-scene.is-awake .ai-glow-core {
  background: radial-gradient(circle, rgba(210,190,255,0.5) 0%, rgba(140,110,255,0.2) 45%, transparent 72%);
  animation-duration: 2.8s;
}
.ai-scene.is-awake .ai-filaments.ambient { opacity: 0.35; transition: opacity 0.6s ease; }
.ai-filaments.flow {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ai-scene.is-awake .ai-filaments.flow {
  opacity: 1;
}
.ai-scene.is-awake .flow-path {
  stroke-dasharray: 12 18;
  animation: ai-flow-draw 1.6s ease-out forwards, ai-filament-drift 3.2s linear 1.2s infinite;
  filter: drop-shadow(0 0 4px rgba(180,150,255,0.65));
}
.ai-scene.is-awake .fp-fire {
  animation: ai-flow-draw 1.5s ease-out 0.15s forwards, ai-filament-drift 2.4s linear 1.3s infinite;
  filter: drop-shadow(0 0 5px rgba(255,150,80,0.7));
}
.ai-scene.is-awake .ai-target {
  opacity: 0.55; transform: scale(1);
  mix-blend-mode: multiply;
}
.ai-scene.is-awake .ai-target-cove {
  background: radial-gradient(ellipse, rgba(20,12,40,0.55), transparent 75%);
  box-shadow: none;
  filter: blur(12px);
  animation: ai-light-die 2.2s ease forwards;
}
.ai-scene.is-awake .ai-target-shelf {
  background: linear-gradient(180deg, rgba(18,10,30,0.5), rgba(10,6,20,0.15));
  box-shadow: none;
  filter: blur(10px);
  animation: ai-light-die 2.4s ease 0.1s forwards;
}
.ai-scene.is-awake .ai-target-fire {
  opacity: 0.35;
  animation: ai-light-die 2.6s ease 0.15s forwards;
  background: radial-gradient(ellipse, rgba(30,12,8,0.5), transparent 75%);
}
.ai-scene.is-awake .ai-fire-flicker {
  opacity: 0;
  transition: opacity 1.8s ease;
}

@keyframes ai-room-light-cycle {
  0%, 100% { filter: brightness(1.05) saturate(1.08) contrast(1); }
  50% { filter: brightness(0.48) saturate(0.82) contrast(1.06); }
}
@keyframes ai-room-dim-overlay {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@keyframes ai-orb-breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}
@keyframes ai-orb-pulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 0.95; }
}
@keyframes ai-filament-drift {
  to { stroke-dashoffset: -120; }
}
@keyframes ai-flow-draw {
  from { stroke-dashoffset: 220; opacity: 0.2; }
  to { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes ai-fire-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes ai-fire-flicker {
  from { transform: scale(0.92) translateY(2%); opacity: 0.55; }
  to { transform: scale(1.08) translateY(-4%); opacity: 0.95; }
}


@keyframes ai-orb-ripple {
  0% { opacity: 0.7; transform: scale(0.55); }
  70% { opacity: 0.25; }
  100% { opacity: 0; transform: scale(2.1); }
}
@keyframes ai-orb-wave-sway {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.55; }
  50% { transform: scaleY(1.18) translateY(-4px); opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-glow-core, .ai-orb, .ai-orb-group, .ai-orb-ripple, .ai-orb-wave, .ai-filaments.ambient .f,
  .ai-scene.is-awake .flow-path,
  .ai-scene.is-awake .ai-target-fire,
  .ai-scene.is-awake .ai-fire-flicker,
  .ai-scene.is-awake .ai-scene-hit img,
  .ai-scene.is-awake::after {
    animation: none !important;
  }
  .ai-filaments.ambient .f { opacity: 0.5; }
}


/* AI card keeps View chip like other lightbox images */
.ai-scene-hit .zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.7rem;
  z-index: 3;
}
.ai-scene-hit .ai-hint {
  left: 0.75rem;
  right: auto;
}


/* === AI lightbox living scene === */
.lightbox-stage {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}
.lightbox-stage .lightbox-img {
  position: relative;
  z-index: 0;
  display: block;
  max-width: 100%;
  max-height: min(78vh, 780px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox-stage .lightbox-img {
  position: relative;
  z-index: 0;
  display: block;
}
.lightbox-ai-fx {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
  z-index: 2;
}
.lightbox.lightbox-ai .lightbox-ai-fx { display: block; }
.lightbox.lightbox-ai .lightbox-img {
  filter: brightness(1) saturate(1);
  animation: lb-ai-dim-photo 5.2s ease-in-out infinite;
}
.lb-lights-dim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,6,22,0) 0%, rgba(6,3,16,0.45) 55%, rgba(2,1,10,0.7) 100%),
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(0,0,0,0), rgba(0,0,0,0.55));
  opacity: 0;
  animation: lb-ai-lights-pulse 5.2s ease-in-out infinite;
  mix-blend-mode: multiply;
}
.lb-cove-fade {
  position: absolute; left: 18%; top: 4%; width: 48%; height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,220,160,0.55), transparent 70%);
  filter: blur(10px);
  mix-blend-mode: screen;
  animation: lb-ai-light-pulse 5.2s ease-in-out infinite;
}
.lb-shelf-fade {
  position: absolute; left: 2%; top: 18%; width: 16%; height: 36%;
  border-radius: 20%;
  background: linear-gradient(180deg, rgba(255,200,120,0.35), transparent);
  filter: blur(8px);
  mix-blend-mode: screen;
  animation: lb-ai-light-pulse 5.2s ease-in-out 0.15s infinite;
}
.lb-purple-bubble {
  position: absolute;
  left: 67.5%;
  top: 46.5%;
  width: min(28%, 220px);
  aspect-ratio: 1;
  translate: -50% -50%;
  animation: lb-ai-bubble-breathe 2.8s ease-in-out infinite;
}
.lb-bubble-core {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(240,230,255,0.75), rgba(170,140,255,0.45) 35%, rgba(90,60,180,0.2) 65%, transparent 75%);
  filter: blur(1px);
  mix-blend-mode: screen;
  box-shadow: 0 0 40px 12px rgba(140,100,255,0.35);
}
.lb-bubble-ripple {
  position: absolute; inset: 12%;
  border-radius: 50%;
  border: 2px solid rgba(210,190,255,0.55);
  animation: lb-ai-ripple 2.6s ease-out infinite;
}
.lb-bubble-ripple.r2 { animation-delay: 0.7s; border-width: 1.5px; }
.lb-bubble-ripple.r3 { animation-delay: 1.35s; border-width: 1px; }
.lb-bubble-waves {
  position: absolute; inset: 10%;
  width: 80%; height: 80%;
  margin: auto;
  left: 0; right: 0; top: 0; bottom: 0;
  mix-blend-mode: screen;
}
.lb-wave {
  transform-origin: 100px 100px;
  animation: lb-ai-wave 2.2s ease-in-out infinite;
}
.lb-wave.w2 { animation-delay: 0.3s; animation-duration: 2.6s; }
.lb-wave.w3 { animation-delay: 0.55s; animation-duration: 3s; }
.lb-signal-arcs {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 67.5% 46.5%, transparent 12%, rgba(150,120,255,0.12) 18%, transparent 28%),
    radial-gradient(circle at 67.5% 46.5%, transparent 22%, rgba(120,100,255,0.08) 30%, transparent 42%);
  animation: lb-ai-arcs 3.4s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes lb-ai-dim-photo {
  0%, 100% { filter: brightness(1.05) saturate(1.1); }
  50% { filter: brightness(0.48) saturate(0.8) contrast(1.06); }
}
@keyframes lb-ai-lights-pulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
@keyframes lb-ai-light-pulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0; transform: scale(0.92); }
}
@keyframes lb-ai-bubble-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes lb-ai-ripple {
  0% { opacity: 0.75; transform: scale(0.45); }
  100% { opacity: 0; transform: scale(1.85); }
}
@keyframes lb-ai-wave {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 0.45; }
  50% { transform: scaleY(1.25) translateY(-3px); opacity: 0.95; }
}
@keyframes lb-ai-arcs {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox.lightbox-ai .lightbox-img,
  .lb-lights-dim, .lb-cove-fade, .lb-shelf-fade,
  .lb-purple-bubble, .lb-bubble-ripple, .lb-wave, .lb-signal-arcs {
    animation: none !important;
  }
  .lightbox.lightbox-ai .lightbox-img { filter: brightness(0.55); }
  .lb-lights-dim { opacity: 0.85; }
  .lb-cove-fade, .lb-shelf-fade { opacity: 0; }
}
