@font-face {
  font-family: Fredoka;
  src: url("./assets/fonts/fredoka/Fredoka-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --pink: #f3bdd0;
  --peach: #f6c5a9;
  --yellow: #f5e5a6;
  --aqua: #b9dcd3;
  --lavender: #c9c5e8;
  --cream: #fff9f0;
  --ink: #51404c;
  --muted: #725d6c;
  --paper: #fffdfa;
  --edge: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --paper-shadow: 0 18px 48px rgb(81 64 76 / 0.12);
  color-scheme: light;
  scroll-behavior: smooth;
  scrollbar-color: var(--pink) var(--cream);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.6 Fredoka,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 6px;
}
::selection {
  background: var(--pink);
  color: var(--ink);
}
h1,
h2,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2 {
  text-wrap: balance;
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  line-height: 1.05;
}
button:disabled {
  cursor: wait;
}
svg {
  display: block;
}
a,
button {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stripe-edge {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    90deg,
    var(--pink) 0 18px,
    var(--cream) 18px 34px,
    var(--yellow) 34px 52px,
    var(--cream) 52px 68px,
    var(--peach) 68px 86px,
    var(--cream) 86px 102px,
    var(--aqua) 102px 120px,
    var(--cream) 120px 136px,
    var(--lavender) 136px 154px,
    var(--cream) 154px 170px
  );
}
.page-shell {
  margin: var(--edge);
  background: var(--cream);
  min-height: calc(100svh - var(--edge) * 2);
}
.site-header {
  max-width: 1320px;
  margin: auto;
  padding: 24px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  font-family: Fredoka, sans-serif;
  font-size: 34px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
}
.wordmark .brand-heart {
  font-size: 25px;
  display: inline-block;
  transform: rotate(-15deg);
  margin-left: 5px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: 12px;
  z-index: 20;
  background: var(--cream);
  padding: 12px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.cover {
  text-align: center;
  max-width: 1000px;
  min-height: calc(100svh - 150px);
  margin: auto;
  padding: 24px 28px 32px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.cover-heading h1 {
  font-size: clamp(42px, 5.2vw, 64px);
}
.cover-heading p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 15px;
}
.envelope-scene {
  position: relative;
  width: min(100%, 570px);
  margin: 48px auto 22px;
  perspective: 1000px;
}
.envelope {
  display: block;
  width: 100%;
  aspect-ratio: 1.65;
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  isolation: isolate;
  transform: rotate(-3deg);
  transition: transform 0.7s var(--ease);
  filter: drop-shadow(0 20px 18px rgb(81 64 76 / 0.14));
}
.envelope:hover {
  transform: rotate(-1deg) translateY(-6px);
}
.envelope:focus-visible {
  outline-offset: 18px;
}
.envelope-back {
  position: absolute;
  inset: 0;
  background: var(--pink);
  border-radius: 8px;
}
.envelope-pocket {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 8px;
  background:
    linear-gradient(
      33deg,
      transparent 49.7%,
      rgb(81 64 76 / 0.06) 50%,
      transparent 50.4%
    ),
    linear-gradient(
      -33deg,
      transparent 49.7%,
      rgb(81 64 76 / 0.06) 50%,
      transparent 50.4%
    ),
    var(--pink);
  clip-path: polygon(0 0, 50% 51%, 100% 0, 100% 100%, 0 100%);
}
.envelope-flap {
  position: absolute;
  inset: 0;
  z-index: 4;
  transform-origin: center top;
  clip-path: polygon(0 0, 100% 0, 51% 57%, 49% 57%);
  background: linear-gradient(175deg, #f8d1de, var(--pink));
  transition:
    transform 0.7s var(--ease),
    filter 0.7s;
  backface-visibility: hidden;
}
.letter-peek {
  position: absolute;
  inset: 14px 22px 12px;
  background: var(--paper);
  border-radius: 4px;
  padding-top: 30px;
  font-family: Fredoka, sans-serif;
  font-size: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.8s var(--ease) 0.2s;
  z-index: 2;
  overflow: hidden;
}
.letter-peek::before {
  content: "";
  height: 10px;
  width: 100%;
  position: absolute;
  top: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--aqua) 0 14px,
    var(--cream) 14px 24px,
    var(--yellow) 24px 38px,
    var(--cream) 38px 48px,
    var(--lavender) 48px 62px,
    var(--cream) 62px 72px
  );
}
.letter-name {
  font-size: 62px;
  color: var(--ink);
}
.envelope-seal {
  position: absolute;
  width: 66px;
  height: 66px;
  left: calc(50% - 33px);
  top: calc(50% - 6px);
  background: var(--cream);
  border: 5px double rgb(243 189 208 / 0.6);
  border-radius: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 7px rgb(81 64 76 / 0.1);
  transition:
    opacity 0.2s,
    transform 0.4s;
}
.envelope-seal svg {
  width: 25px;
  color: #9e526e;
}
.envelope-address {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.envelope-address > span:first-child {
  font-family: Fredoka, sans-serif;
  font-size: 20px;
}
.envelope-address > span:last-child {
  font-family: Fredoka, sans-serif;
  font-size: 46px;
  margin-top: 5px;
}
.stamp {
  position: absolute;
  right: 22px;
  bottom: 26px;
  width: 46px;
  height: 54px;
  background: var(--cream);
  z-index: 4;
  border: 3px dotted var(--pink);
  font:
    38px/1.3 Caveat,
    cursive;
  transform: rotate(8deg);
}
.flower {
  position: absolute;
  width: 74px;
  z-index: 0;
}
.flower-left {
  color: var(--yellow);
  left: -70px;
  top: 15%;
  transform: rotate(12deg);
}
.spark {
  position: absolute;
  width: 53px;
}
.spark-right {
  color: var(--aqua);
  right: -61px;
  bottom: 0;
  transform: rotate(10deg);
}
.open-caption {
  font-family: Fredoka, sans-serif;
  font-size: 25px;
  position: relative;
  padding: 5px 20px;
}
.open-caption svg {
  position: absolute;
  width: 38px;
  right: -23px;
  top: -10px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.cover-date {
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-top: 30px;
  color: var(--muted);
}
.is-opening .envelope-flap {
  transform: rotateX(180deg);
  filter: brightness(0.96);
}
.is-opening .envelope-seal {
  opacity: 0;
  transform: scale(0.65);
}
.is-opening .letter-peek {
  transform: translateY(-90px);
}
.is-opening .envelope {
  transform: rotate(0);
}
.invitation:focus {
  outline: none;
}
.invitation {
  max-width: 1440px;
  margin: auto;
  padding-top: 30px;
}
.js-ready:not(.opened) .invitation {
  display: none;
}
.opened .cover {
  display: none;
}
.invitation-layout {
  max-width: 1140px;
  margin: auto;
  padding: 22px 42px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 76px;
  align-items: center;
}
.invitation-art {
  position: relative;
  transform: rotate(-2deg);
}
.invitation-art > a {
  display: block;
  box-shadow: var(--paper-shadow);
  transition: transform 0.4s var(--ease);
}
.invitation-art > a:hover {
  transform: rotate(1deg) translateY(-3px);
}
.invitation-art img {
  width: 100%;
  height: auto;
  display: block;
}
.invitation-art figcaption {
  text-align: center;
  margin-top: 23px;
  transform: rotate(2deg);
  font-size: 12px;
}
.text-link {
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent);
  min-height: 36px;
}
.text-link:hover {
  text-decoration-color: var(--ink);
}
.text-link .icon {
  width: 17px;
  height: 17px;
}
.party-details {
  position: relative;
}
.heading-flower {
  color: var(--peach);
  width: 51px;
  margin-bottom: 17px;
  transform: rotate(10deg);
}
.party-details h2 {
  font-size: clamp(44px, 4.4vw, 62px);
}
.party-details h2 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.party-details h2 em::after {
  content: "";
  height: 8px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 50%;
}
.intro {
  color: var(--muted);
  font-size: 15px;
  margin-top: 22px;
  line-height: 1.8;
}
.event-details {
  margin-top: 32px;
}
.event-details > div {
  padding: 22px 0;
  border-top: 1px solid #dfd3d8;
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 14px;
}
.event-details dt {
  font-family: Fredoka, sans-serif;
  font-size: 25px;
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: start;
  line-height: 1.25;
}
.event-details dt .icon {
  width: 19px;
  height: 19px;
}
.event-details dd {
  font-size: 14px;
  font-weight: 550;
  padding-top: 2px;
}
.detail-sub {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.event-details address {
  font-style: normal;
  line-height: 1.5;
}
.copy-address {
  font-size: 11px;
  font-weight: 400;
  margin-top: 3px;
  min-height: 36px;
}
.party-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 13px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  transition:
    transform 0.2s var(--ease),
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-pink {
  background: var(--pink);
}
.button-pink:hover {
  background: #edabc3;
}
.button-outline {
  box-shadow: inset 0 0 0 1px #b4a0ac;
}
.button-outline:hover {
  background: var(--aqua);
}
.button .icon {
  width: 18px;
  height: 18px;
}
.little-note {
  font-family: Fredoka, sans-serif;
  font-size: 23px;
  margin-top: 24px;
}
.action-status {
  font-size: 12px;
  min-height: 20px;
  margin-top: 8px;
  color: var(--muted);
}
.countdown-section {
  background: var(--lavender);
  position: relative;
  margin: 10px 0 0;
}
.wave-top,
.wave-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 36px;
  fill: var(--lavender);
}
.wave-top {
  bottom: calc(100% - 1px);
}
.wave-bottom {
  top: calc(100% - 1px);
}
.countdown-inner {
  max-width: 1140px;
  margin: auto;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.countdown-copy h2 {
  font-size: 40px;
}
.countdown-copy p {
  font-size: 12px;
  margin-top: 13px;
}
.countdown {
  display: flex;
  gap: 32px;
  text-align: center;
}
.countdown > div {
  min-width: 63px;
}
.countdown dd {
  font-family: Fredoka, sans-serif;
  font-size: 52px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.countdown dt {
  font-size: 11px;
  margin-top: 7px;
}
.invitation-footer {
  padding: 94px 24px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.invitation-footer > p {
  font-family: Fredoka, sans-serif;
  font-size: 32px;
}
.footer-name {
  font-family: Fredoka, sans-serif;
  font-size: 45px;
  margin: 4px 0 27px;
}
.footer-name .brand-heart {
  color: #9e526e;
  margin-left: 5px;
  font-size: 27px;
}
.invitation-footer button {
  font-size: 11px;
  color: var(--muted);
}
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}
.confetti i {
  position: absolute;
  width: 9px;
  height: 15px;
  top: -30px;
  left: var(--x);
  background: var(--color);
  animation: fall 2.4s ease-in var(--delay) forwards;
  transform: rotate(var(--spin));
  border-radius: 2px;
}
@keyframes fall {
  to {
    transform: translate3d(var(--drift), 105vh, 0)
      rotate(calc(var(--spin) + 480deg));
    opacity: 0;
  }
}
.opened .invitation-layout {
  animation: unfold 0.7s var(--ease);
}
@keyframes unfold {
  from {
    opacity: 0.35;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .cover {
    min-height: 800px;
  }
  .envelope-scene {
    width: 620px;
  }
}
@media (max-width: 1000px) {
  .invitation-layout {
    gap: 42px;
    padding-inline: 30px;
  }
  .site-header {
    padding-inline: 30px;
  }
  .party-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .countdown {
    gap: 22px;
  }
  .countdown-inner {
    padding: 35px 30px;
  }
  .event-details > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .event-details {
    margin-top: 24px;
  }
  .party-details h2 {
    font-size: 46px;
  }
  .little-note {
    font-size: 21px;
  }
  .countdown-copy h2 {
    font-size: 34px;
  }
}
@media (max-width: 700px) {
  :root {
    --edge: 12px;
  }
  .site-header {
    padding: 18px 19px;
  }
  .wordmark {
    font-size: 31px;
  }
  .cover {
    padding: 28px 22px 32px;
    min-height: calc(100svh - 116px);
    justify-content: center;
  }
  .cover-heading h1 {
    font-size: 44px;
  }
  .cover-heading p {
    font-size: 13px;
    margin-top: 13px;
  }
  .envelope-scene {
    margin-top: 50px;
    max-width: 420px;
  }
  .envelope {
    aspect-ratio: 1.5;
  }
  .envelope-address {
    bottom: 15px;
  }
  .envelope-address > span:first-child {
    font-size: 17px;
  }
  .envelope-address > span:last-child {
    font-size: 34px;
  }
  .envelope-seal {
    width: 50px;
    height: 50px;
    left: calc(50% - 25px);
    top: calc(50% - 12px);
    border-width: 4px;
  }
  .envelope-seal svg {
    width: 19px;
  }
  .stamp {
    right: 15px;
    bottom: 20px;
    width: 31px;
    height: 38px;
    font-size: 26px;
  }
  .flower-left {
    width: 38px;
    left: -17px;
    top: -24px;
  }
  .spark-right {
    width: 34px;
    right: -12px;
    bottom: -20px;
  }
  .letter-peek {
    inset: 10px 16px;
    font-size: 24px;
    padding-top: 20px;
  }
  .letter-name {
    font-size: 38px;
  }
  .open-caption {
    font-size: 22px;
    margin-top: 13px;
    padding: 0;
    max-width: 260px;
    text-wrap: balance;
  }
  .open-caption svg {
    width: 28px;
    right: -22px;
  }
  .cover-date {
    font-size: 8px;
    letter-spacing: 0.09em;
    margin-top: 28px;
  }
  .invitation {
    padding-top: 10px;
  }
  .invitation-layout {
    padding: 12px 22px 65px;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .invitation-art {
    width: 100%;
    max-width: 430px;
    justify-self: center;
    transform: rotate(-1deg);
  }
  .invitation-art figcaption {
    font-size: 11px;
    margin-top: 18px;
  }
  .party-details {
    max-width: 440px;
    width: 100%;
    margin: auto;
  }
  .heading-flower {
    width: 40px;
    margin-bottom: 12px;
  }
  .party-details h2 {
    font-size: 48px;
  }
  .intro {
    font-size: 14px;
    margin-top: 18px;
  }
  .event-details {
    margin-top: 25px;
  }
  .event-details > div {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }
  .event-details dt {
    font-size: 24px;
  }
  .event-details dd {
    font-size: 13px;
  }
  .detail-sub {
    font-size: 11px;
  }
  .party-actions {
    flex-direction: column;
    gap: 12px;
  }
  .button {
    font-size: 13px;
    min-height: 50px;
  }
  .little-note {
    font-size: 23px;
    text-align: center;
  }
  .countdown-inner {
    padding: 28px 18px 30px;
    flex-direction: column;
    gap: 27px;
    text-align: center;
  }
  .countdown-copy h2 {
    font-size: 36px;
  }
  .countdown-copy p {
    margin-top: 9px;
  }
  .countdown {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }
  .countdown > div {
    min-width: 50px;
  }
  .countdown dd {
    font-size: 41px;
  }
  .countdown dt {
    font-size: 10px;
  }
  .invitation-footer {
    padding-top: 72px;
  }
  .invitation-footer > p {
    font-size: 28px;
  }
  .is-opening .letter-peek {
    transform: translateY(-55px);
  }
}
@media (max-width: 360px) {
  .cover-heading h1 {
    font-size: 38px;
  }
  .cover {
    padding-inline: 18px;
  }
  .site-header {
    padding-inline: 15px;
  }
  .event-details > div {
    grid-template-columns: 1fr;
  }
  .countdown {
    gap: 9px;
  }
  .invitation-layout {
    padding-inline: 18px;
  }
  .envelope-address > span:last-child {
    font-size: 29px;
  }
  .envelope-address {
    bottom: 10px;
  }
  .envelope-address > span:first-child {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .confetti {
    display: none;
  }
}
@media print {
  .stripe-edge,
  .site-header,
  .cover,
  .party-details,
  .countdown-section,
  .invitation-footer,
  .invitation-art figcaption,
  .confetti,
  .skip-link {
    display: none !important;
  }
  .page-shell {
    margin: 0;
  }
  .invitation {
    display: block !important;
  }
  .invitation-layout {
    display: block;
    padding: 0;
  }
  .invitation-art {
    transform: none;
    max-width: 100%;
    width: 100%;
  }
  .invitation-art > a {
    box-shadow: none;
  }
  .invitation-art img {
    max-height: 95vh;
    width: auto;
    max-width: 100%;
    margin: auto;
  }
}

.brand-heart {
  display: inline-block;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  vertical-align: baseline;
}
.footer-name .brand-heart {
  width: 25px;
  height: 25px;
}

/* Colorful birthday lettering and family photos. */
h1,
h2 {
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.colorful .color-word {
  display: inline;
  color: var(--word-color);
}
.colorful em {
  font-style: normal;
}
.cover-heading {
  max-width: 760px;
  position: relative;
  z-index: 1;
}
.cover-heading h1 {
  font-size: clamp(44px, 5.5vw, 70px);
  line-height: 1.06;
}
.cover-heading p {
  font-size: 16px;
  margin-top: 18px;
}
.cover {
  max-width: 1120px;
  padding-top: 32px;
}
.envelope-scene {
  margin-top: 42px;
}
.party-balloons {
  position: absolute;
  width: 148px;
  pointer-events: none;
  z-index: 0;
}
.balloon-bunch {
  width: 100%;
  height: auto;
  overflow: visible;
}
.balloons-left {
  left: -165px;
  top: -64px;
  transform: rotate(-12deg);
}
.balloons-right {
  right: -162px;
  top: -83px;
  transform: rotate(13deg) scaleX(-1);
}
.flower-left {
  left: -60px;
  top: 63%;
}
.spark-right {
  right: -67px;
  bottom: 0;
}
.wordmark {
  font-size: 30px;
  font-weight: 650;
  color: var(--pink);
}
.envelope-address > span:first-child {
  font-size: 17px;
}
.envelope-address > span:last-child {
  font-family: Fredoka, sans-serif;
  font-weight: 650;
  font-size: 41px;
}
.envelope-address {
  bottom: 19px;
}
.letter-peek {
  font-size: 24px;
}
.letter-name {
  font-size: 52px;
  font-weight: 650;
}
.open-caption {
  font-size: 17px;
  line-height: 1.5;
}
.cover-date {
  font-size: 11px;
  letter-spacing: 0.075em;
}
.stamp {
  font-weight: 650;
}
.party-details h2 {
  font-size: clamp(33px, 3.2vw, 46px);
  line-height: 1.18;
}
.party-details h2 em::after {
  display: none;
}
.heading-flower {
  width: 48px;
  margin-bottom: 23px;
}
.intro {
  font-size: 16px;
  line-height: 1.6;
}
.event-details dt {
  font-family: Fredoka, sans-serif;
  font-size: 16px;
  font-weight: 550;
  gap: 8px;
}
.event-details > div {
  grid-template-columns: 96px minmax(0, 1fr);
}
.event-details dd {
  font-size: 15px;
  font-weight: 450;
}
.detail-sub {
  font-size: 13px;
}
.copy-address {
  font-size: 13px;
}
.button {
  font-size: 14px;
  font-weight: 550;
  border-radius: 12px;
  padding: 14px 20px;
  min-height: 50px;
  line-height: 1.4;
}
.button-yellow {
  background: var(--yellow);
}
.button-yellow:hover {
  background: #edd88d;
}
.button-aqua {
  background: var(--aqua);
}
.button-aqua:hover {
  background: #a3d1c5;
}
.little-note {
  font-family: Fredoka, sans-serif;
  font-size: 17px;
  color: var(--pink);
  line-height: 1.5;
}
.party-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 24px;
  font-size: 13px;
}
.party-shortcuts a {
  padding: 5px 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  text-decoration-color: #c0aeb8;
}
.party-shortcuts a:last-child {
  color: var(--pink);
  font-weight: 600;
}
.photo-section {
  position: relative;
  background: var(--aqua);
  padding: 70px 40px 44px;
  margin: 0 0 0;
  isolation: isolate;
}
.photo-section::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 13px;
  background: radial-gradient(
      circle at 12px 13px,
      var(--aqua) 12px,
      transparent 12.5px
    )
    0 0/24px 13px repeat-x;
}
.photo-section-heading {
  text-align: center;
  position: relative;
  z-index: 1;
}
.photo-section h2 {
  font-size: clamp(32px, 4vw, 49px);
  max-width: 700px;
  margin: auto;
}
.photo-section-heading p {
  margin: 18px auto 0;
  max-width: 550px;
  font-size: 16px;
}
.photo-gallery {
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 52px auto 0;
  align-items: start;
}
.photo-print {
  background: var(--paper);
  padding: 12px 12px 18px;
  box-shadow: 0 14px 28px rgb(48 83 74 / 0.14);
  position: relative;
}
.photo-print::before {
  content: "";
  width: 80px;
  height: 24px;
  position: absolute;
  top: -12px;
  left: calc(50% - 40px);
  background: var(--tape);
  opacity: 0.9;
  transform: rotate(-7deg);
  z-index: 1;
  pointer-events: none;
}
.photo-pink {
  --tape: var(--pink);
  transform: rotate(-4deg);
}
.photo-yellow {
  --tape: var(--yellow);
  transform: rotate(3deg);
  margin-top: 36px;
}
.photo-lavender {
  --tape: var(--lavender);
  transform: rotate(-2deg);
}
.photo-print a {
  display: block;
  overflow: hidden;
}
.photo-print a:focus-visible {
  outline-offset: 3px;
}
.photo-print img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}
.photo-pink img {
  object-position: 50% 69%;
}
.photo-print a:hover img {
  transform: scale(1.035);
}
.photo-print figcaption {
  font-size: 17px;
  text-align: center;
  line-height: 1.5;
  padding: 17px 4px 0;
  font-weight: 550;
}
.photo-hint {
  text-align: center;
  font-size: 13px;
  margin-top: 46px;
}
.party-sprinkles {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.party-sprinkles i {
  position: absolute;
  width: 12px;
  height: 28px;
  background: var(--cream);
  border-radius: 8px;
  transform: rotate(30deg);
}
.party-sprinkles i:nth-child(1) {
  top: 48px;
  left: 8%;
  background: var(--pink);
}
.party-sprinkles i:nth-child(2) {
  top: 15%;
  right: 8%;
  transform: rotate(-32deg);
  background: var(--yellow);
}
.party-sprinkles i:nth-child(3) {
  top: 45%;
  left: 3%;
  background: var(--lavender);
}
.party-sprinkles i:nth-child(4) {
  bottom: 22px;
  right: 21%;
  background: var(--peach);
  transform: rotate(65deg);
}
.party-sprinkles i:nth-child(5) {
  bottom: 20%;
  right: 3%;
}
.party-sprinkles i:nth-child(6) {
  bottom: 8%;
  left: 19%;
  background: var(--yellow);
  transform: rotate(-25deg);
}
.wishlist-section {
  max-width: 1050px;
  margin: 0 auto;
  padding: 96px 44px;
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 70px;
  scroll-margin-top: 30px;
}
.gift-art {
  padding: 30px;
  background: var(--peach);
  border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
}
.gift-art svg {
  width: 100%;
  height: auto;
  transform: rotate(-6deg);
}
.wishlist-copy h2,
.rsvp-copy h2 {
  font-size: clamp(34px, 3.8vw, 48px);
}
.wishlist-copy p {
  font-size: 16px;
  margin-top: 22px;
  max-width: 420px;
}
.wishlist-copy .button {
  margin-top: 27px;
}
.external-note {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.rsvp-section {
  position: relative;
  max-width: 1140px;
  margin: 0 auto 85px;
  padding: 60px 54px;
  background: var(--pink);
  border-radius: 45px 90px 45px 90px;
  display: flex;
  align-items: center;
  gap: 64px;
  scroll-margin-top: 25px;
}
.rsvp-balloons {
  width: 180px;
  margin: 0 auto;
  flex-shrink: 0;
}
.rsvp-copy {
  max-width: 570px;
}
.rsvp-copy p {
  font-size: 16px;
  margin-top: 18px;
  max-width: 500px;
}
.rsvp-copy .button {
  margin-top: 26px;
}
.rsvp-copy .rsvp-number {
  font-size: 15px;
  font-weight: 550;
  margin-top: 15px;
}
.rsvp-copy .rsvp-note {
  font-size: 12px;
  margin-top: 7px;
}
.countdown-copy h2 {
  font-size: 34px;
  max-width: 440px;
}
.countdown-copy p {
  font-size: 14px;
}
.countdown dd {
  font-family: Fredoka, sans-serif;
  font-weight: 650;
  font-size: 48px;
}
.countdown dt {
  font-size: 13px;
}
.countdown > div:nth-child(1) {
  color: var(--cream);
}
.countdown > div:nth-child(2) {
  color: var(--yellow);
}
.countdown > div:nth-child(3) {
  color: var(--aqua);
}
.countdown > div:nth-child(4) {
  color: var(--pink);
}
.invitation-footer > p {
  font-family: Fredoka, sans-serif;
  font-size: 26px;
  font-weight: 550;
  max-width: 750px;
  line-height: 1.4;
}
.footer-name {
  font-family: Fredoka, sans-serif;
  font-size: 38px;
  color: var(--pink);
  font-weight: 600;
  margin-top: 15px;
}
.invitation-footer button {
  font-size: 13px;
}
.photo-viewer {
  border: 0;
  border-radius: 16px;
  background: var(--cream);
  color: var(--ink);
  padding: 18px;
  max-width: min(94vw, 900px);
  max-height: 94svh;
  box-shadow: 0 25px 90px rgb(0 0 0 / 0.25);
}
.photo-viewer::backdrop {
  background: rgb(44 29 39 / 0.78);
}
.photo-viewer img {
  display: block;
  max-width: 100%;
  max-height: calc(90svh - 115px);
  width: auto;
  height: auto;
  margin: 15px auto 0;
  object-fit: contain;
}
.photo-close {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--pink);
  border-radius: 9px;
  min-height: 44px;
  padding: 10px 16px;
  margin-left: auto;
  font-size: 14px;
}
.photo-viewer p {
  margin-top: 15px;
  text-align: center;
  font-size: 15px;
}
@media (max-width: 1000px) {
  .party-balloons {
    width: 115px;
  }
  .balloons-left {
    left: -115px;
  }
  .balloons-right {
    right: -110px;
  }
  .party-details h2 {
    font-size: 34px;
  }
  .event-details > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .wishlist-section {
    grid-template-columns: 235px 1fr;
    gap: 45px;
  }
  .rsvp-section {
    margin-inline: 30px;
    gap: 30px;
  }
  .rsvp-balloons {
    width: 140px;
  }
  .countdown {
    gap: 15px;
  }
  .countdown-copy h2 {
    font-size: 29px;
  }
}
@media (max-width: 700px) {
  .cover-heading h1 {
    font-size: clamp(36px, 8.4vw, 48px);
  }
  .cover-heading p {
    font-size: 14px;
    max-width: 260px;
    margin-inline: auto;
  }
  .cover {
    padding-top: 25px;
  }
  .envelope-scene {
    margin-top: 65px;
  }
  .party-balloons {
    width: 77px;
  }
  .balloons-left {
    left: -17px;
    top: -60px;
    transform: rotate(-19deg);
  }
  .balloons-right {
    right: -13px;
    top: -62px;
    transform: rotate(18deg) scaleX(-1);
  }
  .envelope {
    z-index: 1;
  }
  .flower-left {
    left: -16px;
    top: 74%;
  }
  .spark-right {
    right: -12px;
  }
  .envelope-address {
    bottom: 16px;
  }
  .envelope-address > span:first-child {
    font-size: 13px;
  }
  .envelope-address > span:last-child {
    font-size: 32px;
  }
  .open-caption {
    font-size: 16px;
    max-width: 270px;
  }
  .cover-date {
    font-size: 9px;
    letter-spacing: 0.045em;
  }
  .wordmark {
    font-size: 28px;
  }
  .party-details h2 {
    font-size: 38px;
  }
  .intro {
    font-size: 16px;
  }
  .event-details > div {
    grid-template-columns: 83px minmax(0, 1fr);
    gap: 12px;
  }
  .event-details dt {
    font-size: 15px;
  }
  .event-details dd {
    font-size: 14px;
  }
  .detail-sub {
    font-size: 12px;
  }
  .little-note {
    font-size: 16px;
  }
  .button {
    font-size: 14px;
  }
  .party-shortcuts {
    gap: 8px 14px;
  }
  .photo-section {
    padding: 48px 24px 35px;
  }
  .photo-section h2 {
    font-size: 33px;
  }
  .photo-section-heading p {
    font-size: 15px;
    max-width: 270px;
  }
  .photo-gallery {
    grid-template-columns: 1fr;
    max-width: 330px;
    gap: 39px;
    margin-top: 40px;
  }
  .photo-print {
    padding: 10px 10px 15px;
  }
  .photo-yellow {
    margin-top: 0;
    transform: rotate(3deg);
  }
  .photo-pink {
    transform: rotate(-3deg);
  }
  .photo-lavender {
    transform: rotate(-2deg);
  }
  .photo-print figcaption {
    font-size: 16px;
  }
  .photo-hint {
    margin-top: 32px;
  }
  .wishlist-section {
    padding: 62px 27px;
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .gift-art {
    width: 170px;
    padding: 14px;
    justify-self: center;
  }
  .wishlist-copy h2,
  .rsvp-copy h2 {
    font-size: 34px;
  }
  .wishlist-copy p {
    font-size: 15px;
    margin-inline: auto;
  }
  .wishlist-copy .button {
    width: 100%;
  }
  .rsvp-section {
    margin: 0 18px 70px;
    padding: 32px 22px 36px;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    border-radius: 28px 55px 28px 55px;
  }
  .rsvp-balloons {
    width: 100px;
    height: 160px;
    overflow: hidden;
  }
  .rsvp-copy p {
    font-size: 15px;
  }
  .rsvp-copy .button {
    width: 100%;
  }
  .countdown-copy h2 {
    font-size: 30px;
  }
  .countdown-copy p {
    font-size: 13px;
  }
  .countdown dd {
    font-size: 39px;
  }
  .countdown dt {
    font-size: 11px;
  }
  .invitation-footer > p {
    font-size: 23px;
  }
  .footer-name {
    font-size: 33px;
  }
  .photo-viewer {
    padding: 12px;
  }
  .photo-section,
  .wishlist-section,
  .rsvp-section {
    scroll-margin-top: 20px;
  }
}
@media (max-width: 360px) {
  .party-details h2 {
    font-size: 33px;
  }
  .event-details > div {
    grid-template-columns: 1fr;
  }
  .cover-heading h1 {
    font-size: 35px;
  }
  .envelope-address > span:last-child {
    font-size: 27px;
  }
  .envelope-address {
    bottom: 11px;
  }
  .photo-section {
    padding-inline: 23px;
  }
  .rsvp-section {
    margin-inline: 12px;
    padding-inline: 18px;
  }
}
@media print {
  .photo-section,
  .wishlist-section,
  .rsvp-section,
  .photo-viewer {
    display: none !important;
  }
}

.rsvp-balloons .balloon-bunch > g:nth-of-type(2) > ellipse:first-child,
.rsvp-balloons .balloon-bunch > g:nth-of-type(2) > path {
  fill: var(--lavender);
}
@media (max-width: 700px) {
  .balloons-left {
    left: -3px;
  }
  .balloons-right {
    right: 0;
  }
  .open-caption {
    max-width: 250px;
  }
}

/* A compact album: scroll-snap keeps the real photos in one horizontal row. */
.photo-carousel {
  max-width: 1120px;
  margin: 30px auto 0;
}
.photo-carousel .photo-gallery {
  position: relative;
  display: flex;
  grid-template-columns: none;
  gap: 32px;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 28px 18px 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--pink) transparent;
  overscroll-behavior-x: contain;
  align-items: stretch;
}
.photo-carousel .photo-print {
  flex: 0 0 calc((100% - 64px) / 3);
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
  align-self: stretch;
  transform: rotate(-1.5deg);
}
.photo-carousel .photo-yellow {
  transform: rotate(1.5deg);
}
.photo-carousel .photo-lavender {
  transform: rotate(-1deg);
}
.photo-carousel .photo-print figcaption {
  font-size: 16px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 12px;
}
.photo-carousel .photo-print img {
  aspect-ratio: 3/4;
  object-position: 50% 50%;
}
.photo-carousel .photo-print a[data-photo="oli-sonrisa"] img {
  object-position: 50% 69%;
}
.photo-gallery:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}
.gallery-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 18px auto 0;
}
.carousel-ready .gallery-controls {
  display: flex;
}
.gallery-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.gallery-arrow:hover:not(:disabled) {
  background: var(--yellow);
  transform: translateY(-2px);
}
.gallery-arrow:disabled {
  cursor: default;
  opacity: 0.4;
}
.gallery-status {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  min-width: 130px;
  text-align: center;
}
.photo-section .photo-hint {
  margin-top: 19px;
}
@media (max-width: 1000px) {
  .photo-carousel .photo-gallery {
    gap: 26px;
  }
  .photo-carousel .photo-print {
    flex-basis: calc((100% - 26px) / 2);
  }
}
@media (max-width: 700px) {
  .photo-section {
    padding-inline: 12px;
  }
  .photo-section-heading {
    padding-inline: 12px;
  }
  .photo-carousel {
    margin-top: 20px;
    max-width: 440px;
  }
  .photo-carousel .photo-gallery {
    gap: 24px;
    padding: 24px 17px 26px;
    scroll-padding-inline: 17px;
  }
  .photo-carousel .photo-print {
    flex-basis: 100%;
  }
  .photo-carousel .photo-print figcaption {
    font-size: 16px;
    min-height: 58px;
  }
  .gallery-controls {
    gap: 16px;
    margin-top: 12px;
  }
  .gallery-status {
    font-size: 13px;
    min-width: 105px;
  }
  .photo-section .photo-hint {
    font-size: 12px;
    max-width: 280px;
    margin: 17px auto 0;
  }
}
