@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Manrope:wght@300;400;500&display=swap');

:root {
  --entry-bg: #ffffff;
  --entry-fg: #171510;
  --entry-muted: rgba(23, 21, 16, .58);
  --entry-rule: rgba(23, 21, 16, .3);
  --entry-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --entry-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--entry-bg); color: var(--entry-fg); font-family: var(--entry-body); font-weight: 300; }
a { color: inherit; text-decoration: none; }

.entry-main,
.construction-main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.entry-language {
  position: fixed;
  z-index: 5;
  top: clamp(1.25rem, 3vw, 2.4rem);
  right: clamp(1.25rem, 3vw, 2.8rem);
  display: flex;
  align-items: center;
  gap: .35rem;
  direction: ltr;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .12em;
}

.entry-language button {
  padding: .15rem;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  opacity: .48;
}

.entry-language button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .28rem; }
.entry-language span { opacity: .35; }

.entry-stack {
  width: min(100%, 31rem);
  display: grid;
  gap: 1.4rem;
}

.entry-choice {
  position: relative;
  min-height: 10rem;
  padding: 1.25rem 1.1rem 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: color .35s ease, transform .35s ease;
}

.entry-choice:hover,
.entry-choice:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.entry-logo {
  align-self: center;
  display: inline-flex;
  flex-direction: column;
  justify-self: center;
  font-family: var(--entry-display);
  line-height: .8;
  letter-spacing: -.055em;
  transform: translateX(1.1rem);
}

.entry-logo strong { font-size: clamp(2.8rem, 9vw, 4rem); font-weight: 400; }
.entry-logo small { margin-top: .75rem; font-family: var(--entry-body); font-size: .58rem; font-weight: 500; letter-spacing: .28em; }
.entry-logo--rb strong { letter-spacing: -.085em; }

.entry-arrow {
  position: relative;
  align-self: center;
  justify-self: end;
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: .1rem;
  transition: transform .3s ease;
}

.entry-arrow::before {
  content: "";
  position: absolute;
  left: .08rem;
  bottom: .13rem;
  width: .95rem;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.entry-arrow::after {
  content: "";
  position: absolute;
  top: .02rem;
  right: .02rem;
  width: .52rem;
  height: .52rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.entry-choice:hover .entry-arrow,
.entry-choice:focus-visible .entry-arrow { transform: translate(.22rem, -.22rem); }

.entry-label {
  grid-column: 1 / -1;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid currentColor;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .72;
}

.construction-card { width: min(100%, 34rem); text-align: center; }
.construction-card .entry-logo strong { font-size: clamp(4rem, 14vw, 7rem); }
.construction-card h1 { margin: 4rem 0 0; font-family: var(--entry-display); font-size: clamp(1.4rem, 4vw, 2.4rem); font-weight: 300; letter-spacing: -.035em; }
.construction-card p { margin: 1rem 0 0; color: var(--entry-muted); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.construction-back { display: inline-block; margin-top: 4rem; padding-bottom: .35rem; border-bottom: 1px solid var(--entry-rule); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.construction-back:hover,
.construction-back:focus-visible { border-color: var(--entry-fg); outline: none; }

html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .entry-language { left: clamp(1.25rem, 3vw, 2.8rem); right: auto; }

@media (max-width: 520px) {
  .entry-stack { width: 100%; }
  .entry-choice { min-height: 9.5rem; padding-inline: 1.25rem; }
  .entry-logo { transform: translateX(.7rem); }
  .entry-label { font-size: .61rem; letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
  .entry-choice,
  .entry-arrow { transition: none; }
}
