:root {
  --sand-light: #F5EDE1;
  --sand-dark: #E4D5BF;
  --sage: #8A9A7E;
  --driftwood: #6B5D4F;
  --driftwood-dark: #3E362C;
  --white-wash: #FBF8F3;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Courier New", Courier, monospace;
  color: var(--driftwood);
  background: linear-gradient(90deg, #FAF5EA 0%, #D4BC95 100%);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--driftwood-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: normal;
}

a {
  color: var(--driftwood);
  text-decoration: none;
}

a:hover {
  color: var(--sage);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: linear-gradient(90deg, rgba(251, 243, 228, 0.85) 0%, rgba(217, 196, 163, 0.85) 100%);
  backdrop-filter: blur(6px);
}

.nav__wordmark {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--driftwood-dark);
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.nav__tagline {
  font-size: 1rem;
  color: var(--driftwood);
}

.nav__tagline-short {
  display: none;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

/* Portfolio */
.portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 160px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 64px 96px 160px;
}

.portfolio-collection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  width: 100%;
}

.portfolio-collection__header {
  text-align: center;
}

.portfolio-collection__header h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.portfolio-collection__meta {
  font-size: 0.9rem;
}

.portfolio-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  width: 100%;
}

.portfolio-group__title {
  font-size: 1.2rem;
  text-align: center;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 700px;
}

.portfolio-item__photo {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: saturate(0.9);
  border-radius: 2px;
  height: auto;
  aspect-ratio: 3 / 4;
  width: 100%;
}

.portfolio-item__caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: -1;
}

.portfolio-item__caption h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.portfolio-item__caption p {
  font-size: 0.9rem;
  color: var(--driftwood);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 96px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.about__image {
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.about__text h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.about__text p + p {
  margin-top: 12px;
}

/* Footer */
.footer {
  padding: 48px;
  text-align: center;
  border-top: 1px solid var(--sand-dark);
}

.footer__wordmark {
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--driftwood-dark);
  margin-bottom: 16px;
}

.footer__links,
.footer__social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--sage);
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
  }
  .nav__links {
    gap: 28px;
  }
  .nav__tagline {
    display: none;
  }
  .about {
    grid-template-columns: 1fr;
    padding: 64px 24px;
  }
  .portfolio {
    gap: 80px;
    padding: 80px 24px;
  }
  .portfolio-item {
    gap: 12px;
  }
  .portfolio-collection {
    gap: 48px;
  }
  .portfolio-group {
    gap: 40px;
  }
}
