/* ===== HERO 25 (2026-11-12, Sunny: "do all 25 ... let's see what it looks like") =====
   One late stylesheet that restyles the homepage hero. Loaded after every other hero
   rule, so it has the final say. To undo: drop the <link> and scripts/hero25.js, and
   revert the markup that scripts/hero25-apply.ts wrote. */

/* Kicker above the headline: the brand line, small. */
#hero .hero-kicker {
  margin: 0 0 18px; font-family: var(--mono); font-size: 11px; line-height: 1.5;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sun-deep);
}

/* Headline: the "being early" line, with the turn in orange. */
#hero .hero-title {
  font-size: clamp(2.5rem, 4.4vw, 4.2rem) !important; line-height: 1.04 !important;
  letter-spacing: -.022em; margin-bottom: .28em; text-wrap: balance;
}
#hero .hero-title .line { line-height: 1.04 !important; }
#hero .hero-title em { color: var(--sun-deep); font-style: italic; }

#hero .hero-subline { max-width: 34ch; }
#hero .hero-for {
  margin: 0; max-width: 60ch; font-family: var(--sans); font-size: 15.5px; line-height: 1.55;
  color: color-mix(in oklch, var(--ink) 74%, transparent); text-wrap: pretty;
}

/* Example questions under the ask box. */
#hero .hero-ask-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; max-width: 620px; margin-top: -4px; }
#hero .hero-ask-chips .hac-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); opacity: .7; margin-right: 2px; }
#hero .hero-ask-chips button {
  font: 400 12.5px/1.2 var(--sans); padding: 7px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
#hero .hero-ask-chips button:hover, #hero .hero-ask-chips button:focus-visible {
  border-color: var(--sun-deep); color: var(--ink); background: color-mix(in oklch, var(--sun) 14%, transparent);
}

/* Host: a face you can see, and what he has done. */
#hero .hero-host { align-items: center; gap: 16px; max-width: 580px; margin-top: 4px; }
#hero .hero-host-face { width: 84px; height: 84px; }
#hero .hero-host-text { gap: 4px; }
#hero .hero-creds { font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
#hero .hero-creds a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
#hero .hero-creds a:hover, #hero .hero-creds a:focus-visible { color: var(--sun-deep); }

/* Next taping: its own row above the card, so it never covers a thumbnail. */
#hero .hero-liverow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 34px; margin: 0 0 12px; }
#hero .hero-live { position: static; max-width: 100%; }
#hero .hero-live:not(.is-live) { background: #14100a; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
#hero .hero-live:not(.is-live):hover, #hero .hero-live:not(.is-live):focus-visible { background: #f6b23a; color: #0b0a10; }
#hero .hero-live-in { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; }
#hero .hero-remind {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-deep);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
#hero .hero-remind:hover, #hero .hero-remind:focus-visible { color: var(--ink); }
#hero .hero-live-in[hidden], #hero .hero-remind[hidden] { display: none; }

/* The card is the thumbnail: 16:9, edge to edge, caption on a gradient. */
#hero .hero-figure.hero-reel-figure { aspect-ratio: 16 / 9; }
#hero .hero-reel-back { display: none; }
#hero .hero-reel-frame { top: 0; bottom: 0; height: 100%; aspect-ratio: auto; box-shadow: none; }
#hero .hero-reel-veil { background: linear-gradient(to top, rgba(8,7,12,.92) 0%, rgba(8,7,12,.6) 15%, rgba(8,7,12,0) 38%); }
#hero .hero-reel-meta { gap: 3px; padding: 14px 160px 15px 18px; }
#hero .hero-reel-title { -webkit-line-clamp: 1; font-size: 12px; }
#hero .hero-reel-quote { font-size: 16px; -webkit-line-clamp: 2; }
#hero .hero-reel-dots { right: 12px; bottom: 11px; }
#hero .hero-reel .hero-reel-play { top: 14px; right: 14px; }

/* Muted preview on hover. It never takes the click: the slide underneath still does. */
#hero .h25-prev { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .6s ease; background: #08070c; }
#hero .h25-prev.is-on { opacity: 1; }
#hero .h25-prev iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transform: scale(1.02); }

/* Three more under the card. */
#hero .hero-reel-caption { margin-top: 14px; text-align: left; }
#hero .hero-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
#hero .hero-next:empty { display: none; }
#hero .hero-next a { display: block; min-width: 0; text-decoration: none; color: var(--ink); }
#hero .hero-next img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px;
  background: #14111d; transition: transform .3s ease, box-shadow .3s ease;
}
#hero .hero-next a:hover img, #hero .hero-next a:focus-visible img { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(247,147,26,.55); }
#hero .hero-next span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 7px; font-family: var(--mono); font-size: 10.5px; line-height: 1.4; letter-spacing: .02em; color: var(--ink-2);
}
#hero .hero-all { align-self: center; }

/* The blurred wall behind the card is gone; the crisp strip at the fold replaces it. */
#hero .hero-faces { display: none !important; }
#hero .hero-strip { display: none; }

/* Growth engine: its own band, first thing under the hero. */
#homeEpisodes .h25-engine {
  max-width: 1240px; margin: 0 auto 46px; padding: 20px 24px; box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
  border: 1px solid rgba(243,239,231,.16); border-radius: 16px; background: rgba(243,239,231,.04);
}
#homeEpisodes .h25-engine p { margin: 0; max-width: 46ch; font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.25; color: #f3efe7; }
#homeEpisodes .h25-engine a {
  flex: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #0b0a10; background: #f6b23a; border-radius: 999px; padding: 12px 20px; text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
#homeEpisodes .h25-engine a:hover, #homeEpisodes .h25-engine a:focus-visible { transform: translateY(-2px); filter: brightness(1.08); }

/* ----- Laptop and up ----- */
@media (min-width: 901px) {
  section#hero.hero[data-hero="editorial"] .hero-display {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 39vw); align-items: start;
  }
}
@media (min-width: 761px) {
  /* One way to ask while the hero is on screen: the box. The chat button returns on scroll. */
  body:not(.below-fold) #srChat:not(.open) .scx-launch,
  body:not(.below-fold) #srChat:not(.open) .scx-label { opacity: 0 !important; pointer-events: none !important; }
}
@media (min-width: 1024px) and (min-height: 700px) {
  section#hero.hero { padding-top: 118px; padding-bottom: 22px; }
  /* The column fills the first screen so the strip rests on its bottom edge; on a short
     screen the strip simply follows the content instead of covering it. */
  section#hero.hero > .wrap { display: flex; flex-direction: column; min-height: calc(100vh - 140px); }
  section#hero.hero .hero-ctas { gap: 12px !important; }
  section#hero[data-hero="editorial"] .hero-sub { margin-top: 14px; gap: 14px; }
  #hero .hero-more, #hero .hero-scroll-cue { display: none !important; }

  /* The strip sits on the bottom edge of the first screen and pulls the scroll. */
  #hero .hero-strip {
    display: block; width: 100vw; margin: auto 0 0 calc(50% - 50vw); padding: 34px 0 0;
    opacity: 0; transition: opacity .9s ease;
  }
  #hero .hero-strip.is-on { opacity: 1; }
  #hero .hero-strip[hidden] { display: none; }
  #hero .hero-strip-k {
    margin: 0 0 12px; text-align: center; font-family: var(--mono); font-size: 10.5px;
    letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
  }
  #hero .hero-strip-view {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  }
  #hero .hero-strip-row { display: flex; gap: 12px; width: max-content; animation: h25Drift 90s linear infinite; }
  #hero .hero-strip:hover .hero-strip-row, #hero .hero-strip:focus-within .hero-strip-row { animation-play-state: paused; }
  #hero .hero-strip-row a { flex: none; display: block; width: 168px; border-radius: 8px; overflow: hidden; background: #14111d; transition: transform .25s ease, box-shadow .25s ease; }
  #hero .hero-strip-row a:hover, #hero .hero-strip-row a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(247,147,26,.6); }
  #hero .hero-strip-row img { display: block; width: 168px; height: 94.5px; object-fit: cover; }
}
@keyframes h25Drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  #hero .hero-strip-row { animation: none !important; }
  #hero .h25-prev, #hero .hero-next img, #hero .hero-strip-row a { transition: none; }
}

/* ----- Phones: headline, one button, the ask box, and the reel as a card you swipe ----- */
@media (max-width: 767px) {
  #hero .hero-kicker { font-size: 10px; margin: 16px 0 14px; }
  #hero .hero-kicker .hk-2 { display: none; }
  #hero .hero-title { font-size: clamp(2.15rem, 9.6vw, 2.9rem) !important; }
  #hero .hero-title .line { display: inline; }
  #hero .hero-for, #hero .hero-ask-chips, #hero .hero-next, #hero .hero-reel-caption, #hero .hero-convos-m { display: none !important; }
  section#hero.hero[data-hero="editorial"] .hero-visual {
    display: block !important; order: 2; width: 100%; max-width: none; margin: 26px 0 0; justify-self: stretch;
  }
  section#hero.hero[data-hero="editorial"] .hero-title { margin-top: 0; }
  #hero .hero-figure { margin-top: 0; }
  #hero .hero-liverow { margin-bottom: 10px; }
  /* The thumbnail carries its own headline at this size; the caption would only cover it. */
  #hero .hero-reel-meta { display: none; }
  #hero .hero-reel-veil { background: linear-gradient(to top, rgba(8,7,12,.6) 0%, rgba(8,7,12,0) 26%); }
  #hero .hero-all { margin-top: 14px; }
}
