/* ==========================================================================
   (주)루카스솔루션 — 회사소개 (about.html)
   기준 시안: Figma 「B안 흰 헤더 · 확정」 PC 회사소개 1920 / MO 회사소개 320
   공통 조각(.sub-hero, .sub-tabs, .inner, .h-serif …)은 style.css 것을 그대로 쓴다.
   ========================================================================== */

/* 탭을 누르면 해당 구역으로 부드럽게 이동 (이 파일은 about.html 에서만 불러온다) */
html { scroll-behavior: smooth; }

/* ---------- Sub Hero: 이 시안에 맞춘 공통 조각 보정 ----------
   시안의 배경 사진 틀은 머리글 밑(프레임 맨 위)에서 시작한다 → 사진 잘림 위치를 시안과 같게 맞춘다. */
.page-about .sub-hero-bg { top: calc(var(--header-h) * -1); }
/* 시안: 두 번째 화살표가 '회사소개' 글자 끝에서 24.5px 떨어져 있다 (공통 값 20px) */
.page-about .breadcrumb li + li + li::before { margin-left: 24.5px; }

/* ---------- 인사말 ---------- */
.about-greeting { padding: 120px 0 140px; background: #fff; }
.about-greeting-inner { display: grid; grid-template-columns: minmax(0, 1fr) 40%; grid-template-rows: auto auto 1fr; }
.about-greeting-title { grid-column: 1; grid-row: 1; margin-top: 66px; font-size: 40px; letter-spacing: -.8px; }
.about-greeting-media { position: relative; grid-column: 2; grid-row: 1 / span 3; align-self: start; }
.about-greeting-media::before, .about-greeting-media::after { content: ""; position: absolute; left: -20px; top: -20px; background: var(--brand); }
.about-greeting-media::before { width: 1px; height: 160px; }
.about-greeting-media::after { width: 160px; height: 1px; }
.about-greeting-photo { aspect-ratio: 480 / 620; overflow: hidden; }
.about-greeting-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-greeting-body { grid-column: 1; grid-row: 2; margin-top: 66px; font-size: 18px; line-height: 1.9; color: var(--gray); }
.about-greeting-body p + p { margin-top: 1.9em; }
.about-greeting-sign { grid-column: 1; grid-row: 3; align-self: start; margin-top: 104.6px; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 26px; color: var(--ink); }

/* ---------- 경영진 강점 ---------- */
.about-leader { padding: 140px 0 90px; background: var(--dark); color: #fff; }
.about-leader-title { color: #fff; }
.about-leader-lead { margin-top: 11.1px; font-size: 18px; font-weight: 300; line-height: 26px; color: rgba(255, 255, 255, .8); }
.about-leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 74px; }
.about-leader-card {
  display: grid; grid-template-columns: 244fr 279fr; grid-template-rows: auto auto 1fr;
  min-height: 256px; padding: 47px 15px 47px 47px;
  border: 1px solid rgba(255, 255, 255, .2);
}
.about-leader-ico { grid-column: 1 / -1; grid-row: 1; height: 40px; }
.about-leader-name { grid-column: 1; grid-row: 2; margin-top: 32px; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 40px; }
.about-leader-en { grid-column: 1; grid-row: 3; margin-top: 6px; font-family: var(--display); font-size: 16px; line-height: 21px; color: rgba(255, 255, 255, .85); }
.about-leader-desc { grid-column: 2; grid-row: 2 / span 2; margin-top: 32px; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .85); }

/* ---------- 전문가 네트워크 ---------- */
.about-net { padding: 100px 0 110px; background: var(--bg-gray); }
.about-net-inner { display: grid; grid-template-columns: minmax(0, 1fr) 40%; align-items: start; }
.about-net-text { padding-top: 78px; }
.about-net-quote { margin-top: 30.2px; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.75; color: var(--ink); }
.about-net-desc { margin-top: 27px; font-size: 17px; line-height: 1.85; color: var(--gray); }

/* 원팀 도식: --u = 시안 1px. 1280px 미만에서는 본문 폭에 맞춰 같은 비율로 줄어든다.
   시안의 도식 틀(480×700)이 좌우 상자를 14px씩 잘라내므로 그대로 잘라 보여준다. */
.about-net-diagram { --u: 1px; position: relative; aspect-ratio: 480 / 700; overflow: hidden; }
.about-net-diagram::before, .about-net-diagram::after { content: ""; position: absolute; background: rgba(0, 0, 0, .6); }
.about-net-diagram::before { left: calc(var(--u) * 240); top: calc(var(--u) * 90); width: 1px; height: calc(var(--u) * 520); }
.about-net-diagram::after { left: calc(var(--u) * 50); top: calc(var(--u) * 350); width: calc(var(--u) * 380); height: 1px; }
.about-net-core {
  position: absolute; z-index: 1; left: calc(var(--u) * 150); top: calc(var(--u) * 260);
  display: flex; flex-direction: column; align-items: center;
  width: calc(var(--u) * 180); height: calc(var(--u) * 180); padding-top: calc(var(--u) * 62);
  border-radius: 50%; background: var(--dark); color: #fff; text-align: center; font-family: var(--display);
}
.about-net-core strong { font-weight: 700; font-size: calc(var(--u) * 22); line-height: calc(var(--u) * 29); }
.about-net-core span { margin-top: calc(var(--u) * 5); font-size: calc(var(--u) * 15); line-height: calc(var(--u) * 20); color: rgba(255, 255, 255, .9); }
.about-net-node {
  position: absolute; z-index: 2;
  width: calc(var(--u) * 128); height: calc(var(--u) * 96); padding-top: calc(var(--u) * 23);
  border: 1px solid var(--line); background: #fff; text-align: center; white-space: nowrap;
}
.about-net-node.is-top { left: calc(var(--u) * 176); top: calc(var(--u) * 42); }
.about-net-node.is-right { left: calc(var(--u) * 366); top: calc(var(--u) * 302); }
.about-net-node.is-bottom { left: calc(var(--u) * 176); top: calc(var(--u) * 562); }
.about-net-node.is-left { left: calc(var(--u) * -14); top: calc(var(--u) * 302); }
.about-net-node strong { display: block; font-size: calc(var(--u) * 15); font-weight: 700; line-height: calc(var(--u) * 22); color: var(--ink); }
.about-net-node-en { display: block; margin-top: calc(var(--u) * 4); font-family: var(--display); font-size: calc(var(--u) * 13); line-height: calc(var(--u) * 17); color: var(--muted); }

/* ---------- 일하는 방식 ---------- */
.about-way { padding: 140px 0 49px; background: #fff; }
.about-way-list { margin-top: 51.1px; border-top: 1px solid var(--ink); }
.about-way-item {
  display: grid; grid-template-columns: 260px 110px minmax(0, 1fr); grid-template-rows: auto 1fr;
  padding: 29px 0 30px; border-bottom: 1px solid var(--line);
}
.about-way-photo { grid-column: 1; grid-row: 1 / span 2; align-self: start; aspect-ratio: 260 / 160; overflow: hidden; }
.about-way-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-way-ico { grid-column: 2; grid-row: 1 / span 2; margin: 6px 0 0 50px; }
.about-way-title { grid-column: 3; grid-row: 1; margin-top: 6px; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 37px; color: var(--ink); }
.about-way-desc { grid-column: 3; grid-row: 2; margin-top: 17px; font-size: 17px; line-height: 1.8; color: var(--gray); }

/* PC 좁은 폭(1025–1279px): 본문 폭이 1200px보다 좁아지는 구간 */
@media (min-width: 1025px) and (max-width: 1279px) {
  .about-leader-desc br, .about-net-quote br, .about-net-desc br { display: none; }
  .about-net-diagram { --u: calc((100vw - 80px) / 1200); }
}

/* 영문 서체(Playfair Display)는 낱말 사이를 줄이지 않는다 — style.css 의 word-spacing 보정에서 뺀다 */
.about-leader-en, .about-net-core, .about-net-core *, .about-net-node-en { word-spacing: 0; }

/* ==========================================================================
   MO (1024px 이하)
   ========================================================================== */
@media (max-width: 1024px) {
  /* 시안: "홈  >  회사소개  >  인사말" 의 간격 (공통 값 .55em) */

  .about-greeting { padding: 56px 0 28px; }
  .about-greeting-inner { display: block; }
  .about-greeting-title { margin-top: 0; font-size: 26px; letter-spacing: 0; }
  .about-greeting-media { margin-top: 30.8px; }
  .about-greeting-media::before, .about-greeting-media::after { display: none; }
  .about-greeting-photo { width: 100%; aspect-ratio: 288 / 300; max-height: 480px; }
  .about-greeting-body { margin-top: 28px; font-size: 14px; line-height: 1.8; }
  .about-greeting-body p + p { margin-top: 1.8em; }
  .about-greeting-sign { margin-top: 19.8px; font-size: 15px; line-height: 22px; }

  .about-leader { padding: 56px 0 34px; }
  .about-leader-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 36.4px; }
  .about-leader-card { display: block; min-height: 210px; padding: 21px 19px 20px; }
  .about-leader-ico { height: 28px; }
  .about-leader-name { margin-top: 16px; font-size: 19px; line-height: 27px; }
  .about-leader-en { margin-top: 3px; font-size: 13px; line-height: 17px; }
  .about-leader-desc { margin-top: 17px; font-size: 13px; line-height: 1.7; }

  .about-net { padding: 56px 0 72px; }
  .about-net-inner { display: block; }
  .about-net-text { padding-top: 0; }
  .about-net-title { font-size: 22px; }
  .about-net-quote { margin-top: 18.4px; font-size: 14px; line-height: 1.7; }
  .about-net-diagram { width: 284px; height: 342px; aspect-ratio: auto; margin: 54.6px auto 0; overflow: visible; }
  .about-net-diagram::before { left: 142px; top: 24px; height: 294px; }
  .about-net-diagram::after { left: 46px; top: 170px; width: 192px; }
  .about-net-core { left: 86px; top: 114px; width: 112px; height: 112px; padding-top: 38px; }
  .about-net-core strong { font-size: 16px; line-height: 21px; }
  .about-net-core span { margin-top: 3px; font-size: 13px; line-height: 17px; }
  .about-net-node { width: 92px; height: 48px; padding-top: 13px; }
  .about-net-node.is-top { left: 96px; top: 0; }
  .about-net-node.is-right { left: 192px; top: 146px; }
  .about-net-node.is-bottom { left: 96px; top: 294px; }
  .about-net-node.is-left { left: 0; top: 146px; }
  .about-net-node strong { font-size: 13px; line-height: 19px; }

  .about-way { padding: 56px 0 0; }
  .about-way-list { margin-top: 26.4px; }
  .about-way-item { grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto auto; padding: 19px 0 23.8px; }
  .about-way-item:last-child { border-bottom: 0; }
  .about-way-photo { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 288 / 130; }
  .about-way-ico { grid-column: 1; grid-row: 2; margin: 18px 0 0; }
  .about-way-title { grid-column: 2; grid-row: 2; margin-top: 16px; font-size: 17px; line-height: 1.4; }
  .about-way-desc { grid-column: 1 / -1; grid-row: 3; margin-top: 8.4px; font-size: 13px; line-height: 1.7; }
}
