:root {
  --ink: #2B2420;
  --terracotta: #C1613A;
  --sand: #E9DCC8;
  --gold: #D4A24C;
  --ivory: #F6EEE0;
  --teal: #3F5E56;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  min-height: 100%;
  background-color: var(--ink);
  background-image:
    radial-gradient(60% 55% at 82% 22%, rgba(212, 162, 76, 0.16), rgba(193, 97, 58, 0.05) 45%, transparent 72%),
    linear-gradient(180deg, rgba(43, 36, 32, 0.35), rgba(20, 16, 14, 0.72)),
    url("/images/background.png");
  background-repeat: no-repeat;
  background-position: center, center, center;
  background-size: cover, cover, cover;
  background-attachment: fixed;
  color: var(--ivory);
  font-family: var(--serif);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 8vw, 5rem) 1.5rem;
  overflow-x: hidden;
}

/* thin gold frame, echoing the title card */
.frame {
  position: fixed;
  inset: clamp(10px, 2.4vw, 38px);
  border: 1px solid rgba(212, 162, 76, 0.42);
  pointer-events: none;
  z-index: 2;
}

.stage {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: rise 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.mark-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.mark {
  position: relative;
  z-index: 1;
  width: clamp(96px, 15vw, 140px);
  height: auto;
  display: block;
}

/* slow warm glow behind the sun */
.mark-glow {
  position: absolute;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.34), rgba(212, 162, 76, 0) 68%);
  filter: blur(6px);
  animation: breathe 9s ease-in-out infinite;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 7.2vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ivory);
}

.eyebrow {
  margin-top: clamp(0.9rem, 2vw, 1.35rem);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.72rem, 1.7vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terracotta);
}

.subtitle {
  margin-top: clamp(0.7rem, 1.6vw, 1rem);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.3vw, 1.3rem);
  color: var(--sand);
}

.divider {
  width: 64px;
  height: 1px;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.1rem, 2.5vw, 1.6rem);
  background: var(--teal);
  opacity: 0.9;
}

.status {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  /* optical: trailing letter-spacing pushes text right of centre */
  text-indent: 0.34em;
  color: var(--gold);
}

.colophon {
  position: fixed;
  bottom: clamp(16px, 3.4vw, 44px);
  left: 0;
  right: 0;
  z-index: 1;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--sand);
  opacity: 0.4;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .stage { animation: none; }
  .mark-glow { animation: none; opacity: 0.7; }
}

@media (max-width: 480px) {
  body { background-attachment: scroll; }
  .colophon { font-size: 0.66rem; }
}
