/* Egypt Awakening v4: nhịp "1 động – 1 tĩnh", chữ kiểu tạp chí (Kinfolk / ARKET).
   Bảng màu "Bụi đường" bản sáng (duyệt 27/10/2026). 3 cỡ hình: tràn màn · cửa sổ ~70% · thẻ ~22%. */
:root {
  --cat: #F3DFB4;        /* cát sáng */
  --kem: #FBF4E4;        /* kem nắng */
  --nang: #FFD777;       /* ánh mặt trời */
  --vang: #F2B53A;       /* vàng nắng, nút */
  --son: #C47F3C;        /* đất son */
  --nau: #9A5B2E;        /* nền studio của thầy */
  --than: #2E2419;       /* nâu than, chữ */
  --than-60: rgba(46, 36, 25, .62);
  --title: "Noto Serif Display", "Times New Roman", serif;
  --serif: "Newsreader", Georgia, serif;
  --label: "Montserrat", system-ui, sans-serif;
  --gutter: clamp(18px, 6vw, 110px);
  --topbar-h: 60px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
main { overflow-x: clip; } /* ảnh đang phóng/nghiêng không đẩy trang tràn ngang (clip không phá sticky) */
body { margin: 0; background: var(--kem); color: var(--than); font: 400 19px/1.6 var(--serif); overflow-x: hidden; }
img, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

/* ---------- chữ ---------- */
.log { font: 600 12px/1.6 var(--label); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 1.5em; color: #A8642C; }
/* đề mục mở đầu mỗi phần: chữ lớn hơn để người xem thấy rõ chỗ chuyển phần (không dùng gạch trang trí) */
.eyebrow { font: 600 clamp(13px, 1.05vw, 15px)/1.5 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--nau); margin: 0 0 1.6em; }
.guide .eyebrow { color: var(--nang); }
/* dấu mặt trời có cánh trên đề mục (thay cho gạch trang trí) */
.eyebrow::before { content: ""; display: block; width: 70px; height: 14px; margin: 0 0 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cg fill='%23C47F3C'%3E%3Ccircle cx='50' cy='10' r='6.5'/%3E%3Cpath d='M43 7 L4 3 L9 7 L3 8 L10 11 L5 13 L43 14 Z'/%3E%3Cpath d='M57 7 L96 3 L91 7 L97 8 L90 11 L95 13 L57 14 Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.guide .eyebrow::before { filter: brightness(1.5) saturate(1.2); }
/* kim tự tháp nhỏ viền vàng đứng trước số chặng */
.chap__no::before { content: ""; flex: none; align-self: baseline; width: 24px; height: 20px; margin-bottom: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 22'%3E%3Cpath d='M13 1.5 L25 20.5 H1 Z' fill='none' stroke='%23C47F3C' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M13 1.5 L15.5 20.5' fill='none' stroke='%23C47F3C' stroke-width='.9'/%3E%3C/svg%3E") center / contain no-repeat; }
/* nhãn chặng: chữ «Chặng» + số, dòng ngày/địa danh bên dưới */
.chap { display: flex; flex-direction: column; gap: 10px; margin: 0 0 1.3em; }
.chap__no { display: flex; align-items: baseline; gap: 12px; }
.chap__no span { font: 600 clamp(12px, .95vw, 14px)/1 var(--label); letter-spacing: .32em; text-transform: uppercase; color: var(--nau); }
.chap__no b { font: 400 clamp(36px, 3.4vw, 54px)/.9 var(--title); color: var(--son); letter-spacing: 0; }
.chap__meta { font: 500 clamp(12px, .95vw, 14px)/1.6 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--than-60); }
.head .chap, .full__text .chap { align-items: center; text-align: center; }
.full__text .chap__no span, .full__text .chap__meta { color: var(--kem); text-shadow: 0 1px 12px rgba(46, 36, 25, .7); }
.full__text .chap__no b { color: var(--nang); text-shadow: 0 2px 30px rgba(46, 36, 25, .55); }
.mega, .h-title { font-family: var(--title); font-weight: 400; text-transform: uppercase; }
.mega { font-size: clamp(36px, 5.4vw, 86px); line-height: 1.18; letter-spacing: .12em; max-width: 14em; margin: 0 auto .45em; }
.h-title { font-size: clamp(32px, 4.2vw, 66px); line-height: 1.2; letter-spacing: .1em; margin-bottom: .55em; max-width: 15em; }
.line { font: 400 clamp(19px, 1.6vw, 23px)/1.5 var(--serif); max-width: 28em; }

/* ---------- nút ---------- */
.btn {
  display: inline-block; padding: 17px 34px; background: var(--vang); color: var(--than);
  font: 600 13px/1 var(--label); letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(242, 181, 58, .9); transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { background: var(--nang); box-shadow: 0 0 34px rgba(255, 215, 119, .9); }
.btn:focus-visible { outline: 2px solid var(--than); outline-offset: 4px; }
.btn--small { padding: 11px 18px; font-size: 11px; }
.btn--big { padding: 22px 46px; font-size: 14px; margin: 10px 0 30px; }
/* nút phụ: chữ gạch chân + mũi tên (xem chi phí, hỏi thêm) */
.go { display: inline-flex; align-items: center; gap: .7em; padding: 6px 0; font: 600 12px/1.4 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--than); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.go::after { font: 400 15px/1 system-ui, sans-serif; letter-spacing: 0; transition: transform .5s var(--ease); }
.go--down::after { content: "↓"; }
.go--right::after { content: "→"; }
.go:hover { color: var(--son); }
.go--down:hover::after { transform: translateY(3px); }
.go--right:hover::after { transform: translateX(4px); }
.go:focus-visible { outline: 2px solid var(--than); outline-offset: 4px; }

/* dải ưu đãi giữa trang */
.offer { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 56px; padding: clamp(40px, 5vw, 64px) var(--gutter); background: var(--than); color: var(--kem); text-align: left; }
.offer .log { margin: 0 0 .7em; color: var(--nang); }
.offer__price { margin: 0; font: 400 clamp(34px, 3.6vw, 50px)/1 var(--title); letter-spacing: .04em; }
.offer__price small { font: 500 12px/1 var(--label); letter-spacing: .1em; color: var(--cat); }
.offer > .log, .offer > .offer__price { flex: 0 0 auto; }
.offer > .log { flex-basis: 100%; text-align: center; margin: 0 0 -4px; }
@media (max-width: 640px) { .offer { flex-direction: column; text-align: center; gap: 18px; } .offer > .log { margin: 0; } }

/* thanh đăng ký dính đáy màn, chỉ điện thoại */
.dock { display: none; }
@media (max-width: 899px) {
  .dock { display: flex; position: fixed; z-index: 34; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(46, 36, 25, .94); color: var(--kem); transform: translateY(110%); transition: transform .5s var(--ease); }
  .dock.is-on { transform: none; }
  .dock__price { margin: 0; display: flex; flex-direction: column; gap: 3px; }
  .dock__price b { font: 400 20px/1 var(--title); letter-spacing: .03em; }
  .dock__price span { font: 500 9.5px/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--nang); }
}

/* ---------- thanh trên + lộ trình ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); pointer-events: none; }
.topbar > * { pointer-events: auto; }
/* logo Diviners: mandala vàng + chữ tím; trên phần nền tối đổi sang chữ trắng (lớp .on-dark do JS bật) */
/* hình học copy từ diviners.in: ảnh mandala và ảnh chữ cùng khung 600×400 chồng lên nhau; sau khi cắt sát chữ thì mandala rộng 45% bề ngang chữ, tâm cách mép trái chữ 44,7% và cách mép trên chữ 17% chiều cao; nằm SAU chữ, xoay đều 30 giây một vòng */
.logo { position: relative; display: inline-block; line-height: 0; }
.logo img { display: block; max-width: none; }
.logo__chu { position: relative; z-index: 1; width: 100%; height: auto; }
.logo__chu--trang { position: absolute; left: 0; top: 0; opacity: 0; }
.logo__mandala { position: absolute; z-index: 0; left: 22.1%; top: -31.5%; width: 45.2%; height: auto; pointer-events: none; animation: logo-xoay 30s linear infinite; }
@keyframes logo-xoay { to { transform: rotate(360deg); } }
.topbar__logo { display: block; align-self: flex-start; padding-top: 14px; text-decoration: none; }
.topbar__logo .logo { width: 82px; }
.topbar__logo .logo__mandala { filter: saturate(1.25) brightness(.9); }
.topbar__logo .logo__chu { transition: opacity .4s; }
.topbar.on-dark .logo__chu { opacity: 0; }
.topbar.on-dark .logo__chu--trang { opacity: 1; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .45)); }
@media (max-width: 640px) { .topbar__logo { padding-top: 12px; } .topbar__logo .logo { width: 68px; } }
.topbar__nav { display: flex; align-items: center; gap: 20px; }
.topbar__lang { font: 500 11px/1 var(--label); letter-spacing: .24em; text-decoration: none; }

.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30; }
.rail ol { list-style: none; margin: 0; padding: 0; position: relative; }
.rail ol::before { content: ""; position: absolute; right: 4px; top: 6px; bottom: 6px; border-right: 1px dashed rgba(46, 36, 25, .35); }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 7px 0; text-decoration: none; font: 500 9.5px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: transparent; transition: color .4s; }
.rail a::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--kem); border: 1px solid var(--than-60); flex: none; transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.rail a:hover, .rail li.is-active a { color: var(--than); }
.rail li.is-passed a::after { background: var(--son); border-color: var(--son); }
.rail li.is-active a::after { background: var(--nang); border-color: var(--vang); box-shadow: 0 0 0 4px rgba(255, 215, 119, .45), 0 0 18px var(--nang); transform: scale(1.25); }
.rail.on-dark a:hover, .rail.on-dark li.is-active a { color: var(--kem); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

/* ---------- 1. Màn mở đầu (chạy theo cuộn) ---------- */
.hero { position: relative; height: 900vh; background: #E9D2A4; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__frames { position: absolute; inset: 0; width: 100%; height: 100%; }
/* làn bụi mờ lớn trôi rất chậm + lớp hạt phim tĩnh (thay cho hạt cát vẽ bằng code) */
.hero__drift { position: absolute; inset: -10% -35%; pointer-events: none; opacity: var(--drift, 1); filter: blur(14px);
  background:
    radial-gradient(38% 26% at 28% 62%, rgba(236, 214, 170, .55), rgba(236, 214, 170, 0) 70%),
    radial-gradient(34% 22% at 68% 78%, rgba(243, 223, 180, .5), rgba(243, 223, 180, 0) 70%),
    radial-gradient(30% 18% at 52% 30%, rgba(251, 244, 228, .35), rgba(251, 244, 228, 0) 70%);
  animation: drift 46s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-9%, 1%, 0); } to { transform: translate3d(9%, -2%, 0); } }
/* bụi cát + gió cát: vân nhiễu SVG lát kín, trôi ngang theo gió với tốc độ khác nhau; dày lúc đầu, tan dần khi cuộn (--dust) */
.hero__smoke, .hero__gust, .hero__sand { position: absolute; left: 0; pointer-events: none; background-repeat: repeat; will-change: transform; }
.hero__smoke { top: -8%; bottom: -8%; width: calc(100% + var(--tile)); }
.hero__smoke--a { --tile: 1200px; opacity: calc(var(--dust, 1) * .95); animation: wind 70s linear infinite;
  background-size: 1200px 800px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0021 .0038' numOctaves='4' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .9 0 0 0 0 .82 0 0 0 0 .68 2.4 0 0 0 -.82'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
.hero__smoke--b { --tile: 1800px; opacity: calc(var(--dust, 1) * .8); animation: wind 44s linear infinite, sway 19s ease-in-out infinite alternate;
  background-size: 1800px 1100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='734'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.003 .006' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .97 0 0 0 0 .92 0 0 0 0 .82 2.6 0 0 0 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
/* luồng gió: vệt dài nằm ngang sát mặt đất, thổi nhanh và mạnh lên từng cơn */
.hero__gust { --tile: 1600px; top: 30%; bottom: -6%; width: calc(100% + 1600px); background-size: 1600px 600px; animation: wind 15s linear infinite, gust 7s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%); mask-image: linear-gradient(to bottom, transparent, #000 45%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='600'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0013 .028' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .98 0 0 0 0 .93 0 0 0 0 .82 3.2 0 0 0 -1.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
/* hạt cát li ti bị gió cuốn (hạt kéo dài theo chiều gió như bị nhoè chuyển động) */
.hero__sand { --tile: 500px; top: 0; bottom: 0; width: calc(100% + 500px); background-size: 500px 500px; animation: wind 3.2s linear infinite;
  opacity: calc(var(--dust, 1) * .55); mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, transparent 10%, #000 70%); mask-image: linear-gradient(to bottom, transparent 10%, #000 70%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.09 .7' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .42 0 0 0 0 .26 9 0 0 0 -5.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }
@keyframes wind { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--tile) * -1), 0, 0); } }
@keyframes sway { from { translate: 0 -2%; } to { translate: 0 2%; } }
@keyframes gust { 0%, 100% { opacity: calc(var(--dust, 1) * .35); } 50% { opacity: calc(var(--dust, 1) * .95); } }
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .12 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__haze { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 50% 40%, rgba(251, 244, 228, .6), rgba(240, 220, 180, .92) 70%); opacity: var(--haze, 1); }
.hero__sun { position: absolute; left: 50%; top: 6%; width: 74vmin; height: 74vmin; pointer-events: none; transform: translate(-50%, -36%) scale(var(--sun-s, .6)); border-radius: 50%; background: radial-gradient(circle, rgba(255, 246, 214, .95) 0, rgba(255, 215, 119, .55) 30%, rgba(255, 215, 119, 0) 68%); mix-blend-mode: screen; opacity: var(--sun-o, .4); }
.beat { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--topbar-h) + 24px) calc(var(--gutter) + 30px) clamp(48px, 10vh, 110px); opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1.4s var(--ease); pointer-events: none; }
.beat.is-on { opacity: 1; transform: none; }
.beat--center { justify-content: center; }
.beat--hero { justify-content: flex-end; }
.beat--hero .log { color: var(--than); }
.beat--hero .mega { text-shadow: 0 0 34px rgba(251, 244, 228, .9); }
.beat--hero .line { text-shadow: 0 0 18px rgba(251, 244, 228, .95); margin: 0 auto; }
.beat--hero::before { content: ""; position: absolute; left: 50%; bottom: -12vh; width: 110vw; height: 80vh; z-index: -1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(251, 244, 228, .8), rgba(251, 244, 228, 0)); }
.hint { text-wrap: balance; font: 600 clamp(12px, 1.05vw, 15px)/1.4 var(--label); letter-spacing: .32em; text-transform: uppercase; margin: 0; color: var(--than); text-shadow: 0 0 14px rgba(251, 244, 228, 1); }
/* chấm sáng nhún xuống gợi ý cuộn */
.hint::after { content: ""; display: block; width: 9px; height: 9px; margin: 22px auto 0; border-radius: 50%; background: var(--nang); box-shadow: 0 0 10px 3px rgba(255, 215, 119, .85); animation: hint 2.2s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(20px); opacity: .35; } }
.say { font: 500 clamp(30px, 4.4vw, 66px)/1.24 var(--title); text-transform: uppercase; letter-spacing: .09em; max-width: 16em; color: #241B12; text-shadow: 0 0 30px rgba(251, 244, 228, 1), 0 0 10px rgba(251, 244, 228, .9), 0 0 2px rgba(251, 244, 228, .9); }
/* quầng sáng kem sau câu cho nổi trên nền cát */
.beat--say::before, .beat--intro::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1300px, 120vw); height: 70vh; z-index: -1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(251, 244, 228, .78), rgba(251, 244, 228, 0)); }
/* tên chuyến đi + thời gian: ngang tầm với câu chính */
.tag { font: 500 clamp(32px, 4.8vw, 76px)/1.1 var(--title); text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .5em; color: #241B12; text-shadow: 0 0 30px rgba(251, 244, 228, 1), 0 0 8px rgba(251, 244, 228, .9); }
.tag--sm { font-size: clamp(22px, 2.5vw, 38px); font-weight: 500; letter-spacing: .26em; margin-bottom: .55em; color: #241B12; }
.when { margin: 0 auto; font: 600 clamp(13px, 1.25vw, 18px)/1.5 var(--label); letter-spacing: .24em; text-transform: uppercase; color: var(--than); text-shadow: 0 0 14px rgba(251, 244, 228, 1); }
.beat--hero .when { margin: -.2em auto 1.1em; }
@media (max-width: 640px) { .when { letter-spacing: .16em; } .tag { letter-spacing: .08em; } }
/* vế sau đổi tại chỗ: hai vế chồng trong cùng một ô, vế cũ mờ + trôi lên, vế mới hiện ra */
.say { text-wrap: balance; }
@media (min-width: 900px) { .say { max-width: none; font-size: clamp(28px, 3.5vw, 56px); } }
.say__swap { display: grid; margin-top: .15em; font: italic 400 1.02em/1.25 var(--serif); text-transform: none; letter-spacing: .01em; }
.say__a, .say__b { grid-area: 1 / 1; }
/* câu chữ màn mở đầu hiện dần theo cuộn (JS đặt độ rõ theo vị trí cuộn) */
.hero [data-in] { will-change: opacity, transform, filter; }
.hero span[data-in] { display: inline-block; }

/* ---------- khoảng thở chung ---------- */
.calm { position: relative; padding: clamp(72px, 8vw, 120px) var(--gutter); background: var(--kem); }
.calm.trio, .calm.cards { background: var(--cat); padding-top: clamp(72px, 9vw, 130px); }

/* 2. Lời mời */
.invite { display: grid; gap: clamp(48px, 7vw, 120px); align-items: center; }
.invite__photos { position: relative; min-height: 520px; }
.ph img { width: 100%; height: auto; box-shadow: 0 30px 60px -28px rgba(46, 36, 25, .55); }
.ph figcaption, .cap, .moment figcaption { margin-top: 12px; font: italic 400 clamp(15px, 1.15vw, 18px)/1.35 var(--serif); color: var(--than); }
.ph--tall { width: 62%; }
.ph--small { position: absolute; right: 0; bottom: -40px; width: 40%; border: 8px solid var(--kem); }
@media (min-width: 900px) { .invite { grid-template-columns: 6fr 5fr; } }

/* 3. Người dẫn đường */
.guide { position: relative; background: radial-gradient(circle at 24% 38%, rgba(255, 215, 119, .26), rgba(255, 215, 119, 0) 30%), var(--nau); color: var(--kem); display: grid; align-items: center; gap: clamp(36px, 6vw, 100px); padding: clamp(96px, 12vw, 170px) var(--gutter) 0; }
.guide__portrait { justify-self: center; width: min(100%, 420px); overflow: hidden; }
.guide__portrait img { width: 100%; height: auto; }
.guide .log { color: var(--nang); }
@media (min-width: 900px) { .guide { grid-template-columns: 5fr 6fr; } }

/* 3 câu mở chữ tại chỗ, xếp so le */
.voices { margin-top: clamp(30px, 3vw, 46px); border-top: 1px solid rgba(251, 244, 228, .22); }
.voice { border-bottom: 1px solid rgba(251, 244, 228, .22); }
@media (min-width: 900px) { .voice:nth-child(2) { margin-left: 8%; } .voice:nth-child(3) { margin-left: 16%; } }
.voice__q { display: flex; align-items: baseline; gap: 18px; width: 100%; padding: 22px 52px 22px 0; border: 0; background: none; cursor: pointer; text-align: left; position: relative; font: italic 400 clamp(22px, 2.2vw, 32px)/1.25 var(--serif); color: var(--kem); transition: color .4s; }
.voice__n { font: 500 10px/1 var(--label); font-style: normal; letter-spacing: .24em; color: var(--nang); flex: none; transform: translateY(-.35em); }
/* dấu + phát sáng nhỏ ở cuối dòng, xoay thành × khi mở */
.voice__q::after { content: "+"; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border-radius: 50%; font: 400 22px/1 var(--serif); font-style: normal; color: var(--than); background: radial-gradient(circle at 40% 35%, #FFF8DC 0, var(--nang) 45%, var(--vang) 100%); box-shadow: 0 0 10px 2px rgba(255, 215, 119, .8), 0 0 26px 8px rgba(255, 200, 90, .4); animation: glow 2.6s ease-in-out infinite; transition: transform .6s var(--ease); }
.voice__q:hover, .voice__q:focus-visible { color: var(--nang); outline: none; }
.voice.is-open .voice__q::after { transform: rotate(135deg); }
.voice__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease); }
.voice__a > div { overflow: hidden; }
.voice.is-open .voice__a { grid-template-rows: 1fr; }
.voice__a p, .voice__a dl { font-size: 17.5px; line-height: 1.65; color: rgba(251, 244, 228, .86); max-width: 34em; }
.voice__a > div > :first-child { margin-top: 4px; }
.voice__a > div > :last-child { margin-bottom: 28px; }
.voice__lead { font: italic 400 21px/1.45 var(--serif) !important; color: var(--nang) !important; }
.pairs { margin: 0 0 1em; }
/* khối chia trang (Khám phá Ai Cập theo cách của Diviners): các trang chồng cùng một ô, đổi bằng mũi tên nhỏ */
.flip__page { display: none; }
.flip__page.is-on { display: block; animation: flip-in .8s var(--ease); }
.flip__page.is-on.from-left { animation-name: flip-in-l; }
@keyframes flip-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes flip-in-l { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
.flip__page > :last-child { margin-bottom: 0; }
.flip__nav { display: flex; align-items: center; gap: 14px; margin: 18px 0 4px; }
.flip__btn { position: relative; width: 38px; height: 38px; border: 1px solid rgba(251, 244, 228, .45); border-radius: 50%; background: none; cursor: pointer; transition: background .3s, border-color .3s; }
.flip__btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: solid var(--kem); border-width: 0 0 1.5px 1.5px; transform: translate(-30%, -50%) rotate(45deg); }
.flip__btn--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.flip__btn:hover, .flip__btn:focus-visible { background: rgba(255, 215, 119, .18); border-color: var(--nang); outline: none; }
.flip__btn[disabled] { opacity: .3; cursor: default; background: none; border-color: rgba(251, 244, 228, .45); }
.flip__count { font: 500 11px/1 var(--label); letter-spacing: .2em; color: rgba(251, 244, 228, .7); }
.flip__count b { font-weight: 600; color: var(--nang); }
.pairs dt { font: 600 11px/1.4 var(--label); letter-spacing: .18em; text-transform: uppercase; margin-top: 1.3em; color: var(--nang); }
.pairs dd { margin: .35em 0 0; }
.pairs--row { display: grid; grid-template-columns: max-content 1fr; gap: 14px 28px; }
.pairs--row dt { margin: .2em 0 0; }
.pairs--row dd { margin: 0; }

/* dải ảnh thật của thầy: tự trôi (JS), so le, ảnh dọc trong vòm */
.strip { grid-column: 1 / -1; list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 40px var(--gutter) clamp(48px, 5vw, 80px); display: flex; align-items: flex-start; gap: clamp(22px, 2.4vw, 40px); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: none; }
.strip img { height: clamp(180px, 16vw, 240px); width: auto; max-width: none; }
.strip__tall img { height: clamp(300px, 27vw, 400px); }
.strip__low { margin-top: clamp(60px, 7vw, 110px); }
.strip__lower { margin-top: clamp(24px, 3vw, 50px); }
.strip span { display: block; margin-top: 12px; font: italic 400 16px/1.4 var(--serif); color: var(--cat); }

/* ---------- cửa sổ video ~70% ---------- */
.chapter-window { text-align: center; }
.head { margin: 0 auto clamp(48px, 6vw, 80px); display: flex; flex-direction: column; align-items: center; }
.head .line { margin: 0 auto; }
.window { position: relative; width: min(100%, 72vw); margin: 0 auto; aspect-ratio: 16 / 9; }
.window__video { width: 100%; height: 100%; object-fit: cover; background: var(--cat); transition: opacity 1.2s ease; }
/* nút (+) đặt ngay trên cửa sổ video */
.window .spot--on { position: absolute; z-index: 4; left: auto; right: clamp(14px, 2vw, 28px); top: clamp(14px, 2vw, 28px); }

.window.cong .spot--on { top: auto; right: auto; left: clamp(20px, 5%, 56px); bottom: clamp(16px, 2vw, 28px); }
/* bình minh: video trong đĩa mặt trời, có quầng sáng */
.window.window--sun { width: min(86vw, 72vh); aspect-ratio: 1; isolation: isolate; }
.window--sun::before { content: ""; position: absolute; inset: -16%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 215, 119, .6), rgba(255, 215, 119, 0) 66%); }
.window--sun .moment { right: -12%; bottom: 2%; }
.chapter-window--dawn { overflow: hidden; }
@media (max-width: 640px) { .window--sun::before { inset: -8%; } .window--sun .moment { right: -2%; } }
.window__video.is-fading, .full__video.is-fading { opacity: 0; }
.window .moment { right: -4%; bottom: -10%; }
.chapter-window .spots { justify-content: center; margin-top: clamp(56px, 6vw, 84px); }
/* chữ mở ngay dưới nút (Lễ khai mở) */
.unfold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease); }
.unfold.is-open { grid-template-rows: 1fr; }
.unfold__in { overflow: hidden; max-width: 40em; margin: 0 auto; text-align: center; opacity: 0; transform: translateY(-12px); transition: opacity .7s ease .15s, transform .9s var(--ease) .1s; }
.unfold.is-open .unfold__in { opacity: 1; transform: none; }
.unfold__in > :first-child { margin-top: 34px; }
.unfold__in h3 { font: italic 400 clamp(26px, 2.4vw, 36px)/1.25 var(--serif); margin: 0 0 .5em; }
.unfold__in .stay { font: 600 11px/1.5 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--son); }
.spot[aria-expanded=true]::before { transform: rotate(45deg); }
/* nút (+) đặt trên ảnh (Karnak) */
.karnak__photo { position: relative; }
.karnak__photo .spot--in { position: absolute; z-index: 3; left: 50%; top: 13%; transform: translateX(-50%); white-space: nowrap; }
.karnak__photo .spot--in:hover, .karnak__photo .spot--in:focus-visible { transform: translate(-50%, -2px); }
/* nút Đăng ký được gọi tới (sau khung Ngày cuối) */
.btn.is-called { animation: called 1.3s var(--ease) 2; }
@keyframes called { 0% { box-shadow: 0 0 0 0 rgba(255, 215, 119, .9); } 70% { box-shadow: 0 0 0 26px rgba(255, 215, 119, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 215, 119, 0); } }
@media (max-width: 899px) { .window { width: 100%; } }

/* ---------- ảnh/video tràn màn ---------- */
.full { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--kem); background: #D9BC8A; }
.full__media { position: absolute; inset: -8% 0; }
.full__media img, .full__media picture, .full__video { width: 100%; height: 100%; object-fit: cover; }
.full::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(46, 36, 25, .08) 0%, rgba(46, 36, 25, 0) 35%, rgba(46, 36, 25, .55) 100%); }
.full__text { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 10vh, 120px); padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; }
.full__text .log { color: var(--nang); text-shadow: 0 1px 10px rgba(46, 36, 25, .6); }
.full__text .h-title { text-shadow: 0 2px 30px rgba(46, 36, 25, .5); }
.full__text .line { text-shadow: 0 1px 12px rgba(46, 36, 25, .6); margin: 0 auto; }
.full__text .spots { justify-content: center; }

/* ---------- 3 ảnh so le (Giza) + 3 thẻ (White Desert) ---------- */
.trio { display: grid; gap: clamp(24px, 3vw, 48px); align-items: start; }
@media (min-width: 900px) {
  .trio { grid-template-columns: 5fr 4fr 3fr; }
  .trio__item--low { margin-top: 18vh; }
  .trio__item--small { margin-top: 6vh; }
}
.trio__item img, .card img { width: 100%; height: auto; }
.trio figcaption, .card figcaption { margin-top: 18px; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-tilt] img { transition: filter .6s var(--ease); }
[data-tilt]:hover img { filter: brightness(1.06) saturate(1.08); }

/* White Desert: dải thẻ trượt ngang khi cuộn (máy tính), xếp dọc (điện thoại) */
.cards__intro { margin-bottom: 40px; }
.cards__intro .line { font: 600 13px/1.5 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--nau); margin: 0; }
/* tiêu đề phụ: serif nghiêng cỡ lớn (thay cho nhãn chữ hoa nhỏ) */
.kicker { font: italic 400 clamp(30px, 3.2vw, 50px)/1.15 var(--serif); letter-spacing: -.005em; margin: 0 0 .45em; max-width: 16em; text-wrap: balance; }
.cards__track { display: grid; gap: 28px; position: relative; }
.moment--cards { position: absolute; right: 0; top: -40px; }
@media (min-width: 900px) {
  .cards[data-hscroll] { height: 100vh; height: 100svh; padding-top: calc(var(--topbar-h) + 4vh); padding-bottom: 6vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .cards__intro { position: absolute; left: var(--gutter); top: calc(var(--topbar-h) + 5vh); margin: 0; }
  .cards__track { display: flex; align-items: center; gap: clamp(32px, 4vw, 64px); width: max-content; padding: 0 30vw 0 34vw; will-change: transform; }
  .card { width: 30vw; flex: none; }
  .card--tall { width: 21vw; }
  .card--wide { width: 34vw; }
  .card:nth-child(2) { transform: translateY(6vh); }
  .card:nth-child(4) { transform: translateY(-5vh); }
  .cards__track .moment--cards { position: relative; top: auto; right: auto; flex: none; width: 13vw; align-self: flex-start; margin-top: 4vh; }
}
.detail__video { width: 100%; height: auto; margin: 0 0 1.4em; background: var(--cat); }
.chapter-window--dawn { background: linear-gradient(180deg, var(--kem) 0%, #FBE7B9 100%); }
.invite .h-title { font-size: clamp(26px, 2.9vw, 46px); line-height: 1.3; }

/* ---------- 7. Khoảng thở ---------- */
/* câu nằm giữa màn: phần cao đúng 1 màn hình, chữ canh giữa theo chiều dọc */
.breath { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(80px, 9vw, 130px) var(--gutter); text-align: center; background: radial-gradient(60% 50% at 50% 50%, rgba(255, 215, 119, .18), rgba(255, 215, 119, 0) 70%), var(--kem); }
/* nền ảnh thật mờ (tường khắc chữ tượng hình, phù điêu, giấy cói): hoà vào màu kem, rõ ở hai mép, nhạt dần sau chữ, mờ ở mép trên/dưới */
.photo-wall { position: absolute; z-index: -1; left: 0; right: 0; top: -30px; bottom: -30px; pointer-events: none; opacity: .24; mix-blend-mode: multiply;
  background: center / cover no-repeat; filter: sepia(.25) contrast(.92);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%), linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .42) 32%, rgba(0, 0, 0, .42) 68%, #000 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%), linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .42) 32%, rgba(0, 0, 0, .42) 68%, #000 100%); mask-composite: intersect; }
@media (max-width: 640px) { .photo-wall { opacity: .2; } }
/* bản thử nền ảnh thật (29/10): tạm ẩn nền vẽ (cột chữ tượng hình, biểu tượng chìm, bóng kim tự tháp ở Sẵn sàng?). Muốn dùng lại nền vẽ thì xoá dòng dưới */
[data-photo] .glyph-wall, .sign-mark, .ready::before { display: none; }
/* nền chữ tượng hình (cột khắc chìm hai mép) */
[data-glyphs] { position: relative; isolation: isolate; }
.glyph-wall { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; -webkit-user-select: none; user-select: none; }
.glyph-col { position: absolute; top: -8%; bottom: -8%; overflow: hidden; white-space: nowrap; writing-mode: vertical-rl; text-orientation: upright;
  font: 400 clamp(30px, 3vw, 46px)/1.2 "Noto Sans Egyptian Hieroglyphs", serif; letter-spacing: .3em; color: #A8723A; opacity: .4; }
.glyph-col--l { left: clamp(6px, 1.4vw, 26px); }
.glyph-col--r { right: clamp(6px, 1.4vw, 26px); }
.glyph-col--l.glyph-col--in { left: calc(clamp(6px, 1.4vw, 26px) + 1.6em); opacity: .22; }
.glyph-col--r.glyph-col--in { right: calc(clamp(6px, 1.4vw, 26px) + 1.6em); opacity: .22; }
@media (max-width: 640px) { .glyph-col { font-size: 22px; opacity: .26; } .glyph-col--in { display: none; } .glyph-col--l { left: 3px; } .glyph-col--r { right: 3px; } }
/* biểu tượng lớn khắc chìm sau tiêu đề (mắt Horus, ankh, bọ hung, mặt trời Ra) */
.guide__text, #chang-4 .pair__text, #chang-7 .head, .ready__text { position: relative; isolation: isolate; }
.sign-mark { position: absolute; z-index: -1; left: 50%; top: 50%; width: 1em; height: 1em; margin: -.55em 0 0 -.5em; text-align: center; pointer-events: none; -webkit-user-select: none; user-select: none;
  font: 400 clamp(260px, 30vw, 500px)/1 "Noto Sans Egyptian Hieroglyphs", serif; color: #B4874C; opacity: .24; }
.guide .sign-mark { color: var(--nang); opacity: .16; top: 26%; }
#chang-4 .sign-mark { left: 40%; top: 32%; }
.ready__text .sign-mark { left: 62%; top: 9%; }
@media (max-width: 640px) { .sign-mark { font-size: 240px; } }
.breath__quote { font: italic 400 clamp(28px, 3.6vw, 54px)/1.35 var(--serif); max-width: 22em; margin: 0 auto 1.2em; }
.breath__quote .w { display: inline-block; opacity: 0; transform: translateY(.4em); }
.breath__logo { margin: clamp(48px, 6vw, 72px) 0 0; text-align: center; }
.breath__logo .logo { width: clamp(150px, 15vw, 200px); }
.breath__logo .logo__mandala { filter: saturate(1.25) brightness(.9); }

/* ---------- 8. Đền cổ: 2 cửa sổ so le ---------- */
.temples { display: flex; flex-direction: column; gap: clamp(90px, 10vw, 150px); }
.calm.temples { padding-top: clamp(32px, 4vw, 60px); }
.pair { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
.pair .window { width: 100%; }
@media (min-width: 900px) {
  .pair { grid-template-columns: 7fr 5fr; }
  .pair--flip { grid-template-columns: 5fr 7fr; }
  .pair--flip .window { order: 2; }
}
.moment--left { left: -6%; right: auto !important; }
.ribbon { display: grid; grid-template-columns: 1fr .62fr 1fr; align-items: end; gap: clamp(16px, 3vw, 48px); width: min(100%, 940px); margin: 0 auto; }
.ribbon img { width: 100%; height: clamp(300px, 36vw, 500px); object-fit: cover; }
.ribbon .cot img { height: clamp(220px, 26vw, 360px); aspect-ratio: auto; }
/* cửa giữa thấp hơn hai tháp, chân ảnh thẳng hàng với hai tháp (chừa chỗ cho nút dưới tháp); mặt trời có cánh trên xà cửa */
.ribbon .cot { position: relative; margin-bottom: 66px; }
.ribbon .cot::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 16px); width: 96%; aspect-ratio: 5 / 1; transform: translateX(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cg fill='%23C47F3C'%3E%3Ccircle cx='50' cy='10' r='6.5'/%3E%3Cpath d='M43 7 L4 3 L9 7 L3 8 L10 11 L5 13 L43 14 Z'/%3E%3Cpath d='M57 7 L96 3 L91 7 L97 8 L90 11 L95 13 L57 14 Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.ribbon { column-gap: clamp(10px, 1.4vw, 22px); }
.ribbon figcaption { margin-top: 18px; display: flex; justify-content: center; }

/* ---------- 9. Karnak ---------- */
.karnak { display: grid; gap: clamp(40px, 6vw, 110px); align-items: center; }
.karnak__col { position: relative; justify-self: center; width: min(100%, 420px); }
.moment--karnak { width: clamp(200px, 19vw, 290px); left: -44%; bottom: 10%; transform: rotate(-2.5deg); }
.karnak__text { max-width: 34em; }
.karnak__photo { overflow: hidden; width: 100%; }
.karnak__photo img { width: 100%; height: auto; transform: scale(1.18); }
.ph--wide { margin-top: clamp(40px, 5vw, 70px); width: min(100%, 460px); }
@media (min-width: 900px) { .karnak { grid-template-columns: 1fr 1fr; gap: clamp(120px, 12vw, 200px); padding-left: clamp(40px, 8vw, 140px); padding-right: clamp(40px, 8vw, 140px); } .karnak__col { justify-self: end; } }
@media (max-width: 899px) { .moment--karnak { left: auto; right: -4%; bottom: -8%; width: 46vw; } .karnak__col { margin-bottom: 40px; } }

/* ---------- khoảnh khắc của thầy (thẻ ảnh nhỏ) ---------- */
.moment { position: absolute; z-index: 3; width: clamp(110px, 12vw, 180px); transform: rotate(-2deg); }
.moment img { width: 100%; height: auto; border: 6px solid var(--kem); box-shadow: 0 26px 50px -18px rgba(46, 36, 25, .6); }
.moment--left { width: clamp(160px, 18vw, 250px); top: auto; bottom: -14%; }
.moment--full { right: calc(var(--gutter) + 30px); top: calc(var(--topbar-h) + 6vh); }
.moment--full figcaption { color: var(--kem); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }

/* ---------- hình khối Ai Cập (đặt class lên khung chứa ảnh/video) ----------
   Chỉ dùng các hình thẳng, đối xứng, nặng ở chân như kiến trúc Ai Cập (không dùng vòm tròn):
   cong = cổng đền (tường nghiêng + gờ mái loe) · chop = khung chóp nhọn (đầu obelisk) · cot = cột đầu loe
   bac = kim tự tháp bậc (Djoser) · sun = đĩa mặt trời · framed = viền vàng mảnh chạy theo đúng hình */
.cong { --clip: polygon(1% 0, 99% 0, 96% 7%, 95% 9%, 100% 100%, 0 100%, 5% 9%, 4% 7%);
  --edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 102' preserveAspectRatio='none'%3E%3Cpolygon points='1,0 99,0 96,7 95,9 100,100 0,100 5,9 4,7' fill='none' stroke='%23B06E2C' stroke-width='1.7' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.cong--wide { --clip: polygon(.5% 0, 99.5% 0, 97% 9%, 96% 12%, 100% 100%, 0 100%, 4% 12%, 3% 9%);
  --edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 102' preserveAspectRatio='none'%3E%3Cpolygon points='.5,0 99.5,0 97,9 96,12 100,100 0,100 4,12 3,9' fill='none' stroke='%23B06E2C' stroke-width='1.7' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.chop { --clip: polygon(7% 12%, 50% 0, 93% 12%, 100% 100%, 0 100%);
  --edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 102 102' preserveAspectRatio='none'%3E%3Cpolygon points='7,12 50,0 93,12 100,100 0,100' fill='none' stroke='%23B06E2C' stroke-width='1.7' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.cot { --clip: polygon(0 0, 100% 0, 91% 9%, 91% 100%, 9% 100%, 9% 9%); }
/* tháp cổng (mặt tiền cổng đền): mép ngoài nghiêng, mép trong thẳng, gờ mái loe */
.thap--l { --clip: polygon(3% 0, 100% 0, 100% 100%, 0 100%, 11% 9%, 9% 7%); }
.thap--r { --clip: polygon(0 0, 97% 0, 91% 7%, 89% 9%, 100% 100%, 0 100%); }
.bac { --clip: polygon(24% 0, 76% 0, 76% 25%, 84% 25%, 84% 50%, 92% 50%, 92% 75%, 100% 75%, 100% 100%, 0 100%, 0 75%, 8% 75%, 8% 50%, 16% 50%, 16% 25%, 24% 25%); }
:is(.cong, .chop, .cot, .bac, .thap) > :is(img, video), :is(.cong, .chop, .cot, .bac, .thap) > picture img { clip-path: var(--clip); }
.sun > img, .sun > video { border-radius: 50%; aspect-ratio: 1; height: auto; object-fit: cover; }
.window.sun > video { height: 100%; }
.cot > img { aspect-ratio: 9 / 19; height: auto; object-fit: cover; }
.karnak__photo.cot { aspect-ratio: 4 / 5; clip-path: var(--clip); }
.karnak__photo.cot > div, .karnak__photo.cot img { height: 100%; }
.karnak__photo.cot img { object-fit: cover; }
/* bóng đổ theo đúng hình (box-shadow bị cắt mất khi ảnh có clip-path) */
.ph.chop { filter: drop-shadow(0 26px 34px rgba(46, 36, 25, .32)); }
.ph.chop img { box-shadow: none; }
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: -14px; z-index: 0; pointer-events: none; background: var(--edge) 0 0 / 100% 100% no-repeat; }
/* mặt trời có cánh: khắc trên gờ mái mọi cổng đền */
.window.cong::after { content: ""; position: absolute; z-index: 3; left: 50%; top: .8%; width: clamp(84px, 15%, 190px); aspect-ratio: 5 / 1; transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 1px 3px rgba(30, 20, 10, .5));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cg fill='%23F0C35A'%3E%3Ccircle cx='50' cy='10' r='6.5'/%3E%3Cpath d='M43 7 L4 3 L9 7 L3 8 L10 11 L5 13 L43 14 Z'/%3E%3Cpath d='M57 7 L96 3 L91 7 L97 8 L90 11 L95 13 L57 14 Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
/* bóng kim tự tháp Giza rất mờ làm nền (phần Giza và Sẵn sàng?) */
.trio, .ready { position: relative; isolation: isolate; }
.trio::before, .ready::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: min(62%, 460px); pointer-events: none; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 100'%3E%3Cpath d='M40 100 L110 12 L124 100Z' fill='%23E9D3A3'/%3E%3Cpath d='M124 100 L110 12 L182 100Z' fill='%23D9BC86'/%3E%3Cpath d='M138 100 L196 30 L206 100Z' fill='%23ECD9AE'/%3E%3Cpath d='M206 100 L196 30 L254 100Z' fill='%23DEC38F'/%3E%3Cpath d='M240 100 L265 66 L269 100Z' fill='%23EEDCB4'/%3E%3Cpath d='M269 100 L265 66 L292 100Z' fill='%23E0C796'/%3E%3C/svg%3E") right bottom / contain no-repeat; }
.ready::before { opacity: .45; }

/* ---------- 11. Sẵn sàng? ---------- */
.ready { position: relative; display: grid; align-items: start; gap: clamp(36px, 6vw, 100px); padding: clamp(96px, 12vw, 170px) var(--gutter); background: linear-gradient(160deg, #FFE7A6 0%, var(--cat) 55%, #F0CF8E 100%); }
.ready__photo { justify-self: center; width: min(100%, 350px); overflow: hidden; }
.ready__photo.framed { overflow: visible; }

/* mục lục 4 mục, nội dung đổi tại chỗ */
.ledger { margin: 8px 0 0; }
.ledger__tabs { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ledger__tabs [role=tab] { position: relative; padding: 12px 0 14px; border: 0; background: none; cursor: pointer; font: italic 400 clamp(18px, 1.45vw, 21px)/1.2 var(--serif); color: var(--than-60); transition: color .4s; }
.ledger__tabs [role=tab]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--nang); box-shadow: 0 0 8px 2px rgba(255, 215, 119, .8); transform: scale(0); transition: transform .5s var(--ease); }
.ledger__tabs [role=tab]:hover, .ledger__tabs [role=tab]:focus-visible { color: var(--than); outline: none; }
.ledger__tabs [aria-selected=true] { color: var(--than); }
.ledger__tabs [aria-selected=true]::after { transform: none; }
.ledger__panel { padding: 22px 0 6px; font-size: 17.5px; line-height: 1.6; max-width: 36em; }
.ledger__panel ul { margin: 0; padding-left: 1.1em; }
.ledger__panel li { margin-bottom: .45em; }
.ledger .pairs dt { color: var(--son); }
.ready__photo img { width: 100%; height: auto; }
.price { display: flex; flex-wrap: wrap; gap: 18px 48px; margin: 34px 0 28px; padding-top: 24px; border-top: 1px solid rgba(46, 36, 25, .2); }
.price .log { margin-bottom: .5em; }
.price__big { font: 400 clamp(40px, 4.6vw, 64px)/1 var(--title); letter-spacing: .04em; margin: 0; }
.price__std { font: 400 clamp(26px, 2.6vw, 36px)/1 var(--title); margin: 0; color: var(--than-60); }
.price small { font: 500 12px/1 var(--label); letter-spacing: .1em; }
.closing { margin: 40px 0 0; font: italic 400 20px/1.55 var(--serif); max-width: 32em; color: var(--than-60); }
@media (min-width: 900px) { .ready { grid-template-columns: 5fr 7fr; } }

/* ---------- điểm chạm (+): quả cầu vàng phát sáng ---------- */
.spots { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 26px; }
.spot { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 4px; border: 0; border-radius: 999px; cursor: pointer; background: rgba(46, 36, 25, .45); backdrop-filter: blur(8px); font: 600 11px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--kem); transition: background .4s var(--ease), transform .4s var(--ease); }
.spot::before { content: "+"; display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; font: 400 26px/1 var(--serif); color: var(--than); background: radial-gradient(circle at 40% 35%, #FFF8DC 0, var(--nang) 45%, var(--vang) 100%); box-shadow: 0 0 12px 3px rgba(255, 215, 119, .9), 0 0 34px 10px rgba(255, 200, 90, .55); animation: glow 2.6s ease-in-out infinite; transition: transform .5s var(--ease); }
.spot::after { content: ""; position: absolute; left: 4px; top: 4px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--nang); pointer-events: none; animation: ring 2.6s ease-out infinite; }
.spot:hover, .spot:focus-visible { background: rgba(46, 36, 25, .72); transform: translateY(-2px); outline: none; }
.spot:hover::before, .spot:focus-visible::before { transform: rotate(90deg) scale(1.08); }
.spot--dark { background: rgba(46, 36, 25, .86); }
@keyframes glow { 50% { box-shadow: 0 0 18px 6px rgba(255, 225, 140, 1), 0 0 52px 18px rgba(255, 200, 90, .7); } }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }

/* ---------- gió cát quét qua (khi vào White Desert, Đền cổ) ---------- */
.veil { position: fixed; inset: -20% -60%; z-index: 35; pointer-events: none; opacity: 0; transform: translateX(-70%);
  background:
    radial-gradient(28% 40% at 30% 45%, rgba(236, 214, 170, .95), rgba(236, 214, 170, 0) 70%),
    radial-gradient(30% 45% at 55% 60%, rgba(243, 223, 180, .95), rgba(243, 223, 180, 0) 70%),
    radial-gradient(24% 35% at 75% 40%, rgba(230, 200, 150, .9), rgba(230, 200, 150, 0) 70%);
}
.veil.is-sweeping { animation: sweep 2.2s cubic-bezier(.45, 0, .2, 1) forwards; }
@keyframes sweep { 0% { opacity: 0; transform: translateX(-70%); } 25% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateX(70%); } }

/* ---------- hiện dần (chỉ khi JS chạy; GSAP lo chuyển động) ---------- */
.js .rise { opacity: 0; transform: translateY(32px); }
.no-motion .rise { opacity: 1 !important; transform: none !important; }

/* ---------- khung chi tiết ---------- */
.detail { display: none; }
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(46, 36, 25, .4); opacity: 0; transition: opacity .5s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--kem); color: var(--than); padding: 76px clamp(24px, 4vw, 56px) 48px; overflow-y: auto; transform: translateX(100%); transition: transform .7s var(--ease); outline: none; }
.drawer.is-open { visibility: visible; }
.drawer.is-open::before { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 1px solid var(--than-60); border-radius: 50%; background: none; font: 300 28px/1 var(--serif); cursor: pointer; }
.drawer__close:hover { background: var(--nang); border-color: var(--nang); }
.drawer__body h3 { font: 400 clamp(26px, 2.8vw, 36px)/1.25 var(--title); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .7em; }
.drawer__body h4 { font: 600 12px/1.4 var(--label); text-transform: uppercase; letter-spacing: .2em; margin: 1.8em 0 .5em; color: var(--son); }
.drawer__body ul { padding-left: 1.1em; }
.drawer__body li { margin-bottom: .5em; }
.drawer__body .stay, .bloom__body .stay, .iris__body .stay, .postcard__body .stay { font: 500 10.5px/1.5 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--son); margin-top: 1.8em; }

/* nút × dùng chung */
.x { position: absolute; z-index: 5; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: none; font: 300 28px/1 var(--serif); cursor: pointer; transition: background .3s, color .3s; }
.x:hover, .x:focus-visible { background: var(--nang); border-color: var(--nang); color: var(--than); outline: none; }

/* cách 1 · NỞ TẠI CHỖ: ảnh bay từ chỗ cũ ra nửa trái màn, chữ hiện bên phải */
.bloom { position: fixed; inset: 0; z-index: 62; }
.bloom::before { content: ""; position: absolute; inset: 0; background: var(--kem); opacity: var(--bg, 0); }
.bloom__media { position: fixed; overflow: hidden; will-change: left, top, width, height; }
.bloom__media img { width: 100%; height: 100%; object-fit: cover; }
.bloom__text { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; display: flex; align-items: center; padding: 80px clamp(28px, 5vw, 80px); overflow-y: auto; outline: none; opacity: 0; }
.bloom__body { max-width: 30em; }
.bloom__body h3 { font: 400 clamp(28px, 3vw, 46px)/1.2 var(--title); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6em; }
.bloom__close { top: 18px; right: 18px; color: var(--than); opacity: 0; }
@media (max-width: 899px) {
  .bloom__text { top: auto; left: 0; width: 100%; height: 50%; align-items: flex-start; padding: 28px var(--gutter) 40px; }
  .bloom__close { color: var(--kem); background: rgba(46, 36, 25, .5); }
}

/* cách 2 · THẺ BƯU THIẾP: nổi lên cạnh nút, nghiêng nhẹ, viền tem */
.postcard { position: fixed; z-index: 58; width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 90px); overflow-y: auto; padding: 30px 30px 24px; background: #FFFBF1; color: var(--than); box-shadow: 0 30px 70px -24px rgba(46, 36, 25, .6), 0 2px 0 rgba(46, 36, 25, .06); outline: 1px dashed rgba(196, 127, 60, .55); outline-offset: -10px; font-size: 17px; line-height: 1.6; }
.postcard::after { content: ""; position: absolute; top: 18px; right: 62px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(196, 127, 60, .5); background: radial-gradient(circle, rgba(255, 215, 119, .5), rgba(255, 215, 119, 0) 70%); pointer-events: none; }
.postcard__body h3 { font: italic 400 26px/1.2 var(--serif); margin: 0 0 .5em; padding-right: 70px; }
.postcard__body .log { margin-bottom: .9em; padding-right: 70px; }
.postcard__body p:last-child { margin-bottom: 0; }
.postcard__close { top: 14px; right: 14px; width: 36px; height: 36px; font-size: 22px; color: var(--than-60); }

/* cách 3 · VÒNG TRÒN NỞ: từ nút (+) nở ra phủ màn, giữa sa mạc đêm */
.iris { position: fixed; inset: 0; z-index: 62; color: var(--kem); background: radial-gradient(120% 90% at 50% 100%, #5A3A1E 0%, #2E2419 55%, #1B140D 100%); }
.iris__inner { position: absolute; inset: 0; overflow-y: auto; display: flex; padding: 72px var(--gutter); outline: none; }
.iris__body { width: min(100%, 880px); text-align: center; opacity: 0; }
.iris__body .log { color: var(--nang); }
.iris__body h3 { font: 400 clamp(28px, 3.4vw, 50px)/1.2 var(--title); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .7em; }
.iris__body p { max-width: 34em; margin-left: auto; margin-right: auto; color: rgba(251, 244, 228, .88); }
.iris__body { margin: auto; }
.iris__body .detail__video { width: auto; max-width: 100%; max-height: 54vh; margin: 0 auto 1.4em; border-radius: 2px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.iris__body .stay { color: var(--nang); }
.iris__close { top: 18px; right: 18px; color: var(--kem); }

.footer { background: var(--than); color: var(--cat); text-align: center; padding: 26px 16px; font: 500 10.5px/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase; }
.footer__logo { display: inline-block; margin: 40px 0 14px; text-decoration: none; }
.footer__logo .logo { width: 150px; }
.footer p { margin: 0; }

/* ---------- điện thoại ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .rail { right: 6px; }
  .rail a, .rail a:hover, .rail li.is-active a, .rail.on-dark li.is-active a { color: transparent; text-shadow: none; font-size: 0; gap: 0; padding: 6px 0; }
  .rail a::after { width: 7px; height: 7px; }
  .mega { font-size: clamp(28px, 8.6vw, 44px); letter-spacing: .08em; }
  .h-title { font-size: clamp(26px, 7.6vw, 40px); letter-spacing: .08em; }
  .say { font-size: clamp(24px, 7vw, 36px); }
  .invite__photos { min-height: 380px; }
  .moment { width: 26vw; }
  .moment--left { width: 40vw; left: auto; right: -2% !important; }
  .moment--cards { bottom: -40px; }
  .ribbon { grid-template-columns: 1fr 1fr; }
  .ribbon .cot { display: none; }
  .ribbon img { height: 62vw; }
  .ribbon .spot { height: auto; min-height: 44px; padding-top: 2px; padding-bottom: 2px; line-height: 1.3; letter-spacing: .12em; }
  .voice__q { padding-right: 46px; }
  .pairs--row { grid-template-columns: 1fr; gap: 2px; }
  .pairs--row dd { margin-bottom: 12px; }
  .ledger__tabs { gap: 0 20px; }
  .spot { height: 44px; }
  .spot::before, .spot::after { width: 36px; height: 36px; }
}

/* Máy bật "giảm chuyển động": hiệu ứng vẫn chạy nhưng dịu hơn (JS giảm biên độ); chỉ tắt gió cát quét ngang. */
@media (prefers-reduced-motion: reduce) {
  .veil { display: none; }
}

/* ---------- cách 5 · THIỆP MỜI: bìa là cổng đền thu nhỏ (gờ mái khía + mặt trời có cánh), mở như hai cánh cổng; bên trong giấy ngà, chữ Cormorant + chữ viết tay ---------- */
.letter { --soft: "Newsreader", Georgia, serif; --script: "Noto Serif Display", Georgia, serif;
  position: fixed; inset: 0; z-index: 62; display: grid; place-items: center; padding: 24px; background: rgba(28, 19, 10, calc(var(--bg, 0) * .74)); }
/* ánh sáng ấm như trong lòng đền, sau lưng thiệp */
.letter::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--bg, 0); background: radial-gradient(42% 46% at 50% 48%, rgba(255, 205, 110, .3), rgba(255, 205, 110, 0) 70%); }
.letter[hidden] { display: none; }
.letter__card { position: relative; display: flex; width: min(560px, 100%); max-height: calc(100vh - 48px); max-height: calc(100svh - 48px); border-radius: 6px; box-shadow: 0 40px 90px -30px rgba(10, 6, 2, .8), 0 12px 30px -12px rgba(10, 6, 2, .35); }
.letter__card::before, .letter__card::after { content: ""; position: absolute; z-index: 2; pointer-events: none; }
.letter__card::before { inset: 14px; border: 1px solid #C9A05A; }
.letter__card::after { inset: 19px; border: 1px solid rgba(201, 160, 90, .4); }
.letter__inside { position: relative; flex: 1; overflow-y: auto; border-radius: inherit; padding: clamp(54px, 6vw, 74px) clamp(36px, 6vw, 64px) clamp(46px, 5vw, 62px); text-align: center; color: #3E2C1A; outline: none; background: radial-gradient(120% 80% at 50% 0%, #FFFDF7 0%, #FBF3E3 62%, #F3E4C6 100%); }
/* mặt trời có cánh nhỏ trên đầu trang thiệp */
.letter__inside::before { content: ""; display: block; width: 92px; height: 18px; margin: 0 auto 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cg fill='%23C49A4C'%3E%3Ccircle cx='50' cy='10' r='6.5'/%3E%3Cpath d='M43 7 L4 3 L9 7 L3 8 L10 11 L5 13 L43 14 Z'/%3E%3Cpath d='M57 7 L96 3 L91 7 L97 8 L90 11 L95 13 L57 14 Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.letter__body .log { font: 500 11px/1.6 var(--label); letter-spacing: .28em; text-transform: uppercase; color: #9A6A3A; margin: 0 0 1.4em; }
.letter__body h3 { font: italic 400 clamp(25px, 2.5vw, 32px)/1.32 var(--soft); margin: 0 0 1.1em; color: #4A3320; text-wrap: balance; }
.letter__body p { font: 400 clamp(19px, 1.45vw, 21px)/1.72 var(--soft); margin: 0 0 .9em; }
.letter__body p strong { font-weight: 500; color: #4A3320; }
.letter__body .hello { font: 400 clamp(34px, 3vw, 42px)/1.3 var(--script); margin: 0 0 .45em; color: #8A5A26; }
.letter__body .wish { font-style: italic; margin-top: 1.2em; }
.letter__body .sign { margin-top: 1.1em; font: 500 clamp(17px, 1.3vw, 19px)/1.4 var(--soft); letter-spacing: .06em; color: #4A3320; }
.letter__body .sign span { display: block; margin-bottom: .2em; font: 400 clamp(30px, 2.6vw, 36px)/1.35 var(--script); letter-spacing: 0; color: #8A5A26; }
.letter__body .sign small { display: block; margin-top: .55em; font: 500 11px/1.5 var(--label); letter-spacing: .22em; text-transform: uppercase; color: #9A6A3A; }
.letter__close { top: 26px; right: 26px; z-index: 4; width: 38px; height: 38px; font-size: 22px; color: #7A4E22; }
/* bìa = 2 cánh cổng (mỗi cánh nửa thiệp, ghép liền một nền) + lớp chữ ở giữa; cánh trượt vào mép thiệp thì bị cắt gọn */
.letter__cover { position: absolute; inset: 0; z-index: 3; overflow: hidden; border-radius: inherit; cursor: pointer; }
.letter__wing { position: absolute; top: 0; bottom: 0; width: 50%; background: radial-gradient(180% 70% at 100% 40%, #FBEFD0 0%, #EED7A2 62%, #E0BF84 100%); }
.letter__wing--l { left: 0; box-shadow: inset -1px 0 0 rgba(150, 105, 40, .45); }
.letter__wing--r { right: 0; background: radial-gradient(180% 70% at 0% 40%, #FBEFD0 0%, #EED7A2 62%, #E0BF84 100%); box-shadow: inset 1px 0 0 rgba(150, 105, 40, .45); }
/* gờ mái cổng đền: dải khía dọc ở đầu thiệp, mỗi cánh mang một nửa */
.letter__wing::before { content: ""; position: absolute; top: 22px; height: 26px; background: repeating-linear-gradient(90deg, rgba(150, 105, 40, .5) 0 1px, rgba(150, 105, 40, 0) 1px 9px); border-top: 1px solid rgba(150, 105, 40, .6); border-bottom: 1px solid rgba(150, 105, 40, .6); }
.letter__wing--l::before { left: 22px; right: 0; }
.letter__wing--r::before { right: 22px; left: 0; }
/* khung vàng của bìa: mỗi cánh mang một nửa (không có cạnh ở đường ghép) */
.letter__wing::after { content: ""; position: absolute; top: 14px; bottom: 14px; border: 1px solid #B8862F; }
.letter__wing--l::after { left: 14px; right: 0; border-right: 0; }
.letter__wing--r::after { right: 14px; left: 0; border-left: 0; }
/* ánh sáng hắt ra từ khe giữa hai cánh cổng */
.letter__glow { position: absolute; z-index: 1; top: 0; bottom: 0; left: 50%; width: 90px; margin-left: -45px; opacity: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 244, 205, 1), rgba(255, 215, 119, .55) 45%, rgba(255, 215, 119, 0)); }
/* dải ruy băng lụa ngang bìa (mỗi cánh mang một nửa) + nơ thắt ở đường ghép */
.letter__cover { --tie: 30%; }
.letter__band { position: absolute; left: 0; right: 0; top: var(--tie); height: 36px; margin-top: -18px; box-shadow: 0 4px 8px -2px rgba(42, 12, 5, .45);
  background: linear-gradient(180deg, #4E140C 0%, #8E2E1A 14%, #C8603A 38%, #EBA07A 50%, #B9492B 64%, #7A2415 86%, #4E140C 100%); }
.letter__bow { position: absolute; z-index: 2; left: 50%; top: var(--tie); width: min(320px, 72%); height: auto; transform: translate(-50%, -34%); overflow: visible; pointer-events: none; }
.letter__loop, .letter__tails, .letter__knot { transform-box: fill-box; }
.letter__art { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--tie) + 160px); bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; padding: 30px 40px 40px; text-align: center; }
@media (max-width: 640px) { .letter__art { top: calc(var(--tie) + 130px); } }
.letter__kicker { font: 500 12px/1 var(--label); letter-spacing: .46em; text-transform: uppercase; color: #7A4E22; }
.letter__name { font: italic 500 clamp(36px, 4.2vw, 52px)/1.08 var(--soft); letter-spacing: .01em; background: linear-gradient(100deg, #6E4519 0%, #B9852F 45%, #6E4519 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.letter__date { font: italic 400 20px/1.3 var(--soft); color: #5A3E22; }
/* vệt sáng lướt qua mặt bìa */
.letter__sheen { position: absolute; z-index: 3; top: -10%; bottom: -10%; left: 0; width: 100%; pointer-events: none; transform: translateX(-130%); background: linear-gradient(105deg, rgba(255, 250, 230, 0) 30%, rgba(255, 250, 230, .55) 50%, rgba(255, 250, 230, 0) 70%); mix-blend-mode: soft-light; }

/* ---------- Gallery sa mạc (kiểu băng chuyền, ảnh giữa nổi lên) ---------- */
.desert { position: relative; overflow: hidden; background: var(--cat); --gw: clamp(300px, 36vw, 520px); }
.desert__rings { position: absolute; left: 50%; top: 60%; width: 2200px; height: 2200px; margin: -1100px 0 0 -1100px; border-radius: 50%; pointer-events: none; background: repeating-radial-gradient(circle, rgba(251, 244, 228, 0) 0 130px, rgba(251, 244, 228, .34) 132px 196px, rgba(251, 244, 228, 0) 198px 260px); }
.duo { position: relative; z-index: 2; margin: 0 0 clamp(20px, 2.4vw, 40px); padding-left: clamp(0px, 4vw, 80px); }
.duo span { display: block; font: 400 clamp(34px, 4vw, 62px)/1.05 var(--title); text-transform: uppercase; letter-spacing: .08em; }
.duo b { display: block; margin-top: .35em; font: 600 clamp(15px, 1.6vw, 24px)/1.3 var(--label); letter-spacing: .26em; text-transform: uppercase; }
.gal { position: relative; z-index: 2; height: calc(var(--gw) * .72 + 330px); outline: none; }
.gal__track { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.gal__track:active { cursor: grabbing; }
.gal__slide { position: absolute; left: 50%; top: 50%; width: var(--gw); margin: 0; -webkit-user-select: none; user-select: none; }
.gal__slide img, .gal__slide video { pointer-events: none; -webkit-user-drag: none; }
.gal__card { background: #FFFBF2; box-shadow: 0 34px 60px -30px rgba(46, 36, 25, .55); transition: filter .8s ease; }
.gal__slide:not(.is-active) { cursor: pointer; }
.gal__slide:not(.is-active) .gal__card { filter: saturate(.8) brightness(.93); }
.gal__photo { position: relative; height: calc(var(--gw) * .6); overflow: hidden; transition: height .9s var(--ease); }
.is-active .gal__photo { height: calc(var(--gw) * .72); }
/* khung làm bằng chính ảnh đó: lớp nền phóng to, tối đi; ảnh giữa thu vào trong */
.gal__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.7); filter: brightness(.7) saturate(1.1) blur(3px); }
.gal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
[data-fit=contain] .gal__img { object-fit: contain; }
.is-active .gal__img { transform: scale(.86); }
.gal__cap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s var(--ease); }
.is-active .gal__cap { grid-template-rows: 1fr; }
.gal__cap > div { overflow: hidden; padding: 0 clamp(20px, 2.4vw, 34px); opacity: 0; transition: opacity .5s ease; }
.is-active .gal__cap > div { opacity: 1; transition-delay: .3s; }
.gal__cap > div > :first-child { margin-top: 22px; }
.gal__cap > div > :last-child { margin-bottom: 26px; }
.gal__cap .log { margin-bottom: .6em; }
.gal__cap h4 { font: italic 400 clamp(22px, 1.9vw, 27px)/1.25 var(--serif); margin: 0 0 .4em; }
.gal__cap p { font-size: 16.5px; line-height: 1.6; margin-bottom: .7em; }
.gal__cap .spot { margin-top: 4px; }
.gal__cap .stay { font: 600 11px/1.5 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--son); }
.gal__nav { position: absolute; z-index: 20; top: calc(50% - var(--gw) * .18); width: 52px; height: 52px; margin-top: -26px; border: 1px solid rgba(46, 36, 25, .35); border-radius: 50%; background: rgba(251, 244, 228, .85); cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.gal__nav::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border: solid var(--than); border-width: 0 0 1.5px 1.5px; transform: translate(-30%, -50%) rotate(45deg); }
.gal__nav--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.gal__nav--prev { left: calc(50% - var(--gw) / 2 - 76px); }
.gal__nav--next { right: calc(50% - var(--gw) / 2 - 76px); }
.gal__nav:hover, .gal__nav:focus-visible { background: var(--nang); transform: scale(1.06); outline: none; }
@media (max-width: 640px) {
  .desert { --gw: 80vw; }
  .gal { height: calc(var(--gw) * .72 + 400px); }
  .gal__nav { top: auto; bottom: 0; margin-top: 0; }
  .gal__nav--prev { left: calc(50% - 64px); }
  .gal__nav--next { right: calc(50% - 64px); }
}

/* chặng 7: video bình minh dạng dải rộng bo tròn hai đầu (như đường chân trời), nút đặt trên video bên trái */
.window.window--wide { width: min(100%, 84vw); aspect-ratio: 2.35 / 1; isolation: isolate; }

.window--wide::before { content: ""; position: absolute; inset: -18% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 215, 119, .5), rgba(255, 215, 119, 0)); }
.window.window--wide .spot--on { top: 50%; bottom: auto; right: auto; left: clamp(28px, 6%, 80px); margin-top: -24px; }
@media (max-width: 640px) {
  .window.window--wide { width: 100%; aspect-ratio: 16 / 10; }

  .window.window--wide .spot--on { left: 16px; top: auto; bottom: 16px; margin-top: 0; }
}

/* chặng 7 (chốt 29/10): video trong khung tròn, người ngồi thiền ở tâm.
   Người trong video nằm ở 56% bề ngang → object-position 63.5% đưa đúng vào giữa khung vuông */
.window.window--tron { width: min(78vw, 72vh, 660px); aspect-ratio: 1; isolation: isolate; }
.window--tron > .window__video { border-radius: 50%; object-position: 63.5% 50%; }
.window.window--tron::before { inset: -14px; border: 1.5px solid #B06E2C; border-radius: 50%; background: none; }
.window--tron::after { content: ""; position: absolute; inset: -22%; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 215, 119, .55), rgba(255, 215, 119, 0) 66%); }
.window.window--tron .spot--on { top: auto; bottom: 9%; left: 0; right: 0; width: max-content; margin: 0 auto; }
.window--tron .moment { right: -18%; bottom: 2%; }
@media (max-width: 640px) {
  .window.window--tron { width: 84vw; }
  .window--tron::after { inset: -10%; }
  .window--tron .moment { width: 24vw; right: -4%; bottom: -8%; }
}

/* nút trong màn mở đầu, thiệp mời, phần Sẵn sàng */
.beat--hero .hero__cta { margin: 1.5em 0 0; pointer-events: auto; }
.beat--hero .go { text-shadow: 0 0 14px rgba(251, 244, 228, 1); }
.letter__body .accept { margin: 1.9em 0 .3em; }
.ready__ask { margin: -12px 0 32px; }

/* ===== tên thầy ở «Người dẫn đường» = ảnh chữ trắng (nền nâu) ===== */
.h-title--name { margin-bottom: .45em; line-height: 0; }
.guide__name { display: block; width: min(100%, clamp(300px, 34vw, 560px)); height: auto; filter: drop-shadow(0 2px 18px rgba(46, 36, 25, .35)); }

/* ===== tab «Chính sách hoàn / hủy» ở «Sẵn sàng?» ===== */
.ready__ask { display: flex; flex-wrap: wrap; gap: 6px 34px; }
.policy__lead { margin: 0 0 1.1em; font-style: italic; color: var(--than-60); }
.policy { border-top: 1px solid rgba(46, 36, 25, .16); }
.policy:last-of-type { border-bottom: 1px solid rgba(46, 36, 25, .16); }
.policy summary { position: relative; padding: 14px 34px 14px 0; cursor: pointer; list-style: none; font: 600 12px/1.5 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--son); transition: color .3s; }
.policy summary::-webkit-details-marker { display: none; }
.policy summary::after { content: "+"; position: absolute; right: 4px; top: 50%; margin-top: -.6em; font: 400 22px/1.2 var(--serif); letter-spacing: 0; color: var(--than-60); transition: transform .5s var(--ease); }
.policy[open] summary::after { transform: rotate(135deg); }
.policy summary:hover, .policy summary:focus-visible { color: var(--than); outline: none; }
.policy > div { padding: 0 0 12px; }
.policy p, .policy ul { margin: 0 0 .85em; font-size: 16.5px; line-height: 1.6; }
.policy ul { padding-left: 1.1em; }
.policy a, .policy__contact a { color: inherit; text-decoration-color: var(--son); text-underline-offset: 3px; }
.policy__contact { margin: 18px 0 0; font-size: 16.5px; }
.refund { width: 100%; margin: 4px 0 1em; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.refund thead th { padding: 6px 0 10px; text-align: left; font: 600 11px/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--than-60); border-bottom: 1px solid rgba(46, 36, 25, .3); }
.refund thead th:last-child, .refund td { text-align: right; white-space: nowrap; }
.refund tbody th, .refund td { padding: 11px 0; vertical-align: baseline; border-bottom: 1px solid rgba(46, 36, 25, .12); font-weight: 400; text-align: left; }
.refund tbody th small { display: block; margin-top: 2px; font: italic 400 14.5px/1.4 var(--serif); color: var(--than-60); }
.refund td { padding-left: 18px; font: 400 clamp(20px, 2vw, 26px)/1.2 var(--title); letter-spacing: .03em; text-align: right; }

/* ===== form đăng ký (nằm trong khung bên phải .drawer) ===== */
.reg [hidden] { display: none !important; }
.reg__lead { margin: 0 0 1.4em; color: var(--than-60); font-style: italic; }
.fld { display: block; margin: 0 0 1.35em; }
.fld > span { display: block; margin-bottom: .2em; font: 600 11px/1.5 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--son); }
.fld em { font: italic 400 14px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--than-60); }
.fld input, .fld textarea { display: block; width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 1px solid rgba(46, 36, 25, .35); border-radius: 0; background: transparent; color: var(--than); font: 400 18px/1.4 var(--serif); outline: none; transition: border-color .3s, box-shadow .3s; }
.fld textarea { resize: vertical; min-height: 4.6em; }
.fld input:focus, .fld textarea:focus { border-bottom-color: var(--son); box-shadow: 0 1px 0 0 var(--son); }
.reg__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reg__err { margin: 0 0 1em; padding: 10px 14px; border-left: 3px solid #B5372B; background: rgba(181, 55, 43, .08); font-size: 16px; line-height: 1.5; }
.reg .btn { margin-top: .4em; }
.reg .btn:disabled { opacity: .6; cursor: progress; }
.reg__fine { margin: 1.4em 0 0; font-size: 14.5px; line-height: 1.55; color: var(--than-60); }
.reg__fine a, .reg__later a { color: inherit; text-decoration-color: var(--son); text-underline-offset: 3px; }
.reg__later { margin: 0 0 1.6em; font-size: 18px; line-height: 1.6; }
.pay__qr { display: block; width: min(260px, 70vw); height: auto; margin: 0 auto 1.4em; padding: 10px; background: #fff; border: 1px solid rgba(46, 36, 25, .18); }
.pay__info { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; font-size: 17px; line-height: 1.45; }
.pay__info dt { margin: .35em 0 0; font: 600 10.5px/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--son); }
.pay__info dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; word-break: break-word; }
.pay__info dd span { font-weight: 500; }
.pay__info button { padding: 2px 10px; border: 1px solid var(--than-60); border-radius: 99px; background: none; color: var(--than); font: 600 10px/1.6 var(--label); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .3s, border-color .3s; }
.pay__info button:hover { background: var(--nang); border-color: var(--nang); }
@media (max-width: 640px) { .pay__info { grid-template-columns: 1fr; gap: 0 0; } .pay__info dd { margin-bottom: 10px; } }

/* ---------- XEM THỬ 4/11: ảnh thầy không còn trong khung; nét tối giản (kim tự tháp + enso + chân đất) ---------- */
.letter__body .hello, .letter__body .sign span { font-style: italic; }
.invite__photos { min-height: 0; }
.oneness { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 700 / 860; }
.oneness__nets { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.oneness__thap { fill: none; stroke: #B8742F; stroke-width: 1.6; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.oneness__enso { fill: #B8742F; opacity: .92; transform-box: view-box; transform-origin: 350px 310px; animation: enso-xoay 80s linear infinite; }
@keyframes enso-xoay { to { transform: rotate(360deg); } }
.oneness img { position: absolute; z-index: 1; left: 12.86%; top: 11.63%; width: 74.29%; height: auto; box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 98%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 80%, transparent 98%), linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%); mask-composite: intersect; }
.invite .ph--small { top: 2%; bottom: auto; right: 7%; width: 22%; border: 0; z-index: 3; }
@media (max-width: 899px) { .oneness { max-width: 520px; } .invite .ph--small { width: 26%; right: 0; } }

/* ---------- XEM THỬ 4/11 (2): giữ Noto Serif Display; chữ Việt dễ đọc hơn; gom bớt kiểu chữ ---------- */
/* CHỈ tiêu đề «Lời mời / The invitation» (hero giữ nguyên như bản gốc): nét mảnh + giãn chữ rộng + nền giấy cói nhiều hình → khó đọc.
   Đậm 500, giãn chữ hẹp lại, chữ tối hơn, và một lớp kem mờ nhẹ phía sau cột chữ để nền hình chữ cổ lùi xuống */
.invite .h-title { font-weight: 500; letter-spacing: .04em; line-height: 1.3; color: #1B120A; }
.invite .line { color: #2A1E12; }
.invite__text { position: relative; isolation: isolate; }
.invite__text::before { content: ""; position: absolute; z-index: -1; inset: -44px -64px; pointer-events: none; background: radial-gradient(closest-side, rgba(251, 244, 228, .92) 58%, rgba(251, 244, 228, 0) 100%); }
/* quy tắc chữ: tiêu đề = Noto Serif Display · thân bài = Newsreader thẳng · nhãn/số/tab = Montserrat in hoa nhỏ; chữ nghiêng chỉ còn ở chú thích ảnh và câu trích */
.voice__lead, .unfold__in h3, .gal__cap h4, .postcard__body h3, .policy__lead, .reg__lead, .closing, .refund tbody th small { font-style: normal !important; }
.ledger__tabs [role=tab] { font: 600 12px/1.2 var(--label); font-style: normal; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- XEM THỬ 4/11 (3): mục «Người dẫn đường» cân đối, dấu + không còn trùng thanh lộ trình ---------- */
/* 3 hàng thẳng cột (bỏ xếp so le), cùng 1 kiểu chữ thân bài Newsreader thẳng; số 01/02/03 chiếm ô cố định nên chữ thẳng hàng */
@media (min-width: 900px) {
  .voice:nth-child(2), .voice:nth-child(3) { margin-left: 0; }
  /* chừa lề phải để chữ và nút + không chui dưới nhãn của thanh lộ trình (cố định ở mép phải màn hình) */
  .guide__text { padding-right: clamp(0px, 8vw, 130px); }
}
.voice__q { font: 400 clamp(21px, 1.8vw, 26px)/1.3 var(--serif); font-style: normal; letter-spacing: 0; gap: 0; }
.voice__n { width: 3.4em; font-size: 11px; transform: translateY(-.15em); }
/* thanh lộ trình bên phải: chỉ chấm tròn mới bấm được (trước đây cả nhãn chữ trong suốt rộng ~150px nằm đè lên nút + và chặn mất cú bấm) */
.rail a { position: relative; pointer-events: none; }
.rail a::before { content: ""; position: absolute; top: 0; bottom: 0; right: -9px; width: 28px; pointer-events: auto; }
.rail, .rail ol, .rail li { pointer-events: none; }

/* ---------- XEM THỬ 4/11 (4): «Người dẫn đường» bố cục M2 (user chọn), bản gọn: thấp hơn, ảnh thầy không bị kéo giãn, dải ảnh nằm riêng bên dưới ---------- */
.guide { display: block; padding: 0; }
.guide__top { position: relative; padding: clamp(52px, 5vw, 76px) var(--gutter) clamp(34px, 3.4vw, 52px) 0; }
/* ảnh thầy: rộng cố định theo màn hình, cao theo tỉ lệ ảnh (KHÔNG giãn theo chiều cao mục → mở/đóng câu hỏi không làm ảnh phóng to); đáy tan vào nền */
.guide__portrait { position: absolute; left: 0; top: 0; bottom: 0; width: 32vw; max-width: 560px; justify-self: auto; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent 100%); mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent 100%); }
.guide__portrait picture { display: block; transform-origin: 50% 24%; transition: transform 1.6s var(--ease); }
.guide__portrait img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
/* chỉ phóng RẤT nhẹ (3,5%) khi một câu hỏi đang mở */
.guide:has(.voice.is-open) .guide__portrait picture { transform: scale(1.035); }
.guide__portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(154, 91, 46, 0) 55%, rgba(154, 91, 46, .9) 100%); }
.guide__text { position: relative; margin-left: 27.5vw; padding-right: clamp(0px, 8vw, 130px); }
.guide__name { width: clamp(260px, 32vw, 470px); max-width: none; }
.guide .h-title--name { margin-bottom: 14px; }
.guide .eyebrow { margin-bottom: 1em; }
.guide .eyebrow, .guide .line, .guide .voices { margin-left: clamp(0px, 6.4vw, 100px); }
.guide .line { font-size: clamp(17px, 1.35vw, 20px); max-width: 30em; margin-bottom: 0; }
.guide .voices { max-width: 640px; border-top: 0; margin-top: 22px; }
/* hàng: số lớn viền vàng + câu hỏi + nút + vòng mảnh; đệm hai bên; đường kẻ mờ dần ở hai đầu */
.voice { position: relative; border-bottom: 0; }
.voice::before, .voice:last-child::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, rgba(251, 244, 228, 0), rgba(251, 244, 228, .34) 12%, rgba(251, 244, 228, .34) 88%, rgba(251, 244, 228, 0)); }
.voice::before { top: 0; }
.voice:last-child::after { bottom: 0; }
.voice__q { align-items: center; padding: 10px 70px 10px 24px; font-size: clamp(18px, 1.5vw, 22px); }
.voice__n { width: clamp(66px, 6vw, 88px); font: 400 clamp(34px, 3.4vw, 50px)/1 var(--title); letter-spacing: 0; color: transparent; -webkit-text-stroke: 1px rgba(255, 215, 119, .85); transform: none; }
.voice__q::after { right: 24px; width: 30px; height: 30px; margin-top: -15px; background: none; box-shadow: none; border: 1px solid rgba(255, 215, 119, .85); color: var(--nang); font-size: 20px; }
.voice__a > div { padding: 0 24px 0 calc(24px + clamp(66px, 6vw, 88px)); }
.voice__a p, .voice__a dl { font-size: 16.5px; }
/* dải ảnh trôi bên dưới: nhỏ lại ~35% để không át ảnh thầy; nằm riêng, không chồng lên ảnh thầy */
.guide .strip { margin: 0; padding: 8px var(--gutter) clamp(36px, 3.6vw, 56px); gap: clamp(16px, 1.8vw, 28px); }
.guide .strip img { height: clamp(112px, 10vw, 150px); }
.guide .strip__tall img { height: clamp(190px, 16.5vw, 250px); }
.guide .strip__low { margin-top: clamp(28px, 3.4vw, 52px); }
.guide .strip__lower { margin-top: clamp(10px, 1.4vw, 22px); }
.guide .strip span { margin-top: 8px; font-size: 14px; }
@media (max-width: 899px) {
  .guide__top { padding: 0 var(--gutter) 36px; }
  .guide__portrait { position: relative; width: calc(100% + 2 * var(--gutter)); max-width: none; margin: 0 calc(-1 * var(--gutter)); height: min(96vw, 520px); }
  .guide__portrait::after { background: linear-gradient(180deg, rgba(154, 91, 46, 0) 55%, rgba(154, 91, 46, .95) 100%); }
  .guide__text { margin-left: 0; padding-right: 0; margin-top: -34px; }
  .guide__name { width: min(100%, 380px); }
  .guide .eyebrow, .guide .line, .guide .voices { margin-left: 0; }
  .voice__q { padding: 10px 52px 10px 8px; }
  .voice__n { width: 56px; font-size: 34px; }
  .voice__q::after { right: 8px; }
  .voice__a > div { padding: 0 8px 0 64px; }
  .guide .strip { padding-left: var(--gutter); }
}

/* ===== (5) Pháp lý: ô đồng ý trong form, thanh cookie, link chân trang ===== */
.reg__ok { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 1.3em; font-size: 15.5px; line-height: 1.55; cursor: pointer; }
.reg__ok input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--son); cursor: pointer; }
.reg__ok a { color: inherit; text-decoration-color: var(--son); text-underline-offset: 3px; }
.cookie { position: fixed; z-index: 70; left: 50%; bottom: 16px; width: min(760px, calc(100vw - 24px)); transform: translateX(-50%); display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: #FFFBF1; color: var(--than); border: 1px solid rgba(196, 127, 60, .5); box-shadow: 0 18px 50px -18px rgba(46, 36, 25, .55); font: 400 15px/1.5 var(--serif); }
.cookie[hidden] { display: none; }
.cookie__txt { margin: 0; flex: 1 1 auto; }
.cookie__txt a { color: inherit; text-decoration-color: var(--son); text-underline-offset: 3px; }
.cookie__btns { display: flex; flex: none; gap: 8px; }
.cookie__btns button { min-width: 92px; padding: 10px 16px; border: 1px solid var(--son); background: transparent; color: var(--than); font: 600 11px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.cookie__btns .cookie__yes { background: var(--vang); border-color: var(--vang); }
.cookie__btns button:hover, .cookie__btns button:focus-visible { background: var(--than); border-color: var(--than); color: var(--kem); outline: none; }
.footer__legal { margin-top: 10px !important; }
.footer__legal a, .footer__legal button { color: inherit; text-decoration: underline; text-decoration-color: rgba(243, 223, 180, .5); text-underline-offset: 4px; }
.footer__legal button { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
@media (max-width: 640px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 12px; bottom: 10px; padding: 14px 16px; font-size: 14.5px; }
  .cookie__btns button { flex: 1; }
}
