/* Little Merlion — home page
 * Concept: the merlion rises out of an open book, so the page is a sea.
 * Deep teal water, a porthole for the mascot, waves between sections.
 * Type: Inter throughout (carries Cyrillic). */
.lm, .lm *, .lm *::before, .lm *::after { box-sizing: border-box; }
.lm {
	--red: #F7384F; --red-d: #D8213A; --yellow: #FFC845; --teal: #03B9C7; --teal-d: #027A88; --sea: #04515C;
	--ink: #2B1E16; --soft: #66584D; --paper: #FFF7E3; --teal-soft: #E1F7F9; --red-soft: #FFE8EB; --sun-soft: #FFF1C9;
	--r: 28px;
	--f-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--f-text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	font-family: var(--f-text); color: var(--ink); line-height: 1.65; font-size: 17px; overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
.lm img { max-width: 100%; height: auto; display: block; }
.lm a { color: inherit; text-decoration: none; }
.lm h1, .lm h2, .lm h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); }
.lm p { margin: 0 0 1em; }
.lm :focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.lm-standalone { margin: 0; background: #fff; }
.lm-wrap { width: min(1160px, 92%); margin-inline: auto; }

/* language switching */
.lm[data-lang="mn"] .lm-en, .lm[data-lang="en"] .lm-mn { display: none !important; }

/* scroll progress */
.lm-progress { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 4px; pointer-events: none; }
.lm-progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--red), var(--yellow), var(--teal)); border-radius: 0 4px 4px 0; }

/* buttons */
.lm-btn {
	position: relative; display: inline-block; overflow: hidden; border: 0; cursor: pointer; font: inherit; font-weight: 800; letter-spacing: .01em;
	background: linear-gradient(135deg, #FF5368 0%, var(--red) 55%, #E82A55 100%); color: #fff !important; padding: .9em 1.9em; border-radius: 999px;
	box-shadow: 0 12px 26px -10px rgba(247,56,79,.75), inset 0 1px 0 rgba(255,255,255,.4);
	transition: transform .25s cubic-bezier(.2,.9,.3,1.4), box-shadow .25s;
}
.lm-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 40%; transform: skewX(-22deg); background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transition: left .7s; }
.lm-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 30px -10px rgba(247,56,79,.8), inset 0 1px 0 rgba(255,255,255,.4); }
.lm-btn:hover::after { left: 130%; }
.lm-btn:active { transform: translateY(0) scale(.98); }
.lm-btn-sm { padding: .6em 1.3em; box-shadow: 0 8px 18px -8px rgba(247,56,79,.8), inset 0 1px 0 rgba(255,255,255,.4); }
.lm-btn-ghost { background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 2px solid rgba(255,255,255,.65); box-shadow: none; }
.lm-btn-ghost:hover { background: #fff; color: var(--teal-d) !important; box-shadow: 0 14px 28px -12px rgba(0,0,0,.35); }

/* header */
.lm-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.4); transition: box-shadow .3s, background .3s; }
.lm-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(3,185,199,.28) 20%, rgba(255,200,69,.45) 50%, rgba(247,56,79,.28) 80%, transparent); }
.lm-header.is-stuck { background: rgba(255,255,255,.95); box-shadow: 0 10px 30px -14px rgba(4,81,92,.35); }
.lm-header .lm-header-in { width: min(1320px, 95%); display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.6rem); padding-block: .55rem; transition: padding .3s; }
.lm-header.is-stuck .lm-header-in { padding-block: .25rem; }

/* brand lockup: never wraps */
.lm-brand { flex: none; display: flex; align-items: center; gap: .7rem; white-space: nowrap; font-family: var(--f-display); color: var(--teal-d) !important; }
.lm-brand img { width: 52px; height: 52px; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.9,.3,1.5); }
.lm-brand:hover img { transform: rotate(-8deg) scale(1.1); }
.lm-brand > span { display: flex; flex-direction: column; gap: .15rem; font-weight: 800; font-size: 1.12rem; line-height: 1; letter-spacing: -.015em; }
.lm-brand small { display: block; font-family: var(--f-text); font-size: .72rem; font-weight: 800; line-height: 1; color: var(--red); letter-spacing: .06em; }

/* nav: single line, quiet links, one clear action group */
.lm-nav { margin-left: auto; display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(.7rem, 1.35vw, 1.5rem); font-weight: 700; font-size: .94rem; color: var(--ink); }
.lm-nav a { white-space: nowrap; }
.lm-nav a:not(.lm-btn):not(.lm-login) { position: relative; padding: .45em .1em; transition: color .2s; }
.lm-nav a:not(.lm-btn):not(.lm-login):hover { color: var(--teal-d); }
.lm-nav a:not(.lm-btn):not(.lm-login)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.lm-nav a:not(.lm-btn):not(.lm-login):hover::after { transform: scaleX(1); }
.lm-nav .lm-btn-sm { margin-left: clamp(.2rem, 1vw, 1rem); padding: .6em 1.25em; font-size: .92rem; line-height: 1.2; }
.lm-login { border: 2px solid var(--teal); color: var(--teal-d) !important; padding: .42em 1.05em; border-radius: 999px; font-weight: 800; line-height: 1.2; transition: background .2s, color .2s; }
.lm-login:hover { background: var(--teal); color: #fff !important; }
.lm-lang { flex: none; display: grid; place-items: center; min-width: 2.7rem; height: 2.7rem; border: 0; background: var(--yellow); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 900; border-radius: 999px; padding: 0 .7em; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(255,160,0,.8); transition: transform .2s; }
.lm-lang:hover { transform: translateY(-2px) rotate(-3deg); }
.lm-burger { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.lm-burger span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--teal-d); margin: 5px 0; transition: .2s; }

/* tighten gracefully on narrower desktops instead of wrapping */
@media (max-width: 1240px) {
	.lm-nav { font-size: .88rem; }
	.lm-nav .lm-btn-sm { padding: .55em 1.05em; font-size: .88rem; }
	.lm-brand img { width: 46px; height: 46px; }
	.lm-brand > span { font-size: 1.02rem; }
}
@media (max-width: 1080px) {
	.lm-login { display: none; }
}

/* ================= hero: the sea ================= */
.lm-hero {
	position: relative; color: #fff; padding: 4rem 0 9rem; overflow: hidden; isolation: isolate;
	background:
		radial-gradient(60% 70% at 78% 30%, rgba(255,255,255,.28), transparent 62%),
		radial-gradient(40% 50% at 8% 90%, rgba(255,200,69,.22), transparent 65%),
		linear-gradient(165deg, #12C9D6 0%, #03A4B3 38%, #027A88 72%, #055A66 100%);
}
.lm-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lm-chip-row { margin-bottom: 1.4rem; animation: lm-in .7s .05s cubic-bezier(.2,.9,.3,1.3) backwards; }
.lm-chip { display: inline-flex; align-items: center; max-width: 100%; padding: .28rem; border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.38); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -12px rgba(2,60,70,.55), inset 0 1px 0 rgba(255,255,255,.35); font-size: .95rem; line-height: 1.25; }
.lm-chip-place { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .5em 1em .5em .8em; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; box-shadow: 0 4px 10px -4px rgba(255,160,0,.9), inset 0 1px 0 rgba(255,255,255,.55); }
.lm-chip-place svg { width: 1.05em; height: 1.05em; flex: none; fill: var(--red-d); }
.lm-chip-txt { padding: .3em 1.1em .3em .85em; color: #fff; font-weight: 700; text-shadow: 0 1px 8px rgba(2,60,70,.35); }
.lm-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.15rem); line-height: 1.15; text-shadow: 0 4px 24px rgba(2,60,70,.35); margin-bottom: .6em; }
.lm-w { display: inline-block; animation: lm-word .8s calc(.25s + var(--i) * .1s) cubic-bezier(.2,.9,.3,1.35) backwards; }
.lm-bloom::after { content: ""; display: inline-block; width: .55em; height: .55em; margin-left: .22em; vertical-align: .1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFC845' d='M12 0l2.5 9.5L24 12l-9.5 2.5L12 24l-2.5-9.5L0 12l9.5-2.5z'/%3E%3C/svg%3E") center/contain no-repeat; animation: lm-spin-in 1s 1.3s cubic-bezier(.2,.9,.3,1.5) backwards, lm-twinkle 2.6s 2.3s ease-in-out infinite; }
.lm-hero p { font-size: 1.18rem; color: rgba(255,255,255,.93); max-width: 33em; animation: lm-in .8s .9s ease-out backwards; }
.lm-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.7rem; animation: lm-in .8s 1.1s ease-out backwards; }
@keyframes lm-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes lm-word { from { opacity: 0; transform: translateY(.7em) rotate(4deg) scale(.9); } }
@keyframes lm-spin-in { from { opacity: 0; transform: scale(0) rotate(-180deg); } }
@keyframes lm-twinkle { 50% { transform: scale(.6) rotate(24deg); opacity: .65; } }

/* photo collage: arches echo the arched alcoves in the classrooms */
.lm-facts { display: flex; flex-wrap: wrap; gap: .7rem; list-style: none; margin: 2rem 0 0; padding: 0; animation: lm-in .8s 1.3s ease-out backwards; }
.lm-facts li { display: flex; align-items: center; gap: .55rem; padding: .4rem 1rem .4rem .5rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-weight: 700; font-size: .92rem; }
.lm-facts b { display: grid; place-items: center; min-width: 2.4em; height: 2.4em; padding: 0 .55em; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--f-display); font-size: .78rem; }
.lm-collage { --mx: 0; --my: 0; position: relative; width: min(100%, 540px); aspect-ratio: 1 / 1.04; margin-inline: auto; animation: lm-pop 1.1s .35s cubic-bezier(.2,.9,.3,1.25) backwards; }
@keyframes lm-pop { from { opacity: 0; transform: scale(.6) translateY(40px); } }
.lm-cl { position: absolute; z-index: var(--z, 1); translate: calc(var(--mx) * var(--k, 8px)) calc(var(--my) * var(--k, 8px)); transition: translate .3s ease-out; }
.lm-cl-arch { --k: -6px; right: 0; top: 0; width: 70%; height: 90%; border-radius: 999px 999px 40px 40px; overflow: hidden; border: 8px solid #fff; background: #fff; box-shadow: 0 40px 70px -26px rgba(2,50,60,.7); }
.lm-cl-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.lm-cl-snap { --k: 12px; left: 0; bottom: 0; width: 50%; aspect-ratio: 1.12; border-radius: 30px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 26px 40px -20px rgba(2,50,60,.65); rotate: -5deg; }
.lm-cl-snap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.lm-cl-port { --k: 16px; left: -2%; top: 6%; width: 40%; aspect-ratio: 1; }
.lm-cl-sun { --k: 20px; right: 3%; bottom: 7%; width: 15%; }
.lm-cl-sun .lm-star { position: static; width: 100%; filter: drop-shadow(0 8px 10px rgba(2,50,60,.35)); }
.lm-porthole { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff 30%, #FFF3CF 100%); border: 6px solid #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.22), 0 30px 50px -22px rgba(2,50,60,.65), inset 0 -20px 36px rgba(3,185,199,.22); }
.lm-porthole img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: scale(1.28); animation: lm-bob 4.2s ease-in-out infinite; }
@keyframes lm-bob { 50% { translate: 0 -8px; } }
.lm-ring { position: absolute; inset: -9%; width: 118%; height: 118%; fill: #fff; font: 700 10.5px var(--f-display); letter-spacing: .06em; animation: lm-turn 34s linear infinite; pointer-events: none; opacity: .95; }
@keyframes lm-turn { to { transform: rotate(360deg); } }
.lm-ripples { position: absolute; inset: 0; pointer-events: none; }
.lm-ripples i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: lm-ripple 5.4s ease-out infinite; }
.lm-ripples i:nth-child(2) { animation-delay: 1.8s; } .lm-ripples i:nth-child(3) { animation-delay: 3.6s; }
@keyframes lm-ripple { from { transform: scale(1.05); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

.lm-star { position: absolute; z-index: 1; width: 28px; fill: var(--yellow); animation: lm-twinkle 2.6s ease-in-out infinite; }
.lm-hero .lm-star:nth-of-type(1) { top: 14%; left: 5%; }
.lm-hero .lm-star:nth-of-type(2) { top: 66%; left: 46%; width: 18px; animation-delay: .8s; fill: #fff; }
.lm-hero .lm-star:nth-of-type(3) { top: 12%; right: 7%; width: 38px; animation-delay: 1.4s; }

/* bubbles */
.lm-bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lm-bubbles i { position: absolute; bottom: -40px; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.75), rgba(255,255,255,.12) 55%, rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.45); animation: lm-rise var(--d) linear var(--dl) infinite; }
@keyframes lm-rise { 0% { transform: translate(0, 0); opacity: 0; } 8% { opacity: 1; } 50% { transform: translate(14px, -330px); } 100% { transform: translate(-10px, -720px); opacity: 0; } }
.lm-pop { position: absolute; z-index: 3; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; opacity: .9; pointer-events: none; animation: lm-burst .8s ease-out forwards; }
.lm-pop.s { background: var(--yellow); border-radius: 3px; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); width: 20px; height: 20px; margin: -10px 0 0 -10px; }
@keyframes lm-burst { to { transform: translate(var(--tx), var(--ty)) scale(.2); opacity: 0; } }

/* waves */
.lm-waves { position: absolute; left: 0; right: 0; height: 100px; overflow: hidden; pointer-events: none; z-index: 2; }
.lm-waves-hero { bottom: -1px; color: #fff; }
.lm-waves-foot { bottom: calc(100% - 1px); color: var(--sea); }
.lm-wv { position: absolute; left: 0; bottom: 0; width: 200%; height: 100px; fill: currentColor; }
.lm-wv-a { opacity: .3; animation: lm-slide 26s linear infinite; height: 100px; }
.lm-wv-b { opacity: .55; animation: lm-slide 17s linear infinite reverse; height: 80px; }
.lm-wv-c { opacity: 1; animation: lm-slide 11s linear infinite; height: 56px; }
@keyframes lm-slide { to { transform: translateX(-50%); } }

/* values ribbon: a sewn awning in deep sea teal that tilts across the waves */
.lm-marquee { position: relative; z-index: 3; width: 108%; margin: -2.4rem -4% 1.6rem; transform: rotate(-1.4deg); filter: drop-shadow(0 14px 14px rgba(2,50,60,.3)); }
.lm-marquee-bar { position: relative; overflow: hidden; color: var(--paper); background: linear-gradient(180deg, #06646F, #04515C 55%, #03434D); }
.lm-marquee-bar::before { content: ""; position: absolute; z-index: 1; inset: 7px 0; border-block: 2px dashed rgba(255,247,227,.28); pointer-events: none; }
.lm-marquee::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 14px; background: radial-gradient(circle at 50% 0, #03434D 0 13px, transparent 13.5px) 0 0 / 28px 14px repeat-x; }
.lm-marquee-track { display: flex; align-items: center; width: max-content; padding: 1.15rem 0; animation: lm-marq 40s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lm-marquee:hover .lm-marquee-track { animation-play-state: paused; }
.lm-mq { display: inline-flex; align-items: center; gap: .6rem; margin-right: 2.6rem; font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.lm-mq::after { content: ""; width: 6px; height: 6px; margin-left: 2.6rem; border-radius: 50%; background: rgba(255,247,227,.35); }
.lm-mq-ico { width: 2.15rem; height: 2.15rem; padding: .42rem; border-radius: 50%; flex: none; background: var(--paper); box-shadow: 0 3px 0 rgba(0,0,0,.22); }
.lm-mq-red { stroke: var(--red); } .lm-mq-sea { stroke: var(--sea); } .lm-mq-teal { stroke: var(--teal-d); }
@keyframes lm-marq { to { transform: translateX(-50%); } }
@media (max-width: 700px) {
	.lm-mq { font-size: 1.02rem; margin-right: 1.8rem; } .lm-mq::after { margin-left: 1.8rem; }
	.lm-mq-ico { width: 1.85rem; height: 1.85rem; padding: .36rem; }
	.lm-marquee-track { padding: .95rem 0; }
}

/* ================= sections ================= */
.lm-sec { position: relative; padding: 5.5rem 0; }
.lm-sec-teal { background: linear-gradient(170deg, #04A9B8 0%, #027A88 60%, #055A66 100%); padding: 8rem 0; color: #fff; overflow: hidden; }
.lm-sec-teal::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.14) 0 90px, transparent 91px), radial-gradient(circle at 88% 70%, rgba(255,255,255,.1) 0 140px, transparent 141px), radial-gradient(circle at 60% 12%, rgba(255,200,69,.14) 0 60px, transparent 61px); animation: lm-drift 18s ease-in-out infinite alternate; }
@keyframes lm-drift { to { transform: translate(-30px, 20px); } }
.lm-sec-cream { background: var(--paper); }
.lm-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.lm-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
.lm-head p { color: var(--soft); }
.lm-head-light h2 { color: #fff; }
.lm-kicker { display: inline-block; background: var(--red-soft); color: var(--red-d); font-weight: 800; font-size: .95rem; padding: .3em 1em; border-radius: 999px; margin-bottom: .9rem; }
.lm-head-light .lm-kicker { background: rgba(255,255,255,.18); color: #fff; }
.lm-wave { display: block; width: 100%; height: 70px; }
.lm-wave-top { fill: #fff; position: absolute; top: -1px; left: 0; transform: rotate(180deg); z-index: 1; }
.lm-wave-bottom { fill: #fff; position: absolute; bottom: -1px; left: 0; z-index: 1; }
.lm-sec-teal .lm-wrap { position: relative; z-index: 2; }

.lm-grid { display: grid; gap: 1.5rem; }
.lm-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* about cards */
.lm-card { position: relative; overflow: hidden; border-radius: var(--r); padding: 1.9rem 1.6rem; border: 1.5px solid rgba(43,30,22,.06); transition: transform .35s cubic-bezier(.2,.9,.3,1.3), box-shadow .35s; }
.lm-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--x, 50%) var(--y, 0%), rgba(255,255,255,.95), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.lm-card:hover { transform: translateY(-9px); box-shadow: 0 28px 44px -22px rgba(43,30,22,.35); }
.lm-card:hover::before { opacity: 1; }
.lm-card > * { position: relative; }
.lm-card h3 { font-size: 1.05rem; }
.lm-card p { margin: 0; color: var(--soft); font-size: .98rem; }
.lm-ico { width: 74px; height: 74px; display: grid; place-items: center; background: #fff; border-radius: 24px; margin-bottom: 1.2rem; box-shadow: 0 12px 20px -12px rgba(43,30,22,.4); transition: transform .5s cubic-bezier(.2,.9,.3,1.6); }
.lm-ico svg { width: 42px; height: 42px; }
.lm-card:hover .lm-ico { transform: rotate(-9deg) scale(1.12); }
.lm-c-red { background: var(--red-soft); }
.lm-c-yellow { background: var(--sun-soft); }
.lm-c-teal { background: var(--teal-soft); }

/* programs */
.lm-prog { --rx: 0deg; --ry: 0deg; position: relative; background: #fff; color: var(--ink); border-radius: var(--r); padding: 2rem 1.6rem 1.7rem; border-top: 8px solid var(--c, var(--red)); box-shadow: 0 30px 50px -26px rgba(2,40,48,.7); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .2s ease-out, box-shadow .3s; will-change: transform; }
.lm-prog:hover { box-shadow: 0 40px 60px -26px rgba(2,40,48,.8); }
.lm-prog:nth-child(1) { --c: #F7384F; } .lm-prog:nth-child(2) { --c: #FFB300; } .lm-prog:nth-child(3) { --c: #3A86E0; } .lm-prog:nth-child(4) { --c: #16A37F; }
.lm-prog b { font-family: var(--f-display); font-size: 2.7rem; font-weight: 700; line-height: 1; color: var(--c); }
.lm-age { font-weight: 800; color: var(--soft); margin-left: .35em; }
.lm-prog h3 { margin-top: .9rem; font-size: 1.05rem; }
.lm-prog p { margin: 0; color: var(--soft); font-size: .96rem; }

/* daily rhythm: the line fills as you scroll */
.lm-timeline { --p: 0; position: relative; list-style: none; margin: 0; padding: 0; max-width: 680px; }
.lm-timeline::before, .lm-timeline::after { content: ""; position: absolute; left: 21px; top: 8px; width: 5px; border-radius: 5px; }
.lm-timeline::before { bottom: 8px; background: #EFE6CF; }
.lm-timeline::after { height: calc((100% - 16px) * var(--p)); background: linear-gradient(180deg, var(--teal), var(--red)); }
.lm-timeline li { position: relative; display: flex; gap: 1.1rem; align-items: center; padding: .8rem 0 .8rem 64px; }
.lm-timeline li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: #fff; border: 5px solid #E3D8BC; transition: transform .45s cubic-bezier(.2,.9,.3,1.8), background .3s, border-color .3s; z-index: 1; }
.lm-timeline li.on::before { background: var(--yellow); border-color: var(--red); transform: scale(1.18); }
.lm-timeline time { flex: none; min-width: 5.2em; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: .9rem; padding: .3em .8em; border-radius: 999px; background: var(--teal-soft); color: var(--teal-d); transition: background .3s, color .3s, transform .3s; }
.lm-timeline li.on time { background: var(--teal); color: #fff; transform: scale(1.06); }
.lm-timeline div { font-weight: 700; opacity: .55; transition: opacity .3s; }
.lm-timeline li.on div { opacity: 1; }

/* contact */
.lm-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.lm-contact h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.lm-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; font-weight: 700; display: grid; gap: .9rem; }
.lm-list li { display: flex; align-items: center; gap: .9rem; }
.lm-ci { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--teal-soft); transition: transform .3s cubic-bezier(.2,.9,.3,1.6), background .2s; }
.lm-ci svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-d); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lm-list li:hover .lm-ci { transform: rotate(-8deg) scale(1.1); background: var(--sun-soft); }
.lm-list a:hover { color: var(--red); }
.lm-map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--r); box-shadow: 0 20px 34px -22px rgba(2,60,70,.5); }
.lm-form { background: #fff; border-radius: var(--r); padding: 2.1rem; border-top: 8px solid var(--teal); box-shadow: 0 34px 60px -30px rgba(2,70,80,.45); }
.lm-form h3 { font-size: 1.25rem; }
.lm-form label { display: block; font-weight: 800; margin-bottom: 1rem; font-size: .95rem; }
.lm-form input, .lm-form select, .lm-form textarea {
	display: block; width: 100%; margin-top: .35rem; padding: .8em 1em; font: inherit; font-weight: 600; color: var(--ink);
	border: 2px solid #E4EEF0; border-radius: 16px; background: #F7FBFC; transition: border-color .2s, box-shadow .2s, background .2s;
}
.lm-form input:focus, .lm-form select:focus, .lm-form textarea:focus { outline: 0; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 5px rgba(3,185,199,.18); }
.lm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lm-status { margin: 1rem 0 0; font-weight: 800; min-height: 1.5em; }
.lm-status.ok { color: #0a8f6a; }
.lm-status.err { color: var(--red); }

/* footer */
.lm-footer { position: relative; background: linear-gradient(180deg, var(--sea), #033640); color: #fff; padding: 3.5rem 0 2.4rem; margin-top: 110px; }
.lm-footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.lm-brand-foot { color: #fff !important; }
.lm-brand-foot img { background: #fff; border-radius: 50%; padding: 3px; mix-blend-mode: normal; }
.lm-brand-foot small { color: var(--yellow); }
.lm-social { display: flex; gap: 1.2rem; font-weight: 800; }
.lm-social a { position: relative; }
.lm-social a:hover { color: var(--yellow); }
.lm-footer p { margin: 0; font-weight: 700; opacity: .85; }

/* reveal (animation, so hover transforms keep working afterwards) */
.lm-reveal { opacity: 0; }
.lm-reveal.in { opacity: 1; animation: lm-rise-in .8s var(--d, 0s) cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes lm-rise-in { from { opacity: 0; transform: translateY(34px) scale(.96); } }

/* registration steps */
.lm-reg-cta { text-align: center; margin: 2.2rem 0 0; }
.lm-rsteps { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; display: grid; gap: 1.1rem; }
.lm-rsteps li { display: flex; gap: 1.2rem; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 1.5rem 1.6rem; box-shadow: 0 18px 30px -22px rgba(43,30,22,.5); transition: transform .3s cubic-bezier(.2,.9,.3,1.4), box-shadow .3s; }
.lm-rsteps li:hover { transform: translateX(8px); box-shadow: 0 24px 36px -22px rgba(43,30,22,.55); }
.lm-rsteps li > i { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--yellow); font-style: normal; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; transition: transform .5s cubic-bezier(.2,.9,.3,1.8); }
.lm-rsteps li:hover > i { transform: rotate(360deg) scale(1.08); }
.lm-rsteps li:nth-child(2) > i { background: var(--teal); color: #fff; }
.lm-rsteps li:nth-child(3) > i { background: var(--red); color: #fff; }
.lm-rsteps li:nth-child(4) > i { background: var(--teal-d); color: #fff; }
.lm-rsteps h3 { margin: 0 0 .3rem; font-size: 1rem; }
.lm-rsteps p { margin: 0; color: var(--soft); }
.lm-rfee { max-width: 780px; margin: 1.5rem auto 0; padding: 1.1rem 1.3rem; background: #fff; border-left: 6px solid var(--teal); border-radius: 0 var(--r) var(--r) 0; }

/* news / announcements */
.lm-news { background: #fff; padding-bottom: 1rem; }
.lm-news-list { display: grid; gap: 1.1rem; max-width: 820px; margin: 0 auto; }
.lm-news-item { background: var(--paper); border-radius: var(--r); padding: 1.4rem 1.6rem; border-left: 7px solid var(--yellow); transition: transform .3s, box-shadow .3s; }
.lm-news-item:hover { transform: translateY(-4px); box-shadow: 0 22px 34px -24px rgba(43,30,22,.5); }
.lm-news-item:first-child { border-left-color: var(--red); }
.lm-news-item time { display: inline-block; font-weight: 800; font-size: .88rem; color: var(--teal-d); margin-bottom: .2rem; }
.lm-news-item h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.lm-news-item p { margin: 0; color: var(--soft); overflow-wrap: anywhere; }
.lm-news-item p a { color: var(--teal-d); text-decoration: underline; }

/* ================= arches & photo frames ================= */
.lm-arch, .lm-snap { position: relative; overflow: hidden; background: #fff; border: 7px solid #fff; box-shadow: 0 30px 50px -28px rgba(2,60,70,.6); }
.lm-arch { border-radius: 999px 999px 32px 32px; }
.lm-snap { border-radius: 30px; }
.lm-arch img, .lm-snap img { width: 100%; height: 100%; object-fit: cover; }

/* about */
.lm-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4.5rem; align-items: center; }
.lm-about-photos { position: relative; aspect-ratio: 1 / 1.05; }
.lm-about-photos::before { content: ""; position: absolute; left: -6%; top: 12%; width: 62%; height: 70%; border-radius: 999px 999px 32px 32px; background: var(--yellow); transform: rotate(-4deg); }
.lm-arch-a { position: absolute; left: 4%; top: 0; width: 62%; height: 82%; rotate: -2deg; }
.lm-arch-a img { object-position: 78% 50%; }
.lm-snap-b { position: absolute; right: 0; bottom: 0; width: 56%; height: 52%; rotate: 3deg; border-color: #fff; box-shadow: 0 30px 50px -24px rgba(2,60,70,.65), 0 0 0 6px var(--teal-soft); }
.lm-snap-b img { object-position: 60% 30%; }
.lm-about-photos .lm-star { fill: var(--red); width: 34px; right: 12%; top: 4%; }
.lm-head-left { text-align: left; margin: 0 0 1.8rem; max-width: 560px; }
.lm-head h2::after { content: ""; display: block; width: 84px; height: 12px; margin: .55rem auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 12'%3E%3Cpath d='M2 6c8-8 14-8 20 0s12 8 20 0 14-8 20 0 12 8 20 0' fill='none' stroke='%23F7384F' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.lm-head-left h2::after { margin-left: 0; }
.lm-head-light h2::after { filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(-8deg) brightness(1.15); }
.lm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lm-tile { display: flex; gap: .9rem; align-items: flex-start; padding: 1.2rem; border-radius: 24px; transition: transform .3s cubic-bezier(.2,.9,.3,1.4); }
.lm-tile:hover { transform: translateY(-5px); }
.lm-tile .lm-ico { flex: none; width: 56px; height: 56px; border-radius: 18px; margin: 0; }
.lm-tile .lm-ico svg { width: 32px; height: 32px; }
.lm-tile h3 { font-size: .98rem; margin-bottom: .3em; }
.lm-tile p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--soft); }

/* gallery mosaic */
.lm-gallery { background: linear-gradient(180deg, #fff 0%, var(--teal-soft) 100%); }
.lm-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; grid-template-areas: "a a c f" "a a d f" "b e e h"; }
.lm-shot-a { grid-area: a; } .lm-shot-c { grid-area: c; } .lm-shot-d { grid-area: d; } .lm-shot-f { grid-area: f; }
.lm-shot-b { grid-area: b; } .lm-shot-e { grid-area: e; } .lm-shot-h { grid-area: h; }
.lm-shot { position: relative; padding: 0; border: 0; border-radius: 26px; overflow: hidden; cursor: zoom-in; background: #cfe9ec; box-shadow: 0 22px 36px -24px rgba(2,60,70,.6); font: inherit; }
.lm-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.lm-shot:hover img, .lm-shot:focus-visible img { transform: scale(1.06); }
.lm-shot-cap { position: absolute; left: .8rem; bottom: .8rem; max-width: calc(100% - 1.6rem); padding: .35em .95em; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-weight: 800; font-size: .88rem; line-height: 1.3; text-align: left; backdrop-filter: blur(6px); }
.lm-shot-a img { object-position: 60% 40%; } .lm-shot-f img { object-position: 35% 40%; } .lm-shot-h img { object-position: 70% 40%; }
.lm-shot-e img { object-position: 50% 55%; } .lm-shot-c img { object-position: 85% 35%; }

.lm-lightbox { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 1.2rem; background: rgba(3,40,48,.9); backdrop-filter: blur(8px); animation: lm-fade .25s ease-out; }
.lm-lightbox[hidden] { display: none; }
@keyframes lm-fade { from { opacity: 0; } }
.lm-lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lm-lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 40px 80px -30px #000; animation: lm-pop .35s cubic-bezier(.2,.9,.3,1.2); }
.lm-lightbox figcaption { margin-top: 1rem; color: #fff; font-weight: 800; font-size: 1.05rem; }
.lm-lightbox button { position: absolute; border: 0; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--teal-d); font-size: 2rem; line-height: 1; display: grid; place-items: center; padding: 0 0 .15em; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); transition: transform .2s, background .2s; }
.lm-lightbox button:hover { transform: scale(1.1); background: var(--yellow); }
.lm-lb-x { top: 1rem; right: 1rem; } .lm-lb-prev { left: 1rem; top: 50%; margin-top: -26px; } .lm-lb-next { right: 1rem; top: 50%; margin-top: -26px; }

/* daily rhythm split */
.lm-day { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.lm-day-photo { position: relative; }
.lm-arch-c { aspect-ratio: .86; border-radius: 999px 999px 36px 36px; rotate: 2deg; }
.lm-arch-c img { object-position: 62% 50%; }
.lm-sticker { position: absolute; right: -4%; bottom: 8%; display: flex; align-items: center; gap: .35rem; padding: .9rem 1.2rem; border-radius: 22px; background: var(--yellow); color: var(--ink); rotate: -5deg; box-shadow: 0 18px 30px -14px rgba(120,80,0,.6); font-family: var(--f-display); }
.lm-sticker b { font-size: 1.15rem; } .lm-sticker span { font-weight: 700; }

/* enrollment split */
.lm-enroll { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.lm-enroll-side { position: sticky; top: 6.5rem; }
.lm-enroll .lm-rsteps { max-width: none; margin: 0; }
.lm-fee { padding: 1.6rem; border-radius: var(--r); background: linear-gradient(150deg, var(--teal) 0%, var(--teal-d) 100%); color: #fff; box-shadow: 0 30px 50px -28px rgba(2,70,80,.8); }
.lm-fee small { font-weight: 800; opacity: .9; font-size: .95rem; }
.lm-fee strong { display: block; font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.15; margin: .25rem 0 .6rem; }
.lm-fee em { font-style: normal; font-size: .5em; font-weight: 600; opacity: .9; }
.lm-fee p { margin: 0; font-size: .95rem; opacity: .95; }
.lm .lm-rphone { margin: 1.2rem 0 0; font-weight: 700; }
.lm-enroll .lm-reg-cta { text-align: left; margin-top: 1.2rem; }

/* contact photo */
.lm-arch-d { aspect-ratio: 1.15; border-radius: 999px 999px 32px 32px; margin-top: .5rem; }
.lm-arch-d img { object-position: 50% 70%; }

/* ================= responsive ================= */
.lm-tabbar { display: none; }
@media (max-width: 960px) {
	.lm-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.lm-contact { grid-template-columns: 1fr; gap: 2.2rem; }
	.lm-about, .lm-day, .lm-enroll { grid-template-columns: 1fr; gap: 2.5rem; }
	.lm-about-photos { width: min(100%, 460px); margin-inline: auto; }
	.lm-day-photo { width: min(100%, 440px); margin-inline: auto; }
	.lm-enroll-side { position: static; }
	.lm-head-left { max-width: none; }
	.lm-mosaic { grid-auto-rows: 190px; }
}
@media (max-width: 820px) {
	.lm-hero { padding: 2.2rem 0 7rem; }
	.lm-hero-in { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
	.lm-hero p { margin-inline: auto; }
	.lm-actions { justify-content: center; }
	.lm-collage { width: min(100%, 420px); margin-top: 1.5rem; }
	.lm-facts { justify-content: center; }
	.lm-cl-port { left: 5%; top: 8%; width: 34%; }
	.lm-sec { padding: 4rem 0; }
	.lm-sec-teal { padding: 6rem 0; }
}
@media (max-width: 700px) {
	.lm-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; grid-template-areas: "a a" "c d" "f f" "b e" "h h"; }
	.lm-lb-prev, .lm-lb-next { top: auto; bottom: 1.2rem; margin: 0; } .lm-lb-prev { left: calc(50% - 64px); } .lm-lb-next { right: calc(50% - 64px); }
}
@media (max-width: 540px) {
	.lm-chip { font-size: .86rem; }
	.lm-chip-txt { padding-inline: .6em .8em; }
	.lm-tiles { grid-template-columns: 1fr; }
	.lm-grid-4 { grid-template-columns: 1fr; }
	.lm-footer-in { justify-content: center; text-align: center; }
	.lm-timeline li { padding-left: 56px; gap: .8rem; }
	.lm-timeline time { min-width: 4.4em; }
}

/* mobile bottom tab bar */
@media (max-width: 900px) {
	.lm { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	.lm-tabbar {
		display: flex; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
		padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 2px;
		background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
		border-top: 1px solid rgba(43,30,22,.08); box-shadow: 0 -6px 24px rgba(43,30,22,.08);
	}
	.lm-tabbar a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px 5px; border-radius: 16px; color: var(--soft); font-size: 11px; font-weight: 800; line-height: 1.2; text-align: center; -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s; }
	.lm-tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.lm-tabbar a svg { flex: none; transition: transform .25s cubic-bezier(.2,.9,.3,1.8); }
	.lm-tabbar a.on { background: var(--red-soft); color: var(--red-d); }
	.lm-tabbar a.on svg { transform: translateY(-2px) scale(1.12); }
	.lm-tabbar a:nth-child(2).on, .lm-tabbar a:nth-child(4).on { background: var(--teal-soft); color: var(--teal-d); }
	.lm-tabbar a:nth-child(3).on { background: var(--sun-soft); color: #8a5a00; }
	.lm-tabbar a:last-child { color: var(--ink); }
	.lm-nav, .lm-burger { display: none !important; }
	.lm-header-in { justify-content: space-between; }
	.lm-progress { top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); height: 3px; }
}

@media (prefers-reduced-motion: reduce) {
	.lm *, .lm *::before, .lm *::after { animation: none !important; transition: none !important; }
	.lm-reveal { opacity: 1; }
	.lm-marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: .6rem; -webkit-mask-image: none; mask-image: none; }
	.lm-mq[data-dup] { display: none; }
}

/* ---------------------------------------------------------------
 * Events
 * ------------------------------------------------------------- */
.lm-events { background: linear-gradient(#fff, var(--paper)); }
.lm-ev-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; max-width: 1060px; margin: 0 auto; }
.lm-ev { flex: 0 1 calc(50% - .8rem); min-width: 0; display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; cursor: pointer; font: inherit; color: inherit; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 38px -22px rgba(43,30,22,.45); transition: transform .3s, box-shadow .3s; }
.lm-ev:hover { transform: translateY(-6px); box-shadow: 0 28px 46px -24px rgba(43,30,22,.55); }
.lm-ev-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--teal-soft); }
.lm-ev-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lm-ev:hover .lm-ev-img > img { transform: scale(1.05); }
.lm-ev-ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-soft), var(--sun-soft)); }
.lm-ev-ph img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.lm-ev-date { position: absolute; top: .9rem; left: .9rem; min-width: 56px; padding: .35rem .7rem .4rem; text-align: center; background: #fff; border-radius: 16px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); line-height: 1.1; }
.lm-ev-date b { display: block; font-size: 1.55rem; font-weight: 900; letter-spacing: -.03em; }
.lm-ev-date small { display: block; margin-top: .1rem; font-size: .68rem; font-weight: 800; color: var(--red-d); white-space: nowrap; }
.lm-ev-count { position: absolute; right: .8rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .3rem; padding: .25em .7em; border-radius: 999px; background: rgba(4,81,92,.82); color: #fff; font-size: .8rem; font-weight: 800; backdrop-filter: blur(4px); }
.lm-ev-body { display: block; padding: 1.1rem 1.4rem 1.3rem; }
.lm-ev-body strong { display: block; font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.lm-ev-meta { display: block; margin-top: .3rem; font-size: .88rem; font-weight: 700; color: var(--teal-d); }
.lm-ev-sub { margin: 3.4rem 0 1.4rem; text-align: center; font-size: 1.25rem; }
.lm-ev-grid-past .lm-ev { flex-basis: calc(33.333% - 1.1rem); }
.lm-ev-past .lm-ev-img > img { filter: saturate(.65); }
.lm-ev-past .lm-ev-date small { color: var(--soft); }
.lm-ev-none { text-align: center; color: var(--soft); margin: 0; }

/* popup */
.lm-evm { position: fixed; z-index: 210; inset: 0; display: grid; place-items: center; padding: 1.2rem; background: rgba(3,40,48,.82); backdrop-filter: blur(8px); animation: lm-fade .25s ease-out; }
.lm-evm[hidden] { display: none; }
.lm-evm-card { position: relative; width: min(860px, 100%); max-height: calc(100vh - 2.4rem); max-height: calc(100dvh - 2.4rem); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 28px; box-shadow: 0 40px 80px -30px #000; animation: lm-pop .35s cubic-bezier(.2,.9,.3,1.2); }
.lm-evm-x, .lm-evm-n { position: absolute; z-index: 3; border: 0; cursor: pointer; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--teal-d); line-height: 1; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); transition: transform .2s, background .2s; }
.lm-evm-x:hover, .lm-evm-n:hover { transform: scale(1.1); background: var(--yellow); }
.lm-evm-x { top: .9rem; right: .9rem; width: 44px; height: 44px; font-size: 1.7rem; padding-bottom: .12em; }
.lm-evm-n { top: 50%; width: 44px; height: 44px; margin-top: -22px; font-size: 1.8rem; padding-bottom: .15em; }
.lm-evm-prev { left: .9rem; } .lm-evm-next { right: .9rem; }
.lm-evm-stage { position: relative; aspect-ratio: 16 / 10; background: var(--teal-soft); }
.lm-evm-stage > img { width: 100%; height: 100%; object-fit: cover; }
.lm-evm.no-img .lm-evm-stage, .lm-evm.no-img .lm-evm-thumbs { display: none; }
.lm-evm.no-img .lm-evm-body { padding-top: 3.4rem; }
.lm-evm.one-img .lm-evm-n, .lm-evm.one-img .lm-evm-thumbs { display: none; }
.lm-evm-thumbs { display: flex; gap: .6rem; padding: .8rem 1.4rem 0; overflow-x: auto; }
.lm-evm-thumbs button { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; opacity: .75; transition: opacity .2s, border-color .2s; }
.lm-evm-thumbs button:hover { opacity: 1; }
.lm-evm-thumbs button.on { border-color: var(--teal); opacity: 1; }
.lm-evm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lm-evm-body { padding: 1.2rem 1.8rem 1.8rem; }
.lm-evm-when { display: inline-block; padding: .4em 1em; border-radius: 999px; background: var(--red-soft); color: var(--red-d); font-weight: 800; font-size: .9rem; }
.lm-evm-body h3 { margin: .8rem 0 .7rem; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.lm-evm-loc { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; color: var(--teal-d); font-weight: 800; }
.lm-evm-loc[hidden] { display: none; }
.lm-evm-loc i { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-soft); }
.lm-evm-desc { color: var(--soft); white-space: pre-line; overflow-wrap: anywhere; }
.lm-evm-desc:empty { display: none; }
.lm-evm-cta[hidden] { display: none; }
.lm-evm-cta { margin-top: .4rem; }

@media (max-width: 760px) {
	.lm-ev, .lm-ev-grid-past .lm-ev { flex-basis: 100%; }
	.lm-evm { padding: .6rem; }
	.lm-evm-card { max-height: calc(100vh - 1.2rem); max-height: calc(100dvh - 1.2rem); border-radius: 22px; }
	.lm-evm-body { padding: 1rem 1.2rem 1.4rem; }
	.lm-evm-thumbs { padding-inline: 1.2rem; }
}

/* Teachers */
.lm-teachers { background: linear-gradient(#fff, var(--teal-soft)); }
.lm-th-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; max-width: 1100px; margin: 0 auto; }
.lm-th { flex: 0 1 calc(25% - 1.2rem); min-width: 220px; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 38px -24px rgba(4,81,92,.5); text-align: center; transition: transform .3s, box-shadow .3s; }
.lm-th:hover { transform: translateY(-6px); box-shadow: 0 28px 46px -26px rgba(4,81,92,.6); }
.lm-th-ph { aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--sun-soft), var(--red-soft)); display: grid; place-items: center; overflow: hidden; }
.lm-th-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .6s; }
.lm-th:hover .lm-th-ph img { transform: scale(1.05); }
.lm-th-ini { font-size: 3.4rem; font-weight: 900; color: var(--red-d); }
.lm-th-body { padding: 1.1rem 1.2rem 1.4rem; }
.lm-th-body h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.lm-th-role { display: inline-block; margin-bottom: .5rem; font-size: .85rem; font-weight: 800; color: var(--teal-d); }
.lm-th-body p { margin: 0; font-size: .92rem; color: var(--soft); overflow-wrap: anywhere; }
@media (max-width: 900px) { .lm-th { flex-basis: calc(50% - .8rem); } }
@media (max-width: 480px) { .lm-th { flex-basis: 100%; } }

/* event popup: registration spots note */
.lm-evm-note { margin: 0 0 .9rem; display: inline-block; padding: .3em .9em; border-radius: 999px; background: var(--sun-soft); color: #7A5200; font-weight: 800; font-size: .88rem; }
.lm-evm-note[hidden] { display: none; }


/* Event popup: share */
.lm-evm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: .4rem; }
.lm-evm-actions .lm-evm-cta { margin-top: 0; }
.lm-evm-share { display: inline-flex; align-items: center; gap: .5rem; padding: .7em 1.3em; border-radius: 999px; border: 2px solid #1877F2; color: #1877F2; font-weight: 800; font-size: .95rem; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.lm-evm-share:hover { background: #1877F2; color: #fff; transform: translateY(-2px); }
.lm-evm-share[hidden] { display: none; }

/* Blog (home page section) */
.lm-blog { background: linear-gradient(var(--paper), #fff); }
.lm-bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; max-width: 1100px; margin: 0 auto; }
.lm-bl { display: flex; flex-direction: column; background: #fff; border-radius: 28px; overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 18px 38px -24px rgba(43,30,22,.45); transition: transform .3s, box-shadow .3s; }
.lm-bl:hover { transform: translateY(-6px); box-shadow: 0 28px 46px -26px rgba(43,30,22,.55); }
.lm-bl-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-soft); }
.lm-bl-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lm-bl:hover .lm-bl-img > img { transform: scale(1.05); }
.lm-bl-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--teal-soft), var(--sun-soft)); }
.lm-bl-ph img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.lm-bl-body { display: block; padding: 1.2rem 1.4rem 1.5rem; }
.lm-bl-body time { display: block; font-size: .82rem; font-weight: 800; color: var(--red-d); }
.lm-bl-body strong { display: block; margin: .3rem 0 .45rem; font-size: 1.12rem; line-height: 1.3; }
.lm-bl-ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .93rem; color: var(--soft); }
.lm-bl-more { display: block; margin-top: .8rem; font-weight: 800; font-size: .9rem; color: var(--teal-d); }
.lm-bl-all { text-align: center; margin: 2.2rem 0 0; }
@media (max-width: 900px) { .lm-bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lm-bl-grid { grid-template-columns: 1fr; } }
