/* =====================================================================
   Learning Online 2026 – public pages (home / about / course services)
   ===================================================================== */
:root {
	--nav-h: 76px;
	--navy-950: #030a1b;
	--navy-900: #071530;
	--navy-800: #0c2048;
	--navy-700: #133066;
	--ink: #0f1b33;
	--text: #26324b;
	--muted: #63708a;
	--line: rgba(15, 27, 51, .09);
	--bg: #f3f6fb;
	--card: #ffffff;
	--sky: #81c2e0;
	--cyan: #4fc8f5;
	--blue: #2f6ff6;
	--violet: #8b6cff;
	--gold: #e0a72d;
	--gold-2: #f7e695;
	--red: #ff3d5a;
	--green: #1fb27a;
	--grad: linear-gradient(115deg, #8fe0ff 0%, #4fa3ff 45%, #9a7bff 100%);
	--grad-gold: linear-gradient(115deg, #fff1b0 0%, #f2c14e 45%, #e08a2d 100%);
	--grad-cta: linear-gradient(120deg, #ff5f6d 0%, #ff9a3c 100%);
	--radius: 18px;
	--radius-sm: 12px;
	--shadow-sm: 0 1px 2px rgba(10, 25, 60, .06), 0 4px 14px rgba(10, 25, 60, .06);
	--shadow-md: 0 10px 30px rgba(10, 25, 60, .12), 0 2px 6px rgba(10, 25, 60, .06);
	--shadow-lg: 0 30px 80px rgba(3, 10, 27, .45);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--font-head: 'Kanit', 'IBM Plex Sans Thai', system-ui, sans-serif;
	--font-body: 'IBM Plex Sans Thai', 'Kanit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.lo {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
.lo :where(img) { max-width: 100%; height: auto; }
.lo a { color: inherit; text-decoration: none; }
.lo :where(h1, h2, h3, h4, h5) { font-family: var(--font-head); color: var(--ink); line-height: 1.3; margin: 0; font-weight: 600; }
.lo :where(p) { margin: 0; }
.lo :where(button) { font: inherit; }
.lo :focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.lo-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .lo-wrap { padding: 0 28px; } }

.lo-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lo-grad--gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }

/* ---------- buttons ---------- */
.lo-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.4em; border-radius: 999px; border: 1px solid transparent;
	font-family: var(--font-head); font-weight: 500; font-size: 15px; line-height: 1.25; text-align: center;
	cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
	background: var(--navy-800); color: #fff !important;
}
.lo-btn:hover { transform: translateY(-2px); }
.lo-btn--lg { padding: .95em 1.7em; font-size: 16px; }
.lo-btn--sm { padding: .55em 1.05em; font-size: 14px; }
.lo-btn--primary { background: linear-gradient(120deg, #2f6ff6, #6b5cff); box-shadow: 0 10px 24px rgba(47, 111, 246, .32); }
.lo-btn--primary:hover { box-shadow: 0 14px 32px rgba(47, 111, 246, .42); }
.lo-btn--gold { background: var(--grad-gold); color: #2b1a00 !important; box-shadow: 0 10px 26px rgba(224, 167, 45, .38); }
.lo-btn--gold:hover { box-shadow: 0 16px 36px rgba(224, 167, 45, .5); }
.lo-btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lo-btn--glass:hover { background: rgba(255, 255, 255, .18); }
.lo-btn--ghost { background: #fff; color: var(--navy-800) !important; border-color: rgba(19, 48, 102, .16); box-shadow: var(--shadow-sm); }
.lo-btn--ghost:hover { border-color: var(--blue); color: var(--blue) !important; }

.lo-round {
	width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
	background: #fff; border: 1px solid var(--line); color: var(--navy-800); cursor: pointer; box-shadow: var(--shadow-sm);
	transition: transform .2s var(--ease), background .2s, color .2s;
}
.lo-round:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px); }

/* ---------- navigation ---------- */
.lo-nav {
	position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--nav-h);
	background: rgba(255, 255, 255, .86);
	backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid rgba(255, 255, 255, .5);
	transition: box-shadow .3s, background .3s;
}
.lo-nav.is-scrolled { background: rgba(255, 255, 255, .95); box-shadow: 0 8px 30px rgba(7, 21, 48, .12); }
.lo-nav__inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 16px; }
.lo-nav__brand { flex: 0 0 auto; display: flex; align-items: center; }
.lo-nav__brand img { width: clamp(170px, 18vw, 240px); height: auto; display: block; }

.lo-search { display: flex; align-items: center; background: #eef3fb; border: 1px solid rgba(19, 48, 102, .1); border-radius: 999px; padding: 4px 4px 4px 14px; transition: box-shadow .2s, border-color .2s, background .2s; }
.lo-search:focus-within { background: #fff; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(79, 200, 245, .18); }
.lo-search input { border: 0; background: transparent; outline: none; font: inherit; font-size: 14px; color: var(--ink); min-width: 0; width: 100%; padding: 4px 0; }
.lo-search button { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: linear-gradient(120deg, #2f6ff6, #4fc8f5); display: grid; place-items: center; }
.lo-search--bar { display: none; }

.lo-nav__toggle { margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.lo-nav__toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy-800); transition: transform .3s var(--ease), opacity .2s; }
.lo-nav.is-open .lo-nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lo-nav.is-open .lo-nav__toggle span:nth-child(2) { opacity: 0; }
.lo-nav.is-open .lo-nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile / tablet panel */
.lo-menu {
	position: fixed; top: var(--nav-h); left: 0; right: 0; max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
	background: rgba(255, 255, 255, .98); border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgba(7, 21, 48, .18);
	padding: 16px; visibility: hidden; opacity: 0; transform: translateY(-8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.lo-nav.is-open .lo-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.lo-search--panel { margin-bottom: 12px; }
.lo-menu__list { list-style: none; margin: 0; padding: 0; }
.lo-menu__list > li { border-bottom: 1px solid var(--line); }
.lo-menu__link {
	display: flex; width: 100%; align-items: center; gap: 8px; padding: 13px 6px; border: 0; background: none; cursor: pointer;
	font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--ink); text-align: left;
}
.lo-menu__link .fa-chevron-down { margin-left: auto; font-size: 12px; transition: transform .25s; }
.lo-menu__link[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.lo-menu__link.is-active { color: var(--blue); }
.lo-menu__link--member { color: var(--gold); }
.lo-drop { list-style: none; margin: 0; padding: 0 0 10px 10px; display: none; }
.lo-menu__sub.is-open > .lo-drop { display: block; }
.lo-drop a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--text); }
.lo-drop a:hover, .lo-drop a:focus-visible { background: #eef4ff; color: var(--blue); }
.lo-drop__danger { color: #e0243b !important; }

@media (min-width: 1180px) {
	.lo-nav__inner { padding: 0 24px; gap: 18px; }
	.lo-nav__toggle, .lo-search--panel { display: none; }
	.lo-search--bar { display: flex; width: 210px; order: 3; }
	.lo-menu {
		position: static; visibility: visible; opacity: 1; transform: none; max-height: none; overflow: visible;
		background: none; border: 0; box-shadow: none; padding: 0; margin-left: auto; order: 2;
	}
	.lo-menu__list { display: flex; align-items: center; gap: 2px; }
	.lo-menu__list > li { border: 0; position: relative; }
	.lo-menu__link { padding: 9px 11px; font-size: 15px; border-radius: 10px; white-space: nowrap; position: relative; }
	.lo-menu__link .fa-chevron-down { margin-left: 2px; font-size: 10px; }
	.lo-menu__link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
	.lo-menu__link:hover::after, .lo-menu__link.is-active::after, .lo-menu__sub.is-open > .lo-menu__link::after { transform: scaleX(1); }
	.lo-menu__login { background: var(--navy-800); color: #fff !important; padding: 9px 16px; border-radius: 999px; margin-left: 6px; }
	.lo-menu__login::after { display: none; }
	.lo-drop {
		display: block; position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px; padding: 10px;
		background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
		opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
	}
	.lo-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
	.lo-drop--grid { display: grid; grid-template-columns: 1fr 1fr; min-width: 380px; gap: 2px; }
	.lo-drop--end { left: auto; right: 0; }
	.lo-menu__sub:hover > .lo-drop, .lo-menu__sub.is-open > .lo-drop, .lo-menu__sub:focus-within > .lo-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

/* ---------- hero (home) ---------- */
.lo-hero {
	position: relative; isolation: isolate; overflow: hidden; color: #fff;
	min-height: clamp(560px, 86vh, 820px); display: flex; align-items: center;
	padding: calc(var(--nav-h) + 48px) 0 120px; background: var(--navy-950);
}
.lo-hero__bg {
	position: absolute; inset: 0; z-index: -3;
	background: url(../assets/img/bg-ln.jpg) center 70% / cover no-repeat;
	animation: lo-kenburns 26s ease-in-out infinite alternate;
}
.lo-hero::before {
	content: ''; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(60% 50% at 50% 0%, rgba(3, 10, 27, .2), rgba(3, 10, 27, .75) 80%),
		linear-gradient(180deg, rgba(3, 10, 27, .55) 0%, rgba(3, 10, 27, .15) 40%, rgba(3, 10, 27, .55) 100%);
}
.lo-hero__grid {
	position: absolute; inset: 0; z-index: -1; opacity: .35;
	background-image: linear-gradient(rgba(129, 194, 224, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(129, 194, 224, .16) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%);
}
.lo-hero__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.lo-hero__orb--a { width: 420px; height: 420px; left: -120px; top: 12%; background: #2f6ff6; animation: lo-float 14s ease-in-out infinite; }
.lo-hero__orb--b { width: 360px; height: 360px; right: -100px; top: 30%; background: #8b6cff; opacity: .4; animation: lo-float 17s ease-in-out infinite reverse; }
.lo-hero__inner { text-align: center; position: relative; }
.lo-hero__title {
	font-family: var(--font-head); font-weight: 700; color: #fff; text-transform: uppercase;
	font-size: clamp(44px, 9vw, 112px); letter-spacing: .02em; line-height: 1.02;
	text-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.lo-hero__word { display: inline-block; animation: lo-rise 1s var(--ease) both; }
.lo-hero__word + .lo-hero__word { animation-delay: .12s; }

/* premium gradient text with a slow light sweep */
.lo-hero__word, .lo-hero__lead-main, .lo-hero__lead-sub, .lo-pagehero__title {
	-webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
	background-size: 220% 100%;
}
.lo-grad { background-image: linear-gradient(100deg, #8fe0ff 0%, #4fa3ff 30%, #a98bff 50%, #4fa3ff 70%, #8fe0ff 100%); background-size: 220% 100%; animation: lo-sheen 8s ease-in-out infinite; }
.lo-grad--gold { background-image: linear-gradient(100deg, #fff1b0 0%, #f2c14e 30%, #ffe39a 50%, #e08a2d 75%, #fff1b0 100%); }
.lo-pagehero__title { background-image: linear-gradient(100deg, #ffffff 0%, #dff1ff 35%, #9fc6ff 55%, #ffffff 80%); animation: lo-rise .9s var(--ease) both, lo-sheen 9s 1s ease-in-out infinite; filter: drop-shadow(0 8px 26px rgba(120, 180, 255, .3)); }
.lo-hero__word {
	background-image: linear-gradient(100deg, #ffffff 0%, #dff1ff 30%, #ffffff 45%, #a9cfff 60%, #ffffff 80%, #e4f2ff 100%);
	text-shadow: none; filter: drop-shadow(0 10px 32px rgba(120, 180, 255, .35));
	animation: lo-rise 1s var(--ease) both, lo-sheen 7s 1.2s ease-in-out infinite;
}
.lo-hero__word.lo-grad {
	background-image: linear-gradient(100deg, #8fe8ff 0%, #4fa3ff 30%, #b9a2ff 50%, #4fa3ff 70%, #8fe8ff 100%);
	filter: drop-shadow(0 10px 34px rgba(79, 163, 255, .55));
	animation-delay: .12s, 1.4s;
}
.lo-hero__lead {
	margin: 22px auto 0; max-width: 1060px; font-family: var(--font-head); font-weight: 500; text-wrap: balance;
	font-size: clamp(17px, 2.2vw, 24px); line-height: 1.6;
	animation: lo-rise 1s .25s var(--ease) both;
}
.lo-hero__lead-main {
	background-image: linear-gradient(100deg, #fff6c9 0%, #f7d77a 25%, #ffe9a8 45%, #f2b84b 65%, #fff1b8 100%);
	filter: drop-shadow(0 4px 18px rgba(242, 184, 75, .35));
	animation: lo-sheen 8s 1.6s ease-in-out infinite;
}
.lo-hero__lead-sub {
	font-weight: 300;
	background-image: linear-gradient(100deg, #c9d6ea 0%, #ffffff 40%, #9fb4d4 70%, #e9f1ff 100%);
	animation: lo-sheen 9s 2s ease-in-out infinite;
}
@keyframes lo-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.lo-hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; animation: lo-rise 1s .4s var(--ease) both; }
.lo-hero__fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); z-index: 0; }

@keyframes lo-kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }
@keyframes lo-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, -30px); } }
@keyframes lo-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.lo-section { padding: 56px 0; position: relative; }
.lo-new { margin-top: -96px; padding-top: 0; z-index: 2; }
.lo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.lo-head__title { font-size: clamp(22px, 2.7vw, 32px); font-weight: 600; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lo-head__icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 13px; display: inline-grid; place-items: center; font-size: 17px; color: #fff; background: linear-gradient(135deg, #4fc8f5, #2f6ff6 60%, #6b5cff); box-shadow: 0 8px 20px rgba(47, 111, 246, .3); }
.lo-head__sub { margin-top: 4px; color: var(--muted); font-family: var(--font-head); font-weight: 300; font-size: 17px; letter-spacing: .04em; }
.lo-new .lo-head__title { color: var(--ink); }
.lo-new .lo-head { flex-wrap: nowrap; }
@media (max-width: 599px) { .lo-new .lo-head__title { font-size: 19px; gap: 2px 8px; } .lo-new .lo-round { width: 38px; height: 38px; } .lo-carousel__nav { gap: 6px; } }
.lo-new .lo-head { background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .8); border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadow-md); align-items: center; }
.lo-title-center { text-align: center; font-size: clamp(22px, 3vw, 34px); max-width: 900px; margin: 0 auto 36px; }

/* ---------- course card ---------- */
.lo-card {
	position: relative; height: 100%; display: flex; flex-direction: column; background: var(--card);
	border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.lo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(47, 111, 246, .22); }
.lo-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, #0c2048, #2f6ff6 60%, #8b6cff); }
.lo-card__media > a { display: block; width: 100%; height: 100%; position: relative; }
.lo-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.lo-card:hover .lo-card__media img { transform: scale(1.07); }
.lo-card__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 10, 27, 0) 45%, rgba(3, 10, 27, .55) 100%); }
.lo-card__media .is-broken::before, .lo-custom__media.is-broken::before {
	content: '\f03d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center;
	font-size: 34px; color: rgba(255, 255, 255, .5);
}
.lo-card__len {
	position: absolute; z-index: 1; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #fff; line-height: 1.5;
	background: rgba(3, 10, 27, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .18);
}
.lo-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lo-card__title { font-size: 16px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.35em; }
.lo-card__title a:hover { color: var(--blue); }
.lo-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.lo-card__meta i { color: #9aa6bd; margin-right: 3px; }
.lo-card__actions { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.lo-chip-btn { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-family: var(--font-head); font-weight: 400; color: var(--navy-800) !important; background: #eef3fb; border: 1px solid rgba(19, 48, 102, .1); transition: background .2s, color .2s, border-color .2s; }
.lo-chip-btn:hover { background: var(--navy-800); color: #fff !important; }
.lo-chip-btn--green { background: #e3f8ef; color: #0d7a52 !important; border-color: rgba(31, 178, 122, .25); }
.lo-chip-btn--green:hover { background: var(--green); }

/* preview button */
.lo-play {
	position: absolute; z-index: 2; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 14px 5px 5px; border-radius: 999px; border: 0; cursor: pointer; color: #fff;
	font-family: var(--font-head); font-weight: 500; font-size: 13px; letter-spacing: .03em;
	background: var(--grad-cta); box-shadow: 0 8px 22px rgba(255, 61, 90, .42);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lo-play:hover, .lo-play:focus-visible { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 30px rgba(255, 61, 90, .55); }
.lo-play__ring { position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #ff4d5f; font-size: 11px; padding-left: 2px; }
.lo-play__ring::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: lo-pulse 2s var(--ease) infinite; }
@keyframes lo-pulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
.lo-play--big { right: auto; bottom: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0; background: none; box-shadow: none; }
.lo-play--big .lo-play__ring { width: 74px; height: 74px; font-size: 24px; padding-left: 5px; box-shadow: 0 14px 40px rgba(255, 61, 90, .5); background: var(--grad-cta); color: #fff; }

/* ---------- carousel ---------- */
.lo-carousel { position: relative; margin: 0 -16px; }
.lo-carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 6px 16px 22px; scrollbar-width: none;
}
.lo-carousel__track::-webkit-scrollbar { display: none; }
.lo-carousel__item { scroll-snap-align: start; min-width: 0; }
.lo-carousel .lo-card__media { aspect-ratio: 600 / 316; }
.lo-carousel__nav { display: flex; gap: 8px; }
@media (min-width: 560px) { .lo-carousel__track { grid-auto-columns: calc((100% - 32px - 16px) / 2.15); } }
@media (min-width: 768px) { .lo-carousel { margin: 0 -28px; } .lo-carousel__track { padding: 6px 28px 22px; scroll-padding: 0 28px; grid-auto-columns: calc((100% - 56px - 32px) / 3.1); } }
@media (min-width: 1100px) { .lo-carousel__track { grid-auto-columns: calc((100% - 56px - 64px) / 5); gap: 16px; } }

.lo-intro {
	margin-top: 20px; display: grid; gap: 22px; align-items: center; padding: 26px; border-radius: 22px;
	background: linear-gradient(135deg, rgba(47, 111, 246, .07), rgba(139, 108, 255, .07)); border: 1px solid rgba(47, 111, 246, .12);
}
.lo-intro p { font-size: 16px; text-indent: 2em; }
.lo-intro .lo-btn { justify-self: start; }
@media (min-width: 992px) { .lo-intro { grid-template-columns: 1fr auto; padding: 30px 34px; } .lo-intro .lo-btn { max-width: 380px; } }

/* ---------- bento panels ---------- */
.lo-bento { padding-top: 8px; }
.lo-bento__grid { display: grid; gap: 20px; }
@media (min-width: 992px) { .lo-bento__grid { grid-template-columns: 1fr 1fr; } }
.lo-panel {
	position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 26px 20px 22px; color: #fff;
	background: linear-gradient(160deg, var(--navy-800), var(--navy-950) 75%);
	box-shadow: 0 24px 50px rgba(7, 21, 48, .22);
}
.lo-panel::before { content: ''; position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%; right: -140px; top: -170px; filter: blur(30px); opacity: .55; background: radial-gradient(circle, #2f6ff6, transparent 70%); }
.lo-panel--gold::before { background: radial-gradient(circle, #e0a72d, transparent 70%); opacity: .45; }
.lo-panel__title { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.lo-panel__title small { font-size: 17px; font-weight: 300; color: rgba(255, 255, 255, .72); }
.lo-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .lo-tiles { grid-template-columns: 1fr 1fr; } }
.lo-tile {
	display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; min-height: 58px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff !important;
	transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.lo-tile:hover, .lo-tile:focus-visible { background: rgba(255, 255, 255, .13); border-color: rgba(129, 194, 224, .5); transform: translateY(-2px); }
.lo-tile__icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; background: linear-gradient(135deg, rgba(79, 200, 245, .3), rgba(47, 111, 246, .35)); color: #bfe9ff; }
.lo-panel--gold .lo-tile__icon { background: linear-gradient(135deg, rgba(247, 230, 149, .28), rgba(224, 138, 45, .35)); color: #ffe7a6; }
.lo-tile__label { flex: 1; font-family: var(--font-head); font-weight: 400; font-size: 15px; line-height: 1.35; }
.lo-tile__go { font-size: 12px; opacity: .45; transition: transform .25s var(--ease), opacity .25s; }
.lo-tile:hover .lo-tile__go { transform: translateX(3px); opacity: 1; }
.lo-badge-new { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #2b1a00; background: var(--grad-gold); vertical-align: 2px; animation: lo-glow 2.4s ease-in-out infinite; }
@keyframes lo-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 193, 78, .0); } 50% { box-shadow: 0 0 14px 2px rgba(242, 193, 78, .55); } }

/* ---------- layout: rail + content ---------- */
.lo-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 16px; padding-bottom: 72px; }
.lo-layout__main { min-width: 0; display: grid; gap: 56px; }
.lo-rail { min-width: 0; }
.lo-rail__inner { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 8px; }
.lo-rail__inner::-webkit-scrollbar { display: none; }
.lo-rail__group { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.lo-rail__label { flex: 0 0 auto; font-family: var(--font-head); font-weight: 500; font-size: 13px; color: var(--muted); white-space: nowrap; }
.lo-rail__label i { color: var(--blue); margin-right: 4px; }
.lo-rail__group a { flex: 0 0 auto; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: background .2s, color .2s, border-color .2s; }
.lo-rail__group a:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
@media (min-width: 1100px) {
	.lo-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; }
	.lo-rail__inner { position: sticky; top: calc(var(--nav-h) + 20px); display: block; max-height: calc(100vh - var(--nav-h) - 40px); overflow-y: auto; scrollbar-width: thin; margin: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
	.lo-rail__group { display: block; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line); }
	.lo-rail__group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
	.lo-rail__label { font-size: 15px; color: var(--ink); margin-bottom: 6px; }
	.lo-rail__group a { display: block; background: none; border: 0; box-shadow: none; border-radius: 10px; padding: 6px 10px 6px 30px; position: relative; color: var(--text); }
	.lo-rail__group a::before { content: ''; position: absolute; left: 14px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: #c3cee2; transform: translateY(-50%); transition: background .2s; }
	.lo-rail__group a:hover { background: #eef4ff; color: var(--blue); }
	.lo-rail__group a:hover::before { background: var(--blue); }
}

.lo-anchor, .lo-block { scroll-margin-top: calc(var(--nav-h) + 16px); }
.lo-anchor { display: block; height: 0; }
.lo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lo-grid__cell { min-width: 0; }
@media (max-width: 479px) {
	.lo-grid .lo-card__body { padding: 10px 11px 12px; gap: 6px; }
	.lo-grid .lo-card__title { font-size: 14px; }
	.lo-grid .lo-card__meta { font-size: 12px; }
	.lo-grid .lo-chip-btn { font-size: 12px; padding: 5px 10px; }
	.lo-grid .lo-play { padding: 4px; right: 8px; bottom: 8px; }
	.lo-grid .lo-play__text { display: none; }
	.lo-grid .lo-card__len { font-size: 11px; padding: 3px 8px; top: 8px; left: 8px; }
}
@media (min-width: 640px) { .lo-grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }

/* inner course pages */
.lo-layout--inner { padding-top: 32px; }
.lo-rail__group a.is-current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
@media (min-width: 1100px) {
	.lo-rail__group a.is-current { background: linear-gradient(120deg, #2f6ff6, #6b5cff); color: #fff; }
	.lo-rail__group a.is-current::before { background: #fff; }
}
.lo-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 12px 10px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--nav-h) + 16px); }
.lo-toolbar__label { font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.lo-toolbar__label i { color: var(--blue); margin-right: 6px; }
.lo-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #eef3fb; gap: 4px; }
.lo-seg__btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-family: var(--font-head); font-size: 14px; color: var(--text); transition: background .2s, color .2s, box-shadow .2s; }
.lo-seg__btn:hover { color: var(--blue); }
.lo-seg__btn.is-on { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.lo-jump { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 599px) { .lo-jump { gap: 6px; } .lo-jump .lo-tab { padding: 7px 12px; font-size: 14px; } }
.lo-head__sub i { color: var(--blue); margin-right: 4px; }
.lo-muted { color: var(--muted); }
.lo-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 48px 20px; border-radius: 24px; background: #fff; border: 1px dashed rgba(47, 111, 246, .3); }
.lo-empty .lo-cta-row { justify-content: center; }

.lo-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; }
.lo-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lo-table th { text-align: left; padding: 14px 16px; font-family: var(--font-head); font-weight: 500; font-size: 14px; color: #fff; background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); white-space: nowrap; }
.lo-table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.lo-table tbody tr { transition: background .2s; }
.lo-table tbody tr:hover { background: #f5f8ff; }
.lo-table__no { width: 56px; text-align: center; color: var(--muted); font-family: var(--font-head); }
.lo-table__name a { font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.lo-table__name a:hover { color: var(--blue); }
.lo-table__name small { display: block; color: var(--blue); font-style: italic; font-size: 13px; }
.lo-play--inline { position: static; }
.lo-table .lo-chip-btn, .lo-table .lo-play { white-space: nowrap; }
@media (min-width: 768px) { .lo-table td:nth-child(3) { white-space: nowrap; } .lo-table td:nth-child(4) { min-width: 150px; } }
@media (max-width: 767px) {
	.lo-table thead { display: none; }
	.lo-table, .lo-table tbody, .lo-table tr, .lo-table td { display: block; width: 100%; }
	.lo-table tr { padding: 12px 14px; border-top: 1px solid var(--line); }
	.lo-table tbody tr:first-child { border-top: 0; }
	.lo-table td { border: 0; padding: 3px 0; display: flex; gap: 10px; align-items: center; }
	.lo-table td[data-label]::before { content: attr(data-label); flex: 0 0 96px; font-size: 13px; color: var(--muted); }
	.lo-table__no { display: none !important; }
	.lo-table__name { font-size: 16px; display: block !important; padding-bottom: 6px !important; }
}

/* video pages (preview-course, watch, competency-conceptual) */
.lo-watch { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; padding-bottom: 72px; align-items: start; }
@media (min-width: 1100px) { .lo-watch { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; } }
.lo-watch__main { min-width: 0; display: grid; gap: 22px; }
.lo-player { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(7, 21, 48, .35), 0 0 0 1px rgba(129, 194, 224, .2); }
.lo-player iframe, .lo-player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.lo-watch__en { color: var(--blue); font-style: italic; margin-bottom: 8px; }
.lo-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lo-pills li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; font-size: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lo-pills i { color: var(--blue); }
.lo-watch__tabs .lo-tabs__panel { max-height: 560px; overflow-y: auto; padding-right: 6px; }
.lo-richtext { font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.lo-richtext img { max-width: 100%; height: auto; border-radius: 12px; }
.lo-richtext table { max-width: 100%; }
.lo-expert { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.lo-expert img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-md); flex: 0 0 auto; }
.lo-expert h4 { font-size: 22px; }
.lo-contact { margin-top: 18px; }
.lo-contact__title { font-size: 22px; margin-bottom: 10px; }
.lo-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lo-contact__list li { display: flex; gap: 12px; line-height: 1.6; }
.lo-contact__list i { flex: 0 0 18px; margin-top: 4px; color: var(--blue); text-align: center; }
.lo-watch__side { min-width: 0; display: grid; gap: 14px; }
@media (min-width: 1100px) { .lo-watch__side { position: sticky; top: calc(var(--nav-h) + 20px); } }
.lo-watch__cta { display: grid; gap: 10px; }
.lo-playlist { border-radius: 22px; overflow: hidden; color: #fff; background: linear-gradient(165deg, var(--navy-800), var(--navy-950) 80%); box-shadow: 0 24px 50px rgba(7, 21, 48, .25); padding: 16px; }
.lo-playlist__title { font-family: var(--font-head); font-weight: 500; font-size: 17px; margin-bottom: 12px; }
.lo-search--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); padding: 4px 14px; margin-bottom: 10px; }
.lo-search--dark:focus-within { background: rgba(255, 255, 255, .12); }
.lo-search--dark input { color: #fff; padding: 7px 0; }
.lo-search--dark input::placeholder { color: rgba(255, 255, 255, .55); }
.lo-search--dark i { color: rgba(255, 255, 255, .6); }
.lo-playlist__scroll { max-height: 64vh; overflow-y: auto; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
@media (max-width: 1099px) { .lo-playlist__scroll { max-height: 460px; } }
.lo-playlist__group { position: sticky; top: 0; z-index: 1; margin: 6px 0; padding: 6px 10px; border-radius: 10px; font-family: var(--font-head); font-size: 13px; letter-spacing: .03em; color: var(--gold-2); background: rgba(12, 32, 72, .95); }
.lo-playlist__list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 4px; }
.lo-pl-item { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; color: rgba(255, 255, 255, .88) !important; transition: background .2s; }
.lo-pl-item:hover { background: rgba(255, 255, 255, .08); }
.lo-pl-item.is-on { background: linear-gradient(120deg, rgba(47, 111, 246, .55), rgba(107, 92, 255, .45)); }
.lo-pl-item__thumb { position: relative; flex: 0 0 96px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #0c2048, #2f6ff6); }
.lo-pl-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lo-pl-item__thumb i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: #fff; background: rgba(3, 10, 27, .35); opacity: 0; transition: opacity .2s; }
.lo-pl-item:hover .lo-pl-item__thumb i, .lo-pl-item.is-on .lo-pl-item__thumb i { opacity: 1; }
.lo-pl-item__text { font-size: 14px; line-height: 1.45; }
.lo-pl-item__text small { display: block; color: rgba(255, 255, 255, .5); font-size: 12px; }
.lo-badge-now { display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px; font-size: 11px; background: var(--cyan); color: var(--navy-950); font-weight: 600; }

/* competency conceptual */
@media (min-width: 992px) { .lo-split--video { grid-template-columns: 1.2fr 1fr; } }
.lo-cc { padding-top: 8px; padding-bottom: 40px; display: grid; gap: 18px; }
.lo-toolbar--filter { align-items: flex-start; padding: 14px; }
.lo-toolbar--filter .lo-jump { flex: 1 1 520px; }
.lo-tab[aria-pressed="true"] { color: #fff; border-color: transparent; background: linear-gradient(120deg, #2f6ff6, #6b5cff); box-shadow: 0 10px 24px rgba(47, 111, 246, .32); }
.lo-tab[aria-pressed="true"] .lo-tab__count { background: rgba(255, 255, 255, .22); color: #fff; }
.lo-search--inline { flex: 1 1 240px; max-width: 360px; padding: 4px 14px; gap: 8px; }
.lo-search--inline i { color: var(--muted); }
.lo-search--inline input { padding: 8px 0; }
.lo-cta-band {
	position: relative; overflow: hidden; isolation: isolate; text-align: center; margin-bottom: 72px; padding: 44px 24px; border-radius: 28px; color: #fff;
	background: linear-gradient(160deg, var(--navy-800), var(--navy-950) 80%); box-shadow: 0 24px 60px rgba(7, 21, 48, .25);
}
.lo-cta-band::before { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; left: 50%; top: -260px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(79, 163, 255, .55), transparent 70%); }
.lo-cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 10px; }
.lo-cta-band p { color: rgba(255, 255, 255, .78); margin-bottom: 22px; }

/* tabs */
/* every category stays visible: the pills wrap instead of scrolling sideways */
.lo-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 2px 14px; margin-bottom: 6px; }
@media (max-width: 599px) { .lo-tabs__list { gap: 6px; } .lo-tab { padding: 7px 12px; font-size: 14px; } }
.lo-tab {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: #fff; color: var(--text); font-family: var(--font-head); font-size: 15px; font-weight: 400;
	box-shadow: var(--shadow-sm); transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.lo-tab:hover { border-color: rgba(47, 111, 246, .4); color: var(--blue); }
.lo-tab[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(120deg, #2f6ff6, #6b5cff); box-shadow: 0 10px 24px rgba(47, 111, 246, .32); }
.lo-tab__count { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 500; background: #eef3fb; color: var(--navy-700); }
.lo-tab[aria-selected="true"] .lo-tab__count { background: rgba(255, 255, 255, .22); color: #fff; }
.lo-tabs__panel { animation: lo-fade .45s var(--ease); }
.lo-tabs__panel:focus { outline: none; }
.lo-tabs__bar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.lo-link-arrow { font-family: var(--font-head); font-size: 15px; color: var(--blue) !important; display: inline-flex; align-items: center; gap: 8px; }
.lo-link-arrow:hover i { transform: translateX(3px); }
.lo-link-arrow i { font-size: 12px; transition: transform .2s; }
.lo-more { text-align: center; margin-top: 22px; }
.lo-more [aria-expanded="true"] i { transform: rotate(180deg); }
@keyframes lo-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* customize */
.lo-custom { display: grid; gap: 20px; }
@media (min-width: 720px) { .lo-custom { grid-template-columns: 1fr 1fr; } }
.lo-custom__item { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.lo-custom__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.lo-custom__media { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 800 / 421; overflow: hidden; background: linear-gradient(135deg, #0c2048, #2f6ff6); }
.lo-custom__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.lo-custom__media:hover img { transform: scale(1.05); }
.lo-custom__body { padding: 18px 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lo-custom__body h4 { font-size: 20px; font-weight: 500; }

/* ---------- inner pages ---------- */
.lo-pagehero {
	position: relative; overflow: hidden; isolation: isolate; color: #fff;
	padding: calc(var(--nav-h) + 46px) 0 64px; background: var(--navy-950);
}
.lo-pagehero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url(../assets/img/bg-ln.jpg) center 78% / cover no-repeat; opacity: .75; }
.lo-pagehero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 10, 27, .92) 0%, rgba(3, 10, 27, .55) 65%, rgba(3, 10, 27, .35)); }
.lo-pagehero__glow { position: absolute; z-index: -1; width: 460px; height: 460px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 163, 255, .55), transparent 70%); filter: blur(20px); }
.lo-pagehero__title { font-size: clamp(26px, 4.2vw, 46px); font-weight: 600; max-width: 980px; }
.lo-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.lo-crumbs a { color: #bfe9ff; }
.lo-crumbs a:hover { color: #fff; text-decoration: underline; }
.lo-crumbs__sep { opacity: .45; }
.lo-eyebrow { font-family: var(--font-head); color: var(--gold-2); font-size: 15px; margin-bottom: 8px; }

.lo-content { padding: 52px 0 24px; }
.lo-prose { font-size: 17px; line-height: 1.95; color: var(--text); }
.lo-prose p + p { margin-top: 1em; }
.lo-prose .lo-indent { text-indent: 2.2em; }
.lo-prose a { color: var(--blue); }
.lo-prose a:hover { text-decoration: underline; }
.lo-prose b, .lo-prose strong { color: var(--ink); }

.lo-card-x { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); padding: 26px 22px; }
@media (min-width: 768px) { .lo-card-x { padding: 36px 40px; } }

.lo-quote {
	position: relative; margin: 40px auto; max-width: 980px; text-align: center; padding: 34px 24px; border-radius: 26px; overflow: hidden; isolation: isolate;
	background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; box-shadow: 0 24px 60px rgba(7, 21, 48, .25);
	font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 3vw, 32px); line-height: 1.5;
}
.lo-quote::before { content: ''; position: absolute; z-index: -1; inset: auto -80px -160px auto; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 167, 45, .55), transparent 70%); }
.lo-quote i { color: var(--gold); font-size: .7em; vertical-align: .35em; margin: 0 .3em; }
.lo-quote span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.lo-figure { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff; }
.lo-figure a { display: block; position: relative; }
.lo-figure img { display: block; width: 100%; transition: transform .7s var(--ease); }
.lo-figure a:hover img { transform: scale(1.03); }
.lo-figure a::after {
	content: '\f065'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; color: #fff; background: rgba(3, 10, 27, .55); backdrop-filter: blur(6px); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease);
}
.lo-figure a:hover::after, .lo-figure a:focus-visible::after { opacity: 1; transform: none; }
.lo-subtitle { font-size: clamp(22px, 3vw, 32px); font-weight: 600; text-align: center; margin: 56px auto 24px; max-width: 920px; }

.lo-split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 992px) { .lo-split { grid-template-columns: 1.05fr 1fr; gap: 44px; } }
.lo-cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.lo-gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .lo-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lo-gallery .lo-figure { border-radius: 16px; }
.lo-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }

.lo-steps { display: grid; gap: 20px; margin-top: 8px; }
.lo-step { position: relative; padding: 24px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.lo-step h3 { font-size: 22px; font-weight: 600; }
.lo-step .lo-step__num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: #fff; background: linear-gradient(135deg, #4fc8f5, #2f6ff6 60%, #6b5cff); box-shadow: 0 10px 22px rgba(47, 111, 246, .3); }
.lo-step .lo-step__foot { margin-top: auto; display: flex; justify-content: flex-end; }
.lo-lengths { display: grid; gap: 18px; }
@media (min-width: 992px) { .lo-lengths { grid-template-columns: repeat(3, 1fr); } }
.lo-length { position: relative; overflow: hidden; padding: 26px 22px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease), box-shadow .35s; }
.lo-length:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.lo-length::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.lo-length h4 { font-size: 19px; font-weight: 600; }
.lo-length h4 span { color: var(--blue); }
.lo-length p { font-size: 15.5px; line-height: 1.85; text-indent: 2em; }
.lo-length .lo-link-arrow { margin-top: auto; align-self: flex-end; }

/* services (3 formats) */
.lo-services { padding: 64px 0 80px; }
.lo-services__grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .lo-services__grid { grid-template-columns: repeat(3, 1fr); } }
.lo-service {
	position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
	padding: 34px 24px 28px; border-radius: 26px; background: linear-gradient(165deg, var(--navy-800), var(--navy-950) 80%); color: #fff !important;
	box-shadow: 0 24px 50px rgba(7, 21, 48, .2); transition: transform .4s var(--ease), box-shadow .4s;
}
.lo-service::before { content: ''; position: absolute; z-index: -1; width: 300px; height: 300px; left: 50%; top: -150px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(79, 163, 255, .55), transparent 70%); transition: opacity .4s; opacity: .7; }
.lo-service:hover { transform: translateY(-8px); box-shadow: 0 34px 70px rgba(7, 21, 48, .3); }
.lo-service:hover::before { opacity: 1; }
.lo-service.is-current { outline: 2px solid rgba(129, 194, 224, .7); outline-offset: -2px; }
.lo-service__icon { width: 96px; height: 96px; border-radius: 30px; display: grid; place-items: center; font-size: 40px; color: #fff; background: linear-gradient(135deg, rgba(79, 200, 245, .35), rgba(107, 92, 255, .45)); border: 1px solid rgba(255, 255, 255, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 18px 40px rgba(47, 111, 246, .35); transition: transform .5s var(--ease); }
.lo-service:hover .lo-service__icon { transform: rotate(-6deg) scale(1.06); }
.lo-service__title { color: #fff; font-size: 21px; font-weight: 500; line-height: 1.45; }
.lo-service__title span { display: block; font-size: 25px; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lo-service .lo-btn { margin-top: auto; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }

/* ---------- footer ---------- */
.lo-footer { position: relative; overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, .82); background: var(--navy-950); padding: 60px 0 0; font-size: 15px; }
.lo-footer__aurora { position: absolute; z-index: -1; inset: 0; background: radial-gradient(50% 60% at 10% 0%, rgba(47, 111, 246, .3), transparent 70%), radial-gradient(40% 50% at 95% 10%, rgba(139, 108, 255, .22), transparent 70%); }
.lo-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); }
.lo-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 900px) { .lo-footer__grid { grid-template-columns: 1fr 1.5fr; gap: 64px; } }
.lo-footer__title { color: #fff; font-size: 20px; font-weight: 500; margin-bottom: 16px; }
.lo-footer__title span { color: var(--sky); }
.lo-footer__brand p { line-height: 1.8; }
.lo-footer__brand b { color: #fff; }
.lo-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lo-footer__list li { display: flex; gap: 14px; line-height: 1.7; }
.lo-footer__list i { flex: 0 0 18px; margin-top: 5px; color: var(--sky); text-align: center; }
.lo-footer__list a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); }
.lo-social { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lo-social a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background .25s, transform .25s var(--ease), border-color .25s; }
.lo-social a:hover { background: linear-gradient(135deg, #2f6ff6, #6b5cff); border-color: transparent; transform: translateY(-3px); }
.lo-footer__copy { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 16px 22px; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .6); }

/* ---------- preview modal ---------- */
.lo-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lo-modal__backdrop { position: absolute; inset: 0; background: rgba(3, 8, 20, .74); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); animation: lo-fadein .3s var(--ease) both; }
.lo-modal__dialog {
	position: relative; width: 100%; max-width: 1000px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
	border-radius: 24px; background: linear-gradient(170deg, #0d1d3f, #060f24 70%); color: rgba(255, 255, 255, .85);
	box-shadow: var(--shadow-lg), 0 0 0 1px rgba(129, 194, 224, .18), 0 0 80px rgba(47, 111, 246, .25);
	animation: lo-pop .45s var(--ease) both; scrollbar-width: thin;
}
.lo-modal__dialog:focus { outline: none; }
.lo-modal.is-closing .lo-modal__backdrop { animation: lo-fadeout .22s ease both; }
.lo-modal.is-closing .lo-modal__dialog { animation: lo-popout .22s ease both; }
@keyframes lo-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes lo-fadeout { from { opacity: 1; } to { opacity: 0; } }
@keyframes lo-pop { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lo-popout { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(14px) scale(.97); } }
.lo-modal__close {
	position: absolute; z-index: 3; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
	background: rgba(3, 10, 27, .6); color: #fff; cursor: pointer; font-size: 18px; display: grid; place-items: center; backdrop-filter: blur(8px);
	transition: transform .25s var(--ease), background .25s;
}
.lo-modal__close:hover { transform: rotate(90deg); background: var(--red); }
.lo-modal__media { position: relative; background: #000; }
.lo-modal__frame { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.lo-modal__frame iframe, .lo-modal__frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.lo-modal__frame::before { content: ''; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--cyan); animation: lo-spin .9s linear infinite; }
@keyframes lo-spin { to { transform: rotate(360deg); } }
.lo-modal__body { padding: 22px 20px 24px; display: grid; gap: 10px; }
@media (min-width: 768px) { .lo-modal__body { padding: 26px 32px 30px; } }
.lo-modal__eyebrow { font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #ff8a8a; display: flex; align-items: center; gap: 8px; }
.lo-modal__title { color: #fff; font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; padding-right: 8px; }
.lo-modal__en { color: var(--sky); font-style: italic; font-size: 15px; }
.lo-modal__en:empty, .lo-modal__desc:empty, .lo-modal__meta:empty { display: none; }
.lo-modal__meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lo-modal__meta li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.lo-modal__meta i { color: var(--sky); }
.lo-modal__desc { font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .78); }
.lo-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.lo-modal__actions a[hidden] { display: none; }
body.lo-modal-open { overflow: hidden; }
@media (max-width: 599px) {
	.lo-modal { padding: 0; align-items: flex-end; }
	.lo-modal__dialog { border-radius: 22px 22px 0 0; max-height: 94vh; max-height: 94dvh; animation-name: lo-sheet; }
	.lo-modal.is-closing .lo-modal__dialog { animation-name: lo-sheetout; }
	.lo-modal__actions .lo-btn { flex: 1 1 100%; }
	@keyframes lo-sheet { from { transform: translateY(100%); } to { transform: none; } }
	@keyframes lo-sheetout { from { transform: none; } to { transform: translateY(100%); } }
}

/* ---------- scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}
