/* Public navigation and its two reading themes. */
:root {
  --station-paper:#faf9f6;
  --station-ink:#232226;
  --station-rule:#d6d4d2;
  --station-sub:#55545b;
  --station-signal:#555aa7;
}
:root[data-zi-theme="dark"] {
  color-scheme:dark;
  --station-paper:#19191b; --station-ink:#f2f0eb; --station-rule:#414043;
  --station-sub:#c1bfc3; --station-signal:#b5b6f5;
  --paper:#19191b; --ink:#efede9; --white:#242427; --wash:#222226;
  --warm-wash:#252322; --mist:#29292d; --lav-pale:#30303a; --line:#424145;
  --line-strong:#777579; --muted:#c0bec2; --purple-deep:#b9bbf5; --purple-light:#a6a9ec;
}
:root[data-zi-theme="dark"] :is(.hero,.page-banner,.lab-feature,.about-story,.footer,.gallery-corner) {
  --ink:#19181b; --paper:#faf9f6; --white:#fff; --mist:#ececef; --muted:#d1cfd2; --purple-deep:#47498a;
}
:root[data-zi-theme="dark"] .partner-section {background:var(--paper);}
:root[data-zi-theme="dark"] :is(.partner-marks,.partner-names) {background:#eeedeb;color:#202022;}
:root[data-zi-theme="dark"] .button-black,:root[data-zi-theme="dark"] .filters a[aria-current] {background:#edebf0;color:#1a191b;}
:root[data-zi-theme="dark"] :is(.meta.ink-meta,.project-info .meta,.index-story .meta,.article-signature,.section-head .text-link:hover,.service-stories .meta) {color:var(--purple-deep);}
:root[data-zi-theme="dark"] .brand-backup i {border-color:#b5b6f5;border-left-color:#7376bd;}
:root[data-zi-theme="dark"] .skip:focus {background:#f5f3fc;color:#1a191b;}
:root[data-zi-theme="dark"] :focus-visible {outline-color:#b5b6f5;}
.zi-cover-type {display:grid;place-items:center;width:100%;height:100%;padding:1rem;background:var(--wash);color:var(--purple-deep);text-align:center;font:italic 400 clamp(1.35rem,2.5vw,2.4rem)/1.1 var(--serif);}

/* Leave the preview host's editing control reachable beside the visitor chat. */
html[data-zi-preview] .zi-winel-launch {bottom:calc(max(18px,env(safe-area-inset-bottom)) + 3.4rem);}
html[data-zi-preview] .zi-winel-box {bottom:calc(max(18px,env(safe-area-inset-bottom)) + 7.1rem);max-height:calc(100dvh - 9rem);}
@media(max-width:540px) {html[data-zi-preview] .zi-winel-box {bottom:auto;max-height:calc(100dvh - 9rem);}}

.mast.station-mast{position:relative;z-index:10;background:var(--station-paper);color:var(--station-ink);border-bottom:1px solid var(--station-rule)}
.station-mast .mast-inner{min-height:4.65rem;display:flex;align-items:center;justify-content:space-between;gap:clamp(.8rem,2vw,2.35rem)}
.station-mast .brand{width:clamp(7rem,10.2vw,10rem)}
.mast.station-mast #menu{position:static;inset:auto;display:flex;align-items:center;justify-content:center;gap:clamp(.6rem,1.2vw,1.55rem);padding:0;margin:0;max-width:none;background:none;box-shadow:none;border:0}
.mast.station-mast #menu a{display:inline-flex;align-items:center;justify-content:center;min-height:2.9rem;position:relative;padding:.35rem 0;color:var(--station-ink);background:none;border:0;border-radius:0;font:520 clamp(.75rem,.9vw,.91rem)/1.25 var(--sans);letter-spacing:-.023em;white-space:nowrap}
.mast.station-mast #menu a::after{display:block;content:'';position:absolute;inset:auto 0 .48rem;height:2px;background:var(--station-signal);transform:scaleX(0);transform-origin:left;transition:transform .23s ease}
.mast.station-mast #menu a:is([aria-current],:hover,:focus-visible){color:var(--station-signal)}
.mast.station-mast #menu a:is([aria-current],:hover,:focus-visible)::after{transform:scaleX(1)}
.zi-mode{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-width:2.75rem;min-height:2.75rem;padding:.4rem .1rem .4rem clamp(.5rem,1.05vw,1.1rem);border:0;border-left:1px solid var(--station-rule);border-radius:0;color:var(--station-sub);font:500 .78rem/1 var(--sans);background:transparent}
.zi-mode[hidden]{display:none}
.zi-mode i{display:block;width:1.05rem;height:1.05rem;border:1.5px solid currentColor;border-radius:50%;background:linear-gradient(90deg,currentColor 50%,transparent 50%)}
@media(max-width:1120px) and (min-width:781px){.station-mast .mast-inner{flex-wrap:wrap;justify-content:space-between;gap:0;padding-top:.45rem}.mast.station-mast #menu{order:3;flex:0 0 100%;justify-content:space-between;border-top:1px solid var(--station-rule);margin-top:.3rem}.mast.station-mast #menu a{min-height:2.7rem;font-size:.83rem}}
@media(max-width:780px){.station-mast .mast-inner{display:grid;grid-template-columns:1fr auto;gap:0;align-items:center;padding-top:.3rem;padding-bottom:.28rem}.station-mast .brand{width:8.15rem;height:2.45rem}.zi-mode{border:0;grid-column:2;grid-row:1}.mast.station-mast #menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 .35rem;grid-column:1/-1;grid-row:2;border-top:1px solid var(--station-rule);margin-top:.22rem}.mast.station-mast #menu a{justify-self:stretch;min-height:2.2rem;font-size:.8rem}.mast.station-mast #menu a::after{left:22%;right:22%;bottom:.16rem;height:1.5px}}
header.mast #menu a[aria-current="page"] {
  color:var(--station-signal,var(--purple-deep,#555aa7));
  font-family:var(--serif,Georgia,serif);
  font-size:clamp(1.04rem,1.22vw,1.2rem);
  font-style:italic;
  font-weight:400;
  letter-spacing:-.035em;
  line-height:1.12;
}
.zi-preload{display:none}
html.zi-tuning .zi-preload{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;text-align:center;isolation:isolate;overflow:hidden;color:#efedf4;background:radial-gradient(ellipse at 56% 88%,#27262e 0%,#1a191d 42%,#141416 78%);animation:zi-station-screen 2.55s ease both}
html.zi-tuning.zi-page-tune .zi-preload{animation-duration:1.18s}
.zi-preload-content{width:min(32rem,80vw);display:grid;justify-items:center;gap:1.45rem}
.zi-preload-name{font:italic 400 clamp(2.65rem,6.5vw,6.5rem)/1.02 var(--serif);color:#e3d8f9;letter-spacing:-.061em}
.zi-preload-label{font:520 .77rem/1.35 var(--sans);letter-spacing:.15em;text-transform:uppercase;color:#edeaf1}
.zi-preload-scale{display:block;position:relative;width:clamp(8rem,18vw,16rem);height:1.3rem;background:repeating-linear-gradient(90deg,#9a98a9 0 1px,transparent 1px 5px) bottom/100% .36rem no-repeat,repeating-linear-gradient(90deg,#b7b6c3 0 1px,transparent 1px 25px) bottom/100% .7rem no-repeat}
.zi-preload-scale i{position:absolute;left:73%;bottom:0;width:2px;height:1.3rem;background:#d6beff;box-shadow:0 0 9px #ac8fef90;animation:zi-lock-station 1.85s cubic-bezier(.35,.06,.18,1) both}
.zi-page-tune .zi-preload-scale i{animation-duration:.78s}
.zi-preload button{position:absolute;bottom:max(1.2rem,env(safe-area-inset-bottom));right:max(1.2rem,env(safe-area-inset-right));color:#eae7ef;font:500 .8rem var(--sans);min-height:44px;padding:.4rem .7rem;text-decoration:underline;text-underline-offset:.32em}
@keyframes zi-station-screen{0%,78%{opacity:1}100%{opacity:0;visibility:hidden}}
@keyframes zi-lock-station{0%{left:5%}46%{left:85%}64%{left:65%}84%{left:76%}100%{left:73%}}
.rail-highlights a.rail-story-link{display:grid;grid-template-columns:clamp(3rem,4.2vw,4.2rem) minmax(0,1fr);gap:.72rem;align-items:center;padding:.58rem 0;font-size:clamp(.93rem,1.06vw,1.12rem);line-height:1.21}
.rail-story-link img{width:100%;height:auto;aspect-ratio:1.25;object-fit:cover;background:var(--mist)}
.rail-highlights .rail-story-link strong{font-weight:450}
.rail-highlights .rail-story-link:is(:focus-visible,:hover) img{filter:contrast(1.1)}
[data-carousel=article][data-enhanced] .story-track{scroll-snap-type:none;overflow-anchor:none}
[data-carousel=article][data-enhanced] .story-card{scroll-snap-align:none}
.voice-art picture,.lab-image picture{display:block;width:100%;height:100%}
.location-credit{margin-top:.6rem;font-size:.74rem;line-height:1.4;color:var(--muted)}
.location-credit a{text-decoration:underline;text-underline-offset:.15em}
@media screen and (min-width:761px) and (max-height:765px){.package-station{top:.45rem}.rail-highlights{margin-top:1rem}.rail-highlights a.rail-story-link{grid-template-columns:2.9rem minmax(0,1fr);padding:.4rem 0}}
@media(prefers-reduced-motion:reduce){html.zi-tuning .zi-preload{display:none}}
@media print{.zi-preload,.zi-mode,.mast nav{display:none!important}}

.catalogue-provenance{margin:0 0 1.25rem;color:var(--muted);font-size:.86rem;line-height:1.5}
.catalogue-provenance a{text-decoration:underline;text-underline-offset:.2em}
