:root {
  --cream: #f4efe5;
  --paper: #fbf8f1;
  --ink: #21302a;
  --muted: #6f756f;
  --sage: #778d80;
  --sage-dark: #50685b;
  --butter: #f0cb71;
  --lilac: #aaa4c8;
  --coral: #d79b82;
  --line: rgba(33, 48, 42, 0.16);
  --serif: "Gowun Batang", serif;
  --display: "DM Serif Display", "Gowun Batang", serif;
  --sans: "Noto Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--butter);
}

.topbar {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.12em;
}

.wordmark__star {
  color: var(--butter);
  font-family: var(--sans);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #b9b8ad;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  transform: scale(1.035);
  transition: transform 2s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.is-ready .hero__media {
  transform: scale(1);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 45%;
  filter: saturate(0.88) contrast(0.98);
}

.hero__shade {
  background: linear-gradient(180deg, rgba(25, 34, 29, 0.18) 0%, rgba(25, 34, 29, 0.02) 38%, rgba(25, 34, 29, 0.56) 100%);
}

.hero__content {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 7vw, 110px);
  bottom: clamp(112px, 15vh, 170px);
  max-width: 680px;
}

.hero__eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.hero__eyebrow {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s 0.2s ease, transform 0.8s 0.2s ease;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 8vw, 96px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.18;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s 0.35s ease, transform 1s 0.35s ease;
}

.hero h1 em {
  color: #f8db92;
  font-style: normal;
}

.hero__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s 0.55s ease, transform 0.8s 0.55s ease;
}

.is-ready .hero__eyebrow,
.is-ready .hero h1,
.is-ready .hero__meta {
  opacity: 1;
  transform: translateY(0);
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 5vw, 70px);
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero__scroll-line {
  position: relative;
  display: block;
  width: 36px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.hero__scroll-line::after {
  position: absolute;
  inset: 0;
  background: #fff;
  content: "";
  animation: slide-line 2s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes slide-line {
  55%,
  100% {
    transform: translateX(100%);
  }
}

.opening {
  position: relative;
  overflow: hidden;
  padding: clamp(108px, 16vw, 180px) 24px;
  text-align: center;
}

.section-kicker {
  color: var(--sage-dark);
}

.opening h2,
.story h2,
.date-section h2,
.gallery-section h2,
.venue h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.45;
}

.opening__copy {
  margin: 44px auto 0;
  color: #555f59;
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 2.15;
}

.family-signature {
  display: flex;
  max-width: 520px;
  margin: 58px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.family-signature div {
  flex: 1;
}

.family-signature span,
.family-signature strong {
  display: block;
}

.family-signature span {
  margin-bottom: 5px;
  color: #92968f;
  font-size: 11px;
}

.family-signature strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.opening__orbit {
  position: absolute;
  color: var(--lilac);
  font-size: 30px;
  opacity: 0.65;
}

.opening__orbit--one {
  top: 18%;
  left: 8%;
}

.opening__orbit--two {
  right: 8%;
  bottom: 18%;
  color: var(--coral);
  font-size: 22px;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  background: var(--paper);
}

.story__photo--primary {
  position: relative;
  grid-row: span 2;
  min-height: min(78vw, 920px);
}

.story__photo--primary img,
.story__photo--secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__photo--primary img {
  object-position: center 40%;
}

.photo-note {
  position: absolute;
  bottom: 24px;
  left: 28px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.photo-note--light {
  color: rgba(255, 255, 255, 0.92);
}

.story__words {
  align-self: center;
  padding: clamp(70px, 8vw, 120px) clamp(34px, 6vw, 96px);
}

.story__words h2 {
  font-size: clamp(36px, 4vw, 54px);
}

.story__words > p:last-child {
  margin: 30px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
}

.story__photo--secondary {
  margin: 0;
  padding: 0 clamp(34px, 6vw, 96px) clamp(70px, 8vw, 110px);
}

.story__photo--secondary img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

.story__photo--secondary figcaption {
  margin-top: 12px;
  color: #8a8d86;
  font-family: var(--serif);
  font-size: 12px;
}

.date-section {
  padding: clamp(105px, 14vw, 170px) clamp(20px, 5vw, 70px);
  text-align: center;
}

.date-section__heading > p:last-child,
.gallery-section__heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
}

.calendar {
  max-width: 610px;
  margin: 66px auto 0;
  padding: 34px clamp(18px, 5vw, 48px) 40px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.calendar__month {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
  text-align: left;
}

.calendar__month span {
  font-family: var(--display);
  font-size: 29px;
}

.calendar__month strong {
  color: var(--sage);
  font-family: var(--display);
  font-size: 58px;
  font-weight: 400;
  line-height: 0.8;
}

.calendar__week,
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar__week {
  margin-bottom: 15px;
  color: #9b9e98;
  font-size: 10px;
}

.calendar__week span:first-child {
  color: var(--coral);
}

.calendar__days {
  row-gap: 13px;
  align-items: center;
  font-family: var(--display);
  font-size: 15px;
}

.calendar__days > span {
  position: relative;
  display: grid;
  height: 42px;
  place-items: center;
}

.calendar__days .is-event b {
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--sage-dark);
  border-radius: 50%;
  font-weight: 400;
  place-items: center;
}

.calendar__days .is-event small {
  position: absolute;
  top: 36px;
  color: var(--sage-dark);
  font-family: var(--sans);
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.countdown {
  max-width: 700px;
  margin: 66px auto 0;
}

.countdown__label {
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
}

.countdown__numbers {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.countdown__numbers div {
  width: clamp(58px, 11vw, 100px);
}

.countdown__numbers strong,
.countdown__numbers span {
  display: block;
}

.countdown__numbers strong {
  font-family: var(--display);
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.countdown__numbers span {
  margin-top: 10px;
  color: #989b95;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.countdown__numbers i {
  margin-top: 4px;
  color: var(--lilac);
  font-family: var(--display);
  font-size: 30px;
  font-style: normal;
}

.countdown__message {
  min-height: 1.8em;
  margin: 22px 0 0;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 14px;
}

.outline-button,
.share-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease;
}

.outline-button:hover,
.outline-button:focus-visible {
  color: #fff;
  background: var(--ink);
}

.outline-button span {
  margin-right: 7px;
  font-size: 18px;
  line-height: 1;
}

.gallery-section {
  padding: clamp(105px, 14vw, 170px) clamp(18px, 4vw, 54px);
  background: #e8e3d8;
}

.gallery-section__heading {
  margin-bottom: 58px;
  text-align: center;
}

.gallery {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-auto-rows: 260px;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #d9d5cc;
  cursor: zoom-in;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}

.gallery__item--wide:first-child img {
  object-position: center 38%;
}

.gallery__item span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: 12px;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  filter: brightness(0.9);
  transform: scale(1.025);
}

.gallery__item:hover span,
.gallery__item:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.venue {
  padding: clamp(105px, 14vw, 170px) clamp(20px, 5vw, 70px);
  background: var(--paper);
}

.venue__head {
  margin-bottom: 54px;
  text-align: center;
}

.venue__card {
  display: grid;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.venue__illustration {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background-color: #dfe5dc;
  background-image: linear-gradient(rgba(80, 104, 91, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 104, 91, 0.09) 1px, transparent 1px);
  background-size: 40px 40px;
}

.venue__road {
  position: absolute;
  width: 150%;
  height: 22px;
  background: var(--paper);
  border: 1px solid rgba(80, 104, 91, 0.12);
}

.venue__road--one {
  top: 36%;
  left: -20%;
  transform: rotate(-18deg);
}

.venue__road--two {
  top: 60%;
  left: -26%;
  transform: rotate(38deg);
}

.venue__pin {
  position: absolute;
  z-index: 2;
  top: 43%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--sage-dark);
  border: 8px solid rgba(255, 255, 255, 0.8);
  border-radius: 50% 50% 50% 8px;
  place-items: center;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.venue__pin span {
  font-family: var(--display);
  font-size: 24px;
  transform: rotate(45deg);
}

.venue__illustration small {
  position: absolute;
  z-index: 2;
  top: calc(43% + 45px);
  left: 50%;
  padding: 4px 8px;
  color: var(--sage-dark);
  background: rgba(251, 248, 241, 0.86);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transform: translateX(-50%);
}

.venue__details {
  align-self: center;
  padding: 54px clamp(28px, 5vw, 64px) 28px;
}

.venue__name,
.venue__hall {
  margin: 0;
  font-family: var(--serif);
}

.venue__name {
  font-size: 26px;
}

.venue__hall {
  color: var(--sage-dark);
  font-size: 18px;
}

.venue address {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.text-button {
  margin-top: 14px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.venue__actions {
  display: flex;
  grid-column: 2;
  margin: 0 clamp(28px, 5vw, 64px) 50px;
  border: 1px solid var(--line);
}

.venue__actions a {
  display: grid;
  flex: 1;
  min-height: 48px;
  font-size: 12px;
  place-items: center;
}

.venue__actions a + a {
  border-left: 1px solid var(--line);
}

.venue__actions a:hover,
.venue__actions a:focus-visible {
  color: #fff;
  background: var(--sage-dark);
}

.closing {
  display: grid;
  min-height: 760px;
  color: #fff;
  background: var(--sage-dark);
  grid-template-columns: 1fr 1fr;
}

.closing__image {
  overflow: hidden;
}

.closing__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 52%;
}

.closing__copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(80px, 11vw, 150px) clamp(36px, 8vw, 120px);
  flex-direction: column;
}

.closing__copy > span {
  margin-bottom: 26px;
  color: var(--butter);
  font-size: 24px;
}

.closing__copy p {
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--serif);
  font-size: 15px;
}

.closing__copy .closing__family {
  margin-top: 20px;
  font-size: 12px;
}

.share-button {
  margin-top: 44px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
}

.share-button:hover,
.share-button:focus-visible {
  color: var(--ink);
  background: var(--butter);
  border-color: var(--butter);
}

footer {
  padding: 58px 20px 110px;
  color: rgba(255, 255, 255, 0.68);
  background: #1c2923;
  text-align: center;
}

footer p,
footer small {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
}

footer small {
  color: rgba(255, 255, 255, 0.38);
}

.bottom-actions {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  min-height: 62px;
  padding-bottom: env(safe-area-inset-bottom);
  color: var(--ink);
  background: rgba(251, 248, 241, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.bottom-actions button,
.bottom-actions a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.bottom-actions > * + * {
  border-left: 1px solid var(--line);
}

.bottom-actions span {
  color: var(--sage-dark);
  font-size: 16px;
}

.lightbox {
  width: min(92vw, 820px);
  max-width: none;
  height: min(90vh, 920px);
  max-height: none;
  padding: 0;
  border: 0;
  background: #151914;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.lightbox::backdrop {
  background: rgba(15, 19, 16, 0.86);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
  place-items: center;
}

.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 84px;
  padding: 11px 17px;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .topbar {
    padding: 20px;
  }

  .hero__media img {
    object-position: 58% center;
  }

  .hero__content {
    left: 24px;
    bottom: 118px;
  }

  .hero__scroll {
    right: 20px;
    bottom: 28px;
  }

  .story {
    display: block;
  }

  .story__photo--primary {
    min-height: 125vw;
  }

  .story__words {
    padding: 90px 28px 65px;
  }

  .story__photo--secondary {
    padding: 0 28px 90px;
  }

  .gallery {
    grid-auto-rows: 44vw;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item span {
    opacity: 1;
    transform: none;
  }

  .venue__card {
    display: block;
  }

  .venue__illustration {
    min-height: 280px;
  }

  .venue__details {
    padding-bottom: 28px;
  }

  .venue__actions {
    margin-bottom: 36px;
  }

  .closing {
    display: block;
    min-height: 0;
  }

  .closing__image {
    height: 120vw;
    max-height: 760px;
  }

  .closing__copy {
    min-height: 570px;
  }

  .bottom-actions {
    display: flex;
  }
}

@media (max-width: 440px) {
  .topbar__date {
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .hero__meta {
    gap: 8px;
    font-size: 9px;
  }

  .opening {
    padding-right: 22px;
    padding-left: 22px;
  }

  .opening h2,
  .story h2,
  .date-section h2,
  .gallery-section h2,
  .venue h2,
  .closing h2 {
    font-size: 34px;
  }

  .opening__copy {
    font-size: 14px;
  }

  .family-signature strong {
    font-size: 15px;
  }

  .calendar {
    padding-right: 5px;
    padding-left: 5px;
  }

  .calendar__month {
    padding: 0 12px;
  }

  .calendar__month span {
    font-size: 25px;
  }

  .calendar__month strong {
    font-size: 50px;
  }

  .calendar__days {
    row-gap: 11px;
  }

  .countdown__numbers div {
    width: 64px;
  }

  .countdown__numbers strong {
    font-size: 32px;
  }

  .gallery {
    gap: 7px;
    grid-auto-rows: 52vw;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--tall {
    grid-row: span 2;
  }

  .venue {
    padding-right: 18px;
    padding-left: 18px;
  }

  .venue__name {
    font-size: 23px;
  }

  .closing__copy {
    padding: 78px 28px 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Version 1-2 · Motion Couture */
:root {
  --scroll-ratio: 0;
  --hero-y: 0px;
  --hero-scale: 1;
  --finale-y: 0px;
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-padding-top: 64px; }
body { background: #f5f0e7; }

.cursor-aura {
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  width: 26px;
  aspect-ratio: 1;
  border: 1px solid rgba(240, 203, 113, .72);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(calc(var(--cursor-x, -100px) - 50%), calc(var(--cursor-y, -100px) - 50%), 0);
  transition: width .25s var(--motion-ease), opacity .25s ease, background .25s ease;
  mix-blend-mode: difference;
}

body.has-pointer .cursor-aura { opacity: .72; }
body.is-interactive .cursor-aura { width: 52px; background: rgba(240, 203, 113, .14); }

.scroll-progress { height: 3px; }
.scroll-progress span { background: linear-gradient(90deg, #f0cb71, #a6b9da, #93b39f); }

.topbar {
  position: fixed;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  color: #fff;
  transition: color .45s ease, background .45s ease, border-color .45s ease, padding .45s var(--motion-ease);
}

.topbar__date { justify-self: center; }
.topbar__chapter { justify-self: end; display: flex; gap: 4px; align-items: center; font-size: 8px; letter-spacing: .16em; }
.topbar__chapter b { color: var(--butter); font-family: var(--display); font-size: 13px; font-weight: 400; }
.topbar.is-scrolled { padding-block: 15px; color: var(--ink); border-bottom: 1px solid rgba(33,48,42,.12); background: rgba(251,248,241,.82); backdrop-filter: blur(18px) saturate(1.25); }
.topbar.is-finale { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(23,38,48,.7); }

.hero { isolation: isolate; }
.hero::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: .13;
  background-image: radial-gradient(rgba(255,255,255,.95) .55px, transparent .55px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
  pointer-events: none;
  content: "";
}

.hero__media {
  transform: translate3d(0, var(--hero-y), 0) scale(var(--hero-scale));
  transition: none;
  will-change: transform;
}

.is-ready .hero__media { transform: translate3d(0, var(--hero-y), 0) scale(var(--hero-scale)); }
.hero__media img { filter: saturate(.92) contrast(.98) brightness(1.02); }
.hero__shade { z-index: 1; background: linear-gradient(90deg, rgba(25,34,29,.08), transparent 58%), linear-gradient(180deg, rgba(25,34,29,.18) 0%, rgba(25,34,29,0) 37%, rgba(25,34,29,.68) 100%); }

.hero__halo { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__halo span { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; animation: halo-pulse 7s ease-in-out infinite; }
.hero__halo span:nth-child(1) { width: 42vw; aspect-ratio: 1; top: 13%; right: -8vw; }
.hero__halo span:nth-child(2) { width: 30vw; aspect-ratio: 1; top: 22%; right: -2vw; animation-delay: -2.2s; }
.hero__halo span:nth-child(3) { width: 18vw; aspect-ratio: 1; top: 31%; right: 4vw; animation-delay: -4.4s; }
@keyframes halo-pulse { 50% { transform: scale(1.045); opacity: .42; } }

.hero__constellation { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero__constellation i { position: absolute; color: #f8db92; font-style: normal; animation: star-drift 5.5s ease-in-out infinite; }
.hero__constellation i:nth-child(1) { left: 8%; top: 22%; }
.hero__constellation i:nth-child(2) { left: 44%; top: 13%; font-size: 24px; animation-delay: -1s; }
.hero__constellation i:nth-child(3) { right: 9%; top: 44%; color: rgba(255,255,255,.75); animation-delay: -2s; }
.hero__constellation i:nth-child(4) { right: 20%; bottom: 13%; color: #cfb7d8; animation-delay: -3s; }
.hero__constellation i:nth-child(5) { left: 56%; bottom: 23%; font-size: 30px; animation-delay: -4s; }
@keyframes star-drift { 0%,100% { transform: translateY(8px) rotate(-8deg); opacity: .42; } 50% { transform: translateY(-10px) rotate(10deg); opacity: .92; } }

.hero__edition { position: absolute; z-index: 4; right: clamp(22px,5vw,72px); top: 18%; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.74); }
.hero__edition span { color: transparent; font: 400 clamp(4.5rem,10vw,9rem)/.72 var(--display); -webkit-text-stroke: 1px rgba(255,255,255,.42); }
.hero__edition small { max-width: 72px; font-size: 7px; font-weight: 600; line-height: 1.55; letter-spacing: .18em; }

.hero__content { z-index: 5; transform: translate3d(0, calc(var(--hero-y) * -.15), 0); will-change: transform; }
.hero h1 > span, .hero h1 > em { display: block; width: max-content; max-width: 100%; word-break: keep-all; }
.split-char { display: inline-block; white-space: pre; opacity: 0; transform: translateY(.8em) rotate(5deg); filter: blur(8px); transition: opacity .7s calc(.32s + var(--char-index) * 45ms) ease, transform 1s calc(.32s + var(--char-index) * 45ms) var(--motion-ease), filter .8s calc(.32s + var(--char-index) * 45ms) ease; }
.is-ready .split-char { opacity: 1; transform: none; filter: blur(0); }
.hero h1 { opacity: 1; transform: none; transition: none; }

.opening { isolation: isolate; background: linear-gradient(180deg,#f5f0e7 0%,#fbf8f1 100%); }
.opening__ghost { position: absolute; z-index: -1; left: 50%; top: 50%; color: rgba(80,104,91,.055); font: 400 clamp(12rem,34vw,32rem)/.7 var(--display); letter-spacing: -.08em; transform: translate(-50%,-50%) rotate(-5deg); }
.opening__thread { width: min(640px,70vw); margin: 68px auto 0; display: flex; align-items: center; gap: 18px; color: var(--coral); }
.opening__thread span { flex: 1; height: 1px; background: linear-gradient(90deg,transparent,var(--line),transparent); }
.opening__thread i { font-style: normal; animation: heart-breathe 2.8s ease-in-out infinite; }
@keyframes heart-breathe { 50% { transform: scale(1.35); color: var(--butter); } }
.opening__orbit { animation: orbit-float 6s ease-in-out infinite; }
.opening__orbit--two { animation-delay: -3s; }
@keyframes orbit-float { 50% { transform: translate3d(16px,-18px,0) rotate(25deg); } }

.story { position: relative; overflow: hidden; isolation: isolate; }
.story__number { position: absolute; z-index: 1; right: -3vw; top: 3%; color: rgba(80,104,91,.07); font: 400 clamp(12rem,32vw,31rem)/.7 var(--display); letter-spacing: -.08em; pointer-events: none; }
.story__photo--primary { overflow: hidden; }
.story__photo--primary img { transform: scale(1.04); transition: transform 1.8s var(--motion-ease); }
.story__photo--primary.is-visible img { transform: scale(1); }
.story__words, .story__photo--secondary { position: relative; z-index: 2; }
.story__floating { position: absolute; z-index: 4; right: 2vw; bottom: 5%; width: min(17vw,230px); margin: 0; padding: 8px 8px 16px; border: 1px solid rgba(33,48,42,.14); background: #fffaf3; box-shadow: 0 24px 52px rgba(41,54,46,.16); transform: rotate(5deg); }
.story__floating img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 36%; }
.story__floating figcaption { margin-top: 10px; font-family: var(--serif); font-size: 10px; line-height: 1.45; }

.date-section { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 12% 22%,rgba(240,203,113,.17),transparent 25%), radial-gradient(circle at 87% 76%,rgba(170,164,200,.14),transparent 25%), var(--cream); }
.date-section__orbit { position: absolute; inset: 8% auto auto 50%; z-index: -1; width: min(82vw,900px); aspect-ratio: 1; border: 1px solid rgba(80,104,91,.08); border-radius: 50%; transform: translateX(-50%); animation: slow-spin 36s linear infinite; }
.date-section__orbit::before, .date-section__orbit::after { position: absolute; inset: 10%; border: 1px solid rgba(80,104,91,.07); border-radius: inherit; content: ""; }
.date-section__orbit::after { inset: 22%; }
.date-section__orbit span, .date-section__orbit i, .date-section__orbit b { position: absolute; font-family: var(--display); font-style: normal; font-weight: 400; }
.date-section__orbit span { left: 4%; top: 45%; color: rgba(80,104,91,.12); font-size: clamp(4rem,10vw,9rem); }
.date-section__orbit i { right: 7%; top: 18%; color: rgba(215,155,130,.16); font-size: clamp(3rem,7vw,7rem); }
.date-section__orbit b { right: 18%; bottom: 12%; color: rgba(170,164,200,.16); font-size: clamp(2rem,5vw,4rem); }
@keyframes slow-spin { to { transform: translateX(-50%) rotate(360deg); } }
.calendar { position: relative; overflow: hidden; background: rgba(251,248,241,.7); backdrop-filter: blur(14px); }
.calendar::after { position: absolute; inset: 0; background: linear-gradient(110deg,transparent 25%,rgba(255,255,255,.7) 45%,transparent 62%); content: ""; transform: translateX(-120%); animation: calendar-shine 7s ease-in-out infinite; pointer-events: none; }
@keyframes calendar-shine { 15%,100% { transform: translateX(120%); } }
.calendar__days .is-event b { animation: date-pulse 2.4s ease-in-out infinite; }
@keyframes date-pulse { 50% { transform: scale(1.08); box-shadow: 0 0 0 9px rgba(80,104,91,.1); } }
.countdown__numbers strong { font-variant-numeric: tabular-nums; transition: transform .28s var(--motion-ease), color .28s ease; }
.countdown__numbers strong.is-ticking { color: var(--coral); transform: translateY(-5px); }

.gallery-section { position: relative; min-height: 100svh; overflow: hidden; padding-inline: 0; background: linear-gradient(145deg,#e7e2d7 0%,#f1ece3 52%,#dfe6df 100%); isolation: isolate; }
.gallery-section__ghost { position: absolute; z-index: -1; right: -4vw; top: 7%; color: rgba(255,255,255,.52); font: 400 clamp(8rem,23vw,22rem)/.7 var(--display); letter-spacing: -.08em; }
.gallery-section__heading { position: relative; z-index: 3; padding-inline: 20px; }
.gallery-section__heading h2 { line-height: 1.28; }

.album { position: relative; width: 100%; }
.album__viewport { width: 100%; overflow-x: auto; padding: 2.8rem calc(50vw - min(16vw,210px)) 3.2rem; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; cursor: grab; }
.album__viewport::-webkit-scrollbar { display: none; }
.album__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.album__track { display: flex; width: max-content; gap: clamp(18px,3.2vw,52px); }
.album-card { --proximity: .1; --side: 0; position: relative; flex: 0 0 min(32vw,420px); aspect-ratio: .76; overflow: hidden; padding: 9px 9px 38px; border: 1px solid rgba(33,48,42,.13); background: #fbf8f1; box-shadow: 0 calc(8px + var(--proximity) * 24px) calc(20px + var(--proximity) * 45px) rgba(47,58,51,calc(.06 + var(--proximity) * .12)); scroll-snap-align: center; cursor: zoom-in; transform: perspective(1100px) rotateY(calc(var(--side) * -7deg)) translateY(calc((1 - var(--proximity)) * 30px)) scale(calc(.84 + var(--proximity) * .16)); transform-style: preserve-3d; filter: saturate(calc(.75 + var(--proximity) * .3)) brightness(calc(.9 + var(--proximity) * .1)); opacity: calc(.55 + var(--proximity) * .45); transition: transform .42s var(--motion-ease), filter .42s ease, opacity .42s ease, box-shadow .42s ease; }
.album-card img { width: 100%; height: 100%; object-fit: cover; }
.album-card span { position: absolute; inset: auto 14px 12px; font-size: 8px; font-weight: 600; letter-spacing: .18em; }
.album-card:nth-child(1) img { object-position: 50% 50%; }
.album-card:nth-child(2) img { object-position: 50% 35%; }
.album-card:nth-child(3) img { object-position: 50% 50%; }
.album-card:nth-child(4) img { object-position: 50% 58%; }
.album-card:nth-child(5) img { object-position: 50% 58%; }
.album-card:nth-child(6) img { object-position: 50% 48%; }
.album-card:nth-child(7) img { object-position: 50% 46%; }
.album-card:nth-child(8) img { object-position: 50% 58%; }
.album-card:nth-child(9) img { object-position: 50% 55%; }
.album-card:nth-child(10) img { object-position: 50% 55%; }
.album-card:nth-child(11) img { object-position: 50% 50%; }
.album__nav { position: absolute; z-index: 8; top: 46%; display: grid; width: 54px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(33,48,42,.25); border-radius: 50%; background: rgba(251,248,241,.72); backdrop-filter: blur(12px); cursor: pointer; transition: transform .25s var(--motion-ease), color .25s, background .25s; }
.album__nav:hover { color: #fff; background: var(--sage-dark); transform: scale(1.08); }
.album__nav--prev { left: 4vw; }
.album__nav--next { right: 4vw; }
.album__meta { width: min(640px,86vw); min-height: 60px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-family: var(--serif); }
.album__meta > span { color: var(--sage-dark); font-family: var(--display); font-size: 12px; letter-spacing: .12em; }
.album__meta > span b { color: var(--coral); font-size: 25px; font-weight: 400; }
.album__meta p { margin: 0; text-align: right; }
.album__rail { width: min(640px,86vw); height: 1px; margin: 13px auto 0; background: rgba(33,48,42,.18); }
.album__rail span { display: block; width: 9.09%; height: 3px; background: var(--sage-dark); transform: translateY(-1px); transition: width .4s var(--motion-ease); }
.album-marquee { margin-top: 5rem; overflow: hidden; border-block: 1px solid rgba(33,48,42,.12); white-space: nowrap; }
.album-marquee span { display: inline-block; min-width: max-content; padding-block: .85rem; font-size: 8px; font-weight: 600; letter-spacing: .24em; animation: album-marquee 24s linear infinite; }
@keyframes album-marquee { to { transform: translateX(-50%); } }

.venue__illustration { background-color: #dce4dd; }
.venue__road--one { animation: road-one 8s ease-in-out infinite alternate; }
.venue__road--two { animation: road-two 9s ease-in-out infinite alternate; }
@keyframes road-one { to { transform: rotate(-15deg) translateX(3%); } }
@keyframes road-two { to { transform: rotate(34deg) translateX(-3%); } }
.venue__pin { animation: pin-float 2.8s ease-in-out infinite; }
@keyframes pin-float { 50% { transform: translate(-50%,-58%) rotate(-45deg); box-shadow: 8px 8px 0 rgba(80,104,91,.1); } }

.finale { position: relative; min-height: 110svh; overflow: hidden; display: grid; align-items: center; padding: 8rem 7vw 6rem; color: #fff; background: #8397b8; isolation: isolate; }
.finale__media { position: absolute; inset: 0; z-index: -4; overflow: hidden; background: #cfd3da; }
.finale__media img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 42%; transform: translate3d(0,var(--finale-y),0) scale(1.045); filter: saturate(.82) contrast(.98); will-change: transform; }
.finale__wash { position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg,rgba(44,66,79,.97) 0%,rgba(68,89,106,.82) 30%,rgba(91,111,139,.38) 62%,rgba(66,78,99,.1) 100%), linear-gradient(0deg,rgba(25,43,49,.72),transparent 48%); background-size: 125% 125%; animation: finale-wash 11s ease-in-out infinite alternate; }
@keyframes finale-wash { to { background-position: 16% 22%; filter: hue-rotate(-4deg) saturate(1.08); } }
.finale__type { position: absolute; inset: 6% auto auto 1vw; z-index: -2; display: grid; color: rgba(255,255,255,.085); font: 400 clamp(9rem,25vw,26rem)/.58 var(--display); letter-spacing: -.09em; pointer-events: none; }
.finale__stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.finale__stars i { position: absolute; color: var(--butter); font-style: normal; animation: star-drift 6s ease-in-out infinite; }
.finale__stars i:nth-child(1) { left: 5%; top: 24%; }
.finale__stars i:nth-child(2) { left: 46%; top: 14%; animation-delay: -1.5s; }
.finale__stars i:nth-child(3) { right: 8%; top: 45%; font-size: 26px; animation-delay: -3s; }
.finale__stars i:nth-child(4) { right: 16%; bottom: 13%; color: #c2b7dc; animation-delay: -4.5s; }
.finale__copy { position: relative; z-index: 2; max-width: 690px; }
.finale__copy .section-kicker { color: #fff; }
.finale__copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem,5.6vw,6.2rem); font-weight: 400; letter-spacing: -.055em; line-height: 1.2; }
.finale__copy h2 em { color: var(--butter); font-style: normal; }
.keep-word { white-space: nowrap; }
.finale__copy > p:not(.section-kicker) { margin: 2rem 0 0; color: rgba(255,255,255,.76); font-family: var(--serif); }
.finale__copy .finale__family { margin-top: 1rem; font-size: 12px; }
.finale__copy .share-button { gap: 1.5rem; }
.finale__footer { position: absolute; inset: auto 3vw 1.5rem; z-index: 3; display: flex; justify-content: space-between; margin: 0; padding: .8rem 0 0; border-top: 1px solid rgba(255,255,255,.34); color: #fff; background: transparent; text-align: left; }
.finale__footer span { font-size: 8px; font-weight: 600; letter-spacing: .18em; }

.burst-layer { position: fixed; inset: 0; z-index: 300; overflow: hidden; pointer-events: none; }
.burst-particle { position: fixed; left: var(--particle-x); top: var(--particle-y); color: var(--particle-color); font-size: var(--particle-size); animation: burst-out .95s var(--motion-ease) forwards; }
@keyframes burst-out { to { opacity: 0; transform: translate(var(--particle-dx),var(--particle-dy)) rotate(var(--particle-spin)) scale(.3); } }

.reveal { transform: translateY(42px); filter: blur(4px); transition: opacity .9s ease, transform 1.05s var(--motion-ease), filter .9s ease; }
.reveal.is-visible { transform: none; filter: blur(0); }
.story__floating.reveal { --tilt-x: 0deg; --tilt-y: 0deg; transform: translateY(42px) rotate(5deg) perspective(800px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)); transition: opacity .9s ease, transform .36s var(--motion-ease), filter .9s ease; }
.story__floating.reveal.is-visible { transform: rotate(5deg) perspective(800px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)); }

@media (max-width: 820px) {
  .cursor-aura { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .topbar__date { display: none; }
  .hero__edition { top: 16%; right: 18px; }
  .hero__edition span { font-size: 5.2rem; }
  .hero__edition small { display: none; }
  .hero__halo span:nth-child(1) { width: 80vw; right: -33vw; top: 15%; }
  .hero__halo span:nth-child(2) { width: 56vw; right: -20vw; top: 25%; }
  .hero__halo span:nth-child(3) { width: 34vw; right: -9vw; top: 35%; }
  .opening__ghost { font-size: 54vw; }
  .story__floating { display: none; }
  .date-section__orbit { width: 130vw; top: 13%; }
  .gallery-section { min-height: 100svh; padding-top: 7rem; padding-bottom: 5rem; }
  .gallery-section__ghost { top: 8%; font-size: 32vw; }
  .album__viewport { padding-inline: 14vw; }
  .album-card { flex-basis: 72vw; }
  .album__nav { top: auto; bottom: 55px; width: 44px; }
  .album__nav--prev { left: 22px; }
  .album__nav--next { right: 22px; }
  .album__meta { width: 58vw; min-height: 72px; display: block; text-align: center; }
  .album__meta p { margin-top: 5px; font-size: 13px; text-align: center; }
  .album__rail { width: 58vw; }
  .album-marquee { margin-top: 4rem; }
  .finale { min-height: 100svh; align-items: end; padding: 7rem 22px 7.5rem; }
  .finale__media img { object-position: 58% center; }
  .finale__wash { background: linear-gradient(0deg,rgba(38,61,72,.96) 0%,rgba(72,94,111,.77) 42%,rgba(110,126,157,.15) 76%,rgba(255,255,255,.02) 100%); }
  .finale__type { top: 8%; font-size: 38vw; }
  .finale__copy h2 { font-size: clamp(2.65rem,11.5vw,4.4rem); }
  .finale__copy > p:not(.section-kicker) { font-size: 14px; }
  .finale__footer { inset-inline: 18px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .finale__footer span:nth-child(2) { display: none; }
}

@media (max-width: 440px) {
  .topbar.is-scrolled { padding-block: 13px; }
  .hero__content { left: 22px; right: 18px; }
  .hero h1 > span, .hero h1 > em { width: auto; }
  .hero__constellation i:nth-child(2), .hero__constellation i:nth-child(5) { display: none; }
  .opening__thread { width: 84vw; }
  .album-card { padding: 7px 7px 34px; }
  .album__viewport { padding-block: 1.7rem 2.4rem; }
  .finale__copy .section-kicker { font-size: 8px; }
  .finale__copy .share-button { margin-top: 2rem; }
}

@media (hover: none) {
  .cursor-aura { display: none; }
  .album-card { cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media, .finale__media img { transform: none !important; }
  .album__viewport { scroll-behavior: auto; }
}
