:root {
  color-scheme: dark;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #eeeee8;
  background: #101110;
  -webkit-font-smoothing: antialiased;
  --accent: #d6f68a;
  --light-x: 50%;
  --light-y: 42%;
}

* { box-sizing: border-box; }
body { margin: 0; }

main {
  min-height: 100svh;
  padding: 28px 4vw 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: radial-gradient(ellipse at var(--light-x) var(--light-y), #272c24 0, #151713 32%, #101110 65%);
}

.masthead, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.masthead {
  position: relative;
  z-index: 1;
  font: 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 20px;
  border-bottom: 1px solid #ffffff24;
}

.edition { color: #abab9f; }
.signal { display: flex; align-items: center; gap: 10px; }
.signal i { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px #d6f68a66; }
.cross { font-size: 20px; font-weight: 200; color: #8e9286; }

.artwork {
  position: relative;
  flex: 1;
  min-height: 330px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse, black, transparent 65%);
}

.emblem {
  width: clamp(280px, 34vw, 460px);
  aspect-ratio: 1;
  /* The supplied SVG contains an opaque PNG. Luminance removes its black field. */
  mask: url('./logo.svg') center / contain no-repeat luminance;
  background: linear-gradient(145deg, #fff 4%, #c8cdbf 26%, #565d50 45%, #edf1e1 48%, #b4bd9f 64%, #414c37 86%, #d6f68a 100%);
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, -8deg)) rotate(-8deg);
  transition: transform 0.6s ease-out;
  position: relative;
  z-index: 2;
}

.orbit {
  position: absolute;
  width: min(61vw, 700px);
  height: 60%;
  border: 1px solid #c5d4ab21;
  border-radius: 50%;
  transform: rotate(-22deg);
}
.orbit-two { width: min(48vw, 560px); height: 80%; transform: rotate(25deg); border-color: #c5d4ab10; }
.orbit-one::after { content: ''; position: absolute; top: 18%; left: 12%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 15px #d6f68a66; }
.coordinate { position: absolute; top: 50%; color: #73796c; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.12em; }
.coordinate-left { left: 0; }
.coordinate-right { right: 0; }

.wordmark { position: relative; z-index: 3; padding-bottom: 22px; }
h1 { margin: 0 0 0 -0.065em; font-size: clamp(72px, 16.4vw, 300px); line-height: 0.9; font-weight: 500; letter-spacing: -0.085em; }
.period { color: var(--accent); }
footer { border-top: 1px solid #ffffff30; padding-top: 22px; gap: 24px; }
p { font-size: 15px; line-height: 1.5; letter-spacing: -0.015em; color: #b6b8ae; margin: 0; }
.footer-mark { font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: #888e80; }
.footer-mark span { color: var(--accent); font-size: 20px; margin-left: 28px; }

@media (min-width: 1600px) {
  main { padding-inline: max(4vw, calc((100vw - 1600px) / 2)); }
  h1 { font-size: 262px; }
}

@media (max-width: 600px) {
  main { padding: 22px 24px; }
  .masthead { font-size: 8px; letter-spacing: 0.07em; }
  .cross { display: none; }
  .artwork { min-height: 340px; }
  .emblem { width: min(84vw, 360px); }
  .orbit-one { width: 105%; height: 48%; }
  .orbit-two { width: 78%; height: 72%; }
  h1 { font-size: 16vw; }
  .wordmark { padding-bottom: 24px; }
  footer { align-items: flex-end; }
  p { font-size: 13px; }
  .footer-mark { font-size: 0; }
  .footer-mark span { font-size: 23px; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .emblem { transition: none; transform: rotate(-8deg); }
}
