/* ==========================================================================
   Markhor Junior — landing page (front page only)
   Tiers: html.lp-full (desktop) / html.lp-lite (phones, low power).
   Motion is gated by html.mj-anim (absent under prefers-reduced-motion).
   ========================================================================== */

.lp { --ink: #0C0E1A; --ink2: #141729; --paper: #FAF8F4; --red: #C8323A; --red-hi: #E2434B; --line-d: rgba(255,255,255,.12); --line-l: rgba(12,14,26,.12); --wrap: 1240px; --g: clamp(20px, 4vw, 48px); --ease: cubic-bezier(.2,.8,.2,1); overflow-x: clip; }
.lp * { box-sizing: border-box; }
.lp-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--g)); margin-inline: auto; padding-inline: var(--g); position: relative; z-index: 2; }
.lp-sec { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.lp .lp-kicker { font-size: .95rem; font-weight: 700; color: var(--red); margin: 0 0 16px; }
.lp .lp-h2 { font-size: clamp(2.3rem, 4.6vw + .4rem, 5rem); line-height: 1; font-weight: 850; font-stretch: 115%; letter-spacing: -.035em; margin: 0 0 .45em; max-width: 15em; text-wrap: balance; }
.lp .lp-lead { font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); color: #4A4F60; max-width: 34em; }
.lp .lp-link { font-weight: 750; color: var(--ink); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.lp .lp-link:hover { color: var(--red); }
.lp .lp-link--light { color: #fff; }

/* Word reveal (server-rendered spans; hidden only when motion is on) */
.lp-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.lp-w > span { display: inline-block; }
html.mj-anim .lp [data-lp-reveal] .lp-w > span { transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 65ms); }
html.mj-anim .lp [data-lp-reveal].is-in .lp-w > span { transform: none; }
html.mj-anim .lp [data-lp-reveal]:not(:has(.lp-w)) { opacity: 0; translate: 0 36px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: var(--rd, 0ms); }
html.mj-anim .lp [data-lp-reveal]:not(:has(.lp-w)).is-in { opacity: 1; translate: none; }
html.mj-anim .lp [data-lp-reveal]:not(.is-in) { animation: lp-failsafe 0s 4s forwards; }
html.mj-anim .lp [data-lp-reveal]:not(.is-in) .lp-w > span { animation: lp-failsafe-w 0s 4s forwards; }
@keyframes lp-failsafe { to { opacity: 1; translate: none; } }
@keyframes lp-failsafe-w { to { transform: none; } }

/* Buttons */
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp .lp-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 30px; border-radius: 6px; font-weight: 750; font-size: 1.02rem; text-decoration: none; overflow: hidden; isolation: isolate; border: 2px solid transparent; transition: color .35s, border-color .35s, transform .35s var(--ease); }
.lp .lp-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.lp .lp-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.lp .lp-btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.lp .lp-btn:hover .icon { transform: translate(3px, -3px); }
.lp .lp-btn--primary { background: var(--red); color: #fff; }
.lp .lp-btn--primary::before { background: #fff; }
.lp .lp-btn--primary:hover { color: var(--ink); }
.lp .lp-btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.lp .lp-btn--ghost::before { background: #fff; }
.lp .lp-btn--ghost:hover { color: var(--ink); border-color: #fff; }
.lp .lp-btn:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; }

/* ============================ HERO ============================ */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; min-height: calc(100svh - 40px); display: flex; flex-direction: column; justify-content: center; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(80px, 9vw, 120px); }
.admin-bar .lp-hero { min-height: calc(100svh - 72px); }
.lp-hero__grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(80% 70% at 65% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 65% 45%, #000 20%, transparent 75%); }
.lp-hero__glow i { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .45; }
.lp-hero__glow i:nth-child(1) { width: 46vw; height: 46vw; right: -10vw; top: -14vw; background: #2F4FD0; }
.lp-hero__glow i:nth-child(2) { width: 30vw; height: 30vw; right: 22vw; bottom: -16vw; background: #B8336A; opacity: .3; }
.lp-hero__glow i:nth-child(3) { width: 26vw; height: 26vw; left: -10vw; top: 20%; background: #0B7A9E; opacity: .22; }
html.mj-anim .lp-hero__glow i { animation: lp-drift 18s ease-in-out infinite alternate; }
html.mj-anim .lp-hero__glow i:nth-child(2) { animation-duration: 22s; animation-delay: -6s; }
@keyframes lp-drift { to { transform: translate(4vw, 3vw) scale(1.1); } }

.lp-hero__inner { width: 100%; }
.lp .lp-hero__h1 { margin: 0; font-size: inherit; line-height: 1; }
.lp .lp-hero__eyebrow { display: block; font-size: clamp(1rem, .3vw + .95rem, 1.15rem); font-weight: 700; color: #F0646B; margin-bottom: 22px; font-stretch: 100%; letter-spacing: 0; }
.lp .lp-hero__title { display: block; max-width: 9.6em; font-size: clamp(3rem, 6.4vw, 6.6rem); line-height: .93; font-weight: 870; font-stretch: 118%; letter-spacing: -.045em; color: #fff; }
.lp-hero__title .lp-w > span { padding-right: .04em; }
.lp .lp-hero__sub { font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem); font-weight: 700; font-stretch: 108%; margin: 30px 0 12px; color: #fff; max-width: 28em; }
.lp .lp-hero__text { font-size: clamp(1.02rem, .3vw + .98rem, 1.15rem); line-height: 1.65; color: #B7BCCB; max-width: 36em; margin: 0 0 34px; }
.lp .lp-hero__subjects { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 44px 0 0; }
.lp .lp-hero__subjects a { position: relative; display: inline-flex; align-items: center; gap: 9px; color: #DCDFE8; text-decoration: none; font-weight: 650; padding: 6px 0; }
.lp .lp-hero__subjects a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--c); transition: box-shadow .35s; }
.lp .lp-hero__subjects a::after { content: ""; position: absolute; left: 18px; right: 0; bottom: 2px; height: 2px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.lp .lp-hero__subjects a:hover { color: #fff; }
.lp .lp-hero__subjects a:hover::before { box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 35%, transparent); }
.lp .lp-hero__subjects a:hover::after { transform: scaleX(1); }
.lp-scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; z-index: 3; }
.lp-scroll i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; }
html.mj-anim .lp-scroll i { animation: lp-scroll 1.8s ease-in-out infinite; }
@keyframes lp-scroll { 0% { opacity: 0; transform: none; } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* Hero entrance sequence */
html.mj-anim .lp-hero__eyebrow { animation: lp-up .8s var(--ease) .15s both; }
html.mj-anim .lp-hero__title .lp-w > span { animation: lp-rise 1.05s var(--ease) both; animation-delay: calc(.3s + var(--wi) * 110ms); }
html.mj-anim .lp-hero__sub { animation: lp-up .9s var(--ease) .85s both; }
html.mj-anim .lp-hero__text { animation: lp-up .9s var(--ease) .98s both; }
html.mj-anim .lp-hero__actions > * { animation: lp-up .9s var(--ease) both; }
html.mj-anim .lp-hero__actions > :nth-child(1) { animation-delay: 1.1s; }
html.mj-anim .lp-hero__actions > :nth-child(2) { animation-delay: 1.2s; }
html.mj-anim .lp-hero__subjects li { animation: lp-up .7s var(--ease) both; }
html.mj-anim .lp-hero__subjects li:nth-child(1) { animation-delay: 1.3s; } html.mj-anim .lp-hero__subjects li:nth-child(2) { animation-delay: 1.36s; } html.mj-anim .lp-hero__subjects li:nth-child(3) { animation-delay: 1.42s; } html.mj-anim .lp-hero__subjects li:nth-child(4) { animation-delay: 1.48s; } html.mj-anim .lp-hero__subjects li:nth-child(5) { animation-delay: 1.54s; }
html.mj-anim body.home .site-header .brand__mark { animation: lp-logo 1s var(--ease) both; }
@keyframes lp-rise { from { transform: translateY(108%); } }
@keyframes lp-up { from { opacity: 0; transform: translateY(26px); } }
@keyframes lp-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes lp-logo { from { opacity: 0; transform: scale(.4) rotate(-40deg); } }

/* Five worlds */
.lp-worlds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lp-world { position: absolute; translate: var(--px, 0) var(--py, 0); transition: translate .8s var(--ease); }
html.mj-anim .lp-world { animation: lp-pop 1.2s var(--ease) both; }
.lp-world--math { right: 6%; top: 15%; width: 260px; height: 220px; animation-delay: 1s !important; }
.lp-world--eng { right: 30%; top: 9%; animation-delay: 1.15s !important; }
.lp-world--sci { right: 3%; bottom: 13%; width: 230px; animation-delay: 1.3s !important; }
.lp-world--rob { right: 26%; bottom: 8%; width: 250px; animation-delay: 1.45s !important; }
.lp-world--art { right: 14%; top: 42%; width: 330px; height: 180px; animation-delay: 1.6s !important; }

.lp-cube { --s: 96px; position: absolute; left: 70px; top: 50px; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(30deg); }
html.mj-anim .lp-cube { animation: lp-cube 16s linear infinite; }
@keyframes lp-cube { to { transform: rotateX(-24deg) rotateY(390deg); } }
.lp-cube i { position: absolute; inset: 0; border: 1.5px solid rgba(124,151,255,.85); background: rgba(47,107,255,.08); }
.lp-cube i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); } .lp-cube i:nth-child(2) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); } .lp-cube i:nth-child(3) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); } .lp-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); } .lp-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); } .lp-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.lp-eq { position: absolute; white-space: nowrap; font: 600 .95rem/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #9DB0FF; opacity: .7; }
.lp-eq--1 { left: -30px; top: 0; } .lp-eq--2 { right: -10px; top: 170px; } .lp-eq--3 { left: -60px; top: 120px; }
html.mj-anim .lp-eq { animation: lp-float 6s ease-in-out infinite alternate; }
html.mj-anim .lp-eq--2 { animation-delay: -2s; } html.mj-anim .lp-eq--3 { animation-delay: -4s; }
@keyframes lp-float { to { transform: translateY(-14px); } }
.lp-aa { display: block; font: italic 400 clamp(4rem, 7vw, 6.5rem)/1 Georgia, "Times New Roman", serif; color: rgba(255,255,255,.16); }
.lp-letters { display: flex; gap: 8px; margin-top: 4px; font: 600 1.2rem/1 Georgia, serif; color: #C9A7E0; }
html.mj-anim .lp-letters i { animation: lp-letter 5s ease-in-out infinite; animation-delay: calc(var(--n, 0) * .25s); font-style: normal; }
.lp-letters i:nth-child(2) { --n: 1; } .lp-letters i:nth-child(3) { --n: 2; } .lp-letters i:nth-child(4) { --n: 3; } .lp-letters i:nth-child(5) { --n: 4; }
@keyframes lp-letter { 0%, 100% { transform: translate(0, 0) rotate(0); opacity: .9; } 40% { transform: translate(calc((var(--n) - 2) * 12px), -22px) rotate(calc((var(--n) - 2) * 14deg)); opacity: .5; } }
.lp-atom { width: 100%; height: auto; overflow: visible; }
.lp-atom ellipse { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.5; }
.lp-atom .lp-e { fill: #F0646B; }
.lp-atom__core { fill: #E2334A; filter: drop-shadow(0 0 14px #E2334A); }
.lp-atom__orb { transform-origin: 100px 100px; }
.lp-atom__orb--2 { transform: rotate(60deg); } .lp-atom__orb--3 { transform: rotate(120deg); }
html.mj-anim .lp-atom { animation: lp-spin 24s linear infinite; }
html.mj-anim .lp-atom .lp-e { animation: lp-spin 3s linear infinite; transform-origin: 100px 100px; }
@keyframes lp-spin { to { transform: rotate(360deg); } }
.lp-circuit { width: 100%; height: auto; fill: none; stroke: rgba(0,229,255,.3); stroke-width: 2; }
.lp-circuit rect { fill: rgba(0,229,255,.08); stroke: #00E5FF; }
.lp-circuit circle { fill: #00E5FF; stroke: none; }
.lp-circuit__pulse { stroke: #00E5FF; stroke-dasharray: 24 400; filter: drop-shadow(0 0 4px #00E5FF); }
html.mj-anim .lp-circuit__pulse { animation: lp-pulse 3.2s linear infinite; }
@keyframes lp-pulse { from { stroke-dashoffset: 424; } to { stroke-dashoffset: 0; } }
.lp-gear { position: absolute; right: -40px; top: -40px; width: 64px; fill: none; stroke: #C9D1D9; stroke-width: 3; }
html.mj-anim .lp-gear { animation: lp-spin 9s linear infinite; }
.lp-blob { position: absolute; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; mix-blend-mode: screen; opacity: .8; }
.lp-blob--1 { width: 140px; height: 140px; left: 40px; top: 20px; background: #E6007E; }
.lp-blob--2 { width: 110px; height: 110px; left: 130px; top: 50px; background: #FFC300; }
html.mj-anim .lp-blob { animation: lp-morph 10s ease-in-out infinite; }
html.mj-anim .lp-blob--2 { animation-duration: 13s; animation-delay: -4s; }
@keyframes lp-morph { 0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0); } 33% { border-radius: 70% 30% 46% 54% / 30% 62% 38% 70%; transform: rotate(50deg) translate(10px, -8px); } 66% { border-radius: 35% 65% 30% 70% / 60% 35% 65% 40%; transform: rotate(120deg); } }
.lp-stroke { position: absolute; left: 0; top: 60px; width: 100%; fill: none; stroke: #00A6ED; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 420; }
html.mj-anim .lp-stroke { animation: lp-draw 6s var(--ease) infinite; }
@keyframes lp-draw { 0% { stroke-dashoffset: 420; } 45%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -420; } }

/* ============================ HEADER over the hero ============================ */
body.home .site-header { transition: background-color .4s, border-color .4s, box-shadow .4s; }
body.home .site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); opacity: 0; transition: opacity .4s; }
body.home .site-header.is-scrolled { background: transparent; box-shadow: 0 10px 30px -22px rgba(12,14,26,.5); }
body.home .site-header.is-scrolled::before { opacity: 1; }
body.home .site-header:not(.is-scrolled) { background: transparent; border-bottom-color: rgba(255,255,255,.08); }
body.home .site-header:not(.is-scrolled) .brand, body.home .site-header:not(.is-scrolled) .brand:hover { color: #fff; }
body.home .site-header:not(.is-scrolled) .brand__sub { color: #A9AEBB; }
body.home .site-header:not(.is-scrolled) .brand__red { color: #F0646B; }
body.home:not(.nav-open) .site-header:not(.is-scrolled) .nav-toggle { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
body.home.nav-open .site-header { background: #fff; }
body.home.nav-open .site-header .brand { color: var(--ink); }
body.home.nav-open .site-header .brand__sub { color: var(--muted); }
body.home.nav-open .site-header .brand__red { color: var(--red); }
@media (min-width: 1121px) {
	body.home .site-header:not(.is-scrolled) .site-nav .menu > li > a, body.home .site-header:not(.is-scrolled) .sub-toggle { color: #fff; }
	body.home .site-header:not(.is-scrolled) .btn--ink { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
}

/* ============================ INTRO ============================ */
.lp-intro { background: var(--paper); color: var(--ink); }
.lp-intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.lp .lp-intro__title { position: sticky; top: calc(var(--header-h) + 40px); margin: 0; }
.lp .lp-intro__lead { font-size: clamp(1.35rem, 1.2vw + 1rem, 1.9rem); line-height: 1.45; font-weight: 600; font-stretch: 104%; letter-spacing: -.01em; margin: 0 0 48px; }
.lp-intro__lead .rw { color: #6E7280; transition: color .35s; }
.lp-intro__lead .rw.lit { color: var(--ink); }
.lp-facts { margin: 0 0 32px; border-top: 2px solid var(--ink); }
.lp-facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-l); }
.lp-facts dt { font-weight: 800; }
.lp-facts dd { margin: 0; color: #4A4F60; }

/* ============================ FIVE SUBJECTS ============================ */
.lp-subjects { background: var(--paper); padding-top: clamp(40px, 5vw, 80px); }
.lp-subjects__head { padding-bottom: clamp(40px, 5vw, 72px); }
.lp-sub { position: relative; overflow: hidden; isolation: isolate; min-height: min(88vh, 820px); display: flex; align-items: center; padding-block: clamp(64px, 8vw, 110px); transform-origin: 50% 0; }
html.lp-full .lp-sub { position: sticky; top: var(--header-h); transform: scale(var(--sc, 1)); filter: brightness(var(--br, 1)); }
html.lp-full .admin-bar .lp-sub, html.lp-full body.admin-bar .lp-sub { top: calc(var(--header-h) + 32px); }
.lp-sub__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.lp-sub__grid--rev .lp-sub__text { order: 2; }
.lp .lp-sub__name { font-weight: 750; font-size: 1rem; margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.lp .lp-sub__name::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.lp .lp-sub__title { font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: .96; letter-spacing: -.04em; font-weight: 870; font-stretch: 116%; margin: 0 0 22px; }
.lp .lp-sub__desc { font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); max-width: 26em; margin: 0 0 34px; opacity: .82; }
.lp .lp-btn--sub { color: var(--sc-fg); border-color: currentColor; }
.lp .lp-btn--sub::before { background: var(--sc-ac); }
.lp .lp-btn--sub:hover { color: var(--sc-on); border-color: var(--sc-ac); }
.lp-sub__visual { display: block; position: relative; text-decoration: none; }
.lp-sub__visual svg { width: 100%; height: auto; display: block; overflow: visible; }

/* Mathematics */
.lp-sub--math { --sc-fg: #F4F6FF; --sc-ac: #4D7CFF; --sc-on: #fff; background: radial-gradient(70% 70% at 80% 40%, #17226E, #0A1033 65%); color: #F4F6FF; }
.lp-sub--math .lp-sub__name { color: #8FA6FF; }
.lp-math { max-width: 460px; margin-inline: auto; width: 100%; }
.lp-math__grid path { stroke: rgba(160,180,255,.12); stroke-width: 1; }
.lp-math__tri, .lp-math__sq, .lp-math__circ, .lp-math__curve { fill: none; stroke-width: 2; transform-origin: 200px 200px; transition: transform 1.2s var(--ease), stroke .5s; }
.lp-math__tri { stroke: #8B6CFF; } .lp-math__sq { stroke: #4D7CFF; transform: rotate(45deg); } .lp-math__circ { stroke: rgba(157,182,255,.6); stroke-dasharray: 6 10; } .lp-math__curve { stroke: #C3B3FF; stroke-width: 3; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.6s var(--ease); }
html.mj-anim .lp-math__circ { animation: lp-spin 30s linear infinite; }
.lp-math__eq { position: absolute; font: 600 1.05rem ui-monospace, Menlo, Consolas, monospace; color: #DCE4FF; background: rgba(10,16,51,.8); padding: 6px 10px; border: 1px solid rgba(160,180,255,.3); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease); }
.lp-math__eq--1 { left: 4%; top: 10%; } .lp-math__eq--2 { right: 0; top: 46%; transition-delay: .1s; } .lp-math__eq--3 { left: 14%; bottom: 8%; transition-delay: .2s; }
.lp-sub--math:hover .lp-math__tri, .lp-sub--math.is-active .lp-math__tri { transform: rotate(120deg); }
.lp-sub--math:hover .lp-math__sq, .lp-sub--math.is-active .lp-math__sq { transform: rotate(135deg) scale(.9); }
.lp-sub--math:hover .lp-math__curve, .lp-sub--math.is-active .lp-math__curve { stroke-dashoffset: 0; }
.lp-sub--math:hover .lp-math__eq, .lp-sub--math.is-active .lp-math__eq { opacity: 1; transform: none; }

/* English */
.lp-sub--eng { --sc-fg: #1E1B18; --sc-ac: #7A1F2B; --sc-on: #F6F1E7; background: #F2EBDD; color: #1E1B18; text-align: center; }
.lp-sub--eng::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(30,27,24,.06) 47px 48px); }
.lp-sub__center { display: flex; flex-direction: column; align-items: center; }
.lp-sub--eng .lp-sub__title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-stretch: 100%; letter-spacing: -.03em; }
.lp-sub--eng .lp-sub__name { color: #7A1F2B; }
.lp-sub--eng .lp-sub__desc { margin-inline: auto; }
.lp-eng { display: flex; justify-content: center; gap: .02em; font: italic 400 clamp(5rem, 15vw, 13rem)/.9 Georgia, "Times New Roman", serif; color: #7A1F2B; margin-bottom: 26px; height: 1em; }
.lp-eng i { display: inline-block; font-style: inherit; transform: translate(calc((var(--i) - 2) * 38%), calc(sin(var(--i) * 1.7rad) * 30%)) rotate(calc((var(--i) - 2) * 9deg)); opacity: .35; transition: transform 1s var(--ease), opacity .6s, color .6s; transition-delay: calc(var(--i) * 50ms); }
.lp-eng i:nth-child(even) { color: #0F5E5A; }
.lp-sub--eng:hover .lp-eng i, .lp-sub--eng.is-active .lp-eng i { transform: none; opacity: 1; }

/* Science */
.lp-sub--sci { --sc-fg: #F2F3F5; --sc-ac: #E2334A; --sc-on: #fff; background: radial-gradient(60% 60% at 25% 50%, rgba(215,38,61,.2), transparent 70%), #07080A; color: #F2F3F5; }
.lp-sub--sci .lp-sub__name { color: #F0646B; }
.lp-sci { max-width: 440px; margin-inline: auto; width: 100%; }
.lp-sci__mol { transform-origin: 200px 200px; fill: none; stroke: #B8BEC7; stroke-width: 3; }
.lp-sci__mol circle { fill: #07080A; stroke: #E2334A; stroke-width: 3; transition: r .5s var(--ease); }
.lp-sci__mol .lp-sci__h { stroke: #B8BEC7; }
html.mj-anim .lp-sci__mol { animation: lp-spin 40s linear infinite; }
.lp-sub--sci:hover .lp-sci__mol, .lp-sub--sci.is-active .lp-sci__mol { animation-duration: 8s; }
.lp-sub--sci:hover .lp-sci__mol circle:not(.lp-sci__h), .lp-sub--sci.is-active .lp-sci__mol circle:not(.lp-sci__h) { fill: #E2334A; }
.lp-sci__p { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #DDE2E8; opacity: 0; transform: rotate(calc(var(--p) * 25.7deg)) translate(80px); transition: opacity .5s, transform 1.4s var(--ease); }
.lp-sub--sci:hover .lp-sci__p, .lp-sub--sci.is-active .lp-sci__p { opacity: .8; transform: rotate(calc(var(--p) * 25.7deg + 90deg)) translate(calc(170px + var(--p) * 3px)); }

/* Robotics */
.lp-sub--rob { --sc-fg: #E6EDF3; --sc-ac: #00E5FF; --sc-on: #0E1116; background: #0E1116; color: #E6EDF3; }
.lp-sub--rob::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(0,229,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,.06) 1px, transparent 1px); background-size: 40px 40px; }
.lp-sub--rob .lp-sub__name { color: #00E5FF; font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 600; }
.lp-rob { max-width: 440px; margin-inline: auto; width: 100%; }
.lp-rob__board { fill: #131821; stroke: rgba(0,229,255,.25); stroke-width: 2; }
.lp-rob__traces path { fill: none; stroke: rgba(201,209,217,.22); stroke-width: 3; }
.lp-rob__live path { fill: none; stroke: #00E5FF; stroke-width: 3; stroke-dasharray: 300; stroke-dashoffset: 300; filter: drop-shadow(0 0 5px #00E5FF); transition: stroke-dashoffset 1.2s var(--ease); }
.lp-rob__live path:nth-child(2) { transition-delay: .1s; } .lp-rob__live path:nth-child(3) { transition-delay: .2s; } .lp-rob__live path:nth-child(4) { transition-delay: .3s; } .lp-rob__live path:nth-child(5) { transition-delay: .4s; } .lp-rob__live path:nth-child(6) { transition-delay: .5s; }
.lp-rob__chip { fill: #1B2230; stroke: #C9D1D9; stroke-width: 2; transition: stroke .5s, fill .5s; }
.lp-rob__pins path { stroke: #C9D1D9; stroke-width: 3; }
.lp-rob__label { fill: #93A1B0; font: 700 22px ui-monospace, Menlo, monospace; text-anchor: middle; letter-spacing: 3px; transition: fill .5s; }
.lp-rob__gear { fill: none; stroke: #2B6BFF; stroke-width: 3; transform-origin: 330px 330px; transition: transform 2s var(--ease); }
.lp-sub--rob:hover .lp-rob__live path, .lp-sub--rob.is-active .lp-rob__live path { stroke-dashoffset: 0; }
.lp-sub--rob:hover .lp-rob__chip, .lp-sub--rob.is-active .lp-rob__chip { stroke: #00E5FF; fill: #0F2530; }
.lp-sub--rob:hover .lp-rob__label, .lp-sub--rob.is-active .lp-rob__label { fill: #00E5FF; }
.lp-sub--rob:hover .lp-rob__gear, .lp-sub--rob.is-active .lp-rob__gear { transform: rotate(240deg); }

/* Art */
.lp-sub--art { --sc-fg: #141414; --sc-ac: #E6007E; --sc-on: #fff; background: #FBF9F6; color: #141414; align-items: flex-end; }
.lp-sub--art .lp-sub__name { color: #C2006A; }
.lp-sub--art .lp-sub__title { max-width: 8em; }
.lp-art { position: absolute; inset: 0; z-index: -1; }
.lp-art__b { position: absolute; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; mix-blend-mode: multiply; transition: filter 1s, transform 1.4s var(--ease); }
.lp-art__b--1 { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; right: 6%; top: 6%; background: #FFC300; }
.lp-art__b--2 { width: 26vw; height: 26vw; max-width: 360px; max-height: 360px; right: 26%; top: 28%; background: #00A6ED; }
.lp-art__b--3 { width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; right: 2%; top: 44%; background: #E6007E; }
.lp-art__b--4 { width: 16vw; height: 16vw; max-width: 220px; max-height: 220px; right: 40%; top: 4%; background: #6A4CFF; }
html.mj-anim .lp-art__b { animation: lp-morph 14s ease-in-out infinite; }
html.mj-anim .lp-art__b--2 { animation-delay: -4s; } html.mj-anim .lp-art__b--3 { animation-delay: -8s; animation-duration: 16s; } html.mj-anim .lp-art__b--4 { animation-delay: -2s; animation-duration: 11s; }
.lp-sub--art:hover .lp-art__b, .lp-sub--art.is-active .lp-art__b { filter: hue-rotate(60deg) saturate(1.2); }
.lp-sub--art:hover .lp-art__b--1, .lp-sub--art.is-active .lp-art__b--1 { transform: translate(-30px, 20px) scale(1.06); }
.lp-art__stroke { position: absolute; left: 0; right: 0; top: 30%; width: 100%; height: 30%; fill: none; stroke: #141414; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2s var(--ease); vector-effect: non-scaling-stroke; }
.lp-sub--art:hover .lp-art__stroke, .lp-sub--art.is-active .lp-art__stroke { stroke-dashoffset: 0; }
.lp-sub__art { max-width: calc(var(--wrap) + 2 * var(--g)); }

/* ============================ WHY ============================ */
.lp-why { background: var(--paper); color: var(--ink); }
.lp-why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.lp-why__head { position: sticky; top: calc(var(--header-h) + 40px); }
.lp .lp-why__list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.lp-why__item { padding: 26px 0; border-bottom: 1px solid var(--line-l); display: grid; gap: 8px; }
.lp-why__name { font-size: clamp(1.9rem, 3.4vw, 3.4rem); line-height: 1; font-weight: 870; font-stretch: 116%; letter-spacing: -.035em; color: transparent; -webkit-text-stroke: 1.2px rgba(12,14,26,.45); background: linear-gradient(90deg, var(--ink) 50%, transparent 50%) 100% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-position .9s var(--ease), -webkit-text-stroke-color .6s; }
.lp-why__text { color: #4A4F60; font-size: 1.08rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.lp-why__item.is-on .lp-why__name, .lp-why__item:hover .lp-why__name { background-position: 0 0; -webkit-text-stroke-color: var(--ink); }
.lp-why__item.is-on .lp-why__text, .lp-why__item:hover .lp-why__text { max-height: 4em; opacity: 1; }
html:not(.mj-anim) .lp-why__name { color: var(--ink); -webkit-text-stroke: 0; }
html:not(.mj-anim) .lp-why__text { max-height: none; opacity: 1; }

/* ============================ HOW IT WORKS ============================ */
.lp-how { background: var(--ink); color: #fff; overflow: hidden; }
.lp-how .lp-kicker { color: #F0646B; }
.lp .lp-steps { list-style: none; padding: 0; margin: clamp(40px, 5vw, 72px) 0 48px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.lp-steps::before, .lp-steps::after { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line-d); }
.lp-steps::after { background: linear-gradient(90deg, var(--red), #F5B82E); transform: scaleX(var(--p, 0)); transform-origin: left; box-shadow: 0 0 14px rgba(226,67,75,.6); }
html:not(.mj-anim) .lp-steps::after { transform: none; }
.lp-step { position: relative; padding-top: 0; }
.lp-step__n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255,255,255,.25); font-weight: 800; font-size: 1.05rem; margin-bottom: 24px; position: relative; z-index: 1; transition: background-color .5s, border-color .5s; }
.lp-step.is-lit .lp-step__n { background: var(--red); border-color: var(--red); }
.lp .lp-step__title { font-size: 1.3rem; font-weight: 800; font-stretch: 108%; margin: 0 0 10px; color: #fff; }
.lp .lp-step__text { color: #B7BCCB; margin: 0; }

/* ============================ EXPERIENCE ============================ */
.lp-exp { background: var(--paper); color: var(--ink); }
.lp-exp__head { margin-bottom: clamp(36px, 5vw, 64px); }
.lp-gallery { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.lp-shot { margin: 0; }
.lp-shot--sheet { grid-row: span 2; }
.lp-shot--award { grid-column: span 2; }
.lp-shot--award .lp-shot__art { aspect-ratio: 21 / 9; }
.lp-shot--award svg { width: 60%; }
.lp-shot__art { position: relative; overflow: hidden; border-radius: 8px; background: var(--ink2); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.lp-shot--sheet .lp-shot__art { aspect-ratio: auto; height: calc(100% - 70px); min-height: 420px; background: #E9E4D8; }
.lp-shot__art > * { transition: transform 1.2s var(--ease); }
.lp-shot:hover .lp-shot__art > * { transform: scale(1.06); }
html.mj-anim .lp-shot[data-lp-reveal] { opacity: 1 !important; translate: none !important; }
html.mj-anim .lp-shot[data-lp-reveal] .lp-shot__art { clip-path: inset(100% 0 0 0 round 8px); transition: clip-path 1.3s var(--ease); transition-delay: var(--rd, 0ms); }
html.mj-anim .lp-shot[data-lp-reveal].is-in .lp-shot__art { clip-path: inset(0 0 0 0 round 8px); }
.lp-shot figcaption { padding-top: 14px; color: #4A4F60; font-size: .97rem; }
.lp-shot figcaption b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 2px; }
.lp-omr { width: min(78%, 320px); background: #fff; padding: 22px; border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(12,14,26,.45); transform: rotate(-3deg); }
.lp-omr__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed #c9c2b2; font-size: .9rem; }
.lp-omr__head img { border-radius: 50%; }
.lp-omr__row { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.lp-omr__row span { width: 20px; font-weight: 700; font-size: .85rem; color: #6B7080; }
.lp-omr__row i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #9AA0AE; font: 700 .7rem/1 inherit; font-style: normal; color: #6B7080; }
.lp-omr__row i.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
html.mj-anim .lp-shot--sheet.is-in .lp-omr__row i.is-on { animation: lp-fill .5s var(--ease) both; animation-delay: calc(.8s + var(--q) * .18s); }
@keyframes lp-fill { from { background: transparent; color: #6B7080; transform: scale(.6); } }
.lp-hall { fill: none; stroke: #8FA6FF; stroke-width: 2; }
.lp-hall g circle { fill: rgba(143,166,255,.25); }
html.mj-anim .lp-shot--hall.is-in .lp-hall g { animation: lp-up .7s var(--ease) both; animation-delay: calc(.6s + var(--d) * 60ms); }
.lp-hall__board { fill: #C8323A; }
.lp-shot--hall svg, .lp-shot--award svg { width: 86%; }
.lp-screen { width: 76%; aspect-ratio: 16 / 10; background: #F4F6FA; border-radius: 6px; padding: 0 18px 18px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.lp-screen__bar { display: flex; gap: 6px; padding: 10px 0 12px; }
.lp-screen__bar i { width: 8px; height: 8px; border-radius: 50%; background: #CDD2DC; }
.lp-screen__bar i:first-child { background: var(--red); }
.lp .lp-screen__q { font-size: .8rem; font-weight: 700; color: #6B7080; margin: 0 0 8px; }
.lp-screen__line { display: block; height: 8px; border-radius: 4px; background: #CDD2DC; margin-bottom: 6px; }
.lp-screen__line--s { width: 60%; }
.lp .lp-screen ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lp-screen li { height: 18px; border-radius: 4px; border: 1.5px solid #CDD2DC; }
.lp-screen li.is-on { background: #1FA85B; border-color: #1FA85B; }
html.mj-anim .lp-shot--online.is-in .lp-screen li.is-on { animation: lp-pop .5s var(--ease) 1.2s both; }
.lp-award { fill: none; }
.lp-award__cert { fill: #FAF8F4; stroke: #F5B82E; stroke-width: 3; }
.lp-award__lines { stroke: #CDD2DC; stroke-width: 6; stroke-linecap: round; }
.lp-award__medal path { stroke: #C8323A; stroke-width: 12; }
.lp-award__medal circle { fill: #F5B82E; stroke: #FFE08A; stroke-width: 3; }
.lp-award__medal circle + circle { fill: none; stroke: #C9971F; }
.lp-award__medal { transform-origin: 325px 40px; }
html.mj-anim .lp-shot--award.is-in .lp-award__medal { animation: lp-swing 2.6s ease-in-out 1s both; }
@keyframes lp-swing { 0% { transform: rotate(18deg); } 30% { transform: rotate(-10deg); } 55% { transform: rotate(6deg); } 80% { transform: rotate(-2deg); } 100% { transform: none; } }

/* ============================ AT A GLANCE ============================ */
.lp-glance { background: var(--red); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.lp-glance__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lp-glance__item { border-left: 2px solid rgba(255,255,255,.35); padding-left: 22px; }
.lp-glance__item b { display: block; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 1; font-weight: 870; font-stretch: 118%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.lp-glance__item span { display: block; margin-top: 10px; font-weight: 600; opacity: .9; }

/* ============================ FINAL CTA ============================ */
.lp-final { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding-block: clamp(110px, 14vw, 200px); text-align: center; }
.lp-final__inner { display: flex; flex-direction: column; align-items: center; }
.lp .lp-final__title { font-size: clamp(2.7rem, 7vw, 7rem); line-height: .95; font-weight: 870; font-stretch: 118%; letter-spacing: -.045em; max-width: 12em; margin: 0 0 26px; color: #fff; }
.lp .lp-final__text { color: #B7BCCB; font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); max-width: 32em; margin: 0 auto 40px; }
.lp-final .lp-actions { justify-content: center; }
.lp-final__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lp-final__m { position: absolute; display: block; }
html.mj-anim .lp-final__m { animation: lp-orbit 20s ease-in-out infinite alternate; }
.lp-final__m--math { left: 8%; top: 16%; font: 800 7rem/1 "Archivo", sans-serif; color: rgba(77,124,255,.35); }
.lp-final__m--eng { right: 10%; top: 12%; font: italic 400 6rem/1 Georgia, serif; color: rgba(201,167,224,.35); animation-delay: -5s !important; }
.lp-final__m--sci { left: 14%; bottom: 12%; width: 140px; fill: none; stroke: rgba(226,51,74,.55); stroke-width: 2; animation-delay: -9s !important; }
.lp-final__m--rob { right: 16%; bottom: 14%; width: 110px; fill: none; stroke: rgba(0,229,255,.45); stroke-width: 3; animation-delay: -13s !important; }
.lp-final__m--art { left: 46%; top: 6%; width: 120px; height: 120px; background: rgba(230,0,126,.35); border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
@keyframes lp-orbit { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(30px, -24px) rotate(40deg); } 100% { transform: translate(-20px, 18px) rotate(-20deg); } }

/* ============================ Responsive ============================ */
@media (max-width: 1100px) {
	.lp-world--eng { right: 4%; top: 8%; }
	.lp-world--rob, .lp-world--math .lp-eq--3 { display: none; }
	.lp-world--art { right: 2%; top: 38%; opacity: .7; }
	.lp .lp-steps { grid-template-columns: 1fr; gap: 0; padding-left: 80px; }
	.lp-steps::before, .lp-steps::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.lp-steps::after { transform: scaleY(var(--p, 0)); transform-origin: top; }
	.lp-step { padding-bottom: 36px; }
	.lp-step__n { position: absolute; left: -80px; top: -12px; }
	.lp-glance__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 860px) {
	.lp-hero { min-height: 0; padding-bottom: 90px; }
	.lp-worlds { opacity: .45; }
	.lp-world--eng, .lp-eq--2, .lp-eq--3 { display: none; }
	.lp-world--math { right: -30px; top: 10%; }
	.lp-world--sci { width: 150px; right: -20px; bottom: 26%; }
	.lp-world--art { width: 240px; right: -60px; top: auto; bottom: 4%; }
	.lp-world--eng { top: auto; bottom: 40%; right: 10%; }
	.lp-intro__grid, .lp-why__grid, .lp-sub__grid { grid-template-columns: 1fr; }
	.lp .lp-intro__title, .lp-why__head { position: static; }
	.lp-sub { min-height: 0; }
	.lp-sub__grid--rev .lp-sub__text { order: 0; }
	.lp-sub__visual.lp-math, .lp-sub__visual.lp-sci, .lp-sub__visual.lp-rob { max-width: 320px; }
	.lp-sub--art { min-height: 620px; }
	.lp-art__b--1 { width: 60vw; height: 60vw; right: -10%; top: 4%; }
	.lp-art__b--2 { width: 44vw; height: 44vw; right: 30%; top: 12%; }
	.lp-art__b--3 { width: 38vw; height: 38vw; right: 4%; top: 28%; }
	.lp-art__b--4 { width: 26vw; height: 26vw; right: 64%; top: 2%; }
	.lp-art__stroke { top: 20%; }
	.lp-gallery { grid-template-columns: 1fr 1fr; }
	.lp-shot--sheet { grid-column: 1 / -1; grid-row: auto; }
	.lp-shot--award { grid-column: 1 / -1; }
	.lp-shot--sheet .lp-shot__art { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
	.lp-facts div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
	.lp .lp-hero__title { font-size: clamp(2.7rem, 13.5vw, 3.6rem); }
	.lp-actions .lp-btn { flex: 1 1 100%; }
	.lp-gallery { grid-template-columns: 1fr; }
	.lp-shot--award .lp-shot__art { aspect-ratio: 4 / 3; }
	.lp-shot--award svg { width: 86%; }
	.lp-glance__grid { grid-template-columns: 1fr; }
	.lp-final__m--math, .lp-final__m--eng { font-size: 4rem; }
	.lp .lp-steps { padding-left: 70px; }
	.lp-step__n { left: -70px; width: 50px; height: 50px; }
	.lp-steps::before, .lp-steps::after { left: 24px; }
}

/* Lite tier */
html.lp-lite .lp-hero__glow i { filter: blur(60px); }
html.lp-lite .lp-world { transition: none; translate: none; }
html.lp-lite .lp-blob, html.lp-lite .lp-art__b { mix-blend-mode: normal; opacity: .75; }

/* Reduced motion: everything visible and still */
@media (prefers-reduced-motion: reduce) {
	.lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
	.lp-shot__art { clip-path: none !important; }
	.lp-math__curve, .lp-rob__live path, .lp-art__stroke { stroke-dashoffset: 0; }
	.lp-eng i { transform: none; opacity: 1; }
}
