:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --text: #181512;
  --muted: #6f6861;
  --line: transparent;
  --shadow: 0 10px 30px rgba(24, 21, 18, 0.05);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
img { display: block; width: 100%; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: none;
}

.nav-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand,
h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h2 {
  text-wrap: balance;
}

.brand {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  border-color: var(--text);
}

.eyebrow,
.meta {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: var(--muted);
}

.page-shell {
  padding: 4rem 0 4.5rem;
}

/* ABOUT PAGE */

.about-page {
  padding: 2.5rem 0 4rem;
}

.about-split {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
align-items: center;
  min-height: calc(100vh - 9rem);
}

.about-visual {
  margin-top: 1rem;
}

.about-visual img {
  width: 100%;
  height: auto;
  max-height: 38rem;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.photo-credit {
  margin: 0.4rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  letter-spacing: 0.02em;
}
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
max-width: 30rem;
 padding: 3rem 0;
}

.about-content h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(4rem, 8vw, 6.4rem);
  line-height: 0.92;
  font-weight: 400;
}

.about-standfirst {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  line-height: 1.18;
  margin: 0 0 1.5rem;
  max-width: 24rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.about-details p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.about-topics {
  margin: 1.75rem 0 0;
  padding-left: 1.1rem;
  max-width: 28rem;
}

.about-topics li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-topics strong {
  color: var(--text);
  font-weight: 600;
}

.about-contact {
  margin-top: 2rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.about-contact p {
  margin: 0;
}

.about-contact a {
  text-decoration: none;
}

.about-contact a:hover {
  text-decoration: underline;
}

/* WRITING + EDITING */

.narrow {
  max-width: 40rem;
}

.page-intro h1 {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: 0.94;
  margin: 0 0 1rem;
  font-weight: 400;
}

.page-intro p {
  color: var(--muted);
  max-width: 34rem;
}

.card-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.portfolio-card {
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: transparent;
  border: none;
  box-shadow: none;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-copy {
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.card-copy h2 {
  font-size: 1.55rem;
  line-height: 1.08;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
}

.card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* FOOTER */

.site-footer {
  border-top: none;
  padding-top: 0.5rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

/* LEGACY CLASSES - SAFE TO KEEP */

.hero,
.intro-panel,
.quick-links,
.button-link,
.portrait-card,
.hero-copy,
.lede,
.contact-block,
.note {
  all: unset;
}

/* RESPONSIVE */

@media (max-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

 .about-split {
  grid-template-columns: 1fr;
  gap: 2.5rem;
  min-height: auto;
}
  .about-visual img {
    min-height: 24rem;
  }

  .about-content {
    max-width: 100%;
    padding: 0;
  }

  .about-standfirst {
    max-width: 100%;
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 0.85rem;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .about-content h1,
  .page-intro h1 {
    font-size: 3.2rem;
  }
}