/* 프로젝트 소개 스타일: 홈(index.html)에서 그대로 옮겨 온 규칙. /work/ 상세 페이지에서 씀 (2026-10 개편 4단계) */
.proj{display:grid;grid-template-columns:300px 1fr;gap:56px;align-items:center;padding-block:72px;border-bottom:1px solid var(--line)}
.proj.alt{grid-template-columns:1fr 300px}
.proj.alt .phone{order:2}
.phone{justify-self:center;width:min(280px,100%);aspect-ratio:9/19.5;border-radius:38px;background:var(--device);padding:10px;box-shadow:0 24px 50px rgba(17,23,169,.16),0 6px 14px rgba(27,27,51,.12)}
.phone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:29px;display:block;background:var(--cream)}
.txt{display:flex;flex-direction:column;gap:18px;min-width:0}
.num{font-family:var(--display);font-size:15px;font-weight:500;color:var(--soft);letter-spacing:.2em}
.txt h1,.txt h2{font-family:var(--display);font-size:clamp(34px,5vw,52px);line-height:1;font-weight:700;letter-spacing:.01em;color:var(--ink)}
.kr{font-size:15px;color:var(--soft);margin-top:-8px}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tags span{font-size:13px;background:var(--sky);color:var(--blue);border-radius:999px;padding:2px 12px;font-weight:500}
.story{display:grid;grid-template-columns:72px 1fr;gap:10px 18px;border-top:1px solid var(--line);padding-top:18px}
.story dt{font-family:var(--body);font-size:13px;font-weight:700;letter-spacing:.06em;color:var(--blue);padding-top:4px}
.story dd{margin:0;color:var(--ink)}
.more{font-size:14px}
.story.story-stack{grid-template-columns:1fr;gap:4px}
.story.story-stack dt{letter-spacing:.12em}
.story.story-stack dd{margin-bottom:12px}
.story.story-stack dd:last-child{margin-bottom:0}
.terms{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--soft);line-height:1.6;word-break:keep-all}
.terms-h{font-weight:700;color:var(--soft);font-size:12px;letter-spacing:.04em}
.terms dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:4px 14px}
.terms dt{font-weight:700;color:var(--ink);white-space:nowrap}
.terms dt small{font-weight:400;color:var(--soft);font-size:11px;margin-left:2px}
.terms dd{margin:0}
@media (max-width:560px){.terms dl{grid-template-columns:1fr;gap:0}.terms dd{margin-bottom:6px}}
@media (max-width:820px){.proj,.proj.alt{grid-template-columns:1fr;gap:36px;padding-block:56px}.proj.alt .phone{order:0}.story{grid-template-columns:1fr;gap:2px}.story dd{margin-bottom:10px}}
.oz{display:grid;grid-template-columns:300px 1fr;gap:20px 56px;align-items:center;padding-block:24px 8px}
.oz .txt > h3{font-family:var(--display);font-size:clamp(34px,5vw,52px);line-height:1;font-weight:700;letter-spacing:.01em;color:var(--ink)}
.oz .kr .pill{margin-left:6px}
.oz-lead{font-size:clamp(20px,2.6vw,24px);font-weight:700;line-height:1.5;color:var(--ink);margin-top:10px;word-break:keep-all}
.oz-body{color:var(--soft);font-size:16px;word-break:keep-all}
.oz-more{grid-column:1/-1;border-top:1px solid var(--line);margin-top:12px}
.oz-more summary{list-style:none;cursor:pointer;padding:20px 0 4px;display:flex;justify-content:center}
.oz-more summary::-webkit-details-marker{display:none}
.oz-more summary .open{display:inline-flex;align-items:center;border:1.5px solid var(--blue);color:var(--blue);font-weight:700;font-size:15px;border-radius:999px;padding:10px 22px;transition:background-color .2s ease}
.oz-more summary .open::after{content:" ↓";white-space:pre}
.oz-more[open] summary .open::after{content:" ↑"}
.oz-more summary:hover .open{background:var(--sky)}
.oz-more summary:focus-visible{outline:none}
.oz-more summary:focus-visible .open{outline:2px solid var(--blue);outline-offset:3px}
.oz-more[open] .oz-detail{animation:ozIn .35s ease}
@keyframes ozIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.oz-more[open] .oz-detail{animation:none}}
.oz-detail{padding:28px 0 8px;display:flex;flex-direction:column;gap:24px;word-break:keep-all}
.oz-detail h3,.oz-detail h4{font-size:clamp(20px,2.6vw,24px);font-weight:700;line-height:1.45;color:var(--ink)}
.oz-values{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.oz-values li{display:flex;flex-direction:column;gap:6px;border-top:2px solid var(--blue);padding-top:14px}
.oz-values i{font-style:normal;font-family:var(--display);font-weight:700;color:var(--blue);letter-spacing:.1em;font-size:14px}
.oz-values b{font-size:17px;color:var(--ink)}
.oz-values span{color:var(--soft);font-size:15px;line-height:1.7}
.oz-values span em{font-style:normal;color:var(--ink);font-weight:700}
.oz-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.oz-files s{text-decoration:none;font-size:12px;font-weight:700;color:var(--blue);background:var(--sky);border-radius:999px;padding:3px 10px}
.oz-files s.soon{background:none;border:1px dashed var(--line);color:var(--soft)}
.oz-intent{background:var(--sky);border-radius:14px;padding:18px 22px;color:var(--ink);font-size:16px;line-height:1.75}
.oz-status{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.oz-status .k{font-family:var(--display);font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--blue);margin-bottom:6px}
.oz-status ul{margin:0;padding-left:18px;color:var(--ink);font-size:15px;line-height:1.75}
.oz-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.oz-gallery figure{margin:0;display:flex;flex-direction:column;gap:8px;min-width:0}
.oz-gallery img{width:100%;height:auto;display:block;border-radius:14px;border:1px solid var(--line);background:var(--card)}
.oz-gallery figcaption{font-size:13px;color:var(--soft)}
@media (max-width:820px){.oz{grid-template-columns:1fr;gap:28px}.oz-values,.oz-status{grid-template-columns:1fr;gap:18px}.oz-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin-inline:-20px;padding:0 20px 8px;scrollbar-width:thin}.oz-gallery figure{flex:0 0 72%;max-width:300px;scroll-snap-align:center}}
.ghost{display:inline-flex;align-items:center;gap:8px;border:1.5px solid var(--blue);color:var(--blue);text-decoration:none;font-weight:700;font-size:16px;border-radius:999px;padding:12px 22px}
.ghost:hover{background:var(--sky)}
.fine{color:var(--soft);font-size:14px}
.pill{font-style:normal;font-size:13px;background:var(--sky);color:var(--blue);border-radius:999px;padding:2px 12px;font-weight:500;margin-left:8px;vertical-align:2px;white-space:nowrap}
button.ghost{background:none;font:inherit;font-weight:700;font-size:16px;cursor:pointer}
.res b,.cls summary b,.oz-detail h3,.oz-detail h4,.cls summary .tagline{word-break:keep-all;overflow-wrap:break-word;text-wrap:balance}
.story dd,.terms dd,.intro-me .lede,.oz-status li,.res span,.sec .sub,.fine,.cls summary .lead{text-wrap:pretty}
.share-ic:focus-visible,button.ghost:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.more a{display:inline-block;padding-block:10px;margin-block:-10px}
@media (min-width:600px) and (max-width:820px){.proj .txt,.oz .txt{width:100%;max-width:36em;justify-self:center}}
@media (min-width:821px){.proj{grid-template-columns:280px 1fr}.proj.alt{grid-template-columns:1fr 280px}.oz{grid-template-columns:280px 1fr}}
.ghost,button.ghost{font-size:17px;padding:12.5px 24.5px}
.cta,.ghost,.res,.index a,.share-ic{transition:background-color .2s ease,border-color .2s ease,color .2s ease}
.phone.reveal{opacity:0;transform:translateY(28px) scale(.98);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.phone.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.phone.reveal{opacity:1;transform:none;transition:none}}
#perfectday .kr{text-wrap:balance}
.pd-key{margin:2px 0 0;padding-left:14px;border-left:2px solid var(--blue);color:var(--ink);font-size:17px;font-weight:700;line-height:1.55;word-break:keep-all;text-wrap:balance}
.cls-actions .ghost{min-height:44px;padding:0 20px;font-size:15px}
.oz .txt .oz-more{border-top:0;margin-top:18px}
.oz .txt .oz-more summary{justify-content:flex-start;padding:0}
.oz:has(.oz-more[open]){align-items:start}
.oz .txt .oz-detail{padding-top:28px}
.oz-close{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin-top:4px;background:none;border:1.5px solid var(--blue);color:var(--blue);font:inherit;font-weight:700;font-size:15px;border-radius:999px;padding:10px 22px;cursor:pointer;transition:background-color .2s ease}
.oz-close:hover{background:var(--sky)}
.oz-close:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
#keep .story{max-width:38em;margin:18px 0 8px;display:flex;flex-direction:column;gap:10px;color:var(--soft);font-size:16px;line-height:1.85;word-break:keep-all;text-wrap:pretty}
#keep .story p{margin:0}
@media (max-width:560px){#keep .story{font-size:15px;line-height:1.8}}
.sec h2,.intro-me h2,.others h2,.closing h2,.next-card h3,.oz-detail h3,.oz-detail h4{font-weight:600}
.card b,.cls summary b,.res b,.biz b,.oz-values b,.story dt,.nc-lead,.oz-lead,.pd-key,#class-excel .ex-plan .h,#class-excel .ex-plan li b,#class-excel .ex-fit .h{font-weight:600}
.card span,.lede,.sub,.story p,.story dd,p,dd,li{font-weight:400}
.cta,.ghost,button.ghost,.quick,.cls .quick,.cls-actions .cta,.oz-more summary .open,.cls summary .open,.oz-close,.card span.go,.res span.go{font-weight:600}
.oz-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}
.oz-values li{gap:8px}
.oz-values b{line-height:1.45}
.oz-values span:not(.oz-files){line-height:1.75}
.oz-values .oz-files{margin-top:2px}
@media (max-width:860px){.oz-values{grid-template-columns:1fr;gap:26px}}
.oz-lead{text-wrap:balance}
.oz-body{line-height:1.75;text-wrap:pretty}
.oz .oz-lead{font-size:clamp(24px,3.2vw,30px);line-height:1.35;margin-top:12px}
.oz-hook{color:var(--blue);font-weight:600;font-size:17px;margin-top:-4px}
.oz-keys{margin-top:2px}
.oz-free{font-size:14px;color:var(--soft);line-height:1.7}
.oz-free b{color:var(--blue);font-weight:600;margin-right:8px}
.oz-free b::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--blue);margin-right:7px;vertical-align:2px}
.oz-k{font-family:var(--display);font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--blue);margin:0 0 -14px}
.oz-build,.oz-vision{display:flex;flex-direction:column;gap:20px;border-top:1px solid var(--line);padding-top:28px}
.ozv-body{color:var(--soft);font-size:16px;line-height:1.75;max-width:40em}
.ozv-mods{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ozv-mods li{border:1px dashed var(--line);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:6px;color:var(--soft);font-size:14px;line-height:1.7}
.ozv-mods li.now{border:1.5px solid var(--blue);background:var(--card)}
.ozv-mods .m{font-family:var(--display);font-weight:700;letter-spacing:.12em;color:var(--ink);font-size:15px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ozv-mods .m span{font-family:var(--body);letter-spacing:0;font-size:12px;font-weight:600;color:var(--soft);border:1px dashed var(--line);border-radius:999px;padding:1px 8px}
.ozv-mods .now .m span{color:var(--blue);background:var(--sky);border-color:transparent}
@media (max-width:860px){.ozv-mods{grid-template-columns:1fr;gap:10px}}
.oz-build,.oz-vision{gap:14px}
.oz-build h3,.oz-vision h3,.oz-detail>h3,.oz-build h4,.oz-vision h4,.oz-detail>h4{margin:0}
.oz-k{margin:0 0 -6px}
.ozv-mods{margin-top:6px}
.oz-free b{display:block;margin:0 0 2px}
.oz-detail>.oz-vision:first-child{border-top:0;padding-top:0}
.oz-gallery img{aspect-ratio:420/645;height:auto;object-fit:cover;object-position:top center}
.ozv-mods .q{font-size:16px;font-weight:600;color:var(--ink);line-height:1.45;margin-top:2px;word-break:keep-all;text-wrap:balance}
.oz-up{grid-column:1/-1;display:flex;flex-direction:column;gap:28px;border-top:1px solid var(--line);margin-top:20px;padding-top:32px;word-break:keep-all}
.oz-up section{display:flex;flex-direction:column;gap:10px}
.oz-up h3,.oz-up h4{margin:0;font-size:clamp(19px,2.4vw,22px);font-weight:600;line-height:1.45;color:var(--ink)}
.oz-up .oz-k{margin:0 0 -4px}
.oz-up section>p:not(.oz-k){color:var(--soft);font-size:15px;line-height:1.75;max-width:40em;text-wrap:pretty}
.ozu-list{list-style:none;margin:6px 0 0;padding:0;border-top:1px solid var(--line)}
.ozu-list li{display:grid;grid-template-columns:76px 1fr auto;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px;color:var(--ink)}
.ozu-list i{font-style:normal;font-family:var(--display);font-weight:700;font-size:12px;letter-spacing:.14em;color:var(--blue)}
.ozu-list time,.ozu-list em{font-style:normal;font-family:var(--display);font-size:13px;color:var(--soft);white-space:nowrap}
.ozu-list em{font-family:var(--body);font-size:12px;font-weight:600;border:1px dashed var(--line);border-radius:999px;padding:1px 9px}
.ozu-pair{display:grid;grid-template-columns:1fr 1fr;gap:28px 48px}
.ozu-btn{align-self:flex-start;margin-top:6px;font-size:15px!important;padding:10px 20px!important}
@media (max-width:700px){.ozu-pair{grid-template-columns:1fr}.ozu-list li{grid-template-columns:64px 1fr auto;gap:10px;font-size:14px}}
.phone iframe{display:block;width:100%;height:100%;border:0;border-radius:29px;background:#F6E9D2}
.proj-oz{padding-block:48px;border-bottom:1px solid var(--line)}
@media (min-width:821px){.proj-oz .oz{grid-template-columns:1fr 280px}.proj-oz .oz>.phone{order:2}.proj-oz .oz>.txt{order:1}.proj-oz .oz>.oz-up{order:3}}
.oz-wip{font-size:14px;line-height:1.65;color:var(--ink);background:var(--sky);border-radius:10px;padding:10px 14px;margin-top:10px;word-break:keep-all;text-wrap:pretty}
.work-cta br.m{display:none}
@media (max-width:560px){.work-cta br.m{display:inline}}
.yt{margin-top:26px;padding-top:16px;border-top:1px dashed var(--line);display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:1.65}
.yt-k{margin:0;font-family:var(--display);font-size:11px;font-weight:700;letter-spacing:.24em;color:var(--blue)}
.yt-q{margin:2px 0 0;font-size:16px;font-weight:600;color:var(--ink);text-wrap:balance}
.yt-d{margin:0;color:var(--soft);text-wrap:pretty}
.yt-note{margin:4px 0 0;font-size:13px;color:var(--soft);padding-left:10px;border-left:2px solid var(--line)}
.yt-go{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--blue);font-weight:600;font-size:15px;text-decoration:none}
.yt-go span{transition:transform .2s ease}
@media (hover:hover){.yt-go:hover{text-decoration:underline;text-underline-offset:4px}.yt-go:hover span{transform:translateX(3px)}}
.yt-go:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}
.yt-big{border-top:0;padding:18px 20px 8px;background:var(--card);border:1px solid var(--line);border-radius:16px;gap:6px}
.yt-big .yt-q{font-size:18px}
.yt-steps{list-style:none;margin:8px 0 2px;padding:0;display:flex;flex-direction:column;gap:6px}
.yt-steps li{display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:baseline;font-size:13.5px;color:var(--ink)}
.yt-steps b{font-family:var(--display);font-size:11px;letter-spacing:.14em;color:var(--blue);font-weight:700}
.yt-steps li:first-child span{font-weight:600}
@media (prefers-reduced-motion:reduce){.yt-go span{transition:none}}
.steps-cta h2 br.m{display:none}
@media (max-width:560px){.steps-cta h2 br.m{display:inline}}
.evo{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;border-top:1px solid var(--line)}
.evo li{display:grid;grid-template-columns:96px 1fr;gap:2px 12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14.5px;line-height:1.6}
.evo b{grid-row:1/3;font-size:13px;font-weight:700;color:var(--blue);padding-top:2px}
.evo .was{color:var(--soft);text-decoration:line-through;text-decoration-color:rgba(107,101,119,.45)}
.evo .now{color:var(--ink);font-weight:600}
.evo .now::before{content:"→ ";color:var(--blue);font-weight:700}
.evo-note{margin:10px 0 0;font-size:14px;color:var(--blue);font-weight:600}
@media (max-width:420px){.evo li{grid-template-columns:1fr}.evo b{grid-row:auto}}
.evo-key{display:block;font-size:17px;font-weight:700;color:var(--ink);letter-spacing:-.01em}
