/* ============================
   CSS Variables & Reset
   ============================ */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #eeeeee;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #999999;
    --accent-cyan: #09f;
    --accent-purple: #5b0080;
    --border-color: #1a1a1a;
    --font-primary: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-caveat: 'Caveat', cursive;
    --font-mono: 'Space Mono', monospace;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: auto; /* Lenis handles smooth scroll */
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    cursor: none;
}

::selection {
    background: var(--accent-purple);
    color: var(--text-primary);
}

/* ============================
   Loader
   ============================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}

.loader-ring-bg {
    stroke: rgba(0,0,0,0.08);
    stroke-width: 3;
}

.loader-ring-fill {
    stroke: var(--text-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 213.6;
    stroke-dashoffset: 213.6;
    animation: loaderCircle 2s var(--ease-in-out) forwards;
}

@keyframes loaderCircle {
    0%   { stroke-dashoffset: 213.6; }
    100% { stroke-dashoffset: 0; }
}

.loader-counter {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    position: relative;
    z-index: 1;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s var(--ease-out-expo);
}

/* ============================
   Custom Cursor
   ============================ */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.3s var(--ease-out-expo), width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo);
}

.cursor.hovering {
    transform: scale(3);
}

.cursor-follower.hovering {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0.6);
}

/* ============================
   Scroll Indicator
   ============================ */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
    opacity: 0;
}

.scroll-indicator {
    width: 1px;
    height: 56px;
    background: rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.scroll-line {
    position: absolute;
    top: -56px;
    left: 0;
    width: 100%;
    height: 56px;
    background: rgba(0,0,0,0.55);
    animation: scrollDrop 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollDrop {
    0%   { top: -56px; opacity: 1; }
    70%  { opacity: 1; }
    100% { top: 56px; opacity: 0; }
}

/* Panel scroll indicator — absolute bottom-center of each panel */
.panel-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.panel-scroll .scroll-indicator {
    width: 1px;
    height: 48px;
    background: rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.panel-scroll .scroll-line {
    position: absolute;
    top: -48px;
    left: 0;
    width: 100%;
    height: 48px;
    background: rgba(0,0,0,0.4);
    animation: scrollDrop 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ============================
   Navigation
   ============================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 400;
    cursor: none;
    padding: 0;
    transition: color 0.3s ease;
}

.nav-menu-btn:hover {
    color: var(--text-primary);
}

.nav-menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-menu-icon span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transition: all 0.35s var(--ease-out-expo);
    transform-origin: center;
}

.nav-menu-btn.active .nav-menu-icon span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav-menu-btn.active .nav-menu-icon span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-initials {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-initials:hover {
    color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    clip-path: circle(0% at 5% 3%);
    transition: clip-path 0.7s var(--ease-out-expo);
    pointer-events: none;
}

.mobile-menu.active {
    clip-path: circle(150% at 5% 3%);
    pointer-events: all;
}

.mobile-link {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s var(--ease-out-expo), color 0.3s ease;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-link:hover {
    color: var(--text-primary);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.4s; }

/* ============================
   Hero Section
   ============================ */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    z-index: 0;
    background-color: #E0C9BF;
}

/* Topographic visual */
.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
}

.hero-line-static {
    display: block;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
    line-height: 1.25;
    opacity: 0;
    transform: translateY(24px);
}

.hero-line-static strong {
    font-weight: 700;
    color: var(--text-primary);
}

.font-caveat {
    font-family: var(--font-caveat);
    font-weight: 600;
    letter-spacing: 0;
}

.hero-line-typed {
    display: block;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
    line-height: 1.25;
    opacity: 0;
    transform: translateY(24px);
}

/* The highlighted typed word */
.typed-highlight {
    font-weight: 700;
    color: var(--text-primary);
}

/* Blinking cursor bar */
.typed-cursor {
    display: inline-block;
    font-weight: 200;
    color: var(--text-primary);
    margin-left: 2px;
    animation: blink 0.9s step-end infinite;
    position: relative;
    top: 0.05em;
    font-size: 0.95em;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-sub {
    font-family: var(--font-primary);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 200;
    color: #111;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: 0.01em;
}

/* Hero detail label — kept for compat */
.hero-detail .label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-detail .value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
}


/* ============================
   Marquee Section
   ============================ */
.marquee-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    will-change: transform;
}

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

.marquee-inner .separator {
    color: var(--text-muted);
    font-weight: 300;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================
   Section Shared Styles
   ============================ */
.section-header {
    margin-bottom: 60px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* ============================
   Projects Showcase — Full-screen panels
   ============================ */

/* Push showcase below the fixed hero.
   Height = 4 panels (~100vh each) + 3 gaps (50vh each) + 100vh last-panel view ≈ 650vh */
.proj-showcase {
    margin-top: 100vh;
    height: 650vh;
    position: relative;
}

/* ── Global fixed project counter ── */
.proj-counter {
    position: fixed;
    left: 60px;
    top: 62px; /* matches panel top(14px) + left-col padding-top(48px) */
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.proj-counter.visible {
    opacity: 1;
}

.pc-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.pc-nums {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.pc-cur {
    color: var(--text-primary);
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
}

.pc-cur.flip-out {
    transform: translateY(-120%);
    opacity: 0;
}

.pc-sep { color: var(--text-muted); font-weight: 300; }
.pc-tot { color: var(--text-muted); }

/* Hide per-panel badges — replaced by the global counter */
.proj-badge {
    display: none;
}

/* Panel — sticky siblings in one container.
   Each is 100vh-28px tall; adding 28px margin-top on panels 2-4
   spaces them exactly 100vh apart, so each panel gets 100vh of
   sticky "pin" time before the next one slides in. */
.proj-panel {
    position: sticky;
    top: 14px;
    height: calc(100vh - 28px);
    margin: 0 12px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 38% 62%;
    background: #E0C9BF;
    overflow: hidden;
    z-index: var(--proj-z, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

/* Blurred project screenshot at the bottom of each panel */
.proj-bg-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 95%;
    object-fit: cover;
    object-position: top;
    filter: blur(18px);
    opacity: 0.35;
    pointer-events: none;
    mask-image: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

/* 50vh gap between panels ≈ 4 scroll steps before next panel appears */
.proj-panel + .proj-panel {
    margin-top: 50vh;
}

/* All panel content starts hidden — GSAP reveals at 62% viewport */
.proj-name,
.proj-desc,
.proj-cta,
.proj-category,
.proj-rule,
.proj-stack,
.proj-bars,
.screen-stack {
    opacity: 0;
}

/* Left column */
.proj-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35vh 0 6vh 60px;
}

/* Badge circle */
.proj-badge {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
}

.pb-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.pb-num {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.pb-cur { color: var(--text-primary); font-weight: 600; }
.pb-sep { color: var(--text-muted); font-weight: 300; }
.pb-tot { color: var(--text-muted); }

/* Project info (bottom-left) */
.proj-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.proj-name {
    font-family: 'Yatra One', cursive;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: #111;
}

.proj-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #111;
    font-weight: 300;
    max-width: 380px;
}

.proj-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: #111;
    border: 1px solid rgba(0,0,0,0.3);
    padding: 12px 20px;
    border-radius: 3px;
    width: fit-content;
    transition: all 0.3s ease;
}

.proj-cta:hover {
    color: #000;
    border-color: #000;
    background: rgba(0,0,0,0.06);
}

.pc-b { color: #555; }
.pc-arr { transition: transform 0.3s ease; }
.proj-cta:hover .pc-arr { transform: translate(2px, -2px); }

/* Right column */
.proj-right {
    display: flex;
    flex-direction: column;
    padding: 48px 60px 60px 40px;
    position: relative;
}

/* Header row: category + nav bars */
.proj-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: flex-end;
    width: min(520px, 90%);
    margin-top: auto;
    margin-bottom: 16px;
}

.proj-header > div {
    width: 100%;
}

.proj-category {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.proj-rule {
    width: 200px;
    height: 1px;
    background: rgba(0,0,0,0.12);
    margin-bottom: 10px;
}

.proj-stack {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #555;
}

/* Vertical bars (nav icon top-right) */
.proj-bars {
    display: flex;
    gap: 3px;
    align-items: flex-start;
    margin-top: 2px;
}

.proj-bars span {
    display: block;
    width: 3px;
    height: 18px;
    background: rgba(0,0,0,0.25);
    border-radius: 2px;
}

/* ── Screen Stack ── */
.screen-stack {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Each stacked screen card */
.sc {
    position: absolute;
    width: min(520px, 90%);
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    transition:
        transform 0.65s var(--ease-out-expo),
        opacity   0.65s var(--ease-out-expo),
        filter    0.65s var(--ease-out-expo);
}

/* Stacking positions */
.sc.sc-pos-0 {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    filter: blur(0);
    z-index: 3;
}

.sc.sc-pos-1 {
    transform: translate(-36px, 36px) scale(0.93);
    opacity: 0.55;
    filter: blur(2px);
    z-index: 2;
}

.sc.sc-pos-2 {
    transform: translate(-72px, 72px) scale(0.86);
    opacity: 0.28;
    filter: blur(4px);
    z-index: 1;
}

.sc.sc-pos-3 {
    transform: translate(-108px, 108px) scale(0.79);
    opacity: 0.14;
    filter: blur(6px);
    z-index: 0;
}

.sc.sc-pos-4 {
    transform: translate(-144px, 144px) scale(0.72);
    opacity: 0.07;
    filter: blur(8px);
    z-index: 0;
}

/* Image fill inside each card */
.sc-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* ── Mock Screen Contents ── */
/* Shared: the content is rendered at 2.5× and scaled down for crispness */
.sc-content {
    position: absolute;
    top: 0; left: 0;
    width: 250%;
    height: 250%;
    transform: scale(0.4);
    transform-origin: top left;
    font-family: var(--font-primary);
    overflow: hidden;
}

/* Nav bar shared */
.m-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    background: white;
    font-size: 12px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.m-nav.dark {
    background: #1a1a1a;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.m-contact { margin-left: auto; font-size: 10px; color: rgba(255,255,255,0.4); }

/* ── Modevelle mock screens ── */
.mock-mv-a { background: #f5f5f5; }
.mock-mv-b { background: #f8f8f8; }
.mock-mv-c { background: #f2f2f2; }

/* ══════════════════════════════════
   MOMSHINE sc-pos-0 mock
   ══════════════════════════════════ */
.mock-ms-a {
    background: #fff8f9;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ms-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px 8px;
    font-size: 26px;
    font-weight: 700;
    color: #111;
    flex-shrink: 0;
}

.ms-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 14px 40px 20px;
    flex-shrink: 0;
}
.ms-avatar {
    width: 88px; height: 88px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #f5c8d4;
}
.ms-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ms-header-text { flex: 1; }
.ms-greeting { font-size: 28px; font-weight: 700; color: #111; line-height: 1.2; }
.ms-sub { font-size: 20px; color: #bbb; margin-top: 4px; }
.ms-notif { font-size: 38px; color: #ddd; }

.ms-search {
    margin: 0 40px 22px;
    background: #fff;
    border: 2px solid #f0dde3;
    border-radius: 28px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.ms-search-icon { font-size: 28px; color: #ccc; }
.ms-search-ph { font-size: 22px; color: #ccc; }

.ms-featured {
    position: relative;
    margin: 0 40px 22px;
    border-radius: 30px;
    overflow: hidden;
    height: 380px;
    flex-shrink: 0;
}
.ms-feat-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.ms-feat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 55%);
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.ms-feat-badge {
    display: inline-block;
    background: #e8416a;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 100px;
    margin-bottom: 14px;
    width: fit-content;
    letter-spacing: 0.03em;
}
.ms-feat-title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}
.ms-feat-meta {
    font-size: 20px;
    color: rgba(255,255,255,0.55);
    margin-top: 8px;
}

.ms-cats {
    display: flex;
    gap: 14px;
    padding: 0 40px 20px;
    flex-shrink: 0;
    overflow: hidden;
}
.ms-cat {
    font-size: 22px;
    padding: 12px 30px;
    border-radius: 100px;
    border: 2px solid #f0dde3;
    color: #bbb;
    white-space: nowrap;
    font-weight: 500;
}
.ms-cat-active {
    background: #e8416a;
    color: #fff;
    border-color: #e8416a;
}

.ms-cards {
    display: flex;
    gap: 18px;
    padding: 0 40px;
    flex: 1;
    overflow: hidden;
}
.ms-card {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(232,65,106,0.10);
    display: flex;
    flex-direction: column;
}
.ms-card-img {
    width: 100%; height: 160px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.ms-card-body { padding: 16px 18px; flex: 1; }
.ms-card-badge {
    font-size: 17px;
    color: #e8416a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ms-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-top: 6px;
    line-height: 1.3;
}
.ms-card-time { font-size: 17px; color: #ccc; margin-top: 6px; }

.ms-bottomnav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 18px 40px 26px;
    border-top: 2px solid #f8ecef;
    background: #fff;
    flex-shrink: 0;
    margin-top: auto;
}
.ms-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #ddd;
}
.ms-nav-active { color: #e8416a; }
.ms-nav-icon { font-size: 38px; }
.ms-nav-lbl { font-size: 17px; font-weight: 500; }

.mock-ms-b { position: relative; overflow: hidden; }
.ms-full-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ══════════════════════════════════
   MENYU sc-pos-2 mock
   ══════════════════════════════════ */
.mock-mn-c {
    background: #fafafa;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mnc-status {
    display: flex;
    justify-content: space-between;
    padding: 18px 40px 0;
    font-size: 24px; font-weight: 700; color: #111;
    flex-shrink: 0;
}

.mnc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 40px 20px;
    flex-shrink: 0;
}
.mnc-back {
    width: 56px; height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; font-weight: 700; color: #111;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.mnc-head-title { flex: 1; font-size: 28px; font-weight: 800; color: #111; }
.mnc-head-tag {
    font-size: 20px; font-weight: 600; color: #5C2D91;
    background: rgba(92,45,145,0.08);
    padding: 8px 18px; border-radius: 100px;
}

.mnc-hero {
    margin: 0 40px 26px;
    background: linear-gradient(135deg, #5C2D91, #8B5CC8);
    border-radius: 28px;
    padding: 32px 36px;
    flex-shrink: 0;
}
.mnc-hero-label {
    font-size: 19px; font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.mnc-hero-name {
    font-size: 42px; font-weight: 900; color: #fff;
    line-height: 1.15; margin-bottom: 10px;
}
.mnc-hero-sub { font-size: 20px; color: rgba(255,255,255,0.6); }

.mnc-options {
    flex: 1;
    display: flex; flex-direction: column;
    padding: 0 40px;
    overflow: hidden;
}
.mnc-option {
    display: flex; align-items: center; gap: 20px;
    padding: 20px 0;
    border-bottom: 1.5px solid #f0f0f0;
}
.mnc-opt-radio {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2.5px solid #ddd;
    flex-shrink: 0;
}
.mnc-radio-active {
    border-color: #5C2D91;
    background: #5C2D91;
    box-shadow: inset 0 0 0 5px #fff;
}
.mnc-option-active .mnc-opt-name { color: #5C2D91; }
.mnc-opt-info { flex: 1; }
.mnc-opt-name { font-size: 24px; font-weight: 700; color: #111; }
.mnc-opt-desc { font-size: 19px; color: #bbb; margin-top: 4px; }
.mnc-opt-price { font-size: 24px; font-weight: 800; color: #111; }

.mnc-footer {
    padding: 20px 40px 28px;
    background: #fff;
    border-top: 1.5px solid #f0f0f0;
    flex-shrink: 0;
}
.mnc-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
    font-size: 22px; color: #aaa; font-weight: 500;
}
.mnc-total-price { font-size: 32px; font-weight: 900; color: #111; }
.mnc-cta {
    background: #5C2D91; color: #fff;
    font-size: 26px; font-weight: 800;
    text-align: center; padding: 20px;
    border-radius: 18px;
}

/* ══════════════════════════════════
   MENYU sc-pos-1 mock
   ══════════════════════════════════ */
.mock-mn-b {
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mn-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px 8px;
    font-size: 26px;
    font-weight: 700;
    color: #111;
    flex-shrink: 0;
}

.mn-greeting-wrap {
    padding: 20px 40px 28px;
    flex-shrink: 0;
}
.mn-greeting-sub {
    font-size: 24px;
    color: #999;
    margin-bottom: 10px;
}
.mn-greeting-title {
    font-size: 50px;
    font-weight: 800;
    color: #111;
    line-height: 1.15;
}
.mn-brand { color: #5C2D91; }

.mn-food-card {
    position: relative;
    margin: 0 40px;
    border-radius: 36px;
    overflow: hidden;
    flex: 1;
}
.mn-food-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.mn-food-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 52%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px 36px;
}
.mn-food-name {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}
.mn-food-price {
    font-size: 28px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

.mn-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 26px 0 30px;
    flex-shrink: 0;
}
.mn-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #e0e0e0;
}
.mn-dot-active {
    width: 38px;
    border-radius: 10px;
    background: #5C2D91;
}

/* ══════════════════════════════════
   MENYU sc-pos-0 mock
   ══════════════════════════════════ */
.mock-mn-a { position: relative; overflow: hidden; }

.mna-full-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.mna-overlay {
    position: absolute;
    inset: 0;
    background: rgba(92, 45, 145, 0.10);
    pointer-events: none;
}

/* ══════════════════════════════════
   EBREEVREUX sc-pos-1 mock
   ══════════════════════════════════ */
.mock-eb-b {
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.eb-promo {
    background: #0055FF;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 14px 20px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.eb-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 32px;
    flex-shrink: 0;
}
.eb-logo {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    border: 2.5px solid #fff;
    padding: 5px 12px;
    border-radius: 6px;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}
.eb-nav-links {
    display: flex;
    gap: 20px;
    flex: 1;
    padding-left: 14px;
    font-size: 18px;
    color: rgba(255,255,255,0.5);
}
.eb-cta-btn {
    background: #0055FF;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 6px;
    flex-shrink: 0;
}

.eb-hero {
    flex: 1;
    padding: 0 32px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.eb-hero-glow {
    position: absolute;
    top: -60px; left: -40px;
    width: 400px; height: 400px;
    background: radial-gradient(ellipse, rgba(0,85,255,0.22) 0%, transparent 70%);
    pointer-events: none;
}
.eb-hero-inner { position: relative; padding-top: 22px; }

.eb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,85,255,0.18);
    border: 1px solid rgba(0,85,255,0.45);
    color: #4d8fff;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
}
.eb-hero-title {
    font-size: 60px;
    font-weight: 900;
    color: #fff;
    line-height: 1.0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.eb-blue { color: #0055FF; font-style: italic; }
.eb-hero-sub {
    font-size: 19px;
    color: rgba(255,255,255,0.45);
    margin: 16px 0 20px;
    line-height: 1.5;
}
.eb-hero-btns {
    display: flex;
    gap: 14px;
}
.eb-btn-primary {
    background: #0055FF;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 7px;
}
.eb-btn-outline {
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 7px;
}

.eb-activities {
    display: flex;
    gap: 12px;
    margin: 20px 0 0;
}
.eb-act-card {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.eb-act-card.eb-act-blue {
    background: rgba(0,85,255,0.2);
    border-color: rgba(0,85,255,0.4);
}
.eb-act-icon { font-size: 28px; }
.eb-act-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.eb-act-freq {
    font-size: 15px;
    color: rgba(255,255,255,0.4);
}

.eb-stats {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
    margin-top: 18px;
}
.eb-stat { flex: 1; }
.eb-stat-div {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
    margin: 0 8px;
}
.eb-stat-n {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}
.eb-stat-l {
    font-size: 15px;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
    line-height: 1.4;
}

.eb-ticker {
    background: #0055FF;
    display: flex;
    gap: 36px;
    padding: 16px 22px;
    flex-shrink: 0;
    overflow: hidden;
    white-space: nowrap;
}
.eb-ticker span {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ══════════════════════════════════
   EBREEVREUX sc-pos-0 mock
   ══════════════════════════════════ */
.mock-eb-a {
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.eba-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 32px 16px;
    flex-shrink: 0;
}
.eba-logo {
    font-size: 24px; font-weight: 900; color: #fff;
    border: 2px solid #fff;
    padding: 4px 10px; border-radius: 5px;
    flex-shrink: 0;
}
.eba-title {
    flex: 1;
    font-size: 24px; font-weight: 700; color: #fff;
    padding-left: 10px;
}
.eba-filter { font-size: 28px; color: rgba(255,255,255,0.3); }

.eba-days {
    display: flex;
    gap: 8px;
    padding: 0 32px 20px;
    flex-shrink: 0;
}
.eba-day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
    padding: 10px 4px;
    border-radius: 14px;
}
.eba-day span { font-size: 20px; font-weight: 800; }
.eba-day-active { background: #0055FF; color: #fff; }

.eba-featured {
    margin: 0 32px 18px;
    background: linear-gradient(135deg, #0033CC, #0055FF 60%, #1a66ff);
    border-radius: 20px;
    padding: 22px 24px;
    flex-shrink: 0;
}
.eba-feat-tag {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 15px; font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.eba-feat-name {
    font-size: 34px; font-weight: 900; color: #fff;
    line-height: 1.1; margin-bottom: 10px;
}
.eba-feat-meta {
    display: flex; gap: 18px;
    font-size: 17px; color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
}
.eba-feat-spots { display: flex; align-items: center; gap: 14px; }
.eba-spot-bar {
    flex: 1; height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px; overflow: hidden;
}
.eba-spot-fill {
    width: 72%; height: 100%;
    background: #fff; border-radius: 10px;
}
.eba-feat-spots span { font-size: 16px; color: rgba(255,255,255,0.6); white-space: nowrap; }

.eba-classes {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 32px;
    overflow: hidden;
}
.eba-class {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.eba-class-time {
    font-size: 21px; font-weight: 800;
    color: rgba(255,255,255,0.3);
    width: 75px; flex-shrink: 0;
}
.eba-class-info { flex: 1; }
.eba-class-name { font-size: 22px; font-weight: 700; color: #fff; }
.eba-class-coach { font-size: 17px; color: rgba(255,255,255,0.3); margin-top: 3px; }
.eba-class-tag {
    font-size: 16px; font-weight: 700;
    padding: 7px 16px; border-radius: 100px; flex-shrink: 0;
}
.eba-tag-green { background: rgba(0,200,80,0.15); color: #00c850; }
.eba-tag-orange { background: rgba(255,140,0,0.15); color: #ff8c00; }
.eba-tag-blue { background: #0055FF; color: #fff; }

.mock-eb-c { position: relative; overflow: hidden; }
.mebc-full-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ══════════════════════════════════
   GRAPHIC UNIVERSE mockups
   ══════════════════════════════════ */
.mock-gu-a,
.mock-gu-b,
.mock-gu-c,
.mock-gu-d,
.mock-gu-e {
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

/* Product grid filters */
.m-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: white;
    border-bottom: 1px solid #eee;
    font-size: 11px;
    color: #555;
}

.m-tag {
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
}

.m-sort { margin-left: auto; font-size: 10px; color: #999; }

/* 3-col product grid */
.m-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 20px;
}

.m-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 4px;
    margin-bottom: 6px;
}

.m-card-name { font-size: 10px; color: #333; margin-bottom: 3px; line-height: 1.3; }
.m-card-price { font-size: 10px; color: #666; }

/* Product detail */
.m-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    flex: 1;
}

.m-pd-img {
    background: linear-gradient(135deg, #c8c0b8 0%, #a8a0a0 100%);
    border-radius: 6px;
    aspect-ratio: 3/4;
}

.m-pd-info { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.m-pd-name { font-size: 18px; font-weight: 600; color: #222; }
.m-pd-price { font-size: 13px; color: #555; }
.m-pd-price s { color: #aaa; }
.m-pd-btn {
    background: #111;
    color: white;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
}
.m-pd-feat { font-size: 10px; color: #777; }

/* Modevelle hero screen */
.m-hero-img {
    background: linear-gradient(160deg, #b8b0a8 0%, #888 100%);
    height: 55%;
    margin: 10px 20px 0;
    border-radius: 6px;
}

.m-title {
    font-size: 40px;
    font-weight: 800;
    color: #111;
    text-align: center;
    padding: 10px 20px 0;
    letter-spacing: -0.02em;
}

.m-sub {
    font-size: 12px;
    color: #888;
    text-align: center;
    padding: 6px 20px;
}

/* ── The Shear Room mock screens ── */
.mock-sr-a { background: #1c1c1c; }
.mock-sr-b { background: #1c1c1c; }
.mock-sr-c { background: #1a1a1a; }

.m-reviews-top {
    text-align: center;
    padding: 30px 20px 10px;
}

.m-reviews-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.m-score {
    font-size: 36px;
    font-weight: 300;
    color: white;
    letter-spacing: -0.02em;
}

.m-score-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    max-width: 280px;
    margin: 8px auto 0;
    line-height: 1.5;
}

.m-ratings {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 16px 20px 0;
}

.m-rat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}

.m-rat span:last-child {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* Booking form */
.m-booking {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.m-bk-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.m-bk-field {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

.m-bk-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.m-slot {
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

.m-slot.active {
    background: white;
    color: #111;
    border-color: white;
}

.m-bk-btn {
    background: white;
    color: #111;
    border-radius: 4px;
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
}

/* Services list */
.m-services {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 2px;
}

.m-svc {
    display: flex;
    justify-content: space-between;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.m-svc span:last-child { color: rgba(255,255,255,0.4); }

/* ── NovaDash mock screens ── */
.mock-nd-a, .mock-nd-b, .mock-nd-c { background: #f7f7f9; }

.m-sidebar {
    position: absolute;
    left: 0; top: 0;
    width: 80px;
    height: 100%;
    background: #1e1e2e;
    display: flex;
    flex-direction: column;
    padding: 16px 10px;
    gap: 6px;
}

.m-sb-logo {
    font-size: 14px;
    font-weight: 800;
    color: white;
    text-align: center;
    padding: 8px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
}

.m-sb-item {
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    padding: 6px 8px;
    border-radius: 4px;
    text-align: center;
}

.m-sb-item.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.m-main-area {
    position: absolute;
    left: 80px;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
}

.m-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.m-kpi {
    background: white;
    border-radius: 6px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.m-kpi-val { font-size: 20px; font-weight: 700; color: #111; }
.m-kpi-lbl { font-size: 9px; color: #999; margin-top: 2px; }

.m-mini-chart {
    background: white;
    border-radius: 6px;
    height: 100px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    background-image:
        linear-gradient(to bottom, rgba(99,102,241,0.2) 0%, transparent 100%);
    position: relative;
}

.m-mini-chart::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 50%, #a5b4fc 100%);
    clip-path: polygon(0 80%, 10% 60%, 25% 70%, 40% 30%, 55% 50%, 70% 20%, 85% 40%, 100% 10%, 100% 100%, 0 100%);
    border-radius: 0 0 6px 6px;
}

.m-chart-area {
    background: white;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    height: 100%;
}

.m-chart-title { font-size: 12px; font-weight: 600; color: #333; margin-bottom: 16px; }

.m-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
}

.m-bar {
    flex: 1;
    background: linear-gradient(to top, #6366f1, #818cf8);
    border-radius: 3px 3px 0 0;
    transition: all 0.3s;
}

.m-user-list { background: white; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }

.m-user-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 0.8fr 0.6fr;
    gap: 8px;
    padding: 10px 14px;
    font-size: 10px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.m-user-row.header { background: #f7f7f9; color: #999; font-weight: 600; }
.m-badge { padding: 2px 6px; border-radius: 10px; font-size: 9px; width: fit-content; }
.m-badge.green { background: #dcfce7; color: #16a34a; }
.m-badge.gray { background: #f1f5f9; color: #94a3b8; }

/* ── LinkFlow mock screens ── */
.mock-lf-a, .mock-lf-b { background: #f8f9fa; }
.mock-lf-c { background: #0f172a; }

/* Profile page (link-in-bio) */
.m-profile-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 10px;
}

.m-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #ec4899);
}

.m-handle { font-size: 15px; font-weight: 700; color: #111; }
.m-bio { font-size: 11px; color: #888; }

.m-link-btn {
    width: 100%;
    max-width: 280px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    font-size: 12px;
    color: #333;
    background: white;
}

/* Analytics */
.m-analytics { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.m-an-stat {
    background: white;
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.m-an-n { font-size: 24px; font-weight: 700; color: #111; }
.m-an-l { font-size: 10px; color: #999; }

.m-an-bars { display: flex; flex-direction: column; gap: 8px; }

.m-an-bar {
    background: #6366f1;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 10px;
    color: white;
    display: flex;
    justify-content: space-between;
}

/* Hero (light/dark) */
.m-lf-hero {
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.m-lf-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.m-lf-btn {
    background: white;
    color: #0f172a;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

/* ============================
   About Section
   ============================ */
.about {
    padding: 120px 80px;
    background: var(--bg-secondary);
    position: relative;
    z-index: 10; /* slides over sticky proj-panels (z-index 1-4) */
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 153, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(80px);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
}

.about-title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
    max-width: 900px;
    color: var(--text-secondary);
}

.about-title .word {
    display: inline-block;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.about-title .word.active {
    opacity: 1;
    color: var(--text-primary);
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.about-col p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 300;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-plus {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--accent-cyan);
}

.stat-label {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: all 0.4s var(--ease-out-expo);
    cursor: default;
}

.skill-tag:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    background: rgba(0, 153, 255, 0.08);
    transform: translateY(-2px);
}

/* ============================
   Contact Section
   ============================ */
.contact {
    padding: 120px 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(91, 0, 128, 0.15) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(80px);
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.contact-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-secondary);
}

.contact-title .word {
    display: inline-block;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.contact-title .word.active {
    opacity: 1;
    color: var(--text-primary);
}

.contact-email {
    display: inline-block;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    position: relative;
    padding: 16px 0;
    margin-bottom: 60px;
    transition: color 0.3s ease;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out-expo);
}

.contact-email:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-email:hover {
    color: var(--accent-cyan);
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.social-link {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.4s var(--ease-out-expo);
}

.social-link:hover {
    color: var(--text-primary);
}

.social-link:hover::after {
    width: 100%;
}

/* ============================
   Footer
   ============================ */
.footer {
    padding: 24px 80px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ============================
   Reveal Animations
   ============================ */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s var(--ease-out-expo);
}

/* Stagger children */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(20px);
}

/* ============================
   Responsive Design
   ============================ */

/* Tablet */
@media (max-width: 1024px) {
    .proj-counter {
        display: none; /* no room for side badge on tablet/mobile */
    }

    .proj-badge {
        display: flex; /* restore per-panel badge on small screens */
    }

    .hero {
        padding: 120px 40px 80px;
    }

    .work {
        padding: 80px 40px;
    }

    .about {
        padding: 80px 40px;
    }

    .contact {
        padding: 80px 40px;
    }

    .footer {
        padding: 24px 40px;
    }


    .project {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project:nth-child(even) {
        grid-template-columns: 1fr;
    }

    /* Project panels tablet — disable sticky stacking */
    .proj-showcase {
        height: auto;
        margin-top: 100vh;
    }

    .proj-panel {
        position: relative;
        top: auto;
        height: auto;
        margin: 0 0 2px;
        border-radius: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        padding-bottom: 60px;
        box-shadow: none;
    }

    .proj-panel + .proj-panel {
        margin-top: 0;
    }

    .proj-left  { padding: 48px 40px 0; }
    .proj-right { padding: 32px 40px 48px 40px; }

    .screen-stack { justify-content: center; min-height: 300px; }

    .sc { width: min(420px, 85%); }

    .about-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        padding: 18px 20px;
    }

    .hero {
        padding: 0 24px;
    }

    .hero-canvas {
        width: 100%;
        opacity: 0.25;
    }

    .hero-scroll {
        bottom: 24px;
    }

    .hero-visual {
        opacity: 0.12;
        width: 100%;
    }

    .hero-content {
        max-width: 100%;
    }

    .skills-drop {
        height: auto;
        min-height: 100vh;
    }

    .skills-drop-arena {
        min-height: 400px;
    }

    .skills-drop-header {
        padding: 0 20px;
    }

    /* Project panels mobile */
    .proj-panel {
        position: relative;
        top: auto;
        height: auto;
        margin: 0 0 2px;
        border-radius: 0;
        grid-template-columns: 1fr;
        box-shadow: none;
    }

    .proj-panel + .proj-panel {
        margin-top: 0;
    }

    .proj-left  { padding: 40px 20px 0; }
    .proj-right { padding: 24px 20px 48px; }

    .proj-badge { width: 80px; height: 80px; }
    .proj-name  { font-size: clamp(2rem, 10vw, 3rem); }

    .screen-stack { min-height: 220px; }
    .sc { width: min(320px, 90%); }

    .sc.sc-pos-1 { transform: translate(-20px, 20px) scale(0.93); }
    .sc.sc-pos-2 { transform: translate(-40px, 40px) scale(0.86); }

    .about {
        padding: 60px 20px;
    }

    .contact {
        padding: 60px 20px;
    }

    .contact-socials {
        flex-wrap: wrap;
    }

    .footer {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .marquee-inner {
        gap: 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Hide custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    a, button {
        cursor: pointer;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .hero {
        padding: 160px 120px 100px;
    }

    .work {
        padding: 160px 120px;
    }

    .about {
        padding: 160px 120px;
    }

    .contact {
        padding: 160px 120px;
    }

    .footer {
        padding: 32px 120px;
    }

}

/* ============================
   Magnetic Button Effect
   ============================ */
.magnetic-btn {
    display: inline-block;
    position: relative;
}

/* ============================
   Skills Physics Drop
   ============================ */
.skills-drop {
    position: relative;
    z-index: 10;
    background: var(--bg-primary);
    margin-top: 80px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    overflow: hidden;
}

.skills-drop-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 60px;
    margin-bottom: 32px;
    flex-shrink: 0;
}

.skills-tabs {
    display: flex;
    gap: 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 100px;
    padding: 4px;
}

.skills-tab {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 22px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #888;
    transition: background 0.2s, color 0.2s;
}

.skills-tab.active {
    background: #111;
    color: #fff;
}

.skills-drop-arena {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.skill-pill {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px 26px;
    border-radius: 100px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    will-change: transform;
    transform-origin: center center;
}

/* ============================
   Page Transition Overlay
   ============================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--accent-purple);
    z-index: 9998;
    transform: translateY(100%);
    pointer-events: none;
}

/* ============================
   Noise texture overlay
   ============================ */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9997;
    opacity: 0.4;
}
