.landing { background: #111015; }
.landing .site-header { position: absolute; z-index: 3; inset: 0 0 auto; }
.landing .site-header .swap-key { padding-inline: 16px; }
.hero { position: relative; display: flex; align-items: center; min-height: max(580px,100svh); overflow: hidden; isolation: isolate; background: #100e10; color: #faf4e9; }
.hero-scene { position: absolute; inset: auto 0 0 auto; width: min(112%, max(100%, 163svh), 185svh); aspect-ratio: 1672 / 941; container-type: inline-size; }
.computer { display: block; width: 100%; height: auto; }
.hero-scene::before { content: ''; position: absolute; inset: 0 0 auto; height: 12%; background: linear-gradient(#100e10,transparent); pointer-events: none; }
.crt { position: absolute; left: 61.9%; top: 29.8%; width: 22.25%; height: 30.5%; display: grid; place-items: center; border-radius: 7%; color: #f8efd2; text-shadow: 0 0 3px #fff5; }
.crt:focus-visible { outline-color: #fff; outline-offset: 2px; }
.terminal { display: grid; align-content: center; width: 84%; font: 600 1.04cqw/1.1 var(--mono); letter-spacing: -.03em; transform: perspective(350px) rotateY(-2deg) rotateZ(.4deg); }
.window-title { display: flex; align-items: center; justify-content: space-between; font: italic 700 1.62cqw/1 var(--display); text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: .35em; }
.window-title small { font: 600 .77cqw var(--mono); }
.terminal-row { padding: .44em 0; border-bottom: 1px solid #eee6ce52; }
.terminal-row > small { display: block; font-size: .73em; }
.terminal-row > span { display: flex; justify-content: space-between; align-items: center; margin-top: .13em; }
.terminal-row b { font-size: 1.35em; }
.terminal-row i { display: flex; align-items: center; gap: .35em; font-style: normal; }
.terminal-row img { width: 1.13em; height: 1.13em; }
.terminal-command { color: #25224c; background: #ede5cd; padding: .35em; text-align: center; margin-top: .35em; }
.hero-copy { position: relative; margin: var(--nav-height) 0 17vh clamp(24px, 7vw, 138px); pointer-events: none; }
.hero-copy h1 {
  font: 450 clamp(58px, 6.8vw, 132px)/.99 var(--display);
  letter-spacing: -.035em;
  color: #f5ecd9;
}
.hero-copy h1 em { font-style: italic; }
.launch { display: inline-block; font: 600 22px/1.4 var(--display); margin-top: 24px; }
.crt:hover, .landing-footer a:hover { color: var(--golden); }
.brief { background: #eee5cf; color: #29231d; }
.spectrum { height: clamp(18px,2.6vw,46px); background: repeating-linear-gradient(to bottom,#709ba0 0% 12%,#eae0cb 12% 16%,#9a77a1 16% 28%,#eae0cb 28% 32%,#b86a72 32% 44%,#eae0cb 44% 48%,#cd8d59 48% 60%,#eae0cb 60% 64%,#d1af65 64% 76%,#eae0cb 76% 80%,#669b96 80% 92%,#eae0cb 92% 100%); }
.brief-content { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; padding: clamp(64px,9vw,150px) clamp(24px,7vw,138px); }
.brief h2 { font: 550 clamp(46px,5.5vw,100px)/1 var(--display); letter-spacing: -.045em; }
.explanation p { max-width: 38ch; font: 450 clamp(20px,2vw,31px)/1.35 var(--display); }
.explanation figure { margin-top: 24px; font: 500 clamp(11px,1.05vw,16px)/1.4 var(--mono); }
.explanation figure div { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid #b6a992; }
.explanation figure i { color: #775468; font-style: normal; }
.landing-footer { display: flex; justify-content: center; align-items: center; flex-direction: column; padding: 36px 16px; gap: 8px; background: #202020; color: #eee5cf; }
.landing-footer p { font: italic 1rem var(--display); }
@media (min-width: 761px) and (min-aspect-ratio: 37/20) {
  /* Extend the empty side of the photograph without enlarging the laptop. */
  .hero { background: #100e10 url('/assets/portable.jpg') left bottom / 400% 100% no-repeat; }
  .hero-scene { mask-image: linear-gradient(to right, transparent, black 24%); }
}
@media (max-width: 760px) {
  .hero { display: block; min-height: auto; padding-top: var(--nav-height); }
  .hero-copy { margin: 12px 22px 0; }
  .hero-copy h1 { font-size: clamp(46px,11vw,75px); }
  .hero-copy h1 br:last-of-type { display: none; }
  .hero-scene { position: relative; width: 171%; margin: -4% 0 0 -71%; }
  .hero { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { order: -1; z-index: 1; }
  .brief-content { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: headline-in .75s cubic-bezier(.15,.7,.25,1) both; }
  .terminal { animation: screen-on .9s ease-out both; }
  @keyframes headline-in { from { opacity: 0; translate: -38px 0; } }
  @keyframes screen-on { 0%,32% { opacity: 0; } 64% { opacity: .85; } 78% { opacity: .65; } 100% { opacity: 1; } }
}
