/* 글자 크기 최소 12px, 자간 -0.06em 이상 (CLAUDE.md 디자인 피드백 규칙) */

.en-pair {
  margin: 15px 0 0;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* 공통 섹션 제목 */
.section-heading h2,
.works h2,
.heritage h2,
.contact-title h2 {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 900;
  letter-spacing: -0.04em;
}
.section-heading h2,
.works h2 {
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.5;
}

/* 일본에서 하는 일 (#japan) */
.japan {
  padding: 80px 0 45px;
  background: var(--color-ink);
  color: #fff;
  border-top: 1px solid #222;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10%;
  align-items: end;
  margin-bottom: 48px;
}
.section-heading .en-pair {
  color: #888;
}
.section-heading > p {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  color: #aaa;
}

.business-list {
  border-top: 1px solid #555;
}
.business {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10%;
  padding: 38px 0 48px;
  border-bottom: 1px solid #555;
}
.business:last-child {
  border-bottom: 0;
}
.business-title {
  position: sticky;
  top: 32px;
  align-self: start;
}
.business-number {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-text-muted);
}
.business-number::before {
  content: "(";
}
.business-number::after {
  content: ")";
}
.business h3 {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(24px, 2.45vw, 35px);
  line-height: 1.6;
  letter-spacing: -0.045em;
}
.business .en-pair {
  margin-top: 26px;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #aaa;
}
.business-content > p {
  margin: 0;
  font-size: 13px;
  line-height: 2.1;
  color: #c3c3c3;
}
.business-content > small {
  display: block;
  font-size: 12px;
  line-height: 1.9;
  color: #888;
}

.service-values {
  margin: 25px 0;
}
.service-values > div {
  margin: 0 0 19px;
}
.service-values dt {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #eee;
}
.service-values dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.95;
  color: var(--color-text-muted);
}

.sys-inline {
  margin-top: 22px;
  padding: 23px;
  background: #202020;
  border: 1px solid #333;
}
.sys-inline > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sys-name {
  font-family: var(--font-en);
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.status {
  font-size: 12px;
  color: #aaa;
}
.sys-inline > p {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: #aaa;
}
.sys-inline .text-link {
  width: 100%;
  margin-top: 8px;
}

.proof-link {
  margin-top: 0;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--color-text-on-dark-strong);
}

/* 03: 서비스 범위 목록 */
.business-scopes {
  padding-top: 42px;
}
.business-scopes > .business-title {
  position: static;
}
.business-scopes .en-pair {
  margin-top: 18px;
  font-size: 13px;
  color: #888;
}
.scope-content > p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.9;
  color: #ccc;
}
.scope-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.scope-content li {
  padding: 14px 0;
  border-top: 1px solid var(--color-line-dark);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-on-dark-strong);
}
.scope-content li:last-child {
  border-bottom: 1px solid var(--color-line-dark);
}

/* THE SMC 소개 (#about) */
.heritage {
  padding: 78px 0;
  background: var(--color-paper);
}
.heritage-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10%;
}
.heritage-top > .en-pair {
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.heritage h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.5;
}
.heritage-top > div > p {
  font-size: 13px;
  line-height: 2.1;
  color: #666;
}
.heritage-top > div > .heritage-intro {
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--color-ink);
}

.hq-building {
  margin: 35px 0 0;
}
.hq-building img {
  width: 100%;
  height: auto;
}
.hq-building figcaption {
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-text-faint-on-light);
}

.hq-milestone {
  display: grid;
  grid-template-columns: 1fr 1.5fr 30px;
  gap: 7%;
  align-items: center;
  margin-top: 38px;
  padding: 24px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.hq-milestone > span {
  font-family: var(--font-en);
  font-size: 28px;
  letter-spacing: -0.05em;
}
.hq-milestone p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: #555;
}
.hq-milestone a {
  display: grid;
  font-family: var(--font-en);
  place-items: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  font-size: 25px;
}

.hq-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 35px 0 20px;
  padding: 35px 30px;
  background: var(--color-ink);
  color: #fff;
}
.hq-metrics > div {
  padding: 0 28px;
  border-right: 1px solid var(--color-line-dark);
}
.hq-metrics > div:first-child {
  padding-left: 0;
}
.hq-metrics > div:last-child {
  border: 0;
}
.hq-metrics strong {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(60px, 9vw, 130px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.hq-metrics strong span {
  margin-left: 8px;
  font-family: var(--font-jp);
  font-size: 16px;
  letter-spacing: -0.04em;
}
.hq-metrics p {
  margin: 12px 0 0;
  font-size: 12px;
  color: #aaa;
}
.source-note {
  margin: 25px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--color-text-faint-on-light);
}
.heritage .text-link {
  margin-top: 12px;
}

/* 쇼릴 */
.showreel {
  padding: 45px 0 0;
  background: var(--color-ink);
  color: #fff;
}
.showreel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 22px;
}
.showreel-head > span {
  font-family: var(--font-en);
  font-size: 12px;
}
.showreel-head > p {
  margin: 0;
  font-size: 14px;
}
.hero-visual {
  width: var(--wrap-width);
  max-width: var(--wrap-max);
  margin: auto;
  background: var(--color-ink);
}
.reel-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-ink);
}
.reel {
  position: absolute;
  inset: 0;
}
.reel-poster {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.reel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.reel-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: var(--tap-min);
  padding: 0 20px;
  color: #fff;
  background: #000c;
  border: 1px solid #ffffff70;
  border-radius: 30px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.reel-play:hover {
  background: #000;
}
.reel-play[hidden] {
  display: none;
}
.visual-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 35px;
}
.caption-status {
  font-size: 12px;
  line-height: 1.8;
  color: #888;
}

/* 제작 사례 (#works) */
.works {
  padding: 75px 0 70px;
  background: var(--color-ink);
  color: #fff;
}
.showreel + .works {
  padding-top: 50px;
}
.works-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 35px;
}
.works-head > p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--color-text-muted);
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px 24px;
}
.case {
  position: relative;
  min-width: 0;
}
.case h3 button {
  padding: 0;
  border: 0;
  background: none;
  letter-spacing: inherit;
  text-align: left;
}
/* 카드 전체를 누를 수 있도록 제목 버튼의 클릭 영역을 카드 크기로 넓힌다 */
.case h3 button::after {
  content: "";
  position: absolute;
  inset: 0;
}
.case h3 button:focus-visible {
  outline: none;
}
.case h3 button:focus-visible::after {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.case-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #222;
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.case:hover .case-image img {
  transform: scale(1.025);
}
.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 16px 0 9px;
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1.5;
  color: #aaa;
}
.case h3 {
  margin: 0 0 8px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.03em;
}
.case > p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--color-text-muted);
}
.case-open {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 10px;
  border-bottom: 1px solid var(--color-line-dark);
  font-size: 12px;
  color: #aaa;
}
.case-open > span {
  font-size: 22px;
  color: #fff;
}

/* 사례 상세 모달 */
.case-dialog {
  width: min(860px, 92vw);
  max-height: 90vh;
  padding: 0;
  overflow: auto;
  border: 0;
  background: var(--color-paper);
  color: var(--color-ink);
}
.case-dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(5px);
}
.modal-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 28px;
  background: var(--color-paper);
  border-bottom: 1px solid #ddd;
}
.modal-bar span {
  font-family: var(--font-en);
  font-size: 13px;
}
.modal-close {
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  border: 0;
  background: none;
  font-size: 25px;
}
.modal-image {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}
.modal-copy {
  padding: 30px 40px 40px;
}
.modal-copy h2 {
  margin: 0 0 24px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.65;
  letter-spacing: -0.04em;
}
.modal-copy h3 {
  margin: 25px 0 8px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 14px;
}
.modal-copy p {
  font-size: 13px;
  line-height: 2;
  color: #555;
}
/* 화살표를 영문 서체용 span으로 분리해도 한 칸만 띄운다 (.text-link 기본 gap은 32px) */
.modal-copy .text-link {
  gap: 0.3em;
}
.modal-copy .case-context {
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--color-text-faint-on-light);
}

/* 문의 (#contact) */
.contact {
  padding: 55px 0 40px;
  background: var(--color-ink);
  color: #fff;
  border-top: 1px solid var(--color-line-dark);
}
.contact-title {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10%;
  align-items: start;
}
.contact-title h2 {
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.5;
}
.contact-title .en-pair {
  max-width: 400px;
  margin: 10px 0 0;
  font-size: clamp(26px, 3.1vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10%;
  margin-top: 35px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line-dark);
}
.contact-grid h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}
.contact-grid h3 small {
  display: block;
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-text-faint);
}
.contact p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.9;
  color: #aaa;
}
.email {
  font-family: var(--font-en);
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.6;
  letter-spacing: -0.05em;
}
.contact small {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--color-text-faint);
}

@media (max-width: 1000px) {
  .section-heading,
  .business {
    grid-template-columns: 1.1fr 1fr;
    gap: 7%;
  }
  .business-scopes {
    grid-template-columns: 1.2fr 1fr;
    gap: 10%;
  }
  .business h3 {
    font-size: 26px;
  }
  .business-scopes h3 {
    font-size: clamp(24px, 2.45vw, 35px);
  }
  .business-content > p {
    font-size: 12px;
  }
  .hq-metrics strong span {
    font-size: 13px;
  }
  .case h3 {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .japan {
    padding: 42px 0 20px;
  }
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  .section-heading h2,
  .works h2 {
    font-size: 27px;
    line-height: 1.6;
  }
  .section-heading .en-pair {
    margin-top: 12px;
  }
  .section-heading > p {
    margin-top: 20px;
    font-size: 12px;
  }

  .business {
    display: block;
    padding: 27px 0 33px;
  }
  .business-title {
    position: static;
  }
  .business-number {
    margin-bottom: 14px;
  }
  .business h3 {
    font-size: 24px;
    line-height: 1.55;
  }
  .business .en-pair {
    margin: 18px 0 24px;
    font-size: 25px;
  }
  .business-content > p {
    font-size: 13px;
    line-height: 2;
  }
  .service-values {
    margin: 23px 0;
  }
  .sys-inline {
    padding: 20px;
  }
  .sys-name {
    font-size: 44px;
  }

  .business-scopes {
    padding-top: 30px;
  }
  .business-scopes h3 {
    font-size: 25px;
    line-height: 1.6;
  }
  .business-scopes .en-pair {
    margin-top: 16px;
    font-size: 12px;
  }
  .scope-content > p {
    margin: 24px 0;
    font-size: 15px;
  }
  .scope-content li {
    padding: 13px 0;
    font-size: 14px;
  }

  .heritage {
    padding: 42px 0;
  }
  .heritage-top {
    display: block;
  }
  .heritage-top > .en-pair {
    max-width: 270px;
    margin: 0 0 27px;
    font-size: 28px;
  }
  .heritage h2 {
    margin-bottom: 21px;
    font-size: 30px;
    line-height: 1.55;
  }
  .heritage-top > div > p {
    font-size: 12px;
  }
  .hq-building {
    margin-top: 25px;
  }
  .hq-milestone {
    grid-template-columns: 1fr 40px;
    gap: 12px;
    margin-top: 27px;
    padding: 21px 0;
  }
  .hq-milestone > span {
    font-size: 25px;
  }
  .hq-milestone p {
    grid-column: 1;
    grid-row: 2;
  }
  .hq-milestone p br {
    display: none;
  }
  .hq-milestone a {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .hq-metrics {
    margin: 28px 0 18px;
    padding: 24px 18px;
  }
  .hq-metrics > div {
    padding: 0 10px;
  }
  .hq-metrics strong {
    font-size: 43px;
  }
  .hq-metrics strong span {
    display: block;
    margin: 7px 0 0;
    font-size: 12px;
  }
  .hq-metrics p {
    line-height: 1.7;
  }
  .source-note {
    margin-top: 18px;
  }

  .showreel {
    padding-top: 30px;
  }
  .showreel-head {
    margin-bottom: 16px;
  }
  .showreel-head > p {
    font-size: 12px;
  }
  .hero-visual {
    width: 100%;
  }
  .visual-caption {
    width: var(--wrap-width);
    margin: auto;
    min-height: 30px;
  }

  .works {
    padding: 42px 0;
  }
  .showreel + .works {
    padding-top: 32px;
  }
  .works-head {
    display: block;
    margin-bottom: 25px;
  }
  .works-head > p {
    margin-top: 18px;
  }
  .case-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .case-meta {
    margin-top: 13px;
  }
  .case h3 {
    font-size: 17px;
  }
  .case-open {
    padding: 11px 0;
  }

  .case-dialog {
    width: 94vw;
    max-height: 92vh;
  }
  .modal-bar {
    padding: 8px 16px;
  }
  .modal-bar span {
    font-size: 12px;
  }
  .modal-image {
    max-height: 300px;
  }
  .modal-copy {
    padding: 23px 22px 30px;
  }
  .modal-copy h2 {
    font-size: 23px;
  }
  .modal-copy p {
    font-size: 12px;
    line-height: 1.9;
  }
  .modal-copy h3 {
    font-size: 13px;
  }

  .contact {
    padding: 36px 0 30px;
  }
  .contact-title {
    display: block;
  }
  .contact-title h2 {
    font-size: 38px;
  }
  .contact-title .en-pair {
    margin-top: 22px;
    font-size: 27px;
  }
  .contact-grid {
    display: block;
    margin-top: 27px;
    padding-top: 22px;
  }
  .contact-grid h3 {
    margin-bottom: 22px;
    font-size: 13px;
  }
  .email {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-image img {
    transition: none;
  }
}
