@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Inter:wght@400;500;700&family=Parisienne&display=swap');

:root {
  --navy: #06245a;
  --gold: #b99a5f;
  --cream: #fff8ed;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #d9edf4;
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px;
  background:
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2200&q=90")
    center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 232, 190, .62), transparent 28%),
    linear-gradient(to bottom, rgba(255,255,255,.12), rgba(255,255,255,.22));
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,248,237,.66), rgba(255,248,237,.20), rgba(255,248,237,.12)),
    linear-gradient(to bottom, rgba(255,255,255,.15), rgba(6,36,90,.10));
}

.announcement {
  position: relative;
  z-index: 2;
  width: min(940px, 100%);
  text-align: center;
  padding: clamp(28px, 5vw, 64px);
  color: var(--navy);
  text-shadow: 0 2px 18px rgba(255, 255, 255, .55);
}

.anchor {
  font-size: clamp(54px, 8vw, 92px);
  line-height: 1;
  margin-bottom: 22px;
  animation: floatAnchor 4s ease-in-out infinite;
}

.small-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
}

.small-divider span {
  width: 70px;
  height: 1px;
  background: currentColor;
}

.small-divider strong {
  font-size: 20px;
}

h1 {
  margin: 0;
  font-family: Parisienne, "Cormorant Garamond", serif;
  font-size: clamp(76px, 13vw, 158px);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: .7;
  transition: opacity .65s ease, transform .65s ease, filter .65s ease;
}

.knot {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 64px);
  margin: 22px 0 4px;
  font-family: "Cormorant Garamond", serif;
}

.date {
  margin: 12px 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(27px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: .20em;
  text-transform: uppercase;
  transition: opacity .65s ease, transform .65s ease, filter .65s ease;
}

.wave-divider {
  color: var(--navy);
  font-size: 34px;
  letter-spacing: .18em;
  opacity: .9;
  margin-bottom: 22px;
}

.details {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(27px, 4vw, 46px);
  transition: opacity .65s ease, transform .65s ease, filter .65s ease;
}

.is-changing {
  opacity: 0;
  transform: translateY(18px) scale(.98);
  filter: blur(5px);
}

@keyframes floatAnchor {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 18px;
    background-position: center;
  }

  .announcement {
    padding: 24px 10px;
  }

  .date {
    letter-spacing: .12em;
  }
}
