:root {
  --navy: #1b2f5e;
  --navy-soft: #2a3d6b;
  --gold: #c19a2e;
  --bg: #ffffff;
  --muted: #7a8196;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 5rem) 1rem;
}

.hero__logo {
  width: clamp(140px, 22vw, 260px);
  height: auto;
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
  filter: drop-shadow(0 10px 18px rgba(27, 47, 94, 0.18));
  animation: rise 0.9s ease-out both;
}

.hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  margin: 0;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--navy);
  animation: rise 0.9s 0.15s ease-out both;
}

.hero__divider {
  display: inline-block;
  width: 0.14em;
  height: 1.1em;
  background: var(--gold);
}

.hero__tagline {
  margin: clamp(1rem, 2.5vw, 1.75rem) 0 0;
  font-weight: 500;
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  letter-spacing: 0.02em;
  color: var(--gold);
  animation: rise 0.9s 0.3s ease-out both;
}

.hero__motto {
  max-width: 56rem;
  text-wrap: balance;
  margin: 0.4rem 0 0;
  font-family: Gabriola, "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  color: var(--navy-soft);
  animation: rise 0.9s 0.45s ease-out both;
}

.hero__notice {
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  padding: 0.55em 1.4em;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  animation: rise 0.9s 0.6s ease-out both;
}

/* Footer */
.footer {
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid rgba(193, 154, 46, 0.35);
}

.footer p {
  margin: 0;
}

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

/* Small phones: stack title and turn the divider horizontal */
@media (max-width: 480px) {
  .hero__title {
    flex-direction: column;
    gap: 0.3em;
  }

  .hero__divider {
    width: 2.5em;
    height: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}
