:root {
    --bg-color: #9dbbad;
    --bg-strong: #8fb3a3;
    --text-dark: #1E2535;
    --gallery-bg: #EBEAE8; 
    --purple-brand: #6b74b3; 
    --signal-red: #6b74b3;
    --signal-ink: #121723;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { background-color: var(--bg-color); font-family: 'Poppins', sans-serif; overflow-x: hidden; }

.site-wrapper { position: relative; top: 0; left: 0; width: 100%; margin: 0; padding: 0; overflow-x: hidden; }

.site-brand {
    position: fixed;
    top: clamp(16px, 3vw, 32px);
    left: clamp(16px, 4vw, 52px);
    z-index: 9991;
    width: clamp(54px, 6vw, 72px);
    height: clamp(48px, 5.4vw, 62px);
    display: grid;
    place-items: center;
    color: var(--text-dark);
    text-decoration: none;
    transform: translateZ(0);
    opacity: 1;
    filter: blur(0px);
    transition:
        opacity 0.28s ease,
        filter 0.28s ease,
        transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.24s ease;
}

.site-brand::before,
.site-brand::after {
    content: "" !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    border: 0 !important;
    opacity: 0 !important;
}

.site-brand::before {
    display: none !important;
}

.site-brand::after {
    display: none !important;
}

.site-brand-mark {
    width: clamp(31px, 4.2vw, 46px);
    aspect-ratio: 574.82 / 641.11;
    display: block;
    background: url("assets/artninja-logo.svg") center / contain no-repeat;
    transform: translateZ(0);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-brand:hover,
.site-brand:focus-visible {
    color: var(--purple-brand);
    outline: none;
}

.site-brand:hover .site-brand-mark,
.site-brand:focus-visible .site-brand-mark {
    transform: translate3d(3px, -3px, 0);
}

.arena-menu-toggle {
    position: fixed;
    top: clamp(16px, 3vw, 32px);
    right: clamp(16px, 4vw, 52px);
    z-index: 9990;
    width: clamp(82px, 9vw, 116px);
    height: clamp(48px, 5.4vw, 62px);
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr 34px;
    align-items: center;
    gap: 10px;
    padding: 0;
    transform: skewY(-8deg) translateZ(0);
    opacity: 1;
    filter: blur(0px);
    transition:
        opacity 0.28s ease,
        filter 0.28s ease,
        transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.24s ease;
}

body.is-chrome-hidden .site-brand {
    opacity: 0;
    pointer-events: none;
    filter: blur(7px);
    transform: translate3d(-18px, -84px, 0);
}

body.is-chrome-hidden .arena-menu-toggle {
    opacity: 0;
    pointer-events: none;
    filter: blur(7px);
    transform: translate3d(18px, -84px, 0) skewY(-8deg);
}

body.is-menu-open .site-brand,
body.is-menu-open .arena-menu-toggle {
    opacity: 1;
    pointer-events: auto;
    filter: blur(0px);
}

.arena-menu-toggle::before,
.arena-menu-toggle::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transform: skewX(-24deg);
}

.arena-menu-toggle::before {
    left: 0;
    right: 0;
    bottom: 6px;
    height: 2px;
    background: currentColor;
}

.arena-menu-toggle::after {
    right: -8px;
    bottom: -2px;
    width: 58%;
    height: 2px;
    background: var(--purple-brand);
}

.arena-menu-label {
    font-size: clamp(0.58rem, 0.75vw, 0.68rem);
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-align: right;
    transform: skewY(8deg);
}

.arena-menu-glyph {
    position: relative;
    width: 34px;
    height: 28px;
    display: block;
    transform: skewY(8deg);
}

.arena-menu-glyph span {
    position: absolute;
    right: 0;
    width: 31px;
    height: 3px;
    background: currentColor;
    transform: skewX(-28deg);
    transition: transform 0.28s ease, opacity 0.22s ease, width 0.28s ease, background-color 0.28s ease;
}

.arena-menu-glyph span:nth-child(1) { top: 4px; width: 24px; }
.arena-menu-glyph span:nth-child(2) { top: 13px; background: var(--purple-brand); }
.arena-menu-glyph span:nth-child(3) { top: 22px; width: 18px; }

.arena-menu-toggle:hover,
.arena-menu-toggle:focus-visible,
.arena-menu-toggle.is-open {
    color: var(--purple-brand);
    outline: none;
}

.arena-menu-toggle.is-open .arena-menu-glyph span:nth-child(1) {
    width: 31px;
    transform: translateY(9px) rotate(45deg) skewX(-18deg);
}

.arena-menu-toggle.is-open .arena-menu-glyph span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px) skewX(-28deg);
}

.arena-menu-toggle.is-open .arena-menu-glyph span:nth-child(3) {
    width: 31px;
    transform: translateY(-9px) rotate(-45deg) skewX(-18deg);
}

.arena-menu {
    position: fixed;
    inset: 0;
    z-index: 9988;
    width: 100%;
    min-height: 100dvh;
    color: var(--text-dark);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background:
        radial-gradient(circle at 86% 16%, rgba(107, 116, 179, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(235, 234, 232, 0.96), rgba(157, 187, 173, 0.98));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translate3d(0, -18px, 0);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.arena-menu::before {
    content: "";
    position: absolute;
    right: -8vw;
    top: 18vh;
    width: clamp(180px, 30vw, 460px);
    aspect-ratio: 1;
    border-top: clamp(18px, 2.8vw, 42px) solid rgba(107, 116, 179, 0.44);
    border-right: clamp(18px, 2.8vw, 42px) solid rgba(107, 116, 179, 0.44);
    transform: skewY(-30deg) rotate(30deg);
    pointer-events: none;
}

.arena-menu::after {
    content: "";
    position: absolute;
    left: 5vw;
    bottom: -4vh;
    width: clamp(180px, 30vw, 390px);
    aspect-ratio: 574.82 / 641.11;
    background: rgba(107, 116, 179, 0.18);
    -webkit-mask: url("assets/artninja-logo.svg") center / contain no-repeat;
    mask: url("assets/artninja-logo.svg") center / contain no-repeat;
    transform: skewX(-8deg) rotate(-4deg);
    pointer-events: none;
}

.arena-menu-ghost-mark {
    position: absolute;
    right: clamp(20px, 6vw, 88px);
    top: clamp(86px, 13vh, 150px);
    width: clamp(78px, 10vw, 140px);
    aspect-ratio: 574.82 / 641.11;
    background: rgba(30, 37, 53, 0.16);
    -webkit-mask: url("assets/artninja-logo.svg") center / contain no-repeat;
    mask: url("assets/artninja-logo.svg") center / contain no-repeat;
    transform: skewY(-8deg) rotate(8deg);
    pointer-events: none;
}

.arena-menu.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

.arena-menu-inner {
    position: relative;
    z-index: 1;
    width: min(88vw, 980px);
    min-height: 100dvh;
    margin: 0 auto;
    display: grid;
    align-content: center;
    gap: clamp(22px, 4vh, 46px);
}

.arena-menu-kicker {
    display: block;
    font-size: clamp(0.64rem, 1vw, 0.82rem);
    font-weight: 900;
    letter-spacing: 0.48em;
    text-transform: uppercase;
    color: var(--purple-brand);
}

.arena-menu-links {
    display: grid;
    gap: clamp(6px, 1.2vh, 16px);
}

.arena-menu a {
    position: relative;
    display: block;
    align-items: baseline;
    padding: clamp(4px, 0.8vh, 10px) 0;
    color: inherit;
    text-decoration: none;
    transform: skewX(-6deg) translateZ(0);
    transition: color 0.24s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease;
}

.arena-menu a span {
    display: none;
}

.arena-menu a strong {
    min-width: 0;
    font-size: clamp(2.65rem, 8vw, 7.8rem);
    line-height: 0.82;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: clamp(1px, 0.17vw, 2px) currentColor;
    text-shadow: 0.035em 0.035em 0 rgba(107, 116, 179, 0.34);
}

.arena-menu a:hover,
.arena-menu a:focus-visible {
    color: var(--purple-brand);
    transform: skewX(-6deg) translate3d(14px, 0, 0);
    outline: none;
}

/* TÄPSELT ORIGINAALNE, LISASIN AINULT UUE .1858 PIKKUSE: */
.master-bg-layer { position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none; transform: translate3d(0, 0, 0); backface-visibility: hidden; will-change: transform; transition: opacity 1.5s ease; }
.bg-base-picture { position: absolute; top: 0px; left: 0px; width: 300.726vw; aspect-ratio: 1172.7154 / 1924.1858; max-width: none; display: block; pointer-events: none; }
.bg-base-img { width: 100%; height: 100%; max-width: none; display: block; pointer-events: none; }
.bg-purple-wrap { position: absolute; top: 0; left: 0; width: 300.726vw; aspect-ratio: 1172.7154 / 1924.1858; max-width: none; pointer-events: none; will-change: transform; contain: layout paint; }
.bg-purple-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.bg-purple-desktop { display: none; }
#drawingPath { stroke-dasharray: 99999; stroke-dashoffset: 99999; }

.hero-section { position: relative; width: 100%; height: 100dvh; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; z-index: 10; overflow: hidden; }
.layer-text, .layer-ninja { position: absolute; left: 0; width: 100%; display: flex; justify-content: center; align-items: center; pointer-events: none; top: -16vh; height: 100%; }
.art-wrapper { z-index: 2; } .layer-ninja { z-index: 3; } .ni-wrapper { z-index: 4; } .nja-wrapper { z-index: 4; }
#ninja-canvas { width: 95%; max-width: 600px; height: auto; }
.anim-art { width: 50vw; margin-top: -33vh; margin-left: -15vw; }
.anim-ni { width: 23vw; margin-top: 46vh; margin-left: -53vw; }
.anim-nja { width: 46vw; margin-top: 44vh; margin-left: 25vw; }
.anim-art, .anim-ni, .anim-nja { transform: translate3d(0, 0, 0) rotate(0deg); transform-origin: 50% 50%; will-change: transform, filter, opacity; backface-visibility: hidden; }

@media (min-width: 621px) {
    .anim-ni { margin-top: 24vh; }
    .anim-nja { margin-top: 14vh; }
}

.hero-shard-field,
.hero-contact-reveal {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shard-field {
    z-index: 11;
    perspective: 900px;
    transform-style: preserve-3d;
}

.hero-shard {
    position: absolute;
    left: 50%;
    top: 44%;
    width: clamp(28px, 5vw, 78px);
    aspect-ratio: 1.38;
    background:
        linear-gradient(135deg, rgba(235, 234, 232, 0.94), rgba(107, 116, 179, 0.82) 52%, rgba(30, 37, 53, 0.88)),
        var(--purple-brand);
    clip-path: polygon(14% 0, 100% 18%, 84% 100%, 0 72%);
    opacity: 0;
    filter: blur(0px);
    transform: translate3d(-50%, -50%, 0) rotate(0deg);
    will-change: transform, opacity, filter;
}

.shard-b, .shard-e, .shard-h, .shard-k { clip-path: polygon(0 20%, 88% 0, 100% 78%, 18% 100%); }
.shard-c, .shard-f, .shard-i, .shard-l { clip-path: polygon(20% 0, 100% 0, 76% 100%, 0 62%); }
.shard-a { --tx: -34vw; --ty: -22vh; --rot: -34deg; --start: -8deg; --delay: 0.03s; }
.shard-b { --tx: 28vw; --ty: -26vh; --rot: 28deg; --start: 6deg; --delay: 0.04s; }
.shard-c { --tx: -22vw; --ty: 16vh; --rot: 18deg; --start: 12deg; --delay: 0.05s; }
.shard-d { --tx: 36vw; --ty: 13vh; --rot: -24deg; --start: -12deg; --delay: 0.06s; }
.shard-e { --tx: -12vw; --ty: -35vh; --rot: 58deg; --start: 16deg; --delay: 0.07s; }
.shard-f { --tx: 12vw; --ty: 32vh; --rot: -54deg; --start: -16deg; --delay: 0.08s; }
.shard-g { --tx: -40vw; --ty: 4vh; --rot: 42deg; --start: 10deg; --delay: 0.09s; }
.shard-h { --tx: 42vw; --ty: -5vh; --rot: -46deg; --start: -10deg; --delay: 0.1s; }
.shard-i { --tx: -26vw; --ty: -8vh; --rot: -18deg; --start: 5deg; --delay: 0.11s; }
.shard-j { --tx: 25vw; --ty: 24vh; --rot: 36deg; --start: -5deg; --delay: 0.12s; }
.shard-k { --tx: -6vw; --ty: 39vh; --rot: 64deg; --start: 14deg; --delay: 0.13s; }
.shard-l { --tx: 5vw; --ty: -39vh; --rot: -62deg; --start: -14deg; --delay: 0.14s; }

.hero-contact-reveal {
    z-index: 12;
    display: grid;
    place-items: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}

.hero-contact-reveal::before {
    content: "";
    position: absolute;
    inset: -12%;
    background:
        radial-gradient(circle at 50% 46%, rgba(235, 234, 232, 0.26), transparent 34%),
        linear-gradient(135deg, rgba(107, 116, 179, 0.12), transparent 42%, rgba(30, 37, 53, 0.08));
    opacity: 0.78;
    transform: skewY(-8deg) translate3d(0, 0, 0);
    pointer-events: none;
}

.hero-section.is-contact-open .hero-contact-reveal {
    position: fixed;
    inset: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.is-hero-contact-open .hero-contact-reveal {
    position: fixed;
    inset: 0;
    z-index: 9970;
    display: grid;
    place-items: center;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.is-hero-contact-dismissing .hero-contact-reveal {
    pointer-events: none;
}

.hero-finish-stack {
    position: relative;
    z-index: 2;
    width: min(92vw, 1120px);
    display: grid;
    gap: clamp(18px, 4vh, 42px);
    align-items: center;
    transform: translateY(clamp(-12px, -2vh, -4px));
}

.fight-result {
    position: relative;
    width: 100%;
    transform: translate3d(0, 34px, 0) scale(0.82);
    text-align: center;
    color: var(--signal-ink);
    opacity: 0;
    visibility: hidden;
    filter: blur(10px);
    pointer-events: none;
    transition:
        transform 0.58s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
        opacity 0.28s ease 0.08s,
        visibility 0.28s ease 0.08s,
        filter 0.4s ease 0.08s;
}

.fight-result::before {
    content: "fatality";
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    max-width: 92vw;
    margin: 0 auto clamp(18px, 3.2vh, 34px);
    transform: translateY(-0.12em) rotate(-4deg);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(4.8rem, 19vw, 16rem);
    line-height: 0.86;
    color: rgba(30, 37, 53, 0.24);
    white-space: nowrap;
    pointer-events: none;
}

.fight-result-kicker,
.fight-result strong,
.fight-result span:last-child {
    position: relative;
    z-index: 1;
}

.fight-result-kicker {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.74rem, 1.35vw, 1rem);
    font-weight: 900;
    letter-spacing: 0.56em;
    color: var(--signal-red);
    text-transform: uppercase;
    margin-bottom: clamp(6px, 0.9vw, 12px);
}

.fight-result strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(4.45rem, 15.5vw, 13.6rem);
    line-height: 0.76;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--gallery-bg);
    -webkit-text-stroke: clamp(1.5px, 0.25vw, 3px) var(--signal-ink);
    transform: skewX(-8deg) translateZ(0);
    text-shadow:
        0.04em 0.04em 0 rgba(107, 116, 179, 0.72),
        0.075em 0.075em 0 rgba(30, 37, 53, 0.18);
    text-wrap: balance;
}

.fight-result span:last-child {
    display: inline-block;
    margin-top: clamp(14px, 1.8vw, 26px);
    padding-top: clamp(8px, 1vw, 12px);
    border-top: 2px solid rgba(30, 37, 53, 0.62);
    font-size: clamp(0.68rem, 1.35vw, 0.98rem);
    font-weight: 900;
    letter-spacing: 0.38em;
    color: rgba(30, 37, 53, 0.78);
    text-transform: uppercase;
    transform: skewX(-10deg);
}

.hero-contact-panel {
    position: relative;
    width: min(100%, 1040px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 0.72fr 0.92fr;
    gap: clamp(20px, 4vw, 70px);
    transform: skewY(-8deg) translate3d(0, 36px, 0);
    opacity: 0;
    visibility: hidden;
    filter: blur(10px);
    transition:
        transform 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.28s,
        opacity 0.3s ease 0.28s,
        visibility 0.3s ease 0.28s,
        filter 0.44s ease 0.28s;
}

.hero-contact-panel::before {
    content: none !important;
}

.hero-section.is-contact-open #ninja-canvas {
    opacity: 0 !important;
    filter: blur(18px) contrast(1.9) saturate(0.18) !important;
    transform: translate3d(0, 26px, 0) scale(0.68) rotate(-7deg) !important;
    transition:
        transform 0.58s cubic-bezier(0.78, 0, 1, 0.38),
        opacity 0.22s ease 0.18s,
        filter 0.58s ease !important;
}

.hero-section.is-contact-open .anim-art,
.hero-section.is-contact-open .anim-ni,
.hero-section.is-contact-open .anim-nja {
    opacity: 0 !important;
    filter: blur(20px) !important;
    transition:
        transform 1.08s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease 0.78s,
        filter 0.52s ease 0.28s !important;
}

.hero-section.is-contact-open .anim-art { transform: translate3d(-64vw, -54vh, 0) rotate(-18deg) !important; }
.hero-section.is-contact-open .anim-ni { transform: translate3d(-62vw, 56vh, 0) rotate(-18deg) !important; }
.hero-section.is-contact-open .anim-nja { transform: translate3d(62vw, 56vh, 0) rotate(18deg) !important; }

.hero-section.is-contact-open .hero-shard {
    animation: heroShardBurst 0.72s var(--delay, 0.04s) both;
}

.hero-section.is-contact-open .fight-result {
    opacity: 1;
    visibility: visible;
    filter: blur(0px);
    transform: translate3d(0, 0, 0) scale(1);
}

body.is-hero-contact-open .fight-result {
    opacity: 1;
    visibility: visible;
    filter: blur(0px);
    transform: translate3d(0, 0, 0) scale(1);
}

.hero-section.is-contact-open .hero-contact-panel {
    opacity: 1;
    visibility: visible;
    filter: blur(0px);
    transform: skewY(-8deg) translate3d(0, 0, 0);
}

body.is-hero-contact-open .hero-contact-panel {
    opacity: 1;
    visibility: visible;
    filter: blur(0px);
    transform: skewY(-8deg) translate3d(0, 0, 0);
}

@keyframes heroShardBurst {
    0% {
        opacity: 0;
        visibility: hidden;
        filter: blur(0px);
        transform: translate3d(-50%, -50%, 0) rotate(var(--start, 0deg)) scale(0.55);
    }
    26% {
        opacity: 0.92;
        visibility: visible;
    }
    68% {
        opacity: 0.78;
        visibility: visible;
        filter: blur(2px);
        transform: translate3d(calc(-50% + var(--tx, 20vw)), calc(-50% + var(--ty, 20vh)), 0) rotate(var(--rot, 30deg)) scale(1);
    }
    100% {
        opacity: 0;
        visibility: hidden;
        filter: blur(10px);
        transform: translate3d(calc(-50% + var(--tx, 20vw)), calc(-50% + var(--ty, 20vh)), 0) rotate(var(--rot, 30deg)) scale(0.8);
    }
}

@keyframes fightResultReveal {
    0% {
        opacity: 0;
        visibility: hidden;
        filter: blur(10px);
        transform: translate3d(0, 34px, 0) scale(0.82);
    }
    18% {
        visibility: visible;
    }
    72% {
        opacity: 1;
        visibility: visible;
        filter: blur(0px);
        transform: translate3d(0, -4px, 0) scale(1.04);
    }
    100% {
        opacity: 1;
        visibility: visible;
        filter: blur(0px);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes contactPanelReveal {
    0% {
        opacity: 0;
        visibility: hidden;
        filter: blur(10px);
        transform: skewY(-8deg) translate3d(0, 36px, 0);
    }
    100% {
        opacity: 1;
        visibility: visible;
        filter: blur(0px);
        transform: skewY(-8deg) translate3d(0, 0, 0);
    }
}

@media (max-width: 620px) {
    @keyframes contactPanelReveal {
        0% {
            opacity: 0;
            visibility: hidden;
            filter: blur(10px);
            transform: skewY(-6deg) translate3d(0, 30px, 0);
        }
        100% {
            opacity: 1;
            visibility: visible;
            filter: blur(0px);
            transform: skewY(-6deg) translate3d(0, 0, 0);
        }
    }
}

.layer-ui { position: relative; z-index: 10; text-align: center; margin-bottom: clamp(58px, 9dvh, 108px); width: 100%; padding: 0 20px; pointer-events: auto; }
.mobile-hero-ui { display: none; }
.mobile-hero-ui-fixed { display: none; }
.hero-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(1.3rem, 5vw, 1.7rem); color: var(--text-dark); margin-bottom: 10px; letter-spacing: 0.02em; }
.hero-service-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 30px);
    width: fit-content;
    margin: 0 auto 22px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.58rem, 1.8vw, 0.72rem);
    font-weight: 900;
    letter-spacing: 0.24em;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(30, 37, 53, 0.66);
    white-space: nowrap;
}
.hero-service-strip span + span { position: relative; }
.hero-service-strip span + span::before {
    content: "";
    position: absolute;
    left: calc(clamp(12px, 3vw, 30px) * -0.5);
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: var(--purple-brand);
    transform: translate(-50%, -50%);
}
.cta-button { display: block; margin: 0 auto; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.2em; color: var(--text-dark); background: transparent; border: 1.5px solid var(--text-dark); border-radius: 50px; padding: 16px 0; width: 85%; max-width: 340px; text-transform: uppercase; cursor: pointer; transition: background-color 0.32s ease, color 0.32s ease, border-color 0.32s ease, transform 0.32s ease; }
.cta-button:disabled { background: transparent; color: rgba(30, 37, 53, 0.42); }
@media (hover: hover) and (pointer: fine) {
    .cta-button:hover { background-color: var(--text-dark); color: var(--bg-color); transform: scale(0.98); }
}
.hero-section.is-contact-open .cta-button { background: transparent; border-color: rgba(30, 37, 53, 0.22); color: rgba(30, 37, 53, 0.42); pointer-events: none; }
.hero-section.is-contact-open .layer-ui { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease; }
.hero-section.is-contact-open .mobile-hero-ui { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.22s ease, transform 0.22s ease; }
body.is-hero-contact-open .mobile-hero-ui-fixed,
body.is-hero-contact-dismissing .mobile-hero-ui-fixed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body:not(.hero-intro-ready) #ninja-canvas { opacity: 0 !important; visibility: hidden !important; transform: scale(0.9) translateY(4vh); }
body:not(.hero-intro-ready) .site-brand,
body:not(.hero-intro-ready) .arena-menu-toggle,
body:not(.hero-intro-ready) .anim-art,
body:not(.hero-intro-ready) .anim-ni,
body:not(.hero-intro-ready) .anim-nja,
body:not(.hero-intro-ready) .master-bg-layer { opacity: 0 !important; visibility: hidden !important; transform: translateY(3vh); }

@media (min-width: 621px) {
    body:not(.hero-intro-ready) .hero-title,
    body:not(.hero-intro-ready) .hero-service-strip,
    body:not(.hero-intro-ready) .cta-button,
    body:not(.hero-ui-ready) .hero-title,
    body:not(.hero-ui-ready) .hero-service-strip,
    body:not(.hero-ui-ready) .cta-button {
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

@media (max-width: 620px) {
    .hero-ui-primary {
        display: none !important;
    }
    .mobile-hero-ui {
        display: none !important;
    }
    .mobile-hero-ui-fixed {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(64px, 9dvh, 104px));
        z-index: 14;
        width: 100%;
        padding: 0 20px;
        text-align: center;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transform: translate3d(0, 8px, 0);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }
    body.mobile-hero-ui-visible .mobile-hero-ui-fixed {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0);
    }
    .mobile-hero-title {
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-size: clamp(1.3rem, 5vw, 1.7rem);
        color: var(--text-dark);
        margin-bottom: 10px;
        letter-spacing: 0.02em;
        opacity: 1;
        visibility: visible;
    }
    .mobile-hero-service-strip {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 13px;
        width: fit-content;
        margin: 0 auto 18px;
        font-family: 'Poppins', sans-serif;
        font-size: clamp(0.5rem, 2.35vw, 0.62rem);
        font-weight: 900;
        letter-spacing: 0.18em;
        line-height: 1;
        text-transform: uppercase;
        color: rgba(30, 37, 53, 0.66);
        white-space: nowrap;
        opacity: 1;
        visibility: visible;
    }
    .mobile-hero-service-strip span + span {
        position: relative;
    }
    .mobile-hero-service-strip span + span::before {
        content: "";
        position: absolute;
        left: -7px;
        top: 50%;
        width: 2px;
        height: 2px;
        border-radius: 999px;
        background: var(--purple-brand);
        transform: translate(-50%, -50%);
    }
    .mobile-cta-button {
        display: block;
        margin: 0 auto;
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: 0.2em;
        color: var(--text-dark);
        background: transparent;
        border: 1.5px solid var(--text-dark);
        border-radius: 50px;
        padding: 16px 0;
        width: 85%;
        max-width: 340px;
        text-transform: uppercase;
        cursor: pointer;
        transition: background-color 0.32s ease, color 0.32s ease, border-color 0.32s ease, transform 0.32s ease;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .mobile-cta-button:disabled {
        background: transparent;
        color: rgba(30, 37, 53, 0.42);
    }
    body:not(.hero-intro-ready) .hero-title,
    body:not(.hero-intro-ready) .hero-service-strip,
    body:not(.hero-intro-ready) .cta-button,
    body:not(.hero-ui-ready) .hero-title,
    body:not(.hero-ui-ready) .hero-service-strip,
    body:not(.hero-ui-ready) .cta-button {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (min-width: 621px) {
    .layer-ui { margin-bottom: clamp(18px, 3dvh, 44px); }
}

.manifesto-section { position: relative; width: 100%; background-color: transparent; z-index: 10; }
.horizontal-container { height: 100vh; width: 300vw; display: flex; flex-wrap: nowrap; will-change: transform; }
.slide { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 10vw; flex-shrink: 0; }
.slide,
.slide-content { overflow: visible; }
.slide-content { max-width: 600px; z-index: 5; }
.serif-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(2.5rem, 8vw, 4rem); line-height: 1.12; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 0.08em; }
.poppins-text { font-family: 'Poppins', sans-serif; font-size: 1.1rem; line-height: 1.6; color: var(--text-dark); opacity: 0.8; }
.slide-image-placeholder { width: 40vw; height: 60vh; margin-right: 5vw; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: transparent; }
.manifesto-profile-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.est-tag { display: inline-block; margin-top: 30px; font-weight: 700; letter-spacing: 0.3em; font-size: 0.8rem; border-top: 1px solid var(--text-dark); padding-top: 10px; }

@media (max-width: 768px) { .slide { flex-direction: column; text-align: center; padding: 0 5vw; } .slide-image-placeholder { width: 80vw; height: 80vw; margin: 0 0 20px 0; } }

.wheel-section { position: relative; width: 100%; background-color: transparent; overflow: hidden; line-height: 0; z-index: 10; margin-top: -24vh; }
#wheel-canvas { display: block; width: 100%; background: transparent; }
.wheel-static-svg { display: none; width: 100%; height: auto; background: transparent; pointer-events: none; user-select: none; image-rendering: auto; }

.wheel-text-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 15; }
.wt-pos { position: absolute; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15)); }

.pos-3dweb { top: 38%; left: 16%; }
.pos-motion { top: 20%; right: 12%; }
.pos-branding { bottom: 25%; right: 18%; }

.optical-field {
    backdrop-filter: blur(10px) brightness(0.75);
    -webkit-backdrop-filter: blur(10px) brightness(0.75);
    padding: 24px 32px;
    border-radius: 20px;
    border: 1px solid rgba(247, 245, 240, 0.05);
    opacity: 0;
    will-change: transform, opacity;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.micro-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--purple-brand);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.kinetic-word {
    position: relative;
    display: inline-block;
    overflow: visible; 
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 6rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    white-space: nowrap;
}

.stroke-dark {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-dark);
    will-change: transform, opacity, filter, clip-path;
}

.fill-cream {
    position: absolute;
    top: 0; left: 0;
    color: var(--gallery-bg);
    -webkit-text-stroke: 0px;
    will-change: clip-path;
}

@media (max-width: 768px) {
    .pos-3dweb { top: 32%; left: 5%; }
    .pos-motion { top: 12%; right: 5%; }
    .pos-branding { bottom: 18%; right: 8%; }
    .optical-field { padding: 16px 20px; }
    .micro-label { font-size: 0.6rem; margin-bottom: 8px; }
}

.portfolio-section { position: relative; width: 100%; padding-bottom: clamp(28px, 4vw, 64px); z-index: 1; background: transparent; }

.gallery-mask { position: absolute; inset: 0; background: var(--gallery-bg); z-index: 1; opacity: 0; will-change: opacity; }

.portfolio-transition-hide {
    position: absolute;
    top: -275px !important;
    left: 57.5%;
    width: 540px;
    aspect-ratio: 357.633 / 646.8296;
    transform: translateX(-50%) translateZ(0);
    z-index: 2;
    pointer-events: none;
    
    clip-path: polygon(74.2092% 21.04%, 58.1116% 15.9036%, 58.1116% 21.4136%, 49.6482% 18.6389%, 41.6747% 21.2435%, 41.4947% 21.1873%, 41.0977% 21.0634%, 32.8186% 18.4789%, 26.1626% 20.6034%, 24.7413% 21.04%, 24.2281% 61.6355%, 74.2458% 61.607%, 74.2092% 21.04%);
    
    background-color: var(--bg-color); 
    will-change: background-color;
}

.portfolio-transition-base,
.portfolio-transition-purple { 
    position: absolute; 
    top: -275px !important; 
    left: 57.5%; 
    width: 540px; 
    transform: translateX(-50%) translateZ(0); 
    will-change: clip-path; 
    pointer-events: none;
    display: block;
}

.portfolio-transition-base { 
    z-index: 3; 
    clip-path: circle(0% at 50% 15%);
    -webkit-clip-path: circle(0% at 50% 15%);
}

.portfolio-transition-purple { 
    z-index: 4; 
    clip-path: circle(0% at 50% 15%);
    -webkit-clip-path: circle(0% at 50% 15%);
}

.portfolio-content { position: relative; z-index: 10; opacity: 0; padding-top: 300px; }
.portfolio-header-new { padding: 0 6vw; margin-bottom: 20px; text-align: left; }
.portfolio-label-new { font-family: 'Poppins', sans-serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.3em; color: rgba(30, 37, 53, 0.5); text-transform: uppercase; }
.purple-color { color: var(--purple-brand); }
.portfolio-category-new { position: relative; margin-bottom: clamp(20px, 4vh, 52px); width: 100%; }
.portfolio-category-new:last-child { margin-bottom: 0; }
.cat-title-new { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(2.8rem, 7vw, 6rem); color: var(--text-dark); text-align: left; padding-left: 6vw; margin-bottom: 50px; position: relative; z-index: 4; line-height: 1; }
.cat-images-wrap { display: flex; flex-direction: column; gap: 0; width: 100%; overflow: hidden; padding-bottom: clamp(30px, 5vh, 70px); }
.port-img-wrap { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; will-change: transform, skewY; aspect-ratio: var(--img-ratio, 16/9); }
.portfolio-detail-right { position: absolute; top: 5%; right: -2vw; width: 20vw; max-width: 200px; z-index: -1; pointer-events: none; will-change: transform, clip-path; }
.portfolio-detail-right img { width: 100%; height: auto; display: block; opacity: 1; }
@media (max-width: 768px) { .portfolio-detail-right { width: 35vw; right: -0vw; top: -110px; } }
.noise-overlay { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); opacity: 0.15; mix-blend-mode: overlay; pointer-events: none; z-index: 2; transition: opacity 0.5s ease; }
.port-img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: 0 20px 40px rgba(0,0,0,0.08); will-change: transform, filter; transform-origin: center center; }
.img-center { align-self: center; width: 65vw; max-width: 1000px; }
.img-left { align-self: flex-start; width: 45vw; max-width: 700px; margin-left: 6vw; }
.img-right { align-self: flex-end; width: 45vw; max-width: 700px; margin-right: 6vw; }
@media (max-width: 768px) { .img-center { width: 85vw; } .img-left { width: 75vw; margin-left: 5vw; } .img-right { width: 75vw; margin-right: 5vw; } }

.clients-section {
    position: relative;
    z-index: 12;
    background: var(--gallery-bg);
    color: var(--text-dark);
    overflow: hidden;
    min-height: 100svh;
    display: grid;
    align-items: center;
    perspective: 1200px;
    padding: clamp(34px, 5vw, 72px) 6vw clamp(54px, 8vw, 104px);
}

.clients-pin-spacer {
    background: var(--gallery-bg);
}

.clients-inner {
    width: min(100%, 1480px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(230px, 0.48fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 82px);
    align-items: center;
    transform-style: preserve-3d;
}

.clients-copy {
    position: relative;
    align-self: center;
}

.clients-kicker {
    display: block;
    margin-bottom: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(30, 37, 53, 0.48);
}

.clients-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(2.35rem, 6.4vw, 5.65rem);
    line-height: 0.94;
    color: var(--text-dark);
    max-width: 9ch;
}

.clients-note {
    margin-top: 22px;
    max-width: 360px;
    font-size: clamp(0.9rem, 1.25vw, 1.02rem);
    line-height: 1.58;
    color: rgba(30, 37, 53, 0.64);
}

.client-logo-cloud {
    --logo-color-filter: brightness(0) saturate(100%) invert(63%) sepia(4%) saturate(314%) hue-rotate(181deg) brightness(90%) contrast(85%);
    --logo-focus-filter: brightness(0) saturate(100%) invert(33%) sepia(8%) saturate(620%) hue-rotate(183deg) brightness(88%) contrast(90%);
    --logo-dark-filter: var(--logo-color-filter);
    --logo-dark-focus-filter: var(--logo-focus-filter);
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(128px, 1fr));
    gap: clamp(28px, 4.8vw, 72px) clamp(26px, 4.4vw, 66px);
    align-items: center;
    transform: rotate(-1deg) translateZ(0);
    transform-origin: center;
    will-change: transform;
    isolation: isolate;
}

.client-logo-item {
    position: relative;
    min-height: clamp(58px, 7vw, 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    contain: layout paint;
    isolation: isolate;
}

.client-logo-item:nth-child(2),
.client-logo-item:nth-child(5),
.client-logo-item:nth-child(8) { transform: translateY(-12px); }

.client-logo-item:nth-child(3),
.client-logo-item:nth-child(6),
.client-logo-item:nth-child(10) { transform: translateY(12px); }

.client-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, var(--logo-w, 180px));
    max-height: var(--logo-h, 58px);
    height: auto;
    object-fit: contain;
    filter: var(--logo-color-filter);
    opacity: 0.82;
    mix-blend-mode: multiply;
    transform: translate3d(0, 0, 0);
    transition: filter 0.28s ease, opacity 0.28s ease;
}

.client-logo.logo-force-dark { filter: var(--logo-dark-filter); }
.logo-mindvalley { --logo-w: 226px; --logo-h: 42px; }
.logo-eesti-loto { --logo-w: 188px; --logo-h: 50px; }
.logo-tallink { --logo-w: 172px; --logo-h: 54px; }
.logo-endover { --logo-w: 188px; --logo-h: 44px; }
.logo-biaks { --logo-w: 142px; --logo-h: 46px; }
.logo-terviseamet { --logo-w: 220px; --logo-h: 64px; }
.logo-myfitness { --logo-w: 178px; --logo-h: 46px; }

/* Terviseamet: grayscale preserves shield relief — brightness(0) would flatten it */
.client-logo.logo-terviseamet {
    filter: grayscale(100%) brightness(0.72) contrast(0.88);
}
.logo-moon { --logo-w: 86px; --logo-h: 92px; }
.logo-astri { --logo-w: 176px; --logo-h: 54px; }
.logo-platz { --logo-w: 82px; --logo-h: 88px; }

.client-logo-cloud:hover .client-logo,
.client-logo-cloud:focus-within .client-logo {
    opacity: 0.58;
}

.client-logo-item:hover .client-logo,
.client-logo-item:active .client-logo,
.client-logo-item:focus-within .client-logo {
    filter: var(--logo-focus-filter);
    opacity: 0.98;
}

.client-logo-item:hover .logo-force-dark,
.client-logo-item:active .logo-force-dark,
.client-logo-item:focus-within .logo-force-dark {
    filter: var(--logo-dark-focus-filter);
}

.client-logo-item:hover .logo-terviseamet,
.client-logo-item:active .logo-terviseamet,
.client-logo-item:focus-within .logo-terviseamet {
    filter: grayscale(100%) brightness(0.72) contrast(0.88);
    opacity: 0.9;
}

@media (max-width: 980px) {
    .clients-inner { grid-template-columns: 1fr; gap: 44px; }
    .clients-title { max-width: 12ch; }
    .clients-note { max-width: 620px; }
    .client-logo-cloud { transform: none; grid-template-columns: repeat(3, minmax(96px, 1fr)); gap: 28px 34px; }
}

@media (max-width: 620px) {
    .clients-section { padding: 38px 6vw 66px; }
    .clients-inner { gap: 34px; }
    .clients-title { font-size: clamp(2.25rem, 13vw, 4.2rem); }
    .clients-note { margin-top: 18px; }
    .client-logo-cloud {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }
    .client-logo-item { min-height: 64px; transform: none !important; }
    .client-logo { width: min(100%, calc(var(--logo-w, 168px) * 0.74)); max-height: calc(var(--logo-h, 58px) * 0.78); }
    .logo-platz { --logo-w: 72px; --logo-h: 76px; }
    .logo-moon { --logo-w: 72px; --logo-h: 78px; }
    .logo-biaks { --logo-w: 126px; --logo-h: 42px; }
    .logo-terviseamet { --logo-w: 220px; --logo-h: 60px; }
    .logo-myfitness { --logo-w: 150px; --logo-h: 42px; }
}

.field-notes-section {
    --field-pad-top: clamp(58px, 7vw, 104px);
    --field-pad-bottom: clamp(22px, 3.5vw, 44px);
    --field-focus-shift: clamp(-84px, -7.5vh, -34px);
    position: relative;
    z-index: 12;
    overflow: hidden;
    background: var(--bg-color);
    color: var(--text-dark);
    min-height: 100svh;
    display: grid;
    align-items: stretch;
    padding: var(--field-pad-top) 6vw var(--field-pad-bottom);
}

.finale-depth-wash {
    position: fixed;
    inset: 0;
    z-index: 13;
    background: var(--gallery-bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateZ(0);
    will-change: opacity, visibility, background-color;
}

.field-notes-depth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    min-height: 100svh;
    display: grid;
    align-items: center;
    background: var(--bg-color);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateZ(0);
    will-change: opacity, visibility;
}

.field-notes-depth-overlay.is-interactive {
    pointer-events: auto;
}

.field-notes-depth-overlay .field-notes-inner {
    width: min(100%, 1320px);
    transform-origin: 50% 50%;
    will-change: transform, opacity, filter;
}

.field-notes-section::before,
.field-notes-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transform: skewY(-30deg) rotate(30deg);
}

.field-notes-section::before {
    right: -8vw;
    top: 10%;
    width: clamp(180px, 30vw, 430px);
    aspect-ratio: 1;
    border-top: clamp(18px, 2.6vw, 38px) solid rgba(107, 116, 179, 0.58);
    border-right: clamp(18px, 2.6vw, 38px) solid rgba(107, 116, 179, 0.58);
}

.field-notes-section::after {
    left: -12vw;
    bottom: 4%;
    width: clamp(220px, 36vw, 520px);
    aspect-ratio: 1.35;
    border-bottom: 2px solid rgba(30, 37, 53, 0.28);
    border-left: 2px solid rgba(30, 37, 53, 0.28);
}

.field-notes-brand-mark {
    position: absolute;
    right: clamp(26px, 9vw, 140px);
    top: clamp(34px, 8vw, 110px);
    width: clamp(82px, 12vw, 160px);
    aspect-ratio: 574.82 / 641.11;
    background: rgba(30, 37, 53, 0.08);
    -webkit-mask: url("assets/artninja-logo.svg") center / contain no-repeat;
    mask: url("assets/artninja-logo.svg") center / contain no-repeat;
    transform: skewY(-8deg) rotate(6deg);
    pointer-events: none;
}

.field-notes-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1320px);
    min-height: calc(100svh - var(--field-pad-top) - var(--field-pad-bottom));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(360px, 1fr);
    column-gap: clamp(34px, 7vw, 104px);
    row-gap: clamp(14px, 2.2vw, 28px);
    align-content: center;
    align-items: center;
}

.field-notes-inner .site-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: max(18px, env(safe-area-inset-bottom));
    min-height: 0;
    align-self: end;
    margin-top: 0;
    padding: 0;
    background: transparent;
    overflow: visible;
}

.field-notes-inner .site-footer::before {
    display: none;
}

.field-notes-copy {
    position: relative;
}

.field-notes-copy::before {
    content: "player two";
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    max-width: 92vw;
    margin: 0 0 clamp(14px, 2.1vh, 28px) clamp(10px, 1.8vw, 24px);
    transform: translateY(-0.12em) rotate(-3deg);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(3rem, 8.4vw, 9rem);
    line-height: 0.86;
    color: rgba(30, 37, 53, 0.24);
    white-space: nowrap;
    pointer-events: none;
}

.field-notes-kicker,
.field-notes-title {
    position: relative;
    z-index: 1;
}

.field-notes-copy::after {
    content: "KO";
    position: absolute;
    right: clamp(4px, 3vw, 48px);
    bottom: -0.34em;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3.4rem, 10vw, 11rem);
    line-height: 0.8;
    font-weight: 900;
    letter-spacing: 0;
    color: transparent;
    -webkit-text-stroke: 2px rgba(107, 116, 179, 0.34);
    transform: skewX(-10deg);
    z-index: -1;
}

.field-notes-kicker {
    display: none;
    margin-bottom: clamp(12px, 1.5vw, 18px);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.46em;
    text-transform: uppercase;
    color: var(--signal-red);
}

.field-notes-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(4rem, 10.5vw, 12rem);
    line-height: 0.75;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--gallery-bg);
    -webkit-text-stroke: clamp(1.5px, 0.22vw, 3px) var(--text-dark);
    transform: skewX(-8deg);
    text-shadow:
        0.035em 0.035em 0 rgba(107, 116, 179, 0.7),
        0.07em 0.07em 0 rgba(30, 37, 53, 0.12);
}

.field-notes-title span {
    display: block;
}

.field-notes-actions {
    position: relative;
    display: grid;
    gap: clamp(16px, 3vw, 34px);
    transform: skewY(-8deg);
}

.field-notes-section .field-notes-copy {
    transform: translate3d(0, var(--field-focus-shift), 0);
}

.field-notes-section .field-notes-actions {
    transform: skewY(-8deg) translate3d(0, var(--field-focus-shift), 0);
}

.field-notes-section .field-notes-actions::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.field-notes-actions::before {
    content: "";
    position: absolute;
    left: -10%;
    top: -22px;
    width: 54%;
    height: 2px;
    background: rgba(107, 116, 179, 0.88);
    transform: skewX(-28deg);
}

.field-link {
    position: relative;
    min-height: clamp(58px, 7vw, 84px);
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(30, 37, 53, 0.84);
    display: grid;
    grid-template-columns: minmax(74px, 0.28fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    padding: 10px 0 18px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transform: translateZ(0);
    transition: color 0.25s ease, transform 0.25s ease;
}

.field-link::before,
.field-link::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transform: skewX(-28deg);
}

.field-link::before {
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: rgba(30, 37, 53, 0.72);
}

.field-link::after {
    right: -12px;
    bottom: -9px;
    width: 42%;
    height: 2px;
    background: rgba(107, 116, 179, 0.88);
}

.field-link-tag {
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(30, 37, 53, 0.48);
}

.field-link-value {
    min-width: 0;
    font-size: clamp(0.96rem, 2vw, 1.42rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-align: right;
    overflow-wrap: anywhere;
    user-select: text;
    -webkit-user-select: text;
}

.email-copy-link {
    text-align: left;
}

.copy-mark {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 7px;
    color: rgba(30, 37, 53, 0.46);
    font-size: 0.52rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    line-height: 1;
    text-transform: uppercase;
    transform: translate3d(0, -58%, 0) skewX(-8deg);
    transition: color 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
    pointer-events: none;
}

.copy-mark-icon {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 16px;
    border: 2px solid currentColor;
    transform: skewX(-10deg);
}

.copy-mark-icon::before {
    content: "";
    position: absolute;
    right: 3px;
    top: -7px;
    width: 10px;
    height: 12px;
    border: 2px solid currentColor;
    background: var(--bg-color);
    opacity: 0.48;
}

.email-copy-link:hover .copy-mark,
.email-copy-link:focus-visible .copy-mark,
.email-copy-link.is-copied .copy-mark {
    color: var(--purple-brand);
    opacity: 1;
    transform: translate3d(-4px, -68%, 0) skewX(-8deg);
}

.email-copy-link.is-copied .field-link-value {
    color: var(--text-dark);
}

.email-copy-link.is-copied .copy-mark-icon {
    transform: skewX(-10deg) translate3d(2px, -2px, 0);
}

.field-link:hover,
.field-link:focus-visible {
    color: var(--signal-red);
    transform: translate3d(10px, -3px, 0);
    outline: none;
}

.field-link:hover::before,
.field-link:focus-visible::before {
    background: rgba(107, 116, 179, 0.82);
}

.field-link-strong {
    color: var(--text-dark);
}

.site-footer {
    position: relative;
    z-index: 10;
    overflow: hidden;
    min-height: 32svh;
    display: grid;
    align-items: center;
    background: var(--bg-color);
    color: var(--text-dark);
    padding: clamp(34px, 5vw, 68px) 6vw;
}

.site-footer::before {
    content: "";
    position: absolute;
    right: -12vw;
    top: -38%;
    width: clamp(240px, 38vw, 620px);
    aspect-ratio: 1.28;
    border-top: 2px solid rgba(30, 37, 53, 0.22);
    border-right: 2px solid rgba(107, 116, 179, 0.46);
    transform: skewY(-30deg) rotate(30deg);
    animation: footerGridDrift 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.site-footer-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1320px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    display: inline-grid;
    grid-template-columns: clamp(44px, 5vw, 62px) auto;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
    transform: translateZ(0);
}

.footer-brand-mark {
    width: 100%;
    aspect-ratio: 574.82 / 641.11;
    background: url("assets/artninja-logo.svg") center / contain no-repeat;
}

.footer-brand-copy {
    display: grid;
    gap: 4px;
}

.footer-brand-copy strong {
    font-size: clamp(1rem, 1.6vw, 1.45rem);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.footer-brand-copy span {
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(30, 37, 53, 0.64);
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.8vw, 24px);
    flex-wrap: nowrap;
    text-align: right;
    white-space: nowrap;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(30, 37, 53, 0.58);
}

.footer-meta a {
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 2px solid rgba(107, 116, 179, 0.78);
    padding-bottom: 4px;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
    color: var(--purple-brand);
    outline: none;
}

.cookie-consent {
    position: fixed;
    left: clamp(14px, 3vw, 34px);
    right: clamp(14px, 3vw, 34px);
    bottom: clamp(14px, 3vw, 34px);
    z-index: 10020;
    width: min(680px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
    padding: clamp(16px, 2.4vw, 24px);
    background: rgba(235, 234, 232, 0.94);
    border: 2px solid rgba(30, 37, 53, 0.84);
    box-shadow: 10px 10px 0 rgba(107, 116, 179, 0.42);
    color: var(--text-dark);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 22px, 0) skewY(-2deg);
    transition: opacity 0.32s ease, visibility 0.32s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) skewY(-2deg);
}

.cookie-consent-copy {
    display: grid;
    gap: 6px;
}

.cookie-consent-copy strong {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.cookie-consent-copy span {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(30, 37, 53, 0.68);
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-consent a,
.cookie-consent button {
    font-family: 'Poppins', sans-serif;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cookie-consent a {
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 2px solid var(--purple-brand);
    padding-bottom: 3px;
}

.cookie-consent button {
    appearance: none;
    border: 0;
    background: var(--text-dark);
    color: var(--gallery-bg);
    padding: 12px 14px;
    cursor: pointer;
    transform: skewX(-8deg);
}

.cookie-consent button:hover,
.cookie-consent button:focus-visible {
    background: var(--purple-brand);
    outline: none;
}

@keyframes footerGridDrift {
    from { transform: translate3d(0, 0, 0) skewY(-30deg) rotate(30deg); }
    to { transform: translate3d(-22px, 18px, 0) skewY(-30deg) rotate(30deg); }
}

.privacy-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 90% 10%, rgba(107, 116, 179, 0.16), transparent 28%),
        var(--bg-color);
    color: var(--text-dark);
}

.privacy-shell {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(112px, 16vw, 178px) 6vw clamp(70px, 10vw, 120px);
}

.privacy-back {
    display: inline-block;
    margin-bottom: clamp(30px, 5vw, 56px);
    color: var(--text-dark);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid var(--purple-brand);
    padding-bottom: 5px;
}

.privacy-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3.25rem, 10vw, 8.8rem);
    line-height: 0.78;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--gallery-bg);
    -webkit-text-stroke: clamp(1.5px, 0.22vw, 3px) var(--text-dark);
    transform: skewX(-8deg);
    text-shadow: 0.04em 0.04em 0 rgba(107, 116, 179, 0.62);
}

.privacy-updated {
    display: block;
    margin: clamp(24px, 4vw, 44px) 0;
    color: rgba(30, 37, 53, 0.58);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.privacy-content {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
    font-size: 1rem;
    line-height: 1.7;
}

.privacy-content section {
    position: relative;
    padding-top: 20px;
}

.privacy-content section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: min(280px, 60%);
    height: 2px;
    background: rgba(107, 116, 179, 0.82);
    transform: skewX(-28deg);
}

.privacy-content h2 {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
}

.privacy-content p,
.privacy-content li {
    color: rgba(30, 37, 53, 0.76);
}

.privacy-content ul {
    display: grid;
    gap: 8px;
    padding-left: 1.2em;
}

.privacy-content a {
    color: var(--text-dark);
    font-weight: 900;
    text-decoration-color: var(--purple-brand);
    text-decoration-thickness: 2px;
}

@media (max-width: 980px) {
    .hero-finish-stack { width: min(86vw, 640px); gap: clamp(16px, 3vh, 26px); }
    .hero-contact-panel { grid-template-columns: 1fr; width: 100%; gap: 12px; }
    .field-notes-inner { grid-template-columns: 1fr; align-items: start; row-gap: clamp(18px, 3vw, 34px); }
    .field-notes-actions { width: min(100%, 680px); margin-left: auto; }
}

@media (max-width: 620px) {
    .layer-text,
    .layer-ninja { top: -10vh; }
    #ninja-canvas { width: 98%; }
    .art-wrapper { transform: translateY(-40px); }
    .anim-art {
        margin-top: calc(-35vh - 30px);
        margin-left: -15vw;
    }
    .anim-ni {
        margin-top: 46vh;
        margin-left: calc(-47vw + 40px);
    }
    .layer-ui { margin-bottom: max(82px, 11dvh); }
    .hero-section:not(.is-contact-open) .layer-ui,
    .hero-section:not(.is-contact-open) .hero-title,
    .hero-section:not(.is-contact-open) .hero-service-strip,
    .hero-section:not(.is-contact-open) .cta-button,
    .hero-section:not(.is-contact-open) .mobile-hero-title,
    .hero-section:not(.is-contact-open) .mobile-hero-service-strip,
    .hero-section:not(.is-contact-open) .mobile-cta-button {
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
    }
    .hero-section:not(.is-contact-open) .layer-ui {
        transform: none !important;
    }
    .hero-service-strip {
        gap: 13px;
        margin-bottom: 18px;
        font-size: clamp(0.5rem, 2.35vw, 0.62rem);
        letter-spacing: 0.18em;
    }
    .hero-service-strip span + span::before {
        left: -7px;
        width: 2px;
        height: 2px;
    }
    .site-brand {
        top: 14px;
        left: 16px;
        width: 58px;
        height: 48px;
    }
    .site-brand-mark { width: 34px; }
    .arena-menu-toggle {
        top: 14px;
        right: 16px;
        width: 84px;
        height: 48px;
        grid-template-columns: 1fr 30px;
    }
    .arena-menu {
        inset: 0;
        width: 100%;
        background:
            radial-gradient(circle at 84% 12%, rgba(107, 116, 179, 0.28), transparent 32%),
            linear-gradient(135deg, rgba(157, 187, 173, 0.98), rgba(235, 234, 232, 0.96));
    }
    .arena-menu-inner { width: min(84vw, 520px); }
    .arena-menu a { display: block; padding: clamp(6px, 1.2vh, 12px) 0; }
    .arena-menu a strong {
        font-size: clamp(2.15rem, 12vw, 4.2rem);
        color: rgba(30, 37, 53, 0.94);
        -webkit-text-stroke: 0;
        text-shadow: none;
    }
    .arena-menu::before { right: -28vw; top: 18vh; opacity: 0.58; }
    .arena-menu::after { left: 4vw; bottom: -3vh; width: clamp(150px, 44vw, 220px); opacity: 0.86; }
    .arena-menu-ghost-mark { top: 82px; right: 19px; width: 72px; opacity: 0.72; }
    .hero-finish-stack {
        width: 88vw;
        gap: clamp(14px, 2.6vh, 20px);
        transform: translateY(-2vh);
    }
    .fight-result-kicker { font-size: 0.58rem; letter-spacing: 0.44em; margin-bottom: 5px; }
    .fight-result strong { font-size: clamp(4rem, 17.6vw, 6.8rem); }
    .fight-result span:last-child { margin-top: 10px; font-size: 0.55rem; letter-spacing: 0.22em; }
    .hero-contact-panel { gap: 10px; transform: skewY(-6deg) translate3d(0, 30px, 0); }
    .hero-section.is-contact-open .hero-contact-panel { transform: skewY(-6deg) translate3d(0, 0, 0); }
    .field-notes-section {
        --field-focus-shift: clamp(-92px, -8.5vh, -48px);
        --field-pad-top: 42px;
        --field-pad-bottom: max(18px, env(safe-area-inset-bottom));
        padding: var(--field-pad-top) 6vw var(--field-pad-bottom);
    }
    .field-notes-section::before { right: -28vw; top: 14%; opacity: 0.62; }
    .field-notes-section::after { left: -34vw; opacity: 0.52; }
    .field-notes-brand-mark { right: 16px; top: 26px; width: 76px; opacity: 0.72; }
    .field-notes-title { font-size: clamp(4.2rem, 19vw, 7.4rem); }
    .field-notes-copy::before { font-size: clamp(3.4rem, 17vw, 6.2rem); margin: 0 0 14px 14px; transform: translateY(-0.08em) rotate(-4deg); }
    .field-notes-copy::after { right: 0; bottom: -0.26em; }
    .field-notes-actions { gap: 12px; transform: skewY(-6deg); }
    .field-notes-section .field-notes-actions { transform: skewY(-6deg) translate3d(0, var(--field-focus-shift), 0); }
    .field-notes-actions::before { top: -16px; }
    .field-link {
        min-height: 54px;
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 12px;
        padding: 8px 0 14px;
    }
    .field-link-tag { font-size: 0.52rem; letter-spacing: 0.18em; }
    .field-link-value { font-size: clamp(0.78rem, 4vw, 1rem); }
    .copy-mark { font-size: 0.44rem; letter-spacing: 0.16em; gap: 5px; transform: translate3d(0, -62%, 0) skewX(-8deg); }
    .copy-mark-icon { width: 12px; height: 14px; border-width: 1.5px; }
    .copy-mark-icon::before { top: -6px; width: 9px; height: 11px; border-width: 1.5px; }
    .field-notes-inner .site-footer { margin-top: 0; padding-top: 0; }
    .site-footer-inner { display: grid; gap: 18px; align-items: start; }
    .footer-brand { grid-template-columns: 40px auto; gap: 12px; }
    .footer-brand-copy strong { font-size: 1.02rem; }
    .footer-brand-copy span { font-size: 0.5rem; letter-spacing: 0.18em; }
    .footer-meta {
        justify-content: flex-start;
        text-align: left;
        line-height: 1.2;
        gap: 12px;
        font-size: 0.48rem;
        letter-spacing: 0.1em;
    }
    .cookie-consent {
        top: auto;
        bottom: max(14px, env(safe-area-inset-bottom));
        right: auto;
        width: min(340px, calc(100vw - 28px));
        grid-template-columns: 1fr;
        align-items: start;
        box-shadow: 7px 7px 0 rgba(107, 116, 179, 0.42);
        padding: 14px;
    }
    .cookie-consent-copy span { font-size: 0.74rem; line-height: 1.36; }
    .cookie-consent-actions { justify-content: space-between; }
}

.portfolio-sheet { display: none; position: fixed; inset: 0; z-index: 10000; }
.portfolio-sheet.is-open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 22, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity 0.4s ease; }
.portfolio-sheet.is-visible .sheet-backdrop { opacity: 1; }
.sheet-panel { position: absolute; bottom: 0; left: 0; right: 0; background: var(--gallery-bg); border-radius: 20px 20px 0 0; padding: 0; transform: translateY(100%); max-height: 95vh; overflow-y: auto; -webkit-overflow-scrolling: touch; will-change: transform; }
.sheet-panel.is-video-playing { max-height: 100dvh; }
.sheet-panel.is-image-focus { max-height: 100dvh; }
.sheet-drag-bar { width: 38px; height: 4px; background: rgba(30, 37, 53, 0.2); border-radius: 2px; margin: 14px auto 25px; position: absolute; left: 50%; transform: translateX(-50%); z-index: 50;}
.sheet-close-new { position: absolute; top: 20px; right: 4vw; background: rgba(235, 234, 232, 0.72); border: 1.5px solid rgba(30, 37, 53, 0.82); width: 46px; height: 46px; border-radius: 999px; cursor: pointer; color: var(--text-dark); z-index: 100; transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease; -webkit-tap-highlight-color: transparent; display: flex; align-items: center; justify-content: center; box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0.86; }
.sheet-close-icon { width: 52%; height: 52%; display: block; }
.sheet-close-new:hover,
.sheet-close-new:focus-visible { background: var(--text-dark); border-color: var(--text-dark); color: var(--gallery-bg); opacity: 1; transform: scale(0.985); outline: none; }
.sheet-panel.is-video-playing .sheet-close-new { background: rgba(235, 234, 232, 0.72); border-color: rgba(30, 37, 53, 0.82); color: var(--text-dark); opacity: 0.86; }
.sheet-panel.is-video-playing .sheet-close-new:hover,
.sheet-panel.is-video-playing .sheet-close-new:focus-visible { background: var(--text-dark); border-color: var(--text-dark); color: var(--gallery-bg); opacity: 1; }
.sheet-content-wrap { width: 100%; display: flex; flex-direction: column; }
.sheet-main-img-wrap { width: 100%; position: relative; border-radius: 20px 20px 0 0; overflow: hidden; transform-origin: top center; will-change: transform, clip-path; background: #111722; transition: min-height 0.36s ease, height 0.36s ease, max-height 0.36s ease, background-color 0.28s ease; }
.sheet-main-img-wrap.has-video { cursor: pointer; }
.sheet-main-img-wrap.has-gallery { cursor: grab; touch-action: pan-y; }
.sheet-main-img-wrap.has-gallery:active { cursor: grabbing; }
.sheet-main-img-wrap.can-image-focus { cursor: zoom-in; }
.sheet-main-img-wrap.can-image-focus::before { content: "Open full frame"; position: absolute; left: 24px; bottom: 24px; z-index: 5; min-height: 38px; display: inline-flex; align-items: center; padding: 0 15px; border: 1.5px solid rgba(30, 37, 53, 0.82); border-radius: 999px; background: rgba(235, 234, 232, 0.74); color: var(--text-dark); font-family: 'Poppins', sans-serif; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.22s ease, color 0.22s ease; pointer-events: none; }
.sheet-main-img-wrap.can-image-focus:hover::before,
.sheet-main-img-wrap.can-image-focus:focus-within::before { opacity: 1; transform: translateY(0); }
.sheet-main-img-wrap img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 65vh; transform-origin: center; }
.sheet-main-img-wrap.is-image-focus { min-height: min(84vh, 920px); height: min(84vh, 920px); max-height: min(84vh, 920px); display: flex; align-items: center; justify-content: center; background: #dfe3dd; }
.sheet-main-img-wrap.is-image-focus img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.sheet-main-img-wrap.is-image-focus.can-image-focus { cursor: default; }
.sheet-main-img-wrap.is-image-focus::before { opacity: 0 !important; transform: translateY(8px) !important; }
.sheet-main-img-wrap.is-playing { min-height: min(82dvh, 780px); height: min(82dvh, 780px); max-height: calc(100dvh - 58px); display: flex; align-items: center; justify-content: center; background: #080c13; }
.sheet-main-img-wrap.is-playing.is-vertical-video { width: min(92vw, 460px); min-height: min(84dvh, calc(100dvh - 54px)); height: min(84dvh, calc(100dvh - 54px)); aspect-ratio: 9 / 16; align-self: center; border-radius: 18px; margin-top: 10px; }
.sheet-main-img-wrap.is-playing img { opacity: 0; position: absolute; inset: 0; }
.sheet-main-img-wrap.has-video::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none; background: linear-gradient(to top, rgba(10,14,22,0.62), rgba(10,14,22,0)); opacity: 0.9; }
.sheet-main-img-wrap.is-image-focus::after { opacity: 0; }
.sheet-video-frame { position: absolute; inset: 0; z-index: 3; display: none; background: #111722; padding: clamp(10px, 2vw, 22px); box-sizing: border-box; }
.sheet-main-img-wrap.is-playing .sheet-video-frame { display: flex; align-items: center; justify-content: center; }
.sheet-video-frame iframe,
.sheet-video-frame video { width: min(100%, calc((100dvh - 112px) * 1.777)); height: auto; max-height: 100%; aspect-ratio: var(--video-ratio, 16 / 9); border: 0; display: block; background: #080c13; object-fit: contain; }
.sheet-main-img-wrap.is-vertical-video .sheet-video-frame iframe,
.sheet-main-img-wrap.is-vertical-video .sheet-video-frame video { width: auto; height: 100%; max-width: 100%; aspect-ratio: 9 / 16; }
.sheet-video-frame.has-fallback { padding: clamp(18px, 5vw, 42px); }
.sheet-video-fallback { width: min(420px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: var(--gallery-bg); font-family: 'Poppins', sans-serif; }
.sheet-video-fallback strong { font-size: 0.82rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.sheet-video-fallback span { color: rgba(235, 234, 232, 0.72); font-size: 0.9rem; line-height: 1.55; }
.sheet-video-fallback a { display: inline-flex; align-items: center; min-height: 40px; border: 1.5px solid rgba(235, 234, 232, 0.82); border-radius: 999px; padding: 0 16px; color: var(--gallery-bg); text-decoration: none; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease; }
.sheet-video-fallback a:hover,
.sheet-video-fallback a:focus-visible { background: var(--gallery-bg); color: var(--text-dark); transform: scale(0.985); outline: none; }
.sheet-play-primary { position: absolute; right: clamp(20px, 5vw, 70px); bottom: clamp(20px, 4vw, 54px); z-index: 5; display: inline-flex; align-items: center; gap: 11px; border: 1.5px solid rgba(30, 37, 53, 0.82); border-radius: 999px; background: rgba(235, 234, 232, 0.72); color: var(--text-dark); font-family: 'Poppins', sans-serif; font-size: clamp(0.7rem, 1vw, 0.82rem); font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; padding: 13px 20px 13px 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease, transform 0.24s ease; }
.sheet-play-primary[hidden],
.sheet-main-img-wrap.is-playing .sheet-play-primary { display: none; }
.sheet-play-primary:hover,
.sheet-play-primary:focus-visible { background: var(--text-dark); color: var(--gallery-bg); border-color: var(--text-dark); transform: scale(0.985); outline: none; }
.sheet-play-mark { width: 0; height: 0; display: inline-block; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.sheet-play-mark::after { content: none; }
.sheet-info-new { padding: 40px 6vw 80px; display: flex; flex-direction: column; gap: 20px; opacity: 0; transform: translateY(20px); transition: opacity 0.28s ease, transform 0.32s ease, max-height 0.32s ease, padding 0.32s ease, margin 0.32s ease; }
.sheet-panel.is-video-playing .sheet-info-new { padding-top: 28px; }
.sheet-panel.is-image-focus .sheet-info-new { opacity: 0 !important; transform: translateY(26px) !important; max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; margin-top: 0; margin-bottom: 0; pointer-events: none; }
.sheet-category-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(2.5rem, 7vw, 4.5rem); color: var(--text-dark); line-height: 1; margin-bottom: 10px;}
.sheet-meta-wrap { display: flex; flex-direction: column; gap: 10px; }
.sheet-meta { font-family: 'Poppins', sans-serif; font-size: 0.9rem; color: rgba(30, 37, 53, 0.8); }
.meta-label { font-weight: 700; color: var(--purple-brand); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; margin-right: 8px; }
.meta-val { font-weight: 400; }
.sheet-gallery-hint { display: none; }
.sheet-gallery-hint[hidden],
.sheet-main-img-wrap.is-playing .sheet-gallery-hint { display: none; }
.sheet-gallery-controls { position: absolute; right: clamp(16px, 4vw, 46px); bottom: clamp(16px, 4vw, 42px); z-index: 6; display: flex; justify-content: flex-end; align-items: center; min-height: 0; }
.sheet-gallery-controls.is-prev-control { left: clamp(16px, 4vw, 46px); right: auto; justify-content: flex-start; }
.sheet-gallery-controls:empty,
.sheet-gallery-controls[hidden] { display: none; }
.sheet-panel.is-video-playing .sheet-gallery-controls { display: none; }
.sheet-gallery-button { min-width: 96px; height: 38px; border: 1.5px solid rgba(30, 37, 53, 0.82); border-radius: 999px; background: rgba(235, 234, 232, 0.72); color: var(--text-dark); padding: 0 16px; font-family: 'Poppins', sans-serif; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease; }
.sheet-gallery-button[data-direction="prev"] { min-width: 42px; width: 42px; padding: 0; font-size: 0; }
.sheet-gallery-button[data-direction="prev"]::before { content: ""; display: block; width: 9px; height: 9px; margin: 0 auto; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(1px, -1px); }
.sheet-gallery-button:hover,
.sheet-gallery-button:focus-visible { background: var(--text-dark); color: var(--gallery-bg); border-color: var(--text-dark); transform: scale(0.985); outline: none; }
.sheet-gallery-button:active { background: var(--text-dark); color: var(--gallery-bg); border-color: var(--text-dark); }
.sheet-media-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; min-height: 0; }
.sheet-media-actions:empty { display: none; }
.sheet-media-kicker { flex-basis: 100%; font-family: 'Poppins', sans-serif; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(30, 37, 53, 0.48); margin-bottom: -2px; }
.sheet-media-button { position: relative; border: 1.5px solid var(--text-dark); border-radius: 999px; background: transparent; color: var(--text-dark); padding: 12px 18px; font-family: 'Poppins', sans-serif; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease, transform 0.24s ease; }
.sheet-media-button::before,
.sheet-media-button::after { content: none; }
.sheet-media-button:hover,
.sheet-media-button:focus-visible { background: var(--text-dark); color: var(--gallery-bg); border-color: var(--text-dark); transform: scale(0.985); outline: none; }

@media (orientation: landscape) and (max-height: 520px) {
    .sheet-panel.is-video-playing { max-height: 100dvh; border-radius: 0; }
    .sheet-main-img-wrap.is-playing:not(.is-vertical-video) { height: calc(100dvh - 18px); max-height: calc(100dvh - 18px); border-radius: 0; }
    .sheet-video-frame { padding: 8px; }
    .sheet-panel.is-video-playing .sheet-info-new { padding-top: 18px; }
}

@media (min-width: 621px) {
    .mobile-hero-ui {
        display: none !important;
    }
}

@media (min-width: 621px) {
    .master-bg-layer {
        will-change: transform;
    }

    .bg-purple-mobile {
        display: none;
    }

    .bg-purple-desktop {
        display: block;
    }

    .bg-base-picture {
        top: 0;
        left: 0;
        width: 220.7vw;
        aspect-ratio: 4237.47 / 2519;
    }

    .bg-purple-wrap {
        top: 0;
        left: 0;
        width: 220.7vw;
        aspect-ratio: 4237.47 / 2519;
    }

    .portfolio-transition-hide,
    .portfolio-transition-base,
    .portfolio-transition-purple {
        top: -385px !important;
        left: 51%;
    }

    .arena-menu {
        background:
            radial-gradient(circle at 84% 12%, rgba(107, 116, 179, 0.28), transparent 32%),
            linear-gradient(135deg, rgba(157, 187, 173, 0.98), rgba(235, 234, 232, 0.96));
        color: var(--text-dark);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .arena-menu::before {
        opacity: 0.52;
        border-top-color: rgba(107, 116, 179, 0.34);
        border-right-color: rgba(107, 116, 179, 0.34);
    }

    .arena-menu::after {
        background: rgba(30, 37, 53, 0.10);
        opacity: 0.86;
    }

    .arena-menu-ghost-mark {
        background: rgba(30, 37, 53, 0.14);
        opacity: 0.72;
    }

    .arena-menu a strong {
        font-size: clamp(2.8rem, 6.2vw, 6.2rem);
        color: rgba(30, 37, 53, 0.94);
        -webkit-text-stroke: 0;
        text-shadow: none;
    }

    .hero-section {
        min-height: 100svh;
        display: block;
    }

    .layer-ninja {
        left: 50%;
        top: 0;
        width: min(48vw, 720px);
        height: 100%;
        justify-content: center;
        align-items: center;
        transform: translate3d(-2vw, 0, 0);
    }

    .layer-text {
        left: 50%;
        top: 0;
        width: min(48vw, 720px);
        height: 100%;
        justify-content: center;
        align-items: center;
        transform: translate3d(-2vw, 0, 0);
    }

    #ninja-canvas {
        width: 430px;
        max-width: none;
    }

    .anim-art {
        width: clamp(250px, 17vw, 330px);
        margin-top: clamp(-238px, -25vh, -190px);
        margin-left: clamp(-72px, -4vw, -48px);
    }

    .anim-ni {
        width: clamp(108px, 7.6vw, 150px);
        margin-top: clamp(118px, 17vh, 156px);
        margin-left: clamp(-220px, -13.5vw, -170px);
    }

    .anim-nja {
        width: clamp(220px, 15vw, 290px);
        margin-top: clamp(112px, 15vh, 150px);
        margin-left: clamp(92px, 6.8vw, 128px);
    }

    .layer-ui {
        position: absolute;
        left: clamp(42px, 7vw, 126px);
        top: 50%;
        z-index: 13;
        width: min(42vw, 560px);
        margin: 0;
        padding: 0;
        text-align: left;
        transform: translate3d(0, -50%, 0);
    }

    .hero-title {
        font-size: clamp(3rem, 5.7vw, 6.1rem);
        line-height: 0.92;
        max-width: 8.6ch;
        margin: 0 0 clamp(18px, 2.2vw, 30px);
        letter-spacing: 0;
    }

    .hero-service-strip {
        justify-content: flex-start;
        margin: 0 0 clamp(28px, 3vw, 42px);
        gap: clamp(16px, 2.2vw, 28px);
        font-size: clamp(0.66rem, 0.9vw, 0.84rem);
        letter-spacing: 0.22em;
    }

    .hero-service-strip span + span::before {
        left: calc(clamp(16px, 2.2vw, 28px) * -0.5);
    }

    .cta-button {
        margin: 0;
        width: min(280px, 100%);
        max-width: none;
    }

    .hero-finish-stack {
        width: min(84vw, 960px);
        gap: clamp(14px, 2.6vh, 30px);
    }

    .fight-result::before {
        font-size: clamp(4rem, 14vw, 11.5rem);
        margin-bottom: clamp(12px, 2vh, 24px);
    }

    .fight-result strong {
        font-size: clamp(3.8rem, 12vw, 10.5rem);
    }

    .hero-contact-panel {
        width: min(100%, 980px);
        gap: clamp(16px, 3vw, 52px);
    }

    .hero-contact-panel .email-copy-link .field-link-value {
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: keep-all;
        font-size: clamp(1rem, 1.65vw, 1.28rem);
    }

    .wheel-section {
        min-height: 100svh;
        margin-top: clamp(-12vh, -8vw, -6vh);
        display: grid;
        place-items: center;
        line-height: normal;
    }

    #wheel-canvas {
        display: none;
    }

    .wheel-static-svg {
        display: block;
        width: 430px;
        max-width: 42vw;
    }

    .wheel-text-overlay {
        width: min(76vw, 980px);
        left: 50%;
        transform: translateX(-50%);
    }

    .pos-3dweb { top: 34%; left: 13%; }
    .pos-motion { top: 16%; right: 5%; }
    .pos-branding { bottom: 18%; right: -4%; }

    .kinetic-word {
        font-size: clamp(2rem, 3.4vw, 4.1rem);
    }

    .optical-field {
        background: transparent;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: clamp(16px, 1.8vw, 24px) clamp(20px, 2.4vw, 30px);
        border-radius: 14px;
        transition: opacity 0.42s ease, transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), filter 0.42s ease;
    }

    .noise-overlay {
        display: none;
    }

    .sheet-backdrop,
    .sheet-close-new,
    .sheet-play-primary,
    .sheet-gallery-button {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .wheel-section.is-wheel-active .optical-field {
        opacity: 1 !important;
        transform: skewY(-15deg) scale(1) !important;
        filter: blur(0px) !important;
    }

    .wheel-section.is-wheel-active .micro-label {
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) !important;
        transition: opacity 0.36s ease 0.12s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
    }

    .wheel-section.is-wheel-active .stroke-dark,
    .wheel-section.is-wheel-active .fill-cream {
        clip-path: inset(-20% 0 -20% 0) !important;
        transform: translate3d(0, 0, 0) scale(1) !important;
        filter: blur(0px) !important;
    }

    .wheel-section.is-wheel-active .stroke-dark {
        opacity: 0 !important;
        transition: opacity 0.5s ease 0.55s, clip-path 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.14s;
    }

    .wheel-section.is-wheel-active .fill-cream {
        transition: clip-path 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
    }
}

@media (min-width: 621px) and (max-width: 980px) {
    .bg-base-picture,
    .bg-purple-wrap {
        top: 530px;
        left: 0;
        width: 220.7vw;
    }

    .site-brand {
        left: clamp(22px, 4.5vw, 42px);
    }

    .arena-menu-toggle {
        right: clamp(22px, 4.5vw, 42px);
    }

    .layer-ninja,
    .layer-text {
        left: 50%;
        width: min(48vw, 560px);
        transform: translate3d(-1vw, 0, 0);
    }

    #ninja-canvas {
        width: 360px;
    }

    .anim-art {
        width: clamp(210px, 25vw, 260px);
        margin-top: clamp(-220px, -24vh, -178px);
        margin-left: clamp(-92px, -8vw, -68px);
    }

    .anim-ni {
        width: clamp(92px, 11vw, 118px);
        margin-top: clamp(112px, 17vh, 148px);
        margin-left: clamp(-260px, -28vw, -204px);
    }

    .anim-nja {
        width: clamp(186px, 23vw, 230px);
        margin-top: clamp(100px, 15vh, 132px);
        margin-left: clamp(108px, 13vw, 142px);
    }

    .layer-ui {
        left: clamp(34px, 6vw, 64px);
        width: min(44vw, 420px);
        transform: translate3d(0, -50%, 0);
    }

    .hero-title {
        font-size: clamp(2.55rem, 6.8vw, 4.8rem);
        max-width: 8.5ch;
    }

    .hero-service-strip {
        flex-wrap: wrap;
        width: min(100%, 360px);
        row-gap: 12px;
        white-space: normal;
    }

    .cta-button {
        width: min(260px, 100%);
    }

    .horizontal-container {
        width: 216vw;
    }

    .slide {
        width: 72vw;
        flex-direction: row;
        text-align: left;
        justify-content: center;
        gap: clamp(24px, 4.8vw, 52px);
        padding: 0 clamp(32px, 5.5vw, 62px);
    }

    .slide-method {
        flex-direction: column;
        text-align: center;
        gap: clamp(12px, 2.4vh, 20px);
    }

    .slide-image-placeholder {
        width: min(29vw, 250px);
        height: min(31vh, 250px);
        margin: 0;
        flex: 0 0 auto;
        border-radius: 14px;
    }

    .manifesto-profile-img {
        object-fit: contain;
        object-position: center bottom;
    }

    .slide-content {
        max-width: min(62vw, 500px);
    }

    .serif-title {
        font-size: clamp(2.65rem, 5.3vw, 3.8rem);
        line-height: 0.92;
    }

    .slide-method .serif-title {
        white-space: nowrap;
    }

    .poppins-text {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    }

    .wheel-static-svg {
        width: 340px;
        max-width: 44vw;
    }

    .wheel-text-overlay {
        width: min(90vw, 760px);
    }

    .kinetic-word {
        font-size: clamp(1.85rem, 5vw, 3.2rem);
    }
}

@media (min-width: 981px) {
    .horizontal-container {
        width: 216vw;
    }

    .slide {
        width: 72vw;
        gap: clamp(30px, 4vw, 64px);
        padding: 0 clamp(4vw, 5vw, 7vw);
    }

    .slide-method {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: clamp(12px, 2.3vh, 22px);
    }

    .slide-image-placeholder {
        width: min(20vw, 300px);
        height: min(34vh, 320px);
        margin-right: 0;
        border-radius: 18px;
    }

    .manifesto-profile-img {
        object-fit: contain;
        object-position: center bottom;
    }

    .slide-method .slide-content {
        max-width: min(52vw, 760px);
        transform: none;
    }

    .serif-title {
        font-size: clamp(3rem, 4.3vw, 5.2rem);
        line-height: 0.9;
    }

    .slide-method .serif-title {
        white-space: nowrap;
    }

    .poppins-text {
        font-size: clamp(0.96rem, 1.05vw, 1.12rem);
        max-width: 42ch;
        margin-inline: auto;
    }
}



