/* The printed field-guide palette is scoped to the homepage. */
#page-top.field-guide {
  --fg-paper: #f5efdd; --fg-ink: #202c26; --fg-green: #254a3b; --fg-rust: #92492e;
  --fg-rule: #c4bca7; --fg-light: #f7f2e6; --fg-accent: #d5e99b;
  --fg-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --fg-sans: system-ui, sans-serif;
}
.field-guide [hidden] { display:none !important }
.field-guide .news-strip {border-block-color:#3e5148; background:#1b322b; padding-inline:5%}
#page-top #featured-research {
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items:center;
  background:var(--fg-paper); color:var(--fg-ink); padding:clamp(30px,4.5vw,76px) 5%;
  gap:0 clamp(28px,5vw,80px); border-bottom:1px solid #b4aa91;
}
#page-top #featured-research .field-place,#page-top #satellite-comparison .field-place {
  font:700 11px/1.5 ui-monospace,monospace!important;letter-spacing:.11em;color:var(--fg-rust)!important
}
#featured-research .field-place span {display:inline-block;border-top:2px solid currentColor;padding-top:5px}
#page-top #featured-research #sand-title {
  font:500 clamp(48px,5.4vw,88px)/.99 var(--fg-serif)!important;letter-spacing:-.057em!important;
  color:var(--fg-ink)!important;max-width:15ch;text-wrap:balance;
}
#page-top #featured-research #sand-title em {font-weight:inherit;color:#46634c!important}
#page-top #featured-research .field-byline,#page-top #featured-research .field-byline a {color:#535a49!important}
#page-top #featured-research .field-story {color:#354437!important;max-width:51ch;margin:15px 0;font:16px/1.57 var(--fg-sans)}
.specimen-viewer {grid-area:photo;min-width:0;width:100%;align-self:center;padding:clamp(10px,1.1vw,17px);background:#27342d;color:#f9f5e6;border-radius:4px;box-shadow:0 8px 23px #403d2826}
.specimen-selector {display:flex;gap:5px;align-items:center;padding-bottom:10px}
.specimen-selector button {border:1px solid transparent;font:650 13px/1.3 var(--fg-sans);color:#e3e8db;background:transparent;min-height:36px;padding:6px 12px;border-radius:20px;cursor:pointer}
.specimen-selector button[aria-pressed=true] {background:#eadfc3;color:#26342b}
.specimen-selector button:hover {border-color:#95a68d}
#featured-research .field-specimen {margin:0;display:block}
#featured-research .specimen-stage {position:relative;border:0;aspect-ratio:16/9;background:#19231e}
#featured-research .specimen-stage>img {width:100%;height:100%!important;display:block;object-fit:contain!important}
#page-top #featured-research figcaption {color:#d9dfd2!important;margin:.65rem .15rem 0;font:12px/1.4 var(--fg-sans)}
#page-top #featured-research figcaption a {color:#eff4dc!important}
#featured-research .field-actions {display:flex;flex-wrap:wrap;align-items:center;gap:6px 17px}
#featured-research #sand-inspection[open] {flex-basis:100%}
#featured-research #sand-inspection summary {background:var(--fg-green);color:white;border-radius:4px;padding:10px 16px}
#page-top #featured-research .xrf-link {min-height:36px;color:#315340!important;font-size:13px;text-underline-offset:4px}
#page-top #featured-research #specimen-notes,#page-top #featured-research #specimen-notes li {color:var(--fg-ink)!important}
#featured-research #specimen-notes li::marker {color:var(--fg-rust)}
#page-top .field-index {display:flex;align-items:center;flex-wrap:wrap;gap:8px clamp(15px,2.4vw,33px);padding:12px 5%;border-block:1px solid #c4bfac;background:#ebe6d6}
#page-top .field-index>span {color:var(--fg-rust);font:700 12px ui-monospace,monospace;letter-spacing:.09em;text-transform:uppercase}
#page-top .field-index a,#page-top .field-index button {display:inline-block;color:var(--fg-green)!important;background:transparent;border:0;padding:6px 0;text-decoration:none;font:650 14px/1.35 var(--fg-sans);cursor:pointer}
#page-top .field-index a:hover,#page-top .field-index button:hover {text-decoration:underline;text-underline-offset:4px}
#page-top .field-index button {margin-left:auto;border-bottom:1px solid currentColor}
#page-top .military-shortcut {display:inline-flex;margin:8px 12px 0 0;color:#e2eacb!important;font-weight:650;text-underline-offset:4px}
#page-top .ge-action {margin-right:14px}
#ge-cleanup:checked~.ge-cleanup {display:block}
#page-top .home-investigations {background:#e2ddd0;padding:clamp(20px,3.3vw,52px) 5%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(15px,2.5vw,36px);align-items:stretch}
#page-top #khartoum-leaks,#page-top #satellite-comparison {
  min-width:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:1rem;
  margin:0;padding:clamp(17px,2.2vw,35px);border-radius:5px;border:1px solid #8b9688;
}
#page-top #khartoum-leaks {background:#19322e;border-color:#264739}
#page-top #satellite-comparison {background:#fcf9ef;border-color:#b8b3a0}
#page-top #khartoum-leaks #listening-title,#page-top #satellite-comparison h2 {
  font:500 clamp(33px,3.4vw,52px)/1.04 var(--fg-serif)!important;letter-spacing:-.04em!important;max-width:22ch;margin:.35rem 0 .65rem
}
#page-top #satellite-comparison h2,#page-top #satellite-comparison .shore-intro>p:not(.field-place) {color:var(--fg-ink)!important}
#page-top #satellite-comparison a {color:#2c513c!important}
#page-top #satellite-comparison .shore-intro a {min-height:32px;font-size:14px}
#page-top #satellite-comparison figure {margin:0}
#page-top #satellite-comparison figcaption {color:#566151!important;margin-top:12px}
#page-top #khartoum-leaks .listening-pair {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#page-top #khartoum-leaks .listening-pair figure {border-radius:4px;padding:10px}
#page-top #khartoum-leaks .listening-credit {margin-top:auto;font-size:13px}
#page-top #satellite-comparison .shore-overlay {display:grid;position:relative;grid-template-columns:1fr;border-radius:3px;isolation:isolate;overflow:hidden}
.shore-overlay>div {grid-area:1/1;position:relative;min-width:0}
.shore-overlay>div:first-child {z-index:1;clip-path:inset(0 calc(100% - var(--split)) 0 0)}
#page-top .shore-overlay>div span {position:absolute;top:8px;padding:4px 7px;background:#13261fee;color:white;font:600 11px var(--fg-sans);border-radius:2px;z-index:1}
.shore-overlay>div:first-child span {left:8px}.shore-overlay>div:last-child span {right:8px}
.shore-overlay:after {content:"";position:absolute;left:var(--split);top:0;bottom:0;width:2px;background:white;z-index:2;pointer-events:none}
.shore-control {display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 10px;border-bottom:1px solid #d5d3c2;padding:11px 0;color:#314338;font:650 13px var(--fg-sans)}
.shore-control input {grid-row:2;grid-column:1/-1;width:100%;margin:0;accent-color:#3e6c4a;min-height:25px}
.shore-control output {grid-row:1;grid-column:2;font-variant-numeric:tabular-nums}
#page-top #usa-pfas {background:#132823;border-color:#536c58;padding:clamp(26px,4vw,60px) 5%}
#page-top #usa-pfas .home-pfas-intro {grid-template-columns:minmax(0,1.15fr) minmax(180px,.7fr);max-width:1180px;margin:auto;gap:clamp(18px,5vw,85px)}
#page-top #usa-pfas #pfas-title,#page-top #start-here #start-title,#page-top #what-changed #changes-title,#page-top #report-invitation {
  font:500 clamp(34px,4.4vw,68px)/1.04 var(--fg-serif)!important;letter-spacing:-.045em!important;max-width:21ch;color:#edf4df!important
}
#page-top .pfas-preview {justify-self:center;width:min(100%,260px);border:1px solid #597360;border-radius:6px;overflow:hidden}
#page-top #usa-pfas .home-pfas-note {max-width:1180px;margin:20px auto 0;border-top:1px solid #446053;padding-top:13px}
#page-top #start-here {padding:clamp(26px,4vw,65px) 5%;background:#f5efdf!important}
#page-top #start-here #start-title,#page-top #start-here .journey h3 {color:var(--fg-ink)!important}
#page-top #start-here .home-section-intro .eyebrow,#page-top #start-here .journey-category {color:#875135!important}
#page-top #start-here .journey {background:#fbf8ee!important;border:1px solid #c9c6b2!important;border-radius:5px;overflow:hidden}
#page-top #start-here .journey p,#page-top #start-here .journey-action {color:#365241!important}
#page-top #start-here .route-art {background:#203b35}
#page-top #start-here .journey:hover {outline:2px solid #5e795e;outline-offset:1px}
#page-top #warfare-news {background:#1a302b;border-block:1px solid #526651}
#page-top #warfare-news>summary {font:500 clamp(24px,2.5vw,38px) var(--fg-serif)}
#page-top .cover-story {background:#142925!important}
#page-top .cover-story .cover-headline {font:500 clamp(40px,4.5vw,70px)/1.04 var(--fg-serif)!important;letter-spacing:-.045em!important}
#page-top #what-changed {background:#203b32!important}
#page-top #what-changed .change-row {border-color:#5b735e}
#page-top .latest-update:has(#report-invitation) {background:#ede9d9!important}
#page-top #report-invitation,#page-top .latest-update:has(#report-invitation) p {color:var(--fg-ink)!important}
#page-top .latest-update:has(#report-invitation) .button {background:#284c3b!important;color:#fff!important}
#page-top .ra-footer {background:#12251f!important}
.field-guide :is(button,summary,input,a):focus-visible {outline:3px solid #ce793b;outline-offset:3px}
@media(max-width:950px) {
  #page-top .home-investigations {grid-template-columns:minmax(0,1fr)}
  #page-top #satellite-comparison {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);align-items:center}
  #page-top .field-index {gap:6px 16px}
}
@media(max-width:760px) {
  #page-top #featured-research {grid-template-columns:minmax(0,1fr);grid-template-areas:'intro' 'photo' 'actions' 'story';gap:12px;padding:26px 5%}
  #page-top #featured-research #sand-title {font-size:clamp(43px,8.5vw,58px)!important}
  #page-top #featured-research .field-story {margin:0}
  #page-top #featured-research .field-byline {margin:8px 0 0}
  #page-top .field-index {gap:5px 16px;padding-block:13px}
  #page-top .field-index>span {flex-basis:100%}
  #page-top .field-index button {margin-left:0}
  #page-top .home-investigations {padding:20px 4%}
  #page-top #satellite-comparison {display:flex}
  #page-top #usa-pfas .home-pfas-intro {grid-template-columns:minmax(0,1fr)}
  #page-top .pfas-preview {width:min(100%,300px)}
}
@media(max-width:420px) {
  #page-top #khartoum-leaks .listening-pair {grid-template-columns:minmax(0,1fr)}
  #page-top .specimen-selector button {padding:6px 9px}
}
@media(prefers-reduced-motion:reduce) {html:has(.field-guide){scroll-behavior:auto!important}}

#page-top .atlas-launch {
  display:flex; flex-wrap:wrap; align-items:center; gap:.6rem 1.4rem;
  padding:12px 5%; background:#233b32; border-bottom:1px solid #42584b;
}
#page-top .atlas-launch .atlas-button {
  display:inline-flex; align-items:center; gap:.7rem; min-height:46px;
  padding:9px 16px; border-radius:4px; background:#d5e99b; color:#182d23;
  font:750 16px/1.35 system-ui,sans-serif; text-decoration:none;
}
#page-top .atlas-launch .atlas-button:hover {background:#effbc9}
#page-top .atlas-launch .guide-link {display:inline-flex;align-items:center;min-height:44px;color:#f1f4e8;text-decoration:underline}
#page-top .atlas-launch a:focus-visible {outline:3px solid white;outline-offset:3px}
