/* ============================================================
   A CHAPTER TO REMEMBER — Nguyễn Phương Anh
   Concept: Quiet Luxury · Editorial · Royal · Nostalgic · Literary
   ============================================================ */

:root {
  /* ---- Bảng màu ---- */
  --navy-deep:  #0D1B2A;
  --navy:       #16305C;
  --burgundy:   #5B1E26;
  --ivory:      #F5EFE3;
  --ivory-soft: #EFE7D6;
  --ivory-warm: #F9F5ED;
  --gold-muted: #C9A45C;

  --ink:        var(--navy-deep);
  --paper:      var(--ivory);
  --paper-deep: var(--ivory-soft);
  --accent:     var(--burgundy);
  --line:       rgba(13, 27, 42, 0.14);
  --line-soft:  rgba(13, 27, 42, 0.07);
  --gold-line:  rgba(201, 164, 92, 0.45);

  /* ---- Typography ---- */
  --font-serif:   'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-hand:    'Marck Script', cursive;
  --font-body:    'Be Vietnam Pro', sans-serif;

  /* ---- Easing ---- */
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --t-slow:    1.6s;
  --t-med:     1.2s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ============================================================
   BODY — Nền giấy sần sùi liền mạch từ Intro đến Thiệp Chính
   ============================================================ */
body {
  margin: 0;
  background-color: #E5DDD0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%, rgba(0,0,0,0.06) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(20, 15, 10, 0.12) 100%),
    radial-gradient(rgba(13,27,42,.06) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 4px 4px, 7px 7px;
  background-position: center, center, 0 0, 2px 3px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Vân giấy cực mỏng — noise CSS tĩnh */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .45;
  background-image:
    radial-gradient(rgba(13,27,42,.022) 1px, transparent 1px),
    radial-gradient(rgba(13,27,42,.016) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 2px 3px;
}

.main-content { position: relative; z-index: 1; }
.main-content[hidden] { display: none; }
.script { font-family: var(--font-hand); font-weight: 400; }
img { max-width: 100%; display: block; }

/* ============================================================
   REVEAL ON SCROLL — fade + dịch nhẹ, duration 1.5–1.6s
   ============================================================ */
.reveal-fade-up,
.reveal-fade-down,
.reveal-fade-left,
.reveal-fade-right,
.reveal-zoom-in,
.reveal-flip-up,
.reveal-blur {
  opacity: 0;
  transition:
    opacity  var(--t-slow) var(--ease-soft),
    transform var(--t-slow) var(--ease-soft),
    filter    var(--t-slow) var(--ease-soft);
  will-change: opacity, transform;
}
.reveal-fade-up    { transform: translateY(16px); }
.reveal-fade-down  { transform: translateY(-16px); }
.reveal-fade-left  { transform: translateX(-16px); }
.reveal-fade-right { transform: translateX(16px); }
.reveal-zoom-in    { transform: translateY(10px) scale(.99); }
.reveal-flip-up    { transform: translateY(18px); }
.reveal-blur       { transform: translateY(10px); filter: blur(5px); }

.reveal-fade-up.is-visible,
.reveal-fade-down.is-visible,
.reveal-fade-left.is-visible,
.reveal-fade-right.is-visible,
.reveal-zoom-in.is-visible,
.reveal-flip-up.is-visible,
.reveal-blur.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ============================================================
   SHARED — Section layout
   ============================================================ */
.section {
  padding: 100px 28px;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
}

/* Đường phân cách vàng mỏng giữa các section */
.section + .section::before {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  background: var(--gold-muted);
  margin: 0 auto;
  opacity: .55;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-eyebrow {
  font-family: var(--font-serif);
  font-size: 11.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin: 0 0 12px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 5.5vw, 42px);
  text-align: center;
  color: var(--navy-deep);
  margin: 0 0 10px;
  letter-spacing: .015em;
  line-height: 1.22;
}
.section-title.script { font-family: var(--font-hand); font-weight: 400; }
.section-sub {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 17px;
  margin: 0 auto 48px;
  max-width: 440px;
  line-height: 1.7;
}

.hr-fine {
  width: 46px;
  height: 1px;
  background: var(--gold-muted);
  margin: 20px auto;
  border: none;
  opacity: .6;
}

/* Buttons */
.btn-outline,
.btn-fill {
  font-family: var(--font-serif);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 13px 32px;
  border-radius: 1px;
  cursor: pointer;
  transition: all .5s var(--ease-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--navy-deep);
  color: var(--navy-deep);
}
.btn-outline:hover { background: var(--navy-deep); color: var(--ivory); }
.btn-fill {
  background: var(--navy-deep);
  border: 1px solid var(--navy-deep);
  color: var(--ivory);
  width: 100%;
  justify-content: center;
}
.btn-fill:hover { background: var(--burgundy); border-color: var(--burgundy); }

/* ============================================================
   1. INTRO — MỞ TRANG SỔ LƯU BÚT (Single Textured Paper Canvas)
   ============================================================ */

/* Keyframe fade-in cho từng element */
@keyframes introFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Darker rich tactile vintage paper canvas with subtle grain speckles */
  background-color: #E5DDD0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%, rgba(0,0,0,0.06) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(20, 15, 10, 0.12) 100%),
    radial-gradient(rgba(13,27,42,.06) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 4px 4px, 7px 7px;
  background-position: center, center, 0 0, 2px 3px;
  cursor: pointer;
  transition: opacity 1.4s var(--ease-soft), visibility 1.4s var(--ease-soft);
}
.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Page container */
.intro__page {
  position: relative;
  width: min(94vw, 500px);
  min-height: min(90vh, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
  transform-origin: left center;
  transition: transform 1.5s var(--ease-soft), opacity 1.5s var(--ease-soft);
  overflow: hidden;
}
.intro.is-sliding .intro__page {
  transform: rotateY(-25deg) translateX(-6%);
  opacity: 0;
}

/* Vector flourish curves (Organic smooth corner accents) */
.intro__flourish {
  position: absolute;
  width: 140px;
  height: 140px;
  pointer-events: none;
  z-index: 1;
}
.intro__flourish--tr { top: 0; right: 0; }
.intro__flourish--bl { bottom: 0; left: 0; }

/* Body container */
.intro__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Staggered animations */
.intro-anim {
  opacity: 0;
  animation-fill-mode: both;
  animation-timing-function: var(--ease-soft);
  animation-name: introFadeUp;
}
.intro-anim--1 { animation-duration: 1.0s; animation-delay: 0.3s; } /* Monogram */
.intro-anim--2 { animation-duration: 1.2s; animation-delay: 0.6s; } /* Title */
.intro-anim--3 { animation-duration: 1.1s; animation-delay: 0.95s; } /* Subtitle */
.intro-anim--4 { animation-duration: 1.1s; animation-delay: 1.3s; } /* CLASS OF 2026 */
.intro-anim--5 { animation-duration: 1.0s; animation-delay: 1.65s; } /* THÂN MỜI */
.intro-anim--6 { animation-duration: 1.2s; animation-delay: 1.95s; } /* Guest name */
.intro-anim--7 { animation-duration: 1.0s; animation-delay: 2.3s; } /* Cap divider */
.intro-anim--8 { animation-duration: 1.0s; animation-delay: 2.7s; } /* Touch hint */

/* 1. Monogram P&A interlocked emblem */
.intro__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.intro__monogram-svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.04));
}

/* 2. A CHAPTER TO REMEMBER Title */
.intro__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 8.5vw, 42px);
  letter-spacing: .06em;
  color: var(--navy-deep);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 14px;
}

/* 3. — Một khoảng trời để nhớ — (Nằm TRÊN Class of 2026) */
.intro__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: .02em;
}
.intro__subtitle em {
  font-style: italic;
}
.intro__subtitle-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: .5;
}

/* 4. CLASS OF 2026 — To hơn, rộng ngang hơn, nhạt hơn */
.intro__class-of {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.95;
  margin: 0 0 28px;
  pointer-events: none;
  width: 100%;
}
.intro__class-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 5.5vw, 22px);
  letter-spacing: .45em;
  color: #B2A089;
  opacity: .45;
  text-transform: uppercase;
  margin-bottom: 2px;
  margin-right: -.45em; /* Compensate for letter-spacing */
}
.intro__class-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(68px, 22vw, 108px);
  color: #B2A089;
  opacity: .38;
  letter-spacing: .06em;
  margin-right: -.06em;
  line-height: 0.9;
}

/* 5. THÂN MỜI (Nằm DƯỚI Class of 2026) */
.intro__invite-label {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

/* 6. Tên người nhận — Calligraphy Script cao cấp */
.intro__guest.calligraphy {
  font-family: 'Alex Brush', 'Great Vibes', cursive;
  font-size: clamp(34px, 9.5vw, 48px);
  color: var(--navy-deep);
  margin: 0 0 8px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: .02em;
}

/* 7. Cap divider line — — 🎓 — */
.intro__cap-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--accent);
}
.intro__cap-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
  opacity: .45;
}
.intro__cap-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  opacity: .75;
}

/* Touch Hint */
.intro__hint {
  margin-top: 36px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(13,27,42,.4);
  text-transform: uppercase;
}

/* ============================================================
   NÚT NHẠC NỀN
   ============================================================ */
.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(245,239,227,.92);
  backdrop-filter: blur(6px);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .4s var(--ease-soft);
  box-shadow: 0 2px 10px rgba(13,27,42,.08);
}
.music-toggle__icon { width: 17px; height: 17px; }
.music-toggle.is-playing { background: var(--navy-deep); color: var(--ivory); border-color: var(--navy-deep); }

/* ============================================================
   2. HERO / GIỚI THIỆU (Thanh Lịch - 100% Theo Mẫu Ảnh Mẫu)
   ============================================================ */
.hero {
  position: relative;
  padding: 20px 20px 32px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Vintage Inner Frame Border Lines — kẻ đôi mỏng luxury lavender + vàng đồng */
.hero__border-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(11, 23, 54, 0.18);  /* xanh lam đậm mỏng */
  pointer-events: none;
  z-index: 1;
}
.hero__border-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 164, 92, 0.38); /* vàng đồng mỏng */
}

.hero__corner-svg {
  position: absolute;
  width: 44px;
  height: 44px;
  z-index: 2;
  pointer-events: none;
}
.hero__corner-svg--tl { top: -2px; left: -2px; }
.hero__corner-svg--tr { top: -2px; right: -2px; }
.hero__corner-svg--bl { bottom: -2px; left: -2px; }
.hero__corner-svg--br { bottom: -2px; right: -2px; }

/* TRÊN CÙNG: Logo NEU & GRADUATION Ceremony — dùng padding & margin đẩy lên sát mép trên */
.hero__top {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -12px;     /* Đẩy hero__top lên sát mép trên */
  padding-top: 4px;      /* Khoảng cách đỉnh mỏng tinh tế */
  padding-bottom: 20px;  /* Giãn cách mượt mà với phần ảnh phía dưới */
}
.hero__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}
.hero__ceremony-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.hero__ceremony-main {
  font-family: 'Playfair Display', var(--font-display);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: clamp(26px, 7.8vw, 42px);
  letter-spacing: .45em;
  color: #0B1736;      /* xanh lam rất đậm luxury */
  font-weight: 600;
  text-transform: uppercase;
  margin-right: -.45em;
}
.hero__ceremony-sub {
  font-family: 'Alex Brush', 'Great Vibes', cursive;
  font-size: clamp(34px, 10vw, 52px);
  color: #C9A45C;
  margin-top: -8px;
  letter-spacing: .02em;
  font-weight: 400;
}
.hero__star-divider {
  color: var(--gold-muted);
  font-size: 12px;
  margin-top: 4px;
  opacity: .85;
}

/* TRUNG TÂM: Khung Ảnh Góc Vát + Viền Vẽ Nghệ Thuật & Watermark 2026 */
.hero__portrait-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 28px 0 10px;
}

/* WATERMARK 2026: Nâng cao lên hơn, dùng font Serif nghệ thuật Cormorant Garamond cao cấp */
.hero__2026 {
  position: absolute;
  top: -95px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', 'Bodoni Moda', Georgia, serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-weight: 700;
  font-size: clamp(150px, 46vw, 250px);
  color: #C5A059;
  opacity: .32;
  z-index: 1;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: .02em;
  line-height: 0.85;
}

.hero__frame-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Drawn Decorative Corner Borders — viền góc mỏng luxury lavender + vàng đồng */
.hero__drawn-borders {
  position: absolute;
  inset: -16px;
  pointer-events: none;
  z-index: 3;
}
.hero__drawn-corner {
  position: absolute;
  width: 38px;
  height: 38px;
  opacity: 0.88;
}
.hero__drawn-corner--tl { top: 0; left: 0; }
.hero__drawn-corner--tr { top: 0; right: 0; }
.hero__drawn-corner--bl { bottom: 0; left: 0; }
.hero__drawn-corner--br { bottom: 0; right: 0; }

.hero__frame {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;                             /* viền mỏng luxury */
  background: linear-gradient(145deg,
    rgba(201,164,92,0.82) 0%,
    rgba(237,228,210,0.55) 48%,
    rgba(201,164,92,0.82) 100%);
  box-shadow:
    0 0 0 1px rgba(11, 23, 54, 0.13),          /* viền ngoài xanh lam rất mỏng */
    0 12px 32px rgba(13, 27, 42, 0.16),
    inset 0 0 0 1px rgba(201,164,92,0.28);  /* viền trong vàng đồng mỏng */
  clip-path: polygon(
    14px 0%, calc(100% - 14px) 0%, 
    100% 14px, 100% calc(100% - 14px), 
    calc(100% - 14px) 100%, 14px 100%, 
    0% calc(100% - 14px), 0% 14px
  );
}
.hero__img-wrap {
  width: min(78vw, 340px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: var(--paper-deep);
  clip-path: polygon(
    12px 0%, calc(100% - 12px) 0%, 
    100% 12px, 100% calc(100% - 12px), 
    calc(100% - 12px) 100%, 12px 100%, 
    0% calc(100% - 12px), 0% 12px
  );
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .8s var(--ease-soft);
}
.hero__img:hover {
  transform: scale(1.03);
}

/* PHÍA DƯỚI: Tên + Ngành học + Câu quote chữ tay nằm sát ngay bên dưới ảnh */
.hero__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}
.hero__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-weight: 600;
  font-size: clamp(24px, 6.6vw, 36px);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #0B1736;      /* xanh lam rất đậm */
  margin: 0;
  margin-right: -.24em;
}
.hero__name-star {
  color: var(--gold-muted);
  font-size: 9px;
  margin: 4px 0 2px;
  opacity: .85;
}
.hero__meta {
  font-family: 'Playfair Display', Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1;
  font-weight: 500;
  font-size: clamp(12.5px, 3.6vw, 15px);
  letter-spacing: .22em;
  color: #0B1736;      /* xanh lam rất đậm */
  margin: 0 0 6px;
  text-transform: uppercase;
  margin-right: -.22em;
  opacity: .9;
}
.hero__quote.calligraphy {
  font-family: 'Alex Brush', 'Great Vibes', 'Marck Script', cursive;
  font-size: clamp(22px, 6.4vw, 32px);
  color: var(--burgundy);
  margin: 0 0 8px;
  line-height: 1.35;
  font-weight: 400;
  font-style: italic;
}
.hero__flourish-svg {
  width: min(75%, 220px);
  height: 20px;
  margin-top: 2px;
}

.scroll-cue { display: flex; justify-content: center; margin-top: 10px; }
.scroll-cue span {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--gold-muted), transparent);
  animation: cueMove 2.4s ease-in-out infinite;
}

/* Tối ưu hóa hiển thị gọn gàng trọn vẹn 1 màn hình trên Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
    height: auto;
    padding: 20px 16px 16px;
    justify-content: center;
  }
  .hero__border-frame {
    inset: 8px;
  }
  .hero__corner-svg {
    width: 34px;
    height: 34px;
  }
  .hero__top {
    position: relative;
    margin-top: -8px;
    padding-top: 2px;
    padding-bottom: 14px;
  }
  .hero__logo {
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
  }
  .hero__ceremony-main {
    font-size: clamp(20px, 6vw, 26px);
    letter-spacing: .38em;
  }
  .hero__ceremony-sub {
    font-size: clamp(28px, 8vw, 38px);
    margin-top: -6px;
  }
  .hero__star-divider {
    font-size: 10px;
    margin-top: 3px;
  }
  .hero__portrait-wrap {
    padding: 16px 0 4px;
  }
  .hero__2026 {
    top: -68px;
    font-size: clamp(120px, 38vw, 180px);
    opacity: .32;
  }
  .hero__img-wrap {
    width: min(70vw, 260px);
    max-height: 42dvh;
  }
  .hero__drawn-borders {
    inset: -10px;
  }
  .hero__drawn-corner {
    width: 32px;
    height: 32px;
  }
  .hero__bottom {
    margin-top: 8px;
  }
  .hero__name {
    font-size: clamp(20px, 5.4vw, 26px);
    letter-spacing: .22em;
  }
  .hero__name-star {
    font-size: 8px;
    margin: 2px 0;
  }
  .hero__meta {
    font-size: 12px;
    letter-spacing: .2em;
    margin-bottom: 4px;
  }
  .hero__quote.calligraphy {
    font-size: clamp(19px, 5.5vw, 25px);
    margin-bottom: 4px;
  }
  .hero__flourish-svg {
    width: 160px;
    height: 16px;
  }
  .scroll-cue {
    margin-top: 6px;
  }
  .scroll-cue span {
    height: 20px;
  }
}
@keyframes cueMove { 0%,100% { opacity: .2; } 50% { opacity: .85; } }

/* ============================================================
   3. THÔNG TIN LỄ TỐT NGHIỆP — Royal Frame Card (Wider & Compact Layout)
   ============================================================ */
#inviteInfo {
  padding: 36px 8px;
  max-width: 660px;
  margin: 0 auto;
}

.invite-card {
  position: relative;
  background: transparent; /* Nền trong suốt liền mạch với giấy bên dưới */
  border: 1.2px solid rgba(158, 128, 71, 0.75);
  border-radius: 28px;
  padding: 38px 20px 28px;
  text-align: center;
  overflow: hidden;
  /* Sửa toàn bộ font số phẳng đều tăm tắp (Lining Figures), không bị cao thấp */
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* Viền mỏng lồng bên trong tạo khung đôi cổ điển */
.invite-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 0.8px solid rgba(158, 128, 71, 0.5);
  border-radius: 22px;
  pointer-events: none;
  z-index: 1;
}

/* SVGs họa tiết hoa lá trang trí góc thiệp */
.invite-card__corner {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.invite-card__corner--tl {
  top: 0;
  left: 0;
  width: 160px;
  height: 220px;
}

.invite-card__corner--br {
  bottom: 0;
  right: 0;
  width: 160px;
  height: 220px;
}

/* Watermark ký họa cổng tòa nhà NEU góc dưới bên trái */
.invite-card__bg-building {
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: 170px;
  height: 170px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

/* Ngôi sao lấp lánh nhẹ các góc */
.invite-card__star {
  position: absolute;
  color: #9E8047;
  font-size: 11px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 2;
}

.invite-card__star--tl { top: 18px; left: 20px; }
.invite-card__star--tr { top: 18px; right: 20px; }
.invite-card__star--br { bottom: 18px; right: 20px; }
.invite-card__star--bl { bottom: 18px; left: 20px; }

/* Nội dung lồng bên trong thiệp */
.invite-card__content {
  position: relative;
  z-index: 3;
}

.invite-card__eyebrow {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14.5px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #7A222E; /* Burgundy red đậm */
  font-weight: 700;
  margin: 0 0 4px;
}

.invite-card__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(22px, 5.8vw, 28px);
  color: #081426; /* Xanh lam đậm đặc sắc nét */
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 8px 0;
}

.invite-card__divider-svg {
  width: 120px;
  height: 10px;
  margin: 2px auto 10px;
  display: block;
}

.invite-card__divider-sm-svg {
  width: 70px;
  height: 8px;
  margin: 4px auto 8px;
  display: block;
}

/* Khung Giờ & Ngày Tốt Nghiệp có Icon Badge Đồng Hồ */
.invite-box__time-card {
  position: relative;
  margin: 22px auto 20px;
  padding: 20px 16px 14px;
  border: 1.2px solid rgba(158, 128, 71, 0.75);
  border-radius: 16px;
  background: transparent;
  width: 100%;
  max-width: 320px;
}

.invite-box__time-card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 0.8px solid rgba(158, 128, 71, 0.4);
  border-radius: 12px;
  pointer-events: none;
}

.invite-box__clock-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #E5DDD0;
  border: 1.2px solid rgba(158, 128, 71, 0.85);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.invite-box__time {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 7vw, 34px);
  color: #081426; /* Xanh lam rất đậm */
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 4px 0 2px;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.invite-box__date {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13.5px;
  letter-spacing: 0.22em;
  color: #081426; /* Xanh lam rất đậm */
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* Địa điểm (TẠI - TÒA A2 - ĐẠI HỌC KINH TẾ QUỐC DÂN) */
.invite-box__at {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.38em;
  color: #7A222E;
  font-weight: 700;
  text-transform: uppercase;
  margin: 16px 0 2px;
}

.invite-box__venue-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(38px, 9vw, 48px);
  color: #081426; /* Xanh lam rất đậm */
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 2px 0 2px;
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.invite-box__venue-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(14.5px, 4vw, 17px);
  color: #081426; /* Xanh lam rất đậm */
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 2px 0 6px;
}

.invite-box__addr {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  color: #081426; /* Xanh lam đậm rõ nét, không dùng màu mờ */
  font-weight: 600;
  margin: 6px 0 16px;
  line-height: 1.5;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* Nút chỉ đường kèm icon location badge & hoa văn mũi tên */
.invite-box__map-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  margin-bottom: 14px;
  text-decoration: none;
}

.invite-box__pin-badge {
  background: #E5DDD0;
  border: 1.2px solid rgba(158, 128, 71, 0.85);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-soft);
}

.invite-box__map-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #081426; /* Xanh lam rất đậm */
  font-weight: 700;
  text-decoration: none;
}

.invite-box__map-arrow-line {
  width: 140px;
  height: 8px;
  margin-top: 1px;
}

.invite-box__map-wrapper:hover .invite-box__pin-badge {
  transform: translateY(-2px);
  border-color: #081426;
}

.invite-box__map-wrapper:hover .invite-box__map-link {
  color: #7A222E;
}

.invite-card__contact-divider {
  width: 150px;
  height: 12px;
  margin: 12px auto 14px;
  display: block;
}

/* Liên hệ số điện thoại */
.invite-box__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}

.invite-box__phone-badge {
  background: #E5DDD0;
  border: 1.2px solid rgba(158, 128, 71, 0.85);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.invite-box__phone {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: #081426; /* Xanh lam rất đậm */
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.2;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.invite-box__phone-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13.5px;
  color: #081426; /* Xanh lam rất đậm, sắc nét */
  font-weight: 600;
  margin: 1px 0 0;
  letter-spacing: 0.02em;
}

/* ============================================================
   4. HƯỚNG DẪN DI CHUYỂN — 100% Theo Mẫu Mới Luxury Editorial
   ============================================================ */
.directions {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Header */
.directions__header {
  text-align: center;
  margin-bottom: 36px;
}
.directions__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 6vw, 36px);
  color: var(--navy-deep);
  letter-spacing: .08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.directions__eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 6px;
}
.directions__eyebrow-line {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold-muted);
  opacity: .6;
}
.directions__eyebrow {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 500;
}
.directions__header-diamond {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

/* Content Container: 2 columns layout */
.directions__content {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: stretch;
  position: relative;
  margin-bottom: 48px;
}

.directions__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Vertical divider between left and right column */
.directions__v-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 20px;
  flex-shrink: 0;
  padding: 10px 0;
}
.directions__v-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-muted) 20%, var(--gold-muted) 80%, transparent);
  opacity: .55;
}
.directions__v-diamond {
  color: var(--gold-muted);
  font-size: 8px;
  margin: 12px 0;
  opacity: .85;
}

/* Cards & items inside columns — TUYỆT ĐỐI KHÔNG DÙNG BACKGROUND BỌC THẺ */
.directions__card {
  display: flex;
  flex-direction: column;
  background: transparent !important;
}
.directions__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.directions__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--burgundy);
}
.directions__icon--pin {
  width: 22px;
  height: 22px;
  fill: var(--navy-deep);
}
.directions__card-title {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--burgundy);
  margin: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.directions__card-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(13, 27, 42, 0.85);
  margin: 0;
}
.directions__card-text strong {
  font-weight: 600;
  color: var(--navy-deep);
}

.directions__item-divider {
  height: 1px;
  background: rgba(13, 27, 42, 0.08);
  margin: 2px 0;
}

/* Card Mách nhỏ — BỎ KIỂU NGHIÊNG, TUYỆT ĐỐI KHÔNG DÙNG BACKGROUND BỌC */
.directions__tip-card {
  position: relative;
  margin-top: 14px;
  padding: 12px 14px;
  background: transparent !important;
  border: 1px dashed rgba(91, 30, 38, 0.32);
  border-radius: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.directions__tip-heart {
  color: var(--burgundy);
  font-size: 14px;
  line-height: 1.4;
}
.directions__tip-content {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--burgundy);
  margin: 0;
  font-style: normal !important; /* Bỏ nghiêng */
}
.directions__tip-content strong {
  font-weight: 600;
  font-style: normal;
}

/* Badge TÒA A2 — Khung Gấp Nếp Luxury, Background Mỏng Nhẹ, Text Nhỏ Tinh Tế */
.directions__dest-card {
  align-items: flex-start;
}
.directions__a2-pill {
  margin: 8px 0 6px;
  background: #0D1B2A !important;
  border: 1px solid #C9A45C !important;
  padding: 4px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(
    6px 0%, calc(100% - 6px) 0%, 
    100% 6px, 100% calc(100% - 6px), 
    calc(100% - 6px) 100%, 6px 100%, 
    0% calc(100% - 6px), 0% 6px
  );
  box-shadow: 0 2px 6px rgba(13, 27, 42, 0.15);
  position: relative;
}
.directions__a2-pill::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(201, 164, 92, 0.45);
  pointer-events: none;
  clip-path: polygon(
    5px 0%, calc(100% - 5px) 0%, 
    100% 5px, 100% calc(100% - 5px), 
    calc(100% - 5px) 100%, 5px 100%, 
    0% calc(100% - 5px), 0% 5px
  );
}
.directions__a2-pill span {
  font-family: 'Playfair Display', Georgia, serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .22em;
  color: #C9A45C;
  margin-right: -.22em;
  position: relative;
  z-index: 1;
}

.directions__neu-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--navy-deep);
  margin: 0 0 8px;
  text-transform: uppercase;
}
.directions__dest-note {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(13, 27, 42, 0.75);
  margin: 0;
}
.directions__dest-heart {
  color: var(--burgundy);
  font-size: 16px;
  vertical-align: middle;
}

/* MAP CONTAINER SƠ ĐỒ KHUÔN VIÊN NEU — TUYỆT ĐỐI KHÔNG DÙNG BACKGROUND BỌC */
.directions__map-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.directions__map-box {
  position: relative;
  width: 100%;
  border: 1.5px solid rgba(201, 164, 92, 0.65);
  border-radius: 18px;
  padding: 24px 14px 14px;
  background: transparent !important;
}

/* Badge đè lên cạnh trên của khung bản đồ */
.directions__map-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-deep);
  border: 1px solid var(--gold-muted);
  border-radius: 20px;
  padding: 4px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.2);
  z-index: 2;
}
.directions__badge-star {
  color: var(--gold-muted);
  font-size: 10px;
}
.directions__badge-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--ivory);
  text-transform: uppercase;
}

.directions__map-img-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 42, 0.12);
  background: #fff;
}
.directions__map-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s var(--ease-soft);
}
.directions__map-img-wrap:hover .directions__map-img {
  transform: scale(1.02);
}

/* FOOTER GREETING — DÙNG DANCING SCRIPT HỖ TRỢ TIẾNG VIỆT TỐT 100% */
.directions__footer-greeting {
  font-family: 'Dancing Script', 'Be Vietnam Pro', cursive;
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 600;
  color: var(--burgundy);
  text-align: center;
  margin: 20px 0 0;
  letter-spacing: .02em;
}

/* Mobile Responsive — Đưa Xe máy -> Ô tô -> Xe công nghệ -> Điểm đến & vạch kẻ phân cách nhẹ */
@media (max-width: 720px) {
  .directions {
    padding: 60px 18px;
  }
  .directions__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .directions__col {
    display: contents;
  }
  .directions__v-divider,
  .directions__item-divider {
    display: none;
  }
  /* Thứ tự hiển thị hài hòa trên Mobile & vạch kẻ nhẹ ngăn cách */
  .directions__card--xemay  {
    order: 1;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(13, 27, 42, 0.12);
  }
  .directions__card--oto    {
    order: 2;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(13, 27, 42, 0.12);
  }
  .directions__card--xegiap {
    order: 3;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(13, 27, 42, 0.12);
  }
  .directions__card--diemden {
    order: 4;
  }

  .directions__map-box {
    padding: 22px 10px 10px;
  }
}



/* ============================================================
   5. MỘT VÀI ĐIỀU NHỎ (REFINED 100% MATCHING REFERENCE PHOTO)
   ============================================================ */
.notes-section {
  padding: 60px 10px;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

.notes__card {
  background: transparent;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 8px;
  padding: 50px 32px 36px;
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* Inner vintage double frame line */
.notes__card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(91, 30, 38, 0.18);
  border-radius: 6px;
  pointer-events: none;
}

/* Corner Botanical Florals */
.notes__corner-floral {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.notes__corner-floral--tr {
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
}

.notes__corner-floral--bl {
  bottom: 0;
  left: 0;
  width: 140px;
  height: 140px;
}

/* Sparkles */
.notes__sparkle {
  position: absolute;
  color: var(--gold-muted);
  font-size: 11px;
  opacity: 0.75;
  pointer-events: none;
}

.notes__sparkle--1 { top: 4px; right: -8px; }
.notes__sparkle--2 { top: -4px; right: 0; }
.notes__sparkle--3 { top: 0; right: 4px; }
.notes__sparkle--4 { top: 2px; right: -4px; }

/* Card Header */
.notes__header {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 36px;
}

.notes__top-star {
  font-size: 12px;
  color: var(--gold-muted);
  margin-bottom: 4px;
  opacity: 0.85;
}

.notes__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.5vw, 32px);
  font-weight: 500;
  color: var(--navy-deep);
  letter-spacing: 0.04em;
  margin: 8px 0 4px;
  text-transform: uppercase;
}

.notes__subtitle {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--burgundy);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.notes__header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 220px;
  margin: 0 auto;
}

.notes__header-line {
  flex: 1;
  height: 1px;
  background: var(--gold-muted);
  opacity: 0.5;
}

.notes__header-diamond {
  font-size: 8px;
  color: var(--gold-muted);
  opacity: 0.75;
}

/* Notes List */
.notes__items {
  position: relative;
  z-index: 2;
}

.notes__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 12px;
}

/* Bố cục Zigzag đan xen: Hàng 02 & 04 đảo ngược vị trí */
.notes__row.notes__row--reverse {
  flex-direction: row-reverse;
}

/* Khi số ở bên phải: số ở hẳn bên phải text và text căn phải */
.notes__row.notes__row--reverse .notes__row-left {
  flex-direction: row-reverse;
  text-align: right;
}

.notes__row.notes__row--reverse .notes__p,
.notes__row.notes__row--reverse .notes__p-hand {
  text-align: right;
}

.notes__row-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

/* Font số Editorial Italic sang trọng, thanh lịch, chuẩn lining-nums */
.notes__number {
  font-family: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  font-style: italic;
  color: var(--burgundy);
  line-height: 1;
  min-width: 52px;
  flex-shrink: 0;
  margin-top: -2px;
  padding-right: 14px; /* Note trái: tăng padding phải cho số */
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* Note phải: tăng padding trái cho số */
.notes__row.notes__row--reverse .notes__number {
  padding-right: 0;
  padding-left: 14px;
}

.notes__content {
  flex: 1;
}

.notes__p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(13, 27, 42, 0.88);
  margin: 0;
}

/* Font chữ viết tay mượt mà Dancing Script nét đều không bị lỗi nét đậm nét nhạt */
.notes__p-hand {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--burgundy);
  margin: 8px 0 0;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

.notes__phone {
  color: var(--burgundy);
  font-weight: 600;
  font-size: 16px;
}

.notes__smile {
  font-style: normal;
  color: var(--burgundy);
  font-size: 14px;
}

.notes__row-right {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notes__row-right svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(13, 27, 42, 0.04));
}

/* Item Dividers (Đường viền nhạt dần 2 bên, thu ngắn không nối ngang qua) */
.notes__divider {
  position: relative;
  height: 1px;
  width: 60%;
  max-width: 380px;
  margin: 12px auto;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 164, 92, 0.5) 30%, rgba(201, 164, 92, 0.5) 70%, transparent 100%);
}

/* Footer Greeting */
.notes__footer {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 36px;
  padding-bottom: 8px;
}

.notes__footer-hand {
  font-family: var(--font-hand);
  font-size: 26px;
  color: var(--burgundy);
  margin: 0 0 14px;
}

.notes__footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 180px;
  margin: 0 auto;
}

.notes__footer-line {
  flex: 1;
  height: 1px;
  background: var(--gold-muted);
  opacity: 0.5;
}

.notes__footer-diamond {
  font-size: 8px;
  color: var(--gold-muted);
  opacity: 0.75;
}

/* Responsive adjustments (Responsive Mobile vừa vặn, không quá sát mép) */
@media (max-width: 768px) {
  #notesSection,
  .section.notes-section {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 36px;
    padding-bottom: 36px;
    width: 100% !important;
    max-width: 100% !important;
  }

  #notesSection .notes__card {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 32px;
    padding-bottom: 24px;
    border-radius: 6px;
    width: 100% !important;
  }

  #notesSection .notes__card::before {
    inset: 7px !important;
  }

  #notesSection .notes__row {
    gap: 12px;
    padding-left: 6px !important;
    padding-right: 6px !important;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  #notesSection .notes__row-left {
    gap: 10px;
  }

  #notesSection .notes__number {
    font-size: 32px;
    min-width: 36px;
  }

  #notesSection .notes__p {
    font-size: 14px;
    line-height: 1.65;
  }

  #notesSection .notes__p-hand {
    font-size: 17.5px;
  }

  #notesSection .notes__row-right {
    width: 85px;
  }

  #notesSection .notes__footer-hand {
    font-size: 20px;
  }
}

/* ============================================================
   6. LƯU BÚT — EDITORIAL LAYOUT
   ============================================================ */
.journal { position: relative; }
.journal__card {
  border: 1px solid var(--line);
  background: var(--ivory-warm);
  padding: 52px 34px;
  position: relative;
}
.journal__deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}
.journal__deco span { width: 40px; height: 1px; background: var(--gold-muted); opacity: .65; }
.journal__deco em { font-style: normal; color: var(--gold-muted); font-size: 13px; }

.journal__p {
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 2.0;
  color: rgba(13,27,42,.88);
  margin: 0 0 28px;
}
.journal__closing {
  text-align: center;
  margin: 38px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--navy-deep);
  line-height: 2.0;
}
.journal__sign {
  text-align: right;
  font-family: var(--font-hand);
  font-size: 24px;
  color: var(--accent);
  margin-top: 30px;
}

/* Polaroid — float xen kẽ văn bản */
.journal__polaroid {
  width: 134px;
  background: #fff;
  padding: 8px 8px 28px;
  box-shadow: 0 8px 24px rgba(13,27,42,.13);
  margin: 24px auto;
  text-align: center;
}
.journal__polaroid img {
  width: 100%;
  aspect-ratio: 1/1.05;
  object-fit: cover;
  background: var(--paper-deep);
}
.journal__polaroid figcaption {
  font-family: var(--font-hand);
  font-size: 12.5px;
  color: var(--navy-deep);
  margin-top: 7px;
  line-height: 1.4;
}
.journal__polaroid--left  { transform: rotate(-3.5deg); float: left;  margin: 6px 20px 10px -4px; }
.journal__polaroid--right { transform: rotate(2.5deg);  float: right; margin: 6px -4px 10px 20px; }

/* ============================================================
   7. ALBUM — NỀN IVORY, ASYMMETRIC GRID
   ============================================================ */
.album {
  padding: 80px 28px 100px;
  max-width: 660px;
  margin: 0 auto;
  /* Nền liền mạch với body — KHÔNG có scrim tối */
  background: transparent;
}
.album__title {
  /* Dùng chung .section-title */
  margin-bottom: 48px;
}

/* Asymmetric grid layout */
.album__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 14px;
}

/* Bức ảnh full-width */
.album__item--wide {
  grid-column: 1 / -1;
}

.album__item {
  overflow: hidden;
  background: var(--paper-deep);
  /* Viền mỏng 1px tông vàng muted */
  border: 1px solid rgba(201,164,92,.3);
  position: relative;
}
.album__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .8s var(--ease-soft), filter .8s var(--ease-soft);
}
.album__item:hover img {
  transform: scale(1.025);
  filter: saturate(1.05);
}
.album__item--landscape { aspect-ratio: 16/10; }
.album__item--portrait  { aspect-ratio: 3/4; }
.album__item--square    { aspect-ratio: 1/1; }

/* Caption handwritten dưới mỗi ảnh */
.album__caption {
  font-family: var(--font-hand);
  font-size: 14px;
  color: rgba(13,27,42,.65);
  text-align: center;
  margin: 8px 0 0;
  display: block;
}

/* ============================================================
   8. LỜI CẢM ƠN
   ============================================================ */
.thanks__list { display: flex; flex-direction: column; gap: 24px; margin-top: 38px; }
.thanks__p {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.95;
  color: rgba(13,27,42,.85);
  margin: 0;
}
.thanks__p strong { color: var(--accent); font-weight: 500; }
.thanks__final {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--navy-deep);
  margin-top: 32px;
}

/* ============================================================
   9. RSVP
   ============================================================ */
.rsvp__form { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.field label {
  display: block;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy-deep);
  outline: none;
  transition: border-color .4s var(--ease-soft);
  border-radius: 0;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold-muted); }
.field textarea { resize: vertical; min-height: 72px; }
.field select { cursor: pointer; }
.rsvp__status { text-align: center; margin-top: 8px; font-size: 14px; color: var(--accent); min-height: 20px; font-family: var(--font-serif); font-style: italic; }

/* ============================================================
   10. SỔ LƯU BÚT
   ============================================================ */
.guestbook__carousel-wrap { margin-top: 38px; position: relative; }
.guestbook__list {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 6px;
}
.guestbook__list::-webkit-scrollbar { display: none; }
.guestbook__entry {
  flex: 0 0 240px;
  border: 1px solid var(--line);
  background: var(--ivory-warm);
  padding: 22px 20px;
  /* Không viền màu đặc, chỉ navy/burgundy mỏng */
  border-top: 2px solid var(--navy-deep);
  transition: box-shadow .4s var(--ease-soft);
}
.guestbook__entry:hover { box-shadow: 0 6px 24px rgba(13,27,42,.09); }
.guestbook__entry-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-deep);
  margin: 0 0 8px;
}
.guestbook__entry-msg {
  font-size: 13.5px;
  color: rgba(13,27,42,.75);
  margin: 0 0 16px;
  min-height: 40px;
  line-height: 1.65;
}
.guestbook__entry-foot { display: flex; justify-content: space-between; align-items: center; }
.gb-badge {
  font-size: 10px;
  letter-spacing: .06em;
  padding: 3px 10px;
  border: 1px solid;
  font-family: var(--font-serif);
}
.gb-badge--yes { color: var(--navy-deep); border-color: var(--navy-deep); }
.gb-badge--no  { color: var(--accent);    border-color: var(--accent); }
.guestbook__entry-time { font-size: 11px; color: rgba(13,27,42,.38); }
.guestbook__empty { text-align: center; color: rgba(13,27,42,.5); font-style: italic; font-family: var(--font-serif); }

/* ============================================================
   11. FOOTER — NỀN IVORY, KHÔNG NAVY ĐẶC
   ============================================================ */
.footer-wrap {
  /* Nền trong suốt, liền mạch với paper ivory */
  background: transparent;
  border-top: 1px solid var(--line-soft);
  padding: 80px 28px 60px;
  text-align: center;
}
.footer__mono {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold-muted);
  margin: 0 0 20px;
}
.footer__names {
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-size: clamp(18px, 4vw, 24px);
  letter-spacing: .04em;
  margin: 0 0 4px;
  font-style: italic;
}
.footer__sub {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.footer__note {
  font-size: 12.5px;
  color: rgba(13,27,42,.45);
  margin: 0;
  font-family: var(--font-body);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease-soft), visibility .5s var(--ease-soft);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__overlay { position: absolute; inset: 0; background: rgba(13,27,42,.92); }
.lightbox__content { position: relative; max-width: 90vw; max-height: 85vh; z-index: 1; text-align: center; }
.lightbox__img { max-width: 90vw; max-height: 78vh; border: 1px solid rgba(245,239,227,.2); }
.lightbox__caption { color: var(--ivory); font-family: var(--font-hand); font-size: 16px; margin-top: 12px; }
.lightbox__close { position: absolute; top: -40px; right: 0; background: none; border: none; color: var(--ivory); font-size: 30px; cursor: pointer; line-height: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 720px) {
  .album__grid { gap: 18px; }
}

@media (max-width: 480px) {
  .section:not(.notes-section) { padding: 78px 20px; }
  .album    { padding: 60px 16px 80px; }
  .intro__page { padding: 42px 22px; }
  .hero__sash  { font-size: 14px; }
  .journal__card { padding: 36px 20px; }
  .invite-card { padding: 48px 16px 36px; }
  .invite-card__corner--tl { width: 130px; height: 180px; }
  .invite-card__corner--br { width: 130px; height: 180px; }
  .invite-card__bg-building { width: 140px; height: 140px; }
  .album__grid { grid-template-columns: 1fr; }
  .album__item--portrait { aspect-ratio: 4/3; }
}
