@charset "UTF-8";

:root {
    color-scheme: light;
    --paper: #fff;
    --stone: #f7f5f1;
    --ink: #161310;
    --muted: #6b645e;
    --accent: #6a4a3d;
    --line: rgba(22, 19, 16, .14);
    --display: AppleMyungjo, "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, figure, p, h1, h2, h3 { margin: 0; }
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid #8d3e35;
    outline-offset: 3px;
}
.wrap {
    width: min(100% - 2 * clamp(1rem, 5vw, 4.5rem), 81rem);
    margin-inline: auto;
}
.skip {
    position: absolute;
    z-index: 2;
    top: .75rem;
    left: 1rem;
    padding: .75rem 1rem;
    background: var(--paper);
    transform: translateY(-200%);
}
.skip:focus { transform: translateY(0); }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner {
    min-height: 4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 1.25rem;
    padding-block: .375rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink);
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 1.25rem;
}
.brand img { max-width: 100%; height: auto; display: block; }
nav { display: flex; column-gap: 1.25rem; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 2rem;
    padding-block: clamp(3rem, 8vw, 7rem) clamp(2.25rem, 5vw, 4.25rem);
}
.location { grid-column: 1 / -1; }
.location { margin-bottom: clamp(.75rem, 2vw, 1.5rem); color: var(--accent); font-weight: 650; }
.hero h1 {
    font-family: var(--display);
    font-size: clamp(3.35rem, 7vw, 7rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.06em;
}
.artist-en {
    grid-column: 1;
    grid-row: 3;
    margin-top: .65rem;
    font-family: Georgia, serif;
    font-size: clamp(1.125rem, 2vw, 1.65rem);
    color: var(--muted);
}
.visit-details { grid-column: 2; grid-row: 2 / 4; text-align: end; }
.venue-address { margin-top: .3rem; color: var(--muted); }
.dates {
    font-size: clamp(1.125rem, 2.35vw, 1.9rem);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.section-head {
    border-top: 1px solid var(--line);
    display: grid;
    gap: .375rem 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    margin-bottom: 1.35rem;
    padding-top: 1.25rem;
}
.section-head p, .selection p, .review p { color: var(--muted); }
h2 {
    font-family: var(--display);
    font-size: clamp(1.65rem, 2.6vw, 2.45rem);
    font-weight: 600;
    letter-spacing: -.035em;
}
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.75rem);
    padding: 0;
    margin: 0;
    list-style: none;
}
.work-card { min-width: 0; scroll-margin-top: 1rem; }
.work-card:target { outline: 2px solid var(--accent); outline-offset: .5rem; }
.artwork { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--stone); }
.artwork img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}
figcaption { padding: .8rem 0 .3rem; }
figcaption h3 {
    display: flex;
    align-items: baseline;
    gap: .65rem;
    font-size: 1.16rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.work-number { color: var(--accent); font-variant-numeric: tabular-nums; }
.translation { color: var(--muted); margin-top: .25rem; }
.details { font-size: .875rem; margin-top: .35rem; color: var(--muted); overflow-wrap: anywhere; }
.footer {
    padding-block: 1.5rem 2.5rem;
    margin-top: clamp(2.5rem, 7vw, 5rem);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-family: Georgia, serif;
}

.editing .hero { padding-block: clamp(1.75rem, 4vw, 3rem); }
.editing .hero h1 { font-size: clamp(2.75rem, 4.5vw, 4.25rem); }
.selection {
    background: var(--stone);
    border: 1px solid var(--line);
    padding: clamp(1rem, 3vw, 2rem);
    margin-bottom: 2rem;
}
.selection h2, .selection h3, .review h2 { margin-bottom: .35rem; }
.selection h3 { font-size: 1rem; margin-top: 1rem; }
#publication { margin-top: .75rem; font-weight: 650; color: var(--accent); }
.commands { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.status { min-height: 1.55em; margin-top: .55rem; }
.status[data-error] { color: #8d332d; }
.order { padding: 0; margin: 0; list-style: none; max-width: 47rem; }
.order li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    border-bottom: 1px solid var(--line);
    padding-block: .3rem;
}
.order-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
button, input, select {
    min-height: 44px;
    padding: .45rem .75rem;
    border: 1px solid #a79a8e;
    border-radius: .2rem;
    color: var(--ink);
    background: var(--paper);
    font: inherit;
}
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button.action, button[aria-pressed="true"] {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--paper);
}
.choice { margin-top: .5rem; width: 100%; }
.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: .75rem 1rem;
    margin-bottom: 1.25rem;
}
.filters label { display: block; margin-bottom: .25rem; font-weight: 650; }
.filters p { color: var(--muted); align-self: end; padding-bottom: .55rem; }
.filters input { width: min(16rem, 100%); }
.review { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; }
.review ul { padding-left: 1.25rem; }
.review li { margin-bottom: .5rem; }
.review li span { display: block; }

@media (max-width: 54rem) {
    .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-head { grid-template-columns: 1fr; }
}

@media (max-width: 43rem) {
    .hero { grid-template-columns: 1fr; }
    .visit-details { grid-column: 1; grid-row: 4; margin-top: 1.15rem; text-align: start; }
}

@media (max-width: 36rem) {
    .work-grid { grid-template-columns: 1fr; }
    nav { column-gap: .75rem; }
    .order-actions { max-width: 100%; }
}

/* Keep the shared consent notice in the page flow on both exhibition views. */
body.lotus-page { padding-bottom: max(5rem, calc(var(--fm-actions-height, 44px) + 1.5rem)); }
.lotus-page #fm-cookie-banner {
    position: static;
    width: min(100% - 2rem, 47.5rem);
    margin: 0 auto 1rem;
    max-height: none;
    padding: 1rem;
    overflow: visible;
    box-shadow: none;
}

/* Communication: exhibition poster and visitor information, public only. */
.comm-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.3rem, 3.6vw, 3.8rem); margin-block: clamp(1.5rem, 4vw, 3.2rem); padding: clamp(1.1rem, 4.2vw, 4.1rem); background: #f3f1e8; color: #1d332c; }
.comm-main, .comm-feature { min-width: 0; }
.comm-kicker { font-size: .72rem; line-height: 1.55; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #315448; }
.comm-kicker span { padding-inline: .3em; color: #627b6c; }
.comm-hero h1 { margin-top: .55rem; font: 400 clamp(2.3rem, 5.15vw, 5.3rem)/1.03 Georgia, serif; letter-spacing: -.062em; overflow-wrap: anywhere; }
.comm-ko { margin-top: .35rem; font: 500 clamp(1.2rem, 2.4vw, 2rem)/1.2 var(--display); color: #406153; }
.comm-artist { margin-top: clamp(1.15rem, 2.6vw, 2.4rem); font: 400 clamp(1.2rem, 2.3vw, 1.75rem)/1.2 Georgia, serif; }
.comm-artist span { margin-inline-start: .4em; font: 500 .9rem/1.5 -apple-system, BlinkMacSystemFont, "Noto Sans KR", sans-serif; }
.comm-date { margin-top: .4rem; color: #41554b; font-size: .98rem; font-variant-numeric: tabular-nums; }
.comm-primary { display: inline-flex; min-height: 44px; align-items: center; gap: .7em; padding: .55rem 1rem; margin-top: 1.25rem; background: #1d332c; color: #fff; font-size: .9rem; text-decoration: none; }
.comm-primary:hover { background: #315448; }
.comm-feature a { display: block; }
.comm-feature img { display: block; width: 100%; height: auto; }
.comm-feature figcaption { display: flex; gap: .375rem 1rem; justify-content: space-between; flex-wrap: wrap; color: #41554b; padding-top: .55rem; font-size: .83rem; }
.comm-feature figcaption span[lang="ko"] { margin-inline-start: .35em; }
.comm-story { display: grid; grid-template-columns: minmax(0, 1.43fr) minmax(0, 1fr); gap: clamp(1.4rem, 6vw, 5rem); margin: 0 0 clamp(2rem, 6vw, 4.1rem); padding: .3rem clamp(0rem, 2vw, 1.75rem) 1rem; }
.comm-note h2 { margin-block: .32rem .65rem; font-family: Georgia, serif; font-weight: 400; line-height: 1.16; }
.comm-note p:not(.comm-kicker), .comm-visit address { color: #4d5751; }
.comm-note details { margin-top: .45rem; }
.comm-note summary { cursor: pointer; color: #315448; min-height: 44px; align-content: center; }
.comm-visit { border-left: 1px solid #c9cfc8; padding-left: clamp(1rem, 3vw, 2.6rem); }
.comm-visit h3 { margin: .3rem 0 .2rem; font: 400 1.45rem/1.25 Georgia, serif; }
.comm-visit address { font-style: normal; font-size: .91rem; }
.comm-visit a { display: inline-flex; min-height: 44px; align-items: center; gap: .35rem; color: #315448; font-size: .9rem; }
@media (max-width: 760px) { .comm-hero, .comm-story { grid-template-columns: minmax(0, 1fr); } .comm-hero h1 { font-size: clamp(2rem, 7.4vw, 4rem); } .comm-visit { border-left: 0; border-top: 1px solid #c9cfc8; padding: 1.15rem 0 0; } }
