:root {
  --ink: #11110f;
  --ink-soft: #37352f;
  --paper: #f2efe8;
  --paper-deep: #e7e1d6;
  --line: rgba(17, 17, 15, .16);
  --line-light: rgba(255, 255, 255, .26);
  --white: #fff;
  --accent: #c7ff5d;
  --radius-sm: .6rem;
  --radius-md: 1rem;
  --radius-lg: 1.6rem;
  --shell: min(1240px, calc(100% - 40px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 80px rgba(0,0,0,.22);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

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

body.light-page {
  color: var(--ink);
  background: var(--paper);
}

body.dialog-open { overflow: hidden; }

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

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

button { font: inherit; }

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

a:hover { text-decoration-thickness: .08em; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  left: 12px;
  top: 12px;
  transform: translateY(-180%);
  background: var(--accent);
  color: var(--ink);
  padding: .7rem 1rem;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
  padding: 0 max(20px, calc((100vw - 1240px) / 2));
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(17,17,15,.86);
  border-color: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}

.site-header-light {
  position: sticky;
  color: var(--ink);
  background: rgba(242,239,232,.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand[data-brand-font="sans"] {
  font-family: var(--sans);
}

.brand[data-brand-font="editorial"] {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .015em;
  text-transform: none;
}

.brand[data-brand-font="classic"] {
  font-family: Baskerville, "Palatino Linotype", Palatino, "Book Antiqua", serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
}

.brand[data-brand-font="mono"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}


.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: .82rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-contact):not(.nav-social-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.35rem;
  height: 1px;
  background: currentColor;
  transition: right .2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }

.nav-contact {
  padding: .2rem 0;
  border: 0;
  border-radius: 0;
}


.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-left: -.75rem;
}

.nav-social-link {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
}

.nav-social-link::after {
  display: none !important;
}

.nav-social-link img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: invert(1);
  opacity: .66;
  transition: opacity .18s ease, transform .18s ease;
}

.nav-social-link:hover img,
.nav-social-link:focus-visible img {
  opacity: 1;
  transform: translateY(-1px);
}

/* Journal/article headers are light, so use the original dark PNGs. */
.site-header-light .nav-social-link img {
  filter: none;
}

.nav-social-link:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform .2s ease;
}

.hero {
  min-height: 100svh;
  background: #171812;
}

.carousel {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}

.carousel-track,
.carousel-slide {
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .75s ease, visibility .75s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.carousel-slide img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.carousel-slide.is-active img {
  animation: heroDrift 8s ease-out both;
}

@keyframes heroDrift {
  from { transform: scale(1.06); }
  to { transform: scale(1.015); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.64) 0%, rgba(0,0,0,.2) 52%, rgba(0,0,0,.08) 100%),
    linear-gradient(0deg, rgba(0,0,0,.42) 0%, transparent 45%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(20px, calc((100vw - 1240px) / 2));
  bottom: clamp(7rem, 14vh, 10rem);
  width: min(760px, calc(100vw - 40px));
}

.eyebrow,
.section-kicker,
.journal-meta {
  margin: 0 0 1rem;
  font-size: .71rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 8.2vw, 8.4rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.055em;
}

.hero-copy p:not(.eyebrow) {
  max-width: 540px;
  margin: 1.5rem 0 2rem;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(255,255,255,.82);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.2rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .02em;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.button:hover { transform: translateY(-2px); }

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.carousel-controls {
  position: absolute;
  z-index: 4;
  right: max(20px, calc((100vw - 1240px) / 2));
  bottom: 2.6rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.icon-button:hover {
  transform: scale(1.06);
}

.icon-button-light {
  color: var(--white);
  border-color: rgba(255,255,255,.48);
  background: rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
}

.icon-button-light:hover {
  color: var(--ink);
  background: var(--white);
}

.carousel-dots {
  display: flex;
  gap: .42rem;
}

.carousel-dot {
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background-color .2s ease, width .2s ease;
}

.carousel-dot.is-active {
  width: 52px;
  background: var(--white);
}


/* Minimal edge navigation — thin chevrons with no circles or backgrounds */
.minimal-chevron {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,.72);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

.minimal-chevron:hover {
  color: var(--white);
}

.minimal-chevron:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
  border-radius: 4px;
}

.minimal-chevron span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.minimal-chevron-prev {
  left: clamp(8px, 1.8vw, 30px);
}

.minimal-chevron-prev span {
  transform: rotate(-135deg);
}

.minimal-chevron-next {
  right: clamp(8px, 1.8vw, 30px);
}

.minimal-chevron-next span {
  transform: rotate(45deg);
}

.minimal-chevron-prev:hover {
  transform: translate(-2px, -50%);
}

.minimal-chevron-next:hover {
  transform: translate(2px, -50%);
}

.lightbox-chevron {
  z-index: 3;
}

@media (max-width: 600px) {
  .minimal-chevron {
    width: 44px;
    height: 64px;
  }

  .minimal-chevron-prev {
    left: 2px;
  }

  .minimal-chevron-next {
    right: 2px;
  }

  .minimal-chevron span {
    width: 10px;
    height: 10px;
  }

  .minimal-close {
    width: 44px;
    height: 44px;
  }

  .lightbox-close {
    top: .8rem;
    right: .8rem;
  }
}

.intro {
  padding: 8rem 0 6rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.section-kicker { color: rgba(255,255,255,.58); }

.light-page .section-kicker,
.article .section-kicker { color: rgba(17,17,15,.55); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr;
  gap: 5rem;
  align-items: end;
}

.intro-grid h2,
.section-heading h2,
.about-card h2,
.journal-hero h1,
.article-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
}

.intro-grid h2 {
  max-width: 820px;
  font-size: clamp(2.7rem, 5.3vw, 5.8rem);
  line-height: .98;
}

.intro-grid p {
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 1.02rem;
}

.portfolio { padding: 7rem 0 8rem; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  line-height: 1;
}

.section-heading > p {
  max-width: 320px;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: .9rem;
}

.light-page .section-heading > p {
  color: rgba(17,17,15,.58);
}

.filter-row {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-chip {
  position: relative;
  min-height: 42px;
  padding: .55rem 0;
  color: rgba(255,255,255,.62);
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  transition: color .18s ease;
}

.filter-chip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .28rem;
  height: 1px;
  background: currentColor;
  transition: right .18s ease;
}

.filter-chip:hover {
  color: var(--white);
}

.filter-chip:hover::after,
.filter-chip.is-active::after {
  right: 0;
}

.filter-chip.is-active {
  color: var(--white);
  background: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 14px;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 3;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-sm);
  background: #25251f;
  color: var(--white);
  text-align: left;
  cursor: zoom-in;
}

.gallery-card-wide { grid-column: span 8; }
.gallery-card-tall { grid-row: span 4; }

.gallery-card[hidden] { display: none; }

.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .45s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 rgba(199,255,93,.9);
  transition: box-shadow .22s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(.9) contrast(1.04);
}

.gallery-card:focus-visible::after {
  box-shadow: inset 0 0 0 4px rgba(199,255,93,.95);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding: 3rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.gallery-overlay span:first-child {
  font-family: var(--serif);
  font-size: 1.45rem;
}

.gallery-overlay span:last-child {
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.gallery-card:hover .gallery-overlay,
.gallery-card:focus-visible .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.about { padding: 0 0 8rem; }

.about-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 5rem;
  padding: 4rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  background: #181815;
}

.about-number {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 1;
  color: rgba(255,255,255,.08);
}

.about-card h2 {
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: 1;
}

.about-card p:not(.section-kicker) {
  max-width: 640px;
  color: rgba(255,255,255,.62);
  font-size: 1.03rem;
}

.text-link {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding-bottom: .2rem;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.journal-preview { padding: 0 0 9rem; }

.journal-card {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
}

.journal-card-image { overflow: hidden; }
.journal-card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.journal-card:hover .journal-card-image img { transform: scale(1.025); }

.journal-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.2rem);
}

.journal-card-copy h3,
.featured-post-copy h3,
.coming-card h3 {
  margin: .2rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.journal-card-copy > p:not(.journal-meta) { color: rgba(17,17,15,.64); }
.journal-card-copy .text-link { margin-top: 1rem; align-self: start; }

.site-footer {
  width: var(--shell);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.site-footer > p:first-child {
  justify-self: start;
}

.site-footer > .footer-links {
  justify-self: center;
}

.site-footer > a:last-child {
  justify-self: end;
  text-align: right;
}

.site-footer-light {
  color: rgba(17,17,15,.56);
  border-top-color: var(--line);
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  padding: 0;
  border: 0;
  background: rgba(9,9,8,.94);
  color: var(--white);
}

.lightbox::backdrop { background: rgba(9,9,8,.94); }

.lightbox-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 5rem clamp(1rem, 4vw, 4rem) 2rem;
}

.lightbox-close {
  position: absolute;
  z-index: 4;
  top: 1.35rem;
  right: 1.35rem;
}

.minimal-close {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,.72);
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

.minimal-close:hover {
  color: var(--white);
  transform: scale(1.04);
}

.minimal-close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
  border-radius: 4px;
}

.minimal-close span {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
}

.minimal-close span::before,
.minimal-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
}

.minimal-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.minimal-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}


.lightbox-figure {
  display: grid;
  gap: 1rem;
  max-width: min(1100px, 80vw);
  max-height: 88svh;
  margin: 0;
}

.lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: 76svh;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.lightbox-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,.64);
  font-size: .82rem;
}

.lightbox-figure strong { color: var(--white); }

/* Journal */
.journal-hero {
  padding: 8rem 0 5rem;
}

.journal-hero h1 {
  max-width: 930px;
  font-size: clamp(3.6rem, 7vw, 7.6rem);
  line-height: .92;
}

.journal-hero-dek {
  max-width: 680px;
  margin: 2rem 0 0 auto;
  color: rgba(17,17,15,.62);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.journal-list { padding-bottom: 8rem; }

.featured-post {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-post-image { overflow: hidden; min-height: 420px; }
.featured-post-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.featured-post-image:hover img { transform: scale(1.025); }

.featured-post-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: clamp(2rem, 4vw, 4rem);
}

.featured-post-copy > p:not(.journal-meta) {
  color: rgba(17,17,15,.62);
}

.featured-post-copy .button { margin-top: 1rem; }

.coming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.coming-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.coming-index {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: rgba(17,17,15,.25);
}

.coming-card h3 {
  font-size: 1.8rem;
}
.coming-card p:last-child {
  color: rgba(17,17,15,.6);
}

.article-header {
  max-width: 980px;
  padding-top: 6rem;
  padding-bottom: 4rem;
  text-align: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 3rem;
  padding-bottom: .2rem;
  border-bottom: 1px solid currentColor;
  font-size: .82rem;
  font-weight: 800;
}

.article-header h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: .92;
}

.article-dek {
  max-width: 700px;
  margin: 2rem auto 0;
  color: rgba(17,17,15,.62);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.article-byline {
  margin: 2rem 0 0;
  font-size: .82rem;
}

.article-hero {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto 5rem;
}

.article-hero img {
  max-height: 78svh;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.article-body {
  width: min(740px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 8rem;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.2rem);
  line-height: 1.82;
}

.article-body > * {
  margin-top: 0;
  margin-bottom: 1.65rem;
}

.article-lead {
  font-size: clamp(1.32rem, 2vw, 1.62rem);
  line-height: 1.6;
}

.article-body h2 {
  margin-top: 4rem;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.article-body blockquote {
  margin: 4rem -7vw;
  padding: 0;
  border: 0;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  text-align: center;
}

.article-body ul {
  padding-left: 1.25rem;
}

.article-body li { margin-bottom: .65rem; }

.article-inline-image {
  margin: 4rem -12vw;
}

.article-inline-image img {
  border-radius: var(--radius-md);
}

.article-inline-image figcaption {
  margin-top: .75rem;
  font-family: var(--sans);
  color: rgba(17,17,15,.55);
  font-size: .75rem;
}

.article-end {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .82rem;
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 28px, 1240px); }

  .site-header {
    padding-inline: 14px;
  }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: .9rem;
  }

  .site-nav a::after { display: none; }

  .nav-contact {
    margin-top: .3rem;
    text-align: center;
  }

  .nav-socials {
    justify-content: center;
    gap: 1rem;
    margin: .15rem 0 .2rem;
    padding: .45rem .9rem .3rem;
  }

  .nav-social-link {
    width: 36px;
    height: 36px;
    padding: 0 !important;
  }

  .nav-social-link img {
    width: 20px;
    height: 20px;
    filter: none;
    opacity: .72;
  }

  .hero-copy {
    bottom: 8rem;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(3.3rem, 12vw, 6rem);
  }

  .carousel-controls {
    right: 20px;
    bottom: 1.5rem;
  }

  .intro { padding: 6rem 0 4rem; }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-card,
  .gallery-card-wide {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-card-tall { grid-row: span 3; }

  .gallery-overlay {
    opacity: 1;
    transform: none;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem;
  }

  .journal-card,
  .featured-post {
    grid-template-columns: 1fr;
  }

  .journal-card-image { min-height: 420px; }

  .coming-grid { grid-template-columns: 1fr; }

  .article-body blockquote,
  .article-inline-image {
    margin-left: 0;
    margin-right: 0;
  }

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

  .site-footer > p:first-child,
  .site-footer > .footer-links,
  .site-footer > a:last-child {
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    width: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .carousel { min-height: 600px; }
  .hero-copy {
    left: 20px;
    width: calc(100vw - 40px);
  }
  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .carousel-controls {
    left: 20px;
    right: auto;
  }

  .icon-button { width: 44px; height: 44px; }

  .portfolio { padding: 5rem 0; }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 72vw;
  }

  .gallery-card,
  .gallery-card-wide,
  .gallery-card-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-card:nth-child(3n+1) { min-height: 98vw; }

  .gallery-overlay span:last-child { display: none; }

  .journal-preview { padding-bottom: 6rem; }
  .journal-card { min-height: 0; }
  .journal-card-image { min-height: 320px; }

  .lightbox-shell {
    padding: 5rem 1rem 5.5rem;
  }
  .lightbox-figure { max-width: 100%; }

  .journal-hero { padding: 5rem 0 3rem; }
  .journal-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .journal-hero-dek { margin-left: 0; }

  .featured-post-image { min-height: 300px; }

  .coming-card {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .article-header {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }
  .article-header h1 { font-size: clamp(3rem, 14vw, 5.2rem); }
  .article-hero { margin-bottom: 3rem; }
  .article-hero img { min-height: 54svh; }
  .article-end {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* Selected Work preview + full archive */
.portfolio-preview-actions {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}
.gallery-grid-preview .gallery-card:nth-child(n+13) {
  display: none;
}
.work-page {
  background: var(--ink);
  color: var(--paper);
}
.work-page .work-site-header {
  background: rgba(17,17,15,.9);
  border-bottom-color: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}
.work-page-main {
  min-height: 72vh;
}
.work-page-hero {
  padding-top: 10.5rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.work-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 4rem;
  align-items: end;
}
.work-page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.05em;
}
.work-page-hero-grid > p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 1rem;
}
.work-archive {
  padding-top: 3rem;
}
.work-archive .filter-row {
  position: sticky;
  z-index: 20;
  top: 76px;
  width: 100%;
  max-width: none;
  min-height: 64px;
  margin: 0 0 1.5rem;
  padding: .7rem 0;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(17,17,15,.22);
  backdrop-filter: none;
}
@media (max-width: 900px) {
  .work-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .work-page-hero {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }
  .work-page-hero h1 {
    font-size: clamp(3.5rem, 16vw, 5.2rem);
  }
  .work-archive .filter-row {
    top: 66px;
    width: 100%;
    min-height: 58px;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: 0;
    background: var(--ink);
  }
  .work-archive .filter-chip {
    flex: 0 0 auto;
  }
}


.work-archive .gallery-grid {
  position: relative;
  z-index: 1;
}


/* Editable external footer links */
.footer-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 1.35rem;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
}

.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: inherit;
  white-space: nowrap;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.28rem;
  height: 1px;
  background: currentColor;
  transition: right .18s ease;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  right: 0;
}

.footer-links a span {
  font-size: .88em;
}


.footer-links .social-icon-link {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
}

.footer-links .social-icon-link::after {
  display: none;
}

.footer-links .social-icon-link img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: invert(1);
  opacity: .62;
  transition: opacity .18s ease, transform .18s ease;
}

/* Light footers (Journal/article pages) use the original dark PNGs. */
.site-footer-light .footer-links .social-icon-link img {
  filter: none;
  opacity: .62;
}

.footer-links .social-icon-link:hover img,
.footer-links .social-icon-link:focus-visible img {
  opacity: 1;
  transform: translateY(-1px);
}

.site-footer-light .footer-links .social-icon-link:hover img,
.site-footer-light .footer-links .social-icon-link:focus-visible img {
  opacity: .92;
}


/* Collection-based Work archive */
.collection-index {
  padding-top: 3.2rem;
  padding-bottom: 8rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.collection-card {
  grid-column: span 6;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background: #181815;
  color: var(--white);
  text-decoration: none;
}

.collection-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #25251f;
}

.collection-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

.collection-card:hover .collection-card-media img,
.collection-card:focus-visible .collection-card-media img {
  transform: scale(1.025);
  filter: saturate(.92) contrast(1.03);
}

.collection-card:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.collection-card-copy {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: .85rem 1.25rem;
  align-items: baseline;
  padding: 1.3rem 1.35rem 1.4rem;
}

.collection-card-index,
.collection-card-count {
  color: rgba(255,255,255,.48);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.collection-card-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.025em;
}

.collection-card-arrow {
  font-size: 1.1rem;
  color: rgba(255,255,255,.65);
  transition: transform .18s ease, color .18s ease;
}

.collection-card:hover .collection-card-arrow,
.collection-card:focus-visible .collection-card-arrow {
  color: var(--white);
  transform: translateX(3px);
}

.collection-page-hero {
  padding-top: 9.5rem;
  padding-bottom: 3.8rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.collection-back-link {
  display: inline-block;
  margin-bottom: 2.4rem;
  padding-bottom: .18rem;
  border-bottom: 1px solid currentColor;
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.collection-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 4rem;
  align-items: end;
}

.collection-page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 8vw, 7.6rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}

.collection-page-hero-grid > p {
  margin: 0;
  color: rgba(255,255,255,.62);
}

.collection-archive {
  padding-top: 3rem;
  padding-bottom: 8rem;
}

@media (max-width: 900px) {
  .collection-card {
    grid-column: span 12;
  }

  .collection-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .collection-index {
    padding-top: 2rem;
    padding-bottom: 5rem;
  }

  .collection-card-copy {
    grid-template-columns: auto 1fr auto;
  }

  .collection-card-count {
    grid-column: 2;
  }

  .collection-card-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .collection-page-hero {
    padding-top: 7.6rem;
    padding-bottom: 3rem;
  }

  .collection-page-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }
}


/* Photo of the Month */
.monthly-page {
  color: var(--ink);
  background: var(--paper);
}

.monthly-page main {
  min-height: 70vh;
}

.nav-monthly {
  white-space: nowrap;
}

.monthly-feature {
  padding-top: clamp(5.5rem, 10vw, 8rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.monthly-feature-head {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1rem;
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.monthly-feature-head h1,
.monthly-empty h1,
.monthly-detail-head h1 {
  max-width: 1050px;
  margin: .55rem auto 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 8.8rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.055em;
  text-align: center;
}

.monthly-permalink {
  margin-bottom: 0;
  padding-bottom: .2rem;
  border-bottom: 1px solid currentColor;
  color: rgba(17,17,15,.56);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.monthly-permalink:hover,
.monthly-permalink:focus-visible {
  color: var(--ink);
}

.monthly-feature-image,
.monthly-detail-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: transparent;
}

.monthly-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  background: transparent;
}

.monthly-story,
.monthly-detail-story {
  display: grid;
  gap: 1.15rem;
  width: min(100%, 780px);
  margin: clamp(2.2rem, 5vw, 4.5rem) auto 0;
  text-align: center;
}

.monthly-meta {
  margin: 0;
  color: rgba(17,17,15,.58);
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
}

.monthly-prose {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.62;
  color: var(--ink-soft);
  text-align: center;
}

.monthly-prose p {
  margin: 0 0 1.25em;
}

.monthly-prose p:last-child {
  margin-bottom: 0;
}

.monthly-archive {
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}

.monthly-archive-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.monthly-archive-head h2 {
  margin: .3rem 0 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
}

.monthly-archive-head > p,
.monthly-empty-note {
  margin: 0;
  color: rgba(17,17,15,.58);
}

.monthly-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
}

.monthly-archive-card {
  display: grid;
  gap: .9rem;
  min-width: 0;
}

.monthly-archive-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
}

.monthly-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.monthly-archive-card:hover .monthly-archive-image img,
.monthly-archive-card:focus-visible .monthly-archive-image img {
  transform: scale(1.025);
}

.monthly-archive-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .25rem 1rem;
  align-items: baseline;
}

.monthly-archive-copy > span:first-child {
  grid-column: 1 / -1;
  color: rgba(17,17,15,.52);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.monthly-archive-copy strong {
  min-width: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.08;
}

.monthly-archive-copy > span:last-child {
  color: rgba(17,17,15,.58);
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.monthly-empty {
  min-height: 62vh;
  padding-top: clamp(7rem, 12vw, 11rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
}

.monthly-empty > p:last-child {
  max-width: 650px;
  margin: 2.25rem 0 0 auto;
  color: rgba(17,17,15,.62);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.monthly-archive-empty {
  min-height: 32vh;
}

/* Monthly detail pages */
.monthly-detail {
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.monthly-detail-head {
  max-width: 1060px;
  margin: 2rem auto clamp(2.4rem, 5vw, 4rem);
  text-align: center;
}

.monthly-detail-head .monthly-meta {
  margin-top: 1.4rem;
}

.monthly-detail-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  background: transparent;
}

.monthly-detail-story {
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

.monthly-detail-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: var(--shell);
  margin: 0 auto clamp(5rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.monthly-detail-nav a {
  display: grid;
  gap: .3rem;
  padding: 1.4rem 0;
}

.monthly-detail-nav a + a {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.monthly-detail-nav a:last-child {
  text-align: right;
}

.monthly-detail-nav span {
  color: rgba(17,17,15,.48);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.monthly-detail-nav strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .monthly-feature-head {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 1rem;
  }

  .monthly-permalink {
    justify-self: center;
  }

  .monthly-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .monthly-feature,
  .monthly-detail {
    padding-top: 3.5rem;
  }

  .monthly-feature-head h1,
  .monthly-empty h1,
  .monthly-detail-head h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .monthly-feature-image,
  .monthly-detail-image {
    margin-inline: -20px;
    border-radius: 0;
  }

  .monthly-archive-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
  }

  .monthly-archive-grid {
    grid-template-columns: 1fr;
  }

  .monthly-detail-nav {
    grid-template-columns: 1fr;
  }

  .monthly-detail-nav a + a {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .monthly-detail-nav a:last-child {
    text-align: left;
  }
}


/* Unified dark theme — Journal + Photo of the Month */
body.light-page,
.monthly-page {
  color: var(--paper);
  background: var(--ink);
}

/* Keep the Journal and Monthly headers sticky, but visually consistent with
   the dark Portfolio/homepage shell. */
.light-page .site-header-light,
.monthly-page .site-header-light {
  color: var(--paper);
  background: rgba(17,17,15,.94);
  border-bottom-color: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}

.light-page .site-header-light .nav-social-link img,
.monthly-page .site-header-light .nav-social-link img {
  filter: invert(1);
  opacity: .68;
}

.light-page .site-header-light .nav-social-link:hover img,
.light-page .site-header-light .nav-social-link:focus-visible img,
.monthly-page .site-header-light .nav-social-link:hover img,
.monthly-page .site-header-light .nav-social-link:focus-visible img {
  opacity: 1;
}

.light-page .site-footer-light,
.monthly-page .site-footer-light {
  color: rgba(255,255,255,.55);
  border-top-color: rgba(255,255,255,.14);
}

.light-page .site-footer-light .footer-links .social-icon-link img,
.monthly-page .site-footer-light .footer-links .social-icon-link img {
  filter: invert(1);
}

/* Journal index + article */
.light-page .journal-hero-dek,
.light-page .featured-post-copy > p:not(.journal-meta),
.light-page .coming-card p:last-child,
.light-page .article-dek,
.light-page .article-inline-image figcaption {
  color: rgba(255,255,255,.62);
}

.light-page .section-heading > p,
.light-page .article .section-kicker {
  color: rgba(255,255,255,.58);
}

.light-page .featured-post,
.light-page .coming-card {
  border-color: rgba(255,255,255,.14);
}

.light-page .featured-post {
  background: rgba(255,255,255,.025);
}

.light-page .coming-card {
  background: rgba(255,255,255,.018);
}

.light-page .coming-index {
  color: rgba(255,255,255,.24);
}

.light-page .button-dark {
  color: var(--ink);
  background: var(--paper);
}

.light-page .button-dark:hover,
.light-page .button-dark:focus-visible {
  background: var(--white);
}

.light-page .article-end {
  border-top-color: rgba(255,255,255,.14);
}

/* Homepage Journal preview now belongs to the same dark visual system. */
body:not(.light-page) .journal-card {
  color: var(--paper);
  background: #171714;
  border: 1px solid rgba(255,255,255,.12);
}

body:not(.light-page) .journal-card-copy > p:not(.journal-meta) {
  color: rgba(255,255,255,.62);
}

/* Photo of the Month */
.monthly-page .monthly-permalink,
.monthly-page .monthly-meta,
.monthly-page .monthly-archive-head > p,
.monthly-page .monthly-empty-note,
.monthly-page .monthly-archive-copy > span:first-child,
.monthly-page .monthly-archive-copy > span:last-child {
  color: rgba(255,255,255,.58);
}

.monthly-page .monthly-permalink:hover,
.monthly-page .monthly-permalink:focus-visible {
  color: var(--paper);
}

.monthly-page .monthly-prose {
  color: rgba(242,239,232,.82);
}

.monthly-page .monthly-archive {
  border-top-color: rgba(255,255,255,.14);
}

.monthly-page .monthly-archive-image {
  background: #1b1b18;
}

/* A more compact monthly feature: the photograph remains uncropped and
   centered, but no longer dominates several screens of vertical space. */
.monthly-feature {
  padding-top: clamp(3rem, 6vw, 5.25rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.monthly-feature-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.monthly-feature-head h1 {
  font-size: clamp(3rem, 6.5vw, 6.6rem);
  line-height: .9;
}

.monthly-feature-image {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  background: transparent;
}

.monthly-feature-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(54svh, 620px);
  margin-inline: auto;
  object-fit: contain;
  background: transparent;
}

.monthly-story {
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

/* Archive detail pages can show the photograph somewhat larger while
   remaining easier to scan than the previous nearly full-screen treatment. */
.monthly-detail {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.monthly-detail-head h1 {
  font-size: clamp(3rem, 6.5vw, 6.6rem);
}

.monthly-detail-image {
  display: grid;
  place-items: center;
}

.monthly-detail-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(68svh, 820px);
  margin-inline: auto;
  object-fit: contain;
  background: transparent;
}

.monthly-detail-story {
  margin-top: clamp(1.8rem, 3vw, 3rem);
}

@media (max-width: 900px) {
  .light-page .site-nav,
  .monthly-page .site-nav {
    color: var(--paper);
    background: #171714;
    border-color: rgba(255,255,255,.14);
  }

  .light-page .site-nav .nav-social-link img,
  .monthly-page .site-nav .nav-social-link img {
    filter: invert(1);
  }
}

@media (max-width: 600px) {
  .monthly-feature {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .monthly-feature-head h1,
  .monthly-detail-head h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .monthly-feature-image {
    margin-inline: 0;
  }

  .monthly-feature-image img {
    max-height: 46svh;
  }

  .monthly-detail-image img {
    max-height: 58svh;
  }
}
