/* ==========================================================================
   회사소개 (co-) — 스토리 · 개발자 · 연혁 · 인증 · 사람들 · 뉴스
   ========================================================================== */

/* ---------- 첫 화면 ---------- */
.co-hero { position: relative; overflow: hidden; padding-block: 64px 72px; background: radial-gradient(60% 70% at 90% 10%, color-mix(in srgb, #a278ff 14%, transparent), transparent 70%), radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 70%), var(--paper); }
.co-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.co-hero__text { display: grid; gap: 18px; justify-items: start; }
.co-hero__text > * { animation: co-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.co-hero__text > :nth-child(2) { animation-delay: .08s; } .co-hero__text > :nth-child(3) { animation-delay: .16s; } .co-hero__text > :nth-child(4) { animation-delay: .24s; }
@keyframes co-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.co-hero__title { font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.16; letter-spacing: -0.025em; font-weight: 800; }
.co-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--body); max-width: 32em; }
.co-hero__jump { display: flex; flex-wrap: wrap; gap: 8px; }
.co-hero__jump a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-weight: 600; font-size: .9rem; transition: border-color .2s, color .2s; }
.co-hero__jump a:hover { border-color: var(--blue); color: var(--blue); }
.co-collage { position: relative; aspect-ratio: 5 / 4; }
.co-collage img { position: absolute; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); border: 4px solid var(--paper); animation: co-in 1s cubic-bezier(.2,.8,.2,1) both; }
.co-collage img:nth-child(1) { left: 0; top: 6%; width: 64%; aspect-ratio: 3 / 2; transform: rotate(-3deg); animation-delay: .1s; }
.co-collage img:nth-child(2) { right: 0; top: 0; width: 44%; aspect-ratio: 1 / 1; transform: rotate(4deg); animation-delay: .25s; }
.co-collage img:nth-child(3) { right: 8%; bottom: 0; width: 58%; aspect-ratio: 3 / 2; object-position: left top; transform: rotate(-1deg); animation-delay: .4s; }
@keyframes co-in { from { opacity: 0; translate: 0 30px; scale: .92; } to { opacity: 1; translate: 0 0; scale: 1; } }
.co-stats { margin-top: 48px; }
@media (max-width: 900px) { .co-hero__grid { grid-template-columns: 1fr; gap: 32px; } .co-collage { max-width: 520px; width: 100%; justify-self: center; } }

/* ---------- 스토리 챕터 ---------- */
.co-chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; text-align: left; counter-reset: ch; }
.co-chapter { position: relative; padding: 24px; border-radius: 20px; background: var(--paper); display: grid; gap: 8px; align-content: start; }
.co-chapter span { font-family: var(--mono); font-weight: 600; color: var(--blue); font-size: .82rem; }
.co-chapter b { font-size: 1.2rem; color: var(--ink); }
.co-chapter p { color: var(--body); font-size: .95rem; }
.co-chapter:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .9rem; z-index: 1; }
@media (max-width: 760px) { .co-chapters { grid-template-columns: 1fr; } .co-chapter:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -14px; transform: translateX(50%); } }

/* ---------- 개발자 ---------- */
.co-founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.co-founder__media { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.co-founder__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); display: block; }
.co-founder__photo--init { display: grid; place-items: center; font-size: 6rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #6e8bff, #a278ff 55%, #ff9d62); }
.co-founder__badge { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .1em; box-shadow: var(--shadow-sm); }
.co-founder__text { display: grid; gap: 14px; }
.co-founder__role { color: var(--blue); font-weight: 700; }
.co-quote { margin: 4px 0; padding: 16px 20px; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 14px 14px 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.co-founder__bio { color: var(--body); }
.co-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.co-points li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--ink); font-weight: 500; }
.co-points li::before { content: ""; width: 10px; height: 10px; margin: 8px 6px; border-radius: 50%; background: linear-gradient(135deg, #6e8bff, #ff9d62); }
@media (max-width: 860px) { .co-founder { grid-template-columns: 1fr; gap: 40px; } .co-founder__media { max-width: 300px; } }

/* 프로필 카드 — 구분(학력 · 면허 · 현직 …)별 묶음, 기관 로고는 어두운 테마에서도 흰 칩 위에 */
.co-prof { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; gap: 28px; }
.co-prof__title { font-size: 1.35rem; }
.co-prof__title small { margin-left: 8px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.co-prof__group { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: start; }
.co-prof__label { font-size: .95rem; color: var(--blue); padding-top: 18px; }
.co-creds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.co-cred { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.co-cred:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-2); color: inherit; }
.co-logo { position: relative; width: 104px; height: 56px; border-radius: 12px; background: #fff; border: 1px solid #e2e7ef; display: grid; place-items: center; overflow: hidden; }
.co-logo img { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: contain; }
.co-logo--init { border: 0; color: #fff; font-weight: 800; font-size: 1.4rem; background: linear-gradient(135deg, #6e8bff, #a278ff 55%, #ff9d62); }
.co-cred__text { display: grid; gap: 2px; min-width: 0; }
.co-cred__when { font-family: var(--mono); font-size: .78rem; font-weight: 600; color: var(--muted); }
.co-cred b { color: var(--ink); font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.co-cred small { color: var(--body); font-size: .86rem; line-height: 1.45; }
.co-press { display: flex; flex-wrap: wrap; gap: 10px; }
.co-press__item { display: grid; place-items: center; height: 60px; min-width: 150px; padding: 10px 18px; border-radius: 14px; background: #fff; border: 1px solid #e2e7ef; color: #16233a; transition: transform .2s, box-shadow .2s; }
a.co-press__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: #16233a; }
.co-press__item img { max-height: 36px; max-width: 150px; object-fit: contain; }
@media (max-width: 760px) {
  .co-prof { margin-top: 48px; }
  .co-prof__group { grid-template-columns: 1fr; gap: 8px; }
  .co-prof__label { padding-top: 0; }
  .co-cred { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .co-logo { width: 84px; height: 48px; }
  .co-press__item { min-width: 0; flex: 1 1 calc(50% - 5px); }
  .co-press__item img { max-width: 100%; }
}

/* ---------- 연혁 (가운데 줄, 좌우 번갈아) ---------- */
.co-tl { list-style: none; margin: 0; padding: 0; position: relative; width: 100%; display: grid; gap: 18px; text-align: left; }
.co-tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: linear-gradient(180deg, #6e8bff, #a278ff, #ff9d62); transform-origin: 50% 0; transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.js-motion .co-tl:not(.is-visible)::before { transform: scaleY(0); }
.co-tl__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; transition: opacity .6s, transform .6s; transition-delay: calc(var(--i) * 90ms); }
.js-motion .co-tl:not(.is-visible) .co-tl__item { opacity: 0; transform: translateY(20px); }
.co-tl__year { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 2px solid var(--blue); color: var(--blue); font-family: var(--mono); font-weight: 700; font-size: .88rem; }
.co-tl__card { padding: 16px 20px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow-sm); display: grid; gap: 4px; }
.co-tl__card b { color: var(--ink); font-size: 1.05rem; }
.co-tl__card p { color: var(--body); font-size: .92rem; }
.co-tl__item:nth-child(odd) .co-tl__card { grid-column: 1; margin-right: 64px; text-align: right; }
.co-tl__item:nth-child(even) .co-tl__card { grid-column: 2; margin-left: 64px; }
@media (max-width: 760px) {
  .co-tl::before { left: 22px; }
  .co-tl__item { grid-template-columns: 1fr; padding-left: 56px; }
  .co-tl__year { left: 22px; top: 18px; transform: translate(-50%, 0); font-size: .75rem; padding: 4px 8px; }
  .co-tl__item:nth-child(odd) .co-tl__card, .co-tl__item:nth-child(even) .co-tl__card { grid-column: 1; margin: 0; text-align: left; }
  .co-tl__card { padding-top: 14px; }
}

/* ---------- 인증 · 특허 ---------- */
.co-certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; width: 100%; text-align: left; }
.co-cert { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.co-cert:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.co-cert__badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, #0f766e 12%, transparent); color: #0f766e; }
.co-cert__badge svg { width: 22px; height: 22px; }
.co-cert__no { display: block; font-weight: 800; color: #0f766e; font-size: .95rem; }
.co-cert b { display: block; color: var(--ink); font-size: .95rem; margin-top: 2px; }
.co-cert small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.co-patents { width: 100%; text-align: left; display: grid; gap: 12px; margin-top: 12px; }
.co-patents h3 { font-size: 1.2rem; }
.co-patents h3 small { font-size: .85rem; color: var(--muted); font-weight: 500; margin-left: 6px; }

/* ---------- 사람들 ---------- */
.co-sub { width: 100%; text-align: left; font-size: 1.15rem; margin-top: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.co-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; width: 100%; text-align: left; }
.co-person { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: var(--paper); transition: transform .2s, box-shadow .2s; }
.co-person:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.co-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.co-avatar--init { display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, #6e8bff, #a278ff 55%, #ff9d62); }
.co-person b { color: var(--ink); font-size: 1.05rem; }
.co-person__role { display: block; color: var(--blue); font-size: .85rem; font-weight: 600; }
.co-person p { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.co-users { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; width: 100%; text-align: left; }
.co-user { padding: 20px; border-radius: 18px; background: var(--paper); border-top: 4px solid var(--blue); display: grid; gap: 6px; }
.co-user:nth-child(2) { border-top-color: #a278ff; } .co-user:nth-child(3) { border-top-color: #ff9d62; }
.co-user b { color: var(--ink); font-size: 1.08rem; }
.co-user p { color: var(--body); font-size: .92rem; }
.co-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; width: 100%; }
.co-partner { display: grid; justify-items: center; gap: 6px; padding: 20px 14px; border-radius: 16px; background: var(--paper); color: inherit; text-align: center; transition: transform .2s, box-shadow .2s; }
a.co-partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: inherit; }
.co-partner img { max-height: 44px; width: auto; object-fit: contain; }
.co-partner b { color: var(--ink); }
.co-partner span { font-size: .82rem; color: var(--muted); }
.co-empty { width: 100%; display: grid; justify-items: center; gap: 10px; padding: 26px 20px; border-radius: 18px; border: 1.5px dashed var(--line-2); background: color-mix(in srgb, var(--paper) 70%, transparent); text-align: center; }
.co-empty__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mist-2); color: var(--muted); font-size: 1.2rem; }
.co-empty p { color: var(--muted); font-size: .92rem; max-width: 36em; }

/* ---------- 뉴스 ---------- */
.co-news { display: grid; gap: 12px; width: 100%; text-align: left; }
.co-news__item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); color: inherit; transition: border-color .2s, transform .2s; }
a.co-news__item:hover { border-color: var(--blue); transform: translateX(4px); color: inherit; }
.co-news__meta { grid-column: 1; font-size: .82rem; color: var(--muted); font-family: var(--mono); }
.co-news__item b { grid-column: 1; color: var(--ink); font-size: 1.05rem; }
.co-news__go { grid-column: 2; grid-row: 1 / span 2; color: var(--blue); font-weight: 600; font-size: .9rem; white-space: nowrap; }

/* ---------- 회사 정보 표 ---------- */
.co-info { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); text-align: left; }
.co-info th, .co-info td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.co-info tr:last-child th, .co-info tr:last-child td { border-bottom: 0; }
.co-info th { width: 30%; background: var(--mist); color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .co-info th { width: 36%; } .co-info th, .co-info td { padding: 12px; font-size: .9rem; } }

@media (prefers-reduced-motion: reduce) { .co-collage img, .co-hero__text > * { animation: none !important; } }

/* ---------- 증서 갤러리 (특허증 · 신고/인증서) ---------- */
.co-docs-head { width: 100%; text-align: left; margin-top: 8px; }
.co-docs-head h3 { font-size: 1.2rem; }
.co-docs-head small { margin-left: 6px; font-size: .85rem; font-weight: 500; color: var(--muted); }
.co-docs { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr)); gap: 18px 14px; text-align: left; }
.co-doc { margin: 0; display: grid; gap: 10px; align-content: start; }
.co-doc__img { position: relative; display: block; aspect-ratio: 1 / 1.414; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.co-doc__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
a.co-doc__img::after { content: "크게 보기"; position: absolute; right: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(15, 31, 61, .82); color: #fff; font-size: .75rem; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
a.co-doc__img:hover, a.co-doc__img:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
a.co-doc__img:hover::after, a.co-doc__img:focus-visible::after { opacity: 1; transform: none; }
.co-doc--blank .co-doc__img { display: grid; place-content: center; justify-items: center; gap: 6px; padding: 14px; text-align: center; background: repeating-linear-gradient(0deg, transparent 0 17px, #eef1f6 17px 18px), #fff; box-shadow: none; border-style: dashed; border-color: #cfd7e3; }
.co-doc--blank .co-doc__img span { font-size: .78rem; font-weight: 700; color: #6b7a8f; letter-spacing: .1em; }
.co-doc--blank .co-doc__img b { font-family: var(--mono); font-size: .92rem; color: #16233a; }
.co-doc--blank .co-doc__img i { font-style: normal; font-size: .75rem; color: #6b7a8f; }
.co-doc figcaption { display: grid; gap: 2px; }
.co-doc__kind { font-size: .72rem; font-weight: 700; color: #0f766e; letter-spacing: .04em; }
.co-doc__no { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--muted); }
.co-doc figcaption b { color: var(--ink); font-size: .92rem; line-height: 1.4; }
.co-doc figcaption small { color: var(--muted); font-size: .8rem; }
.co-docs-note { width: 100%; text-align: left; color: var(--muted); font-size: .85rem; }
.co-docs-table { width: 100%; text-align: left; }
.co-docs-table summary { cursor: pointer; font-weight: 600; color: var(--blue); padding: 8px 0; }
.co-docs-table .table-wrap + .table-wrap { margin-top: 12px; }
.co-zoom { width: min(92vw, 760px); max-height: 94vh; padding: 0; border: 0; border-radius: 16px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.4); overflow: auto; }
.co-zoom::backdrop { background: rgba(10, 18, 34, .72); }
.co-zoom img { display: block; width: 100%; height: auto; }
.co-zoom__cap { padding: 12px 18px 16px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.co-zoom__close { position: sticky; top: 10px; float: right; margin: 10px 10px -52px 0; z-index: 1; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(15, 31, 61, .85); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
@media (max-width: 560px) { .co-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; } }
