@font-face {
  font-family: Geist;
  src: url('assets/type/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url('assets/type/plex-mono.woff2') format('woff2');
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  background: #0a1319;
  color: #ebf6f8;
  font:
    500 16px/1.4 Geist,
    system-ui,
    sans-serif;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid #39dcf7;
  outline-offset: 4px;
}
.bar,
main,
footer {
  width: min(1440px, 91.5%);
  margin: auto;
}
.bar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #60828e4a;
}
.identity,
.contact,
.title,
.door-copy,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.identity {
  gap: 10px;
  font-size: 20px;
  letter-spacing: -0.055em;
  font-weight: 650;
}
.identity img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.contact,
.title > a {
  font-size: 13px;
}
.contact span,
.title > a span {
  color: #66e1ef;
  margin-left: 2px;
}
.title {
  gap: 20px;
  align-items: baseline;
  margin: clamp(22px, 4.5vh, 60px) 0 22px;
}
.title h1 {
  margin: 0;
  font-size: clamp(35px, 4.1vw, 70px);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 1.05;
}
.title h1 span {
  color: #45ddef;
}
.title > a {
  white-space: nowrap;
  color: #a5c2ca;
}
.entrances {
  display: grid;
  grid-template-columns: minmax(0, 1.84fr) minmax(0, 1fr);
  gap: 16px;
}
.entrances > a,
.chamber-door {
  display: flex;
  min-width: 0;
  isolation: isolate;
  position: relative;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(370px, 58vh, 680px);
  border-radius: 7px;
  overflow: hidden;
}
.chamber-door {
  height: 100%;
  border: 1px solid #456572;
  background: #06121d;
}
.chamber-choice { position: relative; min-width: 0; }
#chamber-alternative {
  position: absolute;
  right: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #567a86;
  border-radius: 5px;
  background: #07161ded;
  font-size: 13px;
}
#chamber-alternative:hover { border-color: #83ebf6; }
#chamber-entry-label { color: #abf3fb; }
.chamber-door > img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -2;
  transition: transform 0.5s;
}
.chamber-door:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    #030c14fa 0%,
    #030e17c9 16%,
    #030c1418 44%,
    transparent 73%
  );
}
.chamber-door:hover > img {
  transform: scale(1.025);
}
.classic-door {
  background: linear-gradient(135deg, #f4f4ed 20%, #dbe8e7);
  color: #11242a;
  border: 1px solid #eef3eb;
}
.original-mark {
  display: grid;
  place-items: center;
  flex: 1;
  padding: 16px;
}
.original-mark img {
  border-radius: 50%;
  width: clamp(88px, 10vw, 170px);
  height: auto;
  filter: drop-shadow(0 12px 22px #143d4930);
}
.door-copy {
  gap: 12px;
  padding: clamp(20px, 2.4vw, 40px);
  align-items: flex-end;
}
.door-copy p {
  font:
    10px/1.3 Plex,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #8df3ff;
  margin: 0 0 8px;
}
.classic-door p {
  color: #28545c;
}
.door-copy h2 {
  font-weight: 540;
  letter-spacing: -0.065em;
  font-size: clamp(29px, 3.6vw, 62px);
  margin: 0 0 5px;
  line-height: 1.01;
}
.description {
  color: #c6dde1;
  font-size: clamp(12px, 1.04vw, 16px);
}
.classic-door .description {
  color: #435b60;
}
.arrow {
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #bbebf36b;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #7aebf7;
  font-size: 22px;
}
.classic-door .arrow {
  border-color: #869e9e;
  color: #18383d;
}
.entrances a:hover .arrow {
  background: #45ddef;
  color: #09181e;
  border-color: #45ddef;
}
footer {
  padding: 24px 0;
  margin-top: auto;
  font:
    10px/1.4 Plex,
    monospace;
  color: #aac0c5;
}
.skip {
  position: absolute;
  transform: translateY(-120%);
  background: white;
  color: black;
  padding: 9px;
  z-index: 3;
}
.skip:focus {
  transform: none;
}
@media (max-width: 700px) {
  .bar {
    height: 58px;
  }
  .identity {
    font-size: 17px;
  }
  .identity img {
    width: 29px;
    height: 29px;
  }
  .contact,
  .title > a {
    font-size: 11px;
  }
  .title {
    margin: 25px 0 16px;
  }
  .title h1 {
    max-width: 74%;
    font-size: 35px;
  }
  .entrances {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .entrances > a, .chamber-door {
    min-height: 0;
  }
  .chamber-door {
    height: clamp(250px, 40svh, 440px);
  }
  .entrances > .classic-door {
    flex-direction: row;
    align-items: center;
    padding: 13px;
    gap: 12px;
  }
  .original-mark {
    flex: none;
    padding: 0;
  }
  .original-mark img {
    width: 58px;
  }
  .classic-door .door-copy {
    flex: 1;
    padding: 0;
    align-items: center;
  }
  .door-copy h2 {
    font-size: 34px;
  }
  .classic-door h2 {
    font-size: 25px;
  }
  .classic-door p {
    font-size: 8px;
    margin-bottom: 4px;
  }
  .description {
    font-size: 12px;
  }
  .arrow {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }
  footer {
    font-size: 8px;
    gap: 5px;
    padding: 18px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
