/* SPDX-License-Identifier: Apache-2.0 */
/* Apply the laboratory identity and reading layouts to the metal components. */
:root {
  --accent: #d97a12; --glow: #ffd4a0;
  --metal: linear-gradient(180deg, #fff3e2 0%, #ccb79f 13%, #a5917c 49%, #efdbc1 51%, #bba286 94%, #896d50 100%);
}
.fil .brand { gap: 11px; }
.fil .brand img { width: 80px; height: 80px; filter: drop-shadow(0 1px #fff4df); }
.fil-wordmark { font: 20px/1.3 var(--display); letter-spacing: 2px; color: #3a2b1b; text-shadow: 0 1px #fff0d9; }
.fil-wordmark > span { display: block; font-size: 22px; letter-spacing: 3px; }
.fil-wordmark small { display: block; font: 7px/1.5 var(--display); letter-spacing: 5.7px; margin-top: 5px; }
.fil .masthead { height: 122px; }
.fil .masthead-right { line-height: 1.8; }
.fil .masthead-right span:first-child { font-size: 8px; letter-spacing: 1.6px; }
.fil .address-strip { background: #59412b; }
.sibling-link { display: inline-flex; align-items: center; gap: 9px; padding: 0 4px; color: #ffd4a0; }
.sibling-link:hover { text-decoration: underline; }
.fil .stage { grid-template-columns: 168px minmax(0, 1fr) 488px; min-height: 660px; }
.fil .artwork { opacity: .93; background-position: 42% 50%; }
.fil .side-rail { gap: 75px; }
.fil .art-word { font-size: 92px; line-height: 1.1; letter-spacing: -7px; }
.fil .art-caption > span:nth-child(2) { font-size: 6px; letter-spacing: .5px; }
.fil .art-caption small { font-size: 5px; letter-spacing: .4px; }
.fil .art-caption i { background: repeating-linear-gradient(110deg, var(--accent) 0 5px, transparent 5px 8px); }
.fil .swatches i:nth-child(1) { background: #ffd4a0; }
.fil .swatches i:nth-child(2) { background: #d97a12; }
.fil .swatches i:nth-child(3) { background: #9c6030; }
.fil .swatches i:nth-child(4) { background: #674225; }
.fil .swatches i:nth-child(5) { background: #302114; }
.fil .window-body { background: repeating-linear-gradient(0deg, #fff2db05 0 1px, transparent 1px 3px), linear-gradient(135deg, #392919f2, #271d15fa); }
.fil .window-title { background: #62472e; }
.fil .window-title > span { min-width: 0; }
.fil .window-title button { flex-shrink: 0; }
.fil .window-footer { letter-spacing: .2px; gap: 8px; }
.fil .window-footer > span:last-child { flex-shrink: 0; }
.fil .nav-links a[aria-current] { color: #ffe4c3; background: #4b2e17; border-left: 2px solid var(--accent); padding-left: 4px; }
.fil .nav-links a:hover { color: #291807; background: #f7c78b; }
.fil :focus-visible { outline-color: #ffb860; }
.fil .navigation :focus-visible, .fil .display-controls :focus-visible, .fil .masthead :focus-visible { outline-color: #502802; }
.fil .window-body p { margin: 0 0 17px; color: #e0d1bf; }
.fil .window-body .kicker { font: 7px/1.7 var(--display); letter-spacing: 1.1px; color: #d7b88e; margin-bottom: 18px; text-transform: uppercase; }
.fil h1 { font: 27px/1.5 var(--display); letter-spacing: -.8px; color: #fff0dc; margin: 0 0 20px; text-wrap: balance; overflow-wrap: anywhere; }
.fil h2 { color: #ffd4a0; font-size: 14px; line-height: 1.65; margin: 28px 0 14px; }
.fil h3 { font: 12px/1.7 var(--display); color: #ffdbac; margin: 0 0 10px; overflow-wrap: anywhere; }
.fil .window-body .lede, .fil .window-body .standfirst { font-size: 22px; line-height: 1.38; color: #f4ddbd; }
.fil .window-body .card-sub { color: #bb9971; font-size: 14px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #c48d4940; }
.fil .window-body a:not(.btn) { color: #ffcf90; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.fil .window-body a:not(.btn):hover { color: #fff5e6; }
.fil .card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0 4px; }
.fil .btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 15px;
  padding: 10px 12px; min-height: 38px; color: #38220b; background: var(--metal);
  border: 1px solid #291805; box-shadow: inset 1px 1px #fff7e7, inset -1px -1px #82664b;
  font: 8px/1.7 var(--display); text-decoration: none; text-transform: uppercase; overflow-wrap: anywhere;
}
.fil .btn:after { content: '»'; font: 21px/10px Arial, sans-serif; flex-shrink: 0; }
.fil .btn-orange { background: linear-gradient(#ffe2b7 0%, #e5a35b 45%, #d97a12 49%, #f0ad5f 95%, #a45c10); }
.fil .btn:hover { background: #ffd4a0; color: #2a1604; }
.fil .btn:active { box-shadow: inset 1px 1px #684011; transform: translateY(1px); }
.fil .meta-line { padding-top: 20px; border-top: 1px solid #a878454d; font-size: 13px; color: #b99a79; }
.fil .fact-list { list-style: none; margin: 0; padding: 0; }
.fil .fact-list li { padding: 10px 0; border-bottom: 1px solid #ba8b5040; overflow-wrap: anywhere; }
.fil .fact-k { display: block; color: #cfa36d; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.fil .tier-label { display: block; font: 9px/1.7 var(--display); letter-spacing: 1px; color: #e7b67d; margin: 22px 0 14px; text-transform: uppercase; }
.fil .tier-note { font-size: 16px; }
.fil .tier { margin-top: 26px; }
.fil .card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fil .stack { display: grid; align-content: start; gap: 18px; min-width: 0; }
.fil .card { padding: 19px 21px; border: 1px solid #af885366; background: linear-gradient(135deg, #513c254d, #1e170f4d); box-shadow: inset 0 1px #d7aa7425; }
.fil .card > :first-child { margin-top: 0; }.fil .card > :last-child { margin-bottom: 0; }
.fil .well { padding: 20px; border: 1px solid #96724e; background: #21191088; box-shadow: inset 1px 1px 3px #0c0905; }
.fil .well > :first-child { margin-top: 0; }.fil .well p:last-child { margin-bottom: 0; }
.fil-interior .stage { grid-template-columns: 168px minmax(0, 1fr); gap: 28px; overflow: clip; background: #241a10; }
.fil-interior .artwork { inset: 0; height: 860px; background-size: auto 900px; background-position: 36% 0; mask-image: linear-gradient(#000 45%, transparent); }
.fil-interior .content-window { grid-column: 2; margin-left: 55px; }
.fil-interior .window-body { padding: 30px 34px; }
.fil-interior .window-body .article { max-width: 67ch; margin-inline: auto; }
.fil-interior .side-rail { position: sticky; top: 18px; gap: 28px; }
.article-index { border: 1px solid #2f200f; background: #342818f0; }
.article-index .panel-cap { font-size: 7px; }
.article-index a { display: block; padding: 9px 10px; color: #edd5b3; font-size: 13px; border-top: 1px solid #eab26e30; line-height: 1.25; }
.article-index a:hover { color: #fff5e6; background: #79532c66; }
.fil-interior .columns { display: grid; gap: 25px; }
.fil-home .home-details { padding: 29px; background: linear-gradient(135deg, #463321, #2b2117); border-top: 3px double #ba976d; }
.fil-home .home-details .columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.fil-home .home-details .card, .fil-home .home-details .well { background: #281e1588; }
.fil-home .home-details p { color: #ddcbb4; margin-block: 10px; }.fil-home .home-details h2 { margin-top: 0; }
.fil-home .home-details a:not(.btn) { color: #ffce91; overflow-wrap: anywhere; }
.fil-home .home-details .section-head { padding-bottom: 10px; border-bottom: 1px solid #be8d53; }
.fil-home .home-details .tier-label { color: #cc9d61; margin-top: 0; }
.fil .module-heading { border-top-color: #e8c496; background: linear-gradient(100deg, #a1835d, #735538); }
.fil .module { background: #3a2819; }.fil .module:hover .module-heading { background: #94714b; }
.fil .module-strip { background: linear-gradient(#977b58, #4b3622); }
.fil .site-footer { background: #392919; }.fil .site-footer > div { display: flex; flex-wrap: wrap; gap: 22px; }
.fil.reading-expanded .content-window { margin-left: 0; }.fil-interior.reading-expanded .content-window { grid-column: 2; }
.fil.reading-expanded .window-body { padding: 30px 30px; }.fil-interior.reading-expanded .window-body .article { max-width: none; }
.fil-home.reading-expanded .window-body { max-width: none; }.fil-home.reading-expanded .window-body p { max-width: 65ch; }
.fil-interior.page-error .stage { min-height: 650px; }.fil-interior.page-error h1 { font-size: 35px; }
@media (max-width: 1150px) {
  .fil .stage { grid-template-columns: 155px minmax(0, 1fr) 440px; padding-inline: 20px; gap: 18px; }
  .fil-interior .stage { grid-template-columns: 155px minmax(0, 1fr); }.fil-interior .content-window { margin-left: 15px; }
  .fil .art-word { font-size: 70px; }.fil .art-caption > span:nth-child(2) { font-size: 5px; }
  .fil .window-title { font-size: 7px; letter-spacing: .5px; }.fil .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .fil .stage { grid-template-columns: 145px minmax(0, 1fr); padding-top: 180px; }.fil-interior .stage { padding-top: 30px; }
  .fil-interior .content-window { margin-left: 0; }.fil-interior .side-rail { position: static; }.fil-interior .window-body { padding: 24px; }
  .fil .window-title { font-size: 6px; letter-spacing: .2px; }.fil .window-footer { font-size: 5px; }
  .fil-home .home-details .columns { grid-template-columns: 1fr; }.fil-home .home-details .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fil .masthead-right { max-width: 175px; }.fil .masthead-right span:first-child { font-size: 6px; letter-spacing: .5px; }
}
@media (max-width: 620px) {
  .fil .artwork { background-position: 40% 0; }
  .fil .masthead { height: 102px; padding: 10px; }.fil .brand { gap: 3px; }.fil .brand img { width: 65px; height: 65px; }
  .fil-wordmark { font-size: 14px; letter-spacing: 1.4px; }.fil-wordmark > span { font-size: 15px; letter-spacing: 2.2px; }
  .fil-wordmark small { font-size: 5px; letter-spacing: 3.9px; }
  .fil .stage { display: flex; padding: 180px 12px 43px; gap: 15px; }.fil-interior .stage { padding-top: 15px; }
  .fil .navigation { width: 100%; }.fil .nav-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fil .nav-links a { font-size: 6px; }.fil .nav-links a:nth-child(4), .fil .nav-links a:nth-child(5) { background-color: #88725633; }
  .fil .nav-links a[aria-current] { background: #4b2e17; }
  .fil .art-caption { top: 29px; }.fil .art-word { font-size: 88px; }.fil .art-caption > span:nth-child(2) { font-size: 6px; }
  .fil .content-window { margin: 0; width: 100%; }.fil .window-body, .fil-interior .window-body { padding: 24px 18px; }
  .fil h1 { font-size: 22px; letter-spacing: -.7px; }.fil h2 { font-size: 12px; }
  .fil .window-title { min-height: 33px; height: auto; padding-block: 7px; line-height: 1.8; }
  .fil .window-body .lede, .fil .window-body .standfirst { font-size: 21px; }
  .fil .card-grid, .fil-home .home-details .card-grid { grid-template-columns: 1fr; }
  .fil .btn { max-width: 100%; min-height: 44px; font-size: 7px; padding: 10px; gap: 8px; }
  .fil .card, .fil .well { padding: 17px; }.fil .card p { font-size: 16px; }.fil .display-panel { width: 100%; }
  .fil .article-index { order: 0; width: 100%; display: flex; flex-wrap: wrap; }.fil .article-index .panel-cap { width: 100%; }
  .fil .article-index a { padding: 12px; min-height: 44px; }.fil-home .home-details { padding: 18px 12px; }
  .fil .site-footer { font-size: 5px; }.fil .site-footer > div { gap: 16px; }.fil .outer-caption { font-size: 4px; }
  .fil .sibling-link { font-size: 7px; padding: 5px; }
}
@media print {
  .fil .stage { display: block; padding: 0; background: white; }.fil .content-window { margin: 0; }
  .fil .window-body { padding: 20px 0 !important; }.fil .home-details { background: white; padding: 20px 0; }
  .fil .window-body *, .fil .home-details * { color: black !important; background: transparent !important; }
  .fil .card { break-inside: avoid; }.fil .side-rail { display: none; }
}

/* Link the laboratory publications with the same navigation treatment. */
.sibling-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.fil-labs .module-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1150px) { .fil-labs .module-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .fil-labs .address-strip { flex-wrap: wrap; align-items: center; }
  .sibling-links { gap: 12px; }.fil-labs .nav-links a:nth-child(6) { background-color: #88725633; }
  .fil-labs .nav-links a[aria-current] { background: #4b2e17; }
  .fil-labs .module-strip { grid-template-columns: 1fr; }
}
