.project-body {
  background: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.project-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  display: grid;
  width: 100%;
  height: 96.66px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.project-nav,
.project-header-actions {
  display: flex;
  align-items: center;
}

.project-nav {
  gap: 28px;
  font-size: 16px;
  line-height: 1.8;
}

.project-nav a,
.project-work-trigger,
.project-icon-link,
.project-hire,
.project-footer a {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.project-nav a:hover,
.project-nav a:focus-visible,
.project-work-trigger:hover,
.project-work-trigger:focus-visible,
.project-icon-link:hover,
.project-icon-link:focus-visible,
.project-footer a:hover,
.project-footer a:focus-visible {
  color: var(--accent);
}

.project-work-menu {
  position: relative;
}

.project-work-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.project-work-trigger svg {
  width: 12px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1;
}

.project-work-submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  display: grid;
  min-width: 120px;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-work-menu:hover .project-work-submenu,
.project-work-menu:focus-within .project-work-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-work-submenu a {
  font-size: 14px;
  white-space: nowrap;
}

.project-brand {
  justify-self: center;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.project-header-actions {
  justify-self: end;
  gap: 14px;
}

.project-icon-link {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.project-icon-link svg,
.project-hire svg,
.detail-cta-link svg,
.project-footer svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.project-hire {
  display: inline-flex;
  width: 145px;
  height: 53px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-left: 22px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.project-hire svg,
.detail-cta-link svg {
  width: 14px;
  height: 20px;
  stroke-width: 1;
}

.project-hire:hover,
.project-hire:focus-visible,
.detail-cta-link:hover,
.detail-cta-link:focus-visible {
  color: #fff;
  background: var(--accent);
  transform: translateY(-2px);
}

.project-hire svg,
.detail-cta-link svg {
  transition: transform 0.25s ease;
}

.project-hire:hover svg,
.project-hire:focus-visible svg,
.detail-cta-link:hover svg,
.detail-cta-link:focus-visible svg {
  transform: translateX(3px);
}

.project-detail-main {
  margin-top: 115.24px;
}

.detail-content-width {
  width: min(1280px, calc(100% - 160px));
  margin-inline: auto;
}

.detail-cover {
  position: relative;
  display: flex;
  height: 708px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.detail-cover-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.48)),
    url("../../assets/images/home-suit-commute.png") center top / cover no-repeat;
}

@media (min-width: 761px) {
  .detail-cover-image {
    background-attachment: fixed;
    background-position: center 112px;
  }
}

.detail-cover-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.detail-cover h1 {
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.detail-cover-inner > p {
  max-width: 32ch;
  margin: 24px auto 0;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.5;
}

.detail-info {
  height: 531px;
  overflow: visible;
  background: #fff;
}

.detail-info-inner {
  display: grid;
  height: 100%;
  grid-template-columns: 33% 63.5%;
  column-gap: 6%;
  align-items: start;
  padding-top: 74.3px;
}

.detail-facts p {
  max-width: 422px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.detail-description {
  margin-top: 27.3px;
  font-size: 32px;
  line-height: 1.4;
  text-wrap: pretty;
}

.detail-description p {
  max-width: none;
}

.detail-gallery {
  display: grid;
  height: 531px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 27px 10px 0;
  overflow: hidden;
  background: #fff;
}

.media-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed #d8cec2;
  color: #8f8478;
  background: #f7f2ec;
  text-align: center;
}

.media-slot span {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.gallery-slot {
  width: 100%;
  height: 528px;
}

.gallery-media {
  margin: 0;
  overflow: hidden;
  background: #f7f2ec;
}

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

.gallery-media--detail img {
  object-position: center 20%;
}

.gallery-media--portrait img {
  object-position: center 66%;
}

.detail-process {
  height: 1851px;
  background: #fff;
}

.detail-process-inner {
  height: 100%;
  padding-top: 53px;
  padding-bottom: 53px;
}

.detail-process h2 {
  margin: 0 0 48px;
  font-size: 45px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 54px;
}

.process-grid article {
  display: grid;
  height: 320px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.process-grid article + article {
  height: 381px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.process-grid h3 {
  max-width: 220px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 28px;
}

.process-copy h3 {
  margin: 0;
}

.process-copy p {
  max-width: 300px;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
}

.process-slot {
  width: 100%;
  height: 320px;
  transform: translateY(27.3px);
}

.process-media {
  margin: 0;
  overflow: hidden;
  background: #fff;
}

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

.process-media--five-view img {
  object-fit: contain;
}

.process-media--tuxedo img {
  object-fit: contain;
}

.process-media--daily {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.process-media--daily img {
  object-fit: cover;
}

.daily-image--watch {
  object-position: 45% center;
}

.daily-image--bouquet {
  object-position: 62% center;
}

.daily-image--walk {
  object-position: center;
}

.process-template-copy h3 {
  max-width: 340px;
}

.process-template-media {
  position: relative;
  overflow: hidden;
  background: #f4f1ed;
}

.template-card {
  width: auto;
  height: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: #e9e4df;
}

.template-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.template-marquee {
  display: flex;
  width: max-content;
  height: 100%;
  animation: template-marquee-scroll 48s linear infinite;
}

.template-marquee:hover {
  animation-play-state: paused;
}

.template-marquee-set {
  display: flex;
  height: 100%;
  gap: 8px;
  padding-right: 8px;
}

.template-marquee-set .template-card {
  width: 240px;
  flex: none;
}

@keyframes template-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

.detail-statement {
  display: flex;
  height: 531px;
  align-items: center;
  color: #fff;
  background: var(--dark);
}

.detail-statement-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.detail-statement-copy {
  width: 100%;
  max-width: 960px;
  font-size: 32px;
  letter-spacing: 0;
  line-height: 44.8px;
  text-wrap: balance;
}

.detail-statement-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.detail-statement-signature p {
  min-width: 265px;
  font-size: 16px;
  line-height: 1.8;
}

.detail-marquee {
  display: flex;
  height: 216px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.detail-marquee p {
  width: max-content;
  padding-left: 100%;
  white-space: nowrap;
  font-size: clamp(32px, 5vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1;
  animation: detail-marquee 28s linear infinite;
}

.detail-marquee span {
  padding-inline: 0.35em;
}

@keyframes detail-marquee {
  to {
    transform: translateX(-100%);
  }
}

.detail-cta {
  height: 379px;
  color: #fff;
  background: #000;
  text-align: center;
}

.detail-cta-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.detail-cta h2 {
  width: 100%;
  max-width: 960px;
  padding-bottom: 28.8px;
  font-size: 45px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 54px;
  text-wrap: balance;
}

.detail-cta > .detail-cta-inner > p {
  width: 100%;
  max-width: 960px;
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

.detail-cta-link {
  display: inline-flex;
  height: 53px;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding: 16px 30px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 14px;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-ready [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 625ms cubic-bezier(0.37, 0, 0.63, 1), transform 625ms cubic-bezier(0.37, 0, 0.63, 1);
  }

  html.motion-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  html.motion-ready .detail-gallery[data-gallery-reveal] .gallery-slot {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 625ms cubic-bezier(0.37, 0, 0.63, 1), transform 625ms cubic-bezier(0.37, 0, 0.63, 1);
  }

  html.motion-ready .detail-gallery[data-gallery-reveal].is-revealed .gallery-slot {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  html.motion-ready [data-loop-motion] {
    animation-play-state: paused;
  }

  html.motion-ready [data-loop-motion].is-looping {
    animation-play-state: running;
  }

  html.motion-ready .template-marquee:hover {
    animation-play-state: paused;
  }
}

.project-footer {
  height: 63px;
  color: var(--accent);
  background: #fff;
}

.project-footer-inner {
  display: grid;
  height: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 21px 0;
  font-size: 16px;
  line-height: 1.2;
}

.project-footer-social {
  display: flex;
  gap: 14px;
}

.project-footer-social a {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.project-footer-social svg {
  width: 16px;
  height: 16px;
}

.project-footer-inner p {
  margin-left: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .project-work-submenu,
  .detail-marquee p,
  .template-marquee {
    animation: none;
    transition: none;
  }

  .detail-marquee p {
    padding-left: 0;
  }

  .project-hire,
  .detail-cta-link,
  .project-hire svg,
  .detail-cta-link svg {
    transition: none;
  }
}

@media (max-width: 760px) {
  .project-header {
    height: 68px;
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .project-nav {
    display: none;
  }

  .project-brand {
    justify-self: start;
    font-size: 22px;
  }

  .project-header-actions {
    gap: 12px;
  }

  .project-hire {
    width: auto;
    height: 42px;
    margin-left: 8px;
    padding: 0 14px;
    gap: 8px;
  }

  .detail-content-width {
    width: calc(100% - 40px);
  }

  .project-detail-main {
    margin-top: 84px;
  }

  .detail-cover {
    height: 600px;
  }

  .detail-cover h1 {
    font-size: clamp(58px, 17vw, 86px);
  }

  .detail-cover-inner > p {
    max-width: 24ch;
    font-size: 18px;
  }

  .detail-info {
    height: auto;
    padding: 72px 0 76px;
  }

  .detail-info-inner {
    display: block;
    height: auto;
    padding: 0;
  }

  .detail-description {
    margin-top: 52px;
    font-size: 22px;
  }

  .detail-gallery {
    display: grid;
    height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 20px 76px;
  }

  .gallery-slot {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .detail-process {
    height: auto;
    padding: 72px 0 82px;
  }

  .detail-process-inner {
    height: auto;
    padding: 0;
  }

  .detail-process h2 {
    margin-bottom: 42px;
    font-size: 40px;
    line-height: 48px;
  }

  .process-grid article,
  .process-grid article + article {
    display: block;
    height: auto;
    min-height: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .process-grid article + article {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
  }

  .process-grid h3 {
    margin-bottom: 18px;
  }

  .process-slot {
    height: auto;
    aspect-ratio: 2 / 1;
    transform: none;
  }

  .template-marquee-set .template-card {
    width: 132px;
  }

  .detail-statement {
    height: auto;
    min-height: 420px;
    padding: 72px 0;
  }

  .detail-statement-inner {
    height: auto;
  }

  .detail-statement-copy {
    font-size: 32px;
  }

  .detail-statement-signature p {
    min-width: 0;
  }

  .detail-marquee {
    height: 150px;
  }

  .detail-cta {
    height: auto;
    padding: 86px 0 92px;
  }

  .detail-cta-inner {
    height: auto;
  }

  .detail-cta h2 {
    font-size: 38px;
    line-height: 1.15;
  }

  .project-footer {
    height: auto;
  }

  .project-footer-inner {
    min-height: 63px;
    grid-template-columns: auto 1fr;
    padding: 21px 0;
  }

  .project-footer-inner > span {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 12px;
  }
}
