@font-face{font-family:Portfolio;src:url('assets/portfolio-kr.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:Inter;src:url('assets/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}

/* Shared UI roles: type, navigation, and reading surfaces. Project artwork owns its palette. */
:root {
  --site-dark:#07111e;
  --surface-paper:var(--site-dark);
  --surface-panel:#0b1830;
  --text-ink:#f5f7fb;
  --text-secondary:#c8d3e1;
  --text-muted:#a8b8d6;
  --accent-ink:#bdd4f7;
  --line:rgb(174 201 255 / 20%);
  --rule-paper:var(--line);
  --rule-link:#6b8bb8;
  --focus:#c5dbff;
  --paper:var(--text-ink);
  --ink:var(--site-dark);
  --muted:var(--text-muted);
  --ice:var(--accent-ink);
  color-scheme:dark;
  font-family:Portfolio,Inter,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;
  font-synthesis:none;
  background:var(--site-dark);
  color:var(--text-ink);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:32px}
body{margin:0}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;cursor:pointer}
button,a{-webkit-tap-highlight-color:transparent}
button:disabled{cursor:default}
:is(button,a,video,summary):focus-visible{outline:2px solid var(--focus);outline-offset:5px}
::selection{background:#bdd4f7;color:#07111e}
.shell{width:calc(100% - 128px);max-width:1360px;margin-inline:auto}
.skip-link{position:fixed;z-index:20;top:12px;left:12px;background:var(--text-ink);color:var(--site-dark);padding:12px 18px;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0)}
h1{margin:0}
h1>span{display:block}
.headline-phrase{display:inline-block;word-break:keep-all}
h1 em{font-style:normal}

.site-header{height:96px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:4;border-bottom:1px solid var(--line)}
.identity{display:flex;align-items:center;gap:26px}
.name{font-size:26px;font-weight:750;letter-spacing:-1.2px}
.name-dot{color:#91b6ff;padding-left:2px}
.role{font-family:Inter,Portfolio,sans-serif;font-size:12px;line-height:1.35;font-weight:550;letter-spacing:-.1px;color:var(--text-secondary)}
.site-header nav{display:flex;gap:34px;align-items:center;font-size:13px;font-weight:550}
.site-header nav a{display:inline-flex;align-items:center;min-height:44px;transition:color .2s}
.site-header nav a:hover,.site-header nav a[aria-current='page']{color:var(--accent-ink)}
.site-header nav a[aria-current='page']{text-decoration:underline;text-underline-offset:7px}

:is(.text-link,.work-open,.inline-evidence,.back-to-work,.footer-contact,.contact-links a){display:inline-flex;align-items:center;min-height:44px;padding-block:8px;border-bottom:1px solid var(--rule-link);color:var(--accent-ink);font-size:13px;font-weight:550;line-height:1.7;letter-spacing:-.02em}
:is(.text-link,.inline-evidence,.back-to-work,.footer-contact,.contact-links a):hover,:is(.featured-case,.supporting-case):hover .work-open{color:var(--text-ink);border-color:var(--accent-ink)}
.site-footer{display:flex;justify-content:space-between;gap:48px;padding-block:64px 40px}
.site-footer h2{font-size:36px;line-height:1.4;letter-spacing:-.045em;font-weight:600;margin:0 0 24px}
.footer-contact{font-size:clamp(18px,2vw,25px)}
.footer-links{align-self:flex-end;display:flex;flex-wrap:wrap;gap:12px 26px;font-size:13px;max-width:350px;color:var(--text-secondary)}
.footer-links a{display:flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--rule-link)}
.footer-links a:hover{color:var(--accent-ink)}
.site-footer[id='contact']{scroll-margin-top:24px}
.product-media{margin:0;min-width:0}
.video-wrap{position:relative;background:var(--surface-panel);border:1px solid var(--line)}
.video-wrap video{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;background:var(--surface-panel)}
.product-media figcaption{display:flex;justify-content:flex-end;gap:12px;font-size:12px;color:var(--text-muted);align-items:center;padding-top:12px}
.video-toggle{border:0;background:none;color:var(--accent-ink);font-size:12px;min-height:44px;padding:8px 0;cursor:pointer;text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--rule-link)}

/* The overview and detail page use the same native relationship diagram. */
.workflow-map{--flow-line:var(--rule-link);width:100%;position:relative;padding:10px 12px 0;color:var(--text-secondary)}
.flow-sources{position:relative;display:flex;justify-content:space-around;padding-bottom:24px;font-size:13px;text-align:center}
.flow-sources span{position:relative;width:33.333%}
.flow-sources span::after{content:'';position:absolute;width:1px;height:13px;background:var(--flow-line);left:50%;top:calc(100% + 7px)}
.flow-sources::after{content:'';position:absolute;bottom:4px;left:16.666%;right:16.666%;height:1px;background:var(--flow-line)}
.flow-record{position:relative;display:flex;justify-content:center;align-items:center;gap:11px;padding-block:24px 34px}
.flow-record::before{content:'';position:absolute;width:1px;height:20px;left:50%;top:-4px;background:var(--flow-line)}
.flow-record strong{font-size:22px;font-weight:600;letter-spacing:-.04em;color:var(--text-ink)}
.record-mark{display:grid;gap:4px;width:22px}
.record-mark i{display:block;height:2px;width:21px;background:var(--accent-ink)}
.record-mark i:last-child{width:14px}
.flow-process{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.flow-process::before{content:'';position:absolute;height:1px;left:16.666%;right:16.666%;top:29px;background:var(--flow-line)}
.flow-record::after{content:'';position:absolute;width:calc(33.333% - 1px);height:18px;bottom:0;left:16.666%;border-top:1px solid var(--flow-line);border-left:1px solid var(--flow-line)}
.flow-step{display:flex;flex-direction:column;align-items:center;position:relative;gap:13px}
.flow-step+.flow-step::before{content:'';width:6px;height:6px;border-top:1px solid var(--flow-line);border-right:1px solid var(--flow-line);transform:rotate(45deg);position:absolute;top:26px;left:-4px}
.flow-node{width:60px;height:60px;border:1px solid var(--flow-line);background:var(--surface-paper);border-radius:50%;display:grid;place-items:center;position:relative;color:var(--accent-ink)}
.flow-node svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.5}
.flow-step strong{font-size:14px;font-weight:560}
.node-ai{color:var(--text-ink);background:#365e94;border-color:#365e94}
.node-review{border-color:#91b6ff;color:#91b6ff;box-shadow:inset 0 0 0 5px #203e68}

@media(max-width:760px){
  .shell{width:calc(100% - 40px)}
  .site-header{height:81px}
  .identity{gap:12px}
  .name{font-size:23px}
  .role{font-size:9px}
  .site-header nav{gap:6px;font-size:12px}
  .site-header nav a{justify-content:center;min-width:40px}
  .desktop-break{display:none}
  .site-footer{display:block;padding-block:40px 28px}
  .site-footer h2{font-size:30px;margin-bottom:20px}
  .footer-contact{font-size:20px;gap:16px}
  .footer-links{margin-top:32px;gap:8px 26px;font-size:12px}
  .workflow-map{padding:9px 0 0}
  .flow-sources{font-size:12px}
  .flow-record{padding-block:23px 31px}
  .flow-record strong{font-size:21px}
  .flow-node{width:52px;height:52px}
  .flow-process::before{top:25px}
  .flow-step+.flow-step::before{top:22px}
  .flow-step{gap:12px}
  .flow-step strong{font-size:12px;white-space:nowrap}
  .flow-node svg{width:23px;height:23px}
}
@media(max-width:359px){
  .identity{gap:9px}.name{font-size:21px}.role{font-size:8px}
  .site-header nav{font-size:11px;gap:0}.site-header nav a{min-width:34px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{
  :root{--site-dark:white;--surface-paper:white;--surface-panel:#f0f2f4;--text-ink:#14243b;--text-secondary:#536176;--text-muted:#536176;--accent-ink:#203e68;--line:#c8d0d9;--rule-link:#809cc5;color-scheme:light}
}
