/* Three openings for the hero, behind ?hero= (js/hero-options.js). Nothing here applies without the switch. */
.hero-fx { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.hero-fx i { position: absolute; inset: 0; display: none; }
.hero-fx .scrim { display: block; background: radial-gradient(ellipse 58% 46% at 50% 52%, rgba(20, 19, 18, .52), rgba(20, 19, 18, 0) 72%); }

/* the headline centred over the sheet */
.hero-opt .hero { left: 50%; width: min(80vw, 1060px); text-align: center; transform: translate(-50%, -50%); }
.hero-opt .hero h1 { font-size: clamp(46px, 5.5vw, 100px); margin: 24px 0 26px; }
.hero-opt .hero .kick, .hero-opt .hero .btns, .hero-opt .hero .hint { justify-content: center; }
.hero-opt .hero .sub { margin-left: auto; margin-right: auto; max-width: 33em; }
.hero-opt .hero .hint { margin-top: 40px; }

/* Rise: the headline over the dark beyond the paper's far edge, the near drawing out of focus */
.hero-rise .hero { top: 36%; }
.hero-rise .hero-fx .dof { display: block; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 18%, transparent 50%); mask-image: linear-gradient(to top, #000 0%, #000 18%, transparent 50%); }
.hero-rise .hero-fx .scrim { background: linear-gradient(rgba(20, 19, 18, .55), rgba(20, 19, 18, .2) 45%, rgba(20, 19, 18, 0) 70%); }

/* Desk lamp: a pool of warm light on the sheet, the headline in ink as if printed on it */
.hero-lamp .hero-fx .lamp { display: block; background: radial-gradient(ellipse 50% 58% at 50% 50%, rgba(255, 214, 160, .08), rgba(16, 12, 9, 0) 42%, rgba(12, 9, 7, .82) 100%); }
.hero-lamp .hero-fx .scrim { background: radial-gradient(ellipse 42% 36% at 50% 50%, rgba(251, 249, 244, .7), rgba(251, 249, 244, 0) 72%); }
.hero-lamp .hero h1, .hero-lamp .hero .sub { color: var(--ink); }
.hero-lamp .hero .kick, .hero-lamp .hero .hint { color: rgba(23, 22, 21, .68); }
.hero-lamp .hero .btn.ghost { color: var(--ink); border-color: rgba(23, 22, 21, .55); }

@media (max-width: 760px) {
  .hero-opt .hero { left: var(--pad); width: calc(100vw - var(--pad) * 2); top: calc(var(--pad) + 120px); transform: none; }
  .hero-opt .hero h1 { font-size: clamp(36px, 10.5vw, 50px); }
  .hero-opt .hero .hint { margin: 0; justify-content: flex-start; }
  .hero-rise .hero { top: calc(var(--pad) + 84px); }
  .hero-fx .scrim { background: radial-gradient(ellipse 90% 40% at 50% 32%, rgba(20, 19, 18, .6), rgba(20, 19, 18, 0) 75%); }
  .hero-lamp .hero-fx .lamp { background: radial-gradient(ellipse 80% 44% at 50% 36%, rgba(255, 214, 160, .08), rgba(16, 12, 9, 0) 44%, rgba(12, 9, 7, .84) 100%); }
  .hero-lamp .hero-fx .scrim { background: radial-gradient(ellipse 90% 34% at 50% 33%, rgba(251, 249, 244, .74), rgba(251, 249, 244, 0) 75%); }
  .hero-lamp .hero .hint { color: var(--dim); }
}

/* round eleven: bright and wild */
.hero-clearing .hero h1, .hero-clearing .hero .sub { color: var(--ink); }
.hero-clearing .hero .kick, .hero-clearing .hero .hint { color: rgba(23, 22, 21, .7); }
.hero-clearing .hero .btn.ghost { color: var(--ink); border-color: rgba(23, 22, 21, .55); }
.hero-clearing .hero-fx .scrim { background: radial-gradient(ellipse 44% 38% at 50% 52%, rgba(251, 249, 244, .78), rgba(251, 249, 244, 0) 74%); }
.hero-lake .hero { top: 30%; }
.hero-lake .hero h1, .hero-lake .hero .sub { text-shadow: 0 2px 24px rgba(40, 50, 70, .35); }
.hero-lake .hero-fx .scrim { background: linear-gradient(rgba(60, 80, 110, .28), rgba(60, 80, 110, 0) 55%); }
.hero-aerial .hero h1, .hero-aerial .hero .sub { text-shadow: 0 2px 28px rgba(10, 20, 10, .55); }
.hero-aerial .hero-fx .scrim { background: radial-gradient(ellipse 52% 42% at 50% 52%, rgba(14, 22, 12, .42), rgba(14, 22, 12, 0) 75%); }
@media (max-width: 760px) {
  .hero-lake .hero { top: calc(var(--pad) + 84px); }
  .hero-clearing .hero-fx .scrim { background: radial-gradient(ellipse 92% 36% at 50% 33%, rgba(251, 249, 244, .8), rgba(251, 249, 244, 0) 75%); }
  .hero-clearing .hero .hint { color: rgba(23, 22, 21, .7); }
}
