@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=DM+Mono:wght@400;500&display=swap');
:root {
  --black: #0b0b0c;
  --ivory: #f1e4c8;
  --brass: #a98963;
  --mono: 'DM Mono',monospace;
  --serif: 'Cormorant Garamond',Georgia,serif;
  color-scheme: dark
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 14px
}

body.loading {
  overflow: hidden
}

a {
  color: inherit;
  text-decoration: none
}

button,a {
  -webkit-tap-highlight-color: transparent
}

a:focus-visible {
  outline: 1px solid var(--ivory);
  outline-offset: 8px
}

::selection {
  background: var(--brass);
  color: var(--black)
}

.skip {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: var(--ivory);
  color: var(--black);
  padding: 15px
}

.skip:focus {
  top: 20px
}

.eyebrow {
  font-size: 14px;
  letter-spacing: .21em;
  line-height: 1.8;
  font-weight: 400
}

header {
  height: 100px;
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5vw;
  z-index: 10;
  font-size: 14px;
  letter-spacing: .13em
}

header .wordmark {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: .04em
}

header .wordmark>span:first-child {
  font-style: italic
}

.mark-dot {
  color: var(--brass)
}

.header-center {
  color: #c4b8a4;
  font-size: 14px;
  letter-spacing: .22em
}

.plus {
  font-size: 20px;
  vertical-align: -2px;
  margin-left: 12px
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 25px;
  transition: opacity .7s,visibility .7s
}

#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.loader-name {
  font-family: var(--serif);
  font-size: 90px
}

.load-track {
  width: 180px;
  height: 1px;
  background: #34302a
}

.load-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brass);
  transition: width .2s
}

#load-percent {
  font-size: 14px;
  color: var(--brass)
}

#cinema {
  position: relative
}

.stage {
  height: 100svh;
  position: sticky;
  top: 0;
  overflow: hidden;
  background: #0b0b0c;
  margin-bottom: -100svh
}

.stage canvas {
  width: 100%;
  height: 100%;
  display: block
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.15),transparent 60%,rgba(0,0,0,.6));
  pointer-events: none
}

.door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  pointer-events: none;
  will-change: transform;
  background: linear-gradient(90deg,#090909,#1a1713 6%,#0d0d0d 12%,#0f0e0c 97%,#8b6c40 99%,#14100c);
  opacity: .98
}

.door.is-opening-for-project {
  transition: transform 300ms ease-out;
}

.door-left {
  left: 0;
  border-right: 1px solid #9a7446
}

.door-right {
  right: 0;
  transform: scaleX(-1);
  border-left: 1px solid #9a7446
}

.door:after {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px solid #393022
}

.overlay {
  position: absolute;
  z-index: 3
}

.hero {
  inset: 22% 4.5vw auto;
  max-width: 1100px
}

.hero .eyebrow {
  color: var(--brass);
  margin: 0 0 22px
}

h1,h2,p {
  margin-top: 0
}

h1 {
  font: 400 clamp(66px,7.8vw,128px)/.92 var(--serif);
  letter-spacing: -.045em;
  margin-bottom: 30px
}

h1 em {
  font-weight: 400;
  color: #e1c9a3
}

.hero-note {
  font-size: 14px;
  line-height: 1.9;
  color: #c8bda9;
  margin: 0 0 30px
}

.enter {
  display: inline-flex;
  gap: 45px;
  align-items: center;
  border-bottom: 1px solid #6b5943;
  padding: 12px 0;
  font-size: 14px;
  letter-spacing: .15em
}

.enter span {
  font-size: 20px
}

.scroll-chapter {
  height: 180svh;
  pointer-events: none
}

.walk-chapter {
  height: 420svh
}

.wall-chapter {
  height: 180svh
}

.stage-bottom {
  position: absolute;
  bottom: 30px;
  left: 4.5vw;
  right: 4.5vw;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  font-size: 10px;
  letter-spacing: .14em;
  color: #dfd0b6
}

.bottom-center {
  color: #aa9a83
}

.progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #27221b
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brass)
}

.exhibit {
  top: 38%;
  left: 58%;
  max-width: 34%;
  padding: 20px 0 20px 25px;
  border-left: 1px solid var(--brass);
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 2px 20px #000
}

.exhibit:before {
  content: '';
  position: absolute;
  left: -100px;
  top: 20px;
  width: 100px;
  height: 1px;
  background: var(--brass)
}

.exhibit .eyebrow {
  color: #d6b68b
}

.exhibit h2 {
  font: 400 clamp(35px,4vw,67px)/1 var(--serif);
  letter-spacing: -.025em;
  margin: 17px 0
}

.exhibit p {
  line-height: 1.9;
  color: #d7cdbd;
  max-width: 350px;
  font-size: 14px
}

.exhibit a {
  display: inline-block;
  font-size: 14px;
  letter-spacing: .15em;
  border-bottom: 1px solid #a9896360;
  padding: 10px 0;
  pointer-events: auto
}

.wall {
  inset: 20% 5vw auto;
  text-align: center;
  opacity: 0;
  pointer-events: none
}

.wall .eyebrow {
  color: var(--brass)
}

.wall h2 {
  font: 400 clamp(130px,24vw,360px)/1 var(--serif);
  letter-spacing: -.06em;
  margin: 15px 0 20px;
  color: #d4ba8e;
  text-shadow: 1px 1px 0 #f8e5b755,-3px -3px 2px #000,0 0 50px #b3893633
}

.wall>p:last-child {
  font: italic 400 clamp(22px,2.5vw,38px) var(--serif)
}

.work {
  padding: 110px 7vw 100px;
  position: relative;
  background: var(--black)
}

.section-top {
  display: flex;
  justify-content: space-between;
  color: var(--brass)
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 40px 0 60px
}

.work-heading h2 {
  font: 400 clamp(65px,8vw,120px)/.9 var(--serif);
  letter-spacing: -.05em;
  margin: 0
}

.work-heading h2 em {
  color: #c3ab87;
  font-weight: 400
}

.work-heading p {
  color: #ab9f8d;
  line-height: 1.9;
  margin: 0
}

.work-row {
  border-top: 1px solid #3b342b;
  display: grid;
  grid-template-columns: 45px 1.2fr 1fr 70px 25px;
  gap: 22px;
  align-items: center;
  padding: 35px 0;
  transition: color .3s,padding .3s
}

.work-row:last-child {
  border-bottom: 1px solid #3b342b
}

.work-row:hover {
  color: #fff4dd;
  padding-left: 12px
}

.work-number,.work-year {
  font-size: 14px;
  color: var(--brass)
}

.work-title {
  font: 400 32px/1.1 var(--serif)
}

.work-type {
  display: block;
  font: 14px/1.5 var(--mono);
  color: #8f8474;
  letter-spacing: .08em;
  margin-top: 10px
}

.work-result {
  font-size: 14px;
  line-height: 1.9;
  color: #b7ac9b
}

.row-arrow {
  font-size: 23px;
  color: var(--brass)
}

.archive {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--brass)
}

.contact {
  padding: 85px 7vw 0;
  background: radial-gradient(ellipse at 90% 50%,#211a12 0,transparent 60%),#100f0d;
  border-top: 1px solid #312a21
}

.contact>.eyebrow {
  color: var(--brass)
}

.contact h2 {
  position: relative;
  font: 400 clamp(100px,15vw,220px)/.82 var(--serif);
  letter-spacing: -.05em;
  margin: 55px 0 45px
}

.contact h2 em {
  font-weight: 400
}

.contact-star {
  position: absolute;
  right: 3vw;
  top: 20px;
  font-size: clamp(70px,13vw,190px);
  color: var(--brass);
  font-family: Georgia,serif
}

.email {
  font: 400 clamp(21px,2.5vw,37px) var(--serif);
  color: #d1b183;
  border-bottom: 1px solid #786044;
  padding: 10px 0;
  display: inline-flex;
  gap: 65px
}

footer {
  margin-top: 100px;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #383025;
  color: #9a8b76;
  font-size: 14px;
  letter-spacing: .12em
}

.noscript-note {
  padding: 40px
}

.noscript-note a {
  text-decoration: underline
}

@media(max-width:700px) {
  header {
    height: 80px;
    padding: 0 6vw
  }

  .header-center {
    display: none
  }

  .door:after {
    inset-block: 3vw;
    inset-inline: 3vw 1vw
  }

  .hero {
    left: 6%;
    right: 52%;
    top: 24%
  }

  h1 {
    font-size: clamp(52px,11vw,78px)
  }

  .hero .eyebrow {
    font-size: 14px;
    letter-spacing: .03em;
    hyphens: auto;
    overflow-wrap: anywhere
  }

  .hero-note {
    font-size: 14px
  }

  .exhibit {
    left: 12%;
    top: 46%;
    max-width: 78%;
    background: linear-gradient(90deg,#0b0b0caa,transparent);
    padding-left: 20px
  }

  .exhibit:before {
    width: 40px;
    left: -40px
  }

  .exhibit h2 {
    font-size: 43px
  }

  .exhibit p {
    font-size: 14px
  }

  .stage-bottom {
    left: 6vw;
    right: 6vw;
    font-size: 14px
  }

  .bottom-center {
    display: none
  }

  .wall {
    top: 30%
  }

  .wall h2 {
    font-size: 42vw
  }

  .wall .eyebrow {
    font-size: 14px
  }

  .work {
    padding: 75px 6vw 60px
  }

  .section-top {
    gap: 20px
  }

  .section-top .eyebrow {
    font-size: 14px
  }

  .work-heading {
    display: block;
    margin: 25px 0 35px
  }

  .work-heading h2 {
    font-size: 67px
  }

  .work-heading p {
    margin-top: 25px;
    font-size: 14px
  }

  .work-row {
    grid-template-columns: 25px 1fr 40px;
    gap: 12px;
    padding: 26px 0
  }

  .work-title {
    font-size: 29px
  }

  .work-result {
    grid-column: 2;
    grid-row: 2;
    margin: 0
  }

  .work-year {
    grid-column: 3;
    grid-row: 1
  }

  .row-arrow {
    grid-column: 3;
    grid-row: 2
  }

  .contact {
    padding: 65px 6vw 0
  }

  .contact>.eyebrow {
    font-size: 14px
  }

  .contact h2 {
    font-size: 24vw
  }

  .contact-star {
    font-size: 17vw;
    top: 20px;
    right: 0
  }

  .email {
    font-size: 25px;
    gap: 40px
  }

  footer {
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 70px;
    font-size: 14px
  }

  footer>span:nth-child(2) {
    display: none
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none!important
  }

  .door {
    display: none
  }

  .scroll-chapter {
    height: 120svh
  }

  .walk-chapter {
    height: 240svh
  }

  .wall-chapter {
    height: 120svh
  }

}

.chen-name {
  font-size: clamp(140px,21vw,310px);
  line-height: .8;
  margin: 25px 0 35px
}

.chen-name span {
  color: var(--brass)
}

@media(max-width:700px) {
  .chen-name {
    font-size: min(17vw, 108px);
    margin: 22px 0
  }

}
