
  /* ===== A 신뢰 네이비 (확정) ===== */
  :root {
    --page: #f4f5f7; --surface: #ffffff; --surface-2: #eef1f6;
    --text: #14171f; --text-2: #4a5263; --text-3: #7a8294; --line: #e3e6ec;
    --brand: #163a8a; --brand-2: #2453b8; --brand-soft: #e6ecf8;
    --cta: #d62f2b; --cta-text: #fff;
    --warm: #e8553b; --cool: #3b7be8;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 140px; }
  body { font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif; background: var(--page); color: var(--text); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; word-break: keep-all; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

  /* 헤더 (홈과 동일) */
  .hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
  .logo { flex: none; display: block; line-height: 0; }
  .logo img { height: 40px; width: auto; display: block; }
  .nav { display: flex; gap: 36px; font-weight: 600; font-size: 16px; color: var(--text-2); }
  .nav a.on { color: var(--brand); }
  .hdr-cta { display: flex; gap: 10px; align-items: center; }
  .pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; }
  .pill.cta { background: var(--cta); color: var(--cta-text); }
  .pill.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
  .pill.brand { background: var(--brand); color: #fff; }
  .pill .m { display: none; }
  .menu { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); align-items: center; justify-content: center; }

  .phero .ph { position: relative; }
  .phero .ph img.wm { position: absolute; right: 12px; bottom: 10px; width: auto; height: 17px; object-fit: contain; transform: none; box-sizing: content-box; padding: 4px 7px; border-radius: 7px; background: rgba(188,188,188,.6); }
  @media (max-width: 640px) { .phero .ph img.wm { height: 12px; right: 8px; bottom: 7px; padding: 3px 5px; border-radius: 5px; } }
  /* 페이지 내 탭 (스크롤 이동) */
  .subnav { position: sticky; top: 77px; z-index: 30; background: var(--page); padding: 12px 0; }
  .subnav .in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .subnav .in::-webkit-scrollbar { display: none; }
  .subnav a { flex: none; padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); }
  .subnav a:hover { color: var(--brand); border-color: var(--brand); }

  .crumb { font-size: 14px; color: var(--text-3); padding: 20px 4px 14px; }
  .crumb b { color: var(--text-2); font-weight: 600; }

  .band { background: var(--brand); color: #fff; border-radius: 28px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
  .band h2 { color: #fff; }
  .band p { opacity: .85; margin-top: 10px; }
  
  .band .pill { background: #fff; color: #111; padding: 15px 26px; margin-top: 12px; }

  footer { margin-top: 72px; background: #eceef2; border-top: 1px solid #dde1e8; color: var(--text-3); font-size: 14px; line-height: 1.8; text-align: center; padding: 40px 0 0; }
  footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
  footer .f-logo { height: 30px; width: auto; display: block; margin: 0 auto 16px; }
  footer .f-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-bottom: 18px; font-weight: 600; color: var(--text-2); }
  footer .f-nav a:hover { color: var(--brand); }
  footer .f-info { display: grid; gap: 2px; }
  footer .f-info span { white-space: nowrap; }
  footer .f-info .sep { opacity: .4; margin: 0 8px; }
  footer .f-hours { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; color: var(--text-2); }
  footer .f-copy { margin-top: 24px; width: 100%; border-top: 1px solid #dde1e8; padding: 16px 0 24px; font-size: 13px; color: var(--text-3); }
  @media (max-width: 640px) { footer { margin-top: 48px; padding-top: 32px; font-size: 13px; } footer .f-info span { white-space: normal; } footer .f-info .sep { display: none; } footer .f-info p span { display: block; } footer .f-logo { height: 26px; } }

  /* 반응형 */
  /* ===== 휴대폰 메뉴 (☰) ===== */
  button.menu { cursor: pointer; font: inherit; font-size: 18px; color: var(--text); }
  .drawer-bg { position: fixed; inset: 0; z-index: 90; background: rgba(10,14,24,.45); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(360px, 88vw); background: var(--surface); box-shadow: -20px 0 50px rgba(0,0,0,.18); transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; overflow-y: auto; }
  body.menu-open { overflow: hidden; }
  body.menu-open .drawer-bg { opacity: 1; pointer-events: auto; }
  body.menu-open .drawer { transform: none; }
  .drawer-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
  .drawer-top img { height: 30px; width: auto; display: block; }
  .drawer-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 20px; cursor: pointer; color: var(--text); }
  .drawer nav { padding: 8px 12px; }
  .drawer .grp { padding: 12px 8px 4px; font-size: 13px; font-weight: 700; color: var(--text-3); }
  .drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 12px; border-radius: 12px; font-size: 17px; font-weight: 700; color: var(--text); }
  .drawer nav a:hover, .drawer nav a.on { background: var(--brand-soft); color: var(--brand); }
  .drawer nav a::after { content: "›"; font-size: 20px; color: var(--text-3); }
  .drawer nav a.sub { font-size: 16px; font-weight: 600; padding-left: 24px; }
  .drawer-foot { margin-top: auto; padding: 18px 20px 24px; border-top: 1px solid var(--line); background: var(--surface-2); }
  .drawer-foot .pill { width: 100%; justify-content: center; padding: 14px; font-size: 17px; }
  .drawer-foot p { font-size: 14px; color: var(--text-2); margin-top: 12px; line-height: 1.6; }


button,input {font:inherit;} button {cursor:pointer;} :focus-visible {outline:3px solid #2453b8;outline-offset:4px;} [hidden] {display:none!important;}
.case-hero {padding:54px 56px;background:#fff;border-radius:28px;display:flex;justify-content:space-between;align-items:center;gap:32px;}
.eyebrow {font-size:14px;font-weight:750;color:var(--brand);margin-bottom:12px;letter-spacing:.04em;}
h1 {font-size:48px;line-height:1.25;letter-spacing:-.04em;} h2 {font-size:30px;line-height:1.35;letter-spacing:-.03em;}
.lead {margin-top:18px;color:var(--text-2);font-size:18px;} .hero-note {border-left:1px solid var(--line);padding-left:36px;color:var(--text-2);font-size:15px;min-width:230px;}
.hero-note b {display:block;color:var(--brand);font-size:21px;margin-bottom:8px;} .case-tools {padding:32px 0 24px;display:flex;justify-content:space-between;gap:20px;align-items:center;}
.filters {display:flex;gap:8px;flex-wrap:wrap;} .filters button {border:1px solid var(--line);border-radius:999px;padding:11px 21px;background:#fff;color:var(--text-2);font-size:16px;font-weight:650;} .filters button[aria-pressed=true] {background:var(--brand);color:#fff;border-color:var(--brand);}
.search {display:flex;border:1px solid #d2d7e1;border-radius:14px;background:#fff;overflow:hidden;width:340px;} .search input {border:0;min-width:0;width:100%;background:transparent;padding:12px 16px;color:var(--text);font-size:15px;} .search button {border:0;background:#fff;color:var(--brand);padding:0 17px;font-weight:750;white-space:nowrap;}
.results {display:flex;justify-content:space-between;gap:16px;font-size:14px;color:var(--text-2);margin-bottom:18px;} .results b {color:var(--brand);} .case-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.case-card {display:block;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;transition:transform .2s,box-shadow .2s;} .case-card:hover {transform:translateY(-5px);box-shadow:0 14px 30px #152e6612;}
.card-photo {aspect-ratio:4/3;overflow:hidden;background:#e6e9ef;position:relative;} .card-photo img {width:100%;height:100%;object-fit:cover;transition:transform .4s;} .case-card:hover img {transform:scale(1.035);} .photo-count {position:absolute;right:14px;bottom:14px;border-radius:8px;background:#17243bd9;color:#fff;padding:3px 10px;font-size:12px;}
.card-body {padding:24px;} .case-meta {display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:var(--text-3);margin-bottom:13px;} .tag {display:inline-block;background:var(--brand-soft);color:var(--brand);padding:4px 10px;border-radius:7px;font-weight:750;font-size:13px;} .tag.fan {background:#edf4f3;color:#326862;}
.case-card h2 {font-size:22px;line-height:1.4;letter-spacing:-.025em;} .card-body p {color:var(--text-2);font-size:15px;margin-top:9px;}.card-bottom {display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:17px;margin-top:21px;font-size:14px;color:var(--text-3);} .card-bottom b {color:var(--brand);font-weight:650;}
.list-bottom {text-align:center;margin:32px 0 56px;} .load-more {border:1px solid #ccd3df;background:#fff;padding:14px 40px;border-radius:999px;font-weight:700;color:var(--text);} .empty {background:#fff;border-radius:24px;padding:70px 24px;text-align:center;} .empty p {color:var(--text-2);margin:12px 0 22px;}
.band {margin-top:28px;} .back-link {display:inline-flex;margin:6px 0 22px;color:var(--text-2);font-size:15px;} .detail-head {padding:44px 48px;background:#fff;border-radius:28px 28px 0 0;border-bottom:1px solid var(--line);} .detail-head h1 {font-size:38px;margin:16px 0;} .detail-date {font-size:14px;color:var(--text-3);}
.detail-body {background:#fff;padding:32px 48px 48px;border-radius:0 0 28px 28px;} .summary {display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:32px;border-radius:18px;background:var(--surface-2);padding:24px;gap:24px;} .summary dt {font-size:13px;color:var(--text-3);margin-bottom:4px;} .summary dd {font-size:17px;font-weight:650;}
.detail-description {max-width:780px;line-height:1.9;margin:0 auto 32px;color:var(--text-2);} .gallery {display:grid;gap:24px;max-width:960px;margin:auto;} .gallery figure {margin:0;} .gallery button {border:0;padding:0;width:100%;background:var(--surface-2);border-radius:18px;overflow:hidden;cursor:zoom-in;} .gallery img {width:100%;max-height:760px;object-fit:contain;} .gallery figcaption {font-size:13px;color:var(--text-3);margin-top:8px;}
.detail-actions {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-top:32px;} .related-title {margin:56px 0 22px;} .photo-dialog {margin:auto;border:0;background:#fff;border-radius:18px;padding:20px;max-width:94vw;max-height:94vh;} .photo-dialog::backdrop {background:#0b1428df;} .photo-dialog img {max-height:78vh;max-width:85vw;object-fit:contain;} .dialog-top {display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px;font-size:14px;} .dialog-top button {border:1px solid var(--line);border-radius:999px;background:#fff;padding:6px 14px;}
@media(max-width:1100px){.nav{gap:20px}.hdr .wrap{gap:12px}.case-hero{padding:40px}.case-grid{gap:18px}.card-body{padding:20px}}
@media(max-width:1024px){.nav{display:none}.menu{display:inline-flex}.case-hero{align-items:flex-start}.hero-note{min-width:200px;padding-left:24px}.case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.case-tools{align-items:flex-start}.search{width:290px}}
@media(max-width:640px){body{font-size:16px}.wrap{padding:0 16px}.hdr .wrap{height:64px}.logo img{height:32px}.hdr-cta{gap:8px}.hdr-cta .pill.cta{padding:9px 14px;font-size:14px}.pill .num{display:none}.pill .m{display:inline}.menu{width:40px;height:40px}.crumb{font-size:13px;padding-top:16px}.case-hero{padding:30px 24px;border-radius:22px;display:block}h1{font-size:34px}.lead{font-size:16px;margin-top:16px}.hero-note{border:0;border-top:1px solid var(--line);margin-top:24px;padding:20px 0 0;font-size:14px}.hero-note b{font-size:17px;margin-bottom:4px}.case-tools{flex-direction:column;padding:24px 0 20px;gap:16px}.search{width:100%}.filters{gap:6px}.filters button{padding:9px 17px;font-size:15px}.results{font-size:13px}.case-grid{grid-template-columns:1fr;gap:18px}.case-card{border-radius:22px}.case-card h2{font-size:21px}.card-body{padding:22px}.band{flex-direction:column;align-items:flex-start;padding:32px 24px;border-radius:22px}.band h2{font-size:25px}.band .tel{font-size:30px}.detail-head{padding:28px 22px;border-radius:22px 22px 0 0}.detail-head h1{font-size:28px}.detail-body{padding:24px 20px 30px}.summary{grid-template-columns:1fr;padding:20px;gap:14px}.summary>div{display:grid;grid-template-columns:80px 1fr;gap:8px}.summary dt{margin:0}.summary dd{font-size:15px}.detail-description{font-size:16px}.gallery{gap:22px}.detail-actions .pill{flex:1}.related-title{font-size:25px;margin-top:40px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
