:root {
  --paper: #ffffff;
  --ink: #171717;
  --muted: #77736d;
  --line: #e6e0d8;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: auto;
  background: #f5f2ee;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: center;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 24px);
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
  justify-content: flex-end;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.hero {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) 0 clamp(76px, 12vw, 170px);
}

.hero figure {
  margin: 0;
}

.hero img {
  width: 100%;
  height: auto;
}

.hero-title {
  width: min(1050px, 100%);
  margin-top: clamp(26px, 5vw, 70px);
}

.hero-subtitle {
  margin: clamp(12px, 2vw, 22px) 0 0;
  color: #4b4742;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 4vw, 58px);
  line-height: 1.05;
}

.hero-intro {
  width: min(620px, 100%);
  margin-top: clamp(22px, 4vw, 48px);
}

.hero-intro p {
  margin: 0;
  color: #2e2b28;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.2;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(54px, 11vw, 148px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(34px, 5.6vw, 82px);
  line-height: 1;
}

.section {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: clamp(76px, 12vw, 170px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-narrow {
  width: min(1040px, calc(100% - (var(--gutter) * 2)));
}

.section-heading {
  display: block;
  margin-bottom: clamp(28px, 5vw, 72px);
}

.section-heading span {
  display: none;
}

.section-copy {
  width: min(760px, 100%);
  margin: 0 0 clamp(30px, 5vw, 68px);
  color: #33302c;
}

.section-copy p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.7vw, 38px);
  line-height: 1.22;
}

.section-copy p + p {
  margin-top: 0.65em;
}

.large-copy {
  width: min(920px, 100%);
}

.section-copy a {
  border-bottom: 1px solid currentColor;
}

.story-fragment {
  width: min(560px, 100%);
  margin: clamp(22px, 4vw, 52px) 0 0 auto;
  padding: clamp(14px, 2vw, 22px) 0 0;
  border-top: 1px solid var(--line);
  color: #514c46;
}

.story-fragment p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.5vw, 23px);
  line-height: 1.32;
}

.story-fragment cite {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fragment-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 38px);
  margin-top: clamp(24px, 4vw, 56px);
}

.fragment-row .story-fragment {
  width: auto;
  margin: 0;
}

.image-grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 28px);
}

.feature-image {
  width: min(760px, 100%);
  margin-bottom: clamp(30px, 5vw, 68px);
}

.story-grid {
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
}

.story-grid img:nth-child(1) {
  grid-column: 1 / 9;
}

.story-grid img:nth-child(2) {
  grid-column: 9 / 13;
}

.story-grid img:nth-child(3) {
  grid-column: 2 / 6;
}

.story-grid img:nth-child(4) {
  grid-column: 6 / 13;
}

.diptych {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  align-items: start;
}

.ruins-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.cretto-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.portraits-section {
  width: min(1440px, calc(100% - (var(--gutter) * 2)));
}

.portrait-grid {
  column-count: 4;
  column-gap: clamp(10px, 1.6vw, 22px);
}

.portrait-grid img {
  width: 100%;
  height: auto;
  margin: 0 0 clamp(10px, 1.6vw, 22px);
  break-inside: avoid;
}

.portrait-quote {
  margin: 0 clamp(10px, 9%, 28px) clamp(8px, 1.3vw, 18px);
  padding: clamp(14px, 1.8vw, 22px);
  border: 1px solid var(--line);
  break-inside: avoid;
  color: #4b4742;
}

.portrait-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.3;
}

.portrait-quote cite {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-only {
  min-height: 34vh;
}

.names-list {
  width: min(980px, 100%);
  color: #35312c;
}

.names-list p {
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.65;
}

.credits-grid {
  display: grid;
  gap: 8px;
  width: min(760px, 100%);
}

.credits-grid p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    overflow: visible;
    padding-bottom: 0;
  }

  .story-grid,
  .ruins-grid,
  .cretto-grid,
  .diptych,
  .fragment-row,
  .credits-grid {
    grid-template-columns: 1fr;
  }

  .story-grid img,
  .ruins-grid img:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .portrait-grid {
    column-count: 2;
  }

  .section-copy,
  .names-list,
  .credits-grid {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading span {
    padding-top: 0;
  }

  .portrait-grid {
    column-count: 1;
  }
}
