:root {
  color-scheme: dark;
  --bg: #07080b;
  --text: #f7f3ea;
  --muted: rgba(247, 243, 234, 0.8);
  --line: rgba(255, 255, 255, 0.16);
  --accent: #d7b36a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
  position: relative;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("assets/hero-background.jpg") center center / cover no-repeat;
  transform: scale(1.02);
}

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

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.hero {
  width: min(100%, 56rem);
  display: grid;
  place-items: center;
}

.hero-copy {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgba(10, 12, 16, 0.28);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

h1 {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  text-align: center;
}

.hero-lead {
  font-family: "Inter", Verdana, sans-serif;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--muted);
}

.hero-emphasis {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #16110a;
  border-color: rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 720px) {
  .page-shell {
    padding: 1rem;
  }

  .hero-copy {
    border-radius: 1.5rem;
  }
}
