:root {
  --paper: #f2f1ed;
  --ink: #111110;
  --muted: #6e6d68;
  --line: rgba(17, 17, 16, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 76px;
  padding: 0 3.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(242, 241, 237, .82);
  border-bottom: 1px solid rgba(17,17,16,.07);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 9px; line-height: 1.4; letter-spacing: .12em; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand b { font-weight: 500; letter-spacing: .22em; }
.header-actions { display: flex; align-items: center; gap: 2.2vw; }
nav { display: flex; gap: 2.2vw; font-size: 11px; letter-spacing: .035em; }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; border-bottom: 1px solid; transition: right .25s ease; }
nav a:hover::after { right: 0; }
.lang-toggle {
  min-width: 48px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(17,17,16,.45);
  border-radius: 999px;
  background: transparent;
  font-size: 10px;
  letter-spacing: .08em;
  cursor: pointer;
}
.menu-button { display: none; border: 0; background: none; width: 34px; height: 34px; padding: 8px; }

.hero {
  min-height: 100svh;
  padding: 15vh 5vw 7vh;
  display: grid;
  grid-template-columns: minmax(190px, 23%) 1fr;
  gap: 5vw;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-copy { align-self: start; margin-top: 14vh; position: relative; z-index: 2; }
.hero h1 {
  margin: 0;
  font-size: clamp(27px, 3.1vw, 44px);
  line-height: 1.15;
  font-weight: 360;
  letter-spacing: .12em;
}
.hero-en { margin: 14px 0 0 2px; font-size: 9px; letter-spacing: .28em; }
.hero-art { width: 100%; }
.hero-art img { display: block; width: 100%; height: auto; max-height: 74vh; object-fit: contain; object-position: center; }
.scroll-cue { position: absolute; right: 3.5vw; bottom: 3vh; display: flex; gap: 10px; font-size: 8px; letter-spacing: .18em; writing-mode: vertical-rl; }
.scroll-cue i { font-size: 14px; font-style: normal; }

.works, .exhibitions, .contact { padding: 12vh 3.5vw 17vh; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  min-height: 110px;
  padding-top: 14px;
  margin-bottom: 10vh;
  border-top: 1px solid var(--ink);
  align-items: start;
}
.section-heading p { margin: 0; font-size: 9px; letter-spacing: .18em; }
.section-heading h2 {
  margin: -8px 0 0;
  text-align: center;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1;
  font-weight: 410;
  letter-spacing: .42em;
  text-indent: .42em;
}
.works-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 15vh 2.6vw; align-items: start; }
.work-card { grid-column: span 5; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.work-image { display: block; position: relative; width: 100%; background: transparent; }
.work-image img { display: block; width: 100%; height: auto; transition: transform .7s cubic-bezier(.2,.65,.2,1), opacity .3s; }
.work-card:hover .work-image img { transform: scale(1.008); opacity: .96; }
.work-image i { position: absolute; top: 9px; left: 10px; font-size: 8px; font-style: normal; letter-spacing: .14em; mix-blend-mode: multiply; }
.work-meta { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding-top: 15px; font-size: 10px; line-height: 1.65; letter-spacing: .025em; }
.work-meta > span:last-child { text-align: right; color: var(--muted); }
.work-meta b { display: block; font-size: 14px; font-weight: 450; letter-spacing: 0; }
.work-meta em { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-style: normal; }

.statement { padding: 12vh 3.5vw 15vh; background: var(--ink); color: #eeede9; }
.section-heading.light { border-color: rgba(255,255,255,.55); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(240px, .7fr); gap: 13vw; align-items: start; }
.bio-copy { max-width: 720px; font-size: clamp(16px, 1.4vw, 21px); line-height: 2; letter-spacing: .01em; }
.bio-copy p { margin: 0; }
.bio-facts { padding-left: 2.2vw; border-left: 1px solid rgba(255,255,255,.28); font-size: 11px; line-height: 1.65; }
.bio-facts p { margin: 0 0 31px; }
.bio-facts b { display: block; margin-bottom: 5px; font-size: 16px; font-weight: 450; font-variant-numeric: tabular-nums; }
.bio-facts .place-fact { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); color: #aaa9a5; }

.exhibition-list { border-top: 1px solid var(--line); }
.exhibition-list div { display: grid; grid-template-columns: 10% 46% 44%; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.exhibition-list span { color: var(--muted); font-variant-numeric: tabular-nums; }
.exhibition-list strong { font-size: 15px; font-weight: 440; }
.exhibition-list em { color: var(--muted); font-style: normal; text-align: right; }

.contact { background: #deddd8; }
.contact-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 8vw; align-items: end; }
.contact-copy { display: flex; flex-direction: column; align-items: flex-start; }
.contact-copy > p { margin: 0 0 6vh; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.email-link { position: relative; font-size: clamp(14px, 1.2vw, 18px); line-height: 1.3; font-weight: 400; letter-spacing: 0; overflow-wrap: anywhere; }
.email-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; border-bottom: 1px solid; }
.qr-grid { width: min(100%, 320px); justify-self: end; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; }
.qr-grid figure { margin: 0; }
.qr-grid a { display: block; }
.qr-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; }
.qr-grid figcaption { margin-top: 12px; font-size: 10px; letter-spacing: .08em; }

footer { min-height: 28vh; padding: 8vh 3.5vw 4vh; display: grid; grid-template-columns: 1fr 1fr; align-items: end; background: #d3d2cd; }
footer > p { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 430; letter-spacing: -.025em; }
footer > p b { font-size: 10px; font-weight: 500; letter-spacing: .32em; }
footer > div { display: flex; justify-content: space-between; align-items: flex-end; font-size: 9px; letter-spacing: .08em; }

.lightbox {
  position: fixed;
  z-index: 60;
  inset: 0;
  padding: 5vh 5vw 7vh;
  display: grid;
  place-items: center;
  background: rgba(242,241,237,.985);
  cursor: zoom-out;
}
.lightbox > button { position: absolute; z-index: 2; right: 2.5vw; top: 1.5vh; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; font-size: 35px; font-weight: 200; cursor: pointer; }
.lightbox-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-image img { display: block; max-width: 100%; max-height: 84vh; width: auto; height: auto; object-fit: contain; }
.lightbox > p { position: absolute; left: 3vw; bottom: 2.2vh; margin: 0; font-size: 10px; letter-spacing: .06em; }

@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 5vw; }
  .brand img { width: 28px; height: 28px; }
  .menu-button { display: block; position: relative; z-index: 4; order: 2; }
  .menu-button span { display: block; margin: 6px 0; border-top: 1px solid; }
  .header-actions { gap: 8px; }
  .lang-toggle { position: relative; z-index: 4; min-width: 44px; padding: 0 8px; }
  nav { display: none; position: fixed; inset: 0; padding: 26vh 8vw; flex-direction: column; gap: 24px; background: var(--paper); font-size: 18px; }
  nav.open { display: flex; }
  .hero { min-height: 92svh; padding: 15vh 5vw 8vh; grid-template-columns: 1fr; gap: 7vh; align-content: start; }
  .hero-copy { margin: 0; }
  .hero h1 { font-size: 8.5vw; letter-spacing: .12em; }
  .hero-en { margin-top: 12px; }
  .hero-art img { width: 112%; max-width: none; margin-left: -6%; max-height: 52vh; }
  .scroll-cue { display: none; }
  .works, .exhibitions, .contact { padding: 10vh 5vw 13vh; }
  .section-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; min-height: 80px; margin-bottom: 6vh; }
  .section-heading h2 { margin-top: -2px; font-size: 23px; letter-spacing: .34em; text-indent: .34em; }
  .works-grid { display: block; }
  .work-card, .work-card.wide { display: block; width: 100%; margin-bottom: 12vh; }
  .work-meta { gap: 15px; }
  .statement { padding: 10vh 5vw 12vh; }
  .statement-grid { grid-template-columns: 1fr; gap: 8vh; }
  .bio-copy { font-size: 16px; line-height: 1.95; }
  .bio-facts { padding: 6vh 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.28); display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .bio-facts .place-fact { grid-column: 1 / 3; }
  .exhibition-list div { grid-template-columns: 20% 80%; gap: 8px 0; padding: 19px 0; }
  .exhibition-list em { grid-column: 2; text-align: left; line-height: 1.5; }
  .contact-grid { grid-template-columns: 1fr; gap: 10vh; }
  .contact-copy > p { margin-bottom: 4vh; }
  .email-link { font-size: 14px; }
  .qr-grid { width: min(100%, 260px); justify-self: start; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .qr-grid figcaption { margin-top: 8px; font-size: 9px; }
  footer { min-height: 42vh; padding: 8vh 5vw 4vh; grid-template-columns: 1fr; gap: 8vh; }
  .lightbox { padding: 7vh 3vw 9vh; }
  .lightbox-image img { max-height: 80vh; }
  .lightbox > p { left: 5vw; right: 5vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work-image img { transition: none; }
}
