:root {
    --bg-color: #F9F9F8;
    --text-main: #1C1C1C;
    --text-sub: #8E8E8E;
    --border-color: #E5E5E0;
}

@media (prefers-reduced-motion: no-preference) {
    main.page-appear {
        animation: page-fade-in 1000ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
    }

    main.page-content-enter .archive-page > .section-title,
    main.page-content-enter .page-content > .eyebrow,
    main.page-content-enter .page-content > .page-title,
    main.page-content-enter .page-content > .page-intro,
    main.page-content-enter .page-content > .category-links,
    main.page-content-enter #instagram-reels {
        animation: page-fade-in 1000ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
    }

    @keyframes page-fade-in {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

@media (prefers-reduced-motion: reduce) {
    main.page-appear,
    main.page-content-enter .archive-page > .section-title,
    main.page-content-enter .page-content > .eyebrow,
    main.page-content-enter .page-content > .page-title,
    main.page-content-enter .page-content > .page-intro,
    main.page-content-enter .page-content > .category-links,
    main.page-content-enter #instagram-reels { animation-duration: 0.01ms; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-user-select: none;
    user-select: none;
}

main .about-copy,
main .about-copy *,
main .story-meta p,
main .story-meta p *,
main .contact-copy,
main .contact-copy *,
main .page-intro,
main .page-intro * {
    -webkit-user-select: text;
    user-select: text;
}

main .about-copy button,
main .about-copy button * {
    -webkit-user-select: none;
    user-select: none;
}

img, video, svg {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

a {
    text-decoration: none;
    color: inherit;
}



/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background-color: rgba(249, 249, 248, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

header.is-hidden { transform: translateY(-105%); }

.logo {
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--text-main);
}

nav ul li a[aria-current="page"] {
    color: var(--text-main);
}

/* Main Container */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 4rem 5rem 4rem;
}

/* Hero Section */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 8rem;
}

.hero-visual {
    width: 100%;
    height: 100%;
    background-color: #EAEAE6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 55%;
}

/* Works Section */
.section-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.filter-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: none;
    font-size: 0.9rem;
    color: var(--text-sub);
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: color 0.3s ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
    color: var(--text-main);
}

.filter-btn.active {
    color: var(--text-main);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1px;
    grid-auto-flow: dense;
    align-items: stretch;
    column-gap: 1.25rem;
    row-gap: 0;
    margin-bottom: 8rem;
}

.work-item {
    background-color: #EAEAE6;
    display: block;
    width: 100%;
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
    position: relative;
    align-self: stretch;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 1.25rem;
    -webkit-tap-highlight-color: transparent;
    border-radius: 7px;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

.work-item.landscape {
    aspect-ratio: auto;
}

.work-item.portrait {
    aspect-ratio: auto;
}

.work-item > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-drag: none;
    pointer-events: none;
}

html.js-enabled .works-grid .work-item > img:not(.is-revealed) {
    opacity: 0;
}

.work-item:focus-visible { outline: 2px solid var(--text-main); outline-offset: 4px; }

.work-item::after,
.video-project-media::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover::after,
.video-project-media:hover::after,
.video-project-media:focus-within::after {
    opacity: 1;
}

.work-info {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-album-position {
    position: absolute;
    top: 0.625rem;
    right: 0.75rem;
    z-index: 2;
    font-size: 0.625rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

@media (hover: hover) {
    .work-item:hover .work-album-position { opacity: 1; }
}

.work-item:focus-visible .work-album-position { opacity: 1; }
.work-item:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
    .work-album-position { transition: none; }
}

.work-item:hover .work-info,
.video-project-media:hover .work-info,
.video-project-media:focus-within .work-info {
    opacity: 1;
}

.work-info h3 {
    font-size: 0.9rem;
    font-weight: 400;
}

.work-info span {
    font-size: 0.8rem;
}

.work-info span,
.work-album-position {
    color: rgba(255, 255, 255, 0.78);
}

/* Full-screen image viewer for photography and film archives */
.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 5rem 3.5rem;
    background: rgba(16, 16, 16, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0s linear 0.24s;
    -webkit-tap-highlight-color: transparent;
}

.image-viewer.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.image-viewer-content { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1500px; height: 100%; min-height: 0; }
.image-viewer-stage { position: relative; display: grid; place-items: center; flex: 1 1 auto; width: 100%; min-height: 0; overflow: hidden; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.image-viewer-frame { position: absolute; top: 50%; left: 50%; overflow: hidden; border-radius: 7px; opacity: 0; visibility: hidden; transform: translate(-50%, -50%); transition: opacity 0.38s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.4s; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-select: none; user-select: none; }
.image-viewer-frame.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.image-viewer-image { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }
.image-viewer.is-opening .image-viewer-frame { transition: none !important; }
.image-viewer-caption { flex: 0 0 1.95rem; min-height: 1.2rem; margin-top: 0.75rem; color: rgba(255, 255, 255, 0.72); font-size: 0.72rem; letter-spacing: 0.06em; }

@media (prefers-reduced-motion: reduce) {
    .image-viewer, .image-viewer-frame { transition-duration: 0.01ms; }
}
.image-viewer button { position: absolute; border: 0; background: transparent; color: #fff; cursor: pointer; }
.image-viewer-close { top: 1.6rem; right: 2rem; font-size: 2rem; font-weight: 200; line-height: 1; }
.image-viewer-prev, .image-viewer-next { top: 50%; transform: translateY(-50%); padding: 1rem; font-size: 2rem; font-weight: 200; }
.image-viewer-prev { left: 1.5rem; }
.image-viewer-next { right: 1.5rem; }
.image-viewer button:hover { color: #bcbcb7; }

@media (max-width: 600px) {
    .image-viewer { padding: 4rem 1rem 3rem; }
    .image-viewer-caption { flex-basis: 1.7rem; }
    .image-viewer-close { top: 1rem; right: 1rem; }
    .image-viewer-prev { left: 0; }
    .image-viewer-next { right: 0; }
}

/* Stories Section */
.stories-section {
    max-width: 1200px;
    margin: 0 auto 8rem;
}
.stories-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; min-height: 2.5rem; margin-bottom: 1.2rem; }
.stories-heading .eyebrow { margin: 0; font-size: 0.68rem; letter-spacing: 0.13em; }
.stories-view-controls { display: inline-flex; align-items: center; align-self: end; gap: 0.45rem; }
.stories-view-button { display: grid; width: 1.6rem; height: 1.6rem; place-items: center; padding: 0; border: 0; background: transparent; color: var(--text-sub); cursor: pointer; transition: color 0.2s ease; }
.stories-view-button svg { display: block; width: 1.22rem; height: 1.22rem; transform: translateY(4px); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stories-view-button:hover,
.stories-view-button.is-active { color: var(--text-main); }
.stories-view-button.is-active { font-weight: 500; }
.stories-collection { display: block; }

.story-card {
    display: grid;
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 6vw, 6rem);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    align-items: start;
}

.story-meta { padding: 0.2rem 0; }
.story-meta .story-kicker {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 0.68rem;
    color: var(--text-sub);
    letter-spacing: 0.09em;
}
.story-kicker i { padding: 0 0.35rem; font-style: normal; color: var(--border-color); }
.story-meta h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.4rem, 2.3vw, 1.9rem);
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: -0.045em;
}
.story-meta h3 {
    margin: 0 0 1.2rem;
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.story-meta p {
    max-width: 360px;
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    font-size: 0.82rem;
    color: var(--text-sub);
    font-weight: 300;
    line-height: 1.95;
    letter-spacing: -0.015em;
}

.story-img {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 4 / 3;
    align-items: end;
    padding: 1rem;
    overflow: hidden;
    background-color: #EAEAE6;
    border-radius: 7px;
}
.story-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transition: transform 0.45s cubic-bezier(0.2, 0.65, 0.3, 1); }
.story-grid-title { display: none; }

.stories-collection.is-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.25rem;
    row-gap: 0;
}
.stories-collection.is-grid .story-card { position: relative; display: flex; flex-direction: column; gap: 1.15rem; margin-bottom: 2.5rem; padding: 1rem 0 1.25rem; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.stories-collection.is-grid .story-img { order: -1; aspect-ratio: 4 / 3; padding: 0; }
.stories-collection.is-grid .story-img::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.48)); content: ""; opacity: 0; transition: opacity 0.28s ease; }
.stories-collection.is-grid .story-grid-title { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; left: 1rem; display: block; color: #fff; font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 0.92rem; font-weight: 400; letter-spacing: -0.02em; opacity: 0; transform: translateY(5px); transition: opacity 0.28s ease, transform 0.28s ease; }
.stories-collection.is-grid .story-card:hover .story-img::after { opacity: 1; }
.stories-collection.is-grid .story-card:hover .story-grid-title { opacity: 1; transform: translateY(0); }
.stories-collection.is-grid .story-card:hover .story-img > img { transform: scale(1.025); }
.stories-collection.is-grid .story-meta { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    font-size: 0.8rem;
    color: var(--text-sub);
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    header { padding: 1rem 1.25rem; }
    nav ul { gap: 0.8rem; }
    nav ul li a { font-size: 0.72rem; }
    .logo { font-size: 0.85rem; }
    main { padding: 7rem 1.25rem 3rem 1.25rem; }
    .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .story-card { grid-template-columns: 1fr; gap: 2rem; }
    .about-hero { grid-template-columns: 1fr; gap: 2rem; }
    .about-intro { padding: 1rem 0 0; }
    .about-portrait { width: min(100%, 420px); margin-left: auto; }
    .about-story { grid-template-columns: 1fr; row-gap: 1.25rem; margin-top: 3rem; }
    .about-footer { grid-template-columns: 1fr auto; gap: 1rem; }
    .stories-collection.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
    .stories-collection.is-grid .story-card { gap: 1rem; }
}

/* Archive pages */
.archive-page {
    min-height: 65vh;
}

.video-project { width: 100%; max-width: 1200px; margin-bottom: 3rem; }
.video-project-media { position: relative; isolation: isolate; overflow: hidden; border-radius: 8px; }
.video-project-media::after,
.video-project-media .work-info { pointer-events: none; }
.video-project-media .work-info { bottom: 3.5rem; }
.video-project-media.is-playing::after,
.video-project-media.is-playing .work-info { opacity: 0; }
.video-project video { display: block; width: 100%; height: auto; background: #111; border-radius: inherit; }
.video-project video.video-project-center-4x3 {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}
.video-project-cover { display: block; width: 100%; height: auto; margin-bottom: 0.75rem; border-radius: 8px; }
.video-project-title { margin-top: 0.75rem; color: var(--text-main); font-size: 0.9rem; }
.video-project-date { display: block; color: var(--text-sub); font-size: 0.8rem; }


@media (hover: none) {
    .work-item::after,
    .video-project-media::after {
        opacity: 1;
    }

    .work-info {
        opacity: 1;
    }
}


/* Page-based navigation */
.home-hero {
    min-height: 65vh;
    height: auto;
    margin-bottom: 2rem;
}

.home-visual-wrap {
    position: relative;
    width: min(100%, 1100px);
}

.home-hero .hero-visual {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 0;
}

.home-hero .hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center 55%; }
.home-hero .hero-visual .home-slideshow-next {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    transition: opacity 460ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.home-hero .hero-visual .home-slideshow-next.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .home-hero .hero-visual .home-slideshow-next { transition: none; }
}

.home-listening-wrap { position: relative; z-index: 2; width: min(100%, 1100px); margin-top: 0.9rem; padding: 0; }
.home-now-listening {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    width: 100%;
    min-height: 3.6rem;
    padding: 0.4rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: 0 8px 28px rgba(26, 26, 24, 0.065), inset 0 1px rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(108%);
    -webkit-backdrop-filter: blur(20px) saturate(108%);
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.home-now-listening:hover,
.home-now-listening[aria-expanded="true"] { background: rgba(255, 255, 255, 0.62); box-shadow: 0 10px 32px rgba(26, 26, 24, 0.085), inset 0 1px rgba(255, 255, 255, 0.92); }
.home-now-listening:focus-visible { outline: 1px solid var(--text-sub); outline-offset: 5px; }
.home-now-cover-wrap {
    position: relative;
    display: grid;
    flex: 0 0 2.4rem;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    overflow: hidden;
    border-radius: 5px;
    background: #ecece8;
}
.home-now-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.home-now-listening:hover .home-now-cover { transform: scale(1.04); }
.home-now-cover-placeholder { color: var(--text-sub); font-size: 1.1rem; line-height: 1; }
.home-now-cover[hidden], .home-now-cover-placeholder[hidden] { display: none; }
.home-now-copy { display: flex; min-width: 0; flex-direction: column; gap: 0.12rem; }
.home-now-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-main);
    font-size: 0.62rem;
    letter-spacing: 0.09em;
    white-space: nowrap;
}
.home-now-indicator {
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 50%;
    background: #8e8e8e;
}
.home-now-indicator.is-playing { background: #4f9a69; }
.home-now-status {
    display: block;
    max-width: min(62vw, 42rem);
    overflow: hidden;
    color: var(--text-sub);
    font-size: 0.72rem;
    line-height: 1.4;
    letter-spacing: 0.005em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-now-age { color: var(--text-sub); font-size: 0.58rem; line-height: 1.2; }
.home-now-play-icon {
    display: grid;
    flex: 0 0 2.15rem;
    width: 2.15rem;
    height: 2.15rem;
    place-items: center;
    margin-left: auto;
    border: 0;
    border-radius: 0.82rem;
    background: rgba(255, 255, 255, 0.34);
    color: var(--text-sub);
    transition: color 0.24s ease, background-color 0.24s ease, border-color 0.24s ease, transform 0.32s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.home-now-play-icon svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.home-now-listening:hover .home-now-play-icon { color: var(--text-main); background: rgba(255, 255, 255, 0.72); transform: scale(1.05); }
.home-now-listening[aria-expanded="true"] .home-now-play-icon { color: var(--text-main); background: rgba(255, 255, 255, 0.72); transform: rotate(-90deg); }
.home-now-listening[aria-expanded="true"]:hover .home-now-play-icon { transform: rotate(-90deg) scale(1.05); }
@media (prefers-reduced-motion: reduce) {
    .home-now-play-icon { transition: none; }
}
.home-listening-history {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.65rem);
    display: flex;
    flex-direction: column;
    width: min(100%, 430px);
    max-height: min(42vh, 320px);
    padding: 0.78rem 0.9rem 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 16px 44px rgba(26, 26, 24, 0.12), inset 0 1px rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(26px) saturate(108%);
    -webkit-backdrop-filter: blur(26px) saturate(108%);
    transform-origin: bottom right;
    animation: history-expand 0.24s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
@keyframes history-expand { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.home-listening-history[hidden] { display: none; }
.home-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.58rem; }
.home-history-heading > div { display: flex; flex-direction: column; gap: 0.32rem; }
.home-history-heading h2 { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; }
.home-history-heading > div > span { color: var(--text-sub); font-size: 0.55rem; letter-spacing: 0.08em; }
.home-history-message { flex: 0 0 auto; min-height: 0; color: var(--text-sub); font-size: 0.72rem; }
.home-history-message:empty { display: none; }
.home-history-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c9c9c4 transparent; list-style: none; margin: 0; padding: 0; }
.home-history-item { border-top: 1px solid rgba(28, 28, 28, 0.08); }
.home-history-entry { display: grid; grid-template-columns: minmax(0, 1fr) 1.9rem; align-items: center; gap: 0.65rem; min-height: 2.65rem; padding: 0.3rem 0; }
.home-history-copy { display: flex; min-width: 0; flex-direction: column; gap: 0.04rem; }
.home-history-title, .home-history-artist { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-history-title { color: var(--text-main); font-size: 0.72rem; transition: color 0.2s ease; }
.home-history-artist { color: var(--text-sub); font-size: 0.62rem; }
.home-history-play { display: grid; width: 1.65rem; height: 1.65rem; place-items: center; padding: 0; border: 1px solid rgba(28, 28, 28, 0.1); border-radius: 50%; background: rgba(255, 255, 255, 0.32); color: var(--text-sub); transition: color 0.18s ease, transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease; }
.home-history-play svg { width: 0.85rem; height: 0.85rem; fill: currentColor; }
.home-history-play:hover:not(:disabled) { color: var(--text-main); background: rgba(255, 255, 255, 0.72); border-color: rgba(28, 28, 28, 0.22); transform: scale(1.06); }
.home-history-play:disabled { opacity: 0.58; cursor: not-allowed; }
.site-footer { text-align: left; padding: 2rem 0; }
.site-footer-inner { width: min(1100px, calc(100% - 2.5rem)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-footer-inner > p { font-size: 0.8rem; }
.site-socials { display: flex; align-items: center; gap: 1.2rem; }
.site-socials a { width: 1.25rem; height: 1.25rem; display: inline-flex; align-items: center; justify-content: center; color: var(--text-sub); transition: color .2s ease; }
.site-socials a:hover { color: var(--text-main); }
.site-socials svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-socials .icon-fill { fill: currentColor; stroke: none; }

@media (max-width: 600px) {
    .site-footer-inner { flex-wrap: wrap; gap: 1rem; }
    .home-listening-history { right: 0; width: min(100%, 430px); max-height: min(46vh, 320px); padding: 0.72rem 0.78rem 0.45rem; }
}

.page-content {
    min-height: 65vh;
    padding: 2rem 0 5rem;
}

.eyebrow {
    color: var(--text-sub);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.page-intro {
    color: var(--text-sub);
    margin-bottom: 3rem;
    font-weight: 300;
}

.category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.category-card {
    min-height: 16rem;
    padding: 1.5rem;
    background: #EAEAE6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.25s ease;
}

.category-card:hover {
    background: #E1E1DC;
}

.category-card > span {
    color: var(--text-sub);
    font-size: 0.8rem;
}

.category-card strong {
    font-size: 1.25rem;
    font-weight: 400;
}

.category-card b {
    float: right;
    font-weight: 400;
}

.about-page { width: 100%; max-width: 1200px; margin-inline: auto; }

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
    padding: 1rem 4vw 2rem;
}

.about-intro { padding: 1rem 0 0; }
.about-page .eyebrow { margin-bottom: 1.2rem; font-size: 0.68rem; letter-spacing: 0.13em; }
.about-location { display: block; margin: 0 0 1.35rem; color: var(--text-sub); font-size: 0.7rem; letter-spacing: 0.03em; }

.about-portrait {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 3 / 4;
    margin: 0;
    justify-self: end;
    background: #e9e8e3;
    overflow: hidden;
    border-radius: 14px;
    transform: none;
    cursor: pointer;
}
.about-portrait:focus-visible { outline: 2px solid var(--text-main); outline-offset: 4px; }
.about-portrait::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.48); border-radius: 7px; }
.camera-flash-screen {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: radial-gradient(circle at var(--flash-origin-x, 50%) var(--flash-origin-y, 50%), rgba(255,255,255,.98), rgba(255,255,255,.9) 18%, rgba(255,255,255,.72) 62%, rgba(255,255,255,.58));
    opacity: 0;
    pointer-events: none;
    animation: camera-flash 480ms ease-out both;
}
.camera-flash-screen::before {
    content: "";
    position: absolute;
    left: var(--flash-origin-x, 50%);
    top: var(--flash-origin-y, 50%);
    width: min(42vw, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,.42) 24%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: .9;
}
body.camera-flashing [data-flash-shadow="true"] {
    animation: flash-cast-shadow 400ms ease-out both;
}
@keyframes flash-cast-shadow {
    0%, 100% { text-shadow: var(--flash-shadow-x, 0px) var(--flash-shadow-y, 0px) 0 rgba(24, 21, 18, 0); }
    12% { text-shadow: var(--flash-shadow-x, 0px) var(--flash-shadow-y, 0px) 0 rgba(24, 21, 18, .43); }
}
@keyframes camera-flash {
    0% { opacity: 0; }
    7% { opacity: .72; }
    19% { opacity: .58; }
    48% { opacity: .16; }
    100% { opacity: 0; }
}
.about-portrait img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: opacity 0.32s ease, transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.about-portrait-childhood { opacity: 0; }
.about-portrait.is-childhood .about-portrait-default { opacity: 0; }
.about-portrait.is-childhood .about-portrait-childhood { opacity: 1; }
.about-childhood-trigger {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
}
.about-childhood-trigger::after,
.about-contact-prompt::after {
    position: absolute;
    right: 0;
    bottom: 0.12em;
    left: 0;
    height: 1px;
    background: rgba(120, 99, 69, 0.78);
    content: "";
    pointer-events: none;
}
.about-childhood-trigger:hover::after,
.about-childhood-trigger:focus-visible::after,
.about-contact-prompt:hover::after,
.about-contact-prompt:focus-visible::after { background: var(--text-main); }
.about-childhood-trigger > span,
.about-contact-prompt > span { position: relative; top: 0; transition: top 0.2s ease; }
.about-childhood-trigger:hover > span,
.about-childhood-trigger:focus-visible > span,
.about-contact-prompt:hover > span,
.about-contact-prompt:focus-visible > span { top: -2px; }
@media (hover: hover) {
    .about-portrait:hover img { transform: scale(1.03); }
}

.about-story {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    width: min(100%, 440px);
    padding: 0;
}
.about-copy { margin: 0; font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: clamp(0.84rem, 0.9vw, 0.88rem); line-height: 1.95; letter-spacing: -0.015em; font-weight: 300; text-align: left; word-break: keep-all; }
.about-emphasis { color: var(--text-main); font-weight: inherit; }
.about-copy a { display: inline-block; position: relative; text-decoration: none; }

.about-footer { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 1.5rem 4vw 0; }
.about-footer > p { color: var(--text-sub); font-size: 0.86rem; line-height: 1.8; }
.about-contact-link { padding-bottom: 0.25rem; border-bottom: 1px solid var(--text-main); font-size: 0.82rem; white-space: nowrap; }
.about-contact-link span { display: inline-block; transition: transform 0.22s ease; }
.about-contact-link:hover span { transform: translate(2px, -2px); }

.contact-list {
    list-style: none;
    margin-top: 0;
    border-top: 1px solid var(--border-color);
}

.contact-list li {
    border-bottom: 1px solid var(--border-color);
}

.contact-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    color: var(--text-sub);
    transition: color 0.2s ease;
}

.contact-list .contact-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
}

.contact-list a:hover {
    color: var(--text-main);
}

.contact-list span {
    color: var(--text-main);
}

.contact-page { width: 100%; max-width: 1200px; margin-inline: auto; }
.contact-hero {
    min-height: 55vh;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(300px, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: 1rem 4vw 2rem;
}
.contact-intro { align-self: center; }
.contact-page .eyebrow { margin-bottom: 1.2rem; font-size: .68rem; letter-spacing: .13em; }
.contact-copy { max-width: 420px; margin-bottom: 1.5rem; color: var(--text-sub); font-size: .86rem; line-height: 1.8; font-weight: 300; }
.contact-list .contact-label,
.contact-list .contact-value { color: var(--text-sub); transition: color .2s ease; }
.contact-list .contact-label { font-size: .82rem; }
.contact-list .contact-value { display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem; }
.contact-list .contact-row .contact-value { color: var(--text-sub); }
.contact-list .contact-arrow { color: inherit; display: inline-block; transition: color .2s ease, transform .22s ease; }
.contact-list a:hover .contact-label,
.contact-list a:hover .contact-value { color: #6b6b68; }
.contact-list a:hover .contact-arrow { transform: translate(2px, -2px); }

.archive-page .section-title {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .category-links {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 12rem;
    }

    .contact-list a {
        flex-direction: column;
        gap: 0.3rem;
    }

    .contact-list .contact-row { flex-direction: column; gap: .3rem; }

    .contact-hero { min-height: 0; grid-template-columns: 1fr; gap: 2.5rem; padding: .5rem 0 2.5rem; }
    .contact-copy { max-width: 520px; }
}


@media (max-width: 480px) {
    .works-grid { grid-template-columns: 1fr; }
    .stories-collection.is-grid { grid-template-columns: 1fr; }
    .stories-heading { gap: 1rem; }
}

@media (max-width: 768px) {
    .about-hero { grid-template-columns: 1fr; gap: 2rem; padding: 0.5rem 0 2.5rem; }
    .about-intro { padding: 1rem 0 0; }
    .about-location { margin-bottom: 1.5rem; }
    .about-portrait { width: min(100%, 440px); margin-left: auto; grid-row: 1; transform: none; }
    .about-story { gap: 1rem; margin-top: 0; padding: 0; }
    .about-copy { font-size: 0.86rem; line-height: 1.95; letter-spacing: -0.02em; }
    .about-footer { padding: 1.25rem 0 0; }
}
