@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

:root {
  --navy: #060d18;
  --navy-deep: #060d18;
  --navy-mid: #0a1728;
  --navy-light: #112b4a;
  --surface: #0d1d31;
  --surface-raised: #12253c;
  --white: #f5f7fa;
  --text: #eef2f7;
  --muted: #afbdce;
  --subtle: #8295ac;
  --red: #ed4943;
  --red-hover: #ff625c;
  --line: rgba(159, 183, 212, .19);
  --font-body: 'Barlow', Arial, sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--navy); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; }
h1, h2 { font-family: var(--font-display); font-weight: 600; }
h2 { margin-bottom: 0; font-size: clamp(2.75rem, 4.25vw, 4rem); letter-spacing: .012em; text-transform: uppercase; text-wrap: balance; }
p { margin-bottom: 1.1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red-hover); outline-offset: 5px; }
[hidden] { display: none !important; }
.content-width, .header-inner, .hero-inner { width: calc(100% - 104px); max-width: 1280px; margin-inline: auto; }
.section-pad { padding-block: 100px; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 12px 22px; background: #fff; color: var(--navy); transform: translateY(-160%); font-weight: 600; }
.skip-link:focus { transform: none; }

/* A quiet, substantial header keeps the collection in the foreground. */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(6, 13, 24, .96); backdrop-filter: blur(18px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 15px; flex: 0 1 auto; min-width: 0; }
.brand-badge { width: 60px; height: 60px; flex: 0 0 60px; overflow: hidden; border-radius: 50%; background: #092448; }
.brand-badge img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.brand-name { display: block; font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; line-height: 1.06; letter-spacing: .06em; text-transform: uppercase; }
.brand-name span { display: block; margin-top: 6px; color: var(--muted); font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .19em; }
.brand-name i, .hero-signature i { display: inline-block; width: 1px; height: .75em; margin-inline: 7px; background: #71859f; }
#site-nav { display: flex; align-items: center; gap: 31px; }
#site-nav > a { font-size: .9375rem; line-height: 1.35; font-weight: 500; transition: color .18s ease; white-space: nowrap; }
#site-nav > a:hover { color: var(--red-hover); }
#site-nav > .button { padding: 13px 23px; min-height: 46px; font-size: .875rem; }
#site-nav > .button:hover { color: #fff; }
#site-nav > .nav-inquiry { padding: 13px 20px; border: 1px solid #5b6d84; border-radius: 2px; color: #fff; font-size: .875rem; }
#site-nav > .nav-inquiry:hover { background: var(--red); border-color: var(--red); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--white); transition: transform .18s ease, opacity .18s ease; }

.button { display: inline-flex; min-height: 54px; padding: 15px 25px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 2px; font-size: .9375rem; font-weight: 600; line-height: 1.35; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.button-primary { background: var(--red); border-color: var(--red); color: #fff; }
.button-primary:hover { background: #d83b36; border-color: #d83b36; color: #fff; }
.button-secondary { background: transparent; color: var(--white); border-color: rgba(204, 221, 240, .4); }
.button-secondary:hover { background: rgba(199, 221, 247, .08); border-color: rgba(230, 240, 251, .7); }
.button-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.button-ghost:hover { background: var(--surface-raised); border-color: #405472; }
.text-link { display: inline-block; color: var(--white); font-weight: 600; font-size: 1rem; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 7px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--red-hover); }
.eyebrow { margin: 0 0 20px; color: var(--red); font-size: .875rem; font-weight: 600; line-height: 1.45; letter-spacing: .14em; text-transform: uppercase; }

/* Orbital photograph, left-hand reading field, unobscured NASA credit. */
.hero { position: relative; min-height: 740px; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero-photo { position: absolute; z-index: -3; top: 0; left: 22%; width: 92%; height: 100%; max-width: none; object-fit: cover; object-position: 55% center; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #060d18 0%, #060d18 28%, rgba(6, 13, 24, .96) 38%, rgba(6, 13, 24, .76) 49%, rgba(6, 13, 24, .24) 76%, rgba(6, 13, 24, .14) 100%), linear-gradient(0deg, #060d18 1%, rgba(6, 13, 24, .15) 42%, rgba(6, 13, 24, .16) 100%); }
.hero-inner { position: relative; padding-top: 116px; padding-bottom: 102px; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 27px; font-size: .875rem; font-weight: 600; line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; color: #d1ddeb; }
.red-rule { display: inline-block; width: 37px; height: 2px; flex: 0 0 37px; background: var(--red); }
.hero h1 { position: relative; max-width: 790px; margin: 0 0 29px; font-size: clamp(5.5rem, 7.5vw, 7.2rem); font-weight: 600; line-height: .98; letter-spacing: -.01em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; }
.hero h1 .accent, .hero h1 .red { color: var(--red); }
.hero-description { max-width: 540px; margin-bottom: 31px; color: #c2cddd; font-size: 1.125rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-signature { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; margin-top: 38px; margin-bottom: 0; color: #9cacbf; font-size: .875rem; letter-spacing: .07em; text-transform: uppercase; }
.hero-signature span { display: inline-block; }
.hero-signature span:first-child { color: #c4d0df; font-size: .8125rem; font-weight: 600; }
.hero-signature span + span { margin-left: 0; padding-left: 0; border: 0; font-size: .875rem; letter-spacing: .025em; text-transform: none; }
.hero-credit { position: absolute; right: 38px; bottom: 23px; z-index: 2; max-width: 410px; margin: 0; color: #91a1b4; font-size: .75rem; line-height: 1.5; text-align: right; }
.hero-credit > span { display: block; margin-bottom: 4px; font-size: .6875rem; letter-spacing: .09em; color: #becbdc; }
.hero-credit a { border-bottom: 1px solid #52657d; }
.hero-credit a:hover { color: #fff; }
.heritage-strip { border-block: 1px solid var(--line); background: #091625; }
.heritage-strip > .content-width { display: flex; min-height: 90px; align-items: center; justify-content: space-between; gap: 24px; }
.heritage-strip span { color: #b3c1d2; font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.heritage-strip strong { color: var(--white); font-weight: 500; }

/* Featured object: large, fully visible, with concise provenance. */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; margin-bottom: 46px; }
.section-heading > p, .section-heading > .section-aside { max-width: 360px; margin: 0 0 4px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.section-heading .eyebrow { margin-bottom: 13px; }
.featured-exhibit { display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: 64px; }
.featured-image-wrap { position: relative; min-width: 0; padding: 25px; border: 1px solid #27384e; background: linear-gradient(145deg, #14263b, #0a1626); }
.image-label { display: inline-block; margin-bottom: 22px; color: #c4d2e2; font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.image-label b { margin-left: 12px; padding: 4px 8px; border: 1px solid #a53c3e; color: #ff7771; font-weight: 500; }
.featured-photo-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 300px; padding: 0; border: 0; background: transparent; }
.featured-photo-button img { width: 100%; max-height: 420px; object-fit: contain; }
.featured-photo-button:hover img { opacity: .93; }
.photo-caption { margin: 19px 0 0; color: #96a9c0; font-size: .8125rem; line-height: 1.5; }
.photo-caption { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.photo-caption > span:first-child { color: #c4d2e3; font-size: .75rem; letter-spacing: .08em; }
.featured-copy { min-width: 0; }
.featured-copy h3 { margin: 0 0 20px; font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.9rem); font-weight: 500; line-height: 1.1; }
.featured-copy > p { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.featured-copy .rarity { margin: 0 0 24px; padding: 12px 0 12px 18px; border-left: 2px solid var(--red); color: var(--white); font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.featured-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 27px 0 28px; padding-block: 22px; border-block: 1px solid var(--line); }
.featured-facts > div { min-width: 0; }
.featured-facts dt { margin-bottom: 7px; color: #8fa1b6; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
.featured-facts dd { margin: 0; color: #edf3fa; font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.featured-actions { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.featured-actions .button { font-size: .875rem; padding-inline: 21px; }
.mission-note { display: flex; align-items: center; gap: 25px; margin-top: 34px; padding: 21px 25px; border: 1px solid var(--line); background: rgba(17, 43, 74, .3); color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.mission-note p { margin: 0; }
.mission-note strong { color: #e2eaf4; font-weight: 500; }
.mission-note-label { flex-shrink: 0; color: #f06a65; font-size: .75rem; font-weight: 600; letter-spacing: .09em; }
.mission-note > p { flex: 1; }
.mission-note > a { flex-shrink: 0; color: #e5edf7; font-size: .875rem; font-weight: 500; }
.mission-note > a:hover { color: var(--red-hover); }
.play-symbol { display: inline-block; margin-left: 8px; color: var(--red); font-size: .75rem; }

/* The image-led collection and an expandable, text-only wider catalog. */
.collection { background: #0a1728; border-block: 1px solid var(--line); }
.collection-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.filter { min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 2px; background: transparent; color: #a8b9cd; font-size: .875rem; font-weight: 500; line-height: 1.3; }
.filter:hover { color: #fff; background: rgba(163, 188, 219, .06); }
.filter.active, .filter.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.collection-search { display: flex; align-items: center; gap: 10px; flex: 0 1 290px; min-width: 190px; min-height: 44px; padding: 10px 14px; border: 1px solid #2a3c54; background: rgba(3, 10, 20, .3); border-radius: 2px; }
.collection-search:focus-within { border-color: var(--red); outline: 2px solid rgba(237, 73, 67, .24); outline-offset: 2px; }
.collection-search svg { width: 18px; height: 18px; flex: 0 0 18px; color: #9badc3; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.collection-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--white); font-size: .9375rem; line-height: 1.5; }
.collection-search input::placeholder { color: #8ea1b9; opacity: 1; }
.result-count { margin: 18px 0 24px; color: #8fa3bc; font-size: .8125rem; }
.artifact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; }
.artifact-card { min-width: 0; border: 1px solid #263951; border-radius: 3px; overflow: hidden; background: #0c1b2e; transition: border-color .18s ease, transform .18s ease; }
.artifact-card:hover { border-color: #6a7e9a; transform: translateY(-3px); }
.artifact-open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.artifact-open:focus-visible { outline-offset: -4px; }
.artifact-photo { display: flex; position: relative; align-items: center; justify-content: center; width: 100%; height: 220px; padding: 18px 15px 41px; border-bottom: 1px solid var(--line); background: #14263a; overflow: hidden; }
.artifact-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.artifact-photo.portrait img { padding-inline: 20px; }
.artifact-photo.wide { padding-inline: 18px; }
.artifact-tag { position: absolute; bottom: 12px; left: 14px; max-width: calc(100% - 28px); padding: 4px 7px; background: #081424; border: 1px solid rgba(159, 183, 212, .22); color: #d4e0ef; font-family: var(--font-body); font-size: .75rem; line-height: 1.4; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.artifact-card-body { display: flex; flex-direction: column; flex: 1; padding: 23px 20px 19px; }
.artifact-program { display: block; margin-bottom: 12px; color: #8fa6c1; font-size: .75rem; line-height: 1.5; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.artifact-card h3 { margin: 0 0 14px; color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; line-height: 1.13; }
.artifact-summary { flex: 1; margin: 0; color: #aebdd0; font-size: 1rem; line-height: 1.55; }
.artifact-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: #e4ebf4; font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.artifact-card-bottom .artifact-serial { color: #94a8c0; font-family: var(--font-mono); font-size: .75rem; font-weight: 400; }
#catalog-section { margin-top: 34px; border: 1px solid #293b52; border-radius: 3px; }
#catalog-section > summary { display: flex; align-items: center; gap: 22px; padding: 22px 25px; cursor: pointer; list-style: none; background: rgba(18, 41, 68, .25); font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; line-height: 1.25; }
#catalog-section > summary::-webkit-details-marker { display: none; }
#catalog-section > summary > span { margin-left: auto; color: #9bafc7; font-family: var(--font-body); font-size: .8125rem; font-weight: 400; }
#catalog-section > summary > b { display: grid; place-items: center; width: 26px; height: 26px; color: #d4dfed; font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .18s ease; }
#catalog-section[open] > summary > b { transform: rotate(45deg); }
#catalog-section[open] > summary { border-bottom: 1px solid var(--line); }
.catalog-list { display: grid; }
.catalog-item { display: grid; grid-template-columns: 1.8fr 1fr 1fr; align-items: center; gap: 28px; width: 100%; padding: 22px 25px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.catalog-item:last-child { border-bottom: 0; }
.catalog-item:hover { background: rgba(80, 113, 153, .1); }
.catalog-item-title h3 { margin: 0 0 7px; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }
.catalog-item-title p { margin: 0; color: #91a6bf; font-size: .875rem; line-height: 1.5; }
.catalog-item-program { color: #9fb1c8; font-size: .8125rem; line-height: 1.5; }
.catalog-item-id { color: #b4c5d9; font-family: var(--font-mono); font-size: .8125rem; overflow-wrap: anywhere; }
.empty-state { padding: 65px 24px; border: 1px solid var(--line); text-align: center; }
.empty-state h3 { font-family: var(--font-display); font-size: 2.3rem; font-weight: 500; }
.empty-state p { color: var(--muted); }

/* Provenance reads like an exhibit label, rather than a sales dashboard. */
.provenance { background: var(--navy); }
.provenance-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; column-gap: 65px; row-gap: 17px; margin-bottom: 45px; }
.provenance-heading > p { max-width: 430px; margin: 0 0 4px; color: var(--muted); line-height: 1.7; }
.provenance-heading > .eyebrow { grid-column: 1 / -1; max-width: none; margin: 0; color: var(--red); }
.provenance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.provenance-grid > article { padding: 38px 35px; border-right: 1px solid var(--line); }
.provenance-grid > article:first-child { padding-left: 0; }
.provenance-grid > article:last-child { padding-right: 0; border-right: 0; }
.proof-icon { display: block; width: 36px; height: 36px; margin-bottom: 25px; color: var(--red); }
.proof-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.provenance-grid h3 { margin: 0 0 17px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; line-height: 1.2; }
.provenance-grid p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.provenance-footer { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-top: 31px; color: #a3b3c7; font-size: .9375rem; }
.provenance-footer p { margin: 0; }
.provenance-footer a { flex-shrink: 0; }

.about, #about { background: radial-gradient(ellipse at 15% 50%, rgba(31, 67, 108, .26), transparent 60%), #0a1728; border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .9fr 1.15fr; align-items: center; gap: 100px; }
.about-identity { text-align: center; }
.patch-display { width: min(370px, 100%); aspect-ratio: 1; margin-inline: auto; overflow: hidden; border-radius: 50%; background: #0b2446; box-shadow: 0 0 0 1px rgba(171, 196, 229, .08), 0 0 70px rgba(24, 77, 133, .13); }
.patch-display img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.identity-caption { margin: 23px 0 0; color: #8fa5bf; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
.identity-caption span { display: block; }
.identity-caption span:first-child { margin-bottom: 5px; color: #c6d5e7; }
.about-copy { min-width: 0; }
.about-copy h2 { margin-bottom: 23px; }
.about-copy > p { color: #b0bfd2; font-size: 1.0625rem; line-height: 1.75; }
.about-copy .about-name { margin: 24px 0 27px; color: #d8e3f0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: .025em; }
.about-copy .text-link { margin-top: 3px; }

.contact, #contact { background: radial-gradient(ellipse at 100% 100%, rgba(24, 65, 112, .25), transparent 57%), var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: 95px; }
.contact-grid h2 { max-width: 600px; margin-bottom: 26px; font-size: clamp(3.1rem, 4.9vw, 4.6rem); }
.contact-grid > div:first-child > p:not(.eyebrow) { max-width: 530px; color: #b1c0d3; font-size: 1.0625rem; line-height: 1.75; }
.contact-grid .button { margin-top: 13px; }
.contact-details { display: grid; gap: 25px; padding-left: 54px; border-left: 1px solid #2c405b; }
.contact-details > div { min-width: 0; }
.contact-details p, .contact-details dt { margin: 0 0 6px; color: #879eb9; font-size: .8125rem; font-weight: 500; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.contact-details dd { margin: 0; }
.contact-details a, .contact-details span, .contact-details dd { display: inline-block; color: #edf2f9; font-size: 1.125rem; line-height: 1.5; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--red-hover); }
.contact-details > div > span { display: block; margin: 0 0 6px; color: #879eb9; font-size: .8125rem; font-weight: 500; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.contact-details > div > strong, .contact-details > div > p { display: block; margin: 0; color: #edf2f9; font-size: 1.125rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; }

.site-footer { border-top: 1px solid var(--line); background: #040a13; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 44px; padding-block: 40px; }
.footer-top .brand-badge { width: 48px; height: 48px; flex-basis: 48px; }
.footer-top .brand-name { font-size: 1.35rem; }
.footer-top > p { max-width: 460px; margin: 0; color: #8da0b8; font-size: .875rem; line-height: 1.6; }
.footer-top nav { display: flex; gap: 25px; font-size: .875rem; color: #a7b8cc; }
.footer-top nav a:hover { color: #fff; }
.footer-brand { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; letter-spacing: .05em; }
.footer-top > a:last-child:not(.footer-brand) { color: #b7c7db; font-size: .9375rem; }
.footer-top > a:last-child:hover { color: var(--red-hover); }
.footer-bottom { display: flex; justify-content: space-between; align-items: start; gap: 30px; padding-block: 22px 25px; border-top: 1px solid var(--line); color: #758ba5; font-size: .75rem; line-height: 1.6; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #9bacbf; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #e6effa; }

/* Native dialog provides focus trapping and Escape support. */
.artifact-dialog { width: min(1200px, calc(100% - 64px)); max-height: 90vh; max-height: 90svh; padding: 0; margin: auto; border: 1px solid #334a66; border-radius: 5px; background: #0a1728; color: var(--text); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 25px 100px rgba(0, 0, 0, .6); }
.artifact-dialog::backdrop { background: rgba(1, 6, 15, .84); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; z-index: 3; top: 17px; right: 17px; display: grid; place-items: center; width: 42px; height: 42px; padding: 10px; border: 1px solid #405773; border-radius: 50%; background: #11233b; color: #e2ebf7; font-size: 1.65rem; line-height: 1; }
.dialog-close:hover { background: #1d3453; }
.dialog-close svg { width: 19px; height: 19px; }
#detail-content { padding: 70px 42px 45px; }
.detail-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: start; }
.detail-visual { min-width: 0; position: sticky; top: 24px; }
.detail-main-image { width: 100%; height: 365px; padding: 12px; border: 1px solid #2b3d55; background: #12243a; object-fit: contain; object-position: center; }
.detail-caption { margin: 13px 0 17px; color: #90a5bf; font-size: .8125rem; line-height: 1.55; }
.detail-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 21px; }
.detail-thumbs button { height: 76px; padding: 6px; border: 1px solid #30445f; border-radius: 2px; background: #102037; }
.detail-thumbs button.active, .detail-thumbs button.is-active { border: 2px solid var(--red); padding: 5px; }
.detail-thumbs button:hover { border-color: #c1d3e8; }
.detail-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.detail-visual > .button { min-height: 44px; padding: 11px 17px; font-size: .875rem; }
.detail-info { min-width: 0; }
.detail-info .eyebrow { margin-bottom: 16px; font-size: .75rem; }
.detail-info h2 { margin: 0 0 22px; font-size: 2.75rem; line-height: 1.07; text-transform: none; letter-spacing: 0; }
.detail-intro { margin-bottom: 26px; color: #bdcadb; font-size: 1rem; line-height: 1.7; }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; margin: 0 0 29px; padding-block: 23px; border-block: 1px solid #2b405b; }
.detail-facts > div { min-width: 0; }
.detail-facts dt { margin-bottom: 7px; color: #879eb9; font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.detail-facts dd { margin: 0; color: #e5edf8; font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.detail-evidence { margin: 0 0 23px; }
.detail-evidence h3 { margin: 0 0 9px; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.detail-evidence p { margin: 0; color: #abbdd2; font-size: 1rem; line-height: 1.65; }
.detail-research { margin: 27px 0; padding: 17px 19px; border-left: 2px solid #507195; background: #11243b; color: #b5c6da; font-size: .875rem; line-height: 1.65; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.detail-actions .button { font-size: .875rem; min-height: 49px; padding-inline: 20px; }
.detail-noimage { display: flex; min-height: 370px; padding: 38px; align-items: flex-start; justify-content: center; flex-direction: column; border: 1px solid #2f4662; background: radial-gradient(ellipse at 30% 20%, #173353 0%, #0c1a2d 70%); }
.detail-noimage h3 { margin: 0 0 24px; font-family: var(--font-display); font-size: 2.75rem; font-weight: 500; }
.detail-noimage > p:not(.eyebrow) { color: #aabdd4; }
.detail-noimage .artifact-program { margin-top: 25px; margin-bottom: 0; }
.detail-source { color: #849ab5; font-size: .8125rem; line-height: 1.6; }

@media (min-width: 1600px) {
  .hero-inner { padding-top: 128px; }
  .hero { min-height: 800px; }
  .hero-photo { left: 25%; width: 80%; }
}

@media (max-width: 1180px) {
  .content-width, .header-inner, .hero-inner { width: calc(100% - 72px); }
  .header-inner { gap: 24px; }
  #site-nav { gap: 22px; }
  .brand-name { font-size: 1.45rem; }
  .brand-name span { font-size: .6875rem; }
  .hero h1 { font-size: 6rem; }
  .featured-exhibit { gap: 40px; }
  .featured-image-wrap { padding: 19px; }
  .featured-photo-button { min-height: 260px; }
  .artifact-grid { gap: 16px; }
  .artifact-card-body { padding-inline: 16px; }
  .artifact-card h3 { font-size: 1.55rem; }
  .artifact-photo { height: 190px; padding-inline: 12px; }
  .artifact-card-bottom { flex-direction: column; align-items: flex-start; gap: 5px; }
  .about-grid { gap: 65px; }
  .contact-grid { gap: 65px; }
  .contact-details { padding-left: 38px; }
}

@media (max-width: 980px) {
  .header-inner { height: 78px; }
  .brand-badge { width: 54px; height: 54px; flex-basis: 54px; }
  .menu-toggle { display: flex; flex: 0 0 44px; }
  #site-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 18px 36px 26px; background: #081424; border-bottom: 1px solid #33475e; box-shadow: 0 20px 30px rgba(0,0,0,.2); }
  #site-nav.is-open { display: flex; }
  #site-nav > a { padding: 13px 0; font-size: 1.0625rem; }
  #site-nav > .button { align-self: flex-start; margin-top: 13px; padding: 14px 23px; }
  #site-nav > .nav-inquiry { align-self: flex-start; margin-top: 13px; padding: 14px 23px; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2):not(:last-child) { opacity: 0; }
  .hero { min-height: 720px; }
  .hero-inner { padding-top: 105px; padding-bottom: 115px; }
  .hero h1 { max-width: 650px; font-size: 5.7rem; }
  .hero-photo { left: 12%; width: 108%; }
  .hero-shade { background: linear-gradient(90deg, #060d18 0%, #060d18 22%, rgba(6, 13, 24, .9) 38%, rgba(6, 13, 24, .52) 68%, rgba(6, 13, 24, .12) 100%), linear-gradient(0deg, #060d18, transparent 65%); }
  .section-heading { gap: 30px; }
  .section-heading > p { max-width: 290px; }
  .featured-exhibit { grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
  .featured-image-wrap { padding: 16px; }
  .featured-photo-button { min-height: 235px; }
  .featured-copy h3 { font-size: 2.35rem; }
  .featured-facts { gap: 12px; }
  .featured-facts dd { font-size: .9375rem; }
  .mission-note { gap: 15px; flex-wrap: wrap; }
  .mission-note > p { flex-basis: calc(100% - 135px); }
  .mission-note > a { margin-left: 112px; }
  .collection-toolbar { align-items: flex-start; }
  .filters { gap: 5px; }
  .filter { padding-inline: 12px; }
  .collection-search { flex-basis: 250px; }
  .artifact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .artifact-photo { height: 265px; padding: 20px 20px 44px; }
  .artifact-card-body { padding: 25px 24px 22px; }
  .artifact-card h3 { font-size: 1.9rem; }
  .artifact-card-bottom { flex-direction: row; align-items: center; }
  .provenance-heading { gap: 35px; }
  .provenance-heading > p { max-width: 330px; }
  .provenance-grid > article { padding-inline: 26px; }
  .about-grid { gap: 45px; }
  .patch-display { width: min(300px, 100%); }
  .contact-grid { gap: 40px; grid-template-columns: 1.1fr 1fr; }
  .contact-details { padding-left: 30px; }
  .contact-details a, .contact-details span, .contact-details dd { font-size: 1rem; }
  .detail-layout { gap: 28px; }
  #detail-content { padding-inline: 30px; }
  .detail-main-image { height: 295px; }
}

@media (max-width: 740px) {
  html { scroll-padding-top: 96px; }
  .content-width, .header-inner, .hero-inner { width: calc(100% - 40px); }
  .section-pad { padding-block: 64px; }
  .header-inner { height: 76px; gap: 20px; }
  .brand { gap: 12px; }
  .brand-badge { width: 52px; height: 52px; flex-basis: 52px; }
  .brand-name { font-size: 1.42rem; }
  .brand-name span { font-size: .6875rem; letter-spacing: .12em; }
  #site-nav { top: 76px; padding-inline: 20px; }
  .hero { min-height: 720px; }
  .hero-inner { padding-top: 100px; padding-bottom: 125px; }
  .hero-photo { left: 0; width: 125%; object-position: 57% center; opacity: .83; }
  .hero-shade { background: linear-gradient(90deg, rgba(6, 13, 24, .98) 0%, rgba(6, 13, 24, .84) 38%, rgba(6, 13, 24, .37) 100%), linear-gradient(0deg, #060d18 0%, rgba(6, 13, 24, .1) 75%); }
  .hero-eyebrow { max-width: 450px; gap: 11px; margin-bottom: 25px; font-size: .875rem; line-height: 1.7; letter-spacing: .1em; }
  .red-rule { width: 28px; flex-basis: 28px; }
  .hero h1 { font-size: clamp(4.5rem, 12vw, 5.6rem); max-width: 620px; margin-bottom: 26px; line-height: 1; }
  .hero-description { max-width: 490px; font-size: 1.0625rem; line-height: 1.7; }
  .hero-actions { gap: 11px; }
  .hero-actions .button { padding-inline: 21px; }
  .hero-signature { max-width: 390px; margin-top: 31px; font-size: .75rem; line-height: 1.7; flex-wrap: wrap; gap: 4px 10px; }
  .hero-credit { left: 20px; right: 20px; bottom: 20px; max-width: none; text-align: left; font-size: .75rem; }
  .heritage-strip > .content-width { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; gap: 20px 24px; padding-block: 25px; }
  .heritage-strip span { font-size: .75rem; letter-spacing: .09em; }
  h2 { font-size: clamp(2.6rem, 8vw, 3.5rem); }
  .section-heading { display: block; margin-bottom: 33px; }
  .section-heading > p, .section-heading > .section-aside { max-width: 540px; margin: 19px 0 0; }
  .section-heading > p br { display: none; }
  .eyebrow { font-size: .875rem; margin-bottom: 14px; }
  .featured-exhibit { grid-template-columns: 1fr; gap: 31px; }
  .featured-image-wrap { padding: 22px; }
  .image-label { margin-bottom: 16px; }
  .featured-photo-button { min-height: 0; aspect-ratio: 1.7; }
  .featured-photo-button img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
  .photo-caption { margin-top: 16px; }
  .featured-copy h3 { font-size: 2.5rem; }
  .featured-copy > p { font-size: 1rem; }
  .featured-copy .rarity { font-size: 1.0625rem; }
  .featured-facts { gap: 18px; }
  .featured-facts dd { font-size: 1rem; }
  .mission-note { padding: 20px; margin-top: 29px; }
  .mission-note > p { flex-basis: 100%; }
  .mission-note > a { margin-left: 0; }
  .collection-toolbar { display: block; }
  .filters { gap: 7px; }
  .filter { padding: 10px 13px; }
  .collection-search { margin-top: 18px; max-width: none; min-height: 47px; }
  .artifact-grid { gap: 18px; }
  .artifact-photo { height: 220px; padding-inline: 16px; }
  .artifact-card-body { padding-inline: 18px; }
  .artifact-card h3 { font-size: 1.75rem; }
  .artifact-card-bottom { flex-direction: column; align-items: flex-start; }
  #catalog-section > summary { gap: 13px; padding: 21px 20px; flex-wrap: wrap; }
  #catalog-section > summary { font-size: 1.55rem; }
  #catalog-section > summary > span { font-size: .75rem; }
  #catalog-section > summary > b { margin-left: auto; }
  .catalog-item { grid-template-columns: 1.5fr 1fr; padding: 21px 20px; gap: 15px; }
  .catalog-item-program { display: none; }
  .catalog-item-id { font-size: .75rem; }
  .provenance-heading { display: block; margin-bottom: 32px; }
  .provenance-heading > p { max-width: 540px; margin-top: 22px; }
  .provenance-heading > .eyebrow { margin-top: 0; margin-bottom: 14px; }
  .provenance-grid { grid-template-columns: 1fr; }
  .provenance-grid > article, .provenance-grid > article:first-child, .provenance-grid > article:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .provenance-grid > article:last-child { border-bottom: 0; }
  .proof-icon { width: 31px; height: 31px; margin-bottom: 19px; }
  .provenance-grid h3 { margin-bottom: 12px; }
  .provenance-footer { display: block; margin-top: 24px; }
  .provenance-footer .text-link { margin-top: 17px; }
  .about-grid { grid-template-columns: 1fr; gap: 41px; }
  .about-copy { order: -1; }
  .about-copy > p { font-size: 1rem; }
  .patch-display { width: 285px; }
  .identity-caption { font-size: .75rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid h2 { max-width: 600px; font-size: clamp(3rem, 9vw, 4rem); }
  .contact-grid > div:first-child > p:not(.eyebrow) { font-size: 1rem; }
  .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 31px 0 0; border-left: 0; border-top: 1px solid var(--line); gap: 24px; }
  .contact-details a, .contact-details span, .contact-details dd { font-size: 1.0625rem; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 25px; padding-block: 33px; }
  .footer-top > p { max-width: 540px; }
  .footer-bottom { flex-direction: column; gap: 12px; font-size: .75rem; }
  .artifact-dialog { width: calc(100% - 24px); max-height: 92vh; max-height: 92svh; border-radius: 4px; }
  #detail-content { padding: 68px 24px 31px; }
  .detail-layout { grid-template-columns: 1fr; gap: 33px; }
  .detail-visual { position: static; }
  .detail-main-image { height: 330px; }
  .detail-thumbs { max-width: 400px; }
  .detail-thumbs button { height: 72px; }
  .detail-info h2 { font-size: 2.55rem; }
  .detail-noimage { min-height: 270px; padding: 28px; }
}

@media (max-width: 490px) {
  .brand-name { font-size: 1.3rem; letter-spacing: .04em; }
  .brand-name span { font-size: .625rem; }
  .brand-badge { width: 49px; height: 49px; flex-basis: 49px; }
  .header-inner { gap: 12px; }
  .hero { min-height: 710px; }
  .hero-inner { padding-top: 84px; padding-bottom: 112px; }
  .hero h1 { font-size: clamp(3.6rem, 14.5vw, 4.5rem); }
  .hero-description { font-size: 1rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { min-height: 52px; padding-inline: 17px; font-size: .875rem; }
  .hero-photo { left: -18%; width: 150%; }
  .hero-signature { max-width: 300px; }
  .hero-signature span + span { flex-basis: 100%; margin-left: 0; padding-left: 0; border: 0; }
  .heritage-strip > .content-width { gap: 18px 16px; }
  .heritage-strip span { font-size: .8125rem; letter-spacing: .07em; }
  .featured-image-wrap { padding: 16px; }
  .featured-photo-button { aspect-ratio: 1.65; }
  .featured-facts { gap: 13px; }
  .featured-facts dt { font-size: .6875rem; letter-spacing: .04em; }
  .featured-facts dd { font-size: .9375rem; }
  .featured-actions { align-items: stretch; }
  .featured-actions .button { flex: 1 1 145px; }
  .artifact-grid { grid-template-columns: 1fr; gap: 24px; }
  .artifact-photo { height: 285px; padding: 25px 25px 45px; }
  .artifact-tag { left: 19px; bottom: 13px; font-size: .75rem; }
  .artifact-card-body { padding: 25px 23px 22px; }
  .artifact-card h3 { font-size: 1.95rem; }
  .artifact-card-bottom { flex-direction: row; align-items: center; }
  .artifact-program { font-size: .75rem; }
  .filter { padding-inline: 11px; font-size: .8125rem; }
  #catalog-section > summary > span { flex-basis: 100%; order: 3; margin-left: 0; }
  .catalog-item { grid-template-columns: 1fr; gap: 9px; }
  .catalog-item-id { color: #7e98b7; }
  .contact-details { grid-template-columns: 1fr; gap: 24px; }
  .contact-details a, .contact-details span, .contact-details dd { font-size: 1.125rem; }
  .patch-display { width: 265px; }
  #detail-content { padding-inline: 18px; }
  .detail-main-image { height: 270px; }
  .detail-info h2 { font-size: 2.3rem; }
  .detail-actions .button { width: 100%; }
  .detail-facts { gap: 19px 14px; }
  .detail-facts dd { font-size: .875rem; }
  .detail-noimage h3 { font-size: 2.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .artifact-card:hover { transform: none; }
}
