:root {
  color-scheme: dark;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: #090b12;
  color: #f4f6fb;
  --muted: #99a2b8;
  --rule: #ffffff1c;
  --accent: #9eb1ff;
  --gutter: clamp(1.25rem, 5vw, 4.75rem);
}

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

.shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1rem, 4vh, 2.75rem);
  width: min(100%, 104rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(1.5rem, 3.5vh, 3rem) var(--gutter);
}

.site-header { padding-bottom: clamp(1rem, 2.75vh, 1.75rem); }

.wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.055em;
}

.wordmark-accent { color: var(--accent); }

.mark {
  display: grid;
  position: relative;
  place-items: center;
  width: 1.625rem;
  aspect-ratio: 1;
  margin-right: .7rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-32deg);
}

.mark span {
  width: .625rem;
  aspect-ratio: 1;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.mark::after {
  content: "";
  position: absolute;
  right: -.125rem;
  width: .25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #dfe7ff;
}

.hero {
  align-self: center;
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: stretch;
  min-height: clamp(26rem, 62svh, 43rem);
  border: 1px solid var(--rule);
  border-radius: 1.25rem;
  overflow: hidden;
  isolation: isolate;
  background: #0e111c;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 4.5rem);
  animation: reveal .9s cubic-bezier(.2, .7, .25, 1) both;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6.25vw, 7.25rem);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.075em;
}

h1 span { color: var(--accent); }

.accent-line {
  width: 3rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), #9eb1ff20);
}

.artwork {
  position: relative;
  overflow: hidden;
  background: #070b1a;
}

.lens {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 50%;
  transform: scale(1.045);
  animation: drift 16s ease-in-out infinite alternate;
}

.artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0e111c 0%, #0e111c00 34%),
    linear-gradient(0deg, #070b1a62, transparent 40%);
}

.light {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 77% 39%, #657eff42, transparent 55%);
  mix-blend-mode: screen;
  opacity: .3;
  animation: breathe 8s ease-in-out infinite alternate;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding-top: 1.125rem;
  color: var(--muted);
  font-size: .875rem;
  letter-spacing: .025em;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(.75rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
  from { transform: scale(1.045) translateX(0); }
  to { transform: scale(1.105) translateX(-1%); }
}

@keyframes breathe {
  from { opacity: .3; }
  to { opacity: .85; }
}

@media (max-width: 44rem) {
  .shell { gap: 1.25rem; }
  .site-header { padding-bottom: .25rem; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(13rem, 1fr);
    min-height: clamp(25rem, 67svh, 38rem);
    border-radius: 1rem;
  }

  .hero-copy { padding: clamp(1.25rem, 7vw, 2.75rem); }
  h1 { font-size: clamp(2rem, 11.2vw, 4.75rem); }
  .artwork::after { background: linear-gradient(180deg, #0e111c, #0e111c00 42%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .lens, .light { animation: none; }
}
