:root {
  color-scheme: dark;
  --bg: #000;
  --fg: #fff;
  --muted: #a1a1a1;
  --faint: #5f5f5f;
  --line: #242424;
  --panel: #080808;
  --panel-hover: #101010;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: "Geist Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  line-height: 1.55;
}

body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  height: 112px;
  pointer-events: none;
  z-index: 10;
}

body::before {
  top: 0;
  background: linear-gradient(#000 0%, rgba(0, 0, 0, 0.82) 42%, rgba(0, 0, 0, 0) 100%);
}

body::after {
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.82) 58%, #000 100%);
}

a {
  color: inherit;
  text-decoration-color: var(--faint);
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-color: var(--fg);
}

.page-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand,
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--fg);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 7px var(--fg);
}

.nav a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--fg);
}

.hero {
  min-height: 58vh;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 104px 0 56px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(40px, 8vw, 84px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--faint);
  font-size: 12px;
}

.meta-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 56px 0;
}

.panel {
  min-height: 220px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: background 180ms ease, border-color 180ms ease;
}

.panel:hover {
  background: var(--panel-hover);
  border-color: #383838;
}

.panel p,
.contact-section p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  display: grid;
  gap: 14px;
  padding: 56px 0 24px;
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 5vw, 48px);
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    align-items: flex-start;
  }

  .nav {
    gap: 10px;
  }

  .hero {
    min-height: 64vh;
    padding-top: 88px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: auto;
  }
}
