/* =========================================================
   host.css
   ========================================================= */

.host {
  background: var(--panel);
  padding: 6rem 0;
}

.host__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 5rem;
  align-items: center;
}

.host__portrait {
  display: flex;
  justify-content: center;
  width: 100%;
  /* Perspective container so the frame can tilt in 3D */
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

/* ---- Portrait frame ---- */

.host__frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0806;
  isolation: isolate;
  transform-style: preserve-3d;
  transform: translateZ(0) rotateX(0) rotateY(0);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: hostFloat 7s ease-in-out infinite;
  /* Layered shadow: soft body shadow + warm golden ambient halo */
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.75),
    0 20px 40px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(243, 238, 227, 0.06),
    0 30px 90px -30px rgba(214, 154, 62, 0.35);
}

.host__frame:hover {
  transform: translateZ(20px) rotateX(2deg) rotateY(-4deg) scale(1.015);
  box-shadow:
    0 60px 110px -30px rgba(0, 0, 0, 0.8),
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(243, 238, 227, 0.08),
    0 40px 120px -30px rgba(214, 154, 62, 0.5);
  animation-play-state: paused;
}

@keyframes hostFloat {
  0%, 100% {
    transform: translateY(0) rotateX(0) rotateY(0);
  }
  50% {
    transform: translateY(-8px) rotateX(0.6deg) rotateY(-0.6deg);
  }
}

.host__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
  /* Subtle depth pop on the subject */
  filter: contrast(1.05) saturate(1.08) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.host__frame:hover img {
  transform: scale(1.03);
}

/* Warm golden spotlight overlay on the portrait — adds mood + depth */
.host__glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 28% 22%, rgba(214, 154, 62, 0.38) 0%, rgba(214, 154, 62, 0.12) 35%, transparent 65%),
    radial-gradient(ellipse 90% 60% at 70% 95%, rgba(0, 0, 0, 0.55) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.4) 100%),
    /* Inner vignette edges for a "framed portrait" feel */
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
}

/* Name pill overlay at bottom-left of portrait */
.host__name-pill {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  background: rgba(16, 13, 10, 0.82);
  border: 1px solid rgba(243, 238, 227, 0.14);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
}

.host__live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--go);
  box-shadow: 0 0 0 3px rgba(91, 148, 100, 0.28);
  animation: hostLivePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes hostLivePulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(91, 148, 100, 0.28);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(91, 148, 100, 0.08);
    opacity: 0.85;
  }
}

/* ---- Copy side ---- */

.host__copy {
  position: relative;
  max-width: 620px;
}

.host__quote-mark {
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--think);
  opacity: 0.7;
  margin-bottom: 1rem;
  pointer-events: none;
  user-select: none;
}

.host__copy .kicker {
  margin-bottom: 1.5rem;
}

.host__quote {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.25;
  color: var(--cream);
  margin: 0 0 2rem;
  font-weight: 400;
  max-width: 480px;
}

.host__name {
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: -0.01em;
  font-weight: 500;
}

.host__role {
  font-size: 0.95rem;
  color: var(--cream-dim);
  margin-top: 0.25rem;
}

.host__divider {
  height: 1px;
  background: var(--cream-line);
  margin: 2rem 0 1.5rem;
  max-width: 480px;
}

.host__stats {
  margin-top: 0;
}

/* Compact stats variant — shorter labels, tighter spacing */
.stats--compact {
  gap: 1.75rem 2.75rem;
}

.stats--compact .stats__num {
  font-size: 1.85rem;
}

.stats--compact .stats__lbl {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}
