@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@0;1&family=Shippori+Mincho&display=swap');
/* reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
* {
  box-sizing: border-box;
}
ol, ul {
  list-style: none;
}
html {
  font-size: 62.5%;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Playfair Display", "Shippori Mincho", serif;
  font-weight: 400;
  background: #000;
}
#wrapper {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}
/*-------------------------------------------

=cards

-------------------------------------------*/
.cards-container {
  padding: 6vw;
  display: flex;
  align-items: center;
  height: 100vh;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.5;
  cursor: pointer;
  border-radius: 0.625rem;
}
.card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.grid {
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.stripe {
  position: absolute;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform-origin: center;
  transform: scaleY(0);
  will-change: transform;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.texts {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  color: white;
  font-weight: 600;
  font-size: 20px;
}
.text {
  position: absolute;
  overflow: hidden;
}
.text span {
  display: block;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}
.text.num {
  top: 20px;
  left: 20px;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.9rem, 2.7vw, 5.4rem);
}
.text.info {
  bottom: 20px;
  left: 20px;
  font-size: clamp(1.1rem, 0.8vw, 1.2rem);
  width: 50%;
}
@media (hover: none) {
  .card img {
    filter: brightness(0.7);
  }
  .grid {
    display: none;
  }
  .text span {
    clip-path: inset(0% 0 0 0);
  }
}
@media (max-width: 599px) {
  .cards-container {
    height: auto;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}