:root {
  color-scheme: dark;
  --bg: #101114;
  --panel: #181a20;
  --panel-strong: #20232b;
  --text: #f2f4f7;
  --muted: #a8b0bd;
  --line: #313642;
  --gold: #f0a71f;
  --gold-strong: #ffb72e;
  --teal: #2dd4bf;
  --green: #66d18f;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 260px),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 17, 20, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 720;
}

.brand img {
  border-radius: 9px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 156px);
  padding: clamp(52px, 9vw, 112px) clamp(20px, 5vw, 72px) clamp(32px, 5vw, 60px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 10vw, 8.5rem);
  line-height: 0.95;
}

.lede {
  max-width: 680px;
  color: #d5d9e0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #16130c;
}

.button.primary:hover {
  background: var(--gold-strong);
}

.button.secondary {
  border: 1px solid var(--line);
  color: #e5e7eb;
}

.button.secondary:hover {
  border-color: #505767;
  background: rgba(255, 255, 255, 0.04);
}

.hero-mark {
  display: flex;
  justify-content: center;
}

.hero-mark img {
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.intro-band > div {
  min-height: 132px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--panel);
}

.metric {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 760;
}

.intro-band p,
.section-heading p,
.project-card p,
footer {
  color: var(--muted);
  line-height: 1.55;
}

.projects-section {
  padding: clamp(54px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.project-card {
  position: relative;
  min-height: 206px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
}

.project-card:hover {
  border-color: #555d6f;
  background: var(--panel-strong);
}

.project-card h3 {
  margin: 18px 0 10px;
  font-size: 1.1rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.pill {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.status-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

footer a {
  color: #d5d9e0;
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-mark {
    justify-content: flex-start;
  }

  .hero-mark img {
    width: min(72vw, 260px);
  }

  .intro-band {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}
