/* Kentucky Air Motive: an exhibition of Kentucky aviation.
   Palette: polished aluminium, hangar green, cyanotype blue, runway asphalt and taxiway-sign yellow.
   Type: Archivo (variable width) for wayfinding, labels and titles; Source Serif 4 for the stories. */

:root {
  --alu: #e7eae8;
  --alu-2: #d7ddda;
  --alu-3: #bfc8c4;
  --paper: #f5f7f5;
  --ink: #1b2327;
  --ink-2: #47545b;
  --hangar: #1f3b2e;
  --hangar-2: #2a4b3a;
  --blue: #1c3d5a;
  --blue-2: #24506f;
  --asphalt: #252a2e;
  --asphalt-2: #2e3439;
  --signal: #f2b31b;
  --signal-hi: #ffc83f;
  --sign-ink: #15181a;
  --sky: #8fb6cc;
  --river: #4d84a6;
  --on-dark: #e9eeea;
  --on-dark-2: #b9c7be;

  --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2.2vw, 32px);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--alu);
  color: var(--ink);
  font-family: var(--f-serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-sans); text-wrap: balance; }
p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--signal); color: var(--sign-ink); padding: .6rem 1rem; font-family: var(--f-sans); font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--sign-ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--signal); border-radius: 2px; }

/* --------------------------------------------------------------- type roles */

.disp, .entrance-title, .page-title, .sec-title, .ex-title, .xrow-title, .feature-title, .era-title,
.wing-card-title, .tour-title, .dir-name {
  font-family: var(--f-sans);
  font-stretch: 68%;
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.004em;
}

/* --------------------------------------------------------------- buttons & signs */

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-sans); font-stretch: 88%; font-weight: 700; font-size: 1rem; line-height: 1.1;
  padding: .85rem 1.25rem; border-radius: var(--radius); text-decoration: none;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sign { background: var(--signal); color: var(--sign-ink); }
.btn--sign:hover { background: var(--signal-hi); }
.btn--big { font-size: 1.15rem; padding: 1rem 1.5rem; }
.btn--ghost { border-color: rgba(233, 238, 234, .55); color: var(--on-dark); }
.btn--ghost:hover { background: rgba(233, 238, 234, .12); border-color: var(--on-dark); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--alu); }

/* Taxiway direction sign: black on yellow. Location sign: yellow on black with a yellow inner border. */
.sg {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--signal); color: var(--sign-ink); text-decoration: none;
  font-family: var(--f-sans); font-weight: 750; font-stretch: 78%; line-height: 1;
  padding: .55rem .75rem; border-radius: var(--radius); transition: background-color .2s;
}
a.sg:hover { background: var(--signal-hi); }
.sg-l { font-weight: 900; font-size: 1.45em; font-stretch: 75%; }
.sg-n { font-size: 1rem; }
.sg-arrow { width: 1.1rem; height: 1.1rem; margin-left: auto; flex: none; }
.sg.is-here { background: var(--sign-ink); color: var(--signal); box-shadow: inset 0 0 0 2px var(--sign-ink), inset 0 0 0 4px var(--signal); }
.sg-loc {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sign-ink); color: var(--signal);
  box-shadow: inset 0 0 0 3px var(--sign-ink), inset 0 0 0 5px var(--signal);
  font-family: var(--f-sans); font-weight: 850; font-stretch: 75%; line-height: 1;
  padding: .6rem .95rem; border-radius: var(--radius); white-space: nowrap;
}

.lb {
  display: inline-grid; place-items: center; flex: none;
  width: 2.4rem; height: 2.4rem; border-radius: var(--radius);
  background: var(--signal); color: var(--sign-ink);
  font-family: var(--f-sans); font-weight: 900; font-stretch: 75%; font-size: 1.55rem; line-height: 1;
}
.lb--sm { width: 1.6rem; height: 1.6rem; font-size: 1.05rem; }
.lb--lg { width: 3.2rem; height: 3.2rem; font-size: 2.2rem; }
.lb--xl { width: 4rem; height: 4rem; font-size: 2.8rem; }
.lb--hero { width: clamp(4.5rem, 9vw, 8rem); height: clamp(4.5rem, 9vw, 8rem); font-size: clamp(3.2rem, 6.5vw, 5.8rem); }

/* --------------------------------------------------------------- header */

.site-header { background: var(--alu); position: relative; z-index: 20; }
.hd { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.wordmark { display: inline-grid; text-decoration: none; color: var(--ink); line-height: 1; gap: .25rem; }
.wm-name { font-family: var(--f-sans); font-weight: 850; font-stretch: 70%; font-size: 1.5rem; letter-spacing: .005em; }
.wm-sub { font-family: var(--f-serif); font-style: italic; font-size: .9rem; color: var(--ink-2); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav ul a {
  font-family: var(--f-sans); font-weight: 560; font-stretch: 92%; font-size: 1rem; text-decoration: none;
  color: var(--ink-2); padding: .4rem 0; transition: color .2s;
}
.site-nav ul a:hover { color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--signal); }
.hd-tour { padding: .65rem 1rem; }
.nav-toggle { display: none; }

/* --------------------------------------------------------------- entrance (home hero) */

.entrance {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--hangar); color: var(--on-dark);
  min-height: min(calc(100svh - 76px - 70px), 860px);
  display: flex; align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.entrance::before { /* a faint brushed-metal sheen across the hall */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px);
}
.entrance-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; width: 100%; }
.entrance-copy { grid-column: 1 / span 6; }
.entrance-side { grid-column: 7 / span 6; display: grid; gap: 1.5rem; justify-items: end; margin-right: calc(var(--gut) * -1); }
.entrance-map { width: 100%; }
.entrance-title { font-size: clamp(4.2rem, 11.2vw, 11rem); font-stretch: 62%; font-weight: 850; line-height: .84; color: var(--alu); }
.entrance-title span { display: block; }
.entrance-sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--signal); margin-top: 1.1rem; }
.entrance-intro { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 34em; color: var(--on-dark-2); margin-top: 1.25rem; }
.entrance-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* riveted aluminium plaque */
.plaque, .entrance-facts, .artifact-in {
  --rivet: radial-gradient(circle at center, #9aa6a1 0 2.2px, #eef1ef 2.6px 3.2px, transparent 3.6px);
  background:
    var(--rivet) 10px 10px / 12px 12px no-repeat,
    var(--rivet) calc(100% - 10px) 10px / 12px 12px no-repeat,
    var(--rivet) 10px calc(100% - 10px) / 12px 12px no-repeat,
    var(--rivet) calc(100% - 10px) calc(100% - 10px) / 12px 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #e9edeb, #cfd6d3 60%, #dfe4e1);
  color: var(--ink);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 0 rgba(0, 0, 0, .25);
}
.entrance-facts { margin-right: var(--gut); padding: 1.2rem 1.75rem; display: grid; grid-template-columns: repeat(3, auto); gap: 2.5rem; font-family: var(--f-sans); }
.entrance-facts div { display: grid; gap: .1rem; }
.entrance-facts dt { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.entrance-facts dd { font-size: 1.05rem; font-weight: 700; font-stretch: 85%; }

/* --------------------------------------------------------------- Kentucky diagram */

.kymap { width: 100%; height: auto; overflow: visible; }
.kymap--hero .m-grid { stroke: rgba(233, 238, 234, .07); stroke-width: 1; fill: none; }
.kymap--hero .m-land { fill: rgba(233, 238, 234, .045); stroke: rgba(233, 238, 234, .42); stroke-width: 1.6; stroke-linejoin: round; }
.kymap--hero .m-river { fill: none; stroke: var(--sky); stroke-opacity: .75; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.kymap--hero .m-route-shadow { fill: none; stroke: rgba(242, 179, 27, .14); stroke-width: 10; stroke-linecap: round; }
.kymap--hero .m-route { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; }
.kymap--hero .m-plane { color: var(--signal); }
.kymap--hero .m-mk { fill: var(--signal); }
.kymap--hero .m-halo { fill: none; stroke: var(--signal); stroke-opacity: .4; stroke-width: 1.5; }
.kymap--hero .m-city { fill: rgba(233, 238, 234, .5); }

/* the one orchestrated moment: the route draws itself, then the stops light up */
.js .kymap--hero .m-route { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .kymap--hero .m-route-shadow { opacity: 0; }
.js .kymap--hero .m-plane, .js .kymap--hero .m-place { opacity: 0; }
.js.ready .kymap--hero .m-route { animation: km-draw 2.6s cubic-bezier(.55, .05, .3, 1) .2s forwards; }
.js.ready .kymap--hero .m-route-shadow { animation: km-fade .8s ease-out 2.6s forwards; }
.js.ready .kymap--hero .m-plane { animation: km-fade .5s ease-out 2.6s forwards; }
.js.ready .kymap--hero .m-place { animation: km-fade .6s ease-out forwards; animation-delay: calc(1.2s + var(--d, 0) * .45s); }
@keyframes km-draw { to { stroke-dashoffset: 0; } }
@keyframes km-fade { to { opacity: 1; } }

/* --------------------------------------------------------------- signboard */

.signboard { background: var(--sign-ink); padding-block: 12px; }
.sb-row { display: flex; gap: 8px; align-items: stretch; }
.sb-row > li { flex: 1 1 auto; display: flex; }
.sb-row > li.sb-here { flex: 0 0 auto; }
.sb-row .sg { width: 100%; padding: .7rem .6rem; gap: .45rem; }
.sb-row .sg-n { white-space: nowrap; }
.sb-row .sg-loc { width: 100%; font-size: 1rem; padding-inline: .9rem; }

/* --------------------------------------------------------------- sections, shared */

.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sec-title { grid-column: 1 / span 5; font-size: clamp(2.8rem, 5.4vw, 4.9rem); }
.sec-intro { grid-column: 6 / span 5; font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.sec-head .btn { grid-column: 11 / span 2; justify-self: end; }
.sec-head--dark .sec-title { color: var(--on-dark); }
.sec-head--dark .sec-intro { color: var(--on-dark-2); }

.mini-label { display: flex; flex-wrap: wrap; gap: .75rem 2rem; font-family: var(--f-sans); margin-top: 1.25rem; }
.mini-label div { display: grid; gap: .1rem; }
.mini-label dt { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.mini-label dd { font-size: 1rem; font-weight: 600; font-stretch: 90%; }
.mini-label--dark dt { color: var(--on-dark-2); }
.mini-label--dark dd { color: var(--on-dark); }

.xnum { font-family: var(--f-sans); font-weight: 900; font-stretch: 62%; font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: .8; color: var(--hangar); }

/* exhibit lists inside wings */
.ex-list { display: grid; gap: .15rem; font-family: var(--f-sans); }
.ex-list li { display: grid; grid-template-columns: 2.3rem 1fr; align-items: baseline; column-gap: .6rem; }
.ex-list li > a { display: contents; text-decoration: none; }
.el-n { font-weight: 800; font-stretch: 75%; font-size: .95rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.el-t { font-weight: 600; font-stretch: 90%; font-size: 1.02rem; line-height: 1.3; padding-block: .3rem; }
.ex-list .is-open .el-t { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--signal); transition: color .2s; }
.ex-list .is-open a:hover .el-t { color: var(--hangar-2); }
.ex-list .is-open .el-n { color: var(--ink); }
.ex-list .is-soon .el-t { color: var(--ink-2); font-weight: 500; }
.el-s { grid-column: 2; font-family: var(--f-serif); font-style: italic; font-size: .88rem; color: var(--ink-2); margin-top: -.35rem; padding-bottom: .2rem; }
.ex-list--dark .el-n, .ex-list--dark .is-soon .el-t, .ex-list--dark .el-s { color: var(--on-dark-2); }
.ex-list--dark .is-open .el-t, .ex-list--dark .is-open .el-n { color: var(--on-dark); }
.ex-list--dark .is-open a:hover .el-t { color: var(--signal); }

/* --------------------------------------------------------------- home: directory */

.directory { padding-block: clamp(4rem, 8vw, 7rem); }
.dir { border-top: 4px solid var(--ink); }
.dir-row {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start;
  padding-block: 1.75rem; border-bottom: 2px solid var(--alu-3);
}
.dir-media { grid-column: 1 / span 3; display: block; }
.dir-head { grid-column: 4 / span 3; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
.dir-head .lb { grid-row: span 2; }
.dir-name { font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: .95; }
.dir-name a { text-decoration: none; transition: color .2s; }
.dir-name a:hover { color: var(--hangar-2); }
.dir-range { font-family: var(--f-sans); font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-top: .45rem; }
.dir-sum { grid-column: 7 / span 3; font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); }
.dir-row .ex-list { grid-column: 10 / span 3; }

/* calm image movement on hover */
.dir-media .slot img, .xrow-media .slot img, .wing-card-media .slot img, .feature-media .slot img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.dir-media:hover .slot img, .xrow-media:hover .slot img, .wing-card-media:hover .slot img { transform: scale(1.025); }
.dir-media .slot-draw, .xrow-media .slot-draw, .wing-card-media .slot-draw { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.dir-media:hover .slot-draw, a.xrow-media:hover .slot-draw, .wing-card-media:hover .slot-draw { transform: translate(-50%, -50%) scale(1.03); }

/* --------------------------------------------------------------- home: featured exhibit */

.feature { background: var(--alu-2); padding-bottom: clamp(3rem, 6vw, 5rem); }
.feature-media .slot { width: 100%; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.feature-label {
  grid-column: 1 / span 6; margin-top: clamp(-14rem, -16vw, -6rem); position: relative; z-index: 2;
  background: var(--paper); padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: 0 1px 0 rgba(27, 35, 39, .12), 0 28px 50px -30px rgba(20, 32, 30, .45);
}
.feature-kicker { font-family: var(--f-sans); font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.xnum--feature { margin-top: 1rem; }
.feature-title { font-size: clamp(2.6rem, 4.6vw, 4.2rem); margin-top: .4rem; }
.feature-title a { text-decoration: none; transition: color .2s; }
.feature-title a:hover { color: var(--hangar-2); }
.feature-dek { font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); margin-top: 1rem; }
.feature-label .btn { margin-top: 1.75rem; }
.feature-quote { grid-column: 8 / span 5; align-self: center; padding-top: 2rem; }
.feature-quote .pull { margin: 0; }
.feature-quote figcaption { font-family: var(--f-sans); font-weight: 600; font-size: .9rem; color: var(--ink-2); margin-top: 1.25rem; }

/* --------------------------------------------------------------- home: runway teaser */

.runway-teaser { background: var(--asphalt); color: var(--on-dark); padding-top: clamp(4rem, 8vw, 6.5rem); }
.runway-teaser .sec-head { margin-bottom: 2.5rem; }
.runway-teaser .sec-title { grid-column: 1 / span 4; }
.runway-teaser .sec-intro { grid-column: 5 / span 5; }
.runway-teaser .sec-head .btn { grid-column: 10 / span 3; }
.runway {
  position: relative; background: #30363b;
  border-top: 10px solid var(--asphalt); border-bottom: 10px solid var(--asphalt);
  box-shadow: inset 0 4px 0 #dfe4e1, inset 0 -4px 0 #dfe4e1;
  overflow-x: auto; scrollbar-width: thin;
}
.runway::before { /* centreline */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px;
  background: repeating-linear-gradient(90deg, #dfe4e1 0 48px, transparent 48px 84px);
  min-width: 960px;
}
.rw-eras { position: relative; display: grid; grid-template-columns: repeat(6, minmax(9.5rem, 1fr)); min-width: 960px; }
.rw-eras li { border-left: 1px solid rgba(223, 228, 225, .14); }
.rw-eras li:first-child { border-left: 0; }
.rw-eras a {
  display: grid; grid-template-rows: 1fr 1fr; height: 300px; padding: 1.5rem 1.25rem; text-decoration: none;
  transition: background-color .25s;
}
.rw-eras a:hover { background: rgba(242, 179, 27, .07); }
.rw-num { font-family: var(--f-sans); font-weight: 900; font-stretch: 62%; font-size: 5.5rem; line-height: 1; color: #dfe4e1; align-self: end; padding-bottom: 1.25rem; }
.rw-name { font-family: var(--f-sans); font-weight: 750; font-stretch: 80%; font-size: 1.35rem; line-height: 1.1; color: var(--on-dark); padding-top: 1.5rem; }
.rw-span { font-family: var(--f-sans); font-weight: 600; font-size: .9rem; color: var(--signal); margin-top: .35rem; }
.rw-eras a { grid-template-rows: 1fr auto auto 1fr; }
.rw-eras a .rw-name { grid-row: 2; }
.rw-eras a .rw-span { grid-row: 3; align-self: start; }
.rw-eras a .rw-num { grid-row: 1; }

/* --------------------------------------------------------------- home: visitor information */

.visit { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--alu); }
.visit-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.visit .sec-title { grid-column: 1 / span 4; }
.visit-list { grid-column: 5 / span 8; display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem var(--gap); }
.visit-list div { border-top: 4px solid var(--ink); padding-top: 1rem; }
.visit-list dt { font-family: var(--f-sans); font-weight: 750; font-stretch: 85%; font-size: 1.2rem; }
.visit-list dd { margin-top: .4rem; font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); }
.visit-list a, .prose a, .page-intro a, .wing-intro a { text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: var(--signal); transition: color .2s; }
.visit-list a:hover, .prose a:hover { color: var(--hangar-2); }

/* --------------------------------------------------------------- page heads */

.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.page-head-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.page-title { font-size: clamp(3.6rem, 9.5vw, 8.5rem); font-stretch: 62%; font-weight: 850; line-height: .86; }
.page-head .page-title { grid-column: 1 / span 7; }
.page-intro { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.page-head .page-intro { grid-column: 8 / span 5; }

/* bands: wing colours */
.band-hangar { --band: var(--hangar); --band-2: var(--hangar-2); }
.band-blueprint { --band: var(--blue); --band-2: var(--blue-2); }
.band-asphalt { --band: var(--asphalt); --band-2: var(--asphalt-2); }

/* --------------------------------------------------------------- galleries index */

.wing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-block: clamp(3rem, 6vw, 5rem); }
.wing-card { background: var(--band); color: var(--on-dark); display: grid; grid-template-rows: auto 1fr; }
.wing-card-media { display: block; }
.wing-card-copy { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; align-content: start; gap: 1.1rem; }
.wing-card-head { display: flex; align-items: center; gap: 1rem; }
.wing-card-title { font-size: clamp(2.2rem, 3.4vw, 3.1rem); }
.wing-card-title a { text-decoration: none; transition: color .2s; }
.wing-card-title a:hover { color: var(--signal); }
.wing-card-sum { font-size: 1.1rem; line-height: 1.55; color: var(--on-dark-2); max-width: 32em; }
.wing-card-count { font-family: var(--f-sans); font-size: .9rem; font-weight: 600; color: var(--on-dark-2); }

/* --------------------------------------------------------------- wing page */

.wing-head { background: var(--band); color: var(--on-dark); padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.wing-head-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.wing-head-copy { grid-column: 1 / span 6; }
.wing-head-media { grid-column: 8 / span 5; }
.wing-head .crumbs a { font-family: var(--f-sans); font-weight: 600; font-size: .95rem; color: var(--on-dark-2); text-decoration: none; transition: color .2s; }
.wing-head .crumbs a:hover { color: var(--signal); }
.wing-head-title { display: flex; align-items: flex-end; gap: clamp(1rem, 2vw, 1.5rem); margin-top: 1.5rem; }
.wing-head .page-title { font-size: clamp(3.2rem, 7vw, 6.5rem); color: var(--alu); }
.wing-intro { font-size: 1.2rem; line-height: 1.6; color: var(--on-dark-2); margin-top: 1.75rem; max-width: 34em; }
.wing-head .mini-label { margin-top: 1.75rem; }

.xrows { padding-block: clamp(3rem, 6vw, 5.5rem); display: grid; gap: clamp(3rem, 6vw, 5.5rem); }
.xrow { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.xrow-media { grid-column: 1 / span 7; display: block; position: relative; }
.xrow-copy { grid-column: 9 / span 4; }
.xrow:nth-child(even) .xrow-media { grid-column: 6 / span 7; grid-row: 1; }
.xrow:nth-child(even) .xrow-copy { grid-column: 1 / span 4; grid-row: 1; }
.xrow-title { font-size: clamp(2.3rem, 3.8vw, 3.5rem); margin-top: 1rem; }
.xrow-title a { text-decoration: none; transition: color .2s; }
.xrow-title a:hover { color: var(--hangar-2); }
.xrow-dek { font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); margin-top: 1rem; }
.xrow .btn { margin-top: 1.6rem; }
.xrow--soon .xnum { color: var(--alu-3); }
.xrow--soon .xrow-title { color: var(--ink-2); }
.xrow--soon .slot { filter: saturate(.55); }
.soon-plate {
  position: absolute; left: 14px; top: 14px; z-index: 3;
  background: var(--sign-ink); color: var(--signal);
  box-shadow: inset 0 0 0 2px var(--sign-ink), inset 0 0 0 4px var(--signal);
  font-family: var(--f-sans); font-weight: 800; font-stretch: 80%; font-size: .95rem; line-height: 1;
  padding: .6rem .85rem; border-radius: var(--radius);
}
.soon-note { font-style: italic; color: var(--ink-2); margin-top: 1.1rem; font-size: 1rem; padding-left: 1rem; border-left: 4px solid var(--alu-3); }

.wing-next { background: var(--alu-2); }
.wing-next-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; flex-wrap: wrap; }
.wing-next-k { font-family: var(--f-sans); font-weight: 600; color: var(--ink-2); }
.wing-next-link { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; font-family: var(--f-sans); font-weight: 800; font-stretch: 70%; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1; transition: color .2s; }
.wing-next-link:hover { color: var(--hangar-2); }
.wn-arrow { width: 2rem; height: 2rem; }

/* --------------------------------------------------------------- exhibit page */

.ex-head { background: var(--band); color: var(--on-dark); padding-top: clamp(1.75rem, 3vw, 2.5rem); padding-bottom: clamp(8rem, 16vw, 15rem); }
.ex-crumbs { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sg--crumb { font-size: .95rem; padding: .45rem .7rem; }
.ex-pos { font-family: var(--f-sans); font-weight: 600; font-size: .95rem; color: var(--on-dark-2); }
.ex-head-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-top: clamp(2rem, 5vw, 4rem); align-items: end; }
.ex-head-main { grid-column: 1 / span 8; }
.ex-num { font-family: var(--f-sans); font-weight: 900; font-stretch: 62%; font-size: clamp(5rem, 11vw, 10rem); line-height: .75; color: var(--signal); }
.ex-title { font-size: clamp(3.2rem, 7.2vw, 7rem); font-stretch: 64%; font-weight: 850; line-height: .88; color: var(--alu); margin-top: clamp(1rem, 2vw, 1.75rem); }
.ex-dek { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.5; color: var(--on-dark-2); max-width: 36em; margin-top: 1.5rem; }
.wall-label {
  grid-column: 10 / span 3; background: var(--paper); color: var(--ink); padding: 1.4rem 1.5rem;
  display: grid; gap: .9rem; font-family: var(--f-sans);
  box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .6);
}
.wall-label div { display: grid; gap: .15rem; }
.wall-label dt { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.wall-label dd { font-size: 1rem; font-weight: 600; font-stretch: 90%; line-height: 1.3; }
.wall-label a { text-decoration: none; }
.wall-label a:hover { color: var(--hangar-2); }

.ex-hero { margin-top: clamp(-13rem, -13vw, -6.5rem); }
.ex-hero .objlabel { margin-left: auto; max-width: 34rem; }
/* archival photo mount: a paper mat around the lead image */
.ex-hero > .slot, .wing-head-media .slot { border: clamp(8px, 1vw, 14px) solid var(--paper); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .55); }

.objlabel { display: grid; gap: .35rem; padding-top: 1rem; font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.ol-t { font-family: var(--f-sans); font-weight: 750; font-stretch: 90%; font-size: 1.05rem; color: var(--ink); }
.ol-m { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; font-family: var(--f-sans); font-size: .8rem; font-weight: 500; }
.ol-plate { font-weight: 700; color: var(--ink); background: var(--alu-2); padding: .15rem .45rem; border-radius: 2px; }

.ex-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.artifact { grid-column: 1 / span 3; }
.artifact-in { position: sticky; top: 1.5rem; padding: 1.75rem 1.6rem 1.6rem; }
.af-title { font-weight: 850; font-stretch: 72%; font-size: 1.55rem; line-height: 1; }
.af-list { display: grid; gap: 1rem; margin-top: 1.25rem; font-family: var(--f-sans); }
.af-list div { display: grid; gap: .15rem; padding-top: .9rem; border-top: 2px solid rgba(27, 35, 39, .14); }
.af-list dt { font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.af-list dd { font-size: 1rem; font-weight: 550; font-stretch: 92%; line-height: 1.35; }
.af-h { font-weight: 800; font-stretch: 75%; font-size: 1.15rem; margin-top: 1.75rem; margin-bottom: .5rem; }
.ex-list--tight .el-t { font-size: .95rem; }
.prose { grid-column: 5 / span 8; }
.prose > * { max-width: 40rem; }
.prose p { font-size: 1.25rem; line-height: 1.7; margin-bottom: 1.15em; }
.prose p.lede { font-size: clamp(1.4rem, 2vw, 1.6rem); line-height: 1.55; color: var(--ink); margin-bottom: 1.4em; }
.prose h2 { font-weight: 800; font-stretch: 72%; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; margin: 2.2em 0 .7em; }
.prose h3 { font-weight: 750; font-stretch: 80%; font-size: 1.5rem; margin: 1.8em 0 .5em; }
.prose ul, .prose ol { font-size: 1.2rem; margin: 0 0 1.2em 1.25rem; list-style: disc; }
.prose ol { list-style: decimal; }
.pull { margin: 2.25em 0; padding-top: 1.25rem; position: relative; max-width: 36rem; }
.pull::before { content: ""; position: absolute; left: 0; top: 0; width: 4.5rem; height: 6px; background: var(--signal); }
.pull p { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.2rem) !important; line-height: 1.28 !important; color: var(--hangar); margin: 0 !important; text-wrap: balance; }
.fig { margin: 2.75em 0; }
.prose > .fig--wide { max-width: none; }
.fig--portrait { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: end; max-width: none !important; }
.fig--portrait .objlabel { padding-top: 0; padding-bottom: .25rem; }

/* tour */
.tour { background: var(--asphalt); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 6rem); }
.tour-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.tour-title { font-size: clamp(2.8rem, 5.5vw, 5rem); color: var(--alu); }
.tour-route { display: grid; grid-template-columns: repeat(15, 1fr); gap: 6px; font-family: var(--f-sans); }
.tr-c > a, .tr-c > span {
  display: grid; gap: .3rem; align-content: space-between; height: 5.25rem; padding: .6rem .65rem;
  border-radius: var(--radius); text-decoration: none; transition: background-color .2s;
}
.tr-c b { font-weight: 850; font-stretch: 70%; font-size: 1.6rem; line-height: 1; }
.tr-c i { font-style: normal; font-weight: 600; font-size: .8rem; }
.tr-c.is-open > a { background: var(--alu-2); color: var(--ink); }
.tr-c.is-open > a:hover { background: var(--paper); }
.tr-c.is-here > span { background: var(--signal); color: var(--sign-ink); }
.tr-c.is-soon > span { color: #8c979d; box-shadow: inset 0 0 0 2px rgba(223, 228, 225, .12); }
.tour-skip { font-size: 1rem; color: var(--on-dark-2); font-style: italic; margin-top: 1rem; }
.tour-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 2.5rem; }
.tc { display: grid; gap: .5rem; align-content: start; padding: 1.6rem 1.75rem; background: var(--asphalt-2); text-decoration: none; border-radius: var(--radius); transition: background-color .2s; }
.tc:hover { background: #383f45; }
.tc--next { text-align: right; }
.tc-k { font-family: var(--f-sans); font-weight: 600; font-size: .9rem; color: var(--signal); }
.tc-t { font-family: var(--f-sans); font-weight: 800; font-stretch: 72%; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; color: var(--alu); }
.tc-n { color: var(--on-dark-2); margin-right: .5rem; }
.tc-w { font-family: var(--f-sans); font-size: .9rem; color: var(--on-dark-2); }

/* --------------------------------------------------------------- timeline hall */

.timeline-page main { background: var(--asphalt); color: var(--on-dark); }
.tl-head { padding-top: clamp(3rem, 7vw, 6rem); }
.tl-head-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.tl-head .page-title { grid-column: 1 / span 7; color: var(--alu); }
.tl-head .page-intro { grid-column: 8 / span 5; color: var(--on-dark-2); }
.tl-index { position: sticky; top: 0; z-index: 10; margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--asphalt); padding-block: 10px; }
.tl-index ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.tl-index a {
  display: flex; align-items: baseline; gap: .6rem; padding: .7rem .85rem; height: 100%;
  background: #dfe4e1; color: var(--sign-ink); text-decoration: none; border-radius: 2px;
  font-family: var(--f-sans); transition: background-color .2s;
}
.tl-index a:hover { background: #fff; }
.tl-index a.is-active { background: var(--signal); }
.ti-n { font-weight: 900; font-stretch: 65%; font-size: 1.3rem; line-height: 1; }
.ti-t { font-weight: 650; font-stretch: 82%; font-size: .98rem; line-height: 1.15; }

.era { padding-block: clamp(4rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem); }
.era:nth-child(even) { background: #2a3034; }
.era-head { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; column-gap: var(--gap); align-items: start; }
.threshold { grid-column: 1 / span 2; grid-row: 2; display: flex; gap: 8px; height: 10px; margin-top: 1.5rem; max-width: 7rem; }
.threshold span { flex: 1; background: #dfe4e1; }
.era-num { grid-column: 1 / span 2; grid-row: 1; font-family: var(--f-sans); font-weight: 900; font-stretch: 62%; font-size: clamp(5rem, 9vw, 8.5rem); line-height: .74; color: #dfe4e1; }
.era-copy { grid-column: 3 / span 4; grid-row: 1 / span 2; }
.era-title { font-size: clamp(2.6rem, 4.6vw, 4.2rem); color: var(--alu); }
.era-span { font-family: var(--f-sans); font-weight: 650; font-size: 1.05rem; color: var(--signal); margin-top: .7rem; }
.era-sum { font-size: 1.2rem; line-height: 1.55; color: var(--on-dark-2); margin-top: 1.1rem; max-width: 30em; }
.era-media { grid-column: 8 / span 5; grid-row: 1 / span 2; }

.strip { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 140px; padding-block: 3.5rem 1rem; }
.strip::before { /* the runway */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 76px; margin-left: -38px;
  background:
    repeating-linear-gradient(180deg, #dfe4e1 0 34px, transparent 34px 60px) center / 4px 100% no-repeat,
    #31373c;
  box-shadow: inset 4px 0 0 #31373c, inset 7px 0 0 #dfe4e1, inset -4px 0 0 #31373c, inset -7px 0 0 #dfe4e1;
}
.strip::after { /* threshold markings at the start of each era's runway */
  content: ""; position: absolute; top: 0; left: 50%; width: 52px; margin-left: -26px; height: 34px;
  background: repeating-linear-gradient(90deg, #dfe4e1 0 5px, transparent 5px 9.4px);
}
.en { position: relative; padding-block: .9rem; }
.en--l { grid-column: 1; }
.en--r { grid-column: 2; margin-top: 4.5rem; }
.en--l + .en--r { grid-row: span 1; }
.en::before { /* taxi line to the runway */
  content: ""; position: absolute; top: 2.6rem; width: 32px; height: 3px; background: var(--signal);
}
.en::after { /* runway edge light */
  content: ""; position: absolute; top: calc(2.6rem - 5px); width: 13px; height: 13px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px rgba(242, 179, 27, .2);
}
.en--l::before { right: -32px; }
.en--l::after { right: -38px; }
.en--r::before { left: -32px; }
.en--r::after { left: -38px; }
.en-card { background: var(--alu); color: var(--ink); padding: 1.4rem 1.5rem 1.25rem; border-radius: 2px; }
.en-when { font-family: var(--f-sans); font-weight: 700; color: var(--hangar); font-size: .95rem; margin-bottom: .3rem; }
.en-title { font-weight: 800; font-stretch: 76%; font-size: 1.6rem; line-height: 1.02; }
.en-text { font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); margin-top: .6rem; }
.en-foot { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; margin-top: 1rem; font-family: var(--f-sans); font-size: .85rem; font-weight: 600; }
.en-ex { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: var(--signal); }
a.en-ex:hover { color: var(--hangar-2); }
.en-ex.is-soon { color: var(--ink-2); font-weight: 500; }
.en-ph { color: var(--ink-2); font-weight: 500; font-style: italic; font-family: var(--f-serif); font-size: .9rem; }

.tl-end { padding-block: 3rem clamp(4rem, 8vw, 6rem); text-align: center; display: grid; justify-items: center; gap: 1rem; }
.tl-end::before { content: ""; width: 76px; height: 24px; background: repeating-linear-gradient(90deg, #dfe4e1 0 8px, transparent 8px 14px); margin-bottom: 1rem; }
.tl-end-t { font-family: var(--f-sans); font-weight: 800; font-stretch: 70%; font-size: 2.2rem; line-height: 1; color: var(--alu); }
.tl-end p:not(.tl-end-t) { color: var(--on-dark-2); max-width: 34em; }

/* --------------------------------------------------------------- map room */

.maproom { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-bottom: clamp(4rem, 8vw, 6rem); align-items: start; }
.chart { grid-column: 1 / span 8; position: sticky; top: 1.5rem; background: var(--paper); padding: clamp(1rem, 2.5vw, 2rem); box-shadow: 0 1px 0 rgba(27, 35, 39, .12); }
.kymap--room .m-grid { stroke: rgba(27, 35, 39, .08); stroke-width: 1; fill: none; }
.kymap--room .m-land { fill: #dfe7df; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.kymap--room .m-river { fill: none; stroke: var(--river); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.kymap--room .m-rlabel { font-family: var(--f-serif); font-style: italic; font-size: 17px; fill: var(--river); }
.kymap--room .m-blabel { font-family: var(--f-sans); font-weight: 600; font-size: 15px; fill: #8a9690; text-anchor: middle; }
.kymap--room .m-label { font-family: var(--f-sans); font-weight: 650; font-size: 16px; fill: var(--ink); paint-order: stroke; stroke: #dfe7df; stroke-width: 4px; stroke-linejoin: round; }
.kymap--room .m-mk { stroke: var(--ink); stroke-width: 2; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.kymap--room .k-cargo .m-mk { fill: var(--signal); }
.kymap--room .k-airport .m-mk { fill: var(--blue-2); }
.kymap--room .k-military .m-mk { fill: var(--hangar-2); }
.kymap--room .k-city .m-mk { fill: #9aa6a1; stroke: none; }
.kymap--room .k-city .m-label { font-weight: 500; font-size: 14px; fill: var(--ink-2); }
.kymap--room .m-place.is-active .m-mk { transform: scale(1.5); }
.kymap--room .m-place.is-active .m-label { fill: var(--hangar); }
.chart-note { font-family: var(--f-sans); font-size: .85rem; color: var(--ink-2); margin-top: 1rem; }
.places { grid-column: 9 / span 4; display: grid; gap: 2rem; }
.pl-h { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-stretch: 78%; font-size: 1.3rem; padding-bottom: .6rem; border-bottom: 4px solid var(--ink); }
.pl-key { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.k-cargo .pl-key { background: var(--signal); }
.k-airport .pl-key { background: var(--blue-2); }
.k-military .pl-key { background: var(--hangar-2); border-radius: 0; }
.k-city .pl-key { background: #9aa6a1; border-color: #9aa6a1; width: 10px; height: 10px; }
.pl { display: grid; gap: .2rem; padding: .8rem .6rem; border-bottom: 2px solid var(--alu-3); border-radius: 2px; transition: background-color .2s; outline-offset: 0; }
.pl:hover, .pl.is-active { background: var(--paper); }
.pl-name { font-family: var(--f-sans); font-weight: 750; font-stretch: 85%; font-size: 1.15rem; }
.pl-note { font-size: .98rem; line-height: 1.45; color: var(--ink-2); }
.pl-ex { font-family: var(--f-sans); font-size: .85rem; font-weight: 600; margin-top: .2rem; }
.pl-ex a { text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: var(--signal); }
.pl-ex .is-soon { color: var(--ink-2); font-weight: 500; }
.k-city ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.k-city .pl { padding-block: .55rem; }
.k-city .pl-note { display: none; }

/* --------------------------------------------------------------- about & 404 */

.about-hero .objlabel { max-width: 34rem; margin-left: auto; }
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); }
.prose--about { grid-column: 1 / span 7; }
.prose--about h2:first-of-type { margin-top: 1.6em; }
.artifact--about { grid-column: 10 / span 3; }

.lost { background: var(--hangar); color: var(--on-dark); padding-block: clamp(4rem, 10vw, 8rem); }
.lost-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lost-sign .sg-loc { font-size: clamp(4rem, 10vw, 8rem); padding: 1.5rem 2rem; box-shadow: inset 0 0 0 6px var(--sign-ink), inset 0 0 0 10px var(--signal); }
.lost .page-title { color: var(--alu); }
.lost .page-intro { color: var(--on-dark-2); margin-top: 1.25rem; }

/* --------------------------------------------------------------- footer */

.site-footer { background: var(--hangar); color: var(--on-dark); padding-top: clamp(3.5rem, 6vw, 5rem); }
.ft { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.ft-brand { grid-column: 1 / span 5; }
.wordmark--ft { color: var(--alu); }
.wordmark--ft .wm-name { font-size: 2.2rem; }
.wordmark--ft .wm-sub { color: var(--signal); font-size: 1rem; }
.ft-brand p { color: var(--on-dark-2); margin-top: 1.25rem; max-width: 28em; font-size: 1.05rem; }
.ft-col { grid-column: span 3; }
.ft-col:first-of-type { grid-column: 7 / span 3; }
.ft-col h2 { font-weight: 750; font-stretch: 85%; font-size: 1rem; color: var(--on-dark-2); margin-bottom: .9rem; }
.ft-col ul { display: grid; gap: .35rem; }
.ft-col a { font-family: var(--f-sans); font-weight: 550; font-stretch: 92%; text-decoration: none; color: var(--on-dark); display: inline-flex; align-items: center; gap: .6rem; padding-block: .15rem; transition: color .2s; }
.ft-col a:hover { color: var(--signal); }
.ft-base { margin-top: clamp(3rem, 5vw, 4rem); padding-block: 1.4rem; border-top: 2px solid rgba(233, 238, 234, .12); font-family: var(--f-sans); font-size: .85rem; color: var(--on-dark-2); }

/* --------------------------------------------------------------- image slots & drawn fallbacks */

.slot { position: relative; overflow: hidden; background: var(--sl-bg); color: var(--sl-ln); container-type: inline-size; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-4x3 { aspect-ratio: 4 / 3; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-16x9 { aspect-ratio: 16 / 9; }
.r-21x9 { aspect-ratio: 21 / 9; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.tone-vellum { --sl-bg: #dce2de; --sl-ln: #2b3a40; --sl-grid: rgba(43, 58, 64, .075); --sl-frame: rgba(43, 58, 64, .34); }
.tone-blueprint { --sl-bg: #1f4462; --sl-ln: #d4e4ee; --sl-grid: rgba(212, 228, 238, .085); --sl-frame: rgba(212, 228, 238, .34); }
.tone-hangar { --sl-bg: #2a4a39; --sl-ln: #dbe7dc; --sl-grid: rgba(219, 231, 220, .075); --sl-frame: rgba(219, 231, 220, .3); }
.slot-art {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--sl-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--sl-grid) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: center;
}
.slot-art::before { content: ""; position: absolute; inset: clamp(8px, 2.2cqi, 16px); border: 1px solid var(--sl-frame); }
.slot-draw { position: absolute; left: 50%; top: 50%; height: 74%; width: auto; aspect-ratio: 1; max-width: 78%; transform: translate(-50%, -50%); overflow: visible; }
.slot-tb {
  position: absolute; right: clamp(8px, 2.2cqi, 16px); bottom: clamp(8px, 2.2cqi, 16px);
  display: grid; gap: .1rem; padding: .5rem .75rem;
  border-left: 1px solid var(--sl-frame); border-top: 1px solid var(--sl-frame);
  background: var(--sl-bg);
  font-family: var(--f-sans); font-size: .72rem; line-height: 1.25; text-align: left;
}
.tb-k { font-weight: 750; }
.tb-v { opacity: .8; }
@container (max-width: 300px) { .slot-tb { display: none; } }

/* Missing-photo labels for the site owner: localhost, 127.0.0.1 or ?slots only */
html.show-slots .slot:not(:has(img))::after,
html.show-slots .slot.no-img::after {
  content: attr(data-file) "  " attr(data-size);
  position: absolute; left: 8px; top: 8px; z-index: 4;
  font: 600 11px/1.3 ui-monospace, Menlo, Consolas, monospace;
  background: #fff; color: #000; padding: 3px 7px; border-radius: 2px;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1460px) {
  .sb-row .sg-arrow { display: none; }
}
@media (max-width: 1180px) {
  .sb-row { flex-wrap: wrap; }
  .sb-row .sg-arrow { display: block; }
  .sb-row > li { flex: 1 1 calc(33.333% - 8px); }
  .sb-row > li.sb-here { flex: 1 1 100%; }
  .entrance-copy { grid-column: 1 / span 7; }
  .entrance-side { grid-column: 8 / span 5; }
  .entrance-facts { grid-template-columns: 1fr; gap: .8rem; }
  .dir-media { grid-column: 1 / span 4; grid-row: span 2; }
  .dir-head { grid-column: 5 / span 8; }
  .dir-sum { grid-column: 5 / span 4; }
  .dir-row .ex-list { grid-column: 9 / span 4; }
  .wall-label { grid-column: 9 / span 4; }
  .ex-head-main { grid-column: 1 / span 8; }
  .artifact { grid-column: 1 / span 4; }
  .prose { grid-column: 5 / span 8; }
  .tour-route { grid-template-columns: repeat(8, 1fr); }
}

@media (max-width: 900px) {
  .hd { min-height: 66px; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; align-items: center; gap: .5rem;
    font-family: var(--f-sans); font-weight: 700; font-size: .95rem;
    background: var(--ink); color: var(--alu); border: 0; border-radius: var(--radius); padding: .6rem .9rem; cursor: pointer;
  }
  .nav-toggle::before { content: ""; width: 14px; height: 10px; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
  .js .site-nav { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--alu); padding: .5rem var(--gut) 1.5rem; flex-direction: column; align-items: stretch; gap: 1rem; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .35); }
  .no-js .site-nav { position: static; box-shadow: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; font-size: 1.15rem; border-bottom: 2px solid var(--alu-3); }
  .site-nav ul a[aria-current="page"] { box-shadow: none; color: var(--ink); }
  .hd-tour { justify-content: center; }
  .site-header .wrap { position: static; }

  .entrance { min-height: 0; display: block; padding-top: 2.5rem; }
  .entrance-grid { display: block; }
  .entrance-side { margin: 2.5rem 0 0; justify-items: stretch; }
  .entrance-map { width: calc(100% + var(--gut)); }
  .entrance-facts { margin-right: 0; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; }

  .sec-head, .page-head-grid, .tl-head-grid { display: block; }
  .sec-intro, .page-intro { margin-top: 1.1rem; }
  .sec-head .btn { margin-top: 1.5rem; }

  .dir-row { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-block: 1.75rem 2rem; }
  .dir-media, .dir-head, .dir-sum, .dir-row .ex-list { grid-column: 1; grid-row: auto; }
  .dir-media { order: -1; }

  .feature-label { grid-column: 1 / -1; margin-top: -3rem; }
  .feature-quote { grid-column: 1 / -1; padding-top: 1rem; }
  .feature-media .slot { aspect-ratio: 4 / 3; }

  .visit-grid { display: block; }
  .visit-list { grid-template-columns: 1fr; margin-top: 2rem; gap: 1.75rem; }

  .wing-cards { grid-template-columns: 1fr; }
  .wing-head-grid { display: block; }
  .wing-head-media { margin-top: 2rem; }
  .xrow, .xrow:nth-child(even) { display: block; }
  .xrow-copy { margin-top: 1.5rem; }

  .ex-head-grid { display: block; }
  .wall-label { margin-top: 2rem; grid-template-columns: 1fr 1fr; }
  .ex-head { padding-bottom: 5.5rem; }
  .ex-hero { margin-top: -3.5rem; }
  .ex-body { display: flex; flex-direction: column; }
  .artifact { order: 2; margin-top: 1.5rem; }
  .artifact-in { position: static; }
  .fig--portrait { grid-template-columns: 1fr; }
  .tour-route { grid-template-columns: repeat(5, 1fr); }
  .tour-cards { grid-template-columns: 1fr; }
  .tc--next { text-align: left; }

  .tl-index { margin-inline: 0; }
  .tl-index ol { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tl-index .ti-t { display: none; }
  .tl-index a { justify-content: center; padding: .65rem .3rem; }
  .era-head { display: flex; flex-direction: column; align-items: stretch; }
  .era-num { order: 0; line-height: .8; }
  .threshold { order: 1; width: 120px; }
  .era-copy { order: 2; }
  .era-media { order: 3; }
  .era-copy { margin-top: 1.25rem; }
  .era-media { margin-top: 1.75rem; }
  .strip { grid-template-columns: 1fr; padding-left: 64px; column-gap: 0; }
  .strip::after { left: 6px; margin-left: 0; width: 28px; height: 24px; background: repeating-linear-gradient(90deg, #dfe4e1 0 3px, transparent 3px 5.6px); }
  .era-num { font-size: 5rem; }
  .threshold { margin-top: 1rem; }
  .strip::before { left: 0; margin-left: 0; width: 40px; background: repeating-linear-gradient(180deg, #dfe4e1 0 24px, transparent 24px 42px) center / 3px 100% no-repeat, #31373c; box-shadow: inset 3px 0 0 #31373c, inset 5px 0 0 #dfe4e1, inset -3px 0 0 #31373c, inset -5px 0 0 #dfe4e1; }
  .en--l, .en--r { grid-column: 1; margin-top: 0; }
  .en--l::before, .en--r::before { left: -24px; right: auto; width: 24px; }
  .en--l::after, .en--r::after { left: -30px; right: auto; }

  .maproom { display: block; }
  .chart { position: static; }
  .places { margin-top: 2.5rem; }
  .kymap--room .m-label { font-size: 30px; stroke-width: 6px; }
  .kymap--room .k-city .m-label { display: none; }
  .kymap--room .m-rlabel { font-size: 30px; }
  .kymap--room .m-blabel, .kymap--room .m-rlabel { display: none; }

  .about-grid { display: block; }
  .artifact--about { margin-top: 2.5rem; }
  .lost-grid { grid-template-columns: 1fr; }

  .ft { display: block; }
  .ft-col { margin-top: 2.5rem; }
}

@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .wm-name { font-size: 1.3rem; }
  .wm-sub { font-size: .8rem; }
  .sb-row > li { flex: 1 1 calc(50% - 8px); }
  .sb-row .sg { align-items: center; }
  .sb-row .sg-n { font-size: .9rem; white-space: normal; line-height: 1.1; }
  .sb-row .sg-arrow { display: none; }
  .entrance-facts dd { font-size: .95rem; }
  .prose p { font-size: 1.15rem; }
  .wall-label { grid-template-columns: 1fr; }
  .tr-c > a, .tr-c > span { height: 4.25rem; padding: .5rem; }
  .tr-c b { font-size: 1.35rem; }
  .lb--xl { width: 3.2rem; height: 3.2rem; font-size: 2.2rem; }
  .soon-plate { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .kymap--hero .m-route { stroke-dashoffset: 0; }
  .js .kymap--hero .m-route-shadow, .js .kymap--hero .m-plane, .js .kymap--hero .m-place { opacity: 1; }
}
