:root {
  --paper: #f4eee5;
  --ink: #251f1c;
  --cherry: #8f1832;
  --pink: #dfa0a7;
  --butter: #e7c66b;
  --sage: #aab09a;
  --line: rgba(37, 31, 28, 0.25);
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
}
body::selection { color: var(--paper); background: var(--cherry); }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .07;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(22px, 5vw, 72px);
}
.monogram { font: 28px/1 var(--serif); color: var(--ink); text-decoration: none; }
.monogram span { color: var(--cherry); font-size: .7em; margin: 0 3px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.nav-cta { padding: 11px 18px; border: 1px solid var(--ink); border-radius: 99px; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: center;
  gap: 4vw;
  position: relative;
  padding: 120px clamp(24px, 8vw, 130px) 70px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 34vw;
  height: 34vw;
  min-width: 360px;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 50%;
  right: -12vw;
  top: -10vw;
}
.eyebrow { margin: 0 0 22px; font-size: 11px; letter-spacing: .2em; font-weight: 600; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; margin: 0; }
h1 { max-width: 820px; font-size: clamp(68px, 8vw, 132px); line-height: .87; }
h1 em { color: var(--cherry); font-weight: 400; }
.hero-note { max-width: 540px; margin: 38px 0 26px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7; }
.text-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-weight: 600; font-size: 13px; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s; }
.text-link:hover span { transform: translateY(4px); }

.hero-art { position: relative; min-height: 600px; }
.sun { position: absolute; width: 420px; height: 420px; background: var(--pink); border-radius: 50%; top: 70px; left: 8%; }
.polaroid { position: absolute; background: #fffaf3; padding: 13px 13px 20px; width: 250px; box-shadow: 0 20px 45px rgba(50, 30, 25, .16); }
.polaroid p { font-family: var(--serif); text-align: center; font-size: 20px; margin: 15px 0 0; }
.polaroid-one { top: 10px; right: 7%; transform: rotate(7deg); }
.polaroid-two { bottom: 20px; left: 0; transform: rotate(-8deg); }
.photo { height: 265px; display: grid; place-items: end center; overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid-one .photo img { object-position: 50% 48%; }
.polaroid-two .photo img { object-position: 56% 50%; }
.photo::before, .photo::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.gradient-one { background: linear-gradient(165deg, #e7bf9e, #8c5f59 55%, #2b2933); }
.gradient-one::before { width: 130px; height: 180px; background: #2b2020; left: 44px; top: 86px; border-radius: 55% 55% 20% 20%; transform: rotate(-8deg); }
.gradient-one::after { width: 120px; height: 174px; background: #4d3230; right: 18px; top: 92px; border-radius: 55% 55% 20% 20%; transform: rotate(8deg); }
.gradient-two { background: linear-gradient(180deg, #c8d3c1, #8a9b83 50%, #d9bd86); }
.gradient-two::before { width: 170px; height: 230px; background: linear-gradient(#5f4a42, #302926); left: 40px; top: 62px; border-radius: 50% 50% 15% 15%; }
.photo span { z-index: 2; color: rgba(255,255,255,.85); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 10px; }
.stamp { position: absolute; right: -15px; bottom: 90px; width: 98px; height: 98px; border: 1px solid var(--cherry); color: var(--cherry); border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; transform: rotate(12deg); z-index: 2; }
.scribble { position: absolute; left: 20px; top: 35%; z-index: 2; font: 120px/1 var(--serif); color: var(--cherry); transform: rotate(-12deg); }
.side-note { position: absolute; left: 26px; bottom: 55px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }

.marquee { overflow: hidden; background: var(--cherry); color: #fff7ee; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 26px; animation: scroll 25s linear infinite; font-family: var(--serif); font-size: 25px; }
.marquee-track i { color: var(--butter); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

.section { padding: clamp(100px, 13vw, 190px) clamp(24px, 8vw, 130px); }
.story { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; }
.section-heading { position: sticky; top: 100px; align-self: start; }
h2 { font-size: clamp(58px, 7vw, 108px); line-height: .9; }
.timeline { border-top: 1px solid var(--line); }
.moment { display: grid; grid-template-columns: 80px 1fr; gap: 30px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.number { font-family: var(--serif); color: var(--cherry); font-size: 32px; }
.moment-label { margin: 0 0 20px; font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.moment h3 { font: 400 clamp(30px, 3vw, 46px)/1.05 var(--serif); margin: 0 0 20px; }
.moment p:last-child { max-width: 580px; color: #5f5550; line-height: 1.8; }

.reasons { background: #dba0a6; overflow: hidden; }
.reasons-intro { max-width: 700px; margin-bottom: 80px; }
.reasons-intro > p:last-child { font-size: 16px; margin-top: 28px; }
.reason-deck { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reason-card { aspect-ratio: .72; position: relative; display: flex; flex-direction: column; justify-content: space-between; text-align: left; padding: 28px; border: 0; border-radius: 3px; color: var(--paper); background: var(--cherry); cursor: pointer; transform: rotate(var(--tilt)); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s, color .35s; box-shadow: 0 12px 30px rgba(75,25,35,.18); }
.reason-card:nth-child(even) { color: var(--ink); background: var(--paper); }
.reason-card:hover { transform: rotate(0) translateY(-10px); }
.reason-card.open { transform: rotate(0) translateY(-12px); background: var(--butter); color: var(--ink); }
.reason-number, .tap { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.reason-title { font: 400 clamp(34px, 3.6vw, 58px)/.95 var(--serif); }
.reason-detail { position: absolute; inset: 70px 28px 70px; display: grid; place-items: center; font: 400 clamp(21px, 2vw, 28px)/1.35 var(--serif); opacity: 0; transform: translateY(12px); transition: .3s; }
.reason-card.open .reason-title { opacity: 0; }
.reason-card.open .reason-detail { opacity: 1; transform: translateY(0); }

.gallery { background: #eee4d8; }
.gallery-heading { display: grid; grid-template-columns: 1fr 1.35fr; gap: 30px 8vw; align-items: end; margin-bottom: 80px; }
.gallery-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.gallery-heading > p:last-child { max-width: 450px; margin: 0 0 6px; font-size: 18px; line-height: 1.7; color: #5f5550; }
.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.gallery-photo { grid-column: span 4; margin: 0; position: relative; }
.gallery-photo.tall { grid-column: span 5; grid-row: span 2; }
.gallery-photo.wide { grid-column: span 7; }
.gallery-photo.cinematic { grid-column: 2 / span 10; margin-top: 40px; }
.gallery-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; filter: saturate(.9) contrast(.98); transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; }
.gallery-photo.tall img { aspect-ratio: 4 / 5.4; }
.gallery-photo.wide img { aspect-ratio: 16 / 10; }
.gallery-photo.cinematic img { aspect-ratio: 16 / 8.5; }
.gallery-photo:hover img { transform: scale(.985); filter: saturate(1.05) contrast(1); }
.gallery-photo figcaption { display: flex; gap: 16px; margin-top: 14px; font: 20px/1.35 var(--serif); }
.gallery-photo figcaption span { padding-top: 5px; color: var(--cherry); font: 9px/1 var(--sans); letter-spacing: .14em; }

.letter { min-height: 900px; display: grid; place-items: center; background: #aab09a; position: relative; }
.letter::before { content: ""; position: absolute; inset: 10% 7%; border: 1px solid rgba(37,31,28,.3); border-radius: 50%; transform: rotate(-4deg); }
.letter-paper { position: relative; width: min(800px, 92vw); background: #fffaf1; padding: clamp(50px, 8vw, 110px); box-shadow: 0 30px 70px rgba(40,45,35,.22); transform: rotate(1.5deg); }
.letter-text { margin: 0 0 40px; font: 400 clamp(38px, 5vw, 68px)/1.12 var(--serif); }
.letter-body { font-size: 17px; line-height: 1.9; max-width: 620px; }
.signature { margin-top: 42px; }
.signature span { display: block; color: var(--cherry); font: 42px/1.2 var(--serif); font-style: italic; }
.wax-seal { position: absolute; right: 55px; bottom: 48px; width: 72px; height: 72px; display: grid; place-items: center; color: #f2c5c0; background: var(--cherry); border-radius: 50% 45% 50% 46%; box-shadow: 2px 4px 0 #691125; font: 16px var(--serif); }

.illustrated-future { background: var(--ink); }
.future-frame { position: relative; max-width: 1500px; margin: 0 auto; }
.future-frame::before { content: ""; position: absolute; inset: -18px; border: 1px solid rgba(244,238,229,.25); z-index: 2; pointer-events: none; }
.future-frame img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.future-frame::after { content: "OUR NEXT ADVENTURE"; position: absolute; top: 20px; right: 22px; padding: 10px 13px; color: var(--paper); border: 1px solid rgba(244,238,229,.65); font-size: 9px; letter-spacing: .18em; }
.future-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(30px, 6vw, 80px); color: var(--paper); background: linear-gradient(transparent, rgba(22,17,14,.84)); }
.future-caption h2 { max-width: 940px; font-size: clamp(48px, 6.6vw, 104px); }

.question { min-height: 90svh; position: relative; display: grid; place-items: center; text-align: center; color: var(--paper); background: var(--cherry); overflow: hidden; }
.question-inner { position: relative; z-index: 2; max-width: 900px; }
.question h2 { font-size: clamp(70px, 10vw, 150px); max-width: 1000px; }
.question-inner > p:not(.eyebrow):not(.extra-reason) { margin: 34px auto; max-width: 570px; font-size: 18px; line-height: 1.7; }
.question-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.yes-button, .more-button { padding: 17px 27px; border-radius: 99px; border: 1px solid var(--paper); font: 600 14px var(--sans); cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.yes-button { color: var(--cherry); background: var(--paper); }
.yes-button:hover { transform: scale(1.06); }
.more-button { color: var(--paper); background: transparent; }
.more-button:hover { color: var(--cherry); background: var(--paper); }
.extra-reason { min-height: 24px; font: 24px var(--serif); color: #f1d08a; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.orbit-one { width: 70vw; height: 70vw; min-width: 700px; min-height: 700px; }
.orbit-two { width: 47vw; height: 47vw; min-width: 480px; min-height: 480px; }
footer { display: flex; justify-content: space-between; padding: 25px clamp(24px, 5vw, 72px); background: var(--ink); color: #d9cdc0; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }

.celebration { width: min(620px, 90vw); border: 0; border-radius: 4px; padding: 70px 45px; color: var(--ink); background: var(--paper); text-align: center; box-shadow: 0 30px 100px rgba(0,0,0,.35); overflow: hidden; }
.celebration::backdrop { background: rgba(37,31,28,.75); backdrop-filter: blur(8px); }
.celebration h2 { color: var(--cherry); }
.celebration p { font-size: 18px; }
.close-modal { position: absolute; top: 14px; right: 18px; border: 0; background: none; font-size: 30px; cursor: pointer; }
.big-heart { display: block; margin-top: 20px; color: var(--cherry); font-size: 50px; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.2); } }
.confetti i { position: absolute; top: -20px; width: 8px; height: 16px; animation: fall 2.8s linear forwards; }
@keyframes fall { to { transform: translateY(620px) rotate(720deg); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reason-card.reveal.visible { transform: rotate(var(--tilt)); }
.reason-card.reveal.visible:hover, .reason-card.reveal.visible.open { transform: rotate(0) translateY(-10px); }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-art { min-height: 570px; margin-top: 20px; }
  .story { grid-template-columns: 1fr; gap: 70px; }
  .section-heading { position: static; }
  .reason-deck { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .reason-card { aspect-ratio: .84; }
  .gallery-heading { grid-template-columns: 1fr; }
  .gallery-heading .eyebrow { grid-column: auto; }
  .gallery-photo, .gallery-photo.tall, .gallery-photo.wide { grid-column: span 6; }
  .gallery-photo.cinematic { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-header { padding: 20px; }
  h1 { font-size: clamp(60px, 20vw, 88px); }
  .hero { padding-inline: 22px; }
  .hero-note { margin-top: 28px; }
  .hero-art { min-height: 490px; transform: scale(.88); transform-origin: left top; width: 112%; }
  .sun { width: 330px; height: 330px; }
  .polaroid { width: 210px; }
  .photo { height: 220px; }
  .polaroid-one { right: 1%; }
  .side-note { display: none; }
  .section { padding-inline: 22px; }
  .moment { grid-template-columns: 48px 1fr; gap: 15px; }
  .reason-deck { display: flex; overflow-x: auto; padding: 12px 14px 28px; margin-inline: -22px; scroll-snap-type: x mandatory; }
  .reason-card { min-width: 78vw; scroll-snap-align: center; }
  .letter-paper { padding: 48px 28px 110px; }
  .wax-seal { right: 28px; bottom: 28px; }
  .photo-grid { display: block; }
  .gallery-photo, .gallery-photo.tall, .gallery-photo.wide, .gallery-photo.cinematic { margin: 0 0 44px; }
  .gallery-photo img, .gallery-photo.tall img, .gallery-photo.wide img, .gallery-photo.cinematic img { aspect-ratio: 4 / 5; }
  .gallery-photo.cinematic img { aspect-ratio: 16 / 11; }
  .future-frame::before { inset: -8px; }
  .future-frame img { aspect-ratio: 4 / 5; object-position: 52% center; }
  footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
