:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050607;
  color: #f5f5f3;
}

* {
  box-sizing: border-box;
}

html {
  background: #050607;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 255, 255, 0.055), transparent 30rem),
    #050607;
  color: #f5f5f3;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #fff;
}

.page-shell {
  min-height: 100vh;
}

.page-nav,
.page-main,
.page-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.page-brand img {
  width: 22px;
  height: 25px;
  object-fit: contain;
}

.page-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.page-main {
  padding-block: clamp(72px, 10vw, 150px) 110px;
}

.eyebrow,
.meta-line,
.card-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 34px;
  font-size: clamp(3.6rem, 9vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.68);
}

.hero-grid {
  display: grid;
  gap: 64px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1);
}

.section-block {
  margin-top: clamp(90px, 14vw, 170px);
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.content-grid {
  display: grid;
  gap: 42px 80px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.content-copy p,
.project-card p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  line-height: 1.8;
}

.content-copy p + p {
  margin-top: 24px;
}

.project-grid {
  display: grid;
  gap: 1px;
  margin-top: 42px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-card {
  display: grid;
  gap: 18px;
  min-height: 260px;
  padding: clamp(26px, 4vw, 48px);
  background: #08090a;
  transition: background 160ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  background: #0d0e10;
}

.project-card strong {
  align-self: end;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.fact-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
}

.fact-list li {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: #08090a;
}

.fact-list strong {
  font-size: 0.95rem;
}

.fact-list span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
  line-height: 1.6;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

@media (min-width: 760px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-nav,
  .page-main,
  .page-footer {
    width: min(100% - 32px, 1180px);
  }

  .page-nav-links a:not(:last-child) {
    display: none;
  }

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

  .hero-grid {
    gap: 40px;
  }

  .page-footer {
    flex-direction: column;
  }
}
