/* ============================================
   Font Face Declarations - Neue Montreal
   ============================================ */
@font-face { font-display: swap; font-family: 'Neue Montreal'; font-style: normal; font-weight: 300; src: url('/assets/fonts/NeueMontreal-Light.otf') format('opentype'); }
@font-face { font-display: swap; font-family: 'Neue Montreal'; font-style: italic; font-weight: 300; src: url('/assets/fonts/NeueMontreal-LightItalic.otf') format('opentype'); }
@font-face { font-display: swap; font-family: 'Neue Montreal'; font-style: normal; font-weight: 400; src: url('/assets/fonts/NeueMontreal-Regular.otf') format('opentype'); }
@font-face { font-display: swap; font-family: 'Neue Montreal'; font-style: italic; font-weight: 400; src: url('/assets/fonts/NeueMontreal-Italic.otf') format('opentype'); }
@font-face { font-display: swap; font-family: 'Neue Montreal'; font-style: normal; font-weight: 500; src: url('/assets/fonts/NeueMontreal-Medium.otf') format('opentype'); }
@font-face { font-display: swap; font-family: 'Neue Montreal'; font-style: italic; font-weight: 500; src: url('/assets/fonts/NeueMontreal-MediumItalic.otf') format('opentype'); }
@font-face { font-display: swap; font-family: 'Neue Montreal'; font-style: normal; font-weight: 700; src: url('/assets/fonts/NeueMontreal-Bold.otf') format('opentype'); }
@font-face { font-display: swap; font-family: 'Neue Montreal'; font-style: italic; font-weight: 700; src: url('/assets/fonts/NeueMontreal-BoldItalic.otf') format('opentype'); }

/* ============================================
   Style Guide - Color Palette
   ============================================ */
:root {
  /* Typography */
  --font-family-base: 'Neue Montreal', sans-serif;
  --font-size-body: 14px;
  --font-size-mobile: 12px;
  --font-weight-regular: 400;

  /* Heading (page titles, modal titles, artist name, etc.) */
  --font-size-heading: 70px;
  --font-weight-heading: 500;
  --letter-spacing-heading: -5.6px;

  /* colors */
  --color-black: #000000;
  --color-contact-placeholder: rgba(255, 255, 255, 0.22);
  --color-gray-alternate: #E2E2E2;
  --color-gray-light: #F2F2F2;
  --color-gray-subtext: #CCCCCC;
  --color-gray-unselected: #444444;
  --color-primary-blue: #002FA7;
  --color-secondary-blue: #3388B9;
  --color-white: #FFFFFF;
  --color-white-40: rgba(255, 255, 255, 0.4);
  --color-white-80: rgba(255, 255, 255, 0.8);

  /* Breakpoints (for @media only; values in px for compatibility) */
  --bp-mobile-max: 768px;
  --bp-tablet-max: 1024px;
  --bp-tablet-min: 769px;
  --bp-desktop: 1025px;

  /* Spacing scale */
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-28: 28px;
  --space-30: 30px;
  --space-40: 40px;
  --space-60: 60px;
  --space-100: 100px;

  /* Line-height */
  --line-height-heading: 60px;
  --line-height-body: 22px;
  --line-height-tight: 1;
  --line-height-mid: 1.2;
  --line-height-loose: 1.6;

  /* Letter-spacing (mobile/small titles) */
  --letter-spacing-tight: -3.4px;
  --letter-spacing-tighter: -4px;

  /* Works index: content width so grid + View All align (4 cols: 400*4 + 20*3) */
  --works-gallery-content-width: 100%;
}

@media (min-width: var(--bp-tablet-min)) {
  :root {
    /* 2 cols */
    --works-gallery-content-width: calc(2 * 400px + 20px);
  }
}

@media (min-width: var(--bp-desktop)) {
  :root {
    /* 4 cols */
    --works-gallery-content-width: calc(4 * 400px + 3 * 20px);
  }
}

/* ============================================
   Base Styles
   ============================================ */
* {
  box-sizing: border-box;
}


body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  font-family: var(--font-family-base);
  background-color: var(--color-white);
}

html {
  /* Reserve scrollbar space so nav doesn’t shift when menu opens (overflow: hidden removes scrollbar) */
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

/* Hide scrollbar when menu is open but maintain scrollbar space */
body.menu-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0);
}

body.menu-open::-webkit-scrollbar {
  display: none;
}

body.menu-open {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Keep the fixed header above the menu overlay */
body.menu-open .site-header {
  /* Force visibility even if other pages tweak it */
  display: flex !important;
  visibility: visible !important;
  z-index: 10006 !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Keep the fixed header above the artists overlay as well */
body.artists-open .site-header {
  display: flex !important;
  visibility: visible !important;
  z-index: 10006 !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Avoid a duplicate "header" when the overlay uses its own top bar (from-bottom variant) */
body.menu-open .menu-overlay.menu-overlay-from-bottom .menu-overlay-bottom-bar {
  display: none;
}

/* Home page (`templates/index.twig`) doesn't normally show the top header,
   but it should always be visible when the menu overlay is open. */
body.index-page .site-header {
  display: none;
}
body.index-page.menu-open .site-header {
  display: flex !important;
}

/* Index page: conveyor wrapper must participate in body flex so .gallery-container (flex: 1) can fill viewport */
body.index-page #barba-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
body.index-page #page-strip {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
body.index-page #barba-wrapper [data-barba="container"] {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

#barba-wrapper {
  /* overflow only during transition so page can scroll after */
  position: relative;
}

/* Conveyor-belt strip: holds one or two panels during page transition */
#page-strip {
  left: 0;
  position: relative;
  top: 0;
  width: 100%;
}

#page-strip > [data-barba="container"] {
  flex-shrink: 0;
  width: 100%;
}

#barba-wrapper [data-barba="container"] {
  position: relative;
  width: 100%;
}

/* During conveyor transition only: fix viewport height and full-height panels so strip animates correctly */
#barba-wrapper.is-transitioning {
  height: 100vh;
  overflow: hidden;
}

#barba-wrapper.is-transitioning [data-barba="container"] {
  min-height: 100vh;
}

.hide { display: none; }

/* ============================================
   Typography - 01 Header
   ============================================ */
h1,
.header-text { /* medium */
  margin: 0;
  color: var(--color-black);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
  line-height: var(--line-height-heading);
}

a {
  text-decoration: none;
}

/* Header Text States */
.header-text {
  color: var(--color-black);
}

.header-text.alternate,
.header-text.read {
  color: var(--color-gray-alternate);
}

/* ============================================
   Typography - 02 Body Copy
   ============================================ */
p,
.body-copy { /* regular */
  margin: 0;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0px;
  line-height: var(--line-height-body);
}

/* Body Copy States */
.body-copy.subtext {
  color: var(--color-gray-subtext);
}

/* ============================================
   Typography - 03 Form Fields
   ============================================ */
input,
textarea,
select,
.form-field { /* regular */ /* approximately 16-18px for 11px font */
  font-size: 11px;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0px;
  line-height: 1.5em;
}

/* Ensure typed text stays white (incl. autofill) */
input,
textarea,
select {
  caret-color: var(--color-white);
}
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--color-white);
  transition: background-color 9999s ease-out 0s;
}

/* Form Field Text Color States */
input:focus,
textarea:focus,
select:focus,
.form-field:focus {
  color: var(--color-white);
}

input:not(:focus),
textarea:not(:focus),
select:not(:focus),
.form-field:not(:focus) {
  color: var(--color-white);
}

/* Blue form variant */
input.blue-form:not(:focus),
textarea.blue-form:not(:focus),
select.blue-form:not(:focus),
.form-field.blue-form:not(:focus) {
  color: var(--color-secondary-blue);
}

/* ============================================
   Primary Navigation
   ============================================ */
nav a,
.primary-nav a,
.nav-link {
  color: var(--color-black);
  text-decoration: none;

}

nav a:hover,
.primary-nav a:hover,
.nav-link:hover {
  color: var(--color-primary-blue);
}

/* ============================================
   Buttons - Enquire Now (Primary)
   ============================================ */
.btn-primary,
.btn-enquire {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  max-height: 34px;
  min-height: 34px;
  padding: 0 16px;
  color: var(--color-white);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1;
  text-align: center;

  text-decoration: none;
  background-color: var(--color-primary-blue);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary:hover,
.btn-enquire:hover {
  color: var(--color-white);
  background-color: var(--color-secondary-blue);
}

/* ============================================
   Buttons - Available Works (Secondary)
   ============================================ */
.btn-secondary,
.btn-available-works {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  max-height: 34px;
  min-height: 34px;
  padding: 0 16px;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background-color: var(--color-gray-light);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-secondary:hover,
.btn-available-works:hover {
  color: var(--color-black);
  background-color: var(--color-gray-alternate);
}

/* ============================================
   Buttons - Large Button
   ============================================ */
.btn-large,
.large-button {
  padding: 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-large .button-main,
.large-button .button-main { /* bold */
  color: var(--color-black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.btn-large .button-suffix,
.large-button .button-suffix {
  color: var(--color-gray-subtext);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
}

/* Large Button Hover State */
.btn-large:hover .button-main,
.large-button:hover .button-main {
  color: var(--color-primary-blue);
}

.btn-large:hover .button-suffix,
.large-button:hover .button-suffix {
  color: var(--color-primary-blue);
}

/* ============================================
   Utility Classes
   ============================================ */
.hidden {
  display: none;
}

.text-white {
  color: var(--color-white);
}

.text-white-80 {
  color: var(--color-white-80);
}

.text-white-40 {
  color: var(--color-white-40);
}

.text-black {
  color: var(--color-black);
}

.text-primary {
  color: var(--color-primary-blue);
}

.text-secondary {
  color: var(--color-secondary-blue);
}

.text-subtext {
  color: var(--color-gray-subtext);
}

.bg-primary {
  background-color: var(--color-primary-blue);
}

.bg-secondary {
  background-color: var(--color-secondary-blue);
}

.bg-light {
  background-color: var(--color-gray-light);
}

/* ============================================
   Site Header - Fixed Top
   ============================================ */
.site-header {
  /* Isolate from parent transforms */
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: calc(20px + env(safe-area-inset-top)) 20px 20px;
  position: fixed;
  right: 0;
  top: 0;
  will-change: transform;
  z-index: 10005;
  transform: translateZ(0);
}

.site-header-logo {
  scroll-behavior: auto;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  text-decoration: none;
}

.site-header-logo:hover {
  color: var(--color-primary-blue);
}

.site-header nav {
  align-items: center;
  display: flex;
  gap: 30px;
}

.site-header nav a,
.site-header nav button {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-regular);
  text-decoration: none;

}

.site-header nav button {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-family-base);
  cursor: pointer;
}

.site-header nav a:hover,
.site-header nav button:hover {
  color: var(--color-primary-blue);
}

.site-header nav a:hover .menu-bracket,
.site-header nav button:hover .menu-bracket,
.bottom-bar-right a:hover .menu-bracket,
.bottom-bar-right button:hover .menu-bracket {
  opacity: 0;
}


/* ============================================
   Site Footer - Fixed Bottom Left
   ============================================ */
/* ============================================
   Site Footer
   ============================================ */
main {
  padding-bottom: 400px;
  position: relative;
  will-change: transform;
  z-index: 2;
}

/* Hide footer while menu is open/closing so it doesn't peek during slide-down */
body.menu-open .site-footer {
  visibility: hidden;
}

.site-footer {
  /* Fixed footer sits behind main content */
  bottom: 0;
  box-sizing: border-box;
  height: 400px;
  left: 0;
  padding: 20px;
  position: fixed;
  right: 0;
  z-index: 1;
  background-color: var(--color-gray-light);
}

.site-footer-content {
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.site-footer-main {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.site-footer-left {
  flex: 1;
}

.site-footer-heading-wrapper {
  left: 0;
  position: absolute;
  top: 0;
  width: fit-content;
}

.site-footer-heading {
  margin: 0 0 10px 0;
  color: var(--color-black);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer-subscribe-row {
  align-items: center;
  display: flex;
  gap: 20px;
  width: 100%;
}

.site-footer-subheading {
  flex-shrink: 0;
  margin: 0;
  color: #999;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  white-space: nowrap;
}

.site-footer-form {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 0;
  min-width: 0;
  position: relative;
}

.site-footer-hp {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer-input {
  flex: 1;
  height: 40px;
  padding: 0 16px;
  color: var(--color-white);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  background-color: var(--color-gray-alternate);
  border: none;
  border-bottom-left-radius: 4px;
  border-radius: 0;
  border-top-left-radius: 4px;
  outline: none;
}

.site-footer-input:focus,
.site-footer-input:active {
  caret-color: var(--color-white);
  color: var(--color-white);
}

.site-footer-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer-button {
  align-items: center;
  display: flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
  color: rgba(0, 0, 0, 0.11);
  font-size: 20px;
  font-weight: var(--font-weight-regular);
  background-color: var(--color-gray-alternate);
  border: none;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  cursor: pointer;

}

.site-footer-button:hover {
  background-color: #D0D0D0;
}

.site-footer-right {
  align-items: flex-end;
  bottom: 0;
  display: flex;
  flex: 0 0 auto;
  margin-bottom: 0;
  position: absolute;
  right: 0;
  text-align: right;
}

.site-footer-graphic {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.site-footer-graphic-svg {
  display: block;
  height: 364px;
  width: auto;
}


.site-footer-number {
  display: block;
  color: var(--color-black);
  font-size: 150px;
  font-weight: var(--font-weight-heading);
}

.site-footer-slash {
  display: block;
  margin-top: -30px;
  color: var(--color-black);
  font-size: 150px;
  font-weight: var(--font-weight-heading);
}

.site-footer-bottom {
  align-items: center;
  bottom: 0;
  display: flex;
  gap: 20px;
  left: 0;
  padding-top: 0;
  position: absolute;
}

.site-footer-copyright {
  color: var(--color-black);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
}

.site-footer-nav {
  align-items: center;
  display: flex;
  gap: 20px;
}

.site-footer-link {
  color: var(--color-gray-subtext);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  text-decoration: underline;
  text-underline-offset: 1px;

}

.site-footer-link:hover {
  color: var(--color-black);
}

/* ============================================
   Menu Overlay
   ============================================ */
.menu-overlay {
  /* Above fixed header (10005) via DOM order; below modals (10006) */
  /* Prevent "tiny scrollbar" from padding/min-height overflow.
     Scrolling (when needed) should happen inside the menu area, not the overlay. */
  display: none;
  height: 100vh;
  left: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10005;
  background-color: var(--color-white);
}

.menu-overlay[style*="display: block"],
.menu-overlay[style*="display:flex"] {
  display: flex !important;
  flex-direction: column;
}

/* slide from bottom and include bottom bar */
.menu-overlay-from-bottom {
  bottom: 0 !important;
  height: 100vh !important;
  top: auto !important;
}

.menu-overlay-menu {
  /* Allow this flex child to be the scroll container when needed */
  -webkit-overflow-scrolling: touch;
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  min-height: 0;
  overflow-y: auto;
  padding: 100px 40px;
}

/* Bottom bar inside menu overlay - positioned at top; only visible when overlay slides from bottom */
.menu-overlay:not(.menu-overlay-from-bottom) .menu-overlay-bottom-bar {
  display: none;
}
.menu-overlay.menu-overlay-from-bottom .menu-overlay-bottom-bar {
  display: flex;
}
.menu-overlay-bottom-bar {
  align-items: center;
  flex-shrink: 0;
  justify-content: space-between;
  padding: 16px 20px 16px 20px;
  width: 100%;
  color: var(--color-black);
  font-size: 0.875rem;
  font-weight: var(--font-weight-regular);
  text-transform: lowercase;
  background: var(--color-white);
}

.menu-overlay-bottom-bar .bottom-bar-right {
  align-items: center;
  display: flex;
  gap: 20px;
}

.menu-overlay-bottom-bar a,
.menu-overlay-bottom-bar button,
.menu-overlay-bottom-bar .bottom-bar-right a,
.menu-overlay-bottom-bar .bottom-bar-right button {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  text-decoration: none;
}

.menu-overlay-bottom-bar button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.menu-overlay-bottom-bar a:hover,
.menu-overlay-bottom-bar button:hover,
.menu-overlay-bottom-bar .bottom-bar-right a:hover,
.menu-overlay-bottom-bar .bottom-bar-right button:hover {
  color: var(--color-primary-blue);
}

.menu-overlay-item {
  align-items: flex-start;
  display: flex;
  color: var(--color-black);
  text-decoration: none;
}

.menu-overlay-item[type="button"],
button.menu-overlay-item {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.menu-overlay-item:hover {
  color: var(--color-primary-blue);
}

.menu-overlay-item-secondary {
  color: var(--color-gray-subtext);
}

.menu-overlay-item-secondary:hover {
  color: var(--color-primary-blue);
}

.menu-overlay-item-secondary .menu-overlay-count {
  color: var(--color-gray-subtext);
}

.menu-overlay-item-secondary:hover .menu-overlay-count {
  color: var(--color-primary-blue);
}

.menu-overlay-text {
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
  line-height: 90%;
  text-transform: uppercase;
}

.menu-overlay-count {
  align-self: flex-start;
  margin-left: 8px;
  min-width: 9ch;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1;
}

.menu-overlay-count-view {
  display: none;
}

.menu-overlay-item:hover .menu-overlay-count-number {
  display: none;
}

.menu-overlay-item:hover .menu-overlay-count-view {
  display: inline;
}

.menu-overlay-item:hover .menu-overlay-count {
  color: var(--color-primary-blue);
}

/* Slide down animation (default - from top) */
.menu-overlay-slide-enter {
  transform: translateY(-100%);
}

.menu-overlay-slide-enter-active {
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-overlay-slide-leave {
  transform: translateY(0);
}

.menu-overlay-slide-leave-active {
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Slide up animation (for index page - from bottom) - higher specificity */
body.index-page .menu-overlay.menu-overlay-from-bottom .menu-overlay-slide-enter,
.menu-overlay.menu-overlay-from-bottom .menu-overlay-slide-enter {
  transform: translateY(100%) !important;
}

body.index-page .menu-overlay.menu-overlay-from-bottom .menu-overlay-slide-enter-active,
.menu-overlay.menu-overlay-from-bottom .menu-overlay-slide-enter-active {
  transform: translateY(0) !important;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.index-page .menu-overlay.menu-overlay-from-bottom .menu-overlay-slide-leave,
.menu-overlay.menu-overlay-from-bottom .menu-overlay-slide-leave {
  transform: translateY(0) !important;
}

body.index-page .menu-overlay.menu-overlay-from-bottom .menu-overlay-slide-leave-active,
.menu-overlay.menu-overlay-from-bottom .menu-overlay-slide-leave-active {
  transform: translateY(100%) !important;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   Artists Overlay
   ============================================ */
.artists-overlay {
  /* Above fixed header (10005) via DOM order; below modals (10006) */
  display: none;
  height: 100vh;
  left: 0;
  overflow-y: auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10005;
  background-color: var(--color-white);
}

.artists-overlay[style*="display: block"],
.artists-overlay[style*="display:flex"] {
  display: flex !important;
  flex-direction: column;
}

.artists-overlay-top-bar {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  padding: 20px 40px;
  width: 100%;
  z-index: 1;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  background: var(--color-white);
}

.artists-overlay-top-bar-left {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
}

.artists-overlay-top-bar nav {
  align-items: center;
  display: flex;
  gap: 30px;
}

.artists-overlay-top-bar nav a {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  text-decoration: none;

}

.artists-overlay-top-bar nav a:hover {
  color: var(--color-primary-blue);
}

.artists-overlay-content {
  /* Keep content clear of the fixed `.site-header` included in the overlay */
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  justify-content: center;
  min-height: 0;
  padding-top: 80px;
  position: relative;
}

.artists-overlay-image {
  box-sizing: border-box;
  height: auto;
  max-width: 400px;
  overflow: hidden;
  position: absolute;
  top: 50%;
  width:400px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.artists-overlay-image-left {
  left: 5%;
}

.artists-overlay-image-right {
  right: 5%;
}

.artists-overlay-image img {
  display: block;
  height: auto;
  max-width: 400px;
  object-fit: cover;
  width: 400px;
}

.artists-overlay-image.show {
  opacity: 1;
}

.artists-list {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  z-index: 1;
}

.artists-list-item {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  position: relative;
  color: var(--color-black);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.artists-list-item:hover {
  color: var(--color-primary-blue);
}

.artists-list-item-secondary {
  color: var(--color-gray-subtext);
}

.artists-list-item-secondary:hover {
  color: var(--color-primary-blue);
}

.artists-list-text {
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
  line-height: 90%;
  text-transform: uppercase;
}

.all-artists {
  color: #e2e2e2;
}

.all-artists:hover {
  color: var(--color-primary-blue);
}

.artists-list-item--no-works {
  color: #e2e2e2;
}

.artists-list-count {
  align-self: flex-start;
  display: inline-block;
  margin-left: 8px;
  min-width: 5.5em;
  position: relative;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1;
  text-align: left;
}

.artists-list-item--no-works .artists-list-count {
  color: #e2e2e2;
}

.artists-list-item:hover .artists-list-count {
  color: var(--color-primary-blue);
}

.artists-list-count-hover {
  left: 0;
  position: absolute;
  top: 0;
  visibility: hidden;
  white-space: nowrap;
}

.artists-list-item:hover .artists-list-count-number {
  visibility: hidden;
}

.artists-list-item:hover .artists-list-count-hover {
  visibility: visible;
}

.artists-list-item-no-link {
  cursor: default;
}

.artists-list-item-no-link .artists-list-count {
  min-width: 8.5em;
}

.artists-list-view {
  align-self: flex-start;
  margin-left: 10px;
  color: var(--color-primary-blue);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1;
}

/* Artists overlay slide animations (from top) */
/* Artists overlay: slide up from bottom, slide down to close */
.artists-overlay-slide-enter {
  transform: translateY(100%);
}

/* .artists-overlay-slide-enter-active {
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} */

/* .artists-overlay-slide-leave {
  transform: translateY(0);
} */

/* .artists-overlay-slide-leave-active {
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} */

/* ============================================
   About Page
   ============================================ */
.about-page {
  margin: 0 auto;
  margin-bottom: 50px;
  padding: 180px 20px 50px 20px;
  width: 100%;
  background-color: var(--color-white);
}

.about-header {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}

/* Generic page title (about, works available, work entry) – works-available styling */
.page-title {
  margin: 0;
  color: var(--color-black);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
  line-height: var(--line-height-heading);
}

.work-entry-info .page-title {
  margin-bottom: 28px;
  text-transform: uppercase;
}

.about-subtitle {
  margin-top: -3px;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
}

/* .about-section {
  margin-bottom: 20px;
} */

.about-section-1 {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: 4fr 1fr;
}

.about-section-2 {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
}

.about-text-left {
  flex-shrink: 0;
}

.about-image-middle {
  margin-left: 40px;
  flex-shrink: 0;
}

.about-image-right {
  margin-left: 20px;
  margin-right: 0;
  flex-shrink: 0;
}

.about-section-3 {
  margin-bottom: 20px;
}

.about-section-3 .about-image-left {
  max-width: calc((100% - 20px) * 4 / 5);
  width: calc((100% - 20px) * 4 / 5);
}

.about-section-4 {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}

.about-section-4 .about-column {
  display: flex;
  flex-direction: column;
}

.about-section-4 .about-image {
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.about-section-4 .about-image-overlay {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  left: 0;
  padding: 40px 20px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
  opacity: 0;
  background-color: var(--color-primary-blue);
  pointer-events: none;
}

.about-section-4 .about-image:hover .about-image-overlay {
  opacity: 1;
}

.about-section-4 .about-image-title {
  color: white;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;

}

.about-section-4 .about-image-subtitle {
  margin-bottom: 0;
  color: white;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.about-section-4 .about-image-date {
  bottom: 10px;
  box-sizing: border-box;
  left: 50%;
  padding: 0 20px;
  position: absolute;
  width: 100%;
  color: var(--color-secondary-blue);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.about-section-4 .about-image img {
  display: block;
  height: auto;
  width: 100%;
}

.about-section-4 .about-image:hover img {
  opacity: 0.3;
}


.about-description-label {
  margin:  0;
  color: var(--color-gray-subtext);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 16px;
}

.about-description-title {
  margin: 0;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  text-transform: none;
}

.about-description-date {
  margin: 0;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
}

.about-image {
  width: 100%;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image-left, 
.about-image-middle,
.about-image-right {
  padding-top: 20px;
}

.about-image-middle,
.about-image-right {
  max-width: 700px;
  width: 100%;
  height: 700px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  flex: 0 1 700px;
  align-self: stretch;
}

.about-image-middle img,
.about-image-right img {
  width: 100%;
  min-height: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-text-right {
  display: flex;
  flex-direction: column;
  padding-right: 90px;
  width: 400px;
}

.about-text-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-right: 40px;
  width: 311px;
}

.about-image-left {
  align-items: stretch;
  display: flex;
  height: 100%;
  overflow: hidden;
}

.about-image-left img {
  display: block;
  flex-shrink: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.about-text {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
}

.about-text p {
  margin: 0 0 20px 0;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text-left h2 + p {
  color: var(--color-gray-subtext);
}

.about-text h2 {
  margin: 0 0 20px 0;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  text-transform: lowercase;
}

.about-contact {
  margin-top: auto;
  padding-top: 30px;
}

.about-contact p {
  margin: 4px 0 0px 0;
  font-size: var(--font-size-body);
  line-height: 16px;
}

.about-contact p:first-child {
  color: var(--color-gray-subtext);
}

.about-contact p:last-child {
  margin-bottom: -5px;
}

.about-contact strong {
  font-weight: var(--font-weight-heading);
}

.about-contact a,
.about-contact a:visited,
.about-contact a:hover,
.about-contact a:active,
.about-contact a:focus {
  color: var(--color-black);
}

/* Responsive adjustments for about page */
@media (max-width: var(--bp-tablet-max)) {
  .about-section-1,
  .about-section-2 {
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .about-image-middle,
  .about-image-right {
    height: auto;
    max-width: 100%;
    width: 100%;
  }

  .artist-entry-page .about-section-2 .artist-entry-about-image-middle,
  .artist-entry-page .about-section-2 .artist-entry-about-image-right {
    height: auto;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }
  
}


/* ============================================
   Contact Form Modal
   ============================================ */


.slide-enter {
  transform: translateX(100%) !important;
}

.slide-enter-active {
  transform: translateX(0) !important;
  transition: transform 1s ease;
}

.slide-leave {
  transform: translateX(0) !important;
}

.slide-leave-active {
  transform: translateX(100%) !important;
  transition: transform 1s ease;
}

.contact-form-modal {
    display: none;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10006; 
    pointer-events: auto;
}


.contact-form-modal::before {
    display: none;
}

.contact-form-modal.is-open::before {
    opacity: 1;
    pointer-events: auto;
}

/* right side panel */
.contact-form-container {
    /* Initial state - off screen */
    /* Base transition for smooth animation */
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    max-width: 482px;
    min-width: 482px;
    overflow: hidden;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 0;
    width: 482px;
    color: var(--color-white);
    background-color: var(--color-primary-blue);
    transform: translateX(100%);
    transition: transform 1s ease;
}

/* Enquire modal - same layout as contact, separate for future functionality */
.enquire-form-modal {
    display: none;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10006;
    pointer-events: auto;
}

.enquire-form-modal::before {
    display: none;
}

.enquire-form-modal.is-open::before {
    opacity: 1;
    pointer-events: auto;
}

.enquire-form-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    max-width: 482px;
    min-width: 482px;
    overflow: hidden;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 0;
    width: 482px;
    color: var(--color-white);
    background-color: var(--color-primary-blue);
    transform: translateX(100%);
    transition: transform 1s ease;
}

/* Contact Form Header */
.contact-form-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

/* Shared modal heading (contact, enquire, login, projects) */
.modal-title {
  margin: 0;
  color: var(--color-white);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
  line-height: var(--line-height-heading);
  text-transform: uppercase;
}

.contact-form-close {
    padding: 0;
    color: var(--color-white);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
  
}

.contact-form-close:hover {
    color: var(--color-secondary-blue);
}

.contact-form-close:hover .contact-form-bracket {
    opacity: 0;
}

/* Catalogue modal: keep close button inline like enquire ( ) close ( ) */
#catalogue-modal .contact-form-close,
.catalogue-close-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

#catalogue-modal .contact-form-close .contact-form-bracket,
.catalogue-close-btn .contact-form-bracket {
    display: inline;
}

.contact-form-content {
    flex: 1;
    position: relative;
    width: 100%;
    z-index: 2;
}

.contact-form-instruction {
    margin-bottom: 40px;
    color: var(--color-white);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    text-align: right;
}

.contact-form-link {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 2px;

}

.contact-form-link:hover {
    color: var(--color-white);
    opacity: 0.8;
}

/* Contact Form */
.contact-form {
    margin-bottom: 40px;
}

.contact-form-row {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
}

.contact-form-field-wrapper {
    position: relative;
}

.contact-form-field-full {
    grid-column: 1 / -1;
}

.contact-form-input {
    padding: 8px 0;
    width: 100%;
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
    opacity: 1;
}

.contact-form-input:hover {
    border-bottom-color: rgba(255, 255, 255, 0.95);
}

.contact-form-input:hover::placeholder {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.contact-form-input:focus {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.95);
}

.contact-form-input:focus::placeholder {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.contact-form-textarea {
    min-height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    resize: vertical;
}

.contact-form-submit-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.contact-form-submit {
    padding: 0;
    color: var(--color-white);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
  
}

.contact-form-submit:hover {
    color: var(--color-secondary-blue);
}

.contact-form-submit:hover .contact-form-bracket {
    opacity: 0;
}

.contact-form-message {
    margin-top: 12px;
    font-size: var(--font-size-body);
    min-height: 1.2em;
}
.contact-form-message[data-kind="error"] {
    color: #f88;
}
.contact-form-message[data-kind="success"] {
    color: var(--color-secondary-blue);
}

/* Contact Form Footer */
.contact-form-footer {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 40px;
    position: relative;
    width: 100%;
    z-index: 2;
}

.contact-form-footer-left,
.contact-form-footer-right {
    flex: 1;
}

.contact-form-footer-right {
    display: flex;
    justify-content: flex-end;
}

.contact-form-social {
    width: fit-content;
    text-align: left;
}

.contact-form-footer-heading {
    margin: 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
}

.contact-form-footer-text {
    margin: 0;
    color: var(--color-white);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: 20px;
}

.contact-form-footer-text .contact-form-link {
    color: var(--color-white);
}

.contact-form-footer-text .contact-form-link:hover {
    color: var(--color-white);
    opacity: 0.8;
}

.contact-form-footer-text:last-child {
    margin-bottom: 0;
}


.contact-form-watermark {
    align-items: flex-end;
    bottom: -20px;
    display: flex;
    flex-direction: column;
    position: absolute;
    right: -20px;
    z-index: 1;
    line-height: 0.9;
    pointer-events: none;
}

.contact-form-watermark-logo {
    display: block;
    height: 522px;
    width: auto;
}

.slide-enter {
  transform: translateX(100%) !important;
}

.slide-enter-active {
  transform: translateX(0) !important;
  transition: transform 1s ease;
}

.slide-leave {
  transform: translateX(0) !important;
}

.slide-leave-active {
  transform: translateX(100%) !important;
  transition: transform 1s ease;
}

/* ============================================
   Login Modal
   ============================================ */
.login-form-modal {
    display: none;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10006;
    pointer-events: auto;
}

/* ogin right side panel */
.login-form-container {
    /* initial state - off screen */
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    overflow-y: auto;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 0;
    width: 482px;
    color: var(--color-white);
    background-color: var(--color-black);
    transform: translateX(100%);
    transition: transform 1s ease;
}

.login-form-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.login-form-close {
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
}

.login-form-close:hover {
    color: rgba(255, 255, 255, 0.6);
}

.login-form-content {
    flex: 1;
    position: relative;
    width: 100%;
    z-index: 2;
}

.login-form-instruction {
    margin-bottom: 60px;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    text-align: right;
}

.login-form-instruction strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-regular);
}

.login-form {
    margin: -20px auto 80px auto;
    max-width: 100%;
    width: 482px;
}

.login-form-row {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
    margin-bottom: 30px;
}

.login-form-row-two {
    gap: 40px;
    grid-template-columns: 1fr 1fr;
}

.login-form-field-wrapper {
    position: relative;
}

.login-form-field-full {
    grid-column: 1 / -1;
}

.login-form-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
}

.login-form-input {
    padding: 8px 0;
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    outline: none;
    transition: border-color 0.2s ease;
}

.login-form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.login-form-input:hover::placeholder,
.login-form-input:focus::placeholder {
    color: var(--color-white);
    opacity: 1;
}

.login-form-input:hover,
.login-form-input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

.login-form-input:focus {
    color: rgba(255, 255, 255, 0.95);
}

.login-form-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.login-form-forgot {
    color: #444444;
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    text-decoration: none;
  
}

.login-form-forgot--below {
    display: inline-block;
    margin-top: 20px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-form-forgot:hover {
    color: rgba(255, 255, 255, 0.6);
}

.login-form-register-text {
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
}

.login-form-register-text--top {
    margin: clamp(40px, calc(10vh - 25px), 105px) 0 clamp(55px, 9vh, 120px) 0;
    text-align: left;
    font-size: 14px;
}

.login-form-register-link {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

.login-form-register-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.login-form-message {
    margin-top: 16px;
    min-height: 1.4em;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
    text-align: right;
    color: rgba(255, 255, 255, 0.5);
}

.login-form-message:empty {
    min-height: 0;
    margin-top: 0;
}

.login-form-message[data-kind="success"] {
    color: rgba(255, 255, 255, 0.85);
}

.login-form-message[data-kind="error"] {
    color: rgba(255, 255, 255, 0.9);
}

.login-form-submit-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.login-form-submit-wrapper--inline {
    margin-top: 20px;
}

.login-form-submit {
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
  
}

.login-form-submit:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Login Form Footer */
.login-form-footer {
    margin-top: auto;
    padding-top: 60px;
    position: relative;
    width: 100%;
    z-index: 2;
    text-align: right;
}

.login-form-contact-link {
    color: rgba(255, 255, 255, 0.25);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    text-decoration: underline;
    text-underline-offset: 3px;
  
}

.login-form-contact-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: var(--bp-tablet-max)) {
    .contact-form-container {
        min-width: 400px;
        width: 50%;
    }

    .enquire-form-container {
        min-width: 400px;
        width: 50%;
    }
    
    .login-form-container {
        min-width: 400px;
        width: 50%;
    }

    .projects-form-container {
        min-width: 400px;
        width: 50%;
    }
}

/* ============================================
   Projects Modal
   ============================================ */
.projects-form-modal {
    display: none;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10006;
    pointer-events: auto;
    font-family: 'Neue Montreal', sans-serif;
}

.projects-form-modal,
.projects-form-modal * {
    font-family: 'Neue Montreal', sans-serif;
}

.projects-form-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    overflow-y: auto;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 0;
    width: 482px;
    color: var(--color-white);
    background-color: var(--color-black);
    transform: translateX(100%);
    transition: transform 1s ease;
}

.projects-form-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.projects-form-close {
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    font-family: 'Neue Montreal', sans-serif;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    box-shadow: none;
}

.projects-form-close:hover,
.projects-form-close:focus,
.projects-form-close:focus-visible {
    color: rgba(255, 255, 255, 0.6);
    outline: none;
    box-shadow: none;
}

.projects-form-content {
    flex: 1;
    position: relative;
    width: 100%;
    z-index: 2;
}

.projects-form-instruction-row {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 0;
}

.projects-form-create-area {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    min-height: 0;
    gap: 0;
}

.projects-form-instruction-row .projects-form-create-row {
    flex-basis: auto;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.projects-form-create-row.is-visible {
    opacity: 1;
}

.projects-form-instruction-line {
    flex: 1;
    min-width: 0;
}

.projects-form-create-or {
    color: var(--color-white);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    font-family: 'Neue Montreal', sans-serif;
}

.projects-form-create-area .projects-form-add-new-link.projects-form-add-new-link-inline {
    color: var(--color-white);
}

.projects-form-create-area .projects-form-add-new-link.projects-form-add-new-link-inline:hover {
    color: rgba(255, 255, 255, 0.85);
}

.projects-form-instruction {
    margin: 0;
    color: var(--color-white);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
}

.projects-form-create-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.projects-form-create-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    white-space: nowrap;
}

.projects-form-add-new-link {
    color: #444;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    font-family: 'Neue Montreal', sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.projects-form-add-new-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.projects-form-create-input {
    padding: 6px 0;
    min-width: 140px;
    max-width: 200px;
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    font-family: 'Neue Montreal', sans-serif;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    outline: none;
}

.projects-form-create-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    opacity: 1;
}

.projects-form-create-input:hover::placeholder,
.projects-form-create-input:focus::placeholder {
    color: var(--color-white);
    opacity: 1;
}

.projects-form-create-input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

.projects-form-create-btn {
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    font-family: 'Neue Montreal', sans-serif;
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    box-shadow: none;
}

.projects-form-create-btn:hover,
.projects-form-create-btn:focus,
.projects-form-create-btn:focus-visible {
    color: var(--color-white);
    outline: none;
    box-shadow: none;
}

.projects-form-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.projects-form-item {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    width: 100%;
    color: var(--color-white);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    text-align: left;
    background: none;
    border: none;
    _border-top: 1px solid #444444;
    cursor: pointer;
    transition: color 0.2s ease;
    outline: none;
}

.projects-form-item:last-child {
    _border-bottom: 1px solid #444444;
}

.projects-form-item:hover {
    color: rgba(255, 255, 255, 0.75);
}

.projects-form-item-name {
    flex: 1;
    min-width: 0;
    color: var(--color-white);
}

.projects-form-item-chevron {
    flex-shrink: 0;
    margin-left: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
}

.projects-accordion-section {
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

.projects-accordion-section + .projects-accordion-section {
    margin-top: 20px;
}

.projects-accordion-section:last-child .projects-accordion-body {
    _border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.projects-accordion-header {
    width: 100%;
    outline: none;
}

.projects-accordion-title-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 8px;
}

.projects-accordion-header .projects-form-item-name {
    flex: 0 1 auto;
    min-width: 0;
    color: var(--color-white);
}

.projects-accordion-header:hover .projects-form-item-name {
    color: var(--color-white);
}

.projects-accordion-chevron {
    flex-shrink: 0;
    margin-left: 0;
}

.projects-accordion-header .projects-accordion-chevron {
    margin-left: 0;
}

.projects-accordion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    flex-shrink: 0;
    margin-left: 12px;
}

.projects-accordion-link {
    color: rgba(255, 255, 255, 0.28);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.projects-accordion-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

.projects-accordion-select-to-add {
    display: none;
    color: var(--color-white);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    font-family: 'Neue Montreal', sans-serif;
    white-space: nowrap;
}

.projects-form-modal.has-instruction .projects-accordion-header:not(.is-expanded):hover .projects-accordion-select-to-add {
    display: inline;
}

.projects-accordion-header:not(.is-expanded) .projects-accordion-link-request,
.projects-accordion-header:not(.is-expanded) .projects-delete-project {
    display: none;
}

.projects-form-modal:not(.has-instruction) .projects-accordion-header:not(.is-expanded) .projects-accordion-link-request {
    display: inline;
}

.projects-accordion-link-request {
    color: rgba(255, 255, 255, 0.28);
}

.projects-request-info {
    font-size: 14px;
}

.projects-accordion-link-request:hover {
    color: rgba(255, 255, 255, 0.75);
}

.projects-accordion-chevron {
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1);
    color: #FFFFFF;
    font-size: 10px;
}

.projects-accordion-chevron-icon {
    display: block;
    width: 10px;
    height: 6px;
}

.projects-accordion-header:hover .projects-accordion-chevron {
    color: rgba(255, 255, 255, 0.75);
}

.projects-accordion-header.is-expanded .projects-accordion-chevron {
    transform: rotate(180deg);
}

.projects-form-modal.has-instruction .projects-form-item-name,
.projects-form-modal.has-instruction .projects-accordion-header .projects-form-item-name {
    color: #444;
}

.projects-form-modal.has-instruction .projects-accordion-header:hover .projects-form-item-name {
    color: var(--color-white);
}

.projects-form-modal.has-instruction .projects-accordion-chevron {
    color: #444;
}

.projects-form-modal.has-instruction .projects-accordion-header:hover .projects-accordion-chevron {
    color: var(--color-white);
}

.projects-form-modal.has-instruction .projects-accordion-section:hover {
    border-top-color: var(--color-white);
    border-bottom-color: var(--color-white);
}

.projects-accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.55s cubic-bezier(0.32, 0.72, 0, 1), padding 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

.projects-accordion-body.is-open {
    max-height: 80vh;
    padding: 0 0 24px 0;
}

.projects-form-message {
    margin-bottom: 16px;
    font-size: var(--font-size-body);
    color: rgba(255, 255, 255, 0.6);
}

.projects-form-message[data-kind="error"] {
    color: rgba(255, 255, 255, 0.9);
}

.projects-form-empty {
    margin: 0;
    padding: 20px 0 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-body);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.projects-add-item-wrap {
    margin-top: 12px;
    margin-bottom: 8px;
}

.projects-items-empty {
    padding: 0;
    color: #444;
    font-size: var(--font-size-body);
}

.projects-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 0px;
}

.projects-item {
    position: relative;
}

.projects-item-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.projects-item-image-link:hover {
    color: inherit;
}

.projects-item-image-outer {
    position: relative;
}

.projects-item-image-outer .works-gallery-minus-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--color-white);
    font-size: 20px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.projects-item-image-outer:hover .works-gallery-minus-icon {
    opacity: 1;
    pointer-events: auto;
}

.projects-item-image-outer .works-gallery-minus-icon:hover {
    opacity: 0.9;
}

.projects-item-title-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    text-align: center;
}

.projects-item-image-outer:hover .projects-item-title-overlay {
    opacity: 1;
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
}

.projects-item-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.projects-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projects-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
}

.projects-item-just-added {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-black);
    font-size: 10px;
    font-weight: var(--font-weight-regular);
}

.projects-item-meta {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.projects-item-title {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.projects-item-link {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-underline-offset: 1px;
}

.projects-item-link:hover {
    color: rgba(255, 255, 255, 0.95);
}


/* Projects Form Footer */
.projects-form-footer {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 60px;
    position: relative;
    width: 100%;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.projects-form-footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.projects-form-footer-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.28);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
}

.projects-form-footer-link {
    color: rgba(255, 255, 255, 0.28);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.projects-form-footer-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

.projects-form-footer-right {
    flex-shrink: 0;
}

.projects-form-contact-link {
    color: rgba(255, 255, 255, 0.28);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.projects-form-contact-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   Artist Page
   ============================================ */
.artist-entry-page {
  margin: 0 auto;
 padding: 180px 20px 100px 20px;
  width: 100%;
  background-color: var(--color-white);
}

.artist-entry-header {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  margin-bottom: 60px;
}

/* Shared artist name heading (artist entry page, works index) */
.artist-name {
  margin: 0;
  color: var(--color-black);
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-heading);
  line-height: var(--line-height-heading);
  text-transform: uppercase;
}

.artist-name a {
  color: inherit;
  text-decoration: none;
}

.artist-name a:hover {
  color: var(--color-primary-blue);
}

.artist-entry-content {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 80px;
}

.artist-entry-image-column {
  width: 100%;
}

.artist-entry-main-image {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.artist-entry-bio-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.artist-entry-bio {
  _padding-top: 20px;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 22px;
}

.artist-entry-bio p {
  margin: 0 0 1.5em 0;
}

.artist-entry-bio p:last-child {
  margin-bottom: 0;
}

.artist-entry-available-works-wrap {
  margin-top: auto;
  padding-top: 30px;
}

.artist-entry-available-works {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 112px;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  background: var(--color-gray-light);
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.artist-entry-available-works:hover {
  color: var(--color-black);
  background-color: var(--color-gray-alternate);
}

.artist-entry-works-preview {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 80px;
}

.artist-entry-works-preview-item {
  aspect-ratio: 1;
  overflow: hidden;
  width: 100%;
}

.artist-entry-works-preview-item img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.artist-entry-works-preview-item:hover img {
  transform: scale(1.05);
}

.artist-entry-works-preview-item a {
  display: block;
  height: 100%;
  width: 100%;
}

.artist-entry-works-gallery {
  margin: 20px 0 20px 0;
}

/* Artist entry page: isolated about-image styles (do not affect about / work pages) */
.artist-entry-about-image {
  width: 100%;
}

.artist-entry-about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.artist-entry-about-image-middle,
.artist-entry-about-image-right {
  max-width: 700px;
  width: 100%;
  height: 700px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding-left: 20px;
  padding-top: 20px;
  flex: 0 1 700px;
  align-self: stretch;
}

.artist-entry-about-image-middle img,
.artist-entry-about-image-right img {
  width: 100%;
  min-height: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* .artist-entry-page .artist-entry-about-image {
  width: 100%;
}

.artist-entry-page .artist-entry-about-image img {
  width: 100%;
  height: auto;
  display: block;
 }

.artist-entry-page .artist-entry-about-image-left {
  align-items: stretch;
  display: flex;
  height: 100%;
  overflow: hidden;
}

.artist-entry-page .artist-entry-about-image-left img {
  display: block;
  flex-shrink: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.artist-entry-page .about-section-2 .artist-entry-about-image-middle,
.artist-entry-page .about-section-2 .artist-entry-about-image-right {
  align-items: stretch;
  align-self: stretch;
  display: flex;
  height: 700px;
  max-width: 700px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.artist-entry-page .about-section-2 .artist-entry-about-image-middle {
  flex-shrink: 0;
  margin-left: 40px;
}

.artist-entry-page .about-section-2 .artist-entry-about-image-right {
  flex-shrink: 0;
  margin-left: 20px;
  margin-right: 0;
}

.artist-entry-page .about-section-2 .artist-entry-about-image-middle img,
.artist-entry-page .about-section-2 .artist-entry-about-image-right img {
  display: block;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
} */

.artist-entry-page .about-section-2 .works-gallery-item.artist-entry-featured-work {
  aspect-ratio: auto;
  display: block;
  height: 100%;
  max-height: none;
  max-width: none;
  width: 100%;
}

.artist-entry-page .about-section-2 .works-gallery-item.artist-entry-featured-work img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Top 2 large work images: same hover overlay as gallery grid (legacy global about-image on other pages) */
.artist-entry-page .about-section-2 .about-image-middle,
.artist-entry-page .about-section-2 .about-image-right {
  overflow: hidden;
  position: relative;
}

.artist-entry-page .about-section-2 .works-gallery-item.artist-entry-featured-work {
  aspect-ratio: auto;
  display: block;
  height: 100%;
  max-height: none;
  max-width: none;
  width: 100%;
}

.artist-entry-page .about-section-2 .works-gallery-item.artist-entry-featured-work img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Same treatment on work entry page (artist related works block) */
.work-entry-page .about-section-2 .about-image-middle,
.work-entry-page .about-section-2 .about-image-right {
  overflow: hidden;
  position: relative;
}

.work-entry-page .about-section-2 .works-gallery-item.artist-entry-featured-work {
  aspect-ratio: auto;
  display: block;
  height: 100%;
  max-height: none;
  max-width: none;
  width: 100%;
}

.work-entry-page .about-section-2 .works-gallery-item.artist-entry-featured-work img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: var(--bp-tablet-max)) {
  .artist-entry-content {
    gap: 40px;
    grid-template-columns: 1fr;
  }
  
  .artist-entry-works-preview {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   Works Page
   ============================================ */
.works-page {
  margin: 0 auto;
  margin-bottom: 100px;
  padding: 180px 20px 100px 20px;
  width: 100%;
  background-color: var(--color-white);
}

.works-gallery {
  margin-bottom: 180px;
}

.artist-entry-works-gallery .works-gallery {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: var(--bp-desktop)) {
  /* Artist entry page: inset works gallery from left */
  .artist-entry-page .artist-entry-works-gallery .works-gallery {
    box-sizing: border-box;
    padding-left: 10%;
  }
}

@media (min-width: var(--bp-tablet-min)) {
  /* Artist entry page: prevent grid from overflowing page width */
  .artist-entry-page .artist-entry-works-gallery .works-gallery-grid {
    box-sizing: border-box;
    justify-content: end;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
  }
}

@media (min-width: var(--bp-desktop)) {
  /* Artist entry page (desktop): keep 4 items per row without overflow */
  .artist-entry-page .artist-entry-works-gallery .works-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
  }
}

.artist-entry-works-gallery .works-gallery-grid {
  margin-left: auto;
  padding-right: 0;
  width: max-content;
}

.works-available-page .works-gallery-grid {
  /* Available Works page should not inherit "max-content" overflow behavior */
  box-sizing: border-box;
  margin-left: auto;
  max-width: 100%;
  padding-left: 200px;
  padding-right: 0;
  padding-bottom: 20px;
  row-gap: 20px;
  width: max-content;
}

.works-gallery:last-child {
  margin-bottom: 0;
}

/* Available Works: keep grid within page and aligned from left */
.works-available-page .artist-entry-works-gallery .works-gallery {
  align-items: flex-end;
}

@media (max-width: var(--bp-tablet-max)) {
  .works-available-page .works-gallery-grid {
    padding-left: 100px;
  }
}


.works-gallery:not(.works-gallery--expanded):not(.works-gallery--collapsing) .works-gallery-item--overflow {
  display: none;
}

.works-gallery-item--overflow {
  order: -1;
}

.works-gallery-item:not(.works-gallery-item--overflow) {
  order: 0;
}

.works-gallery--expanded:not(.works-gallery--collapsing) .works-gallery-item--overflow {
  animation: works-expand-in 0.9s ease forwards;
}

.works-gallery--expanded:not(.works-gallery--collapsing) .works-gallery-item:not(.works-gallery-item--overflow) {
  animation: works-slide-down 0.9s ease forwards;
}

.works-gallery--expanded.works-gallery--collapsing .works-gallery-item--overflow {
  animation: works-collapse-out 0.9s ease 0.12s forwards;
}

.works-gallery--expanded.works-gallery--collapsing .works-gallery-item:not(.works-gallery-item--overflow) {
  animation: works-slide-up 0.9s ease 0s forwards;
}

@keyframes works-expand-in {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes works-slide-down {
  from {
    transform: translateY(-24px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes works-collapse-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-24px);
  }
}

@keyframes works-slide-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-24px);
  }
}

.works-view-all-toggle {
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.works-view-all-toggle:hover {
  color: var(--color-primary-blue);
}

.works-view-all-brackets {
  transition: opacity 0.2s ease;
}

.works-view-all-toggle:hover .works-view-all-brackets {
  opacity: 0;
}

.works-gallery-header {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0px;
}

.works-view-all-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

/* Works index: gallery has fixed content width so grid stays left, View All aligns with grid, extra space to the right */
.works-page:not(.works-available-page) .works-gallery {
  box-sizing: border-box;
  display: inline-block;
  max-width: 100%;
  width: fit-content;
}

/* Works index: per-artist right column (image + blurb) */
.works-gallery-body--with-artist {
  display: grid;
  gap: 20px;
  align-items: start;
  grid-template-columns: auto 400px;
}

.works-gallery-body--with-artist .works-gallery-grid {
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: repeat(3, minmax(0, 400px));
}

.works-gallery-body--with-artist .works-gallery-artist-sidebar {
  grid-column: 2;
  grid-row: 1;
  max-width: 400px;
  width: 100%;
}

/* Request Catalogue: on available page only, 20px above grid */
.works-available-page .works-gallery-catalogue-row {
  margin-bottom: 20px;
}

.works-gallery-catalogue-row {
  display: flex;
  justify-content: flex-end;
}

.btn-request-catalogue {
  padding: 12px 24px;
  color: var(--color-white);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  background-color: var(--color-primary-blue);
  border: none;
  cursor: pointer;
}

.btn-request-catalogue:hover {
  color: var(--color-white);
  background-color: #002088;
}

.works-gallery-artist-image-link {
  color: inherit;
  display: block;
  text-decoration: none;
  aspect-ratio: 1;
  max-height: 400px;
  max-width: 400px;
  overflow: hidden;
}

.works-gallery-artist-image-link img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.works-gallery-artist-blurb {
  margin-top: 20px;
}

@media (max-width: var(--bp-tablet-max)) {
  .works-gallery-body--with-artist {
    grid-template-columns: 1fr;
  }

  .works-gallery-body--with-artist .works-gallery-grid,
  .works-gallery-body--with-artist .works-gallery-artist-sidebar {
    grid-column: auto;
    grid-row: auto;
    max-width: 100%;
  }

  .works-gallery-body--with-artist .works-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 400px));
  }
}

/* Fallback for environments that don't support CSS vars in @media */
@media (max-width: 1500px), (max-device-width: 1500px) {
  .works-gallery-body--with-artist {
    grid-template-columns: 1fr;
  }

  .works-gallery-body--with-artist .works-gallery-artist-sidebar {
    display: none !important;
  }

  .works-gallery-body--with-artist .works-gallery-grid,
  .works-gallery-body--with-artist .works-gallery-artist-sidebar {
    grid-column: auto;
    grid-row: auto;
    max-width: 100%;
  }

  .works-gallery-body--with-artist .works-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 400px));
  }
}

@media (min-width: var(--bp-tablet-min)) {
  .works-page:not(.works-available-page) .works-gallery-grid {
    justify-content: start;
  }
}

.works-artist-heading {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.works-artist-heading .artist-name {
  padding-bottom: 20px;
}

.works-artist-count {
  margin-top: -3px;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  line-height: 1;
}

.works-view-all {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  text-decoration: none;

}

.works-view-all:hover {
  color: var(--color-primary-blue);
}

.works-gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 400px));
}

.works-gallery-item {
  aspect-ratio: 1;
  display: block;
  max-height: 400px;
  max-width: 400px;
  overflow: hidden;
  position: relative;
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.works-gallery-item img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
  transform: scale(1);
}

.works-gallery-item-overlay {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  left: 0;
  padding: 20px;
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.works-gallery-item:hover .works-gallery-item-overlay {
  opacity: 1;
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  pointer-events: auto;
}

.works-gallery-product-name,
.works-gallery-artist-name {
  position: absolute;
  z-index: 2;
  color: var(--color-white-40);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  text-transform: uppercase;
}

.works-gallery-product-name {
  left: 20px;
  top: 50%;
  color: var(--color-white);
  transform: translateY(-50%);
}

.works-gallery-artist-name {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.works-gallery-item-count {
  bottom: 20px;
  left: 20px;
  position: absolute;
  z-index: 2;
  color: var(--color-white-40);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
}

.works-gallery-item-enquire {
  bottom: 20px;
  left: 20px;
  position: absolute;
  z-index: 2;
  color: var(--color-white-40);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  cursor: pointer;
}

.works-gallery-plus-icon {
  align-items: center;
  bottom: 20px;
  display: flex;
  height: 16px;
  justify-content: center;
  position: absolute;
  right: 20px;
  width: 16px;
  z-index: 2;
  color: #8c8c8c;
  font-size: 11px;
  font-weight: 300;
  background-color: var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
}

@media (max-width: var(--bp-tablet-max)) {
  .works-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 400px));
  }
}


/* Available Works (single artist) */
.works-available-header {
  margin-bottom: 60px;
}

.works-available-artist {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  line-height: 1;
  vertical-align: top;
}

.works-available-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 400px));
  padding-right: 200px;
}

.works-available-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.works-available-item-image {
  aspect-ratio: 1;
  margin-bottom: 16px;
  max-height: 400px;
  max-width: 400px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.works-available-item:hover .works-gallery-item-overlay {
  opacity: 1;
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  pointer-events: auto;
}

.works-available-item-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.works-available-item-details {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  letter-spacing: 0;
}

.works-available-item-details-left {
  min-width: 0;
  text-align: left;
}

.works-available-item-details-right {
  flex-shrink: 0;
  text-align: right;
}

.works-available-item-detail-line {
  display: block;
  line-height: 1.2;
}

.works-available-item-detail-line + .works-available-item-detail-line {
  margin-top: 4px;
}

.works-available-item-detail-line--secondary {
  color: var(--color-gray-subtext);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
}

.works-available-item-detail-line--primary {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
}

.works-available-item-details-right .works-available-item-detail-line--primary {
  white-space: nowrap;
}

.works-available-item-price {
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.works-available-item:hover .works-available-item-price {
  opacity: 1;
}

@media (max-width: var(--bp-tablet-max)) {
  .works-available-grid {
    grid-template-columns: repeat(2, minmax(0, 400px));
  }
}



/* ============================================
   Exhibitions Page Styles
   ============================================ */
.exhibitions-page {
    margin: 0 auto;
    padding: 180px 20px;
    width: 100%;
    background-color: var(--color-white);
}

.exhibitions-item + .exhibitions-item {
    margin-top: 80px;
}

.exhibitions-header {
    margin-bottom: 20px;
}

.exhibitions-title {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-heading);
    letter-spacing: var(--letter-spacing-heading);
    line-height: 1.1;
    text-transform: uppercase;
}

.exhibitions-title-date {
    /* color: var(--color-black);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    letter-spacing: 0;
    line-height: 1;
    vertical-align: top; */
    margin-top: 3px;
    color: var(--color-black);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    letter-spacing: 0;
    line-height: 1;
}

.exhibitions-title-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.exhibitions-title-link:hover {
    color: var(--color-primary-blue);
}

.exhibitions-image-link {
    inset: 0;
    position: absolute;
    z-index: 1;
}

.exhibitions-view-link {
    color: #5A6FC7;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    text-decoration: none;
    text-transform: lowercase;
}

.exhibitions-view-link:hover {
    color: #2C42B0;
}

.exhibition-entry-page .exhibitions-content {
    align-items: stretch;
    display: grid;
    flex: 1;
    gap: 20px;
    grid-template-columns: 2fr 1fr;
    min-height: 0;
    width: 100%;
}

.exhibitions-content {
    align-items: stretch;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 462px;
    width: 100%;
}

.exhibitions-left {
    min-height: 560px;
    overflow: hidden;
    position: relative;
    background-color: var(--color-black);
}

/* Exhibition entry: left column = all images, vertically scrollable */
.exhibition-entry-page .exhibitions-left { /* Firefox */ /* IE and Edge */
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: static;
    scrollbar-width: none;
    background-color: transparent;
}

.exhibition-entry-page .exhibitions-left::-webkit-scrollbar { /* Chrome, Safari, Opera */
    display: none;
}

/* Exhibition entry: right column = text + paging dots at bottom */
.exhibition-entry-page .exhibitions-right { /* so description can take full width */ /* allow column to shrink in grid */
    align-items: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    padding: 0;
    background-color: var(--color-white);
}

.exhibition-entry-page .exhibitions-description {
    flex: 1;
    margin-top: 0;
    max-width: 420px;
    min-height: 0;
    min-width: 0;
    position: relative;
    width: 100%;
}

.exhibition-entry-page .exhibitions-description--mobile {
    display: none;
}

.exhibition-entry-page .exhibitions-description--mobile p {
    margin: 0 0 20px 0;
    color: var(--color-black);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
}

.exhibition-entry-page .exhibitions-description--mobile p:last-child {
    margin-bottom: 0;
}

.exhibition-entry-page .exhibitions-description .exhibition-entry-description-page {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.exhibition-entry-page .exhibitions-description .exhibition-entry-description-page.active {
    opacity: 1;
    pointer-events: auto;
}

.exhibition-entry-page .exhibitions-description .exhibition-entry-description-page p {
    margin: 0 0 20px 0;
    color: var(--color-black);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
}

.exhibition-entry-page .exhibitions-description .exhibition-entry-description-page p:last-child {
    margin-bottom: 0;
}

/* Mobile-only swipe gallery: enabled in mobile.css */
.exhibition-entry-mobile-gallery {
    display: none;
}

.exhibition-entry-description-pagination {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    margin-top: auto;
    padding-bottom: 20px;
    padding-top: 24px;
}

.exhibition-entry-dot {
    height: 8px;
    padding: 0;
    width: 8px;
    background-color: var(--color-gray-subtext);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.exhibition-entry-dot.active {
    background-color: var(--color-black);
}

.exhibitions-image {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.exhibitions-right {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-right: 120px;
}

.exhibitions-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exhibitions-filters-label {
    color: var(--color-gray-subtext);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.exhibitions-filters-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exhibitions-filter-item {
    align-items: center;
    display: flex;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.exhibitions-filter-item:hover {
    opacity: 0.7;
}

.exhibitions-filter-radio {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
    border: 0;
    clip: rect(0, 0, 0, 0);
}

.exhibitions-filter-bullet {
    color: var(--color-black);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
}

.exhibitions-filter-bullet::before {
    white-space: pre;
    content: '(   )';
}

.exhibitions-filter-radio:checked ~ .exhibitions-filter-bullet::before {
    content: '( • )';
}

.exhibitions-filter-text {
    color: var(--color-black);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.exhibitions-description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    _margin-top: auto;
    max-width: 420px;
}

.exhibitions-description p {
    margin: 0;
    color: var(--color-black);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    text-align: justify;
}

@media (max-width: var(--bp-tablet-max)) {
    .exhibitions-content {
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .exhibitions-left {
        min-height: 400px;
    }

    .exhibitions-right {
        min-width: 0;
        padding-right: 0;
        width: auto;
    }
}


/* ============================================
   Exhibition Entry Page Styles
   ============================================ */
body:has(.exhibition-entry-page) {
    height: 100vh;
    overflow: hidden;
}

.exhibition-entry-page {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100vh;
    left: 0;
    margin-bottom: 0;
    overflow: hidden;
   padding: 180px 20px 20px 20px;
    position: fixed;
    top: 0;
    width: 100vw;
    will-change: transform;
    background-color: var(--color-white);
}

.exhibition-entry-header {
    flex-shrink: 0;
    padding: 40px 40px 30px 40px;
}

.exhibition-entry-dates {
    font-size: 40px;
    font-weight: var(--font-weight-regular);
    letter-spacing: -2px;
}

.exhibition-entry-content {
    display: grid;
    flex: 1;
    gap: 0;
    grid-template-columns: 60% 40%;
    min-height: 0;
    padding: 0 40px;
}

.exhibition-entry-artists {
    align-items: center;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 40px;
    background-color: var(--color-black);
}

.exhibition-entry-artists-text {
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.1em;
    line-height: 1.8;
    text-transform: uppercase;
    white-space: nowrap;
    word-spacing: 0.3em;
}

.exhibition-entry-description-wrapper {
    overflow: hidden;
    padding: 40px;
    position: relative;
    background-color: var(--color-white);
}

.exhibition-entry-description {
    height: 100%;
    position: relative;
}

.exhibition-entry-description-page {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.exhibition-entry-description-page.active {
    opacity: 1;
    pointer-events: auto;
}

.exhibition-entry-description-page p {
    margin: 0 0 20px 0;
    color: var(--color-black);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
}

.exhibition-entry-description-page p:last-child {
    margin-bottom: 0;
}

.exhibition-entry-gallery-wrapper {
    flex-shrink: 0;
    padding: 0 40px 40px 40px;
    position: relative;
}

/* Exhibition entry left column: gallery full width, no side or bottom padding */
.exhibition-entry-page .exhibitions-left .exhibition-entry-gallery-wrapper {
    padding: 0 0 40px 0;
    width: 100%;
}

/* Full width hero image (1st in gallery) */
.exhibition-entry-hero {
    flex: 0 0 auto;
    margin-bottom: 20px;
    min-width: 0;
    width: 100%;
}

.exhibition-entry-hero .exhibition-entry-hero-work {
    aspect-ratio: auto;
    display: block;
    height: 700px;
    max-height: none;
    max-width: none;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.exhibition-entry-hero .exhibition-entry-hero-work img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

/* Exhibition entry: disable hover overlay on hero image */
.exhibition-entry-hero .works-gallery-item-overlay {
    display: none;
}

/* 2 large featured images: side by side, fill left column */
.exhibition-entry-featured {
    align-items: stretch;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.exhibition-entry-page .exhibitions-left .exhibition-entry-featured {
    flex: 0 0 auto;
    gap: 20px;
    justify-content: stretch;
    width: 100%;
}

.exhibition-entry-featured-left,
.exhibition-entry-featured-right {
    align-items: stretch;
    align-self: stretch;
    display: flex;
    flex: 0 1 700px;
    height: 700px;
    max-width: 700px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.exhibition-entry-page .exhibitions-left .exhibition-entry-featured-left,
.exhibition-entry-page .exhibitions-left .exhibition-entry-featured-right {
    flex: 1 1 50%;
    height: 50vw;
    max-height: 700px;
    max-width: none;
}

.exhibition-entry-featured-left .exhibition-entry-featured-work,
.exhibition-entry-featured-right .exhibition-entry-featured-work {
    aspect-ratio: auto;
    display: block;
    height: 100%;
    max-height: none;
    max-width: none;
    width: 100%;
}

.exhibition-entry-featured-left .exhibition-entry-featured-work img,
.exhibition-entry-featured-right .exhibition-entry-featured-work img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}


.exhibition-entry-featured-placeholder {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.exhibition-entry-featured-placeholder img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Grid of remaining works (works-gallery-grid style) */
.exhibition-entry-gallery.works-gallery-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 400px));
    margin-top: 0;
    overflow: visible;
    padding-right: 200px;
}

/* Exhibition entry left column: 4-column grid, full width */
.exhibition-entry-page .exhibitions-left .exhibition-entry-gallery.works-gallery-grid {
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}


@media (max-width: var(--bp-tablet-max)) {
    .exhibition-entry-page .exhibitions-content {
        grid-template-columns: 1fr;
    }
    
    .exhibition-entry-content {
        gap: 0;
        grid-template-columns: 1fr;
    }
    
    .exhibition-entry-artists {
        min-height: 200px;
    }
    
    .exhibition-entry-featured {
        flex-direction: column;
        gap: 20px;
    }
    
    .exhibition-entry-featured-left,
    .exhibition-entry-featured-right {
        height: auto;
        max-width: 100%;
        min-height: 400px;
        width: 100%;
    }
    
    .exhibition-entry-page .exhibitions-left .exhibition-entry-featured-left,
    .exhibition-entry-page .exhibitions-left .exhibition-entry-featured-right {
        height: auto;
        max-height: none;
    }
    
    .exhibition-entry-gallery.works-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 400px));
    }

    /* Override the more-specific 4-col rule on smaller screens */
    .exhibition-entry-page .exhibitions-left .exhibition-entry-gallery.works-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================
   Work Entry Page Styles
   ============================================ */
body:has(.work-entry-page) {
    height: auto;
    overflow-x: hidden;
}

body:has(.work-entry-page) .site-header {
    background-color: transparent;
    background-image: none;
}

body:has(.work-entry-page) #barba-wrapper,
body:has(.work-entry-page) #barba-wrapper [data-barba="container"] {
    margin-left: 0;
    padding-left: 0;
}

body:has(.work-entry-page) #barba-wrapper [data-barba="container"] {
    transform: none;
}

.work-entry-page {
    box-sizing: border-box;
    min-height: 100vh;
    overflow: visible;
    padding-top: 0;
    position: relative;
    width: 100%;
    opacity: 0;
    background-color: var(--color-white);
    transition: opacity 0.35s ease;
}

body.entry-ready .work-entry-page {
    opacity: 1;
}

.work-entry-artist-about {
    box-sizing: border-box;
    _padding: 20px;
}

.work-entry-artist-related {
    box-sizing: border-box;
    padding: 0 20px 20px 20px;
}

.work-entry-exhibitions-featured {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

.work-entry-container {
    box-sizing: border-box;
    display: grid;
    gap: 0;
    grid-template-columns: 560px 1fr 180px;
    height: 100vh;
    margin: 0;
    margin-right: 12px;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.work-entry-info {
    display: flex;
    flex-direction: column;
    grid-column: 1;
    height: 100%;
    justify-content: flex-start;
    max-width: 560px;
    overflow: hidden;
    padding: 120px 16px 0 16px;
    position: relative;
}

.artist-entry-bio-about {
  padding-top: 20px;
}

.work-entry-description {
    margin-bottom: 140px;
    color: var(--color-black);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: 1.75;
}

.work-entry-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.work-entry-button {
    align-items: center;
    box-sizing: border-box;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    max-height: 34px;
    min-height: 34px;
    padding: 0 20px 0;
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.work-entry-button-secondary {
    color: var(--color-black);
    background-color: var(--color-gray-light);
}

.work-entry-button-secondary:hover {
    background-color: var(--color-gray-alternate);
}

.work-entry-button-primary {
    color: var(--color-white);
    background-color: var(--color-primary-blue);
}

.work-entry-button-primary:hover {
    background-color: #002080;
}

.work-entry-buttons .work-entry-button {
    height: 34px !important;
    max-height: 34px !important;
    min-height: 34px !important;
}

.work-entry-specs {
    margin-bottom: 20px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid var(--color-gray-light);
    border-top: 1px solid var(--color-gray-light);
}

.work-entry-specs-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.work-entry-specs-top-row {
    align-items: start;
    display: grid;
    gap: 24px 48px;
    grid-template-columns: 1fr 1fr;
}

.work-entry-spec-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.work-entry-spec-block--right {
    text-align: right;
}

.work-entry-spec-block--right .work-entry-spec-value {
    text-align: right;
}

.work-entry-spec-label {
    color: var(--color-gray-alternate);
    font-size: 11px;
    font-weight: var(--font-weight-regular);
    line-height: 1.4;
}

.work-entry-spec-value {
    color: var(--color-black);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: 20px;
    text-align: left;
}

.work-entry-dimensions {
    line-height: 1.6;
    text-align: left;
}


.work-entry-download-wrap {
    margin-bottom: 20px;
    text-align: right;
}

.work-entry-download {
    display: inline-block;
    color: var(--color-gray-alternate);
    font-size: 11px;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.work-entry-download:hover {
    color: var(--color-black);
}

.work-entry-artist-name {
    bottom: 0px;
    _left: 20px;
    margin-bottom: 0;
    margin-top: auto;
    max-width: 290px;
    position: absolute;
    color: var(--color-gray-alternate);
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-heading);
    letter-spacing: var(--letter-spacing-heading);
    line-height: var(--line-height-heading);
    text-transform: uppercase;
}

/* Center Column: Main Image - vertical strip of all images, smooth scroll to hovered thumbnail */
.work-entry-main-image {
    grid-column: 2;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
    position: relative;
}

/* Wrapper so desktop % heights still resolve */
.work-entry-main-image-scroll {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

/* Hidden by default; used on mobile */
.work-entry-title-divider {
    display: none;
}

/* Hidden by default; enabled on mobile */
.work-entry-gallery-pagination {
    display: none;
}

/* Vertical strip – translateY scrolls to show the hovered image */
.work-entry-main-image-strip {
    height: calc(100% * var(--image-count));
    position: relative;
    width: 100%;
    --current-index: 0;
    --image-count: 1;
    transform: translateY(calc(-1 * var(--current-index) * 100% / var(--image-count)));
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-entry-main-image-strip .work-entry-main-img {
    display: block;
    height: calc(100% / var(--image-count));
    left: 0;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: calc(var(--index) * 100% / var(--image-count));
    width: 100%;
}

/* Right Column: Thumbnail Gallery */
.work-entry-thumbnails {
    align-items: center;
    display: flex;
    flex-direction: column;
    grid-column: 3;
    height: 100%;
    justify-content: space-between;
    overflow-y: auto;
    padding: 84px 20px 24px 20px;
}

.work-entry-thumbnail {
    aspect-ratio: 1;
    flex-shrink: 0;
    min-width: 140px;
    overflow: hidden;
    width: 140px;
    cursor: pointer;
}

.work-entry-thumbnail:hover {
    opacity: 0.85;
}

.work-entry-thumbnail img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Responsive Design */
/* @media (max-width: 1200px) {
    .work-entry-container {
        grid-template-columns: 560px 1fr 180px;
        gap: 12px;
        padding: 0 20px 0 20px;
    }
    
    .work-entry-artist-name {
        font-size: 100px;
    }
} */


/* ============================================
   Privacy Policy Page
   ============================================ */
.privacy-policy-page {
  margin: 0 auto;
  padding: 180px 20px 80px 20px;
  width: 100%;
  background-color: var(--color-white);
}

.privacy-policy-header {
  margin: 0 auto 40px auto;
  width: 100%;
}

.privacy-policy-header .page-title {
  text-align: center;
  text-transform: uppercase;
}

.privacy-policy-content {
  margin: 2px auto;
  max-width: 1200px;
  width: 100%;
}

/* CKEditor output spacing + typography */
.privacy-policy-rte {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
}

.privacy-policy-rte p {
  margin: 50px 0 6px 0;
}

.privacy-policy-rte p:last-child {
  margin-bottom: 0;
}

.privacy-policy-rte h2,
.privacy-policy-rte h3,
.privacy-policy-rte h4 {
  margin: 0 0 20px 0;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  letter-spacing: 0;
  text-transform: none;
}

.privacy-policy-rte h2 + p,
.privacy-policy-rte h3 + p,
.privacy-policy-rte h4 + p {
  color: var(--color-black);
}

.privacy-policy-rte ul,
.privacy-policy-rte ol {
  margin: 0 0 20px 20px;
  padding: 0;
}

.privacy-policy-rte li {
  margin: 0 0 6px 0;
}

.privacy-policy-rte li:last-child {
  margin-bottom: 0;
}

.privacy-policy-rte strong,
.privacy-policy-rte b {
  font-weight: 500;
}

.privacy-policy-rte a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   Terms & Conditions Page
   ============================================ */
.terms-conditions-page {
  margin: 0 auto;
  padding: 180px 20px 80px 20px;
  width: 100%;
  background-color: var(--color-white);
}

.terms-conditions-header {
  margin: 0 auto 70px auto;
  width: 100%;
}

.terms-conditions-header .page-title {
  text-align: center;
  text-transform: uppercase;
}

.terms-conditions-content {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.terms-conditions-rte {
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
}

.terms-conditions-rte p {
  margin: 20px 0 0 0;
}

.terms-conditions-rte p:last-child {
  margin-bottom: 0;
}

.terms-conditions-rte h2,
.terms-conditions-rte h3,
.terms-conditions-rte h4 {
  margin: 40px 0 20px 0;
  color: var(--color-black);
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: var(--line-height-body);
  letter-spacing: 0;
  text-transform: none;
}

/* Ordered lists: (1) ... (2) ...  (use native marker + customize) */
.terms-conditions-rte ol {
  margin: 0 0 20px 0;
  padding: 0 !important; /* CKEditor may output inline padding */
  list-style-position: inside !important;
  list-style-type: decimal !important;
}

.terms-conditions-rte ol > li {
  margin: 0;
  padding: 0;
}

.terms-conditions-rte ol > li::marker {
  content: "(" counter(list-item) ") ";
}

/* Secondary ordered lists: (a) (b) (c) */
.terms-conditions-rte ol ol {
  margin: 12px 0 12px 0;
  padding: 0 !important;
  list-style-position: inside !important;
  list-style-type: lower-alpha !important;
}

.terms-conditions-rte ol ol > li::marker {
  content: "(" counter(list-item, lower-alpha) ") ";
}

.terms-conditions-rte ol > li:last-child {
  margin-bottom: 0;
}

.terms-conditions-rte ul {
  margin: 0 0 20px 20px;
  padding: 0;
}

.terms-conditions-rte li > ul,
.terms-conditions-rte li > ol {
  margin-top: 12px;
}

.terms-conditions-rte strong,
.terms-conditions-rte b {
  font-weight: 500;
}

.terms-conditions-rte a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   Works index: force-hide artist sidebar on narrower screens
   (Placed at end of file to win the cascade.)
   ============================================================ */
@media (max-width: 1700px) {
  .works-gallery-artist-sidebar {
    display: none !important;
  }
}


