/* A quieter rhythm, with the artwork given room to breathe. */
:root { --bg-warm: #f7f7f4; --ink-light: #555650; --ink-lighter: #72746e; --line: #e4e5df; }
body { line-height: 1.8; }
.return-visit .hero-logo, .return-visit .tagline, .return-visit .hero-cta { animation-delay: .15s; }
button, input, textarea { font: inherit; }
header .header-inner { max-width: 1488px; }
nav.desktop { gap: clamp(14px, 2vw, 30px); }
.nav-en { font-size: .625rem; letter-spacing: .11em; }
.saved-nav { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink-light); font-size: .86rem; line-height: 1.12; }
[data-saved-count] { font-variant-numeric: tabular-nums; font-size: .7rem; margin-left: 4px; }
.hero-logo { width: clamp(190px, 15vw, 238px); margin-bottom: 44px; }
.hero .tagline { max-width: 460px; letter-spacing: .04em; line-height: 2; margin-bottom: 36px; }
.hero-cta .btn { padding: 15px 29px; font-size: .78rem; letter-spacing: .1em; }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 2.6vw, 2.65rem); letter-spacing: .06em; line-height: 1.45; }
.section-label { font-size: .7rem; letter-spacing: .22em; margin-bottom: 20px; }
.section-head .lead { max-width: 400px; font-size: .94rem; line-height: 1.95; }
.about-grid { gap: clamp(40px, 6.2vw, 92px); }
.about-text h2 { font-size: clamp(1.9rem, 2.55vw, 2.7rem); letter-spacing: .07em; line-height: 1.65; margin-bottom: 34px; }
.about-text p { font-size: .95rem; max-width: 590px; line-height: 2.05; }
.about-meta { margin-top: 34px; padding-top: 30px; gap: 28px 18px; }
.brand-card h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.brand-card p { font-size: .95rem; max-width: 440px; }
.artist-card .info { padding-top: 22px; }
.artist-card .brief { line-height: 1.95; }
.artist-carousel-bottom, .gallery-bottom { font-size: .78rem; letter-spacing: .025em; gap: 16px; }
.artist-carousel-bottom { justify-content: space-between; }
.carousel-position { display: inline-block; margin-left: 14px; color: var(--ink-lighter); font-size: .7rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-controls .carousel-pause { width: auto; min-width: 58px; font-size: .74rem; padding: 0 10px; border: 0; border-radius: 0; }
.gallery-controls .carousel-pause:hover { background: transparent; color: var(--ink-light); }
.gallery-controls button:disabled { opacity: .3; cursor: default; }
.gallery-toolbar { gap: 0; margin-bottom: 34px; }
.filter-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; margin-bottom: 20px; }
.tools-label { font-size: .66rem; color: var(--ink-lighter); letter-spacing: .16em; }
.collection-tools { display: flex; gap: 24px; align-items: center; }
.collection-tools button, #inquireSaved { font-size: .8rem; color: var(--ink-light); padding: 8px 0; }
.collection-tools [aria-pressed="true"] { color: var(--ink); border-bottom: 1px solid var(--ink); }
.filter-panel { width: 100%; }
.filter-panel summary { display: none; cursor: pointer; list-style: none; }
.filter-panel summary::-webkit-details-marker { display: none; }
.filter-row { grid-template-columns: 80px minmax(0, 1fr); padding: 12px 0; }
.filter-btn { border-color: transparent; padding: 6px 13px; font-size: .8rem; }
.filter-btn:not(.active):hover { background: #eeefe9; border-color: transparent; }
.filter-label { font-size: .78rem !important; }
.gallery-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; width: 100%; margin-top: 18px; min-height: 36px; }
.gallery-count { font-size: .76rem; letter-spacing: .025em; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips button { padding: 4px 9px; font-size: .72rem; color: var(--ink-light); background: var(--bg-warm); }
#inquireSaved { margin-left: auto; border-bottom: 1px solid var(--line-dark); }
.gallery-empty { width: 100%; padding: 70px 24px; text-align: center; background: var(--bg-warm); }
.gallery-empty h3 { font-size: 1.15rem; margin-bottom: 12px; }
.gallery-empty p { font-size: .88rem; color: var(--ink-light); margin-bottom: 24px; }
.gallery-empty button { border-bottom: 1px solid var(--ink); font-size: .83rem; }
.artwork-frame { padding: 24px; background: #f5f5f1; margin-bottom: 20px; }
.artwork-image-button { aspect-ratio: 4 / 5; }
.artwork-frame img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.artwork-frame .artwork-detail { object-fit: cover; }
.artwork:focus-within:not(:hover) .artwork-main { opacity: 1; }
.artwork:focus-within:not(:hover) .artwork-detail { opacity: 0; }
.artwork-actions { position: static; opacity: 1; min-height: auto; background: none; padding: 18px 0 0; gap: 10px; }
.action-btn { width: 34px; height: 34px; font-size: .85rem; border-color: var(--line-dark); background: transparent; }
.artwork-info h3 { font-size: 1rem; letter-spacing: .04em; line-height: 1.7; }
.artwork-info .meta, .artwork-info .details { font-size: .78rem; line-height: 1.8; }
.venue-copy h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.55; }
.mobile-nav { padding: 90px 24px 30px; gap: 0; overflow-y: auto; justify-content: flex-start; }
.mobile-nav a, .mobile-nav > button { display: block; width: 100%; max-width: 440px; text-align: left; font-size: .95rem; color: var(--ink-light); padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: .05em; }
.menu-toggle { min-height: 44px; min-width: 44px; }
.modal-overlay { margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 24px; background: transparent; }
.modal-overlay:not([open]) { display: none; }
.modal-overlay[open] { opacity: 1; visibility: visible; }
.modal-overlay::backdrop { background: rgba(18, 20, 17, .36); backdrop-filter: blur(8px); }
.modal-overlay .modal { transform: none; max-height: calc(100svh - 48px); overflow-y: auto; }
.artwork-viewer { position: fixed; inset: 0; border: 0; padding: 0; margin: auto; width: min(1220px, calc(100vw - 72px)); max-width: none; max-height: calc(100svh - 72px); background: white; color: var(--ink); overflow-y: auto; }
.artwork-viewer::backdrop { background: rgba(21, 24, 19, .38); backdrop-filter: blur(12px); }
.viewer-close { position: absolute; right: 16px; top: 12px; width: 44px; height: 44px; z-index: 2; font-size: 1rem; background: white; }
.viewer-layout { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 580px; }
.viewer-visual { background: #f3f4ef; padding: 36px; min-width: 0; display: flex; flex-direction: column; }
.viewer-stage { height: min(65svh, 650px); min-height: 320px; overflow: auto; display: grid; place-items: center; overscroll-behavior: contain; }
.viewer-stage img { width: 100%; height: 100%; max-height: min(65svh, 650px); object-fit: contain; }
.viewer-stage.zoomed { display: block; cursor: grab; }
.viewer-stage.zoomed img { width: 200%; max-width: none; height: 200%; max-height: none; object-fit: contain; }
.viewer-image-controls { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: center; padding-top: 24px; }
.viewer-image-controls button { padding: 8px 0; font-size: .69rem; letter-spacing: .025em; color: var(--ink-light); border-bottom: 1px solid transparent; }
.viewer-image-controls button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.viewer-info { padding: 72px 42px 36px; display: flex; flex-direction: column; }
.viewer-info h2 { font-size: clamp(1.5rem, 2.4vw, 2.15rem); line-height: 1.6; margin-bottom: 10px; letter-spacing: .025em; }
#viewerArtist { color: var(--ink-light); font-size: .9rem; }
.viewer-facts { border-top: 1px solid var(--line); padding-top: 24px; margin: 28px 0 22px; }
.viewer-facts div { display: grid; grid-template-columns: 62px 1fr; gap: 12px; font-size: .82rem; margin-bottom: 12px; }
.viewer-facts dt { color: var(--ink-lighter); }
.viewer-note { color: var(--ink-lighter); font-size: .73rem; margin-bottom: 26px; }
.viewer-actions { display: flex; flex-direction: column; gap: 12px; }
.viewer-actions .btn { justify-content: center; font-size: .78rem; letter-spacing: .04em; min-height: 46px; }
.viewer-actions .btn:first-child { color: white; background: var(--ink); }
.viewer-browse { margin-top: auto; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; }
.viewer-browse button { width: 44px; height: 44px; font-size: 1.2rem; }
.viewer-browse button:disabled { opacity: .3; cursor: default; }
.viewer-browse span { font-size: .73rem; font-variant-numeric: tabular-nums; color: var(--ink-lighter); }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 1100px) { nav.desktop { gap: 16px; } .header-inner { padding-inline: 28px; } .nav-en { font-size: .58rem; } }
@media (max-width: 900px) { nav.desktop { display: none; } .menu-toggle { display: flex; } .viewer-info { padding: 60px 28px 28px; } .viewer-visual { padding: 24px; } }
@media (max-width: 1024px) { .about-grid, .contact-grid, .venue-grid { grid-template-columns: minmax(0,1fr); } .about-grid > *, .contact-grid > *, .venue-grid > * { min-width: 0; } }
@media (max-width: 768px) {
  section { padding: 72px 24px; }
  .hero { padding: 110px 24px 110px; }
  .hero-logo { width: 190px; margin-bottom: 34px; }
  .hero .tagline { font-size: .9rem; max-width: 280px; }
  .section-head h2, .about-text h2 { font-size: 1.85rem; }
  .about-text h2 { line-height: 1.7; margin-bottom: 28px; }
  .about-text p { font-size: .9rem; }
  .about-meta { gap: 24px 18px; }
  .about-meta dd { font-size: .85rem; }
  .venue-visual { width: 100%; min-width: 0; aspect-ratio: auto; height: 320px; min-height: 0; }
  .form-row input, .form-row textarea { min-width: 0; }
  .filter-heading { flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
  .tools-label { width: 100%; font-size: .6rem; }
  .collection-tools { width: 100%; justify-content: space-between; }
  .filter-panel summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-block: 1px solid var(--line); font-size: .82rem; }
  .filter-panel summary span { font-size: .62rem; letter-spacing: .1em; color: var(--ink-lighter); }
  .filter-panel[open] summary { border-bottom: 0; }
  .filter-row { grid-template-columns: 58px minmax(0,1fr); gap: 8px; }
  .filter-group .filter-label { padding-top: 6px; }
  .filter-btn { min-height: 38px; padding: 6px 10px; }
  .gallery-summary { gap: 12px; }
  #inquireSaved { margin-left: 0; }
  .artwork-frame { padding: 20px; }
  .artwork-actions { padding-top: 16px; }
  .action-btn { width: 40px; height: 40px; }
  .artist-carousel-bottom, .gallery-bottom { align-items: flex-start; flex-direction: column; }
  .gallery-controls { align-self: flex-end; }
  .artwork-viewer { top: 12px; left: 12px; bottom: auto; right: auto; margin: 0; width: calc(100vw - 24px); max-height: calc(100svh - 24px); }
  .viewer-layout { display: block; min-height: 0; }
  .viewer-visual { padding: 44px 20px 22px; }
  .viewer-stage { height: 45svh; min-height: 240px; }
  .viewer-stage img { max-height: 45svh; }
  .viewer-info { padding: 30px 24px 22px; }
  .viewer-info .section-label { margin-bottom: 12px; }
  .viewer-facts { margin-top: 20px; }
  .viewer-image-controls { gap: 12px 18px; padding-top: 16px; }
  .viewer-close { position: fixed; right: 20px; top: 16px; }
  .modal-overlay { padding: 12px; }
  .modal-overlay .modal { max-height: calc(100svh - 24px); padding: 36px 24px; }
}
@media (hover: none) { .artwork:hover .artwork-main { opacity: 1; } .artwork:hover .artwork-detail { opacity: 0; } }
