/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-size: 16px;
  background-color: #000000;
  color: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #000000;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 2rem;
  width: 100%;
}

.site-header {
  width: 100%;
  max-width: 680px;
  margin-bottom: 4rem;
}

.main-content {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

/* ==========================================================================
   Header / Wordmark
   ========================================================================== */

.wordmark {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: #ffffff;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */

.heading {
  font-size: clamp(1.65rem, 3.5vw + 0.5rem, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.subtext {
  font-size: clamp(1rem, 1.5vw + 0.25rem, 1.15rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.65;
  color: #a1a1aa;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.separator {
  width: 44px;
  height: 1px;
  background-color: #27272a;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Work Section
   ========================================================================== */

.work-section {
  width: 100%;
  margin-bottom: 2rem;
}

.section-label {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #52525b;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.project-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-item {
  border-left: 1px solid #27272a;
  padding-left: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.project-link:hover .project-name {
  color: #e4e4e7;
}

.project-name {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.project-arrow {
  font-size: 0.8125rem;
  color: #52525b;
}

.project-desc {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: #71717a;
  letter-spacing: -0.005em;
}

/* ==========================================================================
   Disciplines & GitHub Link
   ========================================================================== */

.disciplines {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.7rem, 1.1vw + 0.15rem, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: #71717a;
  margin-bottom: 1.5rem;
}

.github-link {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #71717a;
  margin-bottom: 0;
}

.github-link a {
  color: #a1a1aa;
  text-decoration: none;
  border-bottom: 1px solid #3f3f46;
  padding-bottom: 1px;
}

.github-link a:hover {
  color: #ffffff;
  border-bottom-color: #71717a;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  width: 100%;
  max-width: 680px;
  padding-top: 3rem;
}

.copyright {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #3f3f46;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 480px) {
  .site-layout {
    padding: 2rem 1.25rem 1.5rem;
  }

  .site-header {
    margin-bottom: 3rem;
  }

  .heading {
    margin-bottom: 0.75rem;
  }

  .subtext {
    margin-bottom: 1.5rem;
  }

  .separator {
    margin-bottom: 1.5rem;
  }

  .project-list {
    gap: 1.25rem;
  }

  .site-footer {
    padding-top: 2rem;
  }
}
