/* Lux Scroll Story — homepage (see mu-plugins/lux-story.php) */
html body.home { overflow: visible !important; }              /* body was a scroll container → breaks position:sticky */
.elementor-85 .elementor-element-9d38395 { padding: 0 !important; transform: none !important; --padding-top: 0px; --padding-bottom: 0px; }
.elementor-85 .elementor-element-9d38395 > .e-con-inner { padding: 0 !important; max-width: none !important; }
.elementor-85 .elementor-element-luxst01 { width: 100% !important; max-width: none !important; }
.elementor-85 .elementor-element-luxst01 > .elementor-widget-container { margin: 0 !important; padding: 0 !important; }

.lxs { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: 100vh; background: #05070d; color: #fff; isolation: isolate; }
.lxs.is-ready { height: 470vh; }
.lxs-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.lxs-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.lxs-h { position: absolute; left: 0; right: 0; top: 42%; margin: 0; text-align: center; font: 700 clamp(48px, 10vw, 180px)/1 "IBM Plex Sans Thai", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.03em; color: #ff2d4f; }
.lxs.is-ready .lxs-h { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.lxs-eyebrow, .lxs-slogan { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; width: min(92vw, 980px); text-align: center; pointer-events: none; }
.lxs-eyebrow { top: 30%; font-size: clamp(13px, 1.25vw, 17px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.lxs-slogan { top: 60%; font-size: clamp(17px, 2.1vw, 30px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: rgba(255, 255, 255, .9); }
.lxs-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .5); pointer-events: none; }
.lxs-hint::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: lxsHint 1.8s ease-in-out infinite; }
@keyframes lxsHint { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
.lxs:not(.is-ready) .lxs-hint, .lxs:not(.is-ready) .lxs-cap { display: none; }

.lxs-cap { position: absolute; left: max(6vw, 24px); top: 50%; width: min(40vw, 520px); opacity: 0; visibility: hidden; transform: translateY(calc(-50% + var(--dy, 0px))); text-shadow: 0 2px 18px rgba(0, 0, 0, .45); will-change: opacity, transform; }
.lxs-no { display: inline-block; font: 600 13px/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .12em; color: #fff; background: #e4002b; padding: 6px 9px; border-radius: 999px; text-shadow: none; }
.lxs-cap h3 { margin: 16px 0 10px; font-size: clamp(32px, 4.4vw, 70px); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.lxs-cap p { margin: 0 0 18px; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.lxs-cap ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lxs-cap li a { display: inline-block; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: #fff !important; text-decoration: none !important; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-shadow: none; transition: background .2s; }
.lxs-cap li a:hover, .lxs-cap li a:focus-visible { background: rgba(255, 255, 255, .26); }

@media (max-width: 760px) {
	.lxs.is-ready { height: 420vh; }
	.lxs-cap { left: 20px; right: 20px; width: auto; top: auto; bottom: 7vh; transform: translateY(var(--dy, 0px)); }
	.lxs-cap h3 { margin: 12px 0 8px; }
	.lxs-cap p { margin-bottom: 12px; }
	.lxs-cap li a { font-size: 12px; padding: 6px 10px; }
}
