/* Giao diện các trang giới thiệu kiểu nhà mốt: trang chủ, Thiệp chúc mừng, Thiệp sự kiện.
   Dùng chung với site.css. Chuyển động nằm trong maison.js. */
  /* Trang chủ kiểu nhà mốt: ảnh lớn tràn màn hình, chữ nhỏ, nhiều khoảng trắng.
     Thứ tự: đầu trang trong suốt, ảnh mở đầu, lời giới thiệu, bộ sưu tập 4 mẫu như sản phẩm,
     hai ảnh chi tiết, trải nghiệm khách mời (thiệp đang chạy), dải ảnh công cụ, ba bước,
     khối hoa văn và bảng giá, hỏi đáp, lời kết, chân trang nhiều cột. */
  body.landing::before { display: none; }
  .sec { padding-block: clamp(72px, 10vw, 140px); }
  .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
  .h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; line-height: 1.3; letter-spacing: .005em; }
  .h3 { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
  .lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 560px; }

  /* Hiện dần, nhẹ và chậm */
  .js [data-rv] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0s) * .6); }
  .js [data-rv].in { opacity: 1; transform: none; }

  /* Đầu trang: trong suốt trên ảnh, chuyển trắng khi cuộn */
  .landing .topbar { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: env(safe-area-inset-top, 0px); }
  .landing .topbar.scrolled, .landing.menu-open .topbar { background: #fff; color: var(--ink); border-bottom-color: var(--line); }
  .landing .topbar .wrap { display: grid; grid-template-columns: 1fr auto 1fr; height: 68px; }
  .landing .topbar .logo { color: inherit; justify-self: center; }
  .landing .topbar .logo .wm b { font-size: clamp(16px, 1.6vw, 20px); }
  .mh-side { display: flex; align-items: center; gap: 6px; min-width: 0; }
  .mh-side.r { justify-content: flex-end; }
  .mh-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; cursor: pointer; padding: 10px 4px; font-size: 13.5px; font-weight: 500; letter-spacing: .03em; text-decoration: none; }
  .mh-btn svg { width: 20px; height: 20px; }
  .mh-side .nav-l { color: inherit; text-decoration: none; font-size: 13.5px; font-weight: 500; letter-spacing: .03em; padding: 10px 12px; }
  .mh-side .nav-l:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  @media (max-width: 860px) { .mh-side .hide-sm, .mh-btn .hide-sm { display: none; } }

  /* Ngăn menu */
  .drawer-bg { position: fixed; inset: 0; z-index: 30; background: rgba(25, 17, 11, .32); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s; }
  .drawer { position: fixed; z-index: 31; top: 0; bottom: 0; left: 0; width: min(440px, 100vw); background: #fff; transform: translateX(-100%); transition: transform .55s var(--ease); display: grid; grid-template-rows: auto 1fr auto; padding: calc(env(safe-area-inset-top, 0px) + 18px) clamp(24px, 4vw, 48px) calc(env(safe-area-inset-bottom, 0px) + 28px); overflow-y: auto; }
  .menu-open .drawer { transform: none; }
  .menu-open .drawer-bg { opacity: 1; visibility: visible; transition: opacity .4s; }
  .drawer-x { justify-self: start; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 12px 0; font-size: 13.5px; font-weight: 500; color: var(--ink); }
  .drawer-x svg { width: 20px; height: 20px; }
  .drawer nav { display: grid; align-content: start; gap: 4px; padding-top: 40px; }
  .drawer nav a { color: var(--ink); text-decoration: none; font-size: clamp(20px, 2vw, 24px); font-weight: 300; padding: 8px 0; }
  .drawer nav a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
  .drawer .more { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 14.5px; }
  .drawer .more a { color: var(--ink); text-decoration: none; }

  /* Mở đầu: ảnh tràn màn hình, hai ảnh trên máy tính */
  .hx { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; color: #fff; overflow: hidden; background: #2b211a; }
  .hx-media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; }
  .hx-media img { width: 100%; height: 100%; object-fit: cover; animation: kb 18s var(--ease) both; }
  .hx-media img.b { display: none; }
  @media (min-width: 900px) { .hx-media { grid-template-columns: 1fr 1fr; } .hx-media img.b { display: block; animation-delay: .15s; } }
  @keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
  .hx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .32) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .5) 100%); }
  .hx-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + clamp(40px, 7vh, 72px)); display: grid; justify-items: center; text-align: center; gap: 14px; }
  .hx-copy .eyebrow { color: #fff; font-size: 10.5px; }
  .hx-copy h1 { font-size: clamp(30px, 4.4vw, 58px); font-weight: 300; line-height: 1.12; letter-spacing: .005em; }
  .hx-copy .acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
  .hx-copy .link { color: #fff; font-size: 15px; }

  /* Lời giới thiệu */
  .statement { text-align: center; display: grid; justify-items: center; gap: 26px; }
  .statement p.big { font-size: clamp(19px, 2.1vw, 27px); font-weight: 300; line-height: 1.55; max-width: 880px; }
  .statement .sig { display: flex; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; justify-content: center; padding-top: 10px; }
  .statement .sig div { display: grid; gap: 2px; }
  .statement .sig b { font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; }
  .statement .sig span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

  /* Bộ sưu tập: lưới sản phẩm */
  .grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  @media (max-width: 1100px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }
  @media (max-width: 600px) {
    .grid4 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
    .grid4::-webkit-scrollbar { display: none; }
    .grid4 > * { flex: 0 0 76%; scroll-snap-align: start; }
  }
  .prod { display: grid; gap: 16px; align-content: start; }
  .prod-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
  .prod-img img { position: absolute; top: 50%; left: 50%; height: 84%; width: auto; max-width: none; aspect-ratio: 390 / 844; object-fit: cover; transform: translate(-50%, -50%); border-radius: 14px; box-shadow: 0 30px 50px -30px rgba(25, 17, 11, .55); transition: opacity .7s var(--ease), transform 1s var(--ease); }
  .prod-img img.b { opacity: 0; }
  .prod-img:hover img { transform: translate(-50%, -50%) scale(1.03); }
  @media (hover: hover) { .prod-img:hover img.b { opacity: 1; } .prod-img:hover img.a { opacity: 0; } }
  .prod-img .tag { position: absolute; z-index: 2; left: 14px; top: 12px; font-size: 11px; font-weight: 500; letter-spacing: .04em; }
  .prod-meta { display: grid; gap: 4px; }
  .prod-meta h3 { font-size: 15.5px; font-weight: 500; letter-spacing: .02em; }
  .prod-meta p { font-size: 14.5px; color: var(--muted); }
  .prod-meta .price { color: var(--ink); }
  .prod-meta .acts { display: flex; gap: 18px; padding-top: 8px; flex-wrap: wrap; }
  .prod-meta .acts .link.quiet { color: var(--muted); }
  .hint-sm { display: none; font-size: 11.5px; color: var(--muted); margin-top: 18px; }
  @media (max-width: 600px) { .hint-sm { display: block; } }

  /* Hai ảnh chi tiết */
  .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 760px) { .duo { grid-template-columns: 1fr; gap: 48px; } }
  .duo figure { margin: 0; display: grid; gap: 18px; }
  .duo .ph { aspect-ratio: 4 / 5; max-height: 84vh; width: 100%; overflow: hidden; background: var(--tile); }
  .duo .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
  .duo figure:hover .ph img { transform: scale(1.04); }
  .duo figcaption { display: grid; gap: 6px; justify-items: start; }
  .duo figcaption p { font-size: 15px; color: var(--muted); max-width: 460px; }

  /* Trải nghiệm khách mời */
  .exp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
  @media (max-width: 900px) { .exp { grid-template-columns: 1fr; } }
  .exp-stage { background: var(--tile); aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 6% 0; }
  .exp-stage .phone { height: 100%; width: auto; max-width: none; aspect-ratio: 9 / 18.6; }
  @media (max-width: 900px) { .exp-stage { aspect-ratio: auto; height: min(720px, 150vw); } }
  .moments { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: m; }
  .moments li { counter-increment: m; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 18px 0; border-top: 1px solid var(--line); }
  .moments li:last-child { border-bottom: 1px solid var(--line); }
  .moments li::before { content: counter(m, decimal-leading-zero); font-size: 11px; letter-spacing: .1em; color: var(--muted); padding-top: 3px; grid-row: span 2; }
  .moments h3 { font-size: 15.5px; font-weight: 500; }
  .moments p { font-size: 14.5px; color: var(--muted); }

  /* Dải ảnh công cụ */
  .band { position: relative; height: min(82vh, 760px); min-height: 460px; color: #fff; overflow: hidden; display: grid; place-items: end center; }
  .band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55)); }
  .band .copy { position: relative; z-index: 2; text-align: center; display: grid; gap: 12px; justify-items: center; padding: 0 16px clamp(40px, 7vh, 72px); }
  .band .eyebrow { color: #fff; font-size: 10.5px; }
  .band h2 { font-size: clamp(26px, 3.4vw, 44px); font-weight: 300; line-height: 1.2; }
  .tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); padding-top: clamp(48px, 6vw, 80px); }
  @media (max-width: 900px) { .tools { grid-template-columns: 1fr 1fr; gap: 36px 20px; } }
  @media (max-width: 480px) { .tools { grid-template-columns: 1fr; gap: 0; } }
  .tool { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
  @media (max-width: 480px) { .tool { border-top-color: var(--line); padding-block: 20px; } .tool:first-child { border-top-color: var(--ink); } }
  .tool h3 { font-size: 15.5px; font-weight: 500; }
  .tool p { font-size: 14.5px; color: var(--muted); }

  /* Ba bước */
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
  @media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
  .step { counter-increment: s; background: var(--tile); padding: clamp(28px, 3vw, 44px); display: grid; gap: 12px; align-content: start; min-height: 240px; }
  .step::before { content: counter(s, decimal-leading-zero); font-size: clamp(34px, 3.4vw, 46px); font-weight: 300; line-height: 1; margin-bottom: clamp(24px, 4vw, 56px); }
  .step h3 { font-size: 15px; font-weight: 500; }
  .step p { font-size: 15px; color: var(--muted); }

  /* Hoa văn riêng và bảng giá */
  .maison { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
  @media (max-width: 900px) { .maison { grid-template-columns: 1fr; min-height: 0; } }
  .canvas { position: relative; background-color: var(--tile); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2319110b' stroke-opacity='.16' stroke-width='1'%3E%3Ccircle cx='26' cy='30' r='8'/%3E%3Ccircle cx='34' cy='30' r='8'/%3E%3Cpath d='M86 98c-9-3-13-11-10-20 9 3 13 11 10 20z'/%3E%3C/g%3E%3Cg fill='%2319110b' fill-opacity='.16'%3E%3Ccircle cx='90' cy='26' r='1.6'/%3E%3Ccircle cx='30' cy='90' r='1.6'/%3E%3C/g%3E%3C/svg%3E"); background-size: 120px 120px; display: grid; place-items: center; min-height: 360px; padding: 48px 16px; overflow: hidden; }
  .seal { width: clamp(220px, 26vw, 320px); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 40px 80px -50px rgba(25, 17, 11, .5); position: relative; }
  .seal svg { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); animation: rot 60s linear infinite; }
  @keyframes rot { to { transform: rotate(360deg); } }
  .seal b { display: block; white-space: nowrap; font-size: clamp(15px, 1.6vw, 20px); font-weight: 500; letter-spacing: .34em; margin-right: -.34em; text-transform: uppercase; }
  .seal span { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
  .price-box > .h2 { max-width: 440px; }
  .price-box { display: grid; align-content: center; gap: 22px; padding: clamp(40px, 6vw, 96px) clamp(16px, 6vw, 96px); }
  .price-box .amt { font-size: clamp(38px, 4.6vw, 60px); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
  .price-box .amt small { display: block; font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-top: 12px; font-weight: 400; }
  .incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  @media (max-width: 560px) { .incl { grid-template-columns: 1fr; } }
  .incl li { font-size: 14.5px; padding: 12px 0; border-top: 1px solid var(--line); }
  .price-box .acts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 6px; }

  /* Hỏi đáp */
  .faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 100px); }
  @media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
  .faq details { border-top: 1px solid var(--line); }
  .faq details:last-child { border-bottom: 1px solid var(--line); }
  .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 16px; font-weight: 500; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 12px no-repeat; transition: transform .35s var(--ease); }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq details p { padding: 0 40px 22px 0; font-size: 15px; color: var(--muted); }

  /* Lời kết */
  .final { position: relative; min-height: min(90vh, 820px); color: #fff; display: grid; place-items: center; text-align: center; overflow: hidden; }
  .final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .final::after { content: ""; position: absolute; inset: 0; background: rgba(15, 10, 6, .38); }
  .final .copy { position: relative; z-index: 2; display: grid; gap: 18px; justify-items: center; padding: 80px 16px; }
  .final .eyebrow { color: #fff; font-size: 10.5px; }
  .final h2 { font-size: clamp(28px, 3.8vw, 50px); font-weight: 300; line-height: 1.18; }
  .final p { font-size: 14px; opacity: .9; }

  /* Chân trang nhiều cột */
  .foot { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }
  .foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  @media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; gap: 26px; } }
  .foot-cols h4 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
  .foot-cols a, .foot-cols p, .foot-cols button { display: block; font-size: 14.5px; color: var(--muted); text-decoration: none; padding: 4px 0; background: none; border: 0; text-align: left; cursor: pointer; }
  .foot-cols a:hover, .foot-cols button:hover { color: var(--ink); }
  .foot-mark { text-align: center; padding-top: clamp(56px, 8vw, 110px); display: grid; gap: 18px; justify-items: center; }
  .foot-mark b { font-size: clamp(30px, 6vw, 76px); font-weight: 400; letter-spacing: .42em; margin-right: -.42em; text-transform: uppercase; line-height: 1; }
  .foot-mark p { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }

  /* Thử thiệp với tên của khách */
  .try { background: var(--tile); }
  .try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
  @media (max-width: 900px) { .try-grid { grid-template-columns: 1fr; } }
  .try-copy { display: grid; gap: 16px; max-width: 520px; }
  .try-form { display: grid; gap: 16px; margin-top: 12px; }
  .try-form .field input { background: #fff; }
  .try-tpl { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
  .try-tpl legend { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 0; margin-bottom: 10px; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { position: relative; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 15px 8px 9px; font-size: 14.5px; cursor: pointer; background: #fff; transition: border-color .2s; }
  .chip input { position: absolute; opacity: 0; pointer-events: none; }
  .chip i { width: 18px; height: 18px; border-radius: 50%; display: block; }
  .chip:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
  .chip:has(input:focus-visible) { outline: 1px solid var(--ink); outline-offset: 3px; }
  .try-form .acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
  .try-note { font-size: 12px; color: var(--muted); }
  .see-btn { display: none; }
  @media (max-width: 900px) { .see-btn { display: inline-flex; } .try-form .acts { gap: 10px 14px; } }
  .try-stage { display: grid; justify-items: center; gap: 12px; }
  .try-stage .phone { height: min(700px, 150vw); width: auto; max-width: none; aspect-ratio: 9 / 18.6; }
  .try-stage .cap { font-size: 12px; color: var(--muted); }

  /* So sánh với thiệp giấy */
  .cmp { border-top: 1px solid var(--ink); }
  .cmp-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: start; }
  .cmp-row.head { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; padding: 16px 0; }
  .cmp-row b { font-weight: 500; }
  .cmp-row .paper { color: var(--muted); }
  @media (max-width: 640px) {
    .cmp-row.head { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 2; background: #fff; }
    .cmp-row { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
    .cmp-row > :first-child { grid-column: 1 / -1; }
    .cmp-row.head > :first-child { display: none; }
  }
  .cmp-foot { font-size: 11.5px; color: var(--muted); margin-top: 14px; }

  /* Đi cùng thiệp giấy */
  .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
  @media (max-width: 900px) { .pair { grid-template-columns: 1fr; } }
  .pair-art { position: relative; background: var(--tile); aspect-ratio: 4 / 5; overflow: hidden; }
  .paper-card { position: absolute; left: 12%; top: 13%; width: 52%; aspect-ratio: 3 / 4.2; background: #fdfbf7; box-shadow: 0 40px 60px -40px rgba(25, 17, 11, .45), 0 0 0 1px rgba(25, 17, 11, .06); transform: rotate(-4deg); display: grid; align-content: center; justify-items: center; text-align: center; gap: 6%; padding: 8%; }
  .paper-card::before { content: ""; position: absolute; inset: 5%; border: 1px solid rgba(25, 17, 11, .18); }
  .paper-card small { font-size: clamp(6px, .75vw, 9.5px); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
  .paper-card b { font-size: clamp(11px, 1.45vw, 19px); font-weight: 300; letter-spacing: .08em; line-height: 1.5; }
  .paper-card .qr { width: 26%; aspect-ratio: 1; }
  .pair-art .screen { position: absolute; right: 10%; bottom: 9%; width: 33%; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 14px; box-shadow: 0 40px 60px -30px rgba(25, 17, 11, .6); transform: rotate(3deg); }
  .pair-list { list-style: none; margin: 26px 0 0; padding: 0; }
  .pair-list li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
  .pair-list li:last-child { border-bottom: 1px solid var(--line); }
  .pair-list h3 { font-size: 15.5px; font-weight: 500; }
  .pair-list p { font-size: 14.5px; color: var(--muted); }

  /* Ưu đãi khách mời */
  .offer-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 15px; font-size: 12px; font-weight: 500; }
  .price-box s { color: var(--muted); font-size: .42em; margin-left: 12px; letter-spacing: 0; }

  /* Cẩm nang */
  .posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  @media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .posts { grid-template-columns: 1fr; gap: 36px; } }
  .post { display: grid; gap: 14px; align-content: start; color: var(--ink); text-decoration: none; }
  .post .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
  .post .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
  .post:hover .ph img { transform: scale(1.04); }
  .post small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
  .post h3 { font-size: 16px; font-weight: 400; line-height: 1.45; }
  .post p { font-size: 14.5px; color: var(--muted); }

/* ================= Chuyển động ================= */
/* Màn mở đầu: chữ hiện từng chữ, rồi màn trắng kéo lên */
.intro { position: fixed; inset: 0; z-index: 200; background: #fff; display: grid; place-items: center; animation: introOut .7s cubic-bezier(.76, 0, .24, 1) .8s forwards; }
.intro b { font-size: clamp(26px, 5vw, 54px); font-weight: 400; letter-spacing: .42em; margin-right: -.42em; color: var(--ink); }
.intro b span { display: inline-block; opacity: 0; transform: translateY(14px); animation: introL .7s var(--ease) forwards; animation-delay: calc(var(--i) * .045s + .05s); }
.intro i { position: absolute; left: 50%; bottom: 38%; width: 0; height: 1px; background: var(--ink); transform: translateX(-50%); animation: introLine .6s var(--ease) .3s forwards; }
@keyframes introL { to { opacity: 1; transform: none; } }
@keyframes introLine { to { width: min(220px, 40vw); } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); } }

/* Tiêu đề tách chữ */
.js [data-split][data-rv] { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * .05s + var(--d, 0s) * .6); }
.js [data-split].in .w > span { transform: none; }

/* Ảnh mở như kéo rèm */
.js [data-rv="img"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.76, 0, .24, 1); transition-delay: var(--d, 0s); }
.js [data-rv="img"].in { clip-path: inset(0 0 0 0); }
.js [data-rv="img"] img { transform: scale(1.18); transition: transform 2.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rv="img"].in img { transform: none; }

/* Thanh tiến độ cuộn */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 40; background: var(--ink); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.landing .topbar:not(.scrolled) ~ .progress { background: #fff; }
[data-tilt] { transition: transform .5s var(--ease); will-change: transform; }

/* Dải chữ chạy */
.marq { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 3vw, 34px); background: #fff; }
.marq-track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marq-track span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(34px, 6vw, 84px); font-weight: 500; white-space: nowrap; padding-right: .6em; line-height: 1.15; letter-spacing: -.005em; }
.marq-track span.o { font-style: italic; color: #8a8178; }
.marq-track span i { font-style: normal; font-family: Montserrat, sans-serif; color: var(--ink); display: inline-block; transform: translateY(-.16em); padding-left: .6em; font-size: .36em; }
.marq:hover .marq-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Nút: chữ trượt khi rê chuột */
.btn .roll { display: inline-grid; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.btn .roll > span { grid-area: 1 / 1; transition: transform .5s var(--ease); }
.btn .roll > span + span { transform: translateY(105%); }
.btn:hover .roll > span:first-child { transform: translateY(-105%); }
.btn:hover .roll > span + span { transform: none; }

/* ================= Mỗi dịp vui, một lời mời (trang chủ) ================= */
.dips { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .dips { grid-template-columns: 1fr; } }
.dip { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: clamp(520px, 62vw, 760px); overflow: hidden; color: var(--ink); text-decoration: none; background: var(--tile); isolation: isolate; }
.dip.red { background: radial-gradient(circle at 50% 30%, #b71f24, #6d0d10 75%); color: #fff3d9; }
.dip canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.fan { position: relative; height: 100%; min-height: 360px; }
.fan img { position: absolute; left: 50%; top: 52%; width: clamp(120px, 15vw, 200px); aspect-ratio: 390 / 844; object-fit: cover; border-radius: 16px; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .55); transition: transform 1s var(--ease); }
.fan img:nth-child(1) { transform: translate(-125%, -50%) rotate(-9deg); }
.fan img:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.fan img:nth-child(3) { transform: translate(25%, -50%) rotate(9deg); }
.dip:hover .fan img:nth-child(1) { transform: translate(-150%, -52%) rotate(-14deg); }
.dip:hover .fan img:nth-child(2) { transform: translate(-50%, -60%) scale(1.04); }
.dip:hover .fan img:nth-child(3) { transform: translate(50%, -52%) rotate(14deg); }
.anim-float { animation: floaty 7s ease-in-out infinite alternate; }
@keyframes floaty { from { translate: 0 -6px; } to { translate: 0 8px; } }
.dip-copy { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 10px; justify-items: start; }
.dip-copy .eyebrow { color: inherit; opacity: .8; }
.dip-copy h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; line-height: 1.2; }
.dip-copy p { font-size: 15px; opacity: .8; max-width: 420px; }
.dip-copy .link { color: inherit; margin-top: 6px; }

/* ================= Trang Thiệp sự kiện, Thiệp chúc mừng ================= */
.dp-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding-block: 110px 60px; isolation: isolate; }
.dp-hero.red { background: radial-gradient(circle at 70% 40%, #b71f24 0, #7d0f12 45%, #3d0507 100%); color: #fff3d9; }
.dp-hero.ivory { background: radial-gradient(circle at 70% 40%, #ffffff 0, #f4f0ea 55%, #e9e2d8 100%); color: var(--ink); }
.dp-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.dp-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .dp-hero-in { grid-template-columns: 1fr; } .dp-hero { padding-top: 96px; } }
.dp-copy { display: grid; gap: 20px; justify-items: start; }
.dp-copy .eyebrow { color: inherit; opacity: .85; }
.dp-copy h1 { font-size: clamp(38px, 6.2vw, 92px); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; }
.dp-copy h1 em { font-style: normal; font-weight: 400; }
.red .dp-copy h1 em { background: linear-gradient(100deg, #d99a1e, #ffe27a 35%, #fff6cf 50%, #ffd23f 65%, #d99a1e); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite alternate; }
@keyframes shine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.dp-copy .lead { color: inherit; opacity: .78; font-size: clamp(15px, 1.3vw, 17px); max-width: 520px; }
.dp-copy .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.dp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dp-tags a { color: inherit; text-decoration: none; font-size: 13.5px; border: 1px solid currentColor; border-radius: 999px; padding: 6px 14px; opacity: .75; transition: opacity .3s, background .3s; }
.dp-tags a:hover { opacity: 1; }
.dp-stage { position: relative; height: clamp(440px, 52vw, 680px); }
.dp-stage .fan { height: 100%; }
.dp-stage .fan img { width: clamp(150px, 17vw, 240px); }
.dp-stage .fan img:nth-child(1) { transform: translate(-130%, -46%) rotate(-10deg); }
.dp-stage .fan img:nth-child(3) { transform: translate(30%, -46%) rotate(10deg); }
.dp-stage:hover .fan img:nth-child(1) { transform: translate(-150%, -48%) rotate(-14deg); }
.dp-stage:hover .fan img:nth-child(3) { transform: translate(50%, -48%) rotate(14deg); }
.dp-stage:hover .fan img:nth-child(2) { transform: translate(-50%, -56%) scale(1.03); }
@media (max-width: 900px) { .dp-stage { height: 120vw; max-height: 560px; } .dp-stage .fan img { width: 38vw; } }
.dp-hero .scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 1px; height: 54px; background: currentColor; opacity: .35; overflow: hidden; }
.dp-hero .scroll-hint::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: currentColor; animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { to { top: 100%; } }
.biz { background: var(--ink); color: #fff; }
.biz .eyebrow, .biz .h2 { color: #fff; }
.biz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
@media (max-width: 900px) { .biz-grid { grid-template-columns: 1fr; } }
.biz .lead { color: rgba(255, 255, 255, .72); }
.biz-list { list-style: none; margin: 24px 0 0; padding: 0; }
.biz-list li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 4px; }
.biz-list h3 { font-size: 15.5px; font-weight: 500; }
.biz-list p { font-size: 14.5px; color: rgba(255, 255, 255, .66); }
.biz-price { font-size: clamp(40px, 5vw, 64px); font-weight: 300; line-height: 1; margin-top: 8px; }
.biz-price small { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-top: 10px; }
.biz-art { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, #2c2219, #120c08 70%); display: grid; place-items: center; overflow: hidden; }
.biz-art .stack { position: relative; width: 44%; aspect-ratio: 390 / 844; }
.biz-art .stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); }
.biz-art .stack img:nth-child(1) { transform: translate(-34%, 6%) rotate(-8deg); opacity: .8; }
.biz-art .stack img:nth-child(2) { transform: translate(34%, 6%) rotate(8deg); opacity: .8; }
.biz-art .names { position: absolute; left: 0; right: 0; bottom: 8%; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 0 16px; }
.biz-art .names span { font-size: 11.5px; border: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .85); border-radius: 999px; padding: 5px 12px; background: rgba(0, 0, 0, .3); }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }
.feat { border-top: 1px solid var(--line); padding: 22px 0 30px; display: grid; gap: 8px; align-content: start; }
.feat b { font-size: 11px; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.feat h3 { font-size: 15px; font-weight: 500; }
.feat p { font-size: 14.5px; color: var(--muted); }
.final.red-final { background: radial-gradient(circle at 50% 40%, #b71f24, #4a0709 80%); }
.final.red-final::after { display: none; }
.final canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.band img[data-par], .final img[data-par] { inset: -12% 0; height: 124%; }
.statement .sig { gap: clamp(20px, 4vw, 56px); }
/* Chấm màu cho từng dịp trong ô chọn */
.chip i { background: var(--tile-2); }
.chip .dot-tet, .chip .dot-mung-tho, .chip .dot-khai-truong { background: #a3191d; box-shadow: inset 0 0 0 4px #a3191d, inset 0 0 0 5px #ffd23f; }
.chip .dot-giang-sinh { background: #11342a; box-shadow: inset 0 0 0 4px #11342a, inset 0 0 0 5px #e8c77a; }
.chip .dot-sinh-nhat, .chip .dot-tat-nien { background: #13110e; box-shadow: inset 0 0 0 4px #13110e, inset 0 0 0 5px #d6b46e; }
.chip .dot-phu-nu-8-3, .chip .dot-phu-nu-20-10, .chip .dot-valentine, .chip .dot-thoi-noi { background: #e9c4cb; }
.chip .dot-nha-giao, .chip .dot-khac, .chip .dot-day-thang, .chip .dot-tan-gia { background: #9dbca5; }
.dip-page .try .chips { gap: 6px; }
.nav-l[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
/* Trang nền sáng: chữ đầu trang màu mực ngay từ đầu */
.dip-page.ivory .topbar { color: var(--ink); }
.dip-page.ivory .topbar:not(.scrolled) ~ .progress { background: var(--ink); }
/* Cam kết dưới bảng giá */
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }
.trust li { background: var(--tile); padding: 14px 16px; display: grid; gap: 2px; }
.trust b { font-size: 15px; font-weight: 500; }
.trust span { font-size: 13.5px; color: var(--muted); }
.posts.why .ph { aspect-ratio: 4 / 3; }
/* Màn hình vừa: bớt một liên kết để chữ không chạm logo */
@media (max-width: 1180px) { .mh-side.r .nav-l[href="/cam-nang"] { display: none; } }
.dp-hero > .wrap { width: 100%; }

/* Chuyển trang và nút hút theo chuột */
.veil { position: fixed; inset: 0; z-index: 300; background: #fff; opacity: 0; pointer-events: none; transition: opacity .28s var(--ease); }
.veil.on { opacity: 1; pointer-events: auto; }
.btn.magnet { transition: background .3s, color .3s, border-color .3s, transform .45s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
/* Ảnh sản phẩm: ánh sáng lướt qua khi rê chuột */
.prod-img::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1.1s var(--ease); }
@media (hover: hover) { .prod-img:hover::after { transform: translateX(120%); } }
/* Đường gạch chân tiêu đề mục vẽ dần khi hiện */
.sec-head .h2 { position: relative; }
.sec-head .h2::after { content: ""; display: block; width: 44px; height: 1px; background: currentColor; margin-top: 14px; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .3s; }
.sec-head .h2.in::after, .no-js .sec-head .h2::after { transform: scaleX(1); }

/* Thanh trên cùng trên điện thoại: chữ nút không bị xuống dòng, thu gọn khoảng cách cho vừa màn hình hẹp */
.mh-side .nav-l { white-space: nowrap; }
@media (max-width: 420px) {
  .mh-side { gap: 2px; }
  .mh-side .nav-l { padding: 10px 6px; font-size: 13px; letter-spacing: .01em; }
  .mh-side .lang-sw { margin-left: 2px; padding: 4px 8px !important; }
  .landing .topbar .logo .wm b { letter-spacing: .3em; margin-right: -.3em; }
}
@media (max-width: 360px) {
  .landing .topbar .wrap { gap: 6px; }
  .landing .topbar .logo .wm b { font-size: 14px; letter-spacing: .2em; margin-right: -.2em; }
  .mh-side .nav-l { padding: 10px 4px; font-size: 12px; }
  .mh-side .lang-sw { font-size: 10.5px !important; padding: 3px 7px !important; letter-spacing: .08em !important; }
}
