:root {
  --color-bg: #080808;
  --color-surface: #111111;
  --color-text: #f4f4f2;
  --color-muted: #b8b8b5;
  --color-border: #2a2a2a;
  --focus-ring: #ffffff;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05), transparent 38%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.03), transparent 40%),
    linear-gradient(160deg, #090909 0%, #0d0d0d 52%, #0a0a0a 100%);
  color: var(--color-text);
  font-family: "Work Sans", "Avenir Next", "Segoe UI", sans-serif;
}

.page-shell {
  width: min(92vw, 920px);
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  padding: 1.5rem 0 2rem;
}

.site-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.site-label {
  color: var(--color-muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  align-self: center;
  width: min(100%, 50ch);
  animation: reveal 780ms ease-out both;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.hero p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
}

.site-footer {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.55rem 0.72rem;
  transition:
    background-color 140ms ease,
    border-color 140ms ease;
}

.site-footer a:hover {
  border-color: #696969;
  background-color: rgba(255, 255, 255, 0.07);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .site-footer a {
    transition: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(92vw, 920px);
    gap: 1.25rem;
    padding-top: 1.15rem;
    padding-bottom: 1.5rem;
  }

  .hero {
    width: 100%;
  }

  .hero h1 {
    margin-bottom: 0.75rem;
  }

  .hero p {
    max-width: 36ch;
  }
}
