.main-nav { flex-wrap: wrap; }
.main-nav a[aria-current='page'] { color: var(--accent); text-decoration: underline; }

.portfolio-page { padding-top: clamp(3.5rem, 7vw, 6rem); }
.portfolio-page h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.portfolio-page .eyebrow { margin: 0 0 1.5rem; }
.portfolio-page .sample-notice { margin-bottom: 2.25rem; }
.writing-sample h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.2; margin-bottom: 1.75rem; }

@media (max-width: 820px) {
  .writing-intro h1 br { display: none; }
}

@media (max-width: 580px) {
  .main-nav { justify-content: flex-start; column-gap: 1.25rem; row-gap: 0.25rem; }
  .portfolio-page .sample-notice { margin-bottom: 1.75rem; }
  .writing-sample h2 { font-size: 1.75rem; }
}

.hero.hero--split {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 3rem);
}
.hero--split .hero-copy,
.hero--split .hero-artwork { min-width: 0; }
.hero--split h1 { font-size: clamp(3.5rem, 7vw, 6rem); }
.hero--split .hero-intro { margin-top: 2rem; padding-bottom: 0; }
.hero--split .hero-artwork { margin: 0; }
.hero--split .hero-artwork img { display: block; width: 100%; height: auto; }

@media (max-width: 820px) {
  .hero.hero--split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero--split h1 { font-size: clamp(3.5rem, 12vw, 6.5rem); }
  .hero--split .hero-intro { margin-top: 1.75rem; }
}

@media (max-width: 580px) {
  .hero.hero--split { gap: 2rem; }
  .hero--split h1 { font-size: clamp(3.125rem, 12vw, 4.35rem); }
}

.gallery-page { background: var(--background); }
.gallery-page .section-heading { align-items: flex-start; }
.gallery-page .section-heading h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.12;
}
.gallery-page .section-heading p:not(.eyebrow) {
  max-width: 65ch;
  margin-top: 1.25rem;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
}
.gallery-page .photo-grid,
.gallery-page .illustration-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.gallery-page .image-frame {
  aspect-ratio: 4 / 3;
  border: 1px solid #1E1E1E;
  border-radius: 8px;
  overflow: hidden;
}
.gallery-page .image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (max-width: 1000px) {
  .gallery-page .photo-grid,
  .gallery-page .illustration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .gallery-page .photo-grid,
  .gallery-page .illustration-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.privacy-page { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.privacy-copy {
  max-width: 800px;
  margin-inline: auto;
  color: var(--text);
  line-height: 1.7;
}
.privacy-copy > header { margin-bottom: 2rem; }
.privacy-updated {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.privacy-copy section { margin-top: 2.5rem; }
.privacy-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.privacy-copy p + p { margin-top: 1.25rem; }
.privacy-copy ul { margin-block: 1rem 0; padding-left: 1.5rem; }
.privacy-copy li + li { margin-top: 0.375rem; }

.footer-privacy { margin-top: 1.25rem; }
.footer-privacy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.footer-privacy a:hover,
.footer-privacy a:focus-visible { color: var(--accent); }

.pre-footer {
  background: #121212;
  padding-block: 60px;
}
.pre-footer .discipline-nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 0;
}
.pre-footer .discipline-nav a {
  justify-content: center;
  text-align: center;
}
.pre-footer .discipline-nav a span:first-child { min-width: 0; }

@media (max-width: 580px) {
  .pre-footer .discipline-nav { gap: 0.5rem; }
  .pre-footer .discipline-nav a {
    flex-direction: column;
    gap: 0.25rem;
    padding-block: 0.75rem;
  }
}
