:root {
  --ink: #201b16;
  --muted: #8d8175;
  --paper: #fbf9f4;
  --milk: #fffefb;
  --sand: #f1ebe2;
  --line: rgba(32, 27, 22, .11);
  --line-strong: rgba(32, 27, 22, .24);
  --accent: #9c725e;
  --sage: #8c9585;
  --progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  background: var(--milk);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1), visibility .8s;
}

.page-loader span {
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 300;
  font-style: italic;
  animation: loaderPulse 1.1s ease-in-out infinite;
}

body.is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
}

.cursor-light {
  position: fixed;
  inset: auto auto 0 0;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(173, 115, 88, .22), rgba(173, 115, 88, 0) 66%);
  transform: translate3d(calc(var(--mx, 50vw) - 50%), calc(var(--my, 50vh) - 50%), 0);
  z-index: 6;
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 4vw, 58px);
  color: #fff;
  mix-blend-mode: difference;
}

.brand {
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 38px);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 112px clamp(22px, 6vw, 86px) 92px;
  overflow: hidden;
  background: #211b16;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(22px, 6vw, 86px);
  right: clamp(22px, 6vw, 86px);
  bottom: 74px;
  height: 1px;
  background: rgba(255, 255, 255, .35);
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.04 + var(--progress) * .03));
  filter: saturate(.94) contrast(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 15, 11, .68), rgba(20, 15, 11, .20) 58%, rgba(20, 15, 11, .16)),
    linear-gradient(0deg, rgba(20, 15, 11, .62), transparent 58%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 820px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 18px;
  color: currentColor;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0 0 26px;
  font-size: clamp(92px, 20vw, 270px);
  line-height: .78;
  font-weight: 300;
  font-style: italic;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 6vw, 88px);
  line-height: .96;
  font-weight: 300;
  font-style: italic;
}

h3 {
  font-size: clamp(22px, 2.6vw, 38px);
  line-height: 1.08;
  font-weight: 400;
  font-style: italic;
}

.lead {
  max-width: 640px;
  margin-bottom: 36px;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.95;
  font-weight: 600;
}

.jp {
  font-family: "Noto Serif JP", serif;
  font-style: normal;
}

.round-link {
  display: inline-grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .45s, color .45s;
}

.round-link:hover {
  color: var(--ink);
  background: #fff;
  transform: rotate(-8deg) scale(1.06);
}

.hero-card {
  position: absolute;
  z-index: 2;
  right: clamp(34px, 9vw, 144px);
  bottom: clamp(118px, 17vh, 190px);
  width: clamp(120px, 18vw, 230px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 160px 160px 8px 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
  animation: floatPhoto 5.5s ease-in-out infinite;
}

.marquee {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  gap: 28px;
  width: max-content;
  white-space: nowrap;
  pointer-events: none;
}

.marquee span {
  font-size: clamp(62px, 12vw, 184px);
  line-height: .8;
  font-weight: 300;
  font-style: italic;
}

.marquee-top {
  bottom: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, .14);
  animation: marquee 18s linear infinite;
}

.marquee-bottom {
  top: 28px;
  color: rgba(32, 27, 22, .08);
  animation: marquee 22s linear infinite reverse;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 50%;
  color: #fff;
  font-weight: 500;
  backdrop-filter: blur(14px);
  animation: floaty 4.6s ease-in-out infinite;
}

.chip-a {
  right: 11%;
  top: 24%;
}

.chip-b {
  right: 24%;
  bottom: 19%;
  width: 116px;
  height: 116px;
  background: rgba(255, 255, 255, .10);
  animation-delay: -1.3s;
}

.scroll-cue {
  position: absolute;
  right: clamp(24px, 5vw, 70px);
  bottom: 36px;
  z-index: 4;
  width: 1px;
  height: 94px;
  background: rgba(255, 255, 255, .36);
}

.scroll-cue span {
  display: block;
  width: 3px;
  height: 26px;
  margin-left: -1px;
  background: #fff;
  animation: scrollCue 1.8s ease-in-out infinite;
}

.section-pad {
  padding: clamp(104px, 14vw, 190px) clamp(22px, 6vw, 86px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, .74fr);
  gap: clamp(48px, 9vw, 128px);
  background: var(--milk);
  border-bottom: 1px solid var(--line);
}

.intro-text {
  position: sticky;
  top: 126px;
  align-self: start;
}

.intro-text h2,
.gallery-copy h2,
.access-copy h2,
.closing-inner h2 {
  font-weight: 300;
}

.motion-stack {
  display: grid;
  border-top: 1px solid var(--line);
}

.motion-card {
  min-height: 226px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), color .35s;
}

.motion-card:hover {
  color: var(--accent);
  transform: translateX(18px);
}

.motion-card span,
.product-panel p {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.motion-card p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.8;
}

.horizontal-band {
  position: relative;
  min-height: 122vh;
  padding: clamp(92px, 12vw, 150px) 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.horizontal-band::before {
  content: "LOOKBOOK";
  position: absolute;
  left: -1vw;
  top: 48%;
  color: rgba(32, 27, 22, .035);
  font-size: clamp(92px, 20vw, 260px);
  font-weight: 300;
  font-style: italic;
  pointer-events: none;
}

.sticky-title {
  position: sticky;
  top: 104px;
  z-index: 2;
  max-width: 760px;
  padding: 0 clamp(22px, 6vw, 86px);
}

.rail {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  width: max-content;
  padding: 42vh clamp(22px, 6vw, 86px) 4px;
  transform: translate3d(calc(var(--progress) * -410px), 0, 0);
  transition: transform .08s linear;
}

.product-panel {
  width: min(70vw, 390px);
  min-height: 610px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.product-panel:nth-child(even) {
  margin-top: 72px;
}

.product-panel:hover {
  transform: translateY(-18px);
}

.panel-visual {
  display: block;
  width: 100%;
  height: 470px;
  margin-bottom: 24px;
  border-radius: 190px 190px 8px 8px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 28px 70px rgba(32, 27, 22, .12);
  transition: transform .65s cubic-bezier(.2, .8, .2, 1), filter .55s, border-radius .55s;
}

.product-panel:hover .panel-visual {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.03);
  border-radius: 8px 8px 190px 190px;
}

.product-panel h3 {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.gallery {
  background: var(--milk);
}

.gallery-copy {
  max-width: 900px;
  margin-bottom: clamp(40px, 7vw, 90px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: none;
  filter: saturate(.96);
}

.gallery-grid img:first-child {
  grid-row: span 2;
  border-radius: 220px 220px 8px 8px;
}

.access {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  background: var(--sand);
  border-top: 1px solid var(--line);
}

.orbital {
  position: relative;
  aspect-ratio: 1;
  min-height: 320px;
}

.ring,
.core {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
}

.ring {
  border: 1px solid rgba(32, 27, 22, .22);
}

.ring-a {
  animation: spin 8s linear infinite;
}

.ring-a::after,
.ring-b::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  top: 8%;
  left: 18%;
}

.ring-b {
  inset: 24%;
  transform: rotate(35deg);
  animation: spin 11s linear infinite reverse;
}

.ring-b::after {
  width: 14px;
  height: 14px;
  background: var(--sage);
}

.core {
  inset: 36%;
  background: radial-gradient(circle, #fff, #dfb78d 58%, rgba(173, 115, 88, .18));
  box-shadow: 0 0 80px rgba(173, 115, 88, .26);
  animation: softPulse 3.6s ease-in-out infinite;
}

dl {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  border-top: 1px solid var(--line-strong);
}

dl div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.9;
}

.closing {
  position: relative;
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding: 140px clamp(22px, 6vw, 86px);
  overflow: hidden;
  background: var(--milk);
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  text-align: center;
}

.closing .round-link {
  margin-top: 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(54px);
  transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1);
}

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

.slide-left {
  transform: translateX(-88px);
}

.slide-right {
  transform: translateX(88px);
}

.slide-left.is-visible,
.slide-right.is-visible {
  transform: translateX(0);
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: .34;
    transform: scale(.96) rotate(-4deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(4deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floatPhoto {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-20px) rotate(-1deg);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-20px) rotate(7deg);
  }
}

@keyframes scrollCue {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(66px);
    opacity: 0;
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
    filter: saturate(1);
  }
  50% {
    transform: scale(1.025);
    filter: saturate(1.16);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 820px) {
  .cursor-light {
    display: none;
  }

  .site-header {
    padding: 18px 20px;
  }

  .nav {
    gap: 14px;
    font-size: 11px;
  }

  .hero {
    min-height: 96vh;
    padding: 104px 20px 78px;
  }

  .hero::after {
    left: 20px;
    right: 20px;
    bottom: 66px;
  }

  .hero-bg {
    object-position: 58% center;
  }

  .lead {
    max-width: 350px;
  }

  .round-link {
    width: 104px;
    height: 104px;
  }

  .hero-card {
    display: none;
  }

  .float-chip {
    width: 62px;
    height: 62px;
  }

  .chip-a {
    right: 20px;
    top: 18%;
  }

  .chip-b {
    width: 82px;
    height: 82px;
    right: 20px;
    bottom: 16%;
  }

  .intro,
  .access,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .intro-text {
    position: relative;
    top: auto;
  }

  .motion-card {
    min-height: auto;
  }

  .rail {
    padding-top: 38vh;
    transform: translate3d(calc(var(--progress) * -320px), 0, 0);
  }

  .product-panel {
    width: 78vw;
    min-height: 520px;
  }

  .product-panel:nth-child(even) {
    margin-top: 44px;
  }

  .panel-visual {
    height: 360px;
  }

  .gallery-grid img:first-child {
    grid-row: auto;
  }

  .orbital {
    min-height: 260px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
