/* Trang hội viên cho KHÁCH chưa đăng nhập — lối TẠP CHÍ của hãng sơn châu Âu (Farrow & Ball, Little Greene), user chốt
   05/10/2026 sau hai bản bị chê (nền tối + serif; thẻ bo tròn + icon nền nhạt "giống AI"): nền trắng, CHỈ Montserrat, chữ rất
   lớn nét mảnh, GÓC VUÔNG toàn bộ, nhiều ảnh lớn đặt cạnh ô màu sơn KM đặc, đường kẻ mảnh, lưới bất đối xứng.
   Hiệu ứng chỉ transform/opacity/clip-path; vòng lặp dừng khi khuất màn hình. */
body.g-guest {
  --e-ink: #16201a; --e-ink2: #3d4a42; --e-mut: #6f7b73; --e-line: #dfe7e1; --e-paper: #fff; --e-stone: #eef3ef;
  --e-acc: #315d40; --e-acc-d: #24472f; --e-rule: #315d40; --e-ease: cubic-bezier(.22, .8, .2, 1);
  background: var(--e-paper); color: var(--e-ink); font-family: Montserrat, "Montserrat Fallback", system-ui, sans-serif; overflow-x: hidden;
}
body.g-guest *, body.g-guest *::before, body.g-guest *::after { border-radius: 0 !important; }
body.g-guest header.top { border-bottom: 1px solid var(--e-rule); }
body.g-guest header.top .wrap, body.g-guest .foot .wrap { max-width: none; width: calc(100% - 64px); padding: 0; }
body.g-guest header.top .btn { background: var(--e-acc); color: #fff; border-color: var(--e-acc); }
body.g-guest .foot { border-top: 1px solid var(--e-rule); }

.e-wrap { width: calc(100% - 64px); margin: 0 auto; }
.e-lbl { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--e-acc); }
.e-num { font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--e-mut); font-variant-numeric: tabular-nums; }
.e-h2 { font-size: clamp(40px, 6vw, 96px); line-height: .98; letter-spacing: -.045em; font-weight: 300; margin: 0; }
.e-h2 b { font-weight: 600; color: var(--e-acc); }
.e-p { font-size: 16px; line-height: 1.75; color: var(--e-ink2); max-width: 460px; margin: 0; }

.e-btn { display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 30px 0 16px; background: var(--e-acc); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .35s var(--e-ease), gap .35s var(--e-ease); }
.e-btn:hover { background: var(--e-acc-d); gap: 20px; }
.e-btn .g { display: grid; place-items: center; width: 32px; height: 32px; background: #fff; }
.e-btn.inv { background: #fff; color: var(--e-acc); }
.e-btn.inv:hover { background: var(--e-stone); }
.e-a { color: var(--e-acc); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--e-rule); padding-bottom: 4px; }

/* Ô màu sơn: hình vuông đặc, tên + mã như mẫu sơn thật */
.e-sw { position: relative; background: var(--sw); color: var(--sw-ink, #111); padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; }
.e-sw small { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.e-sw b { font-size: clamp(16px, 1.4vw, 21px); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }

/* Ảnh mở màn khi cuộn tới */
.e-img { position: relative; overflow: hidden; background: var(--e-stone); margin: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--e-ease); transition-delay: var(--d, 0s); }
.e-img.in { clip-path: inset(0 0 0 0); }
.e-img img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--e-ease); }
.e-img.in img { transform: scale(1); }
.e-img figcaption { position: absolute; left: 0; bottom: 0; background: #fff; padding: 10px 14px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }

/* ── HERO ── */
.e-hero { padding: 40px 0 0; }
.e-hero-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 20px; border-bottom: 1px solid var(--e-rule); }
.e-hero-grid { display: grid; grid-template-columns: 5fr 7fr; border-bottom: 1px solid var(--e-rule); }
.e-hero-copy { padding: 56px 56px 48px 0; border-right: 1px solid var(--e-rule); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.e-h1 { font-size: clamp(48px, 6.6vw, 118px); line-height: .92; letter-spacing: -.055em; font-weight: 300; margin: 0; }
.e-h1 b { font-weight: 600; display: block; color: var(--e-acc); }
.e-hero-copy .e-p { font-size: 17px; margin-top: 30px; }
.e-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 34px; }
.e-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--e-rule); }
.e-facts div { padding: 18px 16px 0 0; }
.e-facts b { display: block; font-size: 30px; font-weight: 300; letter-spacing: -.03em; color: var(--e-acc); }
.e-facts span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--e-mut); }
.e-hero-art { display: grid; grid-template-columns: 1.35fr 1fr; height: clamp(520px, calc(100vh - 200px), 660px); }
.e-hero-art .big img { transform-origin: 50% 40%; }
.e-hero-art .side { display: grid; grid-template-rows: 1.2fr 1fr; border-left: 1px solid var(--e-rule); }
.e-hero-art .side .e-sw { border-top: 1px solid var(--e-rule); }

/* Dải tên màu chạy */
.e-ticker { border-bottom: 1px solid var(--e-rule); overflow: hidden; white-space: nowrap; }
.e-ticker-in { display: inline-flex; animation: eTick 60s linear infinite; }
.e-ticker:not(.vis) .e-ticker-in { animation-play-state: paused; }
.e-ticker span { display: inline-flex; align-items: center; gap: 14px; padding: 20px 40px 20px 0; font-size: clamp(18px, 2vw, 28px); font-weight: 300; letter-spacing: -.01em; }
.e-ticker i { width: 24px; height: 24px; background: var(--sw); flex: none; }
.e-ticker { background: var(--e-acc); color: #fff; }
.e-ticker em { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .16em; color: rgba(255, 255, 255, .65); }
.e-ticker i { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
@keyframes eTick { to { transform: translateX(-50%); } }

/* ── KHỐI MỤC ── */
.e-sec { padding: 130px 0 0; }
.e-sec-head { display: grid; grid-template-columns: 5fr 7fr; margin-bottom: 64px; align-items: end; }
.e-sec-head .e-p { justify-self: end; }
.e-sec-head .e-lbl { display: block; margin-bottom: 22px; }

/* ── HẠNG ── */
.e-tiers { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--e-rule); border-bottom: 1px solid var(--e-rule); }
.e-tier { border-right: 1px solid var(--e-line); padding: 24px 20px 30px; display: flex; flex-direction: column; gap: 20px; }
.e-tier:first-child { padding-left: 0; }
.e-tier:last-child { border-right: 0; padding-right: 0; }
.e-tier .rm { font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--e-mut); }
.e-tier .e-img { aspect-ratio: 1; }
.e-tier .bar { height: 8px; background: var(--k-metal); }
.e-tier h3 { margin: 0; font-size: clamp(26px, 2.4vw, 40px); font-weight: 300; letter-spacing: -.035em; line-height: 1; }
.e-tier p { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.e-tier:hover .e-img.in img { transform: scale(1.05); }
[data-t="bronze"]   { --k-metal: linear-gradient(90deg, #e8bf9c, #b07041, #8a4f2b); }
[data-t="silver"]   { --k-metal: linear-gradient(90deg, #f1f3f5, #b8c0c7, #8b949c); }
[data-t="gold"]     { --k-metal: linear-gradient(90deg, #f7e6a4, #d1ab3a, #9e7a1a); }
[data-t="platinum"] { --k-metal: linear-gradient(90deg, #e3f1f5, #93b9c6, #5a8796); }
[data-t="diamond"]  { --k-metal: linear-gradient(90deg, #dfe8ff, #7fa1ee, #3a5fbf); }

.e-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 80px; font-size: 14px; }
.e-table th, .e-table td { padding: 20px 14px; border-bottom: 1px solid var(--e-line); text-align: center; }
.e-table thead th { border-bottom: 1px solid var(--e-rule); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; vertical-align: bottom; }
.e-table th:first-child, .e-table td:first-child { text-align: left; padding-left: 0; width: 38%; }
.e-table td:first-child { color: var(--e-ink); font-size: 15px; }
.e-table thead i { display: block; width: 100%; height: 6px; margin-bottom: 12px; background: var(--k-metal); }
.e-table .pts { font-size: 22px; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.e-table .ok::before { content: ''; display: inline-block; width: 9px; height: 9px; background: var(--e-acc); }
.e-note { margin: 18px 0 0; font-size: 12px; color: var(--e-mut); }


/* Thẻ hội viên đè trên ảnh từng hạng + danh sách quyền lợi tăng dần */
.e-card { position: absolute; left: 12px; bottom: 12px; width: 46%; aspect-ratio: 1.586; padding: 9px 11px; display: flex; flex-direction: column; justify-content: space-between; background: var(--k-metal); color: rgba(0, 0, 0, .75); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.e-card[data-t="diamond"] { color: #fff; }
.e-card small { white-space: nowrap; font-size: 7.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.e-card b { font-size: clamp(12px, 1vw, 15px); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.e-tier .perks { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--e-line); }
.e-tier .perks li { position: relative; padding: 11px 0 11px 16px; border-bottom: 1px solid var(--e-line); font-size: 13.5px; line-height: 1.45; color: var(--e-mut); }
.e-tier .perks li::before { content: ''; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; background: var(--e-line); }
.e-tier .perks li.new { color: var(--e-ink); font-weight: 500; }
.e-tier .perks li.new::before { background: var(--e-acc); }
.e-tier .perks li b { font-size: 18px; font-weight: 600; color: var(--e-acc); }
.e-tier .perks li em { font-style: normal; margin-left: 8px; padding: 2px 6px; background: var(--e-acc); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .08em; vertical-align: 2px; }
.e-table .pts.strong { font-weight: 500; color: var(--e-acc); }
.e-table .no::before { content: ''; display: inline-block; width: 12px; height: 1px; background: #b9c3bc; vertical-align: middle; }
.e-table .badge i { display: inline-block; width: 26px; height: 8px; background: var(--k-metal); }

/* ── TÍCH ĐIỂM: khối nền xanh đặc ── */
.e-sec.green { background: var(--e-acc); color: #fff; padding: 120px 0; margin-top: 130px; }
.e-sec.green .e-lbl, .e-sec.green .e-h2 b { color: #cfe3d5; }
.e-sec.green .e-p, .e-sec.green .e-earn p { color: rgba(255, 255, 255, .78); }
.e-sec.green .e-earn, .e-sec.green .e-earn > div { border-color: rgba(255, 255, 255, .25); }
.e-earn { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--e-rule); border-bottom: 1px solid var(--e-rule); }
.e-earn > div { padding: 30px 26px 36px 0; border-right: 1px solid var(--e-line); }
.e-earn > div + div { padding-left: 26px; }
.e-earn > div:last-child { border-right: 0; }
.e-earn b { display: block; font-size: clamp(64px, 8vw, 140px); font-weight: 200; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.e-earn h3 { margin: 26px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.e-earn p { margin: 0; font-size: 14px; color: var(--e-ink2); line-height: 1.65; max-width: 240px; }

/* ── QUYỀN LỢI: hàng tạp chí ảnh lớn + chữ ── */
.e-feature { display: grid; grid-template-columns: 7fr 5fr; border-top: 1px solid var(--e-rule); }
.e-feature.rev { grid-template-columns: 5fr 7fr; }
.e-feature.rev .e-feature-copy { order: -1; border-right: 1px solid var(--e-rule); border-left: 0; padding-left: 0; }
.e-feature .e-img { aspect-ratio: 4 / 3; }
.e-feature-copy { border-left: 1px solid var(--e-rule); padding: 40px 0 0 48px; display: flex; flex-direction: column; gap: 40px; position: relative; }
.e-feature-copy .big { font-size: clamp(72px, 9vw, 150px); font-weight: 200; letter-spacing: -.06em; line-height: .8; color: var(--e-acc); }
.e-feature-copy h3 { margin: 0 0 16px; font-size: clamp(26px, 2.6vw, 42px); font-weight: 300; letter-spacing: -.035em; line-height: 1.08; }
.e-feature-copy .e-sw { margin-top: auto; align-self: flex-end; width: 44%; aspect-ratio: 1; }
.e-feature.rev .e-feature-copy .e-sw { margin-right: 48px; }
.e-trio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--e-rule); border-bottom: 1px solid var(--e-rule); }
.e-trio article { border-right: 1px solid var(--e-rule); }
.e-trio article:last-child { border-right: 0; }
.e-trio .e-img { aspect-ratio: 1; }
.e-trio .t { padding: 26px 26px 34px; }
.e-trio article:first-child .t { padding-left: 0; }
.e-trio h3 { margin: 10px 0; font-size: 22px; font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.e-trio p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--e-ink2); }

/* ── CỘNG ĐỒNG: lưới ảnh dày ── */
.e-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #fff; }
.e-wall .e-img { aspect-ratio: 1; }
.e-wall .e-img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.e-wall .dots { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 0; }
.e-wall .dots i { width: 18px; height: 18px; background: var(--sw); border: 2px solid #fff; margin-left: -2px; }

/* ── BƯỚC + XẾP HẠNG ── */
.e-split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--e-rule); border-bottom: 1px solid var(--e-rule); }
.e-split > div { padding: 48px 48px 48px 0; }
.e-split > div + div { padding: 48px 0 48px 48px; border-left: 1px solid var(--e-rule); }
.e-steps { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: s; }
.e-steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; padding: 22px 0; border-top: 1px solid var(--e-line); }
.e-steps li::before { content: '0' counter(s); font-size: 28px; font-weight: 300; letter-spacing: -.04em; line-height: 1; color: var(--e-acc); }
.e-steps b { display: block; font-size: 17px; font-weight: 500; }
.e-steps span { display: block; margin-top: 6px; font-size: 14px; color: var(--e-ink2); line-height: 1.6; }
.e-board ol { list-style: none; margin: 34px 0 0; padding: 0; }
.e-board li { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--e-line); }
.e-board .r { font-size: 26px; font-weight: 300; letter-spacing: -.04em; color: var(--e-acc); }
.e-board .nm { font-size: 16px; font-weight: 500; }
.e-board .tb { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--e-mut); }
.e-board .tb i { width: 18px; height: 6px; background: var(--k-metal); }
.e-board .pt { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
.e-board .empty { margin-top: 34px; padding: 22px 0; border-top: 1px solid var(--e-line); color: var(--e-mut); }

/* ── HỎI ĐÁP ── */
.e-faq { display: grid; grid-template-columns: 5fr 7fr; border-top: 1px solid var(--e-rule); }
.e-faq > div:first-child { padding: 40px 48px 0 0; }
.e-faq details { border-bottom: 1px solid var(--e-line); }
.e-faq summary { cursor: pointer; list-style: none; padding: 26px 50px 26px 0; font-size: 19px; font-weight: 400; letter-spacing: -.01em; position: relative; }
.e-faq summary::-webkit-details-marker { display: none; }
.e-faq summary::before, .e-faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 16px; height: 1.5px; background: var(--e-acc); transition: transform .4s var(--e-ease); }
.e-faq summary::after { transform: rotate(90deg); }
.e-faq details[open] summary::after { transform: rotate(0); }
.e-faq details p { margin: 0 0 26px; font-size: 15px; line-height: 1.75; color: var(--e-ink2); max-width: 600px; }

/* ── CTA ẢNH TRÀN ── */
.e-final { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; margin-top: 130px; }
.e-final > img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); }
.e-final::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(18, 44, 28, .62)), linear-gradient(90deg, rgba(18, 44, 28, .6), rgba(18, 44, 28, 0) 65%); }
.e-final-in { position: relative; z-index: 2; width: calc(100% - 64px); margin: 0 auto; padding: 0 0 64px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.e-final h2 { font-size: clamp(48px, 8vw, 150px); line-height: .9; letter-spacing: -.055em; font-weight: 300; margin: 0; }
.e-final h2 b { font-weight: 600; }
.e-final p { margin: 22px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }

/* Chữ hiện khi cuộn */
.e-r { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--e-ease), transform 1s var(--e-ease); transition-delay: var(--d, 0s); }
.e-r.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .e-hero-grid, .e-sec-head, .e-feature, .e-feature.rev, .e-split, .e-faq { grid-template-columns: 1fr; }
  .e-hero-copy { border-right: 0; padding: 40px 0; }
  .e-hero-art { height: auto; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--e-rule); }
  .e-hero-art .big { grid-column: 1 / 3; aspect-ratio: 4 / 3; }
  .e-hero-art .side { grid-column: 1 / 3; grid-template-columns: 1fr 1fr; grid-template-rows: none; border-left: 0; border-top: 1px solid var(--e-rule); }
  .e-hero-art .side > * { aspect-ratio: 1; }
  .e-hero-art .side .e-sw { border-top: 0; border-left: 1px solid var(--e-rule); }
  .e-sec-head .e-p { justify-self: start; margin-top: 24px; }
  .e-tiers { grid-template-columns: repeat(5, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .e-tier { scroll-snap-align: start; }
  .e-feature-copy, .e-feature.rev .e-feature-copy { order: 0; border: 0; border-top: 1px solid var(--e-rule); padding: 34px 0 0; }
  .e-feature.rev .e-feature-copy .e-sw { margin-right: 0; }
  .e-earn { grid-template-columns: 1fr 1fr; }
  .e-earn > div:nth-child(2) { border-right: 0; }
  .e-earn > div:nth-child(3) { padding-left: 0; }
  .e-earn > div:nth-child(n+3) { border-top: 1px solid var(--e-line); }
  .e-split > div, .e-split > div + div { padding: 40px 0; border-left: 0; }
  .e-split > div + div { border-top: 1px solid var(--e-rule); }
  .e-faq > div:first-child { padding: 40px 0 10px; }
}
@media (max-width: 680px) {
  .e-wrap, body.g-guest header.top .wrap, body.g-guest .foot .wrap, .e-final-in { width: calc(100% - 32px); }
  .e-sec { padding-top: 90px; }
  .e-hero { padding-top: 24px; }
  .e-hero-top .e-num { display: none; }
  .e-facts b { font-size: 24px; }
  .e-trio { grid-template-columns: 1fr; }
  .e-trio article { border-right: 0; border-bottom: 1px solid var(--e-rule); }
  .e-trio article:last-child { border-bottom: 0; }
  .e-trio .t { padding: 24px 0 30px; }
  .e-wall { grid-template-columns: 1fr 1fr; }
  .e-earn b { font-size: 56px; }
  .e-table, .e-note { display: none; }
  .e-final { min-height: 72vh; margin-top: 90px; }
  .e-final::before { background: linear-gradient(180deg, rgba(18, 44, 28, 0) 20%, rgba(18, 44, 28, .82) 75%); }
  .e-final-in { grid-template-columns: 1fr; padding-bottom: 40px; }
  .e-board li { grid-template-columns: 40px 1fr auto; }
  .e-board .tb { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .e-r, .e-img, .e-img img { opacity: 1; transform: none !important; clip-path: none !important; transition: none !important; }
  .e-ticker-in { animation: none; }
}

/* Nút hành động bo tròn (user chốt 06/10/2026) — ngoại lệ duy nhất của luật góc vuông toàn trang. */
body.g-guest .e-btn, body.g-guest header.top .btn { border-radius: 999px !important; }
body.g-guest .e-btn { padding: 0 30px 0 14px; }
body.g-guest .e-btn .g { border-radius: 50% !important; }
