:root {
    --mx-bg: #030306;
    --mx-ink: #f7f3ff;
    --mx-muted: #b7adca;
    --mx-dim: #756b86;
    --mx-line: rgba(255, 255, 255, .12);
    --mx-line-strong: rgba(255, 255, 255, .22);
    --mx-panel: rgba(255, 255, 255, .055);
    --mx-panel-strong: rgba(255, 255, 255, .09);
    --mx-purple: #8b3dff;
    --mx-purple-deep: #3b136f;
    --mx-amber: #ffb000;
    --mx-orange: #ff6b2c;
    --mx-lime: #d6ff5c;
    --mx-radius: 8px;
    --mx-radius-lg: 12px;
    --mx-ease: cubic-bezier(.2, .8, .2, 1);
    --mx-shadow: 0 34px 90px rgba(0, 0, 0, .42);
    --mx-header: rgba(3, 3, 6, .78);
    --radius: var(--mx-radius);
    --radius-sm: var(--mx-radius);
    --primary: var(--mx-purple);
    --secondary: var(--mx-amber);
    --cyan: var(--mx-amber);
    --pink: var(--mx-orange);
    --neon: var(--mx-purple);
    --text: var(--mx-ink);
    --muted: var(--mx-muted);
    --border: var(--mx-line);
    --border-strong: var(--mx-line-strong);
    --section-padding: 118px;
}

html {
    background: var(--mx-bg);
}

body {
    background:
        linear-gradient(115deg, rgba(139, 61, 255, .14), transparent 28%),
        linear-gradient(245deg, rgba(255, 176, 0, .08), transparent 34%),
        var(--mx-bg);
    color: var(--mx-ink);
}

body * {
    letter-spacing: 0 !important;
}

main,
.section,
.carousel-shell,
.carousel-viewport {
    max-width: 100%;
}

.carousel-shell,
.carousel-viewport {
    overflow-x: clip;
}

.carousel-viewport {
    contain: layout paint;
}

body::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: .55;
}

body::after {
    background:
        linear-gradient(135deg, rgba(139, 61, 255, .09), transparent 34%),
        linear-gradient(315deg, rgba(255, 176, 0, .07), transparent 30%);
    mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

::selection {
    background: rgba(255, 176, 0, .28);
    color: #fff;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--mx-purple), var(--mx-amber), var(--mx-orange));
}

.site-cursor {
    position: fixed;
    z-index: 101;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 176, 0, .78);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: width .18s var(--mx-ease), height .18s var(--mx-ease), opacity .18s ease, background .18s ease;
    mix-blend-mode: difference;
}

.site-cursor.is-visible {
    opacity: 1;
}

.site-cursor.is-active {
    width: 42px;
    height: 42px;
    background: rgba(255, 176, 0, .18);
}

.section {
    width: min(1320px, calc(100% - clamp(34px, 6vw, 96px)));
}

.site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 74px;
    border-bottom-color: rgba(255, 255, 255, .08);
    background: var(--mx-header);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .2);
}

.brand {
    letter-spacing: .04em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: var(--mx-radius);
    border-color: rgba(255, 176, 0, .38);
    background:
        linear-gradient(135deg, rgba(139, 61, 255, .34), rgba(255, 176, 0, .10)),
        rgba(255, 255, 255, .045);
    box-shadow: none;
}

.brand-logo-frame {
    stroke: rgba(255, 255, 255, .34);
}

.brand-logo-code {
    stroke: var(--mx-amber);
}

.brand-logo-slash {
    stroke: #fff;
}

.desktop-nav {
    gap: clamp(12px, 1.7vw, 26px);
    color: rgba(247, 243, 255, .72);
}

.desktop-nav a,
.footer-links a,
.text-link {
    position: relative;
}

.desktop-nav a::after,
.footer-links a::after,
.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    background: currentColor;
    transition: transform .28s var(--mx-ease);
}

.desktop-nav a:hover::after,
.footer-links a:hover::after,
.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.language-switch,
.language-switch a,
.btn,
.icon-button,
.cart-link,
.customer-menu-link,
.filter-tabs a,
.status-badge,
.category-label,
.tech-list li,
.skill-grid span {
    border-radius: var(--mx-radius);
}

.btn {
    min-height: 48px;
    border: 1px solid var(--mx-line);
    letter-spacing: 0;
    transition: transform .22s var(--mx-ease), border-color .22s var(--mx-ease), background .22s var(--mx-ease), color .22s var(--mx-ease);
}

.btn:hover,
.icon-button:hover,
.cart-link:hover,
.customer-menu-link:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #15060c;
    background: linear-gradient(135deg, var(--mx-amber), var(--mx-orange));
    box-shadow: 0 18px 48px rgba(255, 107, 44, .22);
}

.btn.secondary,
.btn-ghost,
.cart-link,
.customer-menu-link,
.language-switch {
    background: rgba(255, 255, 255, .055);
    border-color: rgba(255, 255, 255, .14);
}

.section-kicker,
.eyebrow,
.section-eyebrow {
    color: var(--mx-amber);
    letter-spacing: .12em;
}

.section-kicker::before,
.eyebrow::before,
.section-eyebrow::before {
    background: linear-gradient(90deg, var(--mx-amber), var(--mx-purple));
}

.section-head h2,
.section-title,
.split h2,
.cta h2,
.page-hero h1,
.case-hero h1,
.hero h1 {
    letter-spacing: 0;
    text-wrap: balance;
}

.premium-hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - var(--header-height));
    padding-block: clamp(56px, 7vw, 92px);
    perspective: 1200px;
}

.premium-hero::before {
    content: "";
    position: absolute;
    inset: 38px max(-36px, -3vw) 20px;
    z-index: -2;
    border: 1px solid rgba(255, 255, 255, .06);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .06), transparent 28%),
        linear-gradient(295deg, rgba(139, 61, 255, .20), transparent 40%),
        rgba(255, 255, 255, .025);
    clip-path: polygon(0 8%, 88% 0, 100% 84%, 12% 100%);
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero-atmosphere span {
    position: absolute;
    display: block;
    border: 1px solid rgba(255, 255, 255, .13);
    background: linear-gradient(135deg, rgba(139, 61, 255, .20), rgba(255, 176, 0, .08));
    transform: rotate(18deg);
}

.hero-atmosphere span:nth-child(1) {
    right: 8%;
    top: 9%;
    width: 140px;
    height: 140px;
}

.hero-atmosphere span:nth-child(2) {
    right: 38%;
    bottom: 14%;
    width: 84px;
    height: 84px;
    transform: rotate(42deg);
}

.hero-atmosphere span:nth-child(3) {
    left: 3%;
    bottom: 10%;
    width: 180px;
    height: 58px;
    transform: skewX(-18deg);
}

.premium-hero .hero-copy {
    position: relative;
    z-index: 2;
}

.premium-hero h1 {
    max-width: 980px;
    font-size: clamp(3.35rem, 7.4vw, 7.85rem);
    line-height: .9;
}

.text-gradient {
    background: linear-gradient(115deg, #fff 0%, #fff 38%, #d9c8ff 62%, #ffb000 92%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-copy .lead {
    max-width: 720px;
    color: rgba(247, 243, 255, .78);
}

.hero-word-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 720px;
    margin-top: 26px;
}

.hero-word-row span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    color: rgba(247, 243, 255, .86);
    font-size: .82rem;
    font-weight: 800;
}

.hero-word-row span:nth-child(2n) {
    color: #201006;
    background: rgba(255, 176, 0, .92);
}

.hero-stage {
    position: relative;
    min-height: clamp(500px, 48vw, 690px);
    transform-style: preserve-3d;
}

.profile-card.hero-stage {
    padding: clamp(12px, 1.5vw, 18px);
    border-radius: var(--mx-radius-lg);
    border-color: rgba(255, 255, 255, .16);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035)),
        rgba(5, 5, 10, .56);
    box-shadow: var(--mx-shadow);
    overflow: visible;
}

.profile-card.hero-stage::before,
.profile-card.hero-stage::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.profile-card.hero-stage::before {
    inset: 10px;
    border: 1px solid rgba(255, 176, 0, .18);
    border-radius: var(--mx-radius);
    transform: translateZ(36px);
}

.profile-card.hero-stage::after {
    right: -18px;
    top: 18%;
    width: 42%;
    height: 54%;
    border: 1px solid rgba(139, 61, 255, .45);
    background: rgba(139, 61, 255, .12);
    transform: translateZ(-48px) rotate(8deg);
}

.hero-profile-image,
.hero-showreel {
    min-height: clamp(360px, 39vw, 560px);
    border-radius: var(--mx-radius);
    border-color: rgba(255, 255, 255, .18);
    filter: saturate(1.02) contrast(1.02);
}

.hero-showreel {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #05050a;
}

.profile-info {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 3;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--mx-radius);
    background: rgba(3, 3, 6, .72);
    backdrop-filter: blur(18px);
}

.showreel-placeholder {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 4;
    padding: 8px 10px;
    border: 1px solid rgba(255, 176, 0, .28);
    border-radius: var(--mx-radius);
    background: rgba(3, 3, 6, .72);
    color: var(--mx-amber);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.showreel-placeholder::before {
    content: attr(data-placeholder);
}

.hero-project-stack {
    position: absolute;
    inset: auto -42px 94px auto;
    z-index: 5;
    display: grid;
    gap: 12px;
    width: min(280px, 45%);
    pointer-events: none;
}

.hero-project-tile {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 70px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--mx-radius);
    background: rgba(3, 3, 6, .78);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
    transform: translateZ(74px);
    pointer-events: auto;
}

.hero-project-tile:nth-child(2) {
    margin-left: 24px;
    transform: translateZ(56px);
}

.hero-project-tile:nth-child(3) {
    margin-left: 48px;
    transform: translateZ(38px);
}

.hero-project-tile img {
    width: 78px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
}

.hero-project-tile span {
    color: rgba(247, 243, 255, .86);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.25;
}

.hero-service-strip {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -32px;
    z-index: 6;
    display: flex;
    gap: 8px;
    overflow: auto hidden;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--mx-radius);
    background: rgba(3, 3, 6, .78);
    scrollbar-width: none;
}

.hero-service-strip::-webkit-scrollbar {
    display: none;
}

.hero-service-strip a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: rgba(247, 243, 255, .84);
    font-size: .76rem;
    font-weight: 800;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 28px;
    display: grid;
    place-items: start center;
    width: 24px;
    height: 42px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    margin-top: 8px;
    border-radius: 99px;
    background: var(--mx-amber);
    animation: mx-scroll 1.55s var(--mx-ease) infinite;
}

@keyframes mx-scroll {
    0%, 100% { transform: translateY(0); opacity: .45; }
    45% { transform: translateY(14px); opacity: 1; }
}

.project-card,
.product-card,
.service-card,
.service-detail,
.summary-panel,
.form-panel,
.editorial-grid article,
.case-grid article,
.timeline-card,
.stack-card,
.tool-panel,
.testimonial-card {
    position: relative;
    border-radius: var(--mx-radius);
    border-color: rgba(255, 255, 255, .12);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)),
        rgba(255, 255, 255, .035);
    box-shadow: none;
    overflow: hidden;
}

.project-card::before,
.service-card::before,
.stack-card::before,
.timeline-card::before,
.service-detail::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-top: 1px solid rgba(255, 176, 0, .22);
}

.project-card:hover,
.product-card:hover,
.service-card:hover,
.service-detail:hover,
.editorial-grid article:hover,
.case-grid article:hover,
.timeline-card:hover,
.stack-card:hover {
    transform: translateY(-6px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    border-color: rgba(255, 176, 0, .34);
    background:
        linear-gradient(145deg, rgba(139, 61, 255, .12), rgba(255, 176, 0, .045)),
        rgba(255, 255, 255, .045);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.projects-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.projects-grid .project-card {
    grid-column: span 2;
}

.projects-grid .project-card:nth-child(4n + 1),
.project-card.featured-card {
    grid-column: span 4;
}

.project-card.featured-card {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
}

.project-thumb {
    min-height: 310px;
    object-fit: cover;
    transition: transform .65s var(--mx-ease), filter .65s var(--mx-ease);
}

.project-card:hover .project-thumb,
.service-detail:hover .service-preview img,
.product-card:hover .product-thumb {
    transform: scale(1.045);
    filter: saturate(1.1) contrast(1.05);
}

.project-body {
    min-height: auto;
}

.tech-list li,
.skill-grid span,
.filter-tabs a,
.status-badge,
.category-label {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .055);
}

.category-label {
    color: var(--mx-amber);
}

.services-list {
    display: grid;
    gap: 22px;
}

.service-detail {
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
    align-items: stretch;
}

.service-detail:nth-child(even) .service-detail-copy {
    order: 2;
}

.service-detail:nth-child(even) .service-preview {
    order: 1;
}

.service-icon {
    border-radius: var(--mx-radius);
    background: linear-gradient(135deg, var(--mx-purple), var(--mx-purple-deep));
    box-shadow: none;
}

.service-detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-detail-meta > div {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-left-color: rgba(255, 176, 0, .38);
    border-radius: var(--mx-radius);
    background: rgba(255, 255, 255, .035);
}

.service-preview {
    border-radius: var(--mx-radius);
    background:
        linear-gradient(135deg, rgba(139, 61, 255, .18), transparent),
        rgba(255, 255, 255, .035);
}

.service-preview img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 0;
}

.stack-grid,
.timeline-grid {
    align-items: stretch;
}

.stack-card,
.timeline-card,
.tool-panel {
    min-height: 100%;
}

.skill-grid {
    gap: 8px;
}

.process-line {
    position: relative;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.process-line div {
    border-radius: var(--mx-radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)),
        rgba(255, 255, 255, .035);
}

.store-band,
.cta {
    border-radius: var(--mx-radius-lg);
    border-color: rgba(255, 176, 0, .18);
    background:
        linear-gradient(120deg, rgba(139, 61, 255, .22), transparent 44%),
        linear-gradient(300deg, rgba(255, 176, 0, .14), transparent 38%),
        rgba(255, 255, 255, .045);
    box-shadow: var(--mx-shadow);
}

.mini-products a,
.contact-channel-grid a {
    border-radius: var(--mx-radius);
    transition: transform .22s var(--mx-ease), border-color .22s var(--mx-ease), background .22s var(--mx-ease);
}

.mini-products a:hover,
.contact-channel-grid a:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 176, 0, .34);
}

.page-hero,
.case-hero {
    position: relative;
    overflow-x: clip;
    padding-top: clamp(74px, 9vw, 118px);
    padding-bottom: clamp(54px, 7vw, 84px);
}

.page-hero::before,
.case-hero::before {
    content: "";
    position: absolute;
    inset: 58px -24px 26px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .06);
    background:
        linear-gradient(112deg, rgba(139, 61, 255, .18), transparent 42%),
        linear-gradient(292deg, rgba(255, 176, 0, .08), transparent 42%);
    clip-path: polygon(0 0, 100% 8%, 94% 100%, 5% 88%);
}

.about-visual,
.about-personal,
.contact-flow,
.checkout-grid,
.product-detail,
.case-hero {
    gap: clamp(26px, 4vw, 58px);
}

.image-panel,
.profile-photo,
.case-cover,
.product-image,
.product-thumb {
    border-radius: var(--mx-radius);
}

.about-questions details {
    border-radius: var(--mx-radius);
    background: rgba(255, 255, 255, .045);
}

.contact-flow {
    max-width: 1180px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
    align-items: start;
}

.contact-flow .form-panel,
.contact-flow .contact-channels {
    min-height: 100%;
}

.contact-channels .contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    border: 0;
}

.contact-channel-grid a {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .11);
    background: rgba(255, 255, 255, .045);
}

.contact-channel-grid a span,
.contact-channel-grid a strong {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-channel-grid a span {
    color: var(--mx-amber);
    font-size: .78rem;
    font-weight: 900;
}

.form-panel input,
.form-panel select,
.form-panel textarea,
.cart-row input,
.coupon-panel input,
.qty-input {
    border-radius: var(--mx-radius);
    background: rgba(3, 3, 6, .5);
}

.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus,
.cart-row input:focus,
.coupon-panel input:focus,
.qty-input:focus {
    border-color: var(--mx-amber);
    box-shadow: 0 0 0 4px rgba(255, 176, 0, .12);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
    transition: opacity .7s var(--mx-ease), transform .7s var(--mx-ease), filter .7s var(--mx-ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.back-to-top {
    border-radius: var(--mx-radius);
    background: var(--mx-amber);
    color: #140804;
}

.image-lightbox {
    backdrop-filter: blur(18px);
}

@media (hover: none), (pointer: coarse) {
    .site-cursor {
        display: none;
    }

    .project-card:hover,
    .product-card:hover,
    .service-card:hover,
    .service-detail:hover,
    .editorial-grid article:hover,
    .case-grid article:hover,
    .timeline-card:hover,
    .stack-card:hover {
        transform: none;
    }
}

@media (max-width: 1180px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-grid .project-card,
    .projects-grid .project-card:nth-child(4n + 1),
    .project-card.featured-card {
        grid-column: auto;
    }
}

@media (max-width: 992px) {
    .premium-hero {
        min-height: auto;
        padding-bottom: 84px;
    }

    .premium-hero::before {
        clip-path: none;
        inset: 22px 0;
    }

    .hero-stage {
        min-height: auto;
    }

    .profile-card.hero-stage::after,
    .hero-atmosphere,
    .site-cursor {
        display: none;
    }

    .hero-project-stack {
        position: static;
        width: auto;
        margin-top: 14px;
    }

    .hero-project-tile,
    .hero-project-tile:nth-child(2),
    .hero-project-tile:nth-child(3) {
        margin-left: 0;
        transform: none;
    }

    .hero-service-strip {
        position: static;
        margin-top: 14px;
    }

    .scroll-indicator {
        display: none;
    }

    .contact-flow,
    .service-detail,
    .service-detail:nth-child(even) .service-detail-copy,
    .service-detail:nth-child(even) .service-preview {
        grid-template-columns: 1fr;
        order: initial;
    }

    .service-detail-meta {
        grid-template-columns: 1fr;
    }

    .process-line {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 76px;
    }

    .section {
        width: min(100% - 34px, 620px);
    }

    .page-hero::before,
    .case-hero::before {
        inset: 34px 0 18px;
        clip-path: none;
    }

    .premium-hero h1 {
        font-size: clamp(2.42rem, 12vw, 4rem);
    }

    .profile-info {
        position: static;
        margin-top: 12px;
        padding: 14px;
    }

    .showreel-placeholder {
        right: 12px;
        top: 12px;
        font-size: .64rem;
    }

    .hero-profile-image {
        min-height: 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured-card {
        grid-template-columns: 1fr;
    }

    .store-band,
    .cta,
    .project-body,
    .service-card,
    .service-detail,
    .summary-panel,
    .form-panel,
    .editorial-grid article,
    .case-grid article,
    .timeline-card,
    .stack-card {
        padding: 22px;
    }
}

@media (max-width: 430px) {
    .section,
    .site-footer,
    .flash {
        width: min(100% - 28px, 390px);
    }

    .site-header {
        padding-inline: 14px;
    }

    .hero-word-row span,
    .hero-service-strip a {
        font-size: .7rem;
    }

    .hero-project-tile {
        grid-template-columns: 64px 1fr;
    }

    .hero-project-tile img {
        width: 64px;
    }

    .process-line {
        grid-template-columns: 1fr;
    }

    .tools-carousel {
        grid-template-columns: 1fr;
    }

    .tools-carousel .carousel-arrow {
        display: none;
    }

    .tools-carousel .carousel-track {
        display: grid;
        gap: 12px;
        transform: none !important;
    }

    .tools-carousel .carousel-item {
        width: 100%;
        flex-basis: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

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

    .site-cursor,
    .scroll-indicator {
        display: none;
    }
}

/* Visual refinement pass: quieter, aligned and less template-like. */
.brand-mark {
    overflow: hidden;
    border-radius: 50%;
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-logo,
.brand-logo-frame,
.brand-logo-code,
.brand-logo-slash {
    display: none;
}

.desktop-nav .language-switch a::after,
.language-switch a::after,
.mobile-language-switch a::after {
    display: none !important;
    content: none !important;
}

.premium-hero {
    min-height: min(760px, calc(100svh - var(--header-height)));
    padding-block: clamp(42px, 5.5vw, 74px);
    align-items: center;
}

.premium-hero h1 {
    max-width: 780px;
    color: #fff;
    font-size: clamp(2.65rem, 5.1vw, 5.35rem);
    line-height: .96;
}

.hero-copy .lead {
    max-width: 600px;
    margin-top: 22px;
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.65;
}

.hero-word-row,
.premium-hero .hero-copy > .meta-line {
    display: none;
}

.page-hero,
.case-hero {
    padding-top: clamp(58px, 7vw, 92px);
    padding-bottom: clamp(42px, 5.5vw, 68px);
}

.page-hero h1,
.case-hero h1,
.product-detail h1 {
    max-width: 920px;
    font-size: clamp(2.35rem, 4.2vw, 3.75rem);
    line-height: 1.04;
}

.section-head h2,
.section-title,
.split h2,
.cta h2 {
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    line-height: 1.08;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 24px;
}

.projects-grid .project-card,
.projects-grid .project-card:nth-child(4n + 1),
.project-card.featured-card {
    grid-column: auto;
}

.project-card,
.project-card.featured-card {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100%;
}

.project-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.project-thumb {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.project-body {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: clamp(20px, 2vw, 28px);
}

.project-body h3 {
    min-height: 2.35em;
    font-size: clamp(1.35rem, 1.9vw, 1.85rem);
    line-height: 1.16;
}

.project-body p {
    min-height: 3.2em;
}

.category-label {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mx-amber);
    line-height: 1.2;
}

.category-label::before {
    display: none;
}

.tech-list {
    margin-top: 0;
}

.card-actions {
    margin-top: auto;
}

.contact-flow {
    max-width: 1180px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
}

.contact-flow .form-panel,
.contact-flow .contact-channels {
    min-height: auto;
}

.contact-channels {
    gap: 18px;
}

.contact-channels .contact-channel-grid {
    grid-template-columns: 1fr;
}

.contact-channel-grid a {
    display: grid;
    grid-template-columns: minmax(90px, .38fr) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 15px 16px;
}

.contact-channel-grid a span {
    color: rgba(247, 243, 255, .62);
}

.contact-channel-grid a strong {
    color: var(--mx-amber);
    font-size: .98rem;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: normal;
}

@media (max-width: 992px) {
    .premium-hero {
        min-height: auto;
    }

    .premium-hero h1 {
        font-size: clamp(2.25rem, 8vw, 3.45rem);
    }

    .contact-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-hero h1,
    .case-hero h1,
    .product-detail h1 {
        font-size: clamp(2rem, 9vw, 2.65rem);
    }

    .section-head h2,
    .section-title,
    .split h2,
    .cta h2 {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .contact-channel-grid a {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .project-body h3,
    .project-body p {
        min-height: 0;
    }
}

/* Flow refinements requested after visual review. */
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border-color: rgba(255, 176, 0, .22);
    background: #08070b;
}

.brand-mark img {
    object-fit: cover;
}

.cart-link,
.customer-menu-link {
    min-height: auto;
    padding: 8px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.cart-link:hover,
.customer-menu-link:hover {
    transform: none;
    background: transparent;
    border-color: transparent;
}

.cart-link::after,
.customer-menu-link::after,
.icon-button::after {
    display: none !important;
    content: none !important;
}

.cart-icon {
    width: 24px;
    height: 24px;
}

.language-switch a {
    opacity: 1;
    transform: none;
    border: 1px solid transparent;
    background: transparent;
}

.language-switch a:hover,
.language-switch a.active {
    opacity: 1;
    transform: none;
}

.language-switch a.active {
    border-color: rgba(255, 176, 0, .36);
    background: rgba(255, 176, 0, .08);
}

.profile-card.hero-stage::after,
.showreel-placeholder,
.hero-project-stack,
.hero-service-strip {
    display: none !important;
}

.profile-card.hero-stage {
    min-height: clamp(440px, 44vw, 620px);
}

.profile-card.hero-stage::before {
    inset: 12px;
}

.hero-profile-image {
    min-height: clamp(360px, 38vw, 560px);
}

.customer-auth-grid {
    align-items: stretch;
}

.customer-auth-grid .form-panel,
.customer-auth-grid .summary-panel {
    display: grid;
    gap: 18px;
    padding: clamp(28px, 3vw, 42px);
}

.customer-auth-grid .form-panel label {
    gap: 8px;
}

.customer-auth-grid .btn {
    width: fit-content;
    min-width: 150px;
    justify-content: center;
    margin-top: 4px;
}

.customer-auth-side p {
    margin: 0;
    line-height: 1.75;
}

.customer-auth-link {
    margin-top: -4px;
    text-decoration: none;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(22px, 3vw, 36px);
    align-items: start;
}

.cart-main-panel,
.cart-summary-panel {
    min-width: 0;
}

.cart-summary-panel {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 18px;
}

.cart-card-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.cart-row {
    grid-template-columns: minmax(360px, 1fr) 132px 150px 92px;
    gap: 18px;
    align-items: start;
    min-height: 118px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.cart-item-main {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    min-width: 0;
}

.cart-item-preview {
    width: 92px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255, 255, 255, .04);
}

.cart-item-main > div {
    display: grid;
    grid-template-rows: 15px 26px 20px;
    gap: 4px;
    min-width: 0;
}

.cart-item-eyebrow,
.cart-item-main strong,
.cart-item-main small,
.cart-qty-field span,
.cart-item-subtotal span,
.cart-item-subtotal strong {
    display: block;
}

.cart-item-eyebrow {
    line-height: 1.1;
}

.cart-item-main strong {
    max-width: 100%;
    margin: 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
    align-self: center;
}

.cart-item-main small {
    margin: 0;
    line-height: 1.35;
    align-self: center;
}

.cart-qty-field,
.cart-item-subtotal {
    display: grid;
    grid-template-rows: 15px 52px;
    gap: 12px;
    justify-self: stretch;
    align-self: start;
}

.cart-qty-field span,
.cart-item-subtotal span {
    min-height: 1.1em;
    margin-bottom: 0;
    line-height: 1.1;
}

.cart-qty-field input {
    width: 100%;
    min-height: 52px;
}

.cart-item-subtotal strong {
    display: flex;
    align-items: center;
    min-height: 52px;
}

.cart-remove {
    justify-self: end;
    margin-top: 27px;
    min-width: 86px;
    padding-inline: 12px;
    text-align: center;
}

.cart-summary-panel .coupon-panel {
    margin-top: 0;
}

.cart-summary-panel .coupon-panel form {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
}

.cart-summary-panel .coupon-panel label {
    min-width: 0;
}

.cart-summary-panel .cart-total {
    margin-top: 0;
    padding: 22px;
}

.cart-summary-actions {
    display: grid;
    gap: 10px;
}

.cart-summary-actions .btn {
    width: 100%;
}

.text-link::after {
    bottom: -4px;
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .cart-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .cart-item-main {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .cart-item-preview {
        width: 72px;
        height: 58px;
    }

    .cart-summary-panel .coupon-panel form {
        grid-template-columns: 1fr;
    }

    .cart-remove {
        justify-self: stretch;
        width: 100%;
    }

    .customer-auth-grid .btn {
        width: 100%;
    }
}
