:root {
  color-scheme: light;
  --ink: #182723;
  --ink-soft: #52635e;
  --paper: #f6f1e6;
  --paper-deep: #ebe2d1;
  --forest: #143c36;
  --forest-light: #21584f;
  --river: #9ed4d0;
  --gold: #c49342;
  --line: rgba(24, 39, 35, 0.17);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(17, 39, 34, 0.17);
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(158, 212, 208, 0.22), transparent 26rem),
    linear-gradient(90deg, transparent 49.95%, rgba(20, 60, 54, 0.035) 50%, transparent 50.05%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.wrap {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.25rem;
  background: var(--white);
  color: var(--forest);
  font-weight: 800;
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.photo-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 5.25rem;
  padding: 0.75rem clamp(1.5rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--forest);
  color: var(--white);
}

.photo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.photo-brand__mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.photo-brand__mark svg {
  width: 1.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.photo-brand__mark circle {
  fill: var(--gold);
  stroke: none;
}

.photo-brand > span:last-child {
  display: grid;
  line-height: 1.05;
}

.photo-brand strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.photo-brand small {
  margin-top: 0.25rem;
  color: var(--river);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.photo-menu {
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.65rem, 1.25vw, 1.35rem);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-menu a {
  position: relative;
  padding: 0.75rem 0;
  text-decoration: none;
}

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

.photo-menu a:hover::after,
.photo-menu a.is-active::after {
  transform: scaleX(1);
}

.photo-menu-button {
  display: none;
  justify-self: end;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumbs {
  display: flex;
  gap: 0.65rem;
  overflow: hidden;
  padding-block: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 19rem);
  gap: 4rem;
  align-items: end;
  padding-block: clamp(2.75rem, 7vw, 6.5rem) clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--forest-light);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--gold);
}

.photo-intro h1 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 6.7vw, 7.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
}

.photo-intro__lead {
  max-width: 48rem;
  margin: 1.8rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.photo-intro__actions {
  display: grid;
  gap: 0.75rem;
  align-content: end;
}

.photo-intro__actions a,
.photo-intro__actions button {
  display: inline-flex;
  justify-content: center;
  min-height: 3.2rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.photo-intro__actions button {
  background: var(--forest);
  color: var(--white);
}

.photo-intro__actions a:hover,
.photo-intro__actions button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.photo-intro__actions [role="status"] {
  min-height: 1.2rem;
  color: var(--forest-light);
  font-size: 0.75rem;
  text-align: center;
}

.photo-stage {
  margin: 0;
  background: #0e2421;
  color: var(--white);
}

.photo-stage > a {
  display: grid;
  min-height: min(72vw, 51rem);
  padding: clamp(1rem, 3vw, 2.5rem);
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(158, 212, 208, 0.13), transparent 55%),
    #0e2421;
}

.photo-stage img {
  width: auto;
  max-width: min(100%, 104rem);
  height: auto;
  max-height: min(82vh, 58rem);
  box-shadow: var(--shadow);
  object-fit: contain;
}

.photo-stage figcaption {
  display: grid;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(0, 1.35fr);
  gap: 2rem;
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
  padding-block: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.photo-stage figcaption strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
}

.photo-stage figcaption span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.78rem;
  line-height: 1.55;
}

.photo-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.75fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(5rem, 9vw, 9rem);
}

.photo-story h2,
.photo-facts h2 {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.15rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.photo-story__prose {
  max-width: 46rem;
}

.photo-story__prose p {
  margin: 0 0 1.35rem;
  color: #273a35;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.75vw, 1.32rem);
  line-height: 1.72;
}

.photo-story__prose p:first-child::first-letter {
  float: left;
  margin: 0.11em 0.1em 0 0;
  color: var(--forest);
  font-size: 4em;
  line-height: 0.78;
}

.certainty-note {
  max-width: 46rem;
  margin-top: 2.5rem;
  padding: 1.5rem 1.6rem;
  border-left: 4px solid var(--gold);
  background: rgba(255, 253, 248, 0.72);
}

.certainty-note strong {
  color: var(--forest);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.certainty-note p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.photo-facts {
  align-self: start;
  padding: 2rem;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 50px rgba(27, 51, 45, 0.07);
}

.photo-facts h2 {
  font-size: 2.35rem;
}

.photo-facts dl {
  margin: 0;
}

.photo-facts dl > div {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.photo-facts dt {
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.source-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 0.2rem;
  background: var(--forest);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.source-link:hover {
  background: var(--forest-light);
}

.rights-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

.photo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.photo-tags li {
  padding: 0.28rem 0.58rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest-light);
  font-size: 0.65rem;
  font-weight: 750;
}

.photo-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  padding-block: 1.5rem clamp(5rem, 9vw, 9rem);
}

.photo-pager__item,
.photo-pager__all {
  display: flex;
  min-height: 8rem;
  justify-content: center;
  flex-direction: column;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.55);
  text-decoration: none;
}

.photo-pager__item span {
  margin-bottom: 0.5rem;
  color: var(--forest-light);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.photo-pager__item strong {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 500;
  line-height: 1.3;
}

.photo-pager__item--next {
  text-align: right;
}

.photo-pager__all {
  min-width: 9rem;
  align-items: center;
  background: var(--forest);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.photo-pager__item:hover,
.photo-pager__all:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 35px rgba(20, 60, 54, 0.09);
  transform: translateY(-2px);
}

.photo-footer {
  padding: 4.5rem 0 1.5rem;
  background: var(--forest);
  color: var(--white);
}

.photo-footer .photo-footer__grid {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(150px, .8fr) minmax(310px, 1.7fr) minmax(175px, .95fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.photo-footer__brand {
  display: grid;
  gap: .18rem;
}

.photo-footer__brand p {
  display: block;
  max-width: 17rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  line-height: 1.65;
}

.photo-footer__brand strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}

.photo-footer__brand > span {
  color: rgba(255, 255, 255, 0.65);
  font-size: .7rem;
}

.photo-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .48rem;
  color: rgba(255, 255, 255, .68);
  font-size: .75rem;
}

.photo-footer__nav h2 {
  margin: 0 0 .65rem;
  color: #f1cc75;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.photo-footer__nav a {
  text-decoration: none;
}

.photo-footer__nav a:hover,
.photo-footer__lead {
  color: var(--white);
}

.photo-footer__lead {
  margin-bottom: .5rem;
  font-weight: 800;
}

.photo-footer__links {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .48rem 1.4rem;
}

.photo-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .58);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.photo-footer__bottom a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 1100px) {
  .photo-header {
    grid-template-columns: 1fr auto;
    padding-inline: 1rem;
  }

  .photo-menu-button {
    display: inline-flex;
  }

  .photo-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--forest);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  }

  .photo-menu.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-menu a {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .photo-footer .photo-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-footer__brand,
  .photo-footer__nav--residents {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .wrap,
  .photo-stage figcaption {
    width: min(100% - 2rem, 1180px);
  }

  .photo-header {
    grid-template-columns: 1fr auto;
    padding-inline: 1rem;
  }

  .photo-menu-button {
    display: inline-flex;
  }

  .photo-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--forest);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  }

  .photo-menu.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-menu a {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .photo-intro,
  .photo-content {
    grid-template-columns: 1fr;
  }

  .photo-intro {
    gap: 2rem;
  }

  .photo-intro__actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-intro__actions [role="status"] {
    grid-column: 1 / -1;
  }

  .photo-stage > a {
    min-height: 55vw;
  }

  .photo-stage figcaption {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .photo-content {
    gap: 4rem;
  }

  .photo-facts {
    width: 100%;
  }

  .photo-pager {
    grid-template-columns: 1fr 1fr;
  }

  .photo-pager__all {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 4rem;
  }
}

@media (max-width: 520px) {
  .photo-brand strong {
    font-size: 1.35rem;
  }

  .photo-intro h1 {
    font-size: clamp(2.65rem, 14vw, 4.3rem);
  }

  .photo-intro__actions,
  .photo-pager {
    grid-template-columns: 1fr;
  }

  .photo-stage > a {
    min-height: 70vw;
    padding: 0.75rem;
  }

  .photo-story__prose p {
    font-size: 1.08rem;
  }

  .photo-facts {
    padding: 1.25rem;
  }

  .photo-facts dl > div {
    grid-template-columns: 5.2rem 1fr;
  }

  .photo-pager__all {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-pager__item--next {
    text-align: left;
  }

  .photo-footer { padding-top: 3.5rem; }
  .photo-footer .photo-footer__grid { grid-template-columns: 1fr; gap: 2.35rem; }
  .photo-footer__brand,
  .photo-footer__nav--residents { grid-column: auto; }
  .photo-footer__links { grid-template-columns: 1fr; }
  .photo-footer__bottom { align-items: flex-start; flex-direction: column; gap: .6rem; }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .photo-header,
  .photo-intro__actions,
  .photo-pager,
  .photo-footer,
  .breadcrumbs {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .photo-intro,
  .photo-content {
    width: 100%;
    padding: 1rem 0;
  }

  .photo-stage {
    break-inside: avoid;
  }

  .photo-stage > a {
    min-height: auto;
    background: #fff;
  }

  .photo-stage figcaption {
    color: #000;
  }
}
