/* template72 "Vu Quy / Tân Hôn" — style.css: bảng màu, chữ, nút, bìa phong bì, hero, thiệp hai
   họ, cô dâu chú rể, hai lễ, và tô lại module dùng chung (dock, nút nhạc, menu). Skin cho các
   component dùng chung (lịch, chuyện tình, album…) ở sections.css.

   Bảng màu — giấy kem là chính, đỏ son chỉ điểm nhấn (khác template70: nền đỏ là chính):
     giấy    #FAF5EA — nền cột nội dung      giấy sậm #F2E8D6 — dải xen kẽ
     bàn     #E5D9C3 — nền ngoài cột (màn rộng)
     đỏ son  #A8231B — tiêu đề, ấn, nút      đỏ đô #7E1712 — hover, viền nút
     mực     #2E241B — chữ thân bài (13:1 trên giấy)   mực nhạt #6B5644 — chữ phụ (6:1)
     vàng đất #B8892F — chỉ ở nhuỵ hoa / chấm nhỏ
   Hướng chữ: dùng thuộc tính logic (inline-start/end) để dir="rtl" tự lật. */

:root {
  --t72-paper: #FAF5EA;
  --t72-tint: #F2E8D6;
  --t72-desk: #E5D9C3;
  --t72-red: #A8231B;
  --t72-red-deep: #7E1712;
  --t72-ink: #2E241B;
  --t72-muted: #6B5644;
  --t72-gold: #B8892F;
  --t72-line: rgba(168, 35, 27, .32);
  --t72-serif: 'Cormorant Garamond', 'Noto Serif', Georgia, 'Times New Roman', serif;
  --t72-sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Nền trang & cột nội dung ---------- */
body {
  margin: 0;
  font-family: var(--t72-sans);
  font-weight: 300;
  color: var(--t72-ink);
  background: var(--t72-desk) url('../img/paper-fiber.svg') repeat;
  -webkit-font-smoothing: antialiased;
}
html.t72-cover-lock,
html.t72-cover-lock body { overflow: hidden; }

.t72-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.t72 .wrapper {
  position: relative;
  width: 100%;
  max-width: 575px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--t72-paper) url('../img/paper-fiber.svg') repeat;
  box-shadow: 0 0 0 1px rgba(107, 86, 68, .18), 0 18px 60px rgba(70, 48, 28, .18);
}
/* Viền thiệp in: hai nét son mảnh chạy dọc hai mép cột, như khung của tấm thiệp giấy. */
.t72 .wrapper::before {
  content: "";
  position: absolute;
  inset: 0 10px;
  z-index: 3;
  border-inline: 1px solid var(--t72-line);
  box-shadow: inset 4px 0 0 -3px var(--t72-line), inset -4px 0 0 -3px var(--t72-line);
  pointer-events: none;
}
.t72 img { max-width: 100%; }
/* Cormorant mặc định số kiểu cổ (old-style): "11" đọc thành "II", "09" thành "o9". */
.t72, .t72-cover { font-variant-numeric: lining-nums; }
.t72-tint { background: var(--t72-tint) url('../img/paper-fiber.svg') repeat; }

/* ---------- Chữ ---------- */
.t72 .section-title,
.t72 h1, .t72 h2, .t72 h3, .t72 h4 {
  font-family: var(--t72-serif);
  font-weight: 600;
  line-height: 1.2;
}
.t72 .section-title {
  margin-bottom: .2rem;
  font-size: clamp(2rem, 8vw, 2.5rem);
  text-align: center;
  color: var(--t72-red);
}
.t72 .section-sub-title {
  max-width: 30rem;
  margin: 0 auto 1.8rem;
  font-family: var(--t72-sans);
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.75;
  text-align: center;
  color: var(--t72-muted);
}
.t72-label {
  margin: 0;
  font-family: var(--t72-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--t72-red);
}
.t72-amp {
  display: block;
  font-family: var(--t72-serif);
  font-style: italic;
  font-weight: 500;
  font-size: .62em;
  line-height: 1.3;
  color: var(--t72-red);
}
.t72-divider { display: block; width: 180px; height: 12px; margin: .5rem auto 1.1rem; color: var(--t72-red); opacity: .75; }

/* ---------- Nút ---------- */
.t72-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .6rem 1.7rem;
  border: 1px solid var(--t72-red);
  border-radius: 2px;
  font-family: var(--t72-sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.t72-btn:focus-visible { outline: 2px solid var(--t72-red); outline-offset: 3px; }
.t72-btn--red { color: var(--t72-paper); background: var(--t72-red); }
.t72-btn--red:hover { color: var(--t72-paper); background: var(--t72-red-deep); border-color: var(--t72-red-deep); }
.t72-btn--line { color: var(--t72-red); background: transparent; }
.t72-btn--line:hover { color: var(--t72-paper); background: var(--t72-red); }

/* ---------- Ấn son, góc khung, cành đào ---------- */
.t72-seal { display: block; width: 74px; height: 74px; margin: 0 auto; }
.t72-seal--lg { width: 96px; height: 96px; }
.t72-corner { position: absolute; width: 34px; height: 34px; color: var(--t72-red); opacity: .7; pointer-events: none; }
.t72-corner--tl { top: 12px; left: 12px; }
.t72-corner--tr { top: 12px; right: 12px; transform: scaleX(-1); }
.t72-corner--bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.t72-corner--br { bottom: 12px; right: 12px; transform: scale(-1, -1); }
.t72-branch { position: absolute; width: 170px; height: 96px; pointer-events: none; }

/* ---------- Bìa phong bì "Mở thiệp" ---------- */
.t72-cover {
  position: fixed;
  inset: 0;
  z-index: 100001;              /* trên nút nhạc (99999) và badge Wedding Plan (99998) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px 16px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(70, 48, 28, .22)), var(--t72-desk) url('../img/paper-fiber.svg') repeat;
  transition: opacity .7s ease;
  perspective: 1400px;
}
.t72-cover[hidden] { display: none; }
.t72-envelope {
  position: relative;
  width: min(86vw, 350px);
  aspect-ratio: 350 / 490;
  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  transition: transform .9s cubic-bezier(.6, 0, .2, 1) .35s;
}
.t72-envelope__back,
.t72-envelope__front,
.t72-envelope__flap {
  position: absolute;
  inset-inline: 0;
  background: #EFE3CC url('../img/paper-fiber.svg') repeat;
}
.t72-envelope__back {
  inset-block: 0;
  z-index: 1;
  border-radius: 4px;
  background-color: #E8DAC0;
  box-shadow: 0 24px 50px rgba(70, 48, 28, .28), 0 2px 6px rgba(70, 48, 28, .15);
}
/* Tấm thiệp nằm trong phong bì; mở bìa thì trượt lên lộ ấn son + "Lễ Thành Hôn". */
.t72-envelope__letter {
  position: absolute;
  inset: 48% 6% 4%;
  z-index: 2;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  padding-top: 26px;
  border: 1px solid var(--t72-line);
  outline: 1px solid var(--t72-line);
  outline-offset: -6px;
  background: var(--t72-paper) url('../img/paper-fiber.svg') repeat;
  font-family: var(--t72-serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 600;
  color: var(--t72-red);
  transition: transform 1s cubic-bezier(.3, .7, .2, 1) .45s;
}
.t72-envelope__letter-seal { width: 58px; height: 58px; }
/* Mặt trước: túi phong bì, mép trên khoét chữ V để nắp đè lên. */
.t72-envelope__front {
  top: 26%;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px 26px;
  text-align: center;
  border-radius: 0 0 4px 4px;
  clip-path: polygon(0 0, 50% 27%, 100% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 -1px 0 rgba(70, 48, 28, .1);
}
.t72-envelope__flap {
  top: 0;
  height: 44%;
  z-index: 4;
  transform-origin: 50% 0;
  transition: transform .8s cubic-bezier(.5, 0, .3, 1), z-index 0s linear .4s;
}
.t72-envelope__seal {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 66px;
  height: 66px;
  margin-left: -33px;
  transform: translateY(42%) rotate(-4deg);
  transition: opacity .3s ease, transform .3s ease;
}
/* Hình tam giác vẽ ở ::before / ::after chứ không clip cả nắp: clip-path sẽ cắt mất nửa dưới
   của ấn son nằm đè lên chóp nắp. */
.t72-envelope__flap { background: none; }
.t72-envelope__flap::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #E9DBC1 url('../img/paper-fiber.svg') repeat;
  filter: drop-shadow(0 2px 2px rgba(70, 48, 28, .2));
}
.t72-envelope__flap::after {
  /* đường gấp mảnh dọc hai cạnh nắp */
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 98%, 97% 1%, 3% 1%, 50% 98%, 50% 100%);
  background: rgba(107, 86, 68, .25);
}
.t72-cover__names {
  margin: 0 0 .3rem;
  font-family: var(--t72-serif);
  font-size: clamp(1.5rem, 7vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--t72-ink);
}
.t72-cover__names > span:not(.t72-amp) { display: block; }
.t72-cover__date {
  margin: 0 0 1.1rem;
  font-family: var(--t72-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--t72-muted);
}
.t72-cover__open { animation: t72-breathe 2.6s ease-in-out infinite; }
@keyframes t72-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 35, 27, .35); }
  50% { box-shadow: 0 0 0 9px rgba(168, 35, 27, 0); }
}
.t72-cover.is-opening .t72-envelope__seal { opacity: 0; transform: translateY(42%) scale(.7) rotate(-4deg); }
.t72-cover.is-opening .t72-envelope__flap { transform: rotateX(180deg); z-index: 0; }
.t72-cover.is-opening .t72-envelope__letter { transform: translateY(-86%); }
.t72-cover.is-opening .t72-cover__open { animation: none; }
.t72-cover.is-opening .t72-envelope { transform: translateY(16%); }
.t72-cover__label { transition: opacity .3s ease; }
.t72-cover.is-opening .t72-cover__label { opacity: 0; }
.t72-cover.is-leaving { opacity: 0; }

/* ---------- Nút menu (mở offcanvas components/menu) ---------- */
.t72-menu-btn {
  position: fixed;
  top: 14px;
  right: max(18px, calc(50% - 287px + 20px));
  z-index: 120;
  display: grid;
  align-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--t72-line);
  border-radius: 50%;
  background: rgba(250, 245, 234, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.t72-menu-btn.is-visible { opacity: 1; visibility: visible; }
.t72[dir="rtl"] .t72-menu-btn { right: auto; left: max(18px, calc(50% - 287px + 20px)); }
.t72-menu-btn span { display: block; height: 1.5px; background: var(--t72-red); border-radius: 2px; }
.t72-menu-btn:focus-visible { outline: 2px solid var(--t72-red); outline-offset: 2px; }

/* ---------- Hero ---------- */
.t72-hero {
  position: relative;
  padding: 70px 30px 78px;
  text-align: center;
}
.t72-branch--start { top: 6px; left: 2px; }
.t72-branch--end { bottom: -30px; right: -8px; transform: scale(-1, -1); opacity: .9; }
.t72[dir="rtl"] .t72-branch--start { left: auto; right: 2px; transform: scaleX(-1); }
.t72[dir="rtl"] .t72-branch--end { right: auto; left: -8px; transform: scaleY(-1); }
.t72-hero .t72-seal { margin-bottom: 20px; }
.t72-hero__title {
  margin: .5rem 0 0;
  font-size: clamp(2.6rem, 12vw, 3.4rem);
  font-style: italic;
  font-weight: 600;
  color: var(--t72-red);
}
.t72-hero__names {
  margin: 22px 0 26px;
  font-size: clamp(2rem, 9vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--t72-ink);
  overflow-wrap: anywhere;
}
.t72-hero__names > span:not(.t72-amp) { display: block; }
/* Ảnh như ảnh dán lên thiệp: khung chữ nhật, viền son mảnh lệch một nhịp. */
.t72-photo {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(70, 48, 28, .16);
}
.t72-photo::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border: 1px solid var(--t72-red);
  opacity: .55;
}
.t72-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.t72-date {
  display: grid;
  justify-items: center;
  width: max-content;
  min-width: 190px;
  margin: 46px auto 0;
  padding: 12px 18px 10px;
  border-block: 1px solid var(--t72-red);
  outline: 1px solid var(--t72-line);
  outline-offset: 3px;
  outline-style: solid;
  clip-path: inset(-4px 0);
}
.t72-date__weekday,
.t72-date__month {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--t72-muted);
}
.t72-date__day {
  font-family: var(--t72-serif);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--t72-red);
}
.t72-lunar {
  margin: 14px 0 0;
  font-family: var(--t72-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: var(--t72-muted);
}

/* Màn xuất hiện của hero — chạy khi bìa mở (.t72-is-open). Ẩn ban đầu chỉ khi bìa đang chờ
   (html.t72-cover-lock): JS hỏng hay edit mode thì hero vẫn hiện nguyên. */
html.t72-cover-lock .t72:not(.t72-is-open) .t72-rise { opacity: 0; transform: translateY(16px); }
.t72-is-open .t72-rise {
  animation: t72-rise .9s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(.2s + var(--d, 0) * .11s);
}
@keyframes t72-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Thiệp báo hỷ: hai họ ---------- */
.t72-invite { padding: 56px 18px; }
.t72-card {
  position: relative;
  padding: 50px 14px 58px;
  text-align: center;
  border: 1px solid var(--t72-line);
  background: var(--t72-paper) url('../img/paper-fiber.svg') repeat;
  box-shadow: 0 8px 26px rgba(70, 48, 28, .08);
}
.t72-families {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 .4rem;
}
.t72-families--single { grid-template-columns: 1fr; }
.t72-family { padding: 0 6px; min-width: 0; }
.t72-family + .t72-family { border-inline-start: 1px solid var(--t72-line); }
.t72-family__title {
  margin: 0 0 .8rem;
  font-family: var(--t72-sans) !important;
  font-size: .8rem;
  font-weight: 600 !important;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--t72-red);
}
.t72-family__parent {
  margin: 0 0 .35rem;
  font-family: var(--t72-serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--t72-ink);
  overflow-wrap: anywhere;
}
.t72-family__parent small {
  display: block;
  font-family: var(--t72-sans);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t72-muted);
}
.t72-family__address {
  margin: .5rem 0 0;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--t72-muted);
  overflow-wrap: anywhere;
}
.t72-invite__announce {
  max-width: 22rem;
  margin: 0 auto 1.2rem;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--t72-ink);
}
.t72-invite__couple {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 0 0 2rem;
  font-family: var(--t72-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--t72-red);
  overflow-wrap: anywhere;
}
.t72-invite__couple small {
  display: block;
  margin-bottom: 4px;
  font-family: var(--t72-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--t72-muted);
}
.t72-invite__seal { width: 40px; height: 40px; }
.t72-invite .section-title { font-size: clamp(1.7rem, 7vw, 2.1rem); }
.t72-invite__body { margin: .8rem 0 1.4rem; font-size: .98rem; line-height: 1.85; }
.t72-invite__honor {
  max-width: 24rem;
  margin: 0 auto 1.6rem;
  font-family: var(--t72-serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--t72-red);
}

/* ---------- Cô dâu & chú rể: hai cột ngang hàng như hai họ ---------- */
.t72-couple { padding: 64px 22px 56px; text-align: center; }
.t72-couple__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.t72-person { min-width: 0; }
.t72-portrait {
  width: 100%;
  max-width: 210px;
  margin: 0 auto 14px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(70, 48, 28, .14);
}
.t72-portrait img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.t72-person__role {
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--t72-red);
}
.t72-person__name { margin: .25rem 0 .5rem; font-size: 1.55rem; color: var(--t72-ink); overflow-wrap: anywhere; }
.t72-person__intro { margin: 0; font-size: .88rem; line-height: 1.7; color: var(--t72-muted); }

/* ---------- Hai lễ: Lễ Tân Hôn / Lễ Vu Quy ---------- */
.t72-rites { padding: 64px 24px 48px; text-align: center; }
.t72-rite {
  position: relative;
  margin: 0 auto 28px;
  max-width: 440px;
  padding: 30px 20px 10px;
  border-top: 2px solid var(--t72-red);
  background: var(--t72-paper) url('../img/paper-fiber.svg') repeat;
  box-shadow: 0 8px 24px rgba(70, 48, 28, .08);
}
.t72-rite--other { border-top-color: var(--t72-line); }
.t72-rite__side {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--t72-muted);
}
.t72-rite__title {
  margin: .2rem 0 .1rem;
  font-size: 2rem;
  font-style: italic;
  color: var(--t72-red);
}
.t72-rite__where { margin: 0 0 1rem; font-size: .88rem; color: var(--t72-muted); }
.t72-event { padding: 18px 0 22px; }
.t72-event + .t72-event { border-top: 1px dashed var(--t72-line); }
.t72-event__image {
  width: 100%;
  aspect-ratio: 16 / 8;
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
}
.t72-event__name { margin: 0 0 .5rem; font-size: 1.45rem; color: var(--t72-ink); }
.t72-event__time {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--t72-ink);
}
.t72-event__clock {
  font-family: var(--t72-serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--t72-red);
}
.t72-event__lunar {
  margin: .25rem 0 0;
  font-family: var(--t72-serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  color: var(--t72-muted);
}
.t72-event__place { margin: .8rem 0 1rem; font-size: .92rem; line-height: 1.6; color: var(--t72-muted); }
.t72-event__place strong { display: block; font-weight: 600; color: var(--t72-ink); }
.t72-event__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.t72-event__actions .t72-btn { min-height: 40px; padding: .5rem 1.1rem; font-size: .74rem; }

/* ---------- Module dùng chung: dock, nút nhạc, menu offcanvas ---------- */
#access-dock { font-family: var(--t72-sans); }
#access-dock .dock-items {
  border-color: var(--t72-line);
  background: rgba(250, 245, 234, .94);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #access-dock .dock-items { background: rgba(250, 245, 234, .84); }
}
#access-dock .dock-link { color: var(--t72-red); }
#access-dock .dock-link:hover,
#access-dock .dock-link:focus-visible,
#access-dock .dock-link[aria-current] { color: var(--t72-red-deep); }

body .player .playerIcon {
  border-color: var(--t72-line);
  background-color: rgba(250, 245, 234, .92);
  color: var(--t72-red);
}
body .player.player--on .playerIcon {
  background-color: var(--t72-red);
  border-color: var(--t72-red);
  color: var(--t72-paper);
}

.t72 .offcanvas-menu {
  max-width: 270px;
  color: var(--t72-ink);
  background: var(--t72-paper) url('../img/paper-fiber.svg') repeat;
  border-inline-start: 2px solid var(--t72-red);
}
.t72 .offcanvas-menu .nav-link {
  padding: .7rem .4rem;
  font-family: var(--t72-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--t72-ink);
  border-bottom: 1px solid var(--t72-line);
}
.t72 .offcanvas-menu .nav-link:hover { color: var(--t72-red); }

/* Chuyển động: người đã tắt thì bìa chỉ mờ đi, hero hiện ngay. */
@media (prefers-reduced-motion: reduce) {
  .t72-cover__open { animation: none; }
  .t72-envelope, .t72-envelope__letter, .t72-envelope__flap { transition: none; }
  .t72-cover.is-opening .t72-envelope__flap,
  .t72-cover.is-opening .t72-envelope__letter,
  .t72-cover.is-opening .t72-envelope { transform: none; }
  .t72-cover { transition: opacity .3s ease; }
  .t72-is-open .t72-rise { animation: none; }
}

/* ---------- Màn rộng: cột thiệp giữa bàn giấy, hai cành đào lớn hai bên ---------- */
.t72-side-branch { display: none; }
@media (min-width: 1100px) {
  .t72-side-branch {
    display: block;
    position: fixed;
    z-index: 0;
    width: 380px;
    height: 215px;
    opacity: .8;
    pointer-events: none;
  }
  .t72-side-branch--start { top: 40px; right: calc(50% + 287px - 30px); transform: scaleX(-1) rotate(-8deg); }
  .t72-side-branch--end { bottom: 60px; left: calc(50% + 287px - 30px); transform: rotate(172deg) scaleX(-1); }
  .t72 .wrapper { z-index: 1; }
}

@media (max-width: 374px) {
  .t72-hero { padding-inline: 22px; }
  .t72-date__day { font-size: 3.4rem; }
  .t72-family__parent { font-size: 1.05rem; }
  .t72-couple__grid { grid-template-columns: 1fr; }
  .t72-portrait { max-width: 200px; }
}
