.links, .cue, .ways h2 { text-transform: uppercase; letter-spacing: var(--track); font-size: 12.5px; }
:root { --stage: max(420px, 100svh); }
.top { animation: rise 1.8s var(--ease) 3.8s both; }

.stage { position: relative; height: var(--stage); overflow: hidden; background: var(--black); }
.lens { position: absolute; inset: 0; animation: approach 5s var(--ease) 0.3s both; }
.lens::after { content: ""; position: absolute; inset: 0; background: var(--black); opacity: 0; pointer-events: none;
  animation: veil 5s var(--ease) 0.3s both; }
.still, .still img, .film, .live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live { opacity: 0; transition: opacity 0.7s ease; }
.is-live .live { opacity: 1; }
.titles { position: absolute; inset: 0; pointer-events: none; }
.card { position: absolute; left: 0; right: 0; bottom: clamp(84px, 15svh, 160px); padding: 0 var(--gutter); text-align: center; }
.name { display: block; width: min(60vw, 700px); height: auto; margin: 0 auto; animation: open-out 4.4s cubic-bezier(0.2, 0.7, 0.2, 1) 1.6s both; }
.card h1 { margin-top: clamp(22px, 3svh, 34px); font-weight: 400; font-size: clamp(17px, 1.7vw, 24px); letter-spacing: 0.02em;
  animation: rise 2s var(--ease) 3.6s both; }
.cue { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-size: 11px; color: var(--soft);
  animation: rise 1.4s var(--ease) 5.6s both, breathe 3.2s ease-in-out 7s infinite; }

.statement { padding: var(--gap) var(--gutter) 0; text-align: center; }
.words { max-width: 23em; margin: 0 auto; font-size: clamp(23px, 2.9vw, 44px); line-height: 1.28; letter-spacing: -0.012em; text-wrap: balance; }
.statement .go { margin-top: 42px; }

@keyframes approach { from { transform: scale(1.14); } to { transform: none; } }
@keyframes veil { from { opacity: 1; } to { opacity: 0; } }

.product { padding: var(--gap) var(--gutter) 0; }
.bay { max-width: 1180px; margin: 0 auto; text-align: center; }
.skye-name { font-weight: 400; font-size: clamp(40px, 6vw, 92px); line-height: 1; text-transform: uppercase; letter-spacing: 0.5em; margin-right: -0.5em; }
.dock { margin: clamp(40px, 5vw, 72px) auto 0; width: min(100%, 1040px); }
.screen { position: relative; display: block; overflow: hidden; border-radius: 10px; }
.screen img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 120px rgba(227, 181, 109, 0.12); }
.skye-text { margin-top: clamp(36px, 4vw, 56px); }
.lede { margin: 0 auto; max-width: 32em; font-size: clamp(18px, 1.6vw, 21px); color: var(--soft); }
.links { margin-top: 26px; display: flex; justify-content: center; gap: 14px 44px; flex-wrap: wrap; }
.skye-more { max-width: 34em; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 var(--gutter); text-align: center; color: var(--soft);
  font-size: clamp(17px, 1.4vw, 19px); }
.skye-more p + p { margin-top: 14px; }

.ways { position: relative; padding: var(--gap) var(--gutter) 0; }
.tess { position: relative; max-width: 980px; margin: 0 auto; }
.threads { display: none; }
.ways h2 { font-weight: 400; color: var(--gold); text-align: center; }
.points { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 80px; }
.points h3 { font-size: 22px; font-weight: 500; }
.points p { margin-top: 8px; color: var(--soft); }
.num { display: block; margin-bottom: 14px; font: 400 11px/1 "Plex Mono", ui-monospace, monospace; letter-spacing: 0.24em; color: var(--gold); }

.home { position: relative; height: var(--stage); margin-top: var(--gap); overflow: hidden; display: grid; place-items: center; text-align: center; }
.earth { position: absolute; inset: 0; }
.earth video { width: 100%; height: 100%; object-fit: cover; }
.earth::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--black), rgba(0, 0, 0, 0.42) 28%, rgba(0, 0, 0, 0.42) 72%, var(--black)); }
.home-card { position: relative; padding: 0 var(--gutter); }
.home h2 { --t: 0.5em; font-weight: 400; font-size: clamp(22px, 4vw, 56px); line-height: 1.2; text-transform: uppercase; letter-spacing: var(--t); margin-right: calc(-1 * var(--t)); }
.home p { margin-top: 24px; font-size: 17px; }

.write { max-width: 1100px; margin: 0 auto; padding: var(--gap) var(--gutter) clamp(110px, 12vw, 170px); text-align: center; }
.write h2 { font-weight: 400; font-size: clamp(30px, 6.4vw, 104px); line-height: 1.05; text-transform: uppercase; letter-spacing: 0.24em; margin-right: -0.24em; }
.write p { margin-top: 26px; color: var(--soft); font-size: clamp(18px, 1.5vw, 21px); }
.write .go { margin-top: 34px; font-size: 12.5px; }

@media (max-width: 860px) { .points { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) {
  .name { width: 80vw; }
  .skye-name { font-size: 13vw; letter-spacing: 0.36em; margin-right: -0.36em; }
  .home h2 { --t: 0.3em; }
  .links { flex-direction: column; align-items: center; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .open { height: calc(var(--stage) + 210svh); view-timeline: --fall block; }
    .stage { position: sticky; top: 0; }
    .statement { position: sticky; top: 0; height: 100svh; margin-top: calc(-1 * var(--stage)); padding: 0 var(--gutter);
      display: grid; place-content: center; }
    .titles { animation: leave linear both; animation-timeline: --fall; animation-range: contain 0% contain 12%; }
    .stage { animation: fade linear both; animation-timeline: --fall; animation-range: contain 66% contain 74%; }
    .lens:has(.film) { transform-origin: 50% calc(50% - max(15.95svh, 8.97vw)); animation: approach 5s var(--ease) 0.3s both, fall linear both;
      animation-timeline: auto, --fall; animation-range: normal, contain 0% contain 74%; }
    .words { animation: appear linear both; animation-timeline: --fall; animation-range: contain 64% contain 70%; }
    .words span { opacity: 0.12; animation: lit linear both; animation-timeline: --fall;
      animation-range: contain calc(70% + var(--i) * 0.5%) contain calc(73% + var(--i) * 0.5%); }
    .statement .go { animation: surface linear both; animation-timeline: --fall; animation-range: contain 92% contain 98%; }

    .product { padding: 0; }
    .bay-track { height: calc(100svh + 170svh); view-timeline: --bay block; }
    .bay { position: sticky; top: 0; height: 100svh; max-width: none; padding: 0 var(--gutter); display: grid;
      grid-template-rows: 1fr auto 1fr; align-items: center; justify-items: center; }
    .skye-name { align-self: end; margin-bottom: clamp(22px, 4svh, 48px); }
    .dock { margin: 0; width: min(100%, 980px, max(280px, (100svh - 330px) * 2.4)); }
    .skye-text { align-self: start; margin-top: clamp(22px, 4svh, 44px); }
    .screen { animation: glide cubic-bezier(0.25, 0.1, 0.25, 1) both; animation-timeline: --bay; animation-range: contain 0% contain 58%; }
    .screen::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 300%; pointer-events: none;
      background: linear-gradient(90deg, transparent 0 38%, rgba(227, 181, 109, 0.22) 42%, rgba(0, 0, 0, 0.7) 48%, #000 56% 100%);
      animation: daylight linear both; animation-timeline: --bay; animation-range: contain 8% contain 56%; }
    .skye-name { animation: title-in linear both; animation-timeline: --bay; animation-range: contain 34% contain 56%; }
    .skye-text > * { animation: surface linear both; animation-timeline: --bay; animation-range: contain 52% contain 68%; }
    .skye-text .links { animation-range: contain 58% contain 74%; }
    .skye-more > * { animation: surface linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }

    .ways { height: calc(100svh + 320svh); padding: 0; view-timeline: --ways block; }
    .tess { position: sticky; top: 0; height: 100svh; max-width: none; overflow: hidden; display: grid; place-items: center; }
    .ways h2 { position: absolute; top: clamp(76px, 13svh, 130px); left: 0; right: 0; z-index: 1;
      animation: surface linear both; animation-timeline: --ways; animation-range: entry 60% contain 6%; }
    .points { position: relative; z-index: 1; display: block; width: min(860px, 100% - 2 * var(--gutter)); height: 60svh; margin: 0; }
    .points li { position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
      animation: pass linear both; animation-timeline: --ways; }
    .points li:nth-child(1) { animation-range: contain 2% contain 27%; }
    .points li:nth-child(2) { animation-range: contain 27% contain 52%; }
    .points li:nth-child(3) { animation-range: contain 52% contain 77%; }
    .points li:nth-child(4) { animation-name: pass-last; animation-range: contain 77% contain 100%; }
    .points h3 { font-size: clamp(34px, 5.4vw, 82px); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
    .points p { margin: 22px auto 0; max-width: 26em; font-size: clamp(18px, 1.6vw, 22px); }
    .num { margin-bottom: 26px; }

    .earth { animation: dawn linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    .home h2 { animation: title linear both; animation-timeline: view(); animation-range: entry 40% cover 50%; }
    .home p { animation: surface linear both; animation-timeline: view(); animation-range: cover 40% cover 56%; }
    .write > * { animation: surface linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
  }
}
.words span:nth-of-type(1) { --i: 0; } .words span:nth-of-type(2) { --i: 1; } .words span:nth-of-type(3) { --i: 2; } .words span:nth-of-type(4) { --i: 3; }
.words span:nth-of-type(5) { --i: 4; } .words span:nth-of-type(6) { --i: 5; } .words span:nth-of-type(7) { --i: 6; } .words span:nth-of-type(8) { --i: 7; }
.words span:nth-of-type(9) { --i: 8; } .words span:nth-of-type(10) { --i: 9; } .words span:nth-of-type(11) { --i: 10; } .words span:nth-of-type(12) { --i: 11; }
.words span:nth-of-type(13) { --i: 12; } .words span:nth-of-type(14) { --i: 13; } .words span:nth-of-type(15) { --i: 14; } .words span:nth-of-type(16) { --i: 15; }
.words span:nth-of-type(17) { --i: 16; } .words span:nth-of-type(18) { --i: 17; } .words span:nth-of-type(19) { --i: 18; } .words span:nth-of-type(20) { --i: 19; }
.words span:nth-of-type(21) { --i: 20; } .words span:nth-of-type(22) { --i: 21; } .words span:nth-of-type(23) { --i: 22; } .words span:nth-of-type(24) { --i: 23; }
.words span:nth-of-type(25) { --i: 24; } .words span:nth-of-type(26) { --i: 25; } .words span:nth-of-type(27) { --i: 26; } .words span:nth-of-type(28) { --i: 27; }
.words span:nth-of-type(29) { --i: 28; } .words span:nth-of-type(30) { --i: 29; } .words span:nth-of-type(31) { --i: 30; } .words span:nth-of-type(32) { --i: 31; }
.words span:nth-of-type(33) { --i: 32; } .words span:nth-of-type(34) { --i: 33; } .words span:nth-of-type(35) { --i: 34; } .words span:nth-of-type(36) { --i: 35; }
.words span:nth-of-type(37) { --i: 36; } .words span:nth-of-type(38) { --i: 37; } .words span:nth-of-type(39) { --i: 38; } .words span:nth-of-type(40) { --i: 39; }
.words span:nth-of-type(41) { --i: 40; }

@keyframes fall { from { transform: none; animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.4); } to { transform: scale(var(--zoom, 9)); } }
@keyframes fade { to { opacity: 0; } }
@keyframes leave { to { opacity: 0; transform: translateY(-30px); } }
@keyframes lit { to { opacity: 1; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes glide { from { opacity: 0; transform: translateY(7svh) scale(0.9); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes daylight { from { transform: translateX(-56%); } to { transform: translateX(-6%); } }
@keyframes title-in { from { opacity: 0; transform: scaleX(0.86); } to { opacity: 1; transform: none; } }
@keyframes title { from { opacity: 0; letter-spacing: 0.16em; margin-right: -0.16em; } to { opacity: 1; letter-spacing: var(--t); margin-right: calc(-1 * var(--t)); } }
@keyframes pass {
  from { opacity: 0; transform: translateY(40px) scale(0.94); }
  22%, 78% { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-40px) scale(1.04); }
}
@keyframes pass-last { from { opacity: 0; transform: translateY(40px) scale(0.94); } 30%, to { opacity: 1; transform: none; } }
@keyframes dawn { from { opacity: 0; transform: scale(1.18); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .threads-live .threads { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  }
}

@media (max-height: 520px) {
  .cue { display: none; }
  .name { width: min(46vw, 420px); }
  .card { bottom: 40px; }
  .card h1 { margin-top: 14px; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (max-height: 520px) {
    .product { padding: var(--gap) var(--gutter) 0; }
    .bay-track { height: auto; }
    .bay { position: static; height: auto; display: block; }
    .skye-name { margin-bottom: 36px; }
    .dock { width: min(100%, 760px); margin: 0 auto; }
    .ways { height: auto; padding: var(--gap) var(--gutter) 0; }
    .tess { position: static; height: auto; display: block; }
    .ways h2 { position: static; }
    .points { height: auto; display: grid; gap: 48px; margin-top: 40px; }
    .points li { position: static; }
    .points h3 { font-size: 30px; }
    .screen, .skye-name, .skye-text > *, .points li { animation: none; }
    .threads-live .threads { display: none; }
  }
}

@media (orientation: portrait) {
  .lens:has(.film) { --zoom: 14; transform-origin: 50% calc(50% - max(10.82svh, 19.24vw)); }
}

@media (prefers-reduced-motion: reduce) {
  .film, .earth video, .live { display: none; }
  .earth { background: url("media/bengaluru-night-960.webp") center / cover no-repeat; }
}
