/* Local font overrides to replace Squarespace Typekit fonts with Google Fonts. */

/* Self-hosted Google Fonts (downloaded into fonts.gstatic.com/) */
@font-face {
  font-family: "League Gothic";
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url("fonts.gstatic.com/s/leaguegothic/v13/qFdR35CBi4tvBz81xy7WG7ep-BQAY7Krj7feObpH_-am.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Uw-.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCvr6Ew-.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Ew-.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Ew-.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Ew-.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCu170w-.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w-.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCvr70w-.ttf") format("truetype");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts.gstatic.com/s/montserrat/v31/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCvC70w-.ttf") format("truetype");
}

/* Primary replacements:
   - futura-pt      -> Poppins (geometric sans)
   - proxima-nova   -> Work Sans (clean sans; closer to Proxima-style UI copy)
   - bebas-neue     -> Bebas Neue (available on Google Fonts)
*/

body,
button,
input,
select,
textarea {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-title-font,
.collection-detail-font,
.quote-font,
.category-nav-font,
.small-button-block-font,
.medium-button-block-font,
.large-button-block-font,
.system-button-font {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.nav-font,
.main-nav,
.main-nav a,
.main-nav a span,
.folder-parent a,
.folder-parent a span {
  font-family: "League Gothic", "Bebas Neue", Impact, sans-serif !important;
}

.main-nav,
.main-nav a,
.main-nav a span,
.folder-parent a,
.folder-parent a span {
  letter-spacing: 1.8px;
}

.tagline-font,
.body-font,
.announcement-bar-font {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.headings-font {
  font-family: "Bebas Neue", "League Gothic", Impact, sans-serif !important;
}

/* Squarespace JS removed: ensure images display and homepage fills. */
body.collection-type-index #fullscreenBrowser .slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ensure homepage next/prev buttons are visible and clickable (Squarespace JS removed). */
body.collection-type-index .nav-projects {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  display: block !important;
}
body.collection-type-index .nav-projects .arrow-wrapper {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  pointer-events: auto;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.collection-type-index .nav-projects .arrow-wrapper.left {
  left: 24px;
}
body.collection-type-index .nav-projects .arrow-wrapper.right {
  right: 24px;
}
body.collection-type-index .nav-projects .arrow-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  position: relative;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  cursor: pointer;
}
body.collection-type-index .nav-projects .arrow-wrapper a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid rgba(0, 0, 0, 0.78);
  border-bottom: 2px solid rgba(0, 0, 0, 0.78);
  transform: translate(-50%, -50%) rotate(-45deg);
}
body.collection-type-index .nav-projects .arrow-wrapper.left a::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

body.collection-type-index .nav-projects .arrow-wrapper a:hover,
body.collection-type-index .nav-projects .arrow-wrapper a:focus-visible {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(0, 0, 0, 0.12);
}

body.collection-type-index .nav-projects .arrow-wrapper a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* Homepage slider nav: only show on pointer activity (like Squarespace). */
body.collection-type-index .nav-projects {
  opacity: 0;
  transition: opacity 220ms ease;
}
body.collection-type-index.tso-show-slider-nav .nav-projects,
body.collection-type-index .nav-projects:hover,
body.collection-type-index .nav-projects:focus-within {
  opacity: 1;
}

/* Never let slider arrows sit above the mobile menu. */
html.mobile-view body.sqs-mobile-nav-open.collection-type-index .nav-projects {
  display: none !important;
}

.sqs-gallery-block-grid img.loaded {
  opacity: 1 !important;
}

/* Releases page: gallery grid sizing + hover effect (Squarespace JS removed). */
.page-releases-2 .sqs-gallery-block-grid .sqs-gallery .slide .margin-wrapper {
  height: 100%;
}
.page-releases-2 .sqs-gallery-block-grid .sqs-gallery .slide .image-slide-anchor {
  position: relative;
  display: block;
  width: 100%;
  height: 0 !important;
  padding-bottom: 100% !important;
  overflow: hidden;
  background: #111;
}
.page-releases-2 .sqs-gallery-block-grid .sqs-gallery .slide .image-slide-anchor .thumb-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease, opacity 220ms ease;
}
.page-releases-2 .sqs-gallery-block-grid .sqs-gallery .slide .image-slide-anchor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.0);
  transition: background 220ms ease;
  pointer-events: none;
}
.page-releases-2 .sqs-gallery-block-grid .sqs-gallery .slide .image-slide-anchor:hover::after,
.page-releases-2 .sqs-gallery-block-grid .sqs-gallery .slide .image-slide-anchor:focus-visible::after {
  background: rgba(0, 0, 0, 0.22);
}
.page-releases-2 .sqs-gallery-block-grid .sqs-gallery .slide .image-slide-anchor:hover .thumb-image,
.page-releases-2 .sqs-gallery-block-grid .sqs-gallery .slide .image-slide-anchor:focus-visible .thumb-image {
  transform: scale(1.035);
}

/* Releases page: never hide thumbs waiting for Squarespace JS. */
.page-releases-2 .sqs-gallery-block-grid img.thumb-image {
  opacity: 1 !important;
}

/* Artist pages: album covers should behave like /releases-2. */
.sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor {
  position: relative;
  overflow: hidden;
  background: #111;
}
.sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor img.thumb-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease, opacity 220ms ease;
}
.sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 220ms ease;
  pointer-events: none;
}
.sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor:hover::after,
.sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor:focus-visible::after {
  background: rgba(0, 0, 0, 0.22);
}
.sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor:hover img.thumb-image,
.sqs-gallery-block-grid .slide .margin-wrapper a.image-slide-anchor:focus-visible img.thumb-image {
  transform: scale(1.035);
}

/* Artist pages: prevent Squarespace slideshows from rendering as a vertical list. */
.sqs-gallery-block-slideshow .sqs-gallery > .slide {
  display: none;
}
.sqs-gallery-block-slideshow .sqs-gallery > .slide:first-child {
  display: block;
}
.sqs-gallery-block-slideshow .sqs-gallery > .slide.sqs-active-slide {
  display: block;
}

/* Artist pages: slideshow thumbnails should show active state. */
.sqs-gallery-thumbnails {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding: 12px 2px 6px;
  scrollbar-width: thin;
}
.sqs-gallery-thumbnails [role="button"] {
  flex: 0 0 auto;
  opacity: 0.55;
  transition: opacity 180ms ease;
}
.sqs-gallery-thumbnails [role="button"].sqs-active-slide {
  opacity: 1;
}
.sqs-gallery-thumbnails [role="button"]:hover {
  opacity: 0.95;
}

.sqs-gallery-thumbnails img {
  display: block;
}

/* About page: keep logo image visible without page scrollbars. */
.page-about .sqs-block-spacer {
  display: none;
}
.page-about #mainContent {
  display: block;
  padding: 0 18px;
}
.page-about #footer {
  display: none;
}
.page-about #page {
  padding: 0 !important;
}
.page-about .pageWrapper {
  padding-bottom: 0 !important;
}
.page-about .sqs-block-image-figure {
  max-width: min(92vw, calc(100vh - 220px)) !important;
  width: 100%;
  margin: 0 auto !important;
}
.page-about .sqs-image-shape-container-element.has-aspect-ratio {
  aspect-ratio: 1 / 1;
  padding-bottom: 0 !important;
}
.page-about .sqs-image-shape-container-element.has-aspect-ratio img {
  width: 100% !important;
  height: 100% !important;
}

/* Local contact form (replaces Squarespace form block) */
.tso-contact-form {
  width: 100%;
  max-width: 860px;
  margin: 30px auto 0;
  padding: 0 18px;
  text-align: left;
  box-sizing: border-box;
}

.page-contact #page-contact-local h2 {
  margin: 0 0 18px;
  font-family: "League Gothic", "Bebas Neue", Impact, sans-serif !important;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Contact page: keep fonts consistent (nav + body) */
.page-contact .tso-contact-form,
.page-contact .tso-contact-form * {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Contact page: pull content up a bit on desktop */
@media (min-width: 900px) {
  .page-contact #page-contact-local {
    margin-top: -48px;
  }
}

.tso-contact-form p {
  margin: 0 0 18px;
}

.tso-contact-form label {
  display: block;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tso-contact-form input[type="text"],
.tso-contact-form input[type="email"],
.tso-contact-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 14px 16px;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.4;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  outline: none;
}

.tso-contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.tso-contact-form input[type="text"]:focus,
.tso-contact-form input[type="email"]:focus,
.tso-contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.tso-contact-form button[type="submit"] {
  display: inline-block;
  padding: 14px 26px;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background: #f2f2f2;
  color: #111;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.tso-contact-status {
  margin-top: 12px;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 14px;
}

.tso-turnstile {
  margin-top: 16px;
}

@media (max-width: 640px) {
  .tso-contact-form {
    margin-top: 12px;
    padding: 0 14px;
    box-sizing: border-box;
  }
  .tso-contact-form p {
    margin-bottom: 14px;
  }
  .tso-contact-form label {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .tso-contact-form input[type="text"],
  .tso-contact-form input[type="email"],
  .tso-contact-form textarea {
    font-size: 15px;
    padding: 10px 11px;
  }
  .tso-contact-form textarea {
    min-height: 110px;
  }
  .tso-contact-form button[type="submit"] {
    width: 100%;
    padding: 12px 16px;
  }
  .page-contact #page-contact-local {
    margin-top: -10px;
  }

  /* Contact page: reduce oversized header area on mobile */
  html.mobile-view body.page-contact #header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  html.mobile-view body.page-contact #logo img {
    max-height: 92px;
    width: auto;
  }

  /* Contact page: prevent Squarespace grid negative margins from causing horizontal scroll. */
  html.mobile-view body.page-contact .sqs-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Mobile nav: take it out of document flow to prevent horizontal overflow. */
html.mobile-view #mobile-navigation {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 88vw;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(0, 0, 0, 0.97);
  z-index: 10080;
}
html.mobile-view body.sqs-mobile-nav-open #mobile-navigation {
  display: block;
}
html.mobile-view body.sqs-mobile-nav-open {
  overflow: hidden;
}
