:root {
  color-scheme: light;
  --ink: #182e28;
  --paper: #fffdf3;
  --mono: "Courier Prime", "Courier New", monospace;
  font-family: Georgia, "Times New Roman", serif;
}
html.enhanced { overflow-anchor: none; }
* { box-sizing: border-box; }
body { margin: 0; background: #203a31; color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #c58020; outline-offset: 3px;
}
.skip { position: fixed; top: -100px; left: 1rem; z-index: 20; padding: .7rem; background: var(--paper); }
.skip:focus { top: .4rem; }
.masthead { pointer-events: auto; opacity: .76; }
#opening { position: relative; height: 100svh; }
#desk, #stage {
  overflow: hidden; position: absolute; inset: 0; isolation: isolate;
}
#desk {
  display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center;
  background: radial-gradient(ellipse at 50% 36%, #536956 0, #354f42 48%, #20392f 100%);
}
#desk::before {
  content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background-image: radial-gradient(#b6c5aa 0.7px, transparent 0.8px);
  background-size: 8px 8px;
}
#desk::after {
  content: ""; position: absolute; inset: 74% 0 0; z-index: -1;
  background: linear-gradient(#334b3e, #263e33); border-top: 1px solid #99b09433;
}
#computer {
  position: relative; width: min(108svh, 112vw); aspect-ratio: 1160 / 1010;
  margin-top: 12px;
}
#computer-art, #computer-content { position: absolute; inset: 0; width: 100%; height: 100%; }
#computer-art, #computer-content { pointer-events: none; }
#computer-art .peripherals { display: none; }
#screen {
  position: absolute; left: 24.42%; top: 13.51%; width: 48.45%; height: 41.27%;
  pointer-events: auto; container-type: inline-size; overflow: hidden; color: #bcf6bb;
}
.terminal { position: absolute; inset: 6.2% 6.3%; display: flex; flex-direction: column; align-items: start; justify-content: center; font-family: var(--mono); }
.prompt, .search { font-size: 4.05cqw; letter-spacing: -.04em; }
.prompt { color: #98caa7; }
h1 { margin: .47em 0 .24em; font: 700 6.35cqw/1.05 var(--mono); letter-spacing: -.065em; }
.deck { margin: .18em 0 .46em; font-size: 3.65cqw; line-height: 1.22; letter-spacing: -.04em; color: #d3ebce; }
.byline { margin: 0; font: 600 3.04cqw/1.25 var(--mono); color: #c2d7bc; }
.search { margin-top: .8em; display: flex; align-items: center; gap: .6em; }
#spinner { width: 1.08em; height: 1.08em; display: grid; grid-template: repeat(3,1fr) / repeat(3,1fr); gap: var(--spinner-gap, 1px); }
#spinner i { background: #c5ecad; animation: gap 1.04s steps(1) infinite; }
@keyframes gap { 0% {opacity:0} 12.5%,100% {opacity:1} }
#spinner i:first-child { grid-area: 1/1; }
#spinner i:nth-child(2) { grid-area: 1/2; animation-delay: -.91s; }
#spinner i:nth-child(3) { grid-area: 1/3; animation-delay: -.78s; }
#spinner i:nth-child(4) { grid-area: 2/3; animation-delay: -.65s; }
#spinner i:nth-child(5) { grid-area: 3/3; animation-delay: -.52s; }
#spinner i:nth-child(6) { grid-area: 3/2; animation-delay: -.39s; }
#spinner i:nth-child(7) { grid-area: 3/1; animation-delay: -.26s; }
#spinner i:nth-child(8) { grid-area: 2/1; animation-delay: -.13s; }
/* Size the stage to the largest viewport so a sliding mobile address bar never resizes the scene. */
#stage { position: fixed; z-index: 1; pointer-events: none; bottom: auto; height: 100lvh; }
#world { position: absolute; inset: 0; overflow: hidden; transform-origin: 0 0; }
#world > *, #ground > *, #gates img { position: absolute; }
#sky { inset: 0; }
#sky svg { width: 100%; height: 100%; display: block; }
.hills, .clouds { top: 0; left: 0; width: 100%; height: 100%; }
.setting-sun { opacity: var(--dusk, 0); }
#sun { left: 0; top: 0; width: clamp(52px, 9vw, 145px); aspect-ratio: 226 / 212; transform: translate(-50%, -50%); }
#sun img, #jeep img { position: absolute; inset: 0; width: 100%; height: 100%; }
.clouds {
  width: 270.84%; height: min(100%, 66vw); top: max(0px, calc(14% - 8vw));
  background: color-mix(in srgb, #ffe4db var(--twilight, 0%), #fff9eb);
  mask: url(assets/day-clouds.svg) left / 50% 100% no-repeat,
        url(assets/evening-clouds.svg) right / 50% 100% no-repeat;
}
.hills { transform-origin: 50% 63.1%; }
.hills, .clouds, #sun { will-change: translate; }
.hills.far { width: 187.5%; }
.hills.near { width: 218.75%; }
#ground { inset: 0; }
#ground > * { inset: 0; width: 100%; height: 100%; }
#gates { left: 0; top: 0; }
#gates img { object-fit: contain; width: 100%; height: 100%; inset: 0; }
#architecture { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Keep the jeep above the address bar when it is showing (lvh and svh match on desktop). */
#jeep { transform-origin: 50% 100%; left: 50%; bottom: calc(3% + 100lvh - 100svh); will-change: transform; width: min(26vw, 32vh); aspect-ratio: 1038 / 960; }
#jeep .bodywork { transform: translateY(var(--bounce, 0px)); }
#jeep .parked { display: none; }
.bank { --board: #383530; --type: #faf2dd; --line: #979282; }
.school { --board: #496750; --type: #fff6db; --line: #a7b89d; }
.university { --board: #d7e8e5; --type: #193a36; --line: #91aca7; }
.hospital { --board: #c2dedc; --type: #19393a; --line: #85aaaa; }
.tech { --board: #e3f9ff; --type: #1c3a42; --line: #8baeb9; }
.stop { position: relative; color: var(--type); background: var(--board); }
.reading { position: relative; z-index: 3; padding: 34px max(5vw, calc((100vw - 960px) / 2)) 46px; }
.reading:focus { outline: none; }
.passage { max-width: 42rem; margin: 0 auto; padding: .65rem 0; }
.passage, .credits p { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.55; }
.charts { display: flex; flex-direction: column; gap: 24px; max-width: 42rem; margin: 1.2rem auto; padding-bottom: 8px; }
figure { position: relative; flex: none; width: 100%; min-width: 0; margin: 1.5rem 0; }
/* Preserve the chart slot while Datawrapper mounts and measures its contents. */
.enhanced figure { min-height: var(--chart-height); }
.enhanced figure:has(.chart-mount.failed) { min-height: 0; }
.chart-link { display: inline-block; margin: 8px 0; font-size: .85rem; }
.ready + .chart-link .chart-title {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
#closing { position: relative; z-index: 3; padding: 60px 5vw; background: #243c32; color: #f7efda; }
.credits { max-width: 42rem; margin: auto; }
.credits h2 { margin-bottom: 20px; } .credits p { margin: .55rem 0; }
.enhanced { --drive-out: 47svh; }
.enhanced #opening { height: calc(100svh + var(--drive-out)); }
.enhanced #desk { position: fixed; z-index: 0; }
.enhanced .stop { padding-top: 88svh; padding-bottom: var(--drive-out); background: transparent; pointer-events: none; }
.enhanced .reading { min-height: 100svh; padding-bottom: 100svh; clip-path: inset(100% 0 0); pointer-events: none; }
.enhanced .stop.awaiting-art .reading.active { background: var(--board); }
.enhanced .reading.active { pointer-events: auto; clip-path: none; }
.enhanced #closing { margin-top: 245svh; }
@media(max-aspect-ratio: 4/5) {
  .hills { transform: scaleY(.65); }
  #computer { width: min(129vw, 110svh); }
  /* The bezel keeps its reading width. Fit the wider keyboard and mouse below the case. */
  #computer-art .case { clip-path: url(#case-crop); }
  #computer-art .peripherals { display: inline; }
  .terminal { inset: 4% 4.5%; }
  #jeep { width: 35vw; }
  .byline { font-size: 3.25cqw; }
}
@media(max-height: 480px) and (min-aspect-ratio: 1/1) {
  #computer { width: min(86vw,168svh); margin-top: 32svh; }
}
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  #jeep img { display: none; }
  #jeep .parked { display: block; }
  #spinner i:first-child { visibility: hidden; }
  .enhanced { --drive-out: 22svh; }
  .enhanced .stop { padding-top: 44svh; }
  .enhanced #closing { margin-top: 145svh; }
}
.industry-picker { max-width: 42rem; margin: 1.2rem auto; font-family: Georgia, "Times New Roman", serif; }
.industry-picker label { display: block; margin-bottom: 6px; font-size: clamp(15px, 1.1vw, 18px); }
.industry-picker select {
  font: inherit; font-family: Georgia, "Times New Roman", serif; font-size: clamp(16px, 1.2vw, 19px);
  color: var(--type); background: var(--board); border: 1px solid var(--line); border-radius: 4px;
  padding: 6px 10px; max-width: 100%;
}
/* Stack every concentration's chart in one cell so switching never changes the page height. */
.industry-charts { display: grid; }
.industry-charts > .industry { grid-area: 1 / 1; }
.industry-charts > .industry:not(.shown) { opacity: 0; pointer-events: none; }
