:root {
  --paper: #f5f3ef;
  --ink: #161514;
  --grey: #6d6962;
  --rule: #d9d4ca;
  --placeholder: #e6e1d6;
  --red: #d7261e;
  --yellow: #f5c400;
  --blue: #1f4fb4;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
figure { margin: 0; }
figcaption { font: 400 13px/1.5 var(--body); color: var(--grey); margin-top: 12px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .painting { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
/* The supplied mark has a white background: multiply lets it sit on the paper colour */
.brand .mark { width: 40px; height: 40px; background: url("assets/logo-lockup.png") no-repeat; background-size: 213px auto; background-position: -53px -11px; mix-blend-mode: multiply; }
.brand .name { font: 500 17px/1 var(--display); }
nav a { margin-left: 28px; text-decoration: none; font: 500 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
nav a:hover, nav a[aria-current="page"] { color: var(--red); }
.burger { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; cursor: pointer; font: 500 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.burger span { display: none; }
.burger::before { content: ""; width: 9px; height: 9px; background: var(--red); flex: none; }
.burger::after { content: "Menu"; }
.burger[aria-expanded="true"]::after { content: "Close"; }

/* Overline with a red square */
.label { display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 32px; }
.label::before { content: ""; width: 9px; height: 9px; background: var(--red); flex: none; }

h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 48px; max-width: 20ch; }
.muted { color: var(--grey); }
section { padding: 120px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.two p { margin: 0 0 20px; }

/* Placeholders for images still on the external drive: grey until the file is added */
.ph { background: var(--placeholder); position: relative; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.tall { aspect-ratio: 4/5; }
.ph.wide { aspect-ratio: 16/9; }
.ph.square { aspect-ratio: 1/1; }
.ph.round { border-radius: 50%; aspect-ratio: 1/1; }
.ph.full { width: 100%; height: 88vh; min-height: 520px; }
.ph::after { content: attr(data-slot); position: absolute; left: 14px; bottom: 12px; font: 400 12px/1 var(--body); color: var(--grey); }

/* Opener: the title and status sit on the image, so they show above the fold */
.opener { position: relative; background: #111; padding: 0; }
.opener img { width: 100%; height: 92vh; min-height: 560px; object-fit: cover; object-position: 50% 30%; display: block; }
.opener::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,21,20,0) 40%, rgba(22,21,20,.65) 100%); pointer-events: none; }
.opener-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: 56px; color: #fff; }
.opener .caption { font-size: 13px; color: #e9e4d8; margin: 0 0 16px; }
.opener h1 { font-size: clamp(48px, 7vw, 104px); line-height: .98; letter-spacing: -.02em; margin: 0 0 28px; color: #fff; }
.status { font-size: 20px; line-height: 1.5; max-width: 50ch; margin: 0; color: #fff; }
.status strong { font-weight: 600; }
.status .red { color: var(--red); }

/* Audience routes */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.route { padding: 40px 40px 40px 0; border-right: 1px solid var(--rule); }
.route:last-child { border-right: 0; }
.route:not(:first-child) { padding-left: 40px; }
.route h3 { font-size: 24px; line-height: 1.2; margin: 0 0 14px; }
.route p { color: var(--grey); margin: 0 0 22px; font-size: 15px; }
.route a { text-decoration: none; border-bottom: 1px solid var(--red); font-size: 15px; }

/* Building blocks */
.blocks { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.block { aspect-ratio: 1/1; padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--paper); }
.block h3 { font-size: 21px; line-height: 1.2; margin: auto 0 0; }
.block p { font-size: 14px; line-height: 1.5; margin: 0; }
.block .n { font: 500 12px/1 var(--display); letter-spacing: .12em; }
.block.red { background: var(--red); }
.block.blue { background: var(--blue); }
.block.yellow { background: var(--yellow); color: var(--ink); }
.block.ink { background: var(--ink); }

/* Closed notice, honest about status */
.closed { border-top: 1px solid var(--ink); }
.closed p.lead { font-size: 24px; line-height: 1.45; max-width: 44ch; margin: 0 0 24px; }
.closed p { margin: 0; }

/* Legacy block */
.legacy { background: var(--ink); color: var(--paper); }
.legacy .label::before { background: var(--yellow); }
.legacy p { color: #d6d1c6; }
.years { font: 500 clamp(96px, 16vw, 230px)/.88 var(--display); letter-spacing: -.03em; margin: 0 0 90px; }
.years span { color: var(--yellow); }
.quote { margin: 120px 0 0; max-width: 980px; }
.quote p { font: 500 clamp(30px, 4vw, 54px)/1.18 var(--display); color: var(--paper); margin: 0; }
.quote cite { display: block; margin-top: 24px; font: 400 14px/1 var(--body); font-style: normal; color: #b9b3a6; }

/* Split rows (alternating image and text) */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.split-grid.flip > :first-child { order: 2; }
.round img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; }
.motto { font: 500 14px/1 var(--display); color: var(--blue); margin-top: 28px; }
.list { margin: 24px 0 0; padding: 0; list-style: none; }
.list li { border-top: 1px solid var(--rule); padding: 14px 0; font-size: 15px; }
.list li:last-child { border-bottom: 1px solid var(--rule); }

/* Graphic timeline: one line, red nodes, the future as an open node */
.track { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; padding-top: 0; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--ink); }
.node { position: relative; padding-top: 40px; padding-right: 8px; }
.node .dot { position: absolute; top: 0; left: 0; width: 13px; height: 13px; background: var(--red); border-radius: 50%; }
.node .yr { font: 500 clamp(26px, 2.6vw, 36px)/1 var(--display); margin: 0 0 14px; }
.node .txt { font-size: 14px; line-height: 1.5; color: var(--grey); margin: 0; }
.node.future .dot { background: var(--paper); border: 1px solid var(--red); }
.node.future .yr { color: var(--red); }

/* Artists and works: experiential, staggered, large */
.stagger { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.stagger .a { grid-column: 1 / span 7; }
.stagger .b { grid-column: 9 / span 4; margin-top: 180px; }
.stagger .c { grid-column: 2 / span 5; margin-top: 60px; }
.stagger .d { grid-column: 8 / span 5; margin-top: 120px; }
.artist-card h3 { font-size: 26px; margin: 18px 0 6px; }
.artist-card p { color: var(--grey); margin: 0; font-size: 15px; }

/* Contact */
.contact { border-top: 1px solid var(--ink); }
.contact-big { font: 500 clamp(56px, 9vw, 140px)/.95 var(--display); letter-spacing: -.02em; margin: 0; }
.contact-meta { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; font-size: 17px; }
.contact-meta p { margin: 0; }
.contact-meta a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--red); }
.contact-meta a:hover { color: var(--red); }

footer { padding: 48px 0 56px; border-top: 1px solid var(--rule); font: 400 13px/1.5 var(--body); color: var(--grey); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* Research and publications */
.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.pub { border-top: 1px solid var(--ink); padding-top: 22px; }
.pub .meta { font: 500 12px/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.pub h3 { font-size: 26px; line-height: 1.2; margin: 0 0 16px; }
.pub p { margin: 0 0 16px; }
.pub .note { font-size: 14px; color: var(--grey); }
.pub a { border-bottom: 1px solid var(--red); text-decoration: none; }
.photo-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .pub-grid, .photo-pair { grid-template-columns: 1fr; } }

/* Press clippings */
.press-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; align-items: start; }
.clip { border-top: 1px solid var(--ink); padding-top: 18px; }
.clip .meta { font: 500 12px/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.clip h3 { font-size: 22px; line-height: 1.25; margin: 16px 0 10px; }
.clip p { margin: 0; color: var(--grey); font-size: 15px; }
.clip .ph { margin: 0; }
.clip.lead { grid-column: 1 / span 7; }
.clip.lead h3 { font-size: 34px; }
.clip.r { grid-column: 8 / span 5; margin-top: 120px; }
.clip.l { grid-column: 1 / span 4; }
.clip.m { grid-column: 5 / span 4; margin-top: 60px; }
.clip.s { grid-column: 9 / span 4; margin-top: 180px; }
@media (max-width: 960px) {
  .press-grid { grid-template-columns: 1fr; }
  .clip.lead, .clip.r, .clip.l, .clip.m, .clip.s { grid-column: auto; margin-top: 0; }
}

/* Biography */
.bio-head { padding: 110px 0 40px; }
.bio-head h1 { font-size: clamp(52px, 7vw, 100px); line-height: 1; letter-spacing: -.02em; margin: 0; }
.bio-head h1 span { color: var(--red); }
.bio-body { display: grid; grid-template-columns: 1fr 2fr; gap: 90px; padding: 60px 0 130px; }
.bio-body .aside { position: sticky; top: 120px; align-self: start; }
.bio-body .aside img { width: 100%; height: auto; }
.bio-body .aside p { margin: 18px 0 0; font-size: 14px; color: var(--grey); }
.bio-body article p { margin: 0 0 1.4em; font-size: 17px; }
.bio-body article h3 { font-size: 20px; line-height: 1.3; color: var(--red); margin: 2.2em 0 .7em; }

@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  .burger { display: flex; }
  nav { position: fixed; inset: 76px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--ink); display: none; flex-direction: column; padding: 8px 24px 24px; }
  nav.open { display: flex; }
  nav a { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
  .two, .split-grid, .routes, .contact-meta, .bio-body, .stagger { grid-template-columns: 1fr; gap: 40px; }
  .stagger .a, .stagger .b, .stagger .c, .stagger .d { grid-column: auto; margin-top: 0; }
  .split-grid.flip > :first-child { order: 0; }
  .route, .route:not(:first-child) { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .blocks { grid-template-columns: 1fr 1fr; }
  .block { aspect-ratio: auto; min-height: 220px; }
  .track { grid-template-columns: 1fr; gap: 28px; }
  .track::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .node { padding-top: 0; padding-left: 36px; }
  .node .dot { top: 4px; left: 0; }
  .bio-body .aside { position: static; }
  section { padding: 96px 0; }
  .opener img { height: 70vh; min-height: 420px; }
}

/* Gallery: natural proportions, never cropped */
[hidden] { display: none !important; }
.academy-hero figcaption, .gallery figcaption { font: 400 13px/1.5 var(--body); color: var(--grey); margin-top: 12px; }
.gallery { columns: 3 280px; column-gap: 24px; }
.gallery figure { break-inside: avoid; margin: 0 0 28px; }
.gallery img { width: 100%; height: auto; display: block; }
.filter-row { display: flex; align-items: center; gap: 18px; margin: 0 0 48px; flex-wrap: wrap; }
.filter-row label { font: 500 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.filter-row select { font: 400 16px/1.2 var(--body); padding: 12px 14px; min-width: 260px; border: 1px solid var(--rule); background: #fff; color: var(--ink); }
.filter-row select:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.artist-group { margin: 0 0 96px; }
.artist-name { font-size: clamp(26px, 3vw, 40px); margin: 0 0 32px; letter-spacing: -.01em; }

/* Editorial spacing for artwork galleries */
.gallery { columns: 2 340px; column-gap: 120px; }
.gallery figure { break-inside: avoid; margin: 0 0 180px; }
.artist-group { margin: 0 0 160px; }
@media (max-width: 960px) { .gallery { columns: 1; column-gap: 0; } .gallery figure { margin: 0 0 110px; } }
/* Plate project slider: natural proportions, no cropping */
.slider-wrap { margin: 0 -48px; }
.slider { display: flex; align-items: center; gap: 120px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 48px 24px; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider figure { flex: 0 0 auto; scroll-snap-align: center; margin: 0; }
.slider img { height: 68vh; width: auto; max-width: none; display: block; }
.slider-nav { display: flex; gap: 16px; justify-content: flex-end; padding: 0 48px; margin-top: 24px; }
.slider-nav button { background: none; border: 1px solid var(--rule); padding: 12px 18px; font: 500 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.slider-nav button:hover, .slider-nav button:focus-visible { border-color: var(--red); color: var(--red); outline: none; }
@media (max-width: 960px) { .slider { gap: 48px; } .slider img { height: 52vh; } .slider-wrap { margin: 0 -24px; } .slider { padding: 0 24px 24px; } .slider-nav { padding: 0 24px; } }

/* Home hero: fixed height */
.opener img { height: 766px; min-height: 0; }
@media (max-width: 960px) { .opener img { height: 70vh; min-height: 420px; } }
/* Artists header: text left, logo on the right at about 60% of its earlier size */
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 80px; }
.header-row .intro { font-size: 19px; max-width: 46ch; margin: 0; }
.header-row .header-logo { width: 276px; height: auto; flex: none; mix-blend-mode: multiply; }
@media (max-width: 960px) { .header-row { flex-direction: column-reverse; align-items: flex-start; gap: 48px; } .header-row .header-logo { width: min(276px, 70vw); } }
/* Artwork scale: two columns, images at a modest size with generous space */
.gallery { columns: 2; column-gap: 160px; max-width: 980px; margin: 0 auto; }
.gallery figure img { width: min(100%, 420px); height: auto; }
@media (max-width: 960px) { .gallery { columns: 1; column-gap: 0; max-width: none; } }

/* Art Nucleus: smaller plate slider and a two-row children's grid, images uncropped */
.slider img { height: 320px; }
.rows { display: grid; grid-template-rows: repeat(2, 220px); grid-auto-flow: column; grid-auto-columns: 220px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 48px 24px; scrollbar-width: none; align-items: center; }
.rows::-webkit-scrollbar { display: none; }
.rows figure { margin: 0; width: 220px; height: 220px; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
.rows img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 960px) { .slider img { height: 240px; } .rows { padding: 0 24px 24px; } }

/* Artists: smaller works, more space between them */
.gallery { columns: 3; column-gap: 140px; max-width: 1040px; margin: 0 auto; }
.gallery figure { margin: 0 0 200px; }
.gallery figure img { width: min(100%, 300px); height: auto; }
@media (max-width: 960px) { .gallery { columns: 1; column-gap: 0; max-width: none; } .gallery figure img { width: 100%; } }

/* Art Nucleus: curated children's works, cropped to fill, six by two */
.feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 32px; }
.feature-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
/* Artists: two columns, landscape works run across both */
.gallery { display: grid; grid-template-columns: 1fr 1fr; column-gap: 120px; row-gap: 200px; columns: auto; max-width: 980px; margin: 0 auto; }
.gallery figure { margin: 0; }
.gallery figure img { width: 100%; height: auto; }
.gallery figure.wide { grid-column: 1 / -1; }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr; column-gap: 0; } .gallery figure.wide { grid-column: auto; } }

/* Children's works: full width, edge to edge */
.feature-grid { width: 100vw; margin-left: calc(50% - 50vw); padding: 0 40px; box-sizing: border-box; }
/* Artists: two columns in a 980px block, images no taller than 399px, generous space */
.gallery { grid-template-columns: 1fr 1fr; column-gap: 120px; row-gap: 240px; max-width: 980px; }
.gallery figure { width: 100%; margin: 0; display: flex; justify-content: center; align-items: flex-start; }
.gallery figure img { width: auto; height: auto; max-width: 100%; max-height: 399px; }
@media (max-width: 960px) { .feature-grid { padding: 0 24px; } .gallery figure img { max-height: none; width: 100%; } }
/* Landscape works: full width of the two columns, height follows the proportion */
.gallery figure.wide img { width: 100%; max-width: 100%; max-height: none; height: auto; }
@media (max-width: 960px) { .gallery figure.wide img { width: 100%; } }
/* Two-column artworks align to the outer edges of the 980px block, matching the full-width landscapes */
.gallery figure.left { justify-content: flex-start; }
.gallery figure.right { justify-content: flex-end; }
@media (max-width: 960px) { .gallery figure.left, .gallery figure.right { justify-content: center; } }
/* Artworks on a white studio background: multiply onto the paper colour so the white disappears */
.gallery img.knockout { mix-blend-mode: multiply; }

/* Mobile / small screens: artwork single column (overrides desktop 2-column grid) */
@media (max-width: 960px) {
  .gallery { grid-template-columns: 1fr; column-gap: 0; max-width: none; }
  .gallery figure.wide { grid-column: auto; }
  .gallery figure img, .gallery figure.wide img { width: 100%; max-width: 100%; max-height: none; }
  .gallery { row-gap: 120px; }
  .gallery figure { margin: 0 0 55px; }
}
