/* 자잘한 디자인 수정은 이 파일에서 조정하세요.
   기본 디자인 파일보다 마지막에 읽히므로 아래 설정이 우선 적용됩니다.
   px 숫자는 크기/간격, #으로 시작하는 값은 색상입니다. */

/* 1. 심야냥바 소개 영역의 공통 배경색 */
:root {
  --soft-section-background: #faf8f5;
  --bar-orange: #d44200;
  --bar-hover: #b63600;
}
.home-page .chat-invite,
.project-page .simrui-section {
  background: var(--soft-section-background);
}

/* 2. Project 마지막 제목과 '여기, 한 자리 비워둘게요.' 사이 간격 */
.closing-copy > .closing-sub {
  margin-top: 12px;
}

/* 3. '협업 문의' 글자만 확대. 설명 문장과 화살표 크기는 유지합니다. */
.closing-business [data-copy="closingContact"] {
  font-size: 19.32px;
}

/* 4. Contact 보내기 버튼: 가로 폭, 좌우 여백, 폼의 왼쪽 정렬 */
.inquiry-submit {
  width: 120px;
  max-width: 100%;
  padding-inline: 16px;
  margin-left: 0;
  margin-right: auto;
  align-self: flex-start;
  justify-self: start;
  white-space: nowrap;
}

/* 5. IP EXPANSION 번호 아래 막대: 옅은 회색, 기존보다 2px 길게 */
.expansion-number::after {
  width: 26px;
  background: #ccc;
}

/* 6. 작품 소개의 지원사업 문구를 24px 위로 이동 */
.series-information {
  row-gap: 0;
}

/* 7. Contact 우체통: 크기 유지, 왼쪽 누적 25px·위쪽 17px 이동 */
.mailbox-illustration img {
  transform: translate(-25px, -17px) scale(.825);
  transform-origin: center bottom;
}

/* 8. Contact 이메일: 글씨만 3px 축소하고 아래 그림의 세로 위치 유지 */
.inquiry-email {
  min-height: 1.4em;
}
.inquiry-email span {
  font-size: calc(1em - 3px);
}

/* 모바일 화면에서 적용되는 값 */
@media (max-width: 760px) {
  .series-information {
    row-gap: 12px;
  }
  .closing-copy > .closing-sub {
    margin-top: 10px;
  }
  .closing-business [data-copy="closingContact"] {
    font-size: 17.94px;
  }
}

/* 심야냥바 대화 서비스 */
.service-link,
.chat-invite-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bar-orange);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.service-link {
  flex: none;
  min-height: 34px;
  padding: 4px 9px;
  font-size: 14px;
}
.home-page .service-title,
html[lang=en] .home-page .service-title {
  flex-wrap: wrap;
}
.service-link:hover,
.chat-invite-link:hover {
  background: var(--bar-hover);
}
.service-link:focus-visible,
.chat-invite-link:focus-visible {
  outline: 2px solid #672805;
  outline-offset: 6px;
}
.chat-invite-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(48px, 7vw, 90px);
}
.chat-invite-copy {
  max-width: 490px;
  word-break: keep-all;
}
.chat-eyebrow {
  color: var(--bar-hover);
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .04em;
}
.chat-invite h2 {
  font-size: clamp(30px, 3.3vw, 40px);
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 800;
}
.chat-description {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.55;
  color: #60584f;
  text-wrap: pretty;
}
.chat-invite-link {
  min-height: 44px;
  margin-top: 24px;
  padding: 9px 18px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--bar-orange);
  font-size: 16px;
}
.chat-invite-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
@media (max-width: 760px) {
  .chat-invite-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .chat-invite-image {
    grid-row: 1;
  }
  .chat-invite-link {
    margin-top: 18px;
  }
}
