:root {
  color-scheme: light;
  --ink: #1c1c1a;
  --muted: #777771;
  --line: #e9e8e3;
  --paper: #fff;
  --measure: 1240px;
  --project-row-gap: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Georgia, "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  font-size: 16px; line-height: 1.72; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #777; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 10; padding: 8px 12px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-bar {
  width: min(1320px, calc(100% - 80px)); min-height: 58px; margin: 0 auto;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 38px);
  border-bottom: 1px solid var(--line); font: 11px Arial, "Noto Sans KR", sans-serif; letter-spacing: .025em;
}
.wordmark { text-decoration: none; white-space: nowrap; }
.site-bar nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2.4vw, 30px); margin-left: auto; }
.site-bar nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-bar nav a:hover { color: var(--ink); }
.page-shell { width: min(var(--measure), calc(100% - 80px)); margin: 0 auto; }
.masthead { width: min(760px, 100%); margin: 0 auto; padding: 60px 0 63px; text-align: left; }
.masthead h1 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 40px); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
.intro-content { max-width: 760px; margin: 0; }
.intro-content > p { margin: 9px 0; }
.intro-content > figure { margin: 27px 0 21px; }
.intro-content .media-figure img { width: min(100%, 760px); max-height: 540px; object-fit: contain; }
.content-section { padding: 0 0 66px; scroll-margin-top: 18px; }
.content-section > h2 { margin: 0 0 18px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 700; line-height: 1.3; }
.archive-group { padding-top: 31px; }
.archive-group:first-child { padding-top: 0; }
.archive-group > h3 { margin: 0 0 14px; color: var(--muted); font: 700 10px Arial, "Noto Sans KR", sans-serif; letter-spacing: .11em; text-transform: uppercase; }

/* Selected Works: a quiet, text-only editorial index. */
.selected-work-list { border-top: 1px solid var(--line); }
.selected-work { display: grid; grid-template-columns: minmax(56px, .16fr) minmax(0, 1.3fr) minmax(140px, .6fr); align-items: baseline; gap: 18px; min-height: 62px; padding: 15px 0 14px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.selected-work:hover .selected-work__title { color: #777; }
.selected-work:focus-visible { outline-offset: 2px; }
.selected-work__year, .selected-work__role { color: var(--muted); font: 10px/1.55 Arial, "Noto Sans KR", sans-serif; }
.selected-work__title { font-size: clamp(16px, 1.55vw, 19px); font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.selected-work__role { justify-self: end; text-align: right; overflow-wrap: anywhere; }
.selected-work__category, .selected-work__participation { font-weight: 400; }

/* Credits: responsive thumbnail grid with one row-aware detail panel. */
.project-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 22px; row-gap: var(--project-row-gap); align-items: start;
}
.project-card { min-width: 0; scroll-margin-top: 20px; }
.project-card__trigger {
  display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit;
  font: inherit; text-align: left; cursor: pointer;
}
.project-card__poster { display: block; width: 100%; aspect-ratio: 16 / 9; background: #f6f5f2; }
.project-image { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.project-card[data-project-id="may-i-leave"] .project-card__poster .project-image img { object-fit: cover; object-position: center; }
.project-card[data-project-id="dissolve"] .project-card__poster .project-image img { object-fit: cover; object-position: center; }
.project-card[data-project-id="mushroomlikegrowth"] .project-card__poster .project-image img,
.project-card[data-project-id="matchcut"] .project-card__poster .project-image img { object-fit: cover; object-position: center; }
.project-image--placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 14px; border: 1px solid var(--line); background: #fff; color: var(--muted); text-align: center;
}
.project-image-placeholder__title { font: 11px Arial, "Noto Sans KR", sans-serif; }
.project-image-placeholder__guide { font: 10px Arial, "Noto Sans KR", sans-serif; }
.project-card__caption { display: grid; gap: 1px; padding: 8px 17px 0 0; }
.project-card__title { font-size: 15px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.project-card__meta, .project-card__role { color: var(--muted); font: 10px/1.55 Arial, "Noto Sans KR", sans-serif; overflow-wrap: anywhere; }
.project-card__role { color: #55554f; }
.meta-separator { padding: 0 .1em; }
.project-detail-panel {
  grid-column: 1 / -1; min-width: 0; width: 100%; margin-top: calc(-1 * var(--project-row-gap));
  padding: 22px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.project-detail-panel[hidden] { display: none !important; }
.project-detail-panel__layout {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start;
  gap: clamp(20px, 2.3vw, 32px);
}
.project-detail-panel__layout--text-only { grid-template-columns: minmax(0, 1fr); }
.project-detail-panel__visual { min-width: 0; }
.project-detail-panel__visual .project-image { aspect-ratio: 16 / 9; }
.project-detail-panel__visual > .media-figure, .project-detail-panel__visual > .media-placeholder { max-width: none; margin: 0; }
.project-detail-panel__visual > .media-figure img { max-height: 72vh; }
.project-detail-panel__copy { min-width: 0; }
.project-detail-panel__head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.project-detail-panel__heading { min-width: 0; }
.project-detail-panel__title { margin: 0 0 3px; font-size: clamp(18px, 2vw, 24px); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.project-detail-panel__meta, .project-detail-panel__role { margin: 0; color: var(--muted); font: 10px/1.6 Arial, "Noto Sans KR", sans-serif; overflow-wrap: anywhere; }
.project-detail-panel__role { color: #55554f; }
.project-detail-panel__close { flex: 0 0 auto; padding: 4px 0 4px 8px; border: 0; background: transparent; color: var(--muted); font: 10px Arial, "Noto Sans KR", sans-serif; cursor: pointer; }
.project-detail-panel__close:hover { color: var(--ink); }
.project-detail-panel__description > p, .project-detail-panel__description > ul, .project-detail-panel__description > ol { max-width: none; }
.project-detail-panel__supplemental { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 20px; }
.project-detail-panel__supplemental[hidden] { display: none !important; }
.project-detail-panel__supplemental > * { min-width: 0; }
.project-detail-panel__supplemental > p, .project-detail-panel__supplemental > ul, .project-detail-panel__supplemental > ol { grid-column: 1 / -1; max-width: none; }
.project-detail-panel__supplemental .media-figure, .project-detail-panel__supplemental .embed-frame, .project-detail-panel__supplemental .audio-player { margin: 8px 0 16px; }
.project-detail-panel__supplemental .media-figure img, .project-detail-panel__supplemental .media-figure video { max-height: 70vh; }
.project-carousel { min-width: 0; touch-action: pan-y; }
.project-carousel__slide[hidden] { display: none !important; }
.project-carousel__slide > .media-figure { max-width: none; margin: 0; }
.project-carousel__slide .media-figure img { max-height: 72vh; }
.project-carousel__controls { display: flex; align-items: center; justify-content: flex-end; gap: 13px; margin-top: 9px; color: var(--muted); font: 10px Arial, "Noto Sans KR", sans-serif; }
.project-carousel__arrow { padding: 3px; border: 0; background: transparent; color: inherit; font: 16px/1 Arial, sans-serif; cursor: pointer; }
.project-carousel__arrow:hover { color: var(--ink); }

/* Listen To: one chronological, three-column artwork archive. */
.listen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; row-gap: 28px; align-items: start; }
.listen-card { min-width: 0; scroll-margin-top: 20px; }
.listen-card__trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.listen-card__cover { display: flex; width: 100%; aspect-ratio: 1; align-items: center; justify-content: center; overflow: hidden; background: #f6f5f2; }
.listen-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.listen-card__cover .project-image, .listen-card__cover .project-image img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.listen-card__cover[data-fit="contain"] img, .listen-card__cover[data-fit="contain"] .project-image, .listen-card__cover[data-fit="contain"] .project-image img { object-fit: contain; }
.listen-card__cover--placeholder { padding: 12px; border: 1px solid var(--line); background: #fff; color: var(--muted); text-align: center; }
.listen-card__cover--placeholder span { font: 10px/1.5 Arial, "Noto Sans KR", sans-serif; }
.listen-card__caption { display: grid; gap: 2px; padding-top: 8px; }
.listen-card__title { font-size: 15px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.listen-card__year, .listen-card__category { color: var(--muted); font: 10px/1.5 Arial, "Noto Sans KR", sans-serif; overflow-wrap: anywhere; }
.listen-detail-panel { grid-column: 1 / -1; min-width: 0; width: 100%; margin-top: -28px; padding: 20px 0 27px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.listen-detail-panel[hidden] { display: none !important; }
.listen-detail-panel__close { display: block; margin: 0 0 10px auto; padding: 4px 0 4px 8px; border: 0; background: transparent; color: var(--muted); font: 10px Arial, "Noto Sans KR", sans-serif; cursor: pointer; }
.listen-detail-panel__close:hover { color: var(--ink); }
.listen-detail-panel__content { min-width: 0; }
.listen-detail-panel__content > .listen-detail { padding-bottom: 0; }
.listen-detail-panel__content .audio-player { margin: 0; }

.archive-entry { border-bottom: 1px solid var(--line); }
.archive-entry:first-child { border-top: 1px solid var(--line); }
.archive-entry summary { position: relative; min-height: 48px; padding: 12px 34px 12px 0; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.55; }
.archive-entry summary::-webkit-details-marker { display: none; }
.archive-entry summary::after { content: "+"; position: absolute; top: 12px; right: 5px; color: var(--muted); font: 300 16px/1.4 Arial, sans-serif; }
.archive-entry[open] > summary::after { content: "−"; }
.archive-entry summary:hover { color: #666; }
.entry-content { padding: 0 0 25px; min-width: 0; }
.entry-content > p, .entry-content > ul, .entry-content > ol { max-width: 760px; margin: 9px 0; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { margin: 23px 0 8px; font-weight: 700; }
.archive-entry--nested { margin: 0 0 8px 18px; border-bottom: 0; }
.archive-entry--nested:first-child { border-top: 0; }
.archive-entry--nested > summary { min-height: 36px; padding: 7px 30px 7px 0; color: #5e5e59; font-size: 14px; }
.archive-entry--nested > summary::after { top: 7px; }
.archive-entry--nested > .entry-content { padding-bottom: 13px; }
.media-figure { max-width: 100%; margin: 23px 0; }
.media-figure img, .media-figure video { display: block; width: 100%; height: auto; max-height: 75vh; object-fit: contain; background: #f5f5f2; }
#project-detail-panel[data-project-id="you-just-know-whats-up"] .project-detail-panel__supplemental .media-figure video { width: auto; height: auto; max-width: 100%; margin-inline: auto; aspect-ratio: auto 4 / 5; }
.media-figure figcaption, .embed-frame figcaption { margin-top: 7px; color: var(--muted); font: 11px/1.55 Arial, "Noto Sans KR", sans-serif; }
.embed-frame { max-width: 100%; margin: 24px 0; }
.embed-frame iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; border: 0; background: #f5f5f2; }
.audio-player { max-width: 100%; margin: 19px 0 24px; }
.audio-player iframe { display: block; width: 100%; max-width: 680px; border: 0; }
.text-link, .external-reference { color: var(--muted); font: 11px/1.6 Arial, "Noto Sans KR", sans-serif; }
.text-link { display: inline-block; margin-top: 7px; }
.external-reference { margin: 12px 0; overflow-wrap: anywhere; }
.external-reference a { margin-left: 4px; }
.bio-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.bio-column { min-width: 0; }
.bio-column h3 { margin: 0 0 8px; color: var(--muted); font: 700 11px/1.5 Arial, "Noto Sans KR", sans-serif; letter-spacing: .04em; }
.bio-columns--longform { margin: 18px 0 24px; gap: clamp(24px, 4vw, 52px); }
.bio-columns--longform .bio-column > p { margin: 0; }
.bio-columns--longform { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; }
.bio-profile { width: 100%; max-width: 360px; aspect-ratio: 1; overflow: hidden; margin: 0; }
.bio-profile img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.instagram-icon-link { display: inline-flex; width: 23px; height: 23px; align-items: center; justify-content: center; vertical-align: middle; text-decoration: none; }
.instagram-icon-link svg { display: block; width: 19px; height: 19px; }
.contact-links { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 16px; }
.contact-links__email { min-width: 0; }
.contact-links .instagram-icon-link { flex: 0 0 23px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.media-placeholder { margin: 22px 0; padding: 20px; border: 1px solid var(--line); color: var(--muted); font: 12px Arial, "Noto Sans KR", sans-serif; }
.media-placeholder__label { display: block; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font: 10px Arial, "Noto Sans KR", sans-serif; }
.site-footer a { text-decoration: none; }
.site-footer .back-to-top {
  position: fixed; z-index: 20; right: max(18px, calc((100vw - 1320px) / 2));
  bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 10px)); padding: 6px 0 6px 6px;
  color: var(--muted); white-space: nowrap;
}
.site-footer .back-to-top:hover { color: var(--ink); }
.error-page { width: min(520px, calc(100% - 40px)); margin: 18vh auto; }
.error-page > p { color: var(--muted); font: 11px Arial, sans-serif; }
.error-page h1 { font-weight: 700; }

@media (max-width: 800px) {
  :root { --project-row-gap: 25px; }
  .site-bar, .page-shell { width: calc(100% - 48px); }
  .site-bar { gap: 16px; }
  .site-bar nav { gap: clamp(10px, 2vw, 16px); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .listen-grid { column-gap: 18px; }
  .project-detail-panel__layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .selected-work { grid-template-columns: 48px minmax(0, 1fr) minmax(120px, .6fr); gap: 14px; }
  .bio-columns { gap: 22px; }
}
@media (max-width: 700px) {
  :root { --project-row-gap: 20px; }
  body { font-size: 15px; line-height: 1.68; }
  .site-bar, .page-shell { width: calc(100% - 36px); }
  .site-bar { display: grid; grid-template-columns: 1fr; gap: 2px; min-height: 0; padding: 8px 0 7px; }
  .wordmark { grid-column: 1; grid-row: 1; }
  .site-bar nav { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px; width: 100%; padding-top: 3px; font-size: 10px; }
  .masthead { width: 100%; margin: 0; padding: 37px 0 45px; }
  .masthead h1 { font-size: 33px; }
  .content-section { padding-bottom: 48px; }
  .archive-group { padding-top: 24px; }
  .selected-work { grid-template-columns: 52px minmax(0, 1fr); gap: 3px 12px; min-height: 66px; padding: 11px 0 10px; }
  .selected-work__year { grid-row: 1 / span 2; align-self: center; }
  .selected-work__title { grid-column: 2; font-size: 16px; }
  .selected-work__role { grid-column: 2; justify-self: start; text-align: left; }
  .intro-content > h3 { margin: 9px 0; font-size: clamp(11px, 3.6vw, 13.5px); letter-spacing: -.015em; white-space: nowrap; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 9px; }
  .project-card__trigger, .project-card__caption { min-width: 0; }
  .project-card__poster { overflow: hidden; }
  .project-card__caption { gap: 2px; padding: 7px 0 0; }
  .project-card__title { font-size: clamp(11px, 3.2vw, 13px); line-height: 1.35; }
  .project-card__meta, .project-card__role { font-size: clamp(8px, 2.35vw, 9px); line-height: 1.4; }
  .project-detail-panel { padding-top: 18px; }
  .project-detail-panel__layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .project-detail-panel__head { margin-bottom: 12px; }
  .project-detail-panel__title { font-size: 20px; }
  .project-detail-panel__supplemental { gap: 2px; margin-top: 14px; }
  .project-detail-panel__supplemental > p, .project-detail-panel__supplemental > ul, .project-detail-panel__supplemental > ol { grid-column: auto; }
  .project-carousel__slide .media-figure img { max-height: 52vh; }
  .archive-entry summary { min-height: 45px; padding-top: 11px; padding-bottom: 11px; }
  .archive-entry--nested { margin-left: 12px; }
  .bio-columns { grid-template-columns: 1fr; gap: 16px; }
  .bio-columns--longform { gap: 24px; }
  .listen-grid { column-gap: 9px; row-gap: 20px; }
  .listen-card__caption { gap: 2px; padding-top: 7px; }
  .listen-card__title { font-size: clamp(11px, 3vw, 14px); line-height: 1.35; }
  .listen-card__year, .listen-card__category { font-size: clamp(8px, 2.35vw, 9px); line-height: 1.4; }
  .listen-detail-panel { margin-top: -20px; padding-top: 16px; }
  .media-figure img, .media-figure video { max-height: 62vh; }
  .site-footer .back-to-top { right: max(12px, calc(env(safe-area-inset-right, 0px) + 10px)); bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 10px)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
