:root {
  --black: #000;
  --white: #fff;
  --button: rgb(70, 154, 225);
  --button-hover: rgb(43, 114, 174);
  --site: 980px;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

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

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

.wrap {
  width: min(100%, var(--site));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 100;
  transform: translateY(-120%);
  background: var(--white);
  color: var(--black);
  padding: 8px 12px;
}

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

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.bar-inner {
  display: flex;
  justify-content: center;
  padding: 28px 16px 8px;
}

.home {
  display: block;
}

.logo {
  width: 260px;
  height: auto;
  mix-blend-mode: screen;
}

/* Form */

.form-stage {
  flex: 1;
  padding: 8px 0 24px;
}

.form-stage .wrap {
  position: relative;
}

.booking-form {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  /* Fallback height in case nxsportal's resize message never arrives; the
     iframe has scrolling="no", so this must exceed the form's natural height
     (~1990px on desktop, ~2005px on phones). */
  height: 2200px;
  /* Hidden until nxsportal reports it has rendered, so the form document's
     light default background never flashes against the black page. */
  opacity: 0;
  transition: height 0.2s ease, opacity 0.3s ease;
}

.booking-form.is-live {
  opacity: 1;
}

.loading {
  position: absolute;
  left: 0;
  right: 0;
  top: 96px;
  margin: 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.is-live ~ .loading {
  display: none;
}

.fallback {
  margin: 12px 16px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.fallback a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fallback a:hover {
  color: var(--white);
}

/* Footer */

.legal {
  padding: 24px 16px 32px;
}

.legal p {
  width: min(100%, var(--site));
  margin: 0 auto;
  text-align: center;
  font-family: Raleway, sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .booking-form {
    transition: none;
  }
}

@media (max-width: 700px) {
  .bar-inner {
    padding: 22px 16px 4px;
  }

  .logo {
    width: 200px;
  }

  .legal p {
    font-size: 13px;
  }
}
