:root {
  --lp-ink:        #2B2340;
  --lp-cream:      #FFFEFB;
  --lp-purple:     #8B5CF6;
  --lp-purple-deep:#6D28D9;
  --lp-pink:       #FF5DA2;
  --lp-mint:       rgb(34 197 94);
  --lp-tilt:       -15deg;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  background: var(--lp-cream);
  font-family: 'Inter', sans-serif;
}

/* ---- Postponement banner ---- */

.lp-postponed-banner {
  background: #22c55e;
  color: #fff;
  font-family: 'Permanent Marker', cursive;
  font-size: 1rem;
  text-align: center;
  padding: 0.6rem 1rem;
  position: relative;
  z-index: 30;
}

/* ---- Hero stage ---- */

.lp-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--lp-cream);
  perspective: 1200px;
  perspective-origin: 65% 40%;
}

.lp-river {
  position: absolute;
  top: 50%; left: 50%;
  width: 165vmax;
  height: 165vmax;
  transform: translate(-50%, -50%)
             rotateX(18deg) rotateY(-6deg) rotateZ(var(--lp-tilt));
  transform-style: preserve-3d;
  display: flex;
  gap: 10px;
}

.lp-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: lp-flow var(--flow-dur, 90s) linear infinite;
  will-change: transform;
  transform-style: preserve-3d;
}

@keyframes lp-flow {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* ---- Polaroid tiles ---- */

.lp-tile {
  position: relative;
  width: 100%;
  flex: none;
  background: #fbf8f1;
  padding: 5.5% 5.5% 0 5.5%;
  border-radius: 2px;
  transform: translateZ(0) scale(1);
  filter: blur(3px) brightness(0.55) saturate(0.85);
  transition: transform 1.1s cubic-bezier(.22,.68,.36,1),
              box-shadow 1.1s ease,
              filter 1.1s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65),
              inset 0 -1px 1px rgba(60,50,35,0.18),
              inset 1px 0 0 rgba(255,255,255,0.25),
              inset -1px 0 1px rgba(60,50,35,0.08);
}


.lp-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ECE7F5;
}

.lp-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.lp-caption {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(0.7rem, 1.1vw, 1.05rem);
  color: #23201c;
  text-align: center;
  padding: 4% 0 5% 0;
  transform: rotate(-2deg);
  letter-spacing: 0.03em;
  opacity: 0.9;
  user-select: none;
}

.lp-tile.lp-tile--focus {
  transform: translateZ(var(--lift, 120px)) scale(1.9);
  filter: none;
  transition: transform 1.1s cubic-bezier(.22,.68,.36,1),
              box-shadow 1.1s ease,
              filter 1.1s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65),
              inset 0 -1px 1px rgba(60,50,35,0.18),
              inset 1px 0 0 rgba(255,255,255,0.25),
              inset -1px 0 1px rgba(60,50,35,0.08),
              0 25px 70px rgba(0,0,0,0.6);
}

.lp-column, .lp-river { overflow: visible; }

.lp-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background:
    linear-gradient(180deg, rgba(255,254,251,0.5) 0%, rgba(255,254,251,0) 20%, rgba(255,254,251,0) 80%, rgba(255,254,251,0.55) 100%);
}

/* ---- Hero copy ---- */

.lp-hero {
  position: relative;
  z-index: 20;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3.5rem 2rem 7vw;
  max-width: calc(660px + 7vw);
  color: var(--lp-ink);
  background: radial-gradient(ellipse 55% 44% at 45% 50%,
    rgba(255,254,251,0.96) 0%,
    rgba(255,254,251,0.93) 52%,
    rgba(255,254,251,0.6) 74%,
    rgba(255,254,251,0) 98%);
}

.lp-eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Permanent Marker', cursive;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--lp-pink);
  padding: 0.42em 1.1em 0.36em;
  border-radius: 1.1rem 0.4rem 0.9rem 0.5rem / 0.5rem 0.9rem 0.4rem 1.1rem;
  transform: rotate(-2deg);
  margin-bottom: 1.3rem;
}

.lp-title {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0 0 1.1rem 0;
  text-wrap: balance;
  width: fit-content;
}

.lp-t-purple { color: var(--lp-purple-deep); }
.lp-t-pink   { color: var(--lp-pink); }

.lp-brush {
  display: block;
  width: 100%;
  height: 0.28em;
  margin-top: 0.18em;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: rotate(-0.6deg);
}
.lp-brush--mint   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 40 4, 80 12, 120 7 S 190 5, 197 8' stroke='rgb(34 197 94)' stroke-width='5.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.lp-brush--pink   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 40 4, 80 12, 120 7 S 190 5, 197 8' stroke='%23FF5DA2' stroke-width='5.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.lp-brush--purple { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 40 4, 80 12, 120 7 S 190 5, 197 8' stroke='%238B5CF6' stroke-width='5.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }

.lp-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--lp-ink);
  opacity: 0.8;
  margin: 0 0 1rem 0;
  max-width: 40ch;
}

/* Tally marks + "parties so far" */
.lp-tally {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--lp-ink);
  opacity: 0.75;
  margin: 0 0 1rem 0;
}

.lp-tally span {
  font-family: 'Permanent Marker', cursive;
  font-size: 1rem;
}

/* Quiet scrawled aside under the hero buttons */
.lp-hero-note {
  font-family: 'Permanent Marker', cursive;
  font-size: 0.95rem;
  color: var(--lp-ink);
  opacity: 0.65;
  margin: 1.6rem 0 0 0;
  transform: rotate(-1deg);
  width: fit-content;
}

.lp-body-copy {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--lp-ink);
  opacity: 0.75;
  max-width: 42ch;
  margin: 0 0 2rem 0;
}

.lp-cta-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.lp-cta {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: var(--lp-purple);
  border: none;
  padding: 0.95rem 1.6rem;
  border-radius: 1.1rem 0.4rem 0.9rem 0.5rem / 0.5rem 0.9rem 0.4rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transform: rotate(-0.5deg);
  transition: transform 0.2s ease, background 0.2s ease;
}
.lp-cta:hover { background: var(--lp-pink); transform: rotate(-1.5deg); }
.lp-cta:focus-visible { outline: 2px solid var(--lp-ink); outline-offset: 3px; }

.lp-secondary-link {
  font-size: 0.88rem;
  color: var(--lp-purple-deep);
  opacity: 0.85;
  text-decoration: none;
  border-bottom: 1px solid rgba(109,40,217,0.35);
  padding-bottom: 2px;
}
.lp-secondary-link:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .lp-column { animation: none; }
  .lp-tile.lp-tile--focus {
    transform: translateZ(0) scale(1);
    filter: blur(3px) brightness(0.55) saturate(0.85);
  }
}

/* ---- Mobile hero ---- */

@media (max-width: 700px) {
  .lp-stage { perspective-origin: 50% 38%; }

  .lp-hero {
    padding: 8vw;
    max-width: none;
    background: radial-gradient(ellipse 60% 46% at 50% 50%,
      rgba(255,254,251,0.96) 0%,
      rgba(255,254,251,0.93) 52%,
      rgba(255,254,251,0.6) 74%,
      rgba(255,254,251,0) 98%);
  }

  .lp-title { font-size: clamp(2rem, 9.5vw, 2.6rem); }

  .lp-tile.lp-tile--focus {
    transform: translateZ(var(--lift, 120px)) scale(1.5);
  }
}

/* ---- Below-the-fold CTA sections ---- */

.lp-cta-section {
  position: relative;
  padding: 7rem 7vw;
  background: var(--lp-cream);
  color: var(--lp-ink);
}

.lp-cta-inner {
  max-width: 780px;
  margin: 0 auto;
}

.lp-cta-inner--left  { margin-left: max(0px, calc(50% - 550px)); }
.lp-cta-inner--right { margin-right: max(0px, calc(50% - 550px)); margin-left: auto; }

.lp-cta-inner--center { text-align: center; }
.lp-cta-inner--center .lp-cta-badge   { margin-left: auto; margin-right: auto; }
.lp-cta-inner--center .lp-brush       { margin-left: auto; margin-right: auto; }
.lp-cta-inner--center .lp-cta-body    { margin-left: auto; margin-right: auto; }
.lp-cta-inner--center .lp-cta-buttons { justify-content: center; }

/* Decorative polaroids in section margins */

.lp-deco-polaroid {
  position: absolute;
  top: 50%;
  width: 270px;
  background: #fbf8f1;
  padding: 14px 14px 48px;
  border-radius: 2px;
  box-shadow: 0 12px 34px rgba(43,35,64,0.2),
              inset 0 1px 0 rgba(255,255,255,0.65),
              inset 0 -1px 1px rgba(60,50,35,0.18);
  transform: translateY(-50%) rotate(var(--rot, 4deg));
  pointer-events: none;
}
.lp-deco-polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.lp-deco-polaroid .lp-deco-caption {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  text-align: center;
  font-family: 'Permanent Marker', cursive;
  font-size: 1rem;
  color: #23201c;
  opacity: 0.9;
  transform: rotate(-2deg);
}
.lp-deco-polaroid--right { right: calc(50% - 570px); }
.lp-deco-polaroid--left  { left: calc(50% - 570px); }

@media (max-width: 1180px) {
  .lp-deco-polaroid { display: none; }
}

/* Badges */

.lp-cta-badge {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Alfa Slab One', serif;
  font-size: 1.15rem;
  margin-bottom: 1.6rem;
  border-radius: 50%;
  transform: rotate(-6deg);
}
.lp-cta-badge--purple { background: var(--lp-purple); }
.lp-cta-badge--pink   { background: var(--lp-pink); }

.lp-cta-badge--square {
  border-radius: 1.1rem 0.4rem 0.9rem 0.5rem / 0.5rem 0.9rem 0.4rem 1.1rem;
  transform: rotate(5deg);
}

.lp-cta-badge--burst {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='98,50 79,57.8 91.6,74 71.2,71.2 74,91.6 57.8,79 50,98 42.2,79 26,91.6 28.8,71.2 8.4,74 21,57.8 2,50 21,42.2 8.4,26 28.8,28.8 26,8.4 42.2,21 50,2 57.8,21 74,8.4 71.2,28.8 91.6,26 79,42.2' fill='%23FF5DA2'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

/* CTA section eyebrows */

.lp-cta-eyebrow {
  display: inline-block;
  font-family: 'Permanent Marker', cursive;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.42em 0.95em 0.36em;
  border-radius: 1.1rem 0.4rem 0.9rem 0.5rem / 0.5rem 0.9rem 0.4rem 1.1rem;
  transform: rotate(-2deg);
  margin-bottom: 1.1rem;
}
.lp-cta-eyebrow--purple { background: var(--lp-purple); }
.lp-cta-eyebrow--pink   { background: var(--lp-pink); }

/* CTA headings */

.lp-cta-heading {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 1.4rem 0;
  text-wrap: balance;
  color: var(--lp-ink);
  width: fit-content;
}
.lp-cta-inner--center .lp-cta-heading { margin-left: auto; margin-right: auto; }

.lp-cta-body {
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 56ch;
  opacity: 0.75;
  margin: 0 0 2rem 0;
}

.lp-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */

.lp-btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.6rem;
  border-radius: 1.1rem 0.4rem 0.9rem 0.5rem / 0.5rem 0.9rem 0.4rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transform: rotate(-0.5deg);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.lp-btn:hover { transform: rotate(-1.5deg); }
.lp-btn:focus-visible { outline: 2px solid var(--lp-ink); outline-offset: 3px; }

.lp-btn-solid {
  background: var(--lp-purple);
  color: #fff;
}
.lp-btn-solid:hover { background: var(--lp-pink); }

.lp-btn-solid--pink { background: var(--lp-pink); }
.lp-btn-solid--pink:hover { background: var(--lp-purple); }

.lp-btn-outline {
  background: transparent;
  border-color: var(--lp-ink);
  color: var(--lp-ink);
  opacity: 0.85;
}
.lp-btn-outline:hover { background: rgba(43,35,64,0.05); opacity: 1; }

/* Bunting divider */

.lp-bunting-rule {
  border: none;
  height: 30px;
  margin: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cpath d='M0 4 Q 30 9 60 4 T 120 4' stroke='rgba(43,35,64,0.35)' stroke-width='1.4' fill='none'/%3E%3Cpolygon points='13,6 33,6.6 23,26' fill='%238B5CF6'/%3E%3Cpolygon points='72,6.6 92,6 82,25' fill='%23FF5DA2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 120px 30px;
}

/* ---- Footer ---- */

.lp-site-footer {
  background: var(--lp-cream);
  color: var(--lp-ink);
  padding: 4.5rem 7vw 2.5rem;
  border-top: 4px solid var(--lp-purple);
}

.lp-footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}

.lp-footer-brand {
  max-width: 320px;
}

.lp-footer-brand-title {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.35rem;
  margin: 0 0 0.6rem 0;
}

.lp-footer-brand-tagline {
  font-size: 0.92rem;
  opacity: 0.6;
  line-height: 1.6;
  margin: 0;
}

.lp-footer-heading {
  display: inline-block;
  font-family: 'Permanent Marker', cursive;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lp-purple-deep);
  background: rgba(139,92,246,0.13);
  padding: 0.4em 0.9em 0.34em;
  border-radius: 1.1rem 0.4rem 0.9rem 0.5rem / 0.5rem 0.9rem 0.4rem 1.1rem;
  transform: rotate(-2deg);
  margin: 0 0 1rem 0;
}

.lp-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lp-footer-nav a {
  color: var(--lp-ink);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.92rem;
}
.lp-footer-nav a:hover { opacity: 1; color: var(--lp-purple-deep); }

.lp-footer-contact a {
  display: block;
  color: var(--lp-pink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.lp-footer-contact a:hover { text-decoration: underline; }

.lp-footer-bottom {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(43,35,64,0.1);
  font-size: 0.8rem;
  opacity: 0.5;
  text-align: center;
}
