/* DELUXE — Coming Soon. Self-hosted fonts, no external requests, no JavaScript. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }

/* Same palette as the DELUXE storefront (tailwind.config.js) */
:root {
  --black: #0a0a0a;
  --off: #f7f5f0;
  --warmgray: #8c857a;
  --gold: #c9a24b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --track: 0.25em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--off);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(201, 162, 75, 0.22), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(201, 162, 75, 0.10), transparent 50%),
    var(--black);
}

.stage {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  animation: rise 1.1s ease-out both;
}

/* The brand mark is typographic — exactly how the storefront renders it */
.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.75rem;
  font-size: clamp(2.75rem, 13vw, 6.5rem);
  line-height: 1;
  letter-spacing: var(--track);
  padding-left: var(--track); /* balances the trailing letter-space so the word looks centred */
  text-transform: uppercase;
  color: var(--off);
}

.rule {
  display: block;
  width: 3.5rem;
  height: 1px;
  margin: 2.25rem 0;
  background: var(--gold);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.15;
  color: var(--off);
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  color: rgba(247, 245, 240, 0.72);
}

.tagline {
  margin: 2.75rem 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: var(--track);
  padding-left: var(--track);
  text-transform: uppercase;
  color: var(--gold);
}

.foot {
  width: 100%;
  padding-top: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warmgray);
}

/* 404 page extras */
.code { margin: 0 0 1rem; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--gold); }
.back {
  display: inline-block; margin-top: 2rem; padding: 0.85rem 2rem;
  border: 1px solid rgba(247, 245, 240, 0.4);
  color: var(--off); text-decoration: none;
  font-size: 0.7rem; letter-spacing: var(--track); text-transform: uppercase;
}
.back:hover, .back:focus-visible { border-color: var(--gold); color: var(--gold); outline: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stage { animation: none; }
}
