/* The existing Rive light, typography and photographic handoffs remain intact.
   Only the autonomous, photograph-led project reading receives this layout. */
.rive-photo-project {
  --rive-reading-gap: clamp(28px, 5vw, 80px);
  --rive-reading-space: clamp(64px, 8vw, 124px);
  --rive-excerpt-scale: 1.08;
  padding-top: max(104px, var(--site-header-height, 104px));
}
.rive-photo-project *,
.rive-photo-project *::before,
.rive-photo-project *::after {
  box-sizing: border-box;
}
.rive-photo-project .section-pad {
  min-width: 0;
}
.rive-photo-project .rive-photo-opening,
.rive-photo-project .rive-photo-intention,
.rive-photo-project .rive-photo-material,
.rive-photo-project .rive-photo-departure {
  padding-top: var(--rive-reading-space);
  padding-bottom: var(--rive-reading-space);
}
.rive-photo-project [data-project-chapter] {
  scroll-margin-top: max(176px, calc(var(--site-header-height, 104px) + 72px));
}
.rive-photo-project .project-chapters a {
  min-height: 44px;
}
.rive-photo-project .project-chapters > div {
  min-width: 0;
}
.rive-photo-project .rive-photo-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.75fr) minmax(0, 3.25fr);
  gap: var(--rive-reading-gap);
  padding-bottom: clamp(36px, 5vw, 72px);
}
.rive-photo-project .rive-photo-heading > .eyebrow {
  padding-top: 14px;
}
.rive-photo-project h1 {
  font-family: var(--serif, "Instrument Serif", serif);
  font-size: clamp(52px, 7.4vw, 116px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.rive-photo-project .rive-photo-idea {
  max-width: 680px;
  margin-top: 23px;
  font-size: clamp(17px, 1.65vw, 24px);
  line-height: 1.6;
}
.rive-photo-project .rive-photo-evidence {
  display: grid;
  grid-template-columns: minmax(0, 3.15fr) minmax(190px, 1fr);
  gap: var(--rive-reading-gap);
  align-items: start;
}
.rive-photo-project .rive-photo-primary {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  margin: 0;
}
.rive-photo-project .rive-photo-frame,
.rive-photo-project .rive-photo-primary.place-photograph .place-photo {
  width: 100%;
  height: auto;
  aspect-ratio: var(--rive-photo-ratio);
  position: relative;
  overflow: hidden;
  background: var(--place-paper, #f8f4ea);
  box-shadow: 0 22px 55px -35px #293c344d;
}
.rive-photo-project .rive-photo-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rive-photo-project .rive-photo-primary .rive-photo-frame > img {
  transform: none;
  scale: 1;
  translate: none;
}
.rive-photo-project .rive-photo-primary figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.7;
}
.rive-photo-project .rive-photo-primary figcaption > span {
  max-width: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
.rive-photo-project .rive-photo-primary figcaption > span:last-child {
  text-align: right;
}
.rive-photo-project .rive-photo-expand {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  padding: 10px 0;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid var(--place-line);
  background: transparent;
  color: var(--place-ink);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: none;
}
.rive-photo-project .rive-photo-expand > span {
  font-size: 20px;
}
.rive-photo-project .rive-photo-expand:hover {
  background: transparent;
  color: var(--place-ink);
  border-bottom-color: currentColor;
}
.rive-photo-project .rive-photo-facts {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0 0 25px;
  border-bottom: 1px solid var(--place-line);
}
.rive-photo-project .rive-photo-facts dt {
  font-family: var(--mono, monospace);
  font-size: 10px;
  line-height: 1.5;
  margin-bottom: 7px;
  opacity: 0.8;
}
.rive-photo-project .rive-photo-facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.rive-photo-project .rive-photo-introduction {
  margin-top: 27px;
  font-size: 14px;
  line-height: 1.85;
}
.rive-photo-project--portrait .rive-photo-evidence {
  grid-template-columns: minmax(0, 430px) minmax(220px, 1fr);
  max-width: 1000px;
  margin-left: auto;
}
.rive-photo-project--portrait .rive-photo-primary {
  max-width: 430px;
}
.rive-photo-project--portrait .rive-photo-material-grid {
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  max-width: 1000px;
  margin-left: auto;
}
.rive-photo-project--wide .rive-photo-evidence {
  grid-template-columns: minmax(0, 1fr);
}
.rive-photo-project--wide .rive-photo-context {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: var(--rive-reading-gap);
}
.rive-photo-project--wide .rive-photo-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rive-photo-project--wide .rive-photo-introduction {
  margin-top: 0;
}
.rive-photo-project .rive-photo-intention {
  background: var(--place-paper);
}
.rive-photo-project .rive-photo-section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.75fr) minmax(0, 3.25fr);
  gap: var(--rive-reading-gap);
  margin-bottom: 42px;
}
.rive-photo-project .rive-photo-section-heading > .eyebrow {
  padding-top: 12px;
}
.rive-photo-project h2 {
  font-family: var(--serif, "Instrument Serif", serif);
  font-size: clamp(48px, 6.1vw, 94px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.rive-photo-project h2 em {
  font-weight: 400;
}
.rive-photo-project .rive-photo-decision {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(36px, 9vw, 150px);
  align-items: start;
  padding-top: 35px;
  border-top: 1px solid var(--place-line);
}
.rive-photo-project .rive-photo-question {
  max-width: 740px;
  font-family: var(--serif, "Instrument Serif", serif);
  font-size: clamp(31px, 3.2vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.rive-photo-project .rive-photo-decision-copy {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.85;
  max-width: 660px;
}
.rive-photo-project .rive-photo-decision .text-link {
  margin-top: 26px;
}
.rive-photo-project .rive-photo-material-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: var(--rive-reading-gap);
  align-items: center;
}
.rive-photo-project .rive-photo-detail {
  min-width: 0;
  margin: 0;
}
.rive-photo-project .rive-photo-detail--excerpt .rive-photo-detail-frame > img {
  transform: scale(var(--rive-excerpt-scale));
  transform-origin: var(--rive-focus-x) var(--rive-focus-y);
}
.rive-photo-project .rive-photo-detail figcaption {
  margin-top: 19px;
  font-size: 12px;
  line-height: 1.7;
}
.rive-photo-project .rive-photo-detail figcaption > span {
  font-family: var(--mono, monospace);
  font-size: 10px;
}
.rive-photo-project .rive-photo-detail figcaption p {
  margin-top: 9px;
  max-width: 520px;
}
.rive-photo-project .rive-photo-palette {
  padding: 26px 0;
  border-top: 1px solid var(--place-line);
  border-bottom: 1px solid var(--place-line);
}
.rive-photo-project .rive-photo-palette ul {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
}
.rive-photo-project .rive-photo-palette li {
  font-family: var(--serif, "Instrument Serif", serif);
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.rive-photo-project .rive-photo-use {
  margin-top: 29px;
  font-size: 16px;
  line-height: 1.85;
}
.rive-photo-project .rive-photo-material-copy > .text-link {
  margin-top: 29px;
}
.rive-photo-project .rive-photo-departure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(45px, 10vw, 160px);
  align-items: center;
  border-top: 1px solid var(--place-line);
}
.rive-photo-project .rive-photo-departure h2 {
  margin: 24px 0 30px;
}
.rive-photo-project .rive-photo-next {
  min-width: 0;
  display: block;
  text-decoration: none;
}
.rive-photo-project .rive-photo-next-frame {
  overflow: hidden;
  background: var(--place-paper);
}
.rive-photo-project .rive-photo-next-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rive-photo-project .rive-photo-next > .eyebrow {
  display: block;
  margin-top: 22px;
}
.rive-photo-project .rive-photo-next > strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif, "Instrument Serif", serif);
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.rive-photo-project .rive-photo-next-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding-top: 14px;
  font-size: 12px;
}
.rive-photo-project .rive-photo-next-action i {
  font-style: normal;
  font-size: 20px;
}
.rive-photo-project .text-link {
  min-height: 44px;
  line-height: 1.5;
}
.rive-photo-project a:focus-visible,
.rive-photo-project button:focus-visible {
  outline: 2px solid var(--place-ink, #193a36);
  outline-offset: 5px;
}
.rive-photo-project .rive-photo-expand:focus-visible {
  outline-color: var(--place-ink, #193a36);
}
.rive-photo-project .place-write-link:focus-visible {
  outline-color: #f8f4ea;
}

@media (max-width: 960px) {
  .rive-photo-project .rive-photo-heading,
  .rive-photo-project .rive-photo-section-heading {
    grid-template-columns: minmax(110px, 0.7fr) minmax(0, 2.3fr);
  }
  .rive-photo-project .rive-photo-evidence {
    grid-template-columns: minmax(0, 2.4fr) minmax(165px, 1fr);
  }
  .rive-photo-project--portrait .rive-photo-evidence {
    grid-template-columns: minmax(0, 1.7fr) minmax(180px, 1fr);
  }
  .rive-photo-project--wide .rive-photo-evidence {
    grid-template-columns: minmax(0, 1fr);
  }
  .rive-photo-project .rive-photo-material-grid {
    gap: 30px;
  }
}
@media (max-width: 720px) {
  .rive-photo-project {
    --rive-reading-space: 58px;
    --rive-reading-gap: 26px;
    padding-top: max(84px, var(--site-header-height, 84px));
  }
  .rive-photo-project .project-chapters {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .rive-photo-project .project-chapters > div {
    display: flex;
    gap: 12px;
    justify-content: space-between;
  }
  .rive-photo-project .project-chapters a {
    gap: 7px;
    font-size: 12px;
  }
  .rive-photo-project [data-project-chapter] {
    scroll-margin-top: max(158px, calc(var(--site-header-height, 84px) + 74px));
  }
  .rive-photo-project .rive-photo-heading,
  .rive-photo-project .rive-photo-section-heading {
    display: block;
  }
  .rive-photo-project .rive-photo-heading > .eyebrow,
  .rive-photo-project .rive-photo-section-heading > .eyebrow {
    display: block;
    padding-top: 0;
    padding-bottom: 22px;
  }
  .rive-photo-project h1 {
    font-size: clamp(45px, 12vw, 74px);
    line-height: 1.05;
  }
  .rive-photo-project h2 {
    font-size: clamp(44px, 11.5vw, 68px);
  }
  .rive-photo-project .rive-photo-idea {
    font-size: 17px;
    margin-top: 20px;
  }
  .rive-photo-project .rive-photo-evidence,
  .rive-photo-project--portrait .rive-photo-evidence,
  .rive-photo-project--wide .rive-photo-context,
  .rive-photo-project .rive-photo-material-grid,
  .rive-photo-project .rive-photo-decision,
  .rive-photo-project .rive-photo-departure {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-left: 0;
  }
  .rive-photo-project .rive-photo-primary {
    max-width: none;
  }
  .rive-photo-project .rive-photo-primary figcaption {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin-top: 15px;
  }
  .rive-photo-project .rive-photo-primary figcaption > span:last-child {
    text-align: left;
  }
  .rive-photo-project .rive-photo-facts,
  .rive-photo-project--wide .rive-photo-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .rive-photo-project .rive-photo-introduction {
    margin-top: 24px;
  }
  .rive-photo-project--wide .rive-photo-introduction {
    margin-top: 0;
  }
  .rive-photo-project .rive-photo-decision {
    padding-top: 27px;
  }
  .rive-photo-project .rive-photo-question {
    font-size: clamp(29px, 7.9vw, 40px);
  }
  .rive-photo-project .rive-photo-decision-copy,
  .rive-photo-project .rive-photo-use {
    font-size: 15px;
    line-height: 1.8;
  }
  .rive-photo-project .rive-photo-section-heading {
    margin-bottom: 30px;
  }
  .rive-photo-project .rive-photo-palette li {
    font-size: 30px;
  }
  .rive-photo-project .rive-photo-departure {
    gap: 48px;
  }
  .rive-photo-project .rive-photo-next > strong {
    font-size: clamp(34px, 8vw, 48px);
  }
}
@media (max-width: 360px) {
  .rive-photo-project .project-chapters > div {
    gap: 7px;
  }
  .rive-photo-project .project-chapters a {
    gap: 5px;
    font-size: 11px;
  }
  .rive-photo-project .rive-photo-facts {
    gap: 19px 15px;
  }
  .rive-photo-project .rive-photo-facts dd {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rive-photo-project *,
  .rive-photo-project *::before,
  .rive-photo-project *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .rive-photo-project .rive-photo-frame > img {
    scale: none !important;
    translate: none !important;
    clip-path: none !important;
  }
}
