/* Homepage and destination articles share the journal's typography and palette. */
.journal-index,.story-page {
  --sheet:#f1ebdf; --text:#202a22; --rule:#bdb8a8; --accent:#785036;
  color:var(--text);background:var(--sheet);color-scheme:light;
}
.journal-index {padding:clamp(52px,7.5vw,126px) max(6%,calc((100vw - 1450px)/2));}
.journal-index a,.story-page a {color:inherit;text-decoration:none}
.journal-index a:focus-visible,.story-page a:focus-visible {outline:3px solid #995126;outline-offset:4px}
.journal-mast {display:flex;align-items:end;justify-content:space-between;gap:2rem;border-bottom:1px solid var(--text);padding-bottom:clamp(20px,3vw,45px);margin-bottom:clamp(22px,2.5vw,40px)}
.journal-mast h2,.story-heading h1 {font-family:'Instrument Serif',Georgia,serif;letter-spacing:-.055em;font-weight:400;line-height:.94}
.journal-mast h2 {font-size:clamp(62px,8vw,132px)}
.journal-mast h2 em {color:var(--accent)}
.journal-mast p {font-size:clamp(15px,1.2vw,19px);max-width:35ch;line-height:1.5}
.journal-features {display:grid;grid-template-columns:1.45fr 1fr;grid-template-rows:auto auto;gap:clamp(14px,2vw,32px)}
.journal-feature {display:grid;align-content:start;position:relative}
.feature-0 {grid-row:span 2}
.journal-feature:not(.feature-0) {grid-template-columns:42% 1fr;align-items:center;align-content:center;gap:clamp(12px,1.6vw,24px);border-bottom:1px solid var(--rule);padding-bottom:clamp(14px,2vw,28px)}
.feature-image {overflow:hidden;background:#d3cfbf}
.feature-image img {width:100%;height:100%;display:block;object-fit:cover}
.feature-0 .feature-image {aspect-ratio:1.95}
.journal-feature:not(.feature-0) .feature-image {aspect-ratio:1.18}
.feature-copy {position:relative}
.feature-0 .feature-copy {padding-top:18px;padding-right:42px}
.journal-kicker {font:600 11px/1.4 'DM Sans',sans-serif;letter-spacing:.105em;text-transform:uppercase;color:var(--accent)}
.feature-copy h3 {font:400 clamp(27px,2.7vw,45px)/1.04 'Instrument Serif',Georgia,serif;letter-spacing:-.025em;margin:7px 0}
.feature-0 h3 {font-size:clamp(36px,4.4vw,69px)}
.feature-copy p {font-size:clamp(14px,1vw,17px);line-height:1.55;max-width:56ch}
.feature-arrow {display:inline-block;font-size:22px;margin-top:.4em;color:var(--accent)}
.feature-0 .feature-arrow {position:absolute;right:0;top:30px}
.journal-feature:is(:focus-visible,:hover) h3,.journal-directory a:hover,.story-page nav a:hover,.story-reading a:hover,.story-end a:hover {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.16em}
@media(prefers-reduced-motion:no-preference) {
 html:not(.motion-off) .feature-image img {transition:transform .55s ease-out}
 @media(hover:hover){html:not(.motion-off) .journal-feature:hover img {transform:scale(1.035)}}
}
.journal-directory {border-top:1px solid var(--text);margin-top:clamp(32px,4vw,64px);padding-top:22px;display:grid;grid-template-columns:1fr 3fr;gap:24px}
.journal-directory h3 {font:400 clamp(25px,2.3vw,36px)/1.15 'Instrument Serif',Georgia,serif}
.journal-directory>div {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px}
.journal-directory a {font-size:15px;display:flex;min-height:46px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--rule);gap:.4em}
.journal-directory a span {color:var(--accent)}
.hero-bottom .hero-introduction {max-width:36ch}
.hero-bottom .hero-introduction p {font-size:clamp(13px,1.05vw,17px);line-height:1.55}
.hero-journal-link {display:inline-flex;align-items:center;gap:12px;color:#f0c99f;min-height:44px;font-size:14px;border-bottom:1px solid #9f8064}
.project-example {margin-bottom:20px}
.story-page {margin:0;font-family:'DM Sans',Arial,sans-serif}
.story-page * {box-sizing:border-box}
.story-skip {position:absolute;inset:0 auto auto 0;transform:translateY(-125%);padding:12px;background:white;z-index:2}
.story-skip:focus {transform:none}
.story-top,.story-page main,.story-end {padding-inline:max(6%,calc((100vw - 1450px)/2))}
.story-top,.story-end {display:flex;align-items:center;justify-content:space-between}
.story-top {min-height:80px;background:#141c15;color:#f4eee1}
.story-brand {display:grid;gap:3px;letter-spacing:.14em;line-height:1;font-weight:700;font-size:19px;text-transform:uppercase}
.story-brand small {font-size:9px;letter-spacing:.08em}
.story-top nav {display:flex;gap:clamp(14px,3vw,42px)}
.story-top nav a,.back-link,.story-reading aside a {display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.story-top nav a:last-child {color:#efd0a7}
.story-opening {display:grid;grid-template-columns:.8fr 1.2fr;gap:5%;padding-block:clamp(28px,4.5vw,80px);border-bottom:1px solid var(--rule)}
.story-heading {display:flex;flex-direction:column;justify-content:space-between;align-items:start;gap:26px}
.story-heading h1 {font-size:clamp(74px,8.9vw,156px);margin:12px 0 22px}
.story-deck {font:italic 400 clamp(28px,3vw,48px)/1.08 'Instrument Serif',Georgia,serif;margin:0 0 1rem;color:var(--accent)}
.story-photo {margin:0;min-width:0}
.story-photo a {display:block;background:#e6dfd1}
.story-photo img {width:100%;height:auto;display:block;max-height:65vh;object-fit:contain}
.story-photo figcaption {font-size:13px;line-height:1.5;padding-top:9px;color:#4f5449}
.story-reading {display:grid;grid-template-columns:1fr 2fr;gap:8%;padding-block:clamp(32px,5vw,86px)}
.story-reading aside {font-size:14px;line-height:1.5}
.story-reading aside a {text-decoration:underline;text-underline-offset:3px}
.story-reading p {max-width:65ch;margin:0 0 1.05em;font-size:clamp(16px,1.3vw,20px);line-height:1.65}
.story-reading .story-lede {font:400 clamp(29px,3.1vw,48px)/1.16 'Instrument Serif',Georgia,serif;max-width:34ch;margin:0 0 .65em}
.story-reading .story-source {font-size:13px;line-height:1.5;border-top:1px solid var(--rule);padding-top:16px;margin:24px 0 0;color:#4f5449}
.story-plates {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:24px;padding-bottom:clamp(36px,6vw,95px)}
.story-end {background:#19231b;color:#eee9dc;padding-block:28px;gap:16px}
.story-end a {font-size:14px;display:inline-grid;min-height:44px;align-content:center}
.story-end a:last-child {text-align:right;gap:6px}
.story-end strong {font:400 clamp(26px,3vw,42px)/1 'Instrument Serif',Georgia,serif}
.atlas-map {min-height:260px;display:grid;place-items:center;background-color:#25372a;background-image:linear-gradient(#a2aa8320 1px,transparent 1px),linear-gradient(90deg,#a2aa8320 1px,transparent 1px);background-size:32px 32px}
.atlas-map svg {width:min(90%,440px);fill:#bba87b;stroke:#efe0b9;stroke-width:1.5}
@media(max-width:800px) {
 .journal-mast {display:block}.journal-mast p {margin-top:16px}
 .journal-features {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
 .feature-0 {grid-row:auto;grid-column:1/-1}
 .journal-feature:not(.feature-0) {display:block;padding:0;border:0}
 .journal-feature:not(.feature-0) .feature-image {aspect-ratio:1.55;margin-bottom:12px}
 .journal-directory {display:block}.journal-directory h3 {margin-bottom:14px}
 .story-opening {grid-template-columns:1fr;gap:20px}
 .story-heading {gap:4px}
 .story-heading h1 {margin:8px 0 12px}
 .story-heading .journal-kicker {margin:12px 0 0}
 .story-reading {grid-template-columns:1fr;gap:18px}
 .story-reading aside {order:1}
}
@media(max-width:520px) {
 .journal-index {padding-inline:6%}
 .journal-features {display:flex;flex-direction:column;gap:20px}
 .journal-feature:not(.feature-0) {display:grid;grid-template-columns:33% 1fr;gap:14px;border-top:1px solid var(--rule);padding-top:18px}
 .journal-feature:not(.feature-0) .feature-image {margin:0;aspect-ratio:1.08}
 .journal-feature:not(.feature-0) .feature-copy h3 {font-size:27px}
 .journal-feature:not(.feature-0) .feature-arrow {display:none}
 .journal-kicker {font-size:10px}
 .journal-directory>div {grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
 .hero-bottom .hero-introduction {max-width:100%}
}
.feature-0 .feature-image img {object-position:center top}
#horizon-view {width:min(900px,94vw);max-width:94vw;max-height:92dvh;padding:clamp(14px,2.4vw,30px);border:1px solid #52614f;border-radius:6px;background:#172019;color:#f5eee2;overflow:auto}
#horizon-view::backdrop {background:rgb(8 13 9 / .84)}
.panorama-bar {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
#horizon-view .panorama-bar h2 {font:400 clamp(30px,4vw,54px)/1 'Instrument Serif',Georgia,serif;margin:0}
#horizon-view .dialog-close {position:static;min-width:44px;min-height:44px;flex:none}
.panorama-frame {width:100%;overflow:hidden;aspect-ratio:1672/941;background:#30291d}
.panorama-frame img {width:100%;height:100%;display:block;transform-origin:0 0}
@media(prefers-reduced-motion:no-preference) {html:not(.motion-off) .panorama-frame img {transition:transform 900ms cubic-bezier(.26,.72,.24,1)}}
.panorama-tools {display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 8px}
.panorama-tools button {min-height:44px;border:1px solid #697162;border-radius:3px;padding:5px 14px;font-size:14px}
.panorama-tools button[aria-pressed=true] {background:#ead3ad;color:#172019;border-color:#ead3ad}
#horizon-view .panorama-caption {font:400 13px/1.5 'DM Sans',sans-serif;color:#ced4c7;margin:0}
@media(max-width:520px) {
 .panorama-tools {display:grid;grid-template-columns:1fr 1fr}
 .horizon-bottom {flex-wrap:wrap;gap:6px 10px}
 .horizon-bottom .image-note {flex-basis:100%;max-width:none;text-align:left}
}
