:root {
  --ink: #11110f;
  --graphite: #20211e;
  --paper: #f1f2ee;
  --bone: #d9ddd4;
  --steel: #9aa4a1;
  --glass: #49685f;
  --oxide: #a44734;
  --white: #ffffff;
  --line: rgba(17, 17, 15, 0.18);
  --shadow: rgba(17, 17, 15, 0.26);
  --display: "Bahnschrift", "Arial Narrow", "Aptos Display", sans-serif;
  --body: "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --mono: "Cascadia Mono", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding: 32px;
  color: var(--paper);
  background: var(--ink);
  transition: transform 700ms cubic-bezier(0.76, 0, 0.24, 1), opacity 700ms ease;
}

.loader.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.loader__brand {
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}

.loader__count {
  font-family: var(--mono);
  font-size: 7rem;
  line-height: 0.78;
}

.cursor-chip {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 242, 238, 0.65);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(17, 17, 15, 0.58);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-align: center;
  text-transform: lowercase;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 180ms ease, transform 180ms ease;
  mix-blend-mode: difference;
}

.cursor-chip.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.progress-ruler {
  position: fixed;
  z-index: 30;
  left: 22px;
  top: 50%;
  display: grid;
  grid-template-columns: auto 1px auto;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  mix-blend-mode: difference;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  pointer-events: none;
}

.progress-ruler__label,
.progress-ruler__percent {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: lowercase;
}

.progress-ruler__track {
  position: relative;
  display: block;
  width: 108px;
  height: 1px;
  background: rgba(241, 242, 238, 0.36);
}

.progress-ruler__track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: currentColor;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 18px 28px;
  color: var(--paper);
  mix-blend-mode: difference;
}

.brand-lockup {
  display: inline-grid;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 0.86;
  text-transform: uppercase;
}

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

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--oxide);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.72), rgba(17, 17, 15, 0.18) 56%, rgba(17, 17, 15, 0.36)),
    linear-gradient(0deg, rgba(17, 17, 15, 0.68), rgba(17, 17, 15, 0.02) 42%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
  padding: 128px 0 86px;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: lowercase;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--display);
  font-size: 8.2rem;
  font-weight: 800;
  line-height: 0.76;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero__copy {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: 1.28rem;
}

.hero__spec {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  display: flex;
  gap: 18px;
  color: rgba(241, 242, 238, 0.78);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: lowercase;
}

.text-button {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 34px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.94rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.text-button:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-2px);
}

.text-button--dark:hover {
  background: var(--ink);
  color: var(--paper);
}

.manifesto {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 102px max(32px, calc((100vw - 1220px) / 2)) 116px;
  background: var(--paper);
}

.manifesto__label {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: lowercase;
}

.manifesto__body {
  display: grid;
  gap: 26px;
  max-width: 940px;
}

.manifesto__body--motion {
  max-width: 980px;
}

.manifesto__body p {
  margin: 0;
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 650;
  line-height: 1.03;
}

.motion-video {
  position: relative;
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 242, 238, 0.22);
  border-radius: 4px;
  color: var(--paper);
  background: hsl(201 100% 13%);
  box-shadow: 0 28px 80px rgba(17, 17, 15, 0.22);
  isolation: isolate;
  animation: fade-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-video__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 50%;
}

.motion-video__caption {
  position: absolute;
  z-index: 1;
  top: 24px;
  left: 14%;
  right: 7%;
  bottom: auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: none;
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.liquid-glass::before {
  position: absolute;
  inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.motion-video__caption.liquid-glass {
  position: absolute;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading {
  position: sticky;
  top: 96px;
  z-index: 2;
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
  color: var(--paper);
  pointer-events: none;
}

.section-heading h2 {
  max-width: 980px;
  margin: 0;
  font-family: var(--display);
  font-size: 3.25rem;
  line-height: 0.93;
  text-transform: uppercase;
}

.collection-scroll {
  position: relative;
  min-height: 380svh;
  padding-top: 88px;
  background: var(--graphite);
}

.collection-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.collection-rail {
  display: flex;
  gap: 22px;
  padding: 198px 48px 54px 36vw;
  -ms-overflow-style: none;
  scrollbar-width: none;
  will-change: transform;
}

.collection-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.product-panel {
  width: 560px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
  padding: 28px;
  border: 1px solid rgba(241, 242, 238, 0.22);
  border-radius: 4px;
  color: var(--paper);
  background: rgba(241, 242, 238, 0.05);
}

.product-panel--lead {
  background: var(--paper);
  color: var(--ink);
}

.product-panel--image {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #090a09;
}

.product-panel--image img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.92;
}

.product-panel__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: var(--paper);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.product-panel__code {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--oxide);
}

.product-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 3.5rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.product-panel p {
  max-width: 460px;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.product-panel dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 36px 0 0;
}

.product-panel dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: currentColor;
  opacity: 0.56;
}

.product-panel dd {
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.materials {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "copy preview"
    "list preview";
  gap: 32px;
  padding: 118px max(32px, calc((100vw - 1220px) / 2));
  background: var(--bone);
}

.materials__copy {
  grid-area: copy;
  max-width: 660px;
}

.materials__copy h2,
.studio__text h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 4.1rem;
  line-height: 0.94;
  text-transform: uppercase;
}

.materials__copy p:last-child,
.studio__text p,
.contact__panel p {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 1.06rem;
}

.materials__preview {
  grid-area: preview;
  position: sticky;
  top: 104px;
  height: 620px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
}

.materials__preview img {
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease, transform 600ms ease;
}

.materials__preview.is-swapping img {
  opacity: 0.32;
  transform: scale(1.03);
}

.material-list {
  grid-area: list;
  align-self: end;
  border-top: 1px solid var(--line);
}

.material-row {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.material-row span:first-child {
  font-family: var(--display);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.material-row span:last-child {
  color: rgba(17, 17, 15, 0.68);
}

.material-row:hover,
.material-row.is-active {
  color: var(--oxide);
}

.studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92svh;
  background: var(--paper);
}

.studio__media {
  min-height: 92svh;
  overflow: hidden;
}

.studio__media img {
  height: 100%;
  object-fit: cover;
}

.studio__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px max(32px, calc((100vw - 1220px) / 2)) 96px 72px;
}

.studio-list {
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.studio-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.quote-band {
  min-height: 64svh;
  display: grid;
  place-items: center;
  padding: 72px 28px;
  color: var(--paper);
  background: var(--glass);
}

.quote-band p {
  max-width: 1060px;
  margin: 0;
  font-family: var(--display);
  font-size: 6.6rem;
  font-weight: 780;
  line-height: 0.88;
  text-transform: uppercase;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  padding: 118px max(32px, calc((100vw - 1220px) / 2)) 126px;
  background: var(--paper);
}

.contact__panel {
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 1020px) {
  .hero h1 {
    font-size: 6rem;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto__body p,
  .section-heading h2,
  .materials__copy h2,
  .studio__text h2,
  .contact h2 {
    font-size: 3.1rem;
  }

  .materials {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "preview"
      "list";
  }

  .materials__preview {
    position: relative;
    top: auto;
    height: 520px;
  }

  .studio,
  .contact {
    grid-template-columns: 1fr;
  }

  .studio__text {
    padding: 84px 32px;
  }
}

@media (max-width: 760px) {
  .progress-ruler,
  .cursor-chip {
    display: none;
  }

  .site-header {
    min-height: 66px;
    padding: 14px 18px;
    color: var(--paper);
    background: rgba(17, 17, 15, 0.28);
    backdrop-filter: blur(14px);
    mix-blend-mode: normal;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 66px 14px auto 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(241, 242, 238, 0.42);
    border-radius: 4px;
    background: rgba(17, 17, 15, 0.96);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 50px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(241, 242, 238, 0.14);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 90svh;
  }

  .hero__image {
    object-position: 42% center;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(17, 17, 15, 0.78), rgba(17, 17, 15, 0.12) 58%),
      linear-gradient(90deg, rgba(17, 17, 15, 0.72), rgba(17, 17, 15, 0.18));
  }

  .hero__content {
    width: calc(100% - 36px);
    padding: 116px 0 76px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero__copy {
    font-size: 1.04rem;
  }

  .hero__spec {
    left: 18px;
    right: 18px;
    bottom: 14px;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.62rem;
  }

  .manifesto,
  .materials,
  .contact {
    padding: 76px 18px;
  }

  .manifesto__body p {
    font-size: 2.15rem;
  }

  .motion-video {
    min-height: 640px;
  }

  .motion-video__caption {
    left: 18px;
    right: 18px;
    top: 20px;
    min-height: 84px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }

  .collection-scroll {
    min-height: auto;
    padding: 76px 0;
  }

  .section-heading {
    position: relative;
    top: auto;
    width: calc(100% - 36px);
    margin-bottom: 28px;
  }

  .section-heading h2,
  .materials__copy h2,
  .studio__text h2,
  .contact h2 {
    font-size: 2.45rem;
  }

  .collection-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .collection-rail {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding: 0 18px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .collection-rail::-webkit-scrollbar {
    display: none;
  }

  .product-panel {
    width: 86vw;
    min-height: 500px;
    padding: 22px;
    scroll-snap-align: center;
  }

  .product-panel--image {
    padding: 0;
  }

  .product-panel h3 {
    font-size: 2.55rem;
  }

  .product-panel dl,
  .material-row {
    grid-template-columns: 1fr;
  }

  .materials__preview {
    height: 410px;
  }

  .studio__media {
    min-height: 58svh;
  }

  .studio__text {
    padding: 72px 18px;
  }

  .quote-band {
    min-height: 48svh;
  }

  .quote-band p {
    font-size: 3.35rem;
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 18px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 3.3rem;
  }

  .manifesto__body p,
  .section-heading h2,
  .materials__copy h2,
  .studio__text h2,
  .contact h2 {
    font-size: 2.08rem;
  }

  .hero__spec span:nth-child(2) {
    display: none;
  }

  .product-panel {
    width: 88vw;
  }

  .loader {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .loader__count {
    font-size: 5.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
