:root {
  --ink: #1a1916;
  --paper: #f3f0e7;
  --paper-deep: #e8e2d4;
  --card: #faf8f2;
  --red: #da4b36;
  --blue: #2658d8;
  --line: rgba(26, 25, 22, 0.18);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(218, 75, 54, 0.08), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 231, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.brand-mark {
  width: 15px;
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--paper);
  background: var(--red);
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: clamp(4rem, 8vw, 8rem) 6vw;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

h1 {
  max-width: 900px;
  font-size: clamp(4.7rem, 9vw, 9rem);
}

h1 em {
  color: var(--blue);
  font-weight: 400;
}

.lede {
  max-width: 610px;
  margin: 2.25rem 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.scroll-link {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.scroll-link span {
  color: var(--red);
  font-size: 1.1rem;
}

.hero-graphic {
  position: relative;
  min-height: 580px;
}

.aperture {
  position: absolute;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.aperture::before,
.aperture::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.aperture::before {
  width: 72%;
  height: 72%;
}

.aperture::after {
  width: 24%;
  height: 24%;
  background: var(--ink);
}

.aperture-one {
  top: 1%;
  left: 4%;
  width: min(32vw, 440px);
  aspect-ratio: 1;
  background: var(--red);
}

.aperture-two {
  right: -24%;
  bottom: -11%;
  width: min(34vw, 490px);
  aspect-ratio: 1;
  background: var(--blue);
}

.focus-point {
  position: absolute;
  top: 47%;
  left: 47%;
  width: 42px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
}

.focus-point::before,
.focus-point::after {
  position: absolute;
  content: "";
  background: var(--ink);
}

.focus-point::before {
  top: 50%;
  left: -14px;
  width: 68px;
  height: 1px;
}

.focus-point::after {
  top: -14px;
  left: 50%;
  width: 1px;
  height: 68px;
}

.graphic-label {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.label-near {
  top: 12%;
  left: -1%;
}

.label-far {
  right: 5%;
  bottom: 10%;
  color: var(--paper);
}

.project-section {
  padding: clamp(6rem, 11vw, 10rem) 6vw;
  border-top: 1px solid var(--line);
}

.architecture-section {
  background: var(--paper-deep);
}

.dolly-section {
  background: var(--ink);
  color: var(--paper);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(70px, 0.25fr) minmax(0, 1.75fr);
  gap: clamp(1rem, 4vw, 5rem);
  max-width: 1160px;
  margin: 0 auto clamp(3.5rem, 7vw, 6rem);
}

.section-number {
  margin: 0;
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.8;
}

h2 {
  max-width: 870px;
  font-size: clamp(3.3rem, 7vw, 7rem);
}

.section-intro div > p:last-child {
  max-width: 720px;
  margin: 2rem 0 0;
  font-size: 1.05rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 1240px;
  margin: 0 auto;
}

.photo-card {
  margin: 0;
}

.photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #d5d0c4;
  box-shadow: 0 18px 52px rgba(26, 25, 22, 0.12);
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.photo-wrap:hover img {
  transform: scale(1.018);
}

.portrait-wrap,
.building-wrap {
  aspect-ratio: 3 / 4;
}

.zoom-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: white;
  background: rgba(10, 10, 10, 0.58);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

figcaption {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) 1fr;
  gap: 1rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid transparent;
  font-size: 0.86rem;
}

figcaption strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

figcaption span {
  color: rgba(26, 25, 22, 0.72);
}

.insight {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) 1fr;
  gap: 2rem;
  max-width: 940px;
  margin: clamp(4rem, 7vw, 7rem) auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}

.insight-label {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.insight p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.dolly-section .eyebrow,
.dolly-section .section-number {
  color: #ff735f;
}

.dolly-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(260px, 0.55fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
}

.gif-frame {
  position: relative;
  width: min(100%, 520px);
  padding: 0.7rem;
  border: 1px solid rgba(243, 240, 231, 0.25);
  background: #0e0e0d;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.gif-frame img {
  width: 100%;
}

.motion-label {
  position: absolute;
  padding: 0.55rem 0.8rem;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.motion-label-a {
  top: 8%;
  left: -1.3rem;
}

.motion-label-b {
  right: -1.3rem;
  bottom: 8%;
  background: #ff735f;
}

.dolly-notes {
  display: grid;
  gap: 0;
}

.dolly-notes > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(243, 240, 231, 0.25);
}

.dolly-notes > div:last-child {
  border-bottom: 1px solid rgba(243, 240, 231, 0.25);
}

.note-index {
  color: #ff735f;
  font-family: var(--serif);
  font-size: 1.6rem;
}

.dolly-notes p {
  margin: 0;
  color: rgba(243, 240, 231, 0.7);
  font-size: 0.9rem;
}

.dolly-notes strong {
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 4vw;
  border-top: 1px solid rgba(243, 240, 231, 0.18);
  color: rgba(243, 240, 231, 0.55);
  background: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-graphic {
    min-height: 440px;
    margin-top: -1rem;
  }

  .aperture-one {
    left: 12%;
    width: min(65vw, 380px);
  }

  .aperture-two {
    right: -3%;
    width: min(65vw, 420px);
  }

  .dolly-stage {
    grid-template-columns: 1fr;
  }

  .gif-frame {
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 62px;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.68rem;
  }

  nav a:nth-child(2) {
    display: none;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 6.5rem);
  }

  .section-intro {
    grid-template-columns: 1fr;
  }

  .section-number {
    margin-bottom: 1rem;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  figcaption,
  .insight {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .photo-wrap img {
    transition: none;
  }
}

@media print {
  @page {
    size: letter portrait;
    margin: 0.48in;
  }

  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  html,
  body {
    background: var(--paper);
    font-size: 10pt;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .site-header {
    position: static;
    min-height: 42px;
    padding: 0 0.2in;
    background: var(--paper);
  }

  nav {
    gap: 1rem;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 0.65in 0.25in 0.3in;
    break-after: page;
  }

  .hero-copy {
    max-width: 6.7in;
  }

  h1 {
    font-size: 64pt;
    line-height: 0.9;
  }

  .lede {
    max-width: 5.8in;
    margin: 0.25in 0;
    font-size: 12pt;
  }

  .hero-graphic {
    display: none;
  }

  .project-section {
    padding: 0.2in 0;
    border: 0;
    break-before: page;
  }

  .section-intro {
    grid-template-columns: 0.52in 1fr;
    gap: 0.22in;
    max-width: none;
    margin: 0 0 0.22in;
  }

  .section-number {
    font-size: 34pt;
  }

  h2 {
    max-width: none;
    font-size: 37pt;
  }

  .section-intro div > p:last-child {
    max-width: 6.2in;
    margin: 0.12in 0 0;
    font-size: 9.5pt;
    line-height: 1.45;
  }

  .eyebrow {
    margin-bottom: 0.07in;
    font-size: 6.5pt;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.22in;
  }

  .photo-wrap {
    box-shadow: none;
  }

  .portrait-wrap,
  .building-wrap {
    aspect-ratio: 3 / 3.7;
  }

  .zoom-badge {
    top: 0.1in;
    left: 0.1in;
    padding: 0.04in 0.08in;
    font-size: 6pt;
  }

  figcaption {
    display: block;
    padding-top: 0.1in;
    font-size: 7.5pt;
    line-height: 1.4;
  }

  figcaption strong {
    display: block;
    margin-bottom: 0.04in;
    font-size: 7pt;
  }

  .insight {
    grid-template-columns: 1.15in 1fr;
    gap: 0.18in;
    max-width: none;
    margin: 0.2in auto 0;
    padding-top: 0.12in;
  }

  .insight-label {
    font-size: 6pt;
  }

  .insight p {
    font-size: 17pt;
  }

  .dolly-stage {
    grid-template-columns: 3.25in 1fr;
    gap: 0.35in;
    max-width: 6.8in;
  }

  .gif-frame {
    width: 3.05in;
    padding: 0.06in;
    box-shadow: none;
  }

  .motion-label {
    padding: 0.04in 0.07in;
    font-size: 5.5pt;
  }

  .motion-label-a {
    left: -0.08in;
  }

  .motion-label-b {
    right: -0.08in;
  }

  .dolly-notes > div {
    grid-template-columns: 0.28in 1fr;
    gap: 0.08in;
    padding: 0.13in 0;
  }

  .note-index {
    font-size: 14pt;
  }

  .dolly-notes p,
  .dolly-notes strong {
    font-size: 7pt;
    line-height: 1.35;
  }

  footer {
    padding: 0.12in 0.2in;
    font-size: 5.5pt;
  }
}

/* Navigation shared across the project collection. */
.project-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.project-nav a,
.project-nav a:nth-child(2) {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  text-decoration: none;
}
.project-nav a[aria-current="page"] { font-weight: 700; }
.project-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media print { .project-nav { display: none; } }
