/* ==========================================================================
   The MADDS Way — About page.

   Same visual language as the home page, so the two read as one site:
     • deep purple → navy colour fields   (#511396 → #080A2B, as in the footer / Solutions)
     • purple → blue brand gradient        (the Contact Us pill, testimonials, Managed IT)
     • frosted-glass cards, soft rounded corners, soft purple shadows
     • pill buttons, circular icon buttons
     • magenta / orange / violet / cyan used as accents only
   Same Afacad font and the same --site-width as the rest of the site.

   Everything is namespaced `.mw` / `.mw-*`, so nothing here can touch other pages.
   Sections:  1 hero · 2 belief · 3 route · 4 principles · 5 impact · 6 people · 7 closing CTA

   ---------------------------------------------------------------------------
   BACKGROUND IMAGES — which sections can take one, which stay solid
   ---------------------------------------------------------------------------
   IMAGE SLOTS (photo / illustration sits under a purple shade so text stays readable):
     .mw-hero    hero            --mw-img   (shade 0.78)
     .mw-way     route           --mw-img   (shade 0.88, text-heavy, so a stronger shade)
     .mw-people  people          --mw-img   (shade 0.88)
     .mw-end     closing CTA     --mw-img   (shade 0.82)
   SOLID / GRADIENT ONLY (no image, so the text and the coloured cards stay clean):
     .mw-belief, .mw-principles, .mw-impact, .mw-marquee
   How to set an image: see the commented block at the top of templates/maddsway.html.
   `--mw-shade` (0 to 1) is how strongly the purple shade covers the image: higher = darker.
   ========================================================================== */

.mw {
    /* brand */
    --mag: #B51BB5;
    --org: #F0A400;
    --vio: #AC20BC;
    --cyan: #43D2E0;
    --blue: #3C6CFF;
    --purple: #511396;
    --deep: #080A2B;
    --ink: #2b0b4f;                                   /* text on light sections (same as the navbar icon) */
    --muted: #5d4a7e;
    --grad: linear-gradient(90deg, rgba(185, 0, 255, .85), rgba(0, 88, 255, .85));   /* Contact Us pill */
    --brand-flow: linear-gradient(90deg, #B51BB5 0%, #F0A400 25%, #AC20BC 50%, #43D2E0 75%, #B51BB5 100%);
    --glass-dark: rgba(255, 255, 255, .07);
    --glass-dark-line: rgba(255, 255, 255, .16);
    --glass-light: rgba(255, 255, 255, .72);
    --glass-light-line: rgba(81, 19, 150, .13);
    --shadow-soft: 0 18px 44px rgba(81, 19, 150, .14);
    --ease: cubic-bezier(.2, .8, .2, 1);

    /* image slots: `none` = solid colour only (see the note above) */
    --mw-img: none;
    --mw-shade: .8;

    font-family: "Afacad", sans-serif;
    color: var(--ink);
    overflow-x: clip;
}

.mw *,
.mw *::before,
.mw *::after { box-sizing: border-box; }

/* :where() keeps these resets at zero specificity so the component rules below always win */
.mw :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
.mw :where(ul, ol) { list-style: none; }
.mw :where(a) { color: inherit; }

.mw-wrap {
    width: var(--site-width, 88%);
    max-width: 1500px;
    margin: 0 auto;
}

/* ---- shared bits ---------------------------------------------------------- */
.mw-label {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--purple);
}
.mw-label i {
    font-style: normal;
    padding: .2rem .65rem;
    letter-spacing: .08em;
    color: #fff;
    background: var(--grad);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(120, 20, 220, .28);
}
.mw-label--light { color: rgba(255, 255, 255, .92); }

.mw-head { margin-bottom: clamp(2rem, 4vw, 3.4rem); }
.mw-head h2 {
    margin-top: 1rem;
    font-size: clamp(2.2rem, 4.6vw, 4.2rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.03em;
    color: var(--ink);
}
.mw-head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 3rem;
}
.mw-head--split > p {
    max-width: 24rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--muted);
}
.mw-head--light h2 { color: #fff; }

/* reveal on scroll (only hidden when JS is running, so the page works without it) */
.mw-js .mw-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s ease var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
}
.mw-js .mw-reveal.is-in { opacity: 1; transform: none; }

@keyframes mw-rise { to { transform: translateY(0); } }
@keyframes mw-spin { to { transform: rotate(360deg); } }
@keyframes mw-swing {
    from { transform: rotate(-38deg); }
    to   { transform: rotate(62deg); }
}
@keyframes mw-marq { to { transform: translateX(-50%); } }
@keyframes mw-swap {
    from { opacity: 0; transform: translateY(.12em); }
    to   { opacity: 1; transform: none; }
}
/* same endless one-way colour flow the home page uses (exactly one tile -> seamless loop) */
@keyframes mw-flow {
    from { background-position: 0% 50%; }
    to   { background-position: 200% 50%; }
}

/* ==========================================================================
   1  HERO   — IMAGE SLOT
   ========================================================================== */
.mw-hero {
    --mw-shade: .78;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: min(100svh, 920px);
    padding: calc(var(--hdr-full, 108px) + 2rem) 0 0;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 38%, rgba(181, 27, 181, .40), transparent 46%),
        radial-gradient(circle at 6% 92%, rgba(67, 210, 224, .20), transparent 40%),
        radial-gradient(circle at 60% 4%, rgba(240, 164, 0, .12), transparent 34%),
        linear-gradient(165deg, rgba(81, 19, 150, var(--mw-shade)) 0%, rgba(8, 10, 43, calc(var(--mw-shade) + .12)) 100%),
        var(--mw-img) center / cover no-repeat,
        linear-gradient(165deg, #511396 0%, #080A2B 100%);
}

.mw-hero__grid {
    flex: 1 1 auto;
    width: var(--site-width, 88%);
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
    align-items: center;
    gap: 2rem 3rem;
}

.mw-crumb {
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}
.mw-crumb a { color: rgba(255, 255, 255, .6); transition: color .25s; }
.mw-crumb a:hover { color: #fff; }
.mw-crumb i { font-style: normal; margin: 0 .7rem; color: var(--cyan); }
.mw-crumb span { color: #fff; }

.mw-hero__title {
    margin: 1.6rem 0 1.6rem;
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.045em;
}
.mw-line {
    display: block;
    overflow: hidden;
    padding: .04em 0 .1em;
}
.mw-line > span {
    display: inline-block;
    transform: translateY(108%);
    animation: mw-rise 1.1s var(--ease) .15s forwards;
}
.mw-line:first-child { font-size: clamp(2.6rem, 6.6vw, 6.2rem); }
/* "Way." — filled with the flowing brand colours instead of an outline */
.mw-line--out {
    padding-bottom: .26em;               /* room for the "y" descender inside the reveal mask */
    margin-bottom: -.16em;
    font-size: clamp(5.2rem, 17vw, 15rem);
    line-height: .86;
}
.mw-line--out > span {
    animation: mw-rise 1.1s var(--ease) .35s forwards, mw-flow 16s linear infinite;
    background: var(--brand-flow);
    background-size: 200% 100%;
    background-repeat: repeat-x;
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-right: .06em;
}
.mw-line--out b { -webkit-text-fill-color: #fff; color: #fff; }

.mw-hero__lead {
    max-width: 34rem;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, .82);
}

.mw-link {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin-top: 2rem;
    padding: .8rem 1.4rem;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    background: var(--grad);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(120, 20, 220, .32);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mw-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.mw-link:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(120, 20, 220, .45); }
.mw-link:hover svg { transform: translateY(4px); }

/* compass dial — pure CSS, now a glowing glass instrument */
.mw-dial {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1;
    justify-self: center;
}
.mw-dial::before {
    content: "";
    position: absolute;
    inset: -3%;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
}
.mw-dial::after {                                   /* soft glow behind the dial */
    content: "";
    position: absolute;
    inset: -12%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 27, 181, .38), transparent 66%);
    filter: blur(12px);
}
.mw-dial__ring { position: absolute; border-radius: 50%; }
.mw-dial__ring--ticks {
    inset: 0;
    background:
        repeating-conic-gradient(rgba(255, 255, 255, .9) 0 1deg, transparent 1deg 30deg),
        repeating-conic-gradient(rgba(255, 255, 255, .45) 0 .6deg, transparent .6deg 6deg);
    -webkit-mask: radial-gradient(closest-side, transparent 87.5%, #000 88%);
            mask: radial-gradient(closest-side, transparent 87.5%, #000 88%);
    animation: mw-spin 70s linear infinite;
}
.mw-dial__ring--brand {
    inset: 13%;
    background: conic-gradient(var(--mag) 0 25%, var(--org) 0 50%, var(--cyan) 0 75%, var(--blue) 0);
    -webkit-mask: radial-gradient(closest-side, transparent 93%, #000 93.5%);
            mask: radial-gradient(closest-side, transparent 93%, #000 93.5%);
    animation: mw-spin 44s linear infinite reverse;
}
.mw-dial__ring--line {
    inset: 30%;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .05);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}
.mw-dial__needle {
    position: absolute;
    inset: 0;
    animation: mw-swing 8s ease-in-out infinite alternate;
}
.mw-dial__needle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 16%;
    width: 16px;
    height: 34%;
    margin-left: -8px;
    background: linear-gradient(to bottom, var(--org) 0 60%, rgba(240, 164, 0, 0));
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.mw-dial__n, .mw-dial__e, .mw-dial__s, .mw-dial__w {
    position: absolute;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .72);
}
.mw-dial__n { top: 21%; left: 50%; transform: translateX(-50%); color: var(--org); }
.mw-dial__s { bottom: 21%; left: 50%; transform: translateX(-50%); }
.mw-dial__e { right: 21%; top: 50%; transform: translateY(-50%); }
.mw-dial__w { left: 21%; top: 50%; transform: translateY(-50%); }
.mw-dial__core {
    position: absolute;
    top: 50%; left: 50%;
    width: 24%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 10px 30px rgba(120, 20, 220, .5);
}
.mw-dial__core b { font-size: clamp(1.4rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; }

/* facts strip: one glass bar */
.mw-hero__facts {
    width: var(--site-width, 88%);
    max-width: 1500px;
    margin: 2rem auto clamp(1.4rem, 3.4vw, 2.6rem);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--glass-dark);
    border: 1px solid var(--glass-dark-line);
    border-radius: 24px;
    -webkit-backdrop-filter: blur(16px) saturate(160%);
            backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 18px 44px rgba(8, 10, 43, .35);
}
.mw-hero__facts li { padding: 1.3rem 1.8rem 1.4rem; }
.mw-hero__facts li + li { border-left: 1px solid var(--glass-dark-line); }
.mw-hero__facts strong { display: block; font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; }
.mw-hero__facts span { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }

/* ==========================================================================
   2  BELIEF   — solid / gradient only (big text needs maximum contrast)
   ========================================================================== */
.mw-belief {
    padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
    /* same recipe as "Our compliance" on the home page */
    background:
        radial-gradient(circle at 8% 12%, rgba(181, 27, 181, .14), transparent 38%),
        radial-gradient(circle at 92% 18%, rgba(67, 210, 224, .20), transparent 36%),
        radial-gradient(circle at 82% 96%, rgba(240, 164, 0, .13), transparent 34%),
        linear-gradient(180deg, #fbf8ff 0%, #f1eafc 100%);
}
.mw-belief__text {
    max-width: 1220px;
    margin: 2rem 0 clamp(3rem, 6vw, 5rem);
    font-size: clamp(1.9rem, 4.5vw, 4.3rem);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -.028em;
    color: var(--ink);
}
.mw-w { transition: color .35s ease; }
.mw-js .mw-w { color: rgba(43, 11, 79, .17); }
.mw-js .mw-w.is-lit { color: var(--ink); }
.mw-mark {
    background: linear-gradient(var(--m), var(--m)) 0 94% / 100% .16em no-repeat;
}
.mw-belief__trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.mw-belief__trio > div {
    padding: 1.7rem 1.8rem 1.9rem;
    background: var(--glass-light);
    border: 1px solid var(--glass-light-line);
    border-radius: 24px;
    -webkit-backdrop-filter: blur(14px) saturate(160%);
            backdrop-filter: blur(14px) saturate(160%);
    box-shadow: var(--shadow-soft);
}
.mw-belief__trio h3 {
    margin-bottom: .7rem;
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--vio);
}
.mw-belief__trio p { font-size: 1.08rem; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   3  THE ROUTE  (sticky aside + five stages)   — IMAGE SLOT
   ========================================================================== */
.mw-way {
    --c: #B51BB5;
    --mw-shade: .88;
    color: #fff;
    background:
        radial-gradient(circle at 90% 8%, rgba(181, 27, 181, .30), transparent 40%),
        radial-gradient(circle at 4% 96%, rgba(67, 210, 224, .16), transparent 40%),
        linear-gradient(180deg, rgba(81, 19, 150, var(--mw-shade)) 0%, rgba(8, 10, 43, calc(var(--mw-shade) + .08)) 100%),
        var(--mw-img) center / cover no-repeat,
        linear-gradient(180deg, #511396 0%, #080A2B 100%);
}
.mw-way__inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 6rem);
    padding: clamp(4rem, 9vw, 7rem) 0;
}
.mw-way__aside {
    position: sticky;
    top: calc(var(--hdr-compact, 64px) + 2rem);
    align-self: start;
}
.mw-way__aside h2 {
    margin: 1rem 0 1.2rem;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.03em;
}
.mw-way__num {
    font-size: clamp(6rem, min(17vw, 25vh), 15rem);
    font-weight: 700;
    line-height: .86;
    letter-spacing: -.06em;
}
/* the big numeral is filled with the active stop's colour, fading to glass */
.mw-way__num span {
    display: block;
    background: linear-gradient(180deg, var(--c) 0%, rgba(255, 255, 255, .14) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 12px 38px color-mix(in srgb, var(--c) 45%, transparent));
}
.mw-way__num span.is-swap { animation: mw-swap .45s var(--ease); }

.mw-way__rail {
    position: relative;
    margin-top: 1.6rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, .22);
}
.mw-way__rail button {
    position: relative;
    display: block;
    padding: .38rem 0;
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    background: none;
    border: 0;
    cursor: pointer;
    transition: color .3s;
}
.mw-way__rail button::before {
    content: "";
    position: absolute;
    left: calc(-1.5rem - 5px);
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    background: var(--deep);
    border: 1.5px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    transition: background .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.mw-way__rail li.is-done button { color: rgba(255, 255, 255, .78); }
.mw-way__rail li.is-done button::before { background: var(--c); border-color: var(--c); }
.mw-way__rail li.is-on button { color: #fff; }
.mw-way__rail li.is-on button::before {
    background: var(--c);
    border-color: var(--c);
    transform: scale(1.5);
    box-shadow: 0 0 14px var(--c);
}
.mw-way__rail button:hover { color: #fff; }

/* stages are frosted glass cards; the gap between them is what the scroll travels through */
.mw-way__stages {
    display: flex;
    flex-direction: column;
    gap: clamp(5rem, 26vh, 12rem);
    padding: 4vh 0 10vh;
}
.mw-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.7rem, 3vw, 2.7rem);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 28px;
    -webkit-backdrop-filter: blur(16px) saturate(160%);
            backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 22px 50px rgba(8, 10, 43, .35);
    opacity: .4;
    transform: scale(.975);
    transition: opacity .5s ease, transform .5s var(--ease), border-color .5s ease;
}
.mw-stage::before {                                 /* accent tab in the stop's colour */
    content: "";
    position: absolute;
    top: -1px;
    left: clamp(1.7rem, 3vw, 2.7rem);
    width: 64px;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: var(--c);
    box-shadow: 0 0 18px var(--c);
}
.mw-stage.is-on { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--c) 55%, rgba(255, 255, 255, .16)); }
.mw-stage__k {
    margin-top: .3rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--c) 70%, #fff);
}
.mw-stage h3 {
    margin: .5rem 0 1.1rem;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
}
.mw-stage p {
    max-width: 34rem;
    font-size: 1.12rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .84);
}
.mw-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.mw-tags li {
    padding: .4rem .95rem;
    font-size: .85rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
}

/* ==========================================================================
   4  PRINCIPLES (bento of rounded gradient / glass tiles)  — solid / gradient only
   ========================================================================== */
.mw-principles {
    padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem);
    background:
        radial-gradient(circle at 92% 6%, rgba(181, 27, 181, .12), transparent 36%),
        radial-gradient(circle at 4% 70%, rgba(67, 210, 224, .16), transparent 38%),
        radial-gradient(circle at 70% 100%, rgba(240, 164, 0, .12), transparent 34%),
        linear-gradient(180deg, #f1eafc 0%, #fbf8ff 100%);
}
.mw-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.4rem;
}
.mw-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.7rem 1.8rem 1.8rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mw-tile::before {                                  /* soft highlight in the top-left corner */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .26), transparent 55%);
    pointer-events: none;
}
.mw-tile::after {
    content: "\2197";
    position: absolute;
    top: 1.2rem;
    right: 1.3rem;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    line-height: 1;
    border-radius: 50%;
    background: color-mix(in srgb, currentColor 16%, transparent);
    transition: transform .3s var(--ease), background .3s;
}
.mw-tile:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(81, 19, 150, .26); }
.mw-js .mw-tile.is-in { transition: transform .3s var(--ease), box-shadow .3s var(--ease); transition-delay: 0s; }
.mw-js .mw-tile.is-in:hover { transform: translateY(-6px); }
.mw-tile:hover::after { transform: rotate(45deg); }

.mw-tile__n {
    position: relative;
    align-self: flex-start;
    padding: .2rem .75rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    border: 1px solid currentColor;
    border-radius: 999px;
}
.mw-tile h3 {
    position: relative;
    margin-top: auto;
    padding-top: 1.6rem;
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.025em;
}
.mw-tile p { position: relative; margin-top: .6rem; max-width: 30rem; font-size: 1rem; line-height: 1.55; }
.mw-tile em {
    position: relative;
    margin-top: 1.4rem;
    font-style: normal;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* tile colours live here now (they used to be inline in the HTML) */
.mw-tile--a { grid-column: 1 / 6;  grid-row: 1 / 3; background: var(--grad), var(--purple); }
.mw-tile--b { grid-column: 6 / 10; background: linear-gradient(160deg, #511396 0%, #080A2B 100%); }
.mw-tile--c { grid-column: 10 / 13; color: var(--ink); background: linear-gradient(135deg, #FFC93D 0%, #F0A400 100%); border-color: rgba(255, 255, 255, .5); }
.mw-tile--d { grid-column: 6 / 9;  color: var(--ink); background: linear-gradient(135deg, #7BE6F0 0%, #43D2E0 100%); border-color: rgba(255, 255, 255, .5); }
.mw-tile--e { grid-column: 9 / 13; color: var(--ink); background: var(--glass-light); border-color: var(--glass-light-line);
              -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.mw-tile--e::before { background: radial-gradient(circle at 0% 0%, rgba(181, 27, 181, .10), transparent 55%); }
.mw-tile--f { grid-column: 1 / 13; min-height: 230px; background: linear-gradient(90deg, #102CBA 0%, #8E4DFF 100%); }
.mw-tile--a h3 { font-size: clamp(2.1rem, 3.8vw, 3.6rem); }
.mw-tile--f p { max-width: 44rem; }

/* ==========================================================================
   5  IMPACT (glass number rows + flowing marquee)  — solid / gradient only
   ========================================================================== */
.mw-impact {
    padding-top: clamp(4.5rem, 9vw, 7rem);
    background:
        radial-gradient(circle at 6% 20%, rgba(181, 27, 181, .09), transparent 34%),
        radial-gradient(circle at 96% 60%, rgba(67, 210, 224, .14), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #f6f0ff 100%);
}
.mw-rows { display: grid; gap: 1.1rem; }
.mw-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, .7fr);
    align-items: center;
    gap: 1.2rem 2.5rem;
    padding: 1.5rem clamp(1.4rem, 2.6vw, 2.4rem);
    background: var(--glass-light);
    border: 1px solid var(--glass-light-line);
    border-radius: 28px;
    -webkit-backdrop-filter: blur(14px) saturate(160%);
            backdrop-filter: blur(14px) saturate(160%);
    box-shadow: var(--shadow-soft);
}
.mw-row__num {
    font-size: clamp(3.6rem, 8.5vw, 7.6rem);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.05em;
    background: linear-gradient(120deg, var(--purple) 0%, var(--k) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.mw-row__num sup {
    margin-left: .1em;
    font-size: .38em;
    letter-spacing: 0;
    vertical-align: top;
    -webkit-text-fill-color: var(--k);
    color: var(--k);
}
.mw-row__txt h3 { margin-bottom: .4rem; font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.mw-row__txt p { max-width: 30rem; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.mw-row__bar { position: relative; height: 10px; background: rgba(81, 19, 150, .1); border-radius: 999px; overflow: hidden; }
.mw-row__bar i {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--purple), var(--k));
    transition: width 1.4s var(--ease) .3s;
}
.mw-js .mw-row:not(.is-in) .mw-row__bar i { width: 0; }

/* values band: the same flowing purple -> blue as the testimonials, white type */
.mw-marquee {
    margin-top: clamp(3rem, 6vw, 5rem);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(90deg, rgba(185, 0, 255, .9) 0%, rgba(0, 88, 255, .9) 50%, rgba(185, 0, 255, .9) 100%);
    background-size: 200% 100%;
    background-repeat: repeat-x;
    animation: mw-flow 16s linear infinite;
}
.mw-marquee__track { display: flex; width: max-content; padding: .9rem 0; animation: mw-marq 32s linear infinite; }
.mw-marquee:hover .mw-marquee__track { animation-play-state: paused; }
.mw-marquee__track span {
    padding-right: 1.4rem;
    white-space: nowrap;
    font-size: clamp(1.5rem, 3.2vw, 2.7rem);
    font-weight: 600;
    letter-spacing: -.01em;
    text-transform: uppercase;
}
.mw-marquee__track b { margin: 0 1.2rem; font-weight: 400; color: #FFD36B; }

/* ==========================================================================
   6  PEOPLE (drag rail)   — IMAGE SLOT
   ========================================================================== */
.mw-people {
    --mw-shade: .88;
    padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(4.5rem, 9vw, 7rem);
    color: #fff;
    background:
        radial-gradient(circle at 8% 10%, rgba(181, 27, 181, .28), transparent 38%),
        radial-gradient(circle at 94% 90%, rgba(67, 210, 224, .16), transparent 38%),
        linear-gradient(180deg, rgba(81, 19, 150, var(--mw-shade)) 0%, rgba(8, 10, 43, calc(var(--mw-shade) + .08)) 100%),
        var(--mw-img) center / cover no-repeat,
        linear-gradient(180deg, #511396 0%, #080A2B 100%);
}
.mw-rail__ctl { display: flex; gap: .7rem; }
.mw-rail__ctl button {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    cursor: pointer;
    transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.mw-rail__ctl button svg { width: 22px; height: 22px; }
.mw-rail__ctl button:hover { background: #fff; color: var(--purple); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(8, 10, 43, .4); }

.mw-rail { margin-top: 1rem; }
.mw-rail__track {
    --pad: calc((100% - var(--site-width, 88%)) / 2);
    display: flex;
    gap: 1.5rem;
    padding: 12px var(--pad) 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
    cursor: grab;
}
.mw-rail__track::-webkit-scrollbar { display: none; }
.mw-rail__track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }

.mw-person { flex: 0 0 clamp(250px, 24vw, 330px); scroll-snap-align: start; }
.mw-person__art {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 28px;
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .38), transparent 52%),
        linear-gradient(150deg, var(--p) 0%, #080A2B 150%);
    box-shadow: 0 20px 44px rgba(8, 10, 43, .45);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mw-person__art b {
    font-size: clamp(6rem, 11vw, 10rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 10px 34px rgba(8, 10, 43, .45);
}
/* real photos: put <img src="..."> inside .mw-person__art and it fills the card */
.mw-person__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mw-person__art img ~ b { display: none; }
.mw-person:hover .mw-person__art { transform: translateY(-8px); box-shadow: 0 28px 54px rgba(8, 10, 43, .55); }
.mw-person__info { padding-top: 1.1rem; }
.mw-person__info h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; }
.mw-person__info span {
    display: block;
    margin-top: .2rem;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--p) 55%, #fff);
}
.mw-person__info p {
    margin-top: .7rem;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .8);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s var(--ease), opacity .4s ease;
}
.mw-person:hover .mw-person__info p,
.mw-person:focus-within .mw-person__info p { max-height: 6em; opacity: 1; }
@media (hover: none) {
    .mw-person__info p { max-height: none; opacity: 1; }
}

/* ==========================================================================
   7  CLOSING CTA   — IMAGE SLOT
   ========================================================================== */
.mw-end {
    --mw-shade: .84;
    position: relative;
    padding: clamp(4.5rem, 9vw, 7.5rem) 0;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    /* the purple -> blue flow from the testimonials; with an image set, the flow sits over it
       at --mw-shade strength */
    background:
        radial-gradient(circle at 10% 18%, rgba(255, 47, 214, .30), transparent 34%),
        radial-gradient(circle at 92% 82%, rgba(67, 210, 224, .32), transparent 36%),
        linear-gradient(90deg,
            rgba(185, 0, 255, var(--mw-shade)) 0%,
            rgba(0, 88, 255, var(--mw-shade)) 50%,
            rgba(185, 0, 255, var(--mw-shade)) 100%) 0 50% / 200% 100% repeat-x,
        var(--mw-img) center / cover no-repeat,
        linear-gradient(90deg, #b900ff 0%, #0058ff 100%);
    animation: mw-end-flow 16s linear infinite;
}
@keyframes mw-end-flow {
    from { background-position: 0 0, 0 0, 0% 50%, 0 0, 0 0; }
    to   { background-position: 0 0, 0 0, 200% 50%, 0 0, 0 0; }
}
.mw-end .mw-label { color: #fff; }
.mw-end .mw-label i { background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .5); box-shadow: none; }
.mw-end__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3rem;
}
.mw-end h2 {
    margin: 1.2rem 0 1.4rem;
    font-size: clamp(2.8rem, 7.4vw, 7.4rem);
    font-weight: 600;
    line-height: .96;
    letter-spacing: -.045em;
}
.mw-end h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #FFD36B, #8FF0F7);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.mw-end p { max-width: 32rem; margin-bottom: 2.2rem; font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, .92); }

.mw-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.7rem;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--purple);
    text-decoration: none;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(8, 10, 43, .35);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mw-btn svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.mw-btn:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(8, 10, 43, .45); }
.mw-btn:hover svg { transform: translateX(6px); }

.mw-badge {
    display: block;
    width: clamp(150px, 18vw, 240px);
    aspect-ratio: 1;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(14px) saturate(160%);
            backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 18px 44px rgba(8, 10, 43, .3);
    transition: transform .4s var(--ease);
}
.mw-badge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mw-badge text {
    fill: #fff;
    font-family: "Afacad", sans-serif;
    font-size: 15px;
    font-weight: 700;
    transform-origin: 100px 100px;
    animation: mw-spin 22s linear infinite;
}
.mw-badge__arrow { stroke: #fff; transition: transform .35s var(--ease); }
.mw-badge:hover { transform: scale(1.06); }
.mw-badge:hover .mw-badge__arrow { transform: translate(5px, -5px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
    .mw-bento { grid-template-columns: repeat(6, 1fr); }
    .mw-tile--a, .mw-tile--b, .mw-tile--c, .mw-tile--d, .mw-tile--e, .mw-tile--f { grid-row: auto; }
    .mw-tile--a { grid-column: 1 / 7; }
    .mw-tile--b { grid-column: 1 / 4; }
    .mw-tile--c { grid-column: 4 / 7; }
    .mw-tile--d { grid-column: 1 / 4; }
    .mw-tile--e { grid-column: 4 / 7; }
    .mw-tile--f { grid-column: 1 / 7; }
}

@media (max-width: 900px) {
    .mw-hero { min-height: 0; }
    .mw-hero__grid { grid-template-columns: 1fr; padding-bottom: 1rem; }
    .mw-dial { width: min(72vw, 340px); margin-top: 1rem; }
    .mw-line--out { font-size: clamp(5rem, 24vw, 9rem); }

    .mw-belief__trio { grid-template-columns: 1fr; }

    .mw-way__inner { grid-template-columns: 1fr; gap: 1rem; }
    .mw-way__aside { position: static; }
    .mw-way__num { font-size: 6rem; }
    .mw-way__rail { display: none; }
    .mw-way__stages { gap: 1.2rem; padding: 0; }
    .mw-stage { opacity: 1; transform: none; }

    .mw-row { grid-template-columns: 1fr; gap: .8rem; }
    .mw-row__bar { max-width: 360px; }

    .mw-end__grid { grid-template-columns: 1fr; }
    .mw-badge { width: 150px; }
}

@media (max-width: 640px) {
    .mw-bento { grid-template-columns: 1fr; gap: 1.2rem; }
    .mw-tile--a, .mw-tile--b, .mw-tile--c, .mw-tile--d, .mw-tile--e, .mw-tile--f { grid-column: 1 / -1; }
    .mw-tile { min-height: 190px; }
    .mw-hero__facts { grid-template-columns: 1fr; }
    .mw-hero__facts li + li { border-left: 0; border-top: 1px solid var(--glass-dark-line); }
    .mw-rail__ctl button { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
    .mw-line > span { transform: none; animation: none; }
    .mw-dial__ring, .mw-dial__needle, .mw-marquee, .mw-marquee__track, .mw-badge text, .mw-end { animation: none; }
    .mw-js .mw-reveal { opacity: 1; transform: none; transition: none; }
    .mw-tile, .mw-btn, .mw-badge, .mw-person__art, .mw-stage { transition: none; }
}