/* VAJRA — Advanced interactive product hero showcases */
@import url('ph-lens.css');

.pd-hero--lights .pd-hero__media,
.pd-hero--curtains .pd-hero__media,
.pd-hero--doorbell .pd-hero__media,
.pd-hero--cameras .pd-hero__media,
.pd-hero--locks .pd-hero__media {
  max-width: min(100%, 460px);
}

.ph-hint {
  position: absolute;
  left: 50%;
  bottom: -0.1rem;
  transform: translateX(-50%);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-dim);
  white-space: nowrap;
  margin: 0;
}

/* ── Shared hover tile (blur + overlay) ── */
.ph-tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(110, 181, 255, 0.18);
  background: #0a0e16;
  cursor: pointer;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), z-index 0s;
}

.ph-tile > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.45s ease, transform 0.55s ease;
}

.ph-tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, transparent 20%, rgba(6, 10, 18, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ph-tile__overlay h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.ph-tile__overlay p {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
  transform: translateY(10px);
  transition: transform 0.4s ease 0.04s;
}

.ph-tile:hover,
.ph-tile:focus-within {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(110, 181, 255, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.42), 0 0 28px rgba(59, 139, 255, 0.14);
  z-index: 4;
}

.ph-tile:hover > img,
.ph-tile:focus-within > img {
  filter: blur(5px) brightness(0.72);
  transform: scale(1.06);
}

.ph-tile:hover .ph-tile__overlay,
.ph-tile:focus-within .ph-tile__overlay {
  opacity: 1;
}

.ph-tile:hover .ph-tile__overlay h3,
.ph-tile:hover .ph-tile__overlay p,
.ph-tile:focus-within .ph-tile__overlay h3,
.ph-tile:focus-within .ph-tile__overlay p {
  transform: translateY(0);
}

/* ══════════════════════════════════════
   SMART LIGHTS — Scene Orbit Studio
   ══════════════════════════════════════ */
.ph-lights {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  max-height: min(42vh, 380px);
  min-height: 300px;
}

.ph-lights__stage {
  position: absolute;
  inset: 8% 6% 14%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(110, 181, 255, 0.16);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.ph-lights__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.6s ease, transform 0.8s ease;
}

.ph-lights__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(255, 210, 140, 0.28), transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.55;
  transition: background 0.55s ease, opacity 0.55s ease;
}

.ph-lights__stage[data-scene="warm"] .ph-lights__ambient {
  background: radial-gradient(circle at 50% 35%, rgba(255, 168, 90, 0.38), transparent 60%);
}

.ph-lights__stage[data-scene="focus"] .ph-lights__ambient {
  background: radial-gradient(circle at 50% 30%, rgba(210, 230, 255, 0.42), transparent 58%);
}

.ph-lights__stage[data-scene="cinema"] .ph-lights__ambient {
  background: radial-gradient(circle at 50% 45%, rgba(90, 120, 255, 0.35), transparent 65%);
}

.ph-lights__stage[data-scene="morning"] .ph-lights__bg {
  filter: brightness(1.08) saturate(1.05);
}

.ph-lights__stage[data-scene="warm"] .ph-lights__bg {
  filter: brightness(0.92) saturate(1.15) sepia(0.18);
}

.ph-lights__stage[data-scene="focus"] .ph-lights__bg {
  filter: brightness(1.12) saturate(0.85);
}

.ph-lights__stage[data-scene="cinema"] .ph-lights__bg {
  filter: brightness(0.72) saturate(1.1) hue-rotate(-8deg);
}

.ph-lights__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ph-lights__orbs::before,
.ph-orbit__ring::before,
.ph-portal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(59, 139, 255, 0.1);
  background:
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(59, 139, 255, 0.06) 59%, transparent 62%),
    radial-gradient(circle at 50% 50%, transparent 72%, rgba(110, 181, 255, 0.08) 73%, transparent 76%);
  pointer-events: none;
  z-index: 0;
  animation: phLensOrbit 30s linear infinite;
}

.ph-lights__orbs::before {
  inset: 2% 4%;
}

.pd-sensor-float::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  border: 1px dashed rgba(110, 181, 255, 0.12);
  pointer-events: none;
  animation: phLensOrbit 28s linear infinite reverse;
}

.ph-orb {
  position: absolute;
  width: clamp(72px, 18vw, 96px);
  aspect-ratio: 1;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  overflow: visible;
  animation: phOrbFloat 5.8s ease-in-out infinite;
  transition: transform 0.4s var(--ease);
  z-index: 3;
}

.ph-orb__swatch {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.ph-orb__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  z-index: 1;
  transition: opacity 0.35s ease;
}

.ph-orb__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.55rem;
  text-align: center;
  background: rgba(6, 10, 18, 0.72);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ph-orb__overlay h3 {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.ph-orb__overlay p {
  margin: 0;
  font-size: 0.54rem;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.ph-orb--morning { top: 2%; left: 8%; animation-delay: 0s; }
.ph-orb--warm { top: 8%; right: 4%; animation-delay: 0.7s; animation-duration: 6.2s; }
.ph-orb--focus { bottom: 18%; left: 2%; animation-delay: 1.1s; animation-duration: 5.4s; }
.ph-orb--cinema { bottom: 8%; right: 8%; animation-delay: 0.4s; animation-duration: 6.5s; }

.ph-orb--morning .ph-orb__swatch {
  background: linear-gradient(145deg, #ffe8b8, #ffb86a);
}

.ph-orb--warm .ph-orb__swatch {
  background: linear-gradient(145deg, #ff9a5c, #e85d3a);
}

.ph-orb--focus .ph-orb__swatch {
  background: linear-gradient(145deg, #eef4ff, #9ec5ff);
}

.ph-orb--cinema .ph-orb__swatch {
  background: linear-gradient(145deg, #4a5bff, #1a1f4a);
}

.ph-orb:hover,
.ph-orb:focus-visible,
.ph-orb.is-active {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.08);
  z-index: 5;
}

.ph-orb:hover .ph-orb__icon,
.ph-orb:focus-visible .ph-orb__icon,
.ph-orb.is-active .ph-orb__icon {
  opacity: 0;
}

.ph-orb:hover .ph-orb__overlay,
.ph-orb:focus-visible .ph-orb__overlay,
.ph-orb.is-active .ph-orb__overlay {
  opacity: 1;
}

.ph-orb:hover .ph-orb__swatch,
.ph-orb:focus-visible .ph-orb__swatch,
.ph-orb.is-active .ph-orb__swatch {
  filter: blur(4px) brightness(0.75);
}

@keyframes phOrbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ══════════════════════════════════════
   CURTAIN MOTORS — QuietDrive Reveal
   ══════════════════════════════════════ */
.ph-curtain {
  position: relative;
  width: 100%;
  max-height: min(42vh, 380px);
}

.ph-curtain__frame {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(110, 181, 255, 0.16);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.ph-curtain__room {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.5s ease;
}

.ph-curtain__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(var(--curtain-closed, 42%) * 0.5);
  background:
    linear-gradient(90deg, rgba(12, 16, 24, 0.94), rgba(22, 28, 38, 0.88)),
    repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(255, 255, 255, 0.03) 8px, rgba(255, 255, 255, 0.03) 10px);
  backdrop-filter: blur(2px);
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.ph-curtain__panel--left { left: 0; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.ph-curtain__panel--right { right: 0; border-left: 1px solid rgba(255, 255, 255, 0.06); }

.ph-curtain__light {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 40%, rgba(255, 220, 160, 0.22), transparent 65%);
  opacity: calc(1 - var(--curtain-closed, 42) / 100);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.55s ease;
}

.ph-curtain__slider-wrap {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ph-curtain__slider-label {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
  flex-shrink: 0;
}

.ph-curtain__slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(110, 181, 255, 0.18);
  outline: none;
}

.ph-curtain__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #c8d8f0);
  border: 2px solid rgba(59, 139, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: grab;
}

.ph-curtain__slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #c8d8f0);
  border: 2px solid rgba(59, 139, 255, 0.5);
  cursor: grab;
}

.ph-curtain__chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ph-curtain__chip {
  position: absolute;
  width: clamp(68px, 17vw, 88px);
  aspect-ratio: 1;
  pointer-events: auto;
  animation: phOrbFloat 6s ease-in-out infinite;
  border-radius: 50%;
  overflow: visible;
  border: none;
  background: transparent;
}

.ph-curtain__chip--silent { top: 4%; right: 2%; animation-delay: 0.2s; }
.ph-curtain__chip--sunrise { bottom: 28%; left: -2%; animation-delay: 0.9s; animation-duration: 5.6s; }
.ph-curtain__chip--remote { top: 36%; right: -4%; animation-delay: 0.5s; animation-duration: 6.4s; }
.ph-curtain__chip--scenes { bottom: 4%; right: 18%; animation-delay: 1.2s; animation-duration: 5.2s; }

.ph-curtain__chip:hover,
.ph-curtain__chip:focus-within {
  animation-play-state: paused;
}

.ph-curtain__chip .ph-tile__overlay {
  justify-content: center;
  text-align: center;
  background: rgba(6, 10, 18, 0.72);
}

.ph-curtain__chip .ph-tile__overlay h3 {
  font-size: 0.62rem;
}

.ph-curtain__chip .ph-tile__overlay p {
  font-size: 0.54rem;
}

.ph-curtain__chip-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--blue-bright);
  background: rgba(6, 10, 18, 0.82);
  z-index: 1;
  transition: opacity 0.35s ease;
}

.ph-curtain__chip:hover .ph-curtain__chip-icon,
.ph-curtain__chip:focus-within .ph-curtain__chip-icon {
  opacity: 0;
}

/* ══════════════════════════════════════
   VIDEO DOORBELL — ClearView Portal
   ══════════════════════════════════════ */
.ph-portal {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.95;
  max-height: min(42vh, 380px);
  min-height: 300px;
}

.ph-portal__screen {
  position: absolute;
  inset: 10% 8% 16%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(110, 181, 255, 0.2);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  transition: filter 0.5s ease;
}

.ph-portal__screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.45s ease, transform 0.55s ease;
}

.ph-portal__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(59, 139, 255, 0.08) 0%, transparent 18%, transparent 82%, rgba(59, 139, 255, 0.06) 100%);
  z-index: 2;
}

.ph-portal__live {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(180, 30, 40, 0.82);
  border: 1px solid rgba(255, 100, 110, 0.35);
}

.ph-portal__live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d4d;
  animation: phLivePulse 1.4s ease-in-out infinite;
}

@keyframes phLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.ph-portal__node {
  position: absolute;
  width: clamp(70px, 17vw, 92px);
  aspect-ratio: 1;
  overflow: visible;
  background: transparent;
  border: none;
  cursor: pointer;
  animation: phOrbFloat 6s ease-in-out infinite;
  transition: transform 0.4s var(--ease);
  z-index: 4;
}

.ph-portal__node > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transition: filter 0.45s ease, opacity 0.4s ease;
}

.ph-portal__node-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--blue-bright);
  z-index: 1;
  transition: opacity 0.35s ease;
}

.ph-portal__node-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.55rem;
  text-align: center;
  background: rgba(6, 10, 18, 0.78);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ph-portal__node-overlay h3 {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  color: #fff;
}

.ph-portal__node-overlay p {
  margin: 0;
  font-size: 0.54rem;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.ph-portal__node--hd { top: 0; left: 12%; animation-delay: 0s; }
.ph-portal__node--audio { top: 6%; right: 0; animation-delay: 0.6s; animation-duration: 5.8s; }
.ph-portal__node--night { bottom: 14%; left: 0; animation-delay: 1s; animation-duration: 6.2s; }
.ph-portal__node--lock { bottom: 0; right: 10%; animation-delay: 0.3s; animation-duration: 5.5s; }

.ph-portal__node:hover,
.ph-portal__node:focus-within {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.07);
  z-index: 6;
}

.ph-portal__node:hover > img,
.ph-portal__node:focus-within > img {
  filter: blur(4px);
  opacity: 0.2;
}

.ph-portal__node:hover .ph-portal__node-icon,
.ph-portal__node:focus-within .ph-portal__node-icon {
  opacity: 0;
}

.ph-portal__node:hover .ph-portal__node-overlay,
.ph-portal__node:focus-within .ph-portal__node-overlay {
  opacity: 1;
}

.ph-portal:has(.ph-portal__node:hover) .ph-portal__screen > img,
.ph-portal:has(.ph-portal__node:focus-within) .ph-portal__screen > img {
  filter: blur(4px) brightness(0.78);
  transform: scale(1.04);
}

/* ══════════════════════════════════════
   WIFI CAMERAS — Vision Grid
   ══════════════════════════════════════ */
.ph-camgrid {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  max-height: min(42vh, 360px);
}

.ph-camgrid__tile {
  aspect-ratio: 4 / 3;
  animation: phCamFloat 6s ease-in-out infinite;
}

.ph-camgrid__tile:nth-child(1) { animation-delay: 0s; }
.ph-camgrid__tile:nth-child(2) { animation-delay: 0.5s; animation-duration: 5.6s; }
.ph-camgrid__tile:nth-child(3) { animation-delay: 0.9s; animation-duration: 6.4s; }
.ph-camgrid__tile:nth-child(4) { animation-delay: 0.2s; animation-duration: 5.8s; }

.ph-camgrid__tile:hover,
.ph-camgrid__tile:focus-within {
  animation-play-state: paused;
}

.ph-camgrid__rec {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
}

.ph-camgrid__rec::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff3b3b;
  animation: phLivePulse 1.4s ease-in-out infinite;
}

@keyframes phCamFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.ph-camgrid + .ph-hint {
  position: relative;
  left: auto;
  transform: none;
  text-align: center;
  margin-top: 0.55rem;
}

/* ══════════════════════════════════════
   SMART DOOR LOCKS — BioSecure Orbit
   ══════════════════════════════════════ */
.ph-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  max-height: min(42vh, 380px);
  min-height: 300px;
}

.ph-orbit__core {
  position: absolute;
  inset: 18% 22% 22%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(110, 181, 255, 0.18);
  background: radial-gradient(circle at 50% 35%, rgba(59, 139, 255, 0.12), #080c14 70%);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
  display: grid;
  place-items: center;
  transition: filter 0.5s ease;
}

.ph-orbit__core img {
  width: auto;
  max-width: 72%;
  max-height: 88%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
  transition: filter 0.45s ease, transform 0.55s ease;
}

.ph-orbit__ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ph-orbit__item {
  position: absolute;
  width: clamp(76px, 19vw, 102px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: visible;
  border: none;
  background: transparent;
  pointer-events: auto;
  animation: phOrbFloat 5.6s ease-in-out infinite;
}

.ph-orbit__item--bio { top: 2%; left: 6%; animation-delay: 0s; }
.ph-orbit__item--guest { top: 10%; right: 2%; animation-delay: 0.7s; animation-duration: 6.1s; }
.ph-orbit__item--logs { bottom: 12%; left: 0; animation-delay: 1.1s; animation-duration: 5.4s; }
.ph-orbit__item--auto { bottom: 4%; right: 6%; animation-delay: 0.4s; animation-duration: 6.3s; }

.ph-orbit__item:hover,
.ph-orbit__item:focus-within {
  animation-play-state: paused;
}

.ph-orbit__item .ph-tile__overlay {
  justify-content: center;
  text-align: center;
  background: rgba(6, 10, 18, 0.74);
}

.ph-orbit__item .ph-tile__overlay h3 {
  font-size: 0.64rem;
}

.ph-orbit__item .ph-tile__overlay p {
  font-size: 0.54rem;
}

.ph-orbit__item-icon {
  position: absolute;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--blue-bright);
  z-index: 3;
  transition: opacity 0.35s ease;
}

.ph-orbit__item:hover .ph-orbit__item-icon,
.ph-orbit__item:focus-within .ph-orbit__item-icon {
  opacity: 0;
}

.ph-orbit:has(.ph-orbit__item:hover) .ph-orbit__core img,
.ph-orbit:has(.ph-orbit__item:focus-within) .ph-orbit__core img {
  filter: blur(3px) brightness(0.75) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
  transform: scale(1.04);
}

/* ── Light theme ── */
html[data-theme="light"] .ph-tile,
html[data-theme="light"] .ph-orb,
html[data-theme="light"] .ph-portal__node,
html[data-theme="light"] .ph-orbit__item {
  background: #f4f6fa;
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .ph-tile__overlay,
html[data-theme="light"] .ph-orb__overlay,
html[data-theme="light"] .ph-portal__node-overlay {
  background: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .ph-tile__overlay h3,
html[data-theme="light"] .ph-orb__overlay h3,
html[data-theme="light"] .ph-portal__node-overlay h3 {
  color: #1a1a1e;
}

html[data-theme="light"] .ph-tile__overlay p,
html[data-theme="light"] .ph-orb__overlay p,
html[data-theme="light"] .ph-portal__node-overlay p {
  color: rgba(26, 26, 30, 0.78);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .pd-hero--lights .pd-hero__media,
  .pd-hero--cameras .pd-hero__media {
    max-width: min(100%, 340px);
    margin: 0 auto;
  }

  .ph-lights,
  .ph-portal,
  .ph-orbit {
    min-height: 280px;
    max-height: 320px;
  }

  .ph-camgrid {
    max-height: 300px;
  }
}

@media (hover: none) {
  .ph-tile__overlay,
  .ph-orb__overlay,
  .ph-portal__node-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 25%, rgba(6, 10, 18, 0.92) 100%);
  }

  .ph-tile__overlay h3,
  .ph-tile__overlay p,
  .ph-orb__overlay h3,
  .ph-orb__overlay p,
  .ph-portal__node-overlay h3,
  .ph-portal__node-overlay p {
    transform: translateY(0);
  }

  .ph-tile > img,
  .ph-portal__screen > img,
  .ph-orbit__core img {
    filter: none;
  }

  .ph-orb__icon,
  .ph-curtain__chip-icon,
  .ph-portal__node-icon,
  .ph-orbit__item-icon {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-orb,
  .ph-curtain__chip,
  .ph-portal__node,
  .ph-camgrid__tile,
  .ph-orbit__item,
  .pd-sensor-float__item {
    animation: none;
  }

  .ph-portal__live::before,
  .ph-camgrid__rec::before {
    animation: none;
  }
}
