/* Local art-direction study. Remove this stylesheet to restore the base theme. */
:root {
    --bg-color: #000;
    --card-bg: #09090b;
    --text-main: #fff;
    --text-sec: #a1a1aa;
    --accent: #fff;
    --radius: 0;
    --hero-sub: #a1a1aa;
    --nav-bg: #09090b;
    --nav-border: #3f3f46;
    --nav-text: #d4d4d8;
    --service-bg: #09090b;
    --service-border: #3f3f46;
    --service-hover: #18181b;
    --service-border-hover: #fff;
    --footer-bg: #000;
    --footer-border: #3f3f46;
    --form-bg: #09090b;
    --form-border: #3f3f46;
    --input-bg: #000;
    --input-border: #3f3f46;
    --marquee-text: #a1a1aa;
    --modal-bg: #09090b;
    --modal-panel: #09090b;
    --modal-border: #52525b;
    --shadow-soft: none;
    --shadow-card: none;
    --plyr-color-main: #fff;
    --plyr-font-family: 'JetBrains Mono', 'Courier New', monospace;
    --plyr-control-radius: 0;
    --plyr-video-control-color-hover: #000;
}

*, *::before, *::after {
    border-radius: 0 !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition-duration: 80ms !important;
    transition-timing-function: linear !important;
}

body, button, input, textarea, select, .plyr {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #22d3ee !important; outline-offset: 5px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 2px; }

.header-container, .studio-header-text, .hero-logo-wrap,
.hero-studio-name, .hero-subtitle, .hero-actions, .hero-meta-rail,
.hero-seg path, .loader-logo, .loader-part {
    animation: none !important;
    opacity: 1;
}
.reveal { opacity: 1; transform: none; }
#preloader { background: #000; }
.loader-part { fill: #fff; }
.hero-glow { display: none; }

/* Monochrome background footage; portfolio reels keep their original color. */
.hero-bg-video, .footer-bg-video { filter: grayscale(1) contrast(1.2); }
.hero-video-layer, .footer-video-layer { background: #000; }
.hero-video-scrim, .footer-video-scrim {
    background: linear-gradient(180deg, #000 0%, transparent 28%, rgba(0,0,0,.35) 66%, #000 100%);
}
.dot-field { display: none; }
#hero::after, footer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.13) .7px, transparent .8px);
    background-size: 12px 12px;
    z-index: 0;
}
.hero-video-layer::after, .footer-video-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.18) 3px 4px);
}
.hero-meta-rail { color: #a1a1aa; font-size: 11px; }
.studio-header-text { color: #a1a1aa; font-size: 10px; }
.logo-wrapper, .nav-pill, .bottom-dock {
    background: #09090b;
    border: 1px solid #3f3f46;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.nav-link { font-size: 12px; text-transform: uppercase; }
.nav-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 7px; }
.interactive-logo path { stroke-linejoin: miter; stroke-width: 0; }
.hero-logo-wrap { filter: none; }
.hero-logo-wrap::before { display: none; }
.hero-logo-wrap::after {
    content: '';
    position: absolute;
    inset: -24px;
    pointer-events: none;
    background:
        linear-gradient(#71717a, #71717a) left top / 20px 1px,
        linear-gradient(#71717a, #71717a) left top / 1px 20px,
        linear-gradient(#71717a, #71717a) right top / 20px 1px,
        linear-gradient(#71717a, #71717a) right top / 1px 20px,
        linear-gradient(#71717a, #71717a) left bottom / 20px 1px,
        linear-gradient(#71717a, #71717a) left bottom / 1px 20px,
        linear-gradient(#71717a, #71717a) right bottom / 20px 1px,
        linear-gradient(#71717a, #71717a) right bottom / 1px 20px;
    background-repeat: no-repeat;
}
.hero-seg path, .hero-seg:hover path, .hero-seg:active path {
    filter: none;
    transform: none;
    opacity: 1;
}
.hero-seg:hover path { fill: #a1a1aa; }
.hero-studio-name { font-size: 24px; font-weight: 700; color: #fff; margin-top: 18px; }
.hero-subtitle { font-size: 15px; line-height: 1.8; color: #d4d4d8; }
.hero-primary-link, .btn-send, .modal-cta-btn {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.hero-primary-link:hover, .btn-send:hover, .modal-cta-btn:hover {
    background-color: #fff;
    background-image: radial-gradient(rgba(0,0,0,.2) .7px, transparent .8px);
    background-size: 4px 4px;
    color: #000;
    transform: none;
}

.section-title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: #fff;
}
.section-title::before {
    content: '[01] / EXPERTISE';
    display: block;
    color: #a1a1aa;
    -webkit-text-fill-color: #a1a1aa;
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 18px;
}
.section-title::after {
    content: '_';
    display: inline-block;
    margin-left: 2px;
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-size: 1em;
    vertical-align: baseline;
    animation: terminalCaret 1.2s steps(1, end) infinite;
}
@keyframes terminalCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.services-grid { counter-reset: service; }
.services-grid { gap: 22px; margin-bottom: 22px; }
#services { padding-block: 42px; }
.service-card {
    position: relative;
    counter-increment: service;
    background-image: radial-gradient(rgba(255,255,255,.055) .7px, transparent .8px);
    background-size: 6px 6px;
}
.service-card::before {
    content: '0' counter(service) ' /';
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 11px;
    color: #a1a1aa;
}
.service-card:hover, .service-card:active { transform: none; }
.service-card { display: block; width: 100%; color: #fff; }
.service-card h3 { font-size: 19px; line-height: 1.4; text-transform: uppercase; }
.service-card p { font-size: 13px; line-height: 1.8; }
.service-icon { color: #fff; font-size: 26px; }
.service-motion { display: block; position: relative; width: 32px; height: 32px; line-height: 32px; }
.service-motion i { color: inherit; }
.service-motion--scan > i { display: block; text-align: center; animation: serviceScanSnap 4.8s infinite; }
.scan-capture { position: absolute; inset: 12px; background: currentColor; opacity: 0; animation: serviceScanFlash 4.8s infinite; }
.cube-block { position: absolute; font-size: 18px; line-height: 20px; animation: serviceCubeBuild 5.4s infinite both; }
.cube-block:nth-child(1) { left: 0; top: 12px; --block-x: -10px; --block-y: 8px; }
.cube-block:nth-child(2) { left: 15px; top: 12px; --block-x: 10px; --block-y: 8px; }
.cube-block:nth-child(3) { left: 7.5px; top: 0; --block-x: 0px; --block-y: -12px; }
.service-motion--film { overflow: hidden; height: 30px; }
.film-track { display: flex; flex-direction: column; animation: serviceFilmAdvance 3.6s linear infinite; }
.film-track i { display: block; height: 30px; flex: 0 0 30px; line-height: 30px; font-size: 30px; }
@keyframes serviceScanSnap {
    0%, 12%, 38%, 100% { transform: scale(1); }
    20% { transform: scale(1.16); }
    25%, 29% { transform: scale(.74); }
    34% { transform: scale(1.04); }
}
@keyframes serviceScanFlash {
    0%, 22%, 34%, 100% { opacity: 0; transform: scale(.5); }
    25%, 28% { opacity: 1; transform: scale(1); }
}
@keyframes serviceCubeBuild {
    0%, 12%, 100% { opacity: 1; transform: translate(var(--block-x), var(--block-y)) scale(.86); }
    24%, 78% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes serviceFilmAdvance {
    0%, 12% { transform: translateY(0); }
    22%, 45% { transform: translateY(-30px); }
    55%, 100% { transform: translateY(-60px); }
}
@media (prefers-reduced-motion: reduce) {
    .cube-block { opacity: 1; transform: none; }
}
.service-card--featured {
    overflow: hidden;
    background: #fff;
    border-color: #fff;
    background-image: radial-gradient(rgba(0,0,0,.2) .7px, transparent .8px);
    color: #000;
}
.service-card--featured::after {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: .11;
    background: linear-gradient(180deg, transparent 35%, rgba(34,211,238,.65) 50%, transparent 65%);
    background-size: 100% 220%;
    animation: tacticalScan 5.5s linear 1s infinite;
}
.service-card--featured > *:not(.service-card-badge) { position: relative; z-index: 1; }
.service-card--featured .service-card-badge { position: absolute; z-index: 2; }
.service-card--featured::before { content: none; }
.service-card--featured h3,
.service-card--featured p,
.service-card--featured .service-icon { color: #000; }
.service-card-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 5px 7px;
    border: 1px solid currentColor;
    color: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
}

/* Keep the existing media proportions while trimming excess vertical dead space. */
.demo-reel-card {
    background: #000;
    min-height: 82vh;
    min-height: 82svh;
    padding-block: clamp(48px, 6vh, 84px);
}
.demo-reel-card::before { background: none; }
.demo-reel-card::after {
    z-index: 0;
    background-image: radial-gradient(rgba(255,255,255,.2) .7px, transparent .8px);
    opacity: .35;
    mask-image: none;
    -webkit-mask-image: none;
}
.demo-reel-media { border: 1px solid #52525b; background: #09090b; overflow: visible; }
.demo-reel-media::before {
    content: '[01] / 3D';
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 7;
    padding: 7px 10px;
    color: #fff;
    background: #000;
    border: 1px solid #52525b;
    font-size: 11px;
    line-height: 1.4;
    pointer-events: none;
}
#demo-video .demo-reel-media::before { content: '[02] / VIDEO'; }
.demo-reel-card.is-playing .demo-reel-media::before { opacity: 0; }
.demo-reel-media video, .demo-reel-media > img,
.demo-reel-card:hover .demo-reel-media video,
.demo-reel-card:hover .demo-reel-media > img {
    transform: none;
    filter: none;
    opacity: 1;
}
.demo-reel-caption {
    background: rgba(9,9,11,.96);
    border: 1px solid #52525b;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.demo-reel-caption-title { font-size: 44px; line-height: 1.1; font-weight: 700; }
.demo-reel-caption p { font-size: 14px; line-height: 1.6; color: #d4d4d8; }
.demo-reel-tools img {
    background: transparent;
    border: 0;
    filter: brightness(0) invert(1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.demo-reel-play {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 1px solid #fff;
    color: #000;
    font-size: 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.demo-reel-card:hover .demo-reel-play { background: #fff; transform: translate(-50%, -50%); }
.demo-reel-next-cue {
    background: #09090b;
    border: 1px solid #52525b;
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.demo-reel-next-cue:hover { background: #fff; color: #000; }
.demo-reel-next-cue i { color: inherit; }
.demo-reel-next-cue i { animation: tacticalArrow 1.2s ease-in-out infinite; }
.scroll-indicator i { animation: tacticalArrow 1.4s ease-in-out infinite; }
.plyr__control:hover, .plyr__control[aria-expanded=true] { color: #000; }
.marquee-section { border-block: 1px solid #27272a; padding: 34px 0; }
.marquee-content {
    display: flex;
    gap: 0;
    width: max-content;
    animation: tacticalMarquee 34s linear infinite;
    will-change: transform;
}
.marquee-group { display: flex; flex: 0 0 auto; align-items: center; gap: 30px; padding-right: 30px; }
.skills-marquee .marquee-content { gap: 0; animation: tacticalMarquee 150s linear infinite; }
.skills-marquee .marquee-group { min-width: 100vw; gap: 36px; padding-right: 36px; box-sizing: border-box; }
.skill-item { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 36px; white-space: nowrap; font-size: 22px; line-height: 1.4; font-weight: 600; text-transform: uppercase; color: #d4d4d8; }
.skill-item::after { content: '/'; color: #52525b; font-weight: 400; }
.contact-form .form-group:focus-within label::after { content: '_'; margin-left: 5px; animation: terminalCaret 1.2s steps(1, end) infinite; }
.split-hero-brand-cta i { animation: terminalNudge 6s ease-in-out infinite; }
@keyframes terminalNudge { 0%, 75%, 100% { transform: translateX(0); } 82%, 92% { transform: translateX(4px); } 87% { transform: translateX(0); } }
@media (max-width: 768px) { .skill-item { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) {
    .skills-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
    .skills-marquee .marquee-group[aria-hidden] { display: none; }
}
.client-logo {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid #3f3f46;
    color: #d4d4d8;
    font-size: 21px;
}
.software-monogram { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; }
@keyframes tacticalMarquee { to { transform: translateX(-50%); } }

footer { background: #000; }
.footer-cta, .footer-bottom { position: relative; z-index: 1; }
.footer-cta h2 { font-size: 48px; font-weight: 600; line-height: 1.2; }
.footer-cta > p { font-size: 14px; }
.contact-container {
    border-color: #52525b;
    background: #09090b;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.contact-header { border-bottom: 1px solid #3f3f46; margin-bottom: 24px; }
.contact-header h3 { font-size: 22px; text-align: left; text-transform: uppercase; }
.contact-header h3::before { content: '[ '; color: #a1a1aa; }
.contact-header h3::after { content: ' ]'; color: #a1a1aa; }
.form-group label { font-size: 11px; text-transform: uppercase; color: #a1a1aa; margin-left: 0; }
.form-group input, .form-group textarea, .form-group select {
    background-color: #000;
    border-color: #3f3f46;
    font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #fff;
    background-color: #000;
}
.footer-links a, .footer-copy { font-size: 11px; }
.modal-overlay {
    background-color: rgba(0,0,0,.94);
    background-image: radial-gradient(rgba(255,255,255,.1) .7px, transparent .8px);
    background-size: 12px 12px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.modal-content, .modal-details, .software-glass-panel, .tool-chip,
.close-modal, .nav-arrow, .mobile-nav-pill {
    background: #09090b;
    border-color: #52525b;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.modal-details h2 { font-size: 28px; text-transform: uppercase; }
.modal-body { font-size: 14px; }
.nav-arrow:hover, .close-modal:hover { background: #fff; color: #000; }
.service-big-icon { color: #fff !important; filter: none !important; }
.modal-media { background: #000; }

/* A deliberate loading sequence: scan the mark, then type the studio name. */
#preloader { flex-direction: column; gap: 22px; }
#preloader.loaded { transition: opacity 180ms linear, visibility 180ms linear !important; }
#preloader .loader-logo { width: 150px; animation: none !important; }
#preloader .loader-part { fill: #3f3f46; }
#preloader .loader-part.is-lit { fill: #fff; }
.loader-terminal {
    display: flex;
    align-items: baseline;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: lowercase;
    min-height: 22px;
}
.loader-terminal-text {
    display: inline-block;
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    animation: tacticalType 1400ms steps(10, end) .25s forwards;
}
.loader-terminal-caret { animation: tacticalCaret 600ms step-end infinite; }
@keyframes tacticalType { to { width: 10ch; } }
@keyframes tacticalCaret { 50% { opacity: 0; } }
@keyframes tacticalStatus { 50% { opacity: .25; } }
@keyframes tacticalScan {
    from { background-position: 0 -110%; }
    to { background-position: 0 110%; }
}
@keyframes tacticalArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Entries are animated only after their content exists and reaches the viewport. */
@keyframes tacticalEnter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes tacticalSlide {
    from { transform: translateY(16px); }
    to { transform: translateY(0); }
}
@keyframes tacticalHeaderEnter {
    from { opacity: 0; transform: translate(-50%, -12px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes tacticalFade {
    from { opacity: .55; }
    to { opacity: 1; }
}
body.site-ready .header-container,
body.site-ready .studio-header-text {
    animation: tacticalHeaderEnter 380ms ease-out both !important;
}
body.site-ready .hero-meta-rail { animation: tacticalEnter 420ms ease-out .1s both !important; }
body.site-ready .hero-logo-wrap { animation: tacticalEnter 480ms ease-out .18s both !important; }
body.site-ready .hero-studio-name { animation: tacticalEnter 420ms ease-out .3s both !important; }
body.site-ready .hero-subtitle { animation: tacticalEnter 420ms ease-out .39s both !important; }
body.site-ready .hero-actions { animation: tacticalEnter 420ms ease-out .5s both !important; }
body.site-ready .scroll-indicator { animation: tacticalFade 420ms linear .7s both !important; }
.service-card.entered,
.marquee-section.entered,
.contact-container.entered,
.footer-cta h2.entered,
.footer-cta > p.entered { animation: tacticalEnter 480ms ease-out both; }
.service-card.entered:nth-child(2) { animation-delay: 70ms; }
.service-card.entered:nth-child(3) { animation-delay: 140ms; }
.service-card--featured.entered { animation-name: tacticalSlide; }
.demo-reel-card.entered .demo-reel-media { animation: tacticalFade 450ms linear both; }
.demo-reel-card.entered .demo-reel-caption { animation: tacticalFade 450ms linear .12s both; }

/* Controls invert as a single unit so labels and icons remain readable. */
.hero-primary-link:hover, .hero-primary-link:focus-visible,
.btn-send:hover, .btn-send:focus-visible,
.modal-cta-btn:hover, .modal-cta-btn:focus-visible {
    background: #000;
    border-color: #fff;
    color: #fff;
    transform: none;
}
.service-card:not(.service-card--featured):hover,
.service-card:not(.service-card--featured):focus-visible {
    background-color: #fff;
    background-image: radial-gradient(rgba(0,0,0,.18) .7px, transparent .8px);
    border-color: #fff;
    color: #000;
}
.service-card:not(.service-card--featured):is(:hover, :focus-visible) h3,
.service-card:not(.service-card--featured):is(:hover, :focus-visible) p,
.service-card:not(.service-card--featured):is(:hover, :focus-visible) .service-icon,
.service-card:not(.service-card--featured):is(:hover, :focus-visible)::before { color: #000; }
.service-card--featured:hover, .service-card--featured:focus-visible {
    background: #000;
    border-color: #fff;
    color: #fff;
}
.service-card--featured:is(:hover, :focus-visible) h3,
.service-card--featured:is(:hover, :focus-visible) p,
.service-card--featured:is(:hover, :focus-visible) .service-icon { color: #fff; }
.service-card, .service-card *, .hero-primary-link, .btn-send,
.modal-cta-btn, .nav-link, .dock-item, .mobile-nav-pill button,
.demo-reel-next-cue, .demo-reel-play { transition: none !important; }
.logo-wrapper:hover { background: #fff; border-color: #fff; }
.logo-wrapper:hover .logo-part { fill: #000; }
.nav-link:hover, .nav-link:focus-visible,
.dock-item:hover, .dock-item:focus-visible,
.mobile-nav-pill button:hover, .mobile-nav-pill button:focus-visible,
.social-icons a:hover, .footer-links a:hover {
    background: #fff;
    color: #000;
    text-decoration: none;
}
.dock-item:hover i, .dock-item:focus-visible i { color: #000; transform: none; }
.demo-reel-card .demo-reel-play:hover { background: #000; border-color: #fff; color: #fff; }

/* Split-screen video landing experiment. */
#hero.split-hero {
    display: block;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background: #000;
    text-align: left;
}
.split-hero-panels {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    overflow: hidden;
    background: #000;
}
.split-panel {
    position: relative;
    display: block;
    flex: 1 1 0;
    min-width: 0;
    container-type: inline-size;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    border-right: 1px solid #52525b;
    padding: 0;
    background: #050505;
    color: #fff;
    cursor: none;
    outline: none;
    transition: flex-grow 520ms cubic-bezier(.2,.75,.2,1) !important;
}
.split-panel:last-child { border-right: 0; }
.split-panel:is(:hover, :focus-visible, .is-active) { flex-grow: 4; }
.split-panel-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .78;
    filter: grayscale(1) contrast(1.16) brightness(.78);
    transform: scale(1.05);
    transition: filter 520ms ease, transform 900ms ease, opacity 520ms ease !important;
}
.split-panel:is(:hover, :focus-visible, .is-active) .split-panel-video {
    opacity: 1;
    filter: grayscale(0) saturate(1.08) contrast(1.08) brightness(.96);
    transform: scale(1.05);
}
.split-panel-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.12), transparent 34%, rgba(0,0,0,.22) 58%, #000 100%);
}
.split-panel-grain {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: .2;
    background-image: radial-gradient(rgba(255,255,255,.4) .7px, transparent .85px);
    background-size: 9px 9px;
    mask-image: linear-gradient(180deg, transparent 5%, #000 60%);
}
.split-panel-content {
    position: absolute;
    z-index: 2;
    left: clamp(24px, 5.5vw, 88px);
    right: 24px;
    bottom: clamp(90px, 13vh, 150px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    pointer-events: none;
    transition: left 520ms ease, bottom 520ms ease !important;
}
.split-panel-index {
    color: #d4d4d8;
    font-size: 11px;
    line-height: 1.5;
    text-transform: uppercase;
    transition: opacity 180ms linear, transform 180ms linear !important;
}
.split-panel-content h1,
.split-panel-content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(64px, 11vw, 180px);
    line-height: .9;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}
@supports (font-size: 10cqi) {
    .split-panel-content h1,
    .split-panel-content h2 { font-size: clamp(34px, 16cqi, 180px); }
}
.split-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,.72);
    padding: 0 14px;
    color: #fff;
    background: #050505;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    pointer-events: auto;
    transition: color 160ms linear, background-color 160ms linear !important;
}
.split-panel-link:hover,
.split-panel-link:focus-visible { background: #fff; color: #000; }
.split-hero-brand {
    position: absolute;
    z-index: 3;
    top: 49%;
    left: 50%;
    display: flex;
    width: min(760px, 84vw);
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    transform: translate(-50%, -50%);
    background: transparent;
    color: #fff;
    text-align: center;
    pointer-events: none;
}
.split-hero-brand::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -34% -24%;
    border-radius: 50% !important;
    background: radial-gradient(ellipse, rgba(0,0,0,.82) 0%, rgba(0,0,0,.56) 44%, rgba(0,0,0,0) 78%);
    filter: blur(28px);
    pointer-events: none;
}
.split-hero-brand-mark-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 620px);
    padding: 18px 24px;
    background:
        linear-gradient(#a1a1aa,#a1a1aa) left top / 24px 1px,
        linear-gradient(#a1a1aa,#a1a1aa) left top / 1px 20px,
        linear-gradient(#a1a1aa,#a1a1aa) right top / 24px 1px,
        linear-gradient(#a1a1aa,#a1a1aa) right top / 1px 20px,
        linear-gradient(#a1a1aa,#a1a1aa) left bottom / 24px 1px,
        linear-gradient(#a1a1aa,#a1a1aa) left bottom / 1px 20px,
        linear-gradient(#a1a1aa,#a1a1aa) right bottom / 24px 1px,
        linear-gradient(#a1a1aa,#a1a1aa) right bottom / 1px 20px;
    background-repeat: no-repeat;
}
.split-hero-brand-mark { display: block; width: min(100%, 570px); height: auto; }
.split-hero-brand h1 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}
.split-hero-mobile-title { display: none; }
.split-hero-brand p {
    max-width: 540px;
    margin: 0;
    color: #e4e4e7;
    font-size: 14px;
    line-height: 1.7;
}
.split-hero-brand-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-top: 4px;
    border: 1px solid #fff;
    padding: 0 18px;
    background: #fff;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    pointer-events: auto;
}
.split-hero-brand-cta:hover,
.split-hero-brand-cta:focus-visible { background: #000; color: #fff; }
.split-hero-scroll {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: max(24px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
    border: 1px solid #52525b;
    padding: 11px 14px;
    background: #09090b;
    color: #d4d4d8;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.split-hero-scroll i { color: #fff; animation: tacticalArrow 1.2s ease-in-out infinite; }
.split-hero-scroll:hover { background: #fff; color: #000; }
.split-hero-scroll:hover i { color: #000; }

@media (max-width: 768px) {
    #hero.split-hero { min-height: 520px; }
    .split-hero-panels { flex-direction: column; }
    .split-panel {
        flex: 1 1 0;
        width: 100%;
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid #52525b;
        transition: flex-grow 460ms cubic-bezier(.2,.75,.2,1) !important;
    }
    .split-panel:is(:hover, :focus-visible, .is-active) { flex-grow: 4; }
    .split-panel-content {
        left: 22px;
        right: 18px;
        bottom: 24px;
        gap: 8px;
    }
    .split-panel-content h1,
    .split-panel-content h2 { font-size: clamp(38px, 12vw, 74px); }
    .split-panel-index { font-size: 9px; }
    .split-panel-link { min-height: 34px; padding-inline: 10px; font-size: 9px; }
    .split-panel-content { display: none; }
    .split-panel:not(.is-active):not(:hover):not(:focus-visible) .split-panel-index,
    .split-panel:not(.is-active):not(:hover):not(:focus-visible) .split-panel-link {
        opacity: 0;
        transform: translateY(8px);
    }
    .split-panel:not(.is-active):not(:hover):not(:focus-visible) .split-panel-content { bottom: 15px; }
    .split-hero-brand {
        top: 49%;
        width: min(94vw, 520px);
        gap: 7px;
        padding: 12px 14px;
    }
    .split-hero-brand-mark-wrap { width: min(100%, 290px); padding: 10px 16px; }
    .split-hero-brand-mark { width: min(100%, 260px); }
    .split-hero-mobile-title {
        display: block;
        color: #fff;
        font-size: 22px;
        line-height: 1;
        font-weight: 700;
        text-transform: uppercase;
    }
    .split-hero-brand h1 { font-size: 17px; }
    .split-hero-brand p { max-width: 360px; font-size: 11px; line-height: 1.5; }
    .split-hero-brand-cta { min-height: 36px; margin-top: 1px; padding-inline: 12px; font-size: 9px; }
    .split-hero-scroll { bottom: max(12px, env(safe-area-inset-bottom)); font-size: 9px; padding: 9px 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .split-panel, .split-panel-video, .split-panel-content,
    .split-panel-index, .split-panel-link, .split-hero-brand-cta,
    .split-hero-scroll i { transition: none !important; animation: none !important; }
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot {
        display: block !important;
        width: 24px;
        height: 24px;
        opacity: 0;
        transform: translate(-2px, -2px) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M2 1 21 8.5Q22.5 9.2 20.5 10L11 13.2 8 21Q7.2 23 6.2 20.5Z' fill='white' stroke='black' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
        filter: none;
    }
    body.site-ready.has-pointer .cursor-dot { opacity: 1; }
    body.hovering .cursor-dot { transform: translate(-2px, -2px) !important; }
    html, body, body * { cursor: none !important; }
    input, textarea { cursor: text !important; }
    body:has(input:hover, textarea:hover) .cursor-dot { display: none !important; }
}

@media (max-width: 768px) {
    #services { padding-block: 34px; }
    .demo-reel-card {
        min-height: 94vh;
        min-height: 94svh;
        padding: max(38px, calc(env(safe-area-inset-top, 0px) + 28px)) 6px max(78px, calc(env(safe-area-inset-bottom, 0px) + 58px));
    }
    .marquee-section { padding: 26px 0; }
    .marquee-group { gap: 18px; padding-right: 18px; }
    .client-logo { flex-basis: 40px; width: 40px; height: 40px; font-size: 18px; }
    .software-monogram { font-size: 11px; }
    .marquee-content { animation: tacticalMarquee 38s linear infinite; }
    .hero-logo-wrap::after { inset: -14px; }
    .hero-meta-rail { font-size: 10px; }
    .hero-studio-name { font-size: 20px; }
    .hero-subtitle { font-size: 13px; line-height: 1.65; max-width: 340px; }
    .hero-primary-link { font-size: 11px; }
    .section-title { font-size: 28px; }
    .service-card h3 { font-size: 18px; }
    .demo-reel-play { width: 62px; height: 62px; font-size: 18px; }
    .demo-reel-caption-title { font-size: 26px; }
    .demo-reel-caption p { font-size: 11px; line-height: 1.4; max-width: 260px; }
    .demo-reel-media::before { font-size: 10px; top: 10px; left: 10px; }
    .demo-reel-next-cue { font-size: 9px; }
    .footer-cta h2 { font-size: 28px; }
    .footer-cta > p { font-size: 13px; }
    .contact-header h3 { font-size: 20px; }
    .modal-details h2 { font-size: 22px; }
}

@media (max-width: 380px) {
    .demo-reel-card {
        padding: max(34px, calc(env(safe-area-inset-top, 0px) + 24px)) 5px max(74px, calc(env(safe-area-inset-bottom, 0px) + 54px));
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    body.site-ready .header-container, body.site-ready .studio-header-text,
    body.site-ready .hero-meta-rail, body.site-ready .hero-logo-wrap,
    body.site-ready .hero-studio-name, body.site-ready .hero-subtitle,
    body.site-ready .hero-actions, body.site-ready .scroll-indicator { animation: none !important; }
    #preloader .loader-part { fill: #fff; }
    .loader-terminal-text { width: 10ch; }
}
