:root {
  --blue-900: #193b5a;
  --blue-700: #35698e;
  --blue-500: #78a9c9;
  --blue-300: #bdd9ea;
  --blue-100: #eaf4fa;
  --cream: #fbfaf7;
  --white: #ffffff;
  --text: #294052;
  --muted: #708797;
  --line: rgba(53, 105, 142, .16);
  --shadow: 0 20px 60px rgba(37, 79, 108, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

button, a {
  font: inherit;
}

button {
  cursor: pointer;
}

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.95), transparent 25%),
    radial-gradient(circle at 10% 85%, rgba(189,217,234,.5), transparent 28%),
    linear-gradient(135deg, #eaf4fa 0%, #d9eaf5 48%, #c5deed 100%);
}

.nav {
  position: absolute;
  inset: 0 0 auto;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  z-index: 5;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--blue-900);
  letter-spacing: .03em;
}

.music-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  color: var(--blue-900);
  transition: .3s ease;
}

.music-btn:hover {
  transform: rotate(12deg) scale(1.05);
  background: white;
}

.hero-content {
  width: min(760px, 88%);
  padding-top: 24vh;
  margin-left: 10vw;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .68rem;
  color: var(--blue-700);
  font-weight: 600;
}

.hero h1 {
  margin: 18px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(5rem, 13vw, 10rem);
  line-height: .72;
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--blue-900);
}

em {
  font-style: italic;
  font-weight: 400;
}

.hero-text {
  max-width: 430px;
  margin: 34px 0;
  font-size: .95rem;
  line-height: 1.9;
  color: #587387;
}

.scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--blue-900);
  text-decoration: none;
  border-bottom: 1px solid var(--blue-500);
  padding-bottom: 9px;
  font-size: .8rem;
  letter-spacing: .08em;
}

.scroll-btn span {
  font-size: 1.1rem;
  transition: transform .3s;
}

.scroll-btn:hover span {
  transform: translateY(4px);
}

.flower {
  position: absolute;
  color: rgba(255,255,255,.8);
  font-size: 13rem;
  line-height: 1;
  font-family: serif;
  filter: drop-shadow(0 15px 30px rgba(42,91,125,.12));
}

.flower-one {
  right: 4vw;
  top: 15%;
  transform: rotate(14deg);
}

.flower-two {
  right: 22%;
  bottom: 4%;
  font-size: 7rem;
  opacity: .6;
  transform: rotate(-15deg);
}

.intro,
.gallery-section,
.quote,
.closing {
  padding: 120px 9vw;
}

.intro {
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10vw;
  align-items: end;
  margin-top: 45px;
}

.intro h2,
.gallery-heading h2,
.closing h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.8rem, 7vw, 7rem);
  line-height: .85;
  font-weight: 500;
  color: var(--blue-900);
}

.intro-grid p {
  max-width: 470px;
  line-height: 2;
  font-size: .92rem;
  color: var(--muted);
}

.signature {
  display: block;
  margin-top: 28px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--blue-700);
}

.quote {
  text-align: center;
  position: relative;
}

.quote-blue {
  background: var(--blue-900);
  color: white;
}

.quote-soft {
  background: var(--blue-100);
}

.quote blockquote {
  max-width: 920px;
  margin: 35px auto 25px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: .98;
  font-weight: 400;
}

.quote-blue blockquote {
  color: #f5fbff;
}

.quote-blue > span {
  color: #b9d7e9;
  font-size: .75rem;
  letter-spacing: .1em;
}

.quote-soft blockquote {
  color: var(--blue-900);
}

.quote-soft p {
  color: var(--muted);
  font-size: .85rem;
}

.quote-flower,
.closing-flower {
  font-family: serif;
  font-size: 2.7rem;
}

.quote-flower {
  color: var(--blue-300);
}

.gallery-section {
  background: white;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.gallery-heading h2 {
  margin-top: 20px;
}

.gallery-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-row {
  display: flex;
  gap: 9px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 10px 17px;
  font-size: .73rem;
  transition: .25s;
}

.filter:hover,
.filter.active {
  background: var(--blue-900);
  border-color: var(--blue-900);
  color: white;
}

.gallery {
  columns: 4 220px;
  column-gap: 18px;
}

.photo-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 5px;
  background: var(--blue-100);
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(38,76,99,.08);
}

.photo-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s;
}

.photo-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.photo-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 45px 18px 16px;
  background: linear-gradient(transparent, rgba(12,36,55,.65));
  color: white;
  opacity: 0;
  transition: opacity .3s;
}

.photo-card:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
}

.favorite-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: rgba(20,49,72,.5);
  backdrop-filter: blur(8px);
  font-size: 1rem;
  z-index: 2;
}

.closing {
  min-height: 75vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(189,217,234,.5), transparent 35%),
    var(--cream);
}

.closing h2 {
  margin: 30px 0;
}

.closing > p:not(.eyebrow) {
  color: var(--muted);
  font-size: .85rem;
}

.heart {
  margin-top: 40px;
  font-size: 2.2rem;
  color: var(--blue-700);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 6vw;
  background: rgba(9,27,40,.93);
  backdrop-filter: blur(12px);
}

.lightbox.open {
  display: flex;
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-inner {
  width: min(1100px, 90vw);
  max-height: 90vh;
}

.lightbox-inner img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  padding-top: 14px;
}

.lightbox-caption span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
}

.lightbox-caption button {
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.7rem;
}

.close,
.lightbox-nav {
  position: absolute;
  border: 0;
  color: white;
  background: transparent;
}

.close {
  top: 22px;
  right: 28px;
  font-size: 2.3rem;
  font-weight: 200;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  font-family: serif;
  opacity: .75;
  transition: .2s;
}

.lightbox-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 20px; }
.next { right: 20px; }

@media (max-width: 800px) {
  .hero-content {
    margin-left: 8vw;
    padding-top: 25vh;
  }

  .hero h1 {
    font-size: clamp(5rem, 23vw, 8rem);
  }

  .flower-one {
    right: -12vw;
    top: 30%;
    font-size: 10rem;
  }

  .intro,
  .gallery-section,
  .quote,
  .closing {
    padding: 85px 7vw;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .gallery {
    columns: 2 140px;
    column-gap: 12px;
  }

  .photo-card {
    margin-bottom: 12px;
  }

  .gallery-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .gallery-heading h2 {
    font-size: 4rem;
  }

  .lightbox {
    padding: 30px 12px;
  }

  .lightbox-nav {
    font-size: 3rem;
  }

  .prev { left: 3px; }
  .next { right: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
