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

:root {
  color-scheme: dark;
  --ink: #f1f0ea;
  --muted: #8b8d8c;
  --line: rgba(241, 240, 234, 0.16);
  --surface: #0b0d10;
  --accent: #d7ff3f;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(215, 255, 63, 0.08), transparent 28rem),
    var(--surface);
  background-size: 64px 64px, 64px 64px, auto, auto;
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--surface) 0%, transparent 20%, transparent 80%, var(--surface) 100%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100% - 48px, 1440px);
  min-height: 100svh;
  margin: 0 auto;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-color: var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.monogram {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-weight: 500;
  text-decoration: none;
}

.section-label {
  margin: 0;
  color: var(--muted);
}

main {
  display: grid;
  align-items: center;
  padding: clamp(72px, 10vw, 150px) 0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.name {
  margin: 0 0 clamp(28px, 4vw, 52px);
  font-family: var(--mono);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 1200px;
  margin: 0;
  font-size: clamp(72px, 13vw, 200px);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.84;
}

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

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

.footer-note {
  color: var(--ink);
}

@media (max-width: 600px) {
  body {
    background-size: 40px 40px, 40px 40px, auto, auto;
  }

  .page-shell {
    width: min(100% - 32px, 1440px);
  }

  .site-header,
  footer {
    padding: 20px 0;
  }

  .site-header {
    font-size: 9px;
  }

  .monogram {
    width: 38px;
    height: 38px;
  }

  main {
    padding: 70px 0;
  }

  h1 {
    font-size: clamp(68px, 25vw, 118px);
    line-height: 0.78;
  }

  .footer-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
