/* ==========================================================================
   Cloudi5 Technologies — website
   --------------------------------------------------------------------------
   Classic corporate: white and soft-grey light sections, deep navy dark
   sections (the brand), red only for action. One flow, no theme switch.
   Clash Display for headings, Satoshi for reading, Instrument Serif italic
   for the one accent phrase in a heading.
   ========================================================================== */

:root {
    --navy: #0b1a3a;
    --navy-2: #12244d;
    --navy-3: #1b3166;
    --brand: #0f2765;
    --red: #da0e17;
    --red-dark: #b50a12;
    --white: #ffffff;
    --soft: #f4f6fa;
    --text: #0b1a3a;
    --muted: #5a6478;
    --line: #e3e7ef;
    --line-dark: rgba(255, 255, 255, .12);

    --display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
    --sans: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;

    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --wrap: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --section: clamp(72px, 8.5vw, 120px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 1px 2px rgba(11, 26, 58, .04), 0 12px 32px -12px rgba(11, 26, 58, .14);
    --shadow-lg: 0 30px 70px -24px rgba(11, 26, 58, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--red); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: rgba(11, 26, 58, .28) transparent; }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-thumb { background: rgba(11, 26, 58, .28); border-radius: 9px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; top: 0; left: 16px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--red); color: #fff; transform: translateY(-120%); }
.skip:focus { transform: translateY(12px); }

/* ------------------------------------------------------------- Sections */
.sec { padding: var(--section) 0; }
.sec--white { background: var(--white); }
.sec--soft { background: var(--soft); }
.sec--dark { background: var(--navy); color: #fff; }

.head { margin-bottom: clamp(36px, 4.5vw, 56px); }
.head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.head--center { text-align: center; }
.head--center .title { margin: 0 auto; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--red);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.kicker--light { color: #ff8a8f; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(218, 14, 23, .25); }

.title {
    max-width: 20ch;
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.02em;
    word-spacing: .06em;
}

.title--light { color: #fff; }
.ital { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--brand); }
.title--light .ital, .sec--dark .ital { color: #ff8a8f; }

.lede { max-width: 46ch; color: var(--muted); font-size: 1.05rem; }
.lede--light { color: rgba(255, 255, 255, .68); }

/* -------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    padding: .8em 1.35em;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.btn i { transition: transform .25s var(--ease); }
.btn:hover i.bi-arrow-up-right, .btn:hover i.bi-arrow-right { transform: translate(2px, -2px); }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--glass { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link-arrow:hover { color: var(--red); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(3px); }


/* ----------------------------------------------------------------- Logo */
.logo {
    display: block;
    width: 108px;
    height: 70px;
    margin: -12px 0;
    background: var(--navy);
    -webkit-mask: url('../img/logo.png') center / contain no-repeat;
            mask: url('../img/logo.png') center / contain no-repeat;
    transition: background .3s var(--ease);
}
.logo--light { background: #fff; }

/* =============================================================== Header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; color: #fff; transition: background .3s var(--ease), padding .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.hdr .logo { background: #fff; }
.hdr.is-solid { padding: 8px 0; background: rgba(255, 255, 255, .94); color: var(--navy); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.hdr.is-solid .logo { background: var(--navy); }
.hdr__in { display: flex; align-items: center; gap: 22px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border: 0; border-radius: 999px; background: none; font-size: .95rem; font-weight: 500; text-decoration: none; transition: background .2s; }
.nav__link i { font-size: .62rem; transition: transform .25s var(--ease); }
.nav__link:hover { background: rgba(127, 127, 127, .14); }
.nav__item.is-open .nav__link i { transform: rotate(180deg); }
.hdr__actions { display: flex; align-items: center; gap: 14px; margin-left: 10px; }
.hdr__phone { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 500; text-decoration: none; opacity: .9; }
.hdr__burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: none; }
.hdr__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.hdr__burger span:first-child { top: 17px; }
.hdr__burger span:last-child { top: 25px; }

.mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: min(1020px, 92vw);
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    color: var(--navy);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-42%, 8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}

.mega::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-42%, 0); }
.mega--small { width: 330px; padding: 10px; transform: translate(-50%, 8px); }
.nav__item.is-open .mega--small { transform: translate(-50%, 0); }
.mega__grid--services { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 26px; }
.mega__col { display: flex; flex-direction: column; }
.mega__col a { padding: 6px 0; color: var(--muted); font-size: .92rem; text-decoration: none; transition: color .2s, transform .2s; }
.mega__col a:hover { color: var(--red); transform: translateX(3px); }
.mega__h { margin-bottom: 8px; color: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mega__h.mt { margin-top: 18px; }
.mega__promo { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--navy) radial-gradient(120% 80% at 100% 0%, rgba(218, 14, 23, .45), transparent 60%); color: #fff; text-decoration: none; }
.mega__promo-k { color: rgba(255, 255, 255, .6); font-size: .8rem; }
.mega__promo strong { font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.mega__promo-cta { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.mega__grid--products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mega__prod { display: flex; gap: 12px; padding: 14px; border-radius: var(--r-sm); text-decoration: none; transition: background .2s; }
.mega__prod:hover { background: var(--soft); }
.mega__prod i { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: #fdecec; color: var(--red); font-size: 1.1rem; }
.mega__prod span { display: flex; flex-direction: column; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.mega__prod strong { color: var(--navy); font-size: .95rem; }
.mega__list a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; }
.mega__list a:hover { background: var(--soft); }
.mega__list strong { font-size: .95rem; }
.mega__list span { color: var(--muted); font-size: .82rem; }

/* ================================================================= Hero */
/* Full-screen video, content anchored to the bottom. As the page scrolls
   the frame insets into a rounded card and the copy softens away —
   driven by --p (0 → 1) from site.js. */
.hero { --p: 0; padding: 0 calc(var(--p) * 28px); background: var(--soft); }

.hero__frame {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    border-radius: calc(var(--p) * 32px);
    background: var(--navy);
    color: #fff;
}

.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero__shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(218, 14, 23, .22), transparent 70%),
        linear-gradient(0deg, rgba(11, 26, 58, .96) 0%, rgba(11, 26, 58, .7) 38%, rgba(11, 26, 58, .3) 75%, rgba(11, 26, 58, .45) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 120px;
    padding-bottom: calc(clamp(32px, 7vw, 112px) + 80px);
    opacity: calc(1 - var(--p) * 1.1);
    filter: blur(calc(var(--p) * 6px));
}

.hero__title {
    padding-bottom: clamp(20px, 2.4vw, 32px);
    font-family: var(--display);
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.02em;
    word-spacing: .06em;
}

.hero__rule { height: 1px; background: rgba(255, 255, 255, .25); }
.hero__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-top: 26px; }
.hero__intro { max-width: 30rem; }
.hero__lede { color: rgba(255, 255, 255, .78); font-size: 1rem; line-height: 1.7; }
.hero__lede strong { color: #fff; }
.hero__intro .pill-btn { margin-top: 26px; }

.hero__trust-h { margin-bottom: 22px; color: rgba(255, 255, 255, .6); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.hero__logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 20px; }
.hero__logo { display: flex; align-items: center; justify-content: center; width: calc((100% - 5 * 20px) / 6); height: 46px; }
.hero__logo img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: .8; transition: opacity .3s, transform .3s var(--ease); }
.hero__logo:hover img { opacity: 1; transform: scale(1.06); }

/* ================================================================ Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    text-decoration: none;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat__v { font-family: var(--display); font-size: clamp(2.6rem, 4.4vw, 3.8rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.stat__v sup { color: var(--red); font-size: .5em; vertical-align: top; position: relative; top: .1em; }
.stat__l { color: var(--muted); font-weight: 500; }
.stat__go { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--navy); transition: background .25s, color .25s, transform .25s var(--ease); }
.stat:hover .stat__go { background: var(--red); color: #fff; transform: rotate(45deg); }

/* ===================================================== Highlights strip */
/* After the reference: three frosted cards (242px, 24px corners) pulled
   up over the bottom of the hero, rising in one after another. */
.mfs { position: relative; z-index: 10; margin-top: -40px; font-family: 'Lexend Deca', system-ui, sans-serif; color: #161519; }
.mfs__in { max-width: 1280px; margin: 0 auto; padding: 0 30px; }
.mfs__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

.mfs__card { position: relative; display: flex; flex-direction: column; height: 242px; padding: 20px; overflow: hidden; border-radius: 24px; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s ease-out; }
.mfs__card:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 18px 50px rgba(15, 15, 20, .14); }
.mfs__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; color: #161519; font-size: 32px; line-height: 1; }
.mfs__top { display: flex; align-items: flex-start; justify-content: space-between; }
.mfs__faces { display: flex; }
.mfs__faces span { display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0, 0, 0, .08); }
.mfs__faces span + span { margin-left: -8px; }
.mfs__faces img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.mfs__bottom { margin-top: auto; }
.mfs__num { font-size: 40px; font-weight: 400; line-height: 1; }
.mfs__num i, .mfs__big i, .mfs__mid i { color: #ff0013; font-style: normal; }
.mfs__label { margin: 12px 0 0; font-size: 13px; font-weight: 600; line-height: 1.375; }

.mfs__card--photo { padding: 0; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mfs__card--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mfs__glass { position: absolute; inset: 0 auto 0 0; width: 58%; background: rgba(255, 255, 255, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mfs__photo-body { position: relative; display: flex; flex-direction: column; width: 58%; height: 100%; padding: 20px; }
.mfs__photo-body .mfs__label { margin-top: 16px; line-height: 1.25; }
.mfs__big { display: flex; align-items: baseline; gap: 4px; margin-top: auto; font-size: 56px; font-weight: 300; line-height: 1; }

.mfs__card--wide { height: auto; padding: 12px; }
.mfs__inner { display: grid; grid-template-columns: 1fr; gap: 12px; height: 100%; }
.mfs__blurb { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 12px; }
.mfs__blurb p { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.375; }
.mfs__about { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; color: #161519; font-size: 13px; font-weight: 500; text-decoration: none; }
.mfs__about span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #ff0013; color: #fff; font-size: 12px; transition: transform .3s; }
.mfs__about:hover span { transform: rotate(45deg); }
.mfs__tile { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 16px; border-radius: 16px; background: #fafafa; }
.mfs__tile p { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.25; }
.mfs__mid { margin-top: 8px; font-size: 36px; font-weight: 400; line-height: 1; }
.mfs__chart { position: relative; min-height: 140px; overflow: hidden; border-radius: 16px; background: #0a3a20; }
.mfs__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Rise in: 40px, 0.9s, staggered. */
@keyframes mfs-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.mfs__card[data-rise] { opacity: 0; will-change: opacity, transform; }
.mfs__card[data-rise].is-visible { animation: mfs-rise .9s cubic-bezier(.22, .61, .36, 1) both; }

@media (min-width: 640px) {
    .mfs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mfs__card--wide { grid-column: span 2; }
    .mfs__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mfs__chart { min-height: 0; }
}

@media (min-width: 1024px) {
    .mfs { margin-top: -80px; }
    .mfs__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .mfs__card { grid-column: span 3; }
    .mfs__card--wide { grid-column: span 6; height: 242px; }
}

@media (prefers-reduced-motion: reduce) {
    .mfs__card[data-rise] { opacity: 1; animation: none; }
}

/* ======================================================== Work marquee */
/* After the reference: a full-bleed row of project mockups (33vw × 23vw
   tiles) sliding right; scrolling nudges the row sideways and flips the
   direction with the scroll (site.js, workMarquee). */
.wm { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2em; padding: 64px 0 24px; overflow: hidden; background: #f6f6f6; }
.wm__marquee { position: relative; width: 100vw; overflow: hidden; }
.wm__scroll { position: relative; display: flex; width: 100%; will-change: transform; }
.wm__collection { position: relative; display: flex; will-change: transform; }
.wm__item { position: relative; display: flex; flex: none; align-items: center; justify-content: center; width: 33vw; height: 23vw; margin: 0 .75vw; overflow: hidden; border-radius: 1vw; background: #131313; }
.wm__item::before { content: ''; position: absolute; inset: 0; background: currentColor; opacity: .1; }
/* Edge fades, as the reference: 15vw panels from the section colour to clear. */
.wm__fade { position: absolute; inset: 0 auto 0 0; z-index: 2; width: 15vw; height: 103%; margin: auto 0; pointer-events: none; background-image: linear-gradient(90deg, #f6f6f6 35%, rgba(246, 246, 246, 0)); }
.wm__fade--right { inset: 0 0 0 auto; background-image: linear-gradient(270deg, #f6f6f6 35%, rgba(246, 246, 246, 0)); }
.wm__item img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: .5rem; object-fit: cover; object-position: 50% 50%; }

@media (max-width: 767px) {
    .wm { padding-top: 40px; }
    .wm__item { width: 50vw; height: 45vw; }
}

/* ============================================================= Practices */
/* Flip stack. Desktop: the section pins for (n - 1) × 88vh of scroll and
   each card lifts and tips away (site.js, flipStack). Below 1024px it is a
   snap-scrolling row. Measurements follow the reference one for one. */
@property --fs-trace-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes fs-trace-spin { to { --fs-trace-angle: 360deg; } }

/* Light section (#f6f6f6, near-black copy); only the cards are dark — as the reference. */
.fs { --fs-card-bg: #161616; --fs-card-fg: #f6f6f6; --fs-border-strong: #626262; position: relative; background: #f6f6f6; color: #0d0d0d; }
.fs__intro-in { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.fs__intro--mobile { width: 100%; max-width: 1200px; margin: 0 auto; padding: 48px 16px 32px; }
.fs__intro--desk { display: none; }
.fs__h { margin: 0; color: #0d0d0d; font-family: 'Satoshi', system-ui, sans-serif; font-size: 24px; font-weight: 700; line-height: 28px; letter-spacing: -.025rem; }
.fs__text { margin-top: 16px; color: rgba(13, 13, 13, .7); font-family: 'Figtree', system-ui, sans-serif; font-size: 20px; line-height: 32px; }

.fs__track { position: relative; }

.fs__stack {
    position: relative;
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 48px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fs__stack::-webkit-scrollbar { display: none; }
.fs__item { position: relative; flex: 0 0 88%; width: 100%; scroll-snap-align: center; }

/* Brand gradient: Cloudi5 blue at the top left through navy into red at the bottom right. */
.fs__card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: radial-gradient(55% 75% at 50% 100%, rgba(216, 8, 16, .38) 0%, transparent 70%), linear-gradient(115deg, #050505 0%, #0d0d0d 30%, #2a0408 48%, #6e0810 62%, #9a0a12 100%); color: var(--fs-card-fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.fs__body { display: flex; flex: 1; flex-direction: column; justify-content: center; min-width: 0; min-height: 0; overflow: hidden; padding: 24px; }
.fs__head { display: flex; flex-direction: column; gap: 16px; }
.fs__title { margin: 0; font-family: 'Satoshi', system-ui, sans-serif; font-size: 30px; font-weight: 300; line-height: 36px; letter-spacing: -.025rem; }
.fs__desc { display: -webkit-box; max-width: 614px; margin: 0; overflow: hidden; color: rgba(246, 246, 246, .7); font-family: 'Figtree', system-ui, sans-serif; font-size: 16px; line-height: 24px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.fs__tags { display: flex; flex-wrap: wrap; gap: 10px; max-width: 620px; margin: 24px 0 0; padding: 0; list-style: none; }
.fs__tag { position: relative; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #f2f2f5; font-family: 'Figtree', system-ui, sans-serif; font-size: 14px; font-weight: 500; line-height: 24px; white-space: nowrap; transition: border-color .3s; }
.fs__tag a, .fs__tag span { position: relative; color: inherit; text-decoration: none; }

/* A light that runs round the border of the first tag, or the hovered one. */
.fs__tag::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: conic-gradient(from var(--fs-trace-angle), transparent 0 58%, #ca051566 72%, #fff 82%, #ca051566 92%, transparent 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    animation: fs-trace-spin 3s linear infinite paused;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.fs__tags > .fs__tag:first-child, .fs__tags > .fs__tag:hover, .fs__tags > .fs__tag:focus-within { border-color: #ca051566; }
.fs__tags > .fs__tag:first-child::before, .fs__tags > .fs__tag:hover::before, .fs__tags > .fs__tag:focus-within::before { opacity: 1; animation-play-state: running; }
.fs__tags:has(> .fs__tag:hover, > .fs__tag:focus-within) > .fs__tag:first-child:not(:hover, :focus-within) { border-color: #fff; }
.fs__tags:has(> .fs__tag:hover, > .fs__tag:focus-within) > .fs__tag:first-child:not(:hover, :focus-within)::before { opacity: 0; animation-play-state: paused; }

.fs__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 24px; }
.fs__rule { width: 62px; height: 1px; background: rgba(255, 255, 255, .55); }
.fs__more { display: flex; align-items: center; gap: 12px; color: var(--fs-card-fg); font-family: 'Figtree', system-ui, sans-serif; font-size: 18px; line-height: 26px; text-decoration: none; }
.fs__more svg { flex-shrink: 0; width: 24px; height: 24px; color: #ca0515; }

.fs__media { position: relative; flex-shrink: 0; order: -1; aspect-ratio: 551 / 482; overflow: hidden; }
.fs__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Image runs edge to edge: flush with the card top, bottom and right. */
.fs__media { align-self: stretch; margin: 0; border-radius: 0; }

/* The layered "visual" over the photo: a small piece of product UI. */
.fs__ui { position: absolute; left: 50%; top: 50%; width: min(78%, 360px); padding: 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: rgba(22, 22, 22, .66); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7); transform: translate(-50%, -50%); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.fs__ui-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; color: rgba(246, 246, 246, .7); font-family: 'Figtree', system-ui, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.fs__ui-h i { color: #2ee07c; }
.fs__ui-steps { display: grid; gap: 8px; }
.fs__ui-steps span { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: rgba(246, 246, 246, .75); font-family: 'Figtree', system-ui, sans-serif; font-size: 13px; font-weight: 500; }
.fs__ui-steps span b { font-weight: 500; font-size: 11px; opacity: .8; }
.fs__ui-steps .is-done b { color: #2ee07c; }
.fs__ui-steps .is-now { background: rgba(202, 5, 21, .85); color: #fff; }

.fs__dim { position: absolute; inset: 0; border-radius: 12px; background: #000; opacity: 0; pointer-events: none; }

.fs__after { display: none; }

@media (min-width: 640px) {
    .fs__item { flex-basis: 70%; }
}

@media (min-width: 768px) {
    .fs__intro-in { padding: 0 64px; }
    .fs__intro--mobile { padding: 120px 16px 64px; }
    .fs__h { font-size: 36px; line-height: 40px; }
}

@media (min-width: 1024px) {
    .fs { padding-top: 120px; }
    .fs__intro--mobile { display: none; }
    .fs__intro--desk { display: block; width: 100%; max-width: 1200px; padding: 0 16px 32px; }
    .fs__track { height: calc(100vh + var(--fs-steps, 3) * 88vh); }
    .fs__sticky { position: sticky; top: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding-top: 64px; overflow: hidden; }
    .fs__stack { display: block; height: calc(var(--card-h, 500px) + 112px); max-height: calc(500px + 112px); padding: 0; overflow: hidden; scroll-snap-type: none; perspective: 1900px; perspective-origin: 50% 250px; }
    .fs__item { position: absolute; top: 0; left: 0; right: 0; width: auto; height: var(--card-h, 500px); max-height: 500px; flex-basis: auto; transform-origin: bottom; backface-visibility: hidden; will-change: transform; }
    .fs__card { flex-direction: row; align-items: stretch; cursor: pointer; }
    .fs__body { padding: 32px; }
    .fs__title { font-size: 40px; line-height: 46px; }
    .fs__media { order: 0; width: 551px; aspect-ratio: auto; }
    .fs__after { display: block; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
    .fs__tag::before { animation: none; }
}

/* ============================================================ Our Work */
/* After the reference: DM Sans, a 100px heading, framed photo tiles with
   slash chips and a centred client logo. On a mouse, a "View project" box
   follows the pointer and a white panel rises from the bottom. */
.mw { --dm: 'DM Sans', system-ui, sans-serif; --in: 'Inter', system-ui, sans-serif; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 82px 32px 120px; background: #f5f5f5; color: #0a0a0a; }
.mw__container { display: flex; flex-direction: column; width: 100%; max-width: 1344px; margin: 0 auto; }
.mw__header { position: relative; flex-shrink: 0; width: 100%; height: 126px; margin-bottom: 64px; }
.mw__eyebrow { position: absolute; left: 7.5px; top: -.75px; }
.mw__eyebrow-label, .msv__eyebrow-label { margin: 0; font-family: var(--dm); font-size: 16px; font-weight: 500; line-height: 22.4px; letter-spacing: -.64px; white-space: nowrap; }
.mw__eyebrow-label { color: #1a1a1a; }
.mw__heading-block { position: absolute; left: 22.697%; top: -12px; width: 49.479%; }
.mw__prefix, .mw__heading { margin: 0; color: #0a0a0a; font-family: var(--dm); font-weight: 600; white-space: nowrap; }
.mw__prefix { font-size: 24px; line-height: 31px; letter-spacing: -1.5px; }
.mw__heading { margin: 44px 0 0 -7px; font-size: 100px; line-height: 70px; letter-spacing: -8px; }
.mw__desc { position: absolute; left: 73.288%; top: -1px; width: 26.71%; max-width: 319px; margin: 0; padding: 53px 0 0 40px; color: #0a0a0a; font-family: var(--dm); font-size: 16px; font-weight: 500; line-height: 22.4px; letter-spacing: -.64px; opacity: .6; }

.mw__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 656px)); justify-content: center; gap: 32px; width: 100%; margin-bottom: 40px; }
.mw__card { min-width: 0; }
.mw__link { position: relative; display: block; overflow: hidden; border-radius: 16px; color: inherit; text-decoration: none; }
/* Tile: 656 × 500 at full width (two columns of the 1344px container,
   32px apart), 16px corners, image edge to edge — as the reference. */
.mw__surface { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 500px; overflow: hidden; border-radius: 16px; background: var(--tone, #0a0a0a); }
.mw__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: 16px; background: var(--tone, #0a0a0a); }
.mw__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; transition: transform .5s; }
/* Clean image at rest. On hover (as the redbaton reference): a frosted
   overlay fades in and the client logo scales up into the middle. */
.mw__blackout { position: absolute; inset: 0; z-index: 2; border-radius: 16px; background: linear-gradient(rgba(193, 183, 182, .12) 0%, rgba(47, 47, 47, .5) 30%); opacity: 0; visibility: hidden; pointer-events: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.mw__chips { position: absolute; top: 14px; left: 14px; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: calc(100% - 28px); pointer-events: none; }
.mw__chip { display: inline-flex; flex-shrink: 0; align-items: center; padding: 6px 12px; border-radius: 6px; background: #fff; }
.mw__chip span { color: #090909; font-family: var(--in); font-size: 12px; font-weight: 500; line-height: 15.6px; letter-spacing: -.48px; }
.mw__chip span:first-child { opacity: .6; }
.mw__chip span:last-child { text-transform: uppercase; white-space: nowrap; }
.mw__logo { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; width: 168px; height: 76px; opacity: 0; pointer-events: none; transform: scale(.9); transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.mw__link:hover .mw__bg, .mw__link.is-active .mw__bg, .mw__link:focus-visible .mw__bg { transform: scale(1.06); }
.mw__link:hover .mw__blackout, .mw__link.is-active .mw__blackout, .mw__link:focus-visible .mw__blackout { opacity: 1; visibility: visible; }
.mw__link:hover .mw__logo, .mw__link.is-active .mw__logo, .mw__link:focus-visible .mw__logo { opacity: 1; transform: scale(1); }
.mw__logo img { width: 100%; height: 100%; object-fit: contain; }
.mw__logo b { color: #fff; font-family: var(--dm); font-size: 34px; font-weight: 600; letter-spacing: -1.6px; white-space: nowrap; }

.mw__hover-cta, .mw__panel { display: none; }

@media (hover: hover) and (pointer: fine) {
    .mw__link.is-active { cursor: none; }
    .mw__hover-cta {
        position: absolute;
        z-index: 10;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 152px;
        height: 66px;
        padding: 0 19px;
        border-radius: 6px;
        background: #090909;
        color: #fff;
        font-family: var(--dm);
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: opacity .25s ease;
        will-change: left, top;
    }

    .mw__panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 14px;
        z-index: 6;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 626px;
        max-width: calc(100% - 34px);
        margin-inline: auto;
        padding: 24px 40px;
        overflow: hidden;
        border-radius: 8px;
        background: #fff;
        opacity: 0;
        pointer-events: none;
        transform: translateY(calc(100% + 14px));
        transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
    }

    .mw__link.is-active .mw__hover-cta, .mw__link:focus-visible .mw__hover-cta, .mw__link.is-active .mw__panel, .mw__link:focus-visible .mw__panel { opacity: 1; }
    .mw__link.is-active .mw__panel, .mw__link:focus-visible .mw__panel { transform: translateY(0); }
    .mw__link:focus-visible .mw__hover-cta { left: 50%; top: 40%; }
}

/* Faint concentric rings behind the panel copy. */
.mw__rings { position: absolute; left: 6px; top: 0; width: 352px; height: 337px; max-height: calc(100% - 48px); opacity: .42; pointer-events: none; background: repeating-radial-gradient(circle at 0 0, transparent 0 34px, rgba(10, 10, 10, .09) 34px 35px); }
.mw__tagline { position: relative; z-index: 1; width: 100%; margin: 0; color: #0a0a0a; font-family: var(--dm); font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.48px; }
.mw__stats { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 56px; width: 100%; margin: 0; }
.mw__stat { display: flex; flex-direction: column; flex-shrink: 0; align-items: flex-start; gap: 6px; }
.mw__stat-label { color: #0a0a0a; font-family: var(--dm); font-size: 12px; font-weight: 500; line-height: 15.6px; letter-spacing: -.56px; opacity: .6; }
.mw__stat-value { color: #0a0a0a; font-family: var(--dm); font-size: 24px; font-weight: 600; line-height: 28.8px; letter-spacing: -1.2px; white-space: nowrap; }

.mw__mobile { display: none; }

.mw__cta-row { display: flex; align-items: center; justify-content: center; width: 100%; }
.mw__cta { position: relative; z-index: 1; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 10px; height: 52px; min-height: 52px; padding: 17px 40px; overflow: hidden; border: 0; border-radius: 4px; background: #000; text-decoration: none; }
.mw__cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(168.88deg, #4352d1 7.58%, #02041a 98.05%); opacity: 0; transition: opacity .3s ease; }
.mw__cta-label { display: block; color: #fff; font-family: var(--dm); font-size: 14px; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.mw__cta-dot { flex-shrink: 0; width: 5px; height: 5px; background: #fff; }

@media (min-width: 1024px) {
    .mw__cta:hover::before { opacity: 1; }
}

@media (max-width: 1279px) {
    .mw__header { display: flex; flex-direction: column; gap: 16px; height: auto; padding-bottom: 8px; }
    .mw__eyebrow, .mw__heading-block, .mw__desc { position: static; width: auto; max-width: 100%; padding: 0; }
    .mw__heading-block { display: flex; flex-direction: column; width: 100%; }
    .mw__heading { margin-top: 0; font-size: clamp(48px, 8vw, 100px); line-height: 1.1; letter-spacing: -.06em; white-space: normal; }
}

@media (max-width: 1023px) {
    .mw { padding: 98px 16px 40px; }
    .mw__header { gap: 16px; margin-bottom: 40px; padding-bottom: 0; }
    .mw__eyebrow-label { font-size: 13px; line-height: 18.2px; letter-spacing: -.52px; }
    .mw__prefix { font-size: 18px; line-height: 23px; letter-spacing: -1.38px; }
    .mw__heading { margin-top: -4px; font-size: 60px; line-height: 72px; letter-spacing: -3px; white-space: nowrap; }
    .mw__card { display: flex; flex-direction: column; }
    .mw__surface { height: 360px; }
    .mw__chips { top: 4.082%; left: 3.073%; }
    .mw__logo { width: 42%; max-width: 180px; height: auto; aspect-ratio: 168 / 76; }
    .mw__mobile { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; width: 100%; min-height: 143px; padding: 12px; overflow: hidden; border-radius: 8px; background: #fff; }
    .mw__mobile .mw__rings { left: 50%; width: 98%; transform: translateX(-50%); opacity: .6; }
    .mw__mobile .mw__stats { flex-wrap: wrap; gap: 12px 28px; }
    .mw__mobile .mw__stat-value { font-size: 18px; line-height: 22px; }
    .mw__mobile-cta { position: relative; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 6px; background: #090909; color: #fff; font-family: var(--dm); font-size: 12px; font-weight: 600; text-decoration: none; text-transform: uppercase; }
    .mw__cta { display: flex; width: 100%; max-width: 358px; height: 44px; min-height: 44px; padding: 14px; border-radius: 6px; background: #090909; }
    .mw__cta-dot { display: none; }
    .mw__cta-label { font-size: 12px; }
}

/* ============================================================ Services */
/* A near-black card with soft corner glows and grain. Each row: index,
   mark, title and copy, category pills, round arrow; a tinted wash on
   hover. Below 1024px the rows become an accordion. */
.msv { --dm: 'DM Sans', system-ui, sans-serif; --in: 'Inter', system-ui, sans-serif; width: 100%; padding: 0 6px 15px; background: #f5f5f5; }
.msv__wrap, .msv__card { width: 100%; margin: 0 auto; }
.msv__card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 80px 36px 40px; border-radius: 20px; color: #fff; isolation: isolate; }
.msv__bg, .msv__noise { position: absolute; inset: 0; border-radius: 20px; pointer-events: none; }
.msv__bg { z-index: 0; background: radial-gradient(62% 58% at 98% 2%, #1f1f1f 0%, rgba(31, 31, 31, 0) 70%), radial-gradient(48% 42% at 12% 100%, #1d1d1d 0%, rgba(29, 29, 29, 0) 72%), #050505; }
.msv__noise { z-index: 1; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 256px 256px; }
.msv__content { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 60px; width: 100%; max-width: 1434.26px; margin: 0 auto; }

.msv__header { position: relative; flex-shrink: 0; width: 100%; min-height: 140px; }
.msv__eyebrow { position: absolute; left: 45.13px; top: calc(50% - 58.8px); transform: translateY(-50%); }
.msv__eyebrow-label { color: #fff; }
.msv__heading-block { position: absolute; left: 305px; top: 0; right: 49.25px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.msv__heading { margin: -18px 0 0; color: #fff; font-family: var(--dm); font-size: 100px; font-weight: 600; line-height: 1; letter-spacing: -8px; white-space: nowrap; }
.msv__subtitle { margin: 0; color: #fff; font-family: var(--dm); font-size: 24px; font-weight: 500; letter-spacing: -.72px; }

.msv__rows { display: flex; flex-direction: column; width: 100%; }
.msv__row { position: relative; width: 100%; }
.msv__row::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 1px; background: rgba(255, 255, 255, .1); pointer-events: none; }
.msv__row:last-child::after { display: none; }
.msv__wash { position: absolute; inset: 0; z-index: 0; border-radius: 8px; background: linear-gradient(263deg, #050001, var(--wash, #14182e)); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.msv__row:hover .msv__wash, .msv__row:focus-within .msv__wash { opacity: 1; }

.msv__inner { position: relative; z-index: 1; display: flex; align-items: flex-start; width: 100%; padding: 30px 0 0 45.13px; }
.msv__index-col { position: relative; flex-shrink: 0; align-self: stretch; width: 260px; }
.msv__index { position: absolute; left: 0; top: -.75px; color: #fff; font-family: var(--in); font-size: 16px; font-weight: 500; line-height: 22.4px; letter-spacing: -.64px; }
.msv__main { position: relative; display: flex; flex: 1; align-items: flex-start; min-width: 0; padding-bottom: 70px; }
.msv__toggle, .msv__collapsed-title { display: none; }
.msv__body { display: flex; flex: 1; align-items: flex-start; gap: 60px; min-width: 0; }
.msv__left { display: flex; flex-shrink: 0; align-items: flex-start; gap: 44px; width: 557.25px; min-width: 0; }

/* Our mark in place of the reference's sub-brand logos. */
.msv__brand { display: flex; flex-shrink: 0; align-items: center; gap: 10px; width: 96px; height: 52px; opacity: .5; transition: opacity .35s ease; }
.msv__brand i { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 14px; font-size: 22px; }
.msv__row:hover .msv__brand, .msv__row:focus-within .msv__brand { opacity: 1; }

.msv__info { display: flex; flex: 1; flex-direction: column; gap: 19.145px; min-width: 0; }
.msv__title { max-width: 300px; margin: 0; color: #fff; font-family: var(--dm); font-size: 30px; font-weight: 500; line-height: 36px; letter-spacing: -1.2px; }
.msv__desc { max-width: 330px; margin: 0; color: #fff; font-family: var(--dm); font-size: 16px; font-weight: 500; line-height: 22.4px; letter-spacing: -.64px; opacity: .6; }

.msv__cats { display: flex; flex-shrink: 0; flex-direction: column; gap: 18px; width: 331.5px; }
.msv__cats-label { margin: 0; color: #fff; font-family: var(--dm); font-size: 12px; font-weight: 500; line-height: 15.6px; letter-spacing: -.48px; opacity: .6; }
.msv__pills { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; min-height: 106px; }
.msv__pill { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; padding: 9px 12px; border: 0; border-radius: 50px; background: #fff; color: #090909; font-family: var(--dm); font-size: 12px; font-weight: 600; line-height: 12px; letter-spacing: -.48px; white-space: nowrap; }
.msv__pill[hidden] { display: none; }
.msv__pill--more { min-height: 30px; background: #272727; color: #fff; font-weight: 500; line-height: 15.6px; cursor: pointer; transition: background-color .2s ease; }
.msv__pill--more:hover { background: #333; }

.msv__arrow { position: absolute; right: 0; bottom: 43.71px; display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #313131; border-radius: 46px; color: #fff; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.msv__arrow svg { width: 12px; height: 12px; }
.msv__row:hover .msv__arrow, .msv__row:focus-within .msv__arrow, .msv__arrow:hover { border-color: #fff; background: #fff; color: #090909; }

@media (max-width: 1279px) {
    .msv { padding: 0 24px 40px; }
    .msv__card { display: block; padding: 64px 28px 40px; }
    .msv__header { display: grid; gap: 24px; min-height: 0; padding-bottom: 8px; }
    .msv__eyebrow, .msv__heading-block { position: static; transform: none; }
    .msv__heading { margin: 0; font-size: clamp(48px, 8vw, 100px); letter-spacing: -.08em; white-space: normal; }
    .msv__inner { flex-direction: column; gap: 16px; padding-left: 0; }
    .msv__index-col { width: 100%; }
    .msv__index { position: static; }
    .msv__main { flex-direction: column; width: 100%; padding-bottom: 56px; }
    .msv__body { flex-direction: column; gap: 32px; }
    .msv__left, .msv__cats { width: 100%; max-width: 100%; }
    .msv__arrow { bottom: 0; }
}

@media (max-width: 1023px) {
    .msv { padding: 0; }
    .msv__card, .msv__bg, .msv__noise { border-radius: 0; }
    .msv__card { padding: 48px 16px 10px; }
    .msv__content { gap: 32px; max-width: 358px; }
    .msv__header { display: flex; flex-direction: column; gap: 17px; }
    .msv__eyebrow-label { font-size: 13px; line-height: 18.2px; letter-spacing: -.52px; }
    .msv__heading-block { gap: 0; }
    .msv__heading { font-size: 62px; line-height: 57px; letter-spacing: -3.72px; white-space: nowrap; }
    .msv__subtitle { padding-top: 12px; font-size: 13px; line-height: 18.2px; letter-spacing: -.52px; }
    .msv__rows { padding-bottom: 48px; }
    .msv__wash { display: none; }
    .msv__inner { flex-direction: row; gap: 0; padding: 0; }
    .msv__index-col { flex-shrink: 0; align-self: stretch; width: 36px; min-height: 56px; }
    .msv__index { display: flex; padding-top: 16px; font-family: var(--dm); }
    .msv__main { flex: 1; padding: 0; }
    .msv__toggle { position: absolute; right: 0; top: 15px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid #313131; border-radius: 36px; background: transparent; cursor: pointer; }
    .msv__toggle::before, .msv__toggle::after { content: ''; position: absolute; left: 50%; top: 50%; background: #fff; transform: translate(-50%, -50%); }
    .msv__toggle::before { width: 2px; height: 16px; }
    .msv__toggle::after { width: 16px; height: 2px; }
    .msv__row.is-open .msv__toggle::before { display: none; }
    .msv__collapsed-title { display: none; margin: 0; color: #fff; font-family: var(--dm); font-size: 16px; font-weight: 500; line-height: 21.6px; letter-spacing: -.72px; }
    .msv__row:not(.is-open) .msv__collapsed-title { display: flex; min-height: 56px; padding: 18px 48px 0 0; }
    .msv__row:not(.is-open) .msv__body, .msv__row:not(.is-open) .msv__arrow { display: none; }
    .msv__row:not(.is-open) .msv__toggle { top: 50%; transform: translateY(-50%); }
    .msv__row.is-open .msv__body { padding: 16px 0 72px; }
    .msv__row.is-open .msv__arrow { bottom: 18px; }
    .msv__brand { opacity: 1; }
}

/* ================================================================ Team */
/* After the reference: an arch of photo columns (tall at the edges,
   short in the middle) around a centred heading. Desktop motion is GSAP
   (site.js, teamMotion): columns drift with scroll, photos flip in on
   their vertical axis, words rise out of a mask. Below 992px: two
   vertical photo marquees. */
.tm { --tm-margin: clamp(1.25rem, .6667rem + 2.9167vw, 3rem); overflow: clip; background: #fff; color: #000; font-family: 'Inter', system-ui, sans-serif; }
.tm__container { position: relative; width: calc(100% - var(--tm-margin) * 2); max-width: 80rem; margin: 0 auto; font-size: 1rem; line-height: 1.5; }
.tm__layout { position: relative; z-index: 1; padding: 7.5rem 0 4rem; }
/* The photo row now sits under the heading instead of around it. */
.tm__wrap { position: relative; margin-top: 3.5rem; }
.tm__contain { display: flex; gap: .75rem; }
.tm__col { display: flex; flex: 1; flex-direction: column; gap: .75rem; }
.tm__col--first { margin-top: 6.5rem; }
.tm__col--second { margin-top: 3rem; }
.tm__col--third { margin-top: 6.5rem; }
.tm__col--fourth { margin-top: 2rem; }
.tm__col--fifth { margin-top: 4rem; }
.tm__empty { width: 100%; height: 11.25rem; border-radius: .5rem; }
.tm__empty--top { background-image: linear-gradient(rgba(255, 255, 255, .4) 30%, rgba(225, 225, 225, .4)); }
.tm__empty--bottom { background-image: linear-gradient(rgba(225, 225, 225, .4), rgba(255, 255, 255, .4) 70%); }
.tm__empty--mid { height: 9rem; }
.tm__img { display: block; width: 100%; height: 11.25rem; border-radius: .5rem; background: #dcdadb; object-fit: cover; object-position: center 20%; }
.tm__img--founder { object-position: center top; }
.tm__overlay { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0) 55%, #fff 96%); }

.tm__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 48rem; margin: 0 auto; text-align: center; }
.tm__content .tm__sum { max-width: 36.25rem; }
.tm__h { margin: 0; color: #000; font-family: 'Satoshi', 'Inter', Arial, sans-serif; font-size: 4rem; font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.tm__sum { margin: 0; color: #242424; font-size: clamp(1rem, .9167rem + .4167vw, 1.25rem); line-height: 140%; opacity: .65; }
.tm__spacer-12 { height: 12px; }
.tm__spacer-14 { height: 14px; }
.tm__spacer-32 { height: 32px; }

/* Split text: each word (or line) sits in a clipping mask and rises in. */
.tm-mask { position: relative; display: inline-block; overflow: clip; vertical-align: top; }
.tm-mask--line { display: block; }
.tm-piece { position: relative; display: inline-block; }
.tm-mask--line > .tm-piece { display: block; }

/* Button: dark, with a text roll and an arrow swap on hover. */
.tm-btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    padding: .75rem 1.5rem;
    border-radius: .38rem;
    background: #1a2224;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1rem, .9583rem + .2083vw, 1.125rem);
    font-weight: 600;
    line-height: 136%;
    letter-spacing: .01em;
    text-decoration: none;
    box-shadow: 0 .5rem 1rem -.5rem rgba(40, 40, 40, .32), 0 .25rem 1rem -.25rem rgba(40, 40, 40, .16), 0 .25rem .25rem -.25rem rgba(0, 0, 0, .12), 0 0 0 .25rem rgba(26, 34, 36, .1), inset 0 -3px #060e10, inset 0 .125rem .25rem rgba(255, 255, 255, .2);
    transition: all .3s;
}

.tm-btn__text-contain { position: relative; z-index: 2; overflow: clip; }
.tm-btn__text { display: block; line-height: 120%; white-space: nowrap; text-shadow: 0 1.25rem #fff; transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.tm-btn:hover .tm-btn__text { transform: translateY(-1.25rem); }
.tm-btn__arrow { position: relative; flex: none; width: 1.25rem; height: 1.25rem; overflow: clip; }
.tm-btn__arrow-wrap { position: relative; display: block; width: 100%; height: 100%; }
.tm-btn__arrow svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.tm-btn__arrow svg:last-child { transform: translateX(-120%); }
.tm-btn:hover .tm-btn__arrow svg:first-child { transform: translateX(120%); }
.tm-btn:hover .tm-btn__arrow svg:last-child { transform: translateX(0); }

.tm__mobile { display: none; }

@media (max-width: 991px) {
    .tm__h { font-size: 2.5rem; }
    .tm__content { display: none; }
    .tm__layout { padding: 3.75rem 0; }
    .tm__wrap { display: none; }
    .tm__mobile { display: block; }
    .tm__h--start, .tm__sum--start { text-align: start; }
    .tm__mobile-main { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 39.5rem; margin-top: 1.5rem; overflow: hidden; }
    .tm__viewport { position: relative; flex: 1; overflow: hidden; }
    .tm__members { position: absolute; inset: 0 0 auto; display: flex; gap: 1rem; }
    .tm__marquee { display: flex; flex: 1; flex-direction: column; gap: .75rem; animation: tm-up 36s linear infinite; }
    .tm__marquee--down { animation-name: tm-down; }
    .tm__marquee .tm__col { flex: none; }
    .tm__marquee .tm__img { flex: none; height: 15rem; }
    .tm__mask { position: absolute; left: 0; right: 0; z-index: 1; height: 4rem; pointer-events: none; }
    .tm__mask--top { top: 0; background-image: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
    .tm__mask--bottom { bottom: 0; background-image: linear-gradient(rgba(255, 255, 255, 0), #fff); }
}

@media (max-width: 767px) {
    .mw__grid { grid-template-columns: 1fr; gap: 24px; }
    .mw__surface { height: 250px; }
    .tm__h { font-size: 2.25rem; }
    .tm__layout { padding-bottom: 0; }
}

@media (max-width: 479px) {
    .tm__h { font-size: 2rem; }
    .tm__sum { font-size: 1rem; }
    .tm__marquee .tm__img { height: 8.75rem; }
}

@keyframes tm-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - .375rem)); } }
@keyframes tm-down { from { transform: translateY(calc(-50% - .375rem)); } to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
    .tm__marquee { animation: none; }
}

/* ========================================================= Capabilities */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cap { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cap:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cap__img { aspect-ratio: 16 / 9; overflow: hidden; }
.cap__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cap:hover .cap__img img { transform: scale(1.06); }
.cap__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px; }
.cap h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: .75rem; font-weight: 600; }
.cap p { color: var(--muted); font-size: .95rem; }
.cap__more { margin-top: auto; padding-top: 6px; color: var(--red); font-weight: 700; font-size: .92rem; }
.cap__more i { display: inline-block; transition: transform .25s var(--ease); }
.cap:hover .cap__more i { transform: translateX(4px); }

/* ======================================== Portfolio (brand gradient) */
.pf {
    position: relative;
    padding: clamp(80px, 10vw, 150px) 0;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(55% 40% at 100% 0%, rgba(218, 14, 23, .30), transparent 70%),
        radial-gradient(50% 35% at 0% 55%, rgba(64, 98, 255, .20), transparent 70%),
        radial-gradient(45% 30% at 100% 100%, rgba(218, 14, 23, .16), transparent 70%),
        linear-gradient(170deg, #0b1a3a 0%, #0f2765 48%, #0b1a3a 100%);
}

.pf__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pf__label { color: rgba(255, 255, 255, .55); font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.pf__all { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.pf__all i { transition: transform .5s var(--ease); }
.pf__all:hover i { transform: rotate(52deg); }
.pf__rule { height: 1px; background: rgba(255, 255, 255, .25); }

.pf__title {
    max-width: 680px;
    margin: clamp(36px, 4vw, 52px) 0 clamp(40px, 5vw, 68px);
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.02em;
    word-spacing: .06em;
}

.pf__muted { color: rgba(255, 255, 255, .45); }

.pf__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); row-gap: clamp(64px, 9vw, 130px); }

.pf__media { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--tone, var(--navy-2)); color: #fff; text-decoration: none; isolation: isolate; }
.pf__img { position: relative; clip-path: inset(0 0 0 0); }
.pf__img img { width: 100%; aspect-ratio: 712 / 570; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.pf__media:hover .pf__img img, .pf__media:focus-visible .pf__img img { transform: scale(1.05); }
.pf__tags { position: absolute; left: clamp(10px, 1.7vw, 24px); bottom: clamp(10px, 1.7vw, 24px); z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; }
.pf__tags span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(6, 15, 36, .82); color: #fff; font-size: .85rem; font-weight: 500; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* The glass panel: Overview + Solution, revealed on hover / focus. */
.pf__glass {
    position: absolute;
    inset: 12px 12px clamp(52px, 4.4vw, 70px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(18px, 2.6vw, 38px);
    padding: clamp(16px, 2.2vw, 30px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--r);
    background: linear-gradient(160deg, rgba(15, 39, 101, .84) 0%, rgba(11, 26, 58, .8) 55%, rgba(7, 16, 38, .76) 100%);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    transition: opacity .48s ease;
}

.pf__glass::before { content: ''; position: absolute; inset: 0 0 50%; background: linear-gradient(rgba(255, 255, 255, .06), transparent); pointer-events: none; }
.pf__media:hover .pf__glass, .pf__media:focus-visible .pf__glass { opacity: 1; }
.pf__glass-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 1rem; font-weight: 700; }
.pf__ic { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04)); font-size: .85rem; }
.pf__glass-row:last-child .pf__ic { background: linear-gradient(135deg, rgba(255, 90, 97, .55), rgba(218, 14, 23, .2)); }
.pf__glass p:not(.pf__glass-h) { position: relative; color: rgba(255, 255, 255, .9); font-size: clamp(.8rem, 1.05vw, .95rem); font-weight: 500; line-height: 1.6; }

.pf__meta { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 0 14px; }
.pf__logo { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; overflow: hidden; border-radius: 12px; background: #fff; color: var(--navy); font-family: var(--display); font-size: .95rem; font-weight: 600; }
.pf__logo img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.pf__name { font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: .01em; text-transform: uppercase; }
.pf__name a { text-decoration: none; transition: opacity .2s; }
.pf__name a:hover { opacity: .8; }
.pf__desc { max-width: 56ch; margin-top: 12px; padding: 0 14px; color: rgba(255, 255, 255, .7); font-size: 1rem; line-height: 1.65; }

/* Closing tile, in place of a sixth case study. */
.pf__cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 712 / 570;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r);
    background: #08142f;
    text-align: center;
    isolation: isolate;
}

.pf__cta video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.pf__cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at top right, rgba(218, 14, 23, .5), transparent 58%), linear-gradient(rgba(8, 20, 47, .4), rgba(8, 20, 47, .75)); }
.pf__cta h3 { max-width: 18ch; margin: 0 auto; font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.pf__cta p { margin-top: 14px; color: rgba(255, 255, 255, .6); font-size: .95rem; }

/* Pill whose white dot grows to fill it on hover. */
.pill-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; margin-top: 30px; padding: 2px 22px 2px 2px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 700; text-decoration: none; transition: color .3s; }
.pill-btn::before { content: ''; position: absolute; top: 2px; bottom: 2px; left: 2px; width: 38px; border-radius: 999px; background: #fff; transition: width .5s var(--ease); }
.pill-btn:hover { color: var(--navy); }
.pill-btn:hover::before { width: calc(100% - 4px); }
.pill-btn i { position: relative; display: grid; place-items: center; width: 38px; height: 38px; color: var(--red); transition: transform .5s var(--ease); }
.pill-btn:hover i { transform: rotate(55deg); }
.pill-btn span { position: relative; }
.pill-btn--light { height: 54px; padding-right: 26px; border-color: #fff; background: #fff; color: var(--navy); font-size: .95rem; }
.pill-btn--light::before { width: 48px; background: var(--red); }
.pill-btn--light i { width: 48px; height: 48px; color: #fff; }
.pill-btn--light:hover { color: #fff; }

/* Scroll reveal: the cover unrolls top to bottom, the caption follows. */
.pf__item.reveal { opacity: 1; transform: none; }
.pf__item.reveal .pf__img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.pf__item.reveal .pf__meta, .pf__item.reveal .pf__desc { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) .45s, transform .7s var(--ease) .45s; }
.pf__item.reveal.is-in .pf__img { clip-path: inset(0 0 0 0); }
.pf__item.reveal.is-in .pf__meta, .pf__item.reveal.is-in .pf__desc { opacity: 1; transform: none; }

/* Cursor label that follows the pointer over a cover. */
.pf-cursor { position: fixed; top: 0; left: 0; z-index: 60; display: flex; align-items: center; gap: 3px; opacity: 0; pointer-events: none; transition: opacity .15s; will-change: transform; }
.pf-cursor.is-on { opacity: 1; }
.pf-cursor__icon { display: grid; place-items: center; width: 30px; height: 30px; background: #fff; color: var(--red); font-size: .8rem; }
.pf-cursor__label { display: flex; align-items: center; height: 30px; padding: 0 12px; background: #fff; color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Touch screens have no hover, so the glass panel never shows there. */
@media (hover: none) {
    .pf__glass { display: none; }
}

/* ======================================================= Products (dark) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 14px; }
.prod { position: relative; display: flex; flex-direction: column; gap: 10px; overflow: hidden; padding: 26px; border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: var(--navy-2); transition: border-color .3s, transform .4s var(--ease); }
.prod:hover { border-color: rgba(255, 255, 255, .35); transform: translateY(-4px); }
.prod--wide { grid-column: span 2; grid-row: span 2; justify-content: space-between; background: linear-gradient(160deg, var(--navy-3), var(--navy-2) 60%); }
.bento .prod:nth-child(6), .bento .prod:nth-child(7) { grid-column: span 2; }
.prod--accent { border-color: var(--red); background: var(--red); }
.prod--accent .prod__tag { color: rgba(255, 255, 255, .8); }
.prod--accent p { color: rgba(255, 255, 255, .88); }
.prod__tag { color: #ff8a8f; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.prod h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; word-spacing: .05em; }
.prod--wide h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.prod p { max-width: 40ch; color: rgba(255, 255, 255, .64); font-size: .95rem; }
.prod__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: .9rem; font-weight: 700; text-decoration: none; }
.prod__copy { display: flex; flex-direction: column; gap: 12px; }
.prod__ui { margin: 6px 0; }
.ui-shop { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .06); }
.ui-shop__card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: #fff; }
.ui-shop__card i { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #ffd9a8, #ff8a8f); }
.ui-shop__card:nth-child(2) i { background: linear-gradient(135deg, #b8d2ff, #6f8cff); }
.ui-shop__card:nth-child(3) i { background: linear-gradient(135deg, #b6f0cc, #39b56e); }
.ui-shop__card b { height: 7px; width: 80%; border-radius: 4px; background: #d9dce5; }
.ui-shop__card s { height: 7px; width: 45%; border-radius: 4px; background: var(--red); }
.ui-shop__cart { position: absolute; right: 14px; bottom: -14px; padding: 10px 14px; border-radius: 12px; background: var(--red); font-size: .8rem; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(218, 14, 23, .7); }
.ui-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.ui-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(#5a7bff, #2a3f8f); }
.ui-bars i:nth-child(4) { background: linear-gradient(#ff6a70, var(--red)); }
.ui-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-slots span { padding: 7px 11px; border: 1px solid var(--line-dark); border-radius: 10px; color: rgba(255, 255, 255, .6); font-size: .72rem; }
.ui-slots .on { border-color: #2ee07c; background: rgba(46, 224, 124, .14); color: #2ee07c; }
.ui-pipe { display: flex; gap: 6px; }
.ui-pipe span { display: flex; flex: 1; flex-direction: column; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .16); }
.ui-pipe b { font-size: .7rem; font-weight: 500; opacity: .85; }
.ui-pipe i { font-family: var(--display); font-size: 1.4rem; font-style: normal; font-weight: 600; }
.ui-flow { display: flex; align-items: center; gap: 6px; }
.ui-flow span { padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: .72rem; }
.ui-flow span:last-child { background: rgba(46, 224, 124, .16); color: #2ee07c; }
.ui-flow i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .4) 0 4px, transparent 4px 8px); }
.ui-ring { display: flex; align-items: center; gap: 14px; }
.ui-ring svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.ui-ring circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 3.4; }
.ui-ring circle.on { stroke: #2ee07c; stroke-linecap: round; }
.ui-ring b { font-family: var(--display); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.ui-ring small { display: block; color: rgba(255, 255, 255, .55); font-family: var(--sans); font-size: .72rem; font-weight: 500; }
.ui-kot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border: 1px dashed var(--line-dark); border-radius: 12px; font-size: .75rem; }
.ui-kot .on { padding: 4px 10px; border-radius: 999px; background: rgba(255, 184, 0, .16); color: #ffc43d; }

/* ========================================================== Icon tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .25s, box-shadow .3s var(--ease); }
.tile:hover { border-color: transparent; box-shadow: var(--shadow); }
.tile i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fdecec; color: var(--red); font-size: 1.4rem; }
.tile h3 { margin-top: 6px; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.tile p { color: var(--muted); font-size: .95rem; }

/* ============================================================ Industries */
.inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ind { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; overflow: hidden; padding: 26px; border-radius: var(--r-lg); background: var(--navy); color: #fff; text-decoration: none; isolation: isolate; }
.ind img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ind::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 26, 58, .1) 10%, rgba(11, 26, 58, .55) 45%, rgba(11, 26, 58, .96)); transition: background .4s; }
.ind:hover img { transform: scale(1.06); }
.ind:hover::before { background: linear-gradient(180deg, rgba(11, 26, 58, .25) 0%, rgba(11, 26, 58, .95)); }
.ind h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; }
.ind p { margin-top: 6px; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.ind__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .9rem; }

/* ============================================================ CTA banner */
.banner { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 150px) 0; background: var(--navy); color: #fff; isolation: isolate; text-align: center; }
.banner img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 50%, rgba(11, 26, 58, .7), rgba(11, 26, 58, .92)); }
.banner h2 { max-width: 20ch; margin: 0 auto; font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.8rem); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; word-spacing: .06em; }
.banner p { max-width: 50ch; margin: 18px auto 32px; color: rgba(255, 255, 255, .78); font-size: 1.1rem; }

/* ================================================================ Why us */
.whys { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.why:hover { background: var(--soft); }
.why__n { color: var(--red); font-family: var(--display); font-size: 1rem; font-weight: 600; }
.why h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.why p { color: var(--muted); font-size: .95rem; }

/* ========================================================= Testimonials */
.voices { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; align-items: stretch; }
.voice { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.voice__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.voice__head b { font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.voice__head i { color: var(--red); font-size: 1.8rem; line-height: 1; }
.voice__q { flex: 1; font-size: 1.02rem; line-height: 1.65; color: var(--text); }
.voice__who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.voice__av { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 600; }
.voice__av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.voice__name { display: block; font-weight: 700; }
.voice__meta { display: block; color: var(--muted); font-size: .85rem; }

.voice--video { position: relative; justify-content: flex-end; gap: 8px; min-height: 420px; overflow: hidden; border: 0; background: var(--navy); color: #fff; text-decoration: none; isolation: isolate; }
.voice--video video, .voice--video iframe { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; border: 0; }
.voice--video::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 26, 58, .25), rgba(11, 26, 58, .94)); }
.voice__play { position: absolute; top: 42%; left: 50%; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--red); font-size: 2rem; transform: translate(-50%, -50%); box-shadow: 0 0 0 12px rgba(218, 14, 23, .25); transition: transform .3s var(--ease); }
.voice--video:hover .voice__play { transform: translate(-50%, -50%) scale(1.08); }
.voice--video h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.voice--video p { color: rgba(255, 255, 255, .75); font-size: .95rem; }

/* ============================================================ Tech stack */
.tech__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tech__tab { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .92rem; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.tech__tab:hover { border-color: var(--navy); }
.tech__tab.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.tech__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 160px)); justify-content: center; gap: 14px; }
.tech__grid[hidden] { display: none; }
.tech__item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: .9rem; font-weight: 600; text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease); animation: rise .4s var(--ease) both; }
.tech__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tech__item img { width: 46px; height: 46px; object-fit: contain; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* =================================================================== FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 88px); }
.faq .lede { margin: 16px 0 26px; }
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow .3s; }
.acc details[open] { box-shadow: var(--shadow); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1.04rem; list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); font-weight: 400; transition: transform .3s var(--ease), background .3s, color .3s; }
.acc details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.acc p { padding: 0 22px 20px; color: var(--muted); }

/* ============================================================== Insights */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-lg); background: var(--soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__type { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--navy); font-size: .72rem; font-weight: 700; }
.post__sample { position: absolute; top: 14px; right: 14px; padding: 3px 8px; border-radius: 6px; background: #ffc43d; color: var(--navy); font-size: .65rem; font-weight: 700; }
.post__meta { margin-top: 18px; color: var(--muted); font-size: .82rem; }
.post__title { margin-top: 6px; font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.25; transition: color .2s; }
.post:hover .post__title { color: var(--red); }
.post__ex { margin-top: 8px; color: var(--muted); font-size: .95rem; }

/* =========================================================== Contact */
.contact { background: var(--navy) radial-gradient(60% 60% at 0% 100%, rgba(218, 14, 23, .22), transparent 60%); }
.contact__in { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact .lede { margin-top: 16px; }
.ticks { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.ticks i { margin-right: 10px; color: #2ee07c; }
.office { display: grid; gap: 12px; margin-top: 36px; }
.office__card { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .85); text-decoration: none; transition: border-color .2s; }
.office__card i { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.office__card small { display: block; color: rgba(255, 255, 255, .5); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
a.office__card:hover { border-color: rgba(255, 255, 255, .3); }

.form { padding: clamp(24px, 3.4vw, 42px); border-radius: var(--r-lg); background: #fff; color: var(--navy); }
.form__set { margin: 0 0 24px; padding: 0; border: 0; }
.form__set legend { margin-bottom: 12px; font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; transition: background .2s, border-color .2s, color .2s; }
.pills label:hover span { border-color: var(--navy); }
.pills input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--soft); color: var(--navy); font: inherit; font-size: 1rem; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.field.is-invalid input { border-color: var(--red); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.form__note { color: var(--muted); font-size: .85rem; }
.form__note a { color: var(--navy); }
.form__status { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: #e9f9ef; color: #1a7a43; font-weight: 600; }
.form__status.is-error { background: #fdecec; color: var(--red); }

/* ================================================================ Footer */
.ftr { padding: 72px 0 28px; background: #060f24; color: rgba(255, 255, 255, .7); }
.ftr__cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr) 1.4fr; gap: 28px; padding-bottom: 48px; }
.ftr__brand p { max-width: 32ch; margin-top: 24px; font-size: .93rem; }
.ftr__cols nav { display: flex; flex-direction: column; gap: 9px; }
.ftr__cols nav a, .ftr__contact a { color: rgba(255, 255, 255, .7); font-size: .92rem; text-decoration: none; }
.ftr__cols nav a:hover, .ftr__contact a:hover { color: #fff; }
.ftr__h { margin-bottom: 8px; color: #fff; font-size: 1rem; font-weight: 700; }
.ftr__h::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--red); }
.ftr__contact { display: flex; flex-direction: column; gap: 9px; font-size: .92rem; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.ftr__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.ftr__legal > span:last-child { display: flex; gap: 18px; }
.ftr__legal a { color: inherit; }

/* ============================================================ WhatsApp */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .25s var(--ease); }
.wa i { font-size: 1.4rem; }
.wa:hover { transform: translateY(-3px); }

/* ================================================================ Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================ Responsive */
@media (max-width: 1180px) {
    .hdr__phone { display: none; }
    .nav__link { padding: 10px; }
    .ftr__cols { grid-template-columns: repeat(3, 1fr); }
    .ftr__brand { grid-column: 1 / -1; }
    .voices { grid-template-columns: 1fr 1fr; }
    .voice--video { grid-column: 1 / -1; min-height: 340px; }
}

@media (max-width: 980px) {
    .nav { position: fixed; inset: 0; z-index: -1; overflow-y: auto; padding: 96px var(--gutter) 40px; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav { opacity: 1; visibility: visible; }
    body.nav-open .hdr { background: transparent; color: #fff; box-shadow: none; }
    body.nav-open .hdr .logo { background: #fff; }
    body.nav-open .hdr__burger span:first-child { transform: translateY(4px) rotate(45deg); }
    body.nav-open .hdr__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .nav__list { flex-direction: column; }
    .nav__link { width: 100%; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
    .nav__link:hover { background: none; }
    .mega, .mega--small { position: static; display: none; width: auto; margin: 8px 0 16px; padding: 18px; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
    .nav__item.is-open .mega, .nav__item.is-open .mega--small { display: block; transform: none; }
    .mega__grid--services, .mega__grid--products { grid-template-columns: 1fr; gap: 16px; }
    .hdr__burger { display: inline-block; }
    .hdr__actions { margin-left: auto; }
    .hdr__actions .btn { display: none; }

    .stats { grid-template-columns: 1fr 1fr; }
    .hero__foot { grid-template-columns: 1fr; gap: 34px; }
    .hero__trust-h { text-align: left; }
    .hero__logos { justify-content: flex-start; }
    .caps, .tiles, .inds, .posts { grid-template-columns: 1fr 1fr; }
    .whys { grid-template-columns: 1fr 1fr; }
    .bento { grid-template-columns: 1fr 1fr; }
    .prod--wide, .bento .prod:nth-child(6), .bento .prod:nth-child(7) { grid-column: span 2; }
    .prod--wide { grid-row: span 1; }
    .faq, .contact__in { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .hero__logo { width: calc((100% - 3 * 16px) / 4); height: 38px; }
    .hero__br { display: none; }
    .hero__logos { gap: 16px; }
    .stats, .caps, .tiles, .inds, .posts, .whys, .voices { grid-template-columns: 1fr; }
    .pf__grid { grid-template-columns: 1fr; }
    .pf__tags span { height: 26px; padding: 0 10px; font-size: .75rem; }
    .pf__all span { display: none; }
    .pf__meta, .pf__desc { padding: 0 4px; }
    .bento { grid-template-columns: 1fr; }
    .prod--wide, .bento .prod:nth-child(6), .bento .prod:nth-child(7) { grid-column: span 1; }
    .form__grid { grid-template-columns: 1fr; }
    .ftr__cols { grid-template-columns: 1fr 1fr; }
    .ind { min-height: 280px; }
    .wa span { display: none; }
    .wa { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------- Our Work: closing CTA tile */
/* Last cell of the grid: a dark card with a red glow in the top corner,
   centred heading, and a pill whose white dot floods it on hover. */
.mw__tile { position: relative; display: flex; align-items: center; justify-content: center; height: 500px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: radial-gradient(75% 65% at 100% 0%, rgba(216, 8, 16, .55) 0%, rgba(120, 4, 10, .25) 40%, transparent 70%), linear-gradient(160deg, #141414 0%, #0b0b0b 60%, #070707 100%); color: #fff; text-align: center; isolation: isolate; }
.mw__tile::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); pointer-events: none; }
.mw__tile-in { display: flex; flex-direction: column; align-items: center; max-width: 30rem; padding: 2rem; }
.mw__tile-h { margin: 0; color: #fff; font-family: var(--dm, 'DM Sans', sans-serif); font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 600; line-height: 1.22; letter-spacing: -.03em; }
.mw__tile-btn { position: relative; display: inline-flex; align-items: center; gap: .75rem; height: 3.25rem; margin-top: 2rem; padding: 3px 1.6rem 3px 3px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #fff; font-family: var(--dm, 'DM Sans', sans-serif); font-size: 1rem; font-weight: 600; text-decoration: none; transition: color .35s; }
.mw__tile-btn::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(3.25rem - 8px); border-radius: 999px; background: #fff; transition: width .5s cubic-bezier(.22, .61, .36, 1); }
.mw__tile-btn:hover { color: #0a0a0a; }
.mw__tile-btn:hover::before { width: calc(100% - 6px); }
.mw__tile-dot { position: relative; z-index: 1; display: grid; place-items: center; width: calc(3.25rem - 8px); height: calc(3.25rem - 8px); color: #0a0a0a; font-size: 1rem; transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.mw__tile-btn:hover .mw__tile-dot { transform: rotate(45deg); color: #d80810; }
.mw__tile-label { position: relative; z-index: 1; }
.mw__tile-note { margin: 1rem 0 0; color: rgba(255, 255, 255, .6); font-family: var(--dm, 'DM Sans', sans-serif); font-size: 1rem; }

@media (max-width: 1023px) { .mw__tile { height: 360px; } }
@media (max-width: 767px) { .mw__tile { height: auto; min-height: 300px; } .mw__tile-in { padding: 2.5rem 1.5rem; } }

/* Team photo: on hover only the face changes — an animal head pops over it. */
.tm__pet { position: relative; display: block; padding: 0; overflow: hidden; cursor: pointer; outline: none; }
.tm__photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center 20%; }
.tm__animal { position: absolute; z-index: 1; width: 40%; height: auto; opacity: 0; pointer-events: none; transform: scale(.4) rotate(-12deg); transform-origin: 50% 70%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); transition: opacity .2s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.tm__pet:hover .tm__animal, .tm__pet:focus-visible .tm__animal, .tm__pet.is-pet .tm__animal { opacity: 1; transform: scale(1) rotate(0); }
.tm__tag { position: absolute; left: 50%; bottom: .5rem; z-index: 2; padding: .2rem .6rem; border-radius: 999px; background: #d80810; color: #fff; font-family: var(--dbl-head, "Satoshi", sans-serif); font-size: .72rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(-50%, 6px) scale(.9); transition: opacity .3s .1s, transform .4s cubic-bezier(.34, 1.56, .64, 1) .1s; pointer-events: none; }
.tm__pet:hover .tm__tag, .tm__pet:focus-visible .tm__tag, .tm__pet.is-pet .tm__tag { opacity: 1; transform: translate(-50%, 0) scale(1); }
.tm__pet:focus-visible { outline: 2px solid #d80810; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .tm__animal { transform: none; transition: opacity .2s; }
    .tm__tag { transition: opacity .2s; }
}
