:root {
  --bg: #0f1a12;
  --fg: #f3efe5;
  --fg-muted: #d8d2c4;
  --accent: #f3efe5;
  --max-width: 1500px;
  --content-width: 640px;
  --gutter: clamp(20px, 6vw, 64px);
  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Raleway", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  padding: clamp(20px, 3vw, 36px) var(--gutter);
  display: flex;
  align-items: center;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--fg);
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 18vh, 200px) var(--gutter) clamp(60px, 10vh, 120px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("/hero.webp");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 26, 18, 0.55) 0%,
    rgba(15, 26, 18, 0.35) 50%,
    rgba(15, 26, 18, 0.55) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr;
}

.hero__content > * {
  max-width: var(--content-width);
  justify-self: end;
  width: 100%;
}

@media (max-width: 900px) {
  .hero__content > * {
    justify-self: start;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}

.prose p {
  margin: 0 0 18px;
  color: var(--fg-muted);
  font-size: clamp(16px, 1.15vw, 18px);
}

.prose strong {
  color: var(--fg);
  font-weight: 700;
}

.cta {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 28px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--fg);
  background: transparent;
  transition: background-color 150ms ease, color 150ms ease;
}

.cta:hover,
.cta:focus-visible {
  background: var(--accent);
  color: var(--bg);
}
