:root {
  --main-color: #0000ff;
}

body {
  background: white;
  color: var(--main-color);
  font-family: "input-mono", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  background: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

/* navigation */
.top-nav {
  position: fixed;
  top: 22px;
  left: 24px;
  z-index: 1000;

  font-family: "input-mono", sans-serif;
  font-size: 14px;
}

.top-nav a {
  margin-right: 34px;
  text-decoration: none;
  color: var(--main-color);
}

.top-nav a:hover {
  font-style: italic;
}

.nav-toggle {
  display: none;
}


/* grain texture */
.fixed-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 200;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 600px;
  height: 190px;

  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* title svg */
.title-svg {
  width: 100%;
  height: 140px;
  object-fit: contain;

  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

/* scrolling images */
.image-scroll img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.cursor-blur {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  background: rgba(255, 255, 255, 0.04);

  -webkit-mask-image: radial-gradient(
    circle,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0) 75%
  );
  mask-image: radial-gradient(
    circle,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0) 75%
  );

  opacity: 1;
}

.cursor-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 250;
}

.main {
  width: 110px;
  height: 110px;
}

.tail1 {
  width: 150px;
  height: 150px;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.tail2 {
  width: 200px;
  height: 200px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.tail3 {
  width: 250x;
  height: 250px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.intro-text {
  width: 420px;
  margin: -8px 0 0 0;
  text-align: center;

  font-size: 11px;
  line-height: 1.4;

  font-family: "input-mono", sans-serif;
  font-weight: 300;

  color: #0000ff;
}

body {
  background: white;
  color: #0000ff;
}

.top-nav a {
  color: #0000ff;
}

.work-list-page {
  min-height: 100vh;
  padding: 90px 24px 40px 24px;
  background: white;
}

.work-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;

  font-family: "input-mono", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.work-list a {
  color: #0000ff;
  text-decoration: none;
}

.work-list a:hover {
  font-style: italic;
}

.work-list-page {
  min-height: 100vh;
  padding: 90px 24px 40px 24px;
  background: white;

  display: grid;
  grid-template-columns: 170px 1fr;
  column-gap: 70px;
}

.work-list {
  position: sticky;
  top: 90px;
  height: fit-content;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;

  font-family: "input-mono", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.work-preview {
  width: 100%;
  max-width: 1220px;
  padding-bottom: 140px;
  margin: 0 auto;
}

.work-item {
  margin: 0 0 95px 0;
}

.work-item-small {
  width: 82%;
  margin-left: auto;
  margin-right: auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 96px 88px;
}

.work-grid .work-item {
  margin: 0;
}

.work-grid-medium {
  max-width: 972px;
  margin: 0 auto;
}

.work-grid-medium button.slider-arrow {
  font-size: 22px;
}

.work-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1008px;
  gap: 76px 54px;
  margin: 0 auto;
}

.work-grid-compact .slider-images {
  aspect-ratio: var(--slider-ratio, 1 / 1);
}

.work-grid-compact button.slider-arrow {
  width: 26px;
  height: 26px;
  font-size: 18px;
}

.work-grid-compact button.slider-arrow-left {
  left: 6px;
}

.work-grid-compact button.slider-arrow-right {
  right: 6px;
}

.work-item img {
  display: block;
  width: 100%;
  height: auto;
}

.work-item figcaption {
  margin-top: 12px;

  font-family: "input-mono", sans-serif;
  font-size: 11px;
  line-height: 1.4;
  color: #0000ff;
}

.reveal-img {
  opacity: 0;
  transform: translateY(55px);
  filter: blur(7px);

  transition:
    opacity 1.1s ease,
    transform 1.1s ease,
    filter 1.1s ease;
}

.reveal-img.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.year-group {
  display: none;
}

.year-group.active {
  display: block;
}

.year-group[data-year="2026"] {
  width: min(1003px, 100%);
  margin: 0 auto;
}


.work-list a.active {
  font-weight: 600;
}

/* artwork slider */
.artwork-slider {
  position: relative;
  width: 100%;
}

.slider-images {
  position: relative;
  width: 100%;
  aspect-ratio: var(--slider-ratio, 4 / 3);
  overflow: hidden;
  background: white;
}

.artwork-slider .slider-images > img {
  position: absolute;
  inset: 0;
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  cursor: zoom-in;
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(0);
  transition: transform 0.76s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.artwork-slider .slider-images > img.active {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}

.artwork-slider .slider-images > img.slide-enter-from-right,
.artwork-slider .slider-images > img.slide-enter-from-left,
.artwork-slider .slider-images > img.slide-leave-to-left,
.artwork-slider .slider-images > img.slide-leave-to-right {
  visibility: visible;
  pointer-events: none;
}

.artwork-slider .slider-images > img.slide-enter-from-right {
  transform: translateX(100%);
  z-index: 3;
}

.artwork-slider .slider-images > img.slide-enter-from-left {
  transform: translateX(-100%);
  z-index: 3;
}

.artwork-slider .slider-images > img.slide-leave-to-left {
  transform: translateX(-100%);
  z-index: 1;
}

.artwork-slider .slider-images > img.slide-leave-to-right {
  transform: translateX(100%);
  z-index: 1;
}

.artwork-slider .slider-images > img.image-missing {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

.artwork-slider .slider-images > img:not(.active):not(.slide-enter-from-right):not(.slide-enter-from-left):not(.slide-leave-to-left):not(.slide-leave-to-right) {
  visibility: hidden;
}

button.slider-arrow {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0000ff;
  font-family: "input-mono", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: none;
}

button.slider-arrow-left {
  left: 10px;
}

button.slider-arrow-right {
  right: 10px;
}

button.slider-arrow:hover,
button.slider-arrow:focus,
button.slider-arrow:focus-visible {
  font-weight: 700;
  outline: none;
}

.artwork-slider.has-one-image .slider-arrow {
  display: none;
}

/* image lightbox */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background: rgba(255, 255, 255, 0.94);
  color: #0000ff;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-stage {
  position: relative;
  width: min(92vw, 1200px);
  height: 82vh;
  overflow: hidden;
}

.image-lightbox-stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  cursor: zoom-in;
  visibility: hidden;
  transform: translateX(0);
  transform-origin: center center;
  transition: none;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.image-lightbox-stage .lightbox-image-current {
  visibility: visible;
}

.image-lightbox.is-zoomed .lightbox-image-current {
  cursor: grab;
}

.image-lightbox.is-dragging .lightbox-image-current {
  cursor: grabbing;
}

.image-lightbox-caption {
  position: fixed;
  left: 24px;
  bottom: 22px;
  max-width: 760px;
  margin: 0;
  font-family: "input-mono", Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.4;
}

.image-lightbox-close {
  appearance: none;
  -webkit-appearance: none;
  position: fixed;
  top: 20px;
  right: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0000ff;
  font-family: "input-mono", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus {
  font-weight: 700;
  outline: none;
}

.image-lightbox-arrow {
  appearance: none;
  -webkit-appearance: none;
  position: fixed;
  top: 50%;
  z-index: 3001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0000ff;
  font-family: "input-mono", Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.image-lightbox-arrow-left {
  left: 24px;
}

.image-lightbox-arrow-right {
  right: 24px;
}

.image-lightbox-arrow:hover,
.image-lightbox-arrow:focus,
.image-lightbox-arrow:focus-visible {
  font-weight: 700;
  outline: none;
}

.image-lightbox.has-one-lightbox-image .image-lightbox-arrow {
  display: none;
}

/* cv */
.cv-page {
  max-width: 860px;
  padding: 115px 24px 80px 24px;
  margin: 0 auto;
  color: #0000ff;
  font-family: "input-mono", Arial, Helvetica, sans-serif;
}

.cv-header {
  margin-bottom: 42px;
}

.cv-header h1,
.cv-header p,
.cv-section h2,
.cv-section p {
  margin: 0;
}

.cv-header h1 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.cv-header p {
  font-size: 13px;
  line-height: 1.5;
}

.cv-section {
  margin-bottom: 34px;
}

.cv-section h2 {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.cv-section p {
  display: block;
  padding-left: 72px;
  text-indent: -72px;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.45;
}

.cv-section span {
  display: inline-block;
  width: 54px;
  margin-right: 18px;
  text-indent: 0;
  font-weight: 400;
}

.cv-section a {
  color: #0000ff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cv-section a:hover,
.cv-section a:focus {
  font-style: italic;
  outline: none;
}

.exhibition-page {
  grid-template-columns: 245px 1fr;
  column-gap: 64px;
}

.exhibition-list {
  max-width: 245px;
  gap: 5px;
  font-size: 12px;
}

.exhibition-list a {
  line-height: 1.3;
}

.exhibition-preview {
  max-width: 760px;
  margin: 0;
}

.exhibition-entry-content {
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
}

.exhibition-hero {
  order: 1;
  margin: 0 0 18px 0;
}

.exhibition-hero img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.exhibition-image-grid {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  margin: 0 0 34px 0;
}

.exhibition-image-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center center;
  cursor: zoom-in;
}

.exhibition-hero.is-empty,
.exhibition-image-grid:empty,
[data-optional-image].is-missing {
  display: none;
}

.exhibition-entry p {
  margin: 0;
  font-family: "input-mono", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #0000ff;
}

.exhibition-entry span {
  display: inline-block;
  width: 52px;
}

.exhibition-meta {
  order: 3;
  margin-bottom: 42px;
}

.exhibition-text {
  order: 4;
  max-width: 620px;
  margin-top: 0;
}

.exhibition-text p {
  margin-bottom: 17px;
  font-size: 12px;
  line-height: 1.55;
}

.press-page {
  min-height: 100vh;
  padding: 90px 24px 80px 24px;
  background: white;
}

.press-preview {
  max-width: 780px;
  margin: 0;
}

.press-group {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
  margin-bottom: 44px;
}

.press-group h1 {
  grid-row: 1 / -1;
  margin: 0;
  font-family: "input-mono", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #0000ff;
}

.press-item {
  grid-column: 2;
  max-width: 620px;
  margin-bottom: 28px;
  font-family: "input-mono", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #0000ff;
}

.press-item p {
  margin: 0 0 4px 0;
}

.press-title {
  font-weight: 600;
}

.press-item a {
  color: #0000ff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.press-item a:hover,
.press-item a:focus {
  font-style: italic;
  outline: none;
}

.site-footer {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  transform: translateX(-50%);
  font-family: "input-mono", sans-serif;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
  color: #0000ff;
  pointer-events: none;
}

@media (max-width: 640px) {
  html,
  body {
    font-size: 13px;
    overflow-x: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 850;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .top-nav {
    top: 18px;
    left: 16px;
    right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 13px;
    line-height: 1.3;
    width: 28px;
    background: transparent;
  }

  .top-nav.is-open {
    width: calc(100vw - 32px);
  }

  .top-nav a {
    display: block;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition:
      max-height 0.24s ease,
      margin 0.24s ease,
      opacity 0.18s ease,
      transform 0.24s ease;
  }

  .top-nav.is-open a {
    max-height: 24px;
    margin-bottom: 10px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 28px;
    height: 24px;
    padding: 0;
    margin: 0 0 14px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px 0;
    background: #0000ff;
  }

  .nav-toggle:focus {
    outline: none;
  }

  .nav-toggle:focus-visible span,
  .nav-toggle:hover span {
    height: 3px;
  }

  .fixed-title {
    width: min(86vw, 420px);
    height: 170px;
  }

  .intro-text {
    width: calc(100vw - 48px);
    max-width: 340px;
    margin-top: -4px;
    font-size: 10px;
  }

  .image-scroll img {
    height: 100svh;
  }

  .work-list-page {
    display: block;
    padding: 104px 16px 96px 16px;
  }

  .work-list {
    position: sticky;
    top: 58px;
    z-index: 90;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 18px;
    width: calc(100vw - 32px);
    max-width: none;
    margin: 0 0 36px 0;
    padding: 8px 0 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    background: white;
    font-size: 13px;
    line-height: 1.4;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .work-list::-webkit-scrollbar {
    display: none;
  }

  .work-preview,
  .exhibition-preview,
  .press-preview {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 96px;
  }

  .year-group[data-year="2026"] {
    width: 100%;
  }

  .work-item,
  .work-item-small {
    width: 100%;
    margin: 0 0 70px 0;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .work-grid-medium {
    max-width: none;
  }

  .work-grid-compact {
    grid-template-columns: 1fr;
    gap: 70px;
    max-width: none;
  }

  .work-item figcaption {
    font-size: 10px;
    line-height: 1.45;
  }

  .artwork-slider .slider-images > img {
    object-fit: contain;
  }

  button.slider-arrow {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }

  button.slider-arrow-left {
    left: 4px;
  }

  button.slider-arrow-right {
    right: 4px;
  }

  .exhibition-page {
    display: block;
  }

  .exhibition-list {
    max-width: none;
    gap: 18px;
    font-size: 12px;
  }

  .exhibition-entry-content {
    width: 100%;
  }

  .exhibition-hero {
    margin-bottom: 12px;
  }

  .exhibition-image-grid {
    gap: 8px;
    margin-bottom: 30px;
  }

  .exhibition-entry p {
    font-size: 12px;
    line-height: 1.5;
  }

  .exhibition-meta {
    margin-bottom: 34px;
  }

  .exhibition-text {
    max-width: none;
  }

  .exhibition-text p {
    font-size: 11px;
    line-height: 1.55;
  }

  .cv-page,
  .press-page {
    padding: 104px 16px 96px 16px;
  }

  .cv-section p {
    padding-left: 0;
    text-indent: 0;
    font-size: 11px;
  }

  .cv-section span {
    width: auto;
    margin-right: 8px;
  }

  .press-group {
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 18px;
    margin-bottom: 38px;
  }

  .press-group h1 {
    font-size: 12px;
  }

  .press-item {
    font-size: 11px;
  }

  .image-lightbox {
    padding: 18px;
  }

  .image-lightbox-stage {
    width: 100%;
    height: 76svh;
  }

  .image-lightbox-arrow {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .image-lightbox-arrow-left {
    left: 8px;
  }

  .image-lightbox-arrow-right {
    right: 8px;
  }

  .image-lightbox-close {
    top: 18px;
    right: 18px;
  }

  .image-lightbox-caption {
    left: 16px;
    right: 16px;
    bottom: 18px;
    max-width: none;
    font-size: 10px;
  }

  .site-footer {
    bottom: 12px;
    width: calc(100vw - 32px);
    font-size: 9px;
  }
}
