/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink:        #b08888;   /* dusty rose — main accent */
  --pink-mid:    #c9a8a8;   /* softer accent */
  --pink-light:  #f2e8e6;   /* blush — alt section bg */
  --pink-subtle: #f8f0ee;   /* near-white rose tint */
  --bg:          #faf8f7;   /* warm off-white */
  --text:        #2d2424;   /* warm near-black */
  --text-muted:  #8c7272;   /* muted rose-brown */
  --border:      #e4d4d1;   /* light rose border */
  --green-light: #e8ede5;   /* pale sage — hero bg */
  --green-mid:   #c6d4bf;   /* soft sage — hero glow */
}

html {
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--pink-light);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ─── Navigation ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 64px;
  background: rgba(242, 232, 230, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(176, 136, 136, 0.07);
}

.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-name:hover {
  color: var(--pink);
}

.nav-home {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav ul a {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

nav ul a:hover,
nav ul a.active {
  color: var(--pink);
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, var(--pink-mid) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: lowercase;
  color: var(--pink);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(4rem, 9vw, 8rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ─── Shared Section Styles ────────────────────────────────── */
section {
  padding: 6rem 2rem;
  flex: 1;
}

.section-alt {
  background-color: var(--pink-light);
}

.container {
  max-width: 880px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--text);
  white-space: nowrap;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── About ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: center;
}

.headshot {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  object-position: 60% 20%;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ─── Publications ─────────────────────────────────────────── */
.publications-list {
  display: flex;
  flex-direction: column;
}

.pub-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}

.pub-item:first-child {
  border-top: 1px solid var(--border);
}

.pub-year {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--pink-mid);
  padding-top: 0.1rem;
}

.pub-title {
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.pub-meta {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pub-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--pink-mid);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pub-title a:hover {
  color: var(--pink);
  border-color: var(--pink);
}

/* ─── Exhibitions ──────────────────────────────────────────── */
.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.exhibition-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
  transition: opacity 0.2s ease;
}

.exhibition-item:hover .exhibition-img {
  opacity: 0.85;
}

.exhibition-year {
  font-family: 'Playfair Display', serif;
  font-size: 0.82rem;
  color: var(--pink);
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.exhibition-title {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.2rem;
}

.exhibition-venue {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── CV ────────────────────────────────────────────────────── */
.cv-content {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.cv-block h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1rem;
}

.cv-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.cv-item:first-of-type {
  border-top: 1px solid var(--border);
}

.cv-year {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 0.15rem;
  line-height: 1.5;
}

.cv-role {
  font-size: 0.96rem;
  color: var(--text);
  margin-bottom: 0.2rem;
  line-height: 1.5;
}

.cv-place {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.cv-download {
  display: inline-block;
  align-self: flex-start;
  padding: 0.7rem 2.2rem;
  border: 1px solid var(--pink-mid);
  color: var(--pink);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.cv-download:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.cv-download.contact-email {
  font-size: 0.65rem;
  text-transform: none;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.6rem;
}

/* ─── Contact ──────────────────────────────────────────────── */
.contact-content {
  max-width: 480px;
}

.contact-content > p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2.25rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-links a {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: var(--pink);
}

/* ─── Footer ───────────────────────────────────────────────── */
footer {
  padding: 2.5rem 2rem;
  text-align: center;
  background-color: var(--pink-light);
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--text-muted);
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 800px) {
  nav {
    padding: 0 2rem;
  }

  nav ul {
    gap: 1.75rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .photo-placeholder {
    max-width: 180px;
  }

  .exhibitions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .nav-toggle {
    display: flex;
  }

  .nav-home {
    display: list-item;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(242, 232, 230, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }

  nav.nav-open ul {
    display: flex;
  }

  nav ul li a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
  }

  nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .exhibitions-grid {
    grid-template-columns: 1fr;
  }

  .pub-item {
    grid-template-columns: 44px 1fr;
    gap: 1.2rem;
  }

  .cv-item {
    grid-template-columns: 60px 1fr;
  }
}
