:root {
  color-scheme: dark;
  --ink: #f6f1e8;
  --muted: rgba(246, 241, 232, 0.72);
  --line: rgba(246, 241, 232, 0.22);
  --accent: #d8b66a;
  --teal: #7fc7bd;
  --shadow: #080b0d;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 72px);
  isolation: isolate;
}

.hero__media,
.hero__shade {
  position: fixed;
  inset: 0;
}

.hero__media {
  z-index: -3;
  background-image: url("assets/luxway-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__shade {
  z-index: -2;
  background:
    radial-gradient(circle at 78% 42%, rgba(127, 199, 189, 0.2), transparent 32%),
    linear-gradient(90deg, rgba(6, 8, 10, 0.93) 0%, rgba(6, 8, 10, 0.72) 38%, rgba(6, 8, 10, 0.2) 100%),
    linear-gradient(0deg, rgba(6, 8, 10, 0.72), rgba(6, 8, 10, 0.12) 44%);
}

.hero::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(246, 241, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 232, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, black, transparent 68%);
}

.hero__content {
  align-self: center;
  width: min(760px, 100%);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.89;
}

.lead {
  max-width: 620px;
  margin: clamp(26px, 4vw, 42px) 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.signature {
  display: inline-flex;
  max-width: 100%;
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: rgba(246, 241, 232, 0.82);
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1.65;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .hero {
    min-height: 100dvh;
    padding: 28px 22px;
  }

  .hero__media {
    background-position: 58% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(6, 8, 10, 0.96), rgba(6, 8, 10, 0.7)),
      linear-gradient(0deg, rgba(6, 8, 10, 0.78), rgba(6, 8, 10, 0.12));
  }

  .hero::after {
    background-size: 62px 62px;
    opacity: 0.65;
  }

  h1 {
    max-width: 8ch;
  }

  .signature {
    display: block;
  }
}
