/* kongi.co/careers and /creators, after [untitled]'s job pages (jobs.untitled.stream): one column, the role and its
   terms, then the application on its own page: grey fields, the phone with its country, the résumé dropped on a tile.
   base.css comes first: the tokens, the header, the footer, the buttons. */
main { padding: 0 24px 120px; }

.back { display: inline-block; margin-bottom: 28px; color: var(--faint); font-size: 15px; font-weight: 500; transition: color .2s; }
.back:hover { color: var(--ink); }

/* a role (Nimblefig's page in [untitled]'s type): one column, its name, its terms as a short list, what it is, the form */
.role { width: min(100%, 640px); margin: 0 auto; padding-top: 48px; }
.role h1, .careers h1 { font-size: 34px; line-height: 1.05; font-weight: 500; letter-spacing: -.05em; }
.facts { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; margin-top: 24px; font-size: 16px; letter-spacing: -.02em; }
.facts dt { color: var(--faint); font-weight: 500; }
.role-body { margin-top: 48px; }
.role-body section + section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.role-body h2, .careers h2 { margin-bottom: 14px; font-size: 18px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; }
.role-body h3 { margin: 20px 0 8px; font-size: 15px; font-weight: 500; color: var(--muted); }
.role-body p, .role-body li, .careers p, .careers li { font-size: 17px; line-height: 1.4; letter-spacing: -.02em; }
.role-body p + p, .careers p + p { margin-top: 14px; }
.role-body ul, .careers ul { padding-left: 22px; }
.role-body li + li, .careers li + li { margin-top: 6px; }
.role-body .small { color: var(--faint); font-size: 14px; }

/* the careers page: what Kongi is, the work, who it's for, then the roles */
.careers { width: min(100%, 640px); margin: 0 auto; padding-top: 56px; }
.careers .lede { margin-top: 20px; font-size: 20px; line-height: 1.35; }
.careers h2 { margin-top: 44px; }
.roles { margin-top: 40px; border-top: 1px solid var(--line); }
.roles a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.roles b { font-size: 18px; font-weight: 500; letter-spacing: -.03em; transition: color .2s; }
.roles a:hover b, .roles a:focus-visible b { color: var(--forest); }  /* Kongi green */
.roles span { color: var(--faint); font-size: 15px; font-weight: 500; text-align: right; }
/* Kongi Creators from the careers page: its own filled card under the roles */
.creators-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px;
  padding: 22px 24px; border-radius: 20px; background: var(--tile); }
.creators-card > span:first-child { display: flex; flex-direction: column; gap: 6px; }
.creators-card b { font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.creators-card > span:first-child > span { color: var(--muted); font-size: 16px; line-height: 1.4; }
.creators-card .pill { margin: 0; flex: none; }
.creators-card:hover .pill, .creators-card:focus-visible .pill { background: var(--forest-deep); }

/* Apply: the site's green button, opening the application's own page */
.pill { margin-top: 24px; }
.pill.end { margin-top: 48px; }

/* Kongi Creators: a headline over a moving reel of posts, then three steps that come in as they scroll by (words only) */
.cr-hero { margin: 0 -24px; padding: 64px 24px 0; text-align: center; overflow: hidden; }
.cr-hero h1 { font-size: clamp(44px, 7vw, 76px); line-height: .95; font-weight: 500; letter-spacing: -.055em; }
.cr-hero .lede { max-width: 540px; margin: 20px auto 0; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; }
.cr-hero .pill { margin-top: 28px; }
.reel { margin: 48px -24px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.reel-track { display: flex; gap: 22px; width: max-content; padding: 28px 11px 56px; animation: reel 60s linear infinite; }
@keyframes reel { to { transform: translateX(-50%); } }
.post { position: relative; flex: none; width: 196px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: var(--tile) center / cover no-repeat; box-shadow: 0 18px 40px rgba(0, 0, 0, .12); transform: rotate(var(--r)); }
.creators { padding-top: 24px; }
.steps { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { display: flex; flex-direction: column; gap: 6px; margin: 0 !important; padding: 20px; border-radius: 20px;
  background: var(--tile); }
.steps b { font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.steps li > span:last-child { color: var(--muted); font-size: 15px; line-height: 1.4; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--press), transform .6s var(--press);
  transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; }
  .post { width: 150px; }
  .cr-hero { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; letter-spacing: -.02em;
  display: flex; justify-content: space-between; gap: 16px; outline: none; transition: color .2s; }
.faq summary:focus-visible { color: var(--forest); }  /* the keyboard's place, in Kongi green rather than the browser's blue ring */
.faq .answer { overflow: hidden; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; transition: transform .2s var(--press); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--forest); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 16px !important; line-height: 1.45; }

/* apply */
.apply-page { width: min(100%, 640px); margin: 0 auto; padding-top: 48px; }  /* the role's own column */
.apply > h1 { font-size: 34px; line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.apply > p { margin-top: 10px; color: var(--faint); font-size: 15px; font-weight: 500; }
.apply form { display: flex; flex-direction: column; gap: 28px; margin-top: 44px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > .label { font-size: 16px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.field > .label i { color: var(--faint); font-style: normal; }
.field > .label small { color: var(--faint); font-size: 14px; font-weight: 400; }
.line { width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--tile); color: var(--ink);
  font: 400 16px "GT Standard", system-ui, sans-serif; transition: box-shadow .2s var(--press); }
textarea.line { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.35; }
.line::placeholder { color: var(--faint); }
.line:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
/* the phone: its country (flag and code) and the number, in a soft box */
.phone { position: relative; display: flex; align-items: center; height: 48px; border-radius: 12px; background: var(--tile);
  transition: box-shadow .2s var(--press); }
.phone:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cc { position: relative; display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 4px 0 16px;
  font-size: 15px; color: var(--muted); white-space: nowrap; }
.cc .flag { font-size: 18px; line-height: 1; }
.cc svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cc select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.phone input { flex: 1; min-width: 0; height: 100%; padding: 0 16px 0 10px; border: 0; background: none; color: var(--ink);
  font: 400 16px "GT Standard", system-ui, sans-serif; }
.phone input:focus { outline: none; }
.phone input::placeholder { color: var(--faint); }
/* the résumé: a tile to click or drop it on */
.drop { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; padding: 12px 18px 12px 12px;
  border-radius: 12px; background: var(--tile); cursor: pointer; transition: box-shadow .2s var(--press); }
.drop.over, .drop:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.drop .icon { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); }
.drop .icon svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop b { display: block; font-size: 14px; font-weight: 400; line-height: 1.3; overflow-wrap: anywhere; }
.drop small { display: block; margin-top: 2px; color: var(--faint); font-size: 12px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
/* Yes / No: one of the two, as square boxes */
.choices { display: flex; flex-direction: column; gap: 14px; }
.choices label { display: flex; align-items: center; gap: 10px; width: fit-content; cursor: pointer; font-size: 15px; color: var(--ink); }
.choices input { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 0; border: 0;
  border-radius: 6px; background: var(--tile-deep); cursor: pointer; display: grid; place-items: center; transition: background-color .15s; }
.choices input:checked { background: var(--ink); }
.choices input:checked::after { content: ""; width: 5px; height: 9px; margin-top: -2px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.choices input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.send { margin-top: 8px; }
.error { padding: 12px 14px; border-radius: 10px; background: rgba(255, 59, 48, .1); font-size: 14px; line-height: 1.4; }
.applied { padding: 24px 0 40px; text-align: center; }
/* the envelope (3dicons' Mail, CC0), floating as the order confirmation's bag does */
.applied-art { display: block; width: 120px; height: 120px; margin: 0 auto 20px; animation: float 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .applied-art { animation: none; } }
.applied h1 { font-size: 34px; line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.applied p { max-width: 380px; margin: 14px auto 0; color: var(--muted); font-size: 17px; line-height: 1.4; text-wrap: balance; }
.applied .pill { margin-top: 28px; }
.trap { position: absolute; left: -9999px; }


@media (max-width: 860px) {
  main { padding: 0 16px 96px; }
  .role, .careers { padding-top: 24px; }
  .facts { grid-template-columns: 110px 1fr; }
  .roles a { flex-direction: column; gap: 4px; }
  .roles span { text-align: left; }
}
