:root {
  --paper: #f6f3ec;
  --ink: #493f35;
  --muted: #877d70;
  --accent: #755644;
  --line: #ded8cc;
  --white: #fffdf8;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
  --english: Georgia, "Times New Roman", serif;
  --mobile-dock-height: 70px;
  --photo-radius: 6px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
html,
body,
dialog {
  touch-action: pan-x pan-y;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
::selection {
  background: #d5c5ad;
  color: #3e3229;
}
.section-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.7px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 16px;
}
.tiny-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
}
.button {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 12px;
  letter-spacing: 1px;
  border: 1px solid var(--accent);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-solid {
  background: var(--accent);
  color: var(--white);
}
.button-solid:hover {
  background: #5c4334;
}
.button-outline {
  background: transparent;
}
.button-outline:hover {
  background: #e9e1d5;
}
.button span[aria-hidden] {
  font-size: 21px;
  font-family: var(--sans);
  font-weight: 300;
}
.button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.3;
}
.arrow-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 14px;
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  height: 108px;
  max-width: 1440px;
  margin: auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.brand-seal {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #967958;
  border-radius: 20px 20px 2px 2px;
  color: var(--accent);
}
.brand-text {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 5px;
}
.brand-text small {
  font-family: var(--sans);
  display: block;
  font-size: 7px;
  letter-spacing: 1.8px;
  margin-top: 6px;
}
.site-header nav {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-link {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  position: relative;
  padding: 12px 0;
}
.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-link.active,
.nav-link:hover {
  color: var(--ink);
}
.nav-link.active:after,
.nav-link:hover:after {
  opacity: 1;
}
.header-date {
  font-size: 10px;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-date > span[aria-hidden] {
  font-size: 21px;
}
.header-date-copy {
  display: grid;
  gap: 5px;
  white-space: nowrap;
}
.header-date-copy small {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  padding-top: 56px;
  padding-bottom: 78px;
  align-items: center;
  min-height: 780px;
}
.hero-copy {
  padding: 12px 0 20px 18px;
}
.hero-copy .eyebrow {
  font-size: 9px;
  letter-spacing: 2.2px;
  margin-bottom: 33px;
  color: var(--accent);
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1.38;
  letter-spacing: 3px;
}
.title-dot {
  color: #a08b6b;
}
.hero h1 > span {
  white-space: nowrap;
}
.hero-script {
  font-family: var(--english);
  font-style: italic;
  font-size: 35px;
  letter-spacing: -1.1px;
  color: #9a896f;
  margin-top: 14px;
}
.couple-names {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 5px;
}
.couple-person {
  display: grid;
  gap: 7px;
}
.couple-person small {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1.3;
  color: var(--muted);
}
.couple-names > .ampersand {
  align-self: flex-end;
}
.ampersand {
  font-family: var(--english);
  font-style: italic;
  color: #a9957d;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
}
.hero-description {
  font-size: 12px;
  line-height: 2.1;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 19px;
}
.hero-copy > .button {
  margin-top: 26px;
}
.hero-date {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  row-gap: 9px;
  font-size: 10px;
  letter-spacing: 1.7px;
}
.hero-lunar {
  flex-basis: 100%;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.hero-date i {
  height: 11px;
  width: 1px;
  background: var(--line);
}
.hero-visual {
  position: relative;
  margin: 0 18px 0 0;
  align-self: center;
}
.hero-photo-frame {
  position: relative;
  aspect-ratio: 0.738;
  border-radius: 48% 48% var(--photo-radius) var(--photo-radius);
}
.hero-photo-frame:before {
  content: "";
  position: absolute;
  inset: -11px 11px 11px -11px;
  border: 1px solid #c7b9a2;
  border-radius: 48% 48% var(--photo-radius) var(--photo-radius);
  z-index: -1;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 64%;
  border-radius: inherit;
}
.forever-seal {
  position: absolute;
  left: -45px;
  bottom: 68px;
  width: 106px;
  height: 106px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50%;
  background: var(--paper);
  outline: 1px solid #ac9272;
  outline-offset: -7px;
  transform: rotate(-12deg);
  box-shadow: 0 4px 18px #493f3508;
}
.forever-seal > span:first-child {
  font-size: 8px;
  letter-spacing: 2px;
}
.forever-seal > span:last-child {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 1px;
}
.forever-seal svg {
  width: 51px;
  height: 27px;
  stroke: #8e7356;
  stroke-width: 1.2;
}
.photo-side-note {
  position: absolute;
  right: -28px;
  top: 60px;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 2.8px;
  color: var(--muted);
}
.photo-caption {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: 17px;
  color: var(--muted);
}
.photo-caption span:last-child {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 2px;
}
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 82px;
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}
.scroll-hint > span:last-child {
  font-size: 19px;
}
.love-ribbon {
  height: 66px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 26px;
  overflow: hidden;
  white-space: nowrap;
  color: #8c7d66;
}
.love-ribbon span {
  font-size: 10px;
  letter-spacing: 3px;
}
.love-ribbon span:nth-of-type(odd) {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 5px;
}
.love-ribbon i {
  font-size: 25px;
  font-style: normal;
}
.invitation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  padding-top: 132px;
  padding-bottom: 140px;
  align-items: center;
}
.invitation-photo {
  position: relative;
  border-radius: var(--photo-radius);
  padding: 14px 14px 46px;
  background: #fffcf6;
  box-shadow: 0 8px 38px #4c3b2310;
  transform: rotate(-4deg);
  width: 90%;
  max-width: 430px;
  justify-self: center;
}
.invitation-photo > img {
  border-radius: var(--photo-radius);
  width: 100%;
  height: auto;
  aspect-ratio: 0.75;
  object-fit: cover;
}
.handwritten {
  position: absolute;
  bottom: 16px;
  right: 22px;
  font-family: var(--english);
  font-style: italic;
  font-size: 26px;
  color: var(--accent);
}
.photo-index {
  position: absolute;
  left: -28px;
  bottom: 40px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}
.invitation-copy {
  position: relative;
}
.invitation-copy > .eyebrow {
  color: var(--accent);
  font-size: 9px;
  margin-bottom: 26px;
}
.invitation h2,
.section-heading h2,
.celebration h2,
.closing h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 2px;
  line-height: 1.65;
}
.letter-body {
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 2.25;
  color: #827769;
  margin-top: 26px;
}
.letter-body p + p {
  margin-top: 20px;
}
.letter-signature {
  font-family: var(--serif);
  font-size: 21px;
  margin-top: 30px;
  letter-spacing: 2px;
}
.letter-signature i {
  font-family: var(--english);
  color: #a49076;
  padding: 0 7px;
}
.signature-note {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  margin-top: 12px;
  color: var(--muted);
}
.botanical {
  position: absolute;
  right: -20px;
  bottom: -9px;
  width: 91px;
  height: 126px;
  stroke: #9b9679;
  stroke-width: 1;
  opacity: 0.68;
}
.moments {
  padding-top: 32px;
  padding-bottom: 110px;
}
.portrait-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  max-width: 1064px;
  margin: 48px auto 8px;
}
.story-frame {
  margin: 0;
}
.story-frame:nth-child(2) {
  padding-top: 78px;
}
.story-photo {
  position: relative;
  display: block;
  padding: 0;
  width: 100%;
  border: 0;
  background: #e7dfd3;
  overflow: hidden;
  border-radius: var(--photo-radius);
  aspect-ratio: 2 / 3;
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (hover: hover) and (pointer: fine) {
  .story-photo img {
    transition: filter 0.3s;
  }
  .story-photo:hover img {
    filter: brightness(0.94);
  }
}
.story-photo:hover .gallery-zoom,
.story-photo:focus-visible .gallery-zoom {
  opacity: 1;
  transform: none;
}
.story-frame figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 2px;
}
.caption-phrase {
  display: inline-block;
  white-space: nowrap;
}
.story-frame figcaption small {
  display: block;
  margin-top: 9px;
  font-family: var(--sans);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 2px;
}
.story-note {
  grid-column: 1 / -1;
  margin-top: 40px;
  text-align: center;
  font-family: var(--serif);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 3px;
  line-height: 2;
}
.story-note > span {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-heading .eyebrow {
  font-size: 9px;
  color: var(--accent);
  margin-bottom: 13px;
}
.section-heading h2 {
  font-size: 35px;
}
.section-heading > p {
  text-align: right;
  line-height: 2;
  letter-spacing: 1px;
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 7px;
}
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 37px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.gallery-filters {
  display: flex;
  gap: 25px;
}
.filter {
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  position: relative;
}
.filter.active {
  color: var(--ink);
}
.filter.active:after {
  content: "";
  position: absolute;
  bottom: -19px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.filter span {
  font-size: 8px;
  vertical-align: super;
  margin-left: 4px;
  color: var(--accent);
}
.gallery-hint {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}
.gallery-hint span {
  font-size: 16px;
  margin-left: 8px;
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 24px;
  padding-top: 32px;
  align-items: flex-start;
}
.gallery-card {
  flex: 0 0 var(--gallery-width, calc((100% - 48px) / 3));
  margin: 0;
  min-width: 0;
}
.gallery-photo {
  padding: 0;
  display: block;
  border: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--photo-radius);
  background: #e7dfd3;
  width: 100%;
  aspect-ratio: var(--photo-ratio, 2 / 3);
}
.gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (hover: hover) and (pointer: fine) {
  .gallery-photo img {
    transition: filter 0.3s;
  }
  .gallery-photo:hover img {
    filter: brightness(0.93);
  }
}
.gallery-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 33px;
  height: 33px;
  border: 1px solid #fff8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 23px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.gallery-photo:hover .gallery-zoom,
.gallery-photo:focus-visible .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}
.gallery-card figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 13px;
  gap: 5px;
  line-height: 1.65;
}
.gallery-card figcaption > span:first-child {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 1px;
}
.gallery-card figcaption > span:last-child {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.text-button {
  border: 0;
  border-bottom: 1px solid #b5a58e;
  background: none;
  padding: 12px 0;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 35px;
}
.text-button span {
  font-size: 19px;
}
.gallery-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  overflow-anchor: none;
}
.gallery-status {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.8;
}
.gallery-more {
  margin: 0;
  gap: 20px;
}
.gallery-more[hidden] {
  display: none;
}
.celebration {
  background: #eae5da;
  padding: 90px 0 94px;
  position: relative;
  overflow: hidden;
}
.celebration:before {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
  border: 1px solid #dcd3c2;
  border-radius: 50%;
  top: 70px;
  left: -370px;
  pointer-events: none;
}
.celebration:after {
  content: "";
  position: absolute;
  width: 690px;
  height: 690px;
  border: 1px solid #dcd3c2;
  border-radius: 50%;
  top: 116px;
  left: -325px;
  pointer-events: none;
}
.celebration-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.celebration-intro {
  padding-left: 35px;
}
.celebration-intro > .eyebrow {
  color: var(--accent);
  font-size: 9px;
  margin-bottom: 22px;
}
.celebration h2 {
  font-size: 47px;
  line-height: 1.5;
}
.celebration-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 2.2;
  margin-top: 23px;
}
.countdown {
  margin-top: 34px;
}
.countdown > span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}
.countdown > p {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
}
.countdown strong {
  font-family: var(--english);
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
}
.countdown > p > span {
  font-family: var(--serif);
  font-size: 15px;
}
.countdown > p > .countdown-star {
  font-size: 46px;
  margin-left: 25px;
  color: #aa9474;
  align-self: center;
}
.event-card {
  background: var(--paper);
  position: relative;
  box-shadow: 0 12px 34px #5c453808;
  padding: 34px 38px 24px;
  outline: 1px solid #d2c7b5;
  outline-offset: -10px;
  overflow: hidden;
}
.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, #fff9 48%, transparent 65%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
}
.celebration.is-arriving .celebration-intro {
  animation: wedding-arrival-copy 0.7s ease-out both;
}
.celebration.is-arriving .event-card {
  outline-color: #a78b58;
  outline-width: 2px;
  animation: wedding-arrival-card 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.celebration.is-arriving .event-card::after {
  animation: wedding-arrival-sheen 2.4s ease-out both;
}
@keyframes wedding-arrival-copy {
  from { transform: translateY(4px); opacity: 0.8; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes wedding-arrival-card {
  from { transform: translateY(4px) scale(0.995); opacity: 0.9; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes wedding-arrival-sheen {
  0% { transform: translateX(-110%); opacity: 0; }
  25% { opacity: 0.4; }
  100% { transform: translateX(110%); opacity: 0; }
}
.wedding-confetti {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 15;
  contain: layout paint;
  perspective: 600px;
}
.wedding-confetti > i {
  position: absolute;
  display: block;
  opacity: 0;
  transform-origin: 50% 45%;
}
.wedding-confetti > .confetti-petal {
  width: 15px;
  height: 29px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 44'%3E%3Cdefs%3E%3ClinearGradient id='p' x1='0' y1='0' x2='1' y2='.5'%3E%3Cstop stop-color='%23f5ead0'/%3E%3Cstop offset='.58' stop-color='%23d8bf91'/%3E%3Cstop offset='1' stop-color='%23ba985e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M18.5 1.5C25 9 23 20 16.5 28.5C12 34.5 7 39 4.8 42C.4 34 1.1 24.8 5.4 16.7C8.8 10.5 15.5 7.1 18.5 1.5Z' fill='url(%23p)' fill-opacity='.95'/%3E%3Cpath d='M5.5 39.8C7.5 27.3 16.2 21.8 18.2 7.2' fill='none' stroke='%23fff8e6' stroke-opacity='.68' stroke-width='.7'/%3E%3Cpath d='M18.5 1.5C25 9 23 20 16.5 28.5' fill='none' stroke='%23b49462' stroke-opacity='.3' stroke-width='.5'/%3E%3C/svg%3E");
}
.wedding-confetti > .confetti-petal.confetti-rose {
  width: 19px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 34'%3E%3Cdefs%3E%3ClinearGradient id='p' x1='0' y1='0' x2='.8' y2='1'%3E%3Cstop stop-color='%23f6e3e0'/%3E%3Cstop offset='.52' stop-color='%23dcb4b9'/%3E%3Cstop offset='1' stop-color='%23bd8796'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5.5 3.5C11.3-.8 17.5 1.3 22.8 6.5C27 10.8 27.2 18.5 23 24.8C19.8 29.7 12.4 32.3 8.2 30.5C9.2 26.2 4.2 21.7 2.4 15.8C.7 10.4 1.3 6.5 5.5 3.5Z' fill='url(%23p)'/%3E%3Cpath d='M8.2 30.5C11.6 28.6 14.4 25.4 13.6 21.3C18.3 26.8 14.7 31.6 8.2 30.5Z' fill='%23a97487' fill-opacity='.22'/%3E%3Cpath d='M5.5 3.5C11.3-.8 17.5 1.3 22.8 6.5' fill='none' stroke='%23fff3ed' stroke-opacity='.7' stroke-width='.75'/%3E%3C/svg%3E");
}
.wedding-confetti > .confetti-sparkle {
  width: 9px;
  height: 12px;
  background: linear-gradient(135deg, #f4dfad, #c59a54 58%, #e7c88d);
  clip-path: polygon(50% 0%, 55% 44%, 100% 50%, 55% 56%, 50% 100%, 45% 56%, 0% 50%, 45% 44%);
}
.wedding-confetti > .confetti-petal.confetti-rose:nth-child(3n) {
  width: 17px;
  height: 26px;
}
.wedding-confetti > .confetti-petal.confetti-rose-warm {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 34'%3E%3Cdefs%3E%3ClinearGradient id='p' x1='0' y1='0' x2='.8' y2='1'%3E%3Cstop stop-color='%23f4d1c7'/%3E%3Cstop offset='.52' stop-color='%23d99698'/%3E%3Cstop offset='1' stop-color='%23aa596d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5.5 3.5C11.3-.8 17.5 1.3 22.8 6.5C27 10.8 27.2 18.5 23 24.8C19.8 29.7 12.4 32.3 8.2 30.5C9.2 26.2 4.2 21.7 2.4 15.8C.7 10.4 1.3 6.5 5.5 3.5Z' fill='url(%23p)'/%3E%3Cpath d='M8.2 30.5C11.6 28.6 14.4 25.4 13.6 21.3C18.3 26.8 14.7 31.6 8.2 30.5Z' fill='%239f4c65' fill-opacity='.22'/%3E%3Cpath d='M5.5 3.5C11.3-.8 17.5 1.3 22.8 6.5' fill='none' stroke='%23fff0e5' stroke-opacity='.7' stroke-width='.75'/%3E%3C/svg%3E");
}
.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 2.2px;
}
.event-card-top > span:last-child {
  font-family: var(--serif);
  font-size: 22px;
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px 0 30px;
  gap: 7px;
}
.event-date > span:first-child {
  font-family: var(--english);
  font-size: 17px;
  letter-spacing: 6px;
  margin-left: 6px;
}
.event-date strong {
  font-family: var(--english);
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -3px;
}
.event-date strong span {
  font-size: 43px;
  color: #baa98d;
  font-weight: 400;
  padding: 0 3px;
}
.event-date .event-weekday {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 7px;
}
.event-date .event-lunar {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-top: 5px;
}
.event-location {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.event-location svg {
  width: 21px;
  height: 25px;
  stroke: #9f8b6f;
  stroke-width: 1.2;
  flex-shrink: 0;
}
.event-location h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 1px;
}
.event-location h3 span {
  padding: 0 6px;
  color: #9c8c72;
}
.event-location p {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.9;
}
.event-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.event-actions > .button {
  flex: 1;
  white-space: nowrap;
  font-size: 10px;
  gap: 15px;
  padding: 0 12px;
  min-height: 43px;
}
.copy-address {
  display: block;
  margin: 17px auto 0;
  border: 0;
  background: none;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 7px;
}
.copy-address span {
  font-size: 15px;
  margin-left: 7px;
}
.address-fallback {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.address-fallback[hidden] {
  display: none;
}
.address-fallback textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--photo-radius);
  background: var(--paper);
  color: var(--ink);
  font: 16px / 1.7 var(--sans);
  resize: none;
  -webkit-user-select: text;
  user-select: text;
}
.closing {
  position: relative;
  margin: 0;
  min-height: 530px;
  overflow: hidden;
  border-radius: 0;
  color: var(--white);
}
.closing > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 59%;
}
.closing:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #201b1b08 20%, #241f2087 60%, #241f20b0);
}
.closing-copy {
  position: relative;
  z-index: 1;
  padding: 98px 8vw 90px 60%;
}
.closing .eyebrow {
  font-size: 9px;
  letter-spacing: 3px;
  color: #e2d7c6;
  margin-bottom: 22px;
}
.closing h2 {
  font-size: 43px;
  line-height: 1.55;
}
.closing-copy > p:not(.eyebrow) {
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 2;
  margin-top: 24px;
  color: #e7dfd1;
}
.closing-script {
  display: block;
  font-family: var(--english);
  font-style: italic;
  font-size: 25px;
  color: #e8d8c0;
  margin-top: 27px;
}
.site-footer {
  min-height: 166px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 64px 18px;
  max-width: 1440px;
  margin: auto;
}
.footer-names {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-names i {
  font-family: var(--english);
  font-size: 24px;
  color: #ae9979;
}
.site-footer > p {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.site-footer > p > span {
  margin: 0 12px;
}
.footer-lunar {
  display: block;
  margin-top: 9px;
  font-size: 10px;
  text-align: center;
  letter-spacing: 1px;
}
.footer-love {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.footer-love > span {
  margin-left: 9px;
  font-size: 16px;
}
.footer-credit {
  flex-basis: 100%;
  text-align: center;
  font-family: var(--english);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.8px;
  margin-top: 34px;
  color: #d1c8bb;
}
.mobile-dock {
  display: none;
}
.lightbox {
  border: 0;
  padding: 0;
  background: #27231fed;
  color: #f6f3ec;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  height: 100dvh;
  inset: 0;
  margin: 0;
  overflow: hidden;
}
.lightbox::backdrop {
  background: #27231f;
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
}
.lightbox-top,
.lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 32px;
  gap: 20px;
  flex-shrink: 0;
}
.lightbox-top > span {
  font-size: 10px;
  letter-spacing: 2px;
}
.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 300;
}
.icon-button:hover {
  background: #fff2;
}
.lightbox button:focus-visible {
  outline-color: #e1ccb1;
}
.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  padding: 0 90px;
}
.lightbox-frame {
  position: relative;
  flex: none;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
  border-radius: 6px;
  isolation: isolate;
}
.lightbox-frame.has-photo {
  transition: width 260ms ease, height 260ms ease;
}
.lightbox-photo-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff06;
}
.lightbox-photo-layer > img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
}
.lightbox-photo-layer > img.is-visible {
  opacity: 1;
}
.lightbox-feedback {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 9px 12px;
  border-radius: 6px;
  background: #27231fbd;
  color: #fffaf2;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .5px;
  text-align: center;
}
.lightbox-feedback[hidden],
.lightbox-feedback button[hidden] {
  display: none;
}
.lightbox-frame[data-state="loading"] .lightbox-feedback::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 1px solid #fff5;
  border-top-color: #fffaf2;
  border-radius: 50%;
  animation: lightbox-loading 900ms linear infinite;
}
.lightbox-feedback button {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 2px 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: nowrap;
}
@keyframes lightbox-loading {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox-frame.has-photo { transition: none; }
  .lightbox-frame[data-state="loading"] .lightbox-feedback::before { animation: none; }
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-prev {
  left: 24px;
}
.lightbox-next {
  right: 24px;
}
.lightbox-bottom {
  min-height: 68px;
  font-size: 12px;
  letter-spacing: 2px;
}
.lightbox-bottom > span {
  font-size: 10px;
  color: #c6b9aa;
  white-space: nowrap;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 15px);
  padding: 14px 24px;
  background: #493f35;
  color: #fffdf8;
  border-radius: 3px;
  box-shadow: 0 3px 20px #0002;
  max-width: calc(100% - 36px);
  font-size: 12px;
  line-height: 1.8;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
  user-select: text;
}
.reveal {
  transition:
    opacity 0.85s,
    translate 0.85s;
}
.reveal.pending {
  opacity: 0;
  translate: 0 22px;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 70px;
    padding-bottom: 94px;
    min-height: 830px;
  }
  .hero-copy {
    padding-left: 10px;
  }
  .hero-visual {
    margin-right: 4px;
  }
  .hero-photo-frame {
    aspect-ratio: 0.76;
  }
  .hero h1 {
    font-size: 66px;
  }
}
@media (max-width: 1050px) {
  .portrait-story {
    column-gap: 44px;
  }
  .section-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
  .site-header {
    padding: 0 40px;
    height: 94px;
  }
  .site-header nav {
    gap: 24px;
  }
  .header-date {
    display: none;
  }
  .hero {
    gap: 42px;
    min-height: 680px;
    padding-top: 46px;
    padding-bottom: 67px;
  }
  .hero-copy {
    padding-left: 0;
  }
  .hero h1 {
    font-size: clamp(34px, 4.2vw, 44px);
    letter-spacing: 1px;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    gap: 10px;
    margin-bottom: 26px;
  }
  .hero-script {
    font-size: 28px;
  }
  .hero-description {
    margin-top: 15px;
  }
  .hero-visual {
    margin-right: 8px;
  }
  .couple-names {
    font-size: 23px;
    margin-top: 25px;
    gap: 14px;
  }
  .hero-photo-frame {
    aspect-ratio: 0.68;
  }
  .hero-date {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .scroll-hint {
    left: 40px;
  }
  .forever-seal {
    width: 91px;
    height: 91px;
    left: -32px;
    bottom: 49px;
  }
  .forever-seal > span:first-child {
    font-size: 7px;
  }
  .forever-seal > span:last-child {
    font-size: 8px;
  }
  .forever-seal svg {
    width: 44px;
    height: 22px;
  }
  .invitation {
    gap: 65px;
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .invitation h2 {
    font-size: 31px;
  }
  .letter-body {
    font-size: 12px;
  }
  .botanical {
    right: -10px;
    width: 69px;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .celebration-inner {
    gap: 54px;
  }
  .celebration-intro {
    padding-left: 0;
  }
  .event-card {
    padding-left: 25px;
    padding-right: 25px;
  }
  .event-location h3 {
    font-size: 18px;
  }
  .event-actions > .button {
    gap: 8px;
    padding: 0 8px;
  }
  .closing {
    min-height: 480px;
  }
  .closing-copy {
    padding-left: 58%;
    padding-right: 5vw;
  }
  .closing h2 {
    font-size: 38px;
  }
  .closing-script {
    font-size: 22px;
  }
  .site-footer {
    padding-left: 40px;
    padding-right: 40px;
  }
  .footer-love {
    display: none;
  }
  .gallery-filters {
    gap: 21px;
  }
  .gallery-hint {
    font-size: 8px;
  }
}
@media (max-width: 700px) {
  .portrait-story {
    column-gap: 14px;
    margin-top: 25px;
    margin-bottom: 25px;
  }
  .story-frame:nth-child(2) {
    padding-top: 38px;
  }
  .story-frame figcaption {
    margin-top: 12px;
    font-size: 12px;
    letter-spacing: 0.5px;
    line-height: 1.8;
  }
  .story-frame figcaption small {
    margin-top: 4px;
    font-size: 6px;
    letter-spacing: 1px;
  }
  .story-photo .gallery-zoom {
    opacity: 1;
    transform: none;
  }
  .story-note {
    margin-top: 22px;
    font-size: 11px;
    letter-spacing: 2px;
  }
  .story-note > span {
    margin-bottom: 4px;
    font-size: 20px;
  }
  html {
    scroll-padding-top: 18px;
  }
  .section-wrap {
    padding-left: 26px;
    padding-right: 26px;
  }
  .site-header {
    height: 84px;
    padding: 0 24px;
    gap: 10px;
  }
  .brand {
    gap: 9px;
  }
  .brand-seal {
    width: 29px;
    height: 33px;
    font-size: 21px;
  }
  .brand-text {
    font-size: 16px;
    letter-spacing: 3px;
  }
  .brand-text small {
    font-size: 5px;
    letter-spacing: 1.1px;
    margin-top: 5px;
  }
  .site-header nav {
    gap: 18px;
  }
  .nav-link {
    font-size: 10px;
    letter-spacing: 0;
    padding: 10px 0;
  }
  .site-header .nav-link:first-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 30px;
    padding-bottom: 45px;
    min-height: auto;
  }
  .hero-copy {
    text-align: center;
    padding: 0;
  }
  .hero-copy .eyebrow {
    justify-content: center;
    margin-bottom: 18px;
    font-size: 8px;
    letter-spacing: 2px;
  }
  .hero-copy .eyebrow .tiny-line {
    width: 22px;
  }
  .hero h1 {
    font-size: clamp(32px, 9.5vw, 42px);
    line-height: 1.38;
    letter-spacing: 2px;
  }
  .hero h1 br {
    display: initial;
  }
  .hero h1 {
    max-width: 490px;
    margin: auto;
    font-size: clamp(32px, 9.5vw, 42px);
    line-height: 1.3;
  }
  .hero-script {
    font-size: 24px;
    margin-top: 10px;
  }
  .couple-names {
    justify-content: center;
    font-size: 21px;
    gap: 22px;
    margin-top: 18px;
  }
  .hero-description {
    font-size: 10px;
    margin-top: 12px;
    letter-spacing: 1.5px;
    line-height: 2;
  }
  .hero-description br {
    display: none;
  }
  .hero-copy > .button {
    display: none;
  }
  .hero-date {
    justify-content: center;
    margin-top: 15px;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .hero-visual {
    width: 92%;
    max-width: 415px;
    margin: 0 auto;
  }
  .hero-photo-frame {
    aspect-ratio: 0.76;
    border-radius: 47% 47% var(--photo-radius) var(--photo-radius);
  }
  .hero-photo-frame:before {
    inset: -8px 8px 8px -8px;
  }
  .photo-side-note {
    right: -21px;
    top: 56px;
    letter-spacing: 1.8px;
    font-size: 7px;
  }
  .forever-seal {
    width: 84px;
    height: 84px;
    left: -24px;
    bottom: 46px;
    gap: 5px;
    outline-offset: -6px;
  }
  .photo-caption {
    font-size: 7px;
    letter-spacing: 1px;
    margin-top: 13px;
  }
  .photo-caption span:last-child {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .scroll-hint {
    display: none;
  }
  .love-ribbon {
    height: 53px;
    gap: 23px;
    padding: 0 20px;
    justify-content: center;
  }
  .love-ribbon span {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .love-ribbon span:nth-of-type(odd) {
    font-size: 12px;
    letter-spacing: 3px;
  }
  .love-ribbon span:last-of-type,
  .love-ribbon i:last-child {
    display: none;
  }
  .love-ribbon i {
    font-size: 19px;
  }
  .invitation {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 78px;
    padding-bottom: 75px;
  }
  .invitation-photo {
    width: 77%;
    max-width: 315px;
    padding: 10px 10px 40px;
    justify-self: center;
  }
  .invitation-photo > img {
    aspect-ratio: 0.84;
  }
  .handwritten {
    font-size: 23px;
    bottom: 11px;
    right: 18px;
  }
  .photo-index {
    font-size: 6px;
    left: -23px;
  }
  .invitation-copy {
    padding: 0 12px;
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }
  .invitation-copy > .eyebrow {
    font-size: 8px;
    margin-bottom: 18px;
  }
  .invitation h2 {
    font-size: 30px;
    line-height: 1.6;
    letter-spacing: 1px;
  }
  .letter-body {
    font-size: 12px;
    margin-top: 22px;
    line-height: 2.3;
    letter-spacing: 0.6px;
  }
  .letter-body p + p {
    margin-top: 18px;
  }
  .letter-signature {
    font-size: 20px;
    margin-top: 26px;
  }
  .signature-note {
    font-size: 9px;
  }
  .botanical {
    right: 7px;
    bottom: 0;
    width: 72px;
    height: 110px;
  }
  .moments {
    padding-top: 30px;
    padding-bottom: 72px;
  }
  .section-heading {
    display: block;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.9px;
    margin-bottom: 13px;
  }
  .section-heading h2 {
    font-size: 29px;
    letter-spacing: 1px;
  }
  .section-heading > p {
    text-align: left;
    font-size: 10px;
    margin-top: 13px;
  }
  .section-heading > p br {
    display: none;
  }
  .gallery-toolbar {
    margin-top: 21px;
    padding-bottom: 12px;
  }
  .gallery-filters {
    gap: 19px;
    width: 100%;
    justify-content: space-between;
  }
  .filter {
    font-size: 10px;
    letter-spacing: 0;
    white-space: nowrap;
    padding: 10px 0;
  }
  .filter span {
    font-size: 7px;
    margin-left: 2px;
  }
  .filter.active:after {
    bottom: -13px;
  }
  .gallery-hint {
    display: none;
  }
  .gallery-grid {
    gap: 24px 14px;
    padding-top: 24px;
  }
  .gallery-card {
    flex-basis: var(--gallery-width, calc((100% - 14px) / 2));
  }
  .gallery-zoom {
    opacity: 1;
    transform: none;
    width: 25px;
    height: 25px;
    font-size: 18px;
    bottom: 9px;
    right: 9px;
    background: #4e42351f;
  }
  .gallery-card figcaption {
    margin-top: 10px;
    gap: 4px;
  }
  .gallery-card figcaption > span:first-child {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  .gallery-card figcaption > span:last-child {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .gallery-pagination {
    margin-top: 30px;
  }
  .gallery-more {
    font-size: 10px;
  }
  .celebration {
    padding: 66px 0 60px;
  }
  .celebration-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .celebration-intro {
    text-align: center;
  }
  .celebration-intro > .eyebrow {
    justify-content: center;
    font-size: 8px;
    margin-bottom: 19px;
  }
  .celebration h2 {
    font-size: 37px;
    letter-spacing: 3px;
  }
  .celebration-intro > p:not(.eyebrow) {
    font-size: 11px;
    margin-top: 14px;
  }
  .countdown {
    margin-top: 18px;
  }
  .countdown > span {
    font-size: 9px;
  }
  .countdown > p {
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
  }
  .countdown strong {
    font-size: 58px;
  }
  .countdown > p > .countdown-star {
    font-size: 33px;
    margin-left: 12px;
  }
  .countdown > p > span {
    font-size: 13px;
  }
  .event-card {
    width: 100%;
    max-width: 430px;
    justify-self: center;
    padding: 29px 30px 23px;
  }
  .event-card-top {
    font-size: 7px;
  }
  .event-date {
    margin-top: 19px;
    margin-bottom: 26px;
  }
  .event-date strong {
    font-size: 69px;
  }
  .event-date > span:first-child {
    font-size: 16px;
  }
  .event-date .event-weekday {
    font-size: 8px;
  }
  .event-date .event-lunar {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .event-location {
    padding-top: 23px;
    gap: 11px;
  }
  .event-location h3 {
    font-size: 20px;
  }
  .event-location p {
    font-size: 9px;
  }
  .event-actions {
    gap: 8px;
    margin-top: 21px;
  }
  .event-actions > .button {
    font-size: 10px;
    padding: 0 9px;
    gap: 12px;
    min-height: 45px;
  }
  .closing {
    min-height: 480px;
    display: flex;
    align-items: flex-end;
  }
  .closing > img {
    object-position: 34% center;
  }
  .closing:after {
    background: linear-gradient(
      180deg,
      #1c181712 10%,
      #231e2066 45%,
      #231e20b8
    );
  }
  .closing-copy {
    padding: 135px 30px 42px;
    width: 100%;
    text-align: center;
  }
  .closing-copy > .eyebrow {
    justify-content: center;
    font-size: 8px;
    margin-bottom: 14px;
  }
  .closing h2 {
    font-size: 33px;
    line-height: 1.5;
    letter-spacing: 3px;
  }
  .closing-copy > p:not(.eyebrow) {
    font-size: 9px;
    margin-top: 17px;
    letter-spacing: 0.7px;
  }
  .closing-script {
    font-size: 24px;
    margin-top: 18px;
  }
  .site-footer {
    min-height: 200px;
    flex-direction: column;
    justify-content: center;
    gap: 19px;
    padding: 36px 20px 16px;
    margin-bottom: calc(var(--mobile-dock-height) + 14px + env(safe-area-inset-bottom));
  }
  .footer-names {
    font-size: 19px;
    gap: 14px;
  }
  .site-footer > p {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .site-footer > p > span {
    margin: 0 5px;
  }
  .footer-love {
    display: block;
    font-size: 7px;
  }
  .footer-love > span {
    font-size: 12px;
  }
  .footer-credit {
    flex-basis: auto;
    font-size: 8px;
  }
  .mobile-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fcf9f2;
    border-top: 1px solid #ded8ccbd;
    min-height: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom));
    padding: 10px 20px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 10;
    gap: 10px;
  }
  .mobile-dock .dock-details {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 10px;
    white-space: nowrap;
  }
  .dock-context {
    display: grid;
    gap: 4px;
    min-width: 0;
  }
  .dock-details time {
    font-family: var(--english);
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: 0.2px;
    font-weight: 400;
  }
  .dock-details .dock-venue {
    font-size: 10px;
    line-height: 1.4;
    color: var(--muted);
    letter-spacing: 0.2px;
  }
  .dock-details .dock-lunar {
    font-family: var(--serif);
    font-size: 10px;
    line-height: 1.4;
    color: var(--accent);
    letter-spacing: 0.8px;
  }
  .mobile-dock .button {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 9.5px;
    gap: 8px;
  }
  .toast {
    bottom: calc(var(--mobile-dock-height) + 12px + env(safe-area-inset-bottom));
    font-size: 11px;
    padding: 12px 18px;
    width: max-content;
    max-width: calc(100% - 40px);
  }
  .lightbox-top {
    padding: 14px 16px;
    padding-top: calc(14px + env(safe-area-inset-top));
  }
  .lightbox-top > span {
    font-size: 8px;
  }
  .icon-button {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .lightbox-stage {
    padding: 0 8px;
  }
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 15px;
    background: #27231fa6;
    width: 44px;
    height: 44px;
    transform: none;
  }
  .lightbox-prev {
    left: 22px;
  }
  .lightbox-next {
    right: 22px;
  }
  .lightbox-bottom {
    padding: 18px 23px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    min-height: 70px;
    font-size: 11px;
    letter-spacing: 1px;
  }
  .lightbox-bottom > span {
    font-size: 9px;
  }
}
@media (max-width: 370px) {
  .site-header {
    padding: 0 18px;
  }
  .site-header nav {
    gap: 14px;
  }
  .section-wrap {
    padding-left: 21px;
    padding-right: 21px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-copy .eyebrow {
    letter-spacing: 1.5px;
  }
  .gallery-filters {
    gap: 12px;
  }
  .filter {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .event-card {
    padding-left: 22px;
    padding-right: 22px;
  }
  .event-location h3 {
    font-size: 18px;
  }
  .event-actions > .button {
    gap: 6px;
    padding: 0 6px;
    font-size: 9px;
  }
  .mobile-dock {
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }
  .mobile-dock .dock-details {
    gap: 8px;
  }
  .dock-details time {
    font-size: 19px;
  }
  .dock-details .dock-venue,
  .dock-details .dock-lunar {
    font-size: 9px;
  }
  .mobile-dock .button {
    gap: 6px;
    padding: 0 8px;
    font-size: 9px;
  }
  .hero-description {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal.pending {
    opacity: 1;
    translate: none;
  }
  .button:hover {
    transform: none;
  }
}

.nav-share {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 12px 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.nav-share > span {
  font-size: 18px;
}
.share-dialog {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 90px #201a1840;
}
.share-dialog::backdrop {
  background: #2b241ebd;
}
.share-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.share-heading .eyebrow {
  color: var(--muted);
  font-size: 8px;
  margin-bottom: 9px;
}
.share-heading h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
}
.share-heading .icon-button {
  border-color: var(--line);
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.share-heading .icon-button:hover {
  background: #e6ded3;
}
.share-poster {
  width: 100%;
  height: auto;
  max-height: 44vh;
  max-height: 44svh;
  object-fit: contain;
}
.share-instructions {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  text-align: center;
  margin: 18px 0;
}
.share-actions {
  display: flex;
  gap: 10px;
}
.share-actions .button {
  flex: 1;
  padding: 0 12px;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.share-status {
  min-height: 17px;
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  color: var(--accent);
}
.invitation-text {
  width: 100%;
  height: 168px;
  resize: vertical;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.8;
}
@media (max-width: 700px) {
  .site-header nav {
    gap: 14px;
  }
  .nav-share {
    font-size: 10px;
    letter-spacing: 0;
  }
  .nav-share > span {
    display: none;
  }
  .share-dialog {
    padding: 20px;
  }
  .share-heading h2 {
    font-size: 20px;
  }
  .share-instructions {
    font-size: 10px;
  }
  .share-actions .button {
    font-size: 10px;
    padding: 0 9px;
    gap: 8px;
  }
}
@media (max-width: 370px) {
  .site-header nav {
    gap: 10px;
  }
  .nav-link,
  .nav-share {
    font-size: 9px;
  }
  .share-heading h2 {
    font-size: 18px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.music-player {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 12;
  color: var(--ink);
}
.music-bar {
  display: flex;
  align-items: center;
  background: #fcf9f2f2;
  border: 1px solid #d8cdbd;
  border-radius: 40px;
  box-shadow: 0 4px 24px #44372a14;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.music-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 7px;
  min-height: 54px;
  border: 0;
  background: transparent;
  border-radius: 40px;
  text-align: left;
}
.music-toggle:disabled,
.music-list-toggle:disabled {
  cursor: wait;
  opacity: 0.65;
}
.music-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--white);
  background: repeating-radial-gradient(
    circle at center,
    #745643 0 3px,
    #806149 3px 4px
  );
  border: 1px solid #8b7056;
}
.music-disc::before,
.music-disc::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.music-disc::before {
  inset: -3px;
  border: 1.5px solid transparent;
  border-top-color: #ab8b61;
  border-right-color: #ab8b6160;
}
.music-disc::after {
  inset: -2px;
  border: 1px solid #ab8b6180;
}
.music-disc svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  grid-area: 1 / 1;
}
.music-pause-icon {
  display: none;
}
.music-toggle[aria-pressed="true"] .music-play-icon {
  display: none;
}
.music-toggle[aria-pressed="true"] .music-pause-icon {
  display: block;
}
.music-caption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  width: 153px;
}
.music-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.5px;
}
.music-state {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.music-list-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  border-radius: 0 30px 30px 0;
  margin-right: 5px;
}
.music-list-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  stroke-width: 1.4;
}
.music-player.is-playing .music-disc {
  box-shadow: 0 0 0 3px #a08b6b1c;
}
.music-player.is-playing .music-disc::before {
  opacity: 1;
  animation: music-orbit 3.2s linear infinite;
}
.music-player.is-playing .music-disc::after {
  animation: music-pulse 2.4s ease-out infinite;
}
.music-player.is-playing .music-bar {
  animation: music-start-glow 1s ease-out;
}
@keyframes music-orbit {
  to { transform: rotate(360deg); }
}
@keyframes music-pulse {
  0% { transform: scale(1); opacity: 0.65; }
  75%, 100% { transform: scale(1.4); opacity: 0; }
}
@keyframes music-start-glow {
  0%, 100% { box-shadow: 0 4px 24px #44372a14; }
  35% { box-shadow: 0 0 0 4px #b69a6d24, 0 4px 24px #ab8b613d; }
}
.music-player.is-playing .music-state {
  color: var(--accent);
}
.music-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 320px;
  max-width: calc(100vw - 28px);
  max-height: min(500px, calc(100dvh - 110px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 21px 18px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 50px #382b2926;
}
.music-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.music-panel-heading .eyebrow {
  font-size: 7px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 9px;
}
.music-panel-heading h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
}
.music-panel-heading > span {
  font-family: var(--english);
  font-size: 27px;
  color: #a28c70;
}
.music-panel-note {
  font-size: 9px;
  color: var(--muted);
  margin: 12px 0 17px;
  letter-spacing: 0.5px;
}
.music-panel-current {
  margin-top: 15px;
  color: var(--accent);
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.music-panel-current + .music-panel-note {
  margin-top: 5px;
}
.music-track-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.music-track-list li + li {
  border-top: 1px solid #dfd7ca8c;
}
.music-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
}
.music-track:hover {
  background: #ebe4d9;
}
.music-track.selected {
  background: #e9e1d3;
}
.music-track-number {
  font-family: var(--english);
  font-size: 11px;
  color: #a18b71;
  flex-shrink: 0;
}
.music-track-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.music-track-copy > span {
  font-size: 11px;
  line-height: 1.5;
}
.music-track-copy small {
  font-size: 8px;
  color: var(--muted);
  line-height: 1.5;
}
.music-track-duration {
  font-size: 9px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .music-player.is-panel-open::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    width: 320px;
    max-width: calc(100vw - 28px);
    height: 12px;
  }
}
@media (max-width: 700px), (pointer: coarse) and (max-width: 1050px) {
  .music-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    gap: 0;
    padding: 5px;
  }
  .music-disc {
    width: 34px;
    height: 34px;
  }
  .music-caption {
    display: none;
  }
  .music-list-toggle {
    width: 44px;
    height: 44px;
    margin-right: 0;
  }
  .music-bar {
    background: #fcf9f2;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 3px 16px #44372a12;
  }
}
@media (max-width: 700px) {
  .music-player {
    right: 14px;
    bottom: calc(var(--mobile-dock-height) + 12px + env(safe-area-inset-bottom));
  }
  .music-panel {
    max-height: min(500px, calc(100dvh - var(--mobile-dock-height) - 102px - env(safe-area-inset-bottom)));
  }
}
@media (max-width: 700px) and (max-height: 760px) {
  .celebration h2 {
    font-size: 32px;
    line-height: 1.4;
  }
  .celebration-intro > p:not(.eyebrow) {
    margin-top: 10px;
    line-height: 1.9;
  }
  .countdown {
    margin-top: 12px;
  }
  .countdown strong {
    font-size: 46px;
  }
  .celebration-inner {
    gap: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .celebration.is-arriving .event-card {
    outline-color: #a78b58;
    box-shadow: 0 0 0 3px #b69a6d30;
  }
  .music-player.is-playing .music-disc::before {
    border-color: #ab8b61;
  }
}
