/* ========================================
   BASIC
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: #605c67;

  background: #fffdfd;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
}


/* ========================================
   TOP BAR
======================================== */

.topbar {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 27px 5%;

  border-bottom: 1px solid #ece8ef;

  background: rgba(255, 255, 255, 0.94);

  position: relative;

  z-index: 100;
}

.brand a {
  text-decoration: none;
}

.brand h1 {
  font-size: 21px;
  font-weight: 600;
  color: #696572;
}

.brand span {
  display: block;

  margin-top: 4px;

  font-size: 11px;

  letter-spacing: 4px;

  color: #aaa5b0;
}

.nav {
  display: flex;

  gap: 28px;
}

.nav a {
  text-decoration: none;

  font-size: 12px;

  color: #89838f;

  transition: opacity 0.25s ease;
}

.nav a:hover {
  opacity: 0.5;
}


/* ========================================
   HERO
======================================== */

.hero {
  min-height: 88vh;

  display: grid;

  grid-template-columns:
    0.83fr 1.45fr;

  gap: 45px;

  align-items: center;

  padding:
    65px
    5%
    85px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(247, 226, 239, 0.56),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 14%,
      rgba(226, 231, 244, 0.55),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #fffefe,
      #faf8fb
    );
}


/* HERO TEXT */

.hero-text {
  padding-left: 5%;
}

.eyebrow {
  margin-bottom: 22px;

  font-size: 11px;

  letter-spacing: 3px;

  color: #a7a2ad;
}

.hero-text h2 {
  max-width: 580px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(
      45px,
      5.6vw,
      82px
    );

  line-height: 1.02;

  font-weight: 400;

  color: #625e69;
}

.intro {
  max-width: 430px;

  margin-top: 26px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 14px;

  line-height: 1.7;

  color: #99949f;
}

.mini-tags {
  margin-top: 28px;

  display: flex;

  flex-wrap: wrap;

  gap: 9px;
}

.mini-tags span {
  padding: 7px 11px;

  background: rgba(255,255,255,0.75);

  border: 1px solid #dad5dd;

  border-radius: 3px;

  color: #8f8995;

  font-size: 10px;
}

.collage-tip {
  margin-top: 18px;

  font-family:
    "Courier New",
    monospace;

  font-size: 10px;

  color: #b0aab5;
}


/* ========================================
   HERO COLLAGE
======================================== */

.collage {
  width: 100%;

  min-height: 660px;

  position: relative;

  overflow: hidden;

  border: 1px solid #ebe7ee;

  border-radius: 12px;

  box-shadow:
    0 15px 45px
    rgba(120,114,130,0.07);

  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 23px,
      rgba(170,164,177,0.065) 23px,
      rgba(170,164,177,0.065) 24px
    ),
    linear-gradient(
      180deg,
      #fdfbfd,
      #f9f7fa
    );
}

.piece {
  position: absolute;

  margin: 0;

  padding:
    9px
    9px
    32px;

  background: white;

  border: 1px solid #ded9e2;

  box-shadow:
    0 13px 30px
    rgba(91,85,101,0.16);

  cursor: pointer;

  transition:
    transform 0.38s ease,
    box-shadow 0.38s ease,
    opacity 0.38s ease,
    filter 0.38s ease;
}

.piece img {
  width: 100%;
  display: block;
}

.piece figcaption {
  margin-top: 10px;

  padding-left: 3px;

  font-family: Georgia, serif;

  font-size: 12px;

  color: #77717f;
}


.jiwoo {
  width: 31%;

  top: 5%;
  left: 6%;

  z-index: 2;

  transform: rotate(-2deg);
}

.yuha {
  width: 31%;

  top: 7%;
  right: 7%;

  z-index: 2;

  transform: rotate(1.5deg);
}

.stella {
  width: 31%;

  left: 14%;
  bottom: 5%;

  z-index: 5;

  transform: rotate(0.8deg);
}

.juun {
  width: 33%;

  right: 12%;
  bottom: 4%;

  z-index: 5;

  transform: rotate(-1.3deg);
}

.piece:hover {
  box-shadow:
    0 20px 42px
    rgba(91,85,101,0.22);
}

.piece.is-active {
  z-index: 30;

  transform:
    rotate(0)
    scale(1.07);

  opacity: 1;

  filter: none;
}

.collage.has-active
.piece:not(.is-active) {
  opacity: 0.7;

  filter: brightness(0.93);
}


/* NOTES */

.paper-note {
  position: absolute;

  z-index: 1;

  padding: 10px 14px;

  font-family:
    "Courier New",
    monospace;

  font-size: 11px;

  line-height: 1.55;

  color: #77717e;

  border: 1px solid #ddd3dc;

  box-shadow:
    3px 5px 0
    rgba(180,172,184,0.11);
}

.note-one {
  top: 43%;
  left: 1%;

  background: #f8edf3;
}

.note-two {
  top: 42%;
  right: 1%;

  background: #eff2f7;
}


/* DECORATION */

.tiny-star,
.tiny-heart {
  position: absolute;

  z-index: 1;

  pointer-events: none;

  font-family: Georgia, serif;

  color: #aaa4b0;
}

.star-one {
  top: 3%;
  left: 48%;

  font-size: 28px;
}

.star-two {
  bottom: 2%;
  left: 48%;

  font-size: 23px;
}

.tiny-heart {
  top: 48%;
  left: 48%;

  font-size: 30px;
}


/* ========================================
   COLLECTIONS
======================================== */

.collections-section {
  padding:
    110px
    6%
    130px;

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #faf8fb
    );
}

.collections-head {
  max-width: 700px;

  margin:
    0
    auto
    65px;

  text-align: center;
}

.section-kicker {
  font-size: 10px;

  letter-spacing: 3px;

  text-transform: uppercase;

  color: #aaa4af;
}

.collections-head h3 {
  margin-top: 10px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 52px;

  font-weight: 400;

  color: #65616c;
}

.collections-sub {
  margin-top: 13px;

  font-size: 12px;

  letter-spacing: 0.7px;

  color: #aaa4af;
}


/* GRID */

.collections-grid {
  max-width: 1280px;

  margin: auto;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:
    42px
    26px;
}


/* CARD */

.collection-card {
  position: relative;

  cursor: pointer;

  outline: none;
}

.collection-card:focus-visible
.collection-cover {
  outline:
    2px solid #cfc5d1;

  outline-offset: 4px;
}

.collection-number {
  position: absolute;

  top: -12px;
  left: 12px;

  z-index: 5;

  padding: 4px 8px;

  background: white;

  border: 1px solid #ded9e2;

  font-family:
    "Courier New",
    monospace;

  font-size: 9px;

  letter-spacing: 1px;

  color: #918b96;
}


/* REAL IMAGE COVER */

.collection-cover {
  aspect-ratio: 4 / 5;

  position: relative;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 11px;

  background:
    #f6f4f7;

  border:
    1px solid #ded9e2;

  box-shadow:
    0 10px 28px
    rgba(108,101,118,0.10);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.collection-cover img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.collection-card:hover
.collection-cover {
  transform:
    translateY(-6px);

  box-shadow:
    0 17px 38px
    rgba(108,101,118,0.17);
}

.collection-card:hover
.collection-cover img {
  transform:
    scale(1.025);

  filter:
    brightness(1.03);
}


/* little title on image */

.collection-cover span {
  position: absolute;

  z-index: 3;

  left: 18px;
  bottom: 18px;

  padding: 7px 10px;

  font-family:
    Georgia,
    serif;

  font-style: italic;

  font-size: 16px;

  color: #66616b;

  background:
    rgba(255,255,255,0.82);

  border:
    1px solid
    rgba(155,148,160,0.28);

  backdrop-filter:
    blur(8px);
}


/* TEXT */

.collection-meta {
  padding:
    14px
    4px
    0;
}

.collection-meta h4 {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 17px;

  font-weight: 400;

  color: #67616c;
}

.collection-meta p {
  margin-top: 5px;

  font-size: 10px;

  line-height: 1.5;

  letter-spacing: 0.45px;

  color: #aaa4ae;
}


/* ========================================
   LIGHTBOX
======================================== */

.lightbox {
  position: fixed;

  inset: 0;

  z-index: 1000;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 30px;

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;
}


.lightbox-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(56,52,60,0.52);

  backdrop-filter:
    blur(9px);
}


/* popup window */

.lightbox-window {
  width:
    min(900px, 94vw);

  max-height: 92vh;

  position: relative;

  z-index: 2;

  display: flex;

  flex-direction: column;

  padding:
    24px;

  background:
    #fffdfd;

  border:
    1px solid #dfd9e1;

  border-radius: 8px;

  box-shadow:
    0 30px 80px
    rgba(25,20,30,0.25);

  transform:
    translateY(15px)
    scale(0.98);

  transition:
    transform 0.3s ease;
}

.lightbox.is-open
.lightbox-window {
  transform:
    translateY(0)
    scale(1);
}


/* close */

.lightbox-close {
  position: absolute;

  top: 12px;
  right: 16px;

  z-index: 10;

  width: 36px;
  height: 36px;

  border: 0;

  background: transparent;

  cursor: pointer;

  font-family: Georgia, serif;

  font-size: 31px;

  color: #8c8691;
}


/* top */

.lightbox-top {
  padding:
    4px
    45px
    18px
    3px;

  border-bottom:
    1px solid #eee9ef;
}

.lightbox-label {
  font-family:
    "Courier New",
    monospace;

  font-size: 9px;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: #aaa4ae;
}

.lightbox-top h3 {
  margin-top: 5px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 28px;

  font-weight: 400;

  color: #655f6a;
}


/* image */

.lightbox-image-wrap {
  min-height: 0;

  flex: 1;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  padding:
    22px
    55px;

  overflow: hidden;
}

.lightbox-image-wrap img {
  max-width: 100%;

  max-height: 68vh;

  display: block;

  object-fit: contain;

  box-shadow:
    0 10px 30px
    rgba(80,75,86,0.10);
}


/* arrows */

.lightbox-arrow {
  position: absolute;

  top: 50%;

  transform:
    translateY(-50%);

  width: 38px;
  height: 38px;

  border:
    1px solid #ddd6df;

  background:
    rgba(255,255,255,0.92);

  cursor: pointer;

  border-radius: 50%;

  font-size: 18px;

  color: #817a87;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.lightbox-arrow:hover {
  background: #f5eef3;
}

.lightbox-prev {
  left: 2px;
}

.lightbox-next {
  right: 2px;
}

.lightbox-arrow.is-hidden {
  display: none;
}


/* bottom */

.lightbox-bottom {
  display: flex;

  justify-content: space-between;

  padding:
    14px
    3px
    2px;

  border-top:
    1px solid #eee9ef;

  font-family:
    "Courier New",
    monospace;

  font-size: 9px;

  letter-spacing: 1px;

  color: #aaa4ae;
}


/* ========================================
   FOOTER
======================================== */

.about {
  padding:
    55px
    20px;

  border-top:
    1px solid #eee9ef;

  background: white;

  text-align: center;
}

.footer-heart {
  font-family:
    Georgia,
    serif;

  font-size: 22px;

  color: #aaa5af;
}

.footer-inner > p:not(.footer-heart) {
  margin-top: 7px;

  font-size: 11px;

  letter-spacing: 1px;

  color: #aaa4ae;
}

.footer-site {
  font-family:
    "Courier New",
    monospace;
}


/* ========================================
   TABLET
======================================== */

@media
(max-width: 1000px) {

  .hero {
    grid-template-columns: 1fr;

    padding-top: 70px;
  }

  .hero-text {
    padding-left: 0;

    text-align: center;
  }

  .hero-text h2,
  .intro {
    margin-left: auto;
    margin-right: auto;
  }

  .mini-tags {
    justify-content: center;
  }

  .collage {
    max-width: 760px;

    margin:
      10px
      auto
      0;
  }

  .collections-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* ========================================
   MOBILE
======================================== */

@media
(max-width: 650px) {

  .topbar {
    padding:
      19px
      16px;
  }

  .brand h1 {
    font-size: 15px;
  }

  .brand span {
    font-size: 9px;

    letter-spacing: 2px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 9px;
  }


  .hero {
    padding:
      55px
      16px
      70px;
  }

  .hero-text h2 {
    font-size: 45px;
  }


  .collage {
    min-height: 670px;
  }

  .jiwoo {
    width: 44%;

    top: 5%;
    left: 4%;
  }

  .yuha {
    width: 43%;

    top: 7%;
    right: 4%;
  }

  .stella {
    width: 45%;

    left: 4%;
    bottom: 6%;
  }

  .juun {
    width: 46%;

    right: 4%;
    bottom: 5%;
  }


  .piece.is-active {
    transform:
      rotate(0)
      scale(1.11);
  }


  .collections-section {
    padding:
      85px
      16px
      100px;
  }

  .collections-head h3 {
    font-size: 40px;
  }

  .collections-grid {
    grid-template-columns:
      repeat(2, 1fr);

    gap:
      31px
      12px;
  }

  .collection-cover {
    padding: 6px;
  }

  .collection-cover span {
    left: 9px;
    bottom: 9px;

    padding: 5px 7px;

    font-size: 12px;
  }

  .collection-meta h4 {
    font-size: 14px;
  }

  .collection-meta p {
    font-size: 8.5px;
  }


  /* LIGHTBOX MOBILE */

  .lightbox {
    padding: 12px;
  }

  .lightbox-window {
    width: 100%;

    padding:
      18px
      12px
      14px;
  }

  .lightbox-top h3 {
    font-size: 23px;
  }

  .lightbox-image-wrap {
    padding:
      16px
      37px;
  }

  .lightbox-image-wrap img {
    max-height: 68vh;
  }

  .lightbox-arrow {
    width: 32px;
    height: 32px;

    font-size: 15px;
  }

  .lightbox-bottom {
    font-size: 8px;
  }

}