@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --forest: #060807;
  --deep: #080e0a;
  --ivory: #eeeae0;
  --gold: #d6c196;
  --quiet: #a9ada3;
  --rule: #d6c19632;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --margin: clamp(22px, 5.1vw, 82px);
  --measure: 1440px;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
section[id] { scroll-margin-top: 18px; }
.wrap {
  width: min(100%, var(--measure));
  margin-inline: auto;
  padding-inline: var(--margin);
}
.caps {
  font-size: .7rem;
  font-weight: 550;
  letter-spacing: .17em;
  line-height: 1.45;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 12px;
  background: var(--ivory);
  color: var(--forest);
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 80px;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(15px, 1.27vw, 19px);
  letter-spacing: .095em;
  line-height: 1.15;
  white-space: nowrap;
}
.brand img { width: 26px; }
.nav, .nav-list { display: flex; align-items: center; }
.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  gap: clamp(20px, 3vw, 46px);
}
.nav a, .header-viewing {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
}
.nav a { color: var(--quiet); }
.nav a:hover { color: var(--ivory); }
.header-viewing { justify-self: end; color: var(--gold); }
.menu-toggle, .nav-viewing { display: none; }
.arrow { font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.works-navigation { border-bottom: 1px solid var(--rule); }
.works-navigation__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 46px;
  gap: 0 clamp(12px, 2.4vw, 30px);
}
.works-navigation__label { color: var(--quiet); white-space: nowrap; }
.works-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(12px, 2vw, 25px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.works-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ivory);
  font-size: .85rem;
  text-underline-offset: 5px;
}
.works-navigation a[aria-current="page"], .works-navigation a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .40fr) minmax(0, .60fr);
  align-items: center;
  gap: clamp(24px, 3.4vw, 54px);
  padding-block: clamp(26px, 4vh, 50px) clamp(28px, 5vh, 62px);
}
.hero-copy { position: relative; z-index: 1; padding-block: 12px; }
.hero-credit { margin-bottom: 22px; color: var(--gold); }
.hero h1 {
  font-size: clamp(56px, min(7vw, 11vh), 110px);
  line-height: .85;
  letter-spacing: -.047em;
}
.hero h1 em {
  display: block;
  margin-top: .09em;
  color: #e5d5b9;
  font-weight: 400;
}
.hero-description {
  margin-top: clamp(26px, 3.5vw, 43px);
  max-width: 34ch;
  color: var(--quiet);
  font-size: clamp(.94rem, 1.28vw, 1.06rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 27px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}
.button:hover { background: var(--gold); color: var(--deep); }
.hero-edition { color: var(--quiet); white-space: nowrap; }
.hero-figure {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin-block-start: clamp(24px, 3.2vh, 36px);
}
.hero-figure::before {
  position: absolute;
  z-index: -1;
  inset: -2% -7% 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse 34% 5% at 50% 88%, rgb(0 0 0 / .65), transparent),
    radial-gradient(ellipse 46% 49% at 50% 46%, #253f32, #101e16 61%, transparent 100%);
}
.bag-viewer {
  position: relative;
  isolation: isolate;
  width: min(100%, 735px, max(410px, calc(100svh - 106px)));
  margin-inline: auto;
}
.bag-viewer[data-ready] {
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.bag-viewer[data-dragging] { cursor: grabbing; }
.bag-viewer:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.bag-viewer::before,
.bag-viewer::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}
.bag-viewer::before {
  background: radial-gradient(ellipse 39% 5% at 50% 86%, #070a08, #242723);
  clip-path: polygon(
    8.612% 84.290%, 90.670% 84.290%, 91.069% 84.609%, 91.547% 85.167%,
    92.344% 86.124%, 93.461% 87.400%, 94.498% 88.517%, 95.375% 89.793%,
    95.455% 90.431%, 95.534% 100.000%, 4.306% 100.000%, 4.306% 90.431%,
    4.466% 89.713%, 5.423% 88.517%, 6.220% 87.400%, 7.097% 86.124%,
    7.815% 85.167%, 8.214% 84.609%
  );
}
.bag-viewer::after {
  background: url("assets/mecanique-celeste-studio.png") center / 100% 100% no-repeat;
  /* Leave the original bag out of this stationary plinth. */
  clip-path: polygon(evenodd,
    8.612% 84.290%, 90.670% 84.290%, 91.069% 84.609%, 91.547% 85.167%,
    92.344% 86.124%, 93.461% 87.400%, 94.498% 88.517%, 95.375% 89.793%,
    95.455% 90.431%, 95.534% 100.000%, 4.306% 100.000%, 4.306% 90.431%,
    4.466% 89.713%, 5.423% 88.517%, 6.220% 87.400%, 7.097% 86.124%,
    7.815% 85.167%, 8.214% 84.609%, 8.612% 84.290%, 13.078% 84.290%,
    86.284% 84.290%, 86.284% 87.400%, 85.566% 87.959%, 13.876% 87.959%,
    13.078% 87.400%, 13.078% 84.290%, 8.612% 84.290%
  );
}
.bag-viewer img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  pointer-events: none;
  transform: perspective(1100px) rotateY(var(--bag-angle, 0deg));
  transform-origin: 50% 88%;
  transition: transform 240ms ease-out;
  clip-path: polygon(evenodd,
    13.397% 35.965%, 13.557% 35.566%, 13.955% 35.327%, 15.311% 35.247%,
    15.470% 34.609%, 16.268% 34.211%, 32.855% 34.211%, 32.935% 33.333%,
    32.935% 31.499%, 33.014% 29.426%, 33.254% 27.512%, 33.493% 25.518%,
    33.812% 23.525%, 34.290% 21.531%, 34.769% 19.936%, 35.327% 18.341%,
    35.965% 16.746%, 36.762% 15.152%, 37.640% 13.557%, 38.756% 12.041%,
    39.872% 10.766%, 40.670% 9.888%, 41.467% 9.171%, 42.584% 8.293%,
    43.860% 7.496%, 45.056% 6.938%, 46.491% 6.459%, 47.289% 6.220%,
    48.565% 5.981%, 50.957% 5.981%, 52.233% 6.220%, 53.190% 6.459%,
    54.386% 6.938%, 55.502% 7.496%, 56.619% 8.293%, 57.735% 9.171%,
    58.533% 9.888%, 59.250% 10.766%, 60.287% 12.041%, 61.324% 13.557%,
    62.121% 15.152%, 62.839% 16.746%, 63.477% 18.341%, 64.035% 19.936%,
    64.434% 21.531%, 64.992% 23.525%, 65.311% 25.518%, 65.630% 27.512%,
    65.789% 29.506%, 65.949% 31.499%, 66.029% 33.333%, 66.108% 34.211%,
    83.413% 34.211%, 83.892% 34.370%, 84.131% 35.247%, 85.646% 35.327%,
    86.045% 35.646%, 86.124% 36.523%, 86.124% 43.062%, 86.045% 54.226%,
    86.045% 64.593%, 86.124% 75.120%, 86.204% 82.137%, 86.204% 86.045%,
    86.045% 87.161%, 85.726% 87.560%, 85.167% 87.799%, 74.561% 87.879%,
    49.841% 87.879%, 24.721% 87.879%, 14.195% 87.799%, 13.636% 87.640%,
    13.317% 87.321%, 13.158% 86.284%, 13.158% 82.137%, 13.238% 75.758%,
    13.317% 63.796%, 13.397% 54.226%, 13.397% 44.657%, 13.397% 39.075%,
    13.397% 35.965%, 35.965% 34.211%, 35.965% 33.333%, 35.885% 31.499%,
    35.965% 29.506%, 36.124% 27.512%, 36.443% 25.518%, 36.842% 23.525%,
    37.321% 21.531%, 37.879% 19.936%, 38.517% 18.341%, 39.314% 16.746%,
    40.191% 15.152%, 41.308% 13.557%, 42.663% 12.041%, 44.258% 10.766%,
    45.933% 9.888%, 47.608% 9.330%, 48.644% 9.171%, 49.522% 9.091%,
    50.478% 9.171%, 51.435% 9.330%, 53.110% 9.888%, 54.545% 10.766%,
    56.140% 12.041%, 57.416% 13.557%, 58.533% 15.152%, 59.410% 16.746%,
    60.128% 18.341%, 60.766% 19.936%, 61.244% 21.531%, 61.882% 23.525%,
    62.201% 25.518%, 62.520% 27.512%, 62.679% 29.506%, 62.839% 31.499%,
    62.839% 33.333%, 62.759% 34.211%, 35.965% 34.211%, 13.397% 35.965%
  );
}
.bag-viewer[data-dragging] img { transition: none; }
.bag-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  color: var(--quiet);
}
.bag-controls button { color: var(--gold); }
.gallery {
  border-top: 1px solid var(--rule);
}
.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, .74fr);
  align-items: center;
  gap: clamp(34px, 7vw, 108px);
  padding-block: clamp(54px, 8vw, 120px);
}
.art-frame {
  padding: clamp(8px, 1.25vw, 18px);
  border: 1px solid #d6c19673;
}
.artwork-detail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 679 / 501;
}
.artwork-detail img {
  position: absolute;
  inset-block-start: -128.743%;
  inset-inline-start: -13.697%;
  width: 127.246%;
  max-width: none;
}
.art-frame .artwork-detail img {
  filter: none;
}
.art-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 16px;
  margin-top: 8px;
}
.art-caption p {
  font: 1.28rem/1.4 var(--serif);
  color: var(--quiet);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.section-label { margin-bottom: 16px; color: var(--gold); }
.gallery .text-link { color: var(--gold); }
.section-title {
  font-size: clamp(46px, 5.5vw, 80px);
  letter-spacing: -.038em;
  line-height: .94;
  text-wrap: balance;
}
.body-copy {
  margin-top: 22px;
  max-width: 47ch;
  color: var(--quiet);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 84px);
  padding-bottom: clamp(58px, 7.5vw, 110px);
}
.facts section { border-top: 1px solid var(--rule); padding-top: 26px; }
.facts h2 {
  font-size: clamp(37px, 4.2vw, 59px);
  letter-spacing: -.035em;
  line-height: 1;
}
.facts .body-copy { margin-top: 15px; }
.viewing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: end;
  gap: clamp(36px, 8vw, 116px);
  padding-block: clamp(65px, 9.5vw, 135px);
}
.enquiry { border-top: 1px solid var(--rule); padding-top: 24px; }
.price {
  margin-bottom: 19px;
  color: var(--ivory);
  font: clamp(29px, 3.35vw, 49px)/1 var(--serif);
}
.legal-header {
  display: flex;
  min-height: 72px;
  align-items: center;
}
.legal-content { padding-block: clamp(65px, 9.5vw, 135px); }
.legal-section { margin-top: 36px; }
.legal-section h2 { font-family: var(--sans); }
.legal-section address { color: var(--quiet); font-style: normal; }
.legal-section .body-copy { margin-top: 0; }
.contact-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 18px;
  padding-block: 20px;
}
.site-footer small { color: var(--quiet); font-size: .76rem; }
.site-footer a { color: var(--gold); }
dialog {
  max-width: calc(100% - 34px);
  max-height: calc(100% - 34px);
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--deep);
  color: var(--ivory);
}
dialog::backdrop { background: #080e0bd9; }
.dialog-inner { padding: 24px clamp(22px, 4vw, 48px) 38px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.dialog-head .caps { color: var(--gold); }
.dialog-head button { margin-left: auto; }
.dialog-artwork { width: min(900px, calc(100vw - 104px), 97svh); }
.dialog-text { max-width: 520px; }
.dialog-text .section-title { margin-top: 12px; font-size: clamp(40px, 6vw, 60px); }
.dialog-note { margin-top: 18px; color: var(--gold); font-size: .9rem; }
@media (max-width: 880px) {
  .header-inner { min-height: 68px; gap: 16px; }
  .nav-list { gap: 17px; }
  .hero h1 { font-size: clamp(48px, 7.9vw, 69px); }
}
@media (max-width: 700px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { gap: 8px; }
  .brand img { width: 23px; }
  .header-viewing { display: none; }
  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gold);
    cursor: pointer;
  }
  .menu-icon { width: 13px; height: 6px; border-block: 1px solid; }
  .nav {
    display: none;
    position: absolute;
    z-index: 2;
    inset: 100% 0 auto;
    padding: 12px var(--margin) 18px;
    border-bottom: 1px solid var(--rule);
    background: var(--forest);
  }
  .nav[data-open] { display: block; }
  .nav-list { display: grid; gap: 0; }
  .nav-viewing { display: block; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 31px 18px;
  }
  .hero-copy { padding-block: 0; }
  .hero-credit { margin-bottom: 15px; }
  .hero h1 { font-size: clamp(45px, 11vw, 73px); }
  .hero h1 em { display: inline-block; margin-top: .07em; }
  .hero-description { margin-top: 17px; }
  .hero-actions { gap: 13px 18px; margin-top: 18px; }
  .hero-figure {
    margin-block-start: 12px;
    margin-inline: -8px;
  }
  .bag-viewer { width: min(100%, 460px); }
  .work-layout, .viewing-layout, .facts { grid-template-columns: minmax(0, 1fr); }
  .work-layout { gap: 25px; }
  .work-copy { grid-row: 1; }
  .viewing-layout, .facts { gap: 35px; }
}
@media (max-width: 380px) {
  .brand { font-size: .92rem; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 45px); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .bag-viewer img { transition: none; }
}
.work-pagination {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.second-work-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 735px, max(410px, calc(100svh - 106px)));
  aspect-ratio: 1;
  margin-block-start: clamp(24px, 3.2vh, 36px);
  margin-inline: auto;
  background: radial-gradient(ellipse 48% 50% at 50% 46%, #253f32, #101e16 61%, transparent);
}
.second-work-stage::before,
.second-work-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}
.second-work-stage::before {
  inset: 84.4% 4.5% 0;
  background: linear-gradient(#333630, #1d211c 37%, #3c4037 38%, #1b1e1a 39%, #101410);
  clip-path: polygon(6% 0, 94% 0, 100% 38%, 100% 100%, 0 100%, 0 38%);
}
.second-work-stage::after {
  inset: 86.6% 12.5% auto;
  height: 3.8%;
  background: radial-gradient(ellipse, rgb(1 4 2 / .9), transparent 72%);
}
.second-work-stage img {
  position: absolute;
  z-index: 1;
  inset-block-start: 2.7%;
  inset-inline-start: -10%;
  width: 120%;
  max-width: none;
  clip-path: inset(2% 17% 4.4%);
}
@media (max-width: 700px) {
  .second-work-stage { width: min(100%, 460px); margin-block-start: 12px; }
  .preview-hero .hero-inner { gap: 26px; padding-bottom: 32px; }
}
