/* Rodney Zelenka — site styles
   Layout concept: a white-cube wall. Works hang on a shared center line and
   carry museum wall labels; text pages read like a catalogue. */
:root {
  --wall: #fbfbf9;        /* gallery wall */
  --ink: #171612;         /* text */
  --graphite: #5b5850;    /* secondary text (6.7:1 on wall) */
  --hair: #dad7ce;        /* rules and borders */
  --mat: #edebe5;         /* placeholder mat board */
  --mat-edge: #dedad0;
  --gold: #a8842f;        /* gold leaf: graphics only */
  --gold-ink: #7a5b12;    /* gold for text and focus (5.9:1 on wall) */
  --shadow: 0 1px 2px rgba(23, 22, 18, .10), 0 8px 22px rgba(23, 22, 18, .08);

  --font-wide: "Archivo", "Helvetica Neue", Arial, sans-serif;   /* wordmark, labels, UI */
  --font-text: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif; /* reading, titles */

  --step--2: .75rem;
  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.3rem + 4.6vw, 5.6rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --measure: 36rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.55;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }
cite, .t { font-style: italic; }
em { font-style: italic; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: var(--gutter); top: -40px; z-index: 10;
  background: var(--ink); color: var(--wall); padding: .5rem .8rem;
  font: 600 var(--step--1)/1 var(--font-wide);
}
.skip:focus { top: .75rem; color: var(--wall); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- labels (museum wall-label voice) ---------- */
.eyebrow, .meta, .nav a, .lang, .btn, .chip, .label-sm, th {
  font-family: var(--font-wide);
  font-variation-settings: "wdth" 100;
}
.eyebrow {
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--graphite);
}
.meta { font-size: var(--step--1); color: var(--graphite); line-height: 1.5; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--hair); position: relative; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .6rem 1.75rem; padding-block: 1.1rem;
}
.wordmark {
  font-family: var(--font-wide);
  font-variation-settings: "wdth" 125;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1.2rem; }
.tools { display: none; align-items: baseline; gap: 1rem; }  /* phones: language and Menu */
.nav a, .lang, .menu-btn {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: .2rem;
  border-bottom: 1px solid transparent;
}
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.lang { color: var(--gold-ink); white-space: nowrap; }
.lang::before { content: "↔ "; color: var(--gold); }
.menu-btn {
  appearance: none; background: none; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink);
  font-family: var(--font-wide); cursor: pointer; padding: .55rem 0 .2rem; display: none;
}
@media (max-width: 1099px) {
  /* phones and tablets: a Menu button opens the list (without JavaScript the list simply shows) */
  .site-header .wrap { align-items: center; padding-block: .75rem; }
  .js .menu-btn { display: inline-block; }
  .js .nav { display: none; }
  .js .site-header[data-open] .nav {
    display: grid; order: 3; flex-basis: 100%; gap: 0;
    border-top: 1px solid var(--hair); margin-top: .35rem;
  }
  .js .site-header[data-open] .nav a {
    padding-block: .8rem; border-bottom: 1px solid var(--hair); font-size: var(--step-0); letter-spacing: .05em;
  }
  .js .site-header[data-open] .nav a[aria-current="page"] { color: var(--gold-ink); border-bottom-color: var(--hair); }
  .site-header .wrap { column-gap: .75rem; }
  .wordmark { font-size: .85rem; letter-spacing: .14em; }
  .js .tools { display: flex; margin-left: auto; gap: .9rem; }
  .js .nav .lang { display: none; }
  .tools .lang { padding-block: .55rem .2rem; }
  html:not(.js) .nav { gap: 0 1.15rem; }
  html:not(.js) .nav a { padding-block: .6rem; }  /* bigger tap targets */
}
@media (max-width: 400px) {
  .tools .lang::before { content: none; }
}

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(4rem, 10vw, 8rem); border-top: 1px solid var(--hair); }
.site-footer .wrap {
  display: grid; gap: 1.5rem 3rem; padding-block: 2.5rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.site-footer .wordmark { font-size: .85rem; }
.site-footer p, .site-footer li { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.site-footer .rights { grid-column: 1 / -1; font-size: var(--step--2); }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1rem; }
.page-head h1 {
  font-family: var(--font-wide);
  font-variation-settings: "wdth" 125;
  font-weight: 500;
  font-size: min(var(--step-3), 9vw);  /* long Spanish headings fit a 320 px phone */
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.05;
  overflow-wrap: break-word;
}
.lede { max-width: var(--measure); font-size: var(--step-1); line-height: 1.5; }

/* ---------- home ---------- */
.masthead { padding-block: clamp(3rem, 9vw, 7.5rem) clamp(2rem, 5vw, 4rem); display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.masthead h1 {
  font-family: var(--font-wide);
  font-variation-settings: "wdth" 125;
  font-weight: 600;
  font-size: var(--step-4);
  line-height: .95;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.masthead .tagline { font-family: var(--font-wide); font-size: var(--step-0); color: var(--graphite); letter-spacing: .01em; }
.masthead .intro { max-width: 34rem; font-size: var(--step-1); }
.masthead-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 900px) {
  .masthead-grid.has-feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}
.feature figure { margin: 0; display: grid; gap: .8rem; }
.feature img { box-shadow: var(--shadow); }

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--hair); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head h2 { font-family: var(--font-wide); font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }
.arrow-link { font-family: var(--font-wide); font-size: var(--step--1); font-weight: 500; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid var(--hair); padding-bottom: .1rem; }
.arrow-link::after { content: " →"; color: var(--gold); }
.arrow-link:hover { border-bottom-color: var(--gold); }

.latest { display: grid; gap: 1rem 3rem; }
@media (min-width: 900px) { .latest { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.latest .show-title { font-size: var(--step-4); font-style: italic; line-height: 1; letter-spacing: -.01em; }
.latest .details { display: grid; gap: .9rem; align-content: start; max-width: 34rem; }

figure { margin: 0; }
.pull { display: grid; gap: 1rem; max-width: 52rem; }
.pull blockquote { margin: 0; font-size: var(--step-3); line-height: 1.2; font-weight: 300; text-wrap: pretty; }
.pull blockquote::before { content: "“"; color: var(--gold); }
.pull blockquote::after { content: "”"; color: var(--gold); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding-block: .85rem; border-top: 1px solid var(--hair); }
.timeline li:last-child { border-bottom: 1px solid var(--hair); }
.timeline .y { font-family: var(--font-wide); font-size: var(--step--1); font-weight: 600; color: var(--graphite); padding-top: .2rem; }
.timeline .what { display: grid; gap: .1rem; }
.timeline .what a { text-decoration: none; }
.timeline .what a:hover cite { text-decoration: underline; }
.timeline cite { font-size: var(--step-1); }

.trio { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.trio a { display: grid; gap: .45rem; text-decoration: none; padding-top: 1rem; border-top: 2px solid var(--ink); }
.trio a:hover { border-top-color: var(--gold); color: inherit; }
.trio strong { font-family: var(--font-wide); font-size: var(--step-1); font-weight: 500; }
.trio span { color: var(--graphite); }

/* ---------- the wall (works grid) ---------- */
.controls { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; padding-block: 1rem; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.control { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.control .label-sm { font-size: var(--step--2); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-right: .35rem; }
.chip {
  appearance: none; border: 1px solid var(--hair); background: transparent; color: var(--ink);
  font-size: var(--step--1); font-weight: 500; padding: .38rem .7rem; cursor: pointer; line-height: 1.2;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--wall); }
.chip .n { font-variant-numeric: tabular-nums; opacity: .7; margin-left: .25rem; }
.years { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.years a { font-family: var(--font-wide); font-size: var(--step--1); font-weight: 500; text-decoration: none; color: var(--graphite); padding-block: .35rem; }
.years a:hover { color: var(--gold-ink); }
.count { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); margin-left: auto; }

.year-block { padding-top: clamp(2rem, 5vw, 3.5rem); scroll-margin-top: 1rem; }
.year-block h2 {
  font-family: var(--font-wide); font-variation-settings: "wdth" 125; font-weight: 500;
  font-size: var(--step-3); letter-spacing: .02em; margin-bottom: 1.25rem;
  display: flex; align-items: baseline; gap: 1rem;
}
.year-block h2 .meta { font-size: var(--step--1); letter-spacing: 0; }

.wall { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem) clamp(1rem, 2.5vw, 2.25rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.work-card { display: grid; gap: .85rem; align-content: start; text-decoration: none; color: inherit; }
.work-card:hover { color: inherit; }
.hang { aspect-ratio: 1 / 1; display: grid; place-items: center; max-width: 100%; }
.piece { position: relative; aspect-ratio: var(--ar); max-width: 100%; background: var(--mat); }  /* mat shows while a photo loads */
/* the work fits an 86% square on the wall whatever its proportions (--arn = width / height) */
.hang .piece { width: min(86%, calc(86% * var(--arn, 1))); }
.piece.round { border-radius: 50%; overflow: hidden; }
.piece img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow); }
.ph {
  position: absolute; inset: 0; background: var(--mat); border: 1px solid var(--mat-edge);
  display: grid; place-items: center; text-align: center; padding: .35rem;
}
.piece.round .ph { border-radius: 50%; }
.ph span {
  font-family: var(--font-wide); font-size: clamp(.6rem, 1.4vw, .72rem); letter-spacing: .08em;
  color: var(--graphite); font-variant-numeric: tabular-nums; line-height: 1.3;
}
.work-card:hover .ph { border-color: var(--gold); }
.work-card:hover .piece img { outline: 1px solid var(--gold); outline-offset: 4px; }
.work-card:focus-visible { outline-offset: 6px; }

/* relative-scale view: every work drawn against a 380 cm reference, hung on one center line */
.wall.to-scale .piece { width: calc(var(--wcm, 60) / 380 * 100%); height: auto; max-width: 100%; }
.wall.to-scale .piece .ph span { display: none; }

.label { display: grid; gap: .12rem; font-family: var(--font-wide); font-size: var(--step--1); line-height: 1.4; }
.label .t { font-family: var(--font-text); font-size: var(--step-0); line-height: 1.3; color: var(--ink); }
.label .t .date { font-style: normal; }
.label .m, .label .d { color: var(--graphite); }
.label .c { color: var(--graphite); font-variant-numeric: tabular-nums; font-size: var(--step--2); letter-spacing: .06em; margin-top: .2rem; }
.label .c::before { content: ""; display: inline-block; width: .42em; height: .42em; border-radius: 50%; background: var(--gold); margin-right: .45em; vertical-align: .08em; }

@media (max-width: 640px) {
  /* phones: works stand on a shared baseline so each label sits right under its image */
  .wall:not(.to-scale) .hang { align-items: end; }
}

/* home: selected works hang in one row that slides sideways (swipe, trackpad, arrow keys or the arrow buttons);
   the next work always shows at the edge, so it is clear there is more */
.head-tools { display: flex; align-items: center; gap: .75rem 1.25rem; }
.slide-nav { display: flex; gap: .5rem; }
.slide-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--hair); background: transparent;
  color: var(--ink); font: 500 var(--step-0)/1 var(--font-wide); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.slide-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-ink); }
.slide-btn:disabled { opacity: .35; cursor: default; }
.slider {
  --per: 1.5; --gap: clamp(1rem, 2.5vw, 2.25rem);
  container-type: inline-size;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--hair) transparent;
  margin-inline: calc(-1 * var(--gutter)); padding-block: .5rem 1.5rem; scroll-padding-inline: var(--gutter);
}
.slider:focus-visible { outline-offset: -2px; }
/* the row runs from gutter to gutter, so the first and the last work both line up with the page edge */
.slider-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: var(--gap); width: max-content; }
.slider-track > li {
  --w: min(100vw, var(--max));
  flex: 0 0 calc((var(--w) - 2 * var(--gutter) - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start; min-width: 0;
}
@supports (width: 1cqi) { .slider-track > li { --w: 100cqi; } }
@media (min-width: 640px) { .slider { --per: 2.6; } }
@media (min-width: 1040px) { .slider { --per: 4.4; } }
@media (max-width: 640px) { .slider .hang { align-items: end; } }

/* list view */
.table-wrap { overflow-x: auto; margin-top: 1.5rem; }
table.catalogue { width: 100%; border-collapse: collapse; font-family: var(--font-wide); font-size: var(--step--1); }
table.catalogue th { text-align: left; font-size: var(--step--2); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--ink); position: sticky; top: 0; background: var(--wall); }
table.catalogue td { padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
table.catalogue td:first-child { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--graphite); }
table.catalogue td.t { font-family: var(--font-text); font-size: var(--step-0); min-width: 12rem; }
table.catalogue td.t a { text-decoration: none; }
table.catalogue td.t a:hover { text-decoration: underline; }
table.catalogue td.dm { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  /* phones: inventory no., title, date and size fit the screen; the medium is on each work's page */
  table.catalogue th:nth-child(4), table.catalogue td:nth-child(4) { display: none; }
  table.catalogue td.dm { white-space: normal; }
  table.catalogue td.t { min-width: 0; }
}
.note { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); max-width: 40rem; }

/* ---------- single work ---------- */
.crumbs { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); padding-block: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.work-layout { display: grid; gap: 2rem 4rem; padding-top: clamp(1.25rem, 3vw, 2.5rem); }
@media (min-width: 960px) { .work-layout { grid-template-columns: minmax(0, 1.55fr) minmax(19rem, 1fr); align-items: start; } }
.stage { background: transparent; display: grid; place-items: center; aspect-ratio: 5 / 4; max-width: 100%; }
.stage .piece { width: min(90%, calc(72% * var(--arn, 1))); }  /* fits 90% of a 5:4 stage */
@media (max-width: 959px) {  /* phones and tablets: a square stage lets upright works fill the screen width */
  .stage { aspect-ratio: 1 / 1; }
  .stage .piece { width: min(96%, calc(96% * var(--arn, 1))); }
}
.stage .ph span { font-size: var(--step--1); }
.wall-label { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 960px) { .wall-label { position: sticky; top: 1.5rem; } }
.wall-label h1 { font-size: var(--step-3); font-style: italic; line-height: 1.1; }
.wall-label .date { font-family: var(--font-wide); font-size: var(--step-1); color: var(--graphite); }
.facts { margin: 0; display: grid; gap: .9rem; border-top: 1px solid var(--hair); padding-top: 1.25rem; }
.facts div { display: grid; gap: .1rem; }
.facts dt { font-family: var(--font-wide); font-size: var(--step--2); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.facts dd { margin: 0; }
.facts dd .alt { display: block; color: var(--graphite); font-size: var(--step--1); font-family: var(--font-wide); }
.facts dd ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .2rem; }
.caption-box { border: 1px solid var(--hair); padding: 1rem; display: grid; gap: .75rem; background: #fff; }
.caption-box p { font-size: var(--step--1); font-family: var(--font-wide); line-height: 1.5; }
.caption-box p cite { font-family: var(--font-text); font-size: var(--step-0); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.btn {
  appearance: none; display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--ink); background: var(--ink); color: var(--wall);
  font-size: var(--step--1); font-weight: 500; letter-spacing: .02em;
  padding: .55rem .9rem; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.btn:hover { background: var(--gold-ink); border-color: var(--gold-ink); color: var(--wall); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ok { background: var(--gold-ink); border-color: var(--gold-ink); color: var(--wall); }
.mail-line { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); }
.pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; margin-top: 2.5rem; border-top: 1px solid var(--hair); font-family: var(--font-wide); font-size: var(--step--1); }
.pager a { text-decoration: none; display: grid; gap: .15rem; max-width: 22rem; }
.pager a span { color: var(--graphite); font-size: var(--step--2); letter-spacing: .12em; text-transform: uppercase; }
.pager a cite { font-family: var(--font-text); font-size: var(--step-0); }
.pager .next { text-align: right; margin-left: auto; }

.work-layout + .section { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.wall-label header { display: grid; gap: .35rem; }
.scale-fig { display: grid; gap: .6rem; max-width: 34rem; }
.scale-fig svg { width: 100%; height: auto; max-height: 15rem; }
.scale-fig figcaption { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); }
.scale-fig .person { fill: var(--graphite); opacity: .38; }
.scale-fig .floor { stroke: var(--hair); stroke-width: 1; }
.scale-fig .work { fill: var(--mat); stroke: var(--ink); stroke-width: 1; }
.scale-fig .dim { font-family: var(--font-wide); font-size: 11px; fill: var(--graphite); }

/* ---------- exhibitions ---------- */
.shows { display: grid; }
.show { display: grid; gap: .75rem 3rem; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--hair); scroll-margin-top: 1rem; }
@media (min-width: 900px) { .show { grid-template-columns: 8rem minmax(0, 1fr) minmax(0, .8fr); } }
.show .yr { font-family: var(--font-wide); font-variation-settings: "wdth" 125; font-size: var(--step-2); font-weight: 500; color: var(--graphite); line-height: 1; }
.show .main { display: grid; gap: .6rem; align-content: start; }
.show h2 { font-size: var(--step-3); font-style: italic; line-height: 1.08; }
.show h2 .tr { display: block; font-style: normal; font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); margin-top: .4rem; }
.show .where { font-family: var(--font-wide); font-size: var(--step--1); line-height: 1.5; }
.show .where strong { font-weight: 600; }
.show .body { max-width: var(--measure); }
.show .side { display: grid; gap: 1.1rem; align-content: start; font-family: var(--font-wide); font-size: var(--step--1); }
.show .side h3 { font-size: var(--step--2); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); margin-bottom: .35rem; }
.show .side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.show .side cite { font-family: var(--font-text); font-size: var(--step-0); }
.mini-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .75rem; }
.mini-wall a { display: grid; gap: .35rem; text-decoration: none; font-size: var(--step--2); }
.mini-wall .hang { aspect-ratio: 1 / 1; }
.mini-wall .ph span { display: none; }
.mini-wall cite { font-family: var(--font-text); font-size: var(--step--1); line-height: 1.25; }

/* ---------- prose pages ---------- */
.two-col { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.prose { display: grid; gap: 1.1rem; max-width: var(--measure); }
.prose h2 { font-family: var(--font-wide); font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-top: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { text-wrap: pretty; hyphens: auto; }
.prose .source { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); }
.statement p { font-size: var(--step-1); line-height: 1.5; }
.portrait { display: grid; gap: .6rem; align-content: start; }
.portrait .frame { aspect-ratio: 4 / 5; background: var(--mat); border: 1px solid var(--mat-edge); display: grid; place-items: center; max-width: 26rem; }
.portrait .frame span { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); padding: 1rem; text-align: center; }
.voice { display: grid; gap: 1.5rem; margin-top: 1.5rem; max-width: 26rem; }
.voice figure { margin: 0; display: grid; gap: .5rem; }
.voice blockquote { margin: 0; font-size: var(--step-1); font-style: italic; line-height: 1.4; }
.voice figcaption, .quote figcaption { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); }

/* ---------- CV ---------- */
.cv-top { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.cv-born { font-size: var(--step-1); }
.cv-section { padding-top: clamp(1.75rem, 4vw, 2.75rem); }
.cv-section h2 { break-after: avoid; }
.cv-section h2 { font-family: var(--font-wide); font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); padding-bottom: .6rem; border-bottom: 1px solid var(--ink); margin-bottom: .2rem; }
.cv-list { list-style: none; margin: 0; padding: 0; }
.cv-list li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding-block: .55rem; border-bottom: 1px solid var(--hair); break-inside: avoid; }
.cv-list .y { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); font-variant-numeric: tabular-nums; padding-top: .15rem; }
.cv-section .prose-line { padding-top: .8rem; max-width: 48rem; }

/* ---------- texts ---------- */
.quotes { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.quote { margin: 0; display: grid; gap: .8rem; max-width: 48rem; padding-left: 1.25rem; border-left: 2px solid var(--gold); }
.quote blockquote { margin: 0; font-size: var(--step-2); line-height: 1.3; font-weight: 300; }
.quote .orig { font-family: var(--font-text); font-size: var(--step--1); color: var(--graphite); font-style: italic; }
.quote .orig b { font-family: var(--font-wide); font-style: normal; font-weight: 500; }
.biblio { list-style: none; margin: 0; padding: 0; }
.biblio li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding-block: .7rem; border-bottom: 1px solid var(--hair); }
.biblio .y { font-family: var(--font-wide); font-size: var(--step--1); color: var(--graphite); padding-top: .2rem; font-variant-numeric: tabular-nums; }
.biblio a { color: var(--gold-ink); }

/* ---------- press & contact ---------- */
.kit { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 960px) { .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kit section { display: grid; gap: .9rem; align-content: start; }
.kit h2 { font-family: var(--font-wide); font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); padding-bottom: .5rem; border-bottom: 1px solid var(--ink); }
.copyable { background: #fff; border: 1px solid var(--hair); padding: 1rem; }
.email-big { font-family: var(--font-wide); font-variation-settings: "wdth" 110; font-size: clamp(1.35rem, 1rem + 2.4vw, 2.6rem); font-weight: 500; overflow-wrap: anywhere; user-select: all; }
.contact-grid { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-family: var(--font-wide); font-size: var(--step--1); }

/* ---------- images of works: shown for viewing, not for taking ---------- */
.piece::after { content: ""; position: absolute; inset: 0; }  /* a long-press or right-click lands here, not on the image */
img.art { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.policy { font-family: var(--font-wide); font-size: var(--step--2); color: var(--graphite); line-height: 1.5; max-width: 30rem; }
.js .stage[data-zoom] .piece { cursor: zoom-in; }
.stage-tools { display: flex; justify-content: center; margin-top: .6rem; }
.zoom-btn {
  appearance: none; cursor: pointer;
  font-family: var(--font-wide); font-size: var(--step--2); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--graphite); background: var(--wall); border: 1px solid var(--hair); padding: .4rem .6rem;
}
.zoom-btn::before { content: "⤢ "; color: var(--gold); }
.zoom-btn:hover { color: var(--ink); border-color: var(--ink); }
.viewer {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  background: #111110; color: #f3f1ea;
}
.viewer::backdrop { background: #111110; }
.viewer[open] { display: grid; place-items: center; }
.viewer img { max-width: calc(100vw - 2rem); max-height: calc(100dvh - 4.5rem); width: auto; height: auto; object-fit: contain; }
.viewer .close {
  position: fixed; top: .75rem; right: .75rem; appearance: none; cursor: pointer; background: transparent; color: inherit;
  border: 1px solid rgba(243, 241, 234, .4); padding: .45rem .75rem;
  font: 600 var(--step--2)/1 var(--font-wide); letter-spacing: .12em; text-transform: uppercase;
}
.viewer .close:hover { border-color: #f3f1ea; }
.viewer figcaption { position: fixed; left: 1rem; bottom: .9rem; right: 1rem; font: 400 var(--step--1)/1.4 var(--font-wide); color: #c9c5ba; }

/* ---------- selected works, videos ---------- */
.head-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.video-piece { background: #1b1a17; }
.frame16 { position: absolute; inset: 0; overflow: hidden; }
.frame16 img, .video-frame img { width: 100%; height: 100%; object-fit: cover; box-shadow: none; }
.video-piece .frame16 img { box-shadow: var(--shadow); }
.wall.to-scale .work-card[data-cat="video"] { display: none; }  /* a video has no size to draw */
.stage.stage-video { aspect-ratio: auto; display: block; place-items: normal; }
.work-text { max-width: var(--measure); }
.play {
  position: absolute; left: 50%; top: 50%; width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; z-index: 1;
  border-radius: 50%; background: rgba(23, 22, 18, .72); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
}
.play::before {
  content: ""; position: absolute; left: 1.32rem; top: 1.02rem;
  border-style: solid; border-width: .68rem 0 .68rem 1.1rem; border-color: transparent transparent transparent #fbfbf9;
}
.work-card:hover .play, .video-frame:hover .play { background: var(--gold-ink); }
.videos { display: grid; }
.video { display: grid; gap: 1.25rem 3rem; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--hair); scroll-margin-top: 1rem; }
@media (min-width: 900px) { .video { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; } }
.video-frame, .video-embed { position: relative; display: block; aspect-ratio: 16 / 9; background: #1b1a17; overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .about { display: grid; gap: .6rem; align-content: start; }
.video h2, .video h3 { font-size: var(--step-3); font-style: italic; font-weight: 400; line-height: 1.1; }
.films { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.films .video:first-child { border-top: 0; }
.films-head { font-family: var(--font-wide); font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--ink); }
.video .body { max-width: var(--measure); }

/* ---------- exhibitions: installation views ---------- */
.views { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .9rem; margin-top: .6rem; }
.views figure { display: grid; gap: .35rem; align-content: start; }
.view-frame { position: relative; aspect-ratio: 4 / 3; background: var(--mat); overflow: hidden; }
.view-frame::after { content: ""; position: absolute; inset: 0; }
.view-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- news ---------- */
.posts { list-style: none; margin: 0; padding: 0; display: grid; }
.posts li { border-top: 1px solid var(--hair); }
.posts li:last-child { border-bottom: 1px solid var(--hair); }
.post-item { display: grid; gap: 1rem 2rem; padding-block: 1.5rem; text-decoration: none; }
@media (min-width: 760px) { .post-item:has(.thumb) { grid-template-columns: 16rem minmax(0, 1fr); } }
.post-item .thumb { aspect-ratio: 4 / 3; background: var(--mat); overflow: hidden; }
.post-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-item .text { display: grid; gap: .45rem; align-content: start; max-width: 44rem; }
.post-item .title { font-size: var(--step-2); line-height: 1.2; }
.post-item:hover .title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.post-item .summary { color: var(--graphite); }
.post { display: grid; gap: 1.75rem; padding-top: clamp(1.5rem, 4vw, 3rem); max-width: 56rem; }
.post-head h1 { font-size: var(--step-4); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
.post-cover img { width: 100%; }
.post-body { max-width: 44rem; font-size: var(--step-1); line-height: 1.55; }
.post-body img { margin-block: .5rem; }
.post-body h2, .post-body h3 { font-family: var(--font-wide); font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-top: 1rem; }
.post-body blockquote { margin: 0; padding-left: 1.1rem; border-left: 2px solid var(--gold); font-style: italic; }
.post-body ul, .post-body ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .4rem; }
.post-body a { color: var(--gold-ink); }
.post-back { margin-top: 2.5rem; }

/* ---------- root language chooser ---------- */
.chooser { min-height: 70vh; display: grid; place-content: center; gap: 2rem; text-align: left; padding-inline: var(--gutter); }
.chooser .langs { display: flex; gap: 2rem; flex-wrap: wrap; }
.chooser .langs a { font-family: var(--font-wide); font-variation-settings: "wdth" 110; font-size: var(--step-2); text-decoration: none; border-bottom: 2px solid var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  .chip, .btn, .arrow-link, .work-card .ph { transition: background-color .15s, border-color .15s, color .15s; }
}

/* ---------- print (CV and any page) ---------- */
@media print {
  @page { margin: 16mm 16mm 18mm; }
  :root { --step-0: 9.5pt; --step--1: 8.5pt; --step--2: 7.5pt; --step-1: 11pt; --step-3: 18pt; }
  body { background: #fff; line-height: 1.4; }
  .site-header, .skip, .no-print, .site-footer, .controls, .actions, .zoom-btn, .policy { display: none !important; }
  .wrap { padding-inline: 0; }
  .page-head { padding-block: 0 3mm; gap: 2mm; }
  a { text-decoration: none; }
  .cv-list li { grid-template-columns: 20mm minmax(0, 1fr); padding-block: 1.1mm; gap: 3mm; }
  .cv-section { padding-top: 4mm; }
  .cv-section h2 { padding-bottom: 1.5mm; }
  .print-only { display: block !important; }
}
.print-only { display: none; }
