/**
 * 미디어볼드 대외용 — 디자인 시스템 v1.1
 */
:root {
    --mb-red: #d21f26;
    --mb-red-dark: #b0181e;
    --mb-black: #111111;
    --mb-gray: #666666;
    --mb-muted: #999999;
    --mb-border: #eeeeee;
    --mb-bg: #ffffff;
    --mb-bg-soft: #f7f7f8;
    --mb-gutter: 80px;
    --mb-gutter-md: 40px;
    --mb-gutter-sm: 20px;
    --mb-radius: 12px;
    --mb-radius-pill: 999px;
    --mb-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    --mb-font: 'Paperlogy', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    --mb-font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace;
    --mb-transition: 0.2s ease;
    --mb-header-h: 72px;
}

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

html { scroll-behavior: smooth; }

html,
body.mb-public,
body.mb-works {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

body.mb-public,
body.mb-works {
    font-family: var(--mb-font);
    color: var(--mb-black);
    background: var(--mb-bg);
    line-height: 1.65;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
}

.mb-wrapper { min-height: 100vh; display: flex; flex-direction: column; width: 100%; max-width: none; }
.mb-body { flex: 1; width: 100%; max-width: none; }
.mb-main { width: 100%; max-width: none; float: none; padding: 0; margin: 0; }

.mb-section { width: 100%; }
.mb-section-inner {
    width: 100%;
    padding-left: var(--mb-gutter);
    padding-right: var(--mb-gutter);
}
.mb-section--soft { background: var(--mb-bg-soft); }

/* Skip link */
.mb-skip {
    position: absolute; left: -9999px; top: 0; z-index: 9999;
    padding: 12px 20px; background: var(--mb-black); color: #fff; text-decoration: none;
}
.mb-skip:focus { left: 16px; top: 16px; }

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.mb-btn:focus-visible,
.mb-kakao-fab:focus-visible {
    outline: 2px solid var(--mb-red);
    outline-offset: 3px;
}

/* 404 */
.mb-404 .mb-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.mb-works-detail-hero img,
.mb-works-detail-hero picture {
    display: block; width: 100%; height: auto;
}

/* Header */
.mb-public-header {
    position: sticky; top: 0; z-index: 200;
    width: 100%;
    max-width: none;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mb-border);
}
.mb-public-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; min-height: var(--mb-header-h);
    width: 100%;
    max-width: none;
    padding: 0 var(--mb-gutter);
}
.mb-logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--mb-black); flex-shrink: 0;
}
.mb-logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--mb-red); color: #fff;
    font-weight: 800; font-size: 14px; letter-spacing: 0.04em;
}
.mb-logo-text {
    font-size: 18px; font-weight: 700; letter-spacing: 0.04em;
}
.mb-header-right { display: flex; align-items: center; gap: 16px; }

.mb-public-nav { display: flex; align-items: center; gap: 28px; }
.mb-public-nav a {
    text-decoration: none; color: var(--mb-black);
    font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
    transition: color var(--mb-transition);
}
.mb-public-nav a:hover,
.mb-public-nav a.is-active { color: var(--mb-red); }

.mb-inside-badge {
    display: inline-flex; align-items: center;
    padding: 6px 12px; border-radius: var(--mb-radius-pill);
    border: 1px solid var(--mb-border); background: var(--mb-bg);
    color: var(--mb-muted); font-size: 11px; font-weight: 600;
    letter-spacing: 0.08em; text-decoration: none;
    transition: border-color var(--mb-transition), color var(--mb-transition);
}
.mb-inside-badge:hover { border-color: var(--mb-black); color: var(--mb-black); }

.mb-nav-toggle {
    display: none; width: 44px; height: 44px;
    border: 0; background: transparent; cursor: pointer; padding: 0;
}
.mb-nav-toggle span {
    display: block; width: 22px; height: 2px; margin: 5px auto;
    background: var(--mb-black); transition: var(--mb-transition);
}

/* Buttons */
.mb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 28px; border-radius: var(--mb-radius-pill);
    font-family: var(--mb-font);
    font-size: 15px; font-weight: 600; letter-spacing: 0.03em;
    text-decoration: none; border: 1px solid transparent;
    transition: transform var(--mb-transition), box-shadow var(--mb-transition), background var(--mb-transition);
    cursor: pointer;
}
.mb-btn:hover { transform: translateY(-1px); }
.mb-btn--primary { background: var(--mb-red); color: #fff; }
.mb-btn--primary:hover { background: var(--mb-red-dark); box-shadow: var(--mb-shadow); }
.mb-btn--outline { background: transparent; color: var(--mb-black); border-color: var(--mb-border); }
.mb-btn--outline:hover { border-color: var(--mb-black); }

/* Hero */
.mb-hero {
    padding: clamp(128px, 16vh, 168px) 0 clamp(88px, 11vh, 112px);
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f6f6f8 100%);
}
.mb-hero-wordmark {
    position: relative;
    min-height: 30px;
    margin-bottom: clamp(10px, 1.6vw, 14px);
    overflow: hidden;
}
.mb-hero-wordmark span {
    position: absolute; left: 50%; transform: translateX(-50%);
    top: 0;
    font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
    color: var(--mb-muted); text-transform: uppercase;
    opacity: 0; transition: opacity 0.6s ease;
}
.mb-hero-wordmark span.is-visible { opacity: 1; }
.mb-hero-title {
    max-width: 11em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(20px, 2.8vw, 28px);
    font-size: clamp(44px, 7.2vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.055em;
}
.mb-hero-sub {
    max-width: 20em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(32px, 4.5vw, 44px);
    font-size: clamp(17px, 2.15vw, 22px);
    font-weight: 400;
    line-height: 1.7;
    color: #555;
    letter-spacing: 0.05em;
}
@media (min-width: 768px) {
    .mb-hero-sub {
        max-width: none;
        white-space: nowrap;
    }
}
.mb-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
.mb-hero-cta .mb-btn--primary {
    min-height: 46px;
    min-width: 0;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    box-shadow: none;
}
.mb-hero-cta .mb-btn--primary:hover {
    box-shadow: none;
}
.mb-hero-cta .mb-btn--ghost {
    min-height: 46px;
    padding: 0 22px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mb-muted);
    border-color: #ddd;
    background: rgba(255, 255, 255, 0.6);
}
.mb-hero-cta .mb-btn--ghost:hover {
    color: var(--mb-black);
    border-color: #bbb;
    background: #fff;
}

/* Hero — 2장 fade (프로토타입) */
.mb-hero--dual {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 0;
    overflow: hidden;
}
.mb-hero-dual__viewport {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: clamp(360px, 46vh, 480px);
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}
.mb-hero-dual__viewport.is-dragging {
    cursor: grabbing;
}
.mb-hero-dual__viewport a,
.mb-hero-dual__viewport button {
    user-select: auto;
    cursor: pointer;
}
.mb-hero-dual__track {
    position: relative;
    min-height: inherit;
}
.mb-hero-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--mb-hero-dual-transition, 800ms) ease, visibility var(--mb-hero-dual-transition, 800ms) ease;
    padding: clamp(72px, 10vh, 104px) 0 clamp(80px, 10vh, 100px);
    text-align: center;
}
.mb-hero--dual .mb-hero-panel__inner {
    margin-top: -12px;
}
.mb-hero-panel--brand {
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 55%, #ebf0f7 100%);
    overflow: hidden;
}
.mb-hero-panel--highlight {
    background: linear-gradient(180deg, #fbfbfe 0%, #f0f2fb 55%, #e8ecf8 100%);
    overflow: hidden;
}
.mb-hero-panel--sos {
    background: linear-gradient(180deg, #fff8f8 0%, #fceeee 55%, #f7ecec 100%);
    overflow: hidden;
}
.mb-hero-panel--reborn {
    background: linear-gradient(180deg, #f8fffc 0%, #eef7f3 55%, #e8f2ec 100%);
    overflow: hidden;
}
.mb-hero-panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}
.mb-hero-panel.is-leaving {
    opacity: 0;
    z-index: 0;
}
.mb-hero-panel__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}
.mb-hero-eyebrow {
    display: inline-block;
    margin: 0 0 clamp(10px, 1.5vw, 14px);
    color: var(--mb-red);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.mb-hero-eyebrow--sos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c41820;
    letter-spacing: 0.16em;
}
.mb-hero-eyebrow--reborn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f7a5c;
    letter-spacing: 0.16em;
}
.mb-hero-eyebrow__icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #d21f26;
    animation: mb-hero-siren 1.4s ease-in-out infinite;
}
.mb-hero-eyebrow__icon--reborn {
    color: #1f7a5c;
    animation: mb-hero-sparkle-icon 2s ease-in-out infinite;
}
.mb-hero-eyebrow__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}
.mb-btn--sos {
    letter-spacing: 0.04em;
}
.mb-btn--reborn {
    background: #1f7a5c;
    border-color: #1f7a5c;
    letter-spacing: 0.02em;
}
.mb-btn--reborn:hover {
    background: #18634a;
    border-color: #18634a;
}
@keyframes mb-hero-siren {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
    25% { transform: rotate(-12deg) scale(1.08); }
    75% { transform: rotate(12deg) scale(1.08); }
}
@keyframes mb-hero-sparkle-icon {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
    50% { transform: scale(1.12) rotate(8deg); opacity: 1; }
}

/* Hero — 양쪽 FX (슬라이드별) */
.mb-hero-fx {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.55s ease;
}
.mb-hero-panel.is-active .mb-hero-fx {
    opacity: 1;
}
.mb-hero-fx__side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(130px, 19vw);
}
.mb-hero-fx__side--left { left: 0; }
.mb-hero-fx__side--right { right: 0; }
.mb-hero-fx__side i {
    position: absolute;
    display: block;
    opacity: 0;
}

/* 1 — 브랜드: 사선 스트림 (좌→우) */
.mb-hero-fx--brand {
    mask-image: radial-gradient(ellipse 58% 54% at 50% 48%, transparent 0%, transparent 38%, #000 70%);
    -webkit-mask-image: radial-gradient(ellipse 58% 54% at 50% 48%, transparent 0%, transparent 38%, #000 70%);
}
.mb-hero-fx--brand .mb-hero-fx__stream {
    position: absolute;
    left: 0;
    height: 1px;
    width: clamp(72px, 12vw, 140px);
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(99, 130, 180, 0.35) 22%,
        rgba(99, 130, 180, 0.62) 50%,
        rgba(99, 130, 180, 0.35) 78%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(99, 130, 180, 0.22);
    opacity: 0;
    --mb-brand-stream-angle: -22deg;
    animation: mb-hero-fx-brand-stream 3.2s linear infinite;
}
.mb-hero-fx--brand .mb-hero-fx__stream--1 { top: 18%; animation-delay: 0s; width: clamp(64px, 11vw, 120px); --mb-brand-stream-angle: -22deg; }
.mb-hero-fx--brand .mb-hero-fx__stream--2 { top: 30%; animation-delay: 0.55s; --mb-brand-stream-angle: -18deg; }
.mb-hero-fx--brand .mb-hero-fx__stream--3 { top: 42%; animation-delay: 1.1s; width: clamp(88px, 14vw, 160px); --mb-brand-stream-angle: -26deg; }
.mb-hero-fx--brand .mb-hero-fx__stream--4 { top: 54%; animation-delay: 0.25s; width: clamp(56px, 9vw, 100px); --mb-brand-stream-angle: -22deg; }
.mb-hero-fx--brand .mb-hero-fx__stream--5 { top: 66%; animation-delay: 1.65s; --mb-brand-stream-angle: -20deg; }
.mb-hero-fx--brand .mb-hero-fx__stream--6 { top: 78%; animation-delay: 0.9s; width: clamp(80px, 13vw, 150px); --mb-brand-stream-angle: -24deg; }
.mb-hero-fx--brand .mb-hero-fx__stream--7 { top: 24%; animation-delay: 2.2s; width: clamp(48px, 8vw, 92px); --mb-brand-stream-angle: -16deg; }
@keyframes mb-hero-fx-brand-stream {
    0% { transform: rotate(var(--mb-brand-stream-angle, -22deg)) translate3d(-130%, 0, 0); opacity: 0; }
    8% { opacity: 0.72; }
    92% { opacity: 0.72; }
    100% { transform: rotate(var(--mb-brand-stream-angle, -22deg)) translate3d(280%, 0, 0); opacity: 0; }
}
@media (max-width: 767px) {
    .mb-hero-fx--brand {
        mask-image: radial-gradient(ellipse 78% 68% at 50% 46%, transparent 0%, transparent 34%, #000 72%);
        -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 46%, transparent 0%, transparent 34%, #000 72%);
    }
    .mb-hero-fx--brand .mb-hero-fx__stream {
        animation-duration: 2.8s;
    }
}

/* 2 — 하이라이트: 대각 빛줄기가 위→아래로 스윕 */
.mb-hero-fx--highlight .mb-hero-fx__side {
    width: min(150px, 22vw);
    overflow: hidden;
}
.mb-hero-fx--highlight .mb-hero-fx__side i {
    bottom: auto;
    top: -35%;
    width: 3px;
    height: min(38vh, 280px);
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(99, 102, 241, 0.08) 18%,
        rgba(99, 102, 241, 0.72) 48%,
        rgba(210, 31, 38, 0.35) 62%,
        rgba(99, 102, 241, 0.12) 78%,
        transparent 100%
    );
    box-shadow: 0 0 22px rgba(99, 102, 241, 0.35);
    filter: blur(0.2px);
    animation: mb-hero-fx-highlight-sweep 4.2s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
.mb-hero-fx--highlight .mb-hero-fx__side--left i {
    transform-origin: center top;
    animation-name: mb-hero-fx-highlight-sweep-left;
}
.mb-hero-fx--highlight .mb-hero-fx__side--right i {
    transform-origin: center top;
    animation-name: mb-hero-fx-highlight-sweep-right;
}
.mb-hero-fx--highlight .mb-hero-fx__side--left i:nth-child(1) { left: 12%; animation-delay: 0s; height: min(32vh, 240px); }
.mb-hero-fx--highlight .mb-hero-fx__side--left i:nth-child(2) { left: 32%; animation-delay: 0.75s; width: 2px; }
.mb-hero-fx--highlight .mb-hero-fx__side--left i:nth-child(3) { left: 52%; animation-delay: 1.5s; height: min(42vh, 300px); }
.mb-hero-fx--highlight .mb-hero-fx__side--left i:nth-child(4) { left: 22%; animation-delay: 2.25s; width: 4px; opacity: 0.85; }
.mb-hero-fx--highlight .mb-hero-fx__side--left i:nth-child(5) { left: 68%; animation-delay: 3s; height: min(36vh, 260px); }
.mb-hero-fx--highlight .mb-hero-fx__side--left i:nth-child(6) { left: 42%; animation-delay: 0.4s; width: 2px; }
.mb-hero-fx--highlight .mb-hero-fx__side--right i:nth-child(1) { left: 18%; animation-delay: 0.35s; height: min(34vh, 250px); }
.mb-hero-fx--highlight .mb-hero-fx__side--right i:nth-child(2) { left: 38%; animation-delay: 1.1s; width: 2px; }
.mb-hero-fx--highlight .mb-hero-fx__side--right i:nth-child(3) { left: 58%; animation-delay: 1.85s; height: min(40vh, 290px); }
.mb-hero-fx--highlight .mb-hero-fx__side--right i:nth-child(4) { left: 28%; animation-delay: 2.6s; width: 4px; }
.mb-hero-fx--highlight .mb-hero-fx__side--right i:nth-child(5) { left: 72%; animation-delay: 3.35s; height: min(30vh, 220px); }
.mb-hero-fx--highlight .mb-hero-fx__side--right i:nth-child(6) { left: 48%; animation-delay: 0.55s; width: 2px; }
@keyframes mb-hero-fx-highlight-sweep-left {
    0% { transform: translate3d(-28px, -18%, 0) rotate(22deg) scaleY(0.55); opacity: 0; }
    14% { opacity: 0.9; }
    100% { transform: translate3d(18px, 115vh, 0) rotate(22deg) scaleY(1); opacity: 0; }
}
@keyframes mb-hero-fx-highlight-sweep-right {
    0% { transform: translate3d(28px, -18%, 0) rotate(-22deg) scaleY(0.55); opacity: 0; }
    14% { opacity: 0.9; }
    100% { transform: translate3d(-18px, 115vh, 0) rotate(-22deg) scaleY(1); opacity: 0; }
}

/* 3 — SOS: 부드러운 웜 오rb (중앙~측면, 느린 호흡) */
.mb-hero-fx--sos .mb-hero-fx__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(28px);
    opacity: 0.62;
    will-change: opacity, transform;
    animation: mb-hero-fx-sos-glow 7s ease-in-out infinite;
}
.mb-hero-fx--sos .mb-hero-fx__glow--1 {
    width: min(52vw, 400px);
    height: min(52vw, 400px);
    left: -2%;
    top: 6%;
    background: radial-gradient(
        circle at 42% 42%,
        rgba(210, 31, 38, 0.52) 0%,
        rgba(210, 31, 38, 0.22) 36%,
        rgba(210, 31, 38, 0.06) 58%,
        transparent 76%
    );
    animation-delay: 0s;
}
.mb-hero-fx--sos .mb-hero-fx__glow--2 {
    width: min(62vw, 460px);
    height: min(62vw, 460px);
    left: 50%;
    top: 18%;
    margin-left: min(-31vw, -230px);
    background: radial-gradient(
        circle at 50% 46%,
        rgba(255, 120, 120, 0.45) 0%,
        rgba(210, 31, 38, 0.2) 40%,
        rgba(210, 31, 38, 0.05) 62%,
        transparent 78%
    );
    animation-delay: 2.2s;
}
.mb-hero-fx--sos .mb-hero-fx__glow--3 {
    width: min(48vw, 360px);
    height: min(48vw, 360px);
    right: -2%;
    top: 42%;
    background: radial-gradient(
        circle at 58% 50%,
        rgba(210, 31, 38, 0.4) 0%,
        rgba(210, 31, 38, 0.14) 42%,
        transparent 74%
    );
    animation-delay: 4.4s;
}
@keyframes mb-hero-fx-sos-glow {
    0%, 100% {
        opacity: 0.52;
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        opacity: 0.82;
        transform: translate3d(0, -12px, 0) scale(1.06);
    }
}
@media (max-width: 767px) {
    .mb-hero-fx--sos .mb-hero-fx__glow {
        filter: blur(22px);
    }
    .mb-hero-fx--sos .mb-hero-fx__glow--1 {
        width: 72vw;
        height: 72vw;
        left: -18%;
        top: 0;
    }
    .mb-hero-fx--sos .mb-hero-fx__glow--2 {
        width: 84vw;
        height: 84vw;
        margin-left: -42vw;
        top: 24%;
    }
    .mb-hero-fx--sos .mb-hero-fx__glow--3 {
        width: 68vw;
        height: 68vw;
        right: -16%;
        top: 52%;
    }
}

/* 4 — 리본: 그린 폭죽 스파클 (안쪽 포함) */
.mb-hero-fx--reborn .mb-hero-fx__burst {
    position: absolute;
    width: 0;
    height: 0;
}
.mb-hero-fx--reborn .mb-hero-fx__burst--1 { left: 16%; top: 30%; }
.mb-hero-fx--reborn .mb-hero-fx__burst--2 { left: 36%; top: 22%; }
.mb-hero-fx--reborn .mb-hero-fx__burst--3 { left: 54%; top: 34%; }
.mb-hero-fx--reborn .mb-hero-fx__burst--4 { left: 72%; top: 26%; }
.mb-hero-fx--reborn .mb-hero-fx__burst--5 { left: 28%; top: 58%; }
.mb-hero-fx--reborn .mb-hero-fx__burst--6 { left: 62%; top: 52%; }
.mb-hero-fx--reborn .mb-hero-fx__burst i {
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #7dceb0 50%, transparent 78%);
    box-shadow: 0 0 8px rgba(31, 122, 92, 0.55);
    opacity: 0;
    --mb-pop-rot: 0deg;
    --mb-pop-dist: 68px;
    animation: mb-hero-fx-reborn-pop 2.5s ease-out infinite;
}
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(3n) {
    width: 2px;
    height: 7px;
    border-radius: 1px;
    background: linear-gradient(180deg, #fff 0%, #a8e6c8 55%, transparent 100%);
    box-shadow: 0 0 6px rgba(125, 206, 176, 0.65);
}
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(3n+2) {
    background: radial-gradient(circle, #fff 0%, #f5e6a8 48%, transparent 76%);
    box-shadow: 0 0 8px rgba(245, 210, 120, 0.55);
}
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(1) { --mb-pop-rot: 0deg; --mb-pop-dist: 62px; }
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(2) { --mb-pop-rot: 36deg; --mb-pop-dist: 74px; }
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(3) { --mb-pop-rot: 72deg; --mb-pop-dist: 58px; }
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(4) { --mb-pop-rot: 108deg; --mb-pop-dist: 80px; }
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(5) { --mb-pop-rot: 144deg; --mb-pop-dist: 66px; }
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(6) { --mb-pop-rot: 180deg; --mb-pop-dist: 72px; }
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(7) { --mb-pop-rot: 216deg; --mb-pop-dist: 60px; }
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(8) { --mb-pop-rot: 252deg; --mb-pop-dist: 76px; }
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(9) { --mb-pop-rot: 288deg; --mb-pop-dist: 64px; }
.mb-hero-fx--reborn .mb-hero-fx__burst i:nth-child(10) { --mb-pop-rot: 324deg; --mb-pop-dist: 70px; }
.mb-hero-fx--reborn .mb-hero-fx__burst--1 i { animation-delay: 0s; }
.mb-hero-fx--reborn .mb-hero-fx__burst--2 i { animation-delay: 0.42s; }
.mb-hero-fx--reborn .mb-hero-fx__burst--3 i { animation-delay: 0.85s; }
.mb-hero-fx--reborn .mb-hero-fx__burst--4 i { animation-delay: 1.28s; }
.mb-hero-fx--reborn .mb-hero-fx__burst--5 i { animation-delay: 1.7s; }
.mb-hero-fx--reborn .mb-hero-fx__burst--6 i { animation-delay: 2.12s; }
@keyframes mb-hero-fx-reborn-pop {
    0% {
        transform: rotate(var(--mb-pop-rot)) translate3d(0, 0, 0) scale(0.25);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    38% {
        transform: rotate(var(--mb-pop-rot)) translate3d(0, calc(var(--mb-pop-dist) * -1), 0) scale(1);
        opacity: 0.92;
    }
    100% {
        transform: rotate(var(--mb-pop-rot)) translate3d(0, calc(var(--mb-pop-dist) * 0.2), 0) scale(0.15);
        opacity: 0;
    }
}
@media (max-width: 767px) {
    .mb-hero-fx--reborn .mb-hero-fx__burst--1 { left: 10%; top: 26%; }
    .mb-hero-fx--reborn .mb-hero-fx__burst--2 { left: 32%; top: 18%; }
    .mb-hero-fx--reborn .mb-hero-fx__burst--3 { left: 50%; top: 30%; }
    .mb-hero-fx--reborn .mb-hero-fx__burst--4 { left: 78%; top: 22%; }
    .mb-hero-fx--reborn .mb-hero-fx__burst--5 { left: 22%; top: 56%; }
    .mb-hero-fx--reborn .mb-hero-fx__burst--6 { left: 58%; top: 50%; }
    .mb-hero-fx--reborn .mb-hero-fx__burst i {
        --mb-pop-dist: 48px;
    }
}
.mb-hero-panel [data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.mb-hero-panel.is-motion-ready [data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}
.mb-hero-dual__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(28px, 4vh, 40px);
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding-right: var(--mb-gutter);
    pointer-events: none;
}
.mb-hero-dual__dots {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}
.mb-hero-dual__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.mb-hero-dual__dot.is-active {
    background: var(--mb-red);
    transform: scale(1.15);
}
.mb-hero-dual__dot:focus-visible {
    outline: 2px solid var(--mb-red);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .mb-hero-panel {
        transition: none;
    }
    .mb-hero-panel [data-animate],
    .mb-hero-panel.is-motion-ready [data-animate].is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .mb-hero-eyebrow__icon {
        animation: none;
    }
    .mb-hero-panel.is-active .mb-hero-fx {
        opacity: 0;
    }
    .mb-hero-fx__side i {
        animation: none !important;
    }
    .mb-hero-fx--sos .mb-hero-fx__glow {
        animation: none !important;
        opacity: 0.58;
    }
}
@media (max-width: 767px) {
    .mb-hero-dual__viewport {
        min-height: clamp(300px, 68vw, 360px);
    }
    .mb-hero-panel {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 36px 0 52px;
    }
    .mb-hero--dual {
        padding: 0;
    }
    .mb-hero--dual .mb-hero-panel__inner {
        margin-top: 0;
    }
    .mb-hero--dual .mb-hero-wordmark {
        min-height: 24px;
        margin-bottom: 8px;
    }
    .mb-hero--dual .mb-hero-title {
        font-size: clamp(30px, 8vw, 38px);
        margin-bottom: 14px;
    }
    .mb-hero--dual .mb-hero-sub {
        margin-bottom: 22px;
        font-size: 15px;
        line-height: 1.6;
        white-space: normal;
    }
    .mb-hero--dual .mb-hero-cta {
        gap: 10px;
    }
    .mb-hero-sub {
        white-space: normal;
    }
    .mb-hero-dual__controls {
        bottom: 18px;
        padding-right: var(--mb-gutter-sm);
    }
}

/* HOME — Hero viewport 풀폭 (헤더·본문은 --mb-gutter 로 동일 정렬) */
body.mb-home {
    overflow-x: hidden;
}

body.mb-home .mb-hero--dual {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

body.mb-home .mb-hero-dual__controls {
    padding-right: var(--mb-gutter);
}

/* HOME — section heading (eyebrow + title) */
.mb-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 3.5vw, 44px);
}
.mb-section-heading__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--mb-red);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.mb-section-heading__title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 0.03em;
}
.mb-section-heading__more {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.15;
    color: var(--mb-gray);
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--mb-transition);
}
.mb-section-heading__more:hover { color: var(--mb-red); }

/* Sub page section head (about 등) */
.mb-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}
.mb-section-head h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin: 0;
    line-height: 1.14;
}
.mb-section-head a {
    font-size: 14px;
    line-height: 1.15;
    color: var(--mb-gray);
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}
.mb-section-head a:hover { color: var(--mb-red); }

/* HOME — 주요 서비스 (SERVICE 랜덤 릴) */
.mb-services {
    padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 96px);
}
.mb-services[data-animate] {
    transform: none;
}
.mb-home-svc {
    margin-top: 8px;
}
.mb-home-svc__reel {
    --mb-home-svc-gap: clamp(14px, 2vw, 20px);
}
.mb-home-svc__viewport {
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.mb-home-svc__track {
    will-change: transform;
}
.mb-home-svc__stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--mb-home-svc-gap);
}
.mb-home-svc__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: clamp(22px, 2.4vw, 28px);
    border: 1px solid var(--mb-border);
    border-radius: var(--mb-radius);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition:
        transform var(--mb-transition),
        box-shadow var(--mb-transition),
        border-color var(--mb-transition);
}
.mb-home-svc__card:hover,
.mb-home-svc__card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--mb-shadow);
    border-color: #ddd;
}
.mb-home-svc__num {
    position: absolute;
    top: clamp(18px, 2vw, 22px);
    right: clamp(18px, 2vw, 22px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--mb-muted);
}
.mb-home-svc__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    color: #3d4450;
}
.mb-home-svc__icon svg {
    width: 24px;
    height: 24px;
    display: block;
}
.mb-home-svc__title {
    display: block;
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    padding-right: 28px;
}
.mb-home-svc__desc {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    color: var(--mb-gray);
}
.mb-home-svc__reel.is-static .mb-home-svc__viewport {
    height: auto !important;
    mask-image: none;
}
.mb-home-svc__reel.is-static .mb-home-svc__track {
    transform: none !important;
    transition: none !important;
}
.mb-home-svc__reel.is-static .mb-home-svc__stack--clone {
    display: none;
}
@media (prefers-reduced-motion: reduce) {
    .mb-home-svc__viewport { mask-image: none; }
    .mb-home-svc__track { transform: none !important; transition: none !important; }
    .mb-home-svc__stack--clone { display: none; }
}
@media (max-width: 1024px) {
    .mb-home-svc__stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mb-home-svc__card { min-height: 156px; }
}
@media (max-width: 640px) {
    .mb-home-svc__stack { grid-template-columns: minmax(0, 1fr); }
    .mb-home-svc__card { min-height: 0; }
}

/* Legacy service grid (sub pages) */
.mb-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.mb-service-card {
    display: block; padding: 28px 24px; border-radius: var(--mb-radius);
    border: 1px solid var(--mb-border); background: var(--mb-bg);
    text-decoration: none; color: inherit;
    transition: transform var(--mb-transition), box-shadow var(--mb-transition), border-color var(--mb-transition);
}
.mb-service-card:hover {
    transform: translateY(-4px); box-shadow: var(--mb-shadow); border-color: #ddd;
}
.mb-service-card strong {
    display: block; font-size: 18px; font-weight: 700; margin-bottom: 8px;
}
.mb-service-card span { font-size: 14px; color: var(--mb-gray); }

/* HOME — Featured WORKS slider */
.mb-featured-works {
    padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 96px);
}
.mb-featured-works__inner { padding-bottom: 0; }
/* Featured — JS transform 슬라이드 (viewport 가로 클립 · hover lift 버퍼 유지) */
.mb-featured-works {
    overflow-x: clip;
    overflow-x: hidden;
}
.mb-featured-works__inner {
    max-width: 100%;
}
.mb-featured-works[data-animate] {
    opacity: 0;
    transform: none;
    transition: opacity 0.6s ease;
}
.mb-featured-works[data-animate].is-visible {
    opacity: 1;
    transform: none;
}
.mb-featured-works__viewport {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding-top: 8px;
    padding-bottom: 12px;
    overflow-x: clip;
    overflow-x: hidden;
    container-type: inline-size;
    container-name: mb-featured;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-drag: none;
}
.mb-featured-works__viewport.is-dragging {
    cursor: grabbing;
}
.mb-featured-works__viewport.is-dragging .mb-featured-works__hover {
    transform: none !important;
    transition: none;
}
.mb-featured-works__viewport.is-dragging .mb-featured-works__lift {
    pointer-events: none;
}
.mb-featured-works__viewport a {
    user-select: auto;
}
.mb-featured-works__track {
    display: flex;
    gap: 16px;
    width: max-content;
    min-width: 100%;
    padding-bottom: 16px;
    box-sizing: border-box;
    will-change: transform;
}
.mb-featured-works__item {
    flex: 0 0 auto;
    width: calc((100cqw - 3.2px) / 1.2);
    min-width: 0;
}
.mb-featured-works__lift {
    display: block;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    padding-top: 4px;
    padding-bottom: 4px;
}
.mb-featured-works__lift:hover {
    z-index: 2;
}
/* transform 은 overflow:hidden 카드 바깥 래퍼에 — 클리핑·Safari 버그 방지 */
.mb-featured-works__hover {
    display: block;
    transition: transform var(--mb-transition);
}
.mb-featured-works__lift:hover .mb-featured-works__hover {
    transform: translateY(-4px);
}
.mb-featured-works__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: var(--mb-radius);
    overflow: hidden;
    border: 1px solid var(--mb-border);
    background: var(--mb-bg);
    transition: box-shadow var(--mb-transition), border-color var(--mb-transition);
}
.mb-featured-works__lift:hover .mb-featured-works__card {
    box-shadow: var(--mb-shadow);
    border-color: #ddd;
}
.mb-featured-works__thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8) center/cover no-repeat;
    position: relative;
}
@container mb-featured (min-width: 640px) {
    .mb-featured-works__item { width: calc((100cqw - 16px) / 2); }
    .mb-featured-works__track { gap: 16px; }
}
@container mb-featured (min-width: 960px) {
    .mb-featured-works__item { width: calc((100cqw - 36px) / 3); }
    .mb-featured-works__track { gap: 18px; }
}
@container mb-featured (min-width: 1200px) {
    .mb-featured-works__item { width: calc((100cqw - 80px) / 5); }
    .mb-featured-works__track { gap: 20px; }
}
.mb-featured-works__thumb.is-placeholder {
    background: linear-gradient(135deg, #f7f7f8 0%, #eee 100%);
}
.mb-featured-works__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.mb-featured-works__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
.mb-featured-works__body strong {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}
.mb-featured-works__client {
    font-size: 13px;
    color: var(--mb-muted);
    line-height: 1.4;
}
.mb-featured-works__summary {
    font-size: 14px;
    line-height: 1.5;
    color: var(--mb-gray);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    .mb-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    body.mb-home .mb-section-heading__title {
        font-size: 30px;
        line-height: 1.18;
    }
}

/* Insight / partners */
.mb-insight-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mb-insight-item {
    display: block;
    padding: 0;
    border: 1px solid var(--mb-border); border-radius: var(--mb-radius);
    background: var(--mb-bg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mb-insight-item:hover,
.mb-insight-item:focus-visible {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.mb-insight-item strong,
.mb-insight-item p,
.mb-insight-item time {
    text-decoration: none;
}
.mb-insight-item.is-hidden { opacity: .55; border-style: dashed; }
.mb-insight-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
    background: var(--mb-bg-soft) center/cover no-repeat;
}
.mb-insight-thumb.is-empty {
    background: linear-gradient(135deg, var(--mb-bg-soft) 0%, #ececee 100%);
}
.mb-insight-body { padding: 20px 24px 24px; }
.mb-insight-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-bottom: 10px; font-size: 12px; color: var(--mb-muted);
}
.mb-insight-item time { display: inline; margin: 0; }
.mb-insight-item strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.mb-insight-item p { margin: 8px 0 0; font-size: 14px; color: var(--mb-gray); line-height: 1.5; }

.mb-insight-view-summary {
    margin-top: 16px;
    max-width: 720px;
}
.mb-insight-view-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    margin-top: 14px; font-size: 13px; color: var(--mb-muted);
}
.mb-insight-view-meta time { color: var(--mb-muted); }
.mb-insight-view-hit { color: var(--mb-gray); }
.mb-copy-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; margin: 0;
    border: 1px solid var(--mb-border); border-radius: var(--mb-radius-pill);
    background: var(--mb-bg); color: var(--mb-gray);
    font: inherit; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.mb-copy-link--icon {
    width: 36px; height: 36px; padding: 0;
    border-radius: 50%; justify-content: center;
}
.mb-copy-link:hover,
.mb-copy-link:focus-visible {
    border-color: var(--mb-red); color: var(--mb-red); background: #fff;
}
.mb-copy-link.is-copied {
    border-color: var(--mb-red); color: var(--mb-red);
}
.mb-copy-link .mb-icon { flex-shrink: 0; }
.mb-copy-link-label { line-height: 1; }

.mb-insight-hub-block { margin-top: 48px; }

/* CKEditor5 MediaEmbed 출력 — 본문 이미지와 동일하게 풀폭 */
.mb-media-embed,
.mb-works-detail-content .mb-media-embed,
.view-content .mb-media-embed,
figure.media {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.5em 0;
    box-sizing: border-box;
}
.mb-media-embed-inner,
.mb-works-detail-content .mb-media-embed-inner,
.view-content .mb-media-embed-inner,
figure.media > div {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #0f0f0f;
}
.mb-media-embed-inner iframe,
.mb-works-detail-content .mb-media-embed iframe,
.view-content .mb-media-embed iframe,
.mb-works-detail-content iframe[src*="youtube"],
.mb-works-detail-content iframe[src*="youtu.be"],
.mb-works-detail-content iframe[src*="vimeo"],
.view-content iframe[src*="youtube"],
.view-content iframe[src*="vimeo"],
figure.media iframe {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border: 0 !important;
}

/* Purifier 가 남긴 CKEditor 미리보기 래퍼도 풀폭 처리 */
.mb-works-detail-content div:has(> iframe[src*="youtube"]),
.mb-works-detail-content div:has(> iframe[src*="vimeo"]),
.view-content div:has(> iframe[src*="youtube"]),
.view-content div:has(> iframe[src*="vimeo"]) {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden;
}
.mb-insight-hub-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px; margin-bottom: 20px;
}
.mb-insight-hub-head h2 { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; margin: 0; }
.mb-insight-hub-head a { font-size: 13px; color: var(--mb-gray); }
.mb-insight-hub-head a:hover { color: var(--mb-red); }

.mb-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.mb-logo-grid--compact { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mb-logo-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; padding: 14px 10px 12px;
    border: 1px solid var(--mb-border); border-radius: var(--mb-radius);
    background: var(--mb-bg); text-align: center;
    transition: border-color .2s ease, transform .2s ease;
    position: relative;
}
.mb-logo-card:hover { border-color: var(--mb-red); transform: translateY(-2px); }
.mb-logo-card.is-hidden { opacity: .55; border-style: dashed; }
.mb-logo-card-mark {
    width: 100%;
    aspect-ratio: 6 / 4;
    background: center/contain no-repeat;
    filter: grayscale(1);
    transition: filter .25s ease;
}
.mb-logo-card:hover .mb-logo-card-mark,
.mb-logo-card:focus-within .mb-logo-card-mark {
    filter: grayscale(0);
}
.mb-logo-card-mark.is-placeholder {
    background: var(--mb-bg-soft);
    border-radius: 4px;
    filter: none;
}
.mb-logo-card-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.mb-logo-card-hit {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; width: 100%; color: inherit; text-decoration: none;
}
.mb-logo-card-admin {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 6px; margin-top: 2px;
}
.mb-logo-card-admin a {
    font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
    padding: 4px 8px; border: 1px solid var(--mb-border);
    border-radius: 2px; color: var(--mb-gray); background: var(--mb-bg-soft);
    text-decoration: none;
}
.mb-logo-card-admin a:hover { color: var(--mb-black); border-color: var(--mb-black); }
.mb-logo-card-admin a.is-danger:hover { color: var(--mb-red); border-color: var(--mb-red); }
.mb-badge--private {
    font-size: 10px; letter-spacing: 0.04em;
    color: var(--mb-muted); border: 1px dashed var(--mb-border);
    padding: 2px 6px; border-radius: 2px;
}

/* CONTACT form — Spido inquiry UX 참고 */
.mb-contact-hero {
    padding: 72px 0 40px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(210, 31, 38, 0.06), transparent 55%),
        linear-gradient(180deg, var(--mb-bg-soft) 0%, var(--mb-bg) 100%);
    border-bottom: 1px solid var(--mb-border);
}
.mb-contact-eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
    color: var(--mb-red); margin: 0 0 16px;
}
.mb-contact-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800; line-height: 1.25; letter-spacing: -0.01em;
    margin: 0 0 20px; max-width: 16em;
}
.mb-contact-title em {
    font-style: normal; color: var(--mb-red);
    border-bottom: 3px solid rgba(210, 31, 38, 0.25);
}
.mb-contact-lead {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--mb-gray); line-height: 1.7; margin: 0;
    max-width: 36em;
}
.mb-contact-body { padding-top: 48px; padding-bottom: 80px; }
.mb-contact { max-width: 1280px; margin: 0 auto; }

.mb-contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 48px 56px;
    align-items: start;
}
.mb-contact-aside {
    position: sticky; top: calc(var(--mb-header-h) + 24px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mb-contact-guide {
    padding: 28px 24px;
    background: var(--mb-bg-soft);
    border-radius: var(--mb-radius);
    border: 1px solid var(--mb-border);
}
.mb-contact-guide-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
    color: var(--mb-muted); margin: 0 0 12px;
}
.mb-contact-guide h2 {
    font-size: 26px; font-weight: 700; line-height: 1.35;
    margin: 0 0 24px; letter-spacing: -0.02em;
}
.mb-contact-guide-list {
    list-style: none; margin: 0 0 24px; padding: 0;
    display: flex; flex-direction: column; gap: 14px;
}
.mb-contact-guide-list li {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 14px; line-height: 1.5; color: var(--mb-gray);
}
.mb-contact-guide-list span {
    flex-shrink: 0; font-size: 12px; font-weight: 800;
    color: var(--mb-red); letter-spacing: 0.04em; min-width: 1.6em;
}
.mb-contact-guide-note {
    margin: 0; padding-top: 16px; border-top: 1px solid var(--mb-border);
    font-size: 13px; color: var(--mb-muted); line-height: 1.55;
}

.mb-contact-form { display: flex; flex-direction: column; gap: 28px; }
.mb-contact-hp {
    position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.mb-contact-block {
    padding: 28px 0 8px;
    border-top: 1px solid var(--mb-border);
}
.mb-contact-block:first-of-type { border-top: 0; padding-top: 0; }
.mb-contact-block-head {
    display: flex; align-items: baseline; gap: 12px;
    margin-bottom: 20px;
}
.mb-contact-step {
    font-size: 13px; font-weight: 800; letter-spacing: 0.08em;
    color: var(--mb-red);
}
.mb-contact-block-head h3 {
    margin: 0; font-size: 18px; font-weight: 700;
}
.mb-contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px;
}
.mb-contact-field { display: flex; flex-direction: column; gap: 8px; }
.mb-contact-field--full { grid-column: 1 / -1; }
.mb-contact-field > span,
.mb-contact-fieldset legend {
    font-size: 13px; font-weight: 600; color: var(--mb-gray);
}
.mb-contact-field em,
.mb-contact-fieldset legend em,
.mb-contact-privacy em {
    color: var(--mb-red); font-style: normal; font-size: 11px;
    font-weight: 700; margin-left: 4px;
}
.mb-contact-field input,
.mb-contact-field textarea,
.mb-contact-field select {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--mb-border); border-radius: 10px;
    background: #fff; font: inherit; color: var(--mb-black);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.mb-contact-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.mb-contact-field textarea { resize: vertical; min-height: 160px; line-height: 1.65; }
.mb-contact-block .mb-contact-grid {
    margin-top: 20px;
}
.mb-contact-field input:focus,
.mb-contact-field textarea:focus,
.mb-contact-field select:focus {
    outline: none; border-color: var(--mb-black);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}
.mb-contact-fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.mb-contact-fieldset legend { margin-bottom: 12px; }
.mb-contact-checks {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.mb-contact-check {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 16px; border: 1px solid var(--mb-border);
    border-radius: 10px; cursor: pointer; font-size: 14px;
    background: #fff; transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.mb-contact-check input { accent-color: var(--mb-red); }
.mb-contact-check:hover { border-color: #ccc; }
.mb-contact-check:has(input:checked) {
    border-color: var(--mb-red); background: rgba(210, 31, 38, 0.04);
    color: var(--mb-black); font-weight: 600;
}
.mb-contact-privacy-box {
    padding: 20px 22px;
    background: var(--mb-bg-soft);
    border-radius: var(--mb-radius);
    border: 1px solid var(--mb-border);
}
.mb-contact-privacy-box dl {
    margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px;
}
.mb-contact-privacy-box dl > div {
    display: grid; grid-template-columns: 88px 1fr; gap: 8px;
    font-size: 13px; line-height: 1.5;
}
.mb-contact-privacy-box dt { font-weight: 700; color: var(--mb-black); }
.mb-contact-privacy-box dd { margin: 0; color: var(--mb-gray); }
.mb-contact-privacy {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--mb-black); line-height: 1.5;
    padding-top: 14px; border-top: 1px solid var(--mb-border);
}
.mb-contact-privacy input { margin-top: 3px; accent-color: var(--mb-red); }
.mb-contact-actions { padding-top: 8px; }
.mb-contact-captcha {
    padding: 14px 16px;
    background: var(--mb-bg-soft);
    border: 1px solid var(--mb-border);
    border-radius: var(--mb-radius);
}
.mb-contact-captcha #captcha,
.mb-contact-captcha .captcha {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    position: relative !important;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    min-width: 0;
}
.mb-contact-captcha #captcha legend {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    margin: -1px !important; padding: 0 !important;
    overflow: hidden !important; clip: rect(0,0,0,0) !important;
    border: 0 !important; white-space: nowrap !important;
}
.mb-contact-captcha #captcha_img {
    display: block !important;
    height: 40px !important;
    width: auto !important;
    max-width: 140px;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--mb-border) !important;
    border-radius: 8px !important;
    background: #fff;
    order: 1;
    flex: 0 0 auto;
}
.mb-contact-captcha #captcha_key {
    display: block !important;
    width: 96px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    border: 1px solid var(--mb-border) !important;
    border-radius: 8px !important;
    font-family: var(--mb-font) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    background: #fff !important;
    box-sizing: border-box !important;
    order: 2;
    flex: 0 0 auto;
}
.mb-contact-captcha #captcha_key:focus {
    border-color: var(--mb-black) !important;
    box-shadow: 0 0 0 3px rgba(17,17,17,0.06) !important;
    outline: none !important;
}
.mb-contact-captcha #captcha_mp3,
.mb-contact-captcha #captcha_reload {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--mb-border) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    flex: 0 0 auto;
}
.mb-contact-captcha #captcha_mp3 { order: 3; }
.mb-contact-captcha #captcha_reload { order: 4; }
.mb-contact-captcha #captcha_mp3 span,
.mb-contact-captcha #captcha_reload span {
    display: none !important;
}
.mb-contact-captcha #captcha_mp3::after,
.mb-contact-captcha #captcha_reload::after {
    position: absolute !important;
    left: 0; right: 0; top: 0; bottom: 0;
    display: flex !important;
    align-items: center; justify-content: center;
    text-indent: 0 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    color: var(--mb-gray) !important;
    font-family: inherit !important;
    font-weight: 700 !important;
}
.mb-contact-captcha #captcha_mp3,
.mb-contact-captcha #captcha_reload {
    position: relative !important;
}
.mb-contact-captcha #captcha_mp3::after { content: "♪" !important; }
.mb-contact-captcha #captcha_reload::after { content: "↻" !important; }
.mb-contact-captcha #captcha_info {
    display: block !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    color: var(--mb-muted) !important;
    order: 5;
    flex: 1 0 100%;
}
.mb-icon {
    display: inline-block; width: 1.15em; height: 1.15em;
    vertical-align: -0.15em; flex-shrink: 0;
}
.mb-contact-submit {
    width: 100%;
    min-height: 58px;
    padding: 18px 28px;
    font-family: var(--mb-font) !important;
    font-size: 17px; font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 10px;
    gap: 10px;
}
.mb-contact-submit-icon {
    width: 22px; height: 22px;
    color: #fff;
}
.mb-contact-submit-icon path { fill: currentColor; }
.mb-contact-done {
    text-align: center; padding: 64px 32px;
    border: 1px solid var(--mb-border); border-radius: var(--mb-radius);
    background: linear-gradient(180deg, var(--mb-bg-soft), #fff);
    max-width: 560px; margin: 0 auto;
}
.mb-contact-done h2 { font-size: 28px; margin: 0 0 12px; }
.mb-contact-done p { color: var(--mb-gray); margin: 0 0 28px; }
.mb-contact-done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* CONTACT quick callback CTA (별도 박스) */
.mb-contact-quick {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 22px 20px;
    border: 1px solid var(--mb-border);
    border-radius: var(--mb-radius);
    background: #fff;
    transition: border-color var(--mb-transition), box-shadow var(--mb-transition);
}
.mb-contact-quick:hover {
    border-color: var(--mb-red);
    box-shadow: 0 0 0 1px var(--mb-red);
}
.mb-contact-quick-icons {
    display: inline-flex; align-items: center; gap: 8px;
}
.mb-contact-quick-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--mb-bg-soft); border: 1px solid var(--mb-border); color: var(--mb-red);
}
.mb-contact-quick-icon .mb-icon { width: 20px; height: 20px; }
.mb-contact-quick-copy { min-width: 0; }
.mb-contact-quick-title {
    margin: 0 0 6px; font-size: 22px; font-weight: 700;
    color: var(--mb-black); line-height: 1.3; letter-spacing: -0.02em;
}
.mb-contact-quick-desc {
    margin: 0; font-size: 14px; color: var(--mb-gray); line-height: 1.55;
}
.mb-contact-quick-open {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 46px; padding: 12px 16px; white-space: nowrap;
}
.mb-contact-quick-btn-icon { width: 18px; height: 18px; color: #fff; }

/* Floating callback panel */
body.mb-callback-open { overflow: hidden; }
.mb-callback {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: flex-end; justify-content: center;
}
.mb-callback[hidden] { display: none !important; }
.mb-callback-backdrop {
    position: absolute; inset: 0;
    background: rgba(17, 17, 17, 0.45);
}
.mb-callback-panel {
    position: relative; z-index: 1;
    width: min(480px, 100%);
    max-height: none;
    overflow: visible;
    margin: 0;
    padding: 28px;
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.14);
    animation: mb-callback-up 0.28s ease;
}
@keyframes mb-callback-up {
    from { transform: translateY(24px); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}
@media (min-width: 640px) {
    .mb-callback { align-items: center; padding: 24px; }
    .mb-callback-panel {
        border-radius: 16px;
        margin: 0;
        animation-name: mb-callback-pop;
    }
    @keyframes mb-callback-pop {
        from { transform: translateY(12px) scale(0.98); opacity: 0; }
        to { transform: none; opacity: 1; }
    }
}
.mb-callback-close {
    position: absolute; top: 12px; right: 12px;
    width: 36px; height: 36px; border: 0; border-radius: 50%;
    background: var(--mb-bg-soft); color: var(--mb-gray);
    font-size: 22px; line-height: 1; cursor: pointer;
}
.mb-callback-close:hover { color: var(--mb-black); }
.mb-callback-head { text-align: center; margin-bottom: 22px; padding-right: 20px; }
.mb-callback-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-bottom: 10px;
    border-radius: 12px; background: #fff5f5; color: var(--mb-red);
}
.mb-callback-icon .mb-icon { width: 22px; height: 22px; }
.mb-callback-icon--done { background: #fff5f5; color: var(--mb-red); }
.mb-callback-head .mb-contact-eyebrow { margin-bottom: 4px; }
.mb-callback-head h2 {
    margin: 4px 0 8px; font-size: 22px; font-weight: 700;
}
.mb-callback-head p { margin: 0; color: var(--mb-gray); font-size: 14px; line-height: 1.55; }
.mb-callback-form { display: flex; flex-direction: column; gap: 16px; }
.mb-callback-form .mb-contact-field { gap: 8px; }
.mb-callback-form .mb-contact-field > span { font-size: 13px; }
.mb-callback-form .mb-contact-field input {
    height: 48px;
    padding: 12px 14px;
    font-size: 15px;
}
.mb-callback-field-icon {
    width: 15px; height: 15px; margin-right: 2px; color: var(--mb-muted);
}
.mb-callback-math {
    display: flex; align-items: center; gap: 10px;
}
.mb-callback-math-q {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 88px; height: 48px; padding: 0 14px;
    border-radius: 8px; background: var(--mb-bg-soft);
    border: 1px solid var(--mb-border);
    font-weight: 700; font-size: 16px; color: var(--mb-black);
    white-space: nowrap;
}
.mb-callback-math-eq { color: var(--mb-muted); font-weight: 700; font-size: 16px; }
.mb-callback-math input {
    width: 88px !important; height: 48px !important; text-align: center;
    font-weight: 700; font-size: 16px !important;
}
.mb-callback-math-reload {
    width: 48px; height: 48px; border: 1px solid var(--mb-border);
    border-radius: 8px; background: #fff; color: var(--mb-gray);
    font-size: 18px; cursor: pointer;
}
.mb-callback-math-reload:hover { color: var(--mb-black); border-color: #ccc; }
.mb-callback-privacy {
    border-top: 0; padding: 4px 0 0; font-size: 14px; line-height: 1.5;
    gap: 10px;
}
.mb-callback-error {
    margin: 0; padding: 12px 14px; border-radius: 8px;
    background: #fef2f2; color: #991b1b; font-size: 13px; line-height: 1.45;
}
.mb-callback-submit {
    width: 100%; min-height: 52px; gap: 8px; margin-top: 4px;
}
.mb-callback-submit .mb-icon { width: 18px; height: 18px; color: #fff; }
.mb-callback-submit.is-loading { opacity: 0.7; pointer-events: none; }
.mb-callback-done {
    text-align: center;
    padding: 28px 12px 8px;
}
.mb-callback-done .mb-contact-eyebrow {
    letter-spacing: 0.18em;
    color: var(--mb-muted);
}
.mb-callback-done h2 {
    margin: 10px 0 14px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--mb-black);
}
.mb-callback-done-lead {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--mb-gray);
}
.mb-callback-done-btn {
    min-width: 160px;
    min-height: 48px;
    padding: 12px 28px;
}
@media (prefers-reduced-motion: reduce) {
    .mb-callback-panel { animation: none; }
}
@media (max-width: 560px) {
    .mb-callback-panel { padding: 24px 20px 22px; }
}
@media (max-width: 768px) {
    .mb-contact-quick { padding: 16px; }
}

@media (max-width: 960px) {
    .mb-contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .mb-contact-aside { position: static; }
}
@media (max-width: 768px) {
    .mb-contact-hero { padding: 48px 0 32px; }
    .mb-contact-grid { grid-template-columns: 1fr; }
    .mb-contact-privacy-box dl > div { grid-template-columns: 1fr; gap: 2px; }
    .mb-contact-body { padding-top: 32px; padding-bottom: 56px; }
}

.mb-logo-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 24px 40px; padding: 24px 0;
}
.mb-logo-strip span {
    font-size: 15px; font-weight: 600; color: var(--mb-gray);
    letter-spacing: 0.02em;
}

/* CTA band */
.mb-cta-band {
    padding: 72px 0; text-align: center;
    background: linear-gradient(180deg, var(--mb-bg) 0%, var(--mb-bg-soft) 100%);
}
.mb-cta-band .mb-section-heading__title {
    margin-bottom: 12px;
}
.mb-cta-band p { color: var(--mb-gray); margin-bottom: 28px; }

/* Sub page hero */
.mb-page-hero {
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--mb-border);
}
.mb-page-hero h1 {
    font-size: clamp(32px, 5vw, 48px); font-weight: 800;
    letter-spacing: 0.04em; margin-bottom: 12px;
}
.mb-page-hero p { font-size: 18px; color: var(--mb-gray); max-width: 560px; }
.mb-page-eyebrow {
    font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--mb-red); margin-bottom: 12px;
}
.mb-page-eyebrow a { color: inherit; text-decoration: none; }
.mb-page-eyebrow a:hover { opacity: 0.8; }
.mb-page-lead { font-size: clamp(18px, 2.5vw, 22px); color: var(--mb-gray); max-width: 480px; margin: 0; }
.mb-page-block { padding-top: 64px; padding-bottom: 64px; }
.mb-page-narrow { text-align: center; }
.mb-page-note { font-size: 15px; color: var(--mb-gray); }
.mb-page-note a { color: var(--mb-black); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--mb-border); }
.mb-page-note a:hover { color: var(--mb-red); border-color: var(--mb-red); }
.mb-page-body { padding: 48px 0 80px; }
.mb-coming {
    padding: 48px; border: 1px dashed var(--mb-border); border-radius: var(--mb-radius);
    text-align: center; color: var(--mb-gray);
}

/* Timeline */
.mb-timeline { list-style: none; border-left: 2px solid var(--mb-border); margin-left: 8px; }
.mb-timeline-item {
    position: relative; padding: 0 0 32px 28px;
    display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: start;
}
.mb-timeline-item:last-child { padding-bottom: 0; }
.mb-timeline-item::before {
    content: ''; position: absolute; left: -7px; top: 6px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--mb-red); border: 2px solid var(--mb-bg);
}
.mb-timeline-year { font-size: 20px; font-weight: 800; color: var(--mb-black); letter-spacing: 0.04em; }
.mb-timeline-text { font-size: 16px; color: var(--mb-gray); padding-top: 2px; }

/* Philosophy */
.mb-philosophy-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.mb-philosophy-card {
    padding: 32px 24px; border-radius: var(--mb-radius);
    border: 1px solid var(--mb-border); background: var(--mb-bg);
    text-align: center;
}
.mb-philosophy-card h3 {
    font-size: 22px; font-weight: 800; margin-bottom: 8px; letter-spacing: 0.06em;
}
.mb-philosophy-card p { font-size: 14px; color: var(--mb-gray); }

/* Process */
.mb-process-list { display: grid; gap: 16px; max-width: 720px; }
.mb-process-item {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 24px 28px; border-radius: var(--mb-radius);
    border: 1px solid var(--mb-border); background: var(--mb-bg);
}
.mb-process-num {
    font-size: 14px; font-weight: 800; color: var(--mb-red);
    letter-spacing: 0.08em; flex-shrink: 0; width: 32px;
}
.mb-process-item strong { display: block; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.mb-process-item p { font-size: 14px; color: var(--mb-gray); margin: 0; }

.mb-page-hero--compact {
    padding: 56px 0 40px;
}
.mb-page-hero--compact h1 {
    margin-bottom: 10px;
}

/* Service cards — 3열 그래픽 블롭 */
.mb-service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 20px;
    width: 100%;
    margin: 0;
    padding: 8px 0 80px;
    box-sizing: border-box;
}
.mb-service-blob {
    --mb-svc-accent: #d21f26;
    --mb-svc-line: #a8181e;
    --mb-svc-soft: #f7f7f9;
    --mb-svc-mid: #f3f1f2;
    --mb-svc-glow: rgba(210, 31, 38, 0.16);
    --mb-svc-glow-soft: rgba(210, 31, 38, 0.05);
    --mb-svc-icon-shadow: rgba(210, 31, 38, 0.12);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 28px 24px 26px;
    background: linear-gradient(165deg, #ffffff 0%, var(--mb-svc-soft) 72%, var(--mb-svc-mid) 100%);
    border-radius: 32px 12px 28px 16px;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.05);
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.mb-service-blob--rose {
    --mb-svc-accent: #d21f26;
    --mb-svc-line: #a8181e;
    --mb-svc-soft: #faf4f4;
    --mb-svc-mid: #f4e8e8;
    --mb-svc-glow: rgba(210, 31, 38, 0.18);
    --mb-svc-glow-soft: rgba(210, 31, 38, 0.06);
    --mb-svc-icon-shadow: rgba(210, 31, 38, 0.14);
}
.mb-service-blob--coral {
    --mb-svc-accent: #e05a3c;
    --mb-svc-line: #b8452e;
    --mb-svc-soft: #fff5f1;
    --mb-svc-mid: #fbe8e1;
    --mb-svc-glow: rgba(224, 90, 60, 0.18);
    --mb-svc-glow-soft: rgba(224, 90, 60, 0.07);
    --mb-svc-icon-shadow: rgba(224, 90, 60, 0.14);
}
.mb-service-blob--amber {
    --mb-svc-accent: #c47a12;
    --mb-svc-line: #9a5f0e;
    --mb-svc-soft: #fff8ec;
    --mb-svc-mid: #f7ecd8;
    --mb-svc-glow: rgba(196, 122, 18, 0.18);
    --mb-svc-glow-soft: rgba(196, 122, 18, 0.07);
    --mb-svc-icon-shadow: rgba(196, 122, 18, 0.14);
}
.mb-service-blob--gold {
    --mb-svc-accent: #b08900;
    --mb-svc-line: #8a6b00;
    --mb-svc-soft: #fffbeb;
    --mb-svc-mid: #f5edd4;
    --mb-svc-glow: rgba(176, 137, 0, 0.18);
    --mb-svc-glow-soft: rgba(176, 137, 0, 0.07);
    --mb-svc-icon-shadow: rgba(176, 137, 0, 0.14);
}
.mb-service-blob--mango {
    --mb-svc-accent: #d97706;
    --mb-svc-line: #a85c05;
    --mb-svc-soft: #fff7ed;
    --mb-svc-mid: #f6e6d2;
    --mb-svc-glow: rgba(217, 119, 6, 0.18);
    --mb-svc-glow-soft: rgba(217, 119, 6, 0.07);
    --mb-svc-icon-shadow: rgba(217, 119, 6, 0.14);
}
.mb-service-blob--olive {
    --mb-svc-accent: #6b7c3a;
    --mb-svc-line: #51602c;
    --mb-svc-soft: #f6f7ef;
    --mb-svc-mid: #e8ebd9;
    --mb-svc-glow: rgba(107, 124, 58, 0.18);
    --mb-svc-glow-soft: rgba(107, 124, 58, 0.07);
    --mb-svc-icon-shadow: rgba(107, 124, 58, 0.14);
}
.mb-service-blob--forest {
    --mb-svc-accent: #2f6b4f;
    --mb-svc-line: #23533c;
    --mb-svc-soft: #f0f7f3;
    --mb-svc-mid: #dcebe3;
    --mb-svc-glow: rgba(47, 107, 79, 0.18);
    --mb-svc-glow-soft: rgba(47, 107, 79, 0.07);
    --mb-svc-icon-shadow: rgba(47, 107, 79, 0.14);
}
.mb-service-blob--teal {
    --mb-svc-accent: #0f766e;
    --mb-svc-line: #0b5a54;
    --mb-svc-soft: #f0fafa;
    --mb-svc-mid: #d9ecec;
    --mb-svc-glow: rgba(15, 118, 110, 0.18);
    --mb-svc-glow-soft: rgba(15, 118, 110, 0.07);
    --mb-svc-icon-shadow: rgba(15, 118, 110, 0.14);
}
.mb-service-blob--cyan {
    --mb-svc-accent: #0e7490;
    --mb-svc-line: #0a586e;
    --mb-svc-soft: #f0f9fb;
    --mb-svc-mid: #d8e9ef;
    --mb-svc-glow: rgba(14, 116, 144, 0.18);
    --mb-svc-glow-soft: rgba(14, 116, 144, 0.07);
    --mb-svc-icon-shadow: rgba(14, 116, 144, 0.14);
}
.mb-service-blob--sky {
    --mb-svc-accent: #2563eb;
    --mb-svc-line: #1d4ed8;
    --mb-svc-soft: #f3f7ff;
    --mb-svc-mid: #dde7f8;
    --mb-svc-glow: rgba(37, 99, 235, 0.16);
    --mb-svc-glow-soft: rgba(37, 99, 235, 0.07);
    --mb-svc-icon-shadow: rgba(37, 99, 235, 0.14);
}
.mb-service-blob--indigo {
    --mb-svc-accent: #4f46e5;
    --mb-svc-line: #3730a3;
    --mb-svc-soft: #f4f3ff;
    --mb-svc-mid: #e2e0f6;
    --mb-svc-glow: rgba(79, 70, 229, 0.16);
    --mb-svc-glow-soft: rgba(79, 70, 229, 0.07);
    --mb-svc-icon-shadow: rgba(79, 70, 229, 0.14);
}
.mb-service-blob--violet {
    --mb-svc-accent: #7c3aed;
    --mb-svc-line: #5b21b6;
    --mb-svc-soft: #f7f2ff;
    --mb-svc-mid: #e8dff8;
    --mb-svc-glow: rgba(124, 58, 237, 0.16);
    --mb-svc-glow-soft: rgba(124, 58, 237, 0.07);
    --mb-svc-icon-shadow: rgba(124, 58, 237, 0.14);
}
.mb-service-blob--plum {
    --mb-svc-accent: #9d174d;
    --mb-svc-line: #7a123c;
    --mb-svc-soft: #fbf2f6;
    --mb-svc-mid: #f0dde7;
    --mb-svc-glow: rgba(157, 23, 77, 0.16);
    --mb-svc-glow-soft: rgba(157, 23, 77, 0.07);
    --mb-svc-icon-shadow: rgba(157, 23, 77, 0.14);
}
.mb-service-blob--berry {
    --mb-svc-accent: #be185d;
    --mb-svc-line: #9d134c;
    --mb-svc-soft: #fdf2f8;
    --mb-svc-mid: #f3dce8;
    --mb-svc-glow: rgba(190, 24, 93, 0.16);
    --mb-svc-glow-soft: rgba(190, 24, 93, 0.07);
    --mb-svc-icon-shadow: rgba(190, 24, 93, 0.14);
}
.mb-service-blob--navy {
    --mb-svc-accent: #1e3a5f;
    --mb-svc-line: #152a45;
    --mb-svc-soft: #f3f6fa;
    --mb-svc-mid: #dde4ee;
    --mb-svc-glow: rgba(30, 58, 95, 0.16);
    --mb-svc-glow-soft: rgba(30, 58, 95, 0.07);
    --mb-svc-icon-shadow: rgba(30, 58, 95, 0.14);
}
.mb-service-blob--slate {
    --mb-svc-accent: #475569;
    --mb-svc-line: #334155;
    --mb-svc-soft: #f5f7f9;
    --mb-svc-mid: #e4e9ef;
    --mb-svc-glow: rgba(71, 85, 105, 0.16);
    --mb-svc-glow-soft: rgba(71, 85, 105, 0.07);
    --mb-svc-icon-shadow: rgba(71, 85, 105, 0.14);
}
.mb-service-blob--steel {
    --mb-svc-accent: #334155;
    --mb-svc-line: #1e293b;
    --mb-svc-soft: #f4f6f8;
    --mb-svc-mid: #e2e7ed;
    --mb-svc-glow: rgba(51, 65, 85, 0.16);
    --mb-svc-glow-soft: rgba(51, 65, 85, 0.07);
    --mb-svc-icon-shadow: rgba(51, 65, 85, 0.14);
}
.mb-service-blob:nth-child(3n+2) {
    border-radius: 14px 30px 16px 28px;
}
.mb-service-blob:nth-child(3n) {
    border-radius: 24px 20px 32px 10px;
}
.mb-service-blob::before {
    content: '';
    position: absolute;
    z-index: 0;
    width: 168px;
    height: 168px;
    right: -52px;
    top: -64px;
    border-radius: 46% 54% 42% 58% / 52% 38% 62% 48%;
    background: radial-gradient(circle at 35% 40%, var(--mb-svc-glow), transparent 72%);
    animation: mb-service-blob 9s ease-in-out infinite;
    pointer-events: none;
}
.mb-service-blob:nth-child(3n+2)::before {
    right: auto;
    left: -60px;
    top: -40px;
    animation-delay: -3s;
}
.mb-service-blob:nth-child(3n)::before {
    top: auto;
    bottom: -72px;
    right: -40px;
    animation-delay: -6s;
}
.mb-service-blob::after {
    content: '';
    position: absolute;
    z-index: 0;
    width: 72px;
    height: 72px;
    left: 18px;
    bottom: 18px;
    border-radius: 58% 42% 48% 52%;
    background: var(--mb-svc-glow-soft);
    pointer-events: none;
}
.mb-service-blob:hover {
    transform: translateY(-8px) rotate(-0.4deg);
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}
.mb-service-blob:nth-child(3n+2):hover {
    transform: translateY(-8px) rotate(0.35deg);
}

/* 호버 라인 — 왼쪽에서 시계방향 draw */
@property --mb-svc-draw {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}
.mb-service-blob__draw {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    padding: 1px;
    pointer-events: none;
    background: conic-gradient(from 270deg, var(--mb-svc-line) var(--mb-svc-draw), transparent 0);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition:
        --mb-svc-draw 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.12s ease;
}
.mb-service-blob:hover .mb-service-blob__draw {
    --mb-svc-draw: 100%;
    opacity: 1;
}
.mb-service-blob:not(:hover) .mb-service-blob__draw {
    transition:
        --mb-svc-draw 0.45s cubic-bezier(0.4, 0, 1, 1),
        opacity 0.2s ease 0.15s;
}
.mb-service-blob__num {
    position: absolute;
    z-index: 0;
    right: 16px;
    bottom: 8px;
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    color: rgba(17, 17, 17, 0.05);
    pointer-events: none;
}
.mb-service-blob__icon,
.mb-service-blob__sub,
.mb-service-blob__title,
.mb-service-blob__desc,
.mb-service-blob__tags {
    position: relative;
    z-index: 1;
}
.mb-service-blob__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 0 18px;
    color: var(--mb-svc-accent);
    background: #fff;
    border-radius: 42% 58% 50% 50% / 38% 46% 54% 62%;
    box-shadow: 0 10px 22px var(--mb-svc-icon-shadow);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.45s ease;
}
.mb-service-blob__icon svg {
    display: block;
    width: 26px;
    height: 26px;
}
.mb-service-blob:hover .mb-service-blob__icon {
    transform: translateY(-3px) rotate(-8deg);
    border-radius: 50% 42% 58% 46% / 52% 38% 62% 48%;
}
.mb-service-blob__sub {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mb-svc-accent);
}
.mb-service-blob__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.28;
    color: var(--mb-black);
    word-break: keep-all;
}
.mb-service-blob__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--mb-gray);
    word-break: keep-all;
}
.mb-service-blob__tags {
    margin: 14px 0 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.55;
    color: var(--mb-muted);
    word-break: keep-all;
}
@keyframes mb-service-blob {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(14deg) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
    .mb-service-blob::before { animation: none; }
    .mb-service-blob:hover,
    .mb-service-blob:nth-child(3n+2):hover {
        transform: none;
    }
    .mb-service-blob__draw {
        transition: none;
    }
    .mb-service-blob:hover .mb-service-blob__draw {
        --mb-svc-draw: 100%;
        opacity: 1;
    }
}

/* Legacy service blocks (unused) */
.mb-service-block { padding: 72px 0; max-width: 900px; }
.mb-service-block-sub {
    font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--mb-muted); margin-bottom: 8px;
}
.mb-service-block h2 {
    font-size: clamp(28px, 4vw, 40px); font-weight: 800;
    letter-spacing: 0.03em; margin-bottom: 12px;
}
.mb-service-block-desc { font-size: 18px; color: var(--mb-gray); max-width: 520px; }
.mb-tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.mb-tag {
    display: inline-block; padding: 8px 14px; border-radius: var(--mb-radius-pill);
    border: 1px solid var(--mb-border); font-size: 13px; color: var(--mb-gray);
    background: var(--mb-bg);
}

/* HOME — Clients reel (한 줄씩 상승) */
.mb-clients {
    overflow: hidden;
    padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 96px);
}
.mb-clients[data-animate] {
    transform: none;
}
.mb-clients__inner { padding-bottom: 0; }
.mb-clients__reel {
    --mb-clients-col-gap: clamp(16px, 2.2vw, 28px);
    --mb-clients-row-gap: clamp(12px, 1.8vw, 20px);
    margin-top: 8px;
}
.mb-clients__viewport {
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.mb-clients__track {
    will-change: transform;
}
.mb-clients__stack {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--mb-clients-col-gap);
    row-gap: var(--mb-clients-row-gap);
    align-items: center;
}
.mb-clients__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 88px;
    text-decoration: none;
}
.mb-clients__item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 64px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(1);
    opacity: 0.58;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.mb-clients__item:hover img,
.mb-clients__item:focus-visible img {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
}
.mb-clients__reel.is-static .mb-clients__viewport {
    height: auto !important;
    mask-image: none;
}
.mb-clients__reel.is-static .mb-clients__track {
    transform: none !important;
    transition: none !important;
}
.mb-clients__reel.is-static .mb-clients__stack--clone { display: none; }
@media (prefers-reduced-motion: reduce) {
    .mb-clients__viewport { mask-image: none; }
    .mb-clients__track { transform: none !important; transition: none !important; }
    .mb-clients__stack--clone { display: none; }
}
@media (max-width: 1200px) {
    .mb-clients__stack { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .mb-clients__item { height: 68px; }
    .mb-clients__item img { height: 48px; }
    .mb-clients__stack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Keyword marquee */
.mb-marquee-section { padding: 32px 0 48px; overflow: hidden; }
.mb-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mb-marquee-track {
    display: inline-block; white-space: nowrap;
    font-size: 15px; font-weight: 600; color: var(--mb-muted);
    letter-spacing: 0.06em;
    animation: mb-marquee 40s linear infinite;
}
@keyframes mb-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .mb-marquee-track { animation: none; white-space: normal; text-align: center; padding: 0 var(--mb-gutter); }
}

@media (max-width: 1024px) {
    .mb-philosophy-grid { grid-template-columns: repeat(2, 1fr); }
    .mb-timeline-item { grid-template-columns: 64px 1fr; }
    .mb-service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .mb-philosophy-grid { grid-template-columns: 1fr; }
    .mb-timeline-item { grid-template-columns: 1fr; gap: 4px; }
    .mb-service-block { padding: 48px 0; }
    .mb-service-cards {
        grid-template-columns: 1fr;
        padding: 8px 0 56px;
        gap: 16px;
    }
    .mb-service-blob,
    .mb-service-blob:nth-child(3n+2),
    .mb-service-blob:nth-child(3n) {
        border-radius: 24px 14px 24px 14px;
    }
    .mb-page-hero--compact { padding: 40px 0 28px; }
}

/* Footer */
.mb-public-footer {
    border-top: 1px solid var(--mb-border);
    padding: 40px 0 32px; margin-top: auto;
    color: var(--mb-gray); font-size: 13px;
}
.mb-public-footer-inner {
    display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
    gap: 24px; padding: 0 var(--mb-gutter);
}
.mb-footer-info p { margin: 0 0 6px; line-height: 1.7; }
.mb-footer-brand { font-weight: 700; color: var(--mb-black); letter-spacing: 0.04em; }
.mb-footer-links { margin-top: 12px; }
.mb-footer-links a { color: var(--mb-gray); text-decoration: none; margin-right: 16px; }
.mb-footer-links a:hover { color: var(--mb-red); }
.mb-footer-social { display: flex; gap: 12px; }
.mb-sns-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--mb-border); color: var(--mb-muted);
    background: var(--mb-bg-soft); cursor: default;
}
.mb-sns-icon svg { width: 18px; height: 18px; fill: currentColor; }

/* Kakao FAB */
.mb-kakao-fab {
    position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 300; display: inline-flex; align-items: center; gap: 8px;
    min-height: 52px; padding: 0 20px 0 16px;
    background: #fae100; color: #3c1e1e;
    border-radius: var(--mb-radius-pill); text-decoration: none;
    font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform var(--mb-transition), box-shadow var(--mb-transition);
}
.mb-kakao-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16); }
.mb-kakao-fab-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: #3c1e1e; color: #fae100;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
}

/* Motion */
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate-delay="1"] { transition-delay: 0.08s; }
[data-animate-delay="2"] { transition-delay: 0.16s; }
[data-animate-delay="3"] { transition-delay: 0.24s; }

/* Hero — 순차 fade-up (120ms stagger) */
.mb-hero [data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.mb-hero [data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}
.mb-hero [data-animate-delay="1"],
.mb-hero [data-animate-delay="2"] { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
    .mb-hero [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@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;
    }
    [data-animate] { opacity: 1; transform: none; }
}

/* Sub pages (board etc) */
body.mb-sub .mb-main { padding: 24px var(--mb-gutter) 48px; max-width: 1280px; margin: 0 auto; float: none; }
body.mb-works.mb-sub .mb-main,
body.mb-works-board.mb-sub .mb-main {
    padding: 0;
    max-width: none;
    margin: 0;
}

/* Works 인트라 글쓰기 — 본문 1600px */
body.mb-works.mb-board-write .mb-main,
body.mb-works-board.mb-board-write .mb-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px clamp(20px, 2.5vw, 48px) 64px;
}

/* Public site boards — INSIGHT·WORKS와 동일한 풀폭 레이아웃 */
body.mb-public-board .mb-main { padding: 0; max-width: none; margin: 0; float: none; }

/* 글쓰기/수정 — 순정 폼 폭 유지 (풀폭 오버라이드 방지) */
body.mb-board-write .mb-main,
body.mb-sub.mb-board-write .mb-main {
    padding: 32px var(--mb-gutter) 64px;
    max-width: 1280px;
    margin: 0 auto;
    float: none;
}

/* WORKS — tabs · cards · badges */
.mb-works-tabs {
    display: flex; gap: 8px; margin-bottom: 40px;
    border-bottom: 1px solid var(--mb-border); padding-bottom: 0;
}
.mb-works-tabs a {
    display: inline-flex; align-items: center; padding: 12px 20px;
    text-decoration: none; color: var(--mb-gray); font-weight: 600;
    font-size: 14px; letter-spacing: 0.06em;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: color var(--mb-transition), border-color var(--mb-transition);
}
.mb-works-tabs a:hover { color: var(--mb-black); }
.mb-works-tabs a.is-active { color: var(--mb-red); border-bottom-color: var(--mb-red); }

.mb-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.mb-works-grid--cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* WORKS 허브 카드 — 스크롤 전에도 목록·배지가 보이도록 */
.mb-works-grid .mb-works-card[data-animate] {
    opacity: 1;
    transform: none;
}
.mb-works-card {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    border: 1px solid var(--mb-border); border-radius: var(--mb-radius);
    overflow: hidden; background: var(--mb-bg);
    transition: transform var(--mb-transition), box-shadow var(--mb-transition);
}
.mb-works-card:hover { transform: translateY(-4px); box-shadow: var(--mb-shadow); }
.mb-works-card-thumb {
    aspect-ratio: 16 / 9; background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    background-size: cover; background-position: center; position: relative;
}
.mb-works-card-thumb.is-placeholder { background: linear-gradient(135deg, #f7f7f8 0%, #eee 100%); }
.mb-works-card-lock {
    position: absolute; top: 12px; right: 12px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    padding: 4px 8px; border-radius: 4px; background: rgba(0,0,0,.6); color: #fff;
}

/* 동영상 썸네일 플레이 버튼 */
.mb-thumb-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    background: rgba(210, 31, 38, 0.92);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    pointer-events: none;
    transition: transform .2s ease, background-color .2s ease;
}
.mb-thumb-play::before {
    content: "";
    position: absolute;
    left: 52%;
    top: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent #fff;
}
.mb-works-card:hover .mb-thumb-play,
.mb-insight-item:hover .mb-thumb-play {
    transform: scale(1.06);
    background: rgba(210, 31, 38, 1);
}
.mb-works-card-thumb.is-video::after,
.mb-insight-thumb.is-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.28) 100%);
    pointer-events: none;
}
.mb-works-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mb-works-card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.mb-works-card-body strong { font-size: 18px; font-weight: 700; line-height: 1.3; }
.mb-works-card-client { font-size: 13px; color: var(--mb-muted); }
.mb-works-card-body p { font-size: 14px; color: var(--mb-gray); margin: 0; flex: 1; }
.mb-works-card-period { font-size: 12px; color: var(--mb-muted); margin-top: 8px; }

.mb-badge {
    display: inline-block; padding: 3px 8px; border-radius: 4px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
}
.mb-badge--ongoing { background: #e6f4f8; color: #0d6e8a; }
.mb-badge--private { background: #f0f0f0; color: #666; }
.mb-badge--renewal { background: #f3ecfa; color: #6b21a8; }
.mb-badge--portfolio { background: #eef2ff; color: #3730a3; }
.mb-badge--solution { background: #fde8e9; color: var(--mb-red); }
.mb-badge--default { background: var(--mb-bg-soft); color: var(--mb-gray); }
.mb-insight-item .mb-badge--default,
.mb-insight-meta .mb-badge--default {
    background: #fff4d6;
    color: #9a7200;
}

.mb-works-detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mb-works-detail .mb-page-hero { padding-bottom: 40px; }
.mb-works-detail-section { padding-top: 40px; }
.mb-works-detail-stack {
    max-width: 1280px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 0;
}

/* 순정 유틸·액션 버튼 */
.mb-works-view-utils {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; flex-wrap: wrap;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid var(--mb-border);
    font-size: 13px;
}
.mb-works-view-utils a {
    color: var(--mb-gray); text-decoration: none; margin-right: 12px;
}
.mb-works-view-utils a:hover { color: var(--mb-red); }
.mb-works-view-utils-right a { margin-right: 0; margin-left: 12px; }
.mb-works-view-btns {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap; margin-bottom: 40px;
}
.mb-works-view-btns ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.mb-works-view-btns-right { margin-left: auto; justify-content: flex-end; }
.mb-works-view-client {
    margin-top: 12px;
    font-size: clamp(16px, 2vw, 18px);
    color: var(--mb-gray);
    font-weight: 500;
}
.mb-works-view-btns--bottom {
    margin-top: 48px;
    margin-bottom: 0;
}
.mb-works-view-utils--bottom + .mb-works-view-btns--bottom {
    margin-top: 16px;
}

.mb-works-detail-summary {
    font-size: clamp(18px, 2.5vw, 22px); font-weight: 500;
    color: var(--mb-gray); margin: 0 0 28px; line-height: 1.6;
}

/* 본문·첨부 이미지: 게시판 bo_image_width 준수, 강제 확대/테두리 없음 */
.mb-works-detail-files { margin-bottom: 24px; }
.mb-works-detail-files #bo_v_img { margin: 0; }
.mb-works-detail-content { font-size: 16px; line-height: 1.85; color: var(--mb-black); }
.mb-works-detail-content p { margin: 0 0 1.25em; }
.mb-works-detail-content p:last-child { margin-bottom: 0; }
.mb-works-detail-content img,
.mb-works-detail-files img {
    max-width: 100%;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin: 12px 0;
    vertical-align: middle;
}
.mb-works-detail-content h2,
.mb-works-detail-content h3 {
    font-size: 20px; font-weight: 700; margin: 40px 0 16px;
}
.mb-works-detail-actions {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: flex-end; align-items: center;
    margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--mb-border);
}
.mb-coming--private { padding: 56px 32px; }
.mb-coming--private .mb-coming-title {
    font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--mb-muted); margin-bottom: 12px;
}
.mb-coming--private p { margin: 0; line-height: 1.7; }
.mb-coming-actions { margin-top: 24px; }
.mb-btn--ghost {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 20px; border-radius: var(--mb-radius-pill);
    border: 1px solid var(--mb-border); background: transparent;
    color: var(--mb-gray); text-decoration: none; font-size: 14px; font-weight: 600;
}
.mb-btn--ghost:hover { color: var(--mb-black); border-color: var(--mb-black); }

@media (max-width: 1024px) {
    .mb-works-grid--cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mb-works-grid--cards { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    :root { --mb-gutter: var(--mb-gutter-md); }
    .mb-service-grid,
    .mb-works-grid,
    .mb-insight-list { grid-template-columns: repeat(2, 1fr); }
    .mb-logo-grid,
    .mb-logo-grid--compact { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    :root { --mb-gutter: var(--mb-gutter-sm); --mb-header-h: 64px; }
    .mb-public-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--mb-border);
        padding: 12px var(--mb-gutter) 20px;
    }
    .mb-public-nav.is-open { display: flex; }
    .mb-public-nav a { padding: 12px 0; border-bottom: 1px solid var(--mb-border); }
    .mb-nav-toggle { display: block; }
    .mb-public-header-inner { position: relative; flex-wrap: wrap; }
    .mb-header-right { margin-left: auto; }
    .mb-service-grid,
    .mb-works-grid,
    .mb-insight-list { grid-template-columns: 1fr; }
    .mb-logo-grid,
    .mb-logo-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .mb-hero:not(.mb-hero--dual) { padding: clamp(88px, 13vh, 108px) 0 clamp(64px, 9vh, 80px); }
    .mb-kakao-fab span:not(.mb-kakao-fab-icon) { display: none; }
    .mb-kakao-fab { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
}
