/* Homepage only. The shared content pages retain their existing presentation. */
body.home-page { background: #fff; }
.home .container { width: min(1200px, calc(100% - 96px)); }
.home { --home-blue: #214edb; --home-pink: #eb4479; }
.home section[id] { scroll-margin-top: 108px; }
.home .kicker { font-size: .8125rem; letter-spacing: .12em; color: #254c9a; }
.home h1, .home h2 { font-family: var(--font); font-weight: 600; letter-spacing: -.055em; }
.home h2 { font-size: clamp(2.2rem, 4vw, 3.75rem); line-height: 1.06; margin: 0; }
.home p { text-wrap: pretty; }
.home-hero { overflow: hidden; background: #edf5ff; }
.home-hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.home-hero-copy { padding: 64px 0; position: relative; z-index: 1; }
.home-hero h1 { font-size: clamp(3.7rem, 6.5vw, 6.1rem); line-height: 1.02; white-space: nowrap; }
.home-hero h1 span { color: var(--home-blue); font-family: var(--display); font-size: .8em; font-weight: 560; letter-spacing: -.065em; }
.home-lede { color: #3e506d; font-size: 1.25rem; line-height: 1.6; margin: 26px 0 30px; }
.home .store-row { gap: 12px; }
.home .store img { height: 46px; }
.home .store { transition: transform .18s ease; }
.home .store:hover { transform: translateY(-3px); }
.home-note { color: #53617a; font-size: .875rem; margin: 14px 0 0; }
.home-how-link { display: inline-block; color: var(--ink); text-underline-offset: 5px; font-size: .9375rem; margin-top: 32px; font-weight: 550; }
.home-hero-art { position: relative; align-self: stretch; margin: 30px -48px 30px 0; }
.party-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; border-radius: 160px 12px 12px 12px; }
@media (min-width: 761px) {
  /* Header is 88px. The 72px reserve keeps the art margin and a little air inside the first screen. */
  .home-hero-copy { padding-block: clamp(20px, calc((100svh - 600px) / 2), 64px); }
  .home-hero-art { align-self: center; justify-self: end; width: max-content; max-width: 100%; min-width: 0; }
  .party-photo { width: auto; height: auto; max-width: 100%; max-height: 720px; max-height: min(720px, calc(100svh - 88px - 72px)); object-fit: contain; }
}
.invite-note { display: flex; gap: 18px; align-items: center; position: absolute; z-index: 2; bottom: 40px; left: -42px; width: min(440px, calc(100% + 18px)); padding: 24px; border: 1px solid #d5e2ff; border-radius: 22px; background: #fff; box-shadow: 0 20px 55px #0b1b3a26; transform: rotate(-3deg); animation: invite-note-enter .65s cubic-bezier(.2, .8, .2, 1) .2s backwards, invite-note-float 2s ease-in-out .85s 2; }
.invite-note-icon { display: grid; place-items: center; flex: none; background: #dff9ed; color: #147d50; width: 54px; height: 54px; border-radius: 50%; font-size: 1.9rem; }
.invite-note strong, .invite-note div > span { display: block; }
.invite-note strong { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.invite-note div > span { color: #53617a; font-size: 1rem; margin-top: 8px; }
@keyframes invite-note-enter {
  from { opacity: 0; transform: translateY(20px) rotate(-5deg) scale(.94); }
  to { opacity: 1; transform: translateY(0) rotate(-3deg) scale(1); }
}
@keyframes invite-note-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}
.party-spark { position: absolute; line-height: 1; }
.spark-one { top: 19px; left: -20px; font-size: 5.5rem; color: var(--home-pink); transform: rotate(12deg); }
.spark-two { right: -9px; bottom: 145px; font-size: 4.5rem; color: #ffcf43; transform: rotate(-15deg); }
.home-promise { background: var(--ink); color: #fff; }
.home-promise .container { display: flex; justify-content: space-around; align-items: center; gap: 32px; padding-block: 28px; font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.home-promise span::before { content: '✓'; color: #80e8ee; margin-right: 12px; font-size: 1.2em; font-weight: 700; }
.home-section { padding-block: 104px; }
.home-section-heading { text-align: center; margin-bottom: 48px; }
.home-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.home-benefit h3 { font-size: 1.45rem; letter-spacing: -.035em; margin: 24px 0 8px; }
.home-benefit p { color: var(--slate); margin: 0; max-width: 330px; }
.benefit-visual { height: 280px; border-radius: 22px; overflow: hidden; display: grid; place-items: center; }
.design-visual img { height: 100%; width: 100%; object-fit: cover; }
.text-visual { background: #edf4ff; padding: 24px; }
.message-conversation { width: 100%; max-width: 280px; }
.message-date { display: block; text-align: center; font-size: .75rem; color: #65748d; margin-bottom: 18px; }
.message-bubble { color: #fff; background: #2761da; padding: 16px; border-radius: 17px 17px 17px 3px; font-size: 1rem; box-shadow: 0 8px 22px #214edb18; transform: rotate(-3deg); }
.message-link { display: block; font-size: .875rem; padding-top: 12px; text-decoration: underline; text-underline-offset: 3px; }
.message-reply { background: #fff; padding: 12px 14px; border-radius: 14px 14px 3px 14px; margin-top: 17px; margin-left: 40px; font-size: .9375rem; transform: rotate(3deg); }
.reply-visual { background: #e7f5f0; }
.reply-card { display: grid; justify-items: center; gap: 10px; padding: 26px 20px; background: #fff; border-radius: 18px; width: 80%; box-shadow: 0 14px 30px #0b1b3a0d; transform: rotate(-4deg); }
.reply-check { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; background: #259968; font-size: 2rem; }
.reply-card strong { font-size: 1.5rem; letter-spacing: -.04em; }
.reply-card > span:last-of-type { color: #53617a; font-size: .8125rem; }
.reply-confetti { color: #e59120; font-size: 1.2rem; letter-spacing: 16px; padding-left: 16px; }
.reply-confetti span { color: #e9588c; }
.home-text-link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: 1rem; color: #214edb; text-underline-offset: 5px; }
.home-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 18px; }
.home-links .home-text-link { margin-top: 0; }
.home-rsvps { background: #eff5ff; padding-block: 80px; overflow: hidden; }
.home-split, .home-print { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.home-product-art { position: relative; max-height: 590px; border-radius: 36px; background: #a4e9ff; overflow: hidden; text-align: center; }
.home-product-art img { display: block; width: 100%; height: 590px; object-fit: cover; object-position: top; }
.product-caption { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); font-size: .8125rem; padding: 5px 12px; border-radius: 50px; background: #fff; color: #435572; white-space: nowrap; }
.home-feature-copy h2 span { color: var(--home-blue); }
.home-feature-copy > p:not(.kicker) { color: var(--slate); font-size: 1.125rem; line-height: 1.6; margin: 24px 0; max-width: 420px; }
.home-checks { list-style: none; margin: 26px 0 32px; padding: 0; display: grid; gap: 13px; font-size: 1rem; }
.home-checks li::before { content: '✓'; display: inline-block; color: #2657bf; font-weight: 700; margin-right: 12px; }
.home-print { gap: 90px; }
.home-print-art { border-radius: 24px 110px 24px 24px; overflow: hidden; height: 440px; background: #79dbff; }
.home-print-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-occasions { background: #fff0f5; padding: 78px 0; text-align: center; }
.home-occasions .kicker { color: #a83261; }
.occasion-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 30px 0; }
.occasion-list li { padding: 9px 20px; border: 1px solid #e9c5d3; border-radius: 50px; font-size: 1rem; background: #ffffff80; }
.home-occasions p:last-child { color: #685163; font-size: 1rem; margin: 0; }
.home-occasions a { color: #9b2d58; text-underline-offset: 4px; }
.home-occasions .occasion-list a { color: inherit; text-decoration: none; }
.home-occasions .occasion-list a:hover { color: #9b2d58; }
.home-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.home-faq > div > p:last-child { color: var(--slate); }
.home-faq .faq details { margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.home-faq .faq details:first-child { padding-top: 0; }
.home-faq .faq summary { display: flex; justify-content: space-between; gap: 24px; list-style: none; font-weight: 550; font-size: 1.0625rem; }
.home-faq .faq summary::-webkit-details-marker { display: none; }
.home-faq .faq summary::after { content: '+'; color: #3150a1; font-size: 1.5rem; line-height: 1; }
.home-faq .faq details[open] summary::after { content: '−'; }
.home-faq .faq details p { font-size: 1rem; padding-right: 24px; }
.home-start { color: #fff; background: #244ccf; padding-block: 80px; }
.home-start-inner { display: grid; grid-template-columns: 1fr 230px; gap: 90px; align-items: center; }
.home-start .kicker { color: #c0eaff; }
.home-start h2 { font-size: clamp(2.4rem, 4.5vw, 4.25rem); }
.home-start h2 span { font-family: var(--display); font-weight: 560; color: #b8f3fa; }
.home-start p:not(.kicker):not(.home-note) { font-size: 1.125rem; color: #e0e8ff; margin: 24px 0; }
.home-start .home-note { color: #d4dfff; }
.home-start .qr-card { border: 0; padding: 20px 18px; border-radius: 20px; }
.home-start .qr-card > span > span { display: none; }
@media (min-width: 1440px) { .home-hero-art { margin-right: -60px; } }
@media (max-width: 1050px) {
  .home .container { width: calc(100% - 64px); }
  .home-hero-inner { gap: 24px; }
  .home-hero h1 { font-size: clamp(3rem, 6vw, 4.2rem); }
  .home-hero-art { margin-right: -32px; }
  .home-split, .home-print { gap: 50px; }
  .home-benefits { gap: 20px; }
  .benefit-visual { height: 240px; }
  .text-visual { padding: 16px; }
  .message-date { font-size: .75rem; }
  .reply-card { width: 88%; padding-inline: 8px; }
  .home-product-art img { height: 520px; }
  .home-faq { gap: 48px; }
}
@media (max-width: 760px) {
  .home .container { width: calc(100% - 40px); }
  .home-hero-inner { grid-template-columns: 1fr; gap: 0; }
  .home-hero-copy { padding: 46px 0 36px; }
  .home-hero h1 { font-size: clamp(3.25rem, 10.5vw, 5rem); }
  .home .kicker { font-size: .75rem; letter-spacing: .1em; }
  .home-lede { font-size: 1.125rem; margin: 22px 0 24px; }
  .home-how-link { margin-top: 24px; }
  .home-hero-art { height: 410px; margin: 0 0 30px 18px; }
  .party-photo { border-top-left-radius: 100px; object-position: center 45%; }
  .invite-note { left: -18px; bottom: 24px; padding: 20px 18px; gap: 12px; }
  .invite-note-icon { width: 44px; height: 44px; font-size: 1.6rem; }
  .invite-note strong { font-size: 1.25rem; }
  .invite-note div > span { font-size: .9375rem; margin-top: 6px; }
  .spark-one { font-size: 4.5rem; top: 10px; left: -15px; }
  .spark-two { right: -12px; bottom: 115px; font-size: 3.5rem; }
  .home-promise .container { flex-wrap: wrap; gap: 14px 28px; padding-block: 22px; font-size: 1.125rem; }
  .home-promise span::before { margin-right: 10px; }
  .home-section { padding-block: 64px; }
  .home-section-heading { text-align: left; margin-bottom: 32px; }
  .home h2 { font-size: clamp(2.15rem, 7vw, 3.2rem); }
  .home-benefits { grid-template-columns: 1fr; gap: 36px; }
  .benefit-visual { height: 290px; }
  .home-benefit h3 { margin-top: 18px; }
  .home-benefit p { max-width: none; }
  .message-conversation { max-width: 290px; }
  .reply-card { max-width: 270px; }
  .home-rsvps { padding-block: 60px; }
  .home-split, .home-print { grid-template-columns: 1fr; gap: 36px; }
  .home-feature-copy h2 br:nth-child(2) { display: none; }
  .home-feature-copy > p:not(.kicker) { max-width: none; }
  .home-product-art { order: 2; max-width: 440px; width: 100%; margin-inline: auto; }
  .home-product-art img { height: 500px; }
  .home-print-art { height: 370px; }
  .home-occasions { padding-block: 60px; }
  .occasion-list { gap: 9px; margin-block: 25px; }
  .occasion-list li { font-size: .9375rem; padding: 7px 15px; }
  .home-faq { grid-template-columns: 1fr; gap: 28px; }
  .home-faq .faq details { padding-block: 20px; }
  .home-start { padding-block: 60px; }
  .home-start-inner { grid-template-columns: 1fr; gap: 0; }
  .home-start .qr-card { display: none; }
  .home-start h2 { font-size: clamp(2.25rem, 8vw, 3.4rem); }
}
@media (max-width: 480px) {
  .occasion-list { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; justify-items: center; }
  .occasion-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 390px) {
  .home .store img { height: 43px; }
  .home .store-row { gap: 10px; }
  .home-hero-art { height: 340px; }
  .desktop-break { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .invite-note { animation: none; }
  .home .store { transition: none; }
  .home .store:hover { transform: none; }
}
.home-social {
  position: relative;
  overflow: hidden;
  padding-block: 96px 88px;
  background:
    radial-gradient(420px 280px at 0% 0%, #ffe3ee 0%, transparent 70%),
    radial-gradient(380px 260px at 100% 6%, #d9f6ff 0%, transparent 68%),
    radial-gradient(340px 240px at 72% 100%, #fff3cc 0%, transparent 72%),
    linear-gradient(180deg, #eff5ff 0%, #f6f4ff 46%, #fff 100%);
}
.home-social h2 { margin-inline: auto; text-align: center; text-wrap: balance; }
.home-social-spark { position: absolute; line-height: 1; pointer-events: none; }
.home-social .spark-a { top: 28px; left: 6%; font-size: 4.5rem; color: var(--home-pink); transform: rotate(12deg); }
.home-social .spark-b { right: 7%; bottom: 36px; font-size: 3.4rem; color: #ffcf43; transform: rotate(-16deg); }
.home-social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 22px; margin-top: 64px; padding-block: 10px 18px; }
.home-review-float { --tilt: -3deg; --float-time: 6.2s; --float-delay: 0s; animation: review-float var(--float-time) ease-in-out var(--float-delay) infinite; }
.home-review-float:nth-child(1) { margin-top: 34px; --tilt: -3.2deg; --float-time: 6.4s; }
.home-review-float:nth-child(2) { z-index: 1; --tilt: 2.4deg; --float-time: 5.4s; --float-delay: .6s; }
.home-review-float:nth-child(3) { margin-top: 52px; --tilt: -1.6deg; --float-time: 7s; --float-delay: .3s; }
.home-review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  margin: 0;
  padding: 24px 22px 20px;
  border: 1px solid #d5e2ff;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 55px #0b1b3a26;
  transform: rotate(var(--tilt));
  transition: transform .18s ease, box-shadow .18s ease;
}
.home-review-float:hover .home-review { transform: translateY(-8px) rotate(var(--tilt)); box-shadow: 0 28px 60px #0b1b3a33; }
.home-review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-review-avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--home-blue); color: #fff; font-size: 1.05rem; font-weight: 650; }
.home-review-float:nth-child(2) .home-review-avatar { background: var(--home-pink); }
.home-review-float:nth-child(3) .home-review-avatar { background: #259968; }
.home-review blockquote p { margin: 0; color: #53617a; font-family: var(--font); font-size: 1rem; font-weight: 400; letter-spacing: -.011em; line-height: 1.55; }
.home-review blockquote .home-review-pull { margin-bottom: 12px; color: var(--ink); font-size: 1.5rem; font-weight: 650; letter-spacing: -.035em; line-height: 1.22; text-wrap: balance; }
.home-review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: auto; color: #5c6b84; font-size: .9375rem; }
.home-review-name { color: var(--ink); font-weight: 650; }
.home-review-store { display: inline-flex; align-items: center; padding: 4px 10px; border: 1px solid #d5e2ff; border-radius: 50px; background: #f4f8ff; color: #254c9a; font-size: .75rem; font-weight: 650; }
.home-stars { display: block; width: 104px; height: 18px; color: #f5b942; }
.home-stars path { fill: currentColor; }
.home-social.is-motion .home-review { opacity: 0; transform: translateY(18px) rotate(var(--tilt)); }
.home-social.is-motion .home-review.is-in { opacity: 1; transform: rotate(var(--tilt)); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .2, 1), box-shadow .18s ease; }
.home-social.is-motion .home-review-float:nth-child(2) .home-review.is-in { transition-delay: .12s; }
.home-social.is-motion .home-review-float:nth-child(3) .home-review.is-in { transition-delay: .24s; }
.home-social.is-motion .home-review-float:hover .home-review.is-in { transform: translateY(-8px) rotate(var(--tilt)); transition-delay: 0s; }
@keyframes review-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@media (max-width: 760px) {
  .home-social { padding-block: 64px 56px; }
  .home-social .spark-a { left: 4%; font-size: 3rem; }
  .home-social .spark-b { right: 6%; font-size: 2.4rem; }
  .home-social-grid { display: flex; gap: 14px; align-items: stretch; margin-top: 36px; margin-inline: -20px; padding: 12px 20px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .home-social-grid::-webkit-scrollbar { display: none; }
  .home-review-float { flex: 0 0 82%; margin-top: 0; scroll-snap-align: center; }
  .home-review { min-height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-review-float { animation: none; }
  .home-review, .home-review-float:hover .home-review { transition: none; transform: rotate(var(--tilt)); }
  .home-social.is-motion .home-review, .home-social.is-motion .home-review.is-in { opacity: 1; transform: rotate(var(--tilt)); transition: none; }
}
