/* ---------- Base ---------- */

:root {
  --bg: #faf8f3;
  --ink: #1a1a1a;
  --muted: #6b6157;
  --rule: #d9d1c2;
  --accent: #1a1a1a;
  --max: 1100px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --serif: "Cormorant Garamond", "Garamond", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, .wordmark {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

/* ---------- Header / nav ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.wordmark {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.site-nav a[aria-current="page"] {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 760px) {
  .hero { grid-template-columns: 3fr 2fr; align-items: end; min-height: 70vh; }
}
.hero-image {
  background: #e7dfd0;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.hero-text .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--muted);
  margin-top: -0.25em;
}

/* ---------- Preview sections (home) ---------- */

.preview {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem var(--gutter);
  border-top: 1px solid var(--rule);
}
.preview .lede {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  max-width: 36em;
  color: var(--ink);
}
.more {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.more:hover { text-decoration: none; opacity: 0.7; }

/* ---------- Work list ---------- */

.work-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.work-list li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
@media (min-width: 760px) {
  .work-list li { grid-template-columns: 6rem 1fr 2fr; }
}
.work-year { color: var(--muted); font-variant-numeric: tabular-nums; }
.work-title { font-family: var(--serif); font-size: 1.25rem; }
.work-meta  { color: var(--muted); font-size: 0.95rem; }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.gallery-grid--preview { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) {
  .gallery-grid--preview { grid-template-columns: repeat(4, 1fr); }
}
.thumb {
  background: #e7dfd0;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin: 0;
}
.thumb figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Press / quotes ---------- */

.pull-quote {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.35;
  margin: 1.5rem 0;
  padding: 0;
  border: 0;
  max-width: 32em;
}
.pull-quote cite {
  display: block;
  font-style: normal;
  font-size: 1rem;
  font-family: var(--sans);
  color: var(--muted);
  margin-top: 0.5rem;
}
.press-item { margin-bottom: 2.5rem; }
.press-meta { color: var(--muted); font-size: 0.95rem; }

/* ---------- Inner pages ---------- */

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--gutter);
}
.page-header {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3rem;
}
.page-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 40em;
}
.page-section { margin-bottom: 4rem; }
.page-section h2 {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.two-col {
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) {
  .two-col { grid-template-columns: 2fr 3fr; gap: 3rem; }
}
.prose { max-width: 36em; }
.prose h2 {
  font-size: 1.1rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 0;
  padding: 0;
  margin-top: 2rem;
}
.prose h2:first-child { margin-top: 0; }

/* ---------- CV list ---------- */

.cv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cv-list li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.cv-year { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Placeholders ---------- */

.placeholder {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 4rem;
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
