/* Full-screen adaptation of the supplied ScrollExpandMedia home. */
body[data-title="title-index.html"] .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: none;
  width: 100%;
  min-height: 72px;
  padding: 10px clamp(22px, 4vw, 64px);
  gap: 24px;
  color: white;
  background: transparent;
  box-shadow: 0 1px 0 rgb(255 255 255 / 16%);
  transition: background .25s, box-shadow .25s;
}
body[data-title="title-index.html"] .header.is-scrolled {
  background: rgb(8 55 66 / 96%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 12%);
}
body[data-title="title-index.html"] .header .brand img { width: 44px; height: 44px; }
body[data-title="title-index.html"] .header .brand > span { color: white; font-size: 18px; }
body[data-title="title-index.html"] .header .brand small { font-size: 6px; }
body[data-title="title-index.html"] .header .desktop-nav { gap: 26px; font-size: 11px; }
body[data-title="title-index.html"] .header .desktop-nav a { padding: 12px 0; }
body[data-title="title-index.html"] .header .desktop-nav a:is(:hover, [aria-current]),
body[data-title="title-index.html"] .header .language:hover { color: #e3c888; }
body[data-title="title-index.html"] .header .header-actions { gap: 14px; }
body[data-title="title-index.html"] .header .language { color: white; }
body[data-title="title-index.html"] .header .book-link {
  background: transparent;
  border: 1px solid rgb(255 255 255 / 65%);
  min-height: 44px;
  padding: 11px 18px;
}
body[data-title="title-index.html"] .header .book-link:hover { background: white; color: var(--ink); }
body[data-title="title-index.html"] .header .menu-toggle span { background: white; }
body[data-title="title-index.html"] .header .mobile-nav { color: var(--ink); }

#home.hero {
  --hero-progress: 0;
  --title-shift: 0px;
  --hero-opacity: 1;
  width: 100%;
  max-width: none;
  height: 100svh;
  min-height: 600px;
  max-height: none;
  margin: 0;
  border-radius: 0;
}
#home .hero-video { transform: scale(calc(1 + var(--hero-progress) * .08)); }
#home .hero-shade {
  background: linear-gradient(180deg, rgb(0 27 36 / 67%) 0%, rgb(0 32 42 / 35%) 35%, rgb(0 27 36 / 45%) 70%, rgb(0 27 36 / 62%) 100%);
}
#home .hero-top { top: 110px; left: 5%; right: 5%; justify-content: center; text-align: center; }
#home .hero-top .eyebrow { max-width: none; font-size: 10px; letter-spacing: .24em; }
#home .hero-main {
  inset: 165px 5% 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  text-align: center;
}
#home h1 {
  order: -1;
  width: 100%;
  max-width: 1200px;
  font-size: clamp(50px, 6.2vw, 94px);
  line-height: 1.08;
  letter-spacing: -.045em;
  opacity: var(--hero-opacity);
}
#home h1 span { transform: translateX(calc(var(--title-shift) * -1)); }
#home h1 span:nth-child(2) { transform: translateX(var(--title-shift)); }
#home h1 span:last-child { color: #e3c888; }
#home .hero-story { max-width: 580px; padding: 0; }
#home .hero-story .serif { font-size: 27px; line-height: 1.35; margin-bottom: 0; }
#home .hero-story .button { margin-top: 24px; }
#home .hero-book { display: block; width: fit-content; margin: 18px auto 0; min-height: 30px; }
#home .hero-bottom { bottom: 28px; left: 5%; right: 5%; }
#home .scroll-link > span { font-size: 11px; }
body[data-title="title-index.html"].home-motion .home-benefits {
  opacity: var(--content-opacity, 1);
  transform: translateY(var(--content-shift, 0px));
}

@media (max-width: 900px) {
  body[data-title="title-index.html"] .header { min-height: 66px; padding: 9px 22px; gap: 12px; }
  body[data-title="title-index.html"] .header .header-actions { gap: 4px; }
  #home .hero-main { gap: 28px; }
  #home h1 { font-size: clamp(42px, 7.5vw, 68px); }
}
@media (max-width: 640px) {
  #home.hero { min-height: 600px; }
  #home .hero-top { top: 98px; left: 22px; right: 22px; }
  #home .hero-top .eyebrow { font-size: 8px; letter-spacing: .17em; }
  #home .hero-main { inset: 140px 22px 100px; gap: 28px; }
  #home h1 { font-size: clamp(32px, 9.5vw, 52px); line-height: 1.13; letter-spacing: -.035em; }
  #home .hero-story { max-width: 345px; }
  #home .hero-story .serif { font-size: 22px; line-height: 1.35; }
  #home .hero-story .button { font-size: 10px; padding: 13px 17px; min-height: 48px; }
  #home .hero-book { font-size: 11px; }
  #home .hero-bottom { left: 22px; right: 22px; bottom: 22px; gap: 18px; }
  #home .scroll-link > span { font-size: 10px; }
  #home .video-toggle { font-size: 9px; }
}
@media (max-height: 700px) and (min-width: 641px) {
  #home .hero-top { top: 96px; }
  #home .hero-main { inset: 135px 5% 80px; gap: 22px; }
  #home h1 { font-size: clamp(40px, 7vh, 60px); }
  #home .hero-story .serif { font-size: 23px; }
  #home .hero-story .button { margin-top: 18px; }
  #home .hero-book { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #home .hero-video, #home h1 span, body[data-title="title-index.html"] .home-benefits { transform: none !important; }
  #home h1, body[data-title="title-index.html"] .home-benefits { opacity: 1 !important; }
}
