/* ============================================
   Justin Charity — Personal Site
   Woodshed design language, light mode.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=IBM+Plex+Sans:ital,wght@0,400;0,500;1,400&display=swap');

/* --- Base --- */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1410;
  background-color: #faf8f5;
  min-height: 100vh;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* --- Header --- */

header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0;
}

#logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: #1a1410;
  text-decoration: none;
}

#logo:hover {
  color: #c4912e;
}

header nav {
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: #7a6e62;
}

header nav a {
  color: #7a6e62;
  text-decoration: none;
  transition: color 0.2s ease;
}

header nav a:hover {
  color: #c4912e;
}

/* --- Separator --- */

.main-separator {
  border: none;
  border-top: 1px solid #d4c9ba;
  margin: 1.75rem 0;
}

/* --- Main content --- */

main p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #2c2520;
}

main p:last-child {
  margin-bottom: 0;
}

/* --- Clips section (for when you add it) --- */

main h2 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4912e;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

main ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

main ul li {
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

main ul li a {
  color: #2c2520;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

main ul li a:hover {
  color: #c4912e;
}

main ul li span {
  color: #7a6e62;
  font-size: 0.8125rem;
}

/* --- Footer --- */

footer {
  font-size: 0.8125rem;
  color: #7a6e62;
}

/* --- Mobile --- */

@media (max-width: 480px) {
  body {
    padding: 2rem 1.25rem;
  }

  #logo {
    font-size: 1.5rem;
  }
}