:root {
  --ink: #3f2618;
  --muted: #746154;
  --paper: #fbf7ef;
  --sky: #9fd5f1;
  --sky-deep: #4f9ec7;
  --chocolate: #4b2d1d;
  --cocoa: #76513c;
  --cream: #f4eadc;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(75, 45, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(75, 45, 29, 0.24);
  backdrop-filter: blur(14px);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.brand span {
  color: var(--sky);
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(75, 45, 29, 0.28);
  backdrop-filter: blur(16px);
}

nav a {
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(55, 31, 18, 0.76), rgba(55, 31, 18, 0.18) 58%, rgba(55, 31, 18, 0.32)),
    linear-gradient(0deg, rgba(75, 45, 29, 0.62), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 48px;
  color: var(--white);
  text-align: center;
  transform: translateY(-9vh);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sky-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #d9f1ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.96;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-family: "Great Vibes", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.85rem);
  font-weight: 400;
  line-height: 1.08;
  text-shadow: 0 18px 42px rgba(55, 31, 18, 0.56);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
}

.date {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
  color: #e5f6ff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 700;
  text-shadow: 0 10px 30px rgba(55, 31, 18, 0.42);
}

.date::before,
.date::after {
  content: "";
  width: clamp(34px, 7vw, 86px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky));
}

.date::after {
  background: linear-gradient(90deg, var(--sky), transparent);
}

.primary-action,
.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  padding: 0 22px;
  background: var(--sky);
  color: var(--chocolate);
}

.countdown-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--chocolate);
}

.countdown-band div {
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--chocolate);
  color: var(--white);
}

.countdown-band span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 1;
}

.countdown-band small {
  margin-top: 8px;
  color: #c9eafb;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: clamp(76px, 10vw, 128px) clamp(20px, 6vw, 84px);
}

.story-section,
.venue-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.story-section {
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
}

.section-copy p,
.venue-copy p,
.contact-section p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.8;
}

.memory-tag {
  position: relative;
  display: inline-grid;
  gap: 8px;
  margin-top: 20px;
  padding: 20px 24px 20px 28px;
  border-left: 5px solid var(--sky-deep);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(159, 213, 241, 0.28), rgba(255, 255, 255, 0.86));
  box-shadow: 0 18px 42px rgba(75, 45, 29, 0.1);
}

.memory-tag::before {
  content: "#";
  position: absolute;
  top: -18px;
  right: 18px;
  color: rgba(79, 158, 199, 0.22);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.memory-tag span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.memory-tag strong {
  position: relative;
  color: var(--chocolate);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.photo-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.slider-track {
  position: relative;
  min-height: clamp(380px, 44vw, 560px);
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 480ms ease,
    transform 620ms ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(75, 45, 29, 0.58);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.slider-button:hover,
.slider-button:focus-visible {
  background: var(--sky);
  color: var(--chocolate);
}

.slider-prev {
  left: 16px;
}

.slider-next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 84px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
}

.slider-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--sky);
}

.schedule-section {
  background: #eaf6fc;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  min-height: 242px;
  padding: 26px;
  border-left: 4px solid var(--sky-deep);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(75, 45, 29, 0.08);
}

.timeline time {
  color: var(--cocoa);
  font-weight: 800;
}

.timeline h3 {
  margin: 26px 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

.timeline p {
  color: var(--muted);
  line-height: 1.65;
}

.venue-section {
  background: var(--chocolate);
  color: var(--white);
}

.venue-copy .eyebrow {
  color: #c9eafb;
}

.venue-copy p {
  color: #f1e8dc;
}

.text-link {
  padding: 0 20px;
  background: var(--sky);
  color: var(--chocolate);
}

.map-panel {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(20, 12, 8, 0.24);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.contact-section address {
  display: grid;
  gap: 16px;
  font-style: normal;
}

.contact-section a {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(75, 45, 29, 0.2);
  color: var(--cocoa);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 86px;
    transform: translateY(-5vh);
  }

  .countdown-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-section,
  .venue-section,
  .contact-section,
  .timeline {
    grid-template-columns: 1fr;
  }

  .slider-track {
    min-height: 420px;
  }

  .timeline article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.65rem, 12vw, 3.8rem);
  }

  .countdown-band div {
    min-height: 112px;
  }

  .slider-track {
    min-height: 320px;
  }

  .slider-button {
    width: 40px;
    height: 40px;
  }

  .slider-dots {
    bottom: 100px;
  }
}
