:root {
  color-scheme: dark;
  --ink: #f4f1e9;
  --muted: #aaa9a4;
  --line: rgba(244, 241, 233, 0.18);
  --accent: #7cb8ff;
  --background: #101214;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 14%, rgba(32, 77, 121, 0.26), transparent 34rem),
    radial-gradient(circle at 8% 92%, rgba(54, 92, 101, 0.15), transparent 30rem),
    var(--background);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 6vw, 6rem);
}

.shell::before {
  position: absolute;
  z-index: -1;
  inset: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  border: 1px solid var(--line);
  content: "";
  pointer-events: none;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: ui-monospace, "Cascadia Mono", "SFMono-Regular", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 1;
}

.brand {
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  text-decoration: none;
}

.domain,
.site-footer {
  color: var(--muted);
  font-size: 0.72rem;
}

.domain,
.site-footer p {
  margin: 0;
}

.hero {
  align-self: center;
  width: min(100%, 64rem);
  padding: clamp(5rem, 12vh, 9rem) clamp(1.25rem, 6vw, 6rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
  color: var(--accent);
  font-family: ui-monospace, "Cascadia Mono", "SFMono-Regular", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.08;
  text-wrap: balance;
}

.lead {
  max-width: 34rem;
  margin: clamp(2rem, 5vw, 3.75rem) 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  letter-spacing: 0.06em;
  line-height: 2;
}

.site-footer {
  position: relative;
  z-index: 1;
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-one {
  top: 18%;
  right: -9rem;
  width: clamp(15rem, 30vw, 30rem);
  aspect-ratio: 1;
  border: 1px solid rgba(124, 184, 255, 0.18);
}

.ambient-two {
  right: 8%;
  bottom: 12%;
  width: 0.45rem;
  aspect-ratio: 1;
  background: var(--accent);
  box-shadow: 0 0 3rem 1rem rgba(124, 184, 255, 0.4);
}

@media (max-width: 600px) {
  .shell::before {
    inset: 5.5rem 1.25rem 4.5rem;
  }

  .hero {
    padding-inline: 1.25rem;
  }

  .domain {
    display: none;
  }

  .site-footer {
    align-items: flex-end;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: reveal 700ms both;
  }

  .hero h1 {
    animation-delay: 100ms;
  }

  .hero .lead {
    animation-delay: 200ms;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }
}

