@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600&family=Noto+Serif+KR:wght@400;500;600&display=swap');

:root {
  --paper: #eeefe9;
  --paper-deep: #dfe1d9;
  --ink: #20231f;
  --muted: #61675f;
  --line: #aeb4a8;
  --accent: #a54d39;
  --dark: #252923;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 20; padding: 12px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.masthead { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 clamp(22px, 4vw, 68px); border-bottom: 1px solid var(--line); }
.masthead-name { width: fit-content; min-height: 44px; display: flex; flex-wrap: wrap; align-content: center; column-gap: .3em; padding: 10px 0; font-family: 'Noto Serif KR', serif; font-size: 1.12rem; font-weight: 600; line-height: 1.6; }
.masthead-name span { display: inline-block; }
.masthead-edition { color: var(--muted); font-size: .875rem; }
.masthead-visit { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; gap: 12px; font-size: .875rem; }
.masthead-visit span { color: var(--accent); font-size: 1.1rem; }

.opening { min-height: calc(100svh - 76px); padding: clamp(30px, 4vw, 60px) clamp(22px, 4vw, 68px) clamp(32px, 4vw, 60px); display: flex; flex-direction: column; }
.opening-top { display: flex; justify-content: space-between; width: min(44%, 600px); color: var(--muted); font-size: .875rem; }
.opening-title { margin: auto 0; padding: clamp(70px, 10vh, 140px) 0; }
.opening-kicker { display: block; margin: 0 0 clamp(24px, 4vw, 70px); font-family: 'Noto Serif KR', serif; font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 2.3rem); letter-spacing: -.05em; }
.opening h1 { max-width: 1100px; margin: 0 0 0 10%; font-family: 'Noto Serif KR', serif; font-weight: 400; font-size: clamp(5rem, 10vw, 11rem); line-height: 1.23; letter-spacing: -.09em; overflow-wrap: anywhere; }
.opening h1 > span:last-child { display: block; margin-left: clamp(55px, 21vw, 355px); }
.opening-bottom { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--ink); padding-top: 18px; font-size: .875rem; }
.opening-bottom p { margin: 0; color: var(--muted); line-height: 1.65; }
.opening-bottom a { min-height: 44px; display: inline-flex; align-items: center; gap: 28px; }
.opening-bottom a span { color: var(--accent); font-size: 1.25rem; }

.intro { min-height: 72svh; background: var(--paper-deep); padding: clamp(36px, 6vw, 100px) clamp(22px, 7vw, 120px); display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr); grid-template-rows: 1fr auto; gap: 32px; }
.intro-marker { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; border-top: 1px solid var(--ink); padding-top: 12px; padding-bottom: 30px; font-size: .875rem; color: var(--muted); }
.intro-copy { align-self: center; padding: 10vh 0; }
.intro h2 { margin: 0 0 44px; font-family: 'Noto Serif KR', serif; font-weight: 500; font-size: clamp(2.7rem, 5vw, 5.2rem); letter-spacing: -.07em; }
.intro-copy p { max-width: 500px; margin: 0; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.9; white-space: pre-line; word-break: keep-all; }
.intro-bottom { grid-column: 2; align-self: end; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: .875rem; }

.gallery-page { min-height: 100svh; padding: clamp(60px, 7vw, 112px) clamp(22px, 5vw, 90px); border-top: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.gallery-heading { display: flex; align-items: baseline; gap: clamp(28px, 6vw, 100px); margin-bottom: clamp(36px, 5vw, 72px); }
.gallery-number { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-heading h2 { margin: 0; font-family: 'Noto Serif KR', serif; font-weight: 400; font-size: clamp(2rem, 3.6vw, 4rem); letter-spacing: -.06em; word-break: keep-all; }
.gallery-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 4vw, 64px); }
.gallery-piece { min-width: 0; margin: 0; }
.gallery-image img { display: block; width: 100%; height: auto; max-height: 68svh; object-fit: contain; }
.gallery-caption { margin-top: 16px; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.gallery-page:nth-child(2), .gallery-page:nth-child(3) { background: var(--dark); color: var(--paper); border-color: #51584e; }
.gallery-page:nth-child(2) .gallery-number, .gallery-page:nth-child(3) .gallery-number,
.gallery-page:nth-child(2) .gallery-caption, .gallery-page:nth-child(3) .gallery-caption { color: #bcc3b7; }

.closing { min-height: 62svh; padding: clamp(36px, 5vw, 76px) clamp(22px, 4vw, 68px); background: #fff; display: flex; flex-direction: column; }
.closing-top { display: flex; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 15px; color: var(--muted); font-size: .875rem; }
.closing-brand { width: min(100%, 960px); margin: auto; padding: clamp(36px, 6vw, 80px) 0; }
.closing-brand img { display: block; width: 100%; height: auto; }
.closing a { align-self: flex-end; min-height: 44px; display: inline-flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--ink); font-size: .875rem; }
.closing a span { color: var(--accent); font-size: 1.15rem; }

@media (max-width: 760px) {
  .masthead { min-height: 64px; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .masthead-edition { display: none; }
  .opening { min-height: calc(100svh - 64px); }
  .opening-top { width: 100%; }
  .opening-title { padding: 50px 0; }
  .opening-kicker { margin-bottom: 32px; }
  .opening h1 { margin-left: 0; font-size: clamp(3.7rem, 15vw, 6.2rem); line-height: 1.3; }
  .opening h1 > span:last-child { margin-left: 22vw; }
  .intro { min-height: 60svh; display: block; padding: 42px 24px; }
  .intro-marker { flex-direction: row; padding-bottom: 0; }
  .intro-copy { padding: 13vh 0 16vh; }
  .intro h2 { margin-bottom: 30px; }
  .intro-bottom { display: block; }
  .gallery-page { min-height: 0; padding: 64px 22px 80px; }
  .gallery-heading { gap: 24px; margin-bottom: 36px; }
  .gallery-pair { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .gallery-image img { max-height: none; }
  .closing { min-height: 48svh; }
}
@media (max-width: 390px) {
  .opening h1 { font-size: 14vw; }
  .opening-bottom a { gap: 8px; }
  .closing-top span:last-child { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .opening-title { animation: first-page 1.1s cubic-bezier(.16, 1, .3, 1) both; }
  html.has-motion .motion-copy { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .85s cubic-bezier(.16, 1, .3, 1); }
  html.has-motion .motion-copy.is-visible { opacity: 1; transform: none; }
  html.has-motion .motion-photo { clip-path: none; }
  html.has-motion .motion-photo.is-visible { animation: photo-reveal 1.1s cubic-bezier(.65, 0, .15, 1); }
}
@keyframes first-page { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; border: 0; }
.opening.opening--poster { min-height: 0; padding: 32px clamp(0px, 2vw, 32px) 28px; background: #1d1c1b; color: var(--paper); }
.hero-poster { width: min(100%, 720px); margin: 0 auto; }
.hero-poster img { display: block; width: 100%; height: auto; }
.opening--poster .opening-bottom { width: min(100%, 900px); margin: 28px auto 0; padding: 18px 22px 0; border-color: #696b65; }
.opening--poster .opening-bottom p { color: #d4d7cd; }
.opening--poster .opening-bottom a span { color: #d4d7cd; }
.opening--poster a:focus-visible { outline-color: var(--paper); }
@media (max-width: 760px) { .opening.opening--poster { padding: 0 0 24px; } .opening--poster .opening-bottom { margin-top: 18px; } }
.artist-note p + p { margin-top: 1.5em; }
.exhibition-quote { max-width: 500px; margin: 56px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.exhibition-quote p { font-family: 'Noto Serif KR', serif; }
.exhibition-quote cite { display: block; margin-top: 18px; font-size: .875rem; color: var(--muted); font-style: normal; }
.artist { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; padding: clamp(60px, 8vw, 130px) clamp(22px, 7vw, 120px); border-top: 1px solid var(--line); }
.artist-label { font-size: .875rem; padding-top: 10px; }
.artist-body { max-width: 780px; min-width: 0; }
.artist h2 { margin: 0 0 42px; font-family: 'Noto Serif KR', serif; font-size: clamp(2.08rem, 4vw, 3.84rem); font-weight: 400; letter-spacing: -.06em; }
.artist h2 span { display: inline-block; font-family: 'Noto Sans KR', sans-serif; font-size: 1rem; letter-spacing: 0; color: var(--muted); }
.artist-bio { font-size: 1rem; line-height: 2; word-break: keep-all; }
.artist h3 { font-size: 1rem; font-weight: 500; margin: 60px 0 20px; }
.artist-history { margin: 0; }
.artist-history > div { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.75; }
.artist-history dt { color: var(--muted); font-variant-numeric: tabular-nums; }
.artist-history dd { margin: 0; overflow-wrap: anywhere; }
.artist-history dd span { color: var(--muted); }
.artist-history a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .masthead-name { font-size: .95rem; } .opening-bottom { gap: 20px; align-items: center; } .opening-bottom p { max-width: 50%; } .opening-bottom a { gap: 10px; } .intro-copy { padding: 60px 0; } .artist { display: block; } .artist-label { display: block; margin-bottom: 35px; } .artist h2 span { display: block; margin-top: 14px; } .artist-history > div { grid-template-columns: 46px 1fr; gap: 16px; } .artist-bio br { display: none; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

@keyframes photo-reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

/* A photographic wall: original image proportions, uneven hanging rhythm. */
.exhibition-wall { padding: 42px clamp(22px, 4vw, 68px) 28px; background: #f8f8f5; }
.wall-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.wall-intro p { margin: 0 0 12px; font-size: .875rem; color: var(--muted); }
.wall-intro h1 { margin: 0; font-family: 'Noto Serif KR', serif; font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 400; letter-spacing: -.05em; }
.wall-intro h1 span { display: inline-block; }
.wall-intro .wall-hint { margin: 0; flex-shrink: 0; font-size: .8rem; }
.photo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: center; gap: clamp(18px, 2.3vw, 38px); padding: 18px 0 46px; }
.wall-photo { appearance: none; display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; justify-self: center; }
.wall-photo img { display: block; width: 100%; height: auto; }
.wall-photo:nth-child(6n + 1) { width: 83%; align-self: end; }
.wall-photo:nth-child(6n + 3) { width: 76%; }
.wall-photo:nth-child(6n + 4) { align-self: start; margin-top: 16%; }
.wall-photo:nth-child(6n + 5) { width: 87%; align-self: end; }
.wall-photo:nth-child(6n) { width: 74%; }
.wall-photo:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
.wall-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid #d8d9d2; color: var(--muted); font-size: .875rem; }
.wall-bottom a { text-decoration: underline; text-underline-offset: 5px; }
.photo-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 18px clamp(16px, 3vw, 48px); border: 0; color: #f8f8f5; background: #151715; }
.photo-viewer[open] { display: grid; grid-template-rows: 48px minmax(0, 1fr) 60px; gap: 14px; }
.photo-viewer::backdrop { background: #151715; }
.viewer-toolbar, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .875rem; }
.viewer-toolbar { color: #c2c7bd; font-variant-numeric: tabular-nums; }
.photo-viewer button { min-width: 60px; min-height: 44px; border: 1px solid #5b6158; padding: 8px 16px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.photo-viewer button:hover { background: #343b32; }
.photo-viewer button:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.viewer-stage { min-height: 0; display: flex; justify-content: center; align-items: center; }
.viewer-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.viewer-bottom p { margin: 0; text-align: center; }
body.viewer-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .wall-photo { transition: transform .35s ease; }
  .wall-photo:hover { transform: scale(1.04); }
  .photo-viewer[open] { animation: viewer-enter .25s ease; }
}
@keyframes viewer-enter { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) {
  .wall-intro { display: block; margin-bottom: 32px; }
  .wall-intro .wall-hint { margin-top: 18px; }
  .photo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .exhibition-wall { padding-top: 30px; }
  .photo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; }
  .wall-photo:nth-child(n) { width: 100%; align-self: center; margin: 0; }
  .wall-photo:nth-child(3n + 2) { width: 83%; }
  .wall-intro h1 { font-size: 1.7rem; line-height: 1.65; }
  .wall-bottom { font-size: .8rem; }
}

/* Closing exhibition banner, displayed in full without cropping. */
.closing { min-height: 0; background: #000; color: #eeefe9; }
.closing-top { color: #bdc2b9; border-color: #50554c; }
.closing-brand { width: 100%; margin: 0 auto; padding: clamp(28px, 4vw, 64px) 0; }
.closing a { border-color: #8c9387; }
.closing a span { color: #c9cec3; }

/* Individually hung positions: no shared rows or subject blocks. */
.photo-wall { position: relative; display: block; aspect-ratio: 1200 / 820; padding: 0; margin: 0 0 24px; }
.photo-wall .wall-photo:nth-child(n) { position: absolute; left: var(--wall-x); top: var(--wall-y); width: var(--wall-width); margin: 0; }
.wall-photo:hover, .wall-photo:focus-visible { z-index: 1; }
@media (max-width: 600px) {
  .photo-wall { position: static; display: grid; aspect-ratio: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 26px 20px; padding: 16px 0 35px; }
  .photo-wall .wall-photo:nth-child(n) { position: relative; left: auto; top: auto; width: 100%; margin: 0; }
  .photo-wall .wall-photo:nth-child(4n + 1) { width: 76%; justify-self: start; margin-top: 24px; }
  .photo-wall .wall-photo:nth-child(4n + 2) { width: 91%; justify-self: end; }
  .photo-wall .wall-photo:nth-child(4n + 3) { width: 95%; justify-self: end; }
  .photo-wall .wall-photo:nth-child(4n) { width: 68%; justify-self: start; margin-top: 32px; }
}

/* Reference-led salon wall: larger anchors, clustered smaller prints. */
.exhibition-wall {
  background-color: #e8e7e3;
  background-image: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,.95), transparent 53%), radial-gradient(ellipse at 80% 12%, rgba(255,255,255,.72), transparent 48%), linear-gradient(180deg, #eeede9 0%, #e5e4df 88%, #d6d4ce 100%);
  padding-bottom: clamp(32px, 5vw, 80px);
}
.wall-intro { padding-top: 12px; margin-bottom: clamp(20px, 3vw, 48px); }
.photo-wall { aspect-ratio: 1600 / 1320; max-width: 1800px; margin: 0 auto 40px; }
.wall-photo { box-shadow: 1px 2px 3px #27251f26, 5px 10px 18px #27251f20; background: #fff; }
.wall-photo img { outline: 1px solid #ffffff60; }
.wall-photo:focus-visible { outline-offset: 7px; }
.wall-bottom { border-color: #bcbab1; padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) {
 .wall-photo { transition: transform .3s ease, box-shadow .3s ease; }
 .wall-photo:hover { transform: translateY(-3px) scale(1.015); box-shadow: 2px 5px 6px #27251f20, 8px 16px 26px #27251f30; }
}
@media (max-width: 600px) {
 .photo-wall { aspect-ratio: auto; gap: 32px 22px; }
 .photo-wall .wall-photo:nth-child(18n + 3), .photo-wall .wall-photo:nth-child(18n + 7) { grid-column: 1 / -1; width: 83%; justify-self: center; margin: 12px 0; }
 .wall-intro { margin-bottom: 28px; }
}

/* Dark exhibition wall */
.masthead { background: #101111; color: #f0efea; border-color: #343636; }
.masthead-edition { color: #a8aaa5; }
.masthead-visit span { color: #d7d4c9; }
.exhibition-wall { color: #eeede7; background-color: #111212; background-image: radial-gradient(ellipse at 32% 7%, #42423d88 0%, transparent 42%), radial-gradient(ellipse at 78% 24%, #343b3c77 0%, transparent 41%), linear-gradient(180deg, #191b1b, #101111 82%, #080909); }
.wall-intro p, .wall-intro .wall-hint { color: #b8bab4; }
.photo-wall { aspect-ratio: 1600 / 1300; }
.wall-photo { background: #161717; box-shadow: 0 0 0 1px #d9ddd51f, 3px 5px 5px #0009, 12px 20px 28px #0008; }
.wall-photo img { outline: 1px solid #d9ddd51a; }
.wall-bottom { color: #b9bcb5; border-color: #40433f; }
.exhibition-wall a:focus-visible, .wall-photo:focus-visible { outline-color: #e2dac3; }
@media (prefers-reduced-motion: no-preference) { .wall-photo:hover { box-shadow: 0 0 0 1px #f0e9d344, 5px 9px 10px #0009, 16px 28px 36px #000a; } }
@media (max-width: 600px) {
 .photo-wall { aspect-ratio: auto; }
 .photo-wall .wall-photo:nth-child(18n + 7) { grid-column: auto; width: 95%; margin: 0; }
 .photo-wall .wall-photo:nth-child(15n + 6) { grid-column: 1 / -1; width: 94%; justify-self: center; margin: 18px 0; }
}

/* Poster and artist statement share one exhibition section. */
.intro.intro--combined { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(48px, 6vw, 96px) clamp(24px, 6vw, 96px); background: #191b1b; color: #eeede7; }
.intro--combined .intro-poster { min-width: 0; }
.intro--combined .hero-poster { width: 100%; max-width: 580px; margin: 0 auto; }
.poster-motto { margin: 22px 0 0; text-align: center; font-size: .875rem; color: #bec2bb; line-height: 1.8; }
.intro--combined .intro-story { min-width: 0; }
.intro--combined .intro-copy { padding: 0; }
.intro--combined h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); margin-bottom: 30px; }
.intro--combined .intro-copy p { max-width: none; font-size: 1rem; line-height: 1.95; }
.intro--combined .exhibition-quote { max-width: none; margin-top: 32px; border-color: #454942; }
.intro--combined .exhibition-quote cite { color: #bdc3b8; }
.intro--combined .intro-bottom { display: block; margin-top: 30px; border-color: #454942; color: #bdc3b8; line-height: 1.8; }
@media (max-width: 850px) {
 .intro.intro--combined { grid-template-columns: minmax(0, 1fr); gap: 44px; }
 .intro--combined .hero-poster { max-width: 460px; }
}

/* Shared dark exhibition palette across all sections. */
:root { --paper: #eeede7; --paper-deep: #191b1b; --ink: #eeede7; --muted: #b8bab4; --line: #414540; --accent: #d6ccb4; --dark: #111212; color: #eeede7; background: #111212; }
body { background: #111212; }
.intro.intro--combined { background: radial-gradient(ellipse at 18% 24%, #34393655, transparent 58%), linear-gradient(180deg, #111212, #191b1b 60%, #111212); }
.artist { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(36px, 7vw, 112px); background: radial-gradient(ellipse at 27% 20%, #363b3755, transparent 58%), linear-gradient(180deg, #111212, #171919 60%, #101111); color: #eeede7; border-color: #343936; }
.artist-visual { min-width: 0; }
.artist-label { display: block; color: #b8bab4; padding: 0; margin: 0 0 28px; }
.artist-portrait { width: 100%; max-width: 390px; margin: 0; box-shadow: 0 0 0 1px #d9ddd51f, 5px 9px 12px #0006, 14px 24px 38px #0007; }
.artist-portrait img { display: block; width: 100%; height: auto; }
.artist-body { padding-top: 43px; }
.artist-history > div { border-color: #414540; }
.artist-history dt, .artist-history dd span { color: #b8bab4; }
.closing { background: linear-gradient(180deg, #101111, #000 34%); color: #eeede7; }
.skip-link { background: #eeede7; color: #111212; }
@media (max-width: 760px) {
 .artist { display: block; }
 .artist-portrait { width: min(100%, 340px); margin: 0 auto; }
 .artist-body { padding-top: 42px; }
 .artist-label { margin-bottom: 24px; }
}

/* Compact mobile exhibition: all prints remain uncropped and tappable. */
@media (max-width: 600px) {
  .exhibition-wall { padding: 24px 16px 32px; }
  .wall-intro { padding-top: 0; margin-bottom: 22px; }
  .wall-intro h1 { font-size: 1.5rem; line-height: 1.5; }
  .wall-intro .wall-hint { margin-top: 12px; }
  .photo-wall {
    position: static; display: grid; aspect-ratio: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center; gap: 18px 12px;
    padding: 4px 0 12px; margin: 0 auto 20px;
  }
  .photo-wall .wall-photo:nth-child(n) {
    position: relative; left: auto; top: auto; grid-column: auto;
    width: 100%; margin: 0; align-self: center; justify-self: center;
  }
  .photo-wall .wall-photo:nth-child(3n + 1) { width: 90%; }
  .photo-wall .wall-photo:nth-child(6n + 2) { width: 86%; }
  .wall-bottom { gap: 12px; padding-top: 18px; font-size: .75rem; }
  .wall-bottom a { white-space: nowrap; }
  .intro.intro--combined { padding: 36px 22px; gap: 30px; }
  .intro--combined .hero-poster { max-width: 240px; }
  .poster-motto { margin-top: 16px; }
  .intro--combined h2 { margin-bottom: 22px; }
  .artist { padding: 38px 22px; }
  .artist-label { margin-bottom: 18px; }
  .artist-portrait { width: min(65%, 210px); }
  .artist-body { padding-top: 28px; }
  .artist h2 { margin-bottom: 24px; }
  .artist h3 { margin-top: 32px; }
  .artist-history > div { padding: 14px 0; }
  .closing { padding: 28px 22px; }
}

/* Five representative photographs and visitor information. */
@media (min-width: 601px) { .photo-wall { aspect-ratio: 1600 / 800; } }
.wall-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.visit {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(28px, 7vw, 112px);
  padding: clamp(40px, 6vw, 96px) clamp(22px, 7vw, 120px);
  border-top: 1px solid #343936;
  background: radial-gradient(ellipse at 75% 25%, #34393644, transparent 60%), #101111;
}
.visit h2 { margin: 0; font-family: 'Noto Serif KR', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; letter-spacing: -.05em; }
.visit h3 { margin: 0 0 14px; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; }
.visit address { font-style: normal; line-height: 1.8; color: var(--muted); word-break: keep-all; }
.visit-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.visit-links a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; border-bottom: 1px solid #777d72; font-size: .875rem; }
@media (max-width: 600px) {
  .wall-bottom { flex-wrap: wrap; }
  .wall-links { gap: 20px; }
  .visit { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 36px 22px; }
  .visit-links { gap: 8px 20px; margin-top: 18px; }
}

/* Kakao's original map colours and attribution stay intact. */
.visit-details { min-width: 0; }
.venue-map-wrap { position: relative; margin-top: 24px; border: 1px solid #414540; background: #202422; }
.venue-map { width: 100%; height: 340px; }
.venue-map-status { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; margin: 0; padding: 24px; background: #202422; color: #c5c9c1; text-align: center; font-size: .875rem; line-height: 1.8; }
.venue-map-status[hidden] { display: none; }
.venue-map-label { padding: 8px 12px; color: #20231f; background: #fff; font: 500 13px 'Noto Sans KR', sans-serif; white-space: nowrap; text-align: center; }
@media (max-width: 600px) { .venue-map { height: 260px; } .venue-map-wrap { margin-top: 20px; } }

/* Centre the desktop visitor section around a generous map. */
@media (min-width: 601px) {
  .visit { grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: center; }
  .visit-details { width: min(100%, 1120px); margin-inline: auto; }
  .visit .venue-map-wrap { margin-top: 32px; text-align: left; }
  .visit .venue-map { height: clamp(360px, 34vw, 460px); }
  .visit .visit-links { justify-content: center; }
}

/* Compact artist profile with two full, uncropped photographs. */
.artist {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(36px, 5vw, 72px);
}
.artist-label { margin-bottom: 18px; }
.artist-photos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start; gap: 14px; width: 100%; max-width: 460px;
}
.artist-photos .artist-portrait { width: 100%; max-width: none; margin: 0; }
.artist-body { padding-top: 0; }
.artist h2 { margin-bottom: 22px; }
.artist-bio { margin: 0; line-height: 1.85; }
.artist h3 { margin: 30px 0 14px; }
.artist-history > div { padding: 12px 0; font-size: .95rem; line-height: 1.65; }
@media (max-width: 760px) {
  .artist { display: block; padding-block: 36px; }
  .artist-photos { max-width: 360px; margin-inline: auto; gap: 12px; }
  .artist-body { padding-top: 26px; }
  .artist h2 { margin-bottom: 18px; }
}

/* Five prints arranged as a balanced salon grouping. */
@media (min-width: 601px) {
  .photo-wall { aspect-ratio: 1600 / 760; max-width: 1440px; }
}
@media (max-width: 600px) {
  .photo-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 12px; }
  .photo-wall .wall-photo:nth-child(n) {
    grid-column: span 2; width: 100%; margin: 0; align-self: center; justify-self: center;
  }
  .photo-wall .wall-photo:nth-child(2) { width: 88%; }
  .photo-wall .wall-photo:nth-child(4),
  .photo-wall .wall-photo:nth-child(5) { grid-column: span 3; width: 86%; }
}

/* A quiet preview for the forthcoming exhibition goods. */
.goods {
  padding: clamp(36px, 5vw, 72px) clamp(22px, 7vw, 120px);
  border-top: 1px solid #343936;
  background: radial-gradient(ellipse at 50% 45%, #34393644, transparent 65%), #111212;
  color: #eeede7;
}
.goods h2 {
  margin: 0; font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; letter-spacing: -.05em;
}
.goods-preview {
  display: grid; place-items: center;
  min-height: clamp(180px, 22vw, 300px);
  margin-top: 26px; border-block: 1px solid #414540;
}
.goods-coming {
  margin: 0; color: #b8bab4; font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem); letter-spacing: .12em;
}
@media (max-width: 600px) {
  .goods { padding: 36px 22px; }
  .goods-preview { min-height: 160px; margin-top: 22px; }
}

/* Silhouette teaser with crisp HTML typography over the image. */
.goods-preview--teaser {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(260px, 30vw, 420px); background: #111212;
}
.goods-teaser-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.goods-preview--teaser::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #11121215, #11121255 55%, #11121299); z-index: -1; }
.goods-teaser-copy { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 20px; text-shadow: 0 2px 18px #000; }
.goods-mystery { font-family: 'Noto Serif KR', serif; font-size: clamp(4rem, 7vw, 6.5rem); line-height: 1.1; color: #ddd8cb; font-weight: 400; }
.goods-preview--teaser .goods-coming { color: #eeede7; }
@media (max-width: 600px) { .goods-preview--teaser { min-height: 250px; } }


/* Adelina Soap exhibition collaboration — compact gallery-style triptych. */
.soap-collab {
  padding: clamp(36px, 5vw, 72px) clamp(22px, 5vw, 90px);
  border-top: 1px solid #343936;
  background: radial-gradient(ellipse at 50% 45%, #34393644, transparent 65%), #111212;
  color: #eeede7;
}
.soap-collab h2 {
  margin: 0;
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -.05em;
}
.goods-collab {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 64px);
  align-items: center;
  margin-top: 26px;
  padding: clamp(24px, 3vw, 48px) 0;
  border-block: 1px solid #757d75;
}
.goods-collab-visual { min-width: 0; margin: 0; }
.goods-collab-visual img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover; background: #242724;
}
.goods-collab-visual figcaption {
  margin-top: 8px; color: #a9afaa; font-size: .78rem;
}
.goods-collab-about { min-width: 0; }
.goods-collab-kicker, .goods-collab-exhibition {
  margin: 0; color: #a8c0b5; font-size: clamp(.86rem, 1.35vw, 1.05rem);
  line-height: 1.7;
}
.goods-collab-about h3 {
  margin: 14px 0 6px; font-family: 'Noto Serif KR', serif;
  font-size: clamp(2.1rem, 3.4vw, 3.6rem); font-weight: 500;
  line-height: 1.3; letter-spacing: -.06em; word-break: keep-all;
}
.goods-collab-description {
  margin: clamp(20px, 2.5vw, 35px) 0 0;
  font-size: clamp(.92rem, 1.4vw, 1.13rem);
  line-height: 1.9; word-break: keep-all;
}
.goods-collab-instagram {
  width: fit-content; min-height: 44px; display: inline-flex;
  align-items: center; gap: 9px; margin-top: 16px;
  color: #b1c9be; font-size: clamp(.94rem, 1.3vw, 1.07rem);
}
.goods-collab-instagram svg { width: 22px; height: 22px; flex: none; }
.goods-collab-instagram:hover { color: #fff; }
.goods-collab-instagram:focus-visible { outline-color: #e9eee9; }
.goods-collab-external { font-size: .84em; opacity: .75; }
.goods-collab-event {
  display: flex; flex-direction: column; justify-content: center;
  align-self: stretch; min-width: 0;
  padding-left: clamp(24px, 3.1vw, 52px);
  border-left: 1px solid #858e87;
}
.goods-collab-detail {
  display: flex; flex-direction: column; gap: 10px;
  margin: 0; color: #c6c8c5;
  font-size: clamp(.88rem, 1.35vw, 1.05rem);
  line-height: 1.65; word-break: keep-all;
}
.goods-collab-date {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.08rem, 1.65vw, 1.42rem);
  color: #eeede7;
}
.goods-collab-sales {
  margin-top: 8px;
  color: #b1c9be;
  font-weight: 500;
}
.goods-collab-disclaimer { margin: 20px 0 0; color: #a9afaa; font-size: .82rem; line-height: 1.7; }
@media (max-width: 1050px) {
  .goods-collab { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
  .goods-collab-event {
    grid-column: 1 / -1; border-left: 0; border-top: 1px solid #515a54;
    padding: 28px 0 0;
  }

}
@media (max-width: 600px) {
  .soap-collab { padding: 36px 22px; }
  .goods-collab { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 22px; padding: 26px 0; }
  .goods-collab-visual img { max-width: 480px; }
  .goods-collab-event { grid-column: 1; padding-top: 25px; }
  .goods-collab-about h3 { margin-top: 8px; }
  .goods-collab-description { margin-top: 20px; }
}


/* Two halves of the exhibition banner slide open like gallery doors. */
html.entrance-open, .entrance-open body { overflow: hidden; }
dialog.entrance {
  position: fixed; inset: 0; margin: 0; padding: 0;
  width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none;
  border: 0; color: #eeede7; background: transparent;
  overflow: hidden; outline: none;
}
dialog.entrance[open] { display: block; }
dialog.entrance::backdrop { background: transparent; }
.entrance-door {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, #1b1e1d, #101111 75%);
  transition: transform 1400ms cubic-bezier(.65, 0, .25, 1);
  will-change: transform;
}
.entrance-door--left { clip-path: inset(0 50% 0 0); }
.entrance-door--right { clip-path: inset(0 0 0 50%); }
.entrance-door--left::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 1px);
  width: 1px; background: linear-gradient(transparent, #d9dbca33 45%, transparent);
}
.entrance-content { width: min(calc(100% - 48px), 1100px); text-align: center; }
.entrance-banner {
  display: block; width: 100%; height: auto; max-height: 65vh; object-fit: contain;
  opacity: 0; transition: opacity 650ms ease;
}
.entrance-ready .entrance-banner { opacity: 1; }
.entrance-note {
  margin: clamp(24px, 5vh, 52px) 0 0; padding-inline: 8px;
  color: #a9ada6; font: 400 12px/1.8 'Noto Sans KR', sans-serif;
  letter-spacing: .02em; word-break: keep-all;
}
.entrance-skip {
  position: absolute; bottom: max(24px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
  min-height: 44px; padding: 10px 12px;
  border: 0; border-bottom: 1px solid #535851; background: transparent;
  color: #b9beb5; font: inherit; font-size: 12px; cursor: pointer;
  transition: opacity 200ms ease;
}
.entrance-skip:focus-visible { outline: 2px solid #eeede7; outline-offset: 4px; }
.entrance-leaving .entrance-door--left { transform: translateX(-50%); }
.entrance-leaving .entrance-door--right { transform: translateX(50%); }
.entrance-leaving .entrance-skip { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
  .entrance-content { width: calc(100% - 36px); }
  .entrance-note { font-size: 11px; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .entrance-door, .entrance-banner { transition: none; }
  .entrance-leaving .entrance-door { transform: none; opacity: 0; }
}

/* Keep the portrait entrance poster fully visible, including its exhibition details. */
.entrance-banner {
  width: auto; max-width: 100%; height: auto; max-height: 76vh; max-height: 76dvh;
  margin-inline: auto; object-fit: contain;
}
.entrance-note { margin-top: 16px; }
@media (max-width: 600px) {
  .entrance-note { margin-top: 14px; }
}

/* Edge-to-edge entrance artwork, without labels or controls. */
.entrance .entrance-content { width: 100%; height: 100%; }
.entrance .entrance-banner {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; object-fit: cover; object-position: center;
}

/* Desktop: display the whole portrait poster with breathing room. */
@media (min-width: 769px) {
  .entrance .entrance-content {
    width: calc(100% - 64px);
    height: 88vh;
    height: 88dvh;
  }
  .entrance .entrance-banner { object-fit: contain; }
}

/* Studio Instagram alongside the artist affiliation. */
.artist-history a.artist-affiliation-link { color: inherit; font-size: .9em; white-space: nowrap; text-decoration-color: #858e8780; }
.artist-history a.artist-affiliation-link:hover { color: #eeede7; text-decoration-color: currentColor; }
.artist-history a.artist-affiliation-link:focus-visible { outline: 2px solid #eeede7; outline-offset: 4px; }
