/* AXcellent 홍보 웹페이지. 색은 AXcellent 화면 색과 브로셔 색을 그대로 쓴다 */
:root {
  /* 간격 3단계: 머리글 아래 설명 16 / 큰 덩어리 40 / 덩어리 안쪽 24 */
  --gap-lead: 16px; --gap-block: 40px; --gap-inner: 24px;
  --t1: clamp(48px, 8vw, 104px); --t2: clamp(40px, 6.4vw, 72px); --t3: clamp(32px, 4.6vw, 54px); --t4: 28px; /* 글자 크기 7단계: 104 / 72 / 54 / 28 / 20 / 16 / 14 */
  --ink: #232345;
  --navy: #14142e;
  --navy-2: #1d1d3a;
  --brand: #5b5bd6;
  --brand-d: #4545b8;
  --gold: #f5c13a;
  --paper: #f4f4fc;
  --soft: #ecebfb;
  --line: #dcdcf0;
  --muted: #6b6b88;
  --white: #fff;
  --radius: 22px;
  --wrap: 1180px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; word-break: keep-all; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* 격자·플렉스 자식이 내용 때문에 화면보다 넓어지지 않게 */
.hero-in > *, .vision > *, .split > *, .turn > *, .cards > *, .point > *, .rules li > *, .facts li > *, .cols > *, .steps > *, .flow, .members > * { min-width: 0; }
body { overflow-x: clip; }

/* ---------- 공통 조각 ---------- */
.pill { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .01em; padding: 6px 14px; border-radius: 999px; background: var(--soft); color: var(--brand-d); }
.pill-gold { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.pill-line { background: transparent; color: #d9d9f5; border: 1px solid rgba(255, 255, 255, .35); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--brand); margin-bottom: 12px; }
.tag { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.h2 { font-size: var(--t3); line-height: 1.16; font-weight: 800; letter-spacing: -.02em; margin-top: 14px; }
.h2.huge { font-size: var(--t2); line-height: 1.1; }
.h2.ink { color: var(--ink); }
.em, .brand { color: var(--gold); }
.brand { color: var(--brand); }
.note { margin-top: var(--gap-inner); font-size: 14px; color: var(--muted); }
.fine { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .68); line-height: 1.7; }
.fine.dark { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.chip { display: inline-block; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--brand-d); margin-right: 8px; white-space: nowrap; }
.chip-solid { background: var(--brand); color: var(--white); }
.chip-soft { background: var(--soft); color: var(--brand-d); }

/* ---------- 머리글 ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; background: #14142e; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-in { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 22px; }
.brand-logo img { height: 28px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { color: #e6e6f8; text-decoration: none; font-size: 16px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: rgba(255, 255, 255, .1); }
.nav a[aria-current="true"] { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }
/* 고정 헤더만큼 띄우는 건 html 의 scroll-padding-top 한 곳에서만 한다 (여기에도 두면 두 번 더해져 앞 구역이 80px쯤 보인다) */
.top-pdf { white-space: nowrap; }
.dl-card { margin-top: var(--gap-inner); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--soft); border-radius: 16px; padding: 20px 24px; }
.dl-body { flex: 1 1 320px; min-width: 0; }
.dl-body h3 { font-size: 20px; color: var(--navy); }
.dl-body p { margin-top: 6px; color: #4a4a68; font-size: 15px; }
.dl-size { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--brand-d); }
.posts-lead { margin-top: var(--gap-lead); max-width: 60ch; color: #4a4a68; }
.vposts { margin-top: var(--gap-block); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 340px)); justify-content: start; gap: 24px; }
.vpost { background: var(--paper); border-radius: 26px; padding: 16px 16px 24px; min-width: 0; }
.vpost-media { position: relative; border-radius: 16px; overflow: hidden; background: #14142e; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.vpost-media video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.vpost-media span { color: #b9b9d8; font-weight: 700; }
.vpost .ai-mark { position: absolute; left: 10px; top: 10px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.vpost h3 { margin-top: 16px; padding: 0 6px; font-size: 20px; font-weight: 800; }
.vpost > p { padding: 0 6px; margin-top: 8px; color: #4a4a68; }
.vpost .badges { padding: 0 6px; margin-top: 8px; }
.vpost-link { display: inline-block; margin: 12px 6px 0; font-weight: 700; color: inherit; }
.vpost-empty { border: 2px dashed var(--line); background: transparent; }
.top-cta { margin-left: auto; display: flex; gap: 8px; }
.menu { display: none; margin-left: auto; background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .4); border-radius: 10px; padding: 7px 14px; font: inherit; font-weight: 700; }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: min(100vh, 900px); display: grid; align-items: center; padding: 120px 0 80px; color: var(--white); background: linear-gradient(100deg, rgba(14, 14, 36, .94) 8%, rgba(14, 14, 36, .72) 52%, rgba(14, 14, 36, .55) 100%), url(assets/hero.webp) center 55% / cover no-repeat, var(--navy); }
.hero-in { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-title { font-size: var(--t1); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin: 22px 0 26px; }
.hero-lead { font-size: clamp(18px, 2.2vw, 20px); font-weight: 500; line-height: 1.55; color: #e9e9fa; }
.hero-lead strong { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hub { width: 100%; max-width: 560px; margin-left: auto; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .35)); }
.hub .spoke { stroke: rgba(190, 190, 245, .55); stroke-width: 1.4; }
.hub .rim { stroke: rgba(150, 150, 220, .25); stroke-width: 1; }
.hub .node circle { stroke: rgba(255, 255, 255, .6); stroke-width: 1.2; }
.hub .node text { font-size: 14px; font-weight: 800; fill: var(--navy); }
.hub .n0 circle { fill: #bfd9f5; } .hub .n1 circle { fill: #f2c6dc; } .hub .n2 circle { fill: #c6e8d0; } .hub .n3 circle { fill: #d9d0f2; } .hub .n4 circle { fill: #f6e3b5; }
.hub .hubnode circle { fill: var(--brand); stroke: #fff; stroke-width: 2; }
.hub .hubnode text { font-size: 20px; font-weight: 800; fill: #fff; }

/* ---------- 구역 공통 ---------- */
.sec { padding: clamp(72px, 10vw, 130px) 0; }
.sec-light { background: var(--white); }
.sec-paper { background: var(--paper); }
.sec-dark { background: var(--navy-2); color: var(--white); }
.sec-night, .sec-cta { position: relative; color: var(--white); background: linear-gradient(rgba(14, 14, 36, .72), rgba(14, 14, 36, .88)), linear-gradient(rgba(52, 52, 140, .34), rgba(52, 52, 140, .34)), var(--img, none) center / cover no-repeat, var(--navy); }
.sec-cta { background: linear-gradient(rgba(14, 14, 36, .66), rgba(14, 14, 36, .86)), linear-gradient(rgba(52, 52, 140, .34), rgba(52, 52, 140, .34)), var(--img, none) center / cover no-repeat, var(--navy); padding: clamp(100px, 14vw, 180px) 0; }

/* ---------- 지향점 ---------- */
.vision { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.points { display: grid; gap: 14px; }
.point { display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: var(--paper); border-radius: var(--radius); padding: 24px 26px; }
.pn { font-size: 28px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.point h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.point p { color: #4a4a68; }

/* ---------- 두 칸(사진 + 내용) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.split.flip .photo-card { order: 0; }
.photo-card { position: relative; min-height: 560px; border-radius: 30px; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; color: var(--white); overflow: hidden; background: linear-gradient(180deg, rgba(14, 14, 36, .05) 25%, rgba(14, 14, 36, .88) 100%), linear-gradient(rgba(52, 52, 140, .34), rgba(52, 52, 140, .34)), var(--img, none) center / cover no-repeat, var(--navy); }
.photo-card.tall { min-height: 640px; }
.photo-card .pill { position: absolute; top: 30px; left: 30px; }
.on-photo { margin: 0; font-size: var(--t3); line-height: 1.1; }
.h2.on-photo, .h2.on-photo.huge { font-size: var(--t4); line-height: 1.3; }
.on-photo-lead { font-size: 16px; color: #e8e8fa; max-width: 34em; }
.on-photo-lead strong { color: #fff; }
.team-body, .a2a-body, .approval-body { background: var(--white); border-radius: 30px; padding: 36px; border: 1px solid var(--line); }

/* ---------- AI 직원 ---------- */
.hubchip { margin: 22px auto 14px; width: fit-content; background: var(--brand); color: var(--white); font-weight: 800; padding: 10px 26px; border-radius: 999px; position: relative; }
.hubchip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 14px; background: var(--brand); }
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.member { border-radius: 16px; padding: 12px 14px; display: grid; gap: 2px; background: var(--soft); }
.member strong { font-size: 16px; }
.member span { font-size: 14px; color: #4a4a68; }
.m0 { background: #e0eefb; } .m1 { background: #f9e1ec; } .m2 { background: #dff1e5; } .m3 { background: #e9e4f8; } .m4 { background: #faf0d3; }
.facts { margin-top: var(--gap-inner); display: grid; gap: 8px; }
.facts li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; background: var(--paper); border-radius: 14px; padding: 12px 16px; }
.facts b { color: var(--brand-d); font-size: 16px; }
.facts span { color: #4a4a68; font-size: 14px; }

/* ---------- 시연 ---------- */
.story-head { max-width: 780px; }
.story-lead { margin-top: var(--gap-lead); font-size: 20px; color: #dedef5; }
.turn { margin-top: var(--gap-block); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-items: center; padding: 38px; border-radius: 30px; background: linear-gradient(135deg, #6a6ae0, #4646b6); box-shadow: 0 30px 70px rgba(10, 10, 40, .4); }
.turn-line { font-size: var(--t4); font-weight: 800; line-height: 1.3; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat .num { font-size: clamp(64px, 9vw, 104px); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -.04em; }
.stat:nth-child(2) .num { color: var(--white); }
.stat .num small { font-size: .36em; margin-left: 6px; color: #fff; letter-spacing: 0; }
.stat .lab { margin-top: 6px; font-weight: 700; font-size: 16px; }
.turn .fine { grid-column: 1 / -1; margin: 0; }
.demo { margin-top: var(--gap-inner); border-radius: 26px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .12); }
.demo video, .demo img { width: 100%; display: block; }
.demo figcaption { padding: 12px 18px; font-size: 14px; color: #d9d9f2; background: rgba(0, 0, 0, .35); }
.steps-card { margin-top: var(--gap-inner); background: var(--white); color: var(--ink); border-radius: 30px; padding: 40px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: var(--gap-inner); }
.step { border-top: 3px solid var(--line); padding: 18px 0 0; position: relative; }
.sn { font-size: 54px; font-weight: 800; color: var(--brand); line-height: 1; display: block; margin-bottom: 4px; }
.step h3 { font-size: 20px; margin-bottom: 12px; }
.step ul { display: grid; gap: 12px; }
.step li { font-size: 14px; color: #3f3f5e; line-height: 1.55; }
.step li .chip { display: table; margin: 0 0 4px; font-size: 14px; }

/* ---------- A2A ---------- */
.flows { display: grid; gap: 14px; margin-top: var(--gap-inner); }
.flow { background: var(--paper); border-radius: 18px; padding: 16px 18px; }
.who { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.who .chip { margin: 0; font-size: 14px; padding: 5px 12px; }
.arrow { color: var(--brand); font-weight: 800; }
.flow p { color: #3f3f5e; font-size: 16px; }
.callout { margin-top: var(--gap-inner); background: var(--soft); border-radius: 16px; padding: 18px 22px; color: var(--brand-d); font-weight: 700; }

/* ---------- 승인 ---------- */
.rules { display: grid; gap: 12px; margin-top: var(--gap-inner); }
.rules li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: var(--paper); border-radius: 18px; padding: 16px 18px; }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 800; }
.rules h3 { font-size: 16px; margin-bottom: 3px; }
.rules p { color: #4a4a68; font-size: 16px; }
.shot { margin-top: var(--gap-inner); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 14px 40px rgba(40, 40, 120, .12); }
/* 캡처에 width·height 속성이 있어서 폭만 100%로 두면 높이가 속성값(280px)에 고정돼 세로로 늘어난다. 높이는 비율대로 자동 */
.shot img { width: 100%; height: auto; }
.shot figcaption { display: grid; gap: 4px; padding: 14px 18px 18px; font-size: 14px; color: #4a4a68; }
.shot b { color: var(--ink); font-size: 16px; }
.shot em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--brand-d); }

/* ---------- 얻는 것 ---------- */
.cols { margin-top: var(--gap-block); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.col { position: relative; min-height: 480px; border-radius: 26px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; background: linear-gradient(180deg, rgba(14, 14, 36, .28) 10%, rgba(14, 14, 36, .94) 78%), linear-gradient(rgba(52, 52, 140, .34), rgba(52, 52, 140, .34)), var(--img, none) center / cover no-repeat, var(--navy); }
.col .pill { align-self: flex-start; margin-bottom: auto; }
.col h3 { font-size: var(--t4); line-height: 1.2; font-weight: 800; }
.col p { color: #dcdcf2; font-size: 16px; }
/* 어두운 사진 위 라벨이라 흰 글자여야 읽힌다 (위 .col p 의 색이 라벨에 먹지 않게) */
.col p.pill { color: #fff; }

/* ---------- 고객사 ---------- */
.cards { margin-top: var(--gap-block); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.cust { background: var(--paper); border-radius: 26px; padding: 18px 18px 26px; width: 100%; margin-inline: auto; }
.cust img { border-radius: 16px; border: 1px solid var(--line); width: 100%; height: auto; margin-bottom: 18px; }
.cust h3 { font-size: 28px; font-weight: 800; padding: 0 8px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 8px 8px; }
.badge { font-size: 14px; font-weight: 700; background: var(--soft); color: var(--brand-d); padding: 4px 12px; border-radius: 999px; }
.badge-warn { background: #fff1d0; color: #8a5a00; }
.cust > p:last-child { padding: 0 8px; color: #4a4a68; }

/* ---------- 마지막 ---------- */
.sec-cta .h2 { max-width: 12em; }
.cta-lead { margin-top: var(--gap-lead); font-size: 20px; color: #e4e4f8; max-width: 34em; }
.cta-note { margin-top: 16px; color: #e4e4f8; font-weight: 600; }
.foot { background: var(--navy); color: #b9b9d6; padding: 36px 0; font-size: 14px; }
.foot-in { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.foot img { height: 24px; width: auto; }

/* ---------- 움직임 ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- 좁은 화면 ---------- */
@media (max-width: 980px) {
  .hero-in, .vision, .split, .turn, .cards { grid-template-columns: minmax(0, 1fr); }
  .hub { margin: 10px auto 0; max-width: 460px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .col { min-height: 340px; }
  .photo-card, .photo-card.tall { min-height: 420px; }
  .top-cta { margin-left: auto; order: 1; }
  .top-cta .btn-ghost { display: none; }
  .menu { margin-left: 8px; order: 2; display: inline-block; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #14142e; padding: 10px 20px 18px; margin: 0; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; }
}
@media (max-width: 560px) {
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .members > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .case .case-empty { min-height: 0; padding: 14px 16px; }
  .shot-wide { overflow-x: auto; }
  .shot-wide img { width: 720px; max-width: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-body, .a2a-body, .approval-body, .steps-card { padding: 22px; }
  .turn { padding: 24px; }
  .hero-title { font-size: 48px; }
  .btn { width: 100%; }
  .hero-cta .btn { width: auto; flex: 1 1 100%; }
}

/* ---------- 고객사 마케팅 사례 ---------- */
.cases-lead { margin-top: var(--gap-lead); max-width: 46em; color: #3f3f5e; font-size: 18px; }
.loop { margin-top: var(--gap-block); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.loop-step { position: relative; display: grid; gap: 4px; align-content: start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 18px; }
.loop-step .ln { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.loop-step b { font-size: 16px; margin-top: 4px; }
.loop-step span:not(.ln) { font-size: 13.5px; color: #4a4a68; line-height: 1.55; }
.loop-step em { margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: #8a5a00; background: #fff1d0; border-radius: 999px; padding: 3px 10px; width: fit-content; }
.case-cards { margin-top: var(--gap-inner); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.case h3 { font-size: 24px; font-weight: 800; }
.case-sum { color: #4a4a68; }
.case-empty { min-height: 180px; border: 2px dashed var(--line); border-radius: 18px; display: grid; place-items: center; color: var(--muted); font-weight: 700; background: var(--paper); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.post { border: 0; border-radius: 0; overflow: visible; background: transparent; }
.post img { border-radius: 14px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.post-b { padding: 10px 2px 0; display: grid; gap: 6px; font-size: 14px; color: #3f3f5e; }
.post-d { font-size: 14px; color: var(--muted); font-weight: 700; }
.metrics { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; }
.metrics div { display: flex; gap: 6px; }
.metrics dt { color: var(--muted); font-size: 12px; } .metrics dd { margin: 0; font-weight: 800; font-size: 13px; }
@media (max-width: 980px) { .loop { grid-template-columns: minmax(0, 1fr); } .case-cards { grid-template-columns: minmax(0, 1fr); } }
.measured { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }

.post-ig { font-weight: 700; color: var(--brand-d); }
.post-ai { justify-self: start; font-size: 14px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--brand-d); }

.a2a-head { display: grid; gap: 4px; max-width: 46em; }
.a2a-lead { margin-top: var(--gap-lead); font-size: 20px; color: #3f3f5e; }
.flows-wide { grid-template-columns: repeat(3, 1fr); margin-top: var(--gap-block); }
.flows-wide .flow { background: var(--white); border: 1px solid var(--line); }
.shot-wide { max-width: 980px; margin: var(--gap-block) auto 0; }
@media (max-width: 980px) { .flows-wide { grid-template-columns: minmax(0, 1fr); } }

/* 사례 칸 게시물 카드(준하 님 시안 3-1, #1327). 이미지는 인스타 피드 비율(4:5)로 보이고 캡션 줄바꿈은 그대로 둔다. style.css 끝에 붙인다(기존 .posts·.post 규칙을 덮어쓴다). 시안: instagram/proposal/README.md */
.case .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.post { display: flex; flex-direction: column; }
.post-thumb { position: relative; display: block; line-height: 0; }
.post-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.post-kind { position: absolute; right: 10px; top: 10px; background: rgba(20, 20, 46, .78); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; padding: 4px 10px; border-radius: 999px; }
.post-ai-on { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); color: var(--brand-d); font-size: 13px; font-weight: 700; line-height: 1.2; padding: 4px 10px; border-radius: 999px; }
.post-b { flex: 1; align-content: start; }
.post-cap { margin: 0; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-ig { margin-top: auto; padding-top: 4px; }
@media (max-width: 420px) { .case .posts { grid-template-columns: minmax(0, 1fr); } }
.ig-group { margin-top: var(--gap-block); display: grid; gap: 14px; }
.ig-group h3 { font-size: 24px; font-weight: 800; }
/* 콘텐츠 칸 인스타 게시물: 인스타 피드 비율(가로 4 : 세로 5)로 한 줄에 3개씩 보인다.
   3개를 넘으면 처음에는 3개만 보이고(.is-collapsed), 세 번째 오른쪽 화살표(.posts-more)를 눌러야 나머지가 보인다 */
.posts-wrap { display: flex; align-items: flex-start; gap: 16px; }
.ig-group .posts { flex: 1; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ig-group .post { background: var(--paper); border-radius: 26px; padding: 16px 16px 24px; min-width: 0; }
.ig-group .post-thumb { border-radius: 16px; overflow: hidden; }
.ig-group .post-thumb img { aspect-ratio: 4 / 5; border-radius: 0; }
.ig-group .posts.is-collapsed .post:nth-child(n+4) { display: none; }
/* 홍보 영상 칸: 앞의 2개만 보이고 오른쪽 화살표를 눌러야 나머지(가로 영상)가 보인다. 화살표 버튼은 인스타 게시물과 같은 것을 쓴다 */
.vposts-wrap { margin-top: var(--gap-block); }
.vgroup-h + .vposts-wrap { margin-top: 16px; }
.vposts-wrap .vposts { flex: 1; min-width: 0; margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.vposts-wrap .vpost-wide { grid-column: auto; }
/* 앞의 2개는 틀을 같은 정사각형으로 맞춘다(세로 영상은 좌우가 검게 남는다). 펼쳐서 나오는 가로 영상은 16:9 그대로 */
.vposts-wrap .vpost:nth-child(-n+2) .vpost-media { aspect-ratio: 1 / 1 !important; }
.vposts.is-collapsed .vpost:nth-child(n+3) { display: none; }
@media (max-width: 780px) {
  .vposts-wrap .vposts { grid-template-columns: minmax(0, 1fr); }
  .vposts-wrap .vpost:nth-child(-n+2) .vpost-media { aspect-ratio: auto !important; }
}
.posts-more { flex: none; align-self: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d9d9ee; background: #fff; color: var(--brand-d); font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(20, 20, 46, .12); }
.posts-more[hidden] { display: none; }
.posts-more:hover { background: var(--paper); }
.posts-more:focus-visible { outline: 3px solid var(--brand-d); outline-offset: 2px; }
.posts-more span { display: block; transform: translateY(-2px); }
.posts-more[aria-expanded="true"] span { transform: translateY(-2px) rotate(180deg); }
@media (max-width: 780px) {
  .posts-wrap { flex-direction: column; align-items: stretch; }
  .ig-group .posts { grid-template-columns: minmax(0, 1fr); }
  .posts-more { align-self: center; }
  .posts-more span { transform: translateY(-2px) rotate(90deg); }
  .posts-more[aria-expanded="true"] span { transform: translateY(-2px) rotate(-90deg); }
}

.vgroup-h { margin-top: var(--gap-block); }
.vgroup-h h3 { font-size: 24px; font-weight: 800; }
.vgroup-h + .vposts { margin-top: 16px; align-items: start; }
/* 고객사 홍보 영상 칸: 고객사 이름(.cv-h) 아래에 영상이 칸 폭을 채워 2열로 나란히 보인다 */
.cv-group { margin-top: 16px; display: grid; gap: 14px; }
.cv-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cv-h h4 { font-size: 20px; font-weight: 800; }
.cv-h .badges { margin: 0; }
.cv-group .vposts { margin-top: 0; }
.vposts-two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.vposts-two .vpost-wide { grid-column: auto; }
@media (max-width: 780px) { .vposts-two { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 780px) { .vpost-wide { grid-column: span 2; } }
/* 마케팅 AI가 만든 영상 칸: 세로(9:16) 영상을 한 줄에 4개. 4개를 넘으면 화살표로 펼친다. 좁은 화면은 옆으로 넘겨 본다 */
.mk-lead { margin-top: 6px; color: #4a4a68; }
.mk-wrap { margin-top: 16px; }
.mk-grid.vposts { flex: 1; min-width: 0; margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.mk-card.vpost { border-radius: 22px; padding: 10px 10px 16px; }
.mk-card .vpost-media { aspect-ratio: 9 / 16; }
.mk-card.vpost h3 { margin-top: 12px; font-size: 17px; }
.mk-card .badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mk-len { font-size: 14px; color: #6a6a86; }
.mk-grid.is-collapsed .vpost:nth-child(n+3) { display: block; }
.mk-grid.is-collapsed .vpost:nth-child(n+5) { display: none; }
/* 사람이 고른 영상(최대 3개): 한 줄에 3개, 카드 아래에 제작 과정 그림 */
.mk-feed { margin-top: 16px; }
.mk-grid.mk-three.vposts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-made { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mk-made a { display: grid; gap: 4px; justify-items: center; color: #4a4a68; font-size: 14px; text-decoration: none; }
.mk-made img { width: 100%; height: 96px; object-fit: contain; background: #fff; border: 1px solid #d9d9ee; border-radius: 12px; display: block; }
/* 대표 사례의 제작 과정: 캐릭터 시트 → 스토리보드 → 사람 승인 → 완성 영상 */
.mk-process { margin-top: 24px; background: var(--paper); border-radius: 26px; padding: 24px; }
.mk-process-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.mk-process-h h4 { font-size: 20px; font-weight: 800; }
.mk-process-h span { color: #6a6a86; }
.mk-steps { list-style: none; margin: 16px 0 0; padding: 0; display: flex; align-items: flex-start; gap: 14px; }
.mk-step { flex: 1; min-width: 0; }
.mk-step.mk-final { flex: none; width: 202px; }
.mk-shot { position: relative; height: 360px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #d9d9ee; display: grid; place-items: center; }
.mk-shot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mk-final .mk-shot { background: #000; border: 3px solid var(--brand-d); }
.mk-shot video { width: 100%; height: 100%; object-fit: contain; display: block; }
.mk-shot .ai-mark { position: absolute; left: 8px; top: 8px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 999px; }
.mk-step h5 { margin-top: 10px; font-size: 17px; font-weight: 800; }
.mk-step p { margin-top: 2px; color: #4a4a68; font-size: 15px; }
.mk-link { flex: none; height: 360px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; color: #6a6a86; font-size: 24px; }
.mk-approval em { font-style: normal; font-size: 14px; font-weight: 800; color: #6b4a00; background: #ffe9ad; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 780px) {
  .mk-grid.vposts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; }
  .mk-grid .mk-card { flex: 0 0 66%; scroll-snap-align: start; }
  .mk-grid.is-collapsed .vpost:nth-child(n+5) { display: block; }
  .mk-wrap .posts-more { display: none; }
  .mk-process { padding: 16px; }
  .mk-steps { flex-direction: column; align-items: stretch; }
  .mk-step.mk-final { width: min(100%, 240px); align-self: center; }
  .mk-shot { height: auto; min-height: 160px; }
  .mk-final .mk-shot { aspect-ratio: 9 / 16; }
  .mk-link { height: auto; }
  .mk-link span { transform: rotate(90deg); }
}

.top-cta .btn { white-space: nowrap; }
