/* =========================================================
   Sandrinas Art — main stylesheet
   Soft pastel "atelier" layout + Sandrina brand colours
   ========================================================= */

:root {
    --bg: #f8f4ff;
    --bg-soft: #f1e9ff;
    --surface: #ffffff;
    --ink: #241e2f; /* brand dark */
    --ink-soft: #4a3f66;
    --muted: #6e6488;
    --line: rgba(42, 31, 69, 0.10);

    --purple: #6b0ae1;
    --purple-600: #5a08bf;
    --lilac: #d9c6ff;
    --pink: #ef60ba; /* brand pink */
    --pink-soft: #ffd6ee;
    --mint: #bef3e6; /* brand mint */
    --mint-deep: #80e8ce; /* brand teal */
    --lime: #b7fe29;
    --peach: #edc174; /* brand yellow */
    --brand-purple: #9854ec;
    --brand-magenta: #da6ebd;

    --grad: linear-gradient(120deg, var(--brand-purple) 0%, var(--brand-magenta) 55%, var(--pink) 100%);
    --grad-soft: linear-gradient(160deg, #efe4ff 0%, #ffe6f4 55%, #e3fbf4 100%);

    --ring: 0 0 0 4px #fff;
    --shadow: 0 0 0 4px #fff, 0 18px 40px -18px rgba(76, 30, 140, 0.35);
    --shadow-sm: 0 0 0 3px #fff, 0 8px 18px -10px rgba(76, 30, 140, 0.35);

    --font-display: "Boldonse", system-ui, sans-serif; /* prices, VArtist, decorative marks */
    /* Brand font is Ethnocentric; Orbitron is the free, web-safe look-alike */
    --font-heading: "Orbitron", "Lexend", system-ui, sans-serif;
    --font-subheading: "Lexend", "Outfit", system-ui, sans-serif;
    --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-round: "M PLUS Rounded 1c", "Outfit", sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --gutter: clamp(16px, 4vw, 40px);
    --max: 1180px;
    --nav-h: 0px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    position: relative;
    padding-block: clamp(64px, 10vw, 120px);
}

.section--tight {
    padding-block: clamp(40px, 6vw, 72px);
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(32px, 5vw, 56px);
}

.section-head p {
    color: var(--muted);
    margin-top: 12px;
}

/* ---------- Typography ---------- */
.display,
h1,
h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--ink);
    overflow-wrap: break-word;
    text-wrap: balance;
}

h1 {
    font-size: clamp(1.75rem, 5.5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.35rem, 3.8vw, 2.2rem);
}

h3 {
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
}

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.jp {
    font-family: var(--font-round);
    font-weight: 800;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 32px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background: var(--purple) url("../Sources/img/web/Pattern.webp") 45% 45% / 200% auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: box-shadow 0.3s ease, background-position 0.6s ease;
}

.btn:hover {
    background-position: 55% 40%;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.btn--outline {
    color: var(--ink);
    background: var(--surface);
    box-shadow: inset 0 0 0 2px var(--ink);
}

.btn--outline:hover {
    color: #fff;
    background: var(--ink);
    box-shadow: inset 0 0 0 2px var(--ink);
}

.btn--block {
    display: flex;
    width: 100%;
}

.text-link {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--purple);
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- Navigation ---------- */
.site-nav {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95) url("../Sources/img/web/Pattern.webp") 45% 45% / 150% auto no-repeat;
    background-blend-mode: lighten;
    font-family: var(--font-mono);
}

.nav-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 20px 5vw;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 28px;
}

.icon-link {
    display: block;
    flex: none;
    transition: transform 0.2s ease;
}

.icon-link:hover {
    transform: translateY(-3px);
}

.icon-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.icon-link img.vgen {
    width: 32px;
    height: 32px;
}


.mail-link {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.mail-link img {
    flex: none;
    width: 24px;
}

.nav-links .btn {
    white-space: nowrap;
}

/* small laptops: show only the envelope icon so everything fits on one line */
@media (min-width: 1361px) and (max-width: 1500px) {
    .nav-bar .mail-link {
        font-size: 0;
    }

    .nav-socials {
        gap: 18px;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-links a:not(.btn) {
        padding-inline: 10px;
    }
}

.nav-logo {
    display: block;
    width: clamp(220px, 22vw, 400px);
}

.nav-logo img {
    width: 100%;
}

.nav-menu {
    justify-self: end;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links a:not(.btn) {
    display: block;
    padding: 16px 12px;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"]:not(.btn) {
    color: var(--purple);
}

.nav-links a[aria-current="page"]:not(.btn) {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    position: relative;
    justify-self: end;
}

.nav-toggle span {
    position: absolute;
    left: 9px;
    right: 9px;
    height: 3px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 31px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile & tablet: logo left, hamburger right, sticky */
@media (max-width: 1360px) {
    :root {
        --nav-h: 72px;
    }

    .site-nav {
        position: sticky;
        top: 0;
        box-shadow: 0 2px 12px rgba(42, 31, 69, 0.08);
    }

    /* logo centred, menu button on the right */
    .nav-bar {
        grid-template-columns: 1fr auto 1fr;
        padding: 12px var(--gutter);
        height: var(--nav-h);
    }

    .nav-logo {
        grid-column: 2;
        grid-row: 1;
        width: 170px;
    }

    .nav-toggle {
        display: block;
        grid-column: 3;
        grid-row: 1;
    }

    /* full-screen menu: links on top, socials pinned to the bottom */
    .nav-menu,
    .nav-socials {
        position: fixed;
        left: 0;
        right: 0;
        background: #fff;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0.2s;
    }

    .nav-menu {
        justify-self: stretch;
        top: var(--nav-h);
        bottom: 0;
        overflow-y: auto;
        padding: 8px var(--gutter) 160px;
        border-top: 1px solid var(--line);
    }

    .nav-socials {
        bottom: 0;
        z-index: 1;
        flex-wrap: wrap;
        justify-content: center;
        gap: 28px;
        padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
    }

    .site-nav.is-open .nav-menu,
    .site-nav.is-open .nav-socials {
        visibility: visible;
        opacity: 1;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links a:not(.btn) {
        padding: 18px 4px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--line);
    }

    .nav-links .btn {
        display: flex;
        margin-top: 16px;
    }

    .mail-link {
        flex-basis: 100%;
        justify-content: center;
    }
}

/* ---------- Decorative blobs ---------- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.blob--pink { background: var(--pink-soft); }
.blob--mint { background: var(--mint); }
.blob--lilac { background: var(--lilac); }

/* ---------- VGen button (lime with the VGen logo inside) ---------- */
.btn-vgen {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 14px;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--lime);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-vgen:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.btn-vgen img {
    height: 20px;
    width: auto;
}

.btn-vgen--lg {
    padding: 16px 24px;
}

.btn-vgen--lg img {
    height: 28px;
}

.site-footer .btn-vgen {
    box-shadow: 4px 4px 0 #000;
}

/* ---------- Banner (home) ---------- */
.banner {
    background: rgba(255, 255, 255, 0.5) url("../Sources/img/web/blendBanner.webp") center / cover no-repeat;
    background-blend-mode: lighten;
    padding: 32px var(--gutter);
    min-height: calc(100vh - 150px);
    display: grid;
    place-items: center;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 32px);
}

.banner-text {
    width: max-content;
}

.banner-text h1 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0;
    font-size: clamp(64px, 9vw, 130px);
    line-height: 1.35;
    color: #000;
    margin-bottom: 8px;
}

.banner-text .btn {
    font-size: 1.25rem;
    padding: 24px 32px;
    margin-bottom: 32px;
}

.banner-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.banner-links .icon-link img {
    width: 50px;
    height: 50px;
}

.banner-links .icon-link img.vgen {
    width: 64px;
    height: 64px;
}


.banner-img img {
    height: min(calc(80vh - 64px), 800px);
    width: auto;
    animation: banner-float 7s ease-in-out infinite;
}

/* slow, dreamy float for the banner chibi and the shop sticker */
@keyframes banner-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-28px); }
}

@media (max-width: 760px) {
    .banner {
        min-height: auto;
        padding-block: 24px 48px;
    }

    .banner-inner {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .banner-img img {
        height: min(48vh, 420px);
    }

    .banner-text h1 {
        text-align: center;
    }

    .banner-text .btn {
        margin-bottom: 24px;
    }

    .banner-links .icon-link img {
        width: 40px;
        height: 40px;
    }

    .banner-links .icon-link img.vgen {
        width: 52px;
        height: 52px;
    }

}

/* ---------- Marquee ---------- */
.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 18px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
    --gap: 20px;
    display: flex;
    gap: var(--gap);
    width: max-content;
    animation: marquee var(--marquee-speed, 50s) linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee--reverse .marquee-track {
    animation-direction: reverse;
}

/* phones & touch screens: swipeable row instead of auto-scroll */
@media (max-width: 760px), (hover: none) {
    .marquee {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .marquee::-webkit-scrollbar {
        display: none;
    }

    .marquee-track {
        animation: none;
        padding-inline: var(--gutter);
    }

    .marquee-track > * {
        scroll-snap-align: start;
    }

    /* the repeated copies are only needed for the endless loop */
    .marquee-track > [aria-hidden="true"] {
        display: none;
    }
}

@keyframes marquee {
    to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}

.marquee-art {
    flex: none;
    height: clamp(180px, 26vw, 280px);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
}

.marquee-art img {
    height: 100%;
    width: auto;
}

.ribbon {
    background: var(--ink);
    color: #fff;
    transform: rotate(-1.5deg);
    margin-block: 8px;
}

.ribbon .marquee {
    padding-block: 14px;
    -webkit-mask-image: none;
    mask-image: none;
}

.ribbon .marquee-track {
    --gap: 28px;
}

.ribbon span {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    white-space: nowrap;
}

.ribbon span.star {
    color: var(--lime);
}

/* ---------- Cards ---------- */
.card {
    position: relative;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: clamp(22px, 3vw, 32px);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2.5vw, 28px);
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }
}

/* Service cards */
.service-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
}

.service-media {
    position: relative;
    aspect-ratio: 961 / 572;
    background: var(--grad-soft);
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.service-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 22px 24px 26px;
}

.service-body p {
    color: var(--muted);
    font-size: 0.98rem;
}

.service-foot {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-from {
    font-family: var(--font-round);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--muted);
}

.price-from strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--purple);
}

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-round);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 12px;
    background: var(--lime);
    box-shadow: var(--shadow-sm);
}

/* ---------- Shop hero (full width) ---------- */
.shop-hero {
    position: relative;
    margin-bottom: clamp(64px, 10vw, 120px);
}

.shop-hero-link {
    position: relative;
    display: block;
    overflow: hidden;
    padding-block: clamp(56px, 8vw, 96px);
    background: repeating-linear-gradient(-35deg, #ece1ff 0 40px, #f5efff 40px 80px);
}

/* scalloped top & bottom edges */
.shop-hero-link::before,
.shop-hero-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    height: 14px;
    background: radial-gradient(circle at 14px 14px, var(--bg) 13.5px, transparent 14px) repeat-x 0 0 / 28px 28px;
}

.shop-hero-link::before {
    top: 0;
    background-image: radial-gradient(circle at 14px 0, var(--bg) 13.5px, transparent 14px);
}

.shop-hero-link::after {
    bottom: 0;
}

.shop-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shop-circle {
    position: absolute;
    top: 50%;
    right: -8%;
    width: min(70vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--grad);
    opacity: 0.35;
    transform: translateY(-50%);
}

/* the character as tinted halftone dots */
.shop-halftone {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 135%;
    width: auto;
    max-width: none;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    filter: grayscale(1) sepia(1) hue-rotate(225deg) saturate(4);
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(circle, #000 42%, transparent 48%);
    mask-image: radial-gradient(circle, #000 42%, transparent 48%);
    -webkit-mask-size: 6px 6px;
    mask-size: 6px 6px;
}

.shop-dots {
    position: absolute;
    top: 10%;
    right: 3%;
    width: 220px;
    height: 154px;
    background: radial-gradient(circle, #fff 3px, transparent 3.5px) 0 0 / 22px 22px;
    opacity: 0.85;
}

.shop-deco {
    position: absolute;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--peach);
    animation: deco-twinkle 3s ease-in-out infinite;
}

.shop-deco--1 { top: 14%; left: 6%; }
.shop-deco--2 { bottom: 18%; left: 44%; font-size: 1.3rem; color: #fff; animation-delay: 1s; }
.shop-deco--3 { top: 22%; left: 52%; font-size: 1.1rem; animation-delay: 2s; }

.shop-deco--x {
    top: auto;
    bottom: 14%;
    left: 5%;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 4px;
    color: var(--pink);
    animation: none;
}

@keyframes deco-twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(0.7) rotate(20deg); opacity: 0.6; }
}

.shop-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}

.shop-copy h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-block: 14px 14px;
}

.shop-copy p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    max-width: 42ch;
    margin-bottom: 24px;
}

.shop-icon {
    display: inline-grid;
    place-items: center;
    transform: rotate(-6deg);
    transition: transform 0.3s ease;
}

.shop-hero-link:hover .shop-icon {
    transform: rotate(4deg) scale(1.08);
}

.shop-art {
    position: relative;
    z-index: 0;
    height: clamp(380px, 44vw, 600px);
}

/* text panel sits above the stickers so it stays readable */
.shop-copy {
    z-index: 2;
    justify-self: start;
    max-width: 540px;
    padding: clamp(24px, 3.5vw, 40px);
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.shop-sticker {
    position: absolute;
    width: 54%;
    border: 6px solid #fff;
    box-shadow: 0 14px 28px -12px rgba(36, 30, 47, 0.45);
    transition: transform 0.35s ease;
}

.shop-sticker--1 {
    left: -4%;
    top: 26%;
    transform: rotate(-9deg);
}

.shop-sticker--2 {
    left: 18%;
    top: -8%;
    transform: rotate(7deg);
}

.shop-chibi {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 92%;
    width: auto;
    filter: drop-shadow(0 12px 16px rgba(36, 30, 47, 0.3));
    animation: banner-float 7s ease-in-out infinite;
    animation-delay: -3.5s;
}

.shop-hero-link:hover .shop-sticker--1 {
    transform: rotate(-15deg) translate(-10px, -4px);
}

.shop-hero-link:hover .shop-sticker--2 {
    transform: rotate(13deg) translate(10px, -6px);
}

/* the little heart flies, its wings flap */
.shop-flyer {
    animation: flyer-bob 2.4s ease-in-out infinite;
}

.shop-flyer .wing {
    transform-box: fill-box;
    transform-origin: right center;
    animation: wing-flap 0.6s ease-in-out infinite alternate;
}

.shop-flyer .wing + .wing {
    transform-origin: left center;
}

@keyframes flyer-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes wing-flap {
    from { scale: 1 1; }
    to { scale: 1 0.6; }
}

@media (max-width: 760px) {
    .shop-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .shop-copy {
        justify-self: stretch;
        max-width: none;
    }

    .shop-copy p {
        margin-inline: auto;
    }

    .shop-art {
        order: -1;
        height: min(92vw, 400px);
        max-width: 420px;
        width: 100%;
        margin-inline: auto;
    }

    .shop-circle {
        top: 25%;
        right: -35%;
        width: 120vw;
    }

    .shop-dots {
        width: 100px;
        height: 70px;
    }

    .shop-halftone {
        opacity: 0.16;
    }

    .shop-deco--x {
        display: none;
    }

    .shop-sticker--1 {
        left: 1%;
    }

    .shop-sticker--2 {
        left: 22%;
    }
}

/* ---------- Testimonials ---------- */
.testimonials .marquee-track {
    align-items: stretch;
}

.quote-card {
    flex: none;
    width: min(380px, 82vw);
    display: flex;
    flex-direction: column;
    gap: 16px;
    white-space: normal;
}

.quote-card blockquote {
    color: var(--ink-soft);
    font-size: 0.98rem;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.star-row {
    display: flex;
    gap: 3px;
}

.star-row i {
    display: block;
    width: 22px;
    height: 22px;
    background: url("../Sources/Icons/star.svg") center / contain no-repeat;
}

.quote-avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--lime);
    box-shadow: 3px 3px 0 var(--ink);
}

.quote-author .quote-avatar img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    background: none;
    box-shadow: none;
}

.quote-link {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--purple);
    border-bottom: 2px solid var(--lime);
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.quote-link:hover {
    border-color: var(--purple);
}

.quote-source {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.review-summary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin-top: 14px;
    padding: 10px 18px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--lime);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-summary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.review-summary .star-row i {
    width: 20px;
    height: 20px;
    background-image: url("../Sources/Icons/star-black.svg");
}

/* the text always stays on one line; it shrinks on narrow phones */
.review-summary-parts {
    white-space: nowrap;
}

.review-summary-parts span + span::before {
    content: "·";
    margin-inline: 0.5em;
}

@media (max-width: 480px) {
    .review-summary {
        padding: 10px 12px;
        font-size: clamp(0.62rem, 3.1vw, 0.85rem);
    }
}

.quote-card blockquote::before {
    content: "“";
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1;
    height: 28px;
    color: var(--pink);
}

.quote-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-author img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    object-position: top;
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
}

.quote-author strong {
    display: block;
    line-height: 1.2;
}

.quote-author a {
    font-size: 0.88rem;
    color: var(--purple);
}

/* ---------- Follow me (socials) ---------- */
.social-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: clamp(16px, 2.5vw, 24px);
}

.social-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

.social-card:hover {
    transform: translateY(-4px) rotate(-0.4deg);
}

.social-card h3 {
    font-size: 1.15rem;
}

.social-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.social-card-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* featured X / Twitter card */
.social-card--main {
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: clamp(26px, 4vw, 40px);
    overflow: hidden;
    color: #fff;
    background: var(--ink);
}

.social-card--main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../Sources/img/web/Pattern.webp") center / cover no-repeat;
    opacity: 0.07;
    filter: invert(1);
    pointer-events: none;
}

.social-card--main > * {
    position: relative;
}

.social-card--main .social-card-icon {
    width: 56px;
    height: 56px;
    filter: brightness(0) invert(1);
}

.social-card--main h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.social-card--main p {
    color: #cfc6e6;
    font-size: 1.02rem;
    max-width: 40ch;
}

.social-card-label {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--mint);
    padding: 4px 10px;
}

.social-card-art {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin-block: 8px 10px;
}

.social-card-art img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    border: 4px solid #fff;
    transition: transform 0.3s ease;
}

.social-card-art img:nth-child(1) { transform: rotate(-3deg); }
.social-card-art img:nth-child(3) { transform: rotate(3deg); }

.social-card--main:hover .social-card-art img {
    transform: rotate(0) translateY(-4px);
}

.social-card-x {
    position: absolute;
    top: 26px;
    right: 26px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--pink);
}

@media (max-width: 820px) {
    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-card--main {
        grid-row: auto;
    }
}

@media (max-width: 420px) {
    .social-card {
        grid-template-columns: auto 1fr;
    }

    .social-card > .text-link,
    .social-card > .btn-vgen {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
}

.about-copy p + p {
    margin-top: 14px;
}

.about-copy .hello {
    font-size: clamp(2rem, 6vw, 3.2rem);
    margin-bottom: 18px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.stat {
    text-align: center;
    padding: 16px 10px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--purple);
}

.stat span {
    font-size: 0.85rem;
    color: var(--muted);
}

@media (max-width: 820px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        max-width: 400px;
        width: 100%;
        margin-inline: auto;
    }
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 820px;
    margin-inline: auto;
    display: grid;
    gap: 14px;
}

.faq details {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.05rem;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: var(--bg-soft);
    color: var(--purple);
    font-size: 1.3rem;
    font-weight: 600;
    transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
    background: var(--pink-soft);
}

.faq details > div {
    padding: 0 24px 22px;
    color: var(--ink-soft);
}

/* ---------- Info box (dashed box with the ribbon) ---------- */
.infobox {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(28px, 5vw, 48px) clamp(20px, 6vw, 64px);
    text-align: center;
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.5;
    background: var(--bg-soft);
    border: 4px dashed var(--purple);
}

.infobox h2 {
    margin-bottom: 18px;
}

.infobox p + p {
    margin-top: 1.2em;
}

.infobox .btn-row {
    justify-content: center;
    margin-top: 32px;
}

.infobox > .btn {
    margin-top: 32px;
}

.infobox::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -22px;
    width: 64px;
    height: 64px;
    background: url("../Sources/Icons/RibbonEye.png") center / contain no-repeat;
    transform-origin: 50% 60%;
    animation: ribbon-idle 3.2s ease-in-out infinite;
}

@media (max-width: 600px) {
    .infobox::after {
        right: -12px;
        bottom: -20px;
        width: 54px;
        height: 54px;
    }
}

/* little idle wiggle for the ribbon */
@keyframes ribbon-idle {
    0%, 100% { transform: rotate(14deg) translateY(0); }
    25% { transform: rotate(6deg) translateY(-4px); }
    50% { transform: rotate(16deg) translateY(-1px); }
    60% { transform: rotate(10deg) translateY(-3px) scale(1.05); }
    75% { transform: rotate(18deg) translateY(0); }
}

.tos-note {
    display: block;
    margin-top: 18px;
    font-size: 0.9rem;
    font-style: italic;
}

.tos-note a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Page header (subpages) ---------- */
.page-head {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 48px);
}

.page-head .blob--lilac { width: 420px; height: 420px; top: -200px; left: -100px; }
.page-head .blob--mint { width: 340px; height: 340px; top: -100px; right: -120px; }

.page-head > .container {
    position: relative;
    z-index: 1;
}

.page-head p {
    color: var(--muted);
    max-width: 620px;
    margin: 14px auto 0;
}

/* Pill tabs (anchor links on subpages) */
.pill-nav {
    position: sticky;
    top: calc(var(--nav-h) + 4px);
    z-index: 40;
    display: flex;
    justify-content: center;
    padding-inline: var(--gutter);
    margin-bottom: 8px;
}

.pill-nav ul {
    display: flex;
    gap: 6px;
    padding: 6px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.pill-nav ul::-webkit-scrollbar {
    display: none;
}

.pill-nav a {
    display: block;
    white-space: nowrap;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-soft);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pill-nav a:hover,
.pill-nav a.is-active {
    background: var(--ink);
    color: #fff;
}

/* phones: tabs share the full width so no label gets cut off */
@media (max-width: 600px) {
    .pill-nav ul {
        width: 100%;
        gap: 4px;
        padding: 4px;
    }

    .pill-nav li {
        flex: 1 1 0;
        min-width: 0;
    }

    .pill-nav a {
        padding: 10px 4px;
        font-size: 0.8rem;
        text-align: center;
    }
}

/* ---------- Portfolio: VTuber showcase ---------- */
.showcase-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.showcase-head p {
    color: var(--muted);
    margin-top: 6px;
}

.profile-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px 6px 18px;
    margin-bottom: 18px;
}

.profile-track::-webkit-scrollbar {
    display: none;
}

.profile-btn {
    flex: none;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 96px;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    text-align: center;
    color: var(--muted);
}

.profile-btn img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: top;
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-btn:hover img {
    transform: translateY(-3px);
}

.profile-btn[aria-pressed="true"] {
    color: var(--ink);
}

.profile-btn[aria-pressed="true"] img {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--pink), 0 10px 20px -10px rgba(76, 30, 140, 0.5);
}

.showcase {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(18px, 3vw, 32px);
    align-items: start;
}

.showcase--flip .showcase-stage {
    order: 2;
}

.showcase-stage {
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
    cursor: zoom-in;
}

.showcase-stage img {
    width: 100%;
    transition: opacity 0.3s ease;
}

.showcase-stage img.is-loading {
    opacity: 0.3;
}

.review-card {
    position: sticky;
    top: calc(var(--nav-h) + 80px);
    overflow: hidden;
}

.review-card .watermark {
    position: absolute;
    right: -10px;
    bottom: -18px;
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--bg-soft);
    pointer-events: none;
}

.review-card > :not(.watermark) {
    position: relative;
    z-index: 1;
}

.review-card blockquote {
    margin-top: 18px;
    color: var(--ink-soft);
}

.review-card blockquote:empty {
    display: none;
}

@media (max-width: 820px) {
    .showcase {
        grid-template-columns: 1fr;
    }

    .showcase--flip .showcase-stage {
        order: 0;
    }

    .review-card {
        position: relative;
        top: 0;
    }
}

/* ---------- Portfolio: masonry gallery ---------- */
.gallery {
    columns: 3 280px;
    column-gap: clamp(14px, 2vw, 24px);
}

.gallery-item {
    display: block;
    width: 100%;
    margin-bottom: clamp(14px, 2vw, 24px);
    break-inside: avoid;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-4px) rotate(-0.4deg);
}

.gallery-item img {
    width: 100%;
}

@media (max-width: 600px) {
    .gallery {
        columns: 2;
    }

    .gallery-item {
        box-shadow: var(--shadow-sm);
    }
}

/* ---------- Lightbox ---------- */
.lightbox {
    border: 0;
    padding: 0;
    margin: auto;
    background: transparent;
    max-width: 100vw;
    max-height: 100dvh;
    width: 100vw;
    height: 100dvh;
}

.lightbox::backdrop {
    background: rgba(26, 16, 46, 0.88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.lightbox-inner {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 64px 16px 24px;
}

.lightbox img {
    max-width: 100%;
    max-height: calc(100dvh - 96px);
    width: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: #fff;
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1;
}

/* ---------- Commission page ---------- */
.price-section + .price-section {
    margin-top: clamp(56px, 9vw, 110px);
}

.price-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    margin-bottom: clamp(32px, 5vw, 48px);
}

.price-head .media {
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--grad-soft);
}

.price-info {
    padding-block: 8px;
}

.price-info > p {
    color: var(--ink-soft);
    max-width: 52ch;
}

.price-info > p + p {
    margin-top: 12px;
}

/* price + title side by side, price first */
.price-title {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 24px);
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 2px dashed var(--lilac);
}

.price-tag {
    flex: none;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.price-tag small {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.price-tag strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    line-height: 1.3;
    color: var(--purple);
}

.price-name {
    min-width: 0;
    padding-left: clamp(16px, 3vw, 24px);
    border-left: 3px solid var(--purple);
}

.price-name h2 {
    font-size: clamp(1.1rem, 2.6vw, 1.5rem);
    line-height: 1.3;
}

.price-name p {
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 380px) {
    .price-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .price-name {
        padding-left: 14px;
    }
}

.includes {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.includes li {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.includes li::before {
    content: "✦";
    color: var(--pink);
    flex: none;
}

@media (max-width: 820px) {
    .price-head {
        grid-template-columns: 1fr;
    }
}

.price-list {
    display: grid;
    gap: 0;
    padding: 8px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}

.price-row + .price-row {
    border-top: 1px dashed var(--line);
}

.price-row:nth-child(even) {
    background: #fbf9ff;
}

.price-row .opt {
    font-weight: 600;
}

.price-row .opt small {
    display: block;
    font-weight: 400;
    font-size: 0.86rem;
    color: var(--muted);
}

.price-row .val {
    flex: none;
    font-family: var(--font-round);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--purple);
    text-align: right;
}

.price-row .val.free {
    color: var(--ink);
    background: var(--lime);
    padding: 2px 12px;
}

.price-row--base {
    background: var(--grad) !important;
    color: #fff;
    border: 0 !important;
}

.price-row--base .val {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.3rem;
}

.price-cta {
    text-align: center;
    margin-top: 28px;
}

.price-cta .tos-note {
    color: var(--muted);
}

/* ---------- Legal / text pages ---------- */
.doc {
    max-width: 860px;
    margin-inline: auto;
    display: grid;
    gap: clamp(18px, 3vw, 28px);
}

.doc .card h2 {
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    margin-bottom: 16px;
}

.doc .card h3 {
    font-size: 1.05rem;
    margin: 20px 0 6px;
}

.doc p + p {
    margin-top: 10px;
}

.doc ul {
    display: grid;
    gap: 10px;
}

.doc ul li {
    position: relative;
    padding-left: 24px;
}

.doc ul li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--pink);
}

.doc .card a {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-word;
}

.doc hr {
    border: 0;
    border-top: 2px dashed var(--lilac);
    margin-block: 8px;
}

.note {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--pink-soft);
}

.note--mint {
    background: var(--mint);
}

.note strong {
    display: block;
    margin-bottom: 4px;
}

.note ul li::before {
    color: var(--purple);
}

/* ---------- Media kit ---------- */
.mk-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(40px, 7vw, 80px) 0;
    background: repeating-linear-gradient(-35deg, #ece1ff 0 40px, #f5efff 40px 80px);
}

.mk-hero::after {
    content: "";
    position: absolute;
    right: -10%;
    top: 50%;
    width: min(70vw, 680px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--grad);
    opacity: 0.35;
    transform: translateY(-40%);
}

.mk-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 24px;
}

.mk-hero-copy {
    padding-bottom: clamp(40px, 6vw, 72px);
}

.mk-logo {
    width: min(320px, 70%);
    margin-bottom: 10px;
}

.mk-hero h1 {
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    margin-bottom: 14px;
}

.mk-hero p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    max-width: 46ch;
}

.mk-total {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 24px;
    padding: 12px 20px;
    background: var(--lime);
    box-shadow: 4px 4px 0 var(--ink);
    font-family: var(--font-mono);
    font-weight: 700;
}

.mk-total strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1.3;
}

.mk-hero-art {
    align-self: center;
    padding-bottom: clamp(40px, 6vw, 72px);
}

.mk-video {
    position: relative;
    transform: rotate(1.5deg);
}

.mk-video-poster,
.mk-video iframe {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    padding: 0;
    background: #000;
    box-shadow: var(--shadow);
    cursor: pointer;
    overflow: hidden;
}

.mk-video-poster > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mk-video-poster:hover > img {
    transform: scale(1.04);
}

.mk-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 76px;
    height: 76px;
    transform: translate(-50%, -50%);
    background: var(--purple) url("../Sources/img/web/Pattern.webp") 45% 45% / 300% auto;
    box-shadow: 0 0 0 4px #fff, 0 12px 24px -8px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease;
}

.mk-video-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent #fff;
}

.mk-video-poster:hover .mk-video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.mk-video-label {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--lime);
    box-shadow: 3px 3px 0 var(--ink);
}

.mk-video-label img {
    width: 18px;
    height: 18px;
}

.mk-video-note {
    margin-top: 12px;
    font-size: 0.8rem !important;
    color: var(--muted) !important;
    transform: rotate(-1.5deg);
}

.mk-video-note a {
    text-decoration: underline;
}

.mk-glance {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 2vw, 20px);
}

.mk-tile {
    text-align: center;
    padding: 22px 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.mk-tile strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.4;
    color: var(--purple);
}

.mk-tile span {
    font-size: 0.9rem;
    color: var(--muted);
}

.mk-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(16px, 2.5vw, 24px);
}

.mk-platforms > .mk-platform {
    margin-bottom: clamp(16px, 2.5vw, 24px);
}

/* each card shares the grid's rows, so head, text and stats line up across cards */
.mk-platform {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 14px;
    align-content: start;
    transition: transform 0.25s ease;
}

.mk-platform:hover {
    transform: translateY(-4px);
}

.mk-platform--main {
    grid-column: 1 / -1;
    color: #fff;
    background: var(--ink);
}

.mk-platform-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mk-platform-head img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mk-platform--main .mk-platform-head img {
    filter: brightness(0) invert(1);
}

.mk-platform-head .social-card-label {
    margin-left: auto;
}

.mk-handle,
.mk-note {
    font-size: 0.95rem;
    color: var(--muted);
}

.mk-platform--main .mk-handle,
.mk-platform--main .mk-note {
    color: #cfc6e6;
}

.mk-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 0 20px;
    padding-top: 14px;
    border-top: 2px dashed var(--lilac);
}

.mk-platform--main .mk-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-color: rgba(255, 255, 255, 0.2);
}

.mk-hint {
    justify-self: start;
    align-self: start;
    margin-top: 4px;
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    color: var(--ink);
    background: var(--lime);
}

/* numbers sit on one baseline even when a label wraps */
/* label, number and badge rows are shared, so numbers line up even when a label wraps */
.mk-stats > div {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 2px;
    margin-bottom: 12px;
}

.mk-stats dt {
    align-self: end;
}

.mk-stats dt {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

.mk-platform--main .mk-stats dt {
    color: #b9addb;
}

.mk-stats dd {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--purple);
}

.mk-platform--main .mk-stats dd {
    color: var(--lime);
}

.mk-audience {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: center;
}

.mk-countries {
    display: grid;
    gap: 12px;
}

.mk-bar {
    display: grid;
    grid-template-columns: 110px 1fr 48px;
    align-items: center;
    gap: 12px;
}

.mk-bar > div {
    height: 14px;
    background: var(--bg-soft);
}

.mk-bar i {
    display: block;
    height: 100%;
    background: var(--grad);
}

.mk-bar strong {
    text-align: right;
    color: var(--purple);
}

.mk-age {
    text-align: center;
}

.mk-age span {
    display: block;
    color: var(--muted);
}

.mk-age strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2rem;
    color: var(--purple);
}

.mk-service {
    padding: 0;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.mk-service:hover {
    transform: translateY(-4px);
}

.mk-service img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top;
}

.mk-service > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
}

.mk-clients {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.mk-client {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 96px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    color: var(--ink-soft);
}

.mk-client img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: top;
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.mk-client:hover img {
    transform: translateY(-3px) rotate(-3deg);
}

@media (max-width: 900px) {
    .mk-platforms {
        grid-template-columns: 1fr;
    }

    .mk-glance {
        grid-template-columns: repeat(2, 1fr);
    }

    .mk-audience {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .mk-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mk-hero-copy {
        padding-bottom: 0;
    }

    .mk-logo,
    .mk-hero p {
        margin-inline: auto;
    }

    .mk-hero-art {
        padding-bottom: 48px;
    }

    .mk-video {
        transform: none;
    }

    .mk-video-note {
        transform: none;
    }

    .mk-platform-head .social-card-label {
        display: none;
    }

    .mk-platform--main .mk-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: clamp(48px, 8vw, 96px);
    background: var(--ink);
    color: #e9e2fb;
    padding: clamp(40px, 6vw, 64px) 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 32px;
}

.footer-brand > img {
    width: 240px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #b9addb;
    max-width: 320px;
    font-size: 0.95rem;
}

.site-footer h3 {
    font-family: var(--font-round);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 14px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--pink-soft);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    color: #b9addb;
}

.site-footer .social-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

/* white icons on the dark footer */
.site-footer .icon-link img {
    filter: brightness(0) invert(1);
}

@media (max-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
