:root {
  color-scheme: dark;
  --ground: #0c1510;
  --surface: #16241a;
  --linen: #f5f0df;
  --subtle: #b9c4ad;
  --line: #405044;
  --gold: #e0d0a3;
  background: var(--ground);
  color: var(--linen);
  font: 100%/1.55 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { display: block; width: 100%; }
p, figure { margin: 0; }
.wrap { width: min(76rem, calc(100% - 3.5rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; left: 1rem; top: 1rem; padding: .6rem .9rem; transform: translateY(-200%); background: var(--surface); }
.skip:focus { transform: none; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.masthead-inner { min-height: 4.2rem; }
.wordmark { font: 400 clamp(1.35rem, 3vw, 1.8rem)/1 Georgia, serif; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--gold); }
nav { display: flex; align-items: center; gap: clamp(.75rem, 3.5vw, 2.4rem); }
nav a, .footer a { color: var(--subtle); font-size: .87rem; text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--linen); text-decoration: underline; }
.hero { min-height: min(46rem, calc(100svh - 4rem)); isolation: isolate; position: relative; display: grid; align-items: end; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-photo { object-fit: cover; object-position: 60% 55%; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(90deg, #071109bd 0%, #08110966 45%, transparent 86%), linear-gradient(0deg, #0c1510e6 0%, transparent 62%); }
.hero-copy { padding-block: 6rem clamp(3.5rem, 8vw, 6.8rem); }
.eyebrow { color: var(--gold); font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.055em; }
h1 { margin: .17em 0 .29em; font-size: clamp(3.65rem, 8.6vw, 8.4rem); line-height: .88; }
.hero-link { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; padding: .65rem 0; border-bottom: 1px solid var(--gold); }
.hero-link:hover { color: var(--gold); }
.intro { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr); gap: 1.5rem; padding-block: clamp(3rem, 8vw, 6rem); }
.intro .eyebrow { padding-top: .5rem; }
.intro > p:last-child { max-width: 47rem; font: 400 clamp(1.32rem, 2.45vw, 2rem)/1.39 Georgia, serif; }
.chapter { border-top: 1px solid var(--line); padding-block: clamp(2.4rem, 6vw, 4.65rem) clamp(3rem, 8vw, 6rem); }
.chapter-title { display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(0, 2fr); gap: 1.5rem; align-items: end; margin-bottom: 1.7rem; }
.chapter-title h2 { margin: 0; font-size: clamp(3.25rem, 7vw, 6.6rem); line-height: .91; }
.chapter-title p { max-width: 33rem; color: var(--subtle); }
.gallery { display: grid; gap: 1.5rem; align-items: start; }
.gallery-glass, .gallery-water { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.gallery-green { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo a { display: block; overflow: clip; background: var(--surface); cursor: zoom-in; }
.photo img { object-fit: cover; height: auto; transition: scale .38s ease; }
.photo a:hover img { scale: 1.025; }
.landscape img { aspect-ratio: 3 / 2; }
.portrait img { aspect-ratio: 2 / 3; }
.photo figcaption { padding-block: .54rem; color: var(--subtle); font-size: .79rem; }
.glass-wide, .water-wide { width: min(84%, 48rem); align-self: start; }
.green-wide { grid-column: 1 / -1; }
.green-wide img { aspect-ratio: 2.2 / 1; }
.closing { border-top: 1px solid var(--line); padding-top: 2.5rem; margin-bottom: 3rem; }
.closing img { aspect-ratio: 2.3 / 1; }
.footer { min-height: 6rem; border-top: 1px solid var(--line); font-size: .9rem; padding-block: 1.2rem; }
.footer span { color: var(--subtle); }
.lightbox { width: min(68rem, calc(100% - 2rem)); max-height: 94svh; margin: auto; padding: 0; border: 1px solid var(--line); background: var(--ground); color: var(--linen); }
.lightbox::backdrop { background: rgb(4 9 6 / 89%); }
.lightbox-inner { padding: 2.5rem clamp(.65rem, 3vw, 1.5rem) .65rem; position: relative; }
.lightbox img { max-height: 66svh; width: 100%; object-fit: contain; }
.lightbox-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7rem; text-align: center; margin-top: .6rem; }
.lightbox button { padding: .35rem .7rem; line-height: 1.2; background: transparent; color: var(--gold); border: 1px solid var(--line); cursor: pointer; }
.lightbox button:hover { background: var(--surface); }
.lightbox .close { position: absolute; top: .45rem; right: .65rem; border-color: transparent; font-size: 1.35rem; }

.journal-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 2rem; padding-block: 2.4rem; border-bottom: 1px solid var(--line); }
.journal-intro h2 { font-size: clamp(2.35rem, 4.5vw, 4rem); margin: 0; line-height: 1.02; }
.journal-intro p { margin-top: .65rem; max-width: 32rem; color: var(--subtle); }
.journal-links a { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-block: .65rem; text-decoration: none; }
.journal-links a:hover, nav a[aria-current="page"] { color: var(--gold); }
.chapter-nav { margin-top: 1rem; }
.closing-notice { border-top: 1px solid var(--line); }
.closing-notice + footer, .footer { flex-wrap: wrap; }
.footer nav { flex-wrap: wrap; gap: .5rem 1.4rem; }
.page-main { padding-block: clamp(2.75rem, 8vw, 6.6rem); min-height: 72vh; }
.page-head { margin-bottom: clamp(2rem, 4vw, 3.7rem); }
.page-head h1 { max-width: 16ch; margin-block: .09em .25em; font-size: clamp(3.25rem, 8vw, 7.4rem); }
.page-deck { color: var(--subtle); max-width: 42rem; font-size: clamp(1rem, 2.4vw, 1.33rem); }
.breadcrumb { margin-bottom: 1.1rem; font-size: .85rem; color: var(--subtle); }
.breadcrumb span { margin-inline: .28rem; color: var(--gold); }
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.7rem; }
.journal-card { border-bottom: 1px solid var(--line); }
.card-photo { display: block; overflow: clip; background: var(--surface); }
.card-photo img { aspect-ratio: 3 / 2; object-fit: cover; transition: scale .38s ease; }
.journal-card:hover .card-photo img { scale: 1.025; }
.card-copy { padding-block: 1.2rem 1.65rem; }
.card-copy h2, .prose h2, .article-aside h2 { margin: .15em 0 .35em; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.035em; }
.card-copy h2 a { text-decoration: none; }
.card-copy h2 a:hover { text-decoration: underline; }
.card-copy > p:last-child, .article-aside p { color: var(--subtle); }
.article-photo { margin-bottom: clamp(2.3rem, 6vw, 4.5rem); background: var(--surface); }
.article-photo img { aspect-ratio: 2.25 / 1; object-fit: cover; }
.article-grid { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(14rem, 1fr); align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.prose { max-width: 45rem; font-size: clamp(1.02rem, 2vw, 1.18rem); line-height: 1.73; }
.prose section + section, .prose > h2:not(:first-child) { margin-top: 2.5rem; }
.prose p { color: #e1e5d7; }
.reading-source a, .article-aside a, .xml-link a { color: var(--gold); }
.article-aside { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.article-aside p + p, .article-aside p + a { margin-top: .8rem; }
.article-aside p + a { display: inline-block; }
.article-aside ul { margin: 1rem 0 1.5rem; padding-left: 1.2rem; }
.article-aside li { margin: .45rem 0; }
.editorial-form, .editorial-form label { display: grid; gap: .5rem; }
.editorial-form { gap: 1.25rem; }
.editorial-form label { font-weight: 550; }
.editorial-form input, .editorial-form select, .editorial-form textarea {
  width: 100%; min-height: 3rem; padding: .62rem .72rem; color: var(--linen); background: var(--surface);
  border: 1px solid var(--line); border-radius: 0; font: inherit; font-weight: 400;
}
.editorial-form textarea { resize: vertical; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-help { color: var(--subtle); font-size: .91rem; }
.editorial-form button { justify-self: start; padding: .75rem 1.15rem; background: var(--gold); color: var(--ground); border: 1px solid var(--gold); cursor: pointer; }
.editorial-form button:hover { background: var(--linen); }
.sitemap-list { list-style: none; padding: 0; margin: 0; max-width: 42rem; }
.sitemap-list a { display: block; padding-block: .75rem; border-top: 1px solid var(--line); text-decoration: none; }
.sitemap-list a:hover { text-decoration: underline; }
.xml-link { margin-top: 1.6rem; }
.page-action { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }

@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead-inner { min-height: 3.75rem; }
  .hero { min-height: 35rem; }
  .hero-photo { object-position: 64% center; }
  .hero::after { background: linear-gradient(0deg, #0c1510ee 0%, #0c151055 55%, transparent); }
  .hero-copy { padding-bottom: 3rem; }
  .intro, .chapter-title, .gallery, .journal-intro, .journal-grid, .article-grid, .form-pair { grid-template-columns: 1fr; gap: 1rem; }
  .article-photo img { aspect-ratio: 3 / 2; }
  .glass-wide, .water-wide { width: 100%; }
  .green-wide img, .closing img { aspect-ratio: 3 / 2; }
  .footer { align-items: flex-start; }
  .footer span { display: block; }
  .footer a { white-space: nowrap; }
}

@media (max-width: 410px) {
  .masthead-inner { gap: .7rem; }
  .masthead nav { gap: .6rem; }
  .masthead nav a { font-size: .77rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img, .card-photo img { transition: none; }
}
