:root {
  color-scheme: dark;
  --ink: #05080b;
  --cream: #eee4d7;
  --gold: #d69a34;
}

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

html {
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero__picture,
.hero__picture img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__picture img {
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.hero__copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .48);
}

.brand,
.statement,
.promise {
  position: absolute;
  left: 50%;
  width: min(92vw, 1450px);
  margin: 0;
  transform: translateX(-50%);
  font-weight: 400;
}

.brand {
  top: 21.6%;
  color: var(--gold);
  font-family: "Arial Narrow", "Avenir Next Condensed", Arial, sans-serif;
  font-size: clamp(25px, 2.45vw, 46px);
  line-height: 1;
  letter-spacing: .62em;
  padding-left: .62em;
}

.statement {
  top: 31.2%;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  font-size: clamp(39px, 5.35vw, 91px);
  line-height: .98;
  letter-spacing: .018em;
  text-wrap: balance;
}

.divider {
  position: absolute;
  top: 46.1%;
  left: 50%;
  width: clamp(160px, 23vw, 390px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 44%, #f2b83f 44%, #f2b83f 56%, var(--gold) 56%, var(--gold) 88%, transparent);
  box-shadow: 0 0 8px rgba(214, 154, 52, .18);
}

.promise {
  top: 49.6%;
  color: var(--cream);
  font-family: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  font-size: clamp(14px, 1.48vw, 26px);
  line-height: 1.25;
  letter-spacing: .30em;
  text-transform: uppercase;
}

.email {
  position: absolute;
  left: 50%;
  bottom: max(7.8%, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  color: var(--gold);
  font-size: clamp(15px, 1.45vw, 25px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .015em;
  text-decoration: none;
  white-space: nowrap;
  text-underline-offset: .28em;
}

.email::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 1.1em);
  left: 50%;
  width: 66px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--gold);
}

.email:hover {
  text-decoration: underline;
}

.email:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 7px;
  border-radius: 2px;
}

.legal {
  border-top: 1px solid rgba(214, 154, 52, .18);
  background: var(--ink);
  color: rgba(238, 228, 215, .68);
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
}

.legal p {
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .hero {
    min-height: 620px;
  }

  .brand,
  .statement,
  .promise {
    width: 94vw;
  }

  .brand {
    top: 22.7%;
    font-size: clamp(20px, 6vw, 34px);
    letter-spacing: .52em;
    padding-left: .52em;
  }

  .statement {
    top: 30.6%;
    width: 96vw;
    padding: 0 2vw;
    font-size: clamp(39px, 10.6vw, 64px);
    line-height: 1.06;
  }

  .divider {
    top: 44.7%;
    width: 36vw;
    min-width: 138px;
  }

  .promise {
    top: 48.3%;
    width: 82vw;
    font-size: clamp(12px, 3.2vw, 18px);
    line-height: 1.7;
    letter-spacing: .28em;
  }

  .email {
    bottom: max(6.4%, env(safe-area-inset-bottom));
    font-size: clamp(16px, 4.2vw, 22px);
  }

  .email::before {
    width: 56px;
  }

  .legal {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 10px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 360px;
  }

  .hero__picture img {
    object-position: center 58%;
  }

  .brand {
    top: 12%;
    font-size: clamp(18px, 3.2vw, 27px);
  }

  .statement {
    top: 24%;
    font-size: clamp(32px, 6.6vw, 58px);
    white-space: nowrap;
  }

  .divider {
    top: 49%;
    width: 28vw;
  }

  .promise {
    top: 54%;
    width: 90vw;
    font-size: clamp(11px, 2vw, 16px);
    line-height: 1.35;
  }

  .email {
    bottom: max(5.5%, env(safe-area-inset-bottom));
    font-size: clamp(14px, 2.5vw, 19px);
  }

  .email::before {
    display: none;
  }
}

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

@media (forced-colors: active) {
  .email {
    text-decoration: underline;
  }
}
