/* Masterrit: original logo, violet twilight, slow cloud movement. */
:root {
  color-scheme: dark;
  --ink: #f9f7ff;
  --muted: #b7aed2;
  --violet: #8861ed;
  --magenta: #ee48d4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #080817;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; min-width: 280px; display: flex; flex-direction: column; isolation: isolate; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #e79bff; outline-offset: 7px; border-radius: 3px; }
::selection { color: white; background: #773bbe; }

.sky { position: fixed; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; background: #080817; }
.sky-photo, .sky-tint, .sky-shade, .cloud-drift, .horizon-glow { position: absolute; inset: 0; }
.sky-photo { background: url("assets/cloudscape.png") center 65% / cover no-repeat; transform: scale(1.055); animation: sky-breathe 70s ease-in-out infinite alternate; }
.sky-tint { background: linear-gradient(180deg, rgba(7,6,20,.26), rgba(20,9,45,.03) 65%, rgba(43,14,73,.18)); }
.horizon-glow { background: radial-gradient(ellipse 47% 18% at 50% 76%, rgba(188,71,232,.19), transparent 75%); mix-blend-mode: screen; animation: horizon-breathe 15s ease-in-out infinite alternate; }
.cloud-drift { inset: -6%; background: url("assets/cloudscape.png") center 65% / cover no-repeat; will-change: transform; }
.cloud-drift-back { opacity: .6; mask-image: linear-gradient(transparent 47%, rgba(0,0,0,.3) 65%, #000 100%); -webkit-mask-image: linear-gradient(transparent 47%, rgba(0,0,0,.3) 65%, #000 100%); animation: clouds-back 58s ease-in-out infinite alternate; }
.cloud-drift-front { opacity: .5; mask-image: linear-gradient(transparent 65%, rgba(0,0,0,.4) 79%, #000 100%); -webkit-mask-image: linear-gradient(transparent 65%, rgba(0,0,0,.4) 79%, #000 100%); filter: brightness(.8); animation: clouds-front 44s ease-in-out infinite alternate; }
.sky-shade { background: linear-gradient(180deg, rgba(5,5,17,.14), transparent 20%, rgba(8,6,22,.12) 60%, transparent 78%, rgba(7,5,19,.48)); }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 35px 44px; position: relative; z-index: 2; }
.wordmark { font-size: 15px; font-weight: 500; letter-spacing: .49em; padding-right: .05em; }
.launch-status { display: inline-flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 500; letter-spacing: .27em; white-space: nowrap; }
.status-dot { height: 5px; width: 5px; border-radius: 50%; background: #edbaff; box-shadow: 0 0 9px 2px #bf66ed80; }

main { flex: 1; display: flex; justify-content: center; align-items: center; padding: 24px 24px 52px; }
.hero { width: 100%; text-align: center; position: relative; padding-bottom: 24px; }
.emblem { width: clamp(160px, 17vw, 220px); margin: 0 auto 47px; position: relative; animation: emblem-arrive 1.6s ease both; }
.emblem-halo { position: absolute; inset: -40% -35%; background: radial-gradient(ellipse, rgba(158,77,237,.18), rgba(227,61,206,.055) 35%, transparent 68%); filter: blur(16px); }
.logo-crop { position: relative; width: 100%; aspect-ratio: 376 / 197; overflow: hidden; }
/* Show the painted bounds of the supplied PNG without changing the asset. */
.logo-crop img { position: absolute; width: 132.9787234%; height: auto; max-width: none; top: -77.1573604%; left: -16.4893617%; }
h1 { margin: 0; font-size: clamp(36px, 4.3vw, 64px); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; animation: content-arrive 1.2s .12s ease both; }
.intro { color: #c1b6d7; font-size: clamp(16px, 1.6vw, 20px); font-weight: 400; letter-spacing: .015em; margin: 24px 0 0; line-height: 1.5; animation: content-arrive 1.2s .22s ease both; }
.countdown-section { margin-top: 37px; animation: content-arrive 1.2s .32s ease both; }
.countdown { display: flex; justify-content: center; align-items: start; gap: clamp(11px, 1.8vw, 25px); }
.time-unit { display: flex; flex-direction: column; align-items: center; min-width: 68px; }
.time-value { font-size: clamp(36px, 3.8vw, 52px); line-height: 1; letter-spacing: .02em; font-weight: 300; font-variant-numeric: tabular-nums lining-nums; min-width: 2ch; }
.time-label { margin-top: 15px; font-size: 9px; font-weight: 500; letter-spacing: .29em; color: #c9bedf; padding-left: .29em; }
.separator { color: #aa80c4; font-size: 34px; line-height: 1.2; font-weight: 200; }
.launch-date { margin: 28px 0 0; color: #c1b6d4; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 9px; line-height: 1.7; letter-spacing: .22em; }
.date-divider { color: #db9af1; font-size: 14px; line-height: 1; }
.utc-offset { font-size: 8px; letter-spacing: .1em; opacity: .85; }
.launch-announcement { height: 0; overflow: hidden; margin: 0; }
.noscript { font-size: 13px; max-width: 400px; margin: 20px auto; line-height: 1.6; color: var(--muted); }

.site-footer { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 24px 44px 30px; gap: 20px; }
.footer-note { font-size: 8px; color: #d0c2e1; letter-spacing: .17em; line-height: 1.6; }
.domain { font-size: 12px; letter-spacing: .23em; padding: 5px; }
.motion-control { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 44px; min-height: 44px; padding: 10px 0 10px 10px; border: 0; color: #dfd3ed; background: transparent; cursor: pointer; opacity: .8; transition: opacity .2s; }
.motion-control:hover { opacity: 1; }
.motion-text { font-size: 8px; letter-spacing: .16em; }
.motion-icon { width: 9px; height: 10px; display: flex; gap: 3px; align-items: center; justify-content: center; }
.motion-icon span { height: 8px; width: 2px; background: currentColor; border-radius: 1px; }
.motion-control[aria-pressed="true"] .motion-icon { border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid currentColor; width: 0; height: 0; }
.motion-control[aria-pressed="true"] .motion-icon span { display: none; }

@keyframes sky-breathe { from { transform: scale(1.055) translate3d(-.7%,0,0); } to { transform: scale(1.09) translate3d(.7%,-.6%,0); } }
@keyframes clouds-back { from { transform: translate3d(-2.3%,1%,0) scale(1.015); } to { transform: translate3d(2.3%,-1%,0) scale(1.04); } }
@keyframes clouds-front { from { transform: translate3d(2.8%,1.5%,0) scale(1.06); } to { transform: translate3d(-2.8%,-.8%,0) scale(1.01); } }
@keyframes horizon-breathe { from { opacity: .6; } to { opacity: 1; } }
@keyframes emblem-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes content-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.motion-paused .sky * { animation-play-state: paused; }

@media (min-height: 950px) and (min-width: 701px) { main { padding-bottom: 110px; } .emblem { margin-bottom: 60px; } }
@media (max-width: 700px) {
  .site-header { padding: 27px 24px; gap: 12px; }
  .wordmark { font-size: 12px; letter-spacing: .38em; }
  .launch-status { font-size: 8px; letter-spacing: .16em; gap: 8px; }
  main { padding: 35px 20px 50px; }
  .hero { padding-bottom: 0; }
  .emblem { width: 168px; margin-bottom: 42px; }
  h1 { font-size: clamp(31px, 5.6vw, 42px); letter-spacing: -.04em; line-height: 1.16; }
  .intro { font-size: 15px; margin-top: 20px; }
  .countdown-section { margin-top: 35px; }
  .time-unit { min-width: 48px; }
  .time-value { font-size: 37px; }
  .time-label { font-size: 7px; letter-spacing: .19em; margin-top: 13px; }
  .separator { font-size: 27px; }
  .launch-date { font-size: 8px; letter-spacing: .14em; gap: 9px; margin-top: 26px; }
  .utc-offset { font-size: 7px; }
  .site-footer { padding: 20px 24px 25px; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .footer-note { display: none; }
  .domain { grid-column: 2; font-size: 10px; }
  .motion-control { grid-column: 3; padding: 10px; }
  .motion-text { display: none; }
  .sky-photo, .cloud-drift { background-position: center 70%; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 18px; }
  .wordmark { font-size: 11px; letter-spacing: .29em; }
  .launch-status { font-size: 7px; }
  main { padding-inline: 14px; }
  h1 { font-size: 28px; }
  .countdown { gap: 9px; }
  .time-unit { min-width: 43px; }
  .time-value { font-size: 33px; }
  .launch-date { gap: 6px; letter-spacing: .07em; }
}
@media (max-height: 650px) and (min-width: 701px) {
  .site-header { padding-block: 22px; }
  main { padding-block: 12px; }
  .emblem { width: 140px; margin-bottom: 23px; }
  h1 { font-size: 39px; }
  .intro { margin-top: 15px; font-size: 16px; }
  .countdown-section { margin-top: 24px; }
  .time-value { font-size: 38px; }
  .launch-date { margin-top: 20px; }
  .site-footer { padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
