/*
Theme Name: Andreas Hutter Portfolio
Author: Andreas Hutter
Description: Bilingual artist portfolio with curated horizontal gallery, artwork viewer, zoom and projects. No artwork images bundled.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andreas-hutter
*/
:root {
  --paper: #edeae3;
  --ink: #161616;
  --muted: #6d6b65;
  --line: rgba(22, 22, 22, 0.2);
  --header-line: rgba(22, 22, 22, 0.11);
  --acid: #e9ff48;
  --red: #df3d28;
  --gutter: clamp(18px, 2.3vw, 38px);
  --header-h: 108px;
  /* Six shared text levels; fluid headings scale with the viewport.
     The decorative A is artwork, so its scale is kept separate. */
  --type-meta: 0.75rem;
  --type-body: 1rem;
  --type-lead: 1.5rem;
  --type-section: clamp(2rem, 3vw, 3rem);
  --type-page: clamp(2.5rem, 5vw, 5rem);
  --type-display: clamp(3rem, 7vw, 7rem);
  --type-mark: clamp(5.625rem, 16vw, 16.25rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

small { font-size: var(--type-meta); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: var(--type-body);
  line-height: 1.5;
  letter-spacing: 0.012em;
}

body.viewer-open { overflow: hidden; }

button, a { color: inherit; }

button { font: inherit; }

a { text-decoration: none; }

img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: var(--gutter);
  top: 10px;
  z-index: 99;
  padding: 8px 12px;
  background: var(--acid);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr minmax(180px, 1fr);
  align-items: start;
  gap: 24px;
  padding: 17px var(--gutter) 16px;
  border-bottom: 1px solid var(--header-line);
  background: var(--paper);
}

/* Cover the reserved WordPress toolbar space even when a plugin hides it.
   The toolbar itself remains above the header and fully interactive. */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 46px;
  background: var(--paper);
  pointer-events: none;
}

.wordmark {
  width: min-content;
  font-size: var(--type-lead);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.wordmark span { display: block; }

.site-nav {
  justify-self: center;
  display: flex;
  gap: clamp(22px, 4vw, 70px);
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  font-size: var(--type-body);
  letter-spacing: 0.055em;
}

.site-nav a,
.work-menu-toggle { position: relative; padding: 2px 0 8px; }

.site-nav-item { position: relative; }

.work-menu-toggle {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.work-menu-toggle span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.site-nav-work.open .work-menu-toggle span { transform: rotate(45deg); }

.site-nav > a::after,
.work-menu-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.site-nav > a.active::after,
.work-menu-toggle:hover::after,
.work-menu-toggle:focus-visible::after,
.work-menu-toggle.active::after { right: 0; }

.work-submenu {
  position: absolute;
  z-index: 4;
  top: calc(100% + 11px);
  left: -16px;
  min-width: 150px;
  padding: 8px 16px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.site-nav-work.open .work-submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.work-submenu a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.work-submenu a:last-child { border-bottom: 0; }
.work-submenu a:hover,
.work-submenu a:focus-visible,
.work-submenu a.active { font-weight: 600; }

.header-meta {
  justify-self: end;
  margin: 0;
  text-align: right;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  line-height: 1.3;
  text-transform: uppercase;
}

.menu-toggle { display: none; }

body.menu-open { overflow: hidden; }

.mobile-menu { display: none; }

main {
  min-height: calc(100vh - var(--header-h));
  outline: none;
}

.home-stage {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 18px;
  padding: 0 0 10px;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(330px, 1.25fr) minmax(280px, .75fr) auto;
  align-items: end;
  gap: 30px;
  min-height: 116px;
  padding: 15px var(--gutter) 16px;
}

.home-intro h1 {
  margin: 0;
  font-size: var(--type-page);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.home-intro h1 i {
  color: var(--red);
  font-family: Georgia, serif;
  font-weight: 400;
  text-transform: none;
}

.home-intro > p {
  max-width: 41ch;
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.gallery-controls {
  display: grid;
  grid-template-columns: auto 34px 34px;
  align-items: center;
  gap: 6px;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-controls button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.gallery-controls button:hover { background: var(--ink); color: var(--paper); }
.gallery-controls button:disabled { opacity: .25; cursor: default; }
.gallery-controls button:disabled:hover { background: transparent; color: var(--ink); }

.horizontal-gallery {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  cursor: grab;
  outline-offset: -2px;
  user-select: none;
}

.horizontal-gallery::-webkit-scrollbar { display: none; }
.horizontal-gallery.is-grabbing { cursor: grabbing; }

.gallery-track {
  width: max-content;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: clamp(8px, .85vw, 14px);
  padding: 0 var(--gutter);
}

.home-art-card {
  flex: 0 0 clamp(320px, 31vw, 510px);
  height: 100%;
  min-height: 390px;
}

.home-art-card--2,
.home-art-card--6 { flex-basis: clamp(250px, 24vw, 390px); }
.home-art-card--3 { flex-basis: clamp(420px, 43vw, 680px); }
.home-art-card--4 { flex-basis: clamp(330px, 34vw, 540px); }
.home-art-card--7 { flex-basis: clamp(270px, 27vw, 430px); }

.home-art-button {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #cec9bf;
  text-align: left;
  cursor: zoom-in;
}

.home-art-crop { position: absolute; inset: 0; }

.home-art-crop::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, rgba(0,0,0,.58));
  pointer-events: none;
}

.home-art-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1), filter 250ms ease;
  pointer-events: none;
}

.home-art-card--1 img { object-position: 52% 48%; }
.home-art-card--2 img { object-position: 48% 48%; }
.home-art-card--3 img { object-position: 50% 72%; }
.home-art-card--4 img { object-position: 50% 46%; }
.home-art-card--5 img { object-position: 48% 52%; }
.home-art-card--6 img { object-position: 50% 44%; }

.home-art-button:hover img,
.home-art-button:focus-visible img { transform: scale(1.025); filter: saturate(1.04); }

.home-art-caption {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: white;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: none;
}

.gallery-end-card {
  flex: 0 0 clamp(290px, 29vw, 470px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: var(--acid);
  border: 1px solid var(--ink);
  font-size: var(--type-section);
  line-height: 1.05;
  letter-spacing: -0.04em;
  cursor: pointer;
}

.gallery-end-card:focus-visible,
.about-teaser-copy:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -6px;
}

.gallery-end-card span:last-child {
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  letter-spacing: 0;
  text-transform: uppercase;
}

.gallery-progress {
  height: 1px;
  margin: 9px var(--gutter) 0;
  overflow: hidden;
  background: var(--line);
}

.gallery-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(max(.08, var(--gallery-progress, 0)));
  transform-origin: left;
}

.home-note {
  min-height: 52vh;
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  align-content: center;
  gap: 30px;
  margin: 0 var(--gutter);
  padding: 80px 0;
  border-top: 1px solid var(--ink);
}

.home-note > p:not(.eyebrow) {
  max-width: 25ch;
  margin: 0;
  font-size: var(--type-section);
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-note .text-link { grid-column: 2; justify-self: start; }

/* WordPress adds .page to <body>; animate only the portfolio content. */
#app > .page { animation: arrive 360ms cubic-bezier(.2,.75,.25,1) both; }

body.wp-theme-andreas-hutter {
  animation: none;
  transform: none;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  grid-template-rows: 1fr auto;
  gap: 30px;
  padding: 25px var(--gutter) 30px;
}

.hero-title {
  align-self: start;
  margin: -0.07em 0 0;
  max-width: 12ch;
  font-size: var(--type-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-title i {
  display: block;
  margin-left: 0.45em;
  color: var(--red);
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: var(--type-display);
  text-transform: none;
}

.hero-note {
  width: min(100%, 440px);
  justify-self: end;
  align-self: end;
}

.kicker, .eyebrow {
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-note p:not(.kicker) {
  margin: 14px 0 22px;
  font-size: var(--type-lead);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid;
  padding-bottom: 4px;
  font-family: "DM Mono", monospace;
  font-size: var(--type-body);
  text-transform: uppercase;
}

.hero-scroll {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.work-index,
.info-page { padding: 0 var(--gutter); }

.section-head,
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 18px 0 14px;
  border-top: 1px solid var(--ink);
}

.section-head h2,
.page-head h1 {
  margin: 0;
  font-size: var(--type-page);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head p,
.page-head p {
  max-width: 46ch;
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(14px, 2vw, 30px);
  row-gap: clamp(42px, 5vw, 76px);
  padding: 45px 0 clamp(90px, 11vw, 160px);
}

.art-card { min-width: 0; }

.art-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.art-frame {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(15px, 2.3vw, 34px);
  background: #e3dfd6;
}

.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}

.art-button:hover img,
.art-button:focus-visible img { transform: scale(1.018); filter: saturate(1.04); }

.art-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-top: 9px;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  line-height: 1.35;
  text-transform: uppercase;
}

.art-caption span:last-child { color: var(--muted); }

.about-teaser {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 72vh;
  border-top: 1px solid var(--ink);
}

.about-teaser-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #1a1917;
  color: var(--paper);
}

.about-teaser-visual::before,
.about-teaser-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(237,234,227,.45);
  border-radius: 50%;
}

.about-teaser-visual::before { width: 62%; aspect-ratio: 1; left: 9%; top: 14%; }
.about-teaser-visual::after { width: 48%; aspect-ratio: 1.5; right: -8%; bottom: 12%; }

.about-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-family: Georgia, serif;
  font-size: var(--type-mark);
  font-style: italic;
  line-height: 1;
  color: var(--acid);
  transform: rotate(-8deg);
}

.about-teaser-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 5vw, 80px);
  background: var(--red);
  color: #fff5eb;
  cursor: pointer;
}

.about-teaser-copy h2 {
  margin: 0;
  font-size: var(--type-page);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.about-teaser-copy p:not(.eyebrow) {
  max-width: 36ch;
  margin: 50px 0 25px;
  font-size: var(--type-lead);
}

.work-index { padding-top: 0; }

.page-head {
  min-height: 116px;
  padding: 15px 0 16px;
  border-top: 0;
}

.projects-index {
  padding: 24px 0 clamp(70px, 8vw, 120px);
  border-top: 1px solid var(--line);
}

.projects-index-head,
.archive-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.projects-index-head { margin-bottom: 22px; }

.project-list {
  display: grid;
  gap: 18px;
}

.projects-index-head h2,
.archive-head h2 {
  margin: 0;
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.projects-index-head p,
.archive-head p {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-align: right;
  text-transform: uppercase;
}

.project-card {
  min-height: clamp(350px, 42vw, 610px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  border: 1px solid var(--ink);
}

.project-card:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
.project-card:nth-child(even) .project-card-visual { order: 2; }
.project-card:nth-child(even) .project-card-copy { background: #282724; }

.project-card-visual {
  display: grid;
  grid-template-columns: 1fr .72fr;
  grid-template-rows: .78fr 1fr;
  gap: 1px;
  padding: clamp(26px, 5vw, 74px);
  background: #171715;
}

.project-card-visual--series {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  overflow: hidden;
}

.project-card-visual--series img {
  width: min(34%, 240px);
  max-height: 78%;
  object-fit: contain;
  flex: 0 0 auto;
  box-shadow: 0 16px 30px rgba(0,0,0,.3);
}

.panel-layout--triptych {
  grid-template-columns: .8fr 1.2fr .8fr;
  grid-template-rows: 1fr;
}

.panel-layout--triptych i:nth-child(n) {
  display: block;
  grid-row: auto;
}

.panel-layout--mosaic-five {
  grid-template-columns: .72fr 1.15fr .8fr;
  grid-template-rows: .7fr 1.1fr;
}

.panel-layout--mosaic-five i:nth-child(1) { grid-row: 1 / 3; }
.panel-layout--mosaic-five i:nth-child(2) { grid-column: 2; }
.panel-layout--mosaic-five i:nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
.panel-layout--mosaic-five i:nth-child(4),
.panel-layout--mosaic-five i:nth-child(5) { grid-row: 2; }

.project-card-visual i {
  display: block;
  border: 1px solid rgba(237,234,227,.42);
  background: rgba(237,234,227,.025);
  transition: transform 350ms ease, background 350ms ease;
}

.project-card-visual i:nth-child(1) { grid-row: 1 / 3; }
.project-card-visual i:nth-child(4) { background: rgba(233,255,72,.08); }

.project-card-visual.panel-layout--triptych i:nth-child(n) {
  display: block;
  grid-row: auto;
  grid-column: auto;
}

.project-card-visual.panel-layout--mosaic-five i:nth-child(1) { grid-row: 1 / 3; }
.project-card-visual.panel-layout--mosaic-five i:nth-child(2) { grid-column: 2; }
.project-card-visual.panel-layout--mosaic-five i:nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
.project-card-visual.panel-layout--mosaic-five i:nth-child(4),
.project-card-visual.panel-layout--mosaic-five i:nth-child(5) { grid-row: 2; }

.project-card:hover .project-card-visual i:nth-child(1) { transform: translateY(-4px); }
.project-card:hover .project-card-visual i:nth-child(2) { transform: translateX(4px); }

.project-card-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 5vw, 72px);
  background: var(--red);
  color: #fff5eb;
}

.project-card-copy small,
.project-card-copy > span {
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.project-card-copy strong {
  margin-top: auto;
  font-size: var(--type-page);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.project-card-copy em {
  margin: 10px 0 auto;
  font-family: Georgia, serif;
  font-size: var(--type-lead);
  font-weight: 400;
}

.project-series-wrap {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #171715;
  color: var(--paper);
}

.project-series-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 18px clamp(18px, 3vw, 42px) 10px;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.project-series-controls span { margin-right: auto; }

.project-series-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(237,234,227,.6);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.project-series {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 12px clamp(18px, 3vw, 42px) 32px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.project-series-item {
  flex: 0 0 min(72%, 430px);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  scroll-snap-align: start;
}

.project-series-item > span {
  height: clamp(260px, 39vw, 540px);
  display: grid;
  place-items: center;
  padding: 18px;
  background: #242320;
}

.project-series-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-series-item small {
  display: block;
  margin-top: 9px;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  line-height: 1.5;
  text-transform: uppercase;
}

.archive-head {
  padding: 18px 0 14px;
  border-top: 1px solid var(--ink);
}

.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  display: flex;
  gap: 8px;
  padding: 10px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-options {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
}

.filter-options .filter-button { flex: 0 0 auto; white-space: nowrap; }

.sort-info {
  flex: 0 0 auto;
  align-self: center;
  margin-left: auto;
  padding-left: 20px;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
  white-space: nowrap;
}

.filter-button {
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: 7px 14px;
  background: transparent;
  font-family: "DM Mono", monospace;
  font-size: var(--type-body);
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover { background: var(--ink); color: var(--paper); }

.work-index .art-grid { padding-top: 45px; }

.info-page { padding-top: 0; }

.info-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(35px, 9vw, 150px);
  padding: 60px 0 130px;
}

.statement {
  margin: 0;
  max-width: 25ch;
  font-size: var(--type-section);
  line-height: 1.01;
  letter-spacing: -0.04em;
}

.statement em { font-family: Georgia, serif; font-weight: 400; color: var(--red); }

.info-aside section { padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.info-aside h2 { margin: 0 0 12px; font-family: "DM Mono", monospace; font-size: var(--type-meta); text-transform: uppercase; }
.info-aside p { margin: 0 0 12px; }
.info-aside a { border-bottom: 1px solid; }

.about-image {
  margin: 0;
}

.about-image > img,
.about-image-placeholder {
  width: 100%;
  min-height: clamp(460px, 68vw, 900px);
}

.about-image > img {
  display: block;
  max-height: 90vh;
  object-fit: cover;
  object-position: center;
}

.about-image-placeholder {
  display: grid;
  place-content: center;
  gap: 18px;
  background: #ded9cf;
  color: var(--muted);
  text-align: center;
}

.about-image-placeholder span {
  font-size: var(--type-section);
  font-weight: 200;
  line-height: 1;
}

.about-image-placeholder p,
.about-image figcaption {
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.about-image-placeholder p { margin: 0; }
.about-image figcaption { margin-top: 10px; }

.about-image + .info-grid { padding-top: clamp(70px, 10vw, 150px); }

.future-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.future-card {
  min-height: 280px;
  padding: 24px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.future-card + .future-card { border-left: 1px solid var(--ink); }
.future-card:only-child { grid-column: 1 / -1; }
.future-card span { display: block; margin-top: 80px; font-size: var(--type-section); letter-spacing: -0.04em; }
.future-card small { font-family: "DM Mono", monospace; text-transform: uppercase; }
.future-card:hover { background: var(--acid); }

.contact-page { padding: 0 var(--gutter); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(40px, 9vw, 150px);
  padding: 60px 0 125px;
}

.contact-links { align-self: start; }

.contact-links > .eyebrow { margin: 0 0 28px; }

.contact-link {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.contact-link:last-child { border-bottom: 1px solid var(--line); }

a.contact-link:hover strong { text-decoration: underline; }

.contact-link span {
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.contact-link strong { font-weight: 500; }

.contact-future {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 75px);
  margin: 0 calc(var(--gutter) * -1);
  background: var(--acid);
  border-top: 1px solid var(--ink);
}

.contact-future h2 {
  max-width: 10ch;
  margin: 40px 0;
  font-size: var(--type-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-future .text-link { align-self: flex-start; }

.project-page { padding: 0 var(--gutter); }

.project-breadcrumb {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.project-breadcrumb a { border-bottom: 1px solid; }

.project-hero {
  min-height: calc(100svh - var(--header-h) - 52px);
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  border-bottom: 1px solid var(--ink);
}

.project-hero-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 58px) clamp(24px, 4vw, 60px) 34px 0;
}

.project-hero h1 {
  max-width: 8ch;
  margin: auto 0 0;
  font-size: var(--type-page);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.project-subtitle {
  max-width: 18ch;
  margin: 20px 0 45px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: var(--type-section);
  line-height: 1;
}

.project-summary {
  max-width: 38ch;
  margin: 0;
  font-size: var(--type-body);
}

.project-panel-study {
  display: grid;
  grid-template-columns: 1fr .62fr;
  grid-template-rows: .75fr 1fr;
  gap: 2px;
  padding: clamp(22px, 4vw, 54px);
  background: #171715;
}

.project-panel-study span {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(237,234,227,.36);
  color: rgba(237,234,227,.72);
}

.project-panel-study span:nth-child(4) { background: rgba(223,61,40,.16); }

.project-panel-study.panel-layout--triptych {
  grid-template-columns: .8fr 1.2fr .8fr;
  grid-template-rows: 1fr;
}

.project-panel-study.panel-layout--mosaic-five {
  grid-template-columns: .72fr 1.15fr .8fr;
  grid-template-rows: .7fr 1.1fr;
}

.project-panel-study.panel-layout--mosaic-five span:nth-child(1) { grid-row: 1 / 3; }
.project-panel-study.panel-layout--mosaic-five span:nth-child(2) { grid-column: 2; }
.project-panel-study.panel-layout--mosaic-five span:nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
.project-panel-study.panel-layout--mosaic-five span:nth-child(4),
.project-panel-study.panel-layout--mosaic-five span:nth-child(5) { grid-row: 2; }

.project-panel-study i {
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  font-style: normal;
  text-align: center;
  text-transform: uppercase;
}

.project-body {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(35px, 8vw, 140px);
  padding: clamp(70px, 10vw, 150px) 0;
}

.project-facts p {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.project-facts p:last-child { border-bottom: 1px solid var(--line); }

.project-facts span { color: var(--muted); }

.project-body-copy > p {
  max-width: 24ch;
  margin: 0 0 50px;
  font-size: var(--type-section);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.series-page { padding-top: 24px; }

.series-hero {
  min-height: calc(100svh - var(--header-h) - 24px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-top: 1px solid var(--ink);
}

.series-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 30px 30px 0;
}

.series-hero h1 {
  margin: 10px 0;
  font-size: var(--type-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.series-hero h1 em { display: block; margin-left: .3em; font-family: Georgia, serif; color: var(--red); font-weight: 400; }

.series-intro { max-width: 48ch; font-size: var(--type-lead); }

.series-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  background: #171715;
  color: var(--paper);
}

.series-placeholder::before {
  content: "";
  width: 60%;
  aspect-ratio: .72;
  border: 1px solid rgba(237,234,227,.55);
  box-shadow: 40px 40px 0 -1px #171715, 40px 40px 0 0 rgba(237,234,227,.25);
  transform: rotate(5deg);
}

.series-placeholder p {
  position: absolute;
  max-width: 18ch;
  font-family: "DM Mono", monospace;
  font-size: var(--type-body);
  text-align: center;
  text-transform: uppercase;
}

.series-body {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(30px, 8vw, 140px);
  padding: 90px 0 140px;
}

.series-facts { font-family: "DM Mono", monospace; font-size: var(--type-meta); text-transform: uppercase; }
.series-facts p { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.series-copy { max-width: 31ch; margin: 0; font-size: var(--type-section); line-height: 1.05; letter-spacing: -.045em; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 2fr repeat(4, auto);
  gap: 24px;
  align-items: end;
  padding: 22px var(--gutter) 26px;
  border-top: 1px solid var(--ink);
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.site-footer p { margin: 0; }
.site-footer .language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  justify-self: end;
  font-size: var(--type-body);
}
.site-footer .language-switch button {
  min-height: 44px;
  padding: 8px 4px;
  color: var(--muted);
}
.site-footer .language-switch button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.language-switch button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.site-footer button { padding: 0; border: 0; background: none; text-transform: uppercase; cursor: pointer; }
.site-footer button span { color: var(--muted); margin-left: 5px; }
.site-footer a:hover, .site-footer button:hover { text-decoration: underline; }

.viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
}

.viewer::backdrop { background: #fff; }

.viewer-bar {
  height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.viewer-bar button, .viewer-stage > button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.viewer-detail-link {
  position: absolute;
  top: 21px;
  left: 50%;
  padding-bottom: 2px;
  border-bottom: 1px solid;
  transform: translateX(-50%);
}

.viewer-detail-link[hidden] { display: none; }

.artwork-page { padding: 0 var(--gutter) 100px; }

.artwork-breadcrumb {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.artwork-breadcrumb a { border-bottom: 1px solid; }

.artwork-detail-head {
  min-height: 230px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  padding: 32px 0 28px;
}

.artwork-detail-head h1 {
  max-width: 10ch;
  margin: 0;
  font-size: var(--type-page);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.artwork-detail-head > p {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-align: right;
  text-transform: uppercase;
}

.artwork-detail-hero {
  width: 100%;
  min-height: min(78vh, 850px);
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 80px);
  border: 0;
  background: #191917;
  cursor: zoom-in;
}

.artwork-detail-hero img {
  max-width: 100%;
  max-height: min(68vh, 730px);
  object-fit: contain;
}

.artwork-description {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 35px;
  padding: clamp(65px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.artwork-description > p:last-child {
  max-width: 29ch;
  margin: 0;
  font-size: var(--type-section);
  line-height: 1.03;
  letter-spacing: -.05em;
}

.artwork-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 18px 0;
}

.artwork-section-head h2 {
  margin: 0;
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.artwork-section-head p {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-align: right;
  text-transform: uppercase;
}

.artwork-wall-section,
.artwork-detail-section,
.artwork-process { border-bottom: 1px solid var(--line); }

.artwork-wall {
  position: relative;
  min-height: clamp(480px, 72vw, 920px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e6e0d6;
}

.artwork-wall::before {
  content: "";
  position: absolute;
  inset: 0 0 16%;
  background: linear-gradient(105deg, rgba(255,255,255,.55), transparent 45%);
}

.artwork-wall-frame {
  z-index: 1;
  width: min(35vw, 470px);
  padding: 10px;
  background: #b79770;
  box-shadow: 0 18px 28px rgba(41,34,27,.22);
}

.artwork-wall-frame img {
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  background: #edeae3;
}

.artwork-wall-floor {
  position: absolute;
  inset: auto 0 0;
  height: 16%;
  background: #c7beb0;
  border-top: 1px solid rgba(22,22,22,.15);
}

.artwork-installation-gallery {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2px;
  background: var(--line);
}

.artwork-installation-gallery figure {
  margin: 0;
  padding: clamp(16px, 2.5vw, 34px);
  background: #e6e0d6;
}

.artwork-installation-gallery img {
  width: 100%;
  height: clamp(430px, 58vw, 790px);
  object-fit: contain;
}

.artwork-installation-gallery figcaption {
  margin-top: 10px;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.artwork-detail-crops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}

.artwork-detail-crops figure {
  margin: 0;
  padding: clamp(18px, 3vw, 42px);
  background: #191917;
  color: var(--paper);
}

.artwork-detail-crops img {
  width: 100%;
  height: clamp(420px, 56vw, 760px);
  object-fit: cover;
}

.artwork-detail-crops figure:first-child img { object-position: 28% center; }
.artwork-detail-crops figure:last-child img { object-position: 72% center; }

.artwork-detail-crops figcaption {
  margin-top: 10px;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.process-placeholders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}

.process-placeholders div {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: #ded9cf;
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
}

.process-placeholders small { color: var(--muted); }

.process-note {
  max-width: 52ch;
  margin: 0;
  padding: 28px 0 70px;
}

.artwork-back {
  display: inline-flex;
  margin-top: 70px;
}

.viewer-stage {
  height: calc(100dvh - 58px);
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
}

.viewer-stage figure {
  height: 100%;
  margin: 0;
  padding: 28px 0 20px;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 0;
  overflow: hidden;
}

.viewer-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 240ms ease;
  will-change: transform;
}

.viewer-image.zoomed {
  z-index: 2;
  transform: scale(2.25);
  cursor: zoom-out;
}

.viewer-stage figcaption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 18px;
}

/* Artwork names use the same catalogue typeface in every presentation. */
.home-art-caption > span:first-child,
.art-caption > span:first-child,
.project-series-item small,
.viewer-title,
.artwork-detail-head h1,
.artwork-breadcrumb > span:last-child {
  font-family: "DM Mono", monospace;
  font-weight: 400;
}

.artwork-detail-head h1 { letter-spacing: -0.02em; overflow-wrap: anywhere; }
.viewer-title { margin: 0; font-size: var(--type-body); font-weight: 400; }
.viewer-details { margin: 0; justify-self: end; font-family: "DM Mono", monospace; font-size: var(--type-meta); text-align: right; text-transform: uppercase; }
.viewer-stage > button { height: 100%; font-size: var(--type-lead); }
.viewer-stage > button:hover { background: rgba(22,22,22,.045); }

.toast {
  position: fixed;
  right: var(--gutter);
  bottom: 24px;
  z-index: 50;
  max-width: 320px;
  padding: 14px 16px;
  background: var(--acid);
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: var(--type-meta);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show { opacity: 1; transform: translateY(0); }

/* Larger text needs space for long German labels and captions. */
.home-intro > *, .page-head > *, .artwork-detail-head > *,
.project-card-copy, .contact-links, .contact-link > * { min-width: 0; }
.contact-link strong { overflow-wrap: anywhere; }
.home-note > p:not(.eyebrow), .statement,
.project-body-copy > p, .artwork-description > p:last-child,
.series-copy { line-height: 1.15; }
.home-art-caption > span:first-child, .art-caption > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.home-art-caption > span:last-child, .art-caption > span:last-child { flex-shrink: 0; }
.viewer-title { line-height: 1.4; }
.viewer-details { line-height: 1.5; }
.viewer-detail-link { font-size: var(--type-body); line-height: 1.4; }
.future-card small { font-size: var(--type-meta); }
.process-placeholders small { font-size: var(--type-meta); }

@media (max-width: 1200px) {
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 901px) {
  .wordmark { font-size: var(--type-lead); }
  .site-nav { font-size: var(--type-body); }
  .header-meta { font-size: var(--type-meta); }

  .work-submenu {
    min-width: 205px;
    padding: 10px 18px;
  }

  .work-submenu a { padding: 11px 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 78px; }

  .site-header {
    min-height: var(--header-h);
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .header-meta { display: none; }

  .menu-toggle {
    display: block;
    justify-self: end;
    padding: 0;
    border: 0;
    background: none;
    font-family: "DM Mono", monospace;
    font-size: var(--type-body);
    text-transform: uppercase;
    cursor: pointer;
  }

  .site-nav { display: none; }

  .mobile-menu {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 17px var(--gutter) 34px;
    overflow-y: auto;
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 160ms;
  }

  .mobile-menu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-close {
    justify-self: end;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-family: "DM Mono", monospace;
    font-size: var(--type-body);
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-menu-nav {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 45px 0 75px;
    font-family: "DM Mono", monospace;
    text-transform: uppercase;
  }

  .mobile-menu-nav > a,
  .mobile-work-toggle {
    width: 100%;
    padding: 15px 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: var(--type-section);
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
  }

  .mobile-work-toggle { cursor: pointer; }

  .mobile-work-toggle span {
    display: inline-block;
    transition: transform 160ms ease;
  }

  .mobile-work.open .mobile-work-toggle span { transform: rotate(45deg); }

  .mobile-work-submenu {
    display: none;
    padding: 0 0 12px;
    text-align: center;
  }

  .mobile-work.open .mobile-work-submenu { display: block; }

  .mobile-work-submenu a {
    display: block;
    padding: 8px 0;
    font-size: var(--type-body);
  }

  .mobile-menu-nav a.active,
  .mobile-work-toggle.active { text-decoration: underline; text-underline-offset: 7px; }

  .page-head { min-height: 105px; }

  .home-intro {
    grid-template-columns: 1fr auto;
    min-height: 105px;
  }

  .home-intro > p { display: none; }
  .gallery-controls > span { display: none; }

  .home-art-card { flex-basis: clamp(300px, 62vw, 500px); }
  .home-art-card--2,
  .home-art-card--6 { flex-basis: clamp(255px, 48vw, 390px); }
  .home-art-card--3 { flex-basis: clamp(390px, 76vw, 620px); }
  .home-art-card--4 { flex-basis: clamp(320px, 65vw, 520px); }
  .home-art-card--7 { flex-basis: clamp(270px, 54vw, 430px); }

  .home-note { grid-template-columns: 1fr; }
  .home-note .text-link { grid-column: 1; }

  .hero { grid-template-columns: 1fr; min-height: calc(100svh - var(--header-h)); }
  .hero-note { justify-self: start; }
  .hero-scroll { grid-column: 1; }

  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser-visual { min-height: 58vh; }

  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .project-card,
  .project-hero,
  .project-body { grid-template-columns: 1fr; }

  .project-card-visual { min-height: 52vh; }
  .project-card:nth-child(even) .project-card-visual { order: initial; }
  .project-card-copy { min-height: 410px; }
  .project-hero-copy { min-height: 68vh; }
  .project-panel-study,
  .project-series-wrap { min-height: 70vh; }

  .info-grid,
  .contact-grid,
  .series-hero,
  .series-body { grid-template-columns: 1fr; }

  .series-hero-copy { min-height: 67vh; }
  .series-placeholder { min-height: 70vh; }

  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > *:nth-child(even) { justify-self: end; text-align: right; }
}

@media (max-width: 600px) {
  .home-stage { grid-template-rows: auto minmax(0, 1fr) 16px; }
  .home-intro { min-height: 88px; padding-top: 12px; padding-bottom: 12px; }
  .home-intro h1 { font-size: var(--type-page); }
  .gallery-controls { grid-template-columns: 31px 31px; }
  .gallery-controls button { width: 31px; height: 31px; }
  .gallery-track { padding-left: var(--gutter); padding-right: 9vw; }
  .home-art-card,
  .home-art-card--2,
  .home-art-card--3,
  .home-art-card--4,
  .home-art-card--6,
  .home-art-card--7 { flex-basis: 78vw; min-height: 410px; }
  .home-art-card--2,
  .home-art-card--6 { flex-basis: 66vw; }
  .home-art-card--3 { flex-basis: 90vw; }
  .gallery-end-card { flex-basis: 78vw; }
  .home-note { min-height: 62vh; padding: 65px 0; }

  .hero { padding-top: 16px; }
  .hero-title { font-size: var(--type-display); }
  .hero-title i { margin-left: .1em; }
  .hero-scroll span:last-child { display: none; }

  .section-head,
  .page-head { align-items: start; flex-direction: column; min-height: 88px; padding: 12px 0; }

  .projects-index-head,
  .archive-head { align-items: start; }

  .projects-index-head p { display: none; }
  .project-card-visual { min-height: 430px; padding: 24px; }
  .project-card-copy { min-height: 390px; }
  .project-breadcrumb { min-height: 44px; }
  .project-hero { min-height: auto; }
  .project-hero-copy { min-height: 560px; }
  .project-panel-study { min-height: 540px; padding: 20px; }
  .project-body { padding: 70px 0 95px; }

  .art-grid {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }

  .about-teaser-visual { min-height: 440px; }
  .about-teaser-copy { min-height: 500px; }

  .filter-bar { flex-direction: column; }
  .filter-options { width: 100%; }
  .filter-button { white-space: nowrap; }
  .sort-info {
    position: static;
    align-self: flex-end;
    margin-left: 0;
    padding: 0;
  }

  .info-grid { padding-top: 40px; }
  .about-image > img,
  .about-image-placeholder {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  .contact-grid { padding-top: 40px; }
  .contact-link { grid-template-columns: 82px 1fr; }
  .future-row { grid-template-columns: 1fr; }
  .future-card + .future-card { border-left: 0; border-top: 1px solid var(--ink); }

  .series-hero-copy { min-height: 560px; }
  .series-placeholder { min-height: 540px; }
  .series-body { padding: 65px 0 90px; }

  .viewer-stage { grid-template-columns: 45px 1fr 45px; }
  .viewer-stage figure { padding-top: 15px; }
  .viewer-stage figcaption {
    min-height: 11rem;
    grid-template-columns: 1fr;
    grid-template-rows: 3rem 4.5rem 1.5rem;
    gap: 4px;
    align-content: start;
    padding-top: 12px;
  }
  .viewer-title { align-self: start; }
  .viewer-details { justify-self: start; text-align: left; }

  .viewer-detail-link {
    position: static;
    grid-column: 1 / -1;
    justify-self: start;
    align-self: start;
    width: auto;
    margin: 0;
    padding: 0 0 2px;
    border-bottom: 1px solid;
    background: transparent;
    color: inherit;
    line-height: 1.25;
    transform: none;
  }

  .viewer-detail-link[hidden] {
    display: block;
    visibility: hidden;
    pointer-events: none;
  }

  .artwork-page { padding-bottom: 70px; }

  .artwork-detail-head {
    min-height: 190px;
    align-items: start;
    flex-direction: column;
    padding: 25px 0;
  }

  .artwork-detail-head > p { text-align: left; }

  .artwork-detail-hero {
    min-height: 62vh;
    padding: 22px;
  }

  .artwork-description {
    grid-template-columns: 1fr;
    padding: 65px 0 80px;
  }

  .artwork-section-head { align-items: start; }
  .artwork-section-head p { display: none; }

  .artwork-wall { min-height: 68vh; }
  .artwork-wall-frame { width: 66vw; padding: 7px; }

  .artwork-installation-gallery { grid-template-columns: 1fr; }
  .artwork-installation-gallery img { height: auto; }

  .artwork-detail-crops { grid-template-columns: 1fr; }
  .artwork-detail-crops img { height: 64vh; }

  .process-placeholders {
    grid-template-columns: 82vw 82vw 82vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .process-placeholders div { scroll-snap-align: start; }

  .site-footer { grid-template-columns: 1fr; }
  .site-footer > *:nth-child(n) { justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* WordPress integration */
.education-copy { white-space: pre-line; }
.portfolio-footer-links { grid-column: 1 / -1; }
.portfolio-footer-links ul { display: flex; gap: 1rem; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
body.admin-bar .site-header { top: 32px; }
body.admin-bar .filter-bar { top: calc(var(--header-h) + 32px); }
.panel-layout--custom { grid-template-columns: repeat(var(--panel-columns, 3), minmax(0, 1fr)); grid-auto-rows: minmax(150px, 1fr); grid-template-rows: auto; }
.project-panel-study span img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.portfolio-empty { padding: 2rem; font-size: var(--type-body); align-self: center; }
.artwork-process-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.artwork-process-gallery figure { margin: 0; }
.artwork-process-gallery img { width: 100%; height: auto; }
.artwork-process-gallery figcaption { font-family: "DM Mono", monospace; font-size: var(--type-meta); padding: .5rem 0; }
.native-page { max-width: 60rem; padding: 3rem var(--gutter); margin: auto; }
.native-page h1 { font-size: var(--type-page); }
.native-page h2 { font-size: var(--type-section); }
.native-page p { line-height: 1.6; }
@media (max-width: 782px) {
 body.admin-bar .site-header { top: 46px; }
 body.admin-bar .filter-bar { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) {
 body.admin-bar .site-header { top: 0; }
 body.admin-bar .filter-bar { top: var(--header-h); }
 .artwork-process-gallery { grid-template-columns: 1fr; }
}
