/* Sculpture — concept preview. Typeface stand-in: Jost (SIL OFL), self-hosted. */
@font-face { font-family: "Jost"; src: url("../assets/fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../assets/fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../assets/fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --wall: #f3f3f1;
  --paper: #ffffff;
  --ink: #111111;
  --graphite: #55554f;
  --hair: rgba(17,17,17,.16);
  --metal: #8c7b63;          /* warm brushed-metal accent, used sparingly */
  --dark: #151515;
  --pad: clamp(20px, 4.4vw, 64px);
  --track: .32em;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font: 300 17px/1.6 "Jost", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--metal); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: var(--pad); top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 20; text-decoration: none; }
.skip:focus { top: 12px; }

.label {
  font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--graphite); margin-bottom: 22px;
}

/* ---------- header ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); border-bottom: 1px solid var(--hair);
  background: var(--wall);
}
.mark img { width: 116px; height: 116px; mix-blend-mode: multiply; }
.top ul { list-style: none; display: flex; gap: clamp(18px, 3vw, 44px); margin: 0; padding: 0; }
.top nav a {
  font-size: 12px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase;
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.top nav a:hover { border-color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: clamp(48px, 7vw, 104px) var(--pad) clamp(64px, 8vw, 120px);
  align-items: end;
}
.hero__text { grid-column: 1 / 7; padding-bottom: 12px; }
.hero h1 {
  font-size: clamp(52px, 7.6vw, 118px); line-height: .98; letter-spacing: -.025em;
  margin-bottom: 36px;
}
.lede { max-width: 30em; font-size: clamp(17px, 1.35vw, 20px); color: #2a2a27; margin-bottom: 36px; }
.hero__work { grid-column: 8 / 13; margin: 0; max-width: 520px; justify-self: end; width: 100%; }

.link-arrow {
  display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: var(--track);
  text-transform: uppercase; text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid var(--ink);
}
.link-arrow::after { content: " →"; letter-spacing: 0; transition: margin .3s var(--ease); }
.link-arrow:hover::after { margin-left: 6px; }

/* ---------- wall labels ---------- */
.wall-label { display: grid; gap: 2px; padding-top: 14px; font-size: 13px; line-height: 1.45; }
.wall-label__no { font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--graphite); }
.wall-label__title { font-size: 16px; font-weight: 400; }
.wall-label__meta { color: var(--graphite); }

/* ---------- statement ---------- */
.statement {
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: clamp(56px, 8vw, 120px) var(--pad);
}
.statement p {
  max-width: 22em; margin-left: auto; margin-right: 8%;
  font-size: clamp(24px, 2.7vw, 40px); line-height: 1.3; letter-spacing: -.01em;
}

/* ---------- selection ---------- */
.selection { padding: clamp(64px, 9vw, 136px) var(--pad); }
.selection__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 18px; }
.selection h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font: 500 11.5px/1 "Jost", sans-serif; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); background: transparent; border: 1px solid var(--hair);
  padding: 12px 16px; cursor: pointer; min-height: 44px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.filter .count { color: var(--graphite); margin-left: 4px; letter-spacing: .05em; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter[aria-pressed="true"] .count { color: #bdbdb8; }
.selection__note { font-size: 13px; color: var(--graphite); margin-bottom: clamp(40px, 6vw, 80px); }

.hang {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(20px, 3vw, 48px); row-gap: clamp(56px, 7vw, 110px);
  align-items: start;
}
.work { margin: 0; }
.work.w-m { grid-column: span 5; }
.work.w-s { grid-column: span 4; }
.work.w-n { grid-column: span 3; }
.work.drop { margin-top: clamp(40px, 8vw, 130px); }
.work[hidden] { display: none; }

.hang.is-filtered { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hang.is-filtered .work { grid-column: auto; margin-top: 0; max-width: 420px; }

.work__open {
  display: block; width: 100%; padding: 0; border: 0; background: var(--paper);
  cursor: zoom-in; overflow: hidden;
}
.work__open img { width: 100%; transition: transform .9s var(--ease), opacity .4s; }
.work__open:hover img { transform: scale(1.025); }
.work__open:focus-visible { outline-offset: 6px; }

/* ---------- the bar (dark room) ---------- */
.bar {
  background: var(--dark); color: #ededea;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: clamp(72px, 9vw, 140px) var(--pad); align-items: center;
}
.bar .label { color: #a3a39d; }
.bar figure { margin: 0; }
.bar__main { grid-column: 2 / 6; max-width: 400px; }
.bar__text { grid-column: 7 / 12; }
.bar__text h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1.05; margin-bottom: 26px; }
.bar__text p { color: #cfcfca; max-width: 26em; }
.bar__text .small { font-size: 12.5px; color: #8f8f89; margin-top: 18px; }

/* ---------- visit ---------- */
.visit { padding: clamp(72px, 9vw, 136px) var(--pad); }
.visit h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; max-width: 16em; margin-bottom: clamp(40px, 5vw, 72px); }
.visit__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--hair); padding-top: 32px; }
.visit h3 { font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; margin-bottom: 14px; }
.visit p { color: #2e2e2b; max-width: 24em; }
.visit strong { font-weight: 500; }

/* ---------- footer ---------- */
.foot {
  display: flex; gap: 28px; align-items: center;
  padding: 36px var(--pad) 44px; border-top: 1px solid var(--hair);
  font-size: 13px; color: var(--graphite);
}
.foot__mark { width: 64px; height: 64px; mix-blend-mode: multiply; flex: none; }
.foot strong { color: var(--ink); font-weight: 500; }
.foot p { max-width: 62em; }

/* ---------- viewer ---------- */
.viewer {
  border: 0; padding: 0; margin: auto; background: transparent; color: #ededea;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.viewer::backdrop { background: rgba(16,16,16,.94); }
.viewer__inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 18px; }
.viewer__fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.viewer__fig img { max-height: calc(100vh - 190px); width: auto; max-width: min(100%, 560px); }
.viewer__fig .wall-label { text-align: center; }
.viewer .wall-label__no, .viewer .wall-label__meta { color: #a3a39d; }
.viewer__ctrl { display: flex; align-items: center; gap: 10px; }
.viewer__btn {
  font: 500 12px/1 "Jost", sans-serif; letter-spacing: .2em; text-transform: uppercase;
  background: transparent; color: #ededea; border: 1px solid rgba(255,255,255,.28);
  min-width: 44px; min-height: 44px; padding: 0 14px; cursor: pointer;
}
.viewer__btn:hover { border-color: #fff; }
.viewer__pos { font-size: 12px; letter-spacing: .2em; min-width: 64px; text-align: center; color: #a3a39d; }
.viewer__close { margin-left: 14px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .work__open:hover img { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__text { grid-column: 1 / 8; }
  .hero__work { grid-column: 8 / 13; }
  .bar__main { grid-column: 1 / 6; }
  .bar__text { grid-column: 7 / 13; }
  }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .mark img { width: 72px; height: 72px; }
  .top { padding-top: 12px; padding-bottom: 12px; }
  .top ul { gap: 16px; }
  .top nav a { font-size: 10.5px; letter-spacing: .2em; }

  .hero { display: block; padding-top: 40px; }
  .hero h1 { margin-bottom: 24px; }
  .hero__work { margin-top: 44px; max-width: 100%; }

  .statement p { margin: 0; }

  .selection__head { display: block; }
  .selection h2 { margin-bottom: 24px; }
  .filter { padding: 12px 12px; letter-spacing: .16em; }

  .hang, .hang.is-filtered { grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 44px; }
  .hang .work, .hang.is-filtered .work { grid-column: auto; margin-top: 0; }
  .hang .work.is-even { margin-top: 56px; }
  .wall-label { font-size: 12px; padding-top: 10px; }
  .wall-label__no { font-size: 9.5px; letter-spacing: .2em; }
  .wall-label__title { font-size: 14.5px; }

  .bar { display: block; }
  .bar__main { max-width: 74%; }
  .bar__text { padding: 44px 0 0; }
  
  .visit__cols { grid-template-columns: 1fr; gap: 30px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 18px; }
}
