html:has(body.home) {
  scrollbar-gutter: stable;
  scroll-behavior: auto;
}

html:has(body.home),
body.home {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
}

html.is-intro,
html.is-intro body {
  overflow: hidden;
  height: 100%;
}

.home-fit {
  width: 100%;
  height: calc(8160 / 2880 * 100vw);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.home-board {
  position: absolute;
  top: 0;
  left: 0;
  width: 2880px;
  height: 8160px;
  transform-origin: top left;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-kerning: none;
  font-feature-settings: "kern" 0;
}

.tracked {
  position: absolute;
  margin: 0;
  padding: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-kerning: none;
  font-feature-settings: "kern" 0;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--ink);
}

.tracked span {
  display: inline-block;
}

.nav-link {
  position: absolute;
  top: 41.3124px;
  font-size: 17.4391px;
  color: var(--ink);
  text-decoration: none;
}

.line {
  overflow: hidden;
}

.line > .line-inner {
  display: block;
  position: relative;
}

html.is-intro .line-inner {
  transform: translateY(-1.26em);
}

html.is-shown .line-inner {
  transform: none;
}

.hero-title {
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.tracked.hero-title > .hero-title-zoom {
  display: block;
  transform-origin: 0 0;
  transform-box: border-box;
}

.nav-link,
.header-logo {
  z-index: 2;
}

html.is-intro .hero-title {
  visibility: hidden;
}

html.is-intro:not(.is-loader-ready) .artboard {
  visibility: hidden;
}

html.is-intro:not(.is-transition) .loader-layer {
  background: var(--bg);
}

html.is-intro:not(.is-transition) .hero,
html:not(.is-shown) .selected-work,
html:not(.is-shown) .about,
html:not(.is-shown) .site-footer {
  visibility: hidden;
}

html.is-shown .loader-layer {
  display: none;
}

.header-logo {
  position: absolute;
  display: block;
  margin: 0;
  font-size: 88.52px;
  color: inherit;
  text-decoration: none;
}

.header-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.work-anchor {
  position: absolute;
  left: 0;
  top: 1820.6px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.hero {
  position: absolute;
  left: 0;
  top: 670.6953px;
  width: 2880px;
  height: 464.5634px;
  z-index: 0;
}

.hero-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 451.8198px;
  height: 464.5634px;
  overflow: hidden;
  transform: translate3d(2880px, 0, 0);
  will-change: transform;
}

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

.work-image {
  display: block;
  object-fit: cover;
}

.scroll-hit {
  position: absolute;
  left: 1355.03px;
  top: 1369.1063px;
  z-index: 2;
  width: 102.422px;
  height: 46.8937px;
  color: inherit;
  text-decoration: none;
}

.scroll-cue {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-align: center;
  color: inherit;
  pointer-events: none;
}

.scroll-chevron {
  position: absolute;
  left: 50%;
  top: 30.8937px;
  width: 22px;
  height: 12px;
  color: var(--ink);
  transform: translateX(-50%);
  display: block;
  pointer-events: none;
}

.scroll-chevron svg {
  display: block;
  width: 100%;
  height: 100%;
}

.intro {
  position: absolute;
  left: 156.7041px;
  margin: 0;
  font-size: 24.9453px;
  font-weight: 500;
  line-height: 1;
}

.copy {
  position: absolute;
  left: 156.7041px;
  top: 1683.4332px;
  margin: 0;
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1;
}

.section-title {
  position: absolute;
  left: 157.8px;
  top: 1977.3px;
  margin: 0;
  font-size: 89.67px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.section-link {
  position: absolute;
  right: 128.0782px;
  top: 2021.8px;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  margin: 0;
  font-size: 43.14px;
  font-weight: 400;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  transition: gap 0.4s cubic-bezier(0.33, 0, 0.2, 1);
}

.section-link:hover {
  gap: 4ch;
}

.section-link-arrow {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
  transform: rotate(0deg);
  transition: transform 0.4s cubic-bezier(0.33, 0, 0.2, 1);
}

.section-link:hover .section-link-arrow {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .section-link,
  .section-link-arrow {
    transition: none;
  }

  .section-link:hover {
    gap: 0.8em;
  }

  .section-link:hover .section-link-arrow {
    transform: none;
  }
}

.section-rule {
  position: absolute;
  left: 157.7955px;
  width: 2588.9179px;
  height: 1px;
  background: var(--ink);
  pointer-events: none;
}

.work-mat {
  position: absolute;
  display: block;
  overflow: hidden;
  background: #f2f2f2;
  color: inherit;
  text-decoration: none;
}

.work-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.42, 0, 0.58, 1);
}

.work-mat:hover .work-image {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .work-image {
    transition: none;
  }

  .work-mat:hover .work-image {
    transform: none;
  }
}

.work-title {
  position: absolute;
  margin: 0;
  font-size: 37.2072px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #5b5b59;
  transition: color 0.2s ease;
}

.work-card:has(.work-mat:hover, .work-title:hover, .work-price:hover, .work-arrow:hover) .work-title {
  color: #000;
}

.work-title a {
  color: inherit;
  text-decoration: none;
}

.work-price {
  position: absolute;
  margin: 0;
  font-size: 42.77px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
}

.work-arrow {
  position: absolute;
  display: block;
  width: 36px;
  height: 36px;
  color: var(--ink);
  text-decoration: none;
}

.work-arrow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(0deg);
  transition: transform 0.4s cubic-bezier(0.33, 0, 0.2, 1);
}

.work-card:has(.work-mat:hover, .work-title:hover, .work-price:hover, .work-arrow:hover) .work-arrow img {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .work-arrow img {
    transition: none;
  }

  .work-card:has(.work-mat:hover, .work-title:hover, .work-price:hover, .work-arrow:hover) .work-arrow img {
    transform: none;
  }
}

.about-title {
  top: 5990.9px;
}

.about-link {
  right: 141.6327px;
  top: 6024.6px;
}

.about-body {
  position: absolute;
  left: 1380px;
  margin: 0;
  font-size: 36px;
  font-weight: 300;
  line-height: 56px;
}

.exhibit-name,
.exhibit-date {
  position: absolute;
  margin: 0;
  font-size: 34.14px;
  font-weight: 400;
  line-height: 1;
}

.exhibit-name {
  left: 1380px;
}

.exhibit-date {
  right: 196px;
  text-align: right;
  color: #5b5b59;
  transition: color 0.2s ease;
}

.exhibit-name:hover + .exhibit-date,
.exhibit-date:hover {
  color: #000;
}

.exhibit-rule {
  position: absolute;
  left: 1382.8px;
  width: 1301.2px;
  height: 1px;
  background: #5b5b59;
  pointer-events: none;
}

.footer-logo {
  position: absolute;
  left: 124.36px;
  top: 7581.92px;
  display: block;
  width: 259.18px;
  height: 216.33px;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-social {
  position: absolute;
  top: 7909px;
  width: 37px;
  height: 37px;
  display: block;
}

.footer-social img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-copy {
  position: absolute;
  left: 160.8px;
  top: 7975.4px;
  margin: 0;
  font-size: 25.08px;
  font-weight: 400;
  line-height: 1;
  color: #5b5b59;
}

.footer-nav a {
  position: absolute;
  top: 7911.9px;
  margin: 0;
  font-size: 25.08px;
  font-weight: 400;
  line-height: 1;
  color: #5b5b59;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #000;
}

.footer-nav a.footer-legal {
  top: 7973.7px;
}

.footer-sep {
  position: absolute;
  width: 1px;
  height: 25.49px;
  background: #5b5b59;
  pointer-events: none;
}

/* Touch phones (incl. Safari desktop-site mode) + narrow viewports */
@media (max-width: 760px), ((hover: none) and (pointer: coarse)) {
  /*
    Grow the whole loader group 20% via layout (not transform) so iOS Safari
    actually shows the larger strips / MILLY HAWITT / ART, still centred.
  */
  body.home .loader-layer .loader-scale {
    inset: auto;
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
    transform: none;
  }
}

@media (max-width: 760px) {
  body.home .header-logo,
  body.work .header-logo {
    width: 190px !important;
    height: 158px !important;
  }

  body.home .nav-link,
  body.work .nav-link {
    font-size: 36px;
  }

  body.home .intro {
    font-size: 40px;
  }

  body.home .copy {
    font-size: 30px;
  }

  body.home .about-body {
    left: 1180px;
    font-size: 42px;
  }

  body.home .exhibit-name {
    left: 1180px;
  }

  body.home .exhibit-rule {
    left: 1182.8px;
    width: 1501.2px;
  }

  body.home .scroll-hit {
    left: 1340px;
    width: 200px;
    height: 72px;
  }

  body.home .scroll-cue {
    font-size: 32px;
  }

  body.home .scroll-chevron {
    top: 46px;
    width: 34px;
    height: 18px;
  }
}
