/* ==========================================================
   HERO: hosts on the horizon (index.html)
   Fraser rises in from the left, Derek from the right,
   both standing on the horizon. Click either → Your Hosts.
   ========================================================== */

.hero--hosts { padding-bottom: 40px; }
.hero--hosts .hero__visual { width: min(300px, 60vw); margin-bottom: 22px; }
.hero--hosts .hero__horizon { display: none; }

.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px) minmax(0, 1fr);
  grid-template-areas: "fraser center derek" "line line line";
  align-items: end;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.stage__center { position: relative; z-index: 3; grid-area: center; padding-bottom: 34px; }

/* the horizon both hosts stand on */
.stage__horizon {
  position: relative; z-index: 4;
  grid-area: line;
  height: 2px; width: 100vw; justify-self: center;
  margin: 0 0 38px;
  background: linear-gradient(90deg, transparent, var(--purple) 12%, var(--ember) 42%, #ffcf9a 50%, var(--ember) 58%, var(--purple) 88%, transparent);
  box-shadow: 0 0 24px 2px rgba(232, 102, 28, .55), 0 0 90px 12px rgba(232, 102, 28, .16);
  animation: pulse 5s ease-in-out infinite;
}

/* ---------- host figures ---------- */
.host-fig {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--white);
  outline: none;
  --dx: 0px; --dy: 0px; --fade: 1;
  transform: translate(var(--dx), var(--dy));
  opacity: var(--fade);
  will-change: transform, opacity;
}
.host-fig--fraser { grid-area: fraser; margin-right: -50px; }
.host-fig--derek  { grid-area: derek; margin-left: -90px; }

.host-fig__img {
  position: relative;
  height: min(74vh, 700px);
  display: flex; align-items: flex-end; justify-content: center;
}
.host-fig__img::before {           /* back-light glow */
  content: ""; position: absolute; left: 10%; right: 10%; top: 6%; bottom: 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, rgba(61, 31, 107, .9), rgba(61, 31, 107, 0) 70%);
  filter: blur(30px);
  transition: opacity .5s ease;
}
.host-fig--fraser .host-fig__img::before { background: radial-gradient(ellipse at 55% 35%, rgba(61, 31, 107, .95), rgba(232, 102, 28, .12) 55%, transparent 72%); }
.host-fig--derek  .host-fig__img::before { background: radial-gradient(ellipse at 45% 35%, rgba(232, 102, 28, .28), rgba(61, 31, 107, .7) 45%, transparent 72%); }
.host-fig__img img {
  position: relative;
  height: 100%; width: auto; max-width: none;
  filter: drop-shadow(0 0 1.5px rgba(255, 190, 140, .55)) drop-shadow(0 -6px 26px rgba(61, 31, 107, .6));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
  transform-origin: 50% 100%;
}
.host-fig--derek .host-fig__img img { filter: brightness(1.12) contrast(1.04) drop-shadow(0 0 1.5px rgba(255, 190, 140, .6)) drop-shadow(0 -6px 26px rgba(232, 102, 28, .25)); }

.host-fig__label {
  position: absolute; left: 0; right: 0; bottom: 6%;
  z-index: 3; text-align: center; pointer-events: none;
}
.host-fig__name {
  display: block;
  font-family: var(--font); font-weight: 600; text-transform: uppercase;
  font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .3em; margin-right: -.3em;
  text-shadow: 0 2px 18px rgba(11, 10, 16, .9);
  transition: color .3s;
}
.host-fig__role {
  display: block; margin-top: 8px;
  font-family: var(--font); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--white-70); text-shadow: 0 2px 12px rgba(11, 10, 16, .95);
}
.host-fig__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: var(--font); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ember);
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
}
.host-fig__cta::after { content: "→"; letter-spacing: 0; }

/* Fraser's credentials */
.badges {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin-top: 14px;
}
.badges--spacer { height: 48px; }
.badges img {
  height: 48px; width: auto;
  mix-blend-mode: lighten;          /* drops the dark banner background into the night sky */
  -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 62%, transparent 100%);
}
.badges .rule { width: 1px; height: 28px; background: rgba(232, 102, 28, .6); }

/* hover / focus */
.host-fig:hover .host-fig__img img,
.host-fig:focus-visible .host-fig__img img { transform: translateY(-8px) scale(1.015); }
.host-fig:hover .host-fig__name,
.host-fig:focus-visible .host-fig__name { color: #ffd3ad; }
.host-fig:hover .host-fig__cta,
.host-fig:focus-visible .host-fig__cta { opacity: 1; transform: none; }
.host-fig:focus-visible .host-fig__img::before { opacity: 1; outline: 2px solid var(--ember); }

/* entrance: Fraser from the left, Derek from the right */
.host-fig--fraser .host-fig__img, .host-fig--fraser .host-fig__label { animation: enterLeft 1.5s .3s cubic-bezier(.2, .7, .2, 1) both; }
.host-fig--derek  .host-fig__img, .host-fig--derek  .host-fig__label { animation: enterRight 1.5s .45s cubic-bezier(.2, .7, .2, 1) both; }
.host-fig__label { animation-delay: .9s !important; }
@keyframes enterLeft  { from { opacity: 0; transform: translateX(-90px); } to { opacity: 1; transform: none; } }
@keyframes enterRight { from { opacity: 0; transform: translateX(90px); }  to { opacity: 1; transform: none; } }

.hero--hosts .hero__bottom { position: relative; z-index: 4; text-align: center; }

/* ---------- tablet + phone ---------- */
@media (max-width: 999px) {
  .hero--hosts { padding-top: 96px; }
  .stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "fraser derek" "line line" "center center";
  }
  .host-fig--fraser { grid-area: fraser; margin-right: -14%; }
  .host-fig--derek  { grid-area: derek;  margin-left: -14%; }
  .stage__center { padding-bottom: 0; }
  .stage__horizon { margin: 0 0 30px; }
  .host-fig__img { height: min(54vh, 460px); }
  .host-fig__label { bottom: 4%; }
  .host-fig__name { font-size: 13px; letter-spacing: .22em; margin-right: -.22em; }
  .host-fig__role { font-size: 9px; letter-spacing: .16em; margin-top: 5px; }
  .host-fig__cta { display: none; }
  .badges { gap: 6px; margin-top: 8px; }
  .badges img, .badges--spacer { height: 26px; }
  .badges .rule { height: 18px; }
  .hero--hosts .hero__visual { display: none; }   /* the symbol is already in the menu bar on phones */
}
@media (max-width: 680px) { .host-fig__role { display: none; } }
@media (max-width: 420px) {
  .host-fig__img { height: min(46vh, 380px); }
  .badges img, .badges--spacer { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .host-fig { transform: none !important; opacity: 1 !important; }
}

/* Fraser's credentials, either side of his head */
.host-fig__img img.head-logo {
  position: absolute; z-index: 2;
  height: auto; width: clamp(130px, 11vw, 170px);
  top: 9%;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6));
  transform: none;
  animation: logoIn 1s 1.2s cubic-bezier(.2, .7, .2, 1) both;
  pointer-events: none;
}
.host-fig__img img.head-logo--bgt  { right: 67%; top: 4%; width: clamp(120px, 9.5vw, 150px); }
.host-fig__img img.head-logo--nysm { left: 64%; top: 0; width: clamp(120px, 9.5vw, 150px); animation-delay: 1.4s; }
@keyframes logoIn { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.host-fig:hover .host-fig__img img.head-logo { transform: none; }

@media (max-width: 999px) {
  .host-fig__img img.head-logo { width: 26vw; max-width: 150px; }
  .host-fig__img img.head-logo--bgt  { right: auto; left: 2%; top: 1%; }
  .host-fig__img img.head-logo--nysm { left: auto; right: -2%; top: 1%; }
}
/* Fraser's photo shows more of his body, so scale him up to match Derek's head size */
.host-fig--fraser .host-fig__img { height: min(82vh, 780px); }
.host-fig__img img.head-logo--nysm { width: clamp(140px, 11vw, 175px); }
@media (max-width: 999px) {
  .host-fig--fraser .host-fig__img { height: min(60vh, 510px); }
}
@media (max-width: 420px) {
  .host-fig--fraser .host-fig__img { height: min(51vh, 420px); }
}
@media (max-width: 999px) {
  .host-fig--fraser .host-fig__img { height: min(50vh, 430px); }
  .host-fig--fraser { margin-right: -8%; }
  .host-fig--derek  { margin-left: -8%; }
  .host-fig__img img.head-logo { width: 25vw; max-width: 140px; }
  .host-fig__img img.head-logo--bgt  { left: 10%; right: auto; top: 0; }
  .host-fig__img img.head-logo--nysm { right: 2%; left: auto; top: 1%; }
  .host-fig__name { font-size: 12px; letter-spacing: .16em; margin-right: -.16em; }
}
@media (max-width: 420px) {
  .host-fig--fraser .host-fig__img { height: min(48vh, 390px); }
}
@media (min-width: 1000px) {
  .host-fig--fraser .host-fig__img { height: min(76vh, 720px); }
  .host-fig__img img.head-logo--nysm { top: 7%; left: 63%; }
  .host-fig__img img.head-logo--bgt  { top: 9%; }
}

/* ===== v3: title block and details block, so phones can show the title first ===== */
.stage {
  grid-template-areas:
    "fraser top    derek"
    "fraser bottom derek"
    "line   line   line";
}
.host-fig--fraser, .host-fig--derek { grid-row: 1 / 3; }
.host-fig--fraser { grid-column: 1; }
.host-fig--derek  { grid-column: 3; }
.stage__top, .stage__bottom { position: relative; z-index: 3; grid-column: 2; }
.stage__top { grid-row: 1; align-self: end; }
.stage__bottom { grid-row: 2; padding-bottom: 34px; }

/* Fraser's credentials: small, flat white, level with his eyes, one each side */
.host-fig__img img.head-logo {
  width: auto; opacity: .92;
  filter: drop-shadow(0 2px 10px rgba(11, 10, 16, .7));
}
.host-fig__img img.head-logo--bgt  { height: 42px; top: 13%; right: 66%; left: auto; }
.host-fig__img img.head-logo--nysm { height: 31px; top: calc(13% + 6px); left: 64%; right: auto; }

@media (max-width: 999px) {
  .stage {
    grid-template-areas:
      "top    top"
      "fraser derek"
      "line   line"
      "bottom bottom";
  }
  .stage__top    { grid-area: top; margin-bottom: 18px; }
  .stage__bottom { grid-area: bottom; padding-bottom: 0; }
  .host-fig--fraser { grid-area: fraser; }
  .host-fig--derek  { grid-area: derek; }
  .hero--hosts .eyebrow { margin-bottom: 14px; }
  .hero--hosts .hero__title { margin-bottom: 0; }
  .host-fig__img img.head-logo--bgt  { height: 30px; top: 10%; left: auto; right: 64%; }
  .host-fig__img img.head-logo--nysm { height: 23px; top: calc(10% + 4px); right: auto; left: 64%; }
}

/* v4: logos slightly bigger, with more breathing room from Fraser's head */
@media (min-width: 1000px) {
  .host-fig--fraser { margin-right: -10px; }
  .host-fig__img img.head-logo--bgt  { height: 50px; top: 12%; right: 71%; }
  .host-fig__img img.head-logo--nysm { height: 37px; top: calc(12% + 7px); left: 69%; }
}
@media (max-width: 999px) {
  .host-fig__img img.head-logo--bgt  { height: 32px; top: 9%; right: 65%; }
  .host-fig__img img.head-logo--nysm { height: 26px; top: calc(9% + 5px); left: 68%; }
}

/* The belief line: the hero's big statement, straight under the title */
.hero__belief {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(22px, 2.35vw, 31px);
  line-height: 1.32;
  letter-spacing: .005em;
  color: var(--white);
  max-width: 560px;
  margin: 0 auto 18px;
  text-wrap: balance;
}
.hero__belief span {
  display: inline;
  font-weight: 600;
  background: linear-gradient(90deg, #b07cf0 0%, #f08a4b 55%, #ffc48f 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(232, 102, 28, .35));
}
.hero--hosts .hero__dreamers {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--white-70);
  margin-bottom: 18px;
}
@media (max-width: 999px) {
  .hero__belief { font-size: clamp(22px, 6.2vw, 28px); margin-bottom: 14px; }
}
@media (min-width: 1000px) {
  .host-fig--fraser { margin-right: 14px; }
}
