:root {
  --bg: #fdf9f6;
  --bg-soft: #fff5f8;
  --surface: #ffffff;
  --text: #2a2428;
  --text-muted: #6b5f66;
  --pink: #e8327a;
  --pink-soft: #ff5da2;
  --pink-pale: rgba(232, 50, 122, 0.08);
  --line: rgba(232, 50, 122, 0.2);
  --shadow: 0 12px 40px rgba(42, 36, 40, 0.1);
  --dot-inactive: #d4c8ce;

  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max-w: 1100px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(
      ellipse 120% 80% at 50% -20%,
      var(--bg-soft) 0%,
      var(--bg) 55%
    )
    no-repeat var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: #ffffff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  text-align: center;
  padding: clamp(1rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  animation: fade-up 0.9s ease-out both;
}

.hero__logo {
  width: clamp(220px, 38vw, 360px);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 32px rgba(232, 50, 122, 0.18));
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 500;
}

.hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--text);
}

.hero__title-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.4em;
  color: var(--pink);
  margin-left: 0.1em;
  line-height: 0.8;
  display: inline-block;
  transform: translateY(0.05em);
}

.hero__lede {
  max-width: 36rem;
  margin: 0 auto 1rem;
  color: var(--text-muted);
}

.hero__lede strong {
  color: var(--pink);
  font-weight: 500;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Gallery ------------------------------------------------------------- */

.gallery {
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
  animation: fade-up 1s ease-out 0.15s both;
}

.gallery__viewport {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  background: var(--surface);
}

.gallery__track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.gallery__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s,
    transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(42, 36, 40, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gallery__nav svg {
  width: 22px;
  height: 22px;
}

.gallery__nav:hover,
.gallery__nav:focus-visible {
  background: var(--pink);
  border-color: var(--pink);
  color: #ffffff;
  outline: none;
}

.gallery__nav--prev {
  left: 0.8rem;
}

.gallery__nav--next {
  right: 0.8rem;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.gallery__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--dot-inactive);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.gallery__dot:hover,
.gallery__dot:focus-visible {
  background: var(--pink-soft);
  outline: none;
}

.gallery__dot.is-active {
  background: var(--pink);
  transform: scale(1.3);
}

/* --- Contact ------------------------------------------------------------- */

.contact {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
  background: var(--pink-pale);
  border-radius: var(--radius);
  animation: fade-up 1s ease-out 0.3s both;
}

.contact__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--text);
}

.contact__lede {
  margin: 0 0 1.8rem;
  color: var(--text-muted);
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1rem;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(42, 36, 40, 0.06);
  transition: border-color 0.2s, background 0.2s, color 0.2s,
    transform 0.2s, box-shadow 0.2s;
}

.contact__link:hover,
.contact__link:focus-visible {
  border-color: var(--pink);
  background: var(--pink-pale);
  color: var(--pink);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 50, 122, 0.12);
  outline: none;
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer__legal {
  font-size: 0.75rem;
}

/* --- Animations ---------------------------------------------------------- */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 600px) {
  .gallery__viewport {
    aspect-ratio: 4 / 5;
  }

  .gallery__nav {
    width: 38px;
    height: 38px;
  }

  .gallery__nav--prev {
    left: 0.5rem;
  }

  .gallery__nav--next {
    right: 0.5rem;
  }

  .contact__link {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
}
