@font-face {
  font-family: "Frank Ruhl Libre";
  src: url("assets/frank-ruhl-libre.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: only light;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  color: #fff;
  background: #304b3f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 0;
  background-image: url("assets/background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.logo {
  position: absolute;
  z-index: 2;
  top: clamp(1.5rem, 4vh, 2.75rem);
  right: clamp(2rem, 4.6vw, 4.75rem);
  width: clamp(18rem, 25.75vw, 31rem);
  height: auto;
  animation: logo-reveal 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.notice {
  position: absolute;
  z-index: 1;
  bottom: clamp(2rem, 7.2vh, 4.75rem);
  left: clamp(2rem, 6.6vw, 6.75rem);
  width: min(43.5rem, calc(100vw - 4rem));
  padding: clamp(2rem, 3vw, 3.25rem) clamp(2rem, 2.6vw, 2.625rem);
  background: rgba(48, 75, 63, 0.91);
  animation: notice-reveal 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: clamp(1.7rem, 3.2vh, 2.75rem);
  font-size: clamp(3.25rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 0.95;
}

p {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 2.02vw, 2.0625rem);
  font-weight: 350;
  line-height: 1.12;
}

.reservation {
  margin-top: clamp(2rem, 4.2vh, 3rem);
}

strong {
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
  transition: text-decoration-color 180ms ease;
}

a:hover,
a:focus-visible {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.2rem;
}

.contact-bar {
  display: flex;
  min-height: 4rem;
  align-items: center;
  padding: 0.8rem clamp(2rem, 6.9vw, 7rem);
  background: #9cac2e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.25vw, 1.25rem);
  font-weight: 400;
  line-height: 1.35;
}

.contact-bar address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-style: normal;
}

.separator {
  font-size: 0.75em;
}

@keyframes logo-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.75rem);
  }
}

@keyframes notice-reveal {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
}

@media (max-width: 720px) {
  body {
    display: block;
    background: #9cac2e;
  }

  .hero {
    display: flex;
    min-height: calc(100svh - 7.5rem);
    align-items: flex-end;
    padding: 9rem 1rem 1rem;
    background-position: 57% center;
  }

  .logo {
    top: 1.25rem;
    right: 1.25rem;
    width: min(13.5rem, calc(100vw - 2.5rem));
  }

  .notice {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    padding: 1.75rem 1.5rem 1.9rem;
  }

  h1 {
    margin-bottom: 1.4rem;
    font-size: clamp(2.75rem, 14vw, 3.5rem);
  }

  p {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
    line-height: 1.16;
  }

  .reservation {
    margin-top: 1.6rem;
  }

  .contact-bar {
    min-height: 0;
    padding: 1rem;
    font-size: 0.95rem;
  }

  .contact-bar address {
    display: grid;
    gap: 0.3rem;
  }

  .separator {
    display: none;
  }
}

@media (min-width: 1100px) and (min-height: 800px) {
  .notice {
    min-height: 29.75rem;
    padding-top: 2.625rem;
    padding-bottom: 2.625rem;
  }

  h1 {
    margin-bottom: 2.75rem;
  }

  .reservation {
    margin-top: 3rem;
  }
}

@media (max-height: 740px) and (min-width: 721px) {
  .notice {
    bottom: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  h1 {
    margin-bottom: 1.5rem;
  }

  .reservation {
    margin-top: 1.5rem;
  }
}

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