:root {
  color-scheme: dark;
  --ink: #f8f4ee;
  --muted: rgba(248, 244, 238, 0.78);
  --red: #d80f1f;
  --red-deep: #7d0812;
  --aqua: #71d6d0;
  --black: #060607;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--ink);
}

a {
  color: inherit;
}

.landing {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: stretch;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
  background-image: url("assets/rh-photo-belize-hero.jpg");
  background-color: #050505;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.87) 0%, rgba(0, 0, 0, 0.58) 38%, rgba(0, 0, 0, 0.08) 74%),
    linear-gradient(0deg, rgba(6, 6, 7, 0.92) 0%, rgba(6, 6, 7, 0.32) 32%, rgba(6, 6, 7, 0.1) 68%);
}

.hero__content {
  width: min(100vw, calc(100svh * 1.949));
  height: 100vh;
  height: 100svh;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(18px, 3vh, 34px) clamp(24px, 4vw, 72px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(14px, 3vh, 30px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.72);
}

.brand__mark {
  width: clamp(54px, 8vh, 78px);
  height: clamp(54px, 8vh, 78px);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
}

.brand__eyebrow,
.brand__name,
.status,
.intro {
  margin: 0;
}

.brand__eyebrow,
.status {
  color: var(--muted);
  font-size: clamp(0.7rem, 1.6vh, 0.86rem);
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__name {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3.4vh, 2rem);
  font-weight: 800;
  line-height: 0.96;
}

.hero__message {
  align-self: center;
  max-width: min(62vw, 640px);
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.72);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(10px, 2vh, 18px);
  color: #fff;
}

.status::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--red);
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8.2vh, 5.35rem);
  line-height: 0.88;
  font-weight: 900;
}

.intro {
  max-width: 570px;
  margin-top: clamp(14px, 2.6vh, 24px);
  color: var(--muted);
  font-size: clamp(0.98rem, 2.2vh, 1.22rem);
  line-height: 1.45;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: clamp(18px, 3vh, 30px);
}

.button {
  min-height: clamp(42px, 5.5vh, 48px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  font-size: clamp(0.86rem, 1.8vh, 0.96rem);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.72);
}

.button:focus-visible {
  outline: 3px solid rgba(113, 214, 208, 0.68);
  outline-offset: 3px;
}

.button--primary {
  background: var(--red);
  color: #fff;
}

.button--secondary {
  background: rgba(6, 6, 7, 0.62);
  backdrop-filter: blur(14px);
}

@media (max-width: 760px) {
  html,
  body {
    overflow: auto;
  }

  .landing {
    min-height: 100svh;
    height: auto;
    overflow: visible;
  }

  .hero {
    min-height: 100svh;
    height: auto;
  }

  .hero__content {
    width: 100%;
    min-height: 100svh;
    height: auto;
    padding: 20px;
  }

  .hero__image {
    background-position: 34% center;
    background-size: cover;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.28)),
      linear-gradient(0deg, rgba(6, 6, 7, 0.95) 0%, rgba(6, 6, 7, 0.42) 48%, rgba(6, 6, 7, 0.2) 100%);
  }

  .brand {
    gap: 12px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 16vw, 5.2rem);
  }

  .intro {
    max-width: 26rem;
  }

  .contact {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    overflow-wrap: anywhere;
  }
}
