/* =========================================================
   ABOUT (about.php) — builds on home.css (.hm)
   ========================================================= */

/* ---------- Shared bits ---------- */
.ab-points {
    list-style: none;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
}

.ab-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--ink-2);
}

.ab-points svg {
    width: 22px;
    height: 22px;
    padding: 4px;
    margin-top: 1px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--teal);
    color: #ffffff;
    stroke-width: 3;
}

.ab-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ab-tags li {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--mint);
    border: 1px solid rgba(13, 148, 136, 0.18);
    color: var(--teal-d);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ---------- Story ---------- */
.hm .ab-story {
    background: #ffffff;
    scroll-margin-top: 80px;
}

.ab-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.ab-story-grid .hm-lead + .hm-lead {
    margin-top: 12px;
}

.ab-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ab-pillars article {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--soft);
    border: 1px solid var(--line);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.ab-pillars article:nth-child(2),
.ab-pillars article:nth-child(4) {
    transform: translateY(24px);
}

.ab-pillars article:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.ab-pillars article > span {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(145deg, var(--teal-2), var(--teal-d));
    box-shadow: 0 10px 20px -8px rgba(13, 148, 136, 0.6);
}

.ab-pillars svg {
    width: 22px;
    height: 22px;
}

.hm .ab-pillars h3 {
    margin-top: 16px;
    font-family: var(--font-h);
    font-size: 1.12rem;
    font-weight: 700;
}

.ab-pillars p {
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
}

/* ---------- What makes us different ---------- */
.hm .ab-diff {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.ab-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ab-feature {
    position: relative;
    padding: 26px 22px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ab-feature::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-2), var(--teal-d));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.ab-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: var(--shadow-md);
}

.ab-feature:hover::after {
    transform: scaleX(1);
}

.ab-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--mint);
    color: var(--teal-d);
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.ab-feature-icon svg {
    width: 22px;
    height: 22px;
}

.hm .ab-feature h3 {
    margin-top: 16px;
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 700;
}

.ab-feature p {
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
}

/* ---------- Assessment ---------- */
.hm .ab-assess {
    background: #ffffff;
}

.ab-assess-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ab-assess-card {
    padding: 28px 22px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--teal-2);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-assess-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ab-assess-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(145deg, var(--teal-2), var(--teal-d));
}

.ab-assess-icon svg {
    width: 24px;
    height: 24px;
}

.hm .ab-assess-card h3 {
    margin-top: 18px;
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 700;
}

.ab-assess-card p {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--muted);
}

.ab-flow {
    list-style: none;
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(150deg, var(--teal-d) 0%, var(--teal-dd) 100%);
    box-shadow: var(--shadow-lg);
}

.ab-flow li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 26px 12px;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.ab-flow li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.4);
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) rotate(45deg);
}

.ab-flow li span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 800;
}

/* ---------- Tutors ---------- */
.hm .ab-tutors {
    background: var(--soft);
    border-top: 1px solid var(--line);
    scroll-margin-top: 80px;
}

.ab-tutors-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.ab-tutors-media {
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 6px solid #ffffff;
    box-shadow: var(--shadow-lg);
    background: #0f172a;
}

.ab-tutors-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm .ab-box-title {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
}

.ab-box-title svg {
    width: 20px;
    height: 20px;
    color: var(--teal);
}

.ab-tutor-grid {
    margin-top: clamp(40px, 5vw, 64px);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

.ab-tutor {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-tutor:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ab-tutor-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ab-tutor-photo {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--teal-2), var(--teal-d));
    color: #ffffff;
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 800;
    box-shadow: 0 10px 20px -10px rgba(13, 148, 136, 0.6);
}

.ab-tutor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ab-tutor-id {
    min-width: 0;
}

.hm .ab-tutor-id h3 {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.ab-tutor-id p {
    margin-top: 2px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--teal-d);
}

.ab-tutor-rating {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--ink);
}

.ab-tutor-rating svg {
    width: 15px;
    height: 15px;
    color: var(--star);
    fill: var(--star);
}

.ab-tutor-rating small {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--muted);
}

.ab-tutor-status {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.76rem;
    font-weight: 700;
}

.ab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.ab-tutor-cred {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink-2);
}

.ab-tutor-cred svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--teal);
}

.ab-tutor-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm .ab-tutor-btn {
    margin-top: auto;
    min-height: 46px;
}

/* ---------- Team ---------- */
.hm .ab-team {
    background: #ffffff;
    scroll-margin-top: 80px;
}

.ab-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ab-team-card {
    --tone: var(--teal);
    --tone-bg: var(--mint);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 24px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ab-team-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--tone) 35%, transparent);
    box-shadow: var(--shadow-md);
}

.ab-team-wide {
    grid-row: span 2;
}

.ab-tone-violet { --tone: #7c3aed; --tone-bg: #f5f3ff; }
.ab-tone-sky    { --tone: #0284c7; --tone-bg: #f0f9ff; }
.ab-tone-amber  { --tone: #d97706; --tone-bg: #fffbeb; }
.ab-tone-rose   { --tone: #db2777; --tone-bg: #fdf2f8; }

.ab-team-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ab-team-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--tone-bg);
    color: var(--tone);
}

.ab-team-icon svg {
    width: 22px;
    height: 22px;
}

.hm .ab-team-head h3 {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
}

.ab-team-head small {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tone);
}

.ab-team-card > p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--muted);
}

.ab-team-card > p strong {
    color: var(--ink);
    font-weight: 600;
}

.ab-team-points {
    list-style: none;
    display: grid;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.ab-team-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.ab-team-points svg {
    width: 18px;
    height: 18px;
    padding: 3px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--tone-bg);
    color: var(--tone);
    stroke-width: 3;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .ab-features,
    .ab-assess-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ab-team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .ab-story-grid,
    .ab-tutors-intro {
        grid-template-columns: 1fr;
    }

    .ab-tutors-media {
        max-width: 480px;
        aspect-ratio: 4 / 3;
    }

    .ab-flow {
        grid-template-columns: 1fr;
    }

    .ab-flow li {
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px 22px;
        text-align: left;
    }

    .ab-flow li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .ab-flow li + li::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .ab-pillars {
        gap: 12px;
    }

    .ab-pillars article {
        padding: 18px 16px;
    }

    .ab-pillars article:nth-child(2),
    .ab-pillars article:nth-child(4) {
        transform: none;
    }

    .ab-features,
    .ab-assess-grid,
    .ab-team-grid {
        grid-template-columns: 1fr;
    }

    .ab-team-wide {
        grid-row: auto;
    }

    .ab-tutor-photo {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }
}

/* ---------- About film (.ax-film): cinematic layer on top of the shared explainer player ----------
   Player/caption base styles live in explainer.css (shared with Our Advantage — keep changes here).
   Art elements opt into motion with classes; timing comes from inline custom properties:
   --d = entrance delay, --f = loop phase offset, --t = loop duration, --sx = shine travel. */
.ax-film { --spring: cubic-bezier(.34, 1.56, .64, 1); --ease: cubic-bezier(.16, 1, .3, 1); --mx: 0; --my: 0; }

/* Stage backdrop */
.ax-film .wx-stage { isolation: isolate; background: linear-gradient(180deg, rgba(2, 44, 41, .25), rgba(2, 30, 28, .55)); }
.ax-film .wx-scene { z-index: 1; }
.ax-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ax-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.ax-orb { position: absolute; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); }
.ax-orb1 { width: 46%; left: 48%; top: -18%; background: #14b8a6; opacity: .5; animation: ax-drift1 18s ease-in-out infinite alternate; }
.ax-orb2 { width: 34%; left: -6%; bottom: -26%; background: #f59e0b; opacity: .22; animation: ax-drift2 22s ease-in-out infinite alternate; }
.ax-orb3 { width: 28%; left: 30%; top: 34%; background: #0ea5e9; opacity: .18; animation: ax-drift3 26s ease-in-out infinite alternate; }
@keyframes ax-drift1 { to { transform: translate(-18%, 22%) scale(1.15); } }
@keyframes ax-drift2 { to { transform: translate(40%, -30%) scale(1.2); } }
@keyframes ax-drift3 { to { transform: translate(-30%, -25%) scale(.85); } }
.ax-floor {
    position: absolute; left: -30%; right: -30%; bottom: -34%; height: 72%;
    background-image: linear-gradient(rgba(94, 234, 212, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 234, 212, .2) 1px, transparent 1px);
    background-size: 46px 46px;
    transform: perspective(520px) rotateX(64deg);
    -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 80%); mask-image: linear-gradient(to top, #000 10%, transparent 80%);
    animation: ax-floor 5s linear infinite;
}
@keyframes ax-floor { to { background-position: 0 46px; } }
.ax-dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.ax-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(2, 24, 22, .55)); }
.ax-film .wx-progress .is-active i { box-shadow: 0 0 12px rgba(94, 234, 212, .9); }

/* Camera: the art flies in from depth, the outgoing art zooms past and blurs out */
.ax-film .wx-art { perspective: 900px; transform: scale(.84) translateY(14px); filter: blur(10px); opacity: 0; transition: transform 1.1s var(--ease), filter .9s ease, opacity .7s ease; }
.ax-film .wx-scene.is-active .wx-art { transform: none; filter: none; opacity: 1; }
.ax-film .wx-scene.is-leaving:not(.is-active) .wx-art { transform: scale(1.18); filter: blur(12px); opacity: 0; transition-duration: .6s; }
.ax-film .wx-art svg { translate: calc(var(--mx) * -14px) calc(var(--my) * -10px); rotate: y calc(var(--mx) * 6deg); transition: translate .5s ease-out, rotate .5s ease-out; }
.ax-film .is-active .wx-art svg { animation: ax-breathe 7s ease-in-out infinite; }
@keyframes ax-breathe { 50% { transform: scale(1.025); } }
.ax-film .wx-copy { translate: calc(var(--mx) * 5px) calc(var(--my) * 4px); transition: translate .5s ease-out; }

/* Caption: headline rises word by word, ticks pop, kicker gets a light sweep */
.ax-film .is-active .wx-title { animation: none; }
.ax-film .wx-title .ax-w { display: inline-block; }
.ax-film .is-active .wx-title .ax-w { animation: ax-word .8s var(--ease) backwards; animation-delay: calc(.15s + var(--i) * .055s); }
@keyframes ax-word { from { opacity: 0; transform: translateY(.65em) rotate(5deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.ax-film .is-active .wx-points li:nth-child(4) { animation-delay: 1s; }
.ax-film .is-active .wx-cta { animation-delay: 1.15s; }
.ax-film .is-active .wx-points svg { animation: ax-tickpop .5s var(--spring) backwards; }
.ax-film .is-active .wx-points li:nth-child(1) svg { animation-delay: .75s; }
.ax-film .is-active .wx-points li:nth-child(2) svg { animation-delay: .9s; }
.ax-film .is-active .wx-points li:nth-child(3) svg { animation-delay: 1.05s; }
.ax-film .is-active .wx-points li:nth-child(4) svg { animation-delay: 1.2s; }
@keyframes ax-tickpop { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }
.ax-film .wx-points svg { box-shadow: 0 0 0 4px rgba(20, 184, 166, .18), 0 0 14px rgba(94, 234, 212, .5); }
.ax-film .wx-kicker { position: relative; overflow: hidden; }
.ax-film .wx-kicker::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45), transparent 70%); transform: translateX(-120%); }
.ax-film .is-active .wx-kicker::after { animation: ax-sweep 3.5s ease-in-out .7s infinite; }
@keyframes ax-sweep { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
.ax-film .wx-cta { position: relative; }
.ax-film .is-active .wx-cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: ax-cta 2.6s ease-out 2s infinite; }
@keyframes ax-cta { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }

/* Art motion vocabulary */
.ax-film :where(.wx-art [class*="ax-"]) { transform-box: fill-box; transform-origin: center; }
.ax-film .is-active .ax-pop { animation: ax-pop .8s var(--spring) backwards var(--d, 0s); }
.ax-film .is-active .ax-rise { animation: ax-rise .8s var(--ease) backwards var(--d, 0s); }
.ax-film .is-active .ax-left { animation: ax-left .9s var(--ease) backwards var(--d, 0s); }
.ax-film .is-active .ax-right { animation: ax-right .9s var(--ease) backwards var(--d, 0s); }
.ax-film .is-active .ax-flip { animation: ax-flip .9s var(--ease) backwards var(--d, 0s); }
.ax-film .is-active .ax-stamp { animation: ax-stamp .7s var(--spring) backwards var(--d, 0s); }
@keyframes ax-pop { from { opacity: 0; transform: scale(.4); } 60% { opacity: 1; } to { transform: none; } }
@keyframes ax-rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes ax-left { from { opacity: 0; transform: translateX(-70px); } to { opacity: 1; transform: none; } }
@keyframes ax-right { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }
@keyframes ax-flip { from { opacity: 0; transform: perspective(600px) rotateY(85deg) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes ax-stamp { from { opacity: 0; transform: scale(2.2) rotate(-14deg); } 60% { opacity: 1; transform: scale(.94); } to { opacity: 1; transform: none; } }

.ax-film .ax-draw { stroke-dasharray: 100; }
.ax-film .is-active .ax-draw { animation: ax-draw 1s ease-in-out backwards var(--d, 0s); }
@keyframes ax-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.ax-film .ax-comet { stroke-dasharray: 9 91; opacity: 0; }
.ax-film .is-active .ax-comet { animation: ax-comet var(--t, 2.2s) linear var(--d, 0s) infinite; }
@keyframes ax-comet { 0% { stroke-dashoffset: 100; opacity: 0; } 8%, 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.ax-film .is-active .ax-float { animation: ax-float 4.2s ease-in-out var(--f, 0s) infinite; }
@keyframes ax-float { 50% { transform: translateY(-5px); } }
.ax-film .is-active .ax-halo { animation: ax-halo 4s ease-in-out infinite; }
@keyframes ax-halo { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
.ax-film .ax-ping { opacity: 0; }
.ax-film .is-active .ax-ping { animation: ax-ping 2.2s ease-out var(--f, 0s) infinite; }
@keyframes ax-ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(var(--ps, 2.8)); opacity: 0; } }
.ax-film .ax-shine { opacity: .9; }
.ax-film .is-active .ax-shine { animation: ax-shine 4.5s ease-in-out var(--d, 0s) infinite; }
@keyframes ax-shine { 0% { transform: translateX(0); } 30%, 100% { transform: translateX(var(--sx, 320px)); } }
.ax-film .is-active .ax-twinkle { animation: ax-twinkle 1.8s ease-in-out var(--f, 0s) infinite; }
@keyframes ax-twinkle { 0%, 100% { opacity: .2; transform: scale(.5) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
.ax-film .is-active .ax-beat { animation: ax-beat 1.4s ease-in-out infinite; }
@keyframes ax-beat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 28% { transform: scale(1.08); } }

/* 1 — Story */
.ax-film .is-active .ax-lands { animation: ax-lands 16s linear infinite; }
@keyframes ax-lands { to { transform: translateX(-232px); } }
.ax-film .is-active .ax-meridians { animation: ax-turn 8s linear infinite; }
@keyframes ax-turn { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.4); } }
.ax-film .is-active .ax-orbit { animation: ax-orbit 5s linear infinite; }
@keyframes ax-orbit { to { stroke-dashoffset: -110; } }
.ax-film .ax-flash { opacity: 0; }
.ax-film .is-active .ax-flash { animation: ax-flash 1.4s ease-out var(--d, 0s) both; }
@keyframes ax-flash { 0% { opacity: 0; } 25% { opacity: .75; } 100% { opacity: .2; } }

/* 2 — Mission */
.ax-film .ax-arrow { transform-box: view-box; transform-origin: 136px 136px; }
.ax-film .is-active .ax-arrow { animation: ax-arrow .55s cubic-bezier(.55, 0, .9, .4) backwards .95s, ax-quiver .6s ease-out 1.5s; }
@keyframes ax-arrow { from { transform: translate(190px, -190px); opacity: 0; } 15% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes ax-quiver { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 50% { transform: rotate(3deg); } 75% { transform: rotate(-1.5deg); } }
.ax-film .ax-trail, .ax-film .ax-burst, .ax-film .ax-wave { opacity: 0; }
.ax-film .is-active .ax-trail { animation: ax-trail .9s ease-out var(--d, 0s); }
@keyframes ax-trail { 0% { opacity: 0; } 30% { opacity: .95; } 100% { opacity: 0; } }
.ax-film .is-active .ax-burst { animation: ax-burst .7s ease-out var(--d, 0s); }
@keyframes ax-burst { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
.ax-film .is-active .ax-wave { animation: ax-wave 2.6s ease-out var(--d, 0s) infinite; }
@keyframes ax-wave { 0% { opacity: 1; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(3.4); } }

/* 3 — Why choose us */
.ax-film .ax-swing { transform-origin: 50% 0; }
.ax-film .is-active .ax-swing { animation: ax-swing 1.6s ease-in-out infinite; }
@keyframes ax-swing { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
.ax-film .ax-hand-m, .ax-film .ax-hand-h { transform-box: view-box; transform-origin: 354px 70px; }
.ax-film .is-active .ax-hand-m { animation: wx-spin 2.4s linear infinite; }
.ax-film .is-active .ax-hand-h { animation: wx-spin 28.8s linear infinite; }
.ax-film .ax-coin { opacity: 0; }
.ax-film .is-active .ax-coin { animation: ax-coin 1.7s cubic-bezier(.5, 0, .75, 0) 1.6s infinite; }
@keyframes ax-coin { 0% { opacity: 0; transform: translateY(-34px); } 15% { opacity: 1; } 70% { opacity: 1; transform: translateY(16px) scaleX(.6); } 85%, 100% { opacity: 0; transform: translateY(18px) scaleX(.2); } }

/* 5 — Team: tighter labels so "Psychology" fits its card */
.ax-film .wx-art .ax-node-t { font-size: 9.5px; }

/* 4 — How we match */
.ax-film .is-active .ax-scan { animation: ax-scan 1.8s ease-in-out infinite alternate; }
@keyframes ax-scan { from { transform: translateY(0); } to { transform: translateY(150px); } }
.ax-film .ax-lit { opacity: 0; }
.ax-film .is-active .ax-lit { animation: ax-lit 1.2s ease-out var(--d, 0s) both; }
@keyframes ax-lit { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: .5; } }
.ax-film .ax-conf { opacity: 0; }
.ax-film .is-active .ax-conf { animation: ax-conf 1.3s cubic-bezier(.2, .8, .3, 1) var(--d, 0s); }
@keyframes ax-conf { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1); } }

@media (max-width: 900px) {
    .ax-film .wx-art svg, .ax-film .wx-copy { translate: none; rotate: none; }
    .ax-floor { bottom: -20%; height: 50%; }
}
@media (prefers-reduced-motion: reduce) {
    .ax-film .wx-art, .ax-film .wx-scene.is-leaving:not(.is-active) .wx-art { transform: none; filter: none; transition: opacity .3s; }
    .ax-orb, .ax-floor { animation: none; }
}

/* Tutor cards: availability dot pulses, rating star twinkles */
.ab-dot { animation: ab-avail 1.8s ease-out infinite; }
@keyframes ab-avail { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 100% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } }
.ab-tutor-rating svg { animation: ab-star 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ab-star { 0%, 70%, 100% { rotate: 0deg; scale: 1; } 80% { rotate: 72deg; scale: 1.25; } }

@media (prefers-reduced-motion: reduce) {
    .ab-dot, .ab-tutor-rating svg { animation: none !important; }
}

/* =====================================================================
   HERO — full-bleed cinematic (.ab-cine). Replaces the shared split hero on this page only.
   ===================================================================== */
.hm .ab-cine { padding: 0; min-height: clamp(560px, 82vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; background: #042f2e; color: #fff; isolation: isolate; }
.ab-cine .mo-aurora { display: none; }
.ab-cine-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.ab-cine-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; transform-origin: 70% 40%; animation: ab-kenburns 24s ease-in-out infinite alternate; }
@keyframes ab-kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.ab-cine-shade { position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 47, 46, .94) 0%, rgba(4, 47, 46, .82) 34%, rgba(4, 47, 46, .35) 62%, rgba(4, 47, 46, .1) 100%),
        linear-gradient(0deg, rgba(4, 47, 46, .95) 0%, rgba(4, 47, 46, 0) 45%); }
.ab-cine-shade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 12% 30%, rgba(45, 212, 191, .25), transparent 70%); }

.ab-cine-inner { position: relative; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: clamp(90px, 12vh, 140px); padding-bottom: clamp(36px, 5vw, 56px); }
.ab-cine-copy { max-width: 660px; }
.hm .ab-cine .hm-eyebrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #ccfbf1; box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hm .ab-cine .hm-eyebrow-dot { background: #5eead4; }
.hm .ab-cine .hm-hero-title { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.8rem); text-shadow: 0 8px 40px rgba(0, 0, 0, .35); }
.hm .ab-cine .hm-accent { background: linear-gradient(90deg, #5eead4, #fde68a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm .ab-cine .hm-hero-sub { color: rgba(236, 253, 245, .85); }
.hm .ab-cine .ab-cine-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hm .ab-cine .ab-cine-ghost svg { color: #5eead4; }
.hm .ab-cine .ab-cine-ghost:hover { background: rgba(255, 255, 255, .2); }

.ab-cine-tags { list-style: none; display: grid; gap: 10px; margin: 0 0 6px; padding: 0; }
.ab-cine-tags li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(4, 47, 46, .45); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 700 .9rem var(--font-ui, 'Inter', sans-serif); color: #fff; white-space: nowrap; opacity: 0; animation: ab-tag-in .8s cubic-bezier(.16, 1, .3, 1) forwards; }
.ab-cine-tags li:nth-child(1) { animation-delay: .6s; } .ab-cine-tags li:nth-child(2) { animation-delay: .8s; margin-left: 28px; } .ab-cine-tags li:nth-child(3) { animation-delay: 1s; }
.ab-cine-tags svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: linear-gradient(135deg, #2dd4bf, #0f766e); color: #fff; flex-shrink: 0; }
.ab-cine-tags li:nth-child(3) svg { background: linear-gradient(135deg, #fb7185, #e11d48); }
@keyframes ab-tag-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

.ab-cine-stats-wrap { position: relative; width: 100%; margin-bottom: -1px; }
.hm .ab-cine-stats { margin: 0; border-radius: 22px 22px 0 0; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-bottom: 0; box-shadow: none; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hm .ab-cine-stats li + li { border-left-color: rgba(255, 255, 255, .14); }
.hm .ab-cine-stats .hm-stat-num { color: #fff; }
.hm .ab-cine-stats .hm-stat-label { color: rgba(204, 251, 241, .8); }

@media (max-width: 992px) {
    .ab-cine-inner { flex-direction: column; align-items: flex-start; }
    .ab-cine-tags { grid-auto-flow: column; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
    .ab-cine-tags li:nth-child(2) { margin-left: 0; }
    .ab-cine-shade { background: linear-gradient(0deg, rgba(4, 47, 46, .96) 0%, rgba(4, 47, 46, .78) 55%, rgba(4, 47, 46, .4) 100%); }
}
@media (max-width: 640px) {
    .hm .ab-cine { min-height: 0; }
    .ab-cine-tags { display: none; }
    .hm .ab-cine-stats { grid-template-columns: 1fr 1fr; }
    .hm .ab-cine-stats li:nth-child(3) { border-left: none; }
    .hm .ab-cine-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}
@media (prefers-reduced-motion: reduce) {
    .ab-cine-media img, .ab-cine-tags li { animation: none; opacity: 1; }
}
