/* The first screen: the lit peak fills the right of the window; the copy column stands on the calm sky at the left. */
.hero { position: relative; min-height: calc(100svh - 124px); display: flex; align-items: center; overflow: hidden; }
.stage { position: absolute; inset: 0; pointer-events: none; }
/* 86% of the hero's height: the whole mountain stays in, and its ledge starts right of the copy column */
.frame { position: absolute; right: 0; bottom: 0; height: 86%; aspect-ratio: 1672 / 941; }
.frame picture, .frame img { width: 100%; height: 100%; }
.frame img { object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 14%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 14%); mask-composite: intersect; }
.frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#scene { mix-blend-mode: screen; }
.summits { position: absolute; inset: 0; }
.summits img { position: absolute; bottom: 9%; height: 12%; width: auto; translate: -50% 0; transform-origin: 50% 100%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)); transition: transform 0.9s cubic-bezier(.2,.8,.2,1), opacity 0.6s; }
.summits img.new { transform: translateY(70%) scaleY(0.2); opacity: 0; }
.summits img.hot { filter: drop-shadow(0 0 14px rgba(254, 229, 200, 0.9)); }

.copy { position: relative; z-index: 2; padding-top: var(--s4); padding-bottom: var(--s4); }
.copy .top, .copy .rest { max-width: 640px; }
.copy h1 { margin: 0; font: 800 clamp(64px, min(9vw, 16svh), 150px)/0.92 var(--display); font-variation-settings: "SHRP" 100; letter-spacing: -0.03em; color: #fce6cc; text-shadow: none; filter: none; }
.headline { margin: var(--s3) 0 0; font: 700 clamp(28px, min(3vw, 5.4svh), 42px)/1.15 var(--display); font-variation-settings: "SHRP" 60; letter-spacing: -0.01em; max-width: 17em; }
.headline em { font-style: normal; color: var(--apricot); }
.lede { margin: var(--s3) 0 0; max-width: 40ch; color: var(--lav-text); }
.lede b { color: var(--cream); }
.acts { display: flex; gap: var(--s2); margin-top: var(--s3); flex-wrap: wrap; }
#ca-host { margin-top: var(--s3); }
#nums-host { margin-top: var(--s3); }

@media (max-height: 820px) and (min-width: 1101px) and (min-aspect-ratio: 13/10) {
  .copy { padding-top: var(--s2); padding-bottom: var(--s3); }
  .headline, .lede, .acts, #ca-host, #nums-host { margin-top: var(--s2); }
  .nums b { font-size: 30px; }
}

/* tablets and tall windows: the name on the sky, the lit peak right under it (the right 62% of the wide picture),
   the rest below. Nothing of the copy ever lies on the picture. */
@media (max-width: 1100px), (max-aspect-ratio: 13/10) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; overflow: visible; }
  .copy { display: contents; }
  .copy .top { order: 1; width: 100%; max-width: none; padding: var(--s4) var(--gut) 0; }
  .copy .top > * { max-width: 720px; }
  .stage { order: 2; position: relative; inset: auto; width: 100%; aspect-ratio: 1040 / 941; max-height: 70svh; overflow: hidden; margin-top: var(--s2); }
  .frame { left: auto; right: 0; bottom: 0; height: 100%; width: auto; aspect-ratio: 1672 / 941; }
  .frame img { -webkit-mask-image: none; mask-image: none; }
  .copy .rest { order: 3; width: 100%; max-width: 720px; padding: var(--s3) var(--gut) 0; position: relative; z-index: 2; }
}

/* phone: the tall picture */
@media (max-width: 720px) {
  .stage { aspect-ratio: 941 / 1137; max-height: none; margin-top: var(--s1); }
  .frame { left: 0; right: 0; width: 100%; height: auto; aspect-ratio: 941 / 1672; }
  .summits img { bottom: 6%; height: 8%; }
  .copy h1 { font-size: clamp(48px, 15vw, 64px); }
  .headline { font-size: 28px; }
  .lede { margin-top: var(--s3); }
  .acts .btn { flex: 1; }
  .nums { gap: var(--s2); justify-content: space-between; }
  .nums > div { padding-right: var(--s2); }
  .nums b { font-size: 24px; }
  .nums span { font-size: 16px; }
}
@media (max-width: 360px) { .nums b { font-size: 21px; } }

/* the range on the ledge: each small peak answers a pointer with its Summit */
.summits img { pointer-events: auto; cursor: default; }
.summits img:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.summits img.lit { filter: drop-shadow(0 0 18px rgba(254, 229, 200, 0.95)) brightness(1.25); }
.feed-tools { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s2); }
.feed-tools .sample-tag { margin: 0; }
.dust { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; color: var(--lav-text); cursor: pointer; }
.dust input { width: 20px; height: 20px; accent-color: var(--apricot); }

.skyglow { position: fixed; inset: 0; z-index: 15; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle at var(--x, 70%) var(--y, 20%), rgba(254, 205, 175, 0.55), rgba(225, 157, 175, 0.24) 30%, rgba(225, 157, 175, 0.08) 60%, transparent 85%); }
.skyglow.on { animation: skyglow 1.9s ease-in-out; }
@keyframes skyglow { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .skyglow { display: none; } }
