/* ── CU Leisure 공통 CSS ── */
:root {
  --bg: #ffffff; --card: #fafaf7; --line: rgba(0,0,0,.06);
  --text: #1a2332; --muted: #5a6b7f;
  --accent: #f7941d;        /* 메인 강조 - CTA, 호버 */
  --accent-blue: #1a5fbc;   /* 신뢰 - 링크, B2B 톤 */
  --accent-green: #7cb342;  /* 성장/긍정 - 성공 */
  --accent-teal: #1abdb4;   /* 신선/보조 */
  --gold: #c8a86b;
  --max: 1200px; --shadow: 0 10px 30px rgba(0,0,0,.06); --radius: 24px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; word-break: keep-all; overflow-wrap: break-word; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fafaf7 50%, #f5f3ed 100%);
  line-height: 1.6; min-height: 100vh;
  word-break: keep-all; overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6, p, span, li, strong, small, a, button {
  word-break: keep-all; overflow-wrap: break-word;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.section { padding: 100px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.eyebrow, .kicker { display: inline-block; padding: 0; border: none; border-radius: 0; color: #8a96a8; letter-spacing: .18em; text-transform: uppercase; background: none; font-weight: 700; line-height: 1.4; }
.eyebrow { font-size: 13px; margin-bottom: 18px; }
.kicker { font-size: 11px; margin-bottom: 14px; }
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(247,148,29,.1); box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; font-size: 20px; font-weight: 900; letter-spacing: .03em; color: #1a2332; }
.brand img { height: 40px; width: auto; display: block; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; color: #5a6b7f; font-size: 14px; }
.nav-links a:hover { color: var(--accent); transition: color .2s; }
.nav-links a.active { color: var(--accent); font-weight: 700; }
.nav-cta.btn { border-radius: 0; background: transparent; color: #5a6b7f; border: none; box-shadow: none; font-size: 14px; padding: 0; letter-spacing: .02em; height: 40px; gap: 0; overflow: hidden; white-space: nowrap; flex-shrink: 0; transition: color .25s ease; font-weight: 400; }
.nav-cta.btn:hover { background: transparent; color: var(--accent); transform: none; box-shadow: none; }
.nav-cta .cta-icon { font-size: 17px; flex-shrink: 0; line-height: 1; }
.nav-cta .cta-label { display: inline-block; margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #1a2332; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 4px; border: 1px solid transparent; font-weight: 700; font-size: 15px; font-family: inherit; transition: .25s ease; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--accent); color: #ffffff; box-shadow: 0 4px 12px rgba(247,148,29,.18); }
.btn-primary:hover { transform: translateY(-2px); background: #d97700; box-shadow: 0 8px 18px rgba(247,148,29,.28); }
.btn-secondary { background: transparent; color: #1a2332; border-color: rgba(0,0,0,.18); }
.btn-secondary:hover { background: #1a2332; color: #ffffff; border-color: #1a2332; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-size: clamp(28px,4vw,44px); line-height: 1.2; letter-spacing: -.03em; color: #1a2332; }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; font-size: 16px; line-height: 1.75; }
.view-all { display: inline-flex; align-items: center; gap: 6px; color: #1a2332; font-size: 14px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; transition: gap .2s, color .2s; }
.view-all:hover { gap: 10px; color: var(--accent); }
.page-hero { position: relative; min-height: 380px; display: flex; align-items: center; overflow: hidden; background: center/cover no-repeat #1a2332; border-bottom: none; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,20,52,.80) 0%, rgba(8,20,52,.58) 55%, rgba(8,20,52,.38) 100%); }
.page-hero .container { position: relative; z-index: 1; padding: 80px 0; }
.page-hero .eyebrow { color: rgba(255,255,255,.85); background: none; margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(36px,5vw,64px); line-height: 1.08; letter-spacing: -.04em; font-weight: 900; margin-bottom: 20px; color: #ffffff; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.page-hero p { color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.8; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.breadcrumb span { color: rgba(247,148,29,.3); }
.breadcrumb a:hover { color: var(--accent); }
.card { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 800; line-height: 1.35; color: #1a2332; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.portfolio-card { overflow: hidden; padding: 0; cursor: pointer; transition: transform .25s, box-shadow .25s; display: block; color: inherit; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); }
.portfolio-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.08); border-color: rgba(0,0,0,.12); }
.portfolio-image { aspect-ratio: 16 / 9; background: center/cover no-repeat; border-bottom: 1px solid var(--line); position: relative; }
.portfolio-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,30,80,.28)); }
.portfolio-body { padding: 26px; }
.portfolio-body h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: #1a2332; }
.portfolio-body p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.portfolio-tag { display: inline-block; padding: 5px 13px; border-radius: 4px; background: rgba(247,148,29,.08); border: 1px solid rgba(247,148,29,.2); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.meta-item { padding: 14px 16px; border-radius: 14px; background: rgba(247,148,29,.05); border: 1px solid rgba(247,148,29,.1); margin-top: 10px; }
.meta-item strong { display: block; color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; font-weight: 700; }
.meta-item span { color: #1a2332; font-size: 14px; }
.cta { border: 1px solid rgba(0,0,0,.06); background: #ffffff; border-radius: 16px; padding: 52px; display: flex; justify-content: space-between; gap: 36px; align-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.cta h2 { margin: 0 0 14px; font-size: clamp(26px,4vw,42px); line-height: 1.2; letter-spacing: -.03em; font-weight: 900; color: #1a2332; }
.cta p { margin: 0; color: var(--muted); max-width: 560px; font-size: 16px; line-height: 1.75; }
details.sources-toggle { margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line); }
details.sources-toggle summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12px; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; list-style: none; user-select: none; }
details.sources-toggle summary::-webkit-details-marker { display: none; }
details.sources-toggle summary::after { content: '﹢'; font-size: 14px; transition: transform .2s; }
details.sources-toggle[open] summary::after { content: '－'; }
details.sources-toggle ul { padding-left: 0; list-style: none; margin-top: 14px; }
details.sources-toggle li { font-size: 13px; color: #5a6b7f; margin-bottom: 6px; line-height: 1.6; }
.footer { padding: 52px 0 60px; color: #5a6b7f; font-size: 13px; background: linear-gradient(180deg, #ffffff, #f5f8fc); border-top: 1px solid var(--line); }
.footer-info { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-info-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-info-item strong { display: block; color: #1a2332; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: none; margin-bottom: 8px; }
.footer-info-item span { color: #1a2332; font-size: 13px; display: block; line-height: 1.6; }
.footer-brand strong { color: #1a2332; font-size: 14px; text-transform: none; letter-spacing: 0; }
.footer-brand span { color: #5a6b7f; }
.footer-line { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--accent); transition: color .2s; }
@media (max-width: 1100px) { .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } .footer-info-row { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px; }
  .page-hero { min-height: 280px; }
  .footer-info-row { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 12px 0; z-index: 49;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 28px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-inner { position: relative; }
  .nav-cta { display: none; }
}

/* Intro overlay */
.intro-overlay { position: fixed; inset: 0; background: #ffffff; z-index: 1000; display: grid; place-items: center; pointer-events: none; transition: opacity .5s ease; }
.intro-overlay img { height: 56px; width: auto; opacity: 0; animation: introLogo 1.4s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes introLogo {
  0%   { opacity: 0; transform: scale(.92); }
  25%  { opacity: 1; transform: scale(1); }
  70%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); }
}
.intro-overlay.fade-out { opacity: 0; visibility: hidden; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); width: 0; z-index: 100; transition: width .1s linear; pointer-events: none; }

/* Floating action buttons */
.fab-stack { position: fixed; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 90; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; align-items: flex-end; }
.fab-stack.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-family: inherit; text-decoration: none; border: none; white-space: nowrap; overflow: hidden; }
.fab-contact { background: var(--accent); color: #fff; height: 52px; width: 52px; padding: 0; border-radius: 50%; box-shadow: 0 8px 24px rgba(247,148,29,.35); font-size: 14px; font-weight: 700; transition: width .35s ease, padding .35s ease, border-radius .35s ease, box-shadow .25s ease, transform .2s ease; }
.fab-contact .fab-icon { font-size: 18px; flex-shrink: 0; }
.fab-contact .fab-label { display: inline-block; opacity: 0; max-width: 0; margin-left: 0; overflow: hidden; white-space: nowrap; transition: opacity .2s ease, max-width .35s ease, margin-left .35s ease; }
.fab-contact:hover { width: 160px; padding: 0 22px; border-radius: 999px; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(247,148,29,.45); }
.fab-contact:hover .fab-label { opacity: 1; max-width: 120px; margin-left: 10px; }
.fab-top { width: 48px; height: 48px; border-radius: 50%; background: #1a2332; color: #fff; font-size: 18px; box-shadow: 0 8px 20px rgba(0,0,0,.18); align-self: flex-end; transition: transform .2s, background .2s; }
.fab-top:hover { transform: translateY(-2px); background: #2c3e50; }
@media (max-width: 760px) {
  .fab-stack { right: 16px; bottom: 16px; gap: 10px; }
  .fab-contact { display: none; }
  .fab-top { width: 44px; height: 44px; }
}

/* Related posts widget */
.related-posts { padding: 60px 0 80px; border-top: 1px solid var(--line); }
.related-title { font-size: 13px; font-weight: 800; color: #8a96a8; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { display: block; color: inherit; border-radius: 16px; border: 1px solid rgba(0,0,0,.06); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.related-thumb { height: 160px; background: center/cover no-repeat; }
.related-body { padding: 22px; }
.related-cat { display: inline-block; font-size: 10px; color: #8a96a8; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 10px; }
.related-body h4 { font-size: 16px; font-weight: 800; color: #1a2332; line-height: 1.4; margin: 0 0 12px; }
.related-meta { font-size: 12px; color: var(--muted); display: flex; gap: 6px; }
@media (max-width: 760px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-posts { padding: 48px 0 60px; }
}

/* Timeline slide-in animation */
.tl-item.reveal { transform: translateX(-30px); }
.tl-item.reveal.visible { transform: translateX(0); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.page-btn { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: #5a6b7f; font-weight: 700; font-size: 14px; cursor: pointer; transition: .2s; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; }
.page-btn:hover:not(:disabled):not(.active) { background: rgba(247,148,29,.06); border-color: rgba(247,148,29,.3); color: var(--accent); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; cursor: default; }
.page-btn:disabled { opacity: .35; cursor: not-allowed; }
.page-btn.page-nav { font-size: 20px; line-height: 1; }
@media (max-width: 480px) { .page-btn { min-width: 36px; height: 36px; font-size: 13px; } }

/* ── Insight post shared styles ── */
.post-hero { padding: 80px 0 60px; background: linear-gradient(135deg, rgba(247,148,29,.04), rgba(0,0,0,.01)); border-bottom: 1px solid var(--line); }
.post-head { max-width: 900px; }
.post-head h1 { font-size: clamp(30px,4.5vw,46px); line-height: 1.25; font-weight: 900; color: #1a2332; margin-bottom: 18px; letter-spacing: -.02em; }
.post-head .lead { color: #5a6b7f; font-size: 18px; margin-top: 16px; line-height: 1.6; }
.post-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: #5a6b7f; font-size: 14px; }
.post-content { max-width: 800px; margin: 0 auto; padding: 80px 0 100px; }
.post-content h2 { font-size: 26px; font-weight: 900; color: #1a2332; margin: 72px 0 24px; letter-spacing: -.01em; }
.post-content h2:first-of-type { margin-top: 0; }
.post-content h3 { font-size: 19px; font-weight: 800; color: #1a2332; margin: 36px 0 14px; }
.post-content p { color: #2a3441; font-size: 16px; line-height: 1.95; margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 20px; }
.post-content li { color: #2a3441; font-size: 16px; line-height: 1.8; margin-bottom: 10px; }
.post-content strong { color: #1a2332; font-weight: 700; }
.lead-paragraph { font-size: 17px; line-height: 1.85; color: #1a2332; font-weight: 500; }

.post-figure { margin: 48px 0; padding: 0; }
.post-figure img { width: 100%; height: auto; border-radius: 12px; display: block; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.post-figure figcaption { margin-top: 14px; text-align: center; font-size: 13px; color: #8a96a8; line-height: 1.6; }

.timeline-chart { background: rgba(0,0,0,.025); border-radius: 16px; padding: 40px 40px 36px; margin: 48px 0; }
.timeline-chart h3 { margin: 0 0 8px !important; font-size: 18px !important; }
.timeline-chart .desc { font-size: 14px; color: #5a6b7f; margin-bottom: 32px; }
.timeline-list { list-style: none; padding: 0; margin: 0; }
.timeline-item { display: grid; grid-template-columns: 52px 22px 1fr; gap: 18px; align-items: start; padding-bottom: 20px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year { text-align: right; font-weight: 900; color: var(--accent); font-size: 16px; padding-top: 1px; letter-spacing: -.02em; }
.timeline-rail { position: relative; align-self: stretch; min-height: 28px; }
.timeline-rail::before { content: ""; position: absolute; left: 50%; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(247,148,29,.18); transform: translateX(-50%); z-index: 1; }
.timeline-rail::after { content: ""; position: absolute; left: 50%; top: 22px; bottom: -20px; width: 2px; background: rgba(247,148,29,.35); transform: translateX(-50%); }
.timeline-item:last-child .timeline-rail::after { display: none; }
.timeline-content { font-size: 15px; line-height: 1.65; color: #2a3441; padding-top: 1px; }
.timeline-content strong { color: #1a2332; font-weight: 700; }

.qa-block { margin: 0 0 44px; }
.qa-block:last-child { margin-bottom: 0; }
.qa-q { font-size: 17px; line-height: 1.55; color: #1a2332; font-weight: 700; margin: 0 0 18px; }
.qa-q .qa-label { color: var(--accent); font-weight: 900; margin-right: 6px; }
.qa-a p { margin-bottom: 14px; }
.qa-a p:last-child { margin-bottom: 0; }

.compare-table { width: 100%; border-collapse: collapse; margin: 32px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); font-size: 15px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; line-height: 1.6; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: #1a2332; color: #fff; font-weight: 800; font-size: 14px; }
.compare-table tbody th { background: rgba(0,0,0,.025); font-weight: 700; color: #1a2332; width: 120px; font-size: 14px; }
.compare-table tbody td { color: #5a6b7f; }
.compare-table tbody td.accent { color: #1a2332; font-weight: 600; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }

.callout-box { background: rgba(0,0,0,.025); border-radius: 10px; padding: 28px 32px; margin: 36px 0; }
.callout-box .label { display: block; font-size: 11px; font-weight: 800; color: #1a2332; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.callout-box p { margin: 0; }

.post-content blockquote { margin: 40px 0; padding: 28px 0; border-top: 1px solid #1a2332; border-bottom: 1px solid #1a2332; font-size: 21px; line-height: 1.55; color: #1a2332; font-weight: 700; text-align: center; font-style: normal; letter-spacing: -.01em; }
.post-content blockquote cite { display: block; margin-top: 16px; font-size: 13px; font-weight: 500; color: #5a6b7f; font-style: normal; }

.faq-list { margin: 24px 0 0; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; margin-bottom: 12px; background: #fff; transition: .25s; }
.faq-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.faq-item h3 { margin: 0 0 10px !important; font-size: 16px !important; color: #1a2332; line-height: 1.5; }
.faq-item h3 .q-mark { color: var(--accent); font-weight: 900; margin-right: 8px; }
.faq-item p { margin: 0; font-size: 15px; color: #2a3441; line-height: 1.7; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.tag-list .tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(247,148,29,.08); color: var(--accent); font-size: 13px; font-weight: 700; }

@media (max-width: 760px) {
  .post-hero { padding: 60px 0 40px; }
  .post-content { padding: 60px 0 80px; }
  .timeline-chart { padding: 28px 22px 24px; }
  .timeline-item { grid-template-columns: 40px 20px 1fr; gap: 14px; }
  .timeline-year { font-size: 14px; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 14px; }
  .compare-table tbody th { width: 96px; }
  .post-content blockquote { font-size: 18px; padding: 22px 0; }
}
