/* landing.css — homepage visual layer: cinematic hero, counters, video, MOVE definition,
   learning path, restyled sections, marquee, footer, motion. Loaded after public.css. */

/* ============ Base for landing ============ */
.landing { background: #F4F7FC; }
.landing ::selection { background: var(--electric); color: var(--white); }
.landing .section { position: relative; }
.landing main { overflow-x: clip; }

/* Scroll progress */
.scroll-progress { position: fixed; z-index: 100; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--sky), var(--electric), var(--lime)); }

/* ============ Buttons & chips ============ */
.btn--lg { min-height: 52px; padding: 0 var(--s-6); font-size: var(--fs-base); border-radius: 14px; }
.btn--glow {
  --btn-bg: var(--electric); --btn-border: transparent; --btn-fg: var(--white);
  background: linear-gradient(135deg, #3B86FF, #1E5FE0); box-shadow: var(--shadow-glow); position: relative; overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn--glow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 700ms var(--ease); }
.btn--glow:hover { color: var(--white); box-shadow: 0 16px 50px -8px rgba(47, 123, 255, 0.75); transform: translateY(-2px); }
.btn--glow:hover::after { transform: translateX(120%); }
.btn--glass { --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, 0.35); backdrop-filter: blur(10px); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, 0.2); --btn-border: rgba(255, 255, 255, 0.6); --btn-fg: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy-800); --btn-border: var(--white); }
.btn--light:hover { --btn-bg: #E8F0FF; --btn-border: #E8F0FF; --btn-fg: var(--navy-800); }
[data-magnetic] { will-change: transform; }

.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--electric-soft); color: #1F5CC9; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(47, 123, 255, 0.25);
}
.eyebrow-chip--light { background: rgba(111, 208, 255, 0.12); color: var(--sky); border-color: rgba(111, 208, 255, 0.3); }
.pill-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); font-size: var(--fs-sm); font-weight: 600; backdrop-filter: blur(10px); }
.pulse-dot, .live__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; }
.pulse-dot::after, .live__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--lime); animation: pulse-ring 1.8s var(--ease) infinite; }
@keyframes pulse-ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.glass { background: rgba(9, 25, 58, 0.45); border: 1px solid var(--glass-border); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-radius: 22px; color: var(--white); }
.select--pill { min-height: 40px; border-radius: var(--r-pill); padding-left: var(--s-4); font-weight: 600; background-color: var(--white); }

/* Section heading */
.shead { display: grid; gap: var(--s-3); margin-bottom: var(--s-10); max-width: 760px; justify-items: start; }
.shead--center { margin-inline: auto; text-align: center; justify-items: center; }
.shead--split { max-width: none; }
@media (min-width: 960px) {
  .shead--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: var(--s-16); }
  .shead--split > .shead__lead, .shead--split > .btn { justify-self: end; }
  .shead--split > .shead__lead { max-width: 460px; }
}
.shead__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; color: var(--navy-900); }
h3.shead__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
.shead__title em { font-style: normal; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shead__lead { color: var(--ink-2); font-size: var(--fs-md); line-height: 1.6; }
.shead--light .shead__title, .shead--light h3 { color: var(--white); }
.shead--light .shead__title em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.shead--light .shead__lead { color: #B8C7E0; }

/* Spotlight that follows the pointer (JS sets --mx/--my) */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--spot, 0); transition: opacity 400ms;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 123, 255, 0.18), transparent 60%);
}

/* ============ Navbar over hero ============ */
.nav--overlay { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom: 0; transition: background var(--t), box-shadow var(--t), transform var(--t); }
@supports (backdrop-filter: blur(8px)) { .nav--overlay { background: transparent; backdrop-filter: none; } }
.nav--overlay .brand__name { color: var(--white); }
.nav--overlay .brand__sub { color: #C7D5EC; }
.nav--overlay .brand img { background: var(--white); border-radius: 50%; padding: 1px; }
.nav--overlay .nav__links a { color: #E3EBF8; }
.nav--overlay .nav__links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.nav--overlay .nav__links a[aria-current="true"] { color: var(--white); }
.nav--overlay .nav__links a[aria-current="true"]::after { background: var(--lime); }
.nav--overlay .nav__toggle { color: var(--white); }
.nav--overlay.is-scrolled { background: rgba(7, 22, 52, 0.82); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); }
.nav--overlay.is-hidden { transform: translateY(-100%); }
.nav__cta { display: none; margin-left: var(--s-2); }
@media (min-width: 1200px) { .nav__cta { display: inline-flex; } }
.nav--overlay .drawer { background: var(--navy-900); border-color: rgba(255, 255, 255, 0.1); }
.nav--overlay .drawer a { color: var(--white); border-color: rgba(255, 255, 255, 0.1); }

/* ============ HERO ============ */
.hero2 { position: relative; min-height: 100svh; padding-bottom: var(--s-16); display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr); overflow: hidden; color: var(--white); background: var(--navy-900); }
.hero2__bg { position: absolute; inset: -4%; z-index: -3; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.06); transition: transform 1.2s var(--ease); }
.hero2__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero2__veil { position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 12, 28, 0.92) 0%, rgba(7, 22, 52, 0.78) 36%, rgba(7, 22, 52, 0.25) 70%, rgba(7, 22, 52, 0.15) 100%),
    linear-gradient(0deg, rgba(4, 12, 28, 0.95) 0%, rgba(4, 12, 28, 0) 32%); }
@media (max-width: 899px) { .hero2__veil { background: linear-gradient(180deg, rgba(4, 12, 28, 0.55) 0%, rgba(7, 22, 52, 0.85) 45%, rgba(4, 12, 28, 0.97) 100%); } }
.hero2__grid { position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image: linear-gradient(rgba(111, 208, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 208, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 60% 70% at 15% 55%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 55%, #000 0%, transparent 70%); animation: grid-drift 30s linear infinite; }
@keyframes grid-drift { to { background-position: 64px 64px, 64px 64px; } }
.hero2__inner { display: grid; gap: var(--s-10); align-items: center; padding-top: calc(var(--nav-h) + var(--s-12)); padding-bottom: var(--s-10); }
@media (min-width: 1024px) { .hero2__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--s-12); padding-top: calc(var(--nav-h) + var(--s-16)); } }
.hero2__copy { display: grid; gap: var(--s-5); justify-items: start; max-width: 720px; }
.hero2__title { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; color: var(--white); max-width: 13ch; }
.hero2__title em { font-style: normal; display: block; background: var(--grad-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer-text 8s ease-in-out infinite alternate; }
@keyframes shimmer-text { to { background-position: 100% 0; } }
.hero2__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero2__title .w > span { display: inline-block; transform: translateY(105%); animation: word-up 900ms var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
.hero2__title em .w > span { background: var(--grad-text); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: word-up 900ms var(--ease) forwards, shimmer-text 8s ease-in-out 1s infinite alternate; animation-delay: calc(var(--i) * 70ms + 150ms), 1s; }
.hero2__title em .w:nth-of-type(2) > span { background-position: 50% 0; }
.hero2__title em .w:nth-of-type(3) > span { background-position: 100% 0; }
@keyframes word-up { to { transform: none; } }
.hero2__rotator { font-size: var(--fs-md); color: #C7D5EC; font-weight: 500; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.rotator { position: relative; display: inline-grid; min-width: 10ch; height: 1.6em; overflow: hidden; vertical-align: bottom; color: var(--lime); font-weight: 800; }
.rotator__word { grid-area: 1 / 1; white-space: nowrap; transition: transform 600ms var(--ease), opacity 600ms var(--ease); }
.rotator__word.is-out { transform: translateY(-110%); opacity: 0; }
.rotator__word.is-in { transform: translateY(110%); opacity: 0; }
.rotator::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; opacity: 0.4; transform-origin: left; animation: rot-line 2.8s linear infinite; }
@keyframes rot-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero2__lead { font-size: var(--fs-md); color: #D3DEF0; max-width: 56ch; line-height: 1.65; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

.hero2__live { padding: var(--s-6); display: grid; gap: var(--s-5); max-width: 420px; width: 100%; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); justify-self: end; }
@media (max-width: 1023px) { .hero2__live { justify-self: start; } }
.live__head { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); }
.live__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.live__stats div { display: grid; gap: 2px; padding: var(--s-3); border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.live__stats dt { font-size: 11px; color: #A9BBD8; order: 2; }
.live__stats dd { margin: 0; font-size: var(--fs-2xl); font-weight: 800; font-variant-numeric: tabular-nums; order: 1; }
.live__stats .skel, .live__latest .skel { background: rgba(255, 255, 255, 0.1); width: 48px; height: 28px; }
.live__latest { display: grid; grid-template-columns: 64px 1fr; gap: var(--s-3); align-items: center; padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, 0.1); text-decoration: none; color: var(--white); }
.live__latest img, .live__latest .ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: rgba(255, 255, 255, 0.08); }
.live__latest small { display: block; color: var(--sky); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.live__latest strong { display: block; font-size: var(--fs-sm); line-height: 1.35; }
.live__latest span.meta { display: block; font-size: var(--fs-xs); color: #A9BBD8; }
a.live__latest:hover strong { text-decoration: underline; }

.hero2__ticker { border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(4, 12, 28, 0.55); backdrop-filter: blur(8px); }
.scroll-cue { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); display: none; }
@media (min-width: 1024px) and (min-height: 760px) { .scroll-cue { display: block; } }
.scroll-cue__mouse { display: block; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.55); position: relative; }
.scroll-cue__mouse::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--white); transform: translateX(-50%); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* Marquee */
.marquee { min-width: 0; max-width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: var(--s-10); padding: var(--s-4) 0; animation: marquee var(--dur, 60s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 10px; color: #D3DEF0; font-size: var(--fs-sm); white-space: nowrap; text-decoration: none; }
.tick:hover { color: var(--white); }
.tick b { color: var(--white); font-weight: 700; }
.tick i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); flex: none; }
.tick em { font-style: normal; color: var(--sky); font-weight: 700; font-size: var(--fs-xs); }

/* ============ COUNTERS ============ */
.counters { position: relative; z-index: 2; margin-top: calc(var(--s-12) * -1); padding-bottom: var(--s-16); }
.counters__panel { position: relative; overflow: hidden; padding: var(--s-8) var(--s-6); border-radius: 28px; background: linear-gradient(180deg, #FFFFFF 0%, #F3F8FF 100%); box-shadow: var(--shadow-float); border: 1px solid #E1EAF7; }
@media (min-width: 768px) { .counters__panel { padding: var(--s-10) var(--s-10); } }
.counters__panel::before { content: ''; position: absolute; top: -40%; right: -10%; width: 50%; height: 120%; background: radial-gradient(closest-side, rgba(47, 123, 255, 0.12), transparent); pointer-events: none; }
.counters__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-8); }
.counters__title { font-size: clamp(1rem, 0.85rem + 0.7vw, 1.375rem); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.counters__title span { color: var(--electric); }
.counters__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
@media (min-width: 768px) { .counters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }
@media (min-width: 1200px) { .counters__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.counter {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-2); padding: var(--s-5) var(--s-3);
  border-radius: 20px; background: var(--white); border: 1px solid #E6EDF8; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.counter:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -18px rgba(24, 75, 137, 0.45); border-color: #BFD4F6; }
.counter__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--white); background: var(--grad-brand); box-shadow: 0 10px 24px -8px rgba(47, 123, 255, 0.6); margin-bottom: var(--s-2); transition: transform var(--t) var(--ease); }
.counter:hover .counter__icon { transform: rotate(-8deg) scale(1.06); }
.counter dd { margin: 0; order: 2; }
.counter dt { order: 3; font-weight: 600; color: var(--ink-2); font-size: var(--fs-sm); }
.counter__icon { order: 1; }
.counter__value { display: block; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; color: var(--navy-800); font-variant-numeric: tabular-nums; line-height: 1.1; }
.counter__value--money { font-size: clamp(1.1rem, 0.9rem + 0.9vw, 1.5rem); }
.counter__value small { font-size: 0.6em; font-weight: 700; color: var(--electric); margin-right: 2px; }
.counter__note { order: 4; font-size: 11px; color: var(--ink-3); }
.counter .skel { width: 72px; height: 32px; }
.spark { order: 5; display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: var(--s-2); }
.spark span { width: 6px; border-radius: 2px; background: #D6E3F7; height: var(--h, 10%); transition: height 900ms var(--ease), background var(--t); }
.spark span.is-on { background: #9DBDF0; }
.counter:hover .spark span.is-on { background: var(--electric); }
.counters__foot { margin-top: var(--s-6); font-size: var(--fs-xs); color: var(--ink-3); text-align: center; }

/* ============ CINEMA (video) ============ */
.cinema { background: radial-gradient(1200px 600px at 80% 0%, #123E8A 0%, transparent 60%), var(--navy-900); color: var(--white); padding-block: var(--section-y); overflow: hidden; }
.cinema__grid { display: grid; gap: var(--s-10); align-items: start; }
@media (min-width: 1024px) { .cinema__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-12); } }
.cinema__intro { display: grid; gap: var(--s-4); justify-items: start; }
.cinema .shead__title { color: var(--white); }
.cinema .shead__title em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.cinema .shead__lead { color: #B8C7E0; }
.cinema .eyebrow-chip { background: rgba(111, 208, 255, 0.12); color: var(--sky); border-color: rgba(111, 208, 255, 0.3); }
.playlist { list-style: none; padding: 0; display: grid; gap: var(--s-2); width: 100%; margin-top: var(--s-4); }
.playlist button { width: 100%; display: grid; grid-template-columns: 112px 1fr; gap: var(--s-3); align-items: center; text-align: left; padding: var(--s-2); border-radius: 16px; border: 1px solid transparent; transition: background var(--t), border-color var(--t); color: inherit; }
.playlist button:hover { background: rgba(255, 255, 255, 0.06); }
.playlist button[aria-current="true"] { background: rgba(47, 123, 255, 0.16); border-color: rgba(111, 208, 255, 0.35); }
.playlist__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.playlist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.playlist__thumb::after { content: ''; position: absolute; inset: 0; background: rgba(4, 12, 28, 0.35); }
.playlist button[aria-current="true"] .playlist__thumb::after { background: rgba(47, 123, 255, 0.25); }
.playlist__title { font-size: var(--fs-sm); font-weight: 700; line-height: 1.35; }
.playlist__src { display: block; font-size: 11px; color: #9FB4D6; margin-top: 2px; }
.cinema__stage { position: relative; }
.cinema__stage::before { content: ''; position: absolute; inset: 8% -4% -6%; background: radial-gradient(closest-side, rgba(47, 123, 255, 0.55), transparent); filter: blur(30px); z-index: -1; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__facade { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; color: var(--white); }
.player__facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.player__facade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 12, 28, 0.75), rgba(4, 12, 28, 0.1)); }
.player__facade:hover img { transform: scale(1.04); }
.play-btn { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--electric); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); animation: play-pulse 2s infinite; transition: transform var(--t) var(--ease); }
.player__facade:hover .play-btn, .player__facade:focus-visible .play-btn { transform: scale(1.1); }
@keyframes play-pulse { 70% { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.player__caption { position: absolute; z-index: 1; left: var(--s-5); right: var(--s-5); bottom: var(--s-5); text-align: left; font-weight: 700; font-size: var(--fs-md); }
.player__caption small { display: block; font-weight: 600; font-size: var(--fs-xs); color: var(--sky); letter-spacing: 0.08em; text-transform: uppercase; }
.player__meta { margin-top: var(--s-3); font-size: var(--fs-xs); color: #9FB4D6; }
.player__meta a { color: var(--sky); }

/* ============ DEFINITION ============ */
.define { padding-block: var(--section-y); background:
  radial-gradient(900px 500px at 0% 0%, rgba(47, 123, 255, 0.08), transparent 60%),
  radial-gradient(700px 400px at 100% 100%, rgba(220, 227, 91, 0.12), transparent 60%), #F4F7FC; }
.define .shead__title em { font-style: normal; }
.define__grid { display: grid; gap: var(--s-10); align-items: center; }
@media (min-width: 1024px) { .define__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-12); } }
.define__visual { margin: 0; perspective: 1200px; }
.tilt-card { position: relative; display: block; width: 100%; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-float); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); cursor: zoom-in; }
.tilt-card:hover { box-shadow: 0 40px 90px -25px rgba(7, 22, 52, 0.5); }
.tilt-card img { width: 100%; height: auto; }
.tilt-card__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, 0.35), transparent 50%); opacity: 0; transition: opacity var(--t); mix-blend-mode: soft-light; }
.tilt-card:hover .tilt-card__shine { opacity: 1; }
.tilt-card__hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(7, 22, 52, 0.75); color: var(--white); font-size: var(--fs-xs); font-weight: 600; backdrop-filter: blur(6px); }
.pillars2 { display: grid; gap: var(--s-5); }
.pillars2__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.ptab { position: relative; display: grid; justify-items: center; gap: 2px; padding: var(--s-4) var(--s-2) var(--s-3); border-radius: 18px; background: var(--white); border: 1px solid #DFE8F5; overflow: hidden; transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t); }
.ptab:hover { transform: translateY(-3px); border-color: #BFD4F6; }
.ptab__letter { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--blue); transition: color var(--t), -webkit-text-stroke-color var(--t); }
.ptab__name { font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.04em; text-align: center; line-height: 1.25; }
.ptab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--electric); transform-origin: left; transform: scaleX(0); }
.ptab[aria-selected="true"] { background: var(--grad-brand); border-color: transparent; box-shadow: var(--shadow-glow); }
.ptab[aria-selected="true"] .ptab__letter { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.ptab[aria-selected="true"] .ptab__name { color: #DCE7F8; }
.ptab[aria-selected="true"] .ptab__bar { background: var(--lime); animation: ptab-progress var(--cycle, 7s) linear forwards; }
.pillars2.is-paused .ptab__bar { animation-play-state: paused; }
@keyframes ptab-progress { to { transform: scaleX(1); } }
.pillars2__panel { position: relative; padding: var(--s-8) var(--s-6); border-radius: 24px; background: var(--white); border: 1px solid #DFE8F5; box-shadow: 0 20px 50px -30px rgba(7, 22, 52, 0.3); min-height: 260px; overflow: hidden; }
.pillars2__panel::after { content: attr(data-letter); position: absolute; right: -10px; bottom: -50px; font-size: 200px; font-weight: 800; line-height: 1; color: rgba(47, 123, 255, 0.07); pointer-events: none; }
.ppanel { display: grid; gap: var(--s-3); animation: panel-in 500ms var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
.ppanel__num { font-size: var(--fs-xs); font-weight: 800; color: var(--electric); letter-spacing: 0.12em; }
.ppanel h3 { font-size: var(--fs-xl); color: var(--navy-900); }
.ppanel__id { font-size: var(--fs-sm); color: var(--blue); font-weight: 600; }
.ppanel p { color: var(--ink-2); line-height: 1.7; }
.ppanel__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.ppanel__tags span { padding: 4px 10px; border-radius: var(--r-pill); background: var(--blue-50); color: var(--blue); font-size: var(--fs-xs); font-weight: 600; }

/* ============ LEARNING PATH ============ */
.path { padding-block: var(--section-y); color: var(--white); overflow: hidden;
  background: radial-gradient(900px 600px at 100% 10%, rgba(47, 123, 255, 0.3), transparent 60%), radial-gradient(800px 500px at 0% 90%, rgba(111, 208, 255, 0.15), transparent 60%), linear-gradient(180deg, #071634 0%, #0A1F47 100%); }
.dewey { position: relative; max-width: 900px; margin: 0 auto var(--s-16); text-align: center; }
.dewey__mark { color: var(--electric); opacity: 0.6; margin: 0 auto var(--s-4); }
.dewey p { font-size: clamp(1.5rem, 1rem + 2.2vw, 2.6rem); line-height: 1.3; font-weight: 500; font-style: italic; letter-spacing: -0.01em; }
.dewey p em { font-style: italic; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dewey cite { display: block; margin-top: var(--s-4); font-style: normal; color: var(--sky); font-weight: 700; letter-spacing: 0.08em; }
.facts3 { display: grid; gap: var(--s-4); margin-bottom: var(--s-8); }
@media (min-width: 900px) { .facts3 { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.fact { padding: var(--s-6); border-radius: 22px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: var(--s-3); align-content: start; transition: transform var(--t) var(--ease), background var(--t), border-color var(--t); }
.fact:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.07); border-color: rgba(111, 208, 255, 0.35); }
.fact h3 { color: var(--white); font-size: var(--fs-md); }
.fact p { color: #B8C7E0; font-size: var(--fs-sm); line-height: 1.65; }
.fact__ring { position: relative; width: 120px; height: 120px; display: grid; place-items: center; margin-bottom: var(--s-2); }
.fact__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.fact__ring circle { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 8; }
.fact__ring .fact__arc { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s var(--ease); }
.fact__ring.is-in .fact__arc { stroke-dashoffset: calc(327 - 327 * var(--ring, 0) / 100); }
.fact__num { position: relative; font-size: var(--fs-xl); font-weight: 800; font-variant-numeric: tabular-nums; }
.fact__num small { font-size: 0.6em; color: #B8C7E0; }
.fact__ring--icon { border-radius: 50%; background: rgba(220, 227, 91, 0.1); color: var(--lime); }
.fact__ring--icon svg { position: static; transform: none; }

.eco { display: grid; gap: var(--s-6); padding: var(--s-8) var(--s-6); margin-bottom: var(--s-16); border-radius: 26px; background: rgba(255, 255, 255, 0.05); }
@media (min-width: 1024px) { .eco { grid-template-columns: 1.2fr 1fr; padding: var(--s-10); align-items: center; } }
.eco__text { display: grid; gap: var(--s-3); justify-items: start; }
.eco__text h3 { color: var(--white); font-size: var(--fs-xl); }
.eco__text p { color: #C7D5EC; line-height: 1.7; }
.eco__text strong { color: var(--white); }
.eco__chips { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.eco__chips li { padding: var(--s-4); border-radius: 18px; background: linear-gradient(160deg, rgba(47, 123, 255, 0.22), rgba(47, 123, 255, 0.05)); border: 1px solid rgba(111, 208, 255, 0.25); display: grid; gap: 4px; }
.eco__chips strong { font-size: var(--fs-lg); color: var(--lime); }
.eco__chips span { font-size: var(--fs-xs); color: #C7D5EC; line-height: 1.45; }

.lp { margin-bottom: var(--s-16); }
.lp__grid { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .lp__grid { grid-template-columns: 320px minmax(0, 1fr); gap: var(--s-8); } }
.lp__steps { position: relative; display: grid; gap: var(--s-3); align-content: start; }
@media (max-width: 1023px) { .lp__steps { grid-template-columns: repeat(2, 1fr); } }
.lstep { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4) var(--s-3) var(--s-3); border-radius: 18px; text-align: left; color: var(--white); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; transition: background var(--t), border-color var(--t), transform var(--t) var(--ease); }
.lstep:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.07); }
.lstep__num { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; background: var(--c); color: var(--white); box-shadow: 0 8px 20px -8px var(--c); }
.lstep__title { font-weight: 700; font-size: var(--fs-sm); line-height: 1.3; }
.lstep__sub { display: block; font-size: 11px; color: #9FB4D6; font-weight: 500; }
.lstep__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--c); transform: scaleX(0); transform-origin: left; }
.lstep[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); border-color: var(--c); }
.lstep[aria-selected="true"] .lstep__bar { animation: ptab-progress var(--cycle, 7s) linear forwards; }
.lp.is-paused .lstep__bar { animation-play-state: paused; }
.lstep[data-phase="1"] { --c: #F26B21; } .lstep[data-phase="2"] { --c: #C2272D; } .lstep[data-phase="3"] { --c: #2DB34A; } .lstep[data-phase="4"] { --c: #1F6DB5; }
.lp__stage { display: grid; gap: var(--s-4); }
.lp__diagram { border-radius: 22px; overflow: hidden; background: var(--white); padding: var(--s-2); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6); }
.lp__diagram img { width: 100%; height: auto; border-radius: 16px; }
.lp__panel { padding: var(--s-5) var(--s-6); border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-left: 4px solid var(--c, var(--electric)); min-height: 150px; }
.lp__panel h4 { font-size: var(--fs-lg); color: var(--white); margin-bottom: var(--s-2); }
.lp__panel p { color: #C7D5EC; line-height: 1.65; font-size: var(--fs-sm); }
.lp__panel ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.lp__panel li { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); font-size: var(--fs-xs); font-weight: 600; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.12); }
.lp__doc { margin-top: var(--s-5); padding: var(--s-3) var(--s-4); border-radius: 14px; border: 1px dashed rgba(255, 255, 255, 0.25); font-size: var(--fs-xs); color: #B8C7E0; }
.lp__doc strong { color: var(--white); }

.grade { margin-bottom: var(--s-16); }
.grade__title { font-size: var(--fs-xl); color: var(--white); margin-bottom: var(--s-6); }
.grade__grid { display: grid; gap: var(--s-4); perspective: 1000px; }
@media (min-width: 900px) { .grade__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.grade__card { position: relative; padding: var(--s-6); border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.12); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 300ms var(--ease), border-color var(--t); display: grid; gap: var(--s-2); }
.grade__card:hover { border-color: rgba(220, 227, 91, 0.5); }
.grade__badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--navy-900); background: var(--lime); margin-bottom: var(--s-2); }
.grade__who { font-size: var(--fs-xs); font-weight: 700; color: var(--sky); letter-spacing: 0.08em; text-transform: uppercase; }
.grade__card h4 { font-size: var(--fs-lg); color: var(--white); }
.grade__card p:last-child { color: #C7D5EC; font-size: var(--fs-sm); line-height: 1.6; }

.tl { position: relative; }
.tl__list { list-style: none; padding: 0; display: grid; gap: var(--s-6); position: relative; z-index: 1; }
.tl__item { position: relative; padding-left: var(--s-10); }
.tl__item::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-900); border: 3px solid var(--lime); box-shadow: 0 0 0 6px rgba(220, 227, 91, 0.15); }
.tl__year { display: block; font-size: var(--fs-2xl); font-weight: 800; color: var(--white); margin-bottom: var(--s-2); }
.tl__item p { color: #C7D5EC; font-size: var(--fs-sm); line-height: 1.6; }
.tl__list::before, .tl__list::after { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; z-index: -1; }
.tl__list::before { background: rgba(255, 255, 255, 0.12); }
.tl__list::after { background: linear-gradient(180deg, var(--lime), var(--electric)); transform-origin: top; transform: scaleY(var(--tl, 0)); }
@media (min-width: 900px) {
  .tl ol.tl__list { grid-template-columns: repeat(4, 1fr); padding-top: var(--s-10); margin-top: var(--s-8); }
  .tl__item { padding-left: 0; padding-right: var(--s-4); }
  .tl__item::before { top: calc(var(--s-10) * -1 - 7px); }
  .tl__list::before, .tl__list::after { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; }
  .tl__list::after { background: linear-gradient(90deg, var(--lime), var(--electric)); transform-origin: left; transform: scaleX(var(--tl, 0)); }
}

/* ============ Restyled existing sections ============ */
.mapzone { background: #F4F7FC; }
.filters--card { padding: var(--s-4); border-radius: 20px; background: var(--white); border: 1px solid #E1EAF7; box-shadow: 0 10px 30px -20px rgba(7, 22, 52, 0.25); }
.landing .mapx { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-float); }
@media (min-width: 900px) { .landing .mapx { border: 1px solid #E1EAF7; } }
.landing .mapx__map { border-radius: 20px; }
@media (min-width: 900px) { .landing .mapx__map { border-radius: 0; } }
.landing .mk { box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.18), 0 2px 6px rgba(14, 44, 82, 0.5); }
.landing .mk-cluster { background: var(--grad-brand); box-shadow: 0 0 0 6px rgba(47, 123, 255, 0.25), 0 8px 18px -6px rgba(47, 123, 255, 0.7); }

.spotlight { padding-block: var(--section-y); background: linear-gradient(135deg, #0B2350 0%, #12306A 60%, #184B89 100%); color: var(--white); overflow: hidden; }
.spotlight .featured__media { border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7); transform: rotate(-1.5deg); transition: transform 600ms var(--ease); }
.spotlight .featured__media:hover { transform: rotate(0deg) scale(1.01); }
.spotlight .featured__body .section-title { color: var(--white); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); letter-spacing: -0.02em; }
.spotlight .eyebrow { color: var(--sky); }
.spotlight .eyebrow__num { color: var(--lime); }
.spotlight .featured__meta { color: #C7D5EC; }
.spotlight .featured__quote { color: #E3EBF8; border-left-color: var(--lime); }
.spotlight .featured__team { color: #9FB4D6; }
.spotlight .tag-cat { color: #DCE7F8; }
.spotlight .btn { --btn-bg: var(--white); --btn-fg: var(--navy-800); --btn-border: var(--white); }
.spotlight .skel { background: rgba(255, 255, 255, 0.1); }

.toolbar--card { padding: var(--s-3); border-radius: 20px; background: var(--white); border: 1px solid #E1EAF7; box-shadow: 0 10px 30px -20px rgba(7, 22, 52, 0.25); }
.landing .card { border-radius: 20px; border-color: #E1EAF7; transform: translateY(0); }
.landing .card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(24, 75, 137, 0.5); border-color: #BFD4F6; }
.landing .card__media { margin: 8px 8px 0; border-radius: 14px; }
.landing .card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 22, 52, 0.35), transparent 45%); opacity: 0; transition: opacity var(--t); }
.landing .card:hover .card__media::after { opacity: 1; }
.landing .card__cta { transition: gap var(--t) var(--ease); }
.landing .card:hover .card__cta { gap: 10px; }
.landing .year-chip { background: var(--grad-brand); border-radius: var(--r-pill); padding: 0 10px; }

.archive { background: linear-gradient(180deg, #F4F7FC, #E9F0FB); }
.landing .year { border-radius: 18px; background: rgba(255, 255, 255, 0.6); }
.landing .year__bar { max-width: 56px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #BFD4F6, #DCE7F8); }
.landing .year:hover .year__bar, .landing .year[aria-pressed="true"] .year__bar { background: var(--grad-brand); box-shadow: 0 10px 24px -10px rgba(47, 123, 255, 0.8); }
.landing .year[aria-pressed="true"] { box-shadow: inset 0 3px 0 var(--electric), 0 18px 40px -24px rgba(24, 75, 137, 0.5); border-color: #BFD4F6; }
.landing .year-summary { border-radius: 24px; border-color: #E1EAF7; box-shadow: 0 20px 50px -30px rgba(7, 22, 52, 0.3); }

.gallery-dark { background: var(--navy-950); }
.gallery-dark .shot { border-radius: 16px; }
.gallery-dark .shot img { filter: saturate(0.9); }
.gallery-dark .shot:hover img { filter: saturate(1.1); }
.gallery-dark .skel { background: rgba(255, 255, 255, 0.06); }
.gallery-dark .state { background: transparent; color: #C7D5EC; border-color: rgba(255, 255, 255, 0.2); }
.gallery-dark .state__title { color: var(--white); }
.gallery-dark .btn--secondary { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, 0.35); }

.landing .person { border-radius: 16px; padding-inline: var(--s-3); border: 1px solid transparent; border-bottom-color: var(--line); transition: background var(--t), border-color var(--t), transform var(--t) var(--ease); }
.landing .person:hover { background: var(--white); border-color: #E1EAF7; transform: translateY(-2px); }

.partners2 { padding-block: var(--section-y) calc(var(--section-y) * 0.7); background: #F4F7FC; }
.marquee--partners .marquee__track { gap: var(--s-4); --dur: 45s; }
.pchip { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: 18px; background: var(--white); border: 1px solid #E1EAF7; min-width: 240px; box-shadow: 0 10px 30px -22px rgba(7, 22, 52, 0.4); text-decoration: none; color: inherit; }
.pchip__logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand); color: var(--white); font-weight: 800; flex: none; overflow: hidden; }
.pchip__logo img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.pchip b { display: block; font-size: var(--fs-sm); color: var(--navy-900); }
.pchip small { display: block; font-size: 11px; color: var(--ink-3); }
.marquee--partners .marquee__track:nth-child(2) { animation-direction: reverse; }


/* ============ FOOTER ============ */
.footer2 { position: relative; overflow: hidden; background: var(--navy-950); color: #B8C7E0; padding-top: var(--s-16); font-size: var(--fs-sm); }
.footer2::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--sky), var(--electric), var(--lime)); }
.footer2 a { color: #DCE7F8; text-decoration: none; }
.footer2 a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer2__top { display: flex; flex-wrap: wrap; gap: var(--s-6); align-items: center; justify-content: space-between; padding-bottom: var(--s-10); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer2__brand { display: flex; gap: var(--s-4); align-items: center; max-width: 560px; }
.footer2__brand img { width: 64px; height: 64px; border-radius: 50%; background: var(--white); padding: 2px; }
.footer2__name { color: var(--white); font-weight: 800; font-size: var(--fs-lg); }
.footer2__grid { display: grid; gap: var(--s-8); grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: var(--s-10); }
@media (min-width: 960px) { .footer2__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer2__title { color: var(--white); font-weight: 800; font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer2 ul { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.footer2 li { display: flex; gap: var(--s-2); align-items: flex-start; }
.footer2 li .icon { color: var(--lime); margin-top: 2px; }
.footer2 .muted { color: #8DA2C4; }
.footer2__wordmark { font-size: clamp(5rem, 22vw, 18rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.05em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(111, 208, 255, 0.25); background: linear-gradient(180deg, rgba(47, 123, 255, 0.25), transparent 85%); -webkit-background-clip: text; background-clip: text; user-select: none; margin-top: var(--s-4); margin-bottom: var(--s-6); transform: translateY(var(--wm, 0)); }
.footer2__bottom { position: relative; z-index: 1; background: var(--navy-950); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding: var(--s-6) 0 var(--s-8); border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: var(--fs-xs); color: #8DA2C4; }

/* Floating sample-data notice (homepage) */
.sample-float { position: fixed; z-index: 80; left: var(--gutter); right: var(--gutter); bottom: var(--s-4); display: flex; justify-content: center; pointer-events: none; }
.sample-float .notice { pointer-events: auto; max-width: 720px; border-radius: 16px; border: 1px solid #E6E3A6; box-shadow: 0 20px 50px -20px rgba(7, 22, 52, 0.5); padding: var(--s-3) var(--s-4); animation: toast-in 500ms var(--ease) 1.2s both; }

/* ============ Reveal variants (JS adds .is-in) ============ */
.js [data-reveal] { opacity: 0; transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="up"] { transform: translateY(28px); }
.js [data-reveal="left"] { transform: translateX(40px); }
.js [data-reveal="right"] { transform: translateX(-40px); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .tilt-card[data-reveal].is-in, .js .grade__card[data-reveal].is-in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero2__bg img, .hero2__grid, .marquee__track, .hero2__title em, .play-btn, .pulse-dot::after, .live__dot::after, .rotator::after { animation: none; }
  .hero2__title .w > span { transform: none; animation: none; }
  .ptab__bar, .lstep__bar { animation: none !important; }
}

/* Small phones */
@media (max-width: 639px) {
  .ptab { padding: var(--s-3) 0; }
  .ptab__name { display: none; }
  .lp__steps { grid-template-columns: 1fr; }
  .lstep { grid-template-columns: 40px 1fr; padding: var(--s-2) var(--s-3) var(--s-2) var(--s-2); }
  .lstep__num { width: 40px; height: 40px; }
  .eco__chips { grid-template-columns: 1fr 1fr; }
  .eco__chips strong { font-size: var(--fs-md); }
  .hero2__title { max-width: none; }
}

/* ============ Ajukan layanan (WhatsApp) ============ */
.ask { padding-block: calc(var(--section-y) * 0.35) var(--section-y); background: #F4F7FC; }
.ask__card {
  position: relative; display: grid; gap: var(--s-10); padding: var(--s-8) var(--s-5) var(--s-6); border-radius: 32px; overflow: hidden;
  color: var(--white); background: radial-gradient(120% 90% at 0% 0%, #12306A 0%, transparent 60%), var(--grad-brand); box-shadow: var(--shadow-float);
}
@media (min-width: 640px) { .ask__card { padding: var(--s-10) var(--s-8) var(--s-8); } }
@media (min-width: 1024px) { .ask__card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: var(--s-12); padding: var(--s-12); } }
.ask__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ask__deco span { position: absolute; border-radius: 50%; }
.ask__deco span:nth-child(1) { width: 460px; height: 460px; right: -140px; top: -180px; border: 70px solid rgba(220, 227, 91, 0.12); animation: ask-spin 40s linear infinite; }
.ask__deco span:nth-child(2) { width: 300px; height: 300px; left: -120px; bottom: -160px; background: rgba(111, 208, 255, 0.2); filter: blur(30px); }
.ask__deco span:nth-child(3) { width: 140px; height: 140px; right: 38%; bottom: 12%; background: radial-gradient(circle, rgba(220, 227, 91, 0.35), transparent 70%); animation: ask-float 9s var(--ease) infinite alternate; }
@keyframes ask-spin { to { transform: rotate(360deg); } }
@keyframes ask-float { to { transform: translate(30px, -40px) scale(1.2); } }

.ask__head { margin-bottom: var(--s-8); }
.ask__head .shead__title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }

.ask__form { display: grid; gap: var(--s-5); }
.ask__step { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; }
.ask__step > :not(legend) { margin-left: 44px; }
@media (max-width: 479px) { .ask__step > :not(legend) { margin-left: 0; } .ask__step::before { display: none; } }
.ask__step::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: calc(var(--s-5) * -1); width: 2px; background: rgba(255, 255, 255, 0.14); }
.ask__step:last-child::before { display: none; }
.ask__step legend { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-3); padding: 0; font-weight: 700; font-size: var(--fs-md); color: var(--white); }
.ask__num { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: var(--fs-sm); font-weight: 800; background: rgba(255, 255, 255, 0.12); border: 1.5px solid rgba(255, 255, 255, 0.35); transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease); }
.ask__step.is-done .ask__num { background: var(--lime); border-color: var(--lime); color: var(--navy-900); font-size: 0; transform: scale(1.05); }
.ask__step.is-done .ask__num::after { content: '✓'; font-size: 15px; }

.ask__majors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
@media (min-width: 480px) { .ask__majors { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ask__major {
  display: grid; justify-items: center; gap: 6px; padding: var(--s-3) var(--s-2); border-radius: 16px; min-height: 72px; color: var(--white);
  background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.16); font-weight: 800; font-size: var(--fs-sm); letter-spacing: 0.02em;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  animation: ask-in 520ms var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms);
}
.ask__major:last-child { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: center; align-items: center; min-height: 48px; font-weight: 600; }
.ask__major:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.4); }
.ask__major-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--cat, var(--electric)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.ask__major:last-child .ask__major-ic { width: 26px; height: 26px; background: transparent; box-shadow: none; }
.ask__major[aria-checked="true"] { background: var(--white); color: var(--navy-900); border-color: var(--white); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(220, 227, 91, 0.45); transform: translateY(-3px); }
.ask__major[aria-checked="true"] .ask__major-ic { color: var(--white); }
.ask__major[aria-checked="true"]:last-child .ask__major-ic { color: var(--navy-900); }
@keyframes ask-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } }

.ask__needs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); min-height: 36px; }
.ask__need {
  min-height: 34px; padding: 0 var(--s-4); border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: #DCE7F8;
  background: transparent; border: 1.5px dashed rgba(255, 255, 255, 0.32); transition: all var(--t-fast) var(--ease); animation: ask-in 420ms var(--ease) both;
}
.ask__need:hover { color: var(--white); border-color: var(--white); }
.ask__need[aria-pressed="true"] { background: var(--lime); border: 1.5px solid var(--lime); color: var(--navy-900); }
.ask__need[aria-pressed="true"]::before { content: '✓ '; }
.ask__muted { margin: 0; color: #A9BBD9; font-size: var(--fs-sm); }
.ask__row { display: grid; gap: var(--s-2); }
@media (min-width: 560px) { .ask__row { grid-template-columns: 1fr 1fr; } }
.ask__input {
  width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4); border-radius: 14px; font: inherit; color: var(--white);
  background: rgba(4, 12, 28, 0.28); border: 1.5px solid rgba(255, 255, 255, 0.18); transition: border-color var(--t-fast), background var(--t-fast);
}
.ask__input--area { resize: vertical; min-height: 64px; }
.ask__input::placeholder { color: #94A9CB; }
.ask__input:focus { outline: none; border-color: var(--sky); background: rgba(4, 12, 28, 0.42); box-shadow: 0 0 0 3px rgba(111, 208, 255, 0.25); }

/* Phone mock-up */
.ask__device { position: relative; display: grid; justify-items: center; align-content: center; perspective: 1200px; }
.ask__phone {
  position: relative; width: min(100%, 360px); border-radius: 36px; padding: 10px; background: #0A1630;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 300ms var(--ease); transform-style: preserve-3d;
  animation: ask-bob 6s ease-in-out infinite;
}
@keyframes ask-bob { 50% { translate: 0 -8px; } }
.ask__phone-head { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-4) var(--s-3); border-radius: 28px 28px 0 0; background: #0E2C52; color: var(--white); }
.ask__avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--white); display: grid; place-items: center; overflow: hidden; }
.ask__avatar img { width: 30px; height: 30px; object-fit: contain; }
.ask__who { display: grid; line-height: 1.25; }
.ask__who small { color: #9FD5A9; font-size: 12px; }
.ask__chat {
  display: grid; align-content: start; gap: var(--s-2); min-height: 330px; padding: var(--s-4) var(--s-3);
  background-color: #E9EEF6; background-image: radial-gradient(rgba(24, 75, 137, 0.08) 1px, transparent 1px); background-size: 16px 16px;
}
.ask__day { justify-self: center; margin: 0 0 var(--s-1); padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.85); color: var(--ink-3); font-size: 11px; font-weight: 600; }
.bubble { position: relative; max-width: 88%; padding: 8px 10px 6px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; color: #1B1E23; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble--in { justify-self: start; background: var(--white); border-top-left-radius: 4px; }
.bubble--out { justify-self: end; background: #DDF4D2; border-top-right-radius: 4px; transform-origin: 100% 0; transition: opacity var(--t) var(--ease); }
.bubble--out.is-typing { opacity: 0.45; }
.bubble--out.pop { animation: ask-pop 380ms var(--ease); }
@keyframes ask-pop { from { transform: scale(0.94); } 60% { transform: scale(1.015); } }
.bubble__meta { display: inline-flex; align-items: center; gap: 3px; float: right; margin: 6px 0 -2px 10px; font-size: 10.5px; color: #5E7A6A; }
.bubble__meta .icon { color: #2F8AE6; }
.bubble--typing { justify-self: end; display: inline-flex; gap: 4px; padding: 10px 12px; background: #DDF4D2; }
.bubble--typing[hidden] { display: none; }
.bubble--typing i { width: 6px; height: 6px; border-radius: 50%; background: #6C8A77; animation: ask-dot 1s infinite; }
.bubble--typing i:nth-child(2) { animation-delay: 0.15s; } .bubble--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ask-dot { 50% { transform: translateY(-4px); opacity: 0.5; } }
.ask__val { background: rgba(47, 123, 255, 0.12); color: #0B2350; border-radius: 4px; padding: 0 1px; }
.ask__val.is-bold { font-weight: 700; }
.ask__val--empty { background: transparent; color: #8A94A6; border-bottom: 1.5px dashed #A8B3C5; border-radius: 0; font-style: italic; }
.ask__send { position: relative; display: grid; gap: var(--s-2); justify-items: center; padding: var(--s-3); border-radius: 0 0 28px 28px; background: #F4F6FA; }
.ask__btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); width: 100%; min-height: 52px; border-radius: var(--r-pill);
  background: #1FA855; color: var(--white); font-weight: 800; text-decoration: none; overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(31, 168, 85, 0.75); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t-fast);
}
.ask__btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%); transform: translateX(-120%); animation: ask-shine 3.6s var(--ease) infinite 1.5s; }
@keyframes ask-shine { 40%, 100% { transform: translateX(120%); } }
.ask__btn:hover { background: #17924A; color: var(--white); transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(31, 168, 85, 0.85); }
.ask__btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.ask__btn[aria-disabled="true"], .ask__btn:not([href]) { background: #8C97A8; box-shadow: none; cursor: default; transform: none; }
.ask__btn:not([href])::after { display: none; }
.ask__alt { font-size: 12px; font-weight: 600; color: var(--blue); }

.ask__stickers { list-style: none; margin: 0; padding: 0; }
.ask__sticker {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.95); color: var(--navy-900); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45); animation: ask-bob 5s ease-in-out infinite;
}
.ask__sticker .icon { color: var(--electric); }
.ask__device { padding-block: var(--s-8); }
.ask__sticker--1 { left: -4%; top: 0; animation-delay: -1s; rotate: -4deg; }
.ask__sticker--2 { right: -6%; top: 22%; animation-delay: -2.5s; rotate: 3deg; }
.ask__sticker--3 { right: 0; bottom: 0; animation-delay: -4s; rotate: -2deg; }
@media (max-width: 1023px) { .ask__sticker--1 { left: 0; } .ask__sticker--2 { right: 0; } }
@media (max-width: 559px) { .ask__device { padding-block: 0; } }
@media (max-width: 559px) { .ask__stickers { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-top: var(--s-4); } .ask__sticker { position: static; rotate: 0deg; animation: none; } }

ol.ask__flow { display: grid; gap: var(--s-3); margin: 0; padding: var(--s-6) 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 720px) { .ask__flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ask__flow { grid-column: 1 / -1; } }
.ask__flow li { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-3); align-items: baseline; }
.ask__flow span { grid-row: span 2; font-size: var(--fs-xl); font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px var(--lime); }
.ask__flow strong { color: var(--white); }
.ask__flow small { color: #B8C7E0; font-size: var(--fs-sm); line-height: 1.5; }
.ask__note { margin: var(--s-5) 0 0; text-align: center; font-size: var(--fs-sm); color: var(--ink-2); }
.ask__note a { font-weight: 700; }

/* Send button call-to-action: ripple + press loop, tapping hand, bubbling hint */
.ask__send.is-live .ask__btn { padding: 0 40px 0 16px; animation: ask-press 2.8s var(--ease) infinite 1.2s; }
.ask__btn-ic { display: inline-grid; transition: transform var(--t) var(--ease); }
.ask__send.is-live .ask__btn-ic { animation: ask-fly 2.8s var(--ease) infinite 1.2s; }
.ask__btn:hover .ask__btn-ic { transform: translate(3px, -3px) rotate(-8deg); }
@keyframes ask-press {
  0%, 22%, 100% { transform: scale(1); box-shadow: 0 12px 30px -10px rgba(31, 168, 85, 0.75), 0 0 0 0 rgba(31, 168, 85, 0.55); }
  30% { transform: scale(0.96); box-shadow: 0 6px 16px -8px rgba(31, 168, 85, 0.75), 0 0 0 0 rgba(31, 168, 85, 0.55); }
  40% { transform: scale(1.02); }
  70% { transform: scale(1); box-shadow: 0 12px 30px -10px rgba(31, 168, 85, 0.75), 0 0 0 16px rgba(31, 168, 85, 0); }
}
@keyframes ask-fly { 0%, 30%, 100% { transform: none; } 45% { transform: translate(4px, -4px) rotate(-10deg); } 60% { transform: none; } }
.ask__tap {
  position: absolute; right: 8px; bottom: 0; z-index: 1; color: var(--white); pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); opacity: 0; animation: ask-tap 2.8s var(--ease) infinite 1.2s;
}
.ask__tap .icon { fill: rgba(255, 255, 255, 0.25); }
@keyframes ask-tap {
  0% { opacity: 0; transform: translate(14px, 16px); }
  14% { opacity: 1; transform: translate(0, 0); }
  30% { opacity: 1; transform: translate(-2px, -3px) scale(0.86); }
  42% { opacity: 1; transform: translate(0, 0) scale(1); }
  70% { opacity: 1; transform: translate(0, 0); }
  86%, 100% { opacity: 0; transform: translate(10px, 12px); }
}
.ask__hint {
  position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: var(--r-pill); background: var(--navy-900); color: var(--white); font-size: 12px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 22px -10px rgba(7, 22, 52, 0.8); translate: -50% 0; animation: ask-hint 1.6s ease-in-out infinite; transition: opacity var(--t), translate var(--t);
}
.ask__hint::after { content: ''; position: absolute; left: 50%; top: 100%; translate: -50% -50%; width: 10px; height: 10px; background: inherit; rotate: 45deg; border-radius: 2px; }
.ask__hint .icon { color: var(--lime); }
@keyframes ask-hint { 50% { transform: translateY(-5px); } }
.ask__send.is-ready .ask__hint { background: #1FA855; }
.ask__send.is-ready .ask__hint .icon { color: var(--white); }
.ask__send.is-ready .ask__btn { background: #15994A; }
/* Noticed → drop the hand and the hint; keep a gentle ripple. */
.ask__send.is-engaged .ask__tap, .ask__send.is-engaged .ask__hint { opacity: 0; animation: none; }
.ask__send.is-engaged:not(.is-ready) .ask__btn { animation-duration: 4s; }
.ask__send.is-ready.is-engaged .ask__hint { opacity: 1; animation: ask-hint 1.6s ease-in-out infinite; }
.ask__send.is-live .ask__btn:hover, .ask__send.is-live .ask__btn:focus-visible { animation: none; }
.ask__btn:active { transform: scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  .ask__deco span, .ask__phone, .ask__sticker, .ask__btn::after, .ask__major, .ask__need,
  .ask__send.is-live .ask__btn, .ask__send.is-live .ask__btn-ic, .ask__hint { animation: none; }
  .ask__tap { display: none; }
}
@media (max-width: 559px) { .ask__need { min-height: 32px; padding: 0 var(--s-3); font-size: 12.5px; } }

/* Data freshness pill (saved copy shown while the live data loads) */
.sync-pill {
  position: fixed; z-index: 80; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill); background: rgba(7, 22, 52, 0.9); color: var(--white); font-size: 12.5px; font-weight: 600;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: sync-in 300ms var(--ease) both;
}
.sync-pill .spinner--sm { width: 13px; height: 13px; border-width: 2px; }
.sync-pill[data-state="updated"] { background: #1D6B45; }
.sync-pill button { margin-left: 4px; padding: 2px 10px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: var(--white); font: inherit; }
@keyframes sync-in { from { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   Phone density (≤ 767px, homepage only). Desktop/tablet are untouched.
   Same sections and functions — tighter rhythm, smaller type, and long
   stacks become swipeable rows (the next card peeks in as a cue).
   ========================================================================== */
@media (max-width: 767px) {
  .home { --section-y: 2.75rem; }

  /* Section headings */
  .home .shead { gap: var(--s-2); margin-bottom: var(--s-6); }
  .home .shead__title { font-size: 1.7rem; line-height: 1.12; }
  .home h3.shead__title { font-size: 1.45rem; }
  .home .shead__lead { font-size: 0.95rem; line-height: 1.55; }
  .home .eyebrow-chip { padding: 4px 10px; font-size: 10.5px; }

  /* Swipe rows */
  .home .swipe-row,
  .home #explorer-grid, .home .facts3, .home .grade__grid, .home .playlist, .home .panel__list, .home .lp__steps {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: var(--s-3);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .home #explorer-grid::-webkit-scrollbar, .home .facts3::-webkit-scrollbar, .home .grade__grid::-webkit-scrollbar,
  .home .playlist::-webkit-scrollbar, .home .panel__list::-webkit-scrollbar, .home .lp__steps::-webkit-scrollbar { display: none; }
  .home #explorer-grid > *, .home .facts3 > *, .home .grade__grid > *, .home .playlist > *, .home .panel__list > *, .home .lp__steps > * { scroll-snap-align: start; min-width: 0; }
  .home #explorer-grid > .state { grid-column: auto; width: calc(100vw - 2 * var(--gutter)); }

  /* Hero */
  .home .hero2 { padding-bottom: var(--s-8); }
  .home .hero2__inner { gap: var(--s-6); padding-top: calc(var(--nav-h) + var(--s-6)); padding-bottom: var(--s-6); }
  .home .hero2__copy { gap: var(--s-3); }
  .home .hero2__title { font-size: 2.15rem; }
  .home .hero2__rotator { font-size: 0.95rem; }
  .home .hero2__lead { font-size: 0.95rem; line-height: 1.55; }
  .home .hero2__live { padding: var(--s-4); gap: var(--s-3); }
  .home .live__stats div { padding: var(--s-2); }
  .home .live__stats dd { font-size: 1.35rem; }
  .home .live__latest { grid-template-columns: 48px 1fr; padding-top: var(--s-3); }
  .home .live__latest img, .home .live__latest .ph { width: 48px; height: 48px; }

  /* Counters: compact 2-column tiles */
  .home .counters { margin-top: calc(var(--s-8) * -1); padding-bottom: var(--s-10); }
  .home .counters__panel { padding: var(--s-5) var(--s-3); border-radius: 22px; }
  .home .counters__head { margin-bottom: var(--s-4); gap: var(--s-2); }
  .home .counters__grid { gap: var(--s-2); }
  .home .counter { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; text-align: left; column-gap: var(--s-2); row-gap: 0; padding: var(--s-3); border-radius: 16px; }
  .home .counter__icon { grid-row: span 2; width: 36px; height: 36px; border-radius: 11px; }
  .home .counter__icon .icon { width: 18px; height: 18px; }
  .home .counter dd, .home .counter dt { grid-column: 2; }
  .home .counter dt { font-size: 11.5px; line-height: 1.25; }
  .home .counter__value { font-size: 1.3rem; line-height: 1.15; }
  .home .counter__value--money { font-size: 0.98rem; }
  .home .counter__note { grid-column: 1 / -1; }
  .home .spark { grid-column: 1 / -1; height: 14px; margin-top: 6px; gap: 2px; }
  .home .spark span { width: 5px; }
  .home .counters__foot { margin-top: var(--s-4); }

  /* Video: player first, playlist as a swipe row of thumbnails */
  .home .cinema__grid { gap: var(--s-3); justify-items: start; }
  .home .cinema__intro, .home .cinema__stage { display: contents; }
  .home .cinema__intro > * { order: 1; }
  .home .cinema__stage > * { order: 2; justify-self: stretch; }
  .home .cinema .player { margin-top: var(--s-2); }
  .home .play-btn { width: 56px; height: 56px; }
  .home .play-btn svg { width: 24px; height: 24px; }
  .home .player__caption { left: var(--s-3); right: var(--s-3); bottom: var(--s-3); font-size: 13px; line-height: 1.3; }
  .home .player__caption small { font-size: 9.5px; }
  .home .playlist { order: 3; justify-self: stretch; grid-auto-columns: 46%; margin-top: 0; }
  .home .playlist button { grid-template-columns: 1fr; gap: 6px; padding: 6px; }
  .home .playlist__title { font-size: 12.5px; }
  .home .playlist__src { font-size: 10px; }

  /* Apa itu MOVE */
  .home .define__grid { gap: var(--s-5); }
  .home .pillars2 { gap: var(--s-3); }
  .home .pillars2__panel { padding: var(--s-5) var(--s-4); border-radius: 20px; }
  .home .pillars2__panel::after { font-size: 140px; bottom: -36px; }
  .home .ppanel { gap: var(--s-2); }
  .home .ppanel h3 { font-size: 1.2rem; line-height: 1.25; }
  .home .ppanel p { font-size: 14px; line-height: 1.6; }

  /* Ajukan layanan */
  .home .ask { padding-bottom: var(--s-10); }
  .home .ask__card { gap: var(--s-6); padding: var(--s-6) var(--s-4) var(--s-5); border-radius: 24px; }
  .home .ask__head { margin-bottom: var(--s-5); }
  .home .ask__head .shead__title { font-size: 1.6rem; }
  .home .ask__form { gap: var(--s-4); }
  .home .ask__step legend { font-size: var(--fs-base); margin-bottom: var(--s-2); }
  .home .ask__num { width: 26px; height: 26px; font-size: 12px; }
  .home .ask__majors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .home .ask__major { min-height: 58px; padding: var(--s-2) 4px; gap: 4px; border-radius: 12px; font-size: 12px; }
  .home .ask__major-ic { width: 28px; height: 28px; border-radius: 8px; }
  .home .ask__major-ic .icon { width: 15px; height: 15px; }
  .home .ask__major:last-child { min-height: 40px; }
  .home .ask__needs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--s-4) * -1); padding-inline: var(--s-4); }
  .home .ask__needs::-webkit-scrollbar { display: none; }
  .home .ask__need { flex: none; }
  .home .ask__muted { white-space: normal; }
  .home .ask__input { min-height: 44px; padding: var(--s-2) var(--s-3); }
  .home .ask__phone { border-radius: 30px; padding: 8px; }
  .home .ask__phone-head { padding: var(--s-3); border-radius: 23px 23px 0 0; }
  .home .ask__chat { min-height: 0; padding: var(--s-3) var(--s-2); }
  .home .ask__send { border-radius: 0 0 23px 23px; }
  .home .ask__stickers { margin-top: var(--s-3); flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .home .ask__stickers::-webkit-scrollbar { display: none; }
  .home .ask__sticker { flex: none; }
  .home .ask__sticker { padding: 5px 10px; font-size: 11px; }
  .home ol.ask__flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); padding-top: var(--s-4); }
  .home .ask__flow li { grid-template-columns: 1fr; row-gap: 2px; }
  .home .ask__flow span { grid-row: auto; font-size: 1.1rem; }
  .home .ask__flow strong { font-size: 12.5px; line-height: 1.25; }
  .home .ask__flow small { font-size: 11px; line-height: 1.4; }

  /* Alur pembelajaran */
  .home .dewey { margin-bottom: var(--s-8); }
  .home .dewey p { font-size: 1.2rem; }
  .home .dewey__mark { margin-bottom: var(--s-2); }
  .home .facts3 { margin-bottom: var(--s-6); }
  .home .fact { padding: var(--s-4); border-radius: 18px; gap: var(--s-2); }
  .home .fact p { font-size: 13.5px; line-height: 1.55; }
  .home .eco { gap: var(--s-4); padding: var(--s-5) var(--s-4); margin-bottom: var(--s-10); border-radius: 20px; }
  .home .eco__text h3 { font-size: var(--fs-lg); }
  .home .eco__text p { font-size: 14px; line-height: 1.6; }
  .home .eco__chips { gap: var(--s-2); }
  .home .eco__chips li { padding: var(--s-3); border-radius: 14px; }
  .home .eco__chips strong { font-size: var(--fs-base); }
  .home .eco__chips span { font-size: 11px; }
  .home .lp { margin-bottom: var(--s-10); }
  .home .lp__grid { gap: var(--s-4); }
  .home .lp__steps { grid-auto-columns: 58%; }
  .home .lstep { grid-template-columns: 36px 1fr; gap: var(--s-2); padding: var(--s-2) var(--s-3) var(--s-2) var(--s-2); border-radius: 14px; }
  .home .lstep:hover { transform: none; }
  .home .lstep__num { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
  .home .lstep__title { font-size: 13px; }
  .home .lp__stage { gap: var(--s-3); }
  .home .lp__diagram { border-radius: 16px; padding: 4px; }
  .home .lp__panel { padding: var(--s-4); border-radius: 16px; }
  .home .lp__panel h4 { font-size: var(--fs-base); }
  .home .lp__panel p { font-size: 13.5px; line-height: 1.55; }
  .home .lp__doc { margin-top: var(--s-3); }
  .home .grade { margin-bottom: var(--s-10); }
  .home .grade__title { font-size: var(--fs-lg); margin-bottom: var(--s-4); }
  .home .grade__card { padding: var(--s-4); border-radius: 18px; }
  .home .grade__card h4 { font-size: var(--fs-base); }
  .home .grade__card p:last-child { font-size: 13px; line-height: 1.5; }
  .home .grade__badge { width: 36px; height: 36px; border-radius: 10px; }
  .home .tl__list { gap: var(--s-4); }
  .home .tl__item { padding-left: var(--s-8); }
  .home .tl__year { font-size: 1.25rem; margin-bottom: 2px; }
  .home .tl__item p { font-size: 13px; line-height: 1.5; }

  /* Peta */
  .home .filters--card { padding: var(--s-3); gap: var(--s-2); border-radius: 16px; }
  .home .filters--card .field__label { font-size: 11px; }
  .home .filters--card .select { min-height: 40px; font-size: 14px; }
  .home .mapx { gap: var(--s-3); }
  .home .mapx__map { height: 46vh; min-height: 300px; }
  .home .panel__list { grid-auto-columns: 78%; padding-block: var(--s-2); }
  .home .panel__list .mini { border: 1px solid #E1EAF7; background: var(--white); border-radius: 14px; grid-template-columns: 60px minmax(0, 1fr); }
  .home .panel__list .mini__img { width: 60px; height: 52px; }

  /* Unggulan */
  .home .featured { gap: var(--s-5); }
  .home .featured__body { gap: var(--s-3); }
  .home .featured .section-title { font-size: 1.4rem; }
  .home .featured__quote { font-size: 0.95rem; line-height: 1.55; }

  /* Jelajahi proyek: swipeable cards */
  .home .toolbar--card { padding: var(--s-2); gap: var(--s-2); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--s-3); }
  .home .toolbar--card > .search { grid-column: 1 / -1; }
  .home .toolbar--card .select { min-height: 40px; font-size: 14px; }
  .home #explorer-pills { margin-bottom: var(--s-3); }
  .home #explorer-pills:empty { display: none; }
  .home #explorer-count { margin-bottom: var(--s-2); }
  .home #explorer-more { margin-top: var(--s-4); }
  .home #explorer-grid .card__media { aspect-ratio: 16 / 10; }
  .home #explorer-grid .card__body { gap: var(--s-2); padding: var(--s-3) var(--s-4) var(--s-4); }
  .home #explorer-grid .card__title { font-size: var(--fs-base); }
  .home #explorer-grid .card__loc, .home #explorer-grid .card__meta { font-size: 13px; }

  /* Arsip */
  .home .year-summary { margin-top: var(--s-5); gap: var(--s-4); padding: var(--s-4); }
  .home .year-summary h3 { font-size: var(--fs-lg); }
  .home .year-summary p { font-size: 14px; }
  .home .year-summary dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
  .home .year-summary dd { font-size: 1.15rem; }
  .home .year-summary dt { font-size: 10.5px; line-height: 1.25; }
  .home .year-summary__actions { gap: var(--s-2); }
  .home .year-summary__actions .btn { min-height: 40px; padding-inline: var(--s-3); font-size: 13px; }

  /* Galeri: 3 columns */
  .home .masonry { columns: 3; column-gap: 6px; }
  .home .masonry__item { margin-bottom: 6px; }
  .home .masonry .shot { border-radius: 10px; }
  .home .masonry .shot img { min-height: 90px; }
  /* Captions stay available in the lightbox; on small tiles they only cover the photo. */
  .home .masonry .shot__cap { display: none; }

  /* Tim: 2 compact columns */
  .home .team { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-3); }
  .home .person { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-2); padding: var(--s-3) 0; }
  .home .person .avatar { --av: 34px !important; }
  .home .person__name { font-size: 13px; line-height: 1.25; }
  .home .person__meta { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .home .person > div:last-child { grid-column: 2; }
  .home .person__count { font-size: 10.5px; padding: 2px 6px; }
  .home .team-foot { margin-top: var(--s-4); }

  /* Footer */
  .home .footer2 { padding-top: var(--s-10); }
  .home .footer2__top { gap: var(--s-4); padding-bottom: var(--s-6); }
  .home .footer2__brand img { width: 48px; height: 48px; }
  .home .footer2__grid { gap: var(--s-6) var(--s-4); padding-block: var(--s-6); }
  .home .footer2__title { margin-bottom: var(--s-2); }
  .home .footer2 ul { gap: var(--s-2); }
  .home .footer2__wordmark { font-size: 26vw; }
}

/* ============ Layanan per jurusan ("active bento") ============ */
.svc { padding-bottom: var(--section-y); }
.svc .shead { margin-bottom: var(--s-6); }
.svc__keys { display: flex; gap: var(--s-2); overflow-x: auto; padding: 4px 2px 10px; margin-bottom: var(--s-4); scrollbar-width: none; scroll-snap-type: x proximity; }
.svc__keys::-webkit-scrollbar { display: none; }
.svc-key {
  position: relative; flex: none; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 10px 16px 12px 12px; border-radius: 16px; background: var(--white); color: var(--navy-900); text-align: left; scroll-snap-align: start; overflow: hidden;
  border: 1px solid #DCE6F4; box-shadow: 0 4px 0 #DCE6F4; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t);
}
.svc-key:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #C9D8EF; }
.svc-key:active { transform: translateY(3px); box-shadow: 0 1px 0 #C9D8EF; }
.svc-key__ic { grid-row: span 2; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--white); background: var(--cat, var(--electric)); }
.svc-key__code { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; line-height: 1.1; }
.svc-key__count { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.svc-key__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.svc-key[aria-selected="true"] { background: var(--grad-brand); color: var(--white); border-color: transparent; box-shadow: 0 4px 0 var(--navy-900), var(--shadow-glow); }
.svc-key[aria-selected="true"] .svc-key__code { color: var(--lime); }
.svc-key[aria-selected="true"] .svc-key__count { color: #C7D5EC; }
.svc-key[aria-selected="true"] .svc-key__ic { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6); }
.svc-key[aria-selected="true"] .svc-key__bar { animation: ptab-progress 9s linear forwards; }
.svc.is-paused .svc-key__bar { animation-play-state: paused; }

.svc__board { display: grid; gap: var(--s-3); }
@media (min-width: 960px) { .svc__board { grid-template-columns: minmax(300px, 0.9fr) minmax(0, 2fr); gap: var(--s-4); align-items: stretch; } }

.svc-id {
  position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: start; gap: var(--s-2); padding: var(--s-6); border-radius: 26px; color: var(--white);
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--cat, #2F7BFF) 75%, transparent), transparent 60%), linear-gradient(160deg, #12306A, #071634);
  box-shadow: var(--shadow-float); animation: svc-swap 520ms var(--ease) both;
}
@keyframes svc-swap { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.svc-id__ghost {
  position: absolute; right: -0.08em; bottom: -0.22em; z-index: -1; font-size: clamp(5rem, 3rem + 7vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.16); pointer-events: none; animation: svc-ghost 900ms var(--ease) both;
}
@keyframes svc-ghost { from { transform: translateX(30px); opacity: 0; } }
.svc-id__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cat, var(--electric)); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08); margin-bottom: var(--s-2); }
.svc-id__code { margin: 0; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.16em; color: var(--lime); }
.svc-id__name { margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.15; color: var(--white); letter-spacing: -0.02em; }
.svc-id__desc { margin: 0; color: #C7D5EC; line-height: 1.6; font-size: var(--fs-sm); }
.svc-id__stats { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-3) 0 0; }
.svc-id__stats div { display: grid; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.svc-id__stats dd { margin: 0; order: -1; font-size: 1.4rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.svc-id__stats dt { font-size: 11px; color: #A9BBD8; }
.svc-id__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin: 0; padding: 0; list-style: none; align-content: start; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); } }
.svc-tile {
  position: relative; display: grid; align-content: space-between; gap: var(--s-2); min-height: 118px; padding: var(--s-4); border-radius: 18px; overflow: hidden;
  background: var(--white); border: 1px solid #E1EAF7; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
  animation: svc-tile-in 460ms var(--ease) both; animation-delay: calc(var(--n, 0) * 45ms);
}
@keyframes svc-tile-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
.svc-tile::before { content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity var(--t);
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--cat, #2F7BFF) 18%, transparent), transparent 70%); }
.svc-tile > * { position: relative; z-index: 1; }
.svc-tile__num { font-size: 11px; font-weight: 800; color: var(--ink-3); letter-spacing: 0.08em; }
.svc-tile__name { font-weight: 700; color: var(--navy-900); line-height: 1.3; font-size: var(--fs-sm); }
.svc-tile__foot { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.svc-tile__foot em { font-style: normal; font-weight: 600; }
.svc-tile.is-done { border-color: color-mix(in srgb, var(--cat, #2F7BFF) 35%, #E1EAF7); background: linear-gradient(160deg, color-mix(in srgb, var(--cat, #2F7BFF) 7%, #fff), #fff 60%); }
.svc-tile.is-done .svc-tile__num { color: var(--cat, var(--electric)); }
.svc-tile.is-done .svc-tile__foot { color: #1D6B45; }
.svc-tile__go { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: var(--cat, var(--electric)); transform: scale(0.6); opacity: 0; transition: transform var(--t) var(--ease), opacity var(--t); }
.svc-tile__hit { position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; border-radius: inherit; cursor: pointer; }
.svc-tile__hit:focus-visible { outline: 3px solid var(--cat, var(--electric)); outline-offset: -3px; }
.svc-tile.is-done:hover, .svc-tile.is-done:focus-within { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(24, 75, 137, 0.55); }
.svc-tile.is-done:hover::before, .svc-tile.is-done:focus-within::before { opacity: 1; }
.svc-tile.is-done:hover .svc-tile__go, .svc-tile.is-done:focus-within .svc-tile__go { transform: scale(1); opacity: 1; }
.svc-tile:not(.is-done) { background: repeating-linear-gradient(135deg, #FBFCFE 0 10px, #F5F8FC 10px 20px); border-style: dashed; }
.svc-tile.svc-tile--more { min-height: 0; padding: 0; border-style: dashed; background: transparent; }
.svc-tile--more button { width: 100%; height: 100%; min-height: 64px; border: 0; background: transparent; font-weight: 700; color: var(--blue); border-radius: inherit; }
.svc-tile--more button:hover { background: var(--blue-50); }

@media (max-width: 767px) {
  .home .svc { padding-bottom: var(--s-10); }
  .home .svc__keys { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .home .svc-key { padding: 8px 12px 10px 8px; border-radius: 14px; }
  .home .svc-key__ic { width: 32px; height: 32px; border-radius: 10px; }
  .home .svc-id { padding: var(--s-5) var(--s-4); border-radius: 20px; }
  .home .svc-id__ic { width: 42px; height: 42px; border-radius: 12px; }
  .home .svc-id__desc { font-size: 13.5px; }
  .home .svc-id__stats dd { font-size: 1.15rem; }
  .home .svc-id__cta .btn { min-height: 42px; font-size: 14px; }
  .home .svc-tile { min-height: 96px; padding: var(--s-3); border-radius: 14px; }
  .home .svc-tile__name { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-id, .svc-id__ghost, .svc-tile { animation: none; }
  .svc-key[aria-selected="true"] .svc-key__bar { animation: none; transform: scaleX(1); }
}
.btn--glass { --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, 0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, 0.2); --btn-fg: var(--white); --btn-border: var(--white); }
.svc-tile.svc-tile--latest { padding: 0; background: var(--white); border-style: solid; grid-column: span 2; min-height: 118px; }
.svc-latest { display: grid; grid-template-columns: 42% 1fr; height: 100%; color: inherit; text-decoration: none; }
.svc-latest img, .svc-latest__ph { width: 100%; height: 100%; min-height: 118px; object-fit: cover; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-3); transition: transform 600ms var(--ease); }
.svc-latest:hover img { transform: scale(1.05); }
.svc-latest__body { display: grid; align-content: center; gap: 4px; padding: var(--s-3) var(--s-4); }
.svc-latest__body small { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cat, var(--electric)); }
.svc-latest__body strong { font-size: var(--fs-sm); color: var(--navy-900); line-height: 1.3; }
.svc-latest__body span { font-size: 12px; color: var(--ink-3); }
.svc-tile--latest:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(24, 75, 137, 0.55); }
.svc-tile.svc-tile--ask { padding: 0; border-style: solid; background: var(--navy-900); border-color: var(--navy-900); }
.svc-tile--ask button { display: grid; align-content: space-between; gap: var(--s-2); width: 100%; height: 100%; padding: var(--s-4); border: 0; background: transparent; text-align: left; border-radius: inherit; color: var(--white); }
.svc-tile--ask .svc-tile__num { color: var(--lime); }
.svc-tile--ask .svc-tile__name { color: var(--white); }
.svc-tile--ask .svc-tile__foot { color: #C7D5EC; }
.svc-tile.svc-tile--ask:hover { transform: translateY(-4px); background: var(--navy-800); }
@media (max-width: 767px) { .home .svc-tile--ask button { padding: var(--s-3); } .home .svc-latest img, .home .svc-latest__ph { min-height: 96px; } }
@media (max-width: 767px) {
  .home .svc-id { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-3); row-gap: var(--s-1); }
  .home .svc-id__ic { grid-row: span 2; margin: 0; }
  .home .svc-id__desc, .home .svc-id__stats, .home .svc-id__cta { grid-column: 1 / -1; }
  .home .svc-id__name { font-size: 1.2rem; }
  .home .svc-id__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s-2); }
  .home .svc-id__stats div { padding: 6px 8px; border-radius: 10px; }
  .home .svc-id__stats dt { font-size: 10px; line-height: 1.2; }
  .home .svc-id__cta { display: grid; grid-template-columns: 1.3fr 1fr; margin-top: var(--s-3); }
  .home .svc-id__cta .btn { padding-inline: 10px; font-size: 13px; }
  .home .svc-id__ghost { font-size: 5.5rem; }
  .home .svc-tile { min-height: 84px; }
  .home .svc-tile.svc-tile--latest { min-height: 0; }
  .home .svc-latest { grid-template-columns: 38% 1fr; }
}
@media (max-width: 767px) { .home .svc-tile.svc-tile--ask { grid-column: span 2; min-height: 0; } .home .svc-tile--ask button { gap: 2px; } }
