/* ═══════════════════════════════════════
THEME TOKENS
═══════════════════════════════════════ */
[data-theme='dark'] {
    --bg: #07111f;
    --bg2: #091624;
    --bg3: #0d1f32;
    --surface: #0b1a29;
    --border: rgba(255, 255, 255, 0.07);
    --border2: rgba(255, 255, 255, 0.13);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted2: #4e6070;
    --accent: #49f2c2;
    --accent-h: #6ef7d0;
    --accent-dim: rgba(73, 242, 194, 0.1);
    --accent-glow: rgba(73, 242, 194, 0.18);
    --nav-bg: rgba(7, 17, 31, 0.8);
    --img-bg: #0d1f32;
    --img-border: rgba(255, 255, 255, 0.08);
    --img-shimmer: linear-gradient(135deg,
            #0d1f32 0%,
            #091624 50%,
            #0d1f32 100%);
    --card-bg: #091624;
    --toggle-bg: rgba(255, 255, 255, 0.08);
    --toggle-icon: #94a3b8;
}

[data-theme='light'] {
    --bg: #f8f9fb;
    --bg2: #eff1f5;
    --bg3: #e4e8ef;
    --surface: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --border2: rgba(0, 0, 0, 0.14);
    --text: #0f172a;
    --muted: #64748b;
    --muted2: #94a3b8;
    --accent: #0ea580;
    --accent-h: #12c49a;
    --accent-dim: rgba(14, 165, 128, 0.1);
    --accent-glow: rgba(14, 165, 128, 0.18);
    --nav-bg: rgba(248, 249, 251, 0.85);
    --img-bg: #e4e8ef;
    --img-border: rgba(0, 0, 0, 0.08);
    --img-shimmer: linear-gradient(135deg,
            #e4e8ef 0%,
            #eff1f5 50%,
            #e4e8ef 100%);
    --card-bg: #ffffff;
    --toggle-bg: rgba(0, 0, 0, 0.06);
    --toggle-icon: #64748b;
}

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

html {
    scroll-behavior: smooth;
}

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

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

body {
    font-family: 'Sora', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none;
    transition:
        background 0.4s,
        color 0.4s;
}

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

::-webkit-scrollbar {
    width: 2px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    opacity: 0.4;
}

/* ═══════════════════════════════════════
CURSOR
═══════════════════════════════════════ */
#c-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    transition:
        width 0.3s,
        height 0.3s;
    will-change: transform;
}

#c-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(73, 242, 194, 0.35);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition:
        width 0.4s,
        height 0.4s,
        border-color 0.3s;
}

#spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(600px at var(--mx, 50%) var(--my, 50%),
            var(--accent-glow) 0%,
            transparent 70%);
    will-change: background;
}

[data-theme='light'] #c-ring {
    border-color: rgba(14, 165, 128, 0.35);
}

body.cur-lg #c-ring {
    width: 50px;
    height: 50px;
    border-color: rgba(73, 242, 194, 0.6);
}

[data-theme='light'] body.cur-lg #c-ring {
    border-color: rgba(14, 165, 128, 0.6);
}

/* ═══════════════════════════════════════
THEME TOGGLE BUTTON
═══════════════════════════════════════ */
.theme-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--toggle-bg);
    border: 1px solid var(--border2);
    cursor: pointer;
    transition: all 0.25s;
    flex-shrink: 0;
}

.theme-btn:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.theme-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--toggle-icon);
    fill: none;
    stroke-width: 1.8;
    position: absolute;
    transition:
        opacity 0.3s,
        transform 0.3s;
}

.icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

.icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme='light'] .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

[data-theme='light'] .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}

/* ═══════════════════════════════════════
IMAGE PLACEHOLDER SYSTEM
═══════════════════════════════════════ */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--img-shimmer);
    border: 1px dashed var(--img-border);
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
}

.img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.04) 50%,
            transparent 100%);
    animation: shimmer 2s ease-in-out infinite;
    background-size: 200% 100%;
}

[data-theme='light'] .img-placeholder::before {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 0, 0, 0.03) 50%,
            transparent 100%);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.img-placeholder .ph-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px dashed var(--muted2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: background 0.4s;
}

.img-placeholder .ph-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--muted2);
    fill: none;
    stroke-width: 1.2;
}

.img-placeholder .ph-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted2);
    text-align: center;
    padding: 0 1rem;
    line-height: 1.5;
}

.img-placeholder .ph-size {
    font-size: 0.6rem;
    color: var(--muted2);
    opacity: 0.6;
}

/* Replace placeholder: just swap .img-placeholder for <img src="..." alt="..."> */

/* ═══════════════════════════════════════
NAV
═══════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 4vw, 2.75rem);
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition:
        background 0.4s,
        border-color 0.4s;
}

.n-logo {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 9px;
}

.n-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse-dot 2.4s ease-in-out infinite;
    transition:
        background 0.4s,
        box-shadow 0.4s;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

.n-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.n-links a {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--muted);
    transition: color 0.2s;
}

.n-links a:hover {
    color: var(--text);
}

.n-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.n-cta {
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--accent);
    color: #07111f;
    padding: 8px 20px;
    border-radius: 100px;
    transition:
        background 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
    box-shadow: 0 0 18px var(--accent-glow);
}

.n-cta:hover {
    background: var(--accent-h);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════
SHARED
═══════════════════════════════════════ */
section {
    padding: clamp(72px, 9vw, 120px) clamp(1.25rem, 4vw, 2.75rem);
    position: relative;
}

.wrap {
    max-width: 1140px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
    transition: color 0.4s;
}

.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--accent);
    opacity: 0.55;
    transition: background 0.4s;
}

.sh2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.022em;
}

.ease {
    transition:
        background 0.4s,
        color 0.4s,
        border-color 0.4s;
}

/* REVEALS */
.rv {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.rvl {
    opacity: 0;
    transform: translateX(-26px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.rvr {
    opacity: 0;
    transform: translateX(26px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.rv.on,
.rvl.on,
.rvr.on {
    opacity: 1;
    transform: none;
}

[data-d='1'] {
    transition-delay: 0.08s;
}

[data-d='2'] {
    transition-delay: 0.16s;
}

[data-d='3'] {
    transition-delay: 0.24s;
}

[data-d='4'] {
    transition-delay: 0.32s;
}

[data-d='5'] {
    transition-delay: 0.4s;
}

[data-d='6'] {
    transition-delay: 0.48s;
}

/* ═══════════════════════════════════════
HERO
═══════════════════════════════════════ */
/* CSS for Hero Section Full Width on Desktop Screen */
.case_study .hero .wrap_new {
    width: 1140px; 
    margin: auto; 
}

#hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 88px;
    overflow: hidden;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle,
            var(--accent-dim) 1px,
            transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 85% 70% at 50% 40%,
            #000 0%,
            transparent 75%);
    transition: background-image 0.4s;
}

.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    pointer-events: none;
}

.hring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--accent-dim);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin linear infinite;
}

.hring:nth-child(1) {
    width: 420px;
    height: 420px;
    animation-duration: 28s;
}

.hring:nth-child(2) {
    width: 620px;
    height: 620px;
    animation-duration: 42s;
    animation-direction: reverse;
}

.hring:nth-child(3) {
    width: 820px;
    height: 820px;
    animation-duration: 58s;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-glow {
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(ellipse,
            var(--accent-dim) 0%,
            transparent 65%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2.25rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border: 1px solid var(--border2);
    background: var(--accent-dim);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 100px;
    transition: all 0.4s;
}

.b-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 7px var(--accent);
    animation: pulse-dot 2s infinite;
    transition:
        background 0.4s,
        box-shadow 0.4s;
}

h1.hero-h {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(3rem, 7.5vw, 6.25rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    max-width: 980px;
    margin-bottom: 1.75rem;
}

h1.hero-h .ital {
    font-style: italic;
    color: var(--accent);
    transition: color 0.4s;
}

.hero-p {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--muted);
    font-weight: 300;
    line-height: 1.85;
    /* max-width: 540px; */
    margin-bottom: 1rem;
    transition: color 0.4s;
}


.cta-row {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    padding-top: 24px;
}

.btn-a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #07111f;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 100px;
    transition: all 0.25s;
    box-shadow: 0 0 24px var(--accent-glow);
}

.btn-a svg {
    width: 14px;
    height: 14px;
    stroke: #07111f;
    fill: none;
    stroke-width: 2.5;
}

.btn-a:hover {
    background: var(--accent-h);
    transform: translateY(-2px);
    box-shadow: 0 0 38px var(--accent-glow);
}

.btn-b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border2);
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 400;
    padding: 13px 26px;
    border-radius: 100px;
    transition: all 0.25s;
}

.btn-b:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted2);
    transition: color 0.4s;
}

.scroll-bar {
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--accent), transparent);
    animation: scroll-fall 2s ease-in-out infinite;
    transition: background 0.4s;
}

@keyframes scroll-fall {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    45% {
        transform: scaleY(1);
        transform-origin: top;
    }

    55% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ═══════════════════════════════════════
METRICS
═══════════════════════════════════════ */
#metrics {
    padding-block: 0;
}

.m-bar {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    transition:
        background 0.4s,
        border-color 0.4s;
}

.m-cell {
    padding: 2.25rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    position: relative;
    transition:
        background 0.3s,
        border-color 0.4s;
}

.m-cell:last-child {
    border-right: none;
}

.m-cell:hover {
    background: var(--accent-dim);
}

.m-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.4s;
}

.m-cell:hover::after {
    width: 70%;
}

.m-num {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.5rem;
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.m-ac {
    color: var(--accent);
    transition: color 0.4s;
}

.m-lbl {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    transition: color 0.4s;
}

/* ═══════════════════════════════════════
CASE STUDIES
═══════════════════════════════════════ */
#work {
    border-top: 1px solid var(--border);
    transition: border-color 0.4s;
}

.work-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.work-top p {
    font-size: 0.875rem;
    color: var(--muted);
    max-width: 450px;
    text-align: right;
    line-height: 1.75;
    transition: color 0.4s;
}

.cs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    transition: border-color 0.4s;
}

.cs:first-of-type {
    border-top: none;
    padding-top: 0;
}

.cs.flip {
    direction: rtl;
}

.cs.flip>* {
    direction: ltr;
}

/* Case visual — IMAGE PLACEHOLDER */
.cs-vis {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid var(--img-border);
    transition: border-color 0.4s;
}

/* HOW TO REPLACE:
Remove .img-placeholder inside .cs-vis and replace with:
<img src="assets/case1.png" alt="Project name" style="width:100%;height:100%;object-fit:cover;display:block">
*/
.cs-vis .img-placeholder {
    border-radius: 12px;
}

.cs-vis:hover .img-placeholder::before {
    animation-duration: 0.8s;
}

.cs-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(7, 17, 31, 0.92) 0%,
            rgba(7, 17, 31, 0.4) 55%,
            transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.75rem;
    opacity: 0;
    transition: opacity 0.35s;
    z-index: 2;
}

[data-theme='light'] .cs-hover {
    background: linear-gradient(to top,
            rgba(15, 23, 42, 0.9) 0%,
            rgba(15, 23, 42, 0.4) 55%,
            transparent 100%);
}

.cs-vis:hover .cs-hover {
    opacity: 1;
}

.cs-kpis {
    display: flex;
    gap: 1.75rem;
}

.kpi .v {
    display: block;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.75rem;
    color: var(--accent);
    line-height: 1;
    transition: color 0.4s;
}

.kpi .l {
    display: block;
    font-size: 0.68rem;
    color: rgba(248, 250, 252, 0.7);
    margin-top: 3px;
}

.cs-tag {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted2);
    font-weight: 500;
    margin-bottom: 0.875rem;
    transition: color 0.4s;
}

.cs h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.pso {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pso-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.875rem;
    padding: 0.875rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition:
        border-color 0.2s,
        background 0.2s;
    align-items: start;
}

.pso-row:hover {
    border-color: var(--border2);
    background: var(--accent-dim);
}

.pso-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    flex-shrink: 0;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: background 0.4s;
}

.pso-icon svg {
    width: 11px;
    height: 11px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2.5;
    transition: stroke 0.4s;
}

.pso-lbl {
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 3px;
    transition: color 0.4s;
}

.pso-txt {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.65;
    transition: color 0.4s;
}

.pso-txt strong {
    color: var(--text);
    font-weight: 500;
    transition: color 0.4s;
}

.cs-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent);
    border-bottom: 1px solid var(--accent-dim);
    padding-bottom: 2px;
    transition:
        gap 0.2s,
        border-color 0.2s,
        color 0.4s;
}

.cs-cta:hover {
    gap: 12px;
    border-color: var(--accent);
}

.cs-cta svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ═══════════════════════════════════════
IMPACT
═══════════════════════════════════════ */
#impact {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition:
        background 0.4s,
        border-color 0.4s;
}

.impact-top {
    margin-bottom: 4rem;
}

.impact-top p {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 480px;
    line-height: 1.75;
    margin-top: 0.875rem;
    transition: color 0.4s;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    transition: background 0.4s;
}

.ic {
    background: var(--bg2);
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.ic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent),
            transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.4s;
}

.ic:hover {
    background: var(--accent-dim);
}

.ic:hover::before {
    transform: scaleX(1);
}

.ic-n {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 3rem;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 0.35rem;
    transition: color 0.4s;
}

.ic-pct {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2rem;
    color: var(--accent);
    transition: color 0.4s;
}

.ic-t {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.4s;
}

.ic-d {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.65;
    transition: color 0.4s;
}

.ic-badge {
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 100px;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid var(--accent-dim);
    transition: all 0.4s;
}

/* ═══════════════════════════════════════
SERVICES
═══════════════════════════════════════ */
#services {
    border-bottom: 1px solid var(--border);
    transition: border-color 0.4s;
}

.svc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.svc-top p {
    font-size: 0.875rem;
    color: var(--muted);
    max-width: 340px;
    text-align: right;
    line-height: 1.75;
    transition: color 0.4s;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    transition: background 0.4s;
}

.svc-card {
    background: var(--bg);
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.svc-card:hover {
    background: var(--bg3);
}

.svc-n {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 3.5rem;
    color: var(--accent-dim);
    line-height: 1;
    pointer-events: none;
}

.svc-ico {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition:
        border-color 0.3s,
        background 0.3s;
}

.svc-card:hover .svc-ico {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.svc-ico svg {
    width: 19px;
    height: 19px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 1.5;
    transition: stroke 0.3s;
}

.svc-card:hover .svc-ico svg {
    stroke: var(--accent);
}

.svc-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.svc-for {
    font-size: 0.69rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 0.875rem;
    transition: color 0.4s;
}

.svc-card p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.72;
    transition: color 0.4s;
}

/* ═══════════════════════════════════════
PROCESS
═══════════════════════════════════════ */
#process {
    border-bottom: 1px solid var(--border);
    transition: border-color 0.4s;
}

.proc-top {
    margin-bottom: 4rem;
}

.process-rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
}

.process-rail::before {
    content: '';
    position: absolute;
    top: 27px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: var(--border2);
    z-index: 0;
    transition: background 0.4s;
}

.p-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.p-circ {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--border2);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.p-step.act .p-circ,
.p-step:hover .p-circ {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
    box-shadow: 0 0 18px var(--accent-glow);
}

.p-step h4 {
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    transition: color 0.3s;
}

.p-step:hover h4,
.p-step.act h4 {
    color: var(--accent);
}

.p-step p {
    font-size: 0.73rem;
    color: var(--muted);
    line-height: 1.65;
    transition: color 0.3s;
}

/* ═══════════════════════════════════════
TESTIMONIALS
═══════════════════════════════════════ */
#testi {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    transition:
        background 0.4s,
        border-color 0.4s;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    transition: background 0.4s;
}

.testi-card {
    background: var(--bg2);
    padding: 2.5rem;
    transition: background 0.3s;
}

.testi-card:hover {
    background: var(--accent-dim);
}

.t-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.5rem;
}

.t-stars svg {
    width: 13px;
    height: 13px;
    fill: var(--accent);
    stroke: none;
    transition: fill 0.4s;
}

.t-quote {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.06rem;
    font-style: italic;
    line-height: 1.68;
    color: var(--text);
    margin-bottom: 2rem;
    transition: color 0.4s;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.4s;
}

.t-name {
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.3;
}

.t-role {
    font-size: 0.72rem;
    color: var(--muted);
    transition: color 0.4s;
}

/* ═══════════════════════════════════════
ABOUT
═══════════════════════════════════════ */
#about {
    border-bottom: 1px solid var(--border);
    transition: border-color 0.4s;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 5.5rem;
    align-items: start;
}

/* ABOUT PHOTO — IMAGE PLACEHOLDER */
.a-photo {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--img-border);
    aspect-ratio: 3/4;
    transition: border-color 0.4s;
}

/* HOW TO REPLACE:
Remove .img-placeholder inside .a-photo and replace with:
<img src="assets/photo.jpg" alt="Your Name" style="width:100%;height:100%;object-fit:cover;display:block">
*/

.a-text h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.7rem, 2.8vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.a-text p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.88;
    margin-bottom: 0.875rem;
    transition: color 0.4s;
}

.a-specs {
    list-style: none;
    margin: 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.a-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--text);
    transition: color 0.4s;
}

.a-tick {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    background: var(--accent-dim);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.a-tick svg {
    width: 9px;
    height: 9px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2.5;
    transition: stroke 0.4s;
}

.a-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.a-link {
    font-size: 0.77rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border2);
    color: var(--muted);
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.25s;
}

.a-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-dim);
}

.a-link svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ═══════════════════════════════════════
FINAL CTA
═══════════════════════════════════════ */
#cta {
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 65% 90% at 50% 50%,
            var(--accent-glow) 0%,
            transparent 68%),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 59px,
            var(--border) 60px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 59px,
            var(--border) 60px);
    transition: background 0.4s;
}

.cta-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--accent-dim);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: border-color 0.4s;
}

.orb:nth-child(1) {
    width: 500px;
    height: 500px;
}

.orb:nth-child(2) {
    width: 750px;
    height: 750px;
    border-color: var(--border);
}

.orb:nth-child(3) {
    width: 1050px;
    height: 1050px;
    border-color: var(--border);
}

#cta .wrap {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

#cta h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

#cta h2 em {
    font-style: italic;
    color: var(--accent);
    transition: color 0.4s;
}

#cta .sub-p {
    font-size: 0.975rem;
    color: var(--muted);
    max-width: 460px;
    margin: 0 auto 3rem;
    line-height: 1.82;
    transition: color 0.4s;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════
FOOTER
═══════════════════════════════════════ */
footer {
    border-top: 1px solid var(--border);
    padding: 1.75rem clamp(1.25rem, 4vw, 2.75rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    transition: border-color 0.4s;
}

.f-logo {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1rem;
    color: var(--muted2);
}

.f-links {
    display: flex;
    gap: 1.5rem;
}

.f-links a {
    font-size: 0.75rem;
    color: var(--muted2);
    transition: color 0.2s;
}

.f-links a:hover {
    color: var(--text);
}

.f-copy {
    font-size: 0.7rem;
    color: var(--muted2);
}

/* ═══════════════════════════════════════
RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 960px) {
    .m-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-cell:nth-child(2) {
        border-right: none;
    }

    .m-cell:nth-child(3) {
        border-right: 1px solid var(--border);
    }

    .cs {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem 0;
    }

    .cs.flip {
        direction: ltr;
    }

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

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

    .process-rail {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .process-rail::before {
        display: none;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .a-photo {
        aspect-ratio: 4/3;
    }

    .work-top p,
    .svc-top p {
        text-align: left;
    }

    nav .n-links {
        display: none;
    }

    body {
        cursor: auto;
    }

    #c-dot,
    #c-ring,
    #spotlight {
        display: none;
    }
}

@media (max-width: 600px) {
    .m-bar {
        grid-template-columns: 1fr 1fr;
    }

    .m-cell:nth-child(3) {
        border-right: none;
    }

    .m-cell:nth-child(2) {
        border-right: 1px solid var(--border);
    }

    .svc-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

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

    footer {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════
HaierMall Case Study Css
═══════════════════════════════════════ */


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

:root {
    --navy: #060f1a;
    --navy2: #091626;
    --navy3: #0d1e34;
    --navy4: #122440;
    --teal: #2dd4bf;
    --teal2: #14b8a6;
    --teal-dim: rgba(45, 212, 191, 0.08);
    --teal-border: rgba(45, 212, 191, 0.18);
    --white: #edf2f7;
    --white2: #94afc8;
    --white3: #4d6a85;
    --line: rgba(255, 255, 255, 0.06);
    --line2: rgba(255, 255, 255, 0.09);
    --serif: 'DM Serif Display', serif;
    --body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--navy);
    color: var(--white);
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── PROGRESS ──────────────────────────────────── */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    background: var(--teal);
    z-index: 101;
    width: 0%;
    transition: width .1s linear;
    opacity: .7;
}

/* ── NAV ───────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 22px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .5s, border-color .5s, backdrop-filter .5s;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(6, 15, 26, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line2);
}

.nav-logo {
    font-family: var(--body);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: .02em;
}

.nav-logo span {
    color: var(--teal)
}

.nav-right {
    font-size: 11px;
    color: var(--white3);
    letter-spacing: .1em;
    text-transform: uppercase
}

/* ── LAYOUT ────────────────────────────────────── */
.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px
}

/* ── HERO ──────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 0 100px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 28px;
    opacity: 1;
    transform: translateY(0);
}

.hero-eyebrow-line {
    width: 20px;
    height: 1px;
    background: var(--teal);
    opacity: .6
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -.01em;
    color: var(--white);
    margin-bottom: 0;
    opacity: 1;
    transform: translateY(0);
}

.hero h1 em {
    color: var(--teal);
    font-style: italic
}

.hero-sub {
    font-size: 16px;
    color: var(--white2);
    font-weight: 300;
    /* max-width: 540px; */
    line-height: 1.72;
    margin: 24px 0 60px;
    opacity: 1;
    transform: translateY(0);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line2);
    border: 1px solid var(--line2);
    border-radius: 10px;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.hero-meta-cell {
    background: var(--navy2);
    padding: 20px 22px
}

.meta-lbl {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--white3);
    margin-bottom: 6px;
}

.meta-val {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.4
}

.meta-val small {
    display: block;
    font-size: 11px;
    color: var(--white3);
    font-weight: 400;
    margin-top: 3px
}

/* ── SECTION ───────────────────────────────────── */
.sec {
    padding: 88px 0;
    border-bottom: 1px solid var(--line)
}

.sec-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal);
    opacity: .8;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sec-tag::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line2)
}

.sec h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.01em;
    color: var(--white);
    margin-bottom: 16px;
}

.sec p {
    font-size: 14px;
    color: var(--white2);
    line-height: 1.8;
    /* max-width: 600px; */
    font-weight: 300;
}

/* ── REVEAL ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    will-change: opacity, transform
}

/* ── PSO CARDS ─────────────────────────────────── */
.pso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 40px
}

.pso-card {
    background: var(--navy2);
    border: 1px solid var(--line2);
    border-top: 1px solid transparent;
    border-radius: 10px;
    padding: 28px 24px;
    transition: transform .25s var(--ease), border-color .25s;
}

.pso-card:hover {
    transform: translateY(-3px)
}

.pso-card.problem {
    border-top-color: rgba(248, 113, 113, .3)
}

.pso-card.solution {
    border-top-color: rgba(20, 184, 166, .4)
}

.pso-card.outcome {
    border-top-color: var(--teal)
}

.pso-kicker {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pso-card.problem .pso-kicker {
    color: rgba(248, 113, 113, .7)
}

.pso-card.solution .pso-kicker {
    color: var(--teal2)
}

.pso-card.outcome .pso-kicker {
    color: var(--teal)
}

.pso-title {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.pso-text {
    font-size: 13px;
    color: var(--white2);
    line-height: 1.7;
    font-weight: 300
}

/* ── AUDIT ─────────────────────────────────────── */
.audit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line2);
    border: 1px solid var(--line2);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 32px;
}

.audit-card {
    background: var(--navy2);
    padding: 26px 24px;
    transition: background .2s;
}

.audit-card:hover {
    background: var(--navy3)
}

.audit-num {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--teal);
    opacity: .8;
    margin-bottom: 10px;
}

.audit-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.4
}

.audit-body {
    font-size: 13px;
    color: var(--white2);
    line-height: 1.68;
    font-weight: 300
}

/* ── BEFORE / AFTER ────────────────────────────── */
.ba-container {
    margin-top: 36px
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.ba-block {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line2)
}

.ba-head {
    padding: 10px 16px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line2);
}

.ba-head.before-h {
    background: var(--navy3);
    color: var(--white3)
}

.ba-head.after-h {
    background: var(--teal-dim);
    color: var(--teal)
}

.ba-body {
    padding: 18px;
    background: var(--navy2)
}

.ba-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 7px;
    margin-bottom: 5px;
    font-size: 13px;
}

.ba-row.dim {
    background: rgba(255, 255, 255, .025);
    color: var(--white3)
}

.ba-row.lit {
    background: var(--teal-dim);
    color: #7de8da;
    border: 1px solid rgba(45, 212, 191, .14);
}

.ba-row.cta-row {
    background: var(--teal);
    color: #060f1a;
    font-weight: 500;
    font-size: 13px;
}

.ba-badge {
    font-size: 10px;
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: .05em;
    flex-shrink: 0;
}

.ba-row.dim .ba-badge {
    background: rgba(255, 255, 255, .05);
    color: var(--white3)
}

.ba-row.lit .ba-badge {
    background: rgba(45, 212, 191, .15);
    color: var(--teal)
}

/* Callouts */
.callouts-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.callout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    background: var(--navy2);
    border: 1px solid var(--line2);
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-12px);
}

.callout-num {
    font-size: 11px;
    font-weight: 600;
    color: var(--teal);
    opacity: .7;
    min-width: 22px;
    font-variant-numeric: tabular-nums;
}

.callout-text {
    font-size: 13px;
    color: var(--white2);
    font-weight: 300
}

.callout-pip {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--teal);
    margin-left: auto;
    flex-shrink: 0;
    opacity: .3;
}

/* ── DECISIONS ─────────────────────────────────── */
.decisions {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--line2);
    border: 1px solid var(--line2);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 32px;
}

.dec {
    display: grid;
    grid-template-columns: 60px 1fr;
    background: var(--navy2);
    transition: background .2s, border-left-color .2s;
    border-left: 2px solid transparent;
}

.dec:hover {
    background: var(--navy3);
    border-left-color: var(--teal);
}

.dec-num {
    background: var(--navy3);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 26px 0 0;
    border-right: 1px solid var(--line2);
}

.dec-num span {
    font-family: var(--body);
    font-size: 12px;
    font-weight: 500;
    color: var(--white3);
    letter-spacing: .04em;
}

.dec-body {
    padding: 24px 26px
}

.dec-problem {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--white3);
    margin-bottom: 6px;
}

.dec-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.45
}

.dec-desc {
    font-size: 13px;
    color: var(--white2);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 14px
}

.dec-impact {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-dim);
    border: 1px solid var(--teal-border);
    padding: 4px 11px;
    border-radius: 20px;
}

/* ── SCREENS ───────────────────────────────────── */
.screens {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px
}

.screen-card {
    border: 1px solid var(--line2);
    border-radius: 12px;
    overflow: hidden;
    background: var(--navy2);
    transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}

.screen-card:hover {
    border-color: rgba(45, 212, 191, .22);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

.screen-chrome {
    background: var(--navy3);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid var(--line2);
}

.chrome-dots {
    display: flex;
    gap: 5px
}

.chrome-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line2)
}

.chrome-url {
    flex: 1;
    background: var(--navy4);
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--white3);
}

.screen-img {
    width: 100%;
    aspect-ratio: 16/7;
    background: var(--navy3);
    display: flex;
    /* align-items: center;
    justify-content: center; */
    position: relative;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.screen-ph {
    text-align: center
}

.screen-ph-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--navy4);
    border: 1px solid var(--line2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 18px;
}

.screen-ph-lbl {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--white3);
}

.screen-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 15, 26, .9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    transition: opacity .28s var(--ease);
    pointer-events: none;
}

.screen-card:hover .screen-overlay {
    opacity: 1;
    pointer-events: auto
}

.overlay-inner {
    max-width: 460px;
    text-align: center
}

.overlay-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.overlay-text {
    font-size: 15px;
    color: var(--white);
    line-height: 1.65;
    font-weight: 300
}

.overlay-pill {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    color: var(--teal);
    background: var(--teal-dim);
    border: 1px solid var(--teal-border);
    padding: 5px 14px;
    border-radius: 20px;
}

.screen-meta {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line2);
}

.sm-cell {
    background: var(--navy2);
    padding: 16px 20px
}

.sm-lbl {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal);
    opacity: .8;
    margin-bottom: 5px;
}

.sm-val {
    font-size: 13px;
    color: var(--white2);
    line-height: 1.5;
    font-weight: 300
}

/* ── RESULTS ───────────────────────────────────── */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line2);
    border: 1px solid var(--line2);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 32px;
}

.result-cell {
    background: var(--navy2);
    padding: 36px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease);
    opacity: .5;
}

.result-cell.counted::after {
    transform: scaleX(1)
}

.result-num {
    font-family: var(--serif);
    font-size: clamp(36px, 4.5vw, 52px);
    font-weight: 400;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.result-label {
    font-size: 12px;
    color: var(--white2);
    font-weight: 400;
    line-height: 1.4
}

.result-sub {
    font-size: 11px;
    color: var(--white3);
    margin-top: 4px
}

.result-note {
    margin-top: 20px;
    padding: 20px 24px;
    background: var(--navy2);
    border: 1px solid var(--line2);
    border-left: 2px solid var(--teal-border);
    border-radius: 0 10px 10px 0;
}

.result-note-lbl {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
    opacity: .8;
    margin-bottom: 8px;
}

.result-note-text {
    font-size: 13px;
    color: var(--white2);
    line-height: 1.75;
    font-weight: 300
}

/* ── LEARNINGS ─────────────────────────────────── */
.learnings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px
}

.learning {
    background: var(--navy2);
    border: 1px solid var(--line2);
    border-radius: 10px;
    padding: 26px 24px;
    transition: border-color .25s;
}

.learning:hover {
    border-color: rgba(45, 212, 191, .16)
}

.learning-title {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.35;
}

.learning-text {
    font-size: 13px;
    color: var(--white2);
    line-height: 1.73;
    font-weight: 300
}

/* ── CONSTRAINT ────────────────────────────────── */
.constraint {
    margin-bottom: 60px;
    padding: 26px 30px;
    background: var(--navy2);
    border: 1px solid var(--line2);
    border-left: 2px solid rgba(45, 212, 191, .4);
    border-radius: 0 10px 10px 0;
}

.constraint p {
    font-size: 14px;
    color: var(--white2);
    line-height: 1.78;
    font-weight: 300
}

.constraint strong {
    color: var(--white);
    font-weight: 500
}

/* ── FOOTER ────────────────────────────────────── */
footer {
    padding: 64px 0 48px;
    text-align: center;
    /* border-top: 1px solid var(--line) */
}

.footer-name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 6px;
}

.footer-sub {
    font-size: 13px;
    color: var(--white3)
}

.footer-link {
    color: var(--teal);
    text-decoration: none;
    font-size: 13px;
    margin-top: 14px;
    display: inline-block;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal);
    transition: width .3s var(--ease);
}

.footer-link:hover::after {
    width: 100%
}

/* ──────────────────────────────────────────────── */
/* ── CASE STUDY PAGE - ANIMATION STATES ──────── */
/* ──────────────────────────────────────────────── */

/* Reveal animations */
.reveal.on {
    animation: reveal-in .6s var(--ease) forwards;
}

@keyframes reveal-in {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Callout animations */
.callout-item.on {
    animation: callout-in .5s var(--ease) forwards;
}

@keyframes callout-in {
    from {
        opacity: 0;
        transform: translateX(-12px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

/* Hero animations */
.hero-eyebrow.on {
    animation: reveal-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

.hero h1.on {
    animation: reveal-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.16s forwards !important;
}

.hero-sub.on {
    animation: reveal-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.32s forwards !important;
}

.hero-meta.on {
    animation: reveal-in 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.48s forwards !important;
}

/* Screen card animations */
.screen-card:hover {
    transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}

/* Results counter animation */
.result-cell.counted::after {
    animation: expand-line .8s var(--ease) forwards;
}

@keyframes expand-line {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

/* ── REDUCED MOTION ────────────────────────────── */
@media(prefers-reduced-motion:reduce) {

    .reveal,
    .callout-item,
    .hero-eyebrow,
    .hero h1,
    .hero-sub,
    .hero-meta {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ── RESPONSIVE ────────────────────────────────── */
@media(max-width:720px) {
    .wrap {
        padding: 0 20px
    }

    nav {
        padding: 18px 20px
    }

    .hero {
        padding: 110px 0 80px
    }

    .sec {
        padding: 64px 0
    }

    .pso-grid,
    .learnings-grid,
    .results-grid {
        grid-template-columns: 1fr
    }

    .audit-grid,
    .ba-grid,
    .screen-meta {
        grid-template-columns: 1fr
    }

    .hero-meta {
        grid-template-columns: 1fr 1fr
    }

    .dec {
        grid-template-columns: 1fr
    }

    .dec-num {
        display: none
    }
}