/* One system for the whole site. Loaded last on the case studies; the homepage carries the same
   values in its own stylesheet. Scale: 104 / 64 / 40 / 28 / 20 / 16 / 14 / 12. Weights: 400, 600, 800.
   Space: 8 / 16 / 24 / 40 / 64 / 104 / 168. One radius. */
:root {
  --gutter:  clamp(20px, 3.34vw, 48px);
  --step--1: 0.875rem;
  --step-0:  1rem;
  --step-1:  clamp(1rem, 0.93rem + 0.3vw, 1.125rem);
  --step-2:  clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --step-3:  clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
  --step-4:  clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  --step-5:  clamp(2.75rem, 1rem + 7.2vw, 6.5rem);
  --measure: 62ch;
  --rad:     clamp(10px, 1.1vw, 16px);
  --sec:     clamp(64px, 7.2vw, 104px);
  --ink-faint: #8d8a82;
  --ink-soft:  #bab7ae;
}

body {
  font-family: Archivo, system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: 0;
  line-height: 1.6;
}
h1, h2, h3, h4 { font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; }

/* Masthead: the same bar as the homepage. */
.masthead__inner { align-items: center; padding-block: 0; height: clamp(50px, 4.2vw, 60px); }
.wordmark { font-size: 1rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; }
.wordmark span { margin-left: 0.6rem; font-size: 0.875rem; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--ink-faint); }
.nav { font-size: 0.875rem; gap: clamp(14px, 2vw, 30px); }

/* Title block */
.project__back { font-size: 0.875rem; }
.project__title { font-weight: 800; font-stretch: 116%; letter-spacing: -0.04em; line-height: 0.95; }
.project__standfirst { font-weight: 400; letter-spacing: -0.01em; line-height: 1.35; max-width: 38ch; }

/* Credits */
.credit__label { font-size: 0.75rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase; }
.credit__value { font-weight: 600; }
.credit__value--lead { font-size: 1.25rem; font-weight: 600; font-stretch: 104%; letter-spacing: -0.01em; line-height: 1.25; }
.credit--out .credit__value, .credit--out li { font-weight: 400; }

/* Chapters */
.chapter { padding-block: var(--sec); }
.chapter__title { font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.05; }
.chapter__body { letter-spacing: 0; line-height: 1.6; }
.chapter__body p + p { margin-top: 1em; }
.chapter__body strong, .hero__lede strong { font-weight: 600; }
.question p { font-weight: 600; font-stretch: 104%; letter-spacing: -0.025em; line-height: 1.15; max-width: 26ch; }
.question p::before { height: 2px; width: 40px; margin-bottom: 24px; }
.journey b { font-weight: 600; letter-spacing: 0; }
.journey li::before, .journey__n { font-weight: 600; }

/* Pictures: one gutter, one radius, one caption size. */
.set { gap: clamp(12px, 1.67vw, 24px); margin-top: clamp(40px, 4.45vw, 64px); }
.set img, .set video, .plate img, .plate video,
.figure:not(.figure--bleed) img, .figure:not(.figure--bleed) video { border-radius: var(--rad); }
.set figcaption, .figure__caption { font-size: 0.875rem; line-height: 1.5; color: var(--ink-faint); }
.chapter__media { margin-top: clamp(40px, 4.45vw, 64px); }

/* Next + contact: the same closing as the homepage. */
.next__label { font-size: 0.75rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase; }
.next__name { font-weight: 800; font-stretch: 116%; letter-spacing: -0.04em; }
.contact.section { padding-block: var(--sec); }
.contact__call { font-size: var(--step-5); font-weight: 800; font-stretch: 116%; letter-spacing: -0.04em; line-height: 0.95; max-width: 13ch; }
.contact__mail { font-size: 1.25rem; font-weight: 600; letter-spacing: 0; }
.contact__links { font-size: 0.875rem; }
.contact__links a { color: var(--ink); }
.contact__colophon { color: var(--ink-faint); }

@media (max-width: 42rem) {
  .project__standfirst { font-size: 1.25rem; }
}
