:root {
  --ink: #272323;
  --paper: #f8f5ed;
  --paper-deep: #eee9df;
  --pink: #ff1392;
  --pink-dark: #da006d;
  --green: #20bd58;
  --green-dark: #075b3a;
  --acid: #d8f45b;
  --blue: #235bed;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); overflow-x: hidden; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.hero { min-height: 92svh; position: relative; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; background: var(--paper); }
.grain { position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.hero-copy { z-index: 2; align-self: start; text-align: center; padding-top: clamp(3.5rem, calc(8vh + 1rem), 7rem); }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .22em; font-weight: 600; font-size: .78rem; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; font: 700 clamp(6.5rem, 18vw, 16rem)/.74 var(--display); letter-spacing: -.07em; text-transform: uppercase; }
h1 span { color: var(--pink); }
.hero-intro { max-width: 38rem; margin: 2rem auto 0; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.7; padding: 0 1.5rem; }
.watermelon-stage { position: relative; z-index: 1; height: clamp(290px, 42vw, 620px); margin-top: clamp(2.5rem, calc(8vh - 1rem), 5rem); perspective: 1000px; }
.watermelon { position: absolute; width: min(1060px, 94vw); aspect-ratio: 1.9/1; left: 50%; bottom: -13%; transform: translateX(-50%) rotate(-1deg); filter: drop-shadow(0 28px 20px rgb(39 35 35 / .16)); animation: float 5s ease-in-out infinite; transform-style: preserve-3d; }
.rind, .flesh { position: absolute; left: 50%; transform: translateX(-50%); clip-path: ellipse(50% 69% at 50% 0%); border-radius: 2% 2% 50% 50%; }
.rind-outer { top: 0; width: 100%; height: 100%; background: var(--green); }
.rind-inner { top: 0; width: 94%; height: 91%; background: var(--green-dark); }
.flesh { top: 0; width: 89%; height: 83%; background: var(--pink); overflow: hidden; }
.flesh::after { content: ""; position: absolute; inset: 0; opacity: .15; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence baseFrequency='.04' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='.45'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.seed { position: absolute; z-index: 2; width: clamp(14px, 2.4vw, 28px); aspect-ratio: .6/1; background: var(--ink); border-radius: 80% 10% 80% 20%; transform: rotate(45deg); animation: seed-bob 3s ease-in-out infinite; }
.seed-1 { left: 15%; top: 22%; --r: 65deg; }.seed-2 { left: 25%; top: 43%; --r: 55deg; animation-delay: -.5s; }.seed-3 { left: 36%; top: 58%; --r: 35deg; animation-delay: -1.2s; }
.seed-4 { left: 48%; top: 65%; --r: 43deg; animation-delay: -.8s; }.seed-5 { right: 36%; top: 58%; --r: 52deg; animation-delay: -1.7s; }.seed-6 { right: 25%; top: 43%; --r: 32deg; animation-delay: -.3s; }
.seed-7 { right: 15%; top: 22%; --r: 24deg; animation-delay: -1.1s; }.seed-8 { left: 33%; top: 23%; --r: 52deg; }.seed-9 { right: 33%; top: 23%; --r: 34deg; animation-delay: -1.4s; }
.slice-copy { position: absolute; z-index: 3; left: 50%; top: 21%; transform: translateX(-50%); margin: 0; color: white; text-transform: uppercase; white-space: nowrap; font: 700 clamp(1.4rem, 4.8vw, 4.5rem)/1 var(--display); letter-spacing: .12em; }
.scroll-cue { z-index: 5; justify-self: center; text-decoration: none; display: flex; align-items: center; gap: .8rem; padding: 1rem 1rem 1.6rem; text-transform: uppercase; letter-spacing: .17em; font-size: .72rem; }
.scroll-cue b { font-size: 1.25rem; animation: bounce 1.5s ease-in-out infinite; }
.section { padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - 1280px) / 2)); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: start; border-top: 1px solid rgb(39 35 35 / .3); padding-top: 1.5rem; }
h2 { margin: 0; font: 600 clamp(3.4rem, 7vw, 6.8rem)/.88 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: clamp(3rem, 6vw, 5rem) 0 3rem; background: rgb(39 35 35 / .2); border: 1px solid rgb(39 35 35 / .2); }
.detail-card { position: relative; min-height: 220px; padding: 2rem; background: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; }
.detail-card .number { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--pink); font: 600 .75rem var(--body); }
.detail-card h3 { margin: 0 0 1.5rem; text-transform: uppercase; letter-spacing: .18em; font: 600 .75rem var(--body); }
.detail-card p { margin: 0; font: 500 clamp(1.7rem, 2.5vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.detail-card small { margin-top: .8rem; opacity: .65; }
.text-link { display: inline-flex; gap: .7rem; text-transform: uppercase; letter-spacing: .14em; text-decoration-thickness: 1px; text-underline-offset: .5rem; font-size: .78rem; }
.mood { position: relative; min-height: auto; display: grid; place-items: center; background: var(--paper-deep); color: var(--ink); overflow: hidden; }
.mood-copy { max-width: 840px; text-align: center; z-index: 2; }
.mood h2 em { color: var(--pink); font-style: normal; }
.mood-copy > p:last-child { max-width: 640px; margin: 2.5rem auto 0; line-height: 1.8; }
.mood-sticker { position: absolute; z-index: 1; padding: 1rem 1.5rem; border: 2px solid currentColor; border-radius: 50%; font: 600 clamp(1.3rem, 2.5vw, 2.5rem) var(--display); text-transform: uppercase; }
.sticker-one { top: 12%; left: 5%; transform: rotate(-12deg); }.sticker-two { right: 4%; bottom: 13%; transform: rotate(10deg); }
.gifts { position: relative; min-height: auto; display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; overflow: hidden; background: var(--paper); border-top: 1px solid rgb(39 35 35 / .12); }
.gifts-inner { max-width: 700px; z-index: 2; }
.gifts-inner > p:nth-of-type(2) { max-width: 570px; line-height: 1.8; margin: 2rem 0; }
.registry-links { display: flex; gap: .75rem; flex-wrap: wrap; }
.registry-links a { border: 1px solid var(--ink); border-radius: 999px; padding: .8rem 1rem; color: inherit; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; transition: color .2s, background .2s, transform .2s; }
.registry-links a:hover { color: var(--paper); background: var(--ink); transform: translateY(-2px); }
.gift-fruit { width: min(340px, 58vw); aspect-ratio: 1; border-radius: 50%; background: var(--pink); border: 34px solid var(--green); box-shadow: inset 0 0 0 15px var(--green-dark); transform: translateX(-18%) rotate(-15deg); position: relative; }
.gift-fruit i { position: absolute; width: 24px; height: 48px; background: var(--ink); border-radius: 80% 10% 80% 20%; }
.gift-fruit i:nth-child(1) { left: 34%; top: 23%; transform: rotate(35deg); }.gift-fruit i:nth-child(2) { right: 25%; top: 45%; transform: rotate(65deg); }.gift-fruit i:nth-child(3) { left: 40%; bottom: 20%; transform: rotate(80deg); }
.rsvp { background: var(--green-dark); color: white; text-align: center; }
.rsvp-card { max-width: 900px; margin: 0 auto; padding: clamp(3rem, 8vw, 7rem); border: 1px solid rgb(255 255 255 / .35); }
.rsvp-card > p:nth-of-type(2) { max-width: 650px; margin: 2rem auto; line-height: 1.8; }
.button { display: inline-flex; gap: 2rem; justify-content: center; align-items: center; margin: 1rem 0 2rem; padding: 1.2rem 1.5rem; min-width: min(100%, 320px); background: var(--pink); color: white; text-decoration: none; text-transform: uppercase; font-size: .78rem; font-weight: 600; letter-spacing: .14em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px) rotate(-1deg); background: var(--pink-dark); }
.rsvp-card small { display: block; opacity: .68; }.rsvp-card small a { color: inherit; }
footer { background: var(--green-dark); color: white; border-top: 1px solid rgb(255 255 255 / .2); padding: 2rem max(1.5rem, calc((100vw - 1280px) / 2)); display: flex; justify-content: space-between; gap: 2rem; font-size: .75rem; }
footer p { margin: 0; } footer a { text-transform: uppercase; letter-spacing: .12em; text-decoration: none; }
.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes float { 0%,100% { transform: translateX(-50%) rotate(-1deg) translateY(0); } 50% { transform: translateX(-50%) rotate(.2deg) translateY(-6px); } }
@keyframes seed-bob { 0%,100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-2px); } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 760px) {
  .hero-copy { padding-top: clamp(3.5rem, calc(7vh + 1rem), 5rem); }
  .watermelon-stage { height: 54vw; min-height: 230px; margin-top: 2.5rem; }
  .watermelon { width: 120vw; bottom: -2%; }
  .section-heading, .gifts { grid-template-columns: 1fr; }
  .section-heading .eyebrow { margin-bottom: 3rem; }
  .details-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: 220px; }
  .mood { min-height: auto; }
  .gift-fruit { position: absolute; right: -25%; top: -15%; opacity: .18; transform: rotate(-15deg); }
  .gifts { min-height: 75vh; }
  .gifts-inner { z-index: 2; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
