:root {
  --paper: #fff;
  --ink: #171717;
  --muted: #666;
  --line: #dededb;
  --surface: #f4f4f2;
  --wine: #171717;
  --sans: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: var(--sans);
  --roman: var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border-radius: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
#maincontent:focus, #maincontent:focus-visible { outline: none; }
.shell, .mast-inner, .gallery-foot { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -70px; left: 16px; background: #fff; color: #111; padding: 12px; z-index: 30; }
.skip-link:focus { top: 8px; }
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.mast-inner { display: flex; align-items: center; gap: 40px; min-height: 104px; }
.uk-brand { display: inline-flex; align-items: center; gap: 21px; flex-shrink: 0; }
.wordmark { font-size: 25px; font-weight: 650; line-height: .87; letter-spacing: -.065em; }
.brand-location { font-size: 11px; line-height: 1.8; letter-spacing: .14em; color: #4a4a4a; }
.brand-location span { font-size: 8px; letter-spacing: .12em; }
.topnav { display: flex; gap: 30px; align-self: stretch; align-items: center; margin-inline: auto; }
.topnav a { display: flex; align-items: center; height: 100%; font-size: 14px; position: relative; white-space: nowrap; }
.topnav a:after { content: ""; height: 1px; position: absolute; bottom: 32px; left: 0; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .15s; }
.topnav a[aria-current]:after, .topnav a:hover:after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 28px; white-space: nowrap; }
#editionLabel { font-size: 11px; letter-spacing: .04em; }
.lang-switch { display: flex; gap: 5px; }
.lang-switch button { background: transparent; border: 0; padding: 10px 5px; color: #777; font-size: 12px; min-width: 30px; }
.lang-switch button[aria-pressed="true"] { color: #111; text-decoration: underline; text-underline-offset: 5px; }
.eyebrow, .kicker { font-size: 11px; line-height: 1.5; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow { margin: 0 0 14px; }
.kicker { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.kicker i { display: none; }
.kicker span { color: var(--muted); }
h1, h2, h3, p { overflow-wrap: break-word; }
.button, .btn-dark, .border-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 48px; padding: 12px 20px; font-size: 14px; font-weight: 500; border: 1px solid var(--ink); line-height: 1.4; }
.button, .btn-dark { background: var(--ink); color: #fff; }
.button:hover, .btn-dark:hover { background: #343434; }
.button-white { background: #fff; color: #171717; border-color: #fff; }
.button-white:hover { background: #eaeae7; border-color: #eaeae7; }
.border-link { background: #fff; color: var(--ink); }
.border-link:hover { background: var(--surface); }
.button span, .btn-dark span, .border-link span { font-size: 20px; font-weight: 400; }
.text-link { display: inline-flex; align-items: center; gap: 24px; padding: 8px 0; border-bottom: 1px solid #171717; font-size: 14px; font-weight: 500; line-height: 1.5; }
.text-link span { font-size: 20px; }
.text-link:hover { color: #666; }
.exhibition { position: relative; height: clamp(510px, 46vw, 680px); background: #595752; overflow: hidden; color: #fff; }
.exhibition-image { position: absolute; inset: 0; }
.exhibition-image img { width: 100%; height: 100%; object-fit: cover; }
.exhibition:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #0008, #0002 57%, #0000), linear-gradient(0deg, #0005, #0000 30%); }
.exhibition-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 50px; }
.exhibition-copy { margin-bottom: 44px; max-width: 540px; }
.exhibition .eyebrow { color: #fff; font-size: 11px; letter-spacing: .14em; margin-bottom: 17px; }
.exhibition h1 { font-size: clamp(44px, 4.3vw, 68px); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.exhibition-intro { font-size: 16px; line-height: 1.6; margin: 20px 0 26px; color: #fff; }
.exhibition-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; border-top: 1px solid #ffffff55; }
.featured-label { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 12px; }
.plate-controls { display: flex; align-items: center; gap: 18px; }
.plate-controls button { display: grid; place-items: center; width: 38px; height: 42px; background: transparent; border: 0; font-size: 22px; color: #fff; }
.plate-controls button:hover { background: #ffffff20; }
.plate-controls span { font-size: 11px; letter-spacing: .08em; }
.exhibition :focus-visible { outline-color: #fff; }
.catalog { padding: 72px 0 88px; scroll-margin-top: 28px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.catalog-heading .eyebrow { margin-bottom: 8px; color: var(--muted); }
.catalog h2 { font-size: 32px; font-weight: 400; line-height: 1.2; letter-spacing: -.025em; margin: 0; }
.collection-caption { margin: 0 0 2px; color: var(--muted); font-size: 12px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.work-photo { height: clamp(250px, 27vw, 390px); display: flex; justify-content: center; align-items: flex-end; position: relative; }
.work-photo img { width: auto; height: auto; max-width: 100%; max-height: 100%; transition: transform .2s; }
.work-card:hover .work-photo img { transform: translateY(-4px); }
.view-tag { position: absolute; bottom: 10px; right: 10px; opacity: 0; padding: 7px 11px; background: #fff; font-size: 12px; transition: opacity .15s; }
.work-card:focus-visible .view-tag, .work-card:hover .view-tag { opacity: 1; }
.work-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 22px; font-size: 10px; color: var(--muted); letter-spacing: .035em; }
.work-card h3 { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; margin: 7px 0 3px; }
.work-translation { font-size: 12px; color: #6b6b6b; margin: 0; min-height: 18px; }
.work-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin: 10px 0 0; }
.work-bottom>span { color: var(--muted); }
.work-bottom strong { font-weight: 500; }
.sitting-room { padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); align-items: center; gap: 9%; }
.room-scene { position: relative; width: 100%; aspect-ratio: 1400/933; overflow: hidden; background: var(--surface); }
.room-back { width: 100%; height: 100%; object-fit: contain; }
.room-piece { position: absolute; left: 50%; top: 33%; transform: translate(-50%,-50%); box-shadow: 2px 3px 5px #241d1366; }
.room-key { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--muted); padding-top: 12px; }
.room-copy h2, .journal-copy h2 { font-size: clamp(32px,3.1vw,48px); line-height: 1.15; letter-spacing: -.035em; font-weight: 400; margin: 0 0 20px; }
.room-copy p:not(.eyebrow), .journal-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 37ch; margin: 0 0 22px; }
.room-choices { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 15px; }
.room-choices button { background: #fff; border: 1px solid var(--line); padding: 5px 9px 5px 5px; display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: 11px; }
.room-choices button[aria-pressed="true"] { border-color: #171717; }
.room-choices button img { width: 34px; height: 30px; object-fit: contain; }
.journal-preview { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 9%; align-items: center; padding: 64px 0 88px; }
.journal-image { display: block; aspect-ratio: 1.12; overflow: hidden; }
.journal-image img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 60%; }
.journal-copy { padding-left: 3%; }
.gallery-foot { border-top: 1px solid var(--line); min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; font-size: 11px; color: var(--muted); }
.gallery-foot span:first-child { font-weight: 500; letter-spacing: .025em; color: var(--ink); }
.gallery-foot i { font-style: normal; margin: 0 8px; }
.detail-shell { padding-top: 20px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
.back-link:hover { color: #111; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.8fr); align-items: start; gap: 7%; margin: 24px 0 72px; }
.detail-media { min-width: 0; }
.media-stage { display: grid; align-items: center; aspect-ratio: 1.18; background: var(--surface); overflow: hidden; }
.art-zoom { display: block; width: 100%; height: 100%; min-height: 0; position: relative; padding: 32px; border: 0; background: transparent; overflow: hidden; }
.art-zoom img { width: 100%; height: 100%; object-fit: contain; }
.art-zoom span { position: absolute; right: 16px; bottom: 16px; font-size: 12px; background: #fff; padding: 8px 12px; }
.mode-detail .art-zoom { padding: 0; }
.mode-detail .art-zoom img { object-fit: cover; transform: scale(1.8); }
.media-switch { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.media-switch button { background: transparent; border: 0; border-bottom: 1px solid transparent; min-height: 52px; padding: 12px 0; font-size: 13px; color: var(--muted); }
.media-switch button[aria-pressed="true"] { border-bottom-color: #171717; color: #171717; }
.media-caption { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 12px 0; }
.detail-copy { padding-top: 4px; }
.detail-copy h1 { font-size: clamp(30px,2.6vw,42px); line-height: 1.16; letter-spacing: -.025em; font-weight: 400; margin: 13px 0 9px; }
.detail-en { font-size: 14px; line-height: 1.5; color: var(--muted); font-style: normal; margin: 0 0 28px; }
.detail-price { font-size: 23px; line-height: 1.4; margin: 0 0 24px; }
.detail-price small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.art-spec { margin: 0; padding: 16px 0; border-block: 1px solid var(--line); }
.art-spec div { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; }
.art-spec dt { color: var(--muted); }
.art-spec dd { text-align: right; margin: 0; }
.art-spec dd small { color: var(--muted); font-size: 12px; }
.curator-note { font-size: 15px; line-height: 1.7; margin: 23px 0; color: #444; }
.detail-paths { display: grid; gap: 10px; }
.detail-action-summary { display: none; }
.detail-paths .action-desktop { font: inherit; }
.detail-paths .action-mobile { display: none; }
.detail-paths>div { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.detail-paths>div a, .detail-paths>div button[data-cart-add] { font-size: 12px; padding: 12px; gap: 10px; }
.demo-foot { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; }
.detail-read { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0; }
.detail-read h2 { margin: 9px 0 0; font-size: 26px; font-weight: 400; letter-spacing: -.02em; }
.other-works { padding: 32px 0 56px; border-top: 1px solid var(--line); }
.other-works>div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 24px; }
.other-works a { display: flex; align-items: center; gap: 18px; min-width: 0; }
.other-works a img { width: 86px; height: 74px; object-fit: contain; background: var(--surface); }
.other-works a span { display: grid; gap: 7px; flex: 1; }
.other-works a small { font-size: 10px; color: var(--muted); }
.other-works a b { font-size: 16px; font-weight: 400; line-height: 1.4; }
.app-shell { min-height: 65vh; }
#artDialog { color: var(--ink); background: #fff; border: 0; max-width: min(94vw,1400px); max-height: 96vh; padding: 16px; }
#artDialog::backdrop { background: #000c; }
.zoom-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; font-size: 14px; }
.zoom-head button { border: 1px solid var(--line); background: #fff; min-height: 40px; padding: 7px 12px; font-size: 12px; }
.zoom-scroll { overflow: auto; max-height: 76vh; }
#zoomImage { max-height: 76vh; width: auto; object-fit: contain; }
#artDialog p { font-size: 11px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 1050px) {
  .shell, .mast-inner, .gallery-foot { width: calc(100% - 64px); }
  .mast-inner { gap: 24px; min-height: 94px; }
  .uk-brand { gap: 12px; }
  .brand-location { display: none; }
  .topnav { gap: 23px; }
  .header-tools { gap: 15px; }
  .detail-layout { gap: 5%; grid-template-columns: 1.15fr 1fr; }
  .sitting-room, .journal-preview { gap: 6%; }
}
@media (max-width: 700px) {
  .shell, .mast-inner, .gallery-foot { width: calc(100% - 40px); }
  .mast-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; min-height: 0; padding-top: 17px; }
  .uk-brand { gap: 13px; }
  .wordmark { font-size: 21px; line-height: .87; }
  .brand-location { display: block; font-size: 9px; line-height: 1.7; }
  .brand-location span { font-size: 7px; }
  .header-tools { grid-column: 2; grid-row: 1; gap: 8px; }
  #editionLabel { display: none; }
  .lang-switch { gap: 1px; }
  .topnav { grid-column: 1/-1; grid-row: 2; margin: 12px 0 0; gap: 27px; }
  .topnav a { min-height: 39px; font-size: 12px; }
  .topnav a:after { bottom: 5px; }
  .exhibition { height: 548px; }
  .exhibition-content { padding-top: 30px; }
  .exhibition:after { background: linear-gradient(0deg,#0009,#0004 55%,#0000); }
  .exhibition-copy { margin-bottom: 27px; max-width: 100%; }
  .exhibition h1 { font-size: 44px; line-height: 1.04; max-width: 300px; }
  .exhibition .eyebrow { font-size: 10px; margin-bottom: 14px; }
  .exhibition-intro { font-size: 14px; max-width: 25ch; margin: 14px 0 21px; }
  .exhibition-bottom { min-height: 59px; gap: 8px; }
  .featured-label { font-size: 10px; gap: 7px; max-width: 61%; }
  .plate-controls { gap: 5px; }
  .plate-controls button { width: 30px; min-height: 44px; }
  .plate-controls span { font-size: 10px; white-space: nowrap; }
  .button, .btn-dark, .border-link { min-height: 46px; font-size: 13px; padding: 12px 17px; }
  .catalog { padding: 40px 0 48px; }
  .catalog-heading { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 28px; }
  .catalog-heading .eyebrow { font-size: 10px; }
  .catalog h2 { font-size: 28px; }
  .collection-caption { font-size: 11px; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-photo { height: auto; max-height: none; min-height: 0; justify-content: center; align-items: center; background: var(--surface); padding: 20px; }
  .work-photo img { width: auto; max-height: 360px; }
  .work-meta { margin-top: 15px; }
  .work-card h3 { font-size: 20px; }
  .work-translation { font-size: 12px; }
  .work-bottom { margin-top: 8px; }
  .sitting-room { padding: 40px 0; grid-template-columns: 1fr; gap: 25px; }
  .room-key { font-size: 10px; gap: 8px; flex-wrap: wrap; }
  .room-copy h2, .journal-copy h2 { font-size: 32px; margin-bottom: 16px; }
  .room-copy h2 br { display: none; }
  .room-copy h2 br:after { content: " "; }
  .room-copy p:not(.eyebrow), .journal-copy p:not(.eyebrow) { font-size: 14px; max-width: 100%; }
  .room-choices { margin: 18px 0 14px; }
  .room-choices button { padding-right: 7px; gap: 5px; }
  .journal-preview { grid-template-columns: 1fr; padding: 40px 0 48px; gap: 26px; }
  .journal-image { aspect-ratio: 1.3; }
  .journal-copy { padding: 0; }
  .journal-copy h2 br { display: none; }
  .gallery-foot { align-items: flex-start; flex-direction: column; gap: 8px; font-size: 10px; padding-block: 25px; }
  .detail-shell { padding-top: 10px; }
  .detail-layout { grid-template-columns: 1fr; margin: 14px 0 36px; gap: 27px; }
  .media-stage { aspect-ratio: 1.1; }
  .art-zoom { padding: 20px; }
  .media-switch { gap: 23px; }
  .media-switch button { font-size: 12px; min-height: 48px; }
  .detail-copy h1 { font-size: 32px; }
  .detail-en { margin-bottom: 22px; }
  .detail-paths>div a, .detail-paths>div button[data-cart-add] { min-height: 50px; }
  .detail-read { flex-direction: column; align-items: flex-start; gap: 13px; padding: 27px 0; }
  .detail-read h2 { font-size: 25px; }
  .other-works>div:last-child { grid-template-columns: 1fr; gap: 20px; }
  #artDialog { padding: 12px; max-width: 96vw; }
}
@media (max-width: 360px) {
  .shell, .mast-inner, .gallery-foot { width: calc(100% - 32px); }
  .topnav { gap: 22px; }
  .brand-location { display: none; }
  .exhibition h1 { font-size: 40px; }
}
@media (max-width: 700px), (max-height: 500px) and (max-width: 1000px) and (pointer: coarse) {
  html.is-work-page, html.is-view-page { scroll-padding-bottom: calc(134px + env(safe-area-inset-bottom, 0px)); }
  html.is-work-page body, html.is-view-page body { padding-bottom: calc(134px + env(safe-area-inset-bottom, 0px)); }
  .detail-paths {
    position: fixed;
    z-index: 20;
    inset-inline: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 8px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
    background: var(--paper);
  }
  .detail-paths .detail-action-summary {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    font-size: 13px;
    line-height: 20px;
  }
  .detail-action-return {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 44px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
  }
  .detail-action-return span { text-decoration: underline; text-decoration-color: #aaa; text-underline-offset: 3px; }
  .detail-action-return:hover span, .detail-action-return:focus-visible span { text-decoration-color: currentColor; }
  #mediaStage { scroll-margin-top: 16px; }
  .detail-action-summary img { display: block; width: 32px; height: 32px; object-fit: contain; background: var(--surface); }
  .detail-action-summary span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .detail-action-summary strong { font-size: 14px; font-weight: 600; white-space: nowrap; }
  .detail-paths > div { display: contents; }
  .detail-paths a, .detail-paths > div a, .detail-paths [data-cart-add] {
    justify-content: center;
    gap: 0;
    min-height: 46px;
    padding: 11px 6px;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
  }
  .detail-paths .action-desktop, .detail-paths a > [aria-hidden="true"]:not(.action-mobile), .detail-paths [data-cart-add] > [aria-hidden="true"]:not(.action-mobile) { display: none; }
  .detail-paths .action-mobile { display: inline; font: inherit; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { transition: none !important; scroll-behavior: auto !important; }
}

.basket-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 12px; white-space: nowrap; }
.basket-link[aria-current] > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.basket-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; }
.commerce-context a, .purchase-estimate { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.virtual-purchase > button[data-cart-add] { display: flex; width: 100%; margin-top: 10px; }
.virtual-purchase > .purchase-estimate { display: inline-flex; width: auto; min-height: 32px; margin-top: 0; font-size: 12px; align-items: center; }
@media (max-width: 700px) { .mast-inner .brand-location { display: none; } .basket-link { font-size: 11px; } }

@media (max-width: 700px), (max-height: 500px) and (max-width: 1000px) and (pointer: coarse) {
  .detail-paths:not(.virtual-dock) { grid-template-columns: 1fr 1fr 1.15fr; }
}
