:root {
  color-scheme: dark;
  --ivory: #fff8eb;
  --gold: #f2c793;
  --mist: #bcd4d8;
  --navy: #102d42;
  --line: rgba(255, 248, 235, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy);
  color: var(--ivory);
  font-family: "DM Sans", sans-serif;
}

.party-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.lake-scene,
.scene-shade {
  position: absolute;
  inset: 0;
}

.lake-scene {
  z-index: -3;
  overflow: hidden;
  background: linear-gradient(180deg, #678ca3 0%, #e2aa8c 45%, #edc89d 58%, #426f80 59%, #173e56 100%);
}

.scene-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 28, 42, 0.36), rgba(8, 28, 42, 0.02) 38%, rgba(8, 28, 42, 0.52)),
    radial-gradient(circle at center, transparent 22%, rgba(7, 24, 36, 0.26) 100%);
}

.sun {
  position: absolute;
  top: 21%;
  left: 68%;
  width: clamp(7rem, 15vw, 13rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe2ad;
  box-shadow: 0 0 6rem 2.5rem rgba(255, 199, 137, 0.5);
}

.cloud {
  position: absolute;
  top: 26%;
  left: 8%;
  width: 24%;
  height: 3%;
  border-radius: 50%;
  background: rgba(255, 242, 222, 0.3);
  filter: blur(12px);
}

.cloud-two {
  top: 15%;
  left: 55%;
  width: 18%;
  opacity: 0.6;
}

.far-shore {
  position: absolute;
  top: 53%;
  right: -5%;
  left: -5%;
  height: 13%;
  background: #294b4b;
  clip-path: polygon(0 55%, 11% 32%, 20% 47%, 30% 18%, 41% 54%, 51% 31%, 62% 50%, 72% 14%, 84% 43%, 92% 23%, 100% 49%, 100% 100%, 0 100%);
  opacity: 0.9;
}

.lake {
  position: absolute;
  top: 58%;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    repeating-linear-gradient(178deg, transparent 0 18px, rgba(213, 226, 220, 0.1) 19px 20px),
    linear-gradient(180deg, rgba(80, 123, 137, 0.8), #173e56 76%);
}

.sun-path {
  position: absolute;
  top: 57%;
  left: 61%;
  width: 24%;
  height: 43%;
  background: linear-gradient(180deg, rgba(255, 220, 165, 0.42), rgba(255, 220, 165, 0));
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
  filter: blur(8px);
}

.sailboat {
  position: absolute;
  z-index: 1;
  top: 61%;
  left: 73%;
  width: 3rem;
  height: 4rem;
  opacity: 0.85;
}

.sailboat-two {
  top: 67%;
  left: 86%;
  transform: scale(0.62);
  opacity: 0.65;
}

.mast {
  position: absolute;
  top: 0;
  bottom: 0.55rem;
  left: 50%;
  width: 1px;
  background: #112c3a;
}

.sail {
  position: absolute;
  top: 0.25rem;
  left: 0.2rem;
  width: 1.25rem;
  height: 2.8rem;
  background: rgba(255, 246, 224, 0.9);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hull {
  position: absolute;
  right: 0.15rem;
  bottom: 0.25rem;
  left: 0.15rem;
  height: 0.5rem;
  border-radius: 0 0 50% 50%;
  background: #132e3a;
}

.dock {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 39%;
  height: 28%;
  transform: skewX(-16deg);
  transform-origin: bottom right;
}

.dock-deck {
  position: absolute;
  inset: 26% 0 auto;
  height: 24%;
  background: repeating-linear-gradient(90deg, #654d3c 0 8%, #80644e 8.5% 9%);
  box-shadow: 0 0.45rem 0 #392f2a;
}

.dock-post {
  position: absolute;
  top: 30%;
  bottom: 0;
  width: 0.55rem;
  background: #352c28;
}

.dock-post-one { left: 18%; }
.dock-post-two { left: 55%; }
.dock-post-three { right: 8%; }

.party-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2.6rem) clamp(1.4rem, 5vw, 5rem);
}

.party-header p {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
}

.monogram {
  color: inherit;
  font-family: "Italiana", serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.monogram span {
  margin: 0 0.1em;
  color: var(--gold);
  font-size: 0.75em;
  font-style: italic;
}

.party-content {
  z-index: 2;
  display: flex;
  width: min(92%, 980px);
  align-self: center;
  justify-self: center;
  flex-direction: column;
  align-items: center;
  padding: 7rem 1rem 8rem;
  text-align: center;
  text-shadow: 0 2px 28px rgba(6, 24, 36, 0.42);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: clamp(0.63rem, 1.2vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.31em;
  text-transform: uppercase;
}

h1 {
  display: flex;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-family: "Italiana", serif;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.85;
}

h1 i {
  margin: 0 0.24em;
  color: var(--gold);
  font-size: 0.5em;
  font-weight: 400;
}

.celebration-copy {
  margin: clamp(1.35rem, 3vw, 2rem) 0 0;
  font-family: "Italiana", serif;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  letter-spacing: 0.08em;
}

.party-details {
  display: grid;
  width: min(100%, 820px);
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  grid-template-columns: 1fr 0.85fr 1.35fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 38, 55, 0.15);
  backdrop-filter: blur(5px);
}

.party-details > div {
  position: relative;
  padding: 1.15rem 0.8rem 1.05rem;
}

.party-details > div + div::before {
  position: absolute;
  top: 23%;
  bottom: 23%;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.detail-label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--gold);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.party-details strong {
  display: block;
  font-family: "Italiana", serif;
  font-size: clamp(0.9rem, 1.6vw, 1.12rem);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.party-details p {
  margin: 0.35rem 0 0;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

.party-actions {
  display: flex;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.82rem 1.1rem 0.78rem 1.25rem;
  border: 1px solid rgba(255, 248, 235, 0.72);
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.94);
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-shadow: none;
  text-transform: uppercase;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: transparent;
  color: var(--ivory);
  transform: translateY(-2px);
}

.text-action {
  color: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration-color: rgba(255, 248, 235, 0.5);
  text-underline-offset: 0.32em;
  text-transform: uppercase;
}

.primary-action:focus-visible,
.text-action:focus-visible,
.monogram:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 4px;
}

.footer-note {
  position: absolute;
  bottom: clamp(1.35rem, 3vw, 2.3rem);
  left: clamp(1.4rem, 5vw, 5rem);
  z-index: 3;
  margin: 0;
  font-family: "Italiana", serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

@media (max-width: 720px) {
  .party-content {
    padding-top: 6.7rem;
    padding-bottom: 5.5rem;
  }

  h1 {
    flex-direction: column;
    gap: 0.08em;
  }

  h1 i {
    margin: 0;
    line-height: 0.62;
  }

  .party-details {
    grid-template-columns: 1fr;
  }

  .party-details > div {
    padding: 0.72rem 0.5rem;
  }

  .party-details > div + div::before {
    top: 0;
    right: 25%;
    bottom: auto;
    left: 25%;
    width: auto;
    height: 1px;
  }

  .party-actions {
    flex-direction: column;
    gap: 0.9rem;
  }

  .footer-note {
    display: none;
  }

  .dock {
    width: 55%;
    opacity: 0.72;
  }

  .sailboat-one {
    left: 76%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
