/* Global reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
}

/* Layout container */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* Header */
.site-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.site-title {
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a {
  margin-left: 1rem;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #666666;
}

.site-nav a:hover {
  color: #000000;
}

/* Stack of photos */

.work {
  margin-top: 1.5rem;
}

/* Each photo-block is one photo with whitespace around it */
.photo-block {
  margin: 0 auto 2.5rem;
}

/* Keep images responsive but not edge-to-edge */
.photo-block img {
  display: block;
  width: 100%;
  max-width: 900px;      /* controls how wide the photos can get */
  margin: 0 auto;        /* center the photo */
}

/* Optional subtle hover zoom (can remove if you want zero effects) */
.photo-block img {
  transition: transform 0.4s ease;
}

.photo-block:hover img {
  transform: scale(1.01);
}

/* Text sections (About, Contact) */

.text-section {
  margin: 3rem auto 0;
  max-width: 720px;
}

.text-section h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}

.text-section p + p {
  margin-top: 0.75rem;
}

.text-section a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

.text-section a:hover {
  border-bottom-color: #000;
}

/* Footer */

.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: left;
  font-size: 0.8rem;
  color: #777777;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}
