:root {
  color-scheme: light;
  font: 16px/1.55 system-ui, "Yu Gothic UI", sans-serif;
  scrollbar-color: #737373 #eee;
  --ink: #111;
  --muted: #555;
  --rule: #d8d8d8;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); filter: grayscale(1); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
:where(a, summary, button):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--ink); color: #fff; }

.shell { width: min(1160px, calc(100% - clamp(32px, 8vw, 112px))); margin-inline: auto; }

.skip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  transform: translateY(-200%);
  padding: 8px 12px;
  background: #fff;
}
.skip:focus { transform: none; }

.site-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  border-bottom: 1px solid var(--rule);
  font-size: .8rem;
}
.site-top a { text-decoration: none; }
.site-top a:hover { text-decoration: underline; }
.brand { font-weight: 800; letter-spacing: .045em; }
.site-top h1 {
  padding-left: 14px;
  border-left: 1px solid var(--rule);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .16em;
}
.site-top nav { display: flex; gap: clamp(12px, 3vw, 28px); margin-left: auto; }

main { padding-block: clamp(26px, 7vw, 94px); }
.release {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 6vw, 88px);
  scroll-margin-top: 16px;
}
.release + .release { margin-top: clamp(36px, 8vw, 100px); }
.artwork-stage { perspective: 1250px; }
.artwork-rotor { position: relative; transform-style: preserve-3d; transition: transform .65s ease-in-out; }
.artwork-stage.is-interacting .artwork-rotor { transition: none; }
.artwork-rotor.is-flipped { transform: rotateY(180deg); }
.artwork { display: block; border-radius: 20%; backface-visibility: hidden; }
.artwork img { display: block; width: 100%; height: auto; }
.artwork-back { position: absolute; inset: 0; transform: rotateY(180deg); }

@media (prefers-reduced-motion: reduce) {
  .artwork-rotor { transition: none; }
}

.release-info { padding-top: min(9vw, 136px, 20svh); }
.index { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.release-info h2 {
  margin-block: 4px clamp(16px, 3vw, 26px);
  font-size: clamp(1.9rem, 4.5vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding-inline: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.download:hover { background: #333; }
.download span:last-child { font-size: 1.2rem; }

.instructions { padding-top: 16px; overflow-wrap: anywhere; font-size: .84rem; }
.instructions details + details { border-top: 1px solid var(--rule); }
.instructions summary { padding-block: 6px; font-weight: 700; cursor: pointer; }
.instructions ol { margin: 6px 0 12px; padding-left: 1.4em; }

.setup-command {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block: 4px;
  padding: 6px 8px;
  background: #f5f5f5;
}
.setup-command code { flex: 1; min-width: 0; user-select: all; }
.setup-command button {
  min-height: 36px;
  padding-inline: 10px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.setup-command button:hover { background: #eee; }
#copy-windows-status { color: var(--muted); }

@media (min-width: 721px) {
  main { padding-block-start: min(7vw, 94px, 10svh); }
  .release figure { width: min(100%, max(360px, 100svh - 160px)); }
}

@media (721px <= width <= 900px), (min-width: 721px) and (max-height: 600px) {
  .release-info { padding-top: 32px; }
}

@media (min-width: 721px) and (max-height: 600px) {
  .release-info h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 3.4vw, 3rem); }
}

@media (max-width: 720px) {
  .release { grid-template-columns: minmax(0, 1fr); }
  .release-info { padding-top: 0; }
}
