/* Kaitu 開途 — Join Kaitu (/join, role pages, the application and the applicant's page). Builds on site.css components. */

.press-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; z-index: 9999; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-size: 14px; transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; max-width: calc(100vw - 32px); }
.press-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- hero ---------- */
.jn-hero .h-hero { max-width: 9ch; }
.jn-hero__art { position: relative; }
.jn-hero__chop { position: absolute; right: 22px; bottom: 20px; z-index: 2; font-family: var(--f-cjk); font-weight: 900; font-size: 15px; letter-spacing: .06em; color: #fff; background: var(--seal); padding: 7px 7px; border-radius: 5px; writing-mode: vertical-rl; transform: rotate(-6deg); box-shadow: 0 10px 22px -8px rgba(158,42,34,.6); }
.jn-hero__notes { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jn-hero__notes li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: var(--fs-sm); }
.jn-hero__notes span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--seal-tint); color: var(--seal-deep); font-family: var(--f-cjk); font-weight: 900; font-size: 13px; }

/* ---------- why ---------- */
.jn-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.jn-why__card { position: relative; overflow: hidden; background: var(--card); border: 1px solid rgba(26,23,18,.06); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 30px); min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-1); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.jn-why__card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-paper); }
.jn-why__card--lead { background: var(--seal); color: #fff; }
.jn-why__card--lead p { color: rgba(255,255,255,.86) !important; }
.jn-why__card--lead .jn-why__k { color: #fff; opacity: .2; }
.jn-why__card--lead .jn-why__no { color: rgba(255,255,255,.75); }
.jn-why__k { position: absolute; top: 12px; right: 16px; font-family: var(--f-cjk); font-size: 5.5rem; line-height: 1; color: var(--seal); opacity: .14; transition: opacity .5s, transform .8s var(--ease-out); }
.jn-why__card:hover .jn-why__k { opacity: .3; transform: rotate(-6deg) scale(1.06); }
.jn-why__no { position: absolute; top: 24px; left: 26px; font: 500 12px/1 var(--f-mono); letter-spacing: .16em; color: var(--seal); }
.jn-why__card h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.1; }
.jn-why__card p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; margin-top: 10px; }
.jn-why__art { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 260px; background: var(--indigo); box-shadow: var(--shadow-paper); }
.jn-why__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.jn-why__cap { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; font-family: var(--f-display); font-size: 1.15rem; color: var(--paper); text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.jn-why__cap em { color: #F2B8A8; }
@media (max-width: 1000px) { .jn-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .jn-why { grid-template-columns: minmax(0, 1fr); } .jn-why__card { min-height: 0; padding-top: 64px; } }

/* ---------- teams ---------- */
.jn-teams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.jn-team { position: relative; overflow: hidden; background: var(--card); border: 1px solid rgba(26,23,18,.06); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-paper); display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease-out); }
.jn-team:hover { transform: translateY(-4px); }
.jn-team__g { position: absolute; right: -8px; top: -12px; font-size: 6.4rem; line-height: 1; color: var(--paper-2); pointer-events: none; }
.jn-team > :not(.jn-team__g) { position: relative; }
.jn-team h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.08; margin-top: 44px; }
.jn-team p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.jn-team ul { list-style: none; padding: 0; margin: auto 0 0; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.jn-team li { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
@media (max-width: 1000px) { .jn-teams { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .jn-teams { grid-template-columns: minmax(0, 1fr); } }

/* ---------- open roles ---------- */
.jn-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.jn-filter__b { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); font-weight: 500; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-spring); }
.jn-filter__b:hover { border-color: var(--ink); transform: translateY(-2px); }
.jn-filter__b[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.jn-filter__b:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }
.jn-roles { display: grid; gap: 10px; }
.jn-role { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 48px; grid-template-areas: 'team tags go' 'title tags go' 'sum tags go'; column-gap: 20px; row-gap: 4px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid rgba(26,23,18,.06); box-shadow: var(--shadow-1); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.jn-role:hover { transform: translateY(-3px); box-shadow: var(--shadow-paper); border-color: var(--line-strong); }
.jn-role:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }
.jn-role--open { background: transparent; border: 1px dashed var(--line-strong); box-shadow: none; }
.jn-role__team { grid-area: team; font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--seal); }
.jn-role__title { grid-area: title; font-family: var(--f-display); font-size: clamp(1.3rem, 1.05rem + .8vw, 1.7rem); letter-spacing: -.02em; line-height: 1.1; }
.jn-role__sum { grid-area: sum; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; max-width: 70ch; }
.jn-role__tags { grid-area: tags; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 280px; }
.jn-role__go { grid-area: go; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); transition: background .3s, color .3s, transform .5s var(--ease-out); }
.jn-role__go svg { width: 18px; height: 18px; }
.jn-role:hover .jn-role__go { background: var(--seal); color: #fff; transform: rotate(-8deg); }
.jn-roles__none { margin-top: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .jn-role { grid-template-columns: minmax(0, 1fr) 40px; grid-template-areas: 'team go' 'title go' 'sum sum' 'tags tags'; padding: 20px; }
  .jn-role__tags { justify-content: flex-start; max-width: none; margin-top: 8px; }
  .jn-role__go { width: 40px; height: 40px; }
}

/* ---------- internships (night) ---------- */
.jn-intern__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.jn-intern__top .lede { color: rgba(244,238,227,.75); margin-top: 22px; max-width: 46ch; }
.jn-intern__top .hero__ctas { margin-top: 32px; }
.jn-intern__art { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--night-line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.jn-intern__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.jn-intern__grid { list-style: none; padding: 0; margin: clamp(40px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jn-intern__grid li { padding: 24px; border-radius: var(--r-lg); background: rgba(244,238,227,.05); border: 1px solid var(--night-line); transition: background .4s, border-color .4s; }
.jn-intern__grid li:hover { background: rgba(244,238,227,.09); border-color: rgba(229,96,79,.45); }
.jn-intern__grid b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.1; }
.jn-intern__grid b span { display: block; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; color: #E5604F; margin-bottom: 18px; }
.jn-intern__grid p { margin-top: 10px; font-size: var(--fs-sm); color: rgba(244,238,227,.66); line-height: 1.6; }
.jn-rot { margin-top: 20px; padding: 24px; border-radius: var(--r-lg); border: 1px dashed rgba(244,238,227,.22); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.jn-rot__label { font: 500 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(244,238,227,.5); }
.jn-rot__road { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.jn-rot__road::before { content: ''; position: absolute; left: 22px; right: 22px; top: 21px; border-top: 2px dashed rgba(244,238,227,.25); }
.jn-rot__road li { position: relative; display: grid; gap: 4px; padding-right: 10px; }
.jn-rot__road span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night-2); border: 1px solid rgba(244,238,227,.25); color: var(--paper); font-size: 18px; margin-bottom: 10px; }
.jn-rot__end span { background: var(--seal); border-color: var(--seal); }
.jn-rot__road b { font-weight: 500; font-size: var(--fs-sm); }
.jn-rot__road small { font-size: 12px; color: rgba(244,238,227,.55); }
.jn-intern__film { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--r-xl); overflow: hidden; }
@media (max-width: 1000px) { .jn-intern__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .jn-intern__top { grid-template-columns: minmax(0, 1fr); }
  .jn-rot { grid-template-columns: minmax(0, 1fr); }
  .jn-rot__road { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .jn-rot__road::before { left: 21px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 2px dashed rgba(244,238,227,.25); }
  .jn-rot__road li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .jn-rot__road span { grid-row: span 2; margin: 0; }
}
@media (max-width: 560px) { .jn-intern__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- how we hire ---------- */
.jn-steps { position: relative; }
.jn-steps__road { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 88px; overflow: visible; pointer-events: none; }
.jn-steps__bed, .jn-steps__dash { vector-effect: non-scaling-stroke; }
.jn-steps__bed { fill: none; stroke: var(--paper-3); stroke-width: 22; stroke-linecap: round; }
.jn-steps__dash { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 10 12; stroke-linecap: round; }
.jn-steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.jn-step { padding-top: 6px; }
.jn-step__n { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-paper), 0 0 0 8px var(--paper); }
.jn-step__n b { font: 500 13px/1 var(--f-mono); letter-spacing: .08em; color: var(--seal); position: absolute; top: 16px; }
.jn-step__n i { font-style: normal; font-size: 26px; line-height: 1; margin-top: 14px; }
.jn-step:nth-child(4) .jn-step__n { background: var(--seal); } .jn-step:nth-child(4) .jn-step__n b, .jn-step:nth-child(4) .jn-step__n i { color: #fff; }
.jn-step h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.05; margin-top: 26px; }
.jn-step p { margin-top: 10px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
@media (max-width: 900px) {
  .jn-steps__road { display: none; }
  .jn-steps__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .jn-steps__list::before { content: ''; position: absolute; left: 37px; top: 30px; bottom: 30px; border-left: 2px dashed rgba(26,23,18,.2); }
  .jn-step { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 22px; align-content: start; padding: 0 0 26px; }
  .jn-step__n { grid-row: span 2; }
  .jn-step h3 { margin-top: 12px; } .jn-step p { grid-column: 2; }
}
.jn-expect { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px); margin-top: clamp(56px, 8vw, 110px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.jn-expect .h-sub { margin-top: 18px; }
.jn-expect__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.jn-expect__list li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.jn-expect__list b { font-weight: 500; }
.jn-expect__list b::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--seal); transform: rotate(45deg) translateY(-2px); margin-right: 10px; }
.jn-expect__list span { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }
@media (max-width: 860px) { .jn-expect { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .jn-expect__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- film + information session + materials ---------- */
.jn-film__frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.jn-session { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 36px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: var(--card); border: 1px solid rgba(26,23,18,.06); box-shadow: var(--shadow-paper); }
.jn-session > img { width: clamp(64px, 8vw, 96px); transform: rotate(-6deg); }
.jn-session .h-sub { margin-top: 12px; }
.jn-session p { margin-top: 10px; color: var(--ink-2); max-width: 60ch; }
.jn-session p b { font-weight: 500; color: var(--ink); }
@media (max-width: 800px) { .jn-session { grid-template-columns: minmax(0, 1fr); } .jn-session .btn { justify-self: start; } }
.jn-mats__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.jn-mats__head p { color: var(--muted); font-size: var(--fs-sm); max-width: 56ch; }
.jn-mats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.jn-mat { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.jn-mat__cover { display: block; aspect-ratio: 210 / 297; border-radius: 4px; overflow: hidden; background: var(--paper-2); box-shadow: 0 1px 1px rgba(26,23,18,.1), 0 14px 26px -14px rgba(26,23,18,.45); transform: rotate(-2deg); transition: transform .6s var(--ease-spring); }
.jn-mat:hover .jn-mat__cover { transform: rotate(0) translateY(-4px); }
.jn-mat__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jn-mat__ph { display: grid; place-content: center; gap: 8px; height: 100%; text-align: center; padding: 10px; background: var(--seal); color: #fff; }
.jn-mat__ph b { font-family: var(--f-cjk); font-size: 1.6rem; }
.jn-mat__ph i { font-style: normal; font-size: 11px; line-height: 1.3; }
.jn-mat__cover--flyer .jn-mat__ph { background: var(--indigo); }
.jn-mat h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.15; }
.jn-mat p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 6px; line-height: 1.5; }
.jn-mat__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 860px) { .jn-mats__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .jn-mat { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; } }

/* ---------- a role page ---------- */
.jn-job__head { padding-top: clamp(120px, 14vw, 180px); }
.jn-job__head .eyebrow { margin-top: 26px; }
.jn-job__head .jarticle__title { margin-top: 16px; }
.jn-job__headgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: end; }
.jn-facts { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.jn-facts > div { background: var(--card); padding: 16px 20px; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.jn-facts dt { font: 500 10.5px/1.6 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.jn-facts dd { margin: 0; font-weight: 500; }
.jn-facts small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 900px) { .jn-job__headgrid { grid-template-columns: minmax(0, 1fr); } }
.jn-job__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(30px, 6vw, 80px); padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(60px, 9vw, 120px); align-items: start; }
.jn-job__aside { position: sticky; top: 96px; scroll-margin-top: 96px; }
.jn-mini { padding-left: 1.2em; }
.jn-mini li + li { margin-top: 8px; }
.jn-job__note { margin-top: 28px; padding: 16px 18px; border-radius: var(--r); background: var(--paper-2); font-size: var(--fs-sm); }
@media (max-width: 1000px) { .jn-job__layout { grid-template-columns: minmax(0, 1fr); } .jn-job__aside { position: static; } }

/* ---------- /join/apply ---------- */
.jn-applyhero { padding-bottom: clamp(60px, 9vw, 110px); }
.jn-applyhero__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.jn-applyhero .h-hero { max-width: 8ch; }
.jn-need { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; max-width: 420px; }
.jn-need li { display: grid; gap: 2px; padding: 14px 16px 14px 44px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); position: relative; }
.jn-need li::before { content: ''; position: absolute; left: 18px; top: 20px; width: 9px; height: 9px; background: var(--seal); transform: rotate(45deg); }
.jn-need b { font-weight: 500; }
.jn-need span { color: var(--muted); font-size: 13.5px; }
@media (max-width: 960px) { .jn-applyhero__grid { grid-template-columns: minmax(0, 1fr); } .jn-need { display: none; } }

/* ---------- the application widget ---------- */
.japply { container-type: inline-size; }
.japply__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-paper), 0 30px 60px -40px rgba(26,23,18,.5); overflow: hidden; }
.japply__head { padding: 22px 24px 0; display: grid; gap: 14px; }
.japply__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.japply__count { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.japply__role { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 14px; border-radius: var(--r); background: var(--paper-2); font-size: var(--fs-sm); }
.japply__role b { font-weight: 500; }
.japply__role span { color: var(--muted); font-size: 13px; }
.japply__role a { margin-left: auto; font-size: 13px; color: var(--seal); }
.japply__steps { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.japply__steps li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--paper-2); }
.japply__steps li span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-3); font: 500 10px/1 var(--f-mono); color: var(--ink-2); }
.japply__steps li.is-on { background: var(--ink); color: var(--paper); }
.japply__steps li.is-on span { background: var(--seal); color: #fff; }
.japply__steps li.is-done span { background: var(--jade); color: #fff; }
.japply__bar { height: 3px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.japply__bar i { display: block; height: 100%; background: var(--seal); border-radius: inherit; transition: width .7s var(--ease-out); }
@container (max-width: 560px) { .japply__steps { display: none; } }
@container (min-width: 561px) { .japply__count { display: none; } }
.japply__body { padding: 20px 24px; display: grid; gap: 16px; }
.japply__body .field { min-width: 0; }
.japply__body .input, .japply__body .select, .japply__body .textarea { width: 100%; }
.japply__body input[type="date"] { min-width: 0; font-size: 15px; padding-inline: 10px; }
.japply__lede { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }
.japply__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@container (max-width: 440px) { .japply__two { grid-template-columns: minmax(0, 1fr); } }
.japply fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.japply legend { font-size: var(--fs-xs); font-weight: 500; letter-spacing: .02em; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.japply__roles legend { font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.jrole { position: relative; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .25s, background .25s, transform .4s var(--ease-spring); }
.jrole:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.jrole--open { border-style: dashed; }
.jrole input, .jradio input { position: absolute; opacity: 0; pointer-events: none; }
.jrole__tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.jrole__tick::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .35s var(--ease-spring); }
.jrole input:checked ~ .jrole__tick { background: var(--seal); border-color: var(--seal); }
.jrole input:checked ~ .jrole__tick::after { transform: scale(1); }
.jrole:has(input:checked) { border-color: var(--seal); background: #FFF9F6; }
.jrole input:focus-visible ~ .jrole__tick { box-shadow: 0 0 0 4px rgba(200,55,45,.2); }
.jrole__txt { display: grid; gap: 2px; min-width: 0; }
.jrole__txt b { font-weight: 500; font-size: 15px; }
.jrole__txt small { color: var(--muted); font-size: 12.5px; }
.jradio { position: relative; display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 14.5px; transition: border-color .25s, background .25s; }
.jradio::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; transition: box-shadow .25s, border-color .25s; }
.jradio:has(input:checked) { border-color: var(--seal); background: #FFF9F6; }
.jradio:has(input:checked)::before { border-color: var(--seal); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--seal); }
.jradio:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(200,55,45,.18); }
.jlangs { display: grid; gap: 8px; }
.jlang { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px) 36px; gap: 8px; align-items: center; }
.jlang:only-child { grid-template-columns: minmax(0, 1fr) minmax(0, 150px); }
.jlang__x { width: 36px; height: 36px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--muted); transition: background .2s, color .2s; }
.jlang__x:hover { background: var(--seal-tint); color: var(--seal-deep); }
.jlink { justify-self: start; font-size: 13.5px; font-weight: 500; color: var(--seal); padding: 6px 0; }
.jlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.jdrop { position: relative; display: flex; gap: 14px; align-items: center; padding: 22px 20px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-strong); background: var(--paper); cursor: pointer; transition: border-color .25s, background .25s, transform .4s var(--ease-spring); }
.jdrop:hover, .jdrop.is-over { border-color: var(--seal); background: #FFF9F6; }
.jdrop.is-over { transform: scale(1.01); }
.jdrop:focus-within { box-shadow: 0 0 0 4px rgba(200,55,45,.18); }
.jdrop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.jdrop__ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--seal); color: #fff; font-size: 20px; font-weight: 600; box-shadow: 0 10px 20px -10px rgba(158,42,34,.7); }
.jdrop.has-file { border-style: solid; border-color: var(--jade); background: #F4F8F5; }
.jdrop.has-file .jdrop__ic { background: var(--jade); box-shadow: none; }
.jdrop__txt { display: grid; gap: 3px; min-width: 0; }
.jdrop__txt b { font-weight: 500; overflow-wrap: anywhere; }
.jdrop__txt small { color: var(--muted); font-size: 12.5px; }
.jdrop__x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; color: var(--muted); flex: none; }
.jdrop__x:hover { background: var(--seal-tint); color: var(--seal-deep); }
.jdrop.is-busy { opacity: .6; pointer-events: none; }
.jdrop--sm { padding: 16px; }
.jdrop--sm .jdrop__ic { width: 38px; height: 38px; font-size: 17px; }
[aria-invalid="true"], .jradio:has([aria-invalid="true"]), .jrole:has([aria-invalid="true"]), .jdrop:has([aria-invalid="true"]) { border-color: var(--seal) !important; }
.japply__sum { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.japply__sum > div { background: var(--paper); padding: 12px 14px; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; }
.japply__sum dt { font: 500 10.5px/1.7 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.japply__sum dd { margin: 0; font-size: 14.5px; overflow-wrap: anywhere; }
.japply__sum small { display: block; color: var(--muted); font-size: 12.5px; }
@container (max-width: 420px) { .japply__sum > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--seal); flex: none; width: 17px; height: 17px; }
.japply__secure { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.japply__secure img { width: 22px; height: 22px; flex: none; }
.japply__err { color: var(--seal-deep); font-size: var(--fs-sm); padding: 0 24px; }
.japply__err:empty { display: none; }
.japply__nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 24px 22px; }
.japply__nav .btn--seal { position: relative; overflow: hidden; }
.japply__nav .btn--seal.is-loading { background-image: linear-gradient(90deg, rgba(255,255,255,.28) var(--p, 0%), transparent var(--p, 0%)); }
.japply__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.japply__fallback { position: static; }

/* ---------- the applicant's page ---------- */
.jn-st-hero { padding-bottom: clamp(60px, 9vw, 110px); }
.jst-welcome { display: flex; gap: 18px; align-items: center; margin-top: 22px; padding: 18px 22px; border-radius: var(--r-lg); background: #EAF2EC; border: 1px solid rgba(46,94,78,.25); }
.jst-welcome img { width: 46px; height: 46px; flex: none; }
.jst-welcome b { font-weight: 500; }
.jst-welcome p { font-size: var(--fs-sm); color: var(--ink-2); margin-top: 2px; }
.jst-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-top: 22px; }
.jst-head .jarticle__title { margin-top: 14px; }
.jst-pill { display: inline-block; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: var(--paper-2); }
.jst-pill--new, .jst-pill--screening { background: #E3E6F3; color: #33427A; }
.jst-pill--interview, .jst-pill--exercise { background: #F6E5C8; color: #8A5A12; }
.jst-pill--offer, .jst-pill--hired { background: #DDEBE2; color: #2E5E4E; }
.jst-pill--declined, .jst-pill--withdrawn { background: var(--paper-3); color: var(--muted); }
.jst-ticket { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 20px 26px; min-width: 230px; max-width: 320px; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); transform: rotate(2deg); }
.jst-ticket::before, .jst-ticket::after { content: ''; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); transform: translateY(-50%); }
.jst-ticket::before { left: -9px; } .jst-ticket::after { right: -9px; }
.jst-ticket img { width: 40px; margin-bottom: 6px; }
.jst-ticket small { font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(244,238,227,.6); }
.jst-ticket b { font: 500 1.35rem/1.1 var(--f-mono); letter-spacing: .06em; }
@media (max-width: 760px) { .jst-head { grid-template-columns: minmax(0, 1fr); } .jst-ticket { justify-self: start; transform: none; } }
.jst-steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.jst-steps li { position: relative; display: grid; gap: 10px; font-size: 13px; color: var(--muted); padding-top: 4px; }
.jst-steps li::before { content: ''; height: 4px; border-radius: 4px; background: var(--paper-3); order: -1; }
.jst-steps li span { display: none; }
.jst-steps li.is-done { color: var(--ink-2); }
.jst-steps li.is-done::before { background: var(--jade); }
.jst-steps li.is-on { color: var(--ink); font-weight: 500; }
.jst-steps li.is-on::before { background: linear-gradient(90deg, var(--seal) 60%, var(--paper-3) 60%); }
.jst-steps li.is-muted::before { background: var(--paper-3); }
@media (max-width: 520px) { .jst-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } .jst-steps li { font-size: 11px; } }
.jst-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; margin-top: 26px; align-items: start; }
@media (max-width: 900px) { .jst-grid { grid-template-columns: minmax(0, 1fr); } }
.jst-main, .jst-side { display: grid; gap: 20px; }
.jst-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 14px; }
.jst-panel h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -.02em; }
.jst-panel .btn { justify-self: start; }
.jst-files { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.jst-files li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.jst-files b { display: block; font-weight: 500; font-size: 14px; overflow-wrap: anywhere; }
.jst-files small { color: var(--muted); font-size: 12px; }
.jst-file__ic { flex: none; width: 38px; height: 46px; border-radius: 6px; display: grid; place-items: end center; padding-bottom: 6px; background: #fff; border: 1px solid var(--line-strong); font: 600 9px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--seal); }
.jst-next { padding-left: 1.2em; display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--ink-2); }
.jst-next b { color: var(--ink); font-weight: 500; }
.jst-withdraw { justify-self: start; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.jst-withdraw:hover { color: var(--seal); }
.jst-dlg { border: 0; border-radius: var(--r-xl); padding: 0; width: min(500px, calc(100vw - 24px)); background: var(--card); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.jst-dlg::backdrop { background: rgba(26,23,18,.45); backdrop-filter: blur(4px); }
.jst-dlg form { padding: 24px; display: grid; gap: 14px; }
.jst-dlg h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; }
.jst-dlg p { color: var(--ink-2); font-size: var(--fs-sm); }
.jst-dlg .textarea { width: 100%; min-height: 90px; }
.jst-dlg__nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.jst-lost { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 70px); align-items: end; margin-top: 18px; }
.jst-lost .jarticle__title { margin-top: 16px; }
.jst-lost__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.jst-lost__form .input { width: 100%; }
.jst-lost__form p { grid-column: 1 / -1; }
@media (max-width: 860px) { .jst-lost { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .jst-lost__form { grid-template-columns: minmax(0, 1fr); } }
.jst-missing { position: static; margin-top: 24px; max-width: 560px; }

@media (prefers-reduced-motion: reduce) {
  .jn-why__card, .jn-team, .jn-role, .jn-mat__cover, .jrole, .jdrop, .jn-role__go { transition: none; }
}
