:root {
  --ink: #1B5A7A;
  --ink-hover: #123f57;
  --paper: #FBF7EF;
  --placeholder: #EDEAE1;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: 90px;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Quicksand', sans-serif;
  overflow-x: hidden;
}

a { color: var(--ink); }
a:hover { color: var(--ink-hover); }

.script {
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
}

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

/* FLOATING NAV */
.floating-nav {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  gap: 8px;
  background: rgba(251, 247, 239, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(27, 90, 122, 0.25);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(27, 90, 122, 0.16);
}

.floating-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}

.floating-nav a.active {
  color: var(--paper);
  background: var(--ink);
}

/* DISCO ILLUSTRATIONS */
.disco { display: flex; justify-content: center; }
.disco-large { width: 120px; margin-bottom: 8px; }
.disco-small { width: 64px; }

/* HERO */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 90px) 24px clamp(56px, 9vw, 110px);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
  font-size: clamp(52px, 10vw, 96px);
  margin: 8px 0 4px;
  line-height: 1.05;
  color: var(--ink);
}

.hero-subtitle {
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.04em;
  margin: 4px 0 28px;
  font-weight: 600;
}

.hero-subtitle .script { font-size: 1.3em; }

.hero-photos {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(14px, 3vw, 26px);
  margin: clamp(28px, 4vw, 40px) 0;
}

.hero-photo {
  width: min(200px, 34vw);
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(27, 90, 122, 0.3);
  box-shadow: 0 8px 20px rgba(27, 90, 122, 0.14);
  background: var(--placeholder);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-photo-left { transform: rotate(-4deg); }
.hero-photo-right { transform: rotate(4deg); }

.hero-text {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.7;
  color: rgba(27, 90, 122, 0.8);
}

.hero-illustration {
  margin-top: clamp(32px, 5vw, 48px);
  display: flex;
  justify-content: center;
}

.hero-illustration img {
  width: min(200px, 45vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(27, 90, 122, 0.25);
  object-fit: contain;
  padding: 14px;
}

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: clamp(20px, 4vw, 32px); }

.section-header h2,
.honeymoon-section h2 {
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  margin: 0 0 6px;
}

.section-header p {
  font-size: 16px;
  color: rgba(27, 90, 122, 0.65);
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-solid {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--ink-hover);
  color: var(--paper);
}

/* GALLERY */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) 20px 10px;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.masonry-grid .photo-tile { aspect-ratio: 1; }

.photo-tile {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--placeholder);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.photo-tile:hover {
  transform: scale(1.03);
  border-color: var(--ink);
  box-shadow: 0 6px 18px rgba(27, 90, 122, 0.18);
}

.masonry-grid .photo-tile img,
.masonry-grid .photo-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }

.gif-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(27, 90, 122, 0.85);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 999px;
  pointer-events: none;
}

/* PHOTOBOOTH TEASER */
#photobooth-teaser-grid .photo-tile { cursor: default; }

#photobooth-teaser-grid .photo-tile:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.teaser-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.empty-state {
  text-align: center;
  color: rgba(27, 90, 122, 0.6);
  font-size: 16px;
  padding: 32px 0;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(27, 40, 46, 0.86);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}

.lightbox[hidden] { display: none; }

.lightbox-btn {
  position: absolute;
  background: rgba(251, 247, 239, 0.9);
  color: var(--ink);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 22px;
}

.lightbox-prev { left: clamp(10px, 3vw, 36px); }
.lightbox-next { right: clamp(10px, 3vw, 36px); }

.lightbox-close {
  top: clamp(10px, 3vw, 28px);
  right: clamp(10px, 3vw, 28px);
  width: 38px;
  height: 38px;
  font-size: 16px;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  cursor: default;
}

.lightbox-frame {
  background: var(--placeholder);
  border-radius: 10px;
  overflow: hidden;
  max-width: min(90vw, 900px);
  max-height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(27, 90, 122, 0.3);
}

.lightbox-frame img,
.lightbox-frame video {
  max-width: min(90vw, 900px);
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-frame.is-placeholder {
  width: min(70vw, 420px);
  aspect-ratio: 3 / 4;
  border-style: dashed;
}

.lightbox-placeholder-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(27, 90, 122, 0.45);
}

/* DIVIDER */
.divider {
  display: flex;
  justify-content: center;
  padding: clamp(20px, 5vw, 40px) 0;
}

/* HONEYMOON */
.honeymoon-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px clamp(56px, 9vw, 90px);
  text-align: center;
}

.honeymoon-section p {
  max-width: 620px;
  margin: 0 auto 6px;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.75;
  color: rgba(27, 90, 122, 0.8);
}

.honeymoon-section p + p { margin-top: 18px; }

.travel-grid {
  margin-top: clamp(32px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.travel-grid .photo-tile {
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}

.travel-grid .photo-tile img { width: 100%; height: 100%; object-fit: cover; }

.travel-grid .placeholder-tile {
  aspect-ratio: 3 / 4;
  border: 1.5px dashed rgba(27, 90, 122, 0.3);
  background: var(--placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.travel-grid .placeholder-tile:hover {
  transform: none;
  border-color: rgba(27, 90, 122, 0.3);
  box-shadow: none;
}

.travel-grid .placeholder-tile span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(27, 90, 122, 0.45);
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) 24px clamp(48px, 8vw, 72px);
  border-top: 1px solid rgba(27, 90, 122, 0.15);
}

.site-footer .disco-small { margin-bottom: 14px; }

.footer-line {
  font-size: clamp(28px, 4vw, 38px);
  margin: 0;
}

.footer-line + .footer-line { margin-top: 4px; }

.friends-credit {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 24px clamp(32px, 5vw, 48px);
  text-align: center;
}

.friends-credit p {
  margin: 0;
  font-size: clamp(15px, 2vw, 17px);
  font-style: italic;
  line-height: 1.7;
  color: rgba(27, 90, 122, 0.75);
}

.friends-credit a {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

.friends-credit a:hover { color: var(--ink-hover); }
