@font-face {
  font-family: Rubik;
  src: url("assets/new-text.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Rubik;
  src: url("assets/new-title.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
* { box-sizing: border-box }
html { min-height: 100%; background: #171719; color-scheme: dark }
body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
  color: #f0f8ef;
  font: 400 1rem/1.45 Rubik, sans-serif;
}
.entrance { isolation: isolate; position: relative; background: #19191c }
.entrance::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, #121216df, #131317bd 27%, #15151a56 67%), url("assets/intro-speaker-grille.webp") center / cover;
  filter: grayscale(1);
}
.intro-brands { width: min(82vw, 70vh, 490px); }
.intro-brands[hidden] { display: none; }
.intro-brands img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 12px #bdebd645); }
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-extrabold.woff") format("woff");
  font-weight: 800;
  font-display: swap;
}
/* The same cabinet cloth carries the logo entrance into the language deck. */
.language-screen {
  isolation: isolate;
  position: relative;
  overflow-x: clip;
  background: #0b0d0e;
  color: #f1f3f5;
}
.language-screen::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 48% 32%, transparent, #080a0bd9 85%),
    linear-gradient(#111416aa, #0e1011a8),
    url("assets/intro-speaker-grille.webp") center / cover;
}
.language-panel {
  --rail-width: clamp(13px, 2.5vw, 25px);
  position: relative;
  width: min(100%, 40rem);
  padding: clamp(28px, 5vw, 48px) clamp(28px, 6.4vw, 64px) clamp(17px, 3vw, 26px);
  border: 1px solid #44494c; border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, #ffffff04 0 1px, transparent 1px 3px),
    linear-gradient(125deg, #2d3134, #191c1e 54%, #222629);
  box-shadow: inset 0 1px #9da2a5, inset 0 -2px #08090b, 0 12px 36px #000b;
}
.language-panel::before, .language-panel::after {
  content: ""; position: absolute; inset-block: 0; width: var(--rail-width);
  border-inline: 1px solid #0e1012;
  background:
    radial-gradient(circle at 50% 12px, #0c0d0e 0 1px, #7e8386 1.7px, #35393b 3px, #0d0e10 3.8px, transparent 4.5px),
    radial-gradient(circle at 50% calc(100% - 12px), #0c0d0e 0 1px, #7e8386 1.7px, #35393b 3px, #0d0e10 3.8px, transparent 4.5px),
    linear-gradient(90deg, #202325, #35393c 53%, #242729);
}
.language-panel::before { left: 0; border-radius: 7px 0 0 7px; }
.language-panel::after { right: 0; border-radius: 0 7px 7px 0; }
.console-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
/* Perforated cooling slots are inset into the same faceplate as the keys. */
.console-head::after {
  content: "";
  flex: 0 1 68px;
  height: 25px;
  margin-bottom: 4px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #101214 0 3px, #4a4e50 3px 4px, transparent 4px 7px);
}
.language-panel h1 { margin: 0; font-weight: 400; }
.language-panel h1 span { display: block; }
.language-panel h1 [lang=es] { font: 800 clamp(2.65rem, 6.5vw, 4.25rem)/.98 "Barlow Condensed", sans-serif; letter-spacing: -.025em; }
.language-panel h1 [lang=en] { margin-top: 8px; font: 400 clamp(1rem, 2vw, 1.18rem)/1.4 Rubik, sans-serif; color: #cdd1d5; }
.language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.7vw, 14px);
  margin-top: clamp(21px, 4vw, 33px);
  padding: 6px;
  border: 1px solid #45494d;
  border-radius: 7px;
  background: #0b0c0d;
  box-shadow: 0 1px #4c5052, inset 0 2px 4px #000;
}
.language-options a {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 16px;
  min-height: 8rem;
  padding: 15px clamp(12px, 2.6vw, 23px) 18px;
  border: 1px solid #eef1f2;
  border-radius: 3px;
  color: #191d20;
  text-decoration: none;
  touch-action: manipulation;
  background: linear-gradient(142deg, #eef0ef, #d2d6d6 48%, #b7bec0 78%, #c4cbcc);
  box-shadow: inset 0 1px white, inset 0 -3px #7a8285, 0 2px 1px #000;
}
.key-code { align-self: start; font: 700 .875rem/1.1 Rubik, sans-serif; letter-spacing: .055em; color: #42494d; }
.key-name { font: 800 clamp(1.9rem, 4.8vw, 3.1rem)/1 "Barlow Condensed", sans-serif; letter-spacing: -.015em; }
.language-options a::after {
  content: ""; position: absolute; top: 17px; right: clamp(12px, 2.6vw, 23px);
  width: 21px; height: 4px; border-radius: 3px;
  background: #475050; box-shadow: inset 0 1px 1px #2a3030, 0 1px #f3f5f8;
}
.language-options a:focus-visible { outline: 3px solid #b9ffd4; outline-offset: 2px; }
.language-options a:is(:active, :focus-visible)::after { background: #b7ffd8; box-shadow: inset 0 0 0 1px #4c845c, 0 0 5px #79fbb98c; }
.language-options a:active { transform: translateY(2px) scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .language-options a:hover { background: linear-gradient(142deg, #fbfcfb, #e1e5e4 48%, #c4cccd 78%, #d0d6d7); }
  .language-options a:hover::after { background: #b7ffd8; box-shadow: inset 0 0 0 1px #4c845c, 0 0 5px #79fbb98c; }
}

/* A recessed power lamp between two sections of cabinet grille. */
.console-output {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 23px);
  width: 100%;
  min-height: 42px;
  margin: clamp(10px, 2vw, 19px) auto 0;
}
.console-output::before, .console-output::after {
  content: "";
  height: 8px;
  border-radius: 2px;
  background: radial-gradient(ellipse, #080a09 42%, transparent 52%) 0 0 / 5px 4px,
    radial-gradient(ellipse, #737a76 45%, transparent 54%) 0 1px / 5px 4px;
  mask-image: linear-gradient(90deg, transparent, black 12% 88%, transparent);
}
.console-pilot {
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(145deg, #050705 14%, #121613 43%, #58605b 84%, #272d29);
  box-shadow: inset 0 1px 2px #000, 0 1px 0 #ffffff23;
}
.console-pilot::before, .console-pilot::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}
.console-pilot::before {
  inset: 4px;
  background:
    radial-gradient(ellipse at 36% 27%, #eeffeb 0 8%, transparent 28%),
    radial-gradient(circle at 49% 48%, #a4ff85 8%, #47f955 43%, #12a739 71%, #063819);
  box-shadow: 0 0 5px #4aff73, 0 0 14px #32f45a82;
}
.console-pilot::after {
  inset: -16px;
  background: radial-gradient(ellipse, #63ff803d 12%, #28fb5a25 34%, transparent 71%);
  opacity: .72;
}
@media (prefers-reduced-motion: no-preference) {
  .language-options a { transition: transform 130ms cubic-bezier(.23,1,.32,1); }
  .console-pilot::after { animation: pilot-glow 3.2s ease-in-out infinite alternate; }
  @keyframes pilot-glow { from { opacity: .44; } to { opacity: .98; } }
}
.language-panel:has(.language-options a:focus-visible, .language-options a:active) .console-pilot::after {
  animation: none; opacity: 1;
}
@media (max-width: 520px) {
  .console-head::after { flex-basis: 36px; height: 18px; }
  .language-options a { min-height: 6.75rem; }
  .console-output { min-height: 33px; }
}
@media (max-width: 22rem) {
  .console-head::after { display: none; }
  .language-panel { padding-inline: 20px; }
  .language-options a { padding-inline: 10px; }
  .key-name { font-size: 1.8rem; }
}
@media (max-width: 19.5rem) {
  .language-options { grid-template-columns: 1fr; }
  .language-options a { min-height: 5rem; gap: 9px; }
}
@media (forced-colors: active) {
  .language-panel, .language-options, .language-options a { border: 1px solid CanvasText; }
  .language-options a { color: LinkText; }
  .language-options a:focus-visible { outline-color: Highlight; }
  .console-output { display: none; }
}
