/* Adapted from dohyeon-kr/dohyeon.kr themes/monoliquid. */
@font-face{font-family:Pretendard;src:url('/fonts/pretendard-variable.woff2') format('woff2');font-weight:45 920;font-display:swap}
@font-face{font-family:'Archivo Expanded';src:url('/fonts/archivo-expanded-black-latin.woff2') format('woff2');font-weight:900;font-display:swap}
html:root{--bg:#fff;--paper:#f3f3f3;--text:#000;--muted:#4c4c4c;--line:#000;--accent:#000;--accent-soft:#e5e5e5;--soft:#e5e5e5;--dark:#000;--dark-muted:#c9c9c9;--max:1100px;background:#000}
html body{width:min(1100px,calc(100% - 32px));margin:16px auto;background:#fff;color:#000;font-family:Pretendard,sans-serif;letter-spacing:-.02em;word-break:keep-all;border:1px solid #000}
body .wrap{width:calc(100% - 40px)}
body header{width:100%!important;padding:0;background:#000;color:#fff;position:relative}
body .nav{margin:0;padding:20px;align-items:center;border-bottom:1px solid #000}
body .brand{font-family:'Archivo Expanded',Pretendard,sans-serif;font-size:23px;letter-spacing:-.04em}
body .nav-right{display:flex;gap:0;color:#fff;flex-wrap:wrap}
body .nav-right a{padding:8px 12px;border:1px solid #737373;font-size:12px;font-weight:800}
body .nav-right a:hover{background:white;color:black}
body .hero{min-height:0;padding:56px 0;overflow:visible}
body .eyebrow,body .kicker,body .section-kicker{color:#000;font-size:11px;font-weight:900;letter-spacing:.08em}
body .eyebrow:before{border-radius:0;background:currentColor}
body h1{font-weight:900;letter-spacing:-.055em;line-height:1.05;font-size:clamp(38px,6vw,70px)}
body .section{padding:44px 0;border-top:1px solid #000}
body h2{font-size:clamp(28px,4vw,42px);font-weight:900}
body .head{margin-bottom:24px;gap:24px}
body .button,body .filter,body .tag,body .meta-card,body .feature,body .result,body .callout,body .closing-card,body .case-media figure,body .case-navigation-card{border-radius:0}
body .button,body .filter{border:1px solid #000;font-family:inherit;min-height:44px}
body .button.primary{background:#000 url('/images/theme/blackmetal-pattern.png') center/220px;color:#fff}
body .filter{background:#fff;color:#000;padding:10px 16px;font-weight:800}
body .filter.active,body .filter:hover{background:#000;color:#fff}
body .filters{gap:0;flex-wrap:wrap}
body .toolbar{border:1px solid #000;padding:0;background:#f3f3f3;gap:12px;margin-bottom:16px}
body .count{padding:8px 12px;white-space:nowrap;font-size:12px}
body .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body .card,body .card[data-has-thumb="true"]{display:flex;flex-direction:column;gap:20px;min-height:210px;padding:18px;border:1px solid #000;border-radius:0;background:#f3f3f3;color:#000;box-shadow:none;transition:box-shadow .18s,transform .18s}
body .card[data-has-thumb="true"]::before{position:static;inset:auto;display:block;content:'';width:100%;aspect-ratio:16/9;background:var(--thumb-image) center top/cover;border:1px solid #000;order:1}
body .card .card-top{order:0;border-bottom:1px solid #000;padding-bottom:12px}
body .card>div:nth-child(2){order:2}
body .card .link{order:3;margin-top:auto;font-size:11px;font-weight:900;text-transform:uppercase}
body .card[data-has-thumb="true"] .card-top,body .card[data-has-thumb="true"] .role,body .card[data-has-thumb="true"] .link{color:#4c4c4c}
body .card h3{font-size:24px;line-height:1.2;font-weight:900}
body a.card:hover{transform:translate(-2px,-2px);box-shadow:4px 4px 0 #000}
body .featured{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
body #selected .desc{min-width:0;white-space:normal;word-break:normal;overflow-wrap:anywhere}
body .feature[data-has-thumb="true"] .top{min-width:0;gap:12px;flex-wrap:wrap}
body .feature.feature[data-has-thumb="true"]{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:auto 1fr;gap:12px 20px;min-height:0;padding:12px;background:#f3f3f3!important;color:#000;grid-column:auto;border:1px solid #000}
body .feature[data-has-thumb="true"]::before{position:static;grid-column:2;grid-row:1/3;align-self:center;aspect-ratio:16/10;background:var(--thumb-image) center top/cover;border:1px solid #000;box-shadow:4px 4px 0 #000}
body .feature[data-has-thumb="true"] .top{grid-column:1;grid-row:1;color:#4c4c4c;font-size:11px}
body .feature[data-has-thumb="true"] .body{position:static;inset:auto;min-width:0;grid-column:1;grid-row:2;align-self:start}
body .feature[data-has-thumb="true"] p{color:#4c4c4c;font-size:15px;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:anywhere;line-height:1.65}
body .feature h3{font-size:30px;line-height:1.15}
body .feature .cta{display:inline-block;border:1px solid #000;padding:8px 12px;background:white;margin-top:12px;font-size:11px;text-transform:uppercase}
body .feature:hover .cta{background:black;color:white}
body .section-grid{grid-template-columns:minmax(180px,.28fr) minmax(0,.72fr);gap:36px}
body .content p{font-size:17px;line-height:1.85}
body .meta-grid{gap:0;margin-top:32px}
body .meta-card{border:1px solid #000;min-height:110px}
body .result{border:1px solid #000}
body .closing-card{background:#000 url('/images/theme/blackmetal-pattern.png') center/440px}
body footer{padding:24px 0;border-top:1px solid #000;background:#f3f3f3}
body .footer{gap:20px}
body :focus-visible{outline:3px solid #737373;outline-offset:4px}
body [hidden]{display:none!important}
body.home .hero{width:100%;padding:42px 24px 32px;background:#fff;color:#000;display:grid;grid-template-columns:1.6fr 1fr;gap:32px;align-items:end;border-bottom:0}
body.home .hero h1{font-family:'Archivo Expanded',Pretendard,sans-serif;font-size:clamp(38px,6.1vw,70px);text-transform:uppercase;line-height:.98;letter-spacing:-.055em}
body.home .hero p{color:#4c4c4c;font-size:16px;max-width:340px;margin:0;line-height:1.8}
body.home .hero strong{color:#000}
body.home .hero .eyebrow{color:#000;margin-bottom:28px}
body.home .hero-reel,body.home .hero-dim{display:none}
body.home .hero::after{content:'PRODUCT ENGINEER / DOHYEON JU';grid-column:1/-1;margin:8px -24px -32px;padding:12px 24px;background:#000 url('/images/theme/blackmetal-pattern.png') center/220px;color:white;font-family:'Archivo Expanded',sans-serif;font-size:11px;letter-spacing:.05em}
@media(max-width:720px){html body{width:calc(100% - 16px);margin:8px auto}body .wrap{width:calc(100% - 28px)}body .nav{padding:16px 14px;gap:16px;flex-wrap:wrap}body .brand{font-size:19px}body .nav-right a{padding:8px 10px}body.home .hero{grid-template-columns:1fr;padding:32px 16px 24px;gap:24px}body.home .hero h1{font-size:clamp(34px,9.1vw,64px)}body.home .hero p{max-width:100%}body.home .hero::after{margin:0 -16px -24px;padding:12px 16px;font-size:9px}body .head{display:block}body .desc{margin-top:16px}body .grid{grid-template-columns:1fr}body .feature.feature[data-has-thumb="true"]{grid-template-columns:minmax(0,1fr);gap:12px}body .feature[data-has-thumb="true"]::before{grid-column:1;grid-row:2}body .feature[data-has-thumb="true"] .body{grid-row:3}body .section-grid{grid-template-columns:1fr;gap:24px}body .section-label{position:static}body .toolbar{flex-wrap:wrap}body .filter{padding:8px 11px}body .hero{padding:36px 0}body .meta-grid{grid-template-columns:1fr 1fr}body .meta-card{padding:14px}body .footer{flex-direction:column}}

/* Photo-led covers with a more compact typographic scale. */
body h1{font-size:clamp(34px,4.8vw,56px);line-height:1.1}
body h2{font-size:clamp(25px,3vw,34px);line-height:1.15}
body .content h3{font-size:21px}
body .closing-card h2{font-size:clamp(30px,4vw,44px)}
body .case-navigation-title strong{font-size:clamp(25px,3.4vw,38px);line-height:1.15}
body.home .hero{position:relative;isolation:isolate;overflow:hidden;min-height:460px;padding:36px 24px 64px;background:#000;color:#fff;align-items:end}
body.home .hero h1{font-size:clamp(36px,4.9vw,56px);line-height:1.02}
body.home .hero p{color:#e5e5e5}
body.home .hero strong,body.home .hero .eyebrow{color:#fff}
body.home .hero-reel,body.home .hero-dim{display:block}
body.home .hero-reel{z-index:-2}
body.home .hero-dim{z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.5))}
body.home .hero::after{position:absolute;bottom:0;left:0;right:0;margin:0;padding:12px 24px}
body .feature.feature[data-has-thumb="true"]{display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-height:280px;padding:16px;background:#000 var(--thumb-image) center 16%/cover no-repeat!important;color:#fff}
body .feature[data-has-thumb="true"]::before{position:absolute;inset:0;aspect-ratio:auto;background:linear-gradient(180deg,rgba(0,0,0,.3),rgba(0,0,0,.85));border:0;box-shadow:none}
body .feature[data-has-thumb="true"] .top{position:relative;inset:auto;color:#eee}
body .feature[data-has-thumb="true"] .body{position:relative;inset:auto;align-self:stretch;width:100%;min-width:0}
body .feature h3{font-size:clamp(24px,2.8vw,30px);line-height:1.2;max-width:760px}
body .feature[data-has-thumb="true"] p{color:#e5e5e5;max-width:700px;white-space:normal;word-break:normal;overflow-wrap:anywhere}
body .feature .cta{background:transparent;color:white;border-color:#aaa;margin-top:12px}
body .feature:hover .cta{background:white;color:black}
body .card[data-has-thumb="true"]{min-height:240px;background:#000 var(--thumb-image) center top/cover no-repeat;color:white;gap:16px;padding:16px}
body .card[data-has-thumb="true"]::before{position:absolute;inset:0;width:auto;aspect-ratio:auto;border:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.88))}
body .card[data-has-thumb="true"] .card-top{color:#eee;border-color:#ffffff60}
body .card[data-has-thumb="true"] .role,body .card[data-has-thumb="true"] .link{color:#e5e5e5}
body .card h3{font-size:21px}
body .card[data-has-thumb="true"]>div:nth-child(2){margin-top:auto}
body .card[data-has-thumb="true"] .link{margin-top:0}
@media(max-width:720px){body.home .hero{min-height:440px;padding:28px 16px 60px;gap:24px}body.home .hero h1{font-size:clamp(32px,8.6vw,48px)}body.home .hero::after{padding:12px 16px}body .feature.feature[data-has-thumb="true"]{min-height:280px;padding:12px;gap:24px}body .feature h3{font-size:24px}body .case-navigation-title strong{font-size:28px}}

/* Full-bleed shell; retain fluid gutters within each section. */
html body{width:100%;max-width:none;margin:0;border:0}
body .wrap{width:calc(100% - clamp(32px,5vw,96px));max-width:none}
body header{width:100%}
body .nav{padding-inline:clamp(16px,2.5vw,48px)}
body.home .hero{width:100%;max-width:none;padding-inline:clamp(16px,2.5vw,48px)}
body.home .hero::after{padding-inline:clamp(16px,2.5vw,48px)}
body .section-grid{grid-template-columns:minmax(180px,.28fr) minmax(0,.72fr)}
@media(min-width:1440px){body .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){html body{width:100%;margin:0}body .wrap{width:calc(100% - 32px)}body .section-grid{grid-template-columns:1fr}}

/* Reset thumbnail-grid sizing so cover dimming fills the entire card. */
body .feature.feature[data-has-thumb="true"]{position:relative;isolation:isolate}
body .feature[data-has-thumb="true"]::before{content:'';display:block;position:absolute;inset:0;width:100%;height:100%;align-self:stretch;aspect-ratio:auto;grid-area:auto;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.48) 0%,rgba(0,0,0,.64) 40%,rgba(0,0,0,.88) 100%)}
body .feature[data-has-thumb="true"] .top,body .feature[data-has-thumb="true"] .body{position:relative;z-index:1}

/* Standalone edge-to-edge identity strip and image-layer dimming. */
body.home .hero::after{content:none;display:none}
body.home .hero{padding-bottom:36px}
body.home .identity-strip{display:block;width:100%;margin:0;padding:12px clamp(16px,2.5vw,48px);background:#000 url('/images/theme/blackmetal-pattern.png') center/220px;color:#fff;font-family:'Archivo Expanded',Pretendard,sans-serif;font-size:11px;font-weight:900;letter-spacing:.05em;line-height:1.2}
body .feature.feature[data-has-thumb="true"]{background-image:linear-gradient(180deg,rgba(0,0,0,.48),rgba(0,0,0,.64) 40%,rgba(0,0,0,.88)),var(--thumb-image)!important;background-position:center,center 16%;background-size:cover;background-repeat:no-repeat}
body .feature[data-has-thumb="true"]::before{content:none;display:none}
@media(max-width:720px){body.home .hero{padding-bottom:28px}body.home .identity-strip{font-size:9px}}

/* Compact controls and navigation; metal is a small accent only. */
body .nav{padding-block:12px}
body .brand{font-size:19px}
body .nav-right a{display:inline-flex;align-items:center;justify-content:center;font-size:11px;padding:6px 10px}
body .button{min-height:34px;padding:7px 12px;font-size:12px;line-height:1.4}
body .button.primary{background:#000;color:#fff}
body .filter{min-height:34px;padding:6px 12px;font-size:12px}
body .feature .cta{padding:6px 10px;font-size:11px}
body .closing{padding:32px 0}
body .closing-card{position:relative;padding:24px;background:#000;color:#fff}
body .closing-card::before{content:'';display:block;width:64px;height:8px;margin-bottom:16px;background:#000 url('/images/theme/blackmetal-pattern.png') center/128px}
body .closing-card h2{font-size:clamp(24px,2.2vw,30px);max-width:900px;margin:12px 0 16px;line-height:1.25}
body .closing-card p{font-size:14px;line-height:1.75;margin-bottom:18px;color:#ccc}
body .case-navigation{padding:28px 0}
body .case-navigation-grid{gap:12px}
body .case-navigation-card{min-height:0;padding:18px 20px;gap:14px}
body .case-navigation-meta{font-size:10px;letter-spacing:.05em;gap:12px}
body .case-navigation-title{margin-top:0;gap:12px}
body .case-navigation-title strong{font-size:clamp(20px,1.7vw,26px);line-height:1.25;letter-spacing:-.035em}
body .case-navigation-title span{width:32px;height:32px;font-size:18px}
body .case-navigation-card p{margin:0;padding-top:0;font-size:12px;line-height:1.6}
body .case-navigation-card-next p{color:#ccc}
body.home .identity-strip{background:#000;font-size:10px;padding-block:10px;display:flex;align-items:center;gap:12px}
body.home .identity-strip::before{content:'';flex:0 0 48px;height:12px;background:url('/images/theme/blackmetal-pattern.png') center/96px}
@media(max-width:720px){body .closing-card{padding:18px}body .case-navigation-card{min-height:0;padding:16px}body .case-navigation-title strong{font-size:22px}body .case-navigation-title span{width:30px;height:30px;font-size:17px}body.home .identity-strip{font-size:9px}body .button,body .filter,body .nav-right a{min-height:40px}}

body.home .hero > p{justify-self:end;text-align:right}

/* Center the site on wide displays while retaining full width below 1440px. */
html body{width:100%;max-width:1440px;margin:0 auto}

/* Single shared rules for the archive filter bar. */
body .toolbar{gap:0;align-items:stretch}
body .filters{gap:0;flex-wrap:nowrap;min-width:0;overflow-x:auto}
body .filters .filter{flex:0 0 auto;border:0;border-right:1px solid #000;margin:0}
body .toolbar .count{display:flex;align-items:center;gap:4px;margin-left:auto}
body .nav-right a + a{border-left:0}
@media(max-width:720px){body .toolbar{flex-direction:column;align-items:stretch}body .toolbar .count{margin-left:0;border-top:1px solid #000;padding-block:6px}}

/* Triangle notches at navigation seams, adapted from monoliquid. */
body .nav-right a,body .filters .filter{position:relative}
body .nav-right a + a::before,body .filters .filter + .filter::before{content:'';position:absolute;top:0;left:0;z-index:2;width:0;height:0;border-top:4px solid var(--color-frame,#000);border-right:4px solid transparent;border-bottom:0;border-left:4px solid transparent;transform:translateX(-50%);pointer-events:none}
body .nav-right a + a::before{border-top-color:#a8a8a8}

/* Matching end markers at the bottom of each vertical divider. */
body .nav-right a + a::after,body .filters .filter + .filter::after{content:'';position:absolute;bottom:0;left:0;z-index:2;width:0;height:0;border-top:0;border-right:4px solid transparent;border-bottom:4px solid var(--color-frame,#000);border-left:4px solid transparent;transform:translateX(-50%);pointer-events:none}
body .nav-right a + a::after{border-bottom-color:#a8a8a8}

/* Featured projects: native swipe and keyboard carousel. */
body #selected h2{font-family:'Archivo Expanded',Pretendard,sans-serif;font-size:clamp(24px,3vw,32px)}
body .featured-controls{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:0 0 12px}
body .featured-controls button{display:grid;place-items:center;width:36px;height:34px;padding:0;border:1px solid #000;background:white;color:black;font-size:18px;cursor:pointer}
body .featured-controls button:hover:not(:disabled){background:black;color:white}
body .featured-controls button:disabled{opacity:.3;cursor:default}
body .featured-position{font-size:11px;font-variant-numeric:tabular-nums;font-weight:800}
body .featured{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-padding:0;padding-bottom:8px}
body .featured .feature.feature[data-has-thumb="true"]{flex:0 0 100%;min-width:0;scroll-snap-align:start;min-height:320px}
@media(max-width:720px){body .featured .feature.feature[data-has-thumb="true"]{min-height:300px}body .featured-controls button{width:40px;height:40px}}

/* The narrow main identity strip carries the metal texture. */
body.home .identity-strip{background:#000 url('/images/theme/blackmetal-pattern.png') center/220px}
body.home .identity-strip::before{content:none;display:none}

/* Blog-style metal marquee beneath the personal masthead. */
body.home .hero h1{font-size:clamp(30px,3.8vw,52px);line-height:1.1;overflow-wrap:normal}
body.home .hero .hero-name{display:inline-block;margin-top:8px}
body.home .identity-strip{position:relative;display:block;overflow:hidden;padding:0;line-height:1}
body .identity-marquee{display:flex;width:max-content;animation:identity-marquee 24s linear infinite}
body .identity-marquee-group{display:flex;flex-shrink:0}
body .identity-marquee-group span{display:block;flex-shrink:0;padding:12px 32px;font-size:12px;white-space:nowrap}
body .identity-strip:hover .identity-marquee,body .identity-strip:focus-within .identity-marquee,body .identity-strip.is-paused .identity-marquee{animation-play-state:paused}
body .marquee-toggle{position:absolute;right:0;top:0;bottom:0;width:36px;border:0;border-left:1px solid #777;background:#000;color:#fff;cursor:pointer;font-size:12px}
@keyframes identity-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){body .identity-marquee{animation:none}body .marquee-toggle{display:none}}
@media(max-width:720px){body.home .hero h1{font-size:clamp(26px,6.4vw,40px)}body .identity-marquee-group span{font-size:11px;padding:12px 24px}}

body .featured{scrollbar-width:none;padding-bottom:0}
body .featured::-webkit-scrollbar{display:none}
body .featured-progress{width:100px;height:3px;background:#ddd;overflow:hidden;margin-right:4px}
body .featured-progress span{display:block;width:100%;height:100%;background:#000;transform:scaleX(0);transform-origin:left center}

/* Two identical groups, each wider than the 1440px canvas, like the blog loop. */
body .identity-marquee{animation-duration:32s}
body .identity-marquee-group{min-width:1440px}
