@font-face {
  font-family:NotoSerif;
  src:url('../NotoSerif-Regular.ttf') format('truetype');
  font-display:swap
}
@font-face {
  font-family:NotoSerif;
  src:url('../NotoSerif-Bold.ttf') format('truetype');
  font-weight:700;
  font-display:swap
}
@font-face {
  font-family:NotoSans;
  src:url('../NotoSans-Regular.ttf') format('truetype');
  font-display:swap
}
:root {
  --ivory:#fffaf5;
  --blush:#f7e7e2;
  --rose:#b96d67;
  --ink:#4e312e;
  --muted:#7f6762;
  --gold:#c69d62;
  --line:#d8b999;
  --shadow:0 25px 70px rgba(92,49,45,.13)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:#eee3dd;
  color:var(--ink);
  font-family:NotoSans,Arial,sans-serif
}
body.cover-open {
  overflow:hidden
}
button,input,textarea {
  font:inherit
}
button {
  cursor:pointer
}
a {
  color:inherit
}
.svg-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}
.skip {
  position:absolute;
  left:-9999px;
  top:0
}
.skip:focus {
  left:12px;
  top:12px;
  background:white;
  padding:12px;
  z-index:50
}
.shell {
  width:min(100%,760px);
  min-height:100vh;
  margin:auto;
  background:var(--ivory);
  box-shadow:var(--shadow);
  overflow:hidden
}
.eyebrow {
  font-size:11px;
  letter-spacing:.23em;
  text-transform:uppercase;
  color:var(--rose)
}
.serif {
  font-family:NotoSerif,Georgia,serif
}
.lily {
  width:48px;
  height:48px;
  color:var(--gold);
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-linejoin:round
}
.lily-large {
  width:80px;
  height:80px
}
.cover {
  position:fixed;
  inset:0;
  background:radial-gradient(circle at 50% 27%,#fffaf5 0,#f8e9e2 55%,#ead1c7 100%);
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  transition:opacity .7s,visibility .7s
}
.cover.hidden {
  opacity:0;
  visibility:hidden;
  pointer-events:none
}
.cover-card {
  width:min(100%,430px);
  min-height:min(700px,calc(100svh - 36px));
  border:1px solid var(--gold);
  outline:1px solid rgba(198,157,98,.43);
  outline-offset:-10px;
  position:relative;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  padding:65px 28px 55px;
  background:linear-gradient(150deg,rgba(255,255,255,.56),rgba(255,255,255,.08));
  overflow:hidden
}
.cover-card:before,.cover-card:after {
  content:'✦';
  color:var(--gold);
  position:absolute;
  font-size:14px
}
.cover-card:before {
  top:18px;
  left:20px
}
.cover-card:after {
  bottom:18px;
  right:20px
}
.cover-card .lily {
  margin-bottom:12px
}
.cover-card h1 {
  font:700 clamp(31px,8vw,43px)/1.25 NotoSerif,serif;
  margin:20px 0 12px
}
.cover-card p {
  margin:0
}
.cover-major {
  font-style:italic;
  color:#966a60
}
.cover-university {
  font-size:12px;
  color:#876a63;
  margin-top:8px!important
}
.cover-date {
  font:18px NotoSerif,serif;
  letter-spacing:.07em;
  color:var(--rose)
}
.cover-intro {
  font-size:13px;
  color:#876a63;
  margin:13px 0 27px!important
}
.primary {
  border:0;
  background:linear-gradient(105deg,#e0c296,#c79b6a);
  color:#3d2a25;
  border-radius:100px;
  min-height:49px;
  padding:12px 30px;
  font-family:NotoSerif,serif;
  font-size:16px;
  box-shadow:0 7px 22px rgba(123,70,60,.14);
  transition:transform .2s,box-shadow .2s
}
.primary:hover,.primary:focus-visible {
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(123,70,60,.25)
}
.primary:disabled {
  opacity:.55;
  cursor:not-allowed;
  transform:none
}
.hero {
  min-height:760px;
  position:relative;
  background:#f8eee9;
  overflow:hidden;
  border-bottom:4px solid var(--gold)
}
.hero-photo {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:100% center
}
.hero:before {
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,rgba(255,250,245,.02) 0%,rgba(255,250,245,.13) 43%,rgba(255,250,245,.83) 74%,rgba(255,250,245,.95) 100%)
}
.hero:after {
  content:'';
  position:absolute;
  inset:17px;
  border:1px solid rgba(198,157,98,.83);
  z-index:2;
  pointer-events:none
}
.hero-inner {
  position:relative;
  z-index:3;
  min-height:760px;
  padding:46px 39px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:space-between;
  text-align:right
}
.hero-top {
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-start
}
.hero-top .lily {
  color:#b78567
}
.hero-title {
  max-width:350px;
  margin-left:auto;
  margin-top:40px
}
.hero-title>.eyebrow {
  letter-spacing:.14em;
  color:#8f5b53
}
.hero-title h2 {
  font:700 clamp(32px,6vw,49px)/1.13 NotoSerif,serif;
  margin:20px 0 7px;
  color:#9e5e52;
  text-shadow:0 1px 8px rgba(255,250,245,.45)
}
.hero-title .major {
  font:italic 17px NotoSerif,serif;
  margin:0
}
.university {
  font-size:12px;
  color:#7f6762;
  margin:7px 0
}
.hero-details {
  width:min(290px,58%);
  margin-left:auto;
  padding:15px 0;
  border-top:1px solid var(--line)
}
.hero-details>div {
  padding:12px 0;
  border-bottom:1px solid rgba(150,98,76,.24);
  font:16px NotoSerif,serif
}
.hero-details strong {
  font-weight:700;
  color:#7c4a43
}
.hero-actions {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  justify-content:flex-end;
  width:100%;
  margin-top:20px
}
.tiny-pill {
  background:rgba(255,250,245,.86);
  border:1px solid #c89f77;
  border-radius:30px;
  padding:9px 13px;
  font-size:12px;
  text-decoration:none
}
.hero-scroll {
  font:11px NotoSans,Arial,sans-serif;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#8f5c52;
  margin-top:22px
}
section,.closing {
  padding:75px clamp(24px,7vw,68px);
  position:relative
}
.section-head {
  text-align:center;
  margin-bottom:35px
}
.section-head h2 {
  font:700 clamp(30px,5vw,42px)/1.2 NotoSerif,serif;
  margin:12px 0;
  color:#864d48
}
.section-head p {
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  margin:0 auto;
  max-width:520px
}
.flourish {
  text-align:center;
  color:var(--gold);
  font-family:NotoSerif,serif;
  letter-spacing:.7em;
  margin:22px 0
}
.personal {
  background:#fffaf5;
  text-align:center
}
.personal>.lily {
  margin:0 auto 13px;
  display:block
}
.personal-title {
  font:700 clamp(29px,5vw,40px) NotoSerif,serif;
  margin:18px 0 25px;
  color:#92564e
}
.invitation-text {
  font:20px/1.7 NotoSerif,serif;
  max-width:580px;
  margin:0 auto
}
.personalization-note {
  font-size:12px;
  color:#947970
}
.essentials {
  background:linear-gradient(180deg,#f8ebe5,#fff9f3)
}
.info-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px
}
.info-card {
  border:1px solid #e3c9b6;
  padding:23px 15px;
  text-align:center;
  background:rgba(255,255,255,.58);
  min-height:170px
}
.info-card .icon {
  font-size:24px;
  color:#b3786b
}
.info-card span {
  display:block;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:18px 0 7px;
  color:#9e736b
}
.info-card strong {
  font:700 16px/1.35 NotoSerif,serif
}
.address {
  text-align:center;
  line-height:1.7;
  color:var(--muted);
  margin:23px 0
}
.outline-btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  text-decoration:none;
  border:1px solid var(--rose);
  border-radius:28px;
  padding:12px 22px;
  color:#8b504b;
  background:transparent;
  min-height:46px
}
.center {
  text-align:center
}
.guidance {
  background:#fffaf5
}
.route-card {
  border-left:2px solid var(--gold);
  padding:10px 0 10px 24px;
  margin:18px auto;
  max-width:510px
}
.route-card b {
  font:700 19px NotoSerif,serif
}
.route-card p {
  font-size:14px;
  color:var(--muted);
  line-height:1.7;
  margin:7px 0
}
.pending {
  color:#9c827d
}
.route-card .pending {
  letter-spacing:.07em
}
.moments {
  background:#f4e2dc
}
.gallery-main {
  height:420px;
  overflow:hidden;
  border:9px solid #fffaf5;
  box-shadow:0 18px 45px rgba(87,50,43,.14)
}
.gallery-main img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:65% 46%
}
.photo-more {
  margin-top:20px;
  border:1px dashed #cfa99f;
  padding:20px;
  text-align:center;
  font-size:13px
}
.gallery-note {
  text-align:center;
  font:italic 15px NotoSerif,serif;
  color:#845c56;
  margin-top:20px
}
.letter {
  background:#fffaf5
}
.paper {
  background:#fffdf9;
  box-shadow:0 18px 48px rgba(98,53,42,.11);
  border:1px solid #ecd9c7;
  padding:42px 36px;
  max-width:580px;
  margin:auto;
  min-height:250px
}
.paper .lily {
  width:34px;
  height:34px
}
.paper .placeholder {
  margin:26px 0 0;
  font:italic 18px/1.8 NotoSerif,serif
}
.signature {
  text-align:right;
  color:#9c655d;
  font:italic 18px NotoSerif,serif;
  margin-top:37px
}
.rsvp {
  background:linear-gradient(180deg,#f5e4df,#fff8f2)
}
.form-card {
  max-width:540px;
  margin:auto;
  background:#fffaf6;
  border:1px solid #e2c4b4;
  padding:34px;
  box-shadow:var(--shadow)
}
.attendance-fieldset {
  padding:0;
  margin:0;
  border:0
}
.attendance-fieldset legend,.wish-label {
  display:block;
  font-size:13px;
  color:#795b55;
  margin-bottom:10px
}
.choice-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px
}
.choice {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:51px;
  border:1px solid #d6b8a8;
  border-radius:8px;
  cursor:pointer;
  background:white
}
.choice:has(input:checked) {
  border:2px solid #b9786a;
  background:#f9e8e3
}
.choice input {
  accent-color:#ac695f
}
.wish-label {
  margin-top:25px
}
.wish-label span {
  font-size:11px
}
.form-card textarea {
  width:100%;
  min-height:115px;
  resize:vertical;
  border:1px solid #d6b8a8;
  background:white;
  border-radius:7px;
  padding:14px;
  margin:5px 0 9px;
  color:var(--ink)
}
.privacy {
  font-size:12px;
  color:#816b66;
  line-height:1.6;
  margin:9px 0 20px
}
.demo-banner {
  font-size:12px;
  line-height:1.5;
  background:#f7e5dd;
  color:#7b4e47;
  padding:13px 15px;
  border-radius:6px;
  margin-bottom:23px
}
.preview-btn {
  width:100%;
  cursor:pointer
}
.success {
  display:none;
  text-align:center;
  margin:18px 0 0;
  color:#76534d;
  font-size:13px;
  line-height:1.6
}
.success.visible {
  display:block
}
.closing {
  text-align:center;
  background:#9b625c;
  color:#fff7f1;
  padding-bottom:85px
}
.closing .lily {
  color:#e9cfad;
  margin:0 auto 13px;
  display:block
}
.closing-eyebrow {
  color:#f4d9c7
}
.closing h2 {
  font:700 34px NotoSerif,serif;
  margin:12px auto
}
.closing p {
  line-height:1.8
}
.closing .outline-btn {
  color:white;
  border-color:#ead5c7;
  margin-top:20px
}
.closing small {
  display:block;
  margin-top:45px;
  opacity:.75
}
@media(max-width:600px) {
  .shell {
  box-shadow:none
}
.hero,.hero-inner {
  min-height:920px
}
.hero-photo {
  height:510px;
  object-position:100% center
}
.hero:before {
  background:linear-gradient(180deg,rgba(255,250,245,0) 0%,rgba(255,250,245,.02) 34%,#f8eee9 57%,#f8eee9 100%)
}
.hero-inner {
  padding:35px 28px 34px
}
.hero-title {
  max-width:100%;
  width:100%;
  margin-top:auto
}
.hero-title h2 {
  font-size:clamp(32px,8vw,42px)
}
.hero-title .major {
  font-size:14px
}
.hero-details {
  width:100%;
  padding:6px 0
}
.hero-details>div {
  font-size:14px;
  padding:8px 0
}
.tiny-pill {
  font-size:11px;
  padding:8px 10px
}
.hero-scroll {
  font-size:9px
}
.info-grid {
  grid-template-columns:1fr
}
.info-card {
  min-height:120px
}
.info-card span {
  margin:7px 0
}
.gallery-main {
  height:350px
}
.form-card {
  padding:24px
}
.choice {
  font-size:12px
}

}
@media(max-width:390px) {
  .hero-title h2 {
  font-size:33px
}
.hero-inner {
  padding-left:21px;
  padding-right:21px
}
.hero:after {
  inset:11px
}
.cover-card {
  padding:50px 24px 42px
}

}
@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
.cover,.primary {
  transition:none
}

}

/* Hoa ly trên bìa và các phần của thiệp. */
.cover-card {
  padding-top:48px;
}
.cover-floral {
  width:134px;
  height:134px;
  margin:0 auto 10px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:radial-gradient(circle,rgba(244,219,209,.80) 0%,rgba(250,239,232,.38) 58%,transparent 72%);
}
.cover-card .lily-large {
  width:112px;
  height:112px;
  margin:0;
  color:#b88060;
  stroke-width:1.7;
}
.cover-card .cover-corner {
  position:absolute;
  width:48px;
  height:48px;
  color:#c59c78;
  opacity:.42;
  pointer-events:none;
}
.cover-corner-top { top:20px;right:23px;transform:rotate(17deg) }
.cover-corner-bottom { bottom:17px;left:22px;transform:rotate(-17deg) }
.hero-top .lily {
  width:75px;
  height:75px;
  color:#aa715b;
  stroke-width:1.55;
  filter:drop-shadow(0 1px 4px rgba(255,250,245,.8));
}
.personal>.lily {
  width:70px;
  height:70px;
  color:#be8c70;
  margin-bottom:17px;
}
.section-lily {
  width:58px;
  height:58px;
  display:block;
  margin:0 auto 18px;
  color:#bd8c73;
}
.moments .section-lily { color:#a86460 }
.paper .lily {
  width:57px;
  height:57px;
  color:#b8856c;
}
.closing .lily {
  width:85px;
  height:85px;
  margin-bottom:19px;
}
@media(max-width:600px) {
  .cover-floral { width:122px;height:122px }
  .cover-card .lily-large { width:104px;height:104px }
  .cover-card .cover-corner { width:42px;height:42px }
  .hero-top .lily { width:64px;height:64px }
  .section-lily { width:53px;height:53px }
}

/* Ảnh hoa ly của bản tham chiếu: bìa ngoài và nền các phần bên trong. */
.cover {
  background:#f4dce5;
}
.cover-card {
  padding-top:48px;
  background-image:
    radial-gradient(ellipse 70% 69% at 50% 51%,rgba(255,250,249,.88) 0%,rgba(255,249,247,.72) 42%,rgba(255,247,245,.26) 78%,rgba(255,247,245,.06) 100%),
    url('../hoaly1.jpg');
  background-size:cover;
  background-position:center;
  box-shadow:0 22px 75px rgba(126,60,88,.18);
}
.cover-card > * { position:relative;z-index:1 }
.cover-card .cover-corner { position:absolute }
.cover-floral { width:90px;height:90px;margin-bottom:4px;background:none }
.cover-card .lily-large { width:78px;height:78px;color:#ab687f }
.hero {
  background-image:
    radial-gradient(ellipse 77% 54% at 50% 51%,rgba(255,251,250,.87) 0%,rgba(255,250,248,.66) 54%,rgba(255,248,246,.2) 100%),
    url('../hoaly2.jpg');
  background-size:cover;
  background-position:center;
  background-color:#f9e6eb;
}
.hero:before { background:none }
.hero-inner { align-items:center;text-align:center }
.hero-title { max-width:440px;margin:35px auto }
.hero-details { width:min(420px,100%);margin:0 auto;background:rgba(255,250,249,.83);border-radius:18px;padding:12px 22px;box-shadow:0 10px 30px rgba(145,91,109,.1) }
.hero-actions { justify-content:center }
.hero-title h2,.section-head h2,.personal-title { color:#8d5268 }
.personal,.essentials,.guidance,.moments,.letter,.rsvp {
  background-image:linear-gradient(rgba(255,251,250,.57),rgba(255,251,250,.59)),url('../hoaly2.jpg');
  background-size:cover;
  background-position:center;
  background-color:#fff8f9;
}
.essentials,.moments,.rsvp { background-position:center,center 35% }
.guidance,.letter { background-position:center,center 68% }
.info-card,.route-card,.form-card,.paper { background:rgba(255,252,250,.9);backdrop-filter:blur(5px) }
.floral-panel {
  height:430px;
  border:9px solid #fffaf5;
  box-shadow:0 18px 45px rgba(87,50,43,.14);
  background:url('../hoaly1.jpg') center 54% / cover no-repeat;
}
.closing {
  background-image:linear-gradient(rgba(105,58,79,.86),rgba(105,58,79,.9)),url('../hoaly2.jpg');
  background-size:cover;
  background-position:center;
}
@media(max-width:600px) {
  .hero,.hero-inner { min-height:820px }
  .hero-title { margin:20px auto }
  .hero-details { width:100%;padding:8px 14px }
  .floral-panel { height:350px }
}

/* Chuyển động nhẹ; giảm chuyển động sẽ tắt hoàn toàn. */
@keyframes coverArrive {
  from { opacity:0;transform:translateY(18px) scale(.975) }
  to { opacity:1;transform:translateY(0) scale(1) }
}
@keyframes floatLily {
  0%,100% { transform:translateY(0) rotate(-3deg) }
  50% { transform:translateY(-7px) rotate(3deg) }
}
@keyframes starGlimmer {
  0%,100% { opacity:.38;transform:scale(.8) }
  50% { opacity:1;transform:scale(1.2) }
}
@keyframes welcome {
  from { opacity:0;transform:translateY(19px) }
  to { opacity:1;transform:translateY(0) }
}
.cover-card { animation:coverArrive .95s cubic-bezier(.2,.8,.2,1) both }
.cover-card:before,.cover-card:after { animation:starGlimmer 3.6s ease-in-out infinite }
.cover-card:after { animation-delay:1.4s }
.cover-floral .lily { animation:floatLily 5.5s ease-in-out infinite }
.section-lily,.personal>.lily,.closing .lily { animation:floatLily 6s ease-in-out infinite }
.motion-ready .reveal-item {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .85s ease,transform .85s cubic-bezier(.2,.7,.2,1);
}
.motion-ready .reveal-item.in-view { opacity:1;transform:translateY(0) }
.motion-ready .info-card:nth-child(2),.motion-ready .route-card:nth-of-type(2) { transition-delay:.1s }
.motion-ready .info-card:nth-child(3),.motion-ready .route-card:nth-of-type(3) { transition-delay:.2s }
.invitation-open .hero-title,.invitation-open .hero-details {
  animation:welcome .9s cubic-bezier(.2,.8,.2,1) both;
}
.invitation-open .hero-details { animation-delay:.22s }
.floral-panel { transition:transform .8s ease,box-shadow .8s ease }
@media(hover:hover) {
  .floral-panel:hover { transform:scale(1.015);box-shadow:0 24px 55px rgba(87,50,43,.2) }
}
@media(prefers-reduced-motion:reduce) {
  .cover-card,.cover-card:before,.cover-card:after,.cover-floral .lily,
  .section-lily,.personal>.lily,.closing .lily,
  .invitation-open .hero-title,.invitation-open .hero-details {
    animation:none!important;
  }
  .motion-ready .reveal-item { opacity:1;transform:none;transition:none }
  .floral-panel { transition:none }
}
