@font-face {font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Barlow-400i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Barlow-400i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/Barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/Barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Barlow-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Barlow-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/BarlowCondensed-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/BarlowCondensed-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/BarlowCondensed-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/BarlowCondensed-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
:root {
  --paper: #fbf6ee;
  --paper-2: #f3ebdf;
  --ink: #1d1714;
  --ink-2: #5a4f47;
  --red: #d7141a;
  --orange: #e8621c;
  --yellow: #f5b21b;
  --line: #e3d6c4;
  --frame: #ffffff;
  --radius: 4px;
  --wrap: 1180px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  font-feature-settings: "kern", "liga";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: .005em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: 8px; left: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.kicker {
  font: 600 15px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--red);
  margin: 0 0 14px;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(245,178,27,.28), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(232,98,28,.16), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(48px, 8.4vw, 112px); text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 .big {
  background: linear-gradient(92deg, var(--red) 0%, var(--orange) 55%, var(--yellow) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .04em;
}
.dates {
  display: inline-block;
  margin: 28px 0 18px;
  padding: 10px 16px 8px;
  background: var(--orange);
  color: #fff;
  font: 800 clamp(26px, 3.2vw, 38px)/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.venue { margin: 0 0 6px; font-size: 18px; }
.opening { margin: 0 0 30px; color: var(--ink-2); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 600 20px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .2s;
}
.btn::after { content: "↓"; }
.btn:hover { background: var(--red); }
.poster { margin: 0; }
.poster img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 60px -24px rgba(80,30,10,.45);
  transform: rotate(1.4deg);
  transition: transform .3s;
}
.poster a:hover img { transform: rotate(0deg) scale(1.01); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; padding: 72px 0 40px; }
.about h2, .buy h2 { font-size: 34px; text-transform: uppercase; margin-bottom: 18px; }
.about-text p { margin: 0 0 14px; max-width: 62ch; }
.motto { font: italic 400 21px/1.4 var(--text); color: var(--red); margin-top: 22px !important; }
.buy {
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
}
.buy p { margin: 0 0 10px; }
.partners { display: flex; align-items: center; gap: 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.partners img:first-child { width: 130px; }
.partners img:last-child { width: 62px; }

/* ---------- Catalogue ---------- */
.catalog { padding: 40px 0 90px; }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.catalog-head h2 { font-size: clamp(40px, 5vw, 60px); text-transform: uppercase; }
.search input {
  width: min(340px, 82vw);
  padding: 12px 14px;
  font: 500 16px var(--text);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,98,28,.2); }
.artists { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 34px 26px; }
.artist a { display: block; text-decoration: none; }
.mosaic {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  aspect-ratio: 1; overflow: hidden;
  background: var(--paper-2);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.mosaic img, .mosaic .ph-mini { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ph-mini { display: block; background: repeating-linear-gradient(135deg, var(--paper-2) 0 8px, #ece1d1 8px 16px); }
.artist a:hover .mosaic img { transform: scale(1.04); }
.artist h3 { font-size: 25px; text-transform: uppercase; transition: color .2s; }
.artist a:hover h3 { color: var(--red); }
.artist p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.empty { color: var(--ink-2); }

/* ---------- Artist page ---------- */
.topbar { border-bottom: 1px solid var(--line); background: rgba(251,246,238,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 5; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
.brand { text-decoration: none; font: 800 21px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--red); }
.brand span { color: var(--ink); }
.when { font-size: 14px; color: var(--ink-2); text-align: right; }
.artist-head { padding: 52px 0 10px; }
.artist-head h1 { font-size: clamp(46px, 8vw, 96px); text-transform: uppercase; }
.notice {
  margin-top: 26px;
  padding: 16px 20px 14px;
  background: #fff;
  border-left: 5px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 760px;
}
.notice p { margin: 0 0 4px; }
.notice p + p { color: var(--ink-2); font-size: 15px; }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 48px; padding: 44px 0 70px; }
.work { margin: 0; }
.frame {
  background: var(--frame);
  padding: clamp(14px, 2.4vw, 28px);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -26px rgba(60,30,10,.45);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.frame .zoom { display: grid; place-items: center; width: 100%; height: 100%; cursor: zoom-in; }
.frame img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--paper) 0 10px, var(--paper-2) 10px 20px); color: var(--ink-2); font: 600 18px var(--display); text-transform: uppercase; letter-spacing: .12em; }
.caption { padding: 20px 4px 0; }
.caption .no { margin: 0 0 6px; font: 600 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.caption h2 { font-size: 32px; margin-bottom: 12px; }
.caption dl { margin: 0; display: grid; gap: 3px; }
.caption dl div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; }
.caption dt { color: var(--ink-2); font-size: 15px; }
.caption dd { margin: 0; }
.price { display: inline-block; margin: 14px 0 0; padding: 5px 12px 4px; border: 2px solid var(--ink); font: 800 22px/1 var(--display); letter-spacing: .02em; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding: 26px 0 70px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; font: 800 22px/1.1 var(--display); text-transform: uppercase; }
.pager a span { display: block; font: 500 13px var(--text); text-transform: none; color: var(--ink-2); margin-bottom: 4px; }
.pager a:hover { color: var(--red); }
.pager .next { text-align: right; }
.pager .all { font: 600 15px var(--text); text-transform: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.notfound { padding: 120px 0; }
.notfound h1 { font-size: 64px; text-transform: uppercase; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #e9dfd2; padding: 46px 0 50px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.site-foot p { margin: 0 0 6px; }
.foot-title { font: 800 20px/1.1 var(--display); text-transform: uppercase; color: #fff; margin-bottom: 10px !important; }
.site-foot a { color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { padding: 34px 0 44px; }
  .hero-grid, .about { grid-template-columns: 1fr; gap: 36px; }
  .poster { max-width: 420px; }
  .about { padding-top: 48px; }
  .works { grid-template-columns: 1fr; gap: 44px; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .artists { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .artist h3 { font-size: 20px; }
  .artist p { font-size: 13px; }
  .when { display: none; }
  .artist-head { padding-top: 34px; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager .all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .pager a { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Grid children default to min-width:auto, which lets 1800px images widen the track. */
.works > *, .hero-grid > *, .about > *, .artists > *, .frame, .frame .zoom { min-width: 0; }
.frame .zoom { overflow: hidden; }
