/* Shared portfolio presentation. Static first, with native document navigation. */
:root { --bg-color: #101211; --text-color: #f0f1ec; --primary-color: #b8e986; --line: #343833; --muted: #aab0a8; --header-height: 88px; }
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); scrollbar-gutter: stable; }
body { font-weight: 400; line-height: 1.6; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 6px; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 3000; background: var(--primary-color); color: #101211; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { height: var(--header-height); position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 16px 4vw; z-index: 1100; background: #101211; border-bottom: 1px solid var(--line); }
.site-wordmark { font-size: 23px; font-weight: 550; letter-spacing: .11em; text-decoration: none; white-space: nowrap; }
.site-wordmark span { color: var(--primary-color); }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); margin-left: auto; }
.desktop-nav a { font-size: 14px; text-decoration: none; padding: 10px 0; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--primary-color); }
.header-actions { display: none; align-items: center; }
/* Also hide controls in any older cached page shell while Korean is paused. */
.site-header .language-switcher-header, .site-header .lang-btn { display: none; }
.site-header .menu-toggle { display: none; position: relative; inset: auto; width: 44px; height: 44px; padding: 10px; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 0; }
.menu-icon { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.nav-overlay { background: #101211; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.nav-overlay.active { visibility: visible; }
.site-footer { border-top: 1px solid var(--line); padding: 30px 4vw; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; }
.site-footer .site-wordmark { color: var(--text-color); }
.site-footer p { margin: 0 auto 0 0; }
.site-footer a { text-decoration: none; }
.site-footer small { font-size: 12px; }
.portfolio-hero { position: relative; min-height: max(640px, calc(100svh - var(--header-height))); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px 4vw 26px; }
.hero-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(8,12,10,.75), rgba(8,12,10,.06) 78%), linear-gradient(0deg, rgba(8,12,10,.93), transparent 75%); }
.hero-topline, .hero-footline { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; letter-spacing: .13em; }
.hero-topline { position: absolute; top: 28px; left: 4vw; right: 4vw; }
.hero-topline span:last-child { color: var(--primary-color); }
.hero-statement { padding: 120px 0 65px; max-width: 900px; }
.eyebrow { display: block; font-size: 12px; letter-spacing: .12em; line-height: 1.7; color: var(--muted); font-weight: 450; }
.hero-statement .eyebrow { color: var(--primary-color); text-transform: uppercase; margin: 0 0 22px; }
.hero-statement h1 { margin: 0; font-size: clamp(48px, 7.6vw, 120px); font-weight: 450; letter-spacing: -.055em; line-height: 1.04; }
.hero-statement h1 span { display: block; }
.hero-description { max-width: 430px; font-size: 17px; line-height: 1.7; color: #d1d5cd; margin: 30px 0 0; }
.hero-footline { border-top: 1px solid #62695b; padding-top: 22px; }
.hero-footline a { text-decoration: none; letter-spacing: 0; font-size: 14px; }
.material-hero { min-height: max(620px, calc(100svh - var(--header-height))); }
.material-hero .hero-art { z-index: -4; object-position: 64% center; }
.material-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; pointer-events: none; opacity: 0; }
.material-hero[data-motion-ready] .material-canvas { opacity: 1; }
.material-hero .hero-shade { background: linear-gradient(90deg, rgba(16,18,17,.3), transparent 68%), linear-gradient(0deg, rgba(16,18,17,.8), transparent 45%); }
.material-hero .hero-statement { max-width: 740px; padding: 180px 0 clamp(110px, 16vh, 190px); }
.material-hero .hero-statement h1 { font-size: clamp(38px, 3.6vw, 58px); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
.material-hero .hero-description { max-width: none; font-size: clamp(17px, 1.5vw, 22px); margin-top: 18px; }
.hero-links { display: flex; gap: 40px; margin-top: 36px; }
.hero-links a { font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--primary-color); padding: 10px 0; }
.material-hero .hero-footline { align-items: center; min-height: 67px; padding-top: 14px; border-color: var(--line); }
.motion-toggle { color: var(--muted); background: rgba(16,18,17,.75); border: 1px solid var(--line); min-height: 44px; padding: 8px 14px; font-size: 14px; letter-spacing: 0; }
.motion-toggle:hover { color: var(--text-color); border-color: var(--muted); }
.portfolio-section { padding: 96px 4vw; border-bottom: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 160px 1fr auto; align-items: baseline; gap: 24px; margin-bottom: 52px; }
.section-index { font-size: 12px; letter-spacing: .14em; color: var(--primary-color); }
.section-intro h2 { font-size: clamp(28px, 3.2vw, 48px); font-weight: 400; line-height: 1.2; letter-spacing: -.03em; margin: 0; }
.text-link { font-size: 14px; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.work-composition { display: grid; grid-template-columns: 1.45fr 1fr; gap: 6vw; align-items: start; }
.featured-work { text-decoration: none; display: block; }
.work-image { overflow: hidden; background: #1c201b; aspect-ratio: 1.25; }
.work-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.work-caption { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; gap: 20px; }
.work-caption h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 400; letter-spacing: -.02em; margin: 8px 0 0; }
.work-caption > span { font-size: 28px; color: var(--primary-color); }
.section-description { font-size: clamp(20px, 2.1vw, 30px); font-weight: 350; line-height: 1.5; margin: 0 0 40px; color: #c8cdc3; }
.directory-row { display: grid; grid-template-columns: 1fr auto; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; gap: 8px; }
.directory-row .eyebrow { grid-column: 1 / -1; }
.directory-row h3 { font-size: 22px; font-weight: 400; line-height: 1.35; margin: 0; }
.directory-row:hover h3, .research-list a:hover h3, .note-feature:hover h3, .featured-work:hover h3 { color: var(--primary-color); }
.directory-row > span:last-child { color: var(--primary-color); font-size: 22px; }
.research-feature { background: #171d17; }
.research-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8vw; }
.research-statement { font-size: clamp(28px, 3.5vw, 50px); line-height: 1.25; letter-spacing: -.035em; font-weight: 350; margin: 0; max-width: 480px; color: #c5d5bb; }
.research-list a { display: grid; grid-template-columns: 30px 1fr auto; align-items: baseline; gap: 20px; padding: 26px 0; border-bottom: 1px solid #3d4938; text-decoration: none; }
.research-list a:first-child { padding-top: 0; }
.research-list h3 { font-size: clamp(20px, 2vw, 28px); line-height: 1.35; font-weight: 400; margin: 0; }
.row-index { font-size: 12px; color: var(--muted); }
.note-feature { display: block; position: relative; padding: 0 80px 0 184px; text-decoration: none; }
.note-feature h3 { max-width: 920px; font-size: clamp(26px, 3.6vw, 54px); letter-spacing: -.025em; font-weight: 400; line-height: 1.25; margin: 20px 0 0; }
.note-arrow { position: absolute; right: 0; top: 25px; font-size: 42px; color: var(--primary-color); }
.collaboration-section { padding: 90px 4vw 100px; background: var(--primary-color); color: #15200e; }
.collaboration-section .eyebrow { color: #354b24; }
.collaboration-section h2 { font-size: clamp(30px, 5vw, 72px); line-height: 1.2; font-weight: 450; letter-spacing: -.04em; margin: 18px 0 30px; }
.collaboration-section a { display: inline-block; font-size: 20px; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.content-page { padding: 64px 4vw 90px; min-height: 65vh; }
.content-container { max-width: 1500px; padding: 0; }
.content-header { margin-bottom: 50px; text-align: left; }
.content-header h1 { font-size: clamp(42px, 6vw, 84px); font-weight: 450; letter-spacing: -.045em; }
.content-header p { font-size: 18px; line-height: 1.7; color: var(--muted); }
.category-section { margin-bottom: 72px; }
.category-title { font-size: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-weight: 400; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.showcase-card { display: block; width: auto; min-width: 0; border: none; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; opacity: 1; transform: none; text-decoration: none; }
.showcase-card:hover { transform: none; box-shadow: none; }
.showcase-card .card-image { aspect-ratio: 1.5; width: 100%; height: auto; object-fit: cover; border-radius: 0; }
.showcase-card .card-content { padding: 20px 0; }
.showcase-card .card-title { color: var(--text-color); font-size: 22px; font-weight: 450; }
.showcase-card .card-description { color: var(--muted); font-size: 16px; line-height: 1.65; }
.showcase-card:hover .card-title { color: var(--primary-color); }
.post-container { max-width: 1280px; margin: 0 auto; }
#post-detail { font-size: 18px; line-height: 1.85; font-weight: 400; min-width: 0; max-width: 820px; }
#post-detail h1 { font-size: clamp(32px, 4vw, 54px); line-height: 1.2; letter-spacing: -.03em; }
#post-detail h2 { margin-top: 2.3em; line-height: 1.35; font-size: 28px; }
#post-detail h3 { font-size: 22px; line-height: 1.4; }
#post-detail p, #post-detail li { color: #cdd2c8; }
#post-detail img { display: block; width: auto; max-width: 100%; height: auto; }
#post-detail pre { white-space: pre; overflow: auto; background: #1d221c; padding: 24px; font-size: 14px; }
#post-detail table { display: block; overflow-x: auto; max-width: 100%; }
.toc-container { top: calc(var(--header-height) + 24px); max-height: calc(100svh - var(--header-height) - 48px); }
.translation-notice, .content-notice { padding: 12px 16px; border-left: 2px solid var(--primary-color); color: var(--muted); font-size: 14px; }
.mission-simple { max-width: 780px; margin: auto; text-align: center; }
.mission-text { font-size: 18px; line-height: 1.85; color: var(--muted); }
.mission-heading { color: var(--text-color); }
@media (min-width: 1700px) { .portfolio-hero { min-height: 880px; } }
@media (max-width: 1000px) { .desktop-nav { gap: 16px; } .site-header { gap: 20px; } .section-intro { grid-template-columns: 1fr auto; } .section-index { grid-column: 1 / -1; } .note-feature { padding-left: 0; } .work-composition { gap: 32px; } .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
    :root { --header-height: 76px; }
    .site-header { padding: 14px 20px; } .desktop-nav { display: none; } .header-actions { display: flex; margin-left: auto; } .site-header .menu-toggle { display: flex; align-items: center; justify-content: center; } .site-wordmark { font-size: 20px; }
    .portfolio-hero { min-height: calc(100svh - var(--header-height)); padding: 26px 22px 22px; } .hero-topline { left: 22px; right: 22px; font-size: 12px; letter-spacing: .09em; top: 24px; } .hero-statement { padding: 190px 0 48px; } .hero-statement h1 { font-size: clamp(43px, 10vw, 68px); } .hero-description { font-size: 16px; max-width: 350px; } .hero-art { object-position: 60% center; } .hero-footline { font-size: 12px; align-items: center; } .hero-footline a { font-size: 12px; }
    .portfolio-section { padding: 60px 22px; } .section-intro { margin-bottom: 32px; gap: 16px; } .section-intro h2 { grid-column: 1 / -1; } .section-intro .text-link { justify-self: start; } .work-composition, .research-layout { grid-template-columns: 1fr; gap: 36px; } .work-image { aspect-ratio: 1.2; } .section-description { font-size: 22px; margin-bottom: 28px; } .research-list h3 { font-size: 20px; } .research-list a { gap: 12px; } .note-feature { padding-right: 40px; } .note-arrow { font-size: 30px; } .collaboration-section { padding: 60px 22px; }
    .content-page { padding: 42px 22px 60px; } .project-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } #post-detail { font-size: 17px; } .site-footer { padding: 30px 22px; gap: 20px; } .site-footer p { flex-basis: 100%; order: 2; } .site-footer small { order: 3; width: 100%; } .site-footer > a:nth-of-type(2) { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 720px) {
    .material-hero { min-height: max(620px, calc(100svh - var(--header-height))); }
    .material-hero .hero-art { object-position: 60% center; }
    .material-hero .hero-shade { background: linear-gradient(0deg, #101211 2%, rgba(16,18,17,.92) 26%, rgba(16,18,17,.18) 68%, transparent); }
    .material-hero .hero-statement { max-width: 460px; padding: 230px 0 50px; }
    .material-hero .hero-statement h1 { max-width: 350px; font-size: clamp(38px, 8.7vw, 52px); }
    .material-hero .hero-description { max-width: 300px; line-height: 1.65; }
    .hero-links { gap: 28px; margin-top: 20px; }
}
