@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/fonts/cormorant-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
    U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309,
    U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/fonts/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/manrope-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
    U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309,
    U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dancing-script-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,
    U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309,
    U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dancing-script-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
    U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nom Na Tong";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nom-seals.woff2") format("woff2");
  unicode-range: U+56CD;
}

:root {
  --wine: #722f37;
  --wine-deep: #351318;
  --wine-soft: #94535c;
  --cream: #f5efe5;
  --paper: #fffaf3;
  --ink: #29201d;
  --muted: #786b64;
  --gold: #bc8c53;
  --line: rgba(55, 27, 24, 0.14);
  --nom: "Nom Na Tong", "Songti SC", "Noto Serif CJK TC", serif;
  --script: "Dancing Script", "Segoe Script", cursive;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1180px, calc(100vw - 48px));
  --shadow: 0 28px 80px rgba(63, 30, 24, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--cream);
}

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

body::selection {
  color: var(--paper);
  background: var(--wine);
}

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

button {
  font: inherit;
}

a {
  color: inherit;
}

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

.responsive-picture {
  display: contents;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid #e6b66f;
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1360px) / 2));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(45, 17, 21, 0.58);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  text-decoration: none;
  text-rendering: optimizeLegibility;
}

.brand i {
  color: #e7b7a8;
  font-family: var(--serif);
  font-size: 11px;
  font-style: normal;
  transform: translateY(1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 52px);
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1;
  text-decoration: none;
  text-rendering: optimizeLegibility;
  text-shadow: 0 1px 18px rgba(31, 7, 11, 0.18);
  transition: color 220ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: #f1c8b9;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  color: #fff;
  isolation: isolate;
}

.hero__image,
.hero__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: center 62%;
  animation: hero-in 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__wash {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(25, 8, 11, 0.42) 0%, rgba(44, 13, 18, 0.05) 36%, rgba(31, 10, 13, 0.56) 100%),
    linear-gradient(90deg, rgba(65, 13, 24, 0.28), transparent 48%, rgba(17, 22, 31, 0.12));
}

.hero__content {
  width: min(960px, calc(100% - 40px));
  padding-top: 70px;
  text-align: center;
  text-shadow: 0 3px 28px rgba(21, 5, 8, 0.35);
  animation: content-in 1.1s 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1d2c4;
}

.hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(74px, 11vw, 166px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.72;
}

.hero h1 i {
  margin: 0 0.12em;
  color: #efc5b8;
  font-size: 0.42em;
  font-style: italic;
  font-weight: 500;
}

.hero__tagline {
  max-width: 540px;
  margin: 42px auto 28px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 29px);
  font-style: italic;
  line-height: 1.35;
}

.hero__date {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero__date i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #efc5b8;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.scroll-cue i::after {
  display: block;
  width: 100%;
  height: 55%;
  background: #fff;
  content: "";
  animation: scroll-line 1.7s ease-in-out infinite;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(94px, 10vw, 150px) 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: clamp(52px, 7vw, 90px);
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.wedding h2,
.proposal h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.9;
}

.destiny {
  padding-bottom: clamp(120px, 12vw, 180px);
}

.destiny .section-heading {
  max-width: 750px;
}

.couple {
  position: relative;
  display: grid;
  max-width: 920px;
  margin: 0 auto;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
}

.person-card {
  position: relative;
  margin: 0;
  text-align: center;
}

.person-card--zifuong {
  margin-top: 110px;
}

.person-card__image {
  position: relative;
  aspect-ratio: 0.82;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 220px 220px 20px 20px;
  background: #d9d0c6;
  box-shadow: var(--shadow);
}

.person-card__image::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.person-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.person-card:hover .person-card__image img {
  transform: scale(1.035);
}

.person-card__role {
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.person-card h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(33px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.2;
}

.person-card > p:last-child {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.couple__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--wine);
}

.couple__mark span {
  font-size: 15px;
}

.couple__mark i {
  font-family: var(--serif);
  font-size: 52px;
  font-style: italic;
}

.story {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  background: var(--paper);
}

.timeline {
  position: relative;
  display: grid;
  gap: clamp(70px, 10vw, 135px);
}

.timeline::before {
  position: absolute;
  top: 2%;
  bottom: 2%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, var(--line) 6%, var(--line) 94%, transparent);
  content: "";
}

.timeline-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1fr;
  align-items: center;
  gap: clamp(54px, 9vw, 128px);
}

.timeline-card--reverse .timeline-card__image {
  grid-column: 2;
}

.timeline-card--reverse .timeline-card__body {
  grid-row: 1;
  grid-column: 1;
}

.timeline-card__image {
  position: relative;
  aspect-ratio: 1;
}

.timeline-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.timeline-card__image span {
  position: absolute;
  right: -25px;
  bottom: -29px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 68px;
  font-style: italic;
  line-height: 1;
  text-shadow: 0 2px 0 var(--paper);
}

.timeline-card--reverse .timeline-card__image span {
  right: auto;
  left: -25px;
}

.timeline-card__body {
  max-width: 470px;
}

.timeline-card__year {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-card__body h3 {
  margin-bottom: 17px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.timeline-card__body > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.wedding {
  display: grid;
  min-height: 860px;
  grid-template-columns: 1.08fr 0.92fr;
  background: var(--wine-deep);
  color: #fff;
}

.wedding__image {
  min-height: 680px;
  overflow: hidden;
  background: #c9c6c0;
}

.wedding__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wedding__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 128px) clamp(42px, 7vw, 110px);
  background:
    radial-gradient(circle at 100% 0%, rgba(188, 140, 83, 0.22), transparent 36%),
    var(--wine-deep);
}

.section-heading--light {
  margin-bottom: 44px;
}

.section-heading--light .eyebrow {
  color: #dcb288;
}

.wedding h2 {
  margin-bottom: 0;
  color: #fff8ef;
}

.wedding-date {
  display: grid;
  max-width: 480px;
  margin-bottom: 46px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}

.wedding-date strong {
  padding: 0 22px;
  color: #efc6b8;
  font-family: var(--serif);
  font-size: 74px;
  font-weight: 500;
  line-height: 0.8;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.wedding-date span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}

.schedule {
  display: grid;
  max-width: 480px;
  margin-bottom: 45px;
  gap: 18px;
}

.schedule article {
  display: flex;
  align-items: center;
  gap: 22px;
}

.schedule article > span {
  width: 72px;
  color: #efc6b8;
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}

.schedule article div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.schedule p {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}

.schedule small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.venue {
  max-width: 500px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.venue__label {
  margin-bottom: 4px;
  color: #dcb288;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.venue h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
}

.venue > p:not(.venue__label) {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.8;
}

.venue a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.gallery {
  padding-bottom: clamp(110px, 12vw, 180px);
}

.gallery__heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 70px;
}

.gallery__heading h2 {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: clamp(230px, 29vw, 390px);
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  border: 0;
  background: #d8cec5;
}

.gallery-item--wide {
  grid-column: span 8;
}

.gallery-item:nth-child(4) {
  grid-column: span 5;
}

.gallery-item:nth-child(5) {
  grid-column: span 7;
}

.gallery-item:nth-child(8) {
  grid-row: 4 / span 2;
  grid-column: 9 / 13;
}

.gallery-item:nth-child(9) {
  grid-row: 5;
  grid-column: 1 / 9;
}

.gallery-item:nth-child(10) {
  grid-row: 6 / span 2;
  grid-column: 1 / 9;
}

.gallery-item:nth-child(11) {
  grid-row: 6 / span 2;
  grid-column: 9 / 13;
}

.gallery-item:nth-child(12) {
  grid-row: 8 / span 2;
  grid-column: 1 / 5;
}

.gallery-item:nth-child(13) {
  grid-row: 8 / span 2;
  grid-column: 5 / 9;
}

.gallery-item:nth-child(14) {
  grid-row: 8 / span 2;
  grid-column: 9 / 13;
}

.gallery-item:nth-child(15) {
  grid-row: 10 / span 2;
  grid-column: 1 / 5;
}

.gallery-item:nth-child(16) {
  grid-row: 10 / span 2;
  grid-column: 5 / 9;
}

.gallery-item:nth-child(17) {
  grid-row: 10 / span 2;
  grid-column: 9 / 13;
}

.gallery-item:nth-child(18) {
  grid-row: 12 / span 2;
  grid-column: 1 / 13;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.gallery-item:nth-child(4) img {
  object-position: center 65%;
}

.gallery-item span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(31, 11, 13, 0.25);
  backdrop-filter: blur(8px);
  place-items: center;
}

.gallery-item:hover img {
  filter: saturate(0.9);
  transform: scale(1.035);
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 50px 80px;
  cursor: zoom-out;
  background: rgba(26, 10, 12, 0.96);
  animation: fade-in 220ms ease both;
  place-items: center;
}

.lightbox img {
  max-width: min(1200px, 88vw);
  max-height: 82vh;
  cursor: default;
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  animation: lightbox-in 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lightbox > p {
  position: absolute;
  bottom: 20px;
  left: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  cursor: pointer;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  place-items: center;
  transition: background 200ms ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.13);
}

.lightbox__close {
  top: 22px;
  right: 24px;
  font-size: 27px;
}

.lightbox__nav {
  top: 50%;
  font-size: 20px;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 22px;
}

.lightbox__nav--next {
  right: 22px;
}

.wishes {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  background: var(--paper);
}

.wishes .section-heading {
  width: var(--page);
  max-width: 700px;
}

.wishes-track {
  display: grid;
  overflow-x: auto;
  padding: 8px max(24px, calc((100vw - 1180px) / 2)) 35px;
  grid-auto-columns: minmax(320px, 410px);
  grid-auto-flow: column;
  gap: 16px;
  scroll-padding-inline: max(24px, calc((100vw - 1180px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--wine-soft) transparent;
  scrollbar-width: thin;
}

.wish-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px;
  border: 1px solid var(--line);
  background: #fffdf8;
  scroll-snap-align: start;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.wish-card:hover {
  box-shadow: 0 20px 50px rgba(63, 30, 24, 0.09);
  transform: translateY(-4px);
}

.wish-card__quote {
  height: 38px;
  color: var(--wine-soft);
  font-family: var(--serif);
  font-size: 70px;
  line-height: 0.8;
}

.wish-card > p {
  flex: 1;
  margin: 22px 0 34px;
  color: #544844;
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.5;
}

.wish-card footer {
  display: flex;
  align-items: center;
  gap: 13px;
}

.wish-card footer img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.75);
}

.wish-card footer div {
  display: flex;
  flex-direction: column;
}

.wish-card footer strong {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.wish-card footer span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drag-hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.drag-hint span {
  margin: 0 7px;
  color: var(--wine);
}

.proposal {
  position: relative;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background: #4e4b54;
  place-items: center;
  isolation: isolate;
}

.proposal__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.proposal::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(33, 9, 14, 0.78), rgba(32, 10, 14, 0.28));
  content: "";
}

.proposal__content {
  width: var(--page);
  max-width: 720px;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.proposal .eyebrow {
  color: #efc6b8;
}

.proposal h2 {
  color: #fffaf3;
  font-size: clamp(50px, 7vw, 90px);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 24px;
  cursor: pointer;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid var(--wine);
  border-radius: 999px;
  background: var(--wine);
  text-transform: uppercase;
  transition: color 240ms ease, background 240ms ease, transform 240ms ease;
}

.button:hover {
  background: var(--wine-deep);
  transform: translateY(-2px);
}

.button--light {
  color: var(--wine-deep);
  border-color: #fffaf3;
  background: #fffaf3;
  box-shadow: 0 14px 35px rgba(23, 6, 9, 0.18);
}

.button--light:hover {
  color: var(--wine-deep);
  background: #efd9cc;
}

.button--ghost {
  color: var(--wine);
  background: transparent;
}

.button--ghost:hover {
  color: #fff;
}

.letter-modal {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  padding: 24px;
  background: rgba(33, 11, 14, 0.88);
  backdrop-filter: blur(12px);
  animation: fade-in 220ms ease both;
  place-items: center;
}

.letter {
  position: relative;
  width: min(640px, 100%);
  min-height: 470px;
  padding: clamp(58px, 8vw, 88px) clamp(28px, 7vw, 80px);
  text-align: center;
  border: 1px solid #dbc8b4;
  background:
    linear-gradient(rgba(255, 252, 246, 0.94), rgba(255, 252, 246, 0.94)),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(114, 47, 55, 0.08) 28px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  animation: letter-in 450ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.letter::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(114, 47, 55, 0.17);
  content: "";
  pointer-events: none;
}

.letter__seal {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  color: #f7dfd4;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 6px 15px rgba(114, 47, 55, 0.25);
  place-items: center;
}

.letter__close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 22px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  color: var(--wine);
  font-size: 25px;
  border: 0;
  background: transparent;
}

.letter .eyebrow {
  margin-bottom: 14px;
}

.letter h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(43px, 7vw, 66px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.letter > p:not(.eyebrow),
.letter__answer > p:not(.eyebrow) {
  margin: 0 auto 28px;
  color: var(--muted);
}

.letter__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.letter__answer strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 600;
}

.thanks {
  display: grid;
  min-height: 700px;
  padding: 100px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.78), transparent 40%),
    var(--cream);
  place-content: center;
}

.thanks > p {
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.thanks h2 {
  margin: 0;
  color: var(--wine-deep);
  font-family: var(--serif);
  font-size: clamp(50px, 8vw, 104px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.93;
  text-transform: uppercase;
}

.thanks > span {
  margin-top: 32px;
  color: var(--wine);
  font-size: 16px;
}

.music-button {
  position: fixed;
  z-index: 25;
  right: 20px;
  bottom: 20px;
  display: flex;
  height: 48px;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  cursor: pointer;
  color: var(--wine-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(77, 39, 37, 0.13);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.88);
  box-shadow: 0 10px 32px rgba(43, 18, 18, 0.15);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
}

.music-button__disc {
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 14px;
  border-radius: 50%;
  background: var(--wine);
  place-items: center;
}

.music-button--playing .music-button__disc {
  animation: spin 4s linear infinite;
}

.footer {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: space-between;
  padding: 40px max(24px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.66);
  background: var(--wine-deep);
}

.footer a {
  color: #fff8ef;
  font-family: var(--serif);
  font-size: 27px;
  text-decoration: none;
}

.footer a span {
  margin: 0 4px;
  color: #d8a296;
  font-family: var(--sans);
  font-size: 10px;
}

.footer p {
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

@keyframes hero-in {
  from { opacity: 0.35; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes content-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-line {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(190%); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes letter-in {
  from { opacity: 0; transform: translateY(30px) rotate(-1deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 40px, 760px);
  }

  .couple {
    grid-template-columns: 1fr 70px 1fr;
  }

  .site-nav {
    gap: 24px;
  }

  .site-nav a {
    font-size: 16px;
  }

  .couple__mark i {
    font-size: 40px;
  }

  .timeline::before {
    display: none;
  }

  .timeline-card {
    gap: 50px;
  }

  .wedding {
    grid-template-columns: 1fr;
  }

  .wedding__image {
    min-height: 70svh;
  }

  .wedding__panel {
    min-height: 760px;
  }

  .gallery-grid {
    grid-auto-rows: 300px;
  }
}

@media (max-width: 720px) {
  :root {
    --page: calc(100vw - 32px);
  }

  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    height: 66px;
    padding: 0 18px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    place-content: center;
    gap: 7px;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: #fff;
    transition: transform 250ms ease;
  }

  .menu-toggle--open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle--open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    z-index: 1;
    top: 66px;
    right: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: calc(100svh - 66px);
    visibility: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 80px 28px;
    opacity: 0;
    background: rgba(53, 19, 24, 0.98);
    transition: opacity 240ms ease, visibility 240ms ease;
  }

  .site-nav--open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .hero__image {
    object-position: 53% center;
  }

  .hero__wash {
    background: linear-gradient(180deg, rgba(25, 8, 11, 0.45), rgba(39, 10, 15, 0.16) 45%, rgba(31, 10, 13, 0.65));
  }

  .hero h1 {
    flex-direction: column;
    font-size: clamp(72px, 22vw, 104px);
    line-height: 0.62;
  }

  .hero h1 i {
    margin: 0.28em 0 0.2em;
    font-size: 0.35em;
  }

  .hero__tagline {
    max-width: 340px;
    margin-top: 36px;
    font-size: 21px;
  }

  .section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .section-heading h2,
  .wedding h2,
  .proposal h2 {
    font-size: 50px;
  }

  .couple {
    max-width: 420px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .person-card--zifuong {
    margin-top: 0;
  }

  .person-card__image {
    aspect-ratio: 0.9;
    border-radius: 230px 230px 14px 14px;
  }

  .couple__mark {
    flex-direction: row;
    justify-content: center;
  }

  .timeline {
    gap: 78px;
  }

  .timeline-card,
  .timeline-card--reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
  }

  .timeline-card__image {
    width: calc(100% - 24px);
  }

  .timeline-card--reverse .timeline-card__image {
    align-self: flex-end;
  }

  .timeline-card__image span,
  .timeline-card--reverse .timeline-card__image span {
    right: -18px;
    left: auto;
    bottom: -23px;
    font-size: 58px;
  }

  .timeline-card__body h3 {
    font-size: 43px;
  }

  .wedding__image {
    min-height: 62svh;
  }

  .wedding__image img {
    object-position: 55% center;
  }

  .wedding__panel {
    min-height: 0;
    padding: 82px 22px 92px;
  }

  .wedding-date {
    gap: 10px;
  }

  .wedding-date strong {
    padding: 0 14px;
    font-size: 62px;
  }

  .gallery__heading {
    display: block;
  }

  .gallery__heading > p {
    margin-top: 22px;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-item,
  .gallery-item--wide,
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(8),
  .gallery-item:nth-child(9),
  .gallery-item:nth-child(10),
  .gallery-item:nth-child(11),
  .gallery-item:nth-child(12),
  .gallery-item:nth-child(13),
  .gallery-item:nth-child(14),
  .gallery-item:nth-child(15),
  .gallery-item:nth-child(16),
  .gallery-item:nth-child(17),
  .gallery-item:nth-child(18) {
    grid-row: span 1;
    grid-column: span 1;
  }

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(7),
  .gallery-item:nth-child(8),
  .gallery-item:nth-child(9),
  .gallery-item:nth-child(10),
  .gallery-item:nth-child(11) {
    grid-column: span 2;
  }

  .gallery-item:nth-child(8),
  .gallery-item:nth-child(11),
  .gallery-item:nth-child(12),
  .gallery-item:nth-child(13),
  .gallery-item:nth-child(14),
  .gallery-item:nth-child(15),
  .gallery-item:nth-child(16),
  .gallery-item:nth-child(17) {
    grid-row: span 2;
  }

  .gallery-item:nth-child(18) {
    grid-column: span 2;
  }

  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(6) img {
    object-position: center 64%;
  }

  .lightbox {
    padding: 65px 14px;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 74vh;
  }

  .lightbox__nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 18px;
  }

  .lightbox__nav--next {
    right: 18px;
  }

  .wishes-track {
    grid-auto-columns: min(82vw, 360px);
    padding-right: 16px;
    padding-left: 16px;
    scroll-padding-inline: 16px;
  }

  .wish-card {
    min-height: 390px;
    padding: 28px;
  }

  .proposal {
    min-height: 650px;
  }

  .proposal__image {
    object-position: 58% center;
  }

  .proposal::before {
    background: rgba(33, 9, 14, 0.52);
  }

  .letter {
    min-height: 440px;
    padding-top: 68px;
  }

  .letter__actions {
    flex-direction: column;
  }

  .letter__actions .button {
    width: 100%;
  }

  .thanks {
    min-height: 600px;
  }

  .thanks h2 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .music-button {
    right: 12px;
    bottom: 12px;
  }

  .music-button > span:last-child {
    display: none;
  }

  .music-button {
    width: 46px;
    height: 46px;
    padding: 5px;
  }

  .footer {
    min-height: 210px;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 72px;
  }

  .hero__tagline {
    font-size: 19px;
  }

  .section-heading h2,
  .wedding h2,
  .proposal h2 {
    font-size: 44px;
  }

  .gallery-grid {
    grid-auto-rows: 190px;
  }
}

/* Hán–Nôm seal marks */

.nom-seal {
  position: relative;
  display: inline-grid;
  width: 58px;
  height: 58px;
  color: #f7e8c8;
  font-family: var(--nom);
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  border: 2px solid rgba(247, 232, 200, 0.3);
  border-radius: 5px 2px 7px 3px;
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 242, 214, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 74%, rgba(255, 242, 214, 0.12) 0 1px, transparent 2px),
    var(--wine);
  background-size: 9px 9px, 11px 11px, auto;
  box-shadow: 0 8px 20px rgba(86, 40, 30, 0.2);
  place-items: center;
  text-shadow: 0 1px 0 rgba(66, 25, 22, 0.22);
}

.nom-seal::after {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(250, 235, 202, 0.48);
  border-radius: 2px 4px 2px 5px;
  content: "";
  pointer-events: none;
}

.nav-seal {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: block;
  line-height: 0;
  text-decoration: none;
  transform: translate(-50%, -50%) rotate(-3deg);
  transition: filter 220ms ease, transform 220ms ease;
}

.nav-seal:hover {
  filter: saturate(1.12);
  transform: translate(-50%, -52%) rotate(0deg) scale(1.04);
}

.nav-seal .nom-seal {
  width: 38px;
  height: 38px;
  font-size: 21px;
  border-width: 1px;
  box-shadow: 0 5px 14px rgba(86, 40, 30, 0.16);
}

.nav-seal .nom-seal::after {
  inset: 3px;
}

.nom-seal--wedding {
  position: absolute;
  z-index: 2;
  top: 40px;
  right: 40px;
  width: 66px;
  height: 66px;
  font-size: 38px;
  transform: rotate(5deg);
}

.wedding__panel > .section-heading {
  padding-right: 72px;
}

@media (max-width: 720px) {
  .nav-seal {
    display: block;
  }

  .nav-seal .nom-seal {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .nom-seal--wedding {
    top: 27px;
    right: 27px;
    width: 52px;
    height: 52px;
    font-size: 30px;
  }

  .wedding__panel > .section-heading {
    padding-right: 54px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .nav-seal {
    display: none;
  }
}

/* Love clocks */

.love-clocks {
  position: relative;
  width: 100%;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  border-top: 1px solid rgba(99, 70, 46, 0.12);
  border-bottom: 1px solid rgba(99, 70, 46, 0.12);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 250, 231, 0.75), transparent 35%),
    linear-gradient(100deg, rgba(126, 84, 44, 0.028) 50%, transparent 50%),
    rgba(246, 234, 207, 0.56);
  background-size: auto, 6px 6px, auto;
}

.love-clocks::before {
  position: absolute;
  right: -0.08em;
  bottom: -0.3em;
  color: rgba(125, 49, 44, 0.035);
  font-family: var(--script);
  font-size: clamp(240px, 31vw, 450px);
  font-weight: 700;
  line-height: 1;
  content: "forever";
  pointer-events: none;
  transform: rotate(-7deg);
}

.love-clocks .section-heading {
  max-width: 760px;
}

.love-clocks__grid {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
}

.love-clock {
  position: relative;
  min-width: 0;
  padding: clamp(34px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(101, 69, 43, 0.23);
  color: var(--ink);
  background:
    linear-gradient(rgba(250, 240, 216, 0.94), rgba(250, 240, 216, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(106, 73, 47, 0.07) 29px 30px);
  box-shadow: 0 22px 58px rgba(67, 44, 28, 0.13);
  transform: rotate(-0.45deg);
}

.love-clock:nth-child(2) {
  transform: rotate(0.45deg);
}

.love-clock::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(125, 49, 44, 0.13);
  content: "";
  pointer-events: none;
}

.love-clock::after {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 25px;
  display: grid;
  width: 46px;
  height: 46px;
  color: rgba(255, 244, 220, 0.94);
  font-family: var(--serif);
  font-size: 13px;
  border: 2px solid rgba(255, 244, 220, 0.28);
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 7px 16px rgba(91, 42, 31, 0.18);
  content: "♥";
  place-items: center;
  transform: rotate(7deg);
}

.love-clock:nth-child(2)::after {
  transform: rotate(-6deg);
}

.love-clock header {
  padding-right: 55px;
}

.love-clock header p {
  margin-bottom: 3px;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.love-clock h3 {
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--script);
  font-size: clamp(43px, 4.6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.love-clock header span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.love-clock__time {
  display: grid;
  margin-top: 30px;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(92, 64, 43, 0.19);
  border-bottom: 1px solid rgba(92, 64, 43, 0.19);
  grid-template-columns: minmax(98px, 1.35fr) repeat(3, minmax(54px, 0.65fr));
  font-variant-numeric: tabular-nums;
}

.love-clock__time > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-left: 1px solid rgba(92, 64, 43, 0.16);
}

.love-clock__time > div:first-child {
  align-items: flex-start;
  border-left: 0;
}

.love-clock__time strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(30px, 3.3vw, 45px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.love-clock__time .love-clock__days strong {
  font-family: var(--script);
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
}

.love-clock__time small {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.love-clock__forever {
  margin: 18px 0 0;
  color: var(--wine-soft);
  font-family: var(--script);
  font-size: 22px;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 980px) {
  .love-clock {
    padding: 34px 28px;
  }

  .love-clock__time {
    grid-template-columns: minmax(88px, 1.25fr) repeat(3, minmax(48px, 0.65fr));
  }

  .love-clock__time > div {
    padding: 0 5px;
  }
}

@media (max-width: 720px) {
  .love-clocks {
    padding-right: 16px;
    padding-left: 16px;
  }

  .love-clocks::before {
    right: -0.3em;
    font-size: 240px;
  }

  .love-clocks__grid {
    max-width: 440px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .love-clock,
  .love-clock:nth-child(2) {
    padding: 38px 26px 32px;
    transform: rotate(-0.25deg);
  }

  .love-clock:nth-child(2) {
    transform: rotate(0.25deg);
  }

  .love-clock h3 {
    font-size: 50px;
  }

  .love-clock__time {
    grid-template-columns: minmax(105px, 1.35fr) repeat(3, minmax(48px, 0.65fr));
  }

  .love-clock__time strong {
    font-size: 32px;
  }

  .love-clock__time .love-clock__days strong {
    font-size: 52px;
  }
}

@media (max-width: 400px) {
  .love-clock {
    padding-right: 21px;
    padding-left: 21px;
  }

  .love-clock h3 {
    font-size: 44px;
  }

  .love-clock__time {
    grid-template-columns: minmax(94px, 1.25fr) repeat(3, minmax(43px, 0.65fr));
  }

  .love-clock__time > div {
    padding: 0 3px;
  }
}

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

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

/* Calligraphic paper edition */

:root {
  --wine: #7d312c;
  --wine-deep: #3e2922;
  --wine-soft: #a45d50;
  --cream: #efe2c5;
  --paper: #f7ecd3;
  --paper-light: #fbf3df;
  --ink: #46362b;
  --muted: #756354;
  --gold: #a67d43;
  --line: rgba(92, 65, 43, 0.19);
  --shadow: 0 24px 70px rgba(72, 49, 31, 0.15);
}

html {
  background: var(--cream);
}

body {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.72;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 16% 8%, rgba(255, 250, 232, 0.72), transparent 31%),
    radial-gradient(circle at 88% 34%, rgba(163, 119, 58, 0.07), transparent 28%),
    linear-gradient(95deg, rgba(111, 77, 43, 0.025) 50%, transparent 50%);
  background-size: auto, auto, 5px 5px;
}

main {
  overflow: clip;
}

.site-header {
  height: 82px;
  color: var(--ink);
  border-bottom: 1px solid rgba(91, 62, 40, 0.15);
  background: rgba(244, 233, 207, 0.88);
  box-shadow: 0 7px 35px rgba(78, 54, 34, 0.06);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.brand {
  gap: 7px;
  color: var(--ink);
  font-family: var(--script);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand i {
  color: var(--wine);
  font-size: 10px;
}

.site-nav {
  gap: clamp(30px, 3.3vw, 54px);
}

.site-nav a {
  color: #594338;
  font-family: var(--script);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: none;
}

.site-nav a:hover {
  color: var(--wine);
}

.site-nav a::after {
  right: 7%;
  bottom: -7px;
  left: 7%;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, var(--wine) 16%, var(--wine) 84%, transparent);
}

.hero {
  min-height: max(780px, 100svh);
  color: var(--ink);
  background: var(--paper);
}

.hero::before {
  position: absolute;
  z-index: -1;
  bottom: -0.23em;
  left: -0.08em;
  color: rgba(125, 49, 44, 0.042);
  font-family: var(--script);
  font-size: clamp(270px, 35vw, 530px);
  font-weight: 700;
  line-height: 1;
  content: "love";
  pointer-events: none;
  transform: rotate(-8deg);
}

.hero__image {
  top: 112px;
  right: clamp(28px, 4.5vw, 78px);
  bottom: 46px;
  left: auto;
  width: min(52vw, 790px);
  height: auto;
  border: clamp(8px, 0.9vw, 14px) solid #f9efd9;
  background: #d2bea0;
  box-shadow: 0 28px 85px rgba(67, 45, 28, 0.2);
  filter: sepia(0.1) saturate(0.82) contrast(0.96);
}

.hero__wash {
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(247, 236, 211, 0.98) 35%, rgba(247, 236, 211, 0.75) 49%, transparent 70%),
    linear-gradient(180deg, rgba(245, 234, 209, 0.12), transparent 55%, rgba(91, 58, 36, 0.12));
}

.hero__content {
  width: var(--page);
  padding-top: 74px;
  text-align: left;
  text-shadow: none;
}

.eyebrow {
  color: var(--wine);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.hero .eyebrow {
  color: var(--wine);
}

.hero h1 {
  max-width: 670px;
  justify-content: flex-start;
  color: var(--ink);
  font-family: var(--script);
  font-size: clamp(78px, 9vw, 136px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.hero h1 i {
  margin: 0 0.04em;
  color: var(--wine);
  font-family: var(--script);
  font-size: 0.5em;
  font-weight: 600;
}

.hero__tagline {
  max-width: 470px;
  margin: 38px 0 26px;
  color: #685448;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.38;
}

.hero__date {
  color: #694f40;
  font-family: var(--sans);
  font-size: 10px;
}

.hero__date i {
  background: var(--wine);
}

.scroll-cue {
  color: #756052;
  font-family: var(--sans);
}

.scroll-cue i {
  background: rgba(82, 57, 42, 0.19);
}

.scroll-cue i::after {
  background: var(--wine);
}

.section {
  padding-top: clamp(104px, 11vw, 168px);
  padding-bottom: clamp(104px, 11vw, 168px);
}

.section-heading {
  position: relative;
}

.section-heading h2,
.wedding h2,
.proposal h2 {
  color: var(--ink);
  font-family: var(--script);
  font-size: clamp(62px, 7.2vw, 104px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.section-heading h2::after {
  display: block;
  width: 82px;
  height: 2px;
  margin-top: 24px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--wine), transparent);
  content: "";
  transform: rotate(-2deg);
}

.section-heading--center h2::after {
  margin-right: auto;
  margin-left: auto;
  background: linear-gradient(90deg, transparent, var(--wine), transparent);
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.7;
}

.destiny {
  position: relative;
}

.destiny::before {
  position: absolute;
  top: 9%;
  right: -130px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(125, 49, 44, 0.08);
  border-radius: 50%;
  box-shadow: inset 0 0 0 14px rgba(125, 49, 44, 0.025);
  content: "";
  pointer-events: none;
}

.person-card__image {
  margin-bottom: 32px;
  overflow: hidden;
  border: 10px solid #f8edd5;
  border-radius: 48% 48% 5px 5px;
  background: #cdbb9e;
  box-shadow: var(--shadow);
}

.person-card__image::after {
  inset: 7px;
  border-color: rgba(255, 250, 231, 0.62);
}

.person-card__image img {
  filter: sepia(0.08) saturate(0.84);
}

.person-card__role,
.person-card > p:last-child {
  font-family: var(--sans);
}

.person-card h3 {
  color: var(--ink);
  font-family: var(--script);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
}

.couple__mark {
  color: var(--wine);
}

.couple__mark i {
  font-family: var(--script);
  font-size: 72px;
  font-weight: 700;
}

.story {
  position: relative;
  border-top: 1px solid rgba(99, 70, 46, 0.13);
  border-bottom: 1px solid rgba(99, 70, 46, 0.13);
  background:
    linear-gradient(rgba(250, 241, 219, 0.58), rgba(250, 241, 219, 0.58)),
    linear-gradient(100deg, rgba(126, 84, 44, 0.035) 50%, transparent 50%);
  background-size: auto, 6px 6px;
}

.timeline::before {
  width: 2px;
  background: linear-gradient(transparent, rgba(125, 49, 44, 0.2) 8%, rgba(125, 49, 44, 0.2) 92%, transparent);
}

.timeline-card__image {
  transform: rotate(-1.1deg);
}

.timeline-card--reverse .timeline-card__image {
  transform: rotate(1.1deg);
}

.timeline-card__image img {
  border: 10px solid #fbf1db;
  border-radius: 2px;
  box-shadow: 0 22px 55px rgba(65, 44, 28, 0.16);
  filter: sepia(0.08) saturate(0.85);
}

.timeline-card__image span {
  right: -22px;
  bottom: -35px;
  color: var(--wine);
  font-family: var(--script);
  font-size: 88px;
  font-weight: 700;
  text-shadow: 2px 2px 0 var(--paper-light);
}

.timeline-card__year {
  color: var(--wine-soft);
  font-family: var(--sans);
}

.timeline-card__body h3 {
  color: var(--ink);
  font-family: var(--script);
  font-size: clamp(52px, 5.6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.timeline-card__body > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.wedding {
  min-height: 900px;
  padding: clamp(28px, 5vw, 76px);
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 250, 230, 0.6), transparent 30%),
    #d8c49e;
  gap: clamp(24px, 4vw, 64px);
}

.wedding__image {
  min-height: 720px;
  border: 11px solid rgba(250, 239, 213, 0.9);
  background: #baa787;
  box-shadow: 0 28px 72px rgba(66, 44, 27, 0.2);
  transform: rotate(-0.7deg);
}

.wedding__image img {
  filter: sepia(0.12) saturate(0.8) contrast(0.95);
}

.wedding__panel {
  position: relative;
  margin: 18px 0;
  padding: clamp(64px, 6vw, 98px) clamp(42px, 5vw, 76px);
  border: 1px solid rgba(114, 77, 47, 0.24);
  color: var(--ink);
  background:
    linear-gradient(rgba(249, 239, 215, 0.92), rgba(249, 239, 215, 0.92)),
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(116, 78, 47, 0.06) 30px);
  box-shadow: 0 22px 60px rgba(70, 48, 30, 0.14);
}

.wedding__panel::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(125, 49, 44, 0.15);
  content: "";
  pointer-events: none;
}

.section-heading--light .eyebrow,
.wedding .eyebrow {
  color: var(--wine);
}

.wedding h2 {
  color: var(--ink);
}

.wedding-date {
  border-color: rgba(91, 63, 43, 0.21);
}

.wedding-date strong {
  color: var(--wine);
  font-family: var(--script);
  font-size: 86px;
  font-weight: 700;
  border-color: rgba(91, 63, 43, 0.21);
}

.wedding-date span,
.schedule small {
  color: var(--muted);
  font-family: var(--sans);
}

.schedule article > span {
  color: var(--wine);
  font-family: var(--script);
  font-size: 38px;
  font-weight: 700;
}

.schedule article div,
.venue {
  border-color: rgba(91, 63, 43, 0.2);
}

.schedule p,
.venue h3 {
  color: var(--ink);
  font-family: var(--script);
  font-weight: 700;
}

.schedule p {
  font-size: 31px;
}

.venue__label {
  color: var(--wine);
  font-family: var(--sans);
}

.venue h3 {
  font-size: 39px;
}

.venue > p:not(.venue__label) {
  color: var(--muted);
}

.venue a {
  color: var(--wine);
  font-family: var(--sans);
  border-color: rgba(125, 49, 44, 0.35);
}

.gallery-grid {
  gap: clamp(14px, 1.8vw, 24px);
}

.gallery-item {
  overflow: hidden;
  border: clamp(5px, 0.65vw, 9px) solid #f9efd8;
  background: #c9b99c;
  box-shadow: 0 16px 42px rgba(74, 50, 31, 0.14);
  transform: rotate(-0.28deg);
  transition: box-shadow 320ms ease, transform 320ms ease;
}

.gallery-item:nth-child(even) {
  transform: rotate(0.28deg);
}

.gallery-item:hover {
  z-index: 2;
  box-shadow: 0 24px 58px rgba(74, 50, 31, 0.2);
  transform: translateY(-5px) rotate(0deg);
}

.gallery-item img {
  filter: sepia(0.07) saturate(0.86);
}

.gallery-item span {
  color: var(--paper-light);
  font-family: var(--sans);
  border-color: rgba(255, 245, 219, 0.58);
  background: rgba(45, 25, 18, 0.72);
}

.wishes {
  border-top: 1px solid rgba(99, 70, 46, 0.12);
  border-bottom: 1px solid rgba(99, 70, 46, 0.12);
  background: rgba(249, 239, 214, 0.58);
}

.wishes-track {
  gap: 22px;
  scrollbar-color: var(--wine-soft) transparent;
}

.wish-card {
  min-height: 390px;
  padding: 40px;
  border: 1px solid rgba(104, 71, 45, 0.2);
  color: var(--ink);
  background-color: #f8eccf;
  background-image:
    linear-gradient(90deg, transparent 0 34px, rgba(125, 49, 44, 0.09) 34px 35px, transparent 35px),
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(91, 64, 43, 0.08) 31px 32px);
  box-shadow: 0 14px 36px rgba(73, 49, 30, 0.09);
  transform: rotate(-0.35deg);
}

.wish-card:nth-child(even) {
  transform: rotate(0.35deg);
}

.wish-card:hover {
  box-shadow: 0 22px 52px rgba(63, 42, 27, 0.15);
  transform: translateY(-5px) rotate(0deg);
}

.wish-card__quote {
  color: var(--wine);
  font-family: var(--script);
}

.wish-card > p {
  color: #5f4c40;
  font-size: 22px;
}

.wish-card footer strong {
  color: var(--ink);
  font-family: var(--script);
  font-size: 21px;
}

.wish-card footer span,
.drag-hint {
  font-family: var(--sans);
}

.proposal {
  min-height: 780px;
  color: var(--ink);
  background: #d5c19c;
}

.proposal__image {
  opacity: 0.5;
  filter: sepia(0.2) saturate(0.68) contrast(0.9);
}

.proposal::before {
  background:
    linear-gradient(90deg, rgba(239, 225, 194, 0.74), rgba(239, 225, 194, 0.5)),
    linear-gradient(180deg, rgba(75, 49, 30, 0.08), transparent 50%, rgba(75, 49, 30, 0.16));
}

.proposal__content {
  position: relative;
  width: min(680px, calc(100% - 48px));
  padding: clamp(62px, 8vw, 96px) clamp(32px, 6vw, 78px);
  color: var(--ink);
  border: 1px solid rgba(103, 70, 45, 0.24);
  background: rgba(249, 239, 215, 0.92);
  box-shadow: 0 30px 80px rgba(54, 36, 24, 0.24);
  text-shadow: none;
  transform: rotate(-0.7deg);
}

.proposal__content::before {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(125, 49, 44, 0.16);
  content: "";
  pointer-events: none;
}

.proposal .eyebrow,
.proposal h2 {
  color: var(--wine);
}

.proposal h2 {
  font-size: clamp(65px, 8vw, 104px);
}

.button {
  color: var(--paper-light);
  font-family: var(--sans);
  border-color: var(--wine);
  background: var(--wine);
  box-shadow: 0 10px 28px rgba(87, 42, 32, 0.14);
}

.button--light {
  color: var(--paper-light);
  border-color: var(--wine);
  background: var(--wine);
}

.button--light:hover {
  color: #fff8e7;
  background: var(--wine-deep);
}

.button--ghost {
  color: var(--wine);
  background: transparent;
  box-shadow: none;
}

.letter-modal {
  background: rgba(55, 38, 28, 0.78);
}

.letter {
  border-color: #bda27a;
  background:
    linear-gradient(rgba(248, 236, 207, 0.94), rgba(248, 236, 207, 0.94)),
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(114, 47, 55, 0.08) 30px);
}

.letter h3,
.letter__answer strong {
  font-family: var(--script);
  font-weight: 700;
}

.letter h3 {
  font-size: clamp(62px, 9vw, 86px);
}

.letter > p:not(.eyebrow),
.letter__answer > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
}

.thanks {
  min-height: 760px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 249, 230, 0.86), transparent 42%),
    linear-gradient(100deg, rgba(130, 89, 47, 0.026) 50%, transparent 50%),
    var(--cream);
  background-size: auto, 6px 6px, auto;
}

.thanks > p {
  color: var(--wine);
  font-family: var(--sans);
}

.thanks h2 {
  color: var(--ink);
  font-family: var(--script);
  font-size: clamp(66px, 10vw, 132px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.82;
  text-transform: none;
}

.music-button {
  color: var(--ink);
  font-family: var(--sans);
  border-color: rgba(94, 64, 43, 0.18);
  background: rgba(246, 235, 209, 0.9);
  box-shadow: 0 10px 32px rgba(61, 41, 27, 0.14);
}

.footer {
  color: var(--muted);
  border-top: 1px solid rgba(91, 62, 40, 0.15);
  background: #e3d2ae;
}

.footer a {
  color: var(--ink);
  font-family: var(--script);
  font-size: 36px;
  font-weight: 700;
}

.footer a span {
  color: var(--wine);
}

.footer p {
  color: #5f4b3e;
  font-family: var(--sans);
}

@media (max-width: 980px) {
  .hero__image {
    width: 57vw;
  }

  .hero__wash {
    background: linear-gradient(90deg, var(--paper) 0%, rgba(247, 236, 211, 0.96) 42%, rgba(247, 236, 211, 0.64) 63%, transparent 82%);
  }

  .site-nav a {
    font-size: 20px;
  }

  .wedding {
    padding: 34px;
  }

  .wedding__panel {
    margin: 0;
  }
}

/* iPad portrait: one cohesive editorial canvas instead of two distant columns. */
@media (min-width: 721px) and (max-width: 1100px) {
  .hero {
    display: block;
    min-height: max(760px, 100svh);
    padding: 0;
  }

  .hero::before {
    top: auto;
    right: auto;
    bottom: -0.16em;
    left: -0.1em;
    font-size: clamp(270px, 39vw, 410px);
  }

  .hero__image {
    top: 104px;
    right: 28px;
    bottom: 28px;
    left: 28px;
    width: calc(100% - 56px);
    height: calc(100% - 132px);
    border-width: 10px;
    object-fit: cover;
    object-position: 52% 64%;
    box-shadow: 0 24px 68px rgba(67, 45, 28, 0.18);
  }

  .hero__wash {
    background:
      linear-gradient(90deg, var(--paper) 0%, rgba(247, 236, 211, 0.91) 20%, rgba(247, 236, 211, 0.55) 38%, rgba(247, 236, 211, 0.12) 57%, transparent 72%),
      linear-gradient(180deg, rgba(247, 236, 211, 0.18), transparent 66%, rgba(59, 40, 28, 0.1));
  }

  .hero__content {
    position: absolute;
    z-index: 1;
    top: clamp(188px, 23svh, 280px);
    left: clamp(52px, 7vw, 80px);
    width: min(44vw, 430px);
    padding: 0;
    text-align: left;
  }

  .hero h1 {
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: clamp(76px, 10.5vw, 104px);
    line-height: 0.7;
  }

  .hero h1 i {
    margin: 0.08em 0 -0.02em 1.5em;
    font-size: 0.38em;
  }

  .hero__tagline {
    max-width: 360px;
    margin: 30px 0 21px;
    font-size: clamp(21px, 2.7vw, 26px);
    line-height: 1.34;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }

  .site-header {
    height: 68px;
    background: rgba(244, 233, 207, 0.93);
  }

  .brand {
    font-size: 34px;
  }

  .menu-toggle span {
    background: var(--ink);
  }

  .site-nav {
    top: 68px;
    height: calc(100svh - 68px);
    gap: 12px;
    background:
      radial-gradient(circle at 15% 15%, rgba(255, 249, 230, 0.75), transparent 34%),
      var(--cream);
  }

  .site-nav::after {
    position: absolute;
    right: -0.15em;
    bottom: -0.32em;
    color: rgba(125, 49, 44, 0.05);
    font-family: var(--script);
    font-size: 250px;
    content: "love";
    pointer-events: none;
    transform: rotate(-9deg);
  }

  .site-nav a {
    z-index: 1;
    color: var(--ink);
    font-family: var(--script);
    font-size: 48px;
    font-weight: 700;
  }

  .hero {
    display: block;
    min-height: max(680px, 100svh);
    padding: 0;
  }

  .hero::before {
    display: none;
  }

  .hero__image {
    top: 82px;
    right: 14px;
    bottom: 16px;
    left: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 98px);
    border-width: 7px;
    object-fit: cover;
    object-position: 50% 64%;
    box-shadow: 0 18px 48px rgba(67, 45, 28, 0.18);
  }

  .hero__wash {
    background:
      linear-gradient(180deg, var(--paper) 0%, rgba(247, 236, 211, 0.93) 18%, rgba(247, 236, 211, 0.7) 34%, rgba(247, 236, 211, 0.16) 57%, transparent 72%),
      linear-gradient(180deg, transparent 72%, rgba(53, 36, 25, 0.12));
  }

  .hero__content {
    position: absolute;
    z-index: 1;
    top: clamp(108px, 15svh, 140px);
    right: 16px;
    left: 16px;
    width: auto;
    padding: 0;
    text-align: center;
  }

  .hero .eyebrow {
    margin-bottom: 8px;
  }

  .hero h1 {
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    font-size: clamp(62px, 19vw, 82px);
    line-height: 0.68;
  }

  .hero h1 i {
    margin: 0.08em 0 -0.03em;
    font-size: 0.38em;
  }

  .hero__tagline {
    max-width: 320px;
    margin: 24px auto 17px;
    color: #695548;
    font-size: clamp(18px, 5.1vw, 21px);
    line-height: 1.34;
  }

  .hero__date {
    justify-content: center;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading h2,
  .wedding h2,
  .proposal h2 {
    font-size: 62px;
  }

  .section-heading > p:last-child {
    font-size: 18px;
  }

  .person-card h3 {
    font-size: 52px;
  }

  .person-card__image {
    border-width: 8px;
  }

  .timeline-card__image img {
    border-width: 7px;
  }

  .timeline-card__body h3 {
    font-size: 57px;
  }

  .timeline-card__body > p:last-child {
    font-size: 17px;
  }

  .wedding {
    padding: 16px;
    gap: 18px;
  }

  .wedding__image {
    min-height: 58svh;
    border-width: 7px;
  }

  .wedding__panel {
    padding: 74px 24px 82px;
  }

  .wedding-date strong {
    font-size: 72px;
  }

  .schedule p {
    font-size: 29px;
  }

  .venue h3 {
    font-size: 35px;
  }

  .gallery-grid {
    gap: 12px;
  }

  .gallery-item {
    border-width: 5px;
  }

  .wish-card {
    min-height: 410px;
    padding: 34px 29px;
  }

  .wish-card > p {
    font-size: 20px;
  }

  .proposal {
    min-height: 710px;
  }

  .proposal__content {
    width: calc(100% - 32px);
    padding: 70px 24px;
  }

  .proposal h2 {
    font-size: 64px;
  }

  .letter h3 {
    font-size: 64px;
  }

  .thanks {
    min-height: 650px;
  }

  .thanks h2 {
    font-size: clamp(58px, 17vw, 78px);
  }

  .footer a {
    font-size: 33px;
  }
}

@media (max-width: 400px) {
  .hero {
    min-height: max(650px, 100svh);
  }

  .hero h1 {
    font-size: clamp(60px, 18.5vw, 70px);
  }

  .section-heading h2,
  .wedding h2,
  .proposal h2 {
    font-size: 55px;
  }
}
