/* SPDX-License-Identifier: Apache-2.0 */
/* Define the metal frame, amber display surfaces and responsive reading layouts. */
@font-face {
  font-family: Michroma; src: url('../fonts/Michroma-Regular.ttf') format('truetype');
  font-display: swap; font-weight: 400;
}
@font-face {
  font-family: Barlow; src: url('../fonts/BarlowSemiCondensed-Regular.ttf') format('truetype');
  font-display: swap; font-weight: 400;
}
@font-face {
  font-family: Barlow; src: url('../fonts/BarlowSemiCondensed-SemiBold.ttf') format('truetype');
  font-display: swap; font-weight: 600;
}
:root {
  color-scheme: dark;
  --accent: #d97a12; --glow: #ffe5c9; --highlight: #fff7ef; --silver: #c4bcb3;
  --green: #8f8171; --deep: #473828; --ink: #1c1610;
  --metal: linear-gradient(180deg, #fff8f1 0%, #c4bcb4 13%, #9e958b 49%, #e5ddd5 51%, #b4aaa0 94%, #7f7469 100%);
  --display: 'Michroma', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: #30271d; }
body {
  margin: 0; color: #eee8e2; font: 17px/1.45 Barlow, Arial, sans-serif;
  background: linear-gradient(180deg, #a39a9120, #140e0750 800px),
    repeating-linear-gradient(0deg, transparent 0 39px, #e5ccb10b 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, #e5ccb10b 39px 40px), #3b3126;
  min-height: 100vh; padding: 36px 24px 28px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
button, a { -webkit-tap-highlight-color: #ffe5c944; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; }
.navigation :focus-visible, .display-controls :focus-visible, .masthead :focus-visible { outline-color: #3c2812; }
::selection { color: #221609; background: var(--glow); }
[id] { scroll-margin-top: 24px; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px; background: #2d2215; }
.site-shell { max-width: 1216px; margin: auto; border: 1px solid #0f0c08; box-shadow: 0 0 0 1px #b7aea455, 0 12px 55px #130d06a0; }
.shell-cap { height: 15px; display: flex; align-items: center; gap: 4px; padding: 0 6px; background: #93897e; border-top: 1px solid #fff3e6; border-bottom: 3px double #2c2217; }
.shell-cap > span { width: 74%; height: 100%; background: var(--metal); border-right: 18px solid #7e7163; transform: skewX(40deg); transform-origin: top; margin-right: auto; }
.shell-cap i { width: 6px; height: 6px; background: #ebe0d4; box-shadow: 1px 1px #3a3026; }
.masthead {
  height: 103px; display: flex; align-items: center; justify-content: space-between; padding: 16px 28px;
  color: #3b2f22; background: repeating-linear-gradient(0deg, #ffffff12 0 1px, #473c2f12 1px 2px),
    linear-gradient(115deg, #f6efe8 0%, #a0968c 44%, #eae1d7 63%, #8e8172 100%);
  border-top: 1px solid #fff8f0; border-bottom: 1px solid #1b130a;
}
.brand { display: flex; align-items: center; gap: 15px; }
.brand img { filter: drop-shadow(0 1px #fff7ef); }
.wordmark { font: italic 46px/.9 var(--display); letter-spacing: -4px; text-shadow: 0 1px #fff8f1; }
.wordmark-number { font-size: 23px; margin-left: 9px; vertical-align: top; letter-spacing: 0; }
.wordmark small { display: block; font: 8px/1.2 var(--display); letter-spacing: 2.3px; margin-top: 11px; }
.masthead-right { display: grid; gap: 6px; text-align: right; font: 8px/1.5 var(--display); letter-spacing: 2px; }
.masthead-right span:first-child { font-size: 10px; letter-spacing: 2.6px; }
.address-strip { display: flex; justify-content: space-between; gap: 16px; padding: 6px 18px; background: #615547; border-top: 1px solid #fbedde88; border-bottom: 3px double #b5a99b; font: 8px/1.5 var(--display); letter-spacing: 1px; }
.address:before { content: '//'; margin-right: 18px; color: var(--glow); }
.preview-label { color: #ffefde; }
.stage { position: relative; isolation: isolate; min-height: 584px; padding: 43px 28px 54px; display: grid; grid-template-columns: 155px 1fr 455px; gap: 24px; overflow: hidden; background: #281d10; }
.artwork { position: absolute; z-index: -3; inset: -16px; background: url('../img/industrial-study.png') 39% 50% / cover no-repeat; opacity: .9; }
.stage:after { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #1b110744, transparent 26%, #180f0620 60%, #18100799), linear-gradient(0deg, #1c1106b3, transparent 34%); pointer-events: none; }
.grid-overlay { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16; background: repeating-linear-gradient(0deg, transparent 0 29px, #ffead266 29px 30px), repeating-linear-gradient(90deg, transparent 0 29px, #ffead266 29px 30px); mask-image: linear-gradient(90deg, #000000, transparent 60%); }
.stage-annotation { position: absolute; left: 29px; top: 16px; font: 7px/1.5 var(--display); opacity: .75; }
.side-rail { align-self: start; display: grid; gap: 105px; margin-top: 38px; }
.metal-panel { color: #2b2014; filter: drop-shadow(3px 6px 4px #160f0788); }
.panel-cap { min-height: 26px; padding: 8px 10px 5px; font: 8px/1.25 var(--display); letter-spacing: 1px; color: #fff7ef; display: flex; align-items: center; justify-content: space-between; border: 1px solid #1b130a; border-bottom: 3px double #ebdecf; background: #7b7064; clip-path: polygon(7px 0, 73% 0, 78% 5px, 100% 5px, 100% 100%, 0 100%, 0 7px); }
.dots { width: 22px; height: 7px; opacity: .55; background: radial-gradient(#fff9f3 1px, transparent 1px) 0 0 / 3px 3px; }
.nav-links { border: 1px solid #1b130a; border-top: 0; padding: 5px; background: repeating-linear-gradient(0deg, #fbf3ea12 0 1px, #3e332615 1px 2px), linear-gradient(90deg, #a3988c, #e7e0d9 46%, #b5aca3); }
.nav-links a { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px; border-top: 1px solid #fff4e988; border-bottom: 1px solid #817567; font: 7px/1.5 var(--display); text-transform: uppercase; letter-spacing: .2px; }
.nav-links a > span { font: 10px Barlow, sans-serif; opacity: .65; }
.nav-links a > b { margin-left: auto; font: 15px Arial, sans-serif; }
.nav-links a[aria-current] { background: #3e3224; color: #ffebd5; box-shadow: inset 1px 1px #291f15, inset -1px -1px #d2c7ba; }
.nav-links a:hover { background: #ffe5c9; color: #372614; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; height: 17px; background: var(--metal); border: 1px solid #291f15; border-top-color: #fff7ef; padding: 0 9px; }
.panel-foot span { width: 43px; height: 4px; background: #665a4c; clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%); }
.panel-foot b { font: 8px Arial, sans-serif; color: #665b50; letter-spacing: 2px; }
.display-controls { background: linear-gradient(110deg, #d7cec4, #aa9e91); border: 1px solid #2f2417; padding: 10px 9px; }
.display-controls button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 34px; padding: 4px 7px; background: var(--metal); color: #2b2014; border: 1px solid #6e6153; border-top-color: #fff9f3; margin-bottom: 6px; box-shadow: 0 1px 2px #3b302366; font-size: 13px; }
.display-controls button b { display: grid; place-items: center; min-width: 29px; height: 17px; border: 1px solid #3a2e20; background: #44392c; color: #e4dbd2; font: 8px Arial, sans-serif; }
.display-controls button[aria-pressed='true'] b { color: #261b10; background: var(--glow); box-shadow: 0 0 4px #ffe5c9; }
.control-note { margin: 9px 0; font-size: 11px; line-height: 1.3; }
.swatches { display: flex; height: 9px; gap: 2px; }
.swatches i { flex: 1; background: var(--glow); border: 1px solid #2b201455; }
.swatches i:nth-child(2) { background: #bdae9e; }.swatches i:nth-child(3) { background: #8e8070; }
.swatches i:nth-child(4) { background: #594835; }.swatches i:nth-child(5) { background: #2e2318; }
.palette-value { margin: 5px 0 0; text-align: right; font: 7px var(--display); letter-spacing: 1px; }
.art-caption { align-self: end; padding: 0 0 22px 10px; display: flex; flex-direction: column; align-items: flex-start; text-shadow: 0 2px 6px #2c1f11; }
.art-word { font: italic 59px/1 var(--display); letter-spacing: -6px; color: #ffeedc; }
.art-caption > span:nth-child(2) { font: 7px/1.8 var(--display); letter-spacing: .8px; margin-top: 9px; }
.art-caption i { width: 95px; height: 5px; background: repeating-linear-gradient(110deg, #ffe5c9 0 5px, transparent 5px 8px); margin: 12px 0; }
.art-caption small { font: 6px/1.5 var(--display); letter-spacing: 1px; color: #dccdbd; }
.content-window { min-width: 0; align-self: start; margin-top: 23px; position: relative; }
.content-window:focus { outline: none; }
.window-frame { background: #b5aba0; padding: 5px; border: 1px solid #1b1107; box-shadow: inset 0 0 0 1px #fff4e8, 4px 7px 15px #1a0e0080; clip-path: polygon(9px 0, 95px 0, 103px 7px, calc(100% - 54px) 7px, calc(100% - 47px) 0, 100% 0, 100% calc(100% - 8px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 8px), 0 9px); }
.window-title { height: 28px; margin-top: 5px; padding: 0 4px 0 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #5a4e40; border: 1px solid #2b1f12; border-bottom: 3px double #d9c9b8; color: #fff3e6; font: 8px/1.4 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.window-title button { color: #2f2315; background: var(--metal); border: 1px solid #291e11; box-shadow: inset 1px 1px #fff7ef; width: 23px; height: 20px; font: 19px/14px Arial, sans-serif; }
.window-body { padding: 23px 26px 18px; background: repeating-linear-gradient(0deg, #ffeedb04 0 1px, transparent 1px 3px), linear-gradient(135deg, #3c2a17ea, #2e2112f7); border: 1px solid #483c2e; border-top: 0; }
.eyebrow { margin: 0 0 16px; color: #d8c7b4; font: 7px/1.7 var(--display); letter-spacing: 1.1px; }
h1 { font: 24px/1.5 var(--display); letter-spacing: -.8px; margin: 0 0 10px; color: #fff7ef; }
h1 em { font-style: normal; color: var(--glow); }
.heading-rule { height: 1px; width: 85px; background: var(--glow); margin: 16px 0 19px; box-shadow: 0 2px #ffe5c922; }
.lead { color: #f6ebde; font-size: 21px; line-height: 1.3; margin: 0 0 15px; }
.window-body > p:not(.lead):not(.eyebrow) { margin: 0 0 14px; color: #dbd1c6; }
.action-button { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--metal); color: #382613; border: 1px solid #1a1108; box-shadow: inset 1px 1px #fffaf5, inset -1px -1px #8f8070; padding: 10px 12px; margin: 22px 0 4px; font: 8px/1.7 var(--display); text-transform: uppercase; }
.action-button span { font: 23px/10px Arial, sans-serif; }
.action-button:hover { background: var(--glow); }
.action-button:active, .display-controls button:active { box-shadow: inset 1px 1px #4a3b2a; transform: translateY(1px); }
.content-note { display: flex; align-items: center; gap: 7px; font-size: 10px; margin-top: 19px; color: #d0c3b5; }
.content-note a { margin-left: auto; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.status-light { width: 5px; height: 5px; border: 1px solid #ffe5c9; background: #998875; }
.window-footer { display: flex; justify-content: space-between; padding: 5px 5px 1px; color: #3e3020; font: 6px/1.5 var(--display); text-transform: uppercase; letter-spacing: .7px; }
.window-footer > span:last-child { font: 9px/1 Arial, sans-serif; color: #60503e; }
.stage-bottom { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 15px; padding: 7px 18px; background: #635647b3; border-block: 1px solid #ad9f8f55; font: 6px/1.5 var(--display); letter-spacing: 1px; }
.module-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 9px; background: linear-gradient(#948779, #4b3e30); border-top: 3px double #f6ece1; }
.module { border: 1px solid #271c10; background: #3b2a18; box-shadow: 0 1px #bdaa96; }
.module-heading { display: flex; align-items: center; gap: 9px; padding: 5px 10px; background: linear-gradient(100deg, #9b8f82, #6e6153); border-top: 1px solid #f7e9d9; border-bottom: 1px solid #251a0d; font: 8px var(--display); letter-spacing: 1.5px; }
.module-heading b { border-right: 1px solid #ffeedc7a; padding-right: 9px; font: 13px/1 Barlow, sans-serif; }
.module-content { display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 12px 15px; font-size: 19px; background: repeating-linear-gradient(0deg, #ffebd604 0 1px, transparent 1px 3px); }
.module-content small { display: block; font-size: 12px; color: #d0c1b0; margin-top: 4px; }
.module-content small b { margin-left: 5px; }
.module:hover .module-heading { background: #9c8c7a; }
.module:hover small { color: var(--glow); text-decoration: underline; }
.module-icon { flex: 0 0 31px; height: 31px; opacity: .8; position: relative; }
.device-icon { border: 3px double #ffe5c9; outline: 2px dotted #b29d86; outline-offset: 3px; }
.device-icon:after { content: ''; position: absolute; inset: 6px; border: 1px solid #eed2b4; }
.state-icon { background: repeating-linear-gradient(0deg, transparent 0 4px, #d6c4b1 4px 5px, #9d897344 5px 8px); border-inline: 1px solid #d7c3ad; transform: skewY(-12deg); }
.interface-icon { border: 1px solid #e3cfb9; box-shadow: 4px -4px 0 -1px #493826, 4px -4px #9b8a77; background: linear-gradient(#c6b6a455 6px, transparent 6px); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 36px; background: #3e3326; border-top: 1px solid #c9baaa; padding: 9px 18px; font: 6px/1.5 var(--display); letter-spacing: .9px; color: #d0c2b3; }
.site-footer a:hover { color: #fff7ef; text-decoration: underline; }
.shell-bottom { height: 12px; border-block: 1px solid #e4d5c5; background: var(--metal); }
.outer-caption { max-width: 1216px; margin: 11px auto 0; display: flex; justify-content: space-between; gap: 20px; font: 6px/1.6 var(--display); letter-spacing: 1.2px; color: #b6a797; }
h2 { font: 12px/1.7 var(--display); color: #ffecd8; margin: 24px 0 10px; }
.architecture .content-window, .project .content-window { grid-column: 2 / 4; margin-left: 100px; }
.architecture .art-caption, .project .art-caption { display: none; }
.architecture .window-body, .project .window-body { padding: 30px 37px; }
.architecture h1, .project h1 { font-size: 29px; }
.architecture-section { padding: 13px 0; border-top: 1px solid #efd6bb29; }
.architecture-section h2 { margin: 0 0 7px; }
.architecture-section h2 span { color: #b5a28d; margin-right: 12px; }
.architecture-section p { margin: 0; max-width: 58ch; color: #dbd1c6; }
.text-link { color: #ffe5c9; display: inline-block; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; margin-top: 14px; }
.project-return { margin-top: 20px; }
.reading-expanded .content-window { grid-column: 2 / 4; margin-left: 0; }
.reading-expanded .art-caption { display: none; }
.reading-expanded .window-body { max-width: none; padding: 30px 38px; background: #352615; }
.reading-expanded .window-body > p { max-width: 65ch; }
.reading-expanded .action-button { max-width: 440px; }
.motion-enabled .artwork { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.035) translate3d(4px, -3px, 0); } }
@media (max-width: 1080px) {
  body { padding: 20px 15px; }
  .stage { grid-template-columns: 145px 1fr 415px; padding-inline: 20px; gap: 15px; }
  .art-caption { padding-left: 0; }.art-word { font-size: 43px; }
  .art-caption > span:nth-child(2) { font-size: 5px; }
  .architecture .content-window, .project .content-window { margin-left: 35px; }
  .module-content { font-size: 16px; padding-inline: 12px; }.module-icon { flex-basis: 25px; height: 25px; }
}
@media (max-width: 860px) {
  .window-title button { display: none; }
  .stage { grid-template-columns: 145px minmax(0, 1fr); padding-top: 180px; }
  .artwork { background-position: 33% 35%; }.side-rail { margin-top: 23px; gap: 30px; }
  .content-window { grid-column: 2; }.art-caption { position: absolute; top: 35px; left: 34px; }
  .art-word { font-size: 62px; }.art-caption > span:nth-child(2) { font-size: 7px; }
  .art-caption small, .art-caption i { display: none; }
  .architecture .content-window, .project .content-window, .reading-expanded .content-window { grid-column: 2; margin-left: 0; }
  .architecture, .project { padding-top: 25px; }
  .module-strip { gap: 5px; }.module-content { min-height: 92px; }
  .module-icon { display: none; }.masthead-right { letter-spacing: .5px; }
  .masthead-right span:first-child { font-size: 8px; letter-spacing: 1px; }
}
@media (max-width: 620px) {
  body { padding: 12px 9px 20px; }.shell-cap { height: 11px; }
  .masthead { height: 90px; padding: 14px; }.brand { gap: 10px; }.brand img { width: 43px; height: 43px; }
  .wordmark { font-size: 37px; }.wordmark small { font-size: 6px; letter-spacing: 1.2px; }.wordmark-number { font-size: 17px; }
  .masthead-right { display: none; }.address-strip { padding: 5px 10px; font-size: 5px; letter-spacing: .3px; gap: 6px; }
  .address:before { margin-right: 6px; }.stage { display: flex; flex-direction: column; padding: 175px 12px 45px; gap: 14px; }
  .artwork { background-size: auto 700px; background-position: 40% 0; }
  .stage-annotation { top: 12px; left: 14px; font-size: 5px; }.art-caption { top: 40px; left: 20px; }
  .art-word { font-size: 66px; }.side-rail { display: contents; }
  .navigation { order: 0; }.navigation .panel-cap, .navigation .panel-foot { display: none; }
  .nav-links { display: flex; padding: 4px; border: 1px solid #291f15; }
  .nav-links a { flex: 1; justify-content: center; gap: 4px; padding: 7px 3px; min-height: 44px; font-size: 6px; }
  .nav-links a b { display: none; }.nav-links a span { font-size: 8px; }
  .content-window, .architecture .content-window, .project .content-window { order: 1; margin: 0; align-self: stretch; }
  .window-body, .architecture .window-body, .project .window-body, .reading-expanded .window-body { padding: 23px 20px; }
  h1, .architecture h1, .project h1 { font-size: 23px; }.window-title { font-size: 6px; }
  .window-title button { width: 32px; height: 25px; }.window-title { height: 32px; }
  .display-panel { order: 2; }.display-panel .panel-cap { min-height: 24px; }
  .display-controls { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
  .display-controls button { flex: 1; margin: 0; min-height: 44px; }.control-note, .swatches, .palette-value { display: none; }
  .display-panel .panel-foot { height: 10px; }.stage-bottom { font-size: 4px; padding-inline: 10px; }
  .module-strip { grid-template-columns: 1fr; gap: 8px; }.module-content { min-height: 68px; font-size: 19px; }
  .module-icon { display: block; }.module-heading { font-size: 8px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 6px; }
  .site-footer a { padding-block: 10px; }.outer-caption { font-size: 5px; gap: 12px; }
  .architecture, .project { padding-top: 25px; }.architecture .stage-annotation, .project .stage-annotation { display: none; }
  .reading-expanded .artwork { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) { .artwork { animation: none !important; } }
@media print {
  body { padding: 0; background: white; color: black; }.site-shell { border: 0; box-shadow: none; }
  .side-rail, .art-caption, .artwork, .grid-overlay, .module-strip, .shell-cap, .shell-bottom, .stage-annotation, .outer-caption, .window-title button { display: none; }
  .stage { display: block; padding: 0; background: white; }.stage:after, .stage-bottom, .address-strip, .site-footer { display: none; }
  .content-window { margin: 0 !important; }.window-frame { clip-path: none; border: 0; box-shadow: none; background: white; }
  .window-body { background: white !important; border: 0; padding: 24px 0 !important; }
  .window-body * { color: black !important; }.window-title, .window-footer, .masthead { background: white; color: black; }
}
