:root {
  --bg: #e9e4ee;
  --ink: #1f1c22;
  --muted: #4f4957;
  --line: #d4cbdc;
  --accent: #5b4a6e;
  --band: #ddd3e8;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1a22;
    --ink: #ece7f0;
    --muted: #bdb6c6;
    --line: #322c39;
    --accent: #c3b2d6;
    --band: #27222e;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}
.name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.top nav { display: flex; gap: 24px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 64px;
}
.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}
.lede { margin: 0; color: var(--muted); font-size: 18px; }
.photo {
  justify-self: end;
  width: 100%;
  max-width: 340px;
  background: #d8cde4;
  border-radius: 999px 999px 6px 6px;
  overflow: hidden;
}
.portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}

/* Sections */
.section {
  border-top: 1px solid var(--line);
  padding-top: 48px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 32px 64px;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}
h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 4px;
}
h3 a { text-decoration: none; }
h3 a::after { content: " \2197"; font-size: 0.7em; color: var(--muted); }

.work { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.work p { margin: 0; color: var(--muted); font-size: 17px; }

.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

.recognition {
  grid-column: 2;
  list-style: none;
  margin: 16px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
  columns: 2;
  column-gap: 16px;
}
.recognition li { margin-bottom: 8px; break-inside: avoid; }

/* Quotes */
.quotes {
  background: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  border-top: 0;
  padding-top: 72px;
  padding-bottom: 72px;
}
.quotes + .section { border-top: 0; }
.quotes { grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.quotes figure { margin: 0; }
.quotes .wide { grid-column: 1 / -1; max-width: 780px; }
.quotes .wide blockquote { font-size: 28px; line-height: 1.3; }
.quotes blockquote {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
}
.quotes figcaption { font-size: 14px; color: var(--muted); }
.quotes cite { font-style: normal; }

/* Contact */
.contact-links { margin: 0; display: flex; flex-wrap: wrap; gap: 16px 32px; font-family: var(--serif); font-size: 24px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.foot p { margin: 0; }

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top { padding-top: 24px; padding-bottom: 24px; }
  .name { font-size: 26px; }
  .top nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; padding-bottom: 64px; }
  .photo { max-width: 220px; order: -1; justify-self: start; }
  .section { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 56px; }
  .recognition { grid-column: 1; columns: 1; }
  .quotes { grid-template-columns: 1fr; gap: 32px; }
  .contact-links { font-size: 20px; flex-direction: column; }
}
