:root {
  --pink: #ff259e;
  --sans: ui-rounded, "Avenir Next", "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box }
body { margin: 0; background: white; color: #101010; font-family: var(--sans) }
header { height: 85px; padding: 0 5.2%; display: flex; align-items: center; justify-content: space-between }
.brand { display: flex; align-items: center; gap: 12px; font-size: clamp(20px,2.1vw,30px); font-weight: 750; letter-spacing: -.045em }
.brand svg { width: 270px; height: 48px }
.tag { font-size: 15px; color: #494949 }
main { padding-bottom: 35vh }
section { position: relative; isolation: isolate; overflow: hidden; height: clamp(580px,74svh,840px); background: radial-gradient(ellipse at 50% 63%, #191318 0%, #0c0c0c 35%, #050505 77%); color: white }
canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1 }
.heading { position: absolute; left: 5.2%; top: 7% }
.kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .13em; color: #c9c9c9 }
.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--pink) }
h1 { margin: 8px 0; font-size: clamp(42px,5.1vw,78px); font-weight: 570; line-height: 1.05; letter-spacing: -.068em }
button { font: inherit; color: inherit; cursor: pointer }
#motion { position: absolute; right: 5.2%; top: 8%; padding: 9px 16px; border: 1px solid #494949; border-radius: 30px; background: #141414; font-size: 14px }
#motion span { margin-right: 8px; color: var(--pink) }
.focus { position: absolute; top: 69%; inset-inline: 0; text-align: center; pointer-events: none }
.focus span { color: var(--pink); font-size: 21px }
.focus h2 { margin: 3px 0; font: italic 500 clamp(36px,3.8vw,60px)/1.08 Georgia,serif; letter-spacing: -.045em }
nav { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; background: #111; border: 1px solid #303030; border-radius: 40px; padding: 5px }
nav button { width: 35px; height: 35px; padding: 0; background: transparent; border: none; border-radius: 50%; color: #bdbdbd; font-size: 19px }
nav button:hover, #motion:hover { background: #292929; color: white }
nav button[aria-current=true] { background: var(--pink); color: #080808 }
button:focus-visible { outline: 2px solid white; outline-offset: 2px }
@media(max-width:600px){
  header { height: 72px }
  .brand { gap: 7px }
  .brand svg { width: 169px; height: 30px }
  .tag { font-size: 13px }
  .kicker { font-size: 10px }
  nav { gap: 0 }
  nav button { width: 7.3vw; height: 32px }
  #motion { font-size: 12px; padding: 8px 11px }
}

/* The two canvas layers share the same projection and pixel density. */
.sky { z-index: -2 }
.orbit { z-index: -1 }
section {
  background:
    radial-gradient(ellipse at 50% 63%, #1a1018 0%, transparent 42%),
    linear-gradient(155deg, #070707 24%, #121012 54%, #060606 80%);
}
.focus { left: 50%; right: auto; width: max-content; transform: translateX(-50%); top: 71% }
.focus span { display: inline-flex; gap: 9px; align-items: center; line-height: 1 }
.focus span::before, .focus span::after { content: ''; width: 18px; height: 1px; background: #ff259e5c }
.focus h2 { margin-top: 6px }
#motion { min-height: 42px; min-width: 118px; display: inline-flex; justify-content: center; align-items: center; gap: 9px }
#motion::before { content: ''; width: 9px; height: 11px; box-sizing: border-box; border-inline: 3px solid var(--pink); border-radius: 1px }
#motion[data-playing=false]::before { border: 0; background: var(--pink); clip-path: polygon(8% 0, 100% 50%, 8% 100%) }
nav { padding: 5px 7px; background: linear-gradient(#1b1b1b,#101010); border-color: #363636; box-shadow: 0 8px 24px #0006, inset 0 1px 0 #ffffff08 }
nav button { position: relative; width: 40px; height: 40px; transition: background-color .18s, color .18s, box-shadow .18s }
nav button[aria-current=true] { box-shadow: inset 0 1px 1px #ffffff56, 0 0 13px #ff259e30 }
nav button::after { content: attr(data-name); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: #fafafa; color: #141414; padding: 5px 10px; border-radius: 12px; font: 13px/1.3 var(--sans); opacity: 0; pointer-events: none }
nav button:focus-visible::after { opacity: 1 }
@media (hover:hover) { nav button:hover::after { opacity: 1 } }
@media (max-width:600px) {
  nav { padding: 4px; width: max-content; max-width: 96% }
  nav button { width: min(7.7vw,40px); height: 40px }
  #motion { min-width: 98px }
  nav button:first-child::after { left: 0; transform: none }
  nav button:last-child::after { left: auto; right: 0; transform: none }
}
@media (prefers-reduced-motion:reduce) { nav button { transition: none } }
section {
  height: clamp(680px,82svh,960px);
  background: radial-gradient(ellipse at 50% 49%, #171717 0%, #0c0c0c 41%, #040404 80%);
}
.focus { top: 78%; display: flex; align-items: center; gap: 12px }
.focus span::before, .focus span::after { display: none }
.focus h2 { margin: 0; font-size: clamp(35px,3.8vw,56px) }
nav { bottom: 3% }
@media (max-width:600px) {
  section { height: clamp(590px,80svh,850px) }
  .focus { top: 75% }
}
