:root { --red: #a62b26; --ink: #352d2a; --paper: #f4eee2; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #181512; color: white; font-family: Georgia, "Times New Roman", "Songti SC", serif; }
main { width: 100%; overflow: hidden; }
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 7vh 7vw 5vh; background: url('couple.JPG') center 35% / cover no-repeat; isolation: isolate; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,8,3,.34), rgba(20,8,3,.04) 40%, rgba(20,8,3,.62)); }
.hero-header { text-align: center; letter-spacing: .16em; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.eyebrow { margin: 0; font: 600 clamp(.68rem, 2.7vw, .82rem)/1.4 Arial, sans-serif; letter-spacing: .27em; }
.date-top { margin: .65rem 0 0; font: 400 .67rem/1.4 Arial, sans-serif; letter-spacing: .22em; }
.hero-center { align-self: end; padding-bottom: 2vh; text-align: center; text-shadow: 0 2px 20px rgba(0,0,0,.42); }
.together { margin: 2.35rem 0 .42rem; font: 600 .58rem/1 Arial, sans-serif; letter-spacing: .28em; }
.header-happiness { color: #e1362d; font-family: "Songti SC", "STSong", serif; font-size: clamp(4rem, 18vw, 5.5rem); font-weight: 900; line-height: .8; filter: drop-shadow(0 2px 8px rgba(55,0,0,.3)); }
.names { margin: .25rem 0 .68rem; font: italic 1.65rem/1.2 "Snell Roundhand", "Brush Script MT", cursive; }
.names span, .chinese-names span { color: #e44a3f; padding: 0 .2em; }
.chinese-names { margin: 0 0 .75rem; font-family: "STXingkai", "Xingkai SC", "华文行楷", "Kaiti SC", "STKaiti", "KaiTi", "楷体", serif; font-size: clamp(1.12rem, 4.4vw, 1.38rem); font-weight: 400; line-height: 1.35; letter-spacing: .14em; }
.invite-copy { margin: 0; font-size: .9rem; line-height: 1.8; letter-spacing: .18em; }
.scroll-cue { justify-self: center; display: grid; justify-items: center; gap: .7rem; font: 500 .55rem/1 Arial, sans-serif; letter-spacing: .22em; }
.scroll-cue i { display: block; width: 1px; height: 2.7rem; background: rgba(255,255,255,.8); animation: pulse 1.8s ease-in-out infinite; transform-origin: top; }
.timeline-section { position: relative; min-height: 100svh; padding: 9vh max(7vw, 1.5rem) 8vh; color: var(--ink); background: var(--paper); text-align: center; isolation: isolate; }
.paper-noise { position: absolute; inset: 0; z-index: -1; opacity: .42; background-image: radial-gradient(#8e7861 0.55px, transparent .7px), radial-gradient(#fff 0.6px, transparent .75px); background-position: 0 0, 7px 8px; background-size: 11px 11px; }
.whale-mark { color: #778592; font-size: 1.2rem; letter-spacing: -.2em; margin-bottom: 1.2rem; }
.eyebrow.dark { color: var(--red); }
.timeline-section h1 { margin: .25rem 0 .55rem; text-transform: uppercase; font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 500; letter-spacing: .03em; }
.intro { margin: 0; font-family: "Songti SC", serif; font-size: .78rem; line-height: 1.8; letter-spacing: .1em; }
.couple-doodle { height: 7.2rem; display: flex; align-items: end; justify-content: center; gap: .15rem; color: #534b47; font-size: 4.7rem; font-family: serif; }
.couple-doodle .heart { color: var(--red); font-size: 1.4rem; align-self: center; }
.timeline { position: relative; max-width: 31rem; margin: 2.2rem auto 2.8rem; }
.timeline::before { content: ""; position: absolute; left: 34%; top: 1.4rem; bottom: 1.4rem; width: 1px; background: rgba(166,43,38,.55); }
.event { display: grid; grid-template-columns: 29% 10% 11% 1fr; align-items: center; min-height: 4.55rem; text-align: left; }
.event time { text-align: right; font: 700 1.05rem/1 Arial, sans-serif; letter-spacing: .05em; }
.dot { position: relative; justify-self: center; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px var(--paper); }
.event-icon { color: var(--red); font-size: 1.35rem; text-align: center; }
.event h2 { margin: 0; font-size: 1.12rem; font-weight: 500; }
.event p { margin: .2rem 0 0; font-size: .78rem; letter-spacing: .18em; }
.details { border-top: 1px solid rgba(53,45,42,.22); padding-top: 1.9rem; position: relative; max-width: 28rem; margin: 0 auto; }
.details p { margin: .35rem 0; font-size: .88rem; letter-spacing: .1em; }
.details .date-large { margin-bottom: .8rem; color: var(--red); font: 500 1.5rem/1 Georgia, serif; letter-spacing: .08em; }
.seal { width: 2.2rem; height: 2.2rem; margin: 1.25rem auto 0; display: grid; place-items: center; color: var(--paper); background: var(--red); font-size: 1.2rem; }
@keyframes pulse { 0%,100% { transform: scaleY(.35); opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }
@media (min-width: 700px) { body { background: #2c2824; } main { max-width: 520px; margin: 0 auto; box-shadow: 0 0 60px rgba(0,0,0,.35); } .hero { padding-left: 2.5rem; padding-right: 2.5rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scroll-cue i { animation: none; } }
