:root {
  --bg: #09070d;
  --panel: #12101a;
  --text: #f6f1fb;
  --muted: #aaa4b4;
  --line: rgba(246, 241, 251, .11);
  --purple: #a447ff;
  --orange: #ff7a1a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 15%, rgba(116, 35, 187, .15), transparent 28%),
    radial-gradient(circle at 4% 56%, rgba(255, 89, 25, .06), transparent 20%),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.page {
  width: min(100%, 1540px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 clamp(20px, 2.6vw, 42px);
}

.topbar {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #ba55ff, #7025e5);
  box-shadow: 0 0 28px rgba(164, 71, 255, .48);
  letter-spacing: 0;
}

.brand-sub { color: var(--orange); }
.topbar nav { display: flex; gap: clamp(28px, 5vw, 68px); }
.topbar nav a,
.online,
.footer {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
}

.topbar nav a:hover { color: var(--text); }
.online { justify-self: end; margin: 0; }
.online span {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px var(--orange);
}

.hero {
  min-height: min(850px, calc(100svh - 88px));
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding: 35px 0 80px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero h1,
.details h2 {
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(62px, 8.7vw, 134px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .83;
}

.hero h1 span {
  display: block;
  max-width: 100%;
  margin-top: 0.15em;

  color: transparent;
  -webkit-text-stroke: 2px var(--purple);
  text-shadow: 0 0 40px rgba(164, 71, 255, 0.16);

  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 4.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;

  overflow-wrap: anywhere;
}

.lede,
.details-intro {
  max-width: 570px;
  margin: 38px 0 34px;
  color: #c3bec9;
  font-size: 17px;
  line-height: 1.75;
}

.copy-button,
#nextButton {
  border: 0;
  border-bottom: 1px solid var(--orange);
  padding: 9px 0;
  background: transparent;
  color: var(--text);
  font: 800 12px/1 Arial, sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
}

.copy-button span,
#nextButton span { margin-left: 16px; color: var(--orange); }

.visual-shell {
  position: relative;
  min-width: 0;
  padding: 1px;
  border-radius: 34% 34% 22px 22px;
  background: linear-gradient(145deg, rgba(246, 241, 251, .2), rgba(164, 71, 255, .14));
  box-shadow: 0 0 120px rgba(104, 31, 170, .14);
}

.stage {
  min-height: clamp(440px, 54vw, 690px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: calc(34% - 1px) calc(34% - 1px) 19px 19px;
  background:
    radial-gradient(circle at center, rgba(134, 48, 206, .42), transparent 55%),
    linear-gradient(145deg, #16111d, #0d0b12);
}

.image-button {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 62px);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.image-button img {
  display: block;
  max-width: 100%;
  max-height: 570px;
  object-fit: contain;
  filter: drop-shadow(0 24px 55px rgba(0, 0, 0, .48));
  opacity: 0;
  transform: translateY(12px) scale(.985);
  transition: opacity 240ms ease, transform 300ms ease;
}

.image-button img.ready { opacity: 1; transform: none; }
.empty { padding: 50px; text-align: center; }
.empty h2 { margin: 0 0 20px; font: 900 clamp(30px, 4vw, 58px)/.92 "Arial Narrow", Arial, sans-serif; letter-spacing: -.05em; }
.empty p:last-child { color: var(--muted); }
.empty code { color: var(--purple); }

.orbit-label {
  position: absolute;
  z-index: 2;
  top: 4%;
  right: -3%;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 122, 26, .38);
  border-radius: 50%;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  transform: rotate(8deg);
}

.image-meta {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 7, 13, .82);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#nextButton { flex: 0 0 auto; border-bottom: 0; color: var(--text); }
#nextButton:disabled { opacity: .4; cursor: wait; }

.details {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(50px, 8vw, 130px);
  padding: clamp(100px, 13vw, 190px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.section-number {
  position: absolute;
  top: 25px;
  right: 0;
  color: rgba(246, 241, 251, .06);
  font: 900 clamp(130px, 18vw, 260px)/1 "Arial Narrow", Arial, sans-serif;
  letter-spacing: -.08em;
}

.details h2 { position: relative; font-size: clamp(58px, 7.5vw, 112px); }
.details-content { position: relative; padding-top: 52px; }
.details-intro { margin-top: 0; }

.request-data {
  margin: 48px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(255,255,255,.025), rgba(164,71,255,.05));
  font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.request-data div {
  display: grid;
  grid-template-columns: minmax(150px, .75fr) 1.4fr;
  gap: 28px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.request-data div:last-child { border-bottom: 0; }
.request-data dt { color: var(--orange); font-weight: 800; letter-spacing: .05em; }
.request-data dd { min-width: 0; margin: 0; color: #cbc5d1; overflow-wrap: anywhere; }

.footer {
  min-height: 154px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer p { margin: 0; text-align: center; }
.footer > a:last-child { justify-self: end; text-decoration: none; }

.image-button:focus-visible,
#nextButton:focus-visible,
.copy-button:focus-visible,
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .visual-shell { width: min(100%, 680px); margin: 0 auto; }
  .details { grid-template-columns: 1fr; }
  .details-content { padding-top: 0; }
}

@media (max-width: 600px) {
  .page { padding: 0 16px; }
  .topbar { min-height: 72px; }
  .brand-sub, .online { display: none; }
  .hero { min-height: auto; padding: 76px 0 90px; gap: 70px; }
  .hero h1 span { -webkit-text-stroke-width: 1px; }
  .lede { margin-top: 28px; font-size: 15px; }
  .visual-shell { border-radius: 120px 120px 18px 18px; }
  .stage { min-height: 470px; border-radius: 119px 119px 16px 16px; }
  .orbit-label { width: 92px; height: 92px; right: -4px; }
  .image-meta { align-items: flex-start; flex-direction: column; gap: 7px; }
  .details { min-height: auto; padding: 110px 0 120px; }
  .request-data div { grid-template-columns: 1fr; gap: 4px; }
  .footer { grid-template-columns: 1fr auto; }
  .footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .image-button img { transition: none; }
}
#filename {
  display: none;
}

.image-meta {
  justify-content: flex-end;
}