:root {
  --purple: #632178;
  --purple-deep: #371047;
  --pink: #ed2a8b;
  --coral: #ff6b61;
  --mustard: #f5bd24;
  --turquoise: #21bbc6;
  --cream: #fff4e7;
  --paper: #fffaf1;
  --ink: #2c1738;
  --muted: #725f78;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(55, 16, 71, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  color: var(--purple);
  padding: 0.7rem 1rem;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 250, 241, 0.93);
  border-bottom: 1px solid rgba(99, 33, 120, 0.12);
  backdrop-filter: blur(14px);
}

.brand-mark,
.topbar-cta,
.button {
  min-height: 44px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 900;
  color: var(--purple);
}

.brand-dot {
  width: 18px;
  height: 18px;
  display: inline-block;
  background: linear-gradient(135deg, var(--pink) 0 50%, var(--turquoise) 50%);
  transform: rotate(-7deg);
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--purple);
  color: var(--purple);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 6px;
}

.section {
  position: relative;
  overflow: hidden;
}

.section-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

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

.hero {
  min-height: calc(100svh - 70px);
  display: grid;
  align-items: end;
  isolation: isolate;
  color: var(--white);
  background: var(--purple-deep);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(55, 16, 71, 0.88), rgba(55, 16, 71, 0.48), rgba(55, 16, 71, 0.18)),
    linear-gradient(0deg, rgba(55, 16, 71, 0.35), transparent 55%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.eyebrow,
.mini-label {
  margin: 0 0 0.8rem;
  color: var(--pink);
  font-weight: 900;
  text-transform: uppercase;
}

.mini-label.light {
  color: var(--mustard);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(4.2rem, 14vw, 9.5rem);
  line-height: 0.84;
  color: var(--white);
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  color: var(--purple);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1;
  text-wrap: balance;
}

h3 {
  color: var(--purple);
}

.script-title {
  margin: 0.7rem 0 1.2rem;
  color: var(--mustard);
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
}

.hero-lede {
  width: min(680px, 100%);
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0;
}

.hero-facts span,
.edition-badge,
.word-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  background: var(--mustard);
  color: var(--purple);
  font-weight: 900;
  border-radius: 5px;
  transform: rotate(-1deg);
}

.hero-facts span:nth-child(2) {
  background: var(--turquoise);
  color: var(--white);
  transform: rotate(1.5deg);
}

.permission,
.paint-statement,
.age-statement,
.arrival-line,
.mystery-line,
.not-everything {
  font-weight: 1000;
  line-height: 1.06;
  text-wrap: balance;
}

.permission {
  margin: 1.4rem 0;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.7rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.95rem 1.15rem;
  border: 0;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 1000;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.primary {
  background: var(--pink);
  color: var(--white);
}

.secondary {
  margin-top: 1rem;
  background: var(--purple);
  color: var(--white);
}

.full {
  width: 100%;
}

.two-column,
.split-gallery,
.solo-layout,
.form-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.two-column,
.split-gallery,
.solo-layout,
.form-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.story-text,
.copy-block,
.travels p,
.form-copy {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.not-this {
  margin: 1.4rem 0;
  padding-left: 1rem;
  border-left: 5px solid var(--turquoise);
}

.paint-statement {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 1rem 1.1rem;
  color: var(--white);
  background: var(--purple);
  border-radius: 6px;
  transform: rotate(-1deg);
  font-size: clamp(1.3rem, 3vw, 2.35rem);
}

.collage {
  min-height: 520px;
  position: relative;
}

.polaroid {
  position: absolute;
  width: min(260px, 48vw);
  margin: 0;
  padding: 0.75rem 0.75rem 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 4px;
}

.polaroid:nth-child(1) {
  left: 2%;
  top: 2rem;
}

.polaroid:nth-child(2) {
  right: 0;
  top: 9rem;
}

.polaroid:nth-child(3) {
  left: 20%;
  bottom: 2rem;
}

.tilt-left {
  transform: rotate(-5deg);
}

.tilt-right {
  transform: rotate(4deg);
}

.polaroid figcaption {
  padding-top: 0.55rem;
  color: var(--purple);
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  text-align: center;
}

.small-photo {
  display: block;
  width: 100%;
  height: 210px;
  min-height: 210px;
  object-fit: cover;
}

.moment-photo {
  display: block;
  width: 100%;
  height: 118px;
  margin-bottom: 0.8rem;
  border-radius: 5px;
  object-fit: cover;
}

.moment-card:nth-child(1) .moment-photo {
  object-position: center 54%;
}

.moment-card:nth-child(3) .moment-photo {
  object-position: center 44%;
}

.tall-photo {
  display: block;
  width: 100%;
  height: 620px;
  min-height: 620px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-position: center 42%;
}

.wide-photo {
  display: block;
  width: 100%;
  height: 320px;
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.glimpse-photos .wide-photo:first-child {
  object-position: center 48%;
}

.glimpse-photos .wide-photo:nth-child(2) {
  object-position: center 48%;
}

.closing-photo {
  object-position: center 46%;
}

.days-band,
.signup {
  color: var(--white);
  background: var(--purple-deep);
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.day-card,
.moment-card,
.lead-form {
  border-radius: 8px;
}

.day-card {
  min-height: 290px;
  padding: 1.25rem;
  background: var(--white);
  color: var(--ink);
}

.day-card p {
  margin-bottom: 0.35rem;
  color: var(--purple);
  font-weight: 900;
  text-transform: uppercase;
}

.day-card h3 {
  margin-bottom: 0.8rem;
  color: var(--purple);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.day-card.pink h3 {
  color: var(--pink);
}

.day-card.cyan h3 {
  color: var(--turquoise);
}

.mystery-line {
  width: min(820px, 100%);
  margin: 2rem auto 0;
  color: var(--mustard);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  text-align: center;
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.moment-card {
  min-height: 220px;
  padding: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.moment-card:nth-child(even) {
  transform: rotate(1deg);
}

.moment-card h3 {
  font-size: 1.45rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.moment-card.secret {
  color: var(--white);
  background: var(--pink);
}

.moment-card.secret h3 {
  color: var(--white);
}

.mystery-mark {
  margin: 0.45rem 0 0;
  color: var(--mustard);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 1000;
  font-style: italic;
  line-height: 0.85;
  transform: rotate(-8deg);
}

.for-you-layout {
  display: grid;
  gap: 1.6rem;
}

.for-you-layout h2 {
  max-width: 840px;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 0.95rem 1rem;
  border-left: 5px solid var(--pink);
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 10px 28px rgba(55, 16, 71, 0.08);
}

.age-statement {
  margin: 0;
  color: var(--purple);
  font-size: clamp(1.75rem, 4.2vw, 3.6rem);
  text-align: center;
}

.age-statement span {
  display: block;
  margin-top: 0.55rem;
  color: var(--pink);
  font-size: 0.78em;
}

.age-cta {
  display: flex;
  width: fit-content;
  margin: 1.4rem auto 0;
}

.solo-copy {
  align-self: center;
}

.big-answer {
  color: var(--pink);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 1000;
  line-height: 0.95;
}

.arrival-line {
  margin-top: 1.3rem;
  color: var(--purple);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
}

.word-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 2rem;
}

.word-cloud span:nth-child(3n) {
  background: var(--pink);
  color: var(--white);
}

.word-cloud span:nth-child(4n) {
  background: var(--turquoise);
  color: var(--white);
}

.word-cloud span:nth-child(5n) {
  background: var(--coral);
  color: var(--white);
}

.glimpse-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.not-everything {
  margin: 2rem 0 0;
  color: var(--purple);
  font-size: clamp(2rem, 5vw, 4.5rem);
}

.not-everything span {
  color: var(--pink);
}

.edition-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1rem;
  background: var(--pink);
  color: var(--white);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
}

.edition-badge span {
  color: var(--mustard);
}

.form-layout {
  align-items: start;
}

.signup h2,
.signup .form-copy,
.days-band h2 {
  color: var(--white);
}

.lead-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 2rem);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-intro {
  padding: 0.95rem 1rem;
  border-radius: 8px;
  background: var(--cream);
  border: 2px solid rgba(237, 42, 139, 0.25);
}

.form-intro h3 {
  margin-bottom: 0.45rem;
  color: var(--pink);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.form-intro p {
  margin-bottom: 0.35rem;
}

.form-intro p:last-child {
  margin-bottom: 0;
}

label,
fieldset {
  display: grid;
  gap: 0.45rem;
  font-weight: 900;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem;
  border: 2px solid rgba(99, 33, 120, 0.25);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(33, 187, 198, 0.35);
  border-color: var(--purple);
}

fieldset {
  margin: 0;
  padding: 1rem;
  border: 2px dashed rgba(99, 33, 120, 0.28);
  border-radius: 6px;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

fieldset input {
  width: 1rem;
  min-height: auto;
}

.tiny {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.success-message {
  padding: 1rem;
  border-radius: 8px;
  background: var(--cream);
  border: 2px solid var(--mustard);
}

.success-message h3 {
  margin-bottom: 0.5rem;
  color: var(--pink);
  font-size: 1.5rem;
}

.success-message p:last-child {
  margin-bottom: 0;
}

.closing {
  color: var(--white);
  background: var(--purple-deep);
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(55, 16, 71, 0.9), rgba(55, 16, 71, 0.45), rgba(55, 16, 71, 0.18)),
    linear-gradient(0deg, rgba(55, 16, 71, 0.62), transparent 70%);
}

.closing-photo {
  display: block;
  width: 100%;
  height: 520px;
  min-height: 520px;
  object-fit: cover;
}

.closing-copy {
  position: relative;
  z-index: 1;
  margin-top: -16rem;
  padding-bottom: 4rem;
}

.closing-copy h2 {
  width: min(820px, 100%);
  color: var(--white);
}

.closing-copy > p {
  width: min(700px, 100%);
  font-size: 1.2rem;
}

.closing-brand {
  color: var(--mustard);
  font-weight: 1000;
}

.closing-brand span {
  color: var(--white);
  font-style: italic;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  background: var(--white);
}

.site-footer img {
  width: 180px;
}

address {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.2rem;
  font-style: normal;
}

address a {
  color: var(--purple);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border-radius: 7px;
  background: #25d366;
  color: #102617;
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .two-column,
  .split-gallery,
  .solo-layout,
  .form-layout,
  .days-grid,
  .glimpse-photos {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 780px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(55, 16, 71, 0.94), rgba(55, 16, 71, 0.56));
  }

  .collage {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .polaroid,
  .polaroid:nth-child(1),
  .polaroid:nth-child(2),
  .polaroid:nth-child(3) {
    position: static;
    width: 100%;
  }

  .moment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tall-photo {
    height: 420px;
    min-height: 420px;
  }

  .closing-copy {
    margin-top: -12rem;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-mark,
  .topbar-cta {
    justify-content: center;
  }

  .hero {
    min-height: 840px;
  }

  .hero-copy {
    padding-top: 4rem;
  }

  .moment-grid {
    grid-template-columns: 1fr;
  }

  .section-inner {
    width: min(100% - 1.2rem, 1120px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  address {
    justify-content: flex-start;
  }

  .whatsapp-float {
    left: 1rem;
    right: auto;
  }

  .age-statement {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }

  .age-statement span {
    font-size: 0.72em;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
