@charset "utf-8";

/* career (채용정보): dark hero · category filter · rounded list panel */
.page-career { --cr-panel: #eef1f5; --cr-r: clamp(36px, 5.2vw, 100px); --cr-tag: #dfe3e8; background: var(--dark); }
.page-career main { padding-bottom: clamp(40px, 5vw, 96px); background: var(--dark); }

/* hero */
.cr-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(64px, 8vw, 130px)) 0 clamp(48px, 5vw, 90px); color: #fff; background: var(--dark); }
.cr-hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(48% 70% at 88% 10%, rgba(26, 134, 218, .38), transparent 70%), radial-gradient(30% 50% at 62% 110%, rgba(109, 205, 229, .16), transparent 70%); }
.cr-hero__glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 80px 80px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 60%, transparent); }
.cr-hero__inner { position: relative; }
.cr-hero__eyebrow { font-size: clamp(20px, 2.3vw, 44px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.cr-hero__title { margin-top: clamp(8px, 1vw, 18px); font-size: clamp(40px, 4.4vw, 80px); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; word-break: keep-all; }
.cr-hero__title > span { display: inline-block; background: linear-gradient(100deg, #fff 55%, var(--brand-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(40px, 4.4vw, 80px); padding-top: clamp(28px, 2.6vw, 44px); border-top: 1px solid rgba(255, 255, 255, .16); }
.cr-hero__copy { font-size: clamp(22px, 1.9vw, 34px); font-weight: 500; line-height: 1.4; letter-spacing: -.03em; color: rgba(255, 255, 255, .78); }
.cr-hero__copy strong { font-weight: 700; color: #fff; }
.cr-hero__meta { display: flex; gap: clamp(28px, 3vw, 56px); text-align: right; }
.cr-hero__meta dt { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .55); }
.cr-hero__meta dd { margin-top: 8px; font-size: clamp(18px, 1.3vw, 22px); font-weight: 600; line-height: 1.3; color: #fff; }
.cr-hero__meta dd b { font-size: clamp(30px, 2.6vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--brand-light); }

/* category filter: spread edge to edge like the reference board tabs */
.cr-cats { margin-top: clamp(56px, 6vw, 110px); }
.cr-cats ul { display: flex; justify-content: space-between; align-items: center; gap: 12px clamp(24px, 2.5vw, 40px); flex-wrap: wrap; }
.cr-cat { display: inline-flex; align-items: flex-start; gap: 6px; padding: 6px 0; font-size: clamp(19px, 1.35vw, 25px); font-weight: 600; line-height: 1.5; color: rgba(255, 255, 255, .72); transition: color .3s var(--ease); }
.cr-cat sup { font-size: .56em; font-weight: 700; line-height: 1.2; color: rgba(255, 255, 255, .45); transition: color .3s var(--ease); }
.cr-cat:hover { color: #fff; }
.cr-cat[aria-pressed="true"] { color: var(--brand-light); }
.cr-cat[aria-pressed="true"] sup { color: var(--brand-light); }
.cr-cat:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 4px; border-radius: 4px; }

.js-motion [data-cr-in] { opacity: 0; transform: translateY(40px); animation: cr-in 1.1s var(--ease) forwards; }
.js-motion .cr-hero__title[data-cr-in] { animation-delay: .12s; }
.js-motion .cr-hero__row[data-cr-in] { animation-delay: .3s; }
.js-motion .cr-cats[data-cr-in] { animation-delay: .45s; }
@keyframes cr-in { to { opacity: 1; transform: none; } }

/* list panel */
.cr-panel { position: relative; padding: clamp(56px, 6vw, 100px) 0 clamp(80px, 8vw, 150px); border-radius: var(--cr-r); background: var(--cr-panel); color: var(--ink); }
.cr-board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: clamp(20px, 2vw, 28px); border-bottom: 1px solid var(--line-2); }
.cr-board__title { font-size: clamp(22px, 1.7vw, 30px); font-weight: 700; letter-spacing: -.03em; }
.cr-board__total { font-size: 17px; color: var(--mute); }
.cr-board__total b { font-weight: 700; color: var(--ink); }

.cr-list { margin-top: clamp(48px, 6vw, 110px); }
.cr-item { position: relative; }
.cr-item + .cr-item { margin-top: clamp(48px, 5.6vw, 90px); }
.cr-item[hidden] { display: none; }
.cr-item__link { display: grid; grid-template-columns: clamp(240px, 20.6vw, 330px) minmax(0, 1fr); gap: clamp(32px, 6.25vw, 100px); align-items: start; color: inherit; }
.cr-item__thumb { position: relative; display: block; aspect-ratio: 330 / 224; overflow: hidden; border-radius: clamp(24px, 2.5vw, 40px); background: #fff; isolation: isolate; }
.cr-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cr-item__body { display: block; }
.cr-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 18px; line-height: 1.5; letter-spacing: -.01em; color: #555; }
.cr-item__state { display: inline-flex; align-items: center; height: 28px; margin-right: 8px; padding: 0 12px; border-radius: 999px; background: var(--ink); font-size: 14px; font-weight: 700; color: #fff; }
.cr-item.is-ended .cr-item__state { background: #c4cad2; color: var(--ink-2); }
.cr-item__tit { display: -webkit-box; margin-top: clamp(16px, 2vw, 36px); overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: clamp(22px, 2vw, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; color: var(--ink); transition: color .3s var(--ease); }
.cr-item__desc { display: -webkit-box; margin-top: 12px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: clamp(17px, 1.25vw, 20px); line-height: 1.7; letter-spacing: -.01em; color: #333; }
/* tags sit under the text column, outside the link */
.cr-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(18px, 1.9vw, 30px) 0 0 calc(clamp(240px, 20.6vw, 330px) + clamp(32px, 6.25vw, 100px)); }
.cr-item__tags li { display: inline-flex; align-items: center; height: 42px; padding: 0 clamp(18px, 1.9vw, 30px); border-radius: 21px; background: var(--cr-tag); font-size: clamp(15px, 1.1vw, 18px); color: #222; }

@media (hover: hover) {
  .cr-item__link:hover .cr-item__thumb img { transform: scale(1.06); }
  .cr-item__link:hover .cr-item__tit { color: var(--brand); }
}
.cr-item__link:focus-visible { outline: 0; }
.cr-item__link:focus-visible .cr-item__thumb { outline: 3px solid var(--brand); outline-offset: 4px; }
.cr-item__link:focus-visible .cr-item__tit { color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }

.cr-empty { padding: 120px 0; font-size: 18px; text-align: center; color: var(--mute); }

/* pager */
.cr-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: clamp(64px, 6vw, 110px); }
.cr-pager[hidden] { display: none; }
.cr-pager button { display: inline-flex; justify-content: center; align-items: center; width: 48px; height: 48px; border-radius: 50%; font-size: 17px; font-weight: 600; color: var(--ink-2); transition: background-color .25s var(--ease), color .25s var(--ease); }
.cr-pager button:hover { background: #dfe3e8; }
.cr-pager button[aria-current="page"] { background: var(--ink); color: #fff; }
.cr-pager button:disabled { opacity: .35; pointer-events: none; }
.cr-pager svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-pager button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (max-width: 1024px) {
  .cr-item__link { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; }
  .cr-item__tags { margin-left: calc(250px + 32px); }
  .cr-item__tit { margin-top: 12px; font-size: 22px; }
}
@media (max-width: 768px) {
  .page-career { --cr-r: 28px; }
  .cr-hero { padding: calc(var(--header-h) + 56px) 0 40px; }
  .cr-hero__glow::after { background-size: 48px 48px; }
  .cr-hero__title { font-size: clamp(30px, 8.4vw, 40px); }
  .cr-hero__row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cr-hero__copy { font-size: 21px; }
  .cr-hero__meta { text-align: left; }
  .cr-hero__meta dt { font-size: 14px; }
  .cr-hero__meta dd { font-size: 17px; }
  .cr-cats { margin: 40px calc(var(--gutter) * -1) 0; }
  .cr-cats ul { flex-wrap: nowrap; justify-content: flex-start; gap: 8px; padding: 0 var(--gutter) 4px; overflow-x: auto; scrollbar-width: none; }
  .cr-cats ul::-webkit-scrollbar { display: none; }
  .cr-cat { flex: none; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 16px; white-space: nowrap; }
  .cr-cat[aria-pressed="true"] { border-color: var(--brand-light); background: rgba(109, 205, 229, .12); }
  .cr-panel { padding: 40px 0 64px; }
  .cr-board__total { font-size: 15px; }
  .cr-list { margin-top: 36px; }
  .cr-item + .cr-item { margin-top: 48px; }
  .cr-item__link { grid-template-columns: 1fr; gap: 20px; }
  .cr-item__thumb { border-radius: 20px; }
  .cr-item__meta { font-size: 15px; }
  .cr-item__state { height: 26px; font-size: 13px; }
  .cr-item__tit { margin-top: 10px; font-size: 20px; }
  .cr-item__desc { margin-top: 8px; font-size: 16px; }
  .cr-item__tags { margin: 16px 0 0; gap: 6px; }
  .cr-item__tags li { height: 34px; padding: 0 14px; font-size: 14px; }
  .cr-pager { margin-top: 48px; gap: 4px; }
  .cr-pager button { width: 42px; height: 42px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-cr-in] { opacity: 1; transform: none; animation: none; }
  .cr-item__thumb img { transition: none; }
}
