/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── TOKENS ── */
:root {
  --bg:         #ECECEC;
  --media-bg:   #D9D9D9;
  --text-dark:  #111111;
  --text-muted: #555555;
  --text-index: rgba(0, 0, 0, 0.26);
  --border:     #111111;
  --font:       'Geist', sans-serif;
}

/* ── BASE ── */
html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  font-family: var(--font);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.build-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ── HEADER ── */
.build-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  border-bottom: 2px solid var(--border);
}

.build-header__wordmark {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
}

.build-header__wordmark .www {
  color: #999999;
}

.build-header__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dark);
}

/* ── GRID ── */
.build-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.project-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px 32px 32px;
  background: #FFFFFF;
  border-right: 2px solid var(--border);
}

.project-slot:last-child {
  border-right: none;
}

.project-slot__num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-index);
  user-select: none;
}

.project-slot__title {
  font-family: var(--font);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.project-slot__rule {
  border: none;
  border-top: 2px solid var(--border);
  margin: 0;
}

.project-slot__media {
  aspect-ratio: 16 / 9;
  background: var(--media-bg);
  margin: 0 -32px;
  overflow: hidden;
}

.project-slot__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-slot__copy {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 44ch;
}

.project-slot__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.3);
  padding-bottom: 1px;
  width: fit-content;
  align-self: flex-start;
}

/* ── TEASER SLOT ── */
.project-slot--teaser {
  background: var(--bg);
}

/* ── FOOTER ── */
.build-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-top: 2px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.build-footer__copy {
  color: var(--text-dark);
}

.build-footer__home {
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.3);
  padding-bottom: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .build-header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 16px;
  }

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

  .project-slot {
    border-right: none;
    padding: 48px 18px 28px;
  }

  .project-slot__media {
    margin: 0 -18px;
  }

  .build-footer {
    padding: 14px 16px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }
}
