:root {
  --white: #fffdf8;
  --gold: #f3c47f;
  --navy: #09252f;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

.landing {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.landing-image,
.landing-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-image {
  z-index: -2;
  object-fit: cover;
  object-position: 62% center;
}

.landing-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 28, 37, 0.95) 0%, rgba(6, 28, 37, 0.79) 37%, rgba(6, 28, 37, 0.13) 75%),
    linear-gradient(0deg, rgba(6, 28, 37, 0.46) 0%, transparent 45%);
}

.brand {
  position: absolute;
  top: max(28px, env(safe-area-inset-top));
  left: max(clamp(24px, 5vw, 76px), env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand strong {
  font-weight: 760;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.message {
  position: absolute;
  left: max(clamp(24px, 7vw, 108px), env(safe-area-inset-left));
  bottom: max(clamp(42px, 10vh, 110px), env(safe-area-inset-bottom));
  width: min(690px, calc(100% - 48px));
}

h1 {
  max-width: 680px;
  margin: 0 0 clamp(1rem, 2.6vh, 1.75rem);
  font-family: var(--serif);
  font-size: clamp(4rem, 7.5vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.91;
  text-wrap: balance;
}

h1 em {
  color: var(--gold);
  font-weight: 400;
}

.message p {
  max-width: 630px;
  margin: 0;
  color: rgba(255, 253, 248, 0.91);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.62;
}

@media (max-width: 700px) {
  .landing-image {
    object-position: 61% center;
  }

  .landing-shade {
    background:
      linear-gradient(0deg, rgba(6, 28, 37, 0.97) 0%, rgba(6, 28, 37, 0.81) 43%, rgba(6, 28, 37, 0.12) 78%),
      linear-gradient(90deg, rgba(6, 28, 37, 0.45), transparent 80%);
  }

  .brand {
    top: max(20px, env(safe-area-inset-top));
    left: max(20px, env(safe-area-inset-left));
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .message {
    left: max(22px, env(safe-area-inset-left));
    bottom: max(34px, env(safe-area-inset-bottom));
    width: calc(100% - 44px);
  }

  h1 {
    max-width: 540px;
    font-size: clamp(3.35rem, 15.5vw, 5.6rem);
    line-height: 0.93;
  }

  .message p {
    max-width: 540px;
    font-size: clamp(0.94rem, 4.1vw, 1.08rem);
    line-height: 1.52;
  }
}

@media (max-height: 620px) {
  .brand {
    top: max(14px, env(safe-area-inset-top));
  }

  .message {
    bottom: max(20px, env(safe-area-inset-bottom));
  }

  h1 {
    margin-bottom: 0.7rem;
    font-size: clamp(2.9rem, 12vh, 5.1rem);
  }

  .message p {
    font-size: 0.9rem;
    line-height: 1.42;
  }
}
