/* Native rendering of the original gallery design tokens and interactions. */
:root {
  --ink: #242424;
  --button-background: #24303b;
  --muted: #6f6f6f;
  --subtle: #979797;
  --line: #e5e5e5;
  --gutter: 24px;
  --header-height: 64px;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2,
p,
figure {
  margin: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--gutter);
}
.logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.logo img {
  display: block;
  width: auto;
  height: 28px;
}
.desktop-navigation {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-link {
  position: relative;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms ease;
}
.nav-link[aria-current="page"],
.nav-link:hover {
  color: var(--ink);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 500ms cubic-bezier(0, 0, 0.2, 1);
}
.nav-link:hover::after {
  width: 100%;
}
.desktop-menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* Reserve the toggle's space before JavaScript unhides it. */
  width: 36px;
  height: 36px;
}
.burger-button {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.burger-button:hover {
  background: #f5f5f5;
}
.burger-icon {
  display: block;
  position: relative;
  width: 16px;
  height: 16px;
}
.burger-icon i {
  position: absolute;
  left: 1px;
  width: 14px;
  height: 1.5px;
  background: currentColor;
}
.burger-icon i:nth-child(1) {
  top: 3px;
}
.burger-icon i:nth-child(2) {
  top: 7px;
}
.burger-icon i:nth-child(3) {
  top: 11px;
}
.is-open .burger-icon i:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.is-open .burger-icon i:nth-child(2) {
  opacity: 0;
}
.is-open .burger-icon i:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}
.desktop-drawer {
  position: fixed;
  z-index: 10;
  top: var(--header-height);
  right: 0;
  width: 288px;
  height: calc(100dvh - var(--header-height));
  padding: 20px 28px;
  border-left: 1px solid var(--line);
  background: rgb(255 255 255 / 0.9);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 300ms ease-out,
    visibility 300ms;
  pointer-events: none;
}
.desktop-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.desktop-drawer ul,
.mobile-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.desktop-drawer li,
.mobile-navigation li {
  border-bottom: 1px solid var(--line);
}
.desktop-drawer li:last-child,
.mobile-navigation li:last-child {
  border: 0;
}
.desktop-drawer a {
  display: inline-block;
  padding-block: 16px;
}
.locale-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.1em;
}
.locale-switch > span:nth-child(2) {
  color: var(--line);
}
.locale-switch a[aria-current="false"],
.locale-inactive {
  color: var(--muted);
}
.mobile-navigation {
  padding: 16px var(--gutter) 24px;
  border-top: 1px solid var(--line);
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
}
.mobile-navigation a {
  display: block;
  padding-block: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.mobile-navigation .locale-switch {
  padding-top: 20px;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
  padding: 0 var(--gutter) 96px;
}
.content-block {
  grid-column: span 12;
  min-width: 0;
}
h1 {
  font-size: clamp(33px, 6.5vw, 120px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 300;
}
h2 {
  font-size: clamp(30px, 4vw, 55px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 16px;
}
.page-title {
  padding: 64px 0 40px;
}
.editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 64px 0;
}
.prose {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.62;
  color: var(--muted);
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose p + p {
  margin-top: 24px;
}
.prose ul,
.prose ol {
  padding-left: 18px;
  margin: 12px 0 0;
}
.prose ul { list-style: disc outside; }
.prose ol { list-style: decimal outside; }
.prose li {
  padding: 9px 0;
  border-bottom: 0;
  font-size: 14px;
  line-height: 22px;
}
.prose li::marker { color: var(--muted); }
.prose li > p { margin: 0; }
.prose li > p + p { margin-top: 8px; }
.prose li > ul,
.prose li > ol { margin-top: 4px; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  margin-inline: calc(-1 * var(--gutter));
  overflow: hidden;
  background: #242424;
  color: white;
  display: flex;
  align-items: flex-end;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.hero-copy {
  position: relative;
  padding: 0 var(--gutter) 100px;
  width: 100%;
}
.hero .eyebrow {
  color: rgb(255 255 255 / 0.65);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(44px, 9vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.hero h1 span {
  display: block;
}
.hero-exhibition-title {
  opacity: 0.65;
}
.feature {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  padding: 80px 0 96px;
}
.feature img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
}
.feature .prose {
  margin-top: 24px;
}
.arrow-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.arrow-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-heading {
  padding-bottom: 40px;
}
.card {
  grid-column: span 12;
  margin: 0 0 48px;
}
.card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 24px;
}
.card h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  font-weight: 300;
}
.card .eyebrow {
  margin-top: 12px;
  margin-bottom: 0;
}
.artwork {
  grid-column: span 12;
  margin: 0 0 48px;
}
.artwork img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
}
.artwork figcaption {
  margin-top: 20px;
}
.artwork h2 {
  font-size: 22px;
}
.artwork figcaption > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 8px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 0 var(--gutter) 40px;
  background: white;
}
/* JS only tags outermost content blocks; nested motion never compounds. */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.975);
  filter: blur(5px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}
@media (min-width: 640px) {
  .logo img {
    height: 28px;
  }
}
@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --header-height: 80px;
  }
  .logo img {
    height: 30px;
  }
  .content-grid {
    column-gap: 32px;
    padding-bottom: 128px;
  }
  .page-title {
    padding-top: 96px;
    padding-bottom: 56px;
  }
  .editorial {
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 80px 0;
  }
  .card,
  .artwork {
    grid-column: span 6;
  }
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 112px 0 128px;
  }
  .section-heading {
    padding-bottom: 56px;
  }
}
@media (min-width: 1024px) {
  .desktop-navigation {
    display: flex;
  }
  .mobile-toggle,
  .mobile-navigation {
    display: none !important;
  }
  .card {
    grid-column: span 3;
  }
}
@media (min-width: 1280px) {
  :root {
    --gutter: 64px;
  }
  .desktop-navigation {
    gap: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    will-change: auto;
  }
  .desktop-drawer,
  .nav-link::after {
    transition: none;
  }
}
.page-subtitle,
.page-meta {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.page-subtitle {
  margin-top: 24px;
}
.page-meta {
  margin-top: 8px;
}
.page-title .eyebrow {
  margin-bottom: 16px;
}
.media-cover .cover-image {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}
.media-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery-image {
  margin-top: 64px;
}
.media-cover .lightbox-image-count { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 10px; line-height: 14px; color: #aaa; }
.media-cover .lightbox-image-count img { width: 16px; height: 14px; flex: 0 0 16px; }
.nojs-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px var(--gutter);
  font-size: 12px;
}
.card img {
  height: auto;
  aspect-ratio: 1;
  transition: opacity 500ms;
}
.card a:hover img {
  opacity: 0.9;
}
.card a {
  display: block;
}
.card h3 {
  max-width: 60%;
  font-size: 14px;
  line-height: 1.375;
  font-weight: 400;
  letter-spacing: 0;
}
.card .eyebrow {
  float: right;
  max-width: 40%;
  text-align: right;
  margin-top: -20px;
}
.page-title {
  padding-top: 56px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .page-title {
    padding-top: 80px;
    padding-bottom: 64px;
  }
}
@media (max-width: 639px) {
  .logo {
    position: relative;
    width: calc(28px * 331.157 / 52.107);
    height: 28px;
    overflow: hidden;
    transition: width 350ms ease;
  }
  .logo img {
    position: absolute;
    right: 0;
    height: 28px;
    width: calc(28px * 331.157 / 52.107);
    max-width: none;
  }
  .site-header.is-scrolled .logo { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo { transition: none; }
}
/* Footer matches the original three-column information layout. */
.site-footer {
  padding: 0;
  background: white;
  border-top: 1px solid var(--line);
}
.footer-inner {
  padding: 64px var(--gutter);
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.footer-gallery-name {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  font-weight: 500;
  text-transform: uppercase;
}
.footer-label {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--subtle);
}
.footer-inner ul,
.shared-contact-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-address {
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  font-style: normal;
}
.footer-address p + p {
  margin-top: 4px;
}
.footer-hours {
  margin-top: 28px;
}
.footer-hours ul {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.footer-hours li + li {
  margin-top: 4px;
}
.footer-navigation-columns {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 20px;
  column-gap: 32px;
}
.footer-navigation-columns ul,
.footer-contact {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.footer-navigation-columns li + li,
.footer-contact li + li {
  margin-top: 12px;
}
.footer-navigation-columns ul + ul {
  margin-top: 24px;
}
.footer-columns .footer-contact,
.shared-contact-columns .footer-contact {
  margin-top: 20px;
}
.footer-inner a,
.shared-contact-columns a {
  transition: color 200ms ease;
}
.footer-inner a:hover,
.shared-contact-columns a:hover {
  color: var(--ink);
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-social svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer-memberships {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
}
.footer-memberships img {
  display: block;
  width: 150px;
  height: auto;
}
.footer-legal {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.footer-legal ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.shared-contact-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
@media (min-width: 640px) {
  .footer-navigation-columns {
    grid-template-columns: 1fr 1fr;
  }
  .footer-navigation-columns ul + ul {
    margin-top: 0;
  }
  .footer-legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
@media (min-width: 768px) {
  .footer-inner {
    padding-block: 80px;
  }
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
  .shared-contact-columns {
    grid-template-columns: 1fr 1fr;
  }
}
/* The reference navigation list inherits a 24px list-item line box. */
.footer-gallery-name {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  font-weight: 400;
}
.footer-navigation-columns li {
  line-height: 24px;
}
.footer-legal ul {
  line-height: 24px;
}
/* About page: the same full-width editorial composition as the reference. */
.about-page {
  display: block;
  padding: 0;
}
.about-page .page-title {
  padding: 56px var(--gutter) 64px;
  border-bottom: 1px solid var(--line);
}
.about-section {
  display: grid;
  gap: 32px;
  padding: 80px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.about-section .eyebrow {
  margin: 0;
}
.about-section .about-lead {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 300;
  color: var(--ink);
}
.about-copy > .prose {
  margin-top: 0;
}
.about-copy .prose p + p {
  margin-top: 24px;
}
.about-discover {
  padding: 96px var(--gutter);
  text-align: center;
}
.about-discover .eyebrow {
  margin-bottom: 16px;
}
.about-discover-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 300;
}
.about-discover-link > span:last-child {
  transition: transform 300ms;
}
.about-discover-link:hover > span:last-child {
  transform: translateX(4px);
}
@media (min-width: 768px) {
  .about-page .page-title {
    padding-block: 80px 96px;
  }
  .about-section {
    padding-block: 112px;
  }
  .about-discover {
    padding-block: 128px;
  }
}
@media (min-width: 1024px) {
  .about-section {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 40px;
  }
  .about-section-label {
    grid-column: span 4;
  }
  .about-copy {
    grid-column: span 8;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 40px;
  }
  .about-copy > * {
    grid-column: span 7;
  }
  .about-discover {
    padding-block: 160px;
  }
}
@media (min-width: 1280px) {
  .about-section {
    padding-block: 144px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-discover-link > span:last-child {
    transition: none;
  }
}
/* Artist categories use separate native content areas and the reference grid. */
.artists-page {
  display: block;
  padding: 0;
}
.artists-page .page-title {
  padding: 56px var(--gutter) 64px;
  border-bottom: 1px solid var(--line);
}
.artist-section {
  padding: 64px var(--gutter);
}
.artist-section > .eyebrow {
  margin: 0;
}
.guest-section {
  border-top: 1px solid var(--line);
}
.artist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 48px;
  margin-top: 40px;
}
.artist-grid .card {
  grid-column: auto;
  margin: 0;
}
.artist-grid .card img {
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .artists-page .page-title {
    padding-block: 80px 96px;
  }
  .artist-section {
    padding-block: 80px;
  }
  .artist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
  }
}
@media (min-width: 1024px) {
  .artist-section {
    padding-block: 96px;
  }
  .artist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .artist-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.card-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.card-caption h3 {
  margin: 0;
}
.card-caption .eyebrow {
  float: none;
  margin-top: 2px;
}
.card-caption .eyebrow {
  max-width: none;
}
/* Artist detail pages preserve the reference editorial lists and artwork plates. */
.artist-detail-page {
  display: block;
  padding: 0;
}
.artist-detail-page .page-title {
  padding: 56px var(--gutter) 64px;
  border-bottom: 1px solid var(--line);
}
.artist-editorial {
  scroll-margin-top: calc(var(--header-height) + 16px);
  display: grid;
  gap: 32px;
  padding: 64px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.artist-editorial .eyebrow,
.artist-works > .eyebrow {
  margin: 0;
}
.editorial-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
}
.editorial-lines li + li {
  margin-top: 8px;
}
.disclosure-toggle {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.artist-works {
  padding: 64px var(--gutter);
}
.artist-work-plates {
  margin-top: 48px;
}
.artwork-plate {
  width: 100%;
  max-width: 768px;
  margin-inline: auto;
}
.artwork-plate + .artwork-plate {
  margin-top: 80px;
}
.artwork-plate img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.artwork-plate figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 24px;
  row-gap: 4px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
}
.artwork-plate strong {
  font-weight: 500;
}
.plate-year,
.plate-materials {
  color: var(--muted);
}
.artist-detail-page .about-discover {
  padding: 80px var(--gutter);
  border-top: 1px solid var(--line);
}
.artist-back {
  padding: 0 var(--gutter) 80px;
}
.artist-back .arrow-link {
  margin: 0;
  color: var(--muted);
}
@media (min-width: 768px) {
  .artist-detail-page .page-title {
    padding-block: 80px 96px;
  }
  .artist-editorial,
  .artist-works {
    padding-block: 80px;
  }
  .artist-detail-page .about-discover {
    padding-block: 112px;
  }
}
@media (min-width: 1024px) {
  .artist-detail-page .page-title h1,
  .artist-detail-page .page-title > .eyebrow {
    max-width: calc(58.333333% - 16.666667px);
  }
  .artist-editorial {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 40px;
    padding-block: 96px;
  }
  .artist-editorial-label {
    grid-column: span 4;
  }
  .artist-editorial-copy {
    grid-column: span 8;
  }
  .artist-works {
    padding-block: 96px;
  }
}
@media (min-width: 1280px) {
  .artist-editorial-copy {
    grid-column: span 7;
  }
}
/* The schedule determines grouping; the listing remains a native Fluid view. */
.exhibitions-page {
  display: block;
  padding: 0;
}
.exhibitions-page .page-title {
  padding: 56px var(--gutter) 64px;
  border-bottom: 1px solid var(--line);
}
.exhibition-section {
  padding: 64px var(--gutter);
}
.exhibition-section > .eyebrow {
  margin: 0;
}
.exhibition-section + .exhibition-section {
  border-top: 1px solid var(--line);
}
.exhibition-feature-rows {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
/* Featured listings start below the title divider without a second heading. */
.news-page #nachrichten > .exhibition-feature-rows,
.exhibition-feature-section > .exhibition-feature-rows { margin-top: 0; border-top: 0; }
.news-page #nachrichten .exhibition-feature-row:first-child,
.exhibition-feature-section .exhibition-feature-row:first-child { padding-top: 0; }
.exhibition-feature-row {
  display: grid;
  gap: 32px;
  padding-block: 56px;
}
.exhibition-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.exhibition-summary > .eyebrow {
  margin: 0;
}
.exhibition-summary h2 {
  margin-top: 20px;
}
.exhibition-subtitle,
.exhibition-dates {
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.exhibition-summary .prose {
  margin-top: 24px;
}
.exhibition-summary .arrow-link {
  color: var(--muted);
}
.exhibition-archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 48px;
  margin-top: 40px;
}
.exhibition-archive {
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.archive-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
  text-align: center;
}
.archive-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.archive-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-width: 180px;
  padding: 16px 28px;
  border: 1px solid var(--button-background);
  background: var(--button-background);
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
  transition: opacity 180ms;
}
.archive-load-more:hover {
  opacity: 0.8;
}
.archive-load-more:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.archive-load-more[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.6;
}
.exhibition-archive-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 500ms;
}
.exhibition-archive-card a:hover img {
  opacity: 0.9;
}
.archive-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.archive-caption > div {
  min-width: 0;
}
.archive-caption h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.375;
  font-weight: 400;
}
.archive-caption p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.archive-caption > .eyebrow {
  flex-shrink: 0;
  margin: 2px 0 0;
  text-align: right;
}
@media (min-width: 768px) {
  .exhibitions-page .page-title {
    padding-block: 80px 96px;
  }
  .exhibition-section {
    padding-block: 80px;
  }
  .exhibition-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
  }
}
@media (min-width: 1024px) {
  .exhibition-section {
    padding-block: 96px;
  }
  .exhibition-feature-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 40px;
  }
  .exhibition-cover {
    grid-column: span 6;
  }
  .exhibition-summary {
    grid-column: 7 / span 5;
    padding-top: 32px;
  }
  .exhibition-archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .exhibition-feature-row {
    gap: 64px;
  }
  .exhibition-archive-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Homepage quotation: centred display type with the reference's quiet spacing. */
.gallery-statement {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding: 96px var(--gutter);
}
.gallery-statement blockquote {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}
.gallery-statement-copy p {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.gallery-statement-copy p + p { margin-top: 1em; }
.gallery-statement footer { margin-top: 32px; }
.gallery-statement cite { font-style: normal; }
@media (min-width: 768px) { .gallery-statement { padding-block: 128px; } }
@media (min-width: 1024px) { .gallery-statement { padding-block: 176px; } }
.gallery-statement { margin-inline: calc(-1 * var(--gutter)); }
.content-grid:has(> .gallery-statement) { padding-bottom: 0; }
.gallery-statement footer { line-height: 24px; }
.selected-exhibitions > .feature + .feature { border-top: 1px solid var(--line); }
.selected-exhibitions .prose { margin-top: 24px; }
.about-image { margin: 0; min-width: 0; }
.about-image a, .about-image img { display: block; width: 100%; }
.about-image img { height: auto; }
.about-image figcaption { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.about-second-block > .prose + .about-image { margin-top: 24px; }
@media (max-width: 767px) {
  .about-copy > .about-image { margin-top: 24px; }
}
/* Headings do not introduce space above themselves. */
h3 { margin-top: 0; margin-block-start: 0; }
/* Rich-text headings within Gallery Copytext. */
.about-section .prose h3 {
  font-size: 24px;
  font-weight: 300;
}
/* Heading level two in Gallery Copytext body content. */
.about-section .prose h2 {
  font-size: clamp(22px, 2.2vw, 32px);
  margin-bottom: 0.5rem;
  color: var(--ink);
}

/* Corporate requests use the same restrained typography as the gallery pages. */
.corporate-request-section { padding: 0 var(--gutter) 96px; }
.corporate-request-actions { display: flex; flex-wrap: wrap; gap: 16px; max-width: 768px; margin: 0 auto; }
.gallery-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 14px 24px; border: 1px solid var(--button-background); background: var(--button-background); color: white; font: inherit; font-size: 14px; line-height: 1.4; text-align: center; cursor: pointer; transition: background 200ms, color 200ms; }
.gallery-button:hover { background: white; color: var(--ink); }
.gallery-button:focus-visible, .gallery-form-dialog :focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.form-dialog-open { overflow: hidden; }
.gallery-form-dialog { color: var(--ink); background: white; width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid var(--line); }
.gallery-form-dialog::backdrop { background: rgb(0 0 0 / 50%); }
.gallery-form-header { display: flex; align-items: flex-start; gap: 24px; justify-content: space-between; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.gallery-form-header h2 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; }
.gallery-form-header button { padding: 0; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.gallery-form-body { padding: 24px 32px 32px; }
.form-required-note { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.gallery-form-dialog form .form-group { margin-bottom: 20px; }
.gallery-form-dialog label { display: block; margin-bottom: 6px; font-size: 14px; line-height: 1.5; }
.gallery-form-dialog input:not([type=checkbox]):not([type=hidden]), .gallery-form-dialog textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); background: white; color: var(--ink); font: inherit; border-radius: 0; }
.gallery-form-dialog input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); flex: 0 0 auto; margin-top: 3px; }
.gallery-form-dialog .checkbox { display: flex; gap: 10px; align-items: flex-start; }
.gallery-form-dialog .checkbox label { display: inline; }
.gallery-form-dialog .privacy-note { margin: 16px 0 24px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.gallery-form-dialog .privacy-note a { text-decoration: underline; }
.gallery-form-dialog button[type=submit] { width: 100%; min-height: 48px; padding: 12px 20px; background: var(--button-background); color: white; border: 1px solid var(--button-background); font: inherit; cursor: pointer; }
.gallery-form-dialog .error, .gallery-form-dialog .help-block { color: #a12626; font-size: 13px; }
.gallery-form-dialog .form-control-danger { border-color: #a12626 !important; }
@media (min-width: 768px) { .corporate-request-section { padding-bottom: 128px; } }
@media (max-width: 767px) {
  .corporate-request-actions { flex-direction: column; }
  .gallery-form-header { padding: 24px; }
  .gallery-form-body { padding: 24px; }
}
.gallery-form-dialog .form-element { margin-bottom: 20px; }
.gallery-form-dialog .form-check-wrapping-label { display: flex; gap: 10px; align-items: flex-start; }
.gallery-form-dialog .invalid-feedback { display: block; color: #a12626; font-size: 13px; }
.gallery-form-dialog .is-invalid { border-color: #a12626 !important; }
.gallery-form-dialog .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Align the request row with the Gallery Copytext editorial columns. */
.corporate-request-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.corporate-request-label { margin: 0; padding-top: 8px; }
.corporate-request-actions { max-width: none; margin: 0; align-items: flex-start; }
.corporate-request-actions .gallery-button { min-height: 50px; }
@media (min-width: 1024px) {
  .corporate-request-section { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; }
  .corporate-request-label { grid-column: span 4; }
  .corporate-request-actions { grid-column: 5 / span 8; }
}
.about-section:has(+ .corporate-request-section) { padding-bottom: 40px; border-bottom: 0; }
.selected-artists { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; }
@media (min-width: 768px) { .selected-artists { column-gap: 32px; } }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-heading .section-heading-link { margin-top: 0; flex-shrink: 0; color: var(--muted); padding-bottom: 4px; }
.section-heading-link span { margin-left: 8px; }
/* Artist editorial rich text retains the established line-list rhythm. */
.artist-richtext > * + * { margin-top: 8px; }
.artist-richtext ul { list-style: disc; padding-left: 18px; }
.artist-richtext ol { list-style: decimal; padding-left: 18px; }
.artist-richtext a { text-decoration: underline; text-underline-offset: 3px; }
.artist-richtext h2, .artist-richtext h3 { font-size: 24px; font-weight: 300; }
/* HTML elements follow the same text column as editorial content. */
.html-content { display: grid; grid-template-columns: minmax(0, 1fr); }
.html-content-copy { min-width: 0; }
.html-content-copy table { max-width: 100%; }
.editorial-copy { min-width: 0; }
.editorial-image { min-width: 0; margin: 24px 0 0; }
.editorial-image a, .editorial-image img { display: block; width: 100%; }
.editorial-image img { height: auto; }
.editorial-image-sized img { width: auto; max-width: 100%; }
.editorial-image figcaption { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.editorial:has(+ .html-content) { padding-bottom: 20px; }
@media (min-width: 768px) {
  .html-content { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 40px; }
  .html-content-copy { grid-column: 2; }
}

.news-title-information {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.news-title-information p { margin: 0; }
.news-title-information p + p { margin-top: 8px; }

/* Reading width for news, exhibition and fair detail copy. */
.detail-copy-page .editorial .prose,
.detail-copy-page .html-content-copy {
  width: 100%;
  max-width: 1000px;
  min-width: 0;
}

/* Responsive headings within copytext across the site. */
.prose h2,
.about-section .prose h2,
.artist-richtext h2 {
  font-size: clamp(22px, 2.2vw, 32px);
}
.prose h3,
.about-section .prose h3,
.artist-richtext h3 {
  font-size: clamp(19px, 2.2vw, 26px);
}

/* Fluid marks portrait media using the source image dimensions. */
img.image--portrait {
  object-fit: contain;
  aspect-ratio: 4 / 3;
  height: auto;
}

/* Center the count row beneath the visible, contained cover image. */
.media-cover .lightbox-image-count {
  max-width: 100%;
  margin-inline: auto;
}

/* A shared cover preview; each link remains one PhotoSwipe item. */
.media-cover .cover-gallery--portrait { max-width: 620px; }
.media-cover .cover-gallery--landscape { max-width: 1000px; }
.cover-gallery-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 8px; }
.cover-gallery--landscape .cover-gallery-grid { grid-template-columns: 4fr 1fr; }
.cover-gallery-main { display: block; min-width: 0; }
.media-cover .cover-gallery-main img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.cover-gallery-side { position: relative; min-width: 0; }
.cover-gallery-thumbnails { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cover-gallery--landscape .cover-gallery-thumbnails { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(4, minmax(0, 1fr)); }
.cover-gallery-thumbnails a:not([hidden]) { display: block; min-width: 0; min-height: 0; }
.media-cover .cover-gallery-thumbnails img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.cover-gallery a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 479px) {
  .cover-gallery-grid, .cover-gallery-thumbnails { gap: 4px; }
}

/* Sharing follows the same text column and reading width as detail copy. */
.detail-share { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 48px; }
.detail-share-inner { min-width: 0; width: 100%; max-width: 1000px; border-top: 1px solid var(--line); padding-top: 20px; }
.detail-share .eyebrow { margin: 0 0 20px; font-size: 11px; }
.detail-share-links { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.detail-share-links a, .detail-share-links button { color: var(--ink); font: inherit; font-size: 14px; line-height: 1.6; }
.detail-share-links button { appearance: none; border: 0; padding: 0; background: transparent; cursor: pointer; }
.detail-share-links a:hover, .detail-share-links button:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-share-links :focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.share-status { color: var(--muted); font-size: 13px; margin-top: 12px; }
.share-status:empty { display: none; }
.share-copy-fallback { margin-top: 12px; font-size: 14px; }
.share-copy-fallback input { display: block; width: 100%; min-width: 0; margin-top: 8px; padding: 8px; font: inherit; }
@media (min-width: 768px) {
  .detail-share { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 40px; }
  .detail-share-inner { grid-column: 2; }
}

/* Aktuelles (page 7): consistent archive image frames, without cropping. */
.news-archive-contained .exhibition-archive-card img,
.fair-archive-contained .exhibition-archive-card img {
  aspect-ratio: 1.5 / 1;
  object-fit: contain;
  height: auto;
}

/* Press archive: publication years remain alongside their entries on desktop. */
.press-page { display: block; padding: 0; }
.press-page .page-title { padding: 56px var(--gutter) 64px; border-bottom: 1px solid var(--line); }
.press-intro, .press-year-section { display: grid; gap: 32px; padding: 48px var(--gutter); border-bottom: 1px solid var(--line); }
.press-intro { padding-block: 64px; }
.press-intro-text { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 300; }
.press-intro-text + .eyebrow { margin-top: 24px; }
.press-year { font-size: clamp(28px, 3vw, 40px); font-weight: 300; line-height: 1.1; }
.press-list { list-style: none; padding: 0; margin: 0; min-width: 0; }
.press-list > li + li { border-top: 1px solid var(--line); }
.press-entry { display: grid; gap: 16px; padding: 24px 0; color: var(--ink); text-decoration: none; }
.press-entry-copy { min-width: 0; }
.press-publisher, .press-entry-title, .press-entry-meta { display: block; }
.press-publisher { margin-bottom: 8px; }
.press-entry-title { font-size: 18px; line-height: 1.35; font-weight: 400; }
.press-entry-meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 12px; overflow-wrap: anywhere; }
.press-entry-meta svg { flex-shrink: 0; }
.press-action { display: flex; gap: 12px; align-items: center; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.press-entry:hover .press-entry-title { text-decoration: underline; text-underline-offset: 4px; }
.press-entry:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.press-year-section.reveal { transform: none; }
@media (min-width: 768px) {
 .press-entry { grid-template-columns: 160px minmax(0, 1fr) auto; gap: 32px; align-items: baseline; }
 .press-page .page-title { padding-block: 80px 96px; }
}
@media (min-width: 1024px) {
 .press-intro, .press-year-section { grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 40px; padding-block: 64px; }
 .press-intro { padding-block: 80px; }
 .press-intro > :first-child, .press-year-column { grid-column: span 4; }
 .press-intro > :last-child, .press-list { grid-column: span 8; }
 .press-year { position: sticky; top: calc(var(--header-height) + 32px); }
}

/* Search only the news archive; featured news stays independent. */
.news-archive-heading { position: relative; display: grid; gap: 24px; align-items: start; margin-bottom: 80px; }
.news-archive-search { width: min(100%, 485px); justify-self: center; }
.news-search-field { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.news-search-field:focus-within { border-color: var(--ink); }
.news-search-field input { min-width: 0; width: 100%; border: 0; border-radius: 0; padding: 12px 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.news-search-field input::placeholder { color: var(--subtle); opacity: 1; }
.news-search-field button { display: grid; place-items: center; flex: 0 0 32px; padding: 10px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.news-search-field button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.news-search-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.news-search-reset { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.news-search-empty { margin-top: 48px; color: var(--muted); }
@media (min-width: 768px) {
 .news-archive-heading { grid-template-columns: 1fr minmax(0, 485px) 1fr; }
 .news-archive-heading > h2 { padding-top: 14px; }
 .news-archive-search { grid-column: 2; width: 100%; }
}

.about-image-gallery a[hidden] { display: none; }
.about-image-gallery .lightbox-image-count { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 6px auto 0; font-size: 10px; line-height: 14px; color: #aaa; }
.about-image-gallery .lightbox-image-count[hidden] { display: none; }
.about-image-gallery .lightbox-image-count img { width: 16px; height: 14px; flex: 0 0 16px; }

/* Standard TYPO3 Form, styled to match the gallery's editorial pages. */
.frame-type-form_formframework { grid-column: 1 / -1; min-width: 0; }
.gallery-contact-form { max-width: 1000px; margin: 0 auto; padding: 48px 0 80px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.65; }
.gallery-contact-form h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 300; margin-bottom: 20px; }
.gallery-contact-form .form-group { margin: 24px 0; }
.gallery-contact-form label { display: block; margin-bottom: 8px; font-size: 14px; }
.gallery-contact-form input:not([type=checkbox]):not([type=hidden]), .gallery-contact-form textarea { display: block; width: 100%; max-width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; background: transparent; color: var(--ink); font: inherit; }
.gallery-contact-form textarea { resize: vertical; min-height: 160px; }
.gallery-contact-form input:focus-visible, .gallery-contact-form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.gallery-contact-form .form-check { display: flex; align-items: flex-start; gap: 12px; }
.gallery-contact-form input[type=checkbox] { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); }
.gallery-contact-form a { text-decoration: underline; }
.gallery-contact-form .form-text { color: var(--muted); }
.gallery-contact-form .invalid-feedback, .gallery-contact-form .error { color: #a12727; }
.gallery-contact-form button[type=submit] { padding: 14px 24px; min-height: 48px; background: var(--button-background); color: white; border: 1px solid var(--button-background); font: inherit; }
.gallery-contact-form button[type=submit]:hover { background: white; color: var(--ink); }
.gallery-contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 32px; }
.gallery-contact-form > h2, .gallery-contact-form > .form-element-statictext, .gallery-contact-form > .form-element-textarea, .gallery-contact-form > .form-element-check, .gallery-contact-form > .form-actions { grid-column: 1 / -1; }
.gallery-contact-form > div:has(> input[type=hidden]):not(.form-element) { display: none; }
.gallery-contact-form .form-element { min-width: 0; }
.gallery-contact-form .form-check-wrapping-label { display: flex; align-items: flex-start; gap: 12px; }
.gallery-contact-form .form-navigation { grid-column: 1 / -1; }
@media (min-width: 768px) { .gallery-contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery-contact-form .form-element:has(input[autocomplete=organization]), .gallery-contact-form .form-element:has(input[autocomplete=street-address]) { grid-column: 1 / -1; }
.frame-type-form_formframework .form-confirmation { max-width: 1000px; margin: 0 auto; padding: 48px 0; font-size: 18px; line-height: 1.65; }

.synergy-artist { padding: 56px 0; border-top: 1px solid var(--line); }
.synergy-artist-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.synergy-artist-heading h2 { font-size: clamp(28px, 4vw, 54px); font-weight: 300; }
.synergy-artworks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.synergy-artworks .artwork { grid-column: auto; margin: 0; }
.synergy-artworks img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; max-height:400px; }
.synergy-catalogue { grid-column: span 12; padding: 0 0 48px; min-width: 0; }
.synergy-catalogue img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; margin-bottom: 24px; }
.synergy-catalogue h3 { font-size: 20px; font-weight: 400; margin: 0 0 12px; }
@media (min-width: 640px) { .synergy-artworks { grid-template-columns: repeat(2,minmax(0,1fr)); } .synergy-catalogue { grid-column: span 6; } }
@media (min-width: 1024px) { .synergy-catalogue { grid-column: span 4; } }
.gallery-contact-form select { width: 100%; padding: 12px 0; font: inherit; color: var(--ink); background: white; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; }

.back-to-top { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ccc; border-radius: 50%; background: #fff; color: #000; opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity 220ms ease, transform 220ms ease, visibility 220ms; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { border-color: var(--ink); background: #f7f7f7; }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; transform: none; } }



.gallery-video { padding-block: 24px 48px; }
.gallery-video video { display: block; width: 100%; max-width: 1000px; height: auto; margin-inline: auto; background: #000; }

/* First-party privacy notice, without third-party CMP requests. */
.cookie-notice[hidden], .cookie-settings-link[hidden] { display: none; }
.cookie-notice {
  position: fixed;
  z-index: 150;
  left: max(24px, env(safe-area-inset-left));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: min(480px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  background: rgb(255 255 255 / 90%);
  color: var(--ink, #24303b);
  border: 1px solid var(--line, #ddd);
  box-shadow: 0 8px 40px rgb(0 0 0 / 10%);
  animation: cookie-notice-enter .25s ease-out;
}
.cookie-notice h2 { font-size: 20px; line-height: 1.3; margin: 0 0 14px; }
.cookie-notice p { font-size: 15px; line-height: 1.65; margin: 0 0 16px; }
.cookie-notice details { font-size: 14px; line-height: 1.6; }
.cookie-notice summary { cursor: pointer; }
.cookie-notice details p { margin-top: 12px; font-size: 14px; }
.cookie-notice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.cookie-notice-actions button { border: 1px solid #24303b; padding: 12px 22px; min-height: 44px; background: #24303b; color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.cookie-notice-actions a { text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.cookie-settings-link { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.cookie-settings-link:hover { text-decoration: underline; }
.cookie-notice :focus-visible, .cookie-settings-link:focus-visible { outline: 2px solid #24303b; outline-offset: 4px; }
@keyframes cookie-notice-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) {
  .cookie-notice { left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: calc(100vw - 32px); padding: 22px; }
  .cookie-notice p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-notice { animation: none; } }
