:root {
  --pink-50: #fff0f7;
  --pink-100: #ffd6ec;
  --pink-200: #ffb3db;
  --pink-400: #ff6eb4;
  --pink-600: #e91e8c;
  --ink: #2a1024;
  --ink-muted: #5c3d52;
  --rainbow: linear-gradient(
    90deg,
    #e40303 0%,
    #ff8c00 16%,
    #ffed00 33%,
    #008026 50%,
    #004dff 66%,
    #750787 83%,
    #e40303 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--pink-50);
  background-image: radial-gradient(
      ellipse 120% 80% at 50% -20%,
      rgba(255, 110, 180, 0.35),
      transparent 55%
    ),
    radial-gradient(
      ellipse 80% 50% at 100% 50%,
      rgba(117, 7, 135, 0.08),
      transparent 50%
    );
  min-height: 100vh;
}

.rainbow-bar {
  height: 5px;
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% 0;
  }
}

.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 6rem) clamp(1.25rem, 5vw, 3rem) 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: conic-gradient(
    from 200deg at 50% 50%,
    rgba(228, 3, 3, 0.12),
    rgba(255, 140, 0, 0.1),
    rgba(255, 237, 0, 0.08),
    rgba(0, 128, 38, 0.1),
    rgba(0, 77, 255, 0.12),
    rgba(117, 7, 135, 0.15),
    rgba(228, 3, 3, 0.12)
  );
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-600);
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--pink-200);
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1.25rem;
}

.lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--ink-muted);
  margin: 0 0 2rem;
}

.scroll-hint {
  color: var(--pink-600);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--pink-200);
  transition: border-color 0.2s, color 0.2s;
}

.scroll-hint:hover {
  color: var(--ink);
  border-color: var(--pink-400);
}

.section {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 5vw, 2rem) 3rem;
}

.section h2 {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  margin: 0 0 1.25rem;
}

.prose p {
  margin: 0 0 1.15rem;
}

.prose strong {
  font-weight: 600;
  color: var(--pink-600);
}

.accent-panel {
  max-width: 44rem;
  margin-top: 1rem;
  padding: 2.5rem clamp(1.5rem, 5vw, 2.5rem);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 1.25rem;
  border: 1px solid var(--pink-100);
  box-shadow: 0 20px 50px rgba(233, 30, 140, 0.08);
  position: relative;
}

.accent-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: var(--rainbow);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.values {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.25rem;
  display: grid;
  gap: 1rem;
}

.values li {
  padding-left: 1rem;
  border-left: 4px solid var(--pink-400);
  background: linear-gradient(90deg, var(--pink-50), transparent);
  padding: 0.75rem 0 0.75rem 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.value-title {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.gallery-section {
  padding: 2rem clamp(1rem, 4vw, 2rem) 4rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 214, 236, 0.4) 30%,
    rgba(255, 214, 236, 0.4) 70%,
    transparent
  );
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--ink-muted);
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.photo-card {
  margin: 0;
}

.photo-frame {
  padding: 4px;
  border-radius: 1rem;
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: shimmer 10s linear infinite;
  box-shadow: 0 12px 40px rgba(117, 7, 135, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-card:hover .photo-frame {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(233, 30, 140, 0.25);
}

.photo-frame {
  position: relative;
  overflow: hidden;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(1rem - 4px);
  object-fit: cover;
  aspect-ratio: 3 / 4;
  filter: sepia(0.2) saturate(1.45) hue-rotate(290deg) brightness(1.08)
    contrast(1.03);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: calc(1rem - 4px);
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(255, 182, 213, 0.45) 0%,
    rgba(233, 30, 140, 0.2) 50%,
    rgba(117, 7, 135, 0.15) 100%
  );
  mix-blend-mode: soft-light;
}

.closing {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
}

.closing-line {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

.signature {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.25rem 0 1rem;
  background: var(--rainbow);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

.flag-heart {
  font-size: 2rem;
  filter: drop-shadow(0 4px 12px rgba(233, 30, 140, 0.3));
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--pink-100);
  background: rgba(255, 255, 255, 0.5);
}

footer a {
  color: var(--pink-600);
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .rainbow-bar,
  .photo-frame,
  .signature {
    animation: none;
  }

  .photo-card:hover .photo-frame {
    transform: none;
  }
}
