:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #727272;
  --pad: clamp(18px, 3.5vw, 56px);
  --content: 1500px;
  --section-space: clamp(58px, 6.8vw, 92px);
  --section-gap: clamp(10px, 1vw, 16px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Questrial", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hero {
  max-width: var(--content);
  margin: 0 auto;
  padding: 34px var(--pad) var(--section-space);
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr);
  gap: clamp(24px, 4.6vw, 72px);
  align-items: center;
}
.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(0px, 1.5vw, 10px);
}
.hero-logo {
  width: clamp(180px, 16vw, 248px);
  height: auto;
  margin: 0 auto 24px;
}
.hero-tagline {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
  white-space: nowrap;
}

.statement {
  width: min(760px, calc(100% - (2 * var(--pad))));
  margin: 0 auto;
  padding: var(--section-space) 0;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.65;
}
.statement p { margin: 0 0 1.15em; }
.statement p:last-child { margin-bottom: 0; }

.work-section {
  max-width: var(--content);
  margin: 0 auto;
  padding: var(--section-space) var(--pad);
}
.section-heading {
  margin-bottom: 24px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 2.25vw, 34px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.02em;
}
.section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

.full-image img,
.square-feature img,
.grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
figcaption,
.grid-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.grid-caption { margin-bottom: 0; }
.hero-image figcaption {
  margin-top: 12px;
  font-size: 14px;
}
.hero-image figcaption strong { font-weight: 400; }

.grid {
  display: grid;
  gap: var(--section-gap);
  margin-top: 14px;
  align-items: start;
}
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid figure {
  overflow: visible;
  background: transparent;
}
.details { margin-top: 10px; }
.compact-top { margin-top: 14px; }

.portrait-pair figure {
  display: flex;
  flex-direction: column;
}
.portrait-frame {
  aspect-ratio: 896 / 1195;
  width: 100%;
  overflow: hidden;
  background: transparent;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.portrait-pair .crop-top .portrait-frame img {
  object-fit: cover;
  object-position: center 8%;
}
.portrait-pair figcaption { padding-bottom: 4px; }

.manifesto {
  padding: var(--section-space) var(--pad);
  background: #fff;
}
.manifesto-inner {
  width: min(700px, 100%);
  margin: 0 auto;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.65;
  font-style: italic;
}
.manifesto-inner p { margin: 0 0 1.15em; }
.manifesto-inner p:last-child { margin-bottom: 0; }

.square-feature {
  width: min(760px, 100%);
  margin: 0 auto;
}
.quartiers-grid {
  margin-top: clamp(28px, 4vw, 44px);
}
.quartiers-grid img {
  width: min(950px, 100%);
  margin: 0 auto;
}
.quartiers-grid figcaption {
  width: min(950px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.closing-text {
  background: #fff;
  color: var(--text);
  padding-bottom: clamp(34px, 4vw, 50px);
}

footer {
  min-height: 24vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px var(--pad) 42px;
  background: #fff;
  text-align: center;
}
.footer-logo {
  width: clamp(125px, 12vw, 170px);
  height: auto;
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.65;
}
.contact-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 12px;
  }
  .hero-copy {
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: 220px;
    padding: 36px 0 36px;
  }
  .hero-logo {
    width: clamp(170px, 44vw, 230px);
    margin-bottom: 18px;
  }
  .hero-tagline {
    white-space: normal;
    font-size: 16px;
  }
  .statement {
    width: min(620px, calc(100% - (2 * var(--pad))));
    padding-top: 8px;
    padding-bottom: 54px;
    font-size: 15px;
  }
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .grid + .grid { margin-top: 10px; }
  .work-section,
  .manifesto {
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .manifesto-inner { font-size: 14px; }
  .portrait-frame {
    aspect-ratio: auto;
  }
  .portrait-frame img,
  .portrait-pair .crop-top .portrait-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .closing-text {
    padding-bottom: 28px;
  }
  footer {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 44px;
    gap: 18px;
  }
  .contact-links {
    align-items: center;
    font-size: 14px;
    line-height: 1.65;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
