/* Everveil design foundation ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;

  /* Reusable color tokens */
  --color-black: #050504;
  --color-obsidian: #0c0b09;
  --color-ivory: #f5f0e5;
  --color-muted: #b4ab9a;
  --gold: #c9a75d;
  --gold-light: #ead294;
  --gold-dark: #7c6530;

  /* Reusable type and layout tokens */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-width: 64rem;
  --page-gutter: clamp(1.25rem, 5vw, 3.5rem);

  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 50% 20%, rgb(201 167 93 / 10%), transparent 45%),
    var(--color-black);
  color: var(--color-ivory);
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
}

.page-shell {
  border: 1px solid var(--gold-dark);
  border-image: linear-gradient(135deg, var(--gold-dark), var(--gold-light), var(--gold-dark)) 1;
  min-height: 100vh;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

h1,
p {
  margin: 0;
}

/* Ornamental divider --------------------------------------------------------- */
.ornament {
  align-items: center;
  color: var(--gold);
  display: flex;
  gap: 12px;
  width: min(320px, 70vw);
}

.ornament::before,
.ornament::after {
  background: linear-gradient(90deg, transparent, var(--gold));
  content: "";
  flex: 1;
  height: 1px;
}

.ornament::after {
  transform: scaleX(-1);
}

.ornament span {
  border: 1px solid var(--gold-light);
  height: 7px;
  transform: rotate(45deg);
  width: 7px;
}

.ornament-top {
  margin-bottom: 2.25rem;
}

.ornament-bottom {
  margin-top: 3rem;
}

/* Hero ------------------------------------------------------------------------ */
.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(36rem, calc(100svh - 5rem));
  padding: 3.5rem var(--page-gutter);
  text-align: center;
}

.eyebrow {
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

h1,
h1 span {
  background: linear-gradient(110deg, var(--gold-dark) 5%, var(--gold-light) 35%, #c89427 55%, var(--gold-light) 72%, var(--gold-dark));
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.intro {
  color: var(--color-muted);
  font: 400 1.2rem/1.7 var(--font-display);
  margin: 1.75rem auto 1.75rem;
  max-width: 32rem;
}

.button {
  background: linear-gradient(135deg, #a97720, var(--gold-light) 45%, #c28b28 75%, #f7dc78);
  border: 1px solid #ffe891;
  box-shadow: 0 6px 28px rgb(0 0 0 / 28%), inset 0 1px rgb(255 255 255 / 55%);
  color: #241505;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  min-height: 3.1rem;
  padding: 0.85rem 1.9rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.button:hover {
  box-shadow: 0 10px 35px rgb(0 0 0 / 38%), 0 0 18px rgb(232 192 83 / 20%);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .hero {
    min-height: auto;
    padding-block: 3rem;
  }
}

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

  .button {
    transition: none;
  }
}
