/* Màn mở đầu "lốc chữ" (Claude 18/11/2026) — intro.js. Tone port: nền #0a0908, chữ trắng, Montserrat 900;
   Great Vibes chỉ ở câu "From insight, to final frame.". Font đã có sẵn trong base.css. Tiền tố lr- để không đụng base.css. */
section.lr { position: relative; display: block; width: 100%; max-width: none; height: 100vh; height: 100svh; margin: 0; padding: 0; background: #0a0908; color: #fff; overscroll-behavior: none; font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif; }
.lr *, .lr *::before, .lr *::after { box-sizing: border-box; }
.lr-pin { position: relative; height: 100%; overflow: hidden; }
.lr-stage { position: absolute; inset: 0; perspective: 1100px; pointer-events: none; }
.lr-ring { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.lr-ring b { position: absolute; left: 0; top: 0; display: block; white-space: pre; font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: 0; color: #fff; will-change: transform; opacity: 0; }
.lr-ring b.s { font-weight: 600; }
.lr-pct { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .2em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .7); opacity: 0; }
.lr-top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; gap: 16px; padding: clamp(1.4rem, 4vh, 2.6rem) clamp(1rem, 4vw, 3.5rem) 0; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: 0; }
.lr-name em { font-style: normal; color: rgba(255, 255, 255, .75); }
.lr-role { color: rgba(255, 255, 255, .75); }
.lr-role::before { content: '–'; margin: 0 .7em; color: rgba(255, 255, 255, .45); }
.lr-based { color: rgba(255, 255, 255, .75); letter-spacing: .5em; }
.lr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.lr-tag { position: absolute; left: 0; right: 0; margin: 0; text-align: center; font-family: "Great Vibes", cursive; font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.2; color: #fff; clip-path: inset(-40% 100% -40% -10%); }
/* chân khung (19/11): 1 câu giới thiệu (trái) + 3 CTA (phải), cùng hàng đáy; hiện sau câu viết tay */
.lr-foot { position: absolute; left: clamp(1rem, 4vw, 3.5rem); right: clamp(1rem, 4vw, 3.5rem); bottom: clamp(1.6rem, 6vh, 3.4rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 1.4rem 3rem; flex-wrap: wrap; }
.lr-foot > * { opacity: var(--k, 0); transform: translateY(calc((1 - var(--k, 0)) * 14px)); }
.lr-lede { margin: 0; max-width: 46ch; font-size: clamp(.92rem, 1.15vw, 1.08rem); font-weight: 400; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.lr-cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.lr-btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.35em; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.lr-btn i { font-style: normal; font-weight: 400; letter-spacing: 0; }
.lr-btn:hover, .lr-btn:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .08); outline: none; }
.lr-btn--main { background: #fff; border-color: #fff; color: #0a0908; }
.lr-btn--main:hover, .lr-btn--main:focus-visible { background: rgba(255, 255, 255, .86); color: #0a0908; }
@media (max-width: 45em) {
	.lr-top { flex-direction: column; gap: .5rem; }
	.lr-based { letter-spacing: .2em; }
	.lr-foot { bottom: clamp(1.2rem, 4vh, 2.2rem); gap: 1.1rem; }
	.lr-lede { font-size: .9rem; }
	.lr-foot > .lr-cta { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
	.lr-btn { justify-content: center; padding: .95em 1em; font-size: .6rem; letter-spacing: .14em; }
	.lr-btn--main { grid-column: 1 / -1; }
	.lr-role { display: block; margin-top: .5rem; }
	.lr-role::before { content: none; }
}
/* hero cũ (#top, index.js): tên + câu viết tay + 4 đoạn giới thiệu đều đã nằm trong màn lốc → ẩn hẳn */
html.has-intro #top { display: none !important; }
/* chống chớp lúc mở trang (class do nginx gắn trong <head>): phủ đen dưới lớp loader (z 1000) tới khi intro.js gắn xong */
html.lr-wait::after { content: ''; position: fixed; inset: 0; z-index: 999; background: #0a0908; }

/* chui qua chữ O (19/11): khung ghim cố định, nền trong suốt, lớp đen có lỗ elip = lòng chữ O (mask do intro.js vẽ) */
.lr-hole { position: absolute; inset: 0; background: #0a0908; display: none; }
.lr.is-zoom { background: transparent; }
.lr.is-zoom .lr-pin { position: fixed; inset: 0; height: auto; z-index: 30; pointer-events: none; }
.lr.is-zoom .lr-hole { display: block; }
.lr.is-zoom .lr-stage { will-change: transform; }
