:root {
  color-scheme: light;
  --paper: #f1efe8;
  --paper-deep: #e5e1d6;
  --ink: #171714;
  --muted: #706f68;
  --line: rgba(23, 23, 20, 0.19);
  --blue: #29495c;
  --oxide: #6c3730;
  --night: #090c0e;
  --header-h: 74px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.dialog-open { overflow: hidden; }
body, a, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.museum-header {
  position: fixed;
  z-index: 900;
  inset: 0 0 auto;
  height: var(--header-h);
  border-bottom: 1px solid rgba(21, 21, 18, 0.16);
  background: rgba(241, 239, 232, 0.9);
  backdrop-filter: blur(16px);
}

.museum-header-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 20px;
  width: min(100% - 42px, 1500px);
  height: 100%;
  margin: 0 auto;
}

.museum-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", "Batang", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.1;
}

.mark-symbol {
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.mark-symbol::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5px;
  width: 15px;
  height: 1px;
  background: currentColor;
  transform: rotate(-28deg);
}

.museum-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  min-width: 0;
}

.museum-nav a {
  position: relative;
  display: grid;
  min-width: 54px;
  padding: 0 11px;
  place-items: center;
  text-decoration: none;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.museum-nav a::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 15px;
  left: 11px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.museum-nav a:hover::after,
.museum-nav a[aria-current="location"]::after { transform: scaleX(1); }

.sound-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  transition: color 180ms ease, background 180ms ease;
}

.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] { color: var(--paper); background: var(--ink); }

.sound-dot {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.sound-toggle[aria-pressed="true"] .sound-dot { background: currentColor; }

.audio-controls { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; }
.audio-player { display: inline-flex; align-items: center; gap: 6px; }
.audio-transport { display: flex; align-items: center; gap: 6px; }
.audio-transport button { display: grid; width: 28px; height: 28px; padding: 0; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: inherit; background: transparent; cursor: pointer; font-size: 13px; line-height: 1; transition: color 180ms ease, background 180ms ease; }
.audio-transport button:hover, .audio-transport button:focus-visible { color: var(--paper); background: var(--ink); }
.volume-control { display: block; margin: 0; line-height: 1; }
.volume-control input { display: block; width: 62px; height: 18px; margin: 0; accent-color: var(--oxide); cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hero {
  position: relative;
  min-height: 100svh;
  color: #f6f2e8;
  overflow: hidden;
  background: #17242a;
}

.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; filter: saturate(0.72) contrast(1.05); }
.hero-shade { background: linear-gradient(110deg, rgba(3, 8, 10, 0.67) 0%, rgba(4, 8, 9, 0.25) 53%, rgba(4, 8, 9, 0.58) 100%); }

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  width: min(100% - 70px, 1500px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 46px) 0 44px;
}

.hero-topline, .section-index, .artist-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  margin: auto 0;
  font-family: Georgia, "Times New Roman", "Batang", serif;
  font-size: clamp(95px, 18vw, 280px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.76;
  text-shadow: 0 3px 35px rgba(0, 0, 0, 0.16);
}

.hero-title span {
  display: block;
  margin: 28px 0 0 0.06em;
  font-family: "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.33em;
  line-height: 1;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 0.65fr auto;
  align-items: end;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.48);
  padding-top: 18px;
}

.hero-description, .hero-date { margin: 0; }
.hero-description { font-family: Georgia, "Batang", serif; font-size: clamp(20px, 2vw, 32px); line-height: 1.35; }
.hero-date { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.entrance-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

.entrance-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: inherit;
  background: rgba(3, 8, 10, 0.12);
  text-decoration: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: color 180ms ease, background 180ms ease;
}

.entrance-button:hover { color: var(--ink); background: var(--paper); }

.section { padding: clamp(92px, 12vw, 180px) 0; }
.section-inner, .stage-inner { width: min(100% - 70px, 1360px); margin: 0 auto; }
.section-index { color: var(--muted); }

.info-section { background: var(--paper); }
.info-grid { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(260px, 0.62fr); gap: clamp(55px, 10vw, 160px); margin-top: 56px; }
.info-heading { margin: 0; font-family: Georgia, "Times New Roman", "Batang", serif; font-size: clamp(44px, 6.8vw, 105px); font-weight: 400; letter-spacing: -0.055em; line-height: 0.98; }
.info-heading em { color: var(--blue); font-weight: 400; }
.curator-copy { width: min(100%, 690px); margin: 55px 0 0; font-family: Georgia, "Batang", serif; font-size: clamp(17px, 1.55vw, 23px); line-height: 1.9; }
.info-facts { align-self: end; margin: 0; border-top: 1px solid var(--ink); }
.info-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.info-facts dt { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.info-facts dd { margin: 0; font-size: 13px; }

.artists-section { padding: clamp(90px, 10vw, 145px) 0 0; background: #dcd8cc; }
.artists-heading { margin-bottom: 52px; }
.artists-heading-row { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: end; gap: 50px; margin-top: 38px; }
.artists-heading h2 { margin: 0; font-family: Georgia, "Batang", serif; font-size: clamp(44px, 6.2vw, 92px); font-weight: 400; letter-spacing: -0.05em; line-height: 1.03; }
.artists-heading-row > p { max-width: 460px; margin: 0 0 8px auto; font-size: 14px; line-height: 1.9; }
.artist-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: min(720px, 76svh); }

.artist-door {
  position: relative;
  min-height: min(720px, 76svh);
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  background: #101315;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.artist-door:last-child { border-right: 0; }
.artist-door img, .door-wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.artist-door img { object-fit: cover; filter: saturate(0.52) brightness(0.62); transform: scale(1.015); transition: transform 800ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 550ms ease; }
.door-wash { background: linear-gradient(180deg, rgba(6, 8, 9, 0.45), transparent 35%, rgba(4, 6, 7, 0.64)); transition: background 400ms ease; }
.door-hint, .door-name, .door-enter { position: absolute; z-index: 1; }
.door-hint { top: 25px; left: 25px; font-size: 9px; font-weight: 750; letter-spacing: 0.17em; }
.door-name { top: 50%; right: 25px; left: 25px; transform: translateY(calc(-50% + 15px)); opacity: 0; transition: opacity 350ms ease, transform 600ms cubic-bezier(0.2, 0.76, 0.3, 1); }
.door-name strong { display: block; font-family: Georgia, "Batang", serif; font-size: clamp(42px, 5vw, 82px); font-weight: 400; letter-spacing: -0.04em; line-height: 0.96; }
.door-name small { display: block; margin-top: 15px; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; }
.door-enter { right: 25px; bottom: 25px; left: 25px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.56); padding-top: 11px; font-size: 11px; }
.artist-door:hover img, .artist-door:focus-visible img { filter: saturate(0.78) brightness(0.78); transform: scale(1.045); }
.artist-door:hover .door-name, .artist-door:focus-visible .door-name { opacity: 1; transform: translateY(-50%); }
.artist-door[aria-expanded="true"] .door-name { opacity: 1; transform: translateY(-50%); }
.artist-door[aria-expanded="true"]::after { content: ""; position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 4px; background: #f1efe8; }

.artist-stage { padding: clamp(100px, 11vw, 160px) 0 0; }
.artist-stage-seoha { color: #122027; background: #dbe2e1; }
.artist-stage-ijoon { color: #211e19; background: #e7e0d4; }
.artist-stage-haewon { color: #ebe9e2; background: #090d11; }
.artist-intro { display: grid; grid-template-columns: 0.36fr 1.05fr 0.59fr; gap: 34px; align-items: start; border-top: 1px solid currentColor; padding-top: 20px; }
.artist-kicker { opacity: 0.65; }
.artist-intro h2 { margin: 0; font-family: Georgia, "Batang", serif; font-size: clamp(60px, 9vw, 140px); font-weight: 400; letter-spacing: -0.06em; line-height: 0.82; }
.artist-intro h2 span { display: block; margin-top: 28px; font-family: "Segoe UI", sans-serif; font-size: 10px; font-weight: 760; letter-spacing: 0.25em; }
.series-name { margin: 45px 0 0; font-family: Georgia, "Batang", serif; font-size: clamp(22px, 2.3vw, 34px); }
.series-name span { display: block; margin-top: 5px; font-size: 13px; font-style: italic; opacity: 0.64; }
.artist-bio { margin: 0; font-family: Georgia, "Batang", serif; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.9; }

.artwork-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(25px, 4vw, 62px) 24px; margin-top: clamp(85px, 11vw, 160px); }
.artwork-card { grid-column: span 4; margin: 0; }
.artwork-card:nth-child(2) { margin-top: 12vw; }
.artwork-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; overflow: hidden; cursor: pointer; }
.artwork-image { display: block; aspect-ratio: 1.42 / 1; overflow: hidden; }
.artwork-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 500ms ease; }
.artwork-open:hover img, .artwork-open:focus-visible img { transform: scale(1.02); filter: brightness(0.84); }
.artist-stage-haewon .artwork-card:nth-child(2) .artwork-image img { transform: scale(1.14); }
.artist-stage-haewon .artwork-card:nth-child(2) .artwork-open:hover img,
.artist-stage-haewon .artwork-card:nth-child(2) .artwork-open:focus-visible img { transform: scale(1.17); }
.view-cue { position: absolute; right: 13px; bottom: 12px; padding: 6px 9px; color: #fff; background: rgba(0, 0, 0, 0.55); font-size: 9px; font-weight: 800; letter-spacing: 0.13em; opacity: 0; transform: translateY(6px); transition: opacity 180ms ease, transform 180ms ease; }
.artwork-open:hover .view-cue, .artwork-open:focus-visible .view-cue { opacity: 1; transform: translateY(0); }
.artwork-card figcaption { display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; border-top: 1px solid currentColor; margin-top: 13px; padding-top: 10px; font-size: 11px; }
.artwork-card figcaption b { margin-right: 12px; font-size: 9px; }
.artwork-card figcaption small { grid-column: 1 / -1; margin-top: 7px; opacity: 0.68; font-family: Georgia, "Batang", serif; font-size: 13px; line-height: 1.7; }

.guestbook { margin-top: clamp(105px, 14vw, 210px); padding: clamp(75px, 9vw, 130px) 0 clamp(90px, 11vw, 170px); border-top: 1px solid currentColor; }
.guestbook-heading { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 55px; }
.guestbook-heading h3 { margin: 25px 0 0; font-family: Georgia, "Batang", serif; font-size: clamp(36px, 5.1vw, 75px); font-weight: 400; letter-spacing: -0.045em; line-height: 1.08; }
.guestbook-heading > p { max-width: 430px; margin: 0 0 6px auto; font-size: 13px; line-height: 1.9; opacity: 0.78; }
.guestbook-layout { display: grid; grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr); gap: clamp(55px, 8vw, 120px); margin-top: 65px; }
.guestbook-form { min-width: 0; }
.form-note { margin: 0 0 34px; font-size: 11px; opacity: 0.72; }
.guestbook-form label { display: block; margin-top: 20px; font-size: 10px; font-weight: 780; letter-spacing: 0.12em; }
.field-line { position: relative; border-bottom: 1px solid currentColor; }
.field-line input, .field-line textarea { display: block; width: 100%; padding: 12px 70px 10px 0; border: 0; border-radius: 0; color: inherit; background: transparent; outline: 0; resize: vertical; }
.field-line input:focus, .field-line textarea:focus { box-shadow: 0 2px 0 currentColor; }
.field-line [aria-invalid="true"] { box-shadow: 0 2px 0 #9c3026; }
.char-count { position: absolute; right: 0; bottom: 10px; font-size: 9px; opacity: 0.58; }
.submit-note { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: space-between; margin-top: 30px; padding: 0 15px; border: 1px solid currentColor; color: inherit; background: transparent; cursor: pointer; font-size: 11px; font-weight: 760; transition: color 180ms ease, background 180ms ease; }
.submit-note:hover:not(:disabled) { color: var(--paper); background: var(--ink); }
.artist-stage-haewon .submit-note:hover:not(:disabled) { color: var(--night); background: #eeeae1; }
.submit-note:disabled { cursor: wait; opacity: 0.55; }
.form-status { min-height: 26px; margin: 13px 0 0; font-size: 12px; }
.form-status.is-error { color: #a83228; font-weight: 700; }
.artist-stage-haewon .form-status.is-error { color: #ff9b8e; }
.guestbook-entries { min-height: 180px; border-top: 1px solid currentColor; }
.guestbook-list { margin: 0; padding: 0; list-style: none; }
.guestbook-empty { margin: 0; padding: 25px 0; font-family: Georgia, "Batang", serif; font-size: 14px; opacity: 0.64; }
.guestbook-entry { display: grid; grid-template-columns: minmax(90px, 0.27fr) minmax(0, 0.73fr); gap: 25px; padding: 24px 0; border-bottom: 1px solid currentColor; }
.guestbook-entry-meta { margin: 0; }
.guestbook-entry-name { display: block; font-size: 12px; font-weight: 780; overflow-wrap: anywhere; }
.guestbook-entry time { display: block; margin-top: 5px; font-size: 9px; opacity: 0.55; }
.guestbook-entry-message { margin: 0; font-family: Georgia, "Batang", serif; font-size: 15px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }

.museum-footer { color: #efece4; background: #171715; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; width: min(100% - 70px, 1360px); margin: 0 auto; padding: 65px 0; }
.footer-title { margin: 0; font-family: Georgia, serif; font-size: 18px; letter-spacing: 0.08em; }
.footer-disclaimer { max-width: 720px; margin: 16px 0 0; font-size: 11px; line-height: 1.8; opacity: 0.63; }
.footer-top { align-self: start; font-size: 10px; font-weight: 760; letter-spacing: 0.13em; text-decoration: none; }

.art-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #eeeae1;
  background: #07090a;
}

.art-dialog::backdrop { background: #07090a; }
.art-dialog[open] { display: grid; place-items: center; }
.art-dialog figure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr); gap: clamp(25px, 5vw, 80px); align-items: end; width: min(100% - 150px, 1500px); margin: 0; }
.dialog-image-wrap { display: grid; max-height: 78dvh; place-items: center; overflow: hidden; }
.dialog-image-wrap img { width: auto; max-width: 100%; height: auto; max-height: 78dvh; object-fit: contain; }
.art-dialog figcaption { border-top: 1px solid rgba(255,255,255,.65); padding-top: 14px; }
.dialog-artist, .dialog-meta, .dialog-count { margin: 0; font-size: 9px; font-weight: 720; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.68; }
.art-dialog h2 { margin: 30px 0 0; font-family: Georgia, "Batang", serif; font-size: clamp(36px, 4vw, 66px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; }
.dialog-meta { margin-top: 12px; }
.dialog-caption { margin: 35px 0; font-family: Georgia, "Batang", serif; font-size: 15px; line-height: 1.85; }
.dialog-close { position: fixed; z-index: 3; top: 22px; right: 25px; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; cursor: pointer; font-size: 10px; letter-spacing: .14em; }
.dialog-arrow { position: fixed; z-index: 2; top: 50%; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: rgba(0,0,0,.18); cursor: pointer; transform: translateY(-50%); }
.dialog-prev { left: 20px; }
.dialog-next { right: 20px; }

.audio-status { position: fixed; z-index: 1100; right: 20px; bottom: 20px; max-width: min(360px, calc(100% - 40px)); margin: 0; padding: 12px 15px; color: #fff; background: rgba(15, 16, 15, 0.88); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease; }
.audio-status.is-visible { opacity: 1; transform: translateY(0); }

.paint-drop, .brush-trail-mark { position: fixed; z-index: 1080; pointer-events: none; }
.paint-drop { top: 0; left: 0; width: var(--drop-size); height: calc(var(--drop-size) * 1.28); border-radius: 48% 52% 58% 42% / 46% 46% 54% 54%; background: radial-gradient(circle at 34% 25%, rgba(255,255,255,.2), transparent 24%), var(--drop-color); mix-blend-mode: var(--drop-blend, multiply); opacity: .7; transform: translate(-50%, -50%); animation: paintFall 1.35s cubic-bezier(.16,.72,.25,1) forwards; }
@keyframes paintFall { 0% { opacity: .72; transform: translate(-50%,-50%) scale(.25); } 35% { opacity: .56; transform: translate(calc(-50% + var(--drop-x)), calc(-50% + var(--drop-y))) scale(1); } 100% { opacity: 0; transform: translate(calc(-50% + var(--drop-x)), calc(-50% + var(--drop-y) + 34px)) scale(.82,.35); filter: blur(2px); } }

.brush-trail-mark { top: 0; left: 0; width: var(--trail-width); height: var(--trail-height); overflow: visible; border-radius: 58% 36% 64% 42% / 56% 42% 62% 46%; background: radial-gradient(ellipse 20% 86% at 13% 48%, var(--trail-color) 0 54%, transparent 100%), radial-gradient(ellipse 29% 96% at 48% 52%, var(--trail-color) 0 52%, transparent 100%), radial-gradient(ellipse 23% 80% at 84% 47%, var(--trail-color) 0 51%, transparent 100%); box-shadow: 0 1px 5px var(--trail-color); mix-blend-mode: var(--trail-blend, multiply); filter: blur(.15px) saturate(1.18); opacity: var(--trail-opacity); transform: translate(-50%, -50%) rotate(var(--trail-angle)) scaleX(.6) scaleY(.78); animation: watercolorTrail 1450ms cubic-bezier(.16,.66,.28,1) forwards; }
.brush-trail-mark::before, .brush-trail-mark::after { position: absolute; content: ""; pointer-events: none; }
.brush-trail-mark::before { inset: -24% 4%; border-radius: inherit; background: repeating-linear-gradient(0deg, transparent 0 2px, var(--trail-color) 2px 3.2px, transparent 3.2px 6.4px); opacity: .27; filter: blur(.45px); transform: skewY(-3deg); }
.brush-trail-mark::after { top: 20%; right: 8%; width: 28%; height: 62%; border-radius: 50%; background: var(--trail-color); opacity: .42; filter: blur(2.8px); transform: rotate(7deg); }
@keyframes watercolorTrail { 0% { opacity: 0; transform: translate(-50%,-50%) rotate(var(--trail-angle)) scaleX(.32) scaleY(.56); } 15% { opacity: var(--trail-opacity); transform: translate(-50%,-50%) rotate(var(--trail-angle)) scaleX(.88) scaleY(1); } 62% { opacity: var(--trail-opacity); transform: translate(-50%,-50%) rotate(var(--trail-angle)) scaleX(1) scaleY(1.08); } 100% { opacity: 0; transform: translate(-50%,-50%) rotate(var(--trail-angle)) translateX(-8px) scaleX(1.08) scaleY(1.72); filter: blur(3px) saturate(.84); } }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 850ms cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid #b44a3d; outline-offset: 4px; }
.artist-stage-haewon :focus-visible, .hero :focus-visible, .art-dialog :focus-visible { outline-color: #f0df94; }

@media (hover: hover) and (pointer: fine) {
  body, a, button, input, textarea { cursor: url("brush-cursor.png") 4 28, crosshair; }
}

@media (hover: none), (pointer: coarse) {
  .door-name { opacity: 1; transform: translateY(-50%); }
}

@media (max-width: 1080px) {
  .museum-header-inner { grid-template-columns: minmax(160px, .7fr) minmax(0, 2fr) auto; width: calc(100% - 28px); gap: 10px; }
  .museum-nav a { padding: 0 7px; font-size: 9px; }
  .museum-nav a::after { right: 7px; left: 7px; }
  .artist-intro { grid-template-columns: .3fr 1fr; }
  .artist-bio { grid-column: 2; max-width: 600px; }
  .artwork-grid { gap: 42px 16px; }
  .artwork-card { grid-column: span 6; }
  .artwork-card:nth-child(2) { margin-top: 10vw; }
  .artwork-card:nth-child(3) { grid-column: 4 / span 6; margin-top: 0; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .museum-header { height: auto; min-height: var(--header-h); }
  .museum-header-inner { grid-template-columns: 1fr auto; grid-template-rows: var(--header-h) 43px; width: calc(100% - 24px); }
  .museum-mark { font-size: 10px; }
  .mark-symbol { width: 23px; height: 23px; }
  .sound-toggle { min-height: 44px; padding: 0 11px; white-space: nowrap; }
  .audio-controls { gap: 4px; }
  .sound-toggle { width: 38px; min-height: 38px; padding: 0; gap: 0; }
  .sound-label { display: none; }
  .audio-player, .audio-transport { gap: 4px; }
  .audio-transport button { width: 25px; height: 25px; font-size: 12px; }
  .volume-control input { width: 46px; }
  .museum-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; width: calc(100vw - 24px); overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: none; }
  .museum-nav::-webkit-scrollbar { display: none; }
  .museum-nav a { min-width: max-content; min-height: 44px; padding: 0 11px; }
  .museum-nav a::after { bottom: 6px; }
  html { scroll-padding-top: 120px; }
  .hero-content { width: calc(100% - 34px); padding-top: 145px; padding-bottom: 24px; }
  .hero-title { font-size: clamp(92px, 33vw, 150px); }
  .hero-bottom { grid-template-columns: 1fr; gap: 14px; }
  .hero-date { display: none; }
  .entrance-actions { justify-content: stretch; }
  .entrance-button { flex: 1 1 150px; }
  .section { padding: 92px 0; }
  .section-inner, .stage-inner { width: calc(100% - 34px); }
  .info-grid, .artists-heading-row, .guestbook-heading, .guestbook-layout { grid-template-columns: 1fr; }
  .info-grid { gap: 60px; margin-top: 38px; }
  .info-heading { font-size: clamp(46px, 14vw, 70px); }
  .curator-copy { margin-top: 38px; font-size: 17px; }
  .artists-section { padding-top: 85px; }
  .artists-heading { margin-bottom: 38px; }
  .artists-heading-row { gap: 30px; }
  .artists-heading-row > p { margin-left: 0; }
  .artist-doors { grid-template-columns: 1fr; min-height: 0; }
  .artist-door { min-height: 54svh; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.4); }
  .artist-door img { filter: saturate(.7) brightness(.7); }
  .door-name { opacity: 1; transform: translateY(-50%); }
  .door-name strong { font-size: clamp(55px, 16vw, 85px); }
  .artist-stage { padding-top: 100px; }
  .artist-intro { grid-template-columns: 1fr; gap: 34px; }
  .artist-bio { grid-column: 1; }
  .artist-intro h2 { font-size: clamp(65px, 20vw, 105px); }
  .series-name { margin-top: 35px; }
  .artwork-grid { display: block; margin-top: 80px; }
  .artwork-card, .artwork-card:nth-child(2), .artwork-card:nth-child(3) { margin: 0 0 65px; }
  .view-cue { opacity: 1; transform: none; }
  .guestbook { margin-top: 80px; padding-top: 70px; }
  .guestbook-heading { gap: 30px; }
  .guestbook-heading > p { margin-left: 0; }
  .guestbook-layout { gap: 70px; margin-top: 50px; }
  .guestbook-entry { grid-template-columns: 1fr; gap: 13px; }
  .footer-inner { grid-template-columns: 1fr; width: calc(100% - 34px); }
  .art-dialog figure { display: block; width: calc(100% - 34px); padding: 70px 0 25px; overflow-y: auto; }
  .dialog-image-wrap { max-height: 55dvh; }
  .dialog-image-wrap img { max-height: 55dvh; }
  .art-dialog figcaption { margin-top: 20px; }
  .dialog-arrow { top: auto; bottom: 15px; transform: none; }
  .dialog-prev { left: 17px; }
  .dialog-next { right: 17px; }
  .dialog-close { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .paint-drop, .brush-trail-mark { display: none; }
}
