:root {
  --paper: #f7f6f2;
  --ink: #111111;
  --muted: #64625d;
  --soft: #8b8983;
  --line: rgba(17, 17, 17, 0.13);
  --grid: rgba(17, 17, 17, 0.055);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    var(--paper);
  background-size: 96px 96px;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-feature-settings: "kern" 1;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(247, 246, 242, 0.9);
  content: "";
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

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

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

.section {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 96px 0;
}

.hero__inner {
  text-align: center;
}

.brand {
  margin: 0;
  font-size: clamp(4rem, 16vw, 13.5rem);
  font-weight: 400;
  line-height: 0.9;
}

.tagline {
  max-width: 24rem;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.6;
}

.caption,
.label,
.number,
.series-index {
  color: var(--soft);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.caption--hero {
  position: absolute;
  bottom: 2rem;
  left: 0;
}

.intro {
  display: grid;
  min-height: 72svh;
  grid-template-columns: repeat(12, 1fr);
  padding: 12vh 0;
}

.intro__text {
  grid-column: 5 / -1;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.intro h1,
.product h2 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.96;
}

.intro p,
.series__meta p,
figcaption,
.buy__bar p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.9;
}

.intro p {
  max-width: 26rem;
  margin: 2.5rem 0 0;
}

.series-index {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.series-index__row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}

.series-index span:nth-child(1) {
  grid-column: span 4;
}

.series-index span:nth-child(2) {
  grid-column: span 4;
}

.series-index span:nth-child(3) {
  grid-column: span 3;
  grid-column-start: 12;
  text-align: right;
}

.series {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4rem 2rem;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(6rem, 13vw, 10rem);
}

.series__meta {
  grid-column: span 4;
}

.series__meta h2 {
  max-width: 14rem;
  margin: 2rem 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
}

.series__meta p:last-child {
  max-width: 14rem;
  margin: 1.5rem 0 0;
}

.series__list {
  grid-column: span 8;
}

.piece {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding: clamp(2.8rem, 7vw, 4.8rem) 0 4.25rem;
}

.piece:last-child {
  border-bottom: 1px solid var(--line);
}

.jp {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "MS PMincho", serif;
  font-size: clamp(2.7rem, 7.6vw, 6.8rem);
  font-weight: 400;
  line-height: 0.95;
  white-space: nowrap;
}

.en {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.piece .jp {
  grid-column: span 7;
}

.piece .en {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(15rem, 28%);
  text-align: right;
}

.piece__copy,
.piece__shirt,
.product__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.8rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  line-height: 1;
  transition: border-color 500ms ease, color 500ms ease, background 500ms ease, opacity 500ms ease;
}

.piece__actions {
  position: absolute;
  right: 0;
  bottom: 1.15rem;
  display: flex;
  gap: 0.5rem;
}

.piece__copy {
  opacity: 0.62;
}

.piece__copy.is-copied {
  opacity: 1;
}

.piece__shirt,
.product__buy {
  color: var(--ink);
}

.piece__copy:hover,
.piece__copy:focus-visible,
.piece__shirt:hover,
.piece__shirt:focus-visible,
.product__buy:hover,
.product__buy:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ink);
}

.piece__copy:hover,
.piece__copy:focus-visible,
.piece__shirt:hover,
.piece__shirt:focus-visible,
.product__buy:hover,
.product__buy:focus-visible {
  color: var(--paper);
}

.product {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4rem 2rem;
  padding: clamp(6rem, 13vw, 10rem) 0;
}

.product__copy {
  grid-column: span 4;
}

.product__copy h2 {
  max-width: 21rem;
  margin-top: 2rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.product__image {
  grid-column: 6 / -1;
  margin: 0;
}

.product__image img {
  width: 100%;
  background:
    linear-gradient(rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    #efeee9;
  background-size: 32px 32px;
  mix-blend-mode: multiply;
}

.product__image figcaption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.buy {
  display: flex;
  min-height: 64svh;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(6rem, 12vw, 9rem) 0;
}

.buy__phrase .jp {
  font-size: clamp(3rem, 10vw, 9rem);
}

.buy__phrase .en {
  margin-top: 1rem;
}

.buy__bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.buy__bar p {
  margin: 0;
}

.buy__button {
  display: inline-flex;
  min-width: 6.5rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0 1.5rem;
  font-size: 0.88rem;
  transition: background 500ms ease, color 500ms ease;
}

.buy__button:hover,
.buy__button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 760px) {
  .section,
  .series-index {
    width: min(100% - 32px, 1200px);
  }

  .caption--hero {
    left: 0;
  }

  .intro,
  .series,
  .product {
    display: block;
  }

  .intro__text {
    grid-column: auto;
  }

  .series__list,
  .product__image {
    margin-top: 4rem;
  }

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

  .series-index span:nth-child(1) {
    grid-column: span 6;
  }

  .series-index span:nth-child(3) {
    grid-column: span 6;
    grid-column-start: auto;
  }

  .piece {
    display: block;
    padding-bottom: 4.75rem;
  }

  .piece .en {
    position: static;
    transform: none;
    width: auto;
    margin-top: 1rem;
    text-align: left;
  }

  .piece__actions {
    align-items: flex-start;
    right: auto;
    left: 0;
  }

  .product__image figcaption {
    align-items: start;
    flex-direction: column;
  }

  .buy__bar {
    align-items: stretch;
    flex-direction: column;
  }

  .buy__button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
