/* Palette from brand/README.md; navy is the brand's preferred dark ground. */
:root {
  --navy: #1b2a4d;
  --navy-deep: #0f182e;
  --cream: #F3ECDD;
  --cream-muted: rgba(243, 236, 221, 0.72);
  --gold: #D4AF5A;
  --blue: #8AB3E6;
  --measure: 38rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--cream);
  font: 300 1.0625rem/1.8 "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

strong { font-weight: 600; color: var(--cream); }

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 4rem 1rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, var(--navy) 0%, var(--navy-deep) 70%);
}

.hero h1 { margin: 0; width: min(26rem, 80vw); }

.hero h1 img { animation: rise 1.6s ease-out both; }

.tagline {
  margin: 0;
  max-width: 34rem;
  text-align: center;
  font-style: italic;
  color: var(--cream-muted);
  animation: rise 1.6s 0.4s ease-out both;
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 6rem 1rem;
}

h2 {
  margin: 0 0 1.75rem;
  font: 500 1.125rem/1.3 "Cinzel", serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
}

p {
  text-align: justify;
  margin: 0 0 1.25rem;
  color: var(--cream-muted);
}

.coda {
  margin-top: 2.5rem;
  text-align: center;
  font: 500 1rem "Cinzel", serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
}

footer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2.5rem 1rem;
  border-top: 1px solid rgba(212, 175, 90, 0.2);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

a { color: var(--blue); text-decoration: none; }
a:hover, a:focus-visible { color: var(--cream); }

@keyframes rise {
  from { opacity: 0; transform: translateY(0.75rem); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 img, .tagline { animation: none; }
}
