@charset "utf-8";
/* ==========================================================
   DEV STUDIO 포트폴리오 - 공통 스타일
   화이트/차콜 바탕 + 블루 포인트
   ========================================================== */
:root {
    --brand: #0b5cff;
    --brand-dark: #0847c9;
    --brand-soft: #eaf1ff;
    --ink: #111827;
    --ink-2: #374151;
    --muted: #6b7280;
    --line: #e6e9ef;
    --bg-soft: #f4f6fa;
    --navy: #182132;
    --radius: 10px;
    --font-kr: "Noto Sans KR", "Malgun Gothic", "맑은 고딕", sans-serif;
    --font-en: "Poppins", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: var(--font-kr);
    color: var(--ink);
    background: #fff;
    font-size: 15px;
    line-height: 1.65;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-en); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
a:focus-visible, button:focus-visible, .form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible {
    outline: 3px solid rgba(11, 92, 255, .45);
    outline-offset: 2px;
    box-shadow: none;
}
.container { max-width: 1180px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 버튼 ---------- */
.btn { font-family: var(--font-en); font-weight: 600; border-radius: 999px; padding: 12px 28px; font-size: 14px; }
.btn-brand { background: var(--brand); border: 1px solid var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(11, 92, 255, .22); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-line { background: #fff; border: 1px solid #cfd6e2; color: var(--ink); }
.btn-line:hover, .btn-line:focus { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-line-brand { background: transparent; border: 1px solid var(--brand); color: var(--brand); }
.btn-line-brand:hover, .btn-line-brand:focus { background: var(--brand); color: #fff; }
.btn-white { background: #fff; border: 1px solid #fff; color: var(--ink); }
.btn-white:hover, .btn-white:focus { background: #eef2f8; color: var(--ink); }
.btn-sm-pill { padding: 9px 20px; font-size: 13px; }
.btn .bi { margin-left: 4px; }

/* ---------- 헤더 ---------- */
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(17, 24, 39, .06); }
.site-header .navbar { padding: 14px 0; }
.logo { font-family: var(--font-en); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo span { color: var(--brand); }
.site-header .nav-link { font-family: var(--font-en); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; color: var(--ink-2); padding: 8px 18px !important; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); }
.navbar-toggler { border: 0; font-size: 28px; color: var(--ink); padding: 0 4px; line-height: 1; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-title { font-size: 28px; margin: 0 0 4px; }
.section-desc { color: var(--muted); margin: 0; font-size: 14px; }
.more-link { font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.eyebrow { font-family: var(--font-en); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; color: #6b7c99; text-transform: uppercase; margin-bottom: 18px; }

/* ---------- 히어로 ---------- */
.hero { background: linear-gradient(180deg, #f6f8fb 0%, #eceff5 100%); padding: 56px 0 64px; overflow: hidden; }
.hero-title { font-size: clamp(32px, 4.3vw, 52px); line-height: 1.12; margin: 0 0 22px; }
.hero-title em { font-style: normal; color: var(--brand); display: block; }
.hero-sub { font-family: var(--font-kr); font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; margin: 0 0 14px; letter-spacing: -0.03em; }
.hero-desc { color: var(--muted); max-width: 440px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual img { width: 100%; display: block; filter: drop-shadow(0 24px 40px rgba(17, 24, 39, .14)); }

/* ---------- 프로젝트 카드 ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17, 24, 39, .09); border-color: #d5dbe6; }
.work-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.work-card:hover .work-thumb img { transform: scale(1.04); }
.badge-sample { position: absolute; left: 10px; top: 10px; background: rgba(17, 24, 39, .78); color: #fff; font-family: var(--font-en); font-size: 10px; font-weight: 600; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; }
.work-body { padding: 16px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.work-cat { font-family: var(--font-en); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; color: #6b8ad6; text-transform: uppercase; margin-bottom: 6px; }
.work-title { font-family: var(--font-kr); font-size: 16px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.03em; }
.work-title a { color: var(--ink); }
.work-title a:hover { color: var(--brand); }
.work-summary { font-size: 13px; color: var(--muted); margin: 0 0 12px; line-height: 1.55; }
.tag-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { font-family: var(--font-en); font-size: 11px; color: #4b5563; background: #f1f3f7; border-radius: 4px; padding: 2px 8px; }
.tag-list.tag-brand li { background: var(--brand-soft); color: var(--brand); font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.work-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.work-year { font-family: var(--font-en); font-size: 12.5px; color: var(--muted); }
.work-arrow { width: 32px; height: 32px; border: 1px solid #d5dbe6; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); font-size: 14px; transition: all .2s; }
.work-arrow:hover, .work-card:hover .work-arrow { background: var(--brand); border-color: var(--brand); color: #fff; }
.sample-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }
.empty-box { border: 1px dashed #cfd6e2; border-radius: var(--radius); padding: 56px 20px; text-align: center; color: var(--muted); }

/* ---------- What I Do ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; background: #fff; height: 100%; }
.icon-circle { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.service-card h3 { font-size: 16px; margin: 0 0 6px; }
.service-card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- About + Skills (메인) ---------- */
.about-skills { border-top: 1px solid var(--line); }
.about-panel { position: relative; background: linear-gradient(120deg, #f6f8fb 0%, #e9eef7 100%); padding: 56px 48px 56px 0; height: 100%; overflow: hidden; }
.about-panel::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 100vw; background: #f6f8fb; }
.about-panel::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(11, 92, 255, .14), rgba(11, 92, 255, 0) 70%); }
.about-panel > * { position: relative; z-index: 1; }
.about-label { font-family: var(--font-en); font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.about-headline { font-family: var(--font-kr); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; margin: 0 0 16px; letter-spacing: -0.04em; max-width: 12em; }
.about-text { color: var(--muted); font-size: 14px; max-width: 400px; margin-bottom: 26px; }
.skills-panel { padding: 56px 0 56px 48px; }
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 10px; margin-top: 22px; }
.skill-item { text-align: center; font-family: var(--font-en); font-size: 12.5px; color: var(--ink-2); display: block; }
.skill-item i { display: flex; width: 52px; height: 52px; margin: 0 auto 8px; align-items: center; justify-content: center; font-size: 24px; color: var(--brand); background: #f3f6fc; border-radius: 12px; transition: all .2s; }
a.skill-item:hover { color: var(--brand); }
a.skill-item:hover i { background: var(--brand); color: #fff; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(100deg, #141c2b 0%, #1f2a40 100%); color: #fff; padding: 40px 0; }
.cta-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 26px; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #cdd5e3; font-size: 15px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 푸터 ---------- */
.site-footer { padding: 26px 0; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-brand .logo { font-size: 18px; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 0; }
.footer-nav a { font-family: var(--font-en); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-2); }
.footer-nav a:hover { color: var(--brand); }
.footer-info { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.footer-info a { color: var(--ink-2); }

/* ---------- 서브 페이지 공통 ---------- */
.page-head { background: linear-gradient(180deg, #f6f8fb 0%, #eef1f6 100%); padding: 56px 0 48px; text-align: center; }
.page-head h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; }
.page-head p { color: var(--muted); margin: 0; }

/* 필터 */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.filter-tabs a { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--ink-2); padding: 7px 18px; border-radius: 999px; border: 1px solid transparent; }
.filter-tabs a:hover { border-color: #cfd6e2; }
.filter-tabs a.active { background: var(--brand); color: #fff; }
.filter-note { text-align: center; font-size: 13.5px; color: var(--muted); margin: -16px 0 28px; }
.pagination { margin-top: 44px; gap: 6px; }
.pagination .page-link { border-radius: 50% !important; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--ink-2); border-color: var(--line); font-family: var(--font-en); font-size: 13.5px; }
.pagination .active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 포트폴리오 상세 ---------- */
.detail-head { background: linear-gradient(180deg, #f6f8fb 0%, #eceff5 100%); padding: 40px 0 48px; }
.crumb { font-family: var(--font-en); font-size: 11.5px; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; text-transform: uppercase; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.detail-title { font-family: var(--font-kr); font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.04em; margin: 0 0 10px; }
.detail-summary { color: var(--ink-2); font-size: 16px; margin: 0 0 18px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 13.5px; margin: 16px 0 24px; padding: 0; list-style: none; }
.detail-meta i { margin-right: 6px; color: #94a3b8; }
.detail-visual { position: relative; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 20px 44px rgba(17, 24, 39, .13); aspect-ratio: 16 / 10; }
.detail-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-nav { position: sticky; top: 96px; list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.side-nav a { display: block; padding: 7px 0 7px 18px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 13.5px; }
.side-nav a:hover, .side-nav a.active { color: var(--brand); border-left-color: var(--brand); font-weight: 500; }
.detail-block { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.detail-block:last-child { border-bottom: 0; margin-bottom: 0; }
.detail-block h2 { font-size: 21px; margin: 0 0 16px; }
.detail-block h3 { font-family: var(--font-kr); font-size: 15px; margin: 22px 0 8px; }
.detail-block p { color: var(--ink-2); margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.check-list li { position: relative; padding-left: 26px; color: var(--ink-2); }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--brand); }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shot-grid.mobile { grid-template-columns: repeat(4, 1fr); }
.shot-btn { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; padding: 0; background: var(--bg-soft); cursor: zoom-in; display: block; width: 100%; }
.shot-btn img { width: 100%; display: block; }
#shotModal .modal-content { background: transparent; border: 0; }
#shotModal img { width: 100%; border-radius: 8px; background: #fff; }
.shot-close { position: absolute; right: 10px; top: 10px; background-color: #fff; opacity: 1; border-radius: 50%; padding: 10px; z-index: 2; }
.detail-actions { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- ABOUT ---------- */
.lead-headline { font-family: var(--font-kr); font-size: clamp(24px, 3.2vw, 34px); line-height: 1.35; letter-spacing: -0.04em; margin: 0 0 18px; }
.lead-text { color: var(--ink-2); font-size: 15.5px; }
.code-window { background: #141c2b; border-radius: 12px; box-shadow: 0 24px 48px rgba(17, 24, 39, .2); overflow: hidden; font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.8; }
.code-window .bar { display: flex; gap: 6px; padding: 12px 16px; background: #1c2538; }
.code-window .bar span { width: 10px; height: 10px; border-radius: 50%; background: #3b4760; }
.code-window pre { margin: 0; padding: 18px 22px 22px; color: #c8d3e6; white-space: pre-wrap; }
.code-window .c1 { color: #7aa7ff; }
.code-window .c2 { color: #8fd6a5; }
.code-window .c3 { color: #64748b; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.process-list li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 16px; }
.process-list li::before { content: "0" counter(step); font-family: var(--font-en); font-weight: 700; font-size: 13px; color: var(--brand); display: block; margin-bottom: 6px; }
.process-list strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.process-list span { font-size: 13.5px; color: var(--muted); }
.bg-soft { background: var(--bg-soft); }
.info-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.info-box ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.info-box li + li { margin-top: 6px; }

/* ---------- SKILLS ---------- */
.skill-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; background: #fff; }
.skill-group h2 { font-size: 18px; margin: 0 0 4px; }
.skill-group > p { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.skill-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.skill-chips a, .skill-chips span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; color: var(--ink-2); background: #fff; }
.skill-chips i { color: var(--brand); font-size: 16px; }
.skill-chips a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- CONTACT ---------- */
.contact-info h2 { font-size: 24px; margin: 0 0 12px; }
.contact-info p { color: var(--ink-2); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; color: var(--ink-2); }
.contact-list .icon-circle { margin: 0; flex: none; }
.contact-form { border: 1px solid var(--line); border-radius: 12px; padding: 32px; background: #fff; box-shadow: 0 12px 32px rgba(17, 24, 39, .05); }
.form-label { font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.form-label .req { color: #d92d20; margin-left: 2px; }
.form-control, .form-select { border-color: #d8dee9; border-radius: 8px; padding: 11px 14px; font-size: 14.5px; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 92, 255, .12); }
.form-check-label { font-size: 13.5px; color: var(--ink-2); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.privacy-box { font-size: 12.5px; color: var(--muted); background: var(--bg-soft); border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }

/* ==========================================================
   반응형
   ========================================================== */
@media (max-width: 1199.98px) {
    .work-grid { grid-template-columns: repeat(3, 1fr); }
    .service-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .section { padding: 56px 0; }
    .site-header .navbar { padding: 10px 0; }
    .site-header .navbar-collapse { padding: 10px 0 16px; }
    .site-header .nav-link { padding: 12px 4px !important; font-size: 14px; border-bottom: 1px solid var(--line); }
    .site-header .btn-sm-pill { margin-top: 16px; width: 100%; padding: 12px; }
    .hero { padding: 40px 0 48px; }
    .hero-visual { margin-top: 36px; }
    .work-grid, .work-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .about-panel { padding: 48px 0; }
    .about-panel::before { display: none; }
    .about-panel { margin: 0 calc(var(--bs-gutter-x) * -.5); padding-left: calc(var(--bs-gutter-x) * .5); padding-right: calc(var(--bs-gutter-x) * .5); }
    .skills-panel { padding: 48px 0; }
    .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; margin-bottom: 32px; }
    .side-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; }
    .side-nav a:hover, .side-nav a.active { border-color: var(--brand); }
    .process-list { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-info { align-items: flex-start; }
    .cta-inner { flex-direction: column; text-align: center; gap: 22px; }
}
@media (max-width: 575.98px) {
    body { font-size: 14.5px; }
    .section { padding: 44px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
    .section-title { font-size: 23px; }
    .hero-cta .btn { flex: 1 1 0; padding: 12px 10px; white-space: nowrap; }
    .work-grid, .work-grid.cols-3, .service-grid, .value-grid { grid-template-columns: 1fr; }
    .skill-grid { grid-template-columns: repeat(3, 1fr); }
    .check-list { grid-template-columns: 1fr; }
    .shot-grid { grid-template-columns: 1fr; }
    .shot-grid.mobile { grid-template-columns: repeat(2, 1fr); }
    .process-list { grid-template-columns: 1fr; }
    .contact-form { padding: 22px 18px; }
    .cta-band h2 { font-size: 22px; }
    .cta-btns { width: 100%; }
    .cta-btns .btn { flex: 1 1 100%; }
    .filter-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 0 0 6px; -webkit-overflow-scrolling: touch; }
    .filter-tabs a { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ==========================================================
   2026-10-10 디자인 변경 : 네이비 톤 / 각진 버튼 / 메인 재구성
   (아래 규칙이 위의 기본 규칙을 덮어씁니다)
   ========================================================== */
:root {
    --brand: #1f5fa8;
    --brand-dark: #174a85;
    --brand-soft: #e8f0fa;
    --navy: #14254a;
    --ink: #14254a;
    --bg-soft: #f3f5f9;
    --radius: 6px;
    --font-en: "Inter", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.01em; }

/* 버튼 */
.btn { border-radius: 4px; font-weight: 500; padding: 11px 22px; }
.btn-brand { background: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn-brand:hover, .btn-brand:focus { background: #0d1a36; border-color: #0d1a36; }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover, .btn-line:focus { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-line-brand { border-color: var(--navy); color: var(--navy); }
.btn-line-brand:hover, .btn-line-brand:focus { background: var(--navy); color: #fff; }
.btn-sm-pill { padding: 9px 18px; }

/* 헤더 */
.site-header { border-bottom-color: var(--line); }
.logo { font-weight: 600; font-size: 24px; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo span { color: var(--navy); font-family: var(--font-kr); font-weight: 700; font-size: .92em; }
.site-header .nav-link { letter-spacing: .02em; font-size: 13px; padding: 8px 2px !important; margin: 0 12px; border-bottom: 2px solid transparent; }
.site-header .nav-link.active { border-bottom-color: var(--brand); }
.btn-inquiry { margin-left: 14px; }

/* 메인 히어로 (배경 사진) */
.m-hero { position: relative; background-color: #eef1f5; background-size: cover; background-position: right center; min-height: 640px; display: flex; align-items: center; padding: 72px 0; }
.m-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .3) 30%, rgba(255, 255, 255, 0) 50%); }
.m-hero .container { position: relative; }
.m-hero-text { max-width: 620px; }
.m-hero-title { font-size: clamp(32px, 4vw, 50px); line-height: 1.18; margin: 0 0 22px; color: var(--navy); }
.m-hero-sub { font-size: clamp(19px, 2.3vw, 27px); font-weight: 500; color: var(--navy); letter-spacing: -0.03em; margin: 0 0 20px; }
.m-hero-desc { color: var(--navy); font-size: 15.5px; max-width: 470px; margin: 0 0 30px; }

/* 메인 섹션 공통 */
.m-section { padding: 72px 0; }
.m-band { background: var(--bg-soft); }
.m-title { font-family: var(--font-en); font-size: clamp(26px, 3vw, 34px); font-weight: 500; color: var(--navy); margin: 0 0 32px; letter-spacing: -0.01em; }
.m-headline { font-family: var(--font-kr); font-size: clamp(22px, 3vw, 34px); font-weight: 500; color: var(--navy); letter-spacing: -0.03em; margin: 0 0 18px; line-height: 1.35; }
.m-text { color: var(--navy); font-size: 15.5px; max-width: 760px; margin: 0 0 22px; }
.m-link { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.m-link:hover { color: var(--brand); }
.m-link-lg { font-size: 17px; }

/* Featured Works : 3열 + 마지막 2건은 넓게 */
.fw-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.fw-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.fw-card:nth-child(3n+1):nth-last-child(2), .fw-card:nth-child(3n+2):last-child { grid-column: span 3; }
.fw-card:hover { box-shadow: 0 12px 28px rgba(20, 37, 74, .1); border-color: #cfd6e2; }
.fw-thumb { position: relative; display: block; aspect-ratio: 16 / 11; background: var(--bg-soft); overflow: hidden; }
.fw-card:nth-child(3n+1):nth-last-child(2) .fw-thumb, .fw-card:nth-child(3n+2):last-child .fw-thumb { aspect-ratio: 16 / 8.6; }
.fw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.fw-card:hover .fw-thumb img { transform: scale(1.03); }
.fw-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.fw-title { font-family: var(--font-kr); font-size: 19px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.02em; }
.fw-title a { color: var(--navy); }
.fw-title a:hover { color: var(--brand); }
.fw-cat { font-family: var(--font-en); font-size: 12.5px; letter-spacing: .04em; color: #5b6880; text-transform: uppercase; }
.fw-year { font-family: var(--font-en); font-size: 14.5px; color: var(--navy); margin: 4px 0 14px; }
.fw-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--navy); }
.fw-more { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; margin-left: auto; }
.fw-more:hover { color: var(--brand); }

/* What I Do */
.m-service { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.m-service i { font-size: 30px; color: var(--brand); display: block; line-height: 1; margin-bottom: 14px; }
.m-service h3 { font-size: 19px; margin: 0 0 6px; color: var(--navy); }
.m-service p { margin: 0; font-size: 14.5px; color: var(--navy); }

/* About / Skills */
.m-about { border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.m-about .m-title { margin-bottom: 10px; }
.m-about .m-text { margin-bottom: 0; }
.m-skills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.m-skills a { font-family: var(--font-en); font-size: clamp(20px, 2.4vw, 28px); color: var(--navy); letter-spacing: -0.01em; }
.m-skills a:hover { color: var(--brand); }
/* 메인 기술 표시 스타일 (관리자 > 기술 > 메인 표시 에서 선택) */
.m-skills a i { margin-right: 8px; font-size: .9em; }
.m-skills .sk-bold { font-weight: 700; }
.m-skills .sk-italic { font-style: italic; font-weight: 600; }
.m-skills .sk-icon i { color: var(--sk-c, var(--brand)); }
.m-skills .sk-icon { color: #3a3f6b; }
.m-skills .sk-color, .m-skills .sk-color i { color: var(--sk-c, var(--brand)); }
.m-skills .sk-pill { display: inline-flex; align-items: center; font-size: .74em; font-weight: 600; padding: .32em 1.05em; border: 1px solid var(--sk-c, var(--navy)); border-radius: 999px; color: var(--sk-c, var(--navy)); background: #fff; }
.m-skills .sk-pill i { color: var(--sk-c, var(--navy)); }
.m-skills .sk-pill:hover { background: var(--sk-c, var(--navy)); color: #fff; }
.m-skills .sk-pill:hover i { color: #fff; }

/* 푸터 */
.site-footer { padding: 48px 0 22px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 28px; align-items: start; }
.logo-foot { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); line-height: 1.15; }
.logo-foot:hover { color: var(--navy); }
.logo-foot strong { display: block; font-family: var(--font-en); font-weight: 600; font-size: 21px; }
.logo-foot small { display: block; font-size: 12.5px; font-weight: 500; }
.footer-col h2 { font-family: var(--font-en); font-size: 13px; font-weight: 500; color: var(--navy); margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; color: var(--ink-2); }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--brand); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.footer-bottom p { margin: 0; }

@media (max-width: 991.98px) {
    .site-header .nav-link { margin: 0; padding: 12px 4px !important; border-bottom: 1px solid var(--line); }
    .site-header .nav-link.active { border-bottom-color: var(--line); }
    .btn-inquiry { margin-left: 0; }
    .m-hero { min-height: 520px; background-position: 78% center; }
    .m-hero::before { background: linear-gradient(90deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .82) 55%, rgba(255, 255, 255, .35) 100%); }
    .m-section { padding: 56px 0; }
    .fw-grid { grid-template-columns: repeat(2, 1fr); }
    .fw-card, .fw-card:nth-child(3n+1):nth-last-child(2), .fw-card:nth-child(3n+2):last-child { grid-column: span 1; }
    .fw-card .fw-thumb, .fw-card:nth-child(3n+1):nth-last-child(2) .fw-thumb, .fw-card:nth-child(3n+2):last-child .fw-thumb { aspect-ratio: 16 / 11; }
    .m-service { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .m-hero { min-height: 0; padding: 56px 0; }
    .m-hero::before { background: rgba(255, 255, 255, .86); }
    .m-section { padding: 44px 0; }
    .m-title { margin-bottom: 22px; }
    .fw-grid { grid-template-columns: 1fr; }
    .m-service { grid-template-columns: 1fr; gap: 24px; }
    .m-skills { gap: 12px 26px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ==========================================================
   모바일 메뉴 : 오른쪽에서 왼쪽으로 슬라이드 (Bootstrap offcanvas)
   ========================================================== */
.site-header { backdrop-filter: none; background: #fff; }
@media (min-width: 992px) {
    .site-header .offcanvas-body { align-items: center; }
}
@media (max-width: 991.98px) {
    .site-header .offcanvas { width: min(300px, 82vw); }
    .site-header .offcanvas-header { padding: 18px 20px; border-bottom: 1px solid var(--line); }
    .site-header .offcanvas-header .logo { font-size: 19px; }
    .site-header .offcanvas-body { padding: 8px 20px 24px; }
    .site-header .nav-link { font-size: 15px; padding: 15px 2px !important; }
    .site-header .nav-link.active { color: var(--brand); font-weight: 600; }
}

/* ==========================================================
   이미지 크게 보기 : 이전/다음 버튼, 순번 표시
   ========================================================== */
#shotModal .modal-content { position: relative; }
#shotModal img { max-height: 86vh; object-fit: contain; }
.shot-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(20, 37, 74, .25); z-index: 2; }
.shot-nav:hover { background: #fff; color: var(--brand); }
.shot-prev { left: 10px; }
.shot-next { right: 10px; }
.shot-count { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); margin: 0; padding: 3px 12px; border-radius: 999px; background: rgba(20, 37, 74, .78); color: #fff; font-family: var(--font-en); font-size: 12.5px; }
.shot-btn { position: relative; }
.shot-btn::after { content: "\F62C"; font-family: "bootstrap-icons"; position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(20, 37, 74, .72); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.shot-btn:hover::after, .shot-btn:focus-visible::after { opacity: 1; }

/* 푸터 관리자 링크 */
.footer-admin { margin-left: 10px; padding-left: 10px; border-left: 1px solid #cfd6e2; color: var(--muted); }
.footer-admin:hover { color: var(--brand); text-decoration: underline; }

/* ==========================================================
   MYPAGE : 헤더 서브 메뉴 / 목록 / 상세
   ========================================================== */
.has-sub { position: relative; }
.sub-menu { list-style: none; margin: 0; padding: 8px 0; }
.sub-menu a { display: block; color: var(--ink-2); font-size: 14px; }
.sub-menu a:hover { color: var(--brand); }
@media (min-width: 992px) {
    .sub-menu { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 130px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 24px rgba(20, 37, 74, .12); display: none; z-index: 1050; }
    .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
    .sub-menu a { padding: 8px 18px; text-align: center; white-space: nowrap; }
    .sub-menu a:hover { background: var(--bg-soft); }
}
@media (max-width: 991.98px) {
    .sub-menu { padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
    .has-sub > .nav-link { border-bottom: 0 !important; }
    .sub-menu a { padding: 9px 2px 9px 18px; position: relative; }
    .sub-menu a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 6px; height: 1px; background: #9aa5b8; }
}
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mp-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.mp-card:hover { box-shadow: 0 12px 28px rgba(20, 37, 74, .1); border-color: #cfd6e2; }
.mp-thumb { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--bg-soft); color: #9fb0c9; font-size: 44px; overflow: hidden; }
.mp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.mp-title { font-family: var(--font-kr); font-size: 18px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.02em; }
.mp-title a { color: var(--navy); }
.mp-title a:hover { color: var(--brand); }
.mp-summary { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.mp-date { margin-top: auto; font-family: var(--font-en); font-size: 12.5px; color: var(--muted); }
.mp-view { max-width: 820px; margin: 0 auto; }
.mp-view-cat { font-size: 13px; color: var(--brand); font-weight: 500; }
.mp-view h1 { font-family: var(--font-kr); font-size: clamp(24px, 3.4vw, 34px); font-weight: 500; letter-spacing: -0.03em; margin: 6px 0 10px; }
.mp-view-date { color: var(--muted); font-size: 13.5px; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.mp-view-img { width: 100%; border-radius: 6px; margin-bottom: 28px; }
.mp-view-content { font-size: 16px; line-height: 1.85; color: var(--ink-2); }
@media (max-width: 991.98px) { .mp-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 575.98px) { .mp-grid { grid-template-columns: 1fr; } }

/* 스토리(구글 문서) 상세 : 이전/다음 글 */
.mp-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.mp-pager a { display: block; border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; color: var(--navy); min-width: 0; }
.mp-pager a:hover { border-color: var(--brand); color: var(--brand); }
.mp-pager small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.mp-pager span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.mp-pager-next { text-align: right; grid-column: 2; }
@media (max-width: 575.98px) { .mp-pager { grid-template-columns: 1fr; } .mp-pager-next { grid-column: 1; } .mp-pager > span:empty { display: none; } }

/* 메인 이미지 롤링 */
.m-hero { overflow: hidden; }
.m-hero-slides { position: absolute; inset: 0; z-index: 0; }
.m-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: right center; opacity: 0; transition: opacity 1.2s ease; }
.m-hero-slide.is-active { opacity: 1; }
.m-hero::before { z-index: 1; }
.m-hero .container { z-index: 2; }
.m-hero-dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.m-hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1px solid var(--navy); background: rgba(255, 255, 255, .7); cursor: pointer; }
.m-hero-dots button.is-active { background: var(--navy); }
@media (max-width: 991.98px) { .m-hero-slide { background-position: 78% center; } }
@media (prefers-reduced-motion: reduce) { .m-hero-slide { transition: none; } }

/* 메인 사진 위 글자 가독성 */
.m-hero::before { background: linear-gradient(90deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .62) 30%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, 0) 64%); }
.m-hero-title, .m-hero-sub, .m-hero-desc { text-shadow: 0 0 14px rgba(255, 255, 255, .95), 0 0 4px rgba(255, 255, 255, .8); }
@media (max-width: 991.98px) { .m-hero::before { background: linear-gradient(90deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .82) 55%, rgba(255, 255, 255, .35) 100%); } }
@media (max-width: 575.98px) { .m-hero::before { background: rgba(255, 255, 255, .8); } }

/* 대표 이미지 자동 맞춤 : 가로로 너무 길거나 세로로 긴 이미지는 전체를 보여주고 남는 곳은 같은 사진을 흐리게 채움 */
.is-fit::before { content: ""; position: absolute; inset: -16px; background: var(--fit-bg) center / cover no-repeat; filter: blur(16px) saturate(1.1); opacity: .6; }
.is-fit > img { position: relative; z-index: 1; object-fit: contain; }
.is-fit > *:not(img) { z-index: 2; }

/* 포트폴리오 구분 스위치 / 이전 포트폴리오 */
.pf-switch { display: flex; justify-content: center; gap: 0; margin: 0 auto 28px; padding: 4px; list-style: none; width: fit-content; max-width: 100%; background: var(--bg-soft); border-radius: 999px; }
.pf-switch a { display: block; padding: 9px 26px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.pf-switch a:hover { color: var(--navy); }
.pf-switch a.active { background: var(--navy); color: #fff; }
.filter-tabs a em { font-style: normal; font-size: 11px; opacity: .65; margin-left: 4px; }
.lg-search { position: relative; max-width: 420px; margin: 0 auto 24px; }
.lg-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8a96ab; pointer-events: none; }
.lg-search .form-control { padding-left: 38px; border-radius: 999px; }
.lg-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
.lg-item[hidden] { display: none; }
.lg-item > a, .lg-item > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14.5px; line-height: 1.45; color: var(--navy); word-break: keep-all; }
.lg-item > a:hover { border-color: var(--brand); color: var(--brand); box-shadow: 0 6px 16px rgba(20, 37, 74, .08); }
.lg-item > a i { flex: 0 0 auto; font-size: 13px; color: #8a96ab; }
.lg-item > a:hover i { color: var(--brand); }
.lg-item.no-link > span { background: var(--bg-soft); border-color: transparent; color: var(--ink-2); }
@media (max-width: 991.98px) { .lg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .lg-grid { grid-template-columns: 1fr; } .pf-switch a { padding: 9px 18px; } }
.empty-box[hidden] { display: none; }

/* 이전 포트폴리오 : 홈페이지 링크가 있는 항목을 눈에 띄게 */
.lg-item > a { position: relative; padding-left: 20px; font-weight: 600; background: #f3f8ff; border-color: #bcd4f2; box-shadow: 0 1px 0 rgba(31, 95, 168, .08); }
.lg-item > a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 8px 0 0 8px; background: var(--brand); }
.lg-item > a:hover { background: #fff; border-color: var(--brand); transform: translateY(-1px); }
.lg-go { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--brand); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.lg-go i { font-size: 11px; color: #fff; }
.lg-item > a:hover .lg-go { background: var(--navy); }
.lg-item > a:hover i { color: #fff; }
.lg-item.no-link > span { font-weight: 400; color: #7a869b; background: #f7f8fa; }
.lg-opt { max-width: 420px; margin: -8px auto 22px; text-align: center; }
.lg-check { font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.lg-check input { margin-right: 6px; accent-color: var(--brand); }
.lg-check strong { color: var(--brand); font-weight: 700; }

/* 브랜드 로고 (Simple Icons) : 색은 지정 색상, 없으면 글자색 */
.sk-logo { display: inline-block; width: 1em; height: 1em; margin-right: 8px; vertical-align: -.1em; background-color: var(--sk-c, currentColor); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.m-skills a i.sk-logo { font-size: .95em; }

/* MYPAGE 사진 : 목록 장수 배지 / 상세 갤러리 / 확대 보기 */
.mp-count { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; font-size: 12.5px; line-height: 1.4; color: #fff; background: rgba(20, 37, 74, .72); border-radius: 999px; }
.mp-count i { font-size: 12px; }
.mp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.mp-g-item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; background: var(--bg-soft); }
.mp-g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.mp-g-item:hover img { transform: scale(1.04); }
@media (max-width: 575.98px) { .mp-gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
.lb { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(8, 14, 30, .92); }
.lb.is-open { display: flex; }
.lb img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 4px; }
.lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-cnt { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #cfd8ea; font-size: 13px; }
@media (max-width: 575.98px) { .lb-prev, .lb-next { width: 38px; height: 38px; } }

/* MYPAGE 글 본문(편집기 결과) / 유튜브 / 목록 재생 표시 */
.mp-view-content p { margin: 0 0 .9em; }
.mp-view-content h3 { font-family: var(--font-kr); font-size: 1.25em; font-weight: 600; margin: 1.4em 0 .5em; color: var(--navy); }
.mp-view-content blockquote { margin: 1em 0; padding: .3em 1.1em; border-left: 3px solid var(--line); color: var(--muted); }
.mp-view-content ul, .mp-view-content ol { margin: 0 0 1em; padding-left: 1.4em; }
.mp-view-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.mp-video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 20px; border-radius: 6px; overflow: hidden; background: #000; }
.mp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mp-play { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(0, 0, 0, .62); color: #fff; font-size: 30px; pointer-events: none; }
.mp-play i { margin-left: 3px; }

/* Featured Works 자동 로테이션 (카드가 시계 방향으로 한 칸씩 이동) */
.fw-pool[hidden] { display: none; }
.fw-grid.fw-rot { display: block; position: relative; }
.fw-rot .fw-card { position: absolute; margin: 0; box-sizing: border-box; overflow: hidden; will-change: left, top, width, height, opacity; transition: left .8s cubic-bezier(.45, .05, .25, 1), top .8s cubic-bezier(.45, .05, .25, 1), width .8s cubic-bezier(.45, .05, .25, 1), height .8s cubic-bezier(.45, .05, .25, 1), opacity .7s ease, box-shadow .2s, border-color .2s; }
.fw-rot .fw-card .fw-thumb { aspect-ratio: auto !important; flex: 0 0 auto; transition: height .8s cubic-bezier(.45, .05, .25, 1); }
.fw-rot.no-anim .fw-card, .fw-rot.no-anim .fw-card .fw-thumb { transition: none !important; }
