@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Great Vibes";
  src: url("assets/fonts/great-vibes.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fcfbf6;
  --canvas: #f6f4ec;
  --ink: #46513f;
  --muted: #64705b;
  --sage: #e8ecdf;
  --line: #d3dac7;
  --copper: #a57760;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--serif); font-size: 20px; font-variant-numeric: lining-nums tabular-nums; -webkit-font-smoothing: antialiased; }
body::before { content: ""; pointer-events: none; position: fixed; inset: 0; opacity: .18; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%237b8065' opacity='.12' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #6c7d56; outline-offset: 6px; border-radius: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
strong { font-weight: 700; }
.script { font-family: "Great Vibes", cursive; font-weight: 400; }
.eyebrow { font-family: var(--sans); font-size: 10px; font-weight: 400; letter-spacing: 2.4px; line-height: 1.8; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 12px 20px; background: var(--ink); color: white; z-index: 100; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { max-width: 1320px; margin: auto; padding: 22px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.monogram { font-size: 35px; text-decoration: none; line-height: 1; letter-spacing: -3px; white-space: nowrap; display: inline-flex; align-items: baseline; min-height: 44px; padding-top: 5px; }
.monogram span { margin: 0 4px; font-size: 19px; font-style: italic; color: #78866a; }
.desktop-nav { display: flex; align-items: center; gap: 27px; }
.desktop-nav a { font-family: var(--sans); font-size: 11px; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; color: #56634b; }
.desktop-nav a:hover { color: #815b42; }
.header-note { font-family: var(--sans); font-size: 9px; letter-spacing: 1.7px; color: var(--muted); }
.hero { position: relative; padding: 18px 24px 54px; text-align: center; overflow: hidden; }
.hero-card { width: min(660px, 100%); aspect-ratio: 1.15; margin: auto; position: relative; }
.hero-flowers { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.hero-eyebrow { position: absolute; top: 21%; left: 15%; width: 70%; font-size: 10px; }
.couple-title { position: absolute; top: 35%; left: 12%; width: 76%; display: flex; flex-direction: column; font-family: "Great Vibes", cursive; font-size: clamp(45px, 7.2vw, 81px); line-height: 1.06; color: var(--copper); }
.couple-title > span { display: block; }
.couple-title .couple-amp { font-family: var(--serif); font-style: italic; font-size: .33em; line-height: 1.4; color: #7b8b68; padding: 7px 0 4px; }
.hero-month { position: absolute; top: 76%; width: 100%; font-size: 15px; letter-spacing: 3px; }
.hero-month span { color: #9da48b; padding: 0 6px; }
.hero-bow { position: absolute; bottom: -7%; left: 24%; width: 52%; height: auto; filter: drop-shadow(0 5px 5px #5c6e4a0b); transform-origin: 50% 35%; }
.hero-invitation { position: relative; margin: 50px auto 0; }
.hero-invitation > p { font-size: 21px; line-height: 1.5; color: #5e6a51; font-style: italic; }
.button { min-height: 48px; padding: 13px 27px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; border-radius: 2px; text-decoration: none; font-family: var(--sans); font-size: 12px; letter-spacing: .4px; transition: background .2s, transform .2s; }
.button-primary { background: #56664b; color: #fffef7; border: 1px solid #56664b; box-shadow: 0 5px 15px #3a4b2d0b; }
.button-primary:hover { background: #425337; transform: translateY(-2px); }
.open-invitation { margin-top: 28px; }
.hero-aside { position: absolute; top: 45%; left: max(35px, calc((100vw - 1200px) / 2)); writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--sans); font-size: 9px; letter-spacing: 2.8px; color: #7a856b; }
.hero-aside-right { right: max(35px, calc((100vw - 1200px) / 2)); left: auto; transform: none; }
.invitation-opened .hero-bow { animation: bow-greeting .8s ease-in-out; }
@keyframes bow-greeting { 40% { transform: rotate(-5deg) scale(1.035); } 75% { transform: rotate(3deg); } }
.section { max-width: 1200px; margin: auto; padding: 90px 40px; }
.section-title { font-size: 49px; line-height: 1.2; margin-top: 13px; }
.script.section-title { font-size: 63px; }
.invitation { max-width: 800px; text-align: center; padding-top: 70px; padding-bottom: 86px; }
.section-bouquet { width: 85px; height: 90px; margin: 0 auto 20px; }
.small-divider { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 29px auto; }
.small-divider span { width: 55px; border-top: 1px solid #bbc6a9; }
.small-divider i { width: 5px; height: 5px; transform: rotate(45deg); background: #9fae8a; }
.invitation-text { font-size: 25px; line-height: 1.7; }
.invitation-names { font-family: "Great Vibes", cursive; font-size: 49px; margin: 25px -10px 20px; color: var(--copper); line-height: 1.5; }
.invitation-names span { font-family: var(--serif); font-size: .66em; color: #859575; padding: 0 7px; font-style: italic; }
.invitation-note { font-size: 20px; font-style: italic; margin-top: 26px; line-height: 1.65; color: #66735b; }
.countdown-section { text-align: center; padding: 45px 24px 43px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #e8ecdf66; }
.countdown { display: flex; justify-content: center; align-items: flex-start; gap: 24px; margin-top: 20px; }
.countdown > div { min-width: 75px; }
.countdown > div > span:first-child { font-size: 57px; line-height: 1.2; }
.countdown > div > span:last-child { display: block; font-family: var(--sans); font-size: 8px; letter-spacing: 2px; margin-top: 8px; color: #64705b; }
.countdown > i { font-size: 33px; line-height: 1.8; font-style: normal; color: #98a787; }
.countdown-event { font-size: 18px; font-style: italic; margin-top: 24px; }
.section-heading { text-align: center; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 16px; font-size: 22px; color: #657159; line-height: 1.5; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 49px; }
.event-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px 19px; border: 1px solid #cbd4bf; background: var(--paper); border-radius: 160px 160px 3px 3px; box-shadow: 0 8px 20px #4e61350a; }
.event-card-featured { background: #eef0e5; }
.event-card-top { display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 8px; gap: 9px; }
.event-number { font-size: 21px; font-style: italic; color: #78856c; }
.event-card-top .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
.event-title { font-size: clamp(31px, 3vw, 40px); margin-top: 23px; line-height: 1.4; color: #8d624b; }
.event-time { font-size: 55px; line-height: 1.2; margin-top: 20px; }
.event-weekday { font-size: 14px; letter-spacing: 1.8px; margin-top: 5px; }
.event-date { font-size: 27px; margin-top: 14px; white-space: nowrap; }
.lunar-date { font-size: 15px; font-style: italic; color: #67735b; margin-top: 9px; line-height: 1.4; }
.event-rule { border-top: 1px solid var(--line); width: 40px; margin: 23px auto; }
.event-place { flex: 1; font-size: 18px; line-height: 1.6; min-height: 155px; width: 100%; }
.venue-name { font-size: 18px; font-weight: 700; letter-spacing: .4px; line-height: 1.45; margin-bottom: 11px; }
.event-place .hall-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.map-link { width: 100%; display: inline-flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: 21px; padding: 8px 10px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 10px; text-decoration: none; letter-spacing: .5px; }
.map-link:hover { color: #80573d; background: #e7ebdd88; }
.map-link span { font-size: 19px; color: #61744f; }
.celebration { background: #e9ede26b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline-section { padding-top: 72px; padding-bottom: 25px; }
.timeline { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 850px; margin: 51px auto 0; text-align: center; }
.timeline li { position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; width: calc(100% - 112px); border-top: 1px dashed #c1cbb3; top: 45px; left: calc(50% + 72px); }
.timeline img { width: 92px; height: 83px; margin: auto; }
.timeline time { display: block; font-size: 32px; margin-top: 20px; }
.timeline h3 { font-size: 26px; margin-top: 7px; }
.timeline p { font-size: 18px; line-height: 1.5; color: #66735b; margin-top: 12px; }
.families { padding-top: 22px; padding-bottom: 76px; text-align: center; }
.families > .small-divider { margin-bottom: 35px; }
.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; max-width: 850px; margin: 40px auto 0; }
.family + .family { border-left: 1px solid #cbd4bf; padding-left: 40px; }
.family h3 { font-size: 47px; color: #839074; line-height: 1.4; }
.parent-names { font-size: 22px; line-height: 1.65; margin-top: 17px; color: #3e4938; }
.family-address { font-size: 20px; line-height: 1.6; color: #5f6e52; margin-top: 18px; }
.closing { text-align: center; padding-top: 70px; padding-bottom: 70px; }
.closing > img { width: 340px; height: auto; margin: 0 auto 30px; }
.closing > h2 { font-size: 54px; color: var(--copper); line-height: 1.4; }
.closing > p:not(.closing-names) { font-size: 22px; line-height: 1.6; margin-top: 17px; }
.closing-names { font-size: 29px; margin-top: 35px; }
.closing-names span { font-style: italic; color: #859474; padding: 0 9px; }
.site-footer { margin: 0 auto; max-width: 1200px; padding: 22px 40px 30px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.site-footer > p { font-family: var(--sans); font-size: 8px; letter-spacing: 2px; }
.footer-flower { font-size: 29px; color: #97a184; }
.mobile-nav { display: none; }

@media (min-width: 1500px) {
  .hero { padding-top: 32px; }
}

@media (max-width: 1000px) {
  .site-header { padding: 18px 30px; }
  .desktop-nav { gap: 20px; }
  .header-note { display: none; }
  .hero-aside { display: none; }
  .event-grid { gap: 14px; }
  .events { padding-left: 24px; padding-right: 24px; }
  .event-card { padding-left: 14px; padding-right: 14px; }
  .event-title { font-size: 32px; }
  .event-place { font-size: 16px; }
  .event-date { font-size: 25px; }
  .lunar-date { font-size: 14px; }
  .parent-names { font-size: 21px; }
}

@media (max-width: 700px) {
  :root { scroll-padding-top: 20px; }
  .site-header { padding: 14px 22px; }
  .desktop-nav { display: none; }
  .header-note { display: block; font-size: 8px; letter-spacing: 1.5px; }
  .monogram { font-size: 30px; min-height: 38px; }
  .hero { padding: 18px 15px 44px; }
  .hero-card { max-width: 500px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: 1.8px; top: 19%; }
  .couple-title { font-size: clamp(44px, 11vw, 65px); top: 35%; }
  .couple-title .couple-amp { padding: 4px 0 1px; }
  .hero-month { font-size: 11px; letter-spacing: 2.2px; top: 77%; }
  .hero-bow { width: 56%; left: 22%; bottom: -9%; }
  .hero-invitation { margin-top: 44px; }
  .hero-invitation > p { font-size: 19px; }
  .button { font-size: 11px; min-height: 48px; }
  .section { padding: 62px 24px; }
  .invitation { padding-top: 40px; }
  .section-bouquet { width: 69px; height: 73px; margin-bottom: 19px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .section-title { font-size: 36px; }
  .script.section-title { font-size: 46px; }
  .invitation-text { font-size: 21px; }
  .invitation-names { font-size: 37px; margin-left: -8px; margin-right: -8px; }
  .invitation-names span { padding: 0 2px; }
  .invitation-note { font-size: 19px; }
  .countdown-section { padding: 33px 15px; }
  .countdown { gap: 17px; }
  .countdown > div { min-width: 58px; }
  .countdown > div > span:first-child { font-size: 45px; }
  .countdown > i { font-size: 27px; line-height: 1.8; }
  .countdown-event { font-size: 17px; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 20px; }
  .event-grid { grid-template-columns: 1fr; max-width: 400px; margin: 35px auto 0; gap: 26px; }
  .event-card { padding: 28px 28px 16px; border-radius: 150px 150px 3px 3px; }
  .event-card-top { padding-top: 0; }
  .event-title { font-size: 41px; margin-top: 18px; }
  .event-time { font-size: 57px; margin-top: 17px; }
  .event-date { font-size: 30px; }
  .lunar-date { font-size: 17px; }
  .event-place { min-height: auto; font-size: 20px; }
  .venue-name { font-size: 21px; }
  .event-place .hall-name { font-size: 18px; }
  .map-link { font-size: 11px; }
  .timeline-section { padding-bottom: 12px; }
  .timeline { gap: 13px; margin-top: 33px; }
  .timeline img { width: 62px; height: 59px; }
  .timeline li:not(:last-child)::after { width: calc(100% - 72px); top: 31px; left: calc(50% + 43px); }
  .timeline time { font-size: 25px; margin-top: 17px; }
  .timeline h3 { font-size: 21px; }
  .timeline p { font-size: 15px; line-height: 1.5; margin-top: 8px; }
  .timeline p br { display: none; }
  .families { padding-top: 10px; }
  .family-grid { grid-template-columns: 1fr; gap: 34px; margin-top: 27px; }
  .family + .family { padding: 28px 0 0; border-left: 0; border-top: 1px solid #cbd4bf; width: 100%; }
  .family h3 { font-size: 43px; }
  .parent-names { font-size: 23px; margin-top: 9px; }
  .family-address { font-size: 20px; margin-top: 13px; }
  .closing > img { width: 265px; }
  .closing > h2 { font-size: 39px; }
  .closing > p:not(.closing-names) { font-size: 20px; }
  .closing-names { font-size: 24px; }
  .site-footer { padding: 18px 24px calc(88px + env(safe-area-inset-bottom)); gap: 15px; }
  .site-footer > p { font-size: 7px; letter-spacing: 1px; }
  .mobile-nav { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 30; justify-content: space-around; align-items: center; background: #fafaf4f5; border-top: 1px solid #d5dccb; padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); backdrop-filter: blur(12px); }
  .mobile-nav a { min-height: 44px; padding: 13px 8px; display: inline-flex; align-items: center; font-family: var(--sans); font-size: 10px; text-decoration: none; color: #4b5c3e; }
}

@media (max-width: 360px) {
  .hero { padding-left: 10px; padding-right: 10px; }
  .hero-eyebrow { font-size: 7px; }
  .couple-title { font-size: 42px; }
  .hero-month { font-size: 10px; }
  .section { padding-left: 18px; padding-right: 18px; }
  .invitation-names { font-size: 33px; }
  .section-title { font-size: 32px; }
  .script.section-title { font-size: 41px; }
  .event-card { padding-left: 20px; padding-right: 20px; }
  .event-title { font-size: 37px; }
  .timeline { gap: 8px; }
  .timeline h3 { font-size: 19px; }
  .timeline p { font-size: 14px; }
  .closing > h2 { font-size: 35px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  body { background: white; font-size: 16px; }
  body::before, .desktop-nav, .mobile-nav, .open-invitation, .hero-aside, .skip-link, .countdown-section { display: none !important; }
  .hero { padding-bottom: 25px; }
  .hero-card { width: 420px; }
  .couple-title { font-size: 57px; }
  .section { padding: 30px 20px; }
  .event-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .event-card, .family-grid, .timeline { break-inside: avoid; }
  .event-title { font-size: 29px; }
  .event-time { font-size: 40px; }
  .event-date { font-size: 23px; }
  .event-place { font-size: 16px; }
  .map-link { display: none; }
}
