@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "League Spartan";
  src: url("assets/league-spartan-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --cream: #fbf6ea;
  --cream-contrast: #fffaf0;
  --white: #ffffff;
  --petrol: #09484e;
  --petrol-dark: #06383d;
  --petrol-hover: #12636b;
  --yellow: #fee270;
  --yellow-hover: #ffeb9b;
  --terracotta: #bd542c;
  --terracotta-text: #b94d24;
  --line: rgba(9, 72, 78, 0.24);
  --shell: 76rem;
  --header-height: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--petrol);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2,
.eyebrow {
  font-family: "League Spartan", Arial, sans-serif;
}

h1,
h2 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 0.2rem solid var(--terracotta);
  outline-offset: 0.2rem;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--petrol);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--terracotta-text);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.9rem;
  height: 0.15rem;
  flex: 0 0 auto;
  content: "";
  background: currentColor;
}

.lead {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 620;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border: 0.125rem solid var(--petrol);
  border-radius: 0.35rem;
  background: var(--petrol);
  color: var(--white);
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  border-color: var(--petrol-hover);
  background: var(--petrol-hover);
}

.button--small {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.button--outline-dark {
  background: transparent;
  color: var(--petrol);
}

.button--outline-dark:hover {
  border-color: var(--petrol);
  background: var(--petrol);
  color: var(--cream-contrast);
}

.button--yellow {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--petrol);
}

.button--yellow:hover {
  border-color: var(--yellow-hover);
  background: var(--yellow-hover);
  color: var(--petrol);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 0.0625rem solid var(--line);
  background: var(--cream);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: block;
  width: 6.4rem;
  flex: 0 0 auto;
}

.site-logo img {
  width: 100%;
}

.header-back {
  white-space: nowrap;
}

.header-back__short {
  display: none;
}

.booking-main {
  position: relative;
  background: var(--cream);
}

.booking-hero {
  padding-block: clamp(4.5rem, 10vw, 8rem) clamp(2.5rem, 6vw, 4.5rem);
}

.booking-hero__grid {
  display: grid;
  gap: 2.75rem;
}

.booking-hero h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 14vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.78;
  overflow-wrap: normal;
  text-transform: uppercase;
}

.booking-hero h1 em {
  display: inline-block;
  color: var(--terracotta-text);
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

.booking-hero__copy {
  max-width: 35rem;
  align-self: end;
}

.booking-section {
  scroll-margin-top: var(--header-height);
  padding-block: 0 clamp(4rem, 9vw, 7rem);
  background: var(--cream);
}

.booking-section__inner {
  max-width: 66rem;
}

.booking-frame {
  min-width: 0;
  padding: clamp(1rem, 4vw, 2.5rem);
  border: 0.0625rem solid var(--line);
  border-top: 0.55rem solid var(--terracotta);
  border-radius: 0.35rem;
  background: var(--cream);
}

reservation-widget {
  display: block;
  width: 100%;
  min-width: 0;
  --form-background: var(--cream);
}

.booking-message {
  padding: 1.25rem;
  border: 0.0625rem solid var(--line);
  background: var(--white);
}

.booking-privacy {
  max-width: 52rem;
  margin: 1rem auto 0;
  color: rgba(9, 72, 78, 0.78);
  font-size: 0.8rem;
  line-height: 1.5;
}

.booking-privacy a {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.site-footer {
  padding-block: 3rem 2.25rem;
  border-top: 0.0625rem solid rgba(251, 246, 234, 0.35);
  background: var(--petrol);
  color: var(--cream);
}

.site-footer__grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
}

.site-footer__logo {
  width: 7.75rem;
}

.site-footer__logo img {
  border: 0.0625rem solid rgba(251, 246, 234, 0.5);
}

.site-footer__meta {
  display: grid;
  gap: 0.75rem;
}

.site-footer p {
  margin-bottom: 0;
  font-family: "League Spartan", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p span,
.site-footer small {
  color: rgba(251, 246, 234, 0.7);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.site-footer nav a {
  min-height: 2.75rem;
  align-content: center;
  border-bottom: 0.0625rem solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer nav a:hover {
  border-bottom-color: currentColor;
}

.back-to-top {
  position: fixed;
  z-index: 20;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 0.125rem solid var(--petrol);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--petrol);
  font-family: Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transition: background-color 160ms ease, opacity 160ms ease, visibility 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--yellow-hover);
}

.back-to-top:focus-visible {
  outline: 0.2rem solid var(--cream-contrast);
  outline-offset: 0.2rem;
}

@media (max-width: 23rem) {
  .site-logo {
    width: 5.35rem;
  }

  .header-back {
    padding-inline: 0.7rem;
    font-size: 0.82rem;
  }

  .header-back__long {
    display: none;
  }

  .header-back__short {
    display: inline;
  }

  .booking-frame {
    padding-inline: 0.65rem;
  }

  .booking-hero h1 {
    font-size: 3rem;
  }

  .booking-hero .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
}

@media (min-width: 40rem) {
  .site-logo {
    width: 7.25rem;
  }
}

@media (min-width: 48rem) {
  .booking-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
    align-items: end;
  }

  .booking-hero h1 {
    font-size: clamp(5rem, 10vw, 8rem);
  }

  .booking-hero__copy {
    padding-left: clamp(1.5rem, 4vw, 4rem);
    border-left: 0.0625rem solid var(--line);
  }

  .site-footer__grid {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }

  .site-footer__meta {
    margin-left: auto;
    justify-items: end;
    text-align: right;
  }

  .site-footer nav {
    justify-content: flex-end;
  }
}

@media (min-width: 64rem) {
  :root {
    --header-height: 5.5rem;
  }

  .site-logo {
    width: 8.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(9, 72, 78, 0.6);
  }
}
