/* ================= CAREER ================= */
.split .w:has(.mark-line) { overflow: visible; }

/* ---------- Perks ---------- */
.perk { display: flex; flex-direction: column; gap: .9rem; }
.perk p { color: var(--muted); font-size: .92rem; flex: 1; }
.perk__foot { display: inline-flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: 1rem; border-top: 1px dashed var(--line-2); font-size: .82rem; font-weight: 600; color: var(--blue-d); }
.perk__foot .material-symbols-rounded { font-size: 1.1rem; transition: transform .4s var(--ease); }
.perk:hover .perk__foot .material-symbols-rounded { transform: translateX(5px); }

.strip {
  margin-top: clamp(2rem, 4vw, 3rem); border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 2.75rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--blue-d), var(--blue) 50%, var(--cyan)); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  box-shadow: 0 24px 50px -20px rgba(2, 132, 199, .6);
}
.strip::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.strip h3 { color: #fff; }
.strip p { color: rgba(255,255,255,.85); margin-top: .3rem; }

/* ---------- Jobs ---------- */
.jobs-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.job-search { position: relative; flex: 1 1 280px; max-width: 380px; }
.job-search .material-symbols-rounded { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.job-search input { width: 100%; min-height: 46px; padding: .7rem 1rem .7rem 2.7rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: .9rem; transition: border-color .25s, box-shadow .25s; }
.job-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2, 132, 199, .14); }
@media (max-width: 640px) { .job-search { max-width: none; } }

.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 820px) { .jobs { grid-template-columns: 1fr; } }
.job {
  position: relative; display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.35rem, 2.5vw, 1.85rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s, opacity .4s, scale .4s var(--ease);
}
.job::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.job:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: rgba(14, 165, 233, .35); }
.job:hover::after { transform: scaleX(1); }
.job.is-hiding { opacity: 0; scale: .96; }
.job[hidden] { display: none; }
.job__top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.job p { color: var(--muted); font-size: .92rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .82rem; color: var(--ink-2); font-weight: 500; }
.job__meta li { display: inline-flex; align-items: center; gap: .35rem; }
.job__meta .material-symbols-rounded { color: var(--blue); font-size: 1.1rem; }
.job__apply {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.1rem; border-radius: var(--r-sm); font-family: var(--f-head); font-weight: 600; font-size: .88rem;
  color: var(--blue); border: 1.5px solid rgba(2, 132, 199, .35); transition: background .3s, color .3s, border-color .3s;
}
.job__apply .material-symbols-rounded { font-size: 1.1rem; transition: transform .35s var(--ease); }
.job__apply:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.job__apply:hover .material-symbols-rounded { transform: translate(2px, -2px); }
.job mark { background: rgba(6, 182, 212, .2); color: inherit; border-radius: 3px; padding: 0 2px; }
.jobs-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.jobs-empty .material-symbols-rounded { font-size: 2.6rem; width: auto; color: var(--muted-2); margin-bottom: .5rem; }
.jobs-empty a { color: var(--blue); font-weight: 600; }

/* ---------- Apply ---------- */
.apply { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.apply__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.apply__intro > p { margin-top: 1rem; }
.apply__progress { display: flex; align-items: center; gap: 1.1rem; margin: 2rem 0 1.5rem; padding: 1.1rem; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.apply__progress strong { display: block; font-family: var(--f-head); color: var(--navy); font-size: .95rem; }
.apply__progress span { font-size: .82rem; color: var(--muted); }
.apply__ring { position: relative; width: 74px; height: 74px; flex: none; }
.apply__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.apply__ring circle { fill: none; stroke-width: 9; }
.apply__ring .bg { stroke: #E2E8F0; }
.apply__ring .fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .6s var(--ease), stroke .4s; }
.apply__ring strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: .9rem !important; }
.apply__ring.is-complete .fg { stroke: var(--success); }
.apply__notes { display: grid; gap: .7rem; font-size: .88rem; color: var(--muted); }
.apply__notes li { display: flex; gap: .55rem; align-items: flex-start; }
.apply__notes .material-symbols-rounded { color: var(--blue); font-size: 1.15rem; margin-top: .1rem; }
.apply__notes a { color: var(--blue); font-weight: 600; word-break: break-all; }
.apply__form { padding: clamp(1.35rem, 3.5vw, 2.5rem); box-shadow: var(--sh-2); }
.apply__formhead { margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.apply__formhead p { margin-top: .3rem; }
.apply__submit { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: .25rem; }
.field.is-highlight .select { animation: glow 1.4s var(--ease); }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); } 30% { box-shadow: 0 0 0 6px rgba(6, 182, 212, .35); border-color: var(--cyan); } }
@media (max-width: 900px) { .apply { grid-template-columns: 1fr; } .apply__intro { position: relative; top: 0; } }

.drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; text-align: center;
  padding: 1.75rem 1rem; border-radius: var(--r-md); border: 2px dashed #CBD5E1; background: var(--bg); cursor: pointer;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.drop:hover, .drop.is-drag { border-color: var(--blue); background: rgba(2, 132, 199, .04); }
.drop.is-drag { transform: scale(1.01); }
.drop:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2, 132, 199, .14); }
.drop__icon { font-size: 2.2rem !important; width: auto !important; color: var(--blue); transition: transform .4s var(--ease); }
.drop:hover .drop__icon, .drop.is-drag .drop__icon { transform: translateY(-4px); }
.drop__text { font-size: .9rem; color: var(--muted); }
.drop__text strong { color: var(--blue); }
.drop__hint { font-size: .76rem; color: var(--muted-2); }
.drop__file { display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem; padding: .5rem .55rem .5rem .8rem; border-radius: 999px; background: #fff; border: 1px solid rgba(5, 150, 105, .35); color: var(--success); font-size: .85rem; font-weight: 600; max-width: 100%; animation: popIn .4s var(--ease); }
.drop__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; color: var(--ink); }
.drop__remove { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--bg); }
.drop__remove:hover { background: rgba(225, 29, 72, .1); color: var(--danger); }
.drop__remove .material-symbols-rounded { font-size: 1rem; }
.field.is-invalid .drop { border-color: var(--danger); }
.drop.has-file { border-style: solid; border-color: rgba(5, 150, 105, .45); }

/* ---------- Hiring process ---------- */
.hire { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; counter-reset: s; }
.hire::before { content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #CBD5E1 0 8px, transparent 8px 14px); }
.hire::after { content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .3s; }
.hire.is-in::after { transform: scaleX(1); }
.hire__step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem 1.35rem; box-shadow: var(--sh-1);
  opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease), box-shadow .4s, border-color .4s; }
.hire.is-in .hire__step { opacity: 1; transform: none; }
.hire.is-in .hire__step:nth-child(2) { transition-delay: .5s; } .hire.is-in .hire__step:nth-child(3) { transition-delay: 1s; } .hire.is-in .hire__step:nth-child(4) { transition-delay: 1.5s; }
.hire__step:hover { box-shadow: var(--sh-3); border-color: rgba(14, 165, 233, .35); }
.hire__step .icon-box { margin: 0 0 1rem; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; border: 0; box-shadow: 0 0 0 6px #fff, 0 10px 22px -6px rgba(2, 132, 199, .5); }
.hire__n { position: absolute; right: 1.1rem; top: 1rem; font-family: var(--f-head); font-weight: 800; font-size: 2.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(2, 132, 199, .25); }
.hire__step h3 { margin-bottom: .45rem; }
.hire__step p { font-size: .88rem; color: var(--muted); }
@media (max-width: 1000px) { .hire { grid-template-columns: repeat(2, 1fr); } .hire::before, .hire::after { display: none; } }
@media (max-width: 560px) { .hire { grid-template-columns: 1fr; } .hire.is-in .hire__step { transition-delay: 0s !important; } }
@media (prefers-reduced-motion: reduce) { .hire__step { opacity: 1; transform: none; } }
