:root {
  --text: #000;
  --muted: #8f8f8f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: var(--text);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

body {
  min-height: 100vh;
}

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  text-decoration: none;
}

.page {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 60px 0 51px;
}

.header {
  height: 178px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 40px;
}

.brand {
  font-size: 36px;
  line-height: 38px;
}

.nav {
  display: flex;
  gap: 50px;
  padding-left: 25px;
  margin-right: auto;
  margin-left: 118px;
}

.nav-link {
  position: relative;
  font-size: 19px;
  line-height: 20px;
  padding-bottom: 6px;
}

.nav-link::after,
.about::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #000;
}

.about {
  position: relative;
  font-size: 19px;
  line-height: 20px;
  padding-bottom: 6px;
  margin-bottom: 1px;
}

.gallery-section {
  margin-top: 63px;
}

.category-title {
  margin: 0;
  font-size: 19px;
  line-height: 20px;
  font-weight: 400;
}

.rule {
  height: 1px;
  width: 100%;
  background: #000;
  margin-top: 12px;
}

.gallery {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  height: 494px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.gallery::-webkit-scrollbar {
  height: 0;
}

.gallery.show-scrollbar::-webkit-scrollbar {
  height: 10px;
}

.gallery::-webkit-scrollbar-track {
  background: transparent;
}

.gallery::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
}

.gallery.show-scrollbar {
  scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
}

.gallery.show-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.28);
}

.card {
  position: relative;
  width: 435px;
  height: 474px;
  flex: 0 0 auto;
  cursor: pointer;
  transition: transform 180ms ease;
  transform-origin: center top;
}

.card:hover {
  transform: scale(1.03);
}

.thumb {
  position: absolute;
  left: 47px;
  top: 23px;
  width: 342px;
  height: 250px;
  background: #d9d9d9;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.number {
  position: absolute;
  left: 47px;
  top: 307px;
  font-size: 106px;
  line-height: 110px;
  font-weight: 400;
}

.text {
  position: absolute;
  left: 178px;
  top: 307px;
  width: 174px;
  font-weight: 300;
  color: #000;
  text-align: left;
}

.text .title {
  font-size: 20.5px;
  line-height: 1.5;
}

.text .date {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.card.is-active .thumb {
  outline: 1px solid rgba(0, 0, 0, 0.15);
  outline-offset: 2px;
}

.contact {
  margin-top: 72px;
  padding: 18px 0 0;
  border-top: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
}

.contact-title {
  font-size: 31px;
  line-height: 48.75px;
}

.contact-list {
  display: flex;
  gap: 48px;
  font-size: 20px;
  line-height: 48.75px;
  font-weight: 300;
}

.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.detail-overlay[hidden] {
  display: none !important;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.detail-page {
  position: relative;
  z-index: 1;
  width: min(100%, 1360px);
  height: min(92vh, 940px);
  padding: 40px 60px 40px 51px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.detail-body {
  display: grid;
  gap: 88px;
  padding-bottom: 80px;
}

.detail-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.detail-close-inline {
  font-size: 34px;
  line-height: 1;
}

.detail-hero,
.detail-row {
  display: grid;
  justify-content: space-between;
  align-items: center;
  width: 1105px;
  margin: 0 auto;
}

.detail-hero {
  grid-template-columns: 497px 454px;
}

.detail-row {
  grid-template-columns: 472px 483px;
}

.detail-row-reverse {
  grid-template-columns: 500px 472px;
}

.detail-hero-head .detail-title-main {
  margin: 0 0 8px;
  font-size: 32px !important;
  line-height: normal;
  color: #040404;
  font-weight: 300;
}

.detail-hero-head .detail-subtitle-main {
  margin: 0;
  font-size: 20px !important;
  line-height: 1.5;
  color: #000;
  font-weight: 300;
}

.detail-divider {
  height: 1px;
  background: #000;
  margin: 0 0 16px;
}

.detail-hero-text {
  padding-top: 0;
  height: 633px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-hero-text p,
.detail-copy-block p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #040404;
  font-weight: 300;
}

.detail-hero-head {
  display: grid;
  align-content: start;
  gap: 8px;
}

.detail-hero-copy {
  display: grid;
  align-content: end;
  gap: 0;
  padding-top: 24px;
}

.detail-hero-copy p + p {
  margin-top: 0;
}

.detail-copy-block {
  display: grid;
  gap: 0;
}

.detail-lead {
  font-size: 24px !important;
  line-height: 1.5 !important;
  font-weight: 300;
  margin-bottom: 16px !important;
}

.detail-heading-image img {
  display: block;
  max-width: 272px;
}

.detail-heading-image-white img {
  max-width: 189px;
}

.detail-hero-image img {
  width: 454px;
  display: block;
}

.detail-chart {
  text-align: center;
}

.detail-chart img {
  width: 483px;
  display: block;
}

.detail-chart p {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: normal;
  color: #495c8e;
  font-weight: 300;
}

.detail-image-large img {
  width: 500px;
  display: block;
}

.detail-copy-mid {
  padding-top: 48px;
}

.detail-concept-band {
  position: relative;
  min-height: 871px;
  overflow: hidden;
  border-radius: 2px;
}

.detail-concept-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-concept-content {
  position: relative;
  width: 1105px;
  margin: 0 auto;
  padding-top: 122px;
}

.detail-copy-white p {
  color: #fff;
}

.detail-copy-left-only {
  width: 472px;
}

.detail-text-group {
  display: grid;
  gap: 0;
}

.detail-text-group p {
  margin: 0;
}

.detail-text-group + .detail-text-group {
  margin-top: 16px;
}

.detail-copy-block .detail-lead + .detail-text-group,
.detail-hero-copy .detail-text-group + .detail-text-group,
.detail-hero-copy .detail-text-group {
  margin-top: 16px;
}

.detail-material-image img {
  width: 535px;
  display: block;
}

.detail-color {
  width: 1105px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.detail-color-heading img {
  display: block;
  max-width: 209px;
}

.detail-color-stage {
  display: grid;
  gap: 10px;
}

.detail-color-icon-wrap {
  display: grid;
  place-items: center;
}

.detail-color-icon-image {
  width: 1061px;
  display: block;
}

.detail-color-carousel {
  display: grid;
  grid-template-columns: 49px 1fr 49px;
  align-items: center;
  gap: 52px;
}

.detail-color-images-only {
  align-items: center;
}

.detail-color-center {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.detail-color-dots {
  display: flex;
  align-items: center;
  gap: 16px;
}

.colorway-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--dot);
  border: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.colorway-dot.is-active {
  transform: scale(1.7);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, 0.18);
}

.detail-arrow {
  width: 49px;
  height: 97px;
  display: grid;
  place-items: center;
}

.detail-arrow img {
  width: 49px;
  display: block;
}

.detail-arrow-glyph {
  display: block;
  font-size: 48px;
  line-height: 1;
  font-weight: 300;
  color: #040404;
}

.detail-arrow-left-image {
  transform: rotate(180deg);
}

.detail-color-image {
  min-height: auto;
  display: grid;
  place-items: center;
}

.detail-color-image img {
  width: 100%;
  display: block;
}

.detail-color-image-plain {
  width: 100%;
}

.detail-color-image-plain img {
  width: 100%;
  max-width: 1061px;
  height: auto;
}

.detail-presentation-block {
  width: 1105px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
}

.detail-presentation-stage {
  width: 1060px;
}

.detail-presentation-top img {
  width: 841px;
  display: block;
  margin: 0 auto;
}

.detail-presentation-copy {
  width: 508px;
  margin: -12px auto 38px;
  text-align: center;
}

.detail-presentation-copy p {
  margin: 0;
  font-size: 16px;
  line-height: normal;
  color: #040404;
  font-weight: 300;
}

.detail-presentation-line {
  height: 1px;
  background: #040404;
  margin: 14px 0 10px;
}

.detail-gallery-images {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
}

.detail-gallery-images img {
  width: 279px;
  display: block;
}

.detail-gallery-images-uniform {
  gap: 17px;
}

.detail-gallery-thumb {
  width: 279px;
  height: 311px;
  overflow: hidden;
  flex: 0 0 auto;
}

.detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project2-section {
  width: 1105px;
  margin: 0 auto;
}

.project2-stack {
  display: grid;
  gap: 28px;
}

.project2-hero {
  align-items: center;
}

.project2-hero-image {
  height: 633px;
  overflow: hidden;
}

.project2-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project2-wide-image {
  width: 100%;
  height: 314px;
  overflow: hidden;
}

.project2-wide-image img,
.project2-image-frame img,
.project2-mood-board img,
.project2-material-board {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project2-side-by-side,
.project2-theme {
  display: grid;
  grid-template-columns: 500px 472px;
  gap: 88px;
  align-items: center;
}

.project2-side-by-side-small {
  grid-template-columns: 551px 470px;
  gap: 40px;
}

.project2-image-frame {
  overflow: hidden;
}

.project2-image-tall {
  height: 641px;
}

.project2-sublead {
  margin-top: 32px !important;
}

.project2-concept-grid {
  display: grid;
  grid-template-columns: 376px 139px 149px 330px;
  gap: 12px;
  align-items: stretch;
}

.project2-concept-grid img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  display: block;
}

.project2-theme-copy {
  display: grid;
  gap: 28px;
  align-content: center;
}

.project2-theme-heading {
  width: 263px;
  height: auto;
  display: block;
}

.project2-material-board {
  width: 459px;
  height: 240px;
}

.project2-mood-board {
  width: 502px;
  height: 640px;
  overflow: hidden;
}

.project2-image-strip {
  display: grid;
  grid-template-columns: 237px 287px 1fr;
  gap: 12px;
  height: 319px;
  overflow: hidden;
}

.project2-image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project2-image-strip .project2-car-seat-1 {
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 1200px) {
  .page {
    padding: 0 24px;
  }

  .header {
    height: auto;
    padding-top: 32px;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav {
    margin: 0;
    padding-left: 0;
  }

  .gallery {
    gap: 24px;
    justify-content: flex-start;
  }

  .detail-page {
    padding: 24px;
    height: min(94vh, 980px);
  }

  .detail-hero,
  .detail-row,
  .detail-row-reverse {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-hero-image img,
  .detail-chart img,
  .detail-image-large img,
  .detail-material-image img,
  .detail-color-icon-image,
  .detail-presentation-top img,
  .detail-gallery-images img {
    width: 100%;
  }

  .detail-concept-content,
  .detail-color,
  .detail-presentation-block,
  .detail-presentation-stage,
  .detail-copy-left-only,
  .project2-section {
    width: 100%;
  }

  .project2-side-by-side,
  .project2-side-by-side-small,
  .project2-theme,
  .project2-concept-grid,
  .project2-image-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project2-hero-image,
  .project2-wide-image,
  .project2-image-tall,
  .project2-mood-board,
  .project2-material-board,
  .project2-image-strip {
    width: 100%;
    height: auto;
  }

  .project2-concept-grid img,
  .project2-image-strip img {
    height: auto;
  }

  .detail-color-carousel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-arrow {
    justify-self: center;
  }

  .detail-presentation-copy {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .brand {
    font-size: 28px;
  }

  .nav,
  .contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery {
    flex-direction: column;
  }

  .card {
    width: 100%;
  }

  .contact-list {
    gap: 12px;
    flex-direction: column;
    line-height: 1.6;
  }

  .detail-overlay {
    padding: 0;
  }

  .detail-page {
    width: 100%;
    height: 100vh;
    padding: 18px;
    border-radius: 0;
  }

  .detail-body {
    gap: 56px;
  }

  .detail-lead {
    font-size: 18px !important;
  }
}
