@font-face {
  font-family: "Univers LT Std";
  src:
    url("./fonts/UniversLTStd-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-bg: #ffffff;
  --ink: #151515;
  --muted: rgba(21, 21, 21, 0.62);
  --font-base: "Univers LT Std", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --overlay-dark: rgba(21, 21, 21, 0.68);
  --overlay-light: rgba(255, 255, 255, 0.92);
  --overlay-soft-light: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-base);
}

body {
  overflow-x: hidden;
}

html.has-custom-cursor,
html.has-custom-cursor body,
html.has-custom-cursor *,
html.has-custom-cursor a,
html.has-custom-cursor button {
  cursor: none;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

p,
h1 {
  margin: 0;
  font-weight: 300;
}

.site {
  min-height: 100vh;
  background: #ffffff;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  transform: translate3d(-999px, -999px, 0);
  background: radial-gradient(
    circle,
    rgba(217, 215, 191, 0.98) 0%,
    rgba(217, 215, 191, 0.96) 24%,
    rgba(217, 215, 191, 0.82) 42%,
    rgba(217, 215, 191, 0.28) 70%,
    rgba(217, 215, 191, 0.12) 84%,
    rgba(217, 215, 191, 0.04) 92%,
    rgba(217, 215, 191, 0) 100%
  );
  filter: blur(2.6px);
}

html.has-custom-cursor .custom-cursor {
  opacity: 1;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 28px 0;
}

.site-title,
.site-nav a,
.eyebrow,
.product-button {
  font-size: 0.66rem;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-column p,
.text-link,
.product-copy p {
  font-size: 0.74rem;
  line-height: 1.72;
  letter-spacing: 0.02em;
}

.site-title,
.site-nav {
  position: relative;
  z-index: 2;
}

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

.eyebrow {
  color: var(--muted);
}

.page-home {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100dvh;
}

.gallery-stage {
  position: relative;
  min-height: 100dvh;
  cursor: pointer;
  outline: none;
  overflow: hidden;
}

.site-title-home {
  position: absolute;
  top: 56%;
  left: 28px;
  z-index: 3;
  transform: translateY(-50%);
  color: var(--overlay-dark);
}

.site-nav-overlay {
  position: absolute;
  top: 56%;
  right: 28px;
  z-index: 3;
  transform: translateY(-50%);
  justify-content: center;
  color: var(--overlay-dark);
}

.page-home[data-text-tone="light"] .site-title-home,
.page-home[data-text-tone="light"] .site-nav-overlay,
.site-title-home[data-text-tone="light"],
.site-nav-overlay[data-text-tone="light"] {
  color: var(--overlay-light);
  text-shadow: 0 0 14px rgba(21, 21, 21, 0.18);
}

.page-home[data-text-tone="soft-light"] .site-title-home,
.page-home[data-text-tone="soft-light"] .site-nav-overlay,
.site-title-home[data-text-tone="soft-light"],
.site-nav-overlay[data-text-tone="soft-light"] {
  color: var(--overlay-soft-light);
  text-shadow: 0 0 12px rgba(21, 21, 21, 0.14);
}

.page-home[data-text-tone="dark"] .site-title-home,
.page-home[data-text-tone="dark"] .site-nav-overlay,
.site-title-home[data-text-tone="dark"],
.site-nav-overlay[data-text-tone="dark"] {
  color: var(--overlay-dark);
  text-shadow: none;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-layout {
  width: 100%;
  height: 100%;
}

.gallery-slide-fullbleed,
.gallery-image-fullbleed {
  width: 100vw;
  height: 100dvh;
}

.gallery-image {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.gallery-slide-fullbleed {
  inset: 0;
}

.gallery-layout-full-bleed,
.gallery-layout-split-dual,
.gallery-layout-portrait-center,
.gallery-layout-portrait-pair,
.gallery-layout-portrait-left,
.gallery-layout-portrait-right,
.gallery-layout-landscape-center,
.gallery-layout-landscape-left,
.gallery-layout-landscape-right {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.gallery-media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--media-ratio, 3 / 2);
  transform: translate3d(var(--shift-x, 0px), var(--shift-y, 0px), 0);
  will-change: transform;
  overflow: hidden;
}

.gallery-media-placeholder {
  background: #d8cec2;
}

.gallery-layout-full-bleed {
  position: absolute;
  inset: 0;
}

.gallery-layout-split-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

.gallery-layout-split-dual .gallery-media {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.gallery-media-fullbleed {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.gallery-layout-portrait-center,
.gallery-layout-portrait-pair,
.gallery-layout-portrait-left,
.gallery-layout-portrait-right,
.gallery-layout-landscape-center,
.gallery-layout-landscape-left,
.gallery-layout-landscape-right {
  display: grid;
  width: 100%;
  height: 100%;
  align-content: center;
}

.gallery-layout-portrait-center {
  justify-items: center;
  padding: 11vh 12vw 14vh;
}

.gallery-layout-portrait-center .gallery-media {
  width: min(33.15vw, 447px);
}

.gallery-slide:first-child .gallery-layout-portrait-center .gallery-media {
  width: min(39vw, 525px);
}

.gallery-layout-portrait-pair {
  grid-template-columns: repeat(2, minmax(0, auto));
  justify-content: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding: 10vh 8vw 14vh;
}

.gallery-layout-portrait-pair .gallery-media {
  width: min(33.15vw, 447px);
}

.gallery-layout-portrait-left {
  justify-items: start;
  padding: 10vh 12vw 14vh 20vw;
}

.gallery-layout-portrait-left .gallery-media {
  width: min(33.15vw, 447px);
}

.gallery-layout-portrait-right {
  justify-items: end;
  padding: 10vh 20vw 14vh 12vw;
}

.gallery-layout-portrait-right .gallery-media {
  width: min(33.15vw, 447px);
}

.gallery-layout-landscape-center {
  justify-items: center;
  padding: 13vh 8vw 18vh;
}

.gallery-layout-landscape-center .gallery-media {
  width: min(47vw, 638px);
}

.gallery-slide:nth-child(3) .gallery-layout-landscape-center .gallery-media {
  width: min(70.5vw, 957px);
}

.gallery-layout-landscape-left {
  justify-items: start;
  padding: 13vh 12vw 18vh;
}

.gallery-layout-landscape-left .gallery-media {
  width: min(47vw, 638px);
}

.gallery-layout-landscape-right {
  justify-items: center;
  padding: 13vh 8vw 18vh;
}

.gallery-layout-landscape-right .gallery-media {
  width: min(47vw, 638px);
  margin-left: min(8vw, 110px);
}

.page-product,
.page-text {
  display: flex;
  flex-direction: column;
}

.page-product .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: transparent;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 8vw;
  align-items: start;
  padding: 0 6vw 8vh 0;
}

.product-visual {
  min-height: 100vh;
  display: grid;
  align-items: stretch;
  justify-items: stretch;
  margin-bottom: -8vh;
}

.product-object {
  width: 100%;
  height: 100%;
}

.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.product-copy {
  max-width: 27rem;
  padding-top: 22vh;
}

.product-title {
  margin-top: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-price {
  margin-bottom: 1.8rem;
}

.product-copy p + p {
  margin-top: 1rem;
}

.product-description {
  display: contents;
}

.product-button {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(21, 21, 21, 0.42);
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-align: center;
  width: 100%;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  border: 0;
  background: #000000;
  color: #ffffff;
  font-size: 0.54rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  padding: 0;
  cursor: pointer;
}

.page-home[data-text-tone="light"] .cart-count,
.cart-count[data-text-tone="light"] {
  background: #ffffff;
  color: #151515;
}

.page-home[data-text-tone="soft-light"] .cart-count,
.cart-count[data-text-tone="soft-light"] {
  background: rgba(255, 255, 255, 0.78);
  color: #151515;
}

.page-home[data-text-tone="dark"] .cart-count,
.cart-count[data-text-tone="dark"] {
  background: #000000;
  color: #ffffff;
}

.cart-count.is-hidden {
  display: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100vw);
  height: 100vh;
  padding: 22px 24px 28px;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 320ms ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(21, 21, 21, 0.12);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
  z-index: 9;
}

.site.is-cart-open .cart-overlay {
  opacity: 1;
}

.site.is-cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer__header,
.cart-drawer__total,
.cart-item__topline,
.cart-item__meta,
.cart-item__controls {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer__header,
.cart-item__meta {
  align-items: flex-start;
}

.cart-drawer__title,
.cart-item__eyebrow,
.cart-item__name,
.cart-item__price,
.cart-drawer__total p,
.cart-drawer__checkout,
.cart-item__remove,
.cart-item__controls button,
.cart-item__controls span,
.cart-drawer__close {
  font-size: 0.66rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-drawer__close,
.cart-item__remove,
.cart-item__controls button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cart-drawer__body {
  flex: 1;
  padding-top: 2.4rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
}

.cart-item.is-hidden {
  display: none;
}

.cart-item__image {
  background: #f4f2ed;
  aspect-ratio: 0.88;
  overflow: hidden;
}

.cart-item__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

.cart-item__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item__topline,
.cart-item__meta {
  align-items: baseline;
}

.cart-item__meta {
  flex-direction: column;
  gap: 0.2rem;
}

.cart-item__name {
  max-width: 14ch;
}

.cart-item__price {
  margin-top: auto;
}

.cart-item__controls {
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
}

.cart-drawer__footer {
  padding-top: 1.5rem;
}

.cart-drawer__total {
  margin-bottom: 1.5rem;
}

.cart-drawer__checkout {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 0;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  text-align: center;
}

.text-page {
  display: grid;
  grid-template-columns: minmax(260px, 32rem) 1fr;
  gap: 10vw;
  min-height: calc(100vh - 76px);
  padding: 8vh 10vw 10vh 28px;
}

.text-column {
  max-width: 30rem;
}

.text-column > * + * {
  margin-top: 1.2rem;
}

.text-list {
  padding-top: 1.4rem;
}

.text-link {
  display: block;
  width: fit-content;
}

.text-space {
  min-height: 20vh;
}

@media (max-width: 980px) {
  .product-page,
  .text-page {
    grid-template-columns: 1fr;
  }

  .product-page {
    gap: 4rem;
    padding-left: 0;
    padding-right: 28px;
  }

  .product-visual {
    min-height: auto;
  }

  .product-object {
    width: min(62vw, 420px);
    height: auto;
  }

  .text-page {
    gap: 3rem;
    padding-right: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 20px 0;
  }

  .site-title,
  .site-nav a,
  .eyebrow,
  .product-button {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .text-column p,
  .text-link,
  .product-copy p {
    font-size: 0.7rem;
  }

  .gallery-stage {
    min-height: 100dvh;
  }

  .site-title-home {
    left: 20px;
  }

  .site-nav-overlay {
    right: 20px;
    width: auto;
    gap: 16px;
  }

  .cart-count {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.5rem;
  }

  .gallery-layout-portrait-center,
  .gallery-layout-portrait-pair,
  .gallery-layout-portrait-left,
  .gallery-layout-portrait-right,
  .gallery-layout-split-dual,
  .gallery-layout-landscape-center,
  .gallery-layout-landscape-left,
  .gallery-layout-landscape-right {
    padding: 0;
  }

  .gallery-slide:not(.gallery-slide-fullbleed) .gallery-layout {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .gallery-slide[data-mobile-layout="portrait-center"] .gallery-layout {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .gallery-slide[data-mobile-layout="portrait-center"] .gallery-media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 86vw;
    max-width: 360px;
    transform: translate(-50%, -50%);
  }

  .gallery-slide:first-child[data-mobile-layout="portrait-center"] .gallery-media {
    width: min(92vw, 400px);
    max-width: none;
  }

  .gallery-slide[data-mobile-layout="split-dual-mobile"] .gallery-layout {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .gallery-slide[data-mobile-layout="split-dual-mobile"] .gallery-media {
    position: absolute;
    left: 0;
    width: 100vw;
    max-width: none;
    aspect-ratio: auto;
  }

  .gallery-slide[data-mobile-layout="split-dual-mobile"] .gallery-media:first-child {
    top: 0;
    height: 50dvh;
  }

  .gallery-slide[data-mobile-layout="split-dual-mobile"] .gallery-media:last-child {
    bottom: 0;
    height: 50dvh;
  }

  .gallery-slide[data-mobile-layout="portrait-pair-mobile"] .gallery-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: center;
    padding: 8vh 16px 12vh;
  }

  .gallery-slide[data-mobile-layout="portrait-pair-mobile"] .gallery-media {
    width: 100%;
    max-width: none;
  }

  .gallery-slide[data-mobile-layout="portrait-pair-top-mobile"] .gallery-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
    padding: 7vh 16px 0;
  }

  .gallery-slide[data-mobile-layout="portrait-pair-top-mobile"] .gallery-media {
    width: 100%;
    max-width: none;
  }

  .gallery-slide[data-mobile-layout="portrait-center-first-only"] .gallery-layout {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .gallery-slide[data-mobile-layout="portrait-center-first-only"] .gallery-media:first-child {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 86vw;
    max-width: 360px;
    transform: translate(-50%, -50%);
  }

  .gallery-slide[data-mobile-layout="portrait-center-first-only"] .gallery-media:last-child {
    display: none;
  }

  .gallery-slide[data-mobile-layout="portrait-pair-stack-mobile"] .gallery-layout {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    gap: 16px;
    padding: 7vh 0 0;
  }

  .gallery-slide[data-mobile-layout="portrait-pair-stack-mobile"] .gallery-media {
    width: min(48vw, 210px);
    max-width: none;
  }

  .gallery-slide[data-mobile-layout="portrait-single-reference-mobile"] .gallery-layout {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .gallery-slide[data-mobile-layout="portrait-single-reference-mobile"] .gallery-media:first-child {
    position: absolute;
    top: 19.5vh;
    left: 50%;
    width: min(98vw, 432px);
    max-width: none;
    transform: translateX(-50%);
  }

  .gallery-slide[data-mobile-layout="portrait-single-reference-mobile"] .gallery-media:last-child {
    display: none;
  }

  .gallery-slide[data-mobile-layout="portrait-second-only-mobile"] .gallery-layout {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .gallery-slide[data-mobile-layout="portrait-second-only-mobile"] .gallery-media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 86vw;
    max-width: 360px;
    transform: translate(-50%, -50%);
  }

  .gallery-slide[data-mobile-layout="portrait-second-only-mobile"] .gallery-media:first-child {
    display: none;
  }

  .gallery-slide[data-mobile-layout="portrait-first-only-mobile"] .gallery-layout {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .gallery-slide[data-mobile-layout="portrait-first-only-mobile"] .gallery-media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 86vw;
    max-width: 360px;
    transform: translate(-50%, -50%);
  }

  .gallery-slide[data-mobile-layout="portrait-first-only-mobile"] .gallery-media:last-child {
    display: none;
  }

  .gallery-slide[data-mobile-layout="portrait-left"] .gallery-layout {
    display: grid;
    align-content: center;
    justify-items: start;
    padding: 8vh 0 12vh;
  }

  .gallery-slide[data-mobile-layout="portrait-left"] .gallery-media {
    width: 86vw;
    max-width: 360px;
  }

  .gallery-slide[data-mobile-layout="portrait-right"] .gallery-layout {
    display: grid;
    align-content: center;
    justify-items: end;
    padding: 8vh 0 12vh;
  }

  .gallery-slide[data-mobile-layout="portrait-right"] .gallery-media {
    width: 86vw;
    max-width: 360px;
  }

  .gallery-slide[data-mobile-layout="landscape-top"] .gallery-layout,
  .gallery-slide[data-mobile-layout="landscape-middle"] .gallery-layout,
  .gallery-slide[data-mobile-layout="landscape-bottom"] .gallery-layout {
    position: relative;
  }

  .gallery-slide[data-mobile-layout="landscape-top"] .gallery-media,
  .gallery-slide[data-mobile-layout="landscape-middle"] .gallery-media,
  .gallery-slide[data-mobile-layout="landscape-bottom"] .gallery-media {
    position: absolute;
    left: 0;
    width: 100vw;
    max-width: none;
  }

  .gallery-slide[data-mobile-layout="landscape-top"] .gallery-media {
    top: 8vh;
  }

  .gallery-slide[data-mobile-layout="landscape-middle"] .gallery-media {
    top: 50%;
    left: 50%;
    width: 240vw;
    transform: translate3d(calc(-50% + var(--shift-x, 0px)), calc(-50% + var(--shift-y, 0px)), 0);
  }

  .gallery-slide:nth-child(3)[data-mobile-layout="landscape-middle"] .gallery-media {
    top: 42.5%;
    width: 112vw;
  }

  .gallery-slide[data-mobile-layout="landscape-bottom"] .gallery-media {
    bottom: 8vh;
  }

  .gallery-slide[data-mobile-layout="landscape-top"] .gallery-image,
  .gallery-slide[data-mobile-layout="landscape-middle"] .gallery-image,
  .gallery-slide[data-mobile-layout="landscape-bottom"] .gallery-image {
    width: 100%;
    height: 100%;
  }

  .product-page,
  .text-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-product .site-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-page {
    padding: 0 0 32px;
    gap: 1.5rem;
  }

  .product-visual {
    min-height: auto;
    margin-bottom: 0;
  }

  .product-object {
    width: 100%;
    height: 60vh;
  }

  .product-copy {
    padding: 0 16px;
    padding-top: 0;
  }

  .product-title {
    margin-bottom: 0.7rem;
  }

  .product-price {
    margin-bottom: 0;
  }

  .product-description {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 500ms ease,
      opacity 320ms ease,
      margin 320ms ease;
  }

  .page-product.is-description-visible .product-description {
    max-height: 320px;
    opacity: 1;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
  }

  .product-button {
    display: block;
    margin-top: 1rem;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  .page-product.is-description-visible .product-button {
    margin-top: 0;
  }

  .cart-drawer {
    width: 80vw;
    padding: 18px 16px 24px;
  }

  .cart-overlay {
    right: 80vw;
  }

  .cart-item {
    grid-template-columns: 96px 1fr;
  }

  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor *,
  html.has-custom-cursor a,
  html.has-custom-cursor button {
    cursor: auto;
  }

  .custom-cursor {
    display: none;
  }
}
