/* The lantern and the Revere cover share the site's charcoal and silver palette. */
.site-header .header-inner{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:24px;min-height:100px;padding-block:12px}
.lantern-home{display:inline-flex;align-items:center;justify-content:center;justify-self:start;width:48px;height:68px;padding:0;border-radius:2px}
.lantern-logo{display:block;width:48px;height:68px;object-fit:contain;filter:grayscale(1)!important;transition:filter .2s ease}
.lantern-home:hover .lantern-logo{filter:grayscale(1) drop-shadow(0 0 3px #ffbe0066)!important}
.header-collection{justify-self:start;text-align:left;color:var(--ink)}
.header-collection>span{display:block;font:10px/1.5 var(--sans);letter-spacing:.075em}
.header-collection>strong{display:block;font:400 29px/1.12 var(--display);letter-spacing:.02em;margin-top:5px;white-space:nowrap}
.home-page .header-collection{color:#e0e1e2}
.home-page .header-collection>span{color:#bfc1c3}
.site-header .header-inner>nav{justify-content:flex-end;flex-wrap:nowrap}
.revere-home{padding:24px 24px 36px;min-height:calc(100svh - 103px);gap:8px}
.revere-book{width:min(470px,max(290px,calc((100svh - 195px)*.6667)));height:auto;aspect-ratio:2/3;max-width:88vw;transform:none;filter:drop-shadow(10px 20px 26px #0009)}
.revere-book:before{content:none}
.revere-book .book-pages{inset:6% 6% 6% 9%;opacity:0;transition:opacity .2s ease;transform:none}
.revere-cover{position:relative;inset:auto;width:100%;height:100%;background:none;box-shadow:none;border-radius:0;transform:none;transform-origin:7% 50%;overflow:visible}
.revere-cover:before,.revere-cover:after{content:none}
.revere-cover-art{display:block;width:100%;height:auto;filter:grayscale(1)!important;border:0;box-shadow:none}
.revere-cover:hover{transform:rotateY(-4deg)}
.revere-book.is-opening .book-pages{opacity:1}
.revere-book.is-opening .revere-cover{transform:rotateY(-155deg)}
.revere-home .book-instruction{margin:0;padding:8px 16px;font:12px/1.5 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#d5d7d9;text-decoration:underline;text-decoration-color:#62696f;text-underline-offset:6px}
.revere-home .book-instruction:is(:hover,:focus-visible){color:var(--accent-yellow-light);text-decoration-color:var(--accent-yellow-light)}
@media(max-width:950px){.site-header .header-inner{gap:15px;width:calc(100% - 64px)}.header-collection>span{font-size:9px;letter-spacing:.025em}.header-collection>strong{font-size:27px}.site-header .header-inner>nav a{padding-inline:9px;font-size:9px}}
@media(max-width:700px){.site-header .header-inner{grid-template-columns:48px 1fr;gap:8px 18px;width:calc(100% - 44px);padding-block:9px 6px;min-height:110px}.lantern-home,.lantern-logo{width:40px;height:56px}.header-collection{grid-column:2;grid-row:1}.header-collection>span{font-size:9px;letter-spacing:.035em}.header-collection>strong{font-size:26px;margin-top:3px}.site-header .header-inner>nav{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:8px;min-height:36px}.site-header .header-inner>nav a{min-height:36px;padding:7px 10px}.site-header .header-inner>nav a:first-child{padding-left:0}.site-header .header-inner>nav .search-link{margin-left:0}.revere-home{min-height:calc(100svh - 118px);padding:20px 20px 28px;gap:8px}.revere-book{width:min(320px,82vw,max(260px,calc((100svh - 204px)*.6667)));max-width:100%;aspect-ratio:2/3;height:auto}.revere-home .book-instruction{font-size:10px}}
@media(prefers-reduced-motion:reduce){.revere-cover,.revere-cover:hover,.revere-book.is-opening .revere-cover{transform:none}}

/* Collection first, followed by its author and his sourced quotations. */
.about-papers{padding-bottom:34px;border-bottom:1px solid var(--line);margin-bottom:34px}
.about-papers h1{font:400 56px/1.08 var(--display);margin:12px 0 20px;letter-spacing:-.025em}
.about-papers>p{font:20px/1.7 var(--serif);margin:0 0 18px}
.about-papers .about-papers-deck{font-size:24px;line-height:1.45;margin-bottom:25px}
.about-papers a{text-decoration:underline;text-decoration-color:#999;text-underline-offset:3px}
.about-papers a:is(:hover,:focus-visible){color:var(--accent-gold-dark);text-decoration-color:var(--accent-ink)}
.about-profile h2{font-size:46px;line-height:1.1;margin:10px 0 12px;letter-spacing:-.025em}
@media(max-width:760px){.about-papers h1{font-size:42px}.about-papers>p{font-size:19px}.about-papers .about-papers-deck{font-size:22px}.about-profile h2{font-size:36px}.about-papers{padding-bottom:24px;margin-bottom:28px}}
/* Color is confined to the molecule light; the cover and lantern metal stay neutral. */
.lantern-home{position:relative;isolation:isolate}
.lantern-home:after{content:'';position:absolute;left:50%;top:62.5%;width:26%;height:18%;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse,#fffbdcf5 0%,#ffd47abc 22%,#ff971b80 48%,#ff8b0000 76%);box-shadow:0 0 10px 4px #ffc15be0,0 0 24px 8px #ff8a2375;mix-blend-mode:screen;transform:translate(-50%,-50%);animation:knowledge-light 3.8s ease-in-out infinite}
@keyframes knowledge-light{0%,100%{opacity:.9;transform:translate(-50%,-50%) scale(.9)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.18)}}
@media(prefers-reduced-motion:reduce){.lantern-home:after,.revere-cover:after{animation:none;opacity:.8}}

/* A compact colophon: no repeated masthead or main navigation. */
.site-footer.compact-footer{padding:22px 48px;border-top:1px solid #9c9c9c}
.footer-strip{max-width:1200px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 160px minmax(0,1fr);align-items:center;gap:30px}
.footer-copyright{justify-self:start;text-align:left}
.footer-copyright>p{font:10px/1.7 var(--sans);color:#565b60;margin:0 0 8px}
.footer-utility{justify-content:flex-start;gap:22px;font:10px/1.5 var(--sans)}
.footer-utility a{padding:2px 0;text-decoration:underline;text-decoration-color:#9c9c9c;text-underline-offset:4px}
.footer-utility a:is(:hover,:focus-visible){color:var(--accent-gold-dark);text-decoration-color:var(--accent-ink)}
.compact-footer .footer-emblem{width:145px;max-width:100%;margin:0;justify-self:center;align-self:center}
.compact-footer .footer-social{justify-self:end;text-align:right;margin:0}
.compact-footer .footer-social>.eyebrow{font-size:8px}
.compact-footer .social-icons{justify-content:flex-end;gap:8px;margin-top:7px}
.compact-footer .social-icons a{width:32px;height:32px;min-width:32px;padding:7px}
@media(max-width:760px){.site-footer.compact-footer{padding:22px 28px}.footer-strip{grid-template-columns:minmax(0,1fr) 125px minmax(0,1fr);gap:18px}.compact-footer .footer-emblem{width:125px}.footer-copyright>p{font-size:9px}.footer-utility{gap:14px;font-size:9px}}
@media(max-width:600px){.footer-strip{grid-template-columns:1fr 1fr;gap:18px 20px}.compact-footer .footer-emblem{grid-column:1;grid-row:1;justify-self:start;width:125px}.compact-footer .footer-social{grid-column:2;grid-row:1}.footer-copyright{grid-column:1/-1;grid-row:2;justify-self:center;text-align:center}.footer-utility{justify-content:center;gap:22px}.footer-copyright>p{margin-bottom:7px}.compact-footer .social-icons{gap:6px}.compact-footer .social-icons a{width:30px;height:30px;min-width:30px;padding:6px}}

/* Hover and focus never restore the warm tint of the source cover artwork. */
.revere-cover .revere-cover-art,.revere-cover:is(:hover,:focus-visible) .revere-cover-art,.lantern-home .lantern-logo{filter:grayscale(1)!important}

/* Rays make the molecule a clear source of light; the engraved orbit stays legible. */
.lantern-home:before{content:'';position:absolute;left:50%;top:62.5%;width:31px;height:31px;bottom:auto;border-radius:50%;pointer-events:none;z-index:1;background:repeating-conic-gradient(from 8deg,#ffe5a600 0deg 10deg,#ffc06fcc 12deg 14deg,#ffe5a600 17deg 30deg);mask-image:radial-gradient(circle,transparent 12%,#000 32%,#0008 49%,transparent 74%);-webkit-mask-image:radial-gradient(circle,transparent 12%,#000 32%,#0008 49%,transparent 74%);mix-blend-mode:screen;transform:translate(-50%,-50%);animation:knowledge-light 3.8s ease-in-out infinite}
.compact-footer .social-icons a:nth-child(odd){--social-accent:var(--accent-gold-dark)}
.compact-footer .social-icons a:nth-child(even){--social-accent:var(--accent-ink)}
@media(hover:hover) and (pointer:fine){.compact-footer .social-icons a{transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease}.compact-footer .social-icons a:hover{background:var(--social-accent);border-color:var(--social-accent);color:#fff;box-shadow:inset 0 0 0 2px var(--social-accent),inset 0 0 0 3px #ffffffb3}}
@media(prefers-reduced-motion:reduce){.lantern-home:before{animation:none;opacity:.9}.compact-footer .social-icons a{transition:none}}

/* Keep the light inside the same flat artwork layer as the lantern. */
.revere-cover{transform-style:flat}
.cover-artwork{position:relative;display:block;width:100%;isolation:isolate;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.cover-molecule-light{position:absolute;left:44.7%;top:52.1%;width:4.8%;height:3.2%;border-radius:50%;pointer-events:none;backface-visibility:hidden;-webkit-backface-visibility:hidden;mix-blend-mode:screen;background:radial-gradient(ellipse,#fffbdcf5 0%,#ffd47acc 20%,#ff9b298f 45%,#ff870000 76%);box-shadow:0 0 10px 5px #ffc15bc0,0 0 26px 12px #ff8a238c,0 0 42px 17px #ff6f0030;transform:translate(-50%,-50%);animation:knowledge-light 4.4s ease-in-out infinite}
.cover-molecule-light:before{content:'';position:absolute;left:50%;top:50%;width:360%;height:360%;border-radius:50%;pointer-events:none;background:repeating-conic-gradient(from 8deg,#ffe5a600 0deg 10deg,#ffb85fcc 12deg 14deg,#ffe5a600 17deg 30deg);mask-image:radial-gradient(circle,transparent 12%,#000 32%,#0008 49%,transparent 74%);-webkit-mask-image:radial-gradient(circle,transparent 12%,#000 32%,#0008 49%,transparent 74%);transform:translate(-50%,-50%)}
.revere-book.is-opening .cover-molecule-light{animation:none;opacity:0;visibility:hidden}
@media(prefers-reduced-motion:reduce){.cover-molecule-light{animation:none;opacity:.9}}

/* Book typography, with a companion face designed for sustained reading. */
@font-face{font-family:'STEM Caslon Display';src:url('/assets/fonts/LibreCaslonDisplay.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'STEM Caslon Text';src:url('/assets/fonts/LibreCaslonText.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:'STEM Caslon Text';src:url('/assets/fonts/LibreCaslonText-Italic.woff2') format('woff2');font-weight:400 700;font-style:italic;font-display:swap}
:root{--display:'STEM Caslon Display',Baskerville,Georgia,serif;--serif:'STEM Caslon Text',Baskerville,Georgia,serif}
h1,h2,h3,.article-heading h1{font-family:var(--display);font-weight:400;letter-spacing:-.015em}
.about-papers h1{font-size:54px;line-height:1.1;letter-spacing:-.015em}
.about-papers>p,.about-biography>p{font-size:18px;line-height:1.8}
.about-papers .about-archive-note{font:12px/1.7 var(--sans);margin-top:24px}
.about-selected-quotes blockquote p{font-size:23px;line-height:1.6}
.header-collection>strong{font:600 10px/1.4 var(--sans);letter-spacing:.08em;text-transform:uppercase;margin-top:6px}
.revere-home .book-instruction{margin-top:-18px;position:relative;z-index:2}
@media(max-width:760px){.about-papers h1{font-size:40px}.about-papers>p,.about-biography>p{font-size:17px}.about-selected-quotes blockquote p{font-size:21px}.header-collection>strong{font-size:10px}.revere-home .book-instruction{margin-top:-12px}}

/* Stationary atom details pulse with the lantern light; the rays remain unchanged. */
.molecule-orbits{position:absolute;left:44.7%;top:52.1%;width:6.1%;height:5.4%;transform:translate(-50%,-50%);pointer-events:none;mix-blend-mode:screen;color:#ffba64;z-index:2;animation:molecule-radiance 4.4s ease-in-out infinite}
.atom-orbit{position:absolute;inset:0;border:.6px solid #ffc47b9c;border-radius:50%;transform:rotate(-32deg) scaleX(.42)}
.atom-orbit:nth-child(2){transform:rotate(32deg) scaleX(.42)}
.atom-orbit:nth-child(3){transform:rotate(90deg) scaleX(.42)}
.orbit-runner{position:absolute;inset:0}
.atom-orbit:nth-child(2) .orbit-runner{transform:rotate(120deg)}
.atom-orbit:nth-child(3) .orbit-runner{transform:rotate(240deg)}
.orbit-runner:before{content:'';position:absolute;left:50%;top:0;width:4px;height:4px;border-radius:50%;background:#fff0c9;box-shadow:0 0 4px 2px #ffb259,0 0 9px 3px #ff932980;transform:translate(-50%,-50%) scaleX(2.38)}
.lantern-home .molecule-orbits{left:50%;top:62.5%;width:25%;height:24%;animation-duration:3.8s}
.lantern-home .orbit-runner:before{width:2px;height:2px;box-shadow:0 0 3px 1px #ffc47b}
.cover-author-light{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.revere-book.is-opening .molecule-orbits{animation:none;opacity:0;visibility:hidden}
@keyframes molecule-radiance{0%,100%{opacity:.55;filter:brightness(1) drop-shadow(0 0 1px #ffad4d55)}50%{opacity:1;filter:brightness(1.45) drop-shadow(0 0 4px #ffad4dcc)}}
@media(prefers-reduced-motion:reduce){.molecule-orbits{animation:none;opacity:.9}}

/* A stronger fabric roll behind the stationary book and reading surfaces. */
.archive-flag.photo-flag,.home-page .archive-flag.photo-flag{animation:flag-fabric-roll 9s ease-in-out infinite alternate;will-change:transform}
.photo-flag:after{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 10%,#0008 31%,#ffffff42 45%,transparent 58%,#0007 75%,transparent 90%);background-size:220% 100%;mix-blend-mode:soft-light;opacity:.65;animation:flag-fold-light 11s ease-in-out infinite alternate}
@keyframes flag-fabric-roll{0%{transform:scale(1.065) perspective(1400px) rotateY(-3deg) skewY(-1.15deg) translate3d(-1.6%,-.6%,0)}50%{transform:scale(1.09) perspective(1400px) rotateY(.5deg) skewY(.3deg) translate3d(.3%,.7%,0)}100%{transform:scale(1.075) perspective(1400px) rotateY(2.6deg) skewY(1.1deg) translate3d(1.6%,-.3%,0)}}
@keyframes flag-fold-light{from{background-position:0% 50%}to{background-position:100% 50%}}
.page-hidden .photo-flag:after{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.archive-flag.photo-flag,.home-page .archive-flag.photo-flag,.photo-flag:after{animation:none!important;will-change:auto}}

/* Charcoal and warm yellow accents carry the lantern palette through the site. */
::selection{background:var(--accent-yellow);color:var(--accent-ink)}
.row-image,.card-image,.series-gallery .card-image,.prose .article-image-frame{border-color:var(--accent-yellow)}
.archive-row{border-top-color:var(--accent-yellow)}
.reading-progress>span{background:var(--accent-yellow)}
.button-link,.about-simple-end .button-link,.filter.active,.article-return-nav a:last-child{background:var(--accent-ink);color:var(--accent-yellow-light);border-color:var(--accent-ink);box-shadow:inset 0 0 0 3px var(--accent-ink),inset 0 0 0 4px var(--accent-yellow)}
.button-link:before,.button-link:after{color:currentColor}
:is(.button-link,.text-link,.article-return-nav a,.filter,.article-tags a,.reading-tools button,.results-summary button):is(:hover,:focus-visible),.about-simple-end .button-link:is(:hover,:focus-visible),.article-return-nav a:last-child:is(:hover,:focus-visible){background:var(--accent-yellow);color:var(--accent-ink);border-color:var(--accent-ink);box-shadow:inset 0 0 0 3px var(--accent-yellow),inset 0 0 0 4px var(--accent-ink)}
.header-inner>nav a:is(:hover,:focus-visible){background:#ffbe0030;color:var(--accent-ink);border-color:var(--accent-gold-dark)}
.home-page .header-inner>nav a:is(:hover,:focus-visible){color:var(--accent-yellow-light);background:#ffbe001a;border-color:var(--accent-yellow)}
.compact-footer .social-icons a:nth-child(odd){--social-accent:var(--accent-yellow);--social-ink:var(--accent-ink)}
.compact-footer .social-icons a:nth-child(even){--social-accent:var(--accent-ink);--social-ink:var(--accent-yellow-light)}
.compact-footer .social-icons a:is(:hover,:focus-visible){background:var(--social-accent);color:var(--social-ink);border-color:var(--accent-ink);box-shadow:inset 0 0 0 2px var(--social-accent),inset 0 0 0 3px var(--social-ink);outline-color:var(--accent-gold-dark)}

/* Matching collection and reading-room introductions, with charcoal emblems. */
.about-simple.wrap,.collection-page.wrap{width:min(960px,calc(100% - 128px));padding-top:0}
.archive-page .page-intro,.about-page .page-intro,.collection-page .page-intro{padding:44px 0 25px;color:var(--accent-ink)}
.archive-page .page-intro h1,.about-page .page-intro h1,.collection-page .page-intro h1{font:400 56px/1.06 var(--display);letter-spacing:-.015em;margin:14px 0 17px}
.archive-page .page-intro>p,.about-page .page-intro>p,.collection-page .page-intro>p{font:18px/1.6 var(--serif);color:var(--muted);max-width:720px;margin:0}
.collection-page .page-intro>.section-kicker{display:flex;margin-top:0}
.page-intro .section-kicker{display:flex;align-items:center;gap:12px;min-height:28px;color:var(--accent-ink)}
.archive-horseman{display:inline-block;flex:none;width:40px;height:28px;background:var(--accent-ink);mask:url('/assets/stem-dsc-horseman.png') center/contain no-repeat;-webkit-mask:url('/assets/stem-dsc-horseman.png') center/contain no-repeat}
.collection-book,.collection-architecture,.liberty-tomahawk{display:block;flex:none;width:36px;height:28px;color:var(--accent-ink)}
.about-papers>p{max-width:720px}
.about-profile,.about-biography,.about-selected-quotes,.about-simple-end{max-width:820px}
@media(min-width:761px) and (max-width:1200px){.about-simple.wrap,.collection-page.wrap{width:calc(100% - 112px)}}
@media(max-width:760px){.about-simple.wrap,.collection-page.wrap{width:calc(100% - 64px);padding-top:0}.archive-page .page-intro,.about-page .page-intro,.collection-page .page-intro{padding:30px 0 25px}.archive-page .page-intro h1,.about-page .page-intro h1,.collection-page .page-intro h1{font-size:44px}.archive-page .page-intro>p,.about-page .page-intro>p,.collection-page .page-intro>p{font-size:17px}.page-intro .section-kicker{gap:10px}}
@media(max-width:420px){.archive-page .page-intro h1,.about-page .page-intro h1,.collection-page .page-intro h1{font-size:41px}}
@media print{.about-simple.wrap{width:100%}}

/* The light originates at the center of each atom; the rays are untouched. */
.molecule-orbits:after{content:'';position:absolute;left:50%;top:50%;width:5px;height:5px;border-radius:50%;background:#fff0c9;box-shadow:0 0 4px 2px #ffb259,0 0 9px 3px #ff932980;transform:translate(-50%,-50%)}
.lantern-home .molecule-orbits:after{width:3px;height:3px;box-shadow:0 0 3px 1px #ffc47b}
/* Share actions align with the contents panel above the essay. */
.reading-tools{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0;padding:0 16px 20px}
.article-share-links,.reading-actions{display:flex;align-items:center;gap:8px}
.article-share-links a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--accent-ink);color:var(--accent-ink);background:#f1f1f1;box-shadow:inset 0 -2px var(--accent-yellow);transition:color .18s,background .18s}
.article-share-links svg{display:block;width:17px;height:17px}
.article-share-links a:is(:hover,:focus-visible){background:var(--accent-yellow);color:var(--accent-ink)}
.reading-tools button{min-height:44px;padding:10px 14px;font-size:9px;letter-spacing:.06em;border-color:var(--accent-ink);color:var(--accent-ink);box-shadow:inset 0 -2px var(--accent-yellow)}
.series-note .series-sequence{margin-top:0;padding-top:0;border-top:0}
.article-toc{padding:16px 0 0;margin:0 0 28px;border:1px solid var(--accent-ink);border-left:3px solid var(--accent-yellow);background:#f1f1f1;box-shadow:none;font:12px/1.5 var(--sans)}
.article-toc summary,.article-toc[open] summary{display:flex;align-items:center;gap:16px;min-height:48px;margin:0;padding:13px 18px;background:var(--accent-ink);color:var(--accent-yellow);font:600 10px/1.4 var(--sans);letter-spacing:.08em}
.article-toc summary:is(:hover,:focus-visible){color:var(--accent-yellow);background:#354950}
.article-toc .toc-toggle{position:relative;display:block;flex:none;width:14px;height:14px;margin-left:auto;color:var(--accent-yellow)}
.toc-toggle:before,.toc-toggle:after{content:'';position:absolute;left:0;top:6px;width:14px;height:2px;background:currentColor}
.toc-toggle:after{transform:rotate(90deg);transition:transform .15s}
.article-toc[open] .toc-toggle:after{transform:rotate(0)}
.article-toc ol{margin:0;padding:10px 20px 12px 40px;color:var(--accent-ink)}
.article-toc li{margin:0;padding:0 0 0 3px;line-height:1.5}
.article-toc li+li{border-top:1px solid #2a373c20}
.article-toc li::marker{color:var(--accent-ink);font-weight:600}
.article-toc li a{display:block;min-height:38px;padding:10px 4px;color:var(--accent-ink);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}
.article-toc li a:is(:hover,:focus-visible){text-decoration-color:var(--accent-yellow);background:#ffbe001c}
@media(max-width:760px){.reading-tools{padding:0 0 18px}.article-toc ol{padding:8px 16px 10px 34px}.article-toc summary{padding-inline:15px}.article-toc li a{font-size:12px;line-height:1.5}}
@media print{.reading-tools{display:none!important}}

/* Match STEM.org Atlas: clean fields, rounded edges and a custom charcoal chevron. */
.archive-controls{display:grid;grid-template-columns:minmax(0,1fr) 150px 180px;align-items:end;gap:16px}
.archive-controls .search-field{min-width:0;min-height:48px;border:1px solid #aebfc5;border-radius:4px;background:#fff;box-shadow:none}
.archive-controls .select-label{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;min-width:0;font:600 10px/1.4 var(--sans);letter-spacing:.08em;color:var(--accent-ink)}
.archive-controls select{appearance:none;-webkit-appearance:none;box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;min-height:48px;padding:12px 38px 12px 14px;border:1px solid #aebfc5;border-radius:4px;background-color:#fff;color:var(--accent-ink);font:500 16px/1.4 var(--sans);letter-spacing:0;text-transform:none;box-shadow:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%232a373c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}
.archive-controls select option{background:#fff;color:var(--accent-ink);font-size:16px}
.archive-controls select:hover{border-color:var(--accent-ink);box-shadow:inset 0 -2px var(--accent-yellow)}
.archive-controls select:focus-visible{outline:3px solid var(--accent-yellow);outline-offset:3px;border-color:var(--accent-ink)}
@media(max-width:760px){.archive-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.archive-controls .search-field{grid-column:1/-1}.archive-controls select{font-size:16px}}

/* The trustmark series uses the same rows and monochrome treatment as the archive. */
.series-papers .row-image.framed-cover img,.card-image.framed-cover img{filter:grayscale(1);transition:filter .28s ease}
.series-papers .row-image.framed-cover:is(:hover,:focus-visible) img,.card-image.framed-cover:is(:hover,:focus-visible) img{filter:none}
.series-papers .archive-row:first-child{margin-top:24px}
.collection-page .collection-order-note{font:12px/1.7 var(--sans);margin:22px 0 0;padding-top:20px;border-top:1px solid var(--line)}

/* An accessible right-hand disclosure keeps phone and tablet mastheads compact. */
.nav-toggle{display:none}
@media(max-width:1200px){
 .site-header.has-mobile-nav .header-inner{position:relative;grid-template-columns:48px minmax(0,1fr) 44px;gap:16px;min-height:88px;padding-block:10px;width:calc(100% - 64px)}
 .has-mobile-nav .header-collection{grid-column:2;grid-row:1}
 .has-mobile-nav .nav-toggle{grid-column:3;grid-row:1;display:inline-flex;align-items:center;justify-content:center;justify-self:end;width:44px;height:44px;padding:10px;border:1px solid #2a373c70;background:transparent;color:var(--accent-ink);cursor:pointer}
 .has-mobile-nav .nav-toggle:is(:hover,:focus-visible){background:var(--accent-yellow);color:var(--accent-ink);outline:2px solid var(--accent-yellow);outline-offset:3px}
 .nav-toggle svg{display:block}.nav-toggle path{transform-origin:12px 12px;transition:transform .18s,opacity .18s}
 .nav-toggle[aria-expanded=true] .menu-top{transform:translateY(6px) rotate(45deg);transform-origin:12px 6px}
 .nav-toggle[aria-expanded=true] .menu-middle{opacity:0}
 .nav-toggle[aria-expanded=true] .menu-bottom{transform:translateY(-6px) rotate(-45deg);transform-origin:12px 18px}
 .site-header.has-mobile-nav .header-inner>nav{display:none;position:absolute;top:calc(100% + 1px);right:0;grid-column:auto;grid-row:auto;width:min(280px,calc(100vw - 44px));padding:10px;flex-direction:column;align-items:stretch;gap:5px;background:#eee;border:1px solid var(--accent-ink);border-top:3px solid var(--accent-yellow);box-shadow:0 12px 25px #0003}
 .site-header.has-mobile-nav .header-inner>nav.is-open{display:flex}
 .site-header.has-mobile-nav .header-inner>nav a{justify-content:flex-start;min-height:46px;padding:12px 15px;font-size:11px;color:var(--accent-ink);margin:0}
 .site-header.has-mobile-nav .header-inner>nav a:is(:hover,:focus-visible){background:var(--accent-yellow);color:var(--accent-ink)}
 .site-header.has-mobile-nav .header-inner>nav .search-link{border:1px solid var(--accent-ink)!important;padding-left:15px!important;gap:10px}
 .site-header.has-mobile-nav .header-inner>nav .search-link:after{content:'Search articles'}
 .has-mobile-nav~main.revere-home{min-height:calc(100svh - 91px)}
 .reading-progress{top:88px}
}
@media(max-width:700px){.site-header.has-mobile-nav .header-inner{grid-template-columns:40px minmax(0,1fr) 44px;gap:12px;width:calc(100% - 44px);min-height:78px;padding-block:10px}.has-mobile-nav~main.revere-home{min-height:calc(100svh - 81px)}.reading-progress{top:78px}}
@media(prefers-reduced-motion:reduce){.nav-toggle path{transition:none}}
@media print{.nav-toggle{display:none!important}}

/* Navigation uses the article-button finish and alternating footer hover colors. */
.site-header .header-inner #primary-navigation a{background:#f1f1f1;color:var(--accent-ink);border:1px solid var(--accent-ink);box-shadow:inset 0 0 0 3px #f1f1f1,inset 0 0 0 4px #2a373c55;transition:background-color .18s,color .18s,box-shadow .18s}
#primary-navigation a:nth-child(odd){--nav-hover:var(--accent-yellow);--nav-text:var(--accent-ink)}
#primary-navigation a:nth-child(even){--nav-hover:var(--accent-ink);--nav-text:var(--accent-yellow)}
.site-header .header-inner #primary-navigation a[aria-current]{background:var(--accent-ink);color:var(--accent-yellow);box-shadow:inset 0 0 0 3px var(--accent-ink),inset 0 0 0 4px var(--accent-yellow)}
.site-header .header-inner #primary-navigation a:is(:hover,:focus-visible){background:var(--nav-hover);color:var(--nav-text);border-color:var(--accent-ink);box-shadow:inset 0 0 0 3px var(--nav-hover),inset 0 0 0 4px var(--nav-text)}
.site-header.has-mobile-nav .nav-toggle{background:var(--accent-ink);color:var(--accent-yellow);border-color:var(--accent-ink);box-shadow:inset 0 0 0 3px var(--accent-ink),inset 0 0 0 4px var(--accent-yellow)}
.site-header.has-mobile-nav .nav-toggle:is(:hover,:focus-visible){background:var(--accent-yellow);color:var(--accent-ink);box-shadow:inset 0 0 0 3px var(--accent-yellow),inset 0 0 0 4px var(--accent-ink)}
@media(prefers-reduced-motion:reduce){.site-header .header-inner #primary-navigation a{transition:none}}

/* Keep the desktop homepage masthead unboxed; touch menus share the site styling. */
@media(min-width:1201px){
.home-page .site-header .header-inner #primary-navigation a{background:transparent;color:#e0e1e2;border-color:transparent;box-shadow:none}
.home-page .site-header .header-inner #primary-navigation a:is(:hover,:focus-visible){background:transparent;color:var(--accent-yellow);border-color:transparent;box-shadow:none;text-decoration:underline;text-underline-offset:5px}
}

/* A small lantern introduces the book's inner title page. */
.book-pages .inside-lantern{display:block;flex:none;width:10cqw;max-width:44px;height:14cqw;max-height:64px;object-fit:contain;margin:0 auto 3cqw;filter:grayscale(1)!important}
.book-pages>strong{margin:4cqw 0 3cqw}
.book-pages>p{margin-bottom:3cqw}
.book-pages>span:last-child{font-size:6cqw}

/* Keep the first picture or contents panel clear of the reading surface's top edge. */
.interior-page .reading-column{padding-top:20px}
@media(max-width:760px){.interior-page .reading-column{padding-top:16px}}
@media print{.interior-page .reading-column{padding-top:0}}

/* Keep every footer profile on one line, with charcoal tiles and yellow symbols. */
.compact-footer .social-icons{flex-wrap:nowrap;max-width:none}
.compact-footer .social-icons a{flex:0 0 auto;background:var(--accent-ink);color:var(--accent-yellow);border-color:var(--accent-ink);box-shadow:none}
.compact-footer .social-icons a:is(:hover,:focus-visible){background:var(--accent-yellow);color:var(--accent-ink);border-color:var(--accent-ink);box-shadow:inset 0 0 0 2px var(--accent-yellow),inset 0 0 0 3px var(--accent-ink)}
@media(max-width:600px){.footer-strip{grid-template-columns:minmax(0,1fr) max-content;gap:18px 16px}.compact-footer .footer-social{min-width:0}.compact-footer .social-icons{gap:6px}}

/* Shorter mobile cover presentation, without changing the book's dimensions. */
@media(max-width:700px){.home-page main.revere-home{min-height:0;padding:14px 20px 18px;gap:2px}}

/* One type treatment for the footer; the emblem shares the icon row's visual center. */
.compact-footer .footer-copyright>p,.compact-footer .footer-utility a,.compact-footer .footer-social>.eyebrow{font:600 8px/1.6 var(--sans);letter-spacing:.15em;text-transform:uppercase;color:var(--accent-ink)}
.compact-footer .footer-utility a{display:inline-flex;align-items:center;gap:6px}
.footer-rss svg{display:block;flex:none;width:12px;height:12px}
.compact-footer .footer-social{position:relative}
.compact-footer .footer-social>.eyebrow{position:absolute;right:0;bottom:calc(100% + 7px);white-space:nowrap}
.compact-footer .social-icons{margin-top:0}
.compact-footer .footer-emblem{align-self:center}
.compact-footer .footer-emblem img{transform:translateY(-1.9%)}

/* A clear collection introduction, a concise definition, and a separate author profile. */
.about-papers{padding-bottom:0;border-bottom:0;margin-bottom:0}
.about-collection-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:40px;align-items:start;margin-top:10px}
.about-collection-copy>p{font:17px/1.8 var(--serif);margin:0 0 22px}
.about-collection-copy>p:last-child{margin-bottom:0}
.about-collection-copy .about-archive-note{font:12px/1.7 var(--sans);padding-top:3px}
.about-stem-definition{padding:24px;background:var(--accent-ink);border-left:3px solid var(--accent-yellow)}
.about-stem-definition h2{font:400 28px/1.15 var(--display);margin:0 0 18px;color:var(--accent-yellow)}
.about-stem-definition p{font:14px/1.8 var(--serif);margin:0 0 16px;color:#eceeeb}
.about-stem-definition strong{color:var(--accent-yellow)}
.about-stem-definition .stem-definition-link{font:12px/1.7 var(--sans);padding-top:4px}
.about-stem-definition a{color:var(--accent-yellow);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#ffbe0080}
.about-stem-definition a:is(:hover,:focus-visible){color:#fff;text-decoration-color:var(--accent-yellow)}
.about-stem-definition p:last-child{margin-bottom:0}
.about-author{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:34px;row-gap:20px;padding:40px 0;margin-top:40px;border-top:1px solid var(--line)}
.about-author>.about-profile-photo{grid-column:1;grid-row:1/3;width:120px;height:120px;margin:4px 0 0;filter:none}
.about-author-heading{grid-column:2;grid-row:1}
.about-author-heading h2{font:400 42px/1.12 var(--display);margin:8px 0 10px;color:var(--accent-ink)}
.about-author-heading>p{font:12px/1.6 var(--sans);margin:0;color:var(--muted)}
.about-author .about-biography{grid-column:2;grid-row:2;max-width:720px;padding:0}
.about-author .about-biography>p{font:17px/1.8 var(--serif);margin:0 0 18px}
.about-author .about-biography .about-bio-link{font:11px/1.6 var(--sans);margin:22px 0 0}

/* Andrew's original words take precedence, with their article and source links intact. */
.about-selected-quotes{max-width:none;margin:0;padding-top:34px;border-top:1px solid var(--line)}
.about-selected-quotes>h2{font:400 42px/1.15 var(--display);margin:10px 0 26px}
.about-quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.about-selected-quotes .author-quotation{margin:0;padding:28px;background:#f1f1f1e8;border:0;border-left:3px solid var(--accent-yellow)}
.about-selected-quotes .author-quotation blockquote{margin:0 0 24px}
.about-selected-quotes .author-quotation blockquote p{font:italic 400 27px/1.4 var(--display);margin:0;color:var(--accent-ink)}
.about-selected-quotes .author-quotation figcaption{font:10px/1.7 var(--sans);color:var(--muted)}
.about-selected-quotes .author-quotation figcaption span{display:block;margin-top:8px;font-size:9px}
.about-selected-quotes .author-quotation figcaption a{color:var(--accent-ink);text-decoration:underline;text-decoration-color:#2a373c66;text-underline-offset:3px}
.about-selected-quotes .author-quotation:first-child{grid-column:1/-1;padding:34px 38px;background:var(--accent-ink);border-left:3px solid var(--accent-yellow)}
.about-selected-quotes .author-quotation:first-child blockquote p{font-size:34px;line-height:1.35;color:var(--accent-yellow)}
.about-selected-quotes .author-quotation:first-child figcaption{color:#eceeeb}
.about-selected-quotes .author-quotation:first-child figcaption a{color:var(--accent-yellow);text-decoration-color:#ffbe0066}
.about-simple-end{display:flex;justify-content:center;max-width:none;padding-top:32px}
@media(max-width:760px){.about-collection-grid{grid-template-columns:1fr;gap:28px;margin-top:0}.about-stem-definition{padding:22px}.about-author{grid-template-columns:90px minmax(0,1fr);column-gap:22px;row-gap:26px;margin-top:32px;padding:32px 0}.about-author>.about-profile-photo{grid-row:1;width:90px;height:90px}.about-author-heading h2{font-size:34px}.about-author-heading>p{font-size:11px}.about-author .about-biography{grid-column:1/-1;grid-row:2}.about-quote-grid{grid-template-columns:1fr;gap:18px}.about-selected-quotes>h2{font-size:36px}.about-selected-quotes .author-quotation,.about-selected-quotes .author-quotation:first-child{padding:24px}.about-selected-quotes .author-quotation blockquote p{font-size:26px}.about-selected-quotes .author-quotation:first-child blockquote p{font-size:29px}.about-simple-end .button-link{margin-top:0}}

/* The contents disclosure is one complete bar, with its list opening directly below. */
.article-toc{padding:0;border:0;background:transparent;box-shadow:none}
.article-toc summary,.article-toc[open] summary{width:100%;box-sizing:border-box;border:0;border-left:3px solid var(--accent-yellow);margin:0;list-style:none}
.article-toc summary::marker{content:''}
.article-toc summary::-webkit-details-marker{display:none}
.article-toc ol{border:1px solid var(--accent-ink);border-top:0;border-left:3px solid var(--accent-yellow);background:#f1f1f1}

/* Softer charcoal reading text, with STEM.org charcoal for headings and emphasis. */
.prose,.prose blockquote{color:#465258}
.article-heading h1,.prose :is(h2,h3,h4,h5,h6,strong,b){color:var(--accent-ink)}
.prose :is(strong,b){font-weight:700}
.prose a{color:#465258}
.prose a:is(:hover,:focus-visible){color:var(--accent-ink);text-decoration-color:var(--accent-yellow)}

/* Center phone actions and the colophon; desktop keeps its existing arrangement. */
@media(max-width:760px){
 .article-return-nav,.reading-tools,.article-share-links,.reading-actions,.filters{justify-content:center}
 .article-end .article-return-nav{justify-content:center}
 .about-simple-end{display:flex;justify-content:center}
 .site-footer.compact-footer .footer-strip{display:flex;flex-direction:column;align-items:center;gap:19px}
 .compact-footer .footer-emblem{order:0;align-self:center;justify-self:center;width:125px;margin:0}
 .compact-footer .footer-social{order:1;position:static;display:flex;flex-direction:column;align-items:center;justify-self:center;text-align:center;gap:8px}
 .compact-footer .footer-social>.eyebrow{position:static;right:auto;bottom:auto;margin:0}
 .compact-footer .social-icons{justify-content:center;margin:0}
 .compact-footer .footer-copyright{order:2;align-self:center;justify-self:center;text-align:center}
 .compact-footer .footer-utility{justify-content:center}
}
@media print{.prose,.prose a,.prose :is(h2,h3,h4,h5,h6,strong,b){color:#000}}

/* Approved option C: fine yellow engraved corners on page and cover titles. */
.interior-page main h1{position:relative;width:fit-content;max-width:100%;box-sizing:border-box;padding:8px 12px}
.interior-page main h1:before,.interior-page main h1:after{content:'';position:absolute;width:15px;height:12px;border-color:var(--accent-yellow);border-style:solid;pointer-events:none}
.interior-page main h1:before{top:0;left:0;border-width:2px 0 0 2px}
.interior-page main h1:after{right:0;bottom:0;border-width:0 2px 2px 0}
.cover-title-corners{position:absolute;left:14.5%;top:10.4%;width:28.5%;height:18.3%;pointer-events:none;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.cover-title-corners:before,.cover-title-corners:after{content:'';position:absolute;width:17%;height:17%;border-color:var(--accent-yellow);border-style:solid}
.cover-title-corners:before{left:0;top:0;border-width:1px 0 0 1px}
.cover-title-corners:after{right:0;bottom:0;border-width:0 1px 1px 0}
@media print{.interior-page main h1{padding:0}.interior-page main h1:before,.interior-page main h1:after,.cover-title-corners{display:none}}

/* A restrained yellow rule introduces the related CLEO, DSC and SSM series. */
.archive-page .archive-series-link{background:transparent;color:var(--accent-ink);border-color:#2a373c40;border-left:3px solid var(--accent-yellow);transition:background-color .18s ease}
.archive-page .archive-series-link:is(:hover,:focus-visible){background:#ffbe0014;color:var(--accent-ink)}
@media(prefers-reduced-motion:reduce){.archive-page .archive-series-link{transition:none}}

/* A sourced excerpt from Paine, centered between the collection and navigation. */
.site-header .header-inner{position:relative}
.header-quote{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:340px;max-width:calc(100vw - 760px);margin:0;text-align:center;color:var(--accent-ink)}
.header-quote blockquote{margin:0}
.header-quote blockquote p{font:italic 14px/1.45 var(--serif);margin:0;text-wrap:balance}
.header-quote figcaption{font:600 7px/1.5 var(--sans);letter-spacing:.08em;text-transform:uppercase;margin-top:6px;color:#586369}
.header-quote cite{font-style:normal}
.header-quote figcaption a{text-decoration:none}
.header-quote figcaption a:is(:hover,:focus-visible){text-decoration:underline;text-decoration-color:var(--accent-yellow);text-underline-offset:3px}
.home-page .header-quote{color:#e0e1e2}
.home-page .header-quote figcaption{color:#c9c5b8}
.home-page .header-quote figcaption a:is(:hover,:focus-visible){color:var(--accent-yellow)}
@media(max-width:1200px){
 .header-quote{position:static;grid-column:1/-1;grid-row:2;transform:none;justify-self:center;width:100%;max-width:none;padding-top:9px;margin:0 0 2px;border-top:1px solid #2a373c20}
 .header-quote blockquote p{font-size:12px;line-height:1.4}
 .header-quote figcaption{font-size:6.5px;margin-top:4px}
 .site-header.has-mobile-nav .header-inner{row-gap:4px}
 .home-page .header-quote{border-top-color:#ffffff18}
}
.reading-progress{top:var(--masthead-height,100px)}
@media print{.header-quote{display:none}}

/* Native reading collections share one quiet, responsive masthead. */
.header-quote{width:300px;max-width:calc(100vw - 960px)}
.header-quote blockquote a{color:inherit;text-decoration:none}
.header-quote blockquote a:is(:hover,:focus-visible){text-decoration:underline;text-decoration-color:var(--accent-yellow);text-underline-offset:4px}
@media(max-width:1200px){.header-quote{width:100%;max-width:none}}
.archive-library-links{display:flex;gap:18px;flex-wrap:wrap}
.archive-library-links .archive-series-link{flex:1;min-width:min(260px,100%)}
.native-related-card{margin:28px 0;padding:18px 22px;border-left:3px solid var(--accent-yellow);background:#2a373c06;font-size:.9em}
.native-related-card p{margin:0 0 8px}
.native-related-card p:last-child{margin-bottom:0}
.prose iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;margin:28px auto}

.home-page .revere-home{min-height:calc(100svh - var(--masthead-height,100px))}

/* Crisp stationary atom lines remain visible within the stronger amber light. */
.molecule-orbits{width:6.6%;height:5.8%;mix-blend-mode:normal;color:#ffe0a0;animation-name:molecule-clarity}
.atom-lines{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 .6px #4b290d) drop-shadow(0 0 1.3px #ffad36)}
.lantern-home .molecule-orbits{width:31%;height:29%;min-width:14px;min-height:18px;animation-name:molecule-clarity}
.cover-molecule-light{background:radial-gradient(ellipse,#fff9d8 0%,#ffdb89d9 21%,#ffad368a 48%,#ff8c0000 78%);box-shadow:0 0 13px 6px #ffd080e6,0 0 31px 15px #ffa136b3,0 0 54px 23px #ff850047}
.cover-molecule-light:before{width:440%;height:440%}
.lantern-home:after{box-shadow:0 0 12px 5px #ffd080ed,0 0 26px 10px #ffae45a6,0 0 38px 12px #ff850038}
.lantern-home:before{width:39px;height:39px}
.molecule-orbits:after{width:4px;height:4px;background:#fff5ce;box-shadow:0 0 5px 2px #ffc565,0 0 12px 4px #ff9f3670}
.lantern-home .molecule-orbits:after{width:2.6px;height:2.6px;box-shadow:0 0 4px 1px #ffda8a}
@keyframes molecule-clarity{0%,100%{opacity:.94;filter:brightness(1)}50%{opacity:1;filter:brightness(1.22)}}
@media(max-width:700px){
 .cover-molecule-light{box-shadow:0 0 14px 7px #ffd080ee,0 0 32px 16px #ffa136bf,0 0 55px 24px #ff85004d}
 .atom-lines g{stroke-width:1px}
}
@media(prefers-reduced-motion:reduce){.molecule-orbits{animation:none;opacity:1}}

/* Match the masthead introduction to the footer colophon typography. */
.site-header .header-collection>span{font:600 8px/1.6 var(--sans);letter-spacing:.15em;text-transform:uppercase}

/* The Paine attribution picks up the lantern yellow on the homepage. */
.home-page .header-quote figcaption,.home-page .header-quote figcaption a{color:var(--accent-yellow)}

/* Original equations, typeset locally with accessible MathML. */
.prose .math-equation{display:block;max-width:100%;overflow-x:auto;overflow-y:hidden;margin:1.25em 0;padding:18px 16px;border-left:3px solid var(--accent-yellow);background:rgba(36,37,39,.035);color:#343638;scrollbar-width:thin;scrollbar-color:#9b9d9e transparent}
.prose .math-equation .katex-display{margin:0;min-width:max-content}
.prose .math-equation .katex{font-size:1.08em}
.prose .math-equation:focus-visible{outline:2px solid var(--accent-yellow);outline-offset:3px}
@media(max-width:600px){.prose .math-equation{padding:15px 12px;font-size:16px}}
@media print{.prose .math-equation{overflow:visible;break-inside:avoid;background:none;font-size:12pt}}

/* Keep the brand marks centered within the existing circular social buttons. */
.compact-footer .social-icons a{display:grid;place-items:center;padding:0;border-radius:50%;line-height:0}
.compact-footer .social-icons svg{display:block;width:18px;height:18px;flex:none;margin:0}

/* Long-handled tomahawk and architectural drafting compass. */
.collection-architecture,.liberty-tomahawk{height:32px}
