/* ==========================================================================
   Anan Early Years – Home
   Brand colours sampled from the logo gradient
   ========================================================================== */

:root {
    --purple: #9373a8;
    --purple-deep: #6b3fa0;
    --purple-ink: #4a1f78;
    --pink: #f08ab0;
    --orange: #f5a35f;
    --yellow: #f5c85a;
    --teal: #7bb8ae;

    --purple-soft: #f1eaf7;
    --pink-soft: #fde9f1;
    --orange-soft: #fef0e3;
    --yellow-soft: #fef6df;
    --teal-soft: #e6f3f1;

    --ink: #2f2a3a;
    --muted: #6b6578;
    --line: #ece4f2;
    --cream: #fffbf6;
    --white: #ffffff;

    --rainbow: linear-gradient(90deg, #9373a8 0%, #f08ab0 30%, #f5a35f 55%, #f5c85a 75%, #7bb8ae 100%);

    --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --script: "Pacifico", cursive;

    --radius: 28px;
    --shadow: 0 18px 50px -20px rgba(74, 31, 120, .28);
    --shadow-sm: 0 8px 24px -12px rgba(74, 31, 120, .25);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font);
    color: var(--muted);
    background: var(--cream);
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .3s var(--ease);
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--pink);
    color: #fff;
}

main {
    overflow-x: clip;
}

.section-pad {
    padding: 120px 0;
}

@media (max-width: 991px) {
    .section-pad {
        padding: 80px 0;
    }
}

/* ---------- Shared bits ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--purple-soft);
    color: var(--purple-deep);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 18px;
}

.eyebrow i {
    color: var(--orange);
    font-size: 12px;
}

.eyebrow-light {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.section-head {
    max-width: 680px;
    margin-bottom: 56px;
}

.section-head p {
    margin-top: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -.02em;
}

.section-title em,
.statement-huge {
    font-style: normal;
    background: var(--rainbow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.split-words .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .08em;
}

.split-words .w > span {
    display: inline-block;
}

.split-words em .w > span {
    background: var(--rainbow);
    background-size: 600% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.script-word {
    font-family: var(--script);
    font-weight: 400;
    background: var(--rainbow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Pacifico's swashes and descenders reach outside the glyph box; the padding widens the
       painted (background-clip) area to cover them and the negative margin keeps spacing unchanged */
    padding: .08em .2em .32em;
    margin: -.08em -.08em -.32em;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--ink);
}

/* Buttons */
.btn-anan,
.btn-ghost {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: box-shadow .4s var(--ease), color .3s;
    will-change: transform;
}

.btn-anan {
    color: #fff;
    background: var(--purple-deep);
    box-shadow: 0 10px 24px -10px rgba(107, 63, 160, .7);
}

.btn-anan::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--rainbow);
    z-index: -1;
    transform: translateX(-101%);
    transition: transform .6s var(--ease);
}

.btn-anan:hover {
    color: #fff;
    box-shadow: 0 16px 30px -12px rgba(240, 138, 176, .8);
}

.btn-anan:hover::before {
    transform: translateX(0);
}

.btn-anan i {
    transition: transform .4s var(--ease);
}

.btn-anan:hover i {
    transform: translateX(4px);
}

.btn-ghost {
    color: var(--purple-deep);
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--line);
}

.btn-ghost:hover {
    color: var(--purple-deep);
    box-shadow: inset 0 0 0 2px var(--pink);
}

.btn-light {
    background: #fff;
    color: var(--purple-deep);
}

.btn-light:hover {
    color: #fff;
}

.icon-mask {
    display: inline-block;
    background: var(--c, var(--purple));
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: #fff;
    transition: opacity .6s var(--ease), visibility .6s;
    animation: preloaderFallback .1s 5s forwards;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
}

@keyframes preloaderFallback {
    to { opacity: 0; visibility: hidden; }
}

.preloader-inner {
    width: min(260px, 60vw);
    text-align: center;
}

.preloader-logo {
    width: 100%;
    animation: popIn .8s var(--ease) both;
}

.preloader-line {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 6px;
}

/* The JSON scribble: trim path 0 → 100% over 2s with the Lottie's own easing.
   The path has pathLength="1000", so the dash values are in those units. */
.preloader-line path {
    fill: none;
    stroke: url(#preloaderRainbow);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s .2s cubic-bezier(.441, 0, .518, 1) forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(.85); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 1001;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: var(--rainbow);
    transform-origin: left;
    transform: scaleX(0);
}

/* ---------- Sparkles ---------- */
.sparkle-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    background: var(--c);
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    animation: sparkle .9s var(--ease) forwards;
}

@keyframes sparkle {
    0% { transform: scale(0) rotate(0); opacity: 1; }
    40% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); opacity: 1; }
    100% { transform: translate(calc(var(--dx) * 2), calc(var(--dy) * 2 + 20px)) scale(0) rotate(180deg); opacity: 0; }
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--purple-ink);
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    padding: 9px 0;
}

.topbar-list {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar-list i {
    color: var(--yellow);
    margin-right: 6px;
}

.topbar a:hover {
    color: var(--yellow);
}

.topbar-tag {
    margin: 0;
    font-weight: 600;
    letter-spacing: .12em;
    font-size: 13px;
}

.topbar-tag span {
    color: var(--pink);
    margin: 0 6px;
}

.topbar-social {
    display: flex;
    gap: 8px;
}

.topbar-social a {
    width: 28px;
    height: 28px;
    margin: -3px 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}

.topbar .topbar-social a:hover {
    color: var(--purple-ink);
    background: var(--yellow);
    border-color: var(--yellow);
    transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 14px 0;
    background: rgba(255, 251, 246, .0);
    transition: background .4s, box-shadow .4s, padding .4s var(--ease), transform .5s var(--ease);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px -18px rgba(74, 31, 120, .35);
    padding: 8px 0;
}

.site-header.hide {
    transform: translateY(-110%);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand img {
    height: 62px;
    width: auto;
    transition: height .4s var(--ease);
}

.scrolled .brand img {
    height: 50px;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
    border-radius: 40px;
}

.nav-actions .btn-anan {
    white-space: nowrap;
}

/* Laptop widths: eight menu items + the tour button need tighter spacing */
@media (min-width: 1200px) and (max-width: 1399px) {
    .main-menu {
        gap: 0;
    }

    .main-menu > li > a {
        padding: 10px 10px;
        font-size: 14.5px;
    }

    .nav-actions .btn-anan {
        padding: 12px 20px;
        font-size: 14px;
    }

    .brand img {
        height: 54px;
    }
}

.main-menu > li > a i {
    font-size: 11px;
    transition: transform .3s;
}

.main-menu > li > a:hover,
.main-menu > li > a.active {
    color: var(--purple-deep);
    background: var(--purple-soft);
}

.main-menu > li:hover > a i {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    list-style: none;
    margin: 0;
    padding: 10px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .35s var(--ease);
}

.sub-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 15px;
    color: var(--ink);
}

.sub-menu a:hover {
    background: var(--purple-soft);
    color: var(--purple-deep);
    padding-left: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--purple-deep);
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.menu-toggle span:nth-child(2) {
    width: 14px;
    margin-left: auto;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    background: #fff;
    z-index: 1003;
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
}

.mobile-menu.open {
    transform: translateX(0);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(47, 26, 70, .45);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.mobile-menu-head img {
    height: 50px;
    width: auto;
}

.menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--purple-soft);
    color: var(--purple-deep);
    font-size: 18px;
}

.mobile-links {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.mobile-links a {
    display: block;
    padding: 14px 4px;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.mobile-links a:hover {
    color: var(--purple-deep);
    padding-left: 10px;
}

.mobile-contact a:not(.btn-anan) {
    display: block;
    padding: 6px 0;
    color: var(--ink);
}

.mobile-contact i {
    color: var(--pink);
    margin-right: 8px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 40px 0 170px;
    overflow: hidden;
    background:
        radial-gradient(60% 60% at 85% 20%, rgba(240, 138, 176, .18), transparent 70%),
        radial-gradient(50% 50% at 10% 80%, rgba(123, 184, 174, .16), transparent 70%),
        radial-gradient(40% 40% at 50% 0%, rgba(245, 200, 90, .14), transparent 70%);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .5;
    pointer-events: none;
}

.hero-blob-1 {
    width: 380px;
    height: 380px;
    background: var(--pink-soft);
    top: 8%;
    left: -120px;
}

.hero-blob-2 {
    width: 300px;
    height: 300px;
    background: var(--yellow-soft);
    bottom: 10%;
    right: 30%;
}

.deco {
    position: absolute;
    pointer-events: none;
}

.deco-star {
    width: 34px;
    fill: var(--purple);
    animation: twinkle 3s ease-in-out infinite;
}

.deco-star.d1 { top: 14%; left: 46%; }
.deco-star.d2 { top: 70%; left: 4%; width: 24px; fill: var(--orange); animation-delay: -1s; }
.deco-star.d3 { top: 18%; right: 4%; width: 20px; fill: var(--teal); animation-delay: -2s; }

.deco-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.deco-dot.d4 { background: var(--yellow); top: 28%; left: 2%; }
.deco-dot.d5 { background: var(--pink); bottom: 32%; left: 48%; width: 10px; height: 10px; }

@keyframes twinkle {
    0%, 100% { scale: 1; rotate: 0deg; opacity: 1; }
    50% { scale: .6; rotate: 45deg; opacity: .6; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.6rem, 5.6vw, 4.7rem);
    letter-spacing: -.03em;
    line-height: 1.08;
    margin-bottom: 22px;
}

/* overflow: hidden masks the slide-up reveal; the extra bottom room (offset by the negative
   margin) keeps script descenders inside the mask */
.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: .34em;
    margin-bottom: -.24em;
}

.hero-title .hero-word {
    display: inline-block;
}

.hero-title .script-word {
    font-size: 1.12em;
    line-height: 1.15;
    display: inline-block;
}

.hero-text {
    max-width: 520px;
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-pillars li {
    padding: 6px 16px 6px 12px;
    border-radius: 40px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: default;
    transition: transform .35s var(--ease), background .35s, color .35s;
}

.hero-pillars li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c);
}

.hero-pillars li:hover {
    transform: translateY(-4px) rotate(-3deg);
    background: var(--c);
    color: #fff;
}

.hero-pillars li:hover::before {
    background: #fff;
}

/* Hero visual */
.hero-visual {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
    aspect-ratio: 1 / .92;
}

/* Star behind, girl flying in front. Idle motion uses the individual rotate/scale/translate
   properties so it never fights GSAP, which drives transform (intro + mouse parallax). */
.hero-glow {
    position: absolute;
    inset: 0 0 8% 8%;
    border-radius: 50%;
    background: radial-gradient(circle at 62% 38%, rgba(240, 138, 176, .38), rgba(147, 115, 168, .18) 45%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}

.hero-star {
    position: absolute;
    top: -6%;
    right: 2%;
    z-index: 1;
    width: 84%;
    filter: drop-shadow(0 0 40px rgba(240, 138, 176, .45));
    animation: starSway 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes starSway {
    0%, 100% { rotate: -5deg; scale: 1; }
    50% { rotate: 5deg; scale: 1.05; }
}

/* Head overlaps the lower half of the star; the crayon hand reaches into its right point */
.hero-girl {
    position: absolute;
    top: 37%;
    left: -3%;
    z-index: 2;
    width: 86%;
    /* No drop-shadow here: combined with the mask it paints a faint box around the image.
       The photo's legs fade to white – finish that fade softly instead of a hard cut edge */
    -webkit-mask-image: linear-gradient(28deg, transparent 3%, #000 30%);
    mask-image: linear-gradient(28deg, transparent 3%, #000 30%);
    animation: floaty 6s ease-in-out infinite;
}

.hero-twinkle {
    position: absolute;
    z-index: 3;
    width: 22px;
    fill: #fff;
    filter: drop-shadow(0 0 6px rgba(245, 200, 90, .9));
    animation: twinkle 2.6s ease-in-out infinite;
    pointer-events: none;
}

.tw-1 { top: 2%; left: 30%; }
.tw-2 { top: 58%; right: 2%; width: 16px; animation-delay: -1s; }
.tw-3 { top: 8%; right: 4%; width: 14px; fill: var(--yellow); animation-delay: -1.8s; }

@keyframes spin {
    to { rotate: 360deg; }
}

@keyframes morph {
    0%, 100% { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; }
    33% { border-radius: 44% 56% 60% 40% / 46% 58% 42% 54%; }
    66% { border-radius: 52% 48% 38% 62% / 60% 40% 60% 40%; }
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    background: rgba(255, 255, 255, .95);
    border-radius: 18px;
    box-shadow: var(--shadow);
    animation: floaty 5s ease-in-out infinite;
    z-index: 3;
}

.float-card strong {
    display: block;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.3;
}

.float-card small {
    font-size: 12px;
    line-height: 1.3;
    display: block;
}

.fc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--c);
    flex-shrink: 0;
}

.fc-1 { top: 6%; left: -2%; }
.fc-2 { bottom: 10%; right: -2%; animation-delay: -1.6s; }
.fc-3 { bottom: 0; left: 8%; animation-delay: -3.2s; }

@keyframes floaty {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
}

.hero > .container {
    z-index: 2;
}

.hero-scribble {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 70px;
    width: 100%;
    height: 170px;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.hero-scribble path {
    fill: none;
    stroke: url(#rainbow);
    stroke-width: 17;
    stroke-linecap: round;
    opacity: .9;
}

@media (max-width: 767px) {
    .hero-scribble {
        height: 110px;
        bottom: 64px;
    }
}

.scroll-cue {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    z-index: 2;
    font-size: 12px;
}

.scroll-cue .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--purple);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-cue .wheel {
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--pink);
    animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

@media (max-width: 991px) {
    .hero {
        padding: 20px 0 150px;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns,
    .hero-pillars {
        justify-content: center;
    }

    .hero-visual {
        max-width: 440px;
    }

    .scroll-cue small {
        display: none;
    }
}

@media (max-width: 575px) {
    .float-card {
        padding: 8px 12px 8px 8px;
        border-radius: 14px;
    }

    .float-card small {
        display: none;
    }

    .fc-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 10px;
    }

    .fc-2 { right: -2%; }
    .brand img { height: 48px; }
}

/* ---------- Marquee ---------- */
.marquee {
    position: relative;
    z-index: 3;
    background: var(--rainbow);
    padding: 18px 0;
    overflow: hidden;
    transform: rotate(-2deg);
    margin: -30px -20px 0;
    box-shadow: 0 20px 40px -24px rgba(107, 63, 160, .6);
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    flex-shrink: 0;
}

.marquee span {
    color: #fff;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -.01em;
}

.marquee i {
    color: #fff;
    font-size: 18px;
    opacity: .85;
}

/* ---------- About ---------- */
.about-collage {
    position: relative;
    padding: 0 12% 18% 0;
}

.ac-main,
.ac-small {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.ac-main {
    aspect-ratio: 5 / 4;
    box-shadow: var(--shadow);
}

.ac-main img,
.ac-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ac-small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    aspect-ratio: 4 / 3;
    border: 8px solid var(--cream);
    box-shadow: var(--shadow);
}

.ac-badge {
    position: absolute;
    left: -10px;
    bottom: 6%;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
}

.ac-badge-text {
    position: absolute;
    inset: 5px;
    width: calc(100% - 10px);
    animation: spin 18s linear infinite;
}

.ac-badge-text text {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    fill: var(--purple-deep);
}

.ac-badge-mark {
    width: 56px;
}

.stat {
    padding: 18px 14px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-bottom: 4px solid var(--c);
    height: 100%;
}

.stat-num {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--c);
    line-height: 1.1;
}

.stat small {
    font-size: 13px;
    line-height: 1.4;
    display: block;
    margin-top: 4px;
}

/* ---------- Programs ---------- */
.programs {
    background: linear-gradient(180deg, var(--cream), var(--purple-soft));
    padding: 110px 0;
    overflow: hidden;
}

.programs-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
}

.programs-head .section-head {
    margin-bottom: 0;
}

.programs-progress {
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--ink);
    flex-shrink: 0;
}

.pp-bar {
    width: 160px;
    height: 6px;
    border-radius: 6px;
    background: rgba(147, 115, 168, .2);
    overflow: hidden;
}

.pp-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--rainbow);
    transform-origin: left;
    transform: scaleX(.25);
}

.programs-track-wrap {
    padding-left: max(12px, calc((100vw - 1320px) / 2 + 12px));
}

.programs-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 10px 40px 30px 0;
}

.program-card {
    width: 360px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: translate .5s var(--ease), box-shadow .5s var(--ease);
    flex-shrink: 0;
}

.program-card:hover {
    translate: 0 -10px;
    box-shadow: var(--shadow);
}

.pc-img {
    height: 230px;
    overflow: hidden;
    position: relative;
}

.pc-img::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, .25));
}

.pc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.program-card:hover .pc-img img {
    transform: scale(1.08);
}

.pc-body {
    position: relative;
    padding: 30px 30px 32px;
}

.pc-num {
    position: absolute;
    top: 20px;
    right: 26px;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    color: var(--c-soft);
}

.pc-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    color: var(--c);
    font-size: 44px;
}

.pc-icon.icon-mask {
    display: block;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.program-card p {
    margin-bottom: 18px;
}

.pc-link {
    font-weight: 600;
    color: var(--c, var(--purple-deep));
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pc-link i {
    transition: transform .3s var(--ease);
}

.pc-link:hover {
    color: var(--ink);
}

.pc-link:hover i {
    transform: translateX(5px);
}

.program-cta {
    background: var(--purple-deep);
    background-image: radial-gradient(circle at 80% 10%, rgba(240, 138, 176, .6), transparent 50%), radial-gradient(circle at 10% 90%, rgba(123, 184, 174, .5), transparent 50%);
    color: rgba(255, 255, 255, .85);
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.program-cta h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.program-cta p {
    margin-bottom: 26px;
}

@media (min-width: 992px) {
    .programs {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding: 70px 0 40px;
    }

    .programs-pin {
        width: 100%;
    }

    .programs-head {
        margin-bottom: 30px;
    }
}

@media (min-width: 992px) and (max-height: 820px) {
    .pc-img {
        height: 170px;
    }

    .pc-body {
        padding: 22px 26px 24px;
    }

    .programs .section-head p {
        display: none;
    }
}

@media (max-width: 991px) {
    .programs {
        padding: 80px 0;
    }

    .programs-track-wrap {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .programs-track-wrap::-webkit-scrollbar {
        display: none;
    }

    .program-card {
        width: min(320px, 82vw);
        scroll-snap-align: start;
    }
}

/* ---------- The Anan Way ---------- */
.anan-way {
    position: relative;
    overflow: hidden;
}

.way-stage {
    position: relative;
    height: 600px;
}

.way-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.way-path path {
    fill: none;
    stroke-linecap: round;
}

.way-path-bg {
    stroke: var(--line);
    stroke-width: 6;
    stroke-dasharray: 2 14;
}

.way-path-draw {
    stroke: url(#rainbow);
    stroke-width: 10;
}

.way-step {
    position: absolute;
    width: 250px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.way-step:nth-child(1) { left: 12.5%; top: 66.66%; margin-top: -36px; }
.way-step:nth-child(2) { left: 37.5%; bottom: 66.66%; margin-bottom: -36px; flex-direction: column-reverse; }
.way-step:nth-child(3) { left: 62.5%; top: 66.66%; margin-top: -36px; }
.way-step:nth-child(4) { left: 87.5%; bottom: 66.66%; margin-bottom: -36px; flex-direction: column-reverse; }

.way-dot {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--c);
    font-size: 26px;
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 22%, transparent), var(--shadow-sm);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.way-text {
    margin-top: 18px;
}

.way-step:nth-child(even) .way-text {
    margin: 0 0 18px;
}

.way-step h3 {
    font-size: 1.6rem;
    margin: 0 0 6px;
    color: var(--c);
}

.way-step p {
    font-size: 15px;
    margin: 0;
}

@media (max-width: 991px) {
    .way-stage {
        height: auto;
        padding-left: 36px;
    }

    .way-stage::before {
        content: "";
        position: absolute;
        left: 35px;
        top: 20px;
        bottom: 20px;
        width: 4px;
        border-radius: 4px;
        background: var(--rainbow);
        background: linear-gradient(180deg, var(--purple), var(--pink), var(--orange), var(--teal));
    }

    .way-path {
        display: none;
    }

    .way-step,
    .way-step:nth-child(n) {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        margin: 0 0 40px;
        width: auto;
        transform: none;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }

    .way-step:last-child {
        margin-bottom: 0;
    }

    .way-dot {
        margin-left: -36px;
        width: 64px;
        height: 64px;
        font-size: 22px;
    }

    .way-text,
    .way-step:nth-child(even) .way-text {
        margin: 6px 0 0;
    }
}

/* ---------- Why ---------- */
.why {
    background: #fff;
    border-radius: 60px 60px 0 0;
    position: relative;
}

.why-card {
    position: relative;
    height: 100%;
    padding: 38px 32px;
    border-radius: var(--radius);
    background: var(--cream);
    border: 1px solid var(--line);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color .4s, box-shadow .4s var(--ease);
    will-change: transform;
}

.why-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--c);
    opacity: .12;
    top: -60px;
    right: -60px;
    transition: transform .7s var(--ease), opacity .5s;
}

.why-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
}

.why-card:hover::before {
    transform: scale(5.5);
    opacity: .1;
}

.why-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    transition: transform .5s var(--ease);
}

.why-card:hover .why-icon {
    transform: rotate(-8deg) scale(1.1);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    position: relative;
}

.why-card p {
    margin: 0;
    position: relative;
}

/* ---------- Spaces ---------- */
.spaces {
    background: #fff;
}

.space-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: -20px 0 40px;
}

.space-filters button {
    border: 0;
    padding: 10px 22px;
    border-radius: 40px;
    background: var(--purple-soft);
    color: var(--purple-deep);
    font-weight: 600;
    font-size: 15px;
    transition: .3s var(--ease);
}

.space-filters button:hover {
    background: var(--pink-soft);
}

.space-filters button.active {
    background: var(--purple-deep);
    color: #fff;
    box-shadow: 0 10px 20px -10px rgba(107, 63, 160, .7);
}

.space-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
    gap: 18px;
}

.space-item {
    position: relative;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    cursor: zoom-in;
    background: var(--purple-soft);
}

.space-item.tall { grid-row: span 2; }
.space-item.wide { grid-column: span 2; }
.space-item.is-hidden { display: none; }

.space-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.space-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(47, 26, 70, .7));
    opacity: .8;
    transition: opacity .4s;
}

.space-item figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transform: translateY(6px);
    transition: transform .4s var(--ease);
}

.space-item figcaption::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
    font-weight: 900;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--purple-deep);
    display: grid;
    place-items: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(.5);
    transition: .4s var(--ease);
    flex-shrink: 0;
}

.space-item:hover img {
    transform: scale(1.08);
}

.space-item:hover figcaption {
    transform: translateY(0);
}

.space-item:hover figcaption::after {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 991px) {
    .space-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 12px;
    }
}

@media (max-width: 575px) {
    .space-grid {
        grid-auto-rows: 140px;
    }

    .space-item figcaption {
        font-size: 13px;
        left: 12px;
        bottom: 10px;
    }
}

/* ---------- Statement ---------- */
.statement {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(50% 50% at 20% 20%, rgba(240, 138, 176, .35), transparent 70%),
        radial-gradient(50% 50% at 80% 80%, rgba(123, 184, 174, .3), transparent 70%),
        linear-gradient(135deg, #3a1a5e, #5b2d8c);
    color: #fff;
    padding: 100px 16px;
}

.statement-inner {
    position: relative;
    z-index: 2;
}

.statement-small {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    margin: 0;
    color: rgba(255, 255, 255, .85);
}

.statement-big {
    font-size: clamp(3.4rem, 10vw, 8rem);
    line-height: 1.35;
    color: #fff;
}

.statement-huge {
    font-size: clamp(2.4rem, 8.5vw, 7.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
    margin-top: 8px;
}

.statement-chips span {
    position: absolute;
    padding: 10px 22px;
    border-radius: 40px;
    background: var(--c);
    color: #fff;
    font-weight: 600;
    font-size: clamp(13px, 1.3vw, 17px);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
    z-index: 1;
    white-space: nowrap;
}

.statement-chips span:nth-child(1) { top: 14%; left: 10%; rotate: -8deg; }
.statement-chips span:nth-child(2) { top: 20%; right: 12%; rotate: 6deg; }
.statement-chips span:nth-child(3) { top: 50%; left: 4%; rotate: 4deg; }
.statement-chips span:nth-child(4) { bottom: 16%; right: 8%; rotate: -5deg; color: var(--purple-ink); }
.statement-chips span:nth-child(5) { bottom: 12%; left: 14%; rotate: -3deg; }
.statement-chips span:nth-child(6) { top: 52%; right: 3%; rotate: 8deg; }

@media (max-width: 767px) {
    .statement-chips span:nth-child(3),
    .statement-chips span:nth-child(6) {
        display: none;
    }
    .statement-chips span:nth-child(1) { top: 8%; left: 6%; }
    .statement-chips span:nth-child(2) { top: 12%; right: 4%; }
    .statement-chips span:nth-child(4) { bottom: 8%; right: 6%; }
    .statement-chips span:nth-child(5) { bottom: 12%; left: 4%; }
}

/* ---------- News ---------- */
.news-nav {
    display: flex;
    gap: 10px;
}

.news-nav button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #fff;
    color: var(--purple-deep);
    transition: .3s var(--ease);
}

.news-nav button:hover {
    background: var(--purple-deep);
    border-color: var(--purple-deep);
    color: #fff;
}

.news-swiper {
    overflow: visible;
}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: auto;
    transition: transform .5s var(--ease), box-shadow .5s;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.nc-img {
    display: block;
    aspect-ratio: 300 / 172;
    overflow: hidden;
}

.nc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.news-card:hover .nc-img img {
    transform: scale(1.08);
}

.nc-body {
    padding: 24px 26px 28px;
}

.nc-date {
    font-size: 13px;
    color: var(--purple);
    font-weight: 500;
}

.nc-date i {
    margin-right: 6px;
}

.news-card h3 {
    font-size: 1.15rem;
    margin: 10px 0 16px;
    line-height: 1.4;
}

.news-card h3 a:hover {
    color: var(--purple-deep);
}

.news {
    overflow: hidden;
}

/* ---------- Contact ---------- */
.contact-card {
    border-radius: 36px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-info {
    position: relative;
    height: 100%;
    padding: 56px 46px;
    color: rgba(255, 255, 255, .88);
    background:
        radial-gradient(70% 50% at 100% 0%, rgba(240, 138, 176, .55), transparent 70%),
        radial-gradient(70% 50% at 0% 100%, rgba(123, 184, 174, .5), transparent 70%),
        var(--purple-deep);
    overflow: hidden;
}

.contact-info h2 {
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    margin-bottom: 12px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: grid;
    gap: 22px;
}

.contact-info li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    line-height: 1.5;
}

.contact-info li > span {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .16);
    display: grid;
    place-items: center;
    color: var(--yellow);
    flex-shrink: 0;
}

.contact-info small {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .7;
}

.contact-info a {
    color: #fff;
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--yellow);
}

.ci-star {
    position: absolute;
    width: 140px;
    right: -30px;
    bottom: -30px;
    fill: rgba(255, 255, 255, .1);
    animation: spin 20s linear infinite;
}

.enquiry-form {
    padding: 56px 50px;
}

.enquiry-form h3 {
    font-size: 1.7rem;
    margin-bottom: 26px;
}

.field {
    position: relative;
    display: block;
}

.field input,
.field textarea {
    width: 100%;
    border: 2px solid var(--line);
    background: var(--cream);
    border-radius: 16px;
    padding: 22px 18px 8px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color .3s, background .3s;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--purple);
    background: #fff;
}

.field span {
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 15px;
    color: var(--muted);
    pointer-events: none;
    transition: .25s var(--ease);
}

.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span,
.field input[type="date"] + span {
    top: 5px;
    font-size: 11.5px;
    color: var(--purple-deep);
    font-weight: 600;
}

.field.invalid input {
    border-color: #e5677e;
}

.field-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin: 4px 0 10px;
}

.chip-select {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-select input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip-select span {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 40px;
    border: 2px solid var(--line);
    font-weight: 500;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
    transition: .3s var(--ease);
}

.chip-select span:hover {
    border-color: var(--pink);
}

.chip-select input:checked + span {
    background: var(--purple-deep);
    border-color: var(--purple-deep);
    color: #fff;
}

.chip-select input:focus-visible + span {
    outline: 3px solid var(--pink);
    outline-offset: 2px;
}

.form-msg {
    margin: 14px 0 0;
    font-weight: 500;
    min-height: 1.5em;
}

.form-msg.ok { color: #2f8f7f; }
.form-msg.err { color: #d0475f; }

@media (max-width: 575px) {
    .contact-info,
    .enquiry-form {
        padding: 40px 24px;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    background: var(--purple-soft);
    padding: 70px 0 0;
    margin-top: 60px;
}

.footer-wave {
    position: absolute;
    left: 0;
    top: -79px;
    width: 100%;
    height: 80px;
    fill: var(--purple-soft);
}

.footer-brand img {
    height: 72px;
    width: auto;
    margin-bottom: 16px;
}

.site-footer h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 10px;
}

.site-footer ul a:hover {
    color: var(--purple-deep);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.footer-contact i {
    color: var(--pink);
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--purple-deep);
    display: grid;
    place-items: center;
    transition: .35s var(--ease);
}

.footer-social a:hover {
    background: var(--purple-deep);
    color: #fff;
    transform: translateY(-4px);
}

.footer-bottom {
    margin-top: 50px;
    padding: 22px 0;
    border-top: 1px solid rgba(147, 115, 168, .25);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.footer-credit {
    margin-left: 10px;
    padding-left: 12px;
    border-left: 1px solid rgba(147, 115, 168, .35);
}

.footer-credit a {
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--purple-deep);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
    transition: background-size .4s var(--ease), color .3s;
}

.footer-credit a:hover {
    color: var(--pink);
    background-size: 100% 2px;
}

@media (max-width: 575px) {
    .footer-credit {
        display: block;
        margin: 6px 0 0;
        padding: 0;
        border: 0;
    }
}

.footer-tag {
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--purple-deep);
}

.footer-tag span {
    color: var(--pink);
    margin: 0 4px;
}

/* ---------- Floating buttons ---------- */
.whatsapp-btn,
.to-top {
    position: fixed;
    right: 22px;
    z-index: 990;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
}

.whatsapp-btn {
    bottom: 22px;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    animation: pulse 2.4s infinite;
}

.whatsapp-btn:hover {
    color: #fff;
    transform: scale(1.08);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.to-top {
    bottom: 88px;
    border: 0;
    background: #fff;
    color: var(--purple-deep);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: .4s var(--ease);
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top svg {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.to-top circle {
    fill: none;
    stroke: var(--pink);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 132;
    stroke-dashoffset: 132;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1005;
    background: rgba(30, 14, 48, .92);
    display: grid;
    place-items: center;
    padding: 60px 70px;
    opacity: 0;
    visibility: hidden;
    transition: .4s var(--ease);
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox figure {
    margin: 0;
    text-align: center;
    transform: scale(.92);
    transition: transform .5s var(--ease);
}

.lightbox.open figure {
    transform: scale(1);
}

.lightbox img {
    max-width: min(1100px, 100%);
    max-height: 76vh;
    border-radius: 20px;
    margin: 0 auto;
}

.lightbox figcaption {
    color: #fff;
    font-weight: 600;
    margin-top: 16px;
    font-size: 18px;
}

.lightbox button {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 18px;
    transition: background .3s;
}

.lightbox button:hover {
    background: var(--pink);
}

.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }

@media (max-width: 575px) {
    .lightbox { padding: 70px 12px; }
    .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
    .lb-prev { left: calc(50% - 60px); }
    .lb-next { right: calc(50% - 60px); }
}

/* ---------- Synora 360° name origin (Synergy + Aura) ---------- */
.name-origin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 12px;
    padding: 7px 18px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
}

.name-origin b {
    font-size: 16px;
    color: var(--pink);
}

/* ---------- Focus & motion ---------- */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
