:root {
  --background: #FEFEFE;
  --text: #000000;
  --line: #E6E6E2;
  --edge: clamp(1rem, 3vw, 2.5rem);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "Tor Grotesk", Arial, Helvetica, sans-serif;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--background);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 0.22em;
}

.poster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  background: var(--background);
}

.brand {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  transform: translateY(-10%);
  animation: enter 540ms ease both;
}

.brand__logo {
  display: block;
  width: clamp(12rem, 34vw, 28rem);
  height: auto;
}

.brand__logo.is-missing {
  display: none;
}

.brand__fallback {
  display: none;
  margin: 0;
  font-size: clamp(4rem, 13vw, 11rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0;
}

.brand__logo.is-missing + .brand__fallback {
  display: block;
}

.intro {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin-top: clamp(8.4rem, 23vw, 18.5rem);
  text-align: center;
  animation: enter 540ms 100ms ease both;
}

h1,
.address,
.booking,
.descriptor {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: lowercase;
}

h1 {
  font-size: clamp(0.95rem, 1.35vw, 1.38rem);
  line-height: 1.1;
  margin-bottom: clamp(0.9rem, 2.1vh, 1.4rem);
}

.contact {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  width: min(78vw, 58rem);
  padding-block: clamp(1.1rem, 3vh, 2rem);
  border-top: 1px solid var(--line);
  animation: enter 540ms 180ms ease both;
}

.address {
  display: block;
  font-size: clamp(0.95rem, 1.35vw, 1.38rem);
  line-height: 1.1;
  white-space: nowrap;
}

.descriptor,
.booking {
  font-size: clamp(0.74rem, 1.03vw, 1rem);
  line-height: 1.08;
}

.descriptor {
  justify-self: start;
}

.booking span {
  display: block;
}

.booking {
  justify-self: end;
  text-align: right;
}

.address,
.booking a {
  width: fit-content;
  padding: 0.08em 0.12em;
  margin-inline: auto;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.address:hover,
.booking a:hover {
  background: var(--text);
  color: var(--background);
}

@keyframes enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .poster {
    grid-template-rows: 1fr auto;
  }

  .brand__logo {
    width: clamp(10rem, 62vw, 16.5rem);
  }

  .intro {
    margin-top: clamp(7rem, 39vw, 12rem);
  }

  h1 {
    font-size: clamp(0.86rem, 3.3vw, 1.05rem);
  }

  .address {
    font-size: clamp(0.86rem, 3.3vw, 1.05rem);
  }

  .contact {
    width: min(84vw, 25rem);
    padding-block: clamp(0.9rem, 3vh, 1.35rem);
    column-gap: 1rem;
  }

  .descriptor,
  .booking {
    font-size: clamp(0.58rem, 2.55vw, 0.78rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
