@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #f3f5ee;
  --muted: #9aa39b;
  --line: rgba(243, 245, 238, 0.14);
  --accent: #c7f36b;
  --background: #10151a;
  --surface: #182127;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 24%, rgba(93, 129, 102, 0.18), transparent 28rem),
    linear-gradient(135deg, #10151a 0%, #10151a 48%, #131d21 100%);
  font-family: 'Manrope', 'Avenir Next', Avenir, Helvetica, Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: '';
  opacity: 0.26;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}

.site-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100% - 5rem, 90rem);
  min-height: 100vh;
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.site-header {
  min-height: 6.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  transform: rotate(45deg);
}

.brand-mark::first-letter {
  transform: rotate(-45deg);
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.header-status,
.progress-row,
.site-footer,
.art-coordinate {
  color: var(--muted);
  font-family: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.status-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(199, 243, 107, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  flex: 1;
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(4.5rem, 10vh, 8rem);
}

.hero-copy {
  max-width: 40rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 2.2rem;
  color: var(--accent);
  font-family: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 2.3rem;
  height: 1px;
  background: var(--accent);
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(4.5rem, 8vw, 8.4rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.88;
}

h1 em {
  color: var(--accent);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.09em;
}

.intro {
  max-width: 27rem;
  margin: 2.5rem 0 3.3rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  max-width: 27rem;
  margin-bottom: 0.85rem;
}

.progress-row span:last-child {
  color: var(--ink);
}

.progress-track {
  width: 100%;
  max-width: 27rem;
  height: 2px;
  background: rgba(243, 245, 238, 0.15);
}

.progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--accent);
}

.hero-art {
  position: relative;
  display: grid;
  min-height: min(44vw, 36rem);
  place-items: center;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  width: min(34vw, 27rem);
  height: min(34vw, 27rem);
  border-radius: 50%;
  background: rgba(199, 243, 107, 0.08);
  filter: blur(2rem);
  content: '';
}

.art-orbit {
  position: absolute;
  border: 1px solid rgba(199, 243, 107, 0.34);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orbit-one {
  width: min(28vw, 22rem);
  height: min(28vw, 22rem);
}

.orbit-two {
  width: min(38vw, 30rem);
  height: min(17vw, 13.5rem);
  border-color: rgba(243, 245, 238, 0.22);
  transform: rotate(30deg);
}

.orbit-three {
  width: min(46vw, 36rem);
  height: min(20vw, 16rem);
  border-color: rgba(243, 245, 238, 0.13);
  transform: rotate(-52deg);
}

.art-core {
  display: grid;
  width: min(15vw, 12rem);
  height: min(15vw, 12rem);
  min-width: 8rem;
  min-height: 8rem;
  place-content: center;
  justify-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(199, 243, 107, 0.66);
  border-radius: 50%;
  background: rgba(16, 21, 26, 0.7);
  box-shadow: 0 0 4rem rgba(199, 243, 107, 0.12), inset 0 0 2.5rem rgba(199, 243, 107, 0.08);
}

.core-label {
  color: var(--accent);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.12em;
  line-height: 1;
}

.core-caption {
  color: var(--muted);
  font-family: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.art-coordinate {
  position: absolute;
}

.coordinate-top {
  top: 15%;
  right: 8%;
}

.coordinate-bottom {
  bottom: 14%;
  left: 8%;
  color: var(--accent);
}

.site-footer {
  min-height: 5.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 2.5rem, 40rem);
  }

  .site-header {
    min-height: 5rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 4.5rem 0 3rem;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 6.5rem);
  }

  .hero-art {
    min-height: min(88vw, 24rem);
    margin: 0 -1rem;
  }

  .orbit-one {
    width: min(56vw, 17rem);
    height: min(56vw, 17rem);
  }

  .orbit-two {
    width: min(78vw, 24rem);
    height: min(36vw, 11rem);
  }

  .orbit-three {
    width: min(94vw, 29rem);
    height: min(42vw, 13rem);
  }

  .art-core {
    width: 9.5rem;
    height: 9.5rem;
  }

  .coordinate-top {
    top: 5%;
    right: 8%;
  }

  .coordinate-bottom {
    bottom: 5%;
    left: 8%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    justify-content: center;
    min-height: 6.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .orbit-one {
    animation: drift-one 18s ease-in-out infinite alternate;
  }

  .orbit-two {
    animation: drift-two 22s ease-in-out infinite alternate;
  }

  .orbit-three {
    animation: drift-three 26s ease-in-out infinite alternate;
  }
}

@keyframes drift-one {
  from {
    transform: rotate(-25deg) scale(0.98);
  }

  to {
    transform: rotate(-16deg) scale(1.04);
  }
}

@keyframes drift-two {
  from {
    transform: rotate(30deg) translate(0, 0);
  }

  to {
    transform: rotate(38deg) translate(0.45rem, -0.25rem);
  }
}

@keyframes drift-three {
  from {
    transform: rotate(-52deg) translate(0, 0);
  }

  to {
    transform: rotate(-46deg) translate(-0.35rem, 0.25rem);
  }
}
