/* Home: rotating hero and the approved homepage changes
   Generated by tools/theme/build_pages.py from prototype/home/home.css
   (header, menu, footer and thumb bar rules removed: the theme has them). */
.hero--v2 { --stage-h: calc(100svh - var(--tab-h) - env(safe-area-inset-bottom, 0px)); }
.hero__media { position: absolute; z-index: -1; inset: 0 0 auto; height: var(--stage-h); overflow: hidden; background: var(--night); }
.hero__stack { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; }
.slide.is-active { opacity: 1; z-index: 2; transition: opacity 1.8s ease; }
.slide.is-prev { opacity: 1; z-index: 1; }
.slide picture { position: absolute; display: block; inset: var(--top, 0%) 0 var(--bottom, 0%); }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m, 50% 0%); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 18, 27, .62) 0%, rgba(6, 18, 27, 0) 15%, rgba(6, 18, 27, 0) var(--m-clear, 42%), rgba(6, 18, 27, .74) var(--m-mid, 62%), var(--night) 88%); }
.slide--blue-hour { --m-clear: 44%; --m-mid: 63%; }
.slide--sunset-boat { --m-clear: 46%; --m-mid: 64%; }
.slide--misty-lake { --m-clear: 40%; --m-mid: 60%; }
.hero__ctrl { position: absolute; z-index: 3; right: 6px; top: 68px; display: flex; align-items: center; }
.hero__dot, .hero__pause { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.hero__dot { width: 40px; }
.hero__dot i { position: relative; display: block; width: 26px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .38); overflow: hidden; transition: background .3s; }
.hero__dot:hover i { background: rgba(255, 255, 255, .7); }
.hero__dot[aria-pressed="true"] i { background: rgba(255, 255, 255, .5); }
.hero__dot[aria-pressed="true"] i::after { content: ""; position: absolute; inset: 0; background: var(--gold-300); transform-origin: 0 50%; }
.is-rotating .hero__dot[aria-pressed="true"] i::after { animation: fill var(--interval, 9s) linear both; }
.is-held .hero__dot[aria-pressed="true"] i::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause svg { width: 12px; height: 12px; fill: currentColor; opacity: .8; }
.hero__pause:hover svg { opacity: 1; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero--v2 { display: block; }
.hero__stage { display: flex; flex-direction: column; justify-content: flex-end; height: var(--stage-h); min-height: 500px; }
.hero--v2 .hero__media { min-height: 500px; }
.hero--v2 .hero__in { margin-top: 0; padding-bottom: 14px; }
.hero--v2 .eyebrow { font-size: 11px; }
.hero--v2 h1 { margin: 10px 0 14px; font-size: clamp(38px, 11.2vw, 56px); line-height: .96; }
.hero--v2 .hero__lede { display: none; font-size: 15.5px; line-height: 1.45; max-width: 36ch; }
.hero--v2 .hero__cta { display: grid; gap: 2px; margin-top: 16px; }
.hero--v2 .hero__cta .btn--gold { min-height: 54px; }
.hero--v2 .hero__cta .btn--ghost { min-height: 46px; border-color: transparent; background: none; letter-spacing: .14em; font-size: 12px; }
.hero--v2 .hero__cta .btn--ghost::after { content: "→"; color: var(--gold-300); }
@media (min-height: 740px) {
  .hero--v2 .hero__lede { display: block; }
  .hero--v2 .hero__in { padding-bottom: 20px; }
  .hero--v2 h1 { margin-bottom: 16px; }
}
@media (min-width: 720px) and (max-width: 1039.98px) {
  .hero--v2 h1 { font-size: clamp(56px, 9vw, 84px); max-width: 9em; }
  .hero--v2 .hero__lede { display: block; font-size: 17px; max-width: 44ch; }
  .hero--v2 .hero__cta { display: flex; gap: 12px; }
  .hero--v2 .hero__cta .btn--ghost { border-color: rgba(255, 255, 255, .5); min-height: 52px; font-size: 13px; }
  .hero--v2 .hero__cta .btn--ghost::after { content: none; }
  .hero--v2 .hero__in { padding-bottom: 36px; }
}
@media (min-width: 1040px) {
  .hero--v2 { display: flex; flex-direction: column; min-height: 100svh; }
  .hero__media { inset: 0; height: auto; min-height: 0; }
  .hero__stage { flex: 1; height: auto; min-height: 0; }
  .hero__stack { will-change: transform; transform: translate3d(0, var(--sy, 0px), 0); }
  .slide picture { inset: var(--top, -9%) 0 var(--bottom, -9%); }
  .slide img { object-position: var(--pos, 50% 50%); }
  .slide::after { background:
    linear-gradient(90deg, rgba(6, 18, 27, var(--l0, .88)) 0%, rgba(6, 18, 27, var(--l1, .62)) 34%, rgba(6, 18, 27, var(--l2, .12)) 66%, rgba(6, 18, 27, var(--l3, .1)) 100%),
    linear-gradient(180deg, rgba(6, 18, 27, var(--t, .74)) 0%, rgba(6, 18, 27, 0) 20%, rgba(6, 18, 27, 0) var(--b0, 60%), rgba(6, 18, 27, var(--b1, .92)) 100%); }
  .slide--blue-hour { --pos: 78% 50%; --bottom: -24%; --l0: .62; --l1: .5; --l2: .1; --l3: 0; --b0: 66%; --b1: .9; }
  .slide--sunset-boat { --pos: 0% 50%; --l0: .86; --l1: .66; --l2: .14; --l3: .06; --b0: 62%; --b1: .9; }
  .slide--misty-lake { --pos: 62% 50%; --top: -2%; --t: .5; --l0: .8; --l1: .56; --l2: .04; --l3: 0; --b0: 56%; --b1: .9; }
  .hero--v2 .hero__in { padding-top: 150px; padding-bottom: clamp(40px, 7vh, 80px); }
  .hero--v2 .eyebrow { font-size: 11.5px; }
  .hero--v2 h1 { max-width: 8em; margin: 24px 0 28px; font-size: clamp(72px, 7.6vw, 132px); line-height: .92; }
  .hero--v2 .hero__lede { display: block; font-size: 19px; line-height: 1.55; max-width: 44ch; }
  .hero--v2 .hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
  .hero--v2 .hero__cta .btn--gold { min-height: 52px; }
  .hero--v2 .hero__cta .btn--ghost { min-height: 52px; border-color: rgba(255, 255, 255, .5); font-size: 13px; letter-spacing: .12em; }
  .hero--v2 .hero__cta .btn--ghost::after { content: none; }
  .hero__ctrl { top: auto; right: calc(var(--gutter) - 12px); bottom: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-active { transition: none; }
  .hero__stack { transform: none !important; }
  .hero__dot[aria-pressed="true"] i::after { animation: none !important; }
}
@media (max-width: 1039.98px) {
  html { scroll-padding-bottom: calc(var(--tab-h) + 20px + env(safe-area-inset-bottom, 0px)); }
}
.pledge { border-style: solid; }
.pledge .soon { justify-self: start; display: inline-flex; align-items: center; padding: 5px 10px; font: 600 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); border: 1px solid currentColor; border-radius: 999px; }
.pledge__note a { display: inline-block; padding: 6px 0; color: var(--on-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-500); white-space: nowrap; }
.pledge__note a:hover { color: var(--gold-300); }

/* Home only: the header is see-through over the hero and turns solid once
   the page scrolls or the menu opens, as in the approved homepage. */
.wnw-front .hdr { border-bottom-color: transparent; }
.wnw-front .hdr::before { background: transparent; backdrop-filter: none; transition: background .4s; }
.wnw-front .hdr.is-scrolled, .nav-open .wnw-front .hdr { border-bottom-color: var(--line-dark); }
.wnw-front .hdr.is-scrolled::before, .nav-open .wnw-front .hdr::before { background: rgba(6, 18, 27, .9); backdrop-filter: blur(14px); }
