/* Static ribbon-cat homepages; shared detail-page styles.css stays unchanged. */
:root{--cream:#fff8f1;--ink:#302a27;--muted:#827970;--coral:#e98c75;--line:#e8dfd5;--sage:#66846d}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:"Noto Sans CJK KR","Noto Sans KR",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #b9523c;outline-offset:6px}
button{background:none;border:0}
.wrap{width:min(1240px,calc(100% - 112px));margin:auto}
.skip{position:absolute;left:16px;top:-80px;background:white;padding:12px;z-index:9}
.skip:focus{top:12px}
.header{height:112px;display:flex;align-items:center;justify-content:space-between;position:relative;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:17px;letter-spacing:.045em}
.brand img{width:62px;height:62px;object-fit:contain}
.nav{display:flex;gap:36px;align-items:center;font-size:13px;font-weight:600}
.nav a:hover,.text-link:hover{color:#b9523c}
.language{font:11px system-ui;letter-spacing:.13em;color:var(--muted);margin-left:38px}
.language a{color:var(--ink)}
.menu{display:none}
.hero{position:relative;display:grid;grid-template-columns:1.03fr 1.05fr;align-items:center;min-height:588px;gap:8px;padding:62px 0 68px}
.eyebrow{font-size:12px;color:#8e7669;letter-spacing:.05em;margin:0 0 25px}
h1{font-size:clamp(40px,4.65vw,67px);font-weight:750;line-height:1.22;letter-spacing:-.065em;margin:0 0 27px;word-break:keep-all}
.lead{font-size:16px;line-height:1.9;word-break:keep-all;margin:0 0 6px}
.english{color:var(--muted);font-size:13px;letter-spacing:.025em;margin:0}
.actions{display:flex;align-items:center;gap:29px;margin-top:32px}
.primary{background:var(--ink);color:#fff8f1;border-radius:9px;padding:17px 22px;font-size:12px;font-weight:600;display:inline-flex;gap:22px;align-items:center;transition:background .2s}
.primary:hover{background:#53433b}
.text-link{font-size:12px;padding:8px 0;border-bottom:1px solid #c9bbb0}
.text-link span{margin-left:12px}
.art{position:relative;aspect-ratio:1.28;isolation:isolate}
.art:before{content:"";position:absolute;inset:7% -5% -4%;background:radial-gradient(ellipse,rgba(255,183,147,.13),transparent 65%);z-index:-1}
.projects{padding:42px 0 0;border-top:1px solid var(--line);scroll-margin-top:28px}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}
h2{font-size:24px;letter-spacing:-.035em;margin:0}
.index{font:10px system-ui;letter-spacing:.1em;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:rgba(255,255,255,.26);transition:transform .25s,border-color .25s}
.card:hover{transform:translateY(-5px);border-color:#d4b5a1}
.banner{display:block;width:100%;height:auto;aspect-ratio:1024/500;object-fit:contain;background:#fff}
.card-body{padding:20px 20px 23px;display:flex;flex-direction:column;flex:1}
.status{font-size:10px;color:#637565;display:flex;align-items:center;gap:6px;margin-bottom:12px}
.status:before{content:"";width:5px;height:5px;border-radius:50%;background:#61917a}
.title-row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.title-row h3{font:650 22px system-ui;margin:0;letter-spacing:-.025em}
.arrow{font-size:21px}
.category{font-size:12px;color:#7c7167;margin:7px 0 16px}
.description{font-size:13px;line-height:1.85;color:#6e625a;word-break:keep-all;margin:0}
.development{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:25px}
.development summary{cursor:pointer;padding:18px 3px;list-style:none;display:flex;justify-content:space-between;font-size:12px}
.development summary::-webkit-details-marker{display:none}
.development summary span{font-size:10px;color:var(--muted);margin-left:15px}
.development summary:after{content:"+";font-size:17px}
.development[open] summary:after{content:"−"}
.dev-links{padding:4px 0 22px;display:flex;gap:35px;font-size:12px;color:#817065}
.story{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:center;padding:74px 0 78px;scroll-margin-top:30px}
.story h2{font-size:30px;line-height:1.5;letter-spacing:-.05em}
.story p{font-size:14px;line-height:2;color:#786b62;word-break:keep-all;margin:0;max-width:540px}
.footer{border-top:1px solid var(--line);padding:28px 0 32px;display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:11px}
.contact{display:flex;gap:30px;align-items:center}
.contact a{border-bottom:1px solid #cbbbaf;padding-bottom:5px}
.copyright{display:flex;gap:12px;align-items:center;color:#8c7f74;font-size:10px}
.copyright img{width:42px;height:42px;object-fit:contain}
.footer-bottom{font-size:10px;color:#968a80;line-height:1.8;padding-bottom:30px}
.footer-bottom a{text-decoration:underline;text-underline-offset:3px;margin-left:14px}

@media(min-width:1600px){.hero{min-height:620px}
}
@media(max-width:1000px){.wrap{width:calc(100% - 64px)}
.nav{gap:22px}
.language{margin-left:10px}
.hero{min-height:530px}
h1{font-size:48px}
.lead{font-size:14px}
.actions{gap:18px}
.cards{gap:16px}
.card-body{padding:16px}
.title-row h3{font-size:20px}
}

@media(max-width:760px){.wrap{width:calc(100% - 40px)}
.header{height:88px}
.brand{font-size:14px;gap:8px}
.brand img{width:50px;height:50px}
.menu{display:block;padding:13px 5px;font-size:12px;letter-spacing:.08em}
.menu:after{content:"☰";margin-left:10px;font-size:18px}
.nav{display:none;position:absolute;top:78px;right:0;left:0;background:#fffcf8;border:1px solid var(--line);border-radius:12px;padding:22px;z-index:5;box-shadow:0 12px 24px #302a2708;flex-direction:column;align-items:stretch;gap:24px}
.nav.open{display:flex}
.language{margin:0;border-top:1px solid var(--line);padding-top:18px}
.hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:43px 0 24px;min-height:0}
.eyebrow{font-size:10px;margin-bottom:21px}
h1{font-size:clamp(37px,8.5vw,55px);line-height:1.27;margin-bottom:23px;letter-spacing:-.063em}
.lead{font-size:13px;max-width:340px;line-height:1.85}
.english{font-size:11px;margin-top:7px}
.actions{gap:24px;margin-top:25px}
.primary{font-size:11px;padding:15px 17px;gap:14px}
.text-link{font-size:11px}
.art{aspect-ratio:1.43;margin:6px -4px 0}
.art:before{inset:7% 0 -4%}
.projects{padding-top:29px}
.section-head{margin-bottom:21px;gap:10px}
h2{font-size:20px}
.index{font-size:8px;letter-spacing:.05em}
.cards{grid-template-columns:1fr;gap:23px}
.card-body{padding:19px 20px 22px}
.title-row h3{font-size:23px}
.category{font-size:12px;margin-bottom:12px}
.description{font-size:13px}
.development{margin-top:25px}
.development summary{font-size:11px}
.development summary span{font-size:9px;margin-left:10px}
.dev-links{gap:20px;flex-wrap:wrap}
.story{grid-template-columns:1fr;gap:24px;padding:53px 0}
.story h2{font-size:28px}
.story p{font-size:13px;line-height:2}
.footer{align-items:flex-start;flex-direction:column;gap:22px;padding-top:25px}
.contact{gap:20px;font-size:10px}
.copyright{gap:9px}
.copyright img{width:35px;height:35px}
.footer-bottom{font-size:9px}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*:before,*:after{animation:none!important;transition:none!important}
}

/* Restored v33 copy uses the existing v34 type scale. */
.section-head .eyebrow{margin-bottom:10px}
.section-description{font-size:13px;line-height:1.85;color:var(--muted);margin:-8px 0 27px}
.card-link{font-size:12px;margin-top:auto;padding-top:18px}
.dev-links.cards{display:grid;gap:23px}
.dev-card .status{color:var(--muted)}
.dev-card .status:before{background:var(--muted)}
.story .eyebrow{font-size:12px;margin-bottom:18px}
.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}
.features h3{font-size:14px;margin:0 0 8px}
.features p{font-size:13px;line-height:1.85}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
.footer-bottom nav{display:flex;flex-wrap:wrap;gap:14px}
.footer-bottom a{margin:0}
html:lang(en) h1{word-break:normal;overflow-wrap:normal}
@media(max-width:760px){.features{grid-template-columns:1fr;gap:18px}
.actions{flex-wrap:wrap;row-gap:14px}
.section-head .eyebrow{margin-bottom:10px}
html:lang(en) h1{overflow-wrap:break-word}
}
.story h2{word-break:keep-all}
.development summary > span{font-size:inherit;color:inherit;margin-left:0}
.ribbon-cat{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
