/* Shared editorial mastheads for the catalogue, journal and company pages. */
.pr-page, .nr-index, .nr-story { background:var(--paper); }
:where(.pr-banner, .nr-hero, .sr-hero, .honor-mast, .pr-detail-text, .nr-story, .corporate-section, .nr-careers, .nr-charity, .sr-section, .nr-index, .honor-gallery) :is(h1,h2) {
  font-family:var(--display); font-weight:500; text-wrap:balance;
}
.pr-banner, .nr-hero, .sr-hero {
  position:relative; isolation:isolate; overflow:hidden; background:#e9eee7; color:#143c35;
  display:grid; align-items:center; min-height:clamp(230px,24vw,380px);
}
.pr-banner > picture, .nr-hero > img, .sr-hero > img {
  position:absolute; inset:0 0 0 auto; width:53%; height:100%; object-fit:cover; z-index:-1;
}
.pr-banner > picture img { width:100%; height:100%; object-fit:cover; object-position:right; }
.pr-banner-text, .nr-hero-inner, .sr-hero .wrap { padding-block:2rem; }
.pr-banner-text h1, .nr-hero h1, .sr-hero h1, .honor-mast h1, :is([data-section="about"],[data-section="contact"]) .ref-banner h1 {
  max-width:12em; font-size:clamp(2.25rem,3.7vw,4.2rem); line-height:1.22; margin:.35em 0;
}
.pr-banner-text { display:flex; flex-direction:column-reverse; }
.pr-banner-text > * {max-width:45%}
.pr-banner-text h1 { width:8.5em; text-wrap:wrap; line-break:strict; }
.pr-banner-text p, .nr-hero .eyebrow, .sr-hero .eyebrow, .nr-kicker, .honor-mast .eyebrow { margin:0; font:600 .75rem/1.6 Arial,sans-serif; letter-spacing:.17em; color:#346351; }
.pr-banner-text p::before, .nr-hero .eyebrow::before, .sr-hero .eyebrow::before {
  content:""; width:2rem; height:1px; display:inline-block; vertical-align:middle; margin-right:.8rem; background:currentColor;
}
.pr-series, .honor-categories .wrap, .company-tabs .wrap {
  display:flex; flex-wrap:wrap; align-items:center; gap:.5rem clamp(.8rem,1.7vw,2rem); padding-block:1rem; border-bottom:1px solid var(--rule);
}
.pr-series { margin-bottom:1.75rem; }
:is(.pr-series,.company-tabs,.honor-categories) a { padding:.55rem 0; color:#4b655e; border-bottom:2px solid transparent; }
:is(.pr-series,.company-tabs,.honor-categories) a:is(:hover,[aria-current]) { color:#174d3b; border-color:currentColor; }
.pr-card-link { border:none; background:none; border-radius:0; }
.pr-card-caption { display:flex; flex-direction:column; align-items:start; gap:.6rem; padding:1rem 0 1.3rem; border-bottom:1px solid var(--rule); flex:1; }
.pr-card-caption strong { font-size:clamp(1rem,1.25vw,1.4rem); line-height:1.5; }
.pr-card-caption > span, .nr-read { color:var(--teal); font-size:.85rem; }
.pr-card-caption > span::after, .nr-read::after { content:" ↗"; }
.pr-detail { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(1.5rem,6vw,7rem); align-items:center; padding-block:2rem clamp(4rem,7vw,7rem); }
.pr-zoom-trigger { cursor:zoom-in; }
.pr-zoom-icon, .honor-expand { position:absolute; right:12px; bottom:12px; padding:8px; width:36px; background:#fff; color:var(--teal); }
.pr-zoom-icon svg, .honor-expand svg, .pr-close svg { display:block; width:100%; aspect-ratio:1; }
.pr-detail-text h1, .nr-story header h1 { font-size:clamp(2rem,3.5vw,3.75rem); line-height:1.33; margin:.3em 0 .6em; }
#specs-heading { margin: 1.6rem 0 .65rem; font-size: 1.35rem; }
.pr-detail-text .pr-facts { margin: 0 0 1.5rem; }
.pr-detail-text .pr-facts div { border-color: var(--rule); align-items: baseline; }
.pr-detail-text .pr-facts dd { font-weight: 500; overflow-wrap: anywhere; }
.pr-inquiry { display: inline-flex; align-items: center; padding: .8rem 1.3rem; border: 1px solid #94a39a; color: #24483b; }
.pr-inquiry:hover { background: #e7ebe3; }
.pr-store, .sr-controls button { display:inline-block; background:#235a47; color:#fff; padding:.85rem 1.35rem; }
.pr-store:disabled { background:#e3e7df; color:#59635e; cursor:default; }
.pr-lightbox { border:0; background:#fbfbf7; color:#1d3833; max-width:min(94vw,980px); max-height:92dvh; padding:1.3rem; }
.pr-lightbox::backdrop { background:rgb(12 36 32/.76); }
.pr-lightbox img { width:auto; height:auto; max-width:100%; max-height:70dvh; margin:auto; object-fit:contain; }
.pr-open-original { display:block; width:fit-content; padding:.65rem .25rem; margin:auto; color:var(--teal); text-decoration:underline; }
.pr-close { display:block; width:40px; height:40px; margin-left:auto; padding:10px; background:#e5ebe4; }
.pr-pagination, .honor-pagination, .sr-pages { display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding-top:2rem; }
:is(.pr-pagination,.honor-pagination,.sr-pages) :is(a,[aria-current]) { display:inline-flex; justify-content:center; align-items:center; min-width:40px; min-height:40px; padding:0 .65rem; border:1px solid #b9c9be; }
:is(.pr-pagination,.honor-pagination,.sr-pages) [aria-current] { background:#235a47; border-color:#235a47; color:white; }
.pr-total { margin-right:.75rem; color:#4b6056; }
.nr-index, .nr-careers, .nr-charity, .nr-story, .honor-gallery, .sr-section { padding-block:clamp(2rem,5vw,5rem); }
.nr-feature { background:#e8ede5; margin-bottom:clamp(2rem,4vw,4rem); }
.nr-feature-img img, .nr-people > img { width:100%; height:100%; object-fit:cover; }
.nr-index .nr-card { border-bottom:1px solid var(--rule); padding-bottom:1.2rem; }
.nr-index .nr-listed, .nr-feature .nr-listed { display:block; margin:1rem 0 .6rem; font-size:.78rem; color:#51695b; }
.nr-read { display:inline-block; margin-top:1rem; border-bottom:1px solid #8da08e; padding-bottom:.3rem; }
.nr-story > header { border-bottom:1px solid var(--rule); padding-bottom:1rem; margin-bottom:2rem; }
.nr-meta > div, .nr-meta dt { display:flex; align-items:center; gap:6px; }
.nr-meta dt img { width:17px; height:17px; object-fit:contain; }
.nr-meta dd { margin:0; }
.nr-story-body, .nr-job { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,.9fr); gap:clamp(1.5rem,5vw,6rem); align-items:start; }
.nr-article-photo, .nr-charity-photo img { width:100%; height:auto; }
.nr-charity-text, .nr-people, .ref-culture article { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(1.5rem,6vw,7rem); margin-bottom:2rem; }
.nr-charity-text h2, .nr-people h2, .nr-roles > h2, .sr-section h2 { font-size:clamp(1.7rem,2.6vw,2.9rem); line-height:1.4; margin:.45em 0; }
.nr-charity-text > p, .nr-careers p, .nr-job li, .ref-culture p, .ref-note { line-height:1.9; color:#476058; }
.nr-roles { border-top:1px solid var(--rule); padding-top:2rem; }
.nr-roles details { border-bottom:1px solid var(--rule); }
.nr-roles summary { display:flex; align-items:center; flex-wrap:wrap; gap:1rem; cursor:pointer; padding:1.3rem 0; }
.nr-region, .nr-role-location, .original-credit { color:#566b60; font-size:.875rem; }
.nr-disclosure { width:22px; margin-left:auto; }
.nr-job { padding:0 clamp(1rem,3vw,3rem) 1.5rem; background:#eef1eb; }
.nr-job-aside { overflow-wrap:anywhere; }
.nr-job-aside dd {margin:0 0 .65rem}
.archive-facilities { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1rem,2.5vw,2.5rem); }
.archive-facilities figure { margin:0; }
.archive-facilities img, .ref-culture article > img { width:100%; aspect-ratio:1.8; object-fit:cover; }
.archive-facilities figcaption { padding:.8rem 0; border-bottom:1px solid var(--rule); }
.ref-culture-wrap { background:#e9eee6; }
.ref-culture article h2 { display:flex; align-items:center; gap:.65rem; }
.ref-culture article h2 img { width:36px; height:36px; object-fit:contain; }
.ref-contact-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.ref-contact-grid article { border-top:1px solid #a4baad; padding-block:1rem; }
.ref-contact-grid img { width:42px; height:42px; object-fit:contain; }
.ref-contact-grid :is(span,a) { line-height:1.8; overflow-wrap:anywhere; }
.ref-contact-grid a:hover { text-decoration:underline; }
.honor-mast { background:#e7ece5; }
.honor-mast-inner, .honor-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.honor-mast-inner { padding-block:clamp(2rem,5vw,5rem); }
.honor-total { display:grid; border-left:1px solid #8fa594; padding-left:1.5rem; }
.honor-total strong { font:clamp(2.5rem,4.5vw,5rem)/1 Georgia,serif; }
.honor-total small, .honor-total span { font:normal .85rem/1.6 var(--body); }
.honor-categories small { margin-left:.4rem; }
.honor-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr)); gap:1.5rem; }
.honor-preview { position:relative; background:#e9eee7; padding:1rem; }
.honor-preview img { width:100%; height:220px; object-fit:contain; }
.honor-card h3 { margin:.65rem 0; font-size:1rem; line-height:1.6; }
/* A document viewer with a bounded image stage and persistent controls. */
.honor-viewer {
  width: min(1040px, calc(100vw - 48px));
  height: min(900px, 92dvh);
  max-width: 100vw;
  max-height: 100dvh;
  padding: 0;
  margin: auto;
  border: 1px solid #c9cdc4;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.honor-viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.honor-viewer::backdrop { background: rgb(9 20 21 / 82%); }
.honor-lightbox-head,.honor-lightbox-controls { display:flex; align-items:center; gap:12px; padding:10px clamp(12px,2vw,26px); }
.honor-lightbox-head { justify-content:space-between; }
.honor-lightbox-head > div { min-width:0; }
.honor-position { font: .78rem/1.4 var(--body); color:#435851; margin:0 0 3px; }
.honor-lightbox-head h2 { font:500 clamp(1.08rem,2vw,1.55rem)/1.25 var(--display); overflow-wrap:anywhere; margin:0; }
.honor-sheet { min-width:0; min-height:0; padding:clamp(8px,1.6vw,22px); background:#293636; overflow:auto; overscroll-behavior:contain; }
.honor-sheet img { display:block; width:100%; height:100%; object-fit:contain; }
.honor-sheet.actual-size img { width:auto; height:auto; max-width:none; max-height:none; margin:auto; }
.honor-viewer button,.honor-original { min-height:44px; color:var(--ink); background:transparent; font:500 .9rem/1.3 var(--body); }
.honor-close,.honor-lightbox-controls button[data-honor-prev],.honor-lightbox-controls button[data-honor-next] { width:44px; flex:none; display:grid; place-items:center; border:1px solid var(--rule); font-size:1.25rem; }
.honor-close svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; }
.honor-lightbox-controls > div { display:flex; gap:5px; margin-right:auto; }
.honor-scale { padding-inline:12px; border:1px solid var(--rule); }
.honor-scale[aria-pressed=true] { color:white; background:#274a42; }
.honor-original { display:inline-flex; align-items:center; text-decoration:underline; text-underline-offset:3px; }
.honor-viewer button:hover:not(:disabled) { background:#e0e5da; color:var(--ink); }
.honor-viewer button:disabled { opacity:.34; cursor:default; }
@media(max-width:600px) {
  .honor-viewer { width:100%; height:100dvh; border:0; }
  .honor-lightbox-controls { gap:8px; flex-wrap:wrap; padding-bottom:max(10px,env(safe-area-inset-bottom)); }
  .honor-sheet { padding:6px; }
}
.honor-heading, .sr-result-bar { border-bottom:1px solid var(--rule); margin-bottom:1.25rem; }
.sr-section { max-width:1000px; }
.sr-visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.sr-controls { display:flex; flex-wrap:wrap; gap:8px; margin:.5rem 0 1.6rem; }
.sr-controls :is(input,select) { padding:.8rem; background:white; border:1px solid #afc1b4; border-radius:0; color:var(--ink); }
.sr-controls input { flex:1 1 44%; min-width:0; }
.sr-result-bar { display:flex; align-items:center; justify-content:space-between; }
.sr-results { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 2rem; list-style:none; padding:0; }
.sr-item { display:flex; align-items:center; gap:1rem; border-bottom:1px solid var(--rule); min-height:100px; padding:.65rem 0; }
.sr-item img { object-fit:contain; width:80px; height:64px; }
.sr-item-copy { display:grid; gap:.35rem; }
.sr-item-copy :is(.sr-category,time) { font-size:.78rem; color:#547062; }
@media (max-width:720px) {
  .pr-banner, .nr-hero, .sr-hero { min-height:185px; }
  .pr-banner > picture, .nr-hero > img, .sr-hero > img { width:40%; }
  .pr-banner-text h1 { max-width:54%; font-size:clamp(1.15rem,5.25vw,2.3rem); }
  .pr-detail, .nr-story-body, .nr-people, .nr-charity-text, .nr-job, .ref-culture article, .sr-results, .ref-contact-grid { grid-template-columns:1fr; }
  .honor-heading, .honor-mast-inner { flex-wrap:wrap; }
  .honor-total { padding-left:.8rem; }
  .honor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.85rem; }
  .honor-preview img { height:145px; }
  .nr-feature-img img, .nr-people > img { height:auto; }
  .nr-job { gap:0; }
  .archive-facilities { grid-template-columns:1fr; }
  .sr-controls input { flex-basis:100%; }
}



/* Science and product reading guides */
.guide-index,.guide-story { padding-block: clamp(2rem,5vw,5rem) clamp(3rem,7vw,7rem); color: var(--ink); }
.guide-index header,.guide-story header { border-bottom: 1px solid var(--rule); padding-bottom: clamp(1.5rem,3vw,3rem); }
.guide-index h1,.guide-story h1 { font: 500 clamp(2rem,4.2vw,4.6rem)/1.13 var(--display); text-wrap: balance; margin: 0 0 1.2rem; }
.guide-index header p,.guide-story header p { max-width: 65ch; font-size: clamp(1rem,1.4vw,1.25rem); line-height: 1.75; }
.guide-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem,6vw,6rem); }
.guide-list article { padding-block: clamp(1.5rem,3vw,3rem); border-bottom: 1px solid var(--rule); }
.guide-list h2,.guide-story h2 { font: 500 clamp(1.4rem,2.25vw,2.2rem)/1.35 var(--display); margin: 0 0 .65rem; }
.guide-list p,.guide-story section p { line-height: 1.85; margin: .6rem 0; color: #394f4b; }
.guide-list a:hover,.guide-story aside a { color: var(--teal); text-decoration: underline; text-underline-offset: .22em; }
.guide-story { max-width: 810px; }
.guide-story header span { font-size: .85rem; color: #455c55; }
.guide-story section,.guide-story aside { margin-top: clamp(1.8rem,3vw,3rem); }
.guide-story aside { border-top: 1px solid var(--rule); padding-top: 1.3rem; }
.guide-story aside ul { padding-inline-start: 1.2em; line-height: 2; }
@media(max-width:700px) { .guide-list { grid-template-columns: 1fr; } }

.pr-reading { margin-block: 1.6rem; }
.pr-reading h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.pr-reading a { display: block; color: var(--teal); line-height: 1.7; text-decoration: underline; text-underline-offset: .2em; }
