:root {
  --bg: #f3efe6;
  --bg-deep: #e7dfd1;
  --text: #1d261d;
  --muted: rgba(29, 38, 29, 0.62);
  --surface: rgba(255, 252, 246, 0.58);
  --line: rgba(29, 38, 29, 0.1);
  --shadow: 0 30px 90px rgba(40, 47, 33, 0.12);
  --green: #5a6b43;
  --gold: #c6a55b;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(198, 165, 91, 0.24), transparent 24rem),
    radial-gradient(circle at 82% 28%, rgba(90, 107, 67, 0.18), transparent 20rem),
    linear-gradient(145deg, var(--bg) 0%, #f8f4ec 42%, var(--bg-deep) 100%);
}

.page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 1.5rem;
  overflow: hidden;
  isolation: isolate;
}

.glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.8;
  z-index: -1;
  animation: drift 14s ease-in-out infinite;
}

.glow-left {
  top: -10rem;
  left: -9rem;
  background: rgba(198, 165, 91, 0.28);
}

.glow-right {
  right: -10rem;
  bottom: -12rem;
  background: rgba(90, 107, 67, 0.18);
  animation-delay: -7s;
}

.hero {
  width: min(56rem, calc(100% - 2rem));
  margin: 1rem;
  padding: clamp(2.5rem, 7vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.86), rgba(255, 250, 241, 0.62));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  text-align: center;
}

.domain {
  margin: 0 0 1.25rem;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: 0.92;
  font-weight: 600;
  text-wrap: balance;
}

.hero h1::after {
  content: "";
  display: block;
  width: min(8rem, 24vw);
  height: 0.35rem;
  margin: 1.5rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, 1.5rem, 0) scale(1.05);
  }
}

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

  .hero {
    border-radius: 1.5rem;
    margin: 0.5rem;
    padding: 2.25rem 1.5rem;
  }

  .domain {
    margin-bottom: 1rem;
    letter-spacing: 0.16em;
  }
}
