/* ========================================
   COMMISSION PAGE
======================================== */

.commission-page {
  background: #080707;
  color: #ffffff;
}


/* ========================================
   COMMON
======================================== */

.commission-section {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  padding: 110px 0;
}


/* ========================================
   HEADING
======================================== */

.commission-heading {
  margin-bottom: 70px;
}

.commission-heading-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.commission-kicker {
  color: #e3262e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.commission-heading-line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.commission-heading h1,
.commission-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}


/* ========================================
   01 / INTRO
======================================== */

.commission-intro {
  padding-top: 150px;
  padding-bottom: 100px;
}

.commission-intro-copy {
  max-width: 760px;
}

.commission-intro-copy p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.78);
}

.commission-intro-copy p:last-child {
  margin-bottom: 0;
}


/* ========================================
   02 / MENU
======================================== */

.commission-menu {
  padding-top: 80px;
}

.price-category {
  margin-bottom: 70px;
}

.price-category:last-of-type {
  margin-bottom: 50px;
}

.price-category-head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.price-number {
  color: #e3262e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.price-category-head h3 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 0.08em;
}


/* ========================================
   PRICE ITEMS
======================================== */

.price-items {
  display: flex;
  flex-direction: column;
}

.price-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
}

.price-item-title h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.price {
  flex-shrink: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price-item-detail {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  margin-top: 13px;
}

.price-item-detail span {
  color: #e3262e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.price-item-detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.8;
}

.price-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.8;
}

.commission-menu-note {
  margin-top: 70px;
  padding: 30px;
  border-left: 2px solid #e3262e;
  background: rgba(255, 255, 255, 0.03);
}

.commission-menu-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 2;
}


/* ========================================
   03 / WORKS
======================================== */

.commission-works {
  padding-top: 80px;
}

.works-year {
  margin-bottom: 65px;
}

.works-year:last-child {
  margin-bottom: 0;
}

.works-year-title {
  margin-bottom: 15px;
  color: #e3262e;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.works-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.works-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.works-type {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.works-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}


/* ========================================
   04 / SAMPLE WORKS
======================================== */

.commission-samples {
  padding-top: 80px;
}


/* GRID */

.sample-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}


/* ITEM */

.sample-item {
  display: block;
  color: #ffffff;
  text-decoration: none;
  background: #111010;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.sample-item:hover {
  transform: translateY(-5px);
  border-color: #e3262e;
}


/* IMAGE */

.sample-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0c0c;
}

.sample-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.sample-item:hover .sample-image img {
  transform: scale(1.05);
}


/* INFO */

.sample-info {
  display: grid;
  grid-template-columns: 45px 1fr 30px;
  gap: 15px;
  align-items: center;
  padding: 20px 22px;
}

.sample-number {
  color: #e3262e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sample-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sample-arrow {
  font-size: 20px;
  text-align: right;
  transition: transform 0.3s ease;
}

.sample-item:hover .sample-arrow {
  transform: translateX(5px);
}


/* ========================================
   CONTACT LINKS
======================================== */

.commission-contact-links {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.commission-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  min-width: 230px;
  padding: 20px 24px;
  border: 1px solid #e3262e;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.commission-contact-button:hover {
  background: #e3262e;
  color: #ffffff;
}

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

.commission-page .site-footer {
  margin-top: 0;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

  .commission-section {
    width: min(100% - 50px, 760px);
    padding: 85px 0;
  }

  .commission-intro {
    padding-top: 120px;
  }

  .commission-heading {
    margin-bottom: 50px;
  }

  .price-item-detail {
    grid-template-columns: 150px 1fr;
  }

  .sample-grid {
    gap: 18px;
  }

  .commission-contact-copy {
    align-items: flex-start;
    flex-direction: column;
  }

}


@media (max-width: 600px) {

  .commission-section {
    width: calc(100% - 36px);
    padding: 70px 0;
  }

  .commission-intro {
    padding-top: 100px;
  }

  .commission-heading {
    margin-bottom: 40px;
  }

  .commission-heading-top {
    gap: 12px;
  }

  .commission-kicker {
    font-size: 10px;
  }

  .commission-heading h1,
  .commission-heading h2 {
    font-size: 34px;
  }


  /* PRICE */

  .price-category {
    margin-bottom: 55px;
  }

  .price-category-head {
    gap: 15px;
  }

  .price-category-head h3 {
    font-size: 20px;
  }

  .price-item {
    padding: 23px 0;
  }

  .price-item-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .price-item-title h4 {
    font-size: 16px;
  }

  .price {
    font-size: 16px;
  }

  .price-item-detail {
    display: block;
    margin-top: 12px;
  }

  .price-item-detail span {
    display: block;
    margin-bottom: 8px;
  }

  .commission-menu-note {
    padding: 22px;
    margin-top: 50px;
  }


  /* WORKS */

  .works-item {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 18px 0;
  }

  .works-type {
    font-size: 9px;
  }

  .works-item p {
    font-size: 14px;
  }


  /* SAMPLE */

  .sample-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sample-image {
    aspect-ratio: 16 / 9;
  }

  .sample-info {
    grid-template-columns: 35px 1fr 25px;
    padding: 17px 18px;
  }

  .sample-info h3 {
    font-size: 14px;
  }


  /* CONTACT */

  .commission-contact {
    padding-bottom: 110px;
  }

  .commission-contact-button {
    width: 100%;
    min-width: 0;
  }

}