@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Martel+Sans:wght@300;400;600;700&display=swap');

@font-face {
  font-family: 'Pantasia';
  src:
    local('Pantasia Regular'),
    local('Pantasia-Regular'),
    url('/lib/fonts/Pantasia-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --site-font-family: 'Pantasia', 'Cabin', sans-serif;
  --window-height: 100vh;
  --nav-height: 4em;
  --nav-side-width: min(20vw, 360px);
  --side-col-padding: 1.4rem;
  --text-col-width: 350px;
  --mobile-frame: min(60vw, 90vh);
  --image-center: 43vh;
  --center-image-gap-x: 1rem;
  --center-image-gap-top: 1.2rem;
  --center-image-gap-bottom: 1.2rem;
  --font-size-small: 0.8rem;
  --font-size-standard: 1.16rem;
  --font-size-big: clamp(1.55rem, 2.4vw, 2.85rem);
  --editorial-title-size: var(--font-size-big);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  text-size-adjust: none;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #fff;
  color: #111;
  font-family: var(--site-font-family);
  line-height: 1.2;
}

body {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button {
  color: inherit;
  cursor: pointer;
}

img,
svg,
video {
  max-width: 100%;
}

nav,
nav a,
nav button {
  font-family: var(--site-font-family);
  font-size: var(--font-size-standard);
  font-weight: 300;
}

.photoIndexColumn,
.albumCounter {
  font-family: var(--site-font-family);
  font-weight: 400;
}

nav .current {
  font-style: italic;
  font-family: var(--site-font-family);
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  font-family: var(--site-font-family);
  font-size: var(--font-size-standard);
  font-weight: 300;
}

h1 {
  font-style: italic;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  margin-top: 0;
}

article p {
  font-family: var(--site-font-family);
  font-size: var(--font-size-small);
}

.container[data-has-images='false'] article h1 {
  font-size: var(--font-size-big);
  font-style: normal;
  line-height: 1.03;
}

.container[data-has-images='false'] article h2 {
  font-size: var(--font-size-standard);
  line-height: 1.2;
}

.container[data-has-images='false'] article p {
  font-size: var(--font-size-standard);
}

.container[data-has-images='false'] article hr {
  width: 100%;
  height: 0;
  margin: clamp(2.75rem, 7vh, 4.5rem) 0;
  padding: 0;
  border: 0;
}

.aboutProfile {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin: 0 0 clamp(2rem, 5vh, 3.5rem);
}

.aboutProfilePhoto {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.aboutProfileLinks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding-bottom: 0.15rem;
}

.aboutProfileLink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--font-size-standard);
  transition: transform 180ms ease, font-style 180ms ease;
}

.aboutProfileLink:hover,
.aboutProfileLink:focus-visible {
  transform: translateX(0.35em);
  font-style: italic;
}

.aboutProfileIcon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.aboutProfileIconDot,
.aboutProfileIconLinkedIn {
  fill: currentColor;
  stroke: none;
}

.contactEmail {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font-family: var(--site-font-family);
  font-size: var(--font-size-standard);
  font-weight: 300;
  line-height: inherit;
  cursor: pointer;
  transition: transform 180ms ease, font-style 180ms ease;
}

.contactEmail:hover,
.contactEmail:focus-visible {
  transform: translateX(0.35em);
  font-style: italic;
}

.albumPageTitle {
  display: none;
}

.siteHeader {
  display: none;
}

.notFoundContent {
  display: grid;
  width: 100%;
  min-width: 0;
  place-items: center;
}

.notFoundMessage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.notFoundContent h1 {
  margin: 0;
  font-family: var(--site-font-family);
  font-size: var(--font-size-big);
  font-style: normal;
  font-weight: 300;
  line-height: 1;
}

.notFoundContent h1 a {
  display: inline-block;
  font-family: var(--site-font-family);
  font-size: inherit;
  font-weight: 300;
  transition: transform 180ms ease, font-style 180ms ease;
}

.notFoundContent h1 a:hover,
.notFoundContent h1 a:focus-visible {
  transform: translateX(0.35em);
  font-style: italic;
}

.threshold {
  display: none;
  pointer-events: none;
}

nav {
  position: fixed;
  top: 0;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 92vw);
  padding: 0 1.2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  height: var(--nav-height);
  min-height: var(--nav-height);
}

nav .navLeft {
  justify-self: start;
}

nav .navCenter {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  line-height: 1.4;
  align-items: center;
}

nav .navRight {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav .navArtist a {
  display: inline-block;
  white-space: nowrap;
}

.siteHeaderArtist,
.siteHeaderPageTitle,
nav .navArtist a,
.albumPageTitle a {
  transition: transform 180ms ease, font-style 180ms ease;
}

.siteHeaderArtist:hover,
.siteHeaderArtist:focus-visible,
.siteHeaderPageTitle:hover,
.siteHeaderPageTitle:focus-visible,
nav .navArtist a:hover,
nav .navArtist a:focus-visible,
.albumPageTitle a:hover,
.albumPageTitle a:focus-visible {
  transform: translateX(0.35em);
  font-style: italic;
}

.albumPageTitle a {
  display: inline-block;
  font-style: italic;
}

.navSubtitle {
  margin-top: 0.35rem;
  font-size: var(--font-size-small);
  opacity: 0.7;
}

.navDropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.navDropdownToggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.navDropdownLabel.current {
  font-style: italic;
}

.navDropdownMenu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translate(0, 0.35rem);
  background: #fff;
  border: 0;
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 18rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 850;
}

.navDropdownMenu .link {
  white-space: nowrap;
}

.navDropdown.is-open .navDropdownMenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, 0.15rem);
}

.navPlus {
  font-weight: 500;
}

.navIconLink {
  display: inline-flex;
  align-items: center;
}

.navIcon {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.navBurger {
  display: none;
}

.navMobileMenu {
  display: none;
}

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

.photoIndexColumn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  pointer-events: none;
}

.slideshowCaption {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  max-width: min(80vw, 720px);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111;
  pointer-events: none;
  z-index: 740;
}

.albumCounter {
  margin-top: 0.7rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
}

.container[data-has-images="true"] article {
  text-align: left;
}

.albumCounterGrid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0.8rem, 1fr));
  gap: 0.35rem;
  width: 100%;
  max-width: 5.5rem;
}

.albumCounterGridRight {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 5.5rem;
  z-index: 720;
}

.homeCounterRail {
  display: none;
}

.albumCounterCell {
  position: relative;
  display: block;
  width: 100%;
  height: 1rem;
  text-align: center;
  color: #111;
}

.albumCounterCell.is-active {
  color: #111;
}

.albumCounterCell::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.55rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.articleSection + .articleSection {
  margin-top: 1rem;
}

.articleSectionImage:empty,
.articleSectionCounter:empty {
  display: none;
}

.articleSectionImage {
  font-family: var(--site-font-family);
  font-size: var(--font-size-small);
  line-height: 1.45;
  font-style: italic;
}

.collectionImageCaption {
  display: none;
  box-sizing: border-box;
  font-family: var(--site-font-family);
  font-size: var(--font-size-small);
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

.collectionImageItem {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.scrollIndicator {
  position: fixed;
  left: 50%;
  top: 0;
  bottom: auto;
  transform: translateX(-50%);
  font-family: var(--site-font-family);
  font-size: var(--font-size-standard);
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 705;
  pointer-events: none;
}

.scrollIndicator.is-visible {
  opacity: 1;
}

.siteFooter {
  position: relative;
  z-index: 890;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  min-height: clamp(6rem, 12vh, 8rem);
  padding: 1.25rem var(--side-col-padding);
  box-sizing: border-box;
  color: #111;
  background: #fff;
  font-family: var(--site-font-family);
  font-size: var(--font-size-small);
  font-weight: 300;
  line-height: 1.2;
}

.siteFooterSocial {
  grid-column: 1;
  justify-self: start;
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 500ms ease 120ms, transform 500ms ease 120ms;
}

.siteFooterSocial a {
  display: inline-block;
  transition: transform 180ms ease, font-style 180ms ease;
}

.siteFooterSocial a:hover,
.siteFooterSocial a:focus-visible {
  transform: translateX(0.35em);
  font-style: italic;
}

.siteFooterTop {
  grid-column: 2;
  justify-self: center;
  display: grid;
  width: 2.25rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  line-height: 1;
  opacity: 0;
  transform: translateY(0.7rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

.siteFooterArrow {
  position: relative;
  display: block;
  width: 1rem;
  height: 1.5rem;
  transition: transform 220ms ease;
}

.siteFooterArrow::before {
  position: absolute;
  top: 0.15rem;
  left: 50%;
  width: 1px;
  height: 1.15rem;
  background: currentColor;
  content: '';
  transform: translateX(-50%);
}

.siteFooterArrow::after {
  position: absolute;
  top: 0.15rem;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  content: '';
  transform: translateX(-50%) rotate(45deg);
}

.siteFooterTop:hover .siteFooterArrow,
.siteFooterTop:focus-visible .siteFooterArrow {
  transform: translateY(-0.3rem);
}

.siteFooter.is-visible .siteFooterSocial {
  opacity: 1;
  transform: translateY(0);
}

.siteFooter.is-visible .siteFooterTop {
  opacity: 1;
  transform: translateY(0);
}

.siteFooter.is-visible .siteFooterArrow {
  animation: site-footer-arrow 1.8s ease-in-out 600ms 2;
}

.siteFooterCopyright {
  grid-column: 3;
  justify-self: end;
  text-align: right;
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 500ms ease 180ms, transform 500ms ease 180ms;
}

.siteFooter.is-visible .siteFooterCopyright {
  opacity: 1;
  transform: translateY(0);
}

@keyframes site-footer-arrow {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-0.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .siteFooterSocial,
  .siteFooterTop,
  .siteFooterCopyright,
  .siteFooterSocial a,
  .siteFooterArrow {
    transition: none;
  }

  .siteFooter.is-visible .siteFooterArrow {
    animation: none;
  }
}

.albumCounterCell.is-active::before {
  content: "";
}

.albumCounterCell.is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 0.55rem;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.albumCounterCurrent,
.albumCounterTotal {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}

/* Keep only 2 digits for current and total */
.albumCounterCurrent .num:nth-child(1),
.albumCounterCurrent .num:nth-child(2),
.albumCounterTotal .num:nth-child(1),
.albumCounterTotal .num:nth-child(2) {
  display: none;
}

.collection {
  display: flex;
  flex-direction: column;
  gap: 45vh;
  padding-top: 0;
  padding-bottom: calc((var(--window-height) - var(--mobile-frame)) / 2 + 60vh);
  padding-left: var(--center-image-gap-x);
  padding-right: var(--center-image-gap-x);
  overflow-x: clip;
}

.collection img {
  position: sticky;
  top: var(--center-image-gap-top);
  width: auto !important;
  height: auto !important;
  max-width: min(800px, calc(100vw - (2 * var(--nav-side-width)) - (2 * var(--center-image-gap-x))));
  max-height: min(800px, calc(100vh - var(--center-image-gap-top) - var(--center-image-gap-bottom)));
  object-fit: contain;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  transform: translate3d(0, 0, 0) !important;
  opacity: 1;
  transition: none;
}

.stage,
.gallery {
  display: none !important;
}

.collection img:last-child {
  margin-bottom: 0;
}

.openCursor {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  display: none;
  pointer-events: none;
  color: #fff;
}

.openCursorInner {
  transform: translate3d(-50%, -50%, 0);
  width: max-content;
  max-width: min(24rem, 70vw);
  padding: 0.22em 0.48em 0.26em;
  background: rgb(0 0 0 / 48%);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  font-family: var(--site-font-family);
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: none;
  white-space: normal;
}

.openCursor.active {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .collection,
  .collection * {
    cursor: default;
  }

  .container[data-has-images="true"] article,
  .container[data-has-images="true"] article * {
    cursor: default;
  }

  body.zoom-open .imageZoomOverlay,
  body.zoom-open .imageZoomFrame,
  body.zoom-open .imageZoomImage {
    cursor: none !important;
  }

  body.zoom-open .imageZoomPanel,
  body.zoom-open .imageZoomPanel *,
  body.zoom-open .imageZoomPanelToggle {
    cursor: auto !important;
  }
}

@media (max-width: 860px) {
  .albumCounterGrid,
  .albumCounterGridRight,
  .scrollIndicator {
    display: none;
  }
}

.imageZoomOverlay {
  position: fixed;
  inset: 0;
  z-index: 880;
  display: block;
  padding: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 520ms ease;
}

.imageZoomOverlay.is-open {
  opacity: 1;
}

.imageZoomFrame {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imageZoomImage {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  object-position: center center;
  transform: scale(0.985);
  opacity: 0;
  transition:
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 560ms ease;
  position: relative;
  z-index: 2;
  will-change: transform;
}

.imageZoomOverlay.is-open .imageZoomImage {
  transform: scale(1);
  opacity: 1;
}

.imageZoomOverlay.is-closing {
  opacity: 0;
}

.imageZoomOverlay.is-closing .imageZoomImage {
  transform: scale(0.985);
  opacity: 0;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease;
}

.imageZoomCaption {
  max-width: min(78vw, 860px);
  text-align: center;
  font-size: 0.85em;
  line-height: 1.5;
  width: 100%;
}

.imageZoomPanel {
  position: absolute;
  left: 50%;
  bottom: 0.6rem;
  width: min(60%, 980px);
  max-width: calc(100% - 1.2rem);
  transform: translateX(-50%);
  transition: transform 360ms ease, width 360ms ease;
  pointer-events: auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  min-height: 2.1rem;
}

.imageZoomPanel.is-hidden {
  display: none;
}

.imageZoomPanel.no-open-anim {
  transition: none !important;
}

.imageZoomPanelContent {
  display: block;
  color: #111;
  font-size: 0.9rem;
  line-height: 1.35;
  padding: 0.6rem 2.5rem 0.6rem 0.75rem;
  max-height: 36vh;
  overflow: auto;
  transition: opacity 180ms ease;
}

.imageZoomPanelToggle {
  position: absolute;
  top: 50%;
  right: 0;
  width: 2.1rem;
  min-width: 2.1rem;
  height: 2.1rem;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  mix-blend-mode: normal;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.imageZoomPanel.is-collapsed {
  left: 50%;
  transform: translateX(calc(50vw - 2.7rem));
  width: 2.1rem;
  max-width: 2.1rem;
  background: transparent;
  min-height: 2.1rem;
}

.imageZoomPanel.is-collapsed .imageZoomPanelContent {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  width: 0;
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.imageZoomPanel.is-collapsed .imageZoomPanelToggle {
  border-radius: 999px;
  background: #fff;
  color: #111;
  mix-blend-mode: normal;
}

body.zoom-open {
  overflow: hidden;
}

nav,
article,
.albumTextColumnBg {
  transition: opacity 320ms ease;
}

body.zoom-open nav,
body.zoom-open article,
body.zoom-open .albumTextColumnBg {
  opacity: 0;
  pointer-events: none;
}

/* Keep only 2 digits for current and total: 01/25 */
.photoIndexColumn > span:nth-child(1),
.photoIndexColumn > span:nth-child(2),
.photoIndexColumn > span:nth-child(6),
.photoIndexColumn > span:nth-child(7) {
  display: none;
}
